@charset "UTF-8";

body{
    margin: 0 auto;
    font-family: Arial、Hiragino Sans、Hiragino Kaku Gothic ProN、Meiryo、sans-serif;
    color: #333;
}

main{
    margin: 0 auto;
}

/*----- header -----*/

header{
    position: relative;/* 相対配置 */
    margin-bottom: 80px;
}

header h1{
    position: absolute;/* 絶対配置 */
    top:0;
    right: 0;
    color: aliceblue;
    padding-right: 5px;
}

header img{
    width: 100%;
    height: 100vh;
    object-fit:cover;
}

/* ----- magazine ----- */
#magazine{
    max-width: 1200px;
    text-align: center;
    margin: 0 auto 80px auto;
    padding: 0 5% 0 5%;
}

#magazine #magazin-img{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

#magazine #magazin-img #archive, #new{
    background-size: cover;
    width: 49%;
    position: relative;
    height: auto;
}

#magazine #magazin-img #archive img, #new img{
    width: 100%;
    height: 100%;
}

#magazine #magazin-img #archive .magazin-img-text, #new .magazin-img-text{
    width: 80%;
    padding: 15px 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translatex(-50%); 
    background-color: rgba(0, 0, 0,0.5)
}

#magazine #magazin-img #archive .magazin-img-text p, #new .magazin-img-text p{
    color: #fff;    
}

/* ----- fashion ----- */
#fashion{
    margin: 0 auto 80px auto;
    background-image: url(img/trace7/trace7-5.jpg);
    background-repeat: no-repeat;
    background-position: center;
    height: 520px;
    text-align: center;
    color: #fff;
    width: 100%;
    object-fit: contain;
    position: relative;
}

#fashion #fashion-box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    padding: 20px 5px 20px 5px;
    width: 80%;
    background-color: rgba(0, 0, 0,0.5);
}

#fashion #fashion-box button{
    width: 200px;
    height: 60px;
}

/* catalog-antiqu */
#container{
    background-color: lightgray;
    margin:0 auto 80px auto;
    
}

#container .catalog-antiqu{
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
}

#container .catalog-antiqu img{
    width: 46%;
    height: auto;
    object-fit: cover;
    padding: 2%;
}

#container .catalog-antiqu .textarea{
    width: 46%;
    padding: 2%;
    text-align: center;
}

#container .catalog-antiqu .textarea p{
    text-align: left;
}

#container .catalog-antiqu .textarea button{
    width: 200px;
    height: 60px;

    }
/* ----- footer ----- */
footer{
    width: 100%;
    background-color: #333;
    color: #fff;
}

footer #footer-container{
    max-width: 1200px;
    display: flex;
    flex-wrap:wrap;
    justify-content: space-between;
    margin: 0 auto;
    padding: 5%;
}

footer .name{
    width: calc(100%/3);
}

footer #footer-text1{
    width: calc(100%/3);
}

footer #footer-text2{
    width: calc(100%/3);
}

footer #foter-text2 p{
    width: 100%;
}

footer .copyright{
    width: 100%;
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    color: #333;
}



@media screen and (max-width:896px) {
    #magazine #magazin-img{
        display: block;
    } 

    #magazine #magazin-img #archive, #new{
        width: 100%;        
    }

    #container .catalog-antiqu{
        width: 100%;
        display: block;
    }

    #container .catalog-antiqu img{
        width: 95%;
    }
    
    #container .catalog-antiqu .textarea{
        width: 95%;
    }


    footer #footer-container{
        margin: 0 auto;
        padding: 5%;
        display: block;
    }
    
    footer .name{
        width: 96%;
        padding: 4px;
    }
    footer #footer-text1{
        width: 96%;
        padding: 4%;
    }
    
    footer #footer-text2{
        width: 95%;
        padding: 4%;
    }
    
    footer #foter-text2 p{
        width: 100%;
    }
}
