* {
    margin: 0;
    padding: 0;

}

/* ========================================== */
/*  <!-- header start --> */
/* ========================================== */
#header {
    /* main の上に持ってくるよの指示
    　 ページをスクロールしてもついてくる */
    position: relative;
    margin-top: 0;
    padding-top: 2.269399vw;
    padding-bottom: 2.269399vw;
    width: 100%;
    text-align: right;
    z-index: 999;

    background-image: url("../images/production-p.jpg");
    background-size: cover;

}

@media screen and (max-width: 768px) {
    #header {
        padding-top: 0;
        padding-bottom: 0;
        height: 7.1979166vw;
    }
}
@media screen and (max-width: 400px) {
    #header {
        height: 13vw;
    }
}

.header-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 0;



}

.grobal-navi-list {
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

.navi-item {
    margin-right: 40px;

}

.navi-item a {
    color: #939292;
    text-decoration: none;
    font-size: 1.5rem;
    font-family: 'Comfortaa', cursive;
}


.navi-item a:hover {
    color: #B4657A;

}

.openbtn1 {
    display: none;
    float: right;

}

.h-g-nav {
    display: none;
    opacity: 0;
    list-style: none;




}

.hamburger-cover {
    display: none;
}



/*  レスポンシブの場合*/
@media screen and (max-width: 768px) {
    .grobal-navi {
        display: none;
    }

    /* ハンバーガーメニュー */
    .openbtn1 {
        position: fixed;
        display: block;
        position: relative;
        /*ボタン内側の基点となるためrelativeを指定*/
        padding-top: 0;
        padding-right: 0;
        margin-top: 0;


        cursor: pointer;
        width: 50px;
        height: 50px;
        border-radius: 5px;

        z-index: 1000;

    }

    /*ボタン内側*/
    .openbtn1 span {
        display: inline-block;
        transition: all .4s;
        /*アニメーションの設定*/
        position: absolute;
        left: 14px;
        height: 2px;
        border-radius: 2px;
        background: #939292;
        width: 45%;
    }

    .openbtn1 span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn1 span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn1 span:nth-of-type(3) {
        top: 31px;
    }



    /*activeクラスが付与されると線が回転して×に*/

    .openbtn1.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn1.active span:nth-of-type(2) {
        opacity: 0;
        /*真ん中の線は透過*/
    }

    .openbtn1.active span:nth-of-type(3) {
        top: 30px;
        bottom: 10px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }



    .header-wrapper {
        position: absolute;
        width: 100%;
        flex-direction: column;
        /* justify-content: center;
        align-items: center; */
        text-align: center;
        background-color: #fff;
        margin-top: 0;


    }

    .h-g-nav.active {
        display: block;
        opacity: 1;
        margin-top: 50px;
    }

    .h-g-nav-li {
        list-style: none;
        margin-top: 10vw;
        margin-bottom: 20vw;

    }

    .navi-item {
        margin-right: 0;
        margin-bottom: 30px;

    }


    /* 
.hamburger-demo-cover(ハンバーガーメニュー解除用bg)
=================================== */
    .hamburger-cover.active {
        display: block;
        opacity: 1;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
        background: rgba(3, 3, 3, .5);
        display: block;
    }

}



/* ========================================== */
/*   <!-- production --> */
/* ========================================== */

section {
    color: #707070;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.8rem;
    margin: auto;
    width: 100%;


}

.name {
    margin-top: 8.5651537335vw;
    margin-bottom: 17.34992679vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

@media screen and (max-width: 768px) {
    .name {
        margin-bottom: 10.28645vw;
    }
}

.name img {
    width: 15.51975vw;
    max-width: 212px;
    min-width: 180px;
    margin-right: 2.4890190vw;
}

@media screen and (max-width: 768px) {
    .name img {
        width: 27.6041666vw;
        max-width: 212px;
    }
}
@media screen and (max-width: 400px) {
    .name img {
        min-width: 15vw;
        margin-right: 5vw;
    }
}

.border01 {
    width: 67.715959004vw;
    height: 1px;
    background-color: #707070;
}

@media screen and (max-width: 768px) {
    .border01 {
        width: 55.078125vw;

    }
}

.container-box {
   width: 100%;
    /* margin: auto; */

}



.wrapper {
    width: 71.4494875549vw;
    max-width: 976px;
    margin: auto;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media screen and (max-width: 768px) {
    .wrapper{
        width: 83.59375vw;
        max-width: 642px;

    }
}


.wrapper img {
    width: 22.4743777vw;
    height: 17.42313323vw;
    max-width: 307px;
    max-height: 238px;
    min-width: 307px;
    min-height: 238px;
}

@media screen and (max-width: 860px) {
    .wrapper img {
        min-width: 33.69767441vw;
        min-height: 25.6744186046vw;
        margin: auto;
    }
}

@media screen and (max-width: 768px) {
    .wrapper img {
        max-width: 307px;
        max-height: 238px;
        width: 39.43958333vw;
        height: 30.98958333vw;
        min-width: 39.43958333vw;
    min-height: 30.98958333vw;

    }
}


.wrapper p {
    margin-top: 10px;
    text-align: left;
    font-size: 1rem;
    margin-bottom: 6.295754vw;
}

@media screen and (max-width: 768px) {
    .wrapper p {
        margin-bottom: 7.161458333vw;
    }
}
@media screen and (max-width: 400px) {
    .wrapper p {
        font-size: 0.8rem;
    }
}

/*　画像の拡大　*/

.zoomIn img {
    transform: scale(1);
    transition: .2s ease-in-out;
    /*移り変わる速さを変更したい場合はこの数値を変更*/


}

.zoomIn a:hover img {
    /*hoverした時の変化*/
    transform: scale(1.1);
    /*拡大の値を変更したい場合はこの数値を変更*/
}

/*　画像のマスク　*/

.mask {
    display: block;
    line-height: 0;
    /*行の高さを0にする*/
    overflow: hidden;
    /*拡大してはみ出る要素を隠す*/

    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
}



.back {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    

    margin-top: 8.8579795021vw;
    margin-left: auto;

}

@media screen and (max-width: 768px) {
    .back {
        margin-top: 10.41666vw;
        display: flex;
        justify-content: center;
        float: none;
        align-items: center;
    }
}
@media screen and (max-width: 400px) {
    .back p{
        font-size: 1rem;
    }
}


.back a {
    text-decoration: none;
    /* margin-top: 8.8579795021vw; */
    margin-bottom: 1vw;
    margin-right: 12.275256vw;
    font-size: 1.5rem;
    color: #707070;
    font-family: 'Comfortaa', cursive;

}

@media screen and (max-width: 768px) {
    .back a {
        margin-right: 0;
        font-size: 1.6rem;
    }
}

.back a:hover {
    color: #B4657A;

}


.border02 {
    width: 18.8872vw;
    height: 1px;
    background-color: #707070;
    
    padding-right: 0;

}
@media screen and (max-width: 768px) {
    .border02 {
        width: 10.9375vw;
    }
}



/* ========================================== */
/*  <!-- contact start --> */
/* ========================================== */
.contact {
    margin-top: 18.594436310vw;
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
}

@media screen and (max-width:400px) {
    .contact{
        margin-top: 35vw;
    }

}

.boderbox {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;

}

.boderbox::before,
.boderbox::after {
    content: "";
    display: block;
    width: 37.77452415812592vw;
    height: 2px;
    background-color: #B4657A;
    position: absolute;
    top: 50%;
}

.boderbox::before {
    left: 0;
    transform: translateY(-50%);
}

.boderbox::after {
    right: 0;
    transform: translateY(-50%);
}

@media screen and (max-width:768px) {

    .boderbox::before,
    .boderbox::after {
        width: 30.46875vw;
        height: 2px;
    }

}

.boderbox img {
    width: 16.91068814055vw;
    height: 4.75841874084vw;
}

@media screen and (max-width:768px) {
    .boderbox img {
        width: 30.078125vw;
        height: 8.4635416666vw;
    }

}

.contactbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;

    font-size: 1rem;
    text-align: center;
    line-height: 2;

    background-image: url("../images/contact-background.jpg");
    background-size: cover;
    background-position: center;


}

.contactbox img {
    width: 100%;
    width: 8.49194729vw;
    height: 1.756954612vw;
    margin-top: 4.9vw;
}

@media screen and (max-width:768px) {
    .contactbox img {
        width: 17.44791666vw;
        height: 3.6458333vw;
    }

}
@media screen and (max-width:400px) {
    .contactbox img {
        width: 22.7777vw;
        height: auto;
    }

}


.btntextchange {
    /*テキストの基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    border: 1px solid #939292;
    border-radius: 50px;
    min-width: 21.5959004923865vw;
    padding: 40px 20px;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background: #9c9c9c;
    outline: none;
    /*アニメーションの指定*/
    transition: all .2s;

    font-size: 1.25rem;
    margin-top: 10.80729vw;
}

@media screen and (max-width:768px) {
    .btntextchange {
        font-size: 1rem;
    }

}
@media screen and (max-width:400px) {
    .btntextchange {
        padding: 20px 40px;
        font-size: 0.8rem;
    }

}

.btntextchange img {
    padding: auto;
}

/*hoverした際の変化*/
.btntextchange:hover {
    color: #B4657A;
    background: #fff;


}

.btntextchange span {
    /*絶対配置でテキストの位置を決める*/
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /*アニメーションの指定*/
    transition: all .5s;
    /*ブロック要素にしてテキスト折り返しなし*/
    display: block;
    white-space: nowrap;
}

/*差し替わるテキストの設定*/
.btntextchange span:nth-child(2) {
    opacity: 0;
    /*透過0に*/
}

/*hoverするとテキストが入れ替わる設定*/
.btntextchange:hover span:nth-child(1) {
    opacity: 0;
    /*透過0に*/
}

.btntextchange:hover span:nth-child(2) {
    opacity: 1;
    /*不透明に*/
}

.contactbox p {
    margin-top: 5.636896046852123vw;
    margin-bottom: 5.7833089vw;
}
@media screen and (max-width:400px) {
    .contactbox p {
        font-size: 0.8rem;
    }

}
