/* ============================================================
   izumo-hanafusa.css
   「お食事処 花房」LP専用スタイル
   元データ: index.html / style.css（静的版）を完全移植
   格納先: /wp-content/themes/cocoon-child-master/izumo-hanafusa/
   注意: このCSSは wlpc/ablp/lp-demo と同様に、
         izumo-hanafusa テンプレート適用ページでのみ読み込まれる
         想定です（functions.php 側で is_page_template 判定済み）。
   ============================================================ */

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette */
    --color-primary: #0f2c59;      /* 深海のようなネイビー */
    --color-secondary: #e76f51;    /* サザエ・夕日を想起させる温かいオレンジ */
    --color-accent: #3a86c8;       /* 澄み渡る日本海の青 */
    --color-text-dark: #2b2d42;    /* 読みやすいダークグレー */
    --color-text-light: #f8f9fa;   /* ライトグレー */
    --color-bg-light: #fdfbf7;     /* 和紙のような温かみのあるオフホワイト */
    --color-bg-gray: #f4f6f9;
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Inter', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.8;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Common Section Typography */
.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-secondary);
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-tag.tag-light {
    color: #ffd166;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.4;
    margin-bottom: 24px;
}

.section-title.text-light {
    color: var(--color-text-light);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin: -12px auto 48px auto;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.6rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.btn-primary {
    background-color: var(--color-secondary);
    color: white;
}

.btn-primary:hover {
    background-color: #d95d39;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(231, 111, 81, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: white;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(255, 255, 255, 0.2);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary);
}

.logo span {
    color: var(--color-secondary);
}

.nav {
    display: none; /* Mobile hidden */
}

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50px;
}

.btn-nav-cta:hover {
    background-color: var(--color-accent);
}

@media (min-width: 992px) {
    .nav {
        display: flex;
        gap: 28px;
    }
    .nav a {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--color-text-dark);
        position: relative;
    }
    .nav a::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--color-secondary);
        transition: var(--transition-smooth);
    }
    .nav a:hover::after {
        width: 100%;
    }
    .nav a:hover {
        color: var(--color-secondary);
    }
}

/* First View (Hero) */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding-top: 80px; /* Header spacing */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 44, 89, 0.8) 0%, rgba(15, 44, 89, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 850px;
    padding: 0 24px;
}

.hero-sub-tag {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #ffd166;
    display: block;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: 900;
    margin-bottom: 24px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: var(--color-secondary);
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% { top: -20px; }
    100% { top: 50px; }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-desc {
        font-size: 1.15rem;
    }
    .hero-actions {
        flex-direction: row;
        gap: 24px;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.about-text {
    font-size: 1.05rem;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.about-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background-color: var(--color-primary);
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.2;
}

.badge-txt {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 80px;
    }
}

/* Menu Section */
.menu {
    padding: 100px 0;
    background-color: var(--color-bg-gray);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}

.menu-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.menu-card-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.05);
}

.menu-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--color-primary);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    z-index: 10;
}

.menu-badge.badge-summer {
    background-color: #d81159;
}

.menu-badge.badge-fresh {
    background-color: #2a9d8f;
}

.menu-card-body {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.menu-item-desc {
    font-size: 0.95rem;
    color: #5c5c5c;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Location Promo Section */
.location-promo {
    position: relative;
    padding: 120px 0;
    background-image: url('https://zero.0ggkp0.com/wp-content/uploads/2026/07/hero_izumo-hanafusa.webp'); /* 背景として再度海の景色を使用（PHP側のインラインstyleで上書きされるため通常はフォールバック用） */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.location-promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 44, 89, 0.85); /* 青みのオーバーレイ */
    z-index: 1;
}

.location-promo-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.text-light-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
}

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.review-card {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-stars {
    color: #ffd166;
    margin-bottom: 20px;
}

.review-text {
    font-style: italic;
    color: #4a4a4a;
    font-size: 0.95rem;
    margin-bottom: 24px;
    position: relative;
}

.review-text::before {
    content: '“';
    font-size: 4rem;
    font-family: Georgia, serif;
    color: rgba(15, 44, 89, 0.08);
    position: absolute;
    top: -30px;
    left: -15px;
    line-height: 1;
}

.review-author {
    border-top: 1px solid #eee;
    padding-top: 16px;
}

.author-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
}

@media (min-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Info & Access Section */
.info {
    padding: 100px 0;
    background-color: var(--color-bg-gray);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: stretch;
}

.info-details {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th, .info-table td {
    padding: 16px 8px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.info-table th {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--color-primary);
    text-align: left;
    width: 120px;
}

.info-table td {
    color: #4a4a4a;
}

.info-table tr:last-child th, .info-table tr:last-child td {
    border-bottom: none;
}

.info-table td .note {
    font-size: 0.8rem;
    color: #e76f51;
}

.info-map-wrapper {
    display: flex;
    flex-direction: column;
}

.map-placeholder {
    flex-grow: 1;
    background-color: var(--color-primary);
    color: white;
    border-radius: 12px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background-image: linear-gradient(135deg, rgba(15, 44, 89, 0.9) 0%, rgba(15, 44, 89, 0.95) 100%);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 24px;
}

.map-guide {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 450px;
}

@media (min-width: 992px) {
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Call To Action (CTA Section) */
.cta {
    padding: 100px 24px;
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(231, 111, 81, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.4;
    margin-bottom: 16px;
    color: white;
}

.cta-desc {
    font-size: 1.05rem;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.85);
}

.btn-cta-phone {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-secondary);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    padding: 18px 40px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(231, 111, 81, 0.4);
    animation: pulse-button 2s infinite;
}

.btn-cta-phone i {
    margin-right: 12px;
}

.btn-cta-phone:hover {
    background-color: #d95d39;
    transform: scale(1.03);
}

@keyframes pulse-button {
    0% { box-shadow: 0 0 0 0 rgba(231, 111, 81, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(231, 111, 81, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 111, 81, 0); }
}

.cta-subtext {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.8rem;
    }
}

/* Footer */
.footer {
    background-color: #081830;
    color: rgba(255, 255, 255, 0.5);
    padding: 40px 0 100px 0; /* Bottom spacing for sticky CTA */
    font-size: 0.85rem;
}

.footer-logo {
    font-family: var(--font-serif);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Sticky CTA for Mobile */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
    z-index: 999;
    padding: 12px 16px;
    display: flex;
    justify-content: center;
}

.sticky-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    background-color: var(--color-secondary);
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(231, 111, 81, 0.3);
}

.sticky-cta-btn i {
    margin-right: 8px;
}

@media (min-width: 768px) {
    .sticky-cta {
        display: none; /* Hide on Desktop */
    }
    .footer {
        padding: 40px 0;
    }
}

/* ============================================================
   WordPress / Cocoon 共存対策
   （functions.php 側で Cocoon本体CSSを除去する運用のため、
   　通常はここから下は保険的なスタイルです）
   ============================================================ */

/* Cocoonのbox-sizing・list-styleなどのリセット漏れに備えた保険 */
.izuhana-lp, .izuhana-lp *, .izuhana-lp *::before, .izuhana-lp *::after {
    box-sizing: border-box;
}

.izuhana-lp ul, .izuhana-lp ol {
    list-style: none;
}

/* 管理画面ログイン時：WP管理バー分だけ固定ヘッダー・固定フッターの位置を下げる */
.admin-bar .header {
    top: 32px;
}

.admin-bar .sticky-cta {
    bottom: 0;
}

@media screen and (max-width: 782px) {
    .admin-bar .header {
        top: 46px;
    }
}

/* Cocoonの見出し・リンクの既定色がテーマ更新等で漏れ出した場合の保険 */
.izuhana-lp h1, .izuhana-lp h2, .izuhana-lp h3 {
    margin: 0;
}

.izuhana-lp a:hover {
    text-decoration: none;
}
