/*
変数定義
----------------------------------------------------------- */
:root {
    --color-primary: #35563d;
    --color-bg: #f0e9df;
    --color-accent: #b9925f;
    --color-accent-hover: #a17c4a;
    --color-text: #333;
    --color-white: #fff;
    --header-height: 75px;
    --gap: 40px;
}

/*
ベース
----------------------------------------------------------- */
html,
body {
    overflow-x: clip;
}

html {
    scroll-padding-top: var(--header-height);
}

body {
    font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    padding-top: var(--header-height);
    letter-spacing: 0.3rem;
}

.container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 15px;
}

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

.fa-solid,
.fa-regular,
.fa-brands {
    letter-spacing: normal;
}

/*
ユーティリティ - Flex
----------------------------------------------------------- */
.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.align-start {
    align-items: flex-start;
}

.gap {
    gap: var(--gap);
}

/*
ユーティリティ - Grid
----------------------------------------------------------- */
.grid {
    display: grid;
}

.grid-3col {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2col {
    grid-template-columns: repeat(2, 1fr);
}

/*
写真ホバーアニメーション
----------------------------------------------------------- */
.photo-hover {
    overflow: hidden;
    border-radius: 4px;
}

.photo-hover img {
    transition: transform .5s;
}

.photo-hover:hover img {
    transform: scale(1.08);
}

/*
ローディング
----------------------------------------------------------- */
.loading {
    position: fixed;
    inset: 0;
    background: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity .6s, visibility .6s;
}

.loading.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-logo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    animation: spinRecord 3s linear infinite;
}

@keyframes spinRecord {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/*
ヘッダー
----------------------------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--color-primary);
    transition: background .3s, backdrop-filter .3s;
}

header.scroll::before {
    background: rgba(53, 86, 61, .75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

header .container {
    max-width: none;
}

.logo img {
    width: 180px;
    height: auto;
}

nav ul {
    display: flex;
    gap: 40px;
}

nav a {
    color: var(--color-white);
    font-size: 14px;
    transition: .3s;
}

nav a:hover {
    opacity: .7;
}

.hamburger {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    flex-shrink: 0;
    transition: border-color .3s;
    z-index: 1100;
}

.hamburger:hover {
    border-color: var(--color-white);
}

.hamburger span {
    position: absolute;
    left: 50%;
    width: 18px;
    height: 1px;
    background: var(--color-white);
    transform: translateX(-50%);
    transition: .3s;
}

.hamburger span:nth-child(1) {
    top: 16px;
}

.hamburger span:nth-child(2) {
    top: 22px;
}

.hamburger span:nth-child(3) {
    top: 28px;
}

.hamburger.active span:nth-child(1) {
    top: 22px;
    transform: translateX(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 22px;
    transform: translateX(-50%) rotate(-45deg);
}

/*
メインビジュアル
----------------------------------------------------------- */
.mv {
    position: relative;
}

.mv video {
    width: 100%;
    height: 850px;
    object-fit: cover;
}

.catchcopy {
    position: absolute;
    left: 60px;
    bottom: 60px;
    color: var(--color-white);
    text-align: left;
}

.catchcopy h2 {
    font-size: 20px;
    font-weight: 500;
}

/*
共通タイトル
----------------------------------------------------------- */
.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
}

/*
フェードアップ
----------------------------------------------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s, transform .7s;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/*
ABOUT
----------------------------------------------------------- */
.about {
    padding: 100px 0;
}

.about-text .section-title {
    margin-bottom: 24px;
}

.about-box p {
    font-size: 16px;
}

.about-img {
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 15px 15px 0 var(--color-primary);
}

.about-img img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    animation: zoomLoop 8s ease-in-out infinite alternate;
}

@keyframes zoomLoop {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

/*
MENU
----------------------------------------------------------- */
.menu-section {
    background: var(--color-primary);
    padding: 100px 0;
}

.menu-section .section-title {
    color: var(--color-white);
}

.menu-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.menu-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-card .photo-hover {
    border-radius: 4px;
}

.menu-card img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.menu-card-body {
    background: var(--color-white);
    padding: 24px 0 70px;
    position: relative;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
}

.menu-card-body h3 {
    font-size: 20px;
}

.menu-card-body p {
    margin-top: 10px;
}

.menu-card-body::before {
    content: "";
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 1px;
    background: #ccc;
}

.menu-card .tag {
    position: absolute;
    bottom: 24px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 24px;
    line-height: 1;
    letter-spacing: .2em;
    color: #999;
}

/*
MOREボタン
----------------------------------------------------------- */
.more {
    width: 220px;
    height: 50px;
    background: var(--color-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto 0;
    border-radius: 4px;
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .1em;
    transition: .3s;
}

.more:hover {
    background: var(--color-accent-hover);
}

/*
GALLERY
----------------------------------------------------------- */
.gallery {
    padding: 100px 0;
}

.gallery .container {
    max-width: none;
}

.gallery-main.photo-hover img {
    height: 500px;
    object-fit: cover;
}

.gallery-sub {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-sub .photo-hover {
    aspect-ratio: 1 / 1;
}

.gallery-sub .photo-hover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*
NEWS
----------------------------------------------------------- */
.news {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 100px 0;
}

.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-list li {
    border-bottom: 1px solid rgba(255, 255, 255, .3);
}

.news-list a {
    display: flex;
    gap: 50px;
    padding: 18px 0;
    transition: background .3s;
}

.news-list a span {
    flex-shrink: 0;
    width: 100px;
}

.news-list a:hover {
    background: rgba(255, 255, 255, .08);
}

.news-list p {
    letter-spacing: 0;
    transition: letter-spacing .3s;
}

.news-list a:hover p {
    letter-spacing: .1em;
}

/*
ACCESS
----------------------------------------------------------- */
.access {
    padding: 100px 0;
}

.map {
    width: 50%;
    flex-shrink: 0;
}

.map img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
}

.info {
    flex: 1;
}

.info-row {
    display: flex;
    gap: 30px;
    padding: 14px 0;
}

.info-row + .info-row {
    border-top: 1px solid rgba(51, 51, 51, .1);
}

.info-row dt {
    width: 90px;
    flex-shrink: 0;
    font-weight: bold;
}

/*
LOOP SLIDER
----------------------------------------------------------- */
.loop-slider {
    overflow: hidden;
    background: var(--color-primary);
    padding: 40px 0;
}

.loop-swiper {
    width: 100%;
}

.loop-swiper .swiper-wrapper {
    transition-timing-function: linear;
}

.loop-swiper .swiper-slide {
    width: 55vw !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.loop-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*
CRTエフェクト（ノイズ + Vegas風ドット）
----------------------------------------------------------- */
.crt-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.crt-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(120, 70, 30, .2) 0.5px, transparent 0.1px);
    background-size: 3px 3px;
    z-index: 1;
}

.crt-noise-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .05;
    mix-blend-mode: screen;
    z-index: 2;
}

/*
FOOTER
----------------------------------------------------------- */
footer {
    background: var(--color-primary);
    color: var(--color-white);
}

.footer-inner {
    padding-top: 60px;
    padding-bottom: 60px;
}

.footer-box {
    gap: 30px;
}

.footer-left,
.footer-center,
.footer-right {
    width: 30%;
}

.footer-logo img {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.footer-center h3,
.footer-right h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.footer-center p {
    margin: 8px 0;
}

.sns {
    display: flex;
    gap: 20px;
}

.sns a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 16px;
    line-height: 1;
    transition: .3s;
}

.sns a:hover {
    border-color: var(--color-white);
    transform: scale(1.1);
    opacity: .8;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 12px;
    opacity: .7;
}

/*
TOPへ戻るボタン
----------------------------------------------------------- */
.top-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, .5);
    color: var(--color-white);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .3s;
    z-index: 900;
    cursor: pointer;
}

.top-btn i {
    line-height: 1;
}

.top-btn.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.top-btn:hover {
    opacity: .8;
}

/*
アーカイブページ共通
----------------------------------------------------------- */
.archive-section {
    padding: 160px 0 100px;
}

.archive-section .section-title {
    text-align: left;
}

.archive-menu .menu-list {
    margin-bottom: 60px;
}

.menu-group + .menu-group {
    margin-top: 60px;
}

.menu-group-ttl {
    font-size: 22px;
    letter-spacing: .1em;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(51, 51, 51, .15);
}

.gallery-sub-archive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-sub-archive .photo-hover {
    aspect-ratio: 1 / 1;
}

.gallery-sub-archive .photo-hover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-news .news-list a {
    color: var(--color-text);
}

.archive-news .news-list li {
    border-bottom: 1px solid rgba(51, 51, 51, .15);
}

/*
下層固定ページ共通（single）
----------------------------------------------------------- */
.single {
    padding: 160px 0 100px;
}

.single-date {
    color: var(--color-accent);
    font-size: 14px;
    margin-bottom: 10px;
}

.single .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.single-price {
    color: var(--color-accent);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.single-img {
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 30px;
}

.single-content {
    font-size: 16px;
    margin-bottom: 60px;
}

/*
レスポンシブ：タブレット（1199px〜768px）
----------------------------------------------------------- */
@media (max-width: 1199px) {

    .hamburger {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        max-width: 80vw;
        height: 100vh;
        background: var(--color-primary);
        padding: 100px 30px;
        transform: translateX(100%);
        transition: transform .4s ease;
        z-index: 1050;
    }

    nav.active {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        gap: 30px;
    }

    nav ul li {
        opacity: 0;
        transform: translateX(20px);
        transition: opacity .4s ease, transform .4s ease;
    }

    nav.active ul li {
        opacity: 1;
        transform: translateX(0);
    }

    nav.active ul li:nth-child(1) {
        transition-delay: .1s;
    }

    nav.active ul li:nth-child(2) {
        transition-delay: .15s;
    }

    nav.active ul li:nth-child(3) {
        transition-delay: .2s;
    }

    nav.active ul li:nth-child(4) {
        transition-delay: .25s;
    }

    nav.active ul li:nth-child(5) {
        transition-delay: .3s;
    }

    nav.active ul li:nth-child(6) {
        transition-delay: .35s;
    }

    .drawer-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .4);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .4s ease;
        z-index: 999;
    }

    .drawer-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

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

/*
レスポンシブ：SP（767px以下）
----------------------------------------------------------- */
@media (max-width: 767px) {

    .mv video {
        height: 500px;
    }

    .catchcopy {
        left: 24px;
        bottom: 30px;
    }

    .catchcopy h2 {
        font-size: 16px;
    }

    .footer-logo {
        display: block;
        margin: 0 auto;
        width: 160px;
    }

    .footer-logo img {
        width: 160px;
        max-width: 100%;
        margin: 0 auto;
    }

    .catchcopy p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .about,
    .menu-section,
    .gallery,
    .news,
    .access {
        padding: 60px 0;
    }

    .about-box.grid-2col {
        grid-template-columns: 1fr;
    }

    .about-img {
        box-shadow: 10px 10px 0 var(--color-primary);
    }

    .map,
    .info {
        width: 100%;
        flex: none;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        width: 100%;
        text-align: center;
    }

    .sns {
        justify-content: center;
    }

    .menu-list {
        grid-template-columns: 1fr;
    }

    .news-list a {
        flex-direction: column;
        gap: 8px;
    }

    .more {
        width: 180px;
        height: 48px;
        font-size: 18px;
    }

    nav.active {
        width: 100%;
    }

    .loop-swiper .swiper-slide {
        width: 75vw !important;
        aspect-ratio: 16 / 9;
        height: auto !important;
    }

    .archive-section,
    .single {
        padding: 120px 0 60px;
    }
}