@charset "utf-8";

    /* 変数の登録 */
    :root{
        --font_ja:'M PLUS 1 Code', monospace;
        --font_en:'Nunito', sans-serif;
        --color_1:#ed2e38;
        --color_2:#007B49;
    }

*{margin: 0; padding: 0; box-sizing: border-box;}
ul{list-style: none;}
a{text-decoration: none;}
img{vertical-align: bottom; max-width: 100%;}

/* スムーススクロールの設定 */
    html{
        scroll-behavior: smooth;
    }

    header{
        background-color: var(--color_2);
        width: fit-content;
        padding: 40px;
        color: #FFF;
        position: absolute;
        left: 100px;
        top: 100px;
        z-index: 20;
        border-radius: 3px;

        @media (max-width:600px){
        top: 140px;
        right: 0;
        left: 0;
        margin: auto;
        z-index: 5;
        }
        }

    /* 改行を無効にする */
.sp-on{
    display: none;
    @media (max-width:960px){
    display: block;
    }
    }

/* ナビゲーション部分 */
#g-nav{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background: url(../img/nav-bg.webp) no-repeat center center/cover;
    display: flex;
    flex-direction: row-reverse;
    padding-bottom: 50px;
    @media (max-width:960px){
        padding: 20px;
        text-align: center;
        }

    >ul{
        width: 50%;
        background-color: #FFFFFF99;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 100px;
        @media (max-width:960px){
        width: 100%;
        padding: 100px 20px 40px;
        }

    >li{
        margin-bottom: 20px;
        >a{
            display: block;
            color: #222;
            font-size: 18px;
            border-bottom: 2px solid #222;
            padding: 6px;
            &:hover{
            color: var(--color_2);
            border-bottom: 2px solid var(--color_2);
            text-indent: 1em;
            transition: 0.1s;
        }
    }
    }
    }
    }


/* メインビジュアル部分 */
.main-visual{
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    @media (max-width:600px){
        height: 60vh;
        }
        }

.main-visual li{
    width: 100%;
    height: 100vh; /* 100vh */
    @media (max-width:600px){
        height: 60vh;
        }
        }

.main-visual img{ /* 二つの要素 */
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* メインコピー部分 */
.main-copy{
    width: 80%;
    margin: 0 auto;
    text-align: center;
    font-family: var(--font_ja);
    padding: 160px 10px;
    @media (max-width:600px){
        padding: 80px 10px;
        }
    }

.main-copy>h2{
    font-size: 46px;
    margin-bottom: 50px;
    @media (max-width:600px){
        font-size: 24px;
        }
}

.lead{
    font-size: 18px;
    line-height: 2.0;
}

/* ギャラリー部分 */
.gallery{
    max-width: 600px; 
    margin: 0 auto 200px;
    position: relative;
    @media (max-width:960px){
        width: 70%
        }
}

.gallery>p:nth-of-type(1){
    box-shadow: 14px 14px 16px var(--color_1);
}

.gallery>p:nth-of-type(2){
    width: 50%;
    position: absolute;
    right: -100px;
    bottom: -100px;
    box-shadow: -14px 14px 16px var(--color_2);

    @media (max-width:960px){
    right: 20px;
    bottom: -170px;
    width: 70%;
    }
}

/* section共通部分 */
section{
    padding: 140px 10px;
}

section>h2{
    text-align: center;
    font-family: var(--font_ja);
    color: var(--color_1); /* #ed2e38 */
    font-size: 30px;
    margin-bottom: 60px;
}

section>h2::before{ /* after */
    content: attr(data-en);
    font-family: var(--font_en);
    color: var(--color_2); /* #007B49 */
    font-size: 22px;
    display: block;
}

/* お知らせ部分 */
#news-list{
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

#news-list>dt{
    width: 30%;
    border-bottom: 2px solid var(--color_2);
    margin-bottom: 60px;
    padding: 10px;
    font-weight: bold;
}

#news-list>dd{
    width: 70%;
    border-bottom: 2px solid var(--color_2);
    margin-bottom: 60px;
    padding: 10px;
}

/* 4つ目以降に変化を加える */
#news-list>dt:nth-of-type(n+4){
    display: none;
}
#news-list>dd:nth-of-type(n+4){
    display: none;
}

/* パララックス部分 */
.parallax-1{
    width: 100%;
    height: 100vh;
    background: url(../img/parallax-1.webp) no-repeat center center/cover fixed;
    @media (max-width:960px){
        background: url(../img/parallax-1.webp) no-repeat center center/cover scroll;
        height: 60vh;
        }
}

.parallax-2{
    width: 100%;
    height: 100vh;
    background: url(../img/parallax-2.webp) no-repeat center center/cover fixed;

    filter: blur(3px);
}

/* 動画部分 */
.yt-wrapper{
    width: 70%;
    aspect-ratio: 16 / 9; /* 幅/高さ */
    margin: 0 auto;
    @media (max-width:600px){
        width: 100%;
        }
}
.yt{
    width: 100%;
    height: 100%;
}

/* メニュー部分 */
.menu-wrapper{
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
    gap: 80px 40px; /* スペースを作る 上下、左右の順 */
    @media (max-width:600px){
        gap: 40px 10px;/* 上下、左右の順 */
        }
}

.menu-box{ /* モーダルウィンドウ */
    width: calc((100% - 80px) / 3); /* □40px□40px□  */
    padding: 10px;
    /* border: 1px solid #aaa; */
    /* border-radius: 3px; */

    @media (max-width:960px){
        width: calc((100% - 40px) / 2);
        }
        @media (max-width:600px){
        width: calc((100% - 10px) / 2);
        }
}

.menu-box>a{
    color: var(--color_1);
    font-size: 24px;
    margin-bottom: 6px;
}

.menu-box img{
    transition: 0.6s;
}

.menu-box:hover img{
    scale: 1.1;
}

.menu-box p{
    overflow: hidden;
}

/* 店舗情報部分 */
.shop-wrapper{
    width: 90%;
    margin: 0 auto;
    display: flex;
    gap: 0 40px;
    @media (max-width:960px){
        display: block;
        }
}

.shop-list{
    width: calc((100% - 80px) / 3); /* ドラッグしてカッコ押す */
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #333;
    @media (max-width:960px){
        width: 100%;
        margin-bottom: 80px;
        }
}

.shop-list>dt{
    width: 30%;
    padding: 20px;
    border-right: 1px solid #333;
    color: #fff;
    background-color: var(--color_2);
}

.shop-list>dd{
    width: 70%;
    padding: 20px;
}

.shop-list>dt:nth-of-type(n+2){
    border-top:1px solid #333;
}
.shop-list>dd:nth-of-type(n+2){
    border-top:1px solid #333;
}

/* 電話番号の処理 */
.tel-number{
    color: #333;
    pointer-events: none; /* PC時、クリックを無効に →auto */
}

.map-outer{
    width: calc((100% - 80px) / 3 * 2 + 40px);
    aspect-ratio: 8 / 4; /* 幅/高さ */
    /* height: 300px; これだと固定になる */
    @media (max-width:960px){
        width: 100%;
        aspect-ratio: 1 / 1;/* 横/縦の比率 */
        }

}
.g-map{
    width: 100%;
    height: 100%; /* 親に揃える */

    /*  値は0~1 */
    filter: grayscale(1);
    /* ぼかし */
    /* filter: blur(3px); */
    
    transition: 0.3s;

    /* CSS Nesting ネスト */
    &:hover{
        filter: grayscale(0);
    }
}

/* 予約フォーム */
.form-wrapper{
    max-width: 640px;
    margin: 0 auto 100px;
}
.g-form{
    width: 100%;
}

/* カルーセル部分 */
.carousel{
    display: flex;
    >p{
        width: 20%;
        padding: 0 4px;
        aspect-ratio: 4 / 3;

        >img{
            object-fit: cover; /* cover */
            width: 100%;
            height: 100%;
        }
    }
}

/* フッター設定 */
    footer{
        width: 100%;
        background-color: var(--color_2);
        >p{
            text-align: center;
            font-size: 20px;
            font-weight: bold;
            color: #fff;
            padding: 30px 0;
        }
    }


/* ハンバーガーボタン */
    #ham-btn{
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 20;
        background-color: #ffffff89;
        border-radius: 3px;
        padding: 30px;
        box-shadow: 0px 5px 7px 0px rgba(0, 0, 0, 0.183);

        &:hover{
            opacity: 1;
        }

    }



