@charset "UTF-8";

body {
    font-family: "游ゴシック体", "ヒラギノ角ゴ ProN", "Arial", "Meiryo", sans-serif;
    font-size: 16px;
    background-color: #fff;
    color: black;
}

/* 1. 画面の横揺れを根本から防ぐ */
body {
    overflow-x: hidden;
    width: 100%;
}

/* 2. 画像が親要素からはみ出さないようにする（基本ルール） */
img {
    max-width: 100%;
    height: auto;
}

p {
    line-height: 1.5;
    font-family: "筑紫A丸ゴシック", serif;
}

a {
    color: #000;
    text-decoration: none;
    cursor: pointer !important;
    transition: 0.5s;
}

.header_hv:hover,
.footer_hv:hover {
    opacity: 0.5;
    transition: 0.5s;
}


header {
    max-width: 1180px;
    width: 100%;
    margin: 30px auto 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

}

.header-h1 {
    display: flex;
    gap: 16px;
    margin-left: 13px;
    align-items: flex-end;
}


.header-ul2 {
    list-style: none;
    margin-right: 13px;
    display: flex;
    gap: 24px;
    align-items: flex-end;

}

.main-img {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
}

.about,
.online {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin: 123px 0 123px;
    padding-top: 80px;
    padding-bottom: 10px;

}

.h2-en {
    font-family: "筑紫A丸ゴシック", serif;
    font-size: 18px;
    letter-spacing: 0.2em;
    font-weight: lighter;
}

.h2-ja {
    font-family: "ヒラギノ明朝 Pro", serif;
    font-size: 29px;
    margin-bottom: 40px;
}

h3 {
    font-family: "ヒラギノ明朝 Pro", serif;
    font-size: 20px;
}

.h3-sp {
    font-size: 15px;
}

.about-p {
    font-family: "筑紫A丸ゴシック", serif;
    margin-bottom: 40px;
    justify-content: center;
    line-height: 1.8;
}

.lineup {
    width: 100%;
    background-image: url(images/bgi_seigaiha.jpg);
    /* background-repeat: no-repeat; */
    background-size: 100% auto;
    background-position: center;
    position: relative;
    display: block;
    height: auto;
}

.h2-lineup {
    text-align: center;
    margin: 56px 0 56px;
    padding-top: 75px;
}

.h2-grab {
    text-align: center;
    margin: 56px 0 56px;
    padding-top: 55px;
}

.h2-location {
    text-align: center;
}

.lineup-wrapper {
    display: flex;
    max-width: 1000px;
    width: 95%;
    justify-content: space-between;
    list-style: none;
    margin: 0 auto;
    gap: 58px;
    padding-bottom: 140px;

}

.grab-wrapper {
    display: flex;
    max-width: 1000px;
    width: 95%;
    justify-content: space-between;
    list-style: none;
    margin: 0 auto;
    gap: 58px;
    padding-bottom: 38px;
}

.box {
    width: calc(100% / 3 - 58px);

}

.box img {
    width: 100%;
    height: auto;
    display: block;
}

h3 {
    padding: 42px 0 22px;
    font-size: 20px;
}

.button {
    position: absolute;
    top: 89%;
    /* 上から50% */
    left: 50%;
    /* 左から50% */
    transform: translate(-50%, -50%);
    /* 中央へ微調整 */


    a {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 200px;
        height: 32px;
        font-size: 14px;
        text-decoration: none;
        transition: 0.7s;

        /* ボタンのテキストの色 */
        color: #0f0f0f;
        /* ボタンの背景の色(transparentを推奨) */
        background-color: #ffffff;
        /* ボタンの線の色 */
        border: 1px solid #0f0f0f;

        span {
            position: relative;
        }

        &::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            display: block;
            width: 100%;
            height: 100%;
            transform: scaleX(0);
            transform-origin: right;
            transition: all 0.7s ease;
            transition-property: transform;

            /* 左から右に流れる背景の色 */
            background: #323232;
        }

        &:hover {
            color: #ffffff;

            &::before {
                transform: scaleX(1);
                transform-origin: left;
            }
        }
    }
}

.button2 {
    position: absolute;
    top: 65%;
    /* 上から50% */
    left: 23%;
    /* 左から50% */
    transform: translate(-50%, -50%);
    /* 中央へ微調整 */


    a {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 200px;
        height: 32px;
        font-size: 14px;
        text-decoration: none;
        transition: 0.7s;

        /* ボタンのテキストの色 */
        color: #0f0f0f;
        /* ボタンの背景の色(transparentを推奨) */
        background-color: #ffffff;
        /* ボタンの線の色 */
        border: 1px solid #0f0f0f;

        span {
            position: relative;
        }

        &::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            display: block;
            width: 100%;
            height: 100%;
            transform: scaleX(0);
            transform-origin: right;
            transition: all 0.7s ease;
            transition-property: transform;

            /* 左から右に流れる背景の色 */
            background: #323232;
        }

        &:hover {
            color: #ffffff;

            &::before {
                transform: scaleX(1);
                transform-origin: left;
            }
        }
    }
}


.online {

    background-image: url(./images/bgi_seigaiha.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    display: block;
    height: auto;

}

.online-box {
    display: flex;
    justify-content: center;
    padding: 58px 58px;

}

.online-in {
    text-align: left;
}

.shop-info {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    padding: 30px 40px;
    margin: 30px auto;
    justify-content: space-between;
}

.shop-info-p {
    width: 50%;
    font-size: 14px;
}

.address,
.oh {
    display: flex;
    padding: 24px 24px 8px;
}

.tel,
.access {
    display: flex;
    padding: 24px 24px 8px;
}

dl {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

dt {
    width: 25%;
    font-weight: normal;
    text-align: left;
    letter-spacing: 0.1rem;

}

dd {
    width: 75%;
    font-weight: normal;
    text-align: left;
    letter-spacing: 0.1rem;

}

.oh-p {
    padding-top: 8px;
}

.oh-dd-line {
    font-weight: bold;
    background: linear-gradient(transparent 70%, #f8e88e 0%);
}

footer {
    background-color: #83becb;
    display: flex;
    justify-content: space-between;
    padding: 24px;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    margin-left: 110px;
}

.footer-ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 24px;
    margin-right: 110px;
}

.cc {
    font-size: 13px;
    text-align: center;
    padding: 10px;
    margin: 10px;
}

html {
    scroll-behavior: smooth;
}

/* fade-inクラスが付いている要素の初期状態 */
.fade-in {
    opacity: 0 !important;
    transform: translateY(15px) !important;
    transition: opacity 3.0s ease, transform 2.0s ease !important;
    visibility: hidden;
    /* 完全に隠す */
}

/* 画面に入って .active クラスが「追加」された状態 */
/* .fade-in と .active の間にスペースを入れないのがポイント！ */
.fade-in.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible;
    /* 見えるようにする */
}






/*ここからタブレットサイズ（画面の横幅が560px〜959px）*/
@media screen and (max-width: 959px) {

    header {
        max-width: 930px;
        width: 100%;
    }

    #h1_top img {
        width: 90%;
    }

    .main-img {
        max-width: 930px;
        width: 100%;
    }

    .h2-ja {
        font-size: 26px;
    }

    .h2-en {
        font-size: 15px;
    }

    .lineup,
    .online {
        background-size: 200% auto;
    }

    .shop-info {
        max-width: 930px;
        width: 100%;
        padding: 25px 35px;
        justify-content: space-around;
    }

    .shop-info-p {
        font-size: 13px;
    }

    iframe {
        width: 100%;
        height: 300px;
    }

    footer {
        max-width: 960px;
        width: 100%;
        margin: 50px auto 0;
    }

    .button2 {
        top: 72%;
        left: 16%;
    }

}

/* PCではチェックボックスとボタンを隠す */
#menu-btn-check,
.menu-btn {
    display: none;
}


/* ---ここから スマホサイズ（880px以下）の設定 --- */
@media screen and (max-width: 880px) {
    .button2 {
        top: 86%;
        left: 20%;
    }
}



/* ---ここから スマホサイズ（767px以下）のハンバーガーメニューの設定 --- */
@media screen and (max-width: 767px) {
    .nav-container {
        position: relative;
    }

    /* 三本線ボタンの表示 */
    .menu-btn {
        display: flex;
        height: 60px;
        width: 60px;
        justify-content: center;
        align-items: center;
        z-index: 100;
        background-color: #fff;
        cursor: pointer;
    }

    /* 三本線の真ん中の棒 */
    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: #000;
        position: absolute;
        transition: all 0.5s;
        /* アニメーション用 */
    }

    .menu-btn span:before {
        bottom: 8px;
    }

    .menu-btn span:after {
        top: 8px;
    }

    /* メニューリストの初期状態（右側に隠しておく） */
    .header-ul2 {
        position: fixed;
        top: 0;
        left: 100%;
        /* 画面の右外に配置 */
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s;
        z-index: 90;
        list-style: none;
        padding: 0;
    }

    /* チェックが入った時（ボタンが押された時）の動き */

    /* 1. メニューを画面内にスライドさせる */
    #menu-btn-check:checked~.header-ul2 {
        left: 0;
    }

    /* 2. 三本線を「×」に変える */
    #menu-btn-check:checked~.menu-btn span {
        background-color: rgba(255, 255, 255, 0);
        /* 真ん中の棒を透明に */
    }

    #menu-btn-check:checked~.menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
    }

    #menu-btn-check:checked~.menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    /* 隠しスイッチ（チェックボックス）自体は見えないようにする */
    #menu-btn-check {
        display: none;
    }

    .box {
        width: calc(100% / 3 - 20px);
        /* 間隔を調整 */
    }

    /* スマホでは縦並びにする */
    .lineup-wrapper,
    .grab-wrapper,
    .about,
    .online-box,
    .shop-info {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }


    /* 以下、他要素への記載 */
    #h1_top img {
        width: 80%;
    }

    .box {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 60px;
    }

    .about div,
    .online-in {
        width: 90%;
        text-align: center;
    }

    .shop-info-p {
        width: 99%;
    }

    .about-p {
        font-size: 14px;
    }

    .online-p {
        font-size: 14px;
        padding-bottom: 48px;
    }

    .about {
        margin: 50px 0 50px;
    }

    .lineup,
    .online {
        height: auto;
        aspect-ratio: auto;
        padding-bottom: 60px;
        background-size: 200% auto;
        background-repeat: repeat;
    }

    .online {
        padding-top: 42px;
        margin-top: 42px;
    }

    .lineup-wrapper,
    .grab-wrapper {
        width: 85%;
        /* 100%ではなく85%にすることで左右に余白を作る */
        margin: 0 auto;
        padding-bottom: 40px;
    }

    .box img {
        width: 100%;
        max-width: 300px;
        /* 画像が大きくなりすぎないよう制限 */
        margin: 0 auto;
        display: block;
        border-radius: 8px;
    }

    h3 {
        padding: 20px 0 10px;
        font-size: 18px;
        text-align: center;
    }

    .box h3 {
        width: 85%;
        /* 親要素に対して85%の幅に絞る（＝左右に余白ができる） */
        margin-left: auto;
        margin-right: auto;
    }

    .box img {
        width: 85%;
        max-width: 320px;
        height: auto;
    }

    .box p {
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        font-size: 14px;
        line-height: 1.7;
    }

    dd {
        letter-spacing: 0rem;
    }

    iframe {
        width: 100% !important;
        /* 地図を画面幅いっぱいに */
        height: 300px;
    }



    .footer-logo {
        padding-left: 20px;
    }

    .footer-ul {
        padding-left: 30px;
        gap: 6px;
    }

    .footer_hv img {
        width: 90%;
        height: auto;
    }

    .button {
        top: 95%;

    }

    .button2 {
        top: 90%;
        left: 50%;
    }
}






/*ここからSPサイズ（画面の横幅が559pxまで）*/
@media screen and (max-width: 559px) {

    header {
        max-width: 560px;
        width: 100%;
    }

    .main-img {
        width: 100%;
        height: auto;

    }

    .header-h1 {
        width: 100%;
        height: auto;
    }

    #h1_top img {
        width: 70%;
    }

    .about-p {
        margin-right: 24px;
        margin-left: 24px;
    }

    .online-p {
        font-size: 14px;
    }

    .lineup-wrapper,
    .grab-wrapper {
        width: 100%;
        display: block;
        text-align: center;
    }

    .box h3 {
        width: 75%;
        /* 親要素に対して75%の幅に絞る（＝左右に余白ができる） */
        margin-left: auto;
        margin-right: auto;
    }

    .box img {
        width: 85%;
        max-width: 320px;
        height: auto;
    }

    .box p {
        width: 75%;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        font-size: 14px;
        line-height: 1.7;
    }

    .shop-info {
        max-width: 560px;
        width: 100%;
        padding: 15px 25px;
    }

    .shop-info-p {
        font-size: 12px;
    }

    .dt,
    .dd {
        letter-spacing: -0.1rem;
    }

    iframe {
        width: 100% !important;
        height: 250px;
        padding-top: 24px;
    }

    footer {
        width: 100%;
        margin: 30px auto 0;
        padding: 10px;

    }

    .footer-logo {
        margin-left: 4px;
    }

    .footer-logo img {
        width: 94%;
    }

    .footer-ul {
        margin-right: 4px;
    }

    .footer_hv a {
        display: block;
        padding: 6px;
    }

    .cc {
        font-size: 11px;
    }

    .button a,
    .button2 a {
        font-size: 12px;
    }

}