@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500&family=EB+Garamond:wght@400;500&family=Noto+Sans+JP:wght@400;700&family=Noto+Serif+JP:wght@500&display=swap');


#by{
    padding: 0;
    margin: 0;
    font-family:'Noto Serif JP', YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.8;
}
*:focus {
outline: none;
}
#by ul,#by li {
    list-style: none;
    margin: 0;
    padding: 0;
}
#by a {
    text-decoration: none;
    color: #000;
}

#by img {
    border: none;
    width: 100%;
}
#by .img {
    line-height: 0;
    vertical-align: baseline;
}

#by{
    margin: 0 auto 70px;
}
/* #by .pc-non{
    display: none;
} */
.item-box{
    display: none;
}
.item-box .sp-txt{
    display: none;
}
@media only screen and (max-width: 768px)  {
    #by{
        margin: 0 auto 40px;
    }
    .item-box .sp-txt{
        display: block;
    }
}

/************************************************************
                main 
************************************************************/
#by .main {
    border-bottom: solid 1px #000;
}
#by .main .inner {
    margin: 0 auto;
    padding: 50px;
    box-sizing: border-box;
}
#by .main .inner .box{
    display: grid;
    align-items: center;
    line-height: 0;
}
#by .main .inner .box:nth-of-type(1){
    grid-template-columns: 1.404fr 1fr;
    padding-bottom: 20px;
}
#by .main .inner .box .vis{
    overflow: hidden;
    width: 100%;
    line-height: 0;
}
/* #by .main .inner .box .vis .img{
    opacity: 0;
} */
#by .main .inner .box .vis img{
    height: 120%;
    margin-top: -5%;
    margin-bottom: -5%;
}
#by .main .inner .box .ttl{
    width: 70%;
    margin: 0 auto;
    line-height: 0;
}
#by .main .inner .box:nth-of-type(2){
    grid-template-columns: repeat(6,1fr);
    gap: 20px;
}
#by .main .inner .box .img{
    width: 100%;
    line-height: 0;
}
@media only screen and (max-width: 1000px)  {
    #by .main .inner {
        padding: 25px;
    }
    #by .main .inner .box:nth-of-type(1){
        padding-bottom: 10px;
    }
    #by .main .inner .box:nth-of-type(2){
        gap: 10px;
    }
}
@media only screen and (max-width: 768px)  {
    #by .main .inner {
        display: grid;
        align-items: center;
        line-height: 0;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1.5fr 1fr 1fr 1fr 1fr;
        padding: 0 0 8%;
    }
    #by .main .inner .box{
        display: contents;
    }
    #by .main .inner .box .ttl{
        width: 70%;
        margin: 0 auto 0 10%;
        grid-column: 1 / 4;
        grid-row: 1 / 2;
    }
    #by .main .inner .box .ttl{
        grid-column: 1 / 4;
        grid-row: 1 / 2;
    }
    #by .main .inner .box .vis{
        grid-column: 1 / 3;
        grid-row: 2 / 5;
    }
    #by .main .inner .box .vis img{
        height: 100%;
        width: 226%;
        max-width: 226%;
        margin-left: -65.5%;
        margin-top: 0;
        margin-bottom: 0;
    }
}

/************************************************************
                contents 
************************************************************/
#by .contents{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    box-sizing: content-box;
}
#by .contents .section{
    margin: 20% auto 0;
}
/*********** ex-box************************/
#by .contents .section .ex-box{

}
#by .contents .section .ex-box .no{
    text-align: center;
    font-family: 'EB Garamond';
    font-size: 14px;
    line-height: 2;
}
#by .contents .section .ex-box .brand{
    width: 40%;
    margin: 1% auto 5%;
    line-height: 0;
}
#by .contents .section .ex-box .txt{
    width: 90%;
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
    font-size: 12px;
    line-height: 2.5;
}
/*********** inner ************************/
#by .contents .section .inner{

}
#by .contents .section .inner .wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10%;
}
#by .contents .section .inner .wrap:nth-of-type(2){
    margin-top: 15%;
}

#by .contents .section .inner .wrap:nth-of-type(2) .box:nth-of-type(1){
    order: 2;
}
#by .contents .section .inner .wrap:nth-of-type(2) .box:nth-of-type(2){
    order: 1;
}
#by .contents .section:nth-of-type(4) .inner .wrap .box:nth-of-type(1){
    order: 2;
}
#by .contents .section:nth-of-type(4) .inner .wrap .box:nth-of-type(2){
    order: 1;
}

#by .contents .section .inner .wrap .box:nth-of-type(1){
    width: 70%;
}
#by .contents .section .inner .wrap .box:nth-of-type(2){
    width: 25%;
}
#by .contents .section .inner .wrap .grid{
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 0.896fr;
    line-height: 0;
}

#by .contents .section .inner .wrap .grid .img{
    overflow: hidden;
}
#by .contents .section .inner .wrap .grid .img1{
    grid-row: 1 / 2;
    position: relative;
}

#by .contents .section .inner .wrap .grid .img a::after{
    content:'STYLING ITEM +';
    vertical-align: middle;
    font-size: 12px;
    text-align: center;
    letter-spacing: 1px;
    font-family: 'EB Garamond';
    position: absolute;
    right: 0;   
    bottom: 0;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    width: 35%;
    line-height: 3;
}
#by .contents .section .inner .wrap .grid .img2{
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}
#by .contents .section .inner .wrap .grid .img3{
    grid-row: 1 / 2;
}
#by .contents .section .inner .wrap:nth-of-type(1) .grid .img1{
    grid-column: 2 / 3;
}
#by .contents .section .inner .wrap:nth-of-type(1) .grid .img3{
    grid-column: 1 / 2;
}
#by .contents .section .inner .wrap:nth-of-type(2) .grid .img1{
    grid-column: 1 / 2;
}
#by .contents .section .inner .wrap:nth-of-type(2) .grid .img3{
    grid-column: 2 / 3;
}

/*********** video ************************/
#by .contents .section .inner .v-box{
    width: 100%;
    line-height: 0;
}
#by .contents .section .inner .v-box .video{
    width: 100%;
    line-height: 0;
}
#by .contents .section .inner .name{
    font-size: 16px;
    margin-top: 40%;
}
#by .contents .section:nth-of-type(3) .inner .name{
    margin-top: 30%;
}
#by .contents .section .inner .price{
    font-size: 14px;
    margin-top: 5%;
}
#by .contents .section .inner .txt{
    font-size: 12px;
    margin-top: 10%;
    line-height: 3;
}
#by .contents .section .inner .btn a{
    display: inline-block;
    font-size: 15px;
    margin-top: 10%;
    border-bottom: solid 1px #000;
    letter-spacing: 2px;
}


@media only screen and (max-width: 768px)  {
    #by .contents{
        padding: 0;
    }
    #by .contents .section{
        margin: 30% auto 0;
    }
    #by .contents .section:nth-of-type(1){
        margin: 20% auto 0;
    }
    #by .contents .section .ex-box .brand{
        width: 80%;
        margin: 3% auto 10%;
        line-height: 0;
    }
    #by .contents .section .ex-box .txt{
        text-align: left;
        font-size: 11px;
    }
    #by .contents .section .ex-box .txt br{
        display: none;
    }

    #by .contents .section .inner .wrap{
        display: block;
        margin-top: 10%;
        position: relative;
    }
    #by .contents .section .inner .wrap:nth-of-type(2){
        margin-top: 25%;
    }
    #by .contents .section .inner .wrap::before{
        vertical-align: middle;
        width: 100%;
        display: block;
        padding-bottom: 10%;
        line-height: 0;
    }
    #by .contents .section:nth-of-type(1) .inner .wrap:nth-of-type(1):before{
        content: url(../images/giji-1.svg);
    }
    #by .contents .section:nth-of-type(1) .inner .wrap:nth-of-type(2):before{
        content: url(../images/giji-2.svg);
    }
    #by .contents .section:nth-of-type(2) .inner .wrap:nth-of-type(1):before{
        content: url(../images/giji-3.svg);
    }
    #by .contents .section:nth-of-type(2) .inner .wrap:nth-of-type(2):before{
        content: url(../images/giji-4.svg);
    }
    #by .contents .section:nth-of-type(3) .inner .wrap:before{
        content: url(../images/giji-5.svg);
    }
    #by .contents .section:nth-of-type(4) .inner .wrap:before{
        content: url(../images/giji-6.svg);
    }
    #by .contents .section .inner .wrap .grid{
        display: block;
    }
    #by .contents .section .inner .wrap .box:nth-of-type(1){
        width: 100%;
    }
    #by .contents .section .inner .wrap .box:nth-of-type(2){
        width: 100%;
    }

    #by .contents .section .inner .wrap .grid .img a::after{
        letter-spacing: 2px;
        width: 45%;
    }
/*********** img1 ************************/
    #by .contents .section .inner .wrap .grid .img1{
        width: 80%;
    }
    #by .contents .section .inner .wrap:nth-of-type(1) .grid .img1{
        margin: 0 auto 0 20%;
    }
    #by .contents .section:nth-of-type(4) .inner .wrap .grid .img1{
        margin: 0 20% 0 auto;
    }
    #by .contents .section .inner .wrap .grid .img1 img{
        width: 132%;
        max-width: 132%;
    }
    #by .contents .section:nth-of-type(2) .inner .wrap:nth-of-type(1) .grid .img1 img{
        margin-left: -12%;
    }
    #by .contents .section:nth-of-type(3) .inner .wrap .grid .img1 img{
        margin-left: -14%;
    }
/*********** img2 ************************/
    #by .contents .section .inner .wrap .grid .img2{
        width: 100%;
        margin-top: 10%;
    }
    #by .contents .section .inner .wrap .grid .img2 img{
        width: 140%;
        max-width: 140%;
    }
    #by .contents .section:nth-of-type(1) .inner .wrap:nth-of-type(1) .grid .img2 img{
        margin-left: -28%;
    }
    #by .contents .section:nth-of-type(1) .inner .wrap:nth-of-type(2) .grid .img2 img{
        margin-left: -40%;
    }
    #by .contents .section:nth-of-type(2) .inner .wrap:nth-of-type(2) .grid .img2 img{
        margin-left: -40%;
    }
    #by .contents .section:nth-of-type(3) .inner .wrap .grid .img2 img{
        margin-left: -25%;
    }
    #by .contents .section:nth-of-type(4) .inner .wrap .grid .img2 img{
        margin-left: -25%;
    }
/*********** img3 ************************/
    #by .contents .section .inner .wrap .grid .img3{
        width: 70%;
        margin-top: 10%;
    }
    #by .contents .section .inner .wrap:nth-of-type(2) .grid .img3{
        margin: 10% 0 0 auto;
    }
    #by .contents .section:nth-of-type(4) .inner .wrap .grid .img3{
        margin: 10% auto 0 30%;
    }

    #by .contents .section .inner .wrap .v-box{
        width: 60%;
        margin: 10% auto 0;
    }
    #by .contents .section .inner .name{
        text-align: center;
        margin-top: 5%;
        font-size: 14px;
    }
    #by .contents .section:nth-of-type(3) .inner .name{
        margin-top: 5%;
    }
    #by .contents .section .inner .price{
        text-align: center;
        margin: 1% auto 0;
        font-size: 12px;
    }
    #by .contents .section .inner .txt{
        width: 85%;
        margin: 5% auto 0;
        font-size: 11px;
        line-height: 2.6;
    }
    #by .contents .section .inner .btn {
        display: flex;
        align-items: center;
    }
    #by .contents .section .inner .btn a{
        margin: 5% auto 0;
        text-align: center;
        font-size: 12px;
    }
}




/************************************************************
                動き
************************************************************/

.lo{
    opacity: 0;
    transition: 1.3s all 0s ease;
}
.lo.sr{
    opacity: 1;
}
.mf{
    opacity: 0;
    transition: 1.5s all 0s ease;
    transform: translate(0, 30px);
    -webkit-transform: translate(0, 30px);
}
.mf.sr{
    opacity: 1;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    -webkit-transition: all 1.5s ease;
    transition: all 1.5s ease;
}
#by .main .vis{
    opacity: 0;
    transition: 1.3s all 0.3s ease;
}
#by .main.sr  .vis{
    opacity: 1;
}
#by .main .ttl{
    opacity: 0;
    transition: 1.3s all 0s ease;
    transform: translate(0, 20px);
    -webkit-transform: translate(0, 20px);
}
#by .main.sr  .ttl{
    opacity: 1;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    -webkit-transition: all 1.3s ease;
    transition: all 1.3s ease;
}
#by .main .img1{
    opacity: 0;
    transition: 1.3s all 0.5s ease;
}
#by .main.sr .img1{
    opacity: 1;
}
#by .main .img2{
    opacity: 0;
    transition: 1.3s all 0.6s ease;
}
#by .main.sr .img2{
    opacity: 1;
}
#by .main .img3{
    opacity: 0;
    transition: 1.3s all 0.7s ease;
}
#by .main.sr .img3{
    opacity: 1;
}
#by .main .img4{
    opacity: 0;
    transition: 1.3s all 0.8s ease;
}
#by .main.sr .img4{
    opacity: 1;
}
#by .main .img5{
    opacity: 0;
    transition: 1.3s all 0.9s ease;
}
#by .main.sr .img5{
    opacity: 1;
}
#by .main .img6{
    opacity: 0;
    transition: 1.3s all 1.0s ease;
}
#by .main.sr .img6{
    opacity: 1;
}




@media only screen and (max-width: 768px)  {
    #by .main .img4{
        opacity: 0;
        transition: 1.3s all 1.0s ease;
    }
    #by .main.sr .img4{
        opacity: 1;
    }
    #by .main .img6{
        opacity: 0;
        transition: 1.3s all 0.8s ease;
    }
    #by .main.sr .img6{
        opacity: 1;
    }
}





