/* ===================================
   YODA Stretch — style.css
   =================================== */

/* --- Variables --- */
:root {
    --main-green: #2B4C3F;
    --main-green-light: #3a6455;
    --accent-gold: #C0A674;
    --accent-gold-light: #d4bc96;
    --text-black: #333333;
    --text-mid: #666666;
    --bg-light: #F8F9F7;
    --bg-white: #FFFFFF;
    --radius: 10px;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-black);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

/* --- Layout --- */
.container { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.photo-section .container { max-width: 900px; }
.section { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--main-green); }
.text-white { color: var(--bg-white) !important; }
.text-gold { color: var(--accent-gold) !important; }

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* stagger children inside a revealed parent */
.concept-pillars.visible .pillar:nth-child(1) { transition-delay: 0s; }
.concept-pillars.visible .pillar:nth-child(2) { transition-delay: 0.12s; }
.concept-pillars.visible .pillar:nth-child(3) { transition-delay: 0.24s; }
.menu-grid .menu-card:nth-child(1).visible { transition-delay: 0s; }
.menu-grid .menu-card:nth-child(2).visible { transition-delay: 0.14s; }

/* --- Hero fade-in animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.9s ease forwards;
}
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }
.delay-4 { animation-delay: 1.2s; }
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ===================================
   Header
   =================================== */
#header {
    background-color: transparent;
    padding: 18px 24px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 200;
    transition: background-color var(--transition), padding var(--transition), box-shadow var(--transition);
}
#header.scrolled {
    background-color: var(--bg-white);
    padding: 12px 24px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 30px;
    color: var(--accent-gold);
    margin: 0;
    font-weight: 900;
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow:
        0 0 24px rgba(192,166,116,0.55),
        0 2px 8px rgba(0,0,0,0.35);
    transition: color var(--transition), text-shadow var(--transition);
    line-height: 1;
}
.logo span {
    font-weight: 300;
    font-size: 13px;
    letter-spacing: 5px;
    margin-left: 8px;
    color: rgba(255,255,255,0.88);
    text-shadow: none;
    vertical-align: middle;
    transition: color var(--transition);
}
#header.scrolled .logo {
    color: var(--accent-gold);
    text-shadow: 0 1px 4px rgba(192,166,116,0.2);
}
#header.scrolled .logo span { color: var(--main-green); }

.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    transition: color 0.3s;
}
#header.scrolled .header-nav a { color: var(--text-black); }
.header-nav a:hover { color: var(--accent-gold); }
.header-nav a.nav-cta {
    background-color: var(--accent-gold);
    color: var(--bg-white) !important;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background-color 0.3s, transform 0.3s;
}
.header-nav a.nav-cta:hover { background-color: var(--accent-gold-light); transform: translateY(-1px); }

/* ===================================
   Hero
   =================================== */
#hero {
    height: 100dvh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1A2F25;
    color: var(--bg-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ロゴを背景に「うっすら」溶け込ませる疑似要素 */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('photo/hero-logo.png.PNG');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    pointer-events: none;
}

.hero-content { position: relative; z-index: 1; padding: 0 20px; }
.hero-label {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 24px;
}
.catchcopy {
    font-size: clamp(32px, 7vw, 60px);
    line-height: 1.35;
    margin: 0 0 20px;
    letter-spacing: 5px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    font-weight: 700;
}
.sub-catch {
    font-size: clamp(13px, 2vw, 16px);
    letter-spacing: 2px;
    opacity: 0.85;
    margin-bottom: 50px;
}
.hero-scroll-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s;
}
.hero-scroll-btn:hover { color: var(--accent-gold); }
.scroll-line {
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollLine 1.6s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===================================
   Tagline Band
   =================================== */
.tagline-band {
    background-color: var(--main-green);
    overflow: hidden;
    padding: 14px 0;
}
.tagline-inner {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}
.tagline-text {
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--accent-gold);
    text-transform: uppercase;
    font-style: italic;
    flex-shrink: 0;
}
.tagline-divider { color: rgba(192,166,116,0.4); flex-shrink: 0; }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-33.33%); }
}

/* ===================================
   Section Labels & Titles
   =================================== */
.section-label {
    text-align: center;
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 10px;
}
.section-title {
    text-align: center;
    font-size: clamp(22px, 4vw, 28px);
    color: var(--main-green);
    margin: 0 0 50px;
    letter-spacing: 2px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background-color: var(--accent-gold);
    margin: 16px auto 0;
}
.bg-dark .section-title::after { background-color: rgba(192,166,116,0.5); }

/* ===================================
   Owner Photo
   =================================== */
.owner-photo-wrap {
    text-align: center;
    margin: 0 auto 36px;
}
.owner-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 3px solid var(--accent-gold);
    box-shadow:
        0 6px 28px rgba(43,76,63,0.18),
        0 0 0 7px rgba(192,166,116,0.13);
    margin: 0 auto 14px;
    display: block;
}
.owner-caption {
    font-size: 11px;
    color: var(--text-mid);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}

/* ===================================
   Photo Gallery
   =================================== */
.photo-section { background-color: var(--bg-light); }

/* Gallery category header */
.gallery-cat-header {
    margin: 64px 0 22px;
}
.gallery-cat-title {
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--main-green);
    font-weight: 600;
    margin: 0;
    padding: 6px 0 6px 16px;
    border-left: 3px solid var(--accent-gold);
    line-height: 1.5;
}

/* Photo grid — 2 photos per category, centered */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
}

.photo-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 10px 32px rgba(43,76,63,0.13),
        0 2px 8px rgba(0,0,0,0.07);
    aspect-ratio: 4 / 3;
    background-color: #ccd9d4;
    transition: box-shadow 0.45s ease, transform 0.45s ease;
}
.photo-item:hover {
    box-shadow:
        0 18px 48px rgba(43,76,63,0.20),
        0 4px 16px rgba(0,0,0,0.10);
    transform: translateY(-4px);
}
.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s ease;
}
.photo-item:hover img {
    transform: scale(1.06);
}

/* ===================================
   Concept
   =================================== */

/* 各ブロック（コンセプト・代表ご挨拶） */
.concept-block {
    max-width: 800px;
    margin: 0 auto 80px;
}
.concept-block:last-of-type {
    margin-bottom: 64px;
}

/* 小見出し（左ボーダーアクセント） */
.block-label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 700;
    margin: 0 0 18px;
    padding: 4px 0 4px 14px;
    border-left: 3px solid var(--accent-gold);
    line-height: 1.4;
}

/* ブロック内の大見出し */
.block-title {
    font-size: clamp(20px, 3.5vw, 27px);
    color: var(--main-green);
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.65;
    margin: 0 0 32px;
}

/* 本文テキスト */
.body-text {
    font-size: 15.5px;
    color: var(--text-mid);
    line-height: 1.95;
    margin: 0 0 1.6em;
    text-align: left;
}
.body-text:last-child { margin-bottom: 0; }

/* 冒頭の一文（代表ご挨拶） */
.lead-text {
    font-size: 17px;
    color: var(--text-black);
    font-weight: 600;
    line-height: 1.7;
    margin-bottom: 1.8em;
}

/* 締めの文 */
.closing-text {
    border-top: 1px solid #e0e8e4;
    padding-top: 1.4em;
    margin-top: 0.4em;
}
.concept-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.pillar {
    text-align: center;
    padding: 30px 16px;
    border: 1px solid #e0e8e4;
    border-radius: var(--radius);
    background: var(--bg-white);
    transition: box-shadow 0.3s, transform 0.3s;
}
.pillar:hover { box-shadow: 0 8px 30px rgba(43,76,63,0.1); transform: translateY(-4px); }
.pillar-num {
    display: block;
    font-size: 28px;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-style: italic;
}
.pillar-label { font-size: 13px; color: var(--main-green); margin: 0; font-weight: 600; letter-spacing: 1px; }

/* ===================================
   Mission Section
   =================================== */
.mission-section {
    background-color: var(--main-green);
    padding: 90px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.mission-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(192,166,116,0.06) 0%, transparent 70%);
}
.mission-inner { position: relative; z-index: 1; }
.mission-en {
    font-size: clamp(22px, 4.5vw, 44px);
    color: var(--bg-white);
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
    margin: 0 0 20px;
}
.mission-en em { color: var(--accent-gold); font-style: normal; }
.mission-ja {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 3px;
    margin: 0;
}

/* ===================================
   Menu
   =================================== */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.menu-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.menu-card {
    background-color: var(--bg-white);
    padding: 36px 30px;
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
    border-top: 3px solid var(--main-green);
    position: relative;
    transition: box-shadow var(--transition), transform var(--transition);
}
.menu-card:hover { box-shadow: 0 12px 40px rgba(43,76,63,0.13); transform: translateY(-4px); }
.menu-badge {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.menu-badge.recommended {
    background-color: var(--accent-gold);
    color: var(--bg-white);
    border-color: var(--accent-gold);
}
.menu-name { font-size: 17px; margin: 0 0 4px; color: var(--main-green); font-weight: 600; }
.menu-duration {
    font-size: 48px;
    font-weight: 700;
    color: var(--main-green);
    line-height: 1;
    margin: 8px 0 16px;
}
.menu-duration span { font-size: 18px; font-weight: 400; margin-left: 2px; }
.menu-desc { font-size: 13px; color: var(--text-mid); margin-bottom: 20px; line-height: 1.7; }
.menu-price { font-size: 26px; font-weight: 700; margin: 0; color: var(--text-black); }
.menu-price span { font-size: 13px; font-weight: 400; color: var(--text-mid); }

/* ===================================
   Store Info
   =================================== */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid #E8EDE9; }
.info-table tr:last-child { border-bottom: none; }
.info-table th,
.info-table td { padding: 20px 16px; text-align: left; vertical-align: top; }
.info-table th {
    width: 28%;
    color: var(--main-green);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
}
.info-table td { font-size: 15px; }
.info-table small { font-size: 12px; color: var(--text-mid); }

/* ===================================
   CTA Bar（ヒーロー直下）
   =================================== */
.cta-bar {
    background-color: var(--bg-white);
    padding: 28px 24px;
    border-bottom: 1px solid #e8ede9;
}
.cta-bar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Infoセクション内ボタングループ */
.info-btn-group {
    margin-top: 44px;
}

/* ===================================
   Contact & Buttons
   =================================== */
.contact-text { text-align: center; margin-bottom: 36px; font-size: 15px; }
.btn-group { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 260px;
    padding: 16px 24px;
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    border: none;
}
.btn-line {
    background-color: #06C755;
    color: #FFFFFF;
    box-shadow:
        0 4px 16px rgba(6,199,85,0.35),
        0 2px 6px rgba(0,0,0,0.12);
}
.btn-line:hover {
    background-color: #05b34c;
    transform: translateY(-3px);
    box-shadow:
        0 8px 28px rgba(6,199,85,0.42),
        0 4px 10px rgba(0,0,0,0.14);
}
.btn-phone {
    background-color: var(--main-green);
    color: #FFFFFF;
    box-shadow:
        0 4px 16px rgba(43,76,63,0.32),
        0 2px 6px rgba(0,0,0,0.12);
}
.btn-phone:hover {
    background-color: var(--main-green-light);
    transform: translateY(-3px);
    box-shadow:
        0 8px 28px rgba(43,76,63,0.38),
        0 4px 10px rgba(0,0,0,0.14);
}
.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #FFFFFF;
    box-shadow:
        0 4px 16px rgba(188,24,136,0.30),
        0 2px 6px rgba(0,0,0,0.12);
}
.btn-instagram:hover {
    filter: brightness(1.08);
    transform: translateY(-3px);
    box-shadow:
        0 8px 28px rgba(188,24,136,0.38),
        0 4px 10px rgba(0,0,0,0.14);
}

/* ===================================
   固定予約バー（スマホ専用）
   =================================== */
#cta-fixed {
    display: none; /* デスクトップでは非表示 */
}
.cta-fixed-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 33.33%;
    padding: 16px 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: filter 0.2s ease;
}
.cta-fixed-btn:active { filter: brightness(0.9); }
.cta-fixed-line {
    background-color: #06C755;
    color: #FFFFFF;
}
.cta-fixed-phone {
    background-color: var(--main-green);
    color: #FFFFFF;
    border-left: 1px solid rgba(255,255,255,0.2);
}
.cta-fixed-instagram {
    background: linear-gradient(45deg, #e6683c 0%, #dc2743 50%, #bc1888 100%);
    color: #FFFFFF;
    border-left: 1px solid rgba(255,255,255,0.2);
}

/* ===================================
   Footer
   =================================== */
footer {
    background-color: #1a1a1a;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 36px 20px;
}
.footer-tagline {
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--accent-gold);
    font-style: italic;
    margin: 0 0 12px;
}
.footer-copy { font-size: 11px; margin: 0; }

/* ===================================
   Responsive — Tablet (≤ 768px)
   =================================== */
@media (max-width: 768px) {
    .section { padding: 72px 0; }

    /* 固定予約バーの高さ分だけ下に余白を追加 */
    body { padding-bottom: 56px; }

    /* 固定バー表示 */
    #cta-fixed {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 300;
        box-shadow: 0 -2px 16px rgba(0,0,0,0.18);
    }
    /* CTAバーはスマホでは折りたたんでよりコンパクトに */
    .cta-bar { padding: 20px 16px; }
    .btn { width: 100%; max-width: 320px; font-size: 13px; }

    /* Header nav — hide links, keep CTA */
    .header-nav { gap: 16px; }
    .header-nav a:not(.nav-cta) { display: none; }

    /* Hero */
    .catchcopy { letter-spacing: 3px; }

    /* Concept */
    .concept-block { margin-bottom: 56px; }
    .block-title { font-size: 20px; letter-spacing: 1px; }
    .body-text { font-size: 15px; }
    .lead-text { font-size: 16px; }

    /* Concept pillars */
    .concept-pillars { grid-template-columns: 1fr; gap: 14px; max-width: 360px; margin: 40px auto 0; }

    /* Photo gallery */
    .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 100%; }
    .photo-item { aspect-ratio: 4 / 3; }

    /* Mission */
    .sp-br { display: block; }

    /* Menu */
    .menu-grid,
    .menu-grid-3 { grid-template-columns: 1fr; }

    /* Info table */
    .info-table th { width: 36%; font-size: 12px; }
}

/* ===================================
   Responsive — Mobile (≤ 480px)
   =================================== */
@media (max-width: 480px) {
    .section { padding: 56px 0; }
    .container { padding: 0 18px; }
    body { padding-bottom: 60px; }

    /* 固定バーのフォントサイズ調整 */
    .cta-fixed-btn { font-size: 13px; padding: 15px 6px; gap: 6px; }

    /* Header */
    #header { padding: 14px 16px; }
    #header.scrolled { padding: 10px 16px; }
    .logo { font-size: 22px; letter-spacing: 5px; }
    .logo span { font-size: 11px; letter-spacing: 3px; }
    .header-nav a.nav-cta { padding: 7px 14px; font-size: 12px; }

    /* Hero */
    .hero-label { font-size: 10px; letter-spacing: 3px; }
    .sub-catch { font-size: 12px; letter-spacing: 1px; }

    /* Tagline band */
    .tagline-text { font-size: 11px; letter-spacing: 2px; }

    /* Concept */
    .concept-block { margin-bottom: 44px; }
    .block-title { font-size: 18px; }
    .body-text { font-size: 14.5px; line-height: 1.85; }
    .lead-text { font-size: 15.5px; }

    /* Owner photo */
    .owner-photo { width: 130px; height: 130px; }

    /* Photo gallery */
    .photo-grid { grid-template-columns: 1fr; gap: 14px; max-width: 100%; }
    .photo-item { aspect-ratio: 4 / 3; }

    /* Hero logo */
    .hero-logo-img { width: min(260px, 75vw); }
    .hero-logo-wrap { margin-bottom: 28px; }

    /* Section titles */
    .section-title { margin-bottom: 36px; }

    /* Menu card */
    .menu-card { padding: 28px 22px; }
    .menu-duration { font-size: 40px; }
    .menu-price { font-size: 22px; }

    /* Info table — stack layout */
    .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td {
        display: block;
        width: 100%;
    }
    .info-table tr { border-bottom: 1px solid #E8EDE9; padding: 16px 0; }
    .info-table tr:last-child { border-bottom: none; }
    .info-table th { padding: 0 16px 4px; font-size: 11px; color: var(--accent-gold); }
    .info-table td { padding: 0 16px; font-size: 14px; }

    /* Buttons */
    .btn { width: 100%; max-width: 100%; }
    .btn-group { flex-direction: column; align-items: stretch; }

    /* Mission */
    .mission-section { padding: 64px 20px; }
    .mission-en { letter-spacing: 0; }
}
