@charset "utf-8";

/*ハンバーガーメニュー===========================================*/
#g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: 0;
    right: -120%;
    width: 32%;
    height: 100vh;
    /*ナビの高さ*/
    background: #d9d9d9;
    /*動き*/
    transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
    right: 0;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 36%;
    left: 32%;
    transform: translate(-36%, -32%);
}

/*リストのレイアウト設定*/

#g-nav li {
    list-style: none;
    /* text-align: center; */
}

#g-nav li a {
    color: #333;
    text-decoration: none;
    padding: 14px 24px;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-weight: normal;
    /* font-family: "Press Start 2P", system-ui; */
    font-family: "VT323", monospace;
    font-size: 20px;
    transition: all ease 0.1s;
    border: 8px transparent solid;
}

#g-nav li a:hover {
    border: 8px #F4A261 solid;
}

#g-nav li .nav_contact {
    font-size: 20px;
    background-color: #333;
    color: #fefefe;
    padding: 0px 24px;
    border: 8px transparent solid;
}

#g-nav li .nav_contact:hover {
    border: 8px transparent solid;
    background-color: #F4A261;
    color: #333;
}

.x__link img {
    width: 24px;
}

#g-nav li .x__link:hover {
    border: 8px transparent solid;
    opacity: 0.7;
}


/*========= ボタンのためのCSS ===============*/
.openbtn {
    position: fixed;
    z-index: 9999;
    /*ボタンを最前面に*/
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
}

/*×に変化*/
.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
}

.openbtn span:nth-of-type(1) {
    top: 15px;
}

.openbtn span:nth-of-type(2) {
    top: 23px;
}

.openbtn span:nth-of-type(3) {
    top: 31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

/*fadeup====================*/
.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 1.4s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(80px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 767px) {
    #g-nav {
        right: -120%;
        width: 56%;
    }

    #g-nav li a {
        padding: 12px 16px;
        font-size: 16px;
        border: 6px transparent solid;
    }

    #g-nav li a:hover {
        border: 6px #F4A261 solid;
    }

    #g-nav li .nav_contact {
        font-size: 16px;
        border: 6px transparent solid;
        padding: 0px 16px;
    }

    #g-nav li .nav_contact:hover {
        border: 6px transparent solid;
    }

    #g-nav li .x__link:hover {
        border: 6px transparent solid;
    }
}



/*波紋表現=========================================*/
/*== 無限に波紋が広がる */

.image-mask-anime {
    /*波紋の基点とするためrelativeを指定*/
    position: relative;
    /*波紋の形状*/
    display: inline-block;
    width: 140px;
    height: 100px;
    /* border-radius: 50%; */
    color: #111;
    outline: none;
    /*アニメーションの設定*/
    transition: all .3s;
    margin-top: 80px;
    font-family: "Oxanium", sans-serif;
    letter-spacing: 2px;
}

/*hoverした際の背景色の設定*/

/*波形を2つ設定*/
.image-mask-anime::after,
.image-mask-anime::before {
    content: '';
    /*絶対配置で波形の位置を決める*/
    position: absolute;
    left: -25%;
    top: -60%;
    /*波形の形状*/
    border: 1px solid #999;
    width: 150%;
    height: 150%;
    border-radius: 50%;
    /*はじめは不透明*/
    opacity: 1;
    /*ループするアニメーションの設定*/
    animation: 2.6s circleanime linear infinite;
}

/*波形の2つ目は0.5秒遅らせてアニメーション*/
.image-mask-anime::before {
    animation-delay: 1.3s;
}

/*波形のアニメーション*/
@keyframes circleanime {
    0% {
        transform: scale(0.68);
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@media (max-width: 767px) {
    .image-mask-anime {
        font-size: 14px;
    }
}



/*=== 9-1-2 丸が動いてスクロールを促す ====*/

.scroll__box {
    position: relative;

}

/*スクロールダウン全体の場所*/
.scroll__anime {
    /*描画位置※位置は適宜調整してください*/
    position: absolute;
    bottom: -80%;
    left: 50%;
}

/*Scrollテキストの描写*/
.scroll__anime span {
    /*描画位置*/
    position: absolute;
    left: 10px;
    bottom: 10px;
}

/* 丸の描写 */
.scroll__anime:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 0;
    left: -4px;
    /*丸の形状*/
    width: 10px;
    height: 10px;
    /* border-radius: 50%; */
    background: #333;
    /*丸の動き1.6秒かけて透過し、永遠にループ*/
    animation:
        circlemove 1.6s ease-in-out infinite,
        cirlemovehide 1.6s ease-out infinite;
}

/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove {
    0% {
        bottom: 45px;
    }

    100% {
        bottom: -5px;
    }
}

/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide {
    0% {
        opacity: 0
    }

    50% {
        opacity: 1;
    }

    80% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
    }
}

/* 線の描写 */
.scroll__anime:after {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 0;
    left: 0;
    /*線の形状*/
    width: 2px;
    height: 50px;
    background: #333;
}

.image-anime {
    color: #111;
    outline: none;
    /*アニメーションの設定*/
    transition: all .3s;
    margin-top: 56px;
    font-family: "VT323", monospace;
    letter-spacing: 2px;
    font-size: 28px;
}

@media (max-width: 767px) {
    .image-anime {
        font-size: 20px;
    }
}


/*faqアコーディオン================================*/
/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    width: 96%;
    max-width: 1024px;
    margin:0 auto;
}

.accordion-area li{
    margin: 24px 0;
}

.accordion-area section {
	border: 1px solid #f1f1f1;
    position: relative;
}

/*アコーディオンタイトル*/
.faq__title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1rem;
    font-weight: normal;
    padding: 3% 3% 3% 50px;
    transition: all .5s ease;
    color: #111;
}

/*アイコンの＋と×*/
.faq__title::before,
.faq__title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 4px;
    background-color: #F4A261;
    
}
.faq__title::before{
    top:48%;
    left: 15px;
    transform: rotate(0deg);
    
}
.faq__title::after{    
    top:48%;
    left: 15px;
    transform: rotate(90deg);

}
/*　closeというクラスがついたら形状変化　*/
.faq__title.close::before{
	transform: rotate(45deg);
}

.faq__title.close::after{
	transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.faq__box {
    display: none;/*はじめは非表示*/
    background: #f3f3f3;
	margin:0 3% 3% 3%;
    padding: 3%;
    position: relative;
}

.accordion-area section::before,
.accordion-area section::after {
    content: "";
    position: absolute;
    width: 20px;
    /* ボーダーの長さ */
    height: 10px;
    /* ボーダーの長さ */
    border: solid 4px #666;
    transition: all 0.3s ease;
}

.accordion-area section:hover::before,
.accordion-area section:hover::after {
    border: solid 4px #F4A261;
    width: 30px;
    height: 20px;
}

.accordion-area section::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}
.accordion-area section:hover::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.accordion-area section::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.accordion-area section:hover::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

@media (max-width: 767px)  {
    .faq__title {
    font-size:14px;
    }
    .faq__box {
        font-size: 14px;
    }
}