/* ========================================== */
/*  <!-- 各ページ詳細 --> */
/* ========================================== */

* {
    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;
    }

}



/* ========================================== */
/*   /*<!-- main -->  */
/* ========================================== */

section {
    color: #707070;
    /* font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.8rem; */
    margin: auto;
    width: 100%;
}

.production p {
    color: #707070;
    font-size: 1.8rem;
    font-family: 'Comfortaa', cursive;
    padding-bottom: 30px;
    margin: auto;
    text-align: center;
}
@media screen and (max-width:400px) {
    .production p{
        font-size: 1rem;
    }

}

.name {
    margin-top: 8.5651537335vw;
    margin-bottom: 8.7115666vw;
    ;
    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;

    }
}


.wrapper {
    max-width: 920px;
    width: 64.12884333vw;
    display: flex;
    margin: auto;
    flex-wrap: wrap;
    
    
}
@media screen and (max-width:1240px) {
    .wrapper {
        justify-content: center;
    }

}

@media screen and (max-width:768px) {
    .wrapper {
        /* max-width: 584px;
        width: 76.0416666vw; */
        justify-content: center;
    }

}


.wrapper img {
    max-width: 280px;
    max-height: 280px;
    width: 19.765739vw;
    height: 19.765739vw;
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 15px;

}

@media screen and (max-width:1240px) {
    .wrapper img {
        max-width: 300px;
    max-height: 300px;
        width: 33.46vw;
        height: 33.46vw;
    }

}

@media screen and (max-width:999px) {
    .wrapper img {
        max-width: 377px;
        max-height: 377px;
        width: 49vw;
        height: 49vw;
    }

}



.border02 {
    max-width: 876px;
    width: 64.1288433382vw;
    height: 1px;
    background-color: #707070;
    margin-bottom: 32px;
}

@media screen and (max-width:768px) {
    .border02 {
        max-width: 584px;
        width: 76.0416666vw;
    }

}

.wrapper p{
    margin-right: auto;

}





.others {
    /* display: flex;
    align-items: center;
    width: 26.42752526222vw;
    height: 8.052708638vw;
    overflow: hidden;
    flex: 1, 1; */

    background-color: #EFEFEF;
    margin-top: 3.73352855vw;
    margin-right: auto;
    padding: 20px;
}

@media screen and (max-width:768px) {
    .others {
        /* width: 47.00520888vw;
        height: 14.32291665vw; */
    }

}

.others p {
    /* flex: 1, 1;
    text-align: left;
    /* margin: 20px; */
    /* line-height: 2;
    font-size: 1rem; */ 

}

.btn {
    margin-top: 18.9604685vw;
    display: flex;
    justify-content: center;
}

@media screen and (max-width:768px) {
    .btn {
        margin-top: 22.1354vw;
    }

}

.btnbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    /* width: 30.2825vw; */
}

@media screen and (max-width:768px) {
    .btnbox {
        width: 100%;
        justify-content: center;
    }

}

.btnbox a:hover {
    color: #B4657A;
}

.btn a {
    text-decoration: none;
    font-size: 1.5rem;
    color: #707070;
    font-family: 'Comfortaa', cursive;

}

@media screen and (max-width:768px) {
    .btn a {}

}
@media screen and (max-width:400px) {
    .btn a {
        font-size: 1rem;
    }

}

.all {
    margin-right: 3vw;
    margin-left: 3vw;

}

@media screen and (max-width:768px) {
    .all {
        margin-right: 5vw;
        margin-left: 5vw;
    }

}

.border03 {

    width: 65.51976573938vw;
    height: 1px;
    background-color: #707070;
    margin-top: 2.049780vw;
    margin-bottom: 32px;
}

@media screen and (max-width:768px) {
    .border03 {
        display: none;
    }

}


/* ========================================== */
/*  <!-- 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;
    }

}
