@charset "UTF-8";

@media only screen and (max-width:768px) {

    /* CSS Document */

    .gnav-pc {
        display: none !important;
    }

    .gnav-sp {
        display: block !important;
    }

    .sp {
        display: block !important;
    }

    /*----------------------------------------
SP用レイアウト(768px以下のスクリーン)
----------------------------------------*/

    /* body全体の初期スタイル調整 */

    body {
        width: 100%;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

    h1{
        margin: 0;
        width: 50%;
    }

    /*----------------------------------------
全体レイアウト/背景設定(PC)
----------------------------------------*/

    #main {
        background-image: none;
        width: 100%;
        margin: 0%;
    }

    .img {
        vertical-align: bottom;
    }

    header{
        width: 100%;
        padding: 3% 4% ;
        background: #fff;
        position: sticky;
        top: 0;
        align-items: center;
        overflow: hidden;
        height: auto;
        z-index: 999;
    }

    .logo {
        float: left;
        width: 50%;

    }

    #hamburger {
        float: right;
        position: relative;
        display: block;
        width: 8%;
        height: 25px;
        margin: 1% 0;
    }

    #hamburger span {
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 100%;
        height: 2px;
        background-color: #693303;
        transform: translateY(-50%);
    }

    #hamburger::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #693303;
    }

    #hamburger::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 70%;
        height: 2px;
        background-color: #693303;
    }

    .gnav-sp {
        z-index: 9999;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        display: block;
        width: 100%;
        background: rgba(105, 51, 3, .9);
        transition: all .2s ease-in-out;
        opacity: 0;
        transform: translateY(-100%);
    }

    .gnav-sp ul {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 90%;
    }

    .gnav-sp li {
        margin: 0;
        padding: 0;
    }

    .gnav-sp li span {
        font-size: 1.8em;
        color: #fff;
    }

    .gnav-sp li a,
    .sp-nav li span {
        display: block;
        padding: 16px 0;
    }

    .gnav-sp .close {
        position: relative;
        padding-left: 20px;
        margin-top: 5%;
    }

    /*バツ印線1*/
    .gnav-sp .close::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 16px;
        height: 1px;
        background: #fff;
        transform: rotate(45deg);
    }

    /*バツ印線2*/
    .gnav-sp .close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 16px;
        height: 1px;
        background: #fff;
        transform: rotate(-45deg);
    }

    .toggle {
        transform: translateY(0);
        opacity: 1;
    }

    ul li a {
        color: #fff;
        text-decoration: none;
        font-size: 1.5em;
        font-family: "dnp-shuei-gothic-gin-std", sans-serif;
        font-weight: 400;
        font-style: normal;
        letter-spacing: 0.2em;
    }

    .menu {
        position: relative;
        text-align: center;
    }

    .menu ::before {
        background: #f59400;
        content: '';
        width: 100%;
        height: 1.5px;
        position: absolute;
        left: 0;
        bottom: 0;
        top: 10%;
        margin: auto;
        margin-bottom: 4%;
        transform-origin: right top;
        transform: scale(0, 1);
        transition: transform .3s;
    }

    .menu :hover::before {
        transform-origin: left top;
        transform: scale(1, 1);
    }

    .en {
        font-size: 10%;
        font-family: "josefin-sans", sans-serif;
        font-weight: 600;
        font-style: normal;
        letter-spacing: 0.1em;
    }

    ul li a:hover {
        color: #f59400;
        animation: beside 2s linear infinite;
    }

    .gnav-sp li span:hover {
        color: #f59400;
    }

    /*----------------------------------------
ファーストビュー設定
----------------------------------------*/

    #main-contents {
        width: 100vw;
        margin: 0 auto;
    }

    /*----------------------------------------
よくあるご質問
----------------------------------------*/

    #faq {
        background-image: url(../images/faq.jpg);
        background-repeat: no-repeat;
        background-size: 100%;

    }

    .accordion_wrap {
        padding: 65% 5% 5% 5%;
        width: 100%;
        margin: 0 auto;
    }

    .accordion {
        margin-bottom: 3%;
        position: relative;
    }

    .accordion__btn {
        cursor: pointer;
        position: relative;
    }

    .accordion__btn::before {
        content: '';
        display: inline-block;
        border-radius: 10%;
        width: 4%;
        height: 2px;
        background-color: #fff;
        position: absolute;
        right: 3.97%;
        top: 50%;
        transform: translateY(-50%);
        transition: opacity 1s;
    }

    .accordion__btn::after {
        content: '';
        display: inline-block;
        border-radius: 10%;
        width: 4%;
        height: 2px;
        background-color: #fff;
        position: absolute;
        right: 3.97%;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        transition: transform 1s;
    }

    .accordion__btn.show::before {
        opacity: 0;
    }

    .accordion__btn.show::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .accordion__content {
        display: none;
    }

    /*----------------------------------------
フッター部分
----------------------------------------*/

    .footer {
        background-color: #693303;
        padding: 4em 0em;
        text-align: center;
        font-size: 1.1em;
        font-family: "dnp-shuei-gothic-gin-std", sans-serif;
        font-weight: 400;
        font-style: normal;
        color: #fff;
        }

    .small{
        font-size: 0.7em;
        padding-top: 1%;
        font-family: "dnp-shuei-gothic-gin-std", sans-serif;
        font-weight: 300;
        font-style: normal;
        color: #fff;

    }

    .footer a {
        color: #fff;
    }

}