/* ==========================================================================
   シフォンちゃんメイドカフェ -Chérie- 公式サイト
   配色は公式ロゴ・ポスター(白 × ピンク × 水色 × ゴールドブラウン)に準拠
   ========================================================================== */

:root {
    /* 公式ロゴ・ポスター準拠のカラー */
    --color-pink-accent: #df5a99;
    --color-pink-accent-deep: #c2447f;
    --color-pink-soft: #fde3ec;
    --color-pink-pale: #fff6f9;
    --color-blue-accent: #7cc3e2;
    --color-blue-soft: #c3eaf7;
    --color-gold: #b9845a;
    --color-gold-light: #ecd3ac;
    --color-text: #4a2f22;
    --color-text-soft: #8a6a58;
    --color-white: #ffffff;
    --color-cream: #fffaf5;
    --color-border: rgba(223, 90, 153, 0.18);

    /* 旧トークン名(PHPテンプレート内でインライン指定している箇所があるため維持) */
    --color-bordeaux: var(--color-pink-accent);
    --color-bordeaux-deep: var(--color-text);
    --color-bordeaux-soft: var(--color-pink-accent-deep);
    --color-pink: var(--color-pink-soft);

    --font-en: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-ja-heading: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif;
    --font-ja-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;

    --radius-s: 8px;
    --radius-m: 16px;
    --radius-l: 28px;
    --shadow-card: 0 10px 28px rgba(84, 54, 42, 0.12);
    --shadow-soft: 0 4px 14px rgba(84, 54, 42, 0.08);
    --container-width: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-ja-body);
    color: var(--color-text);
    background: var(--color-pink-pale);
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--color-pink-accent);
    text-decoration: none;
}
a:hover { color: var(--color-pink-accent-deep); }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

h1, h2, h3, h4 { font-family: var(--font-ja-heading); color: var(--color-text); margin: 0 0 0.6em; line-height: 1.4; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- ヘッダー ---------- */
.site-header {
    background: var(--color-white);
    box-shadow: 0 2px 12px rgba(84, 54, 42, 0.08);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand {
    display: flex;
    align-items: center;
}
.brand__plaque {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
    margin: 0; padding: 0;
    flex-wrap: wrap;
}
.site-nav a {
    display: inline-block;
    padding: 10px 14px;
    color: var(--color-text);
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: var(--radius-s);
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.is-active {
    background: var(--color-pink-soft);
    color: var(--color-pink-accent-deep);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}
.nav-toggle__bar {
    width: 26px; height: 2px;
    background: var(--color-pink-accent);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ヒーロー ---------- */
.hero {
    position: relative;
    background-image: linear-gradient(135deg, rgba(255,246,249,0.93) 0%, rgba(253,227,236,0.90) 45%, rgba(195,234,247,0.86) 130%), url('../images/event-photo-1.webp');
    background-size: cover;
    background-position: center 28%;
    color: var(--color-text);
    padding: 72px 24px 96px;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 12% 15%, rgba(255,255,255,0.65), transparent 45%),
                       radial-gradient(circle at 88% 80%, rgba(255,255,255,0.45), transparent 50%);
    pointer-events: none;
}
.hero__inner {
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
}
.hero__badge {
    display: inline-block;
    font-family: var(--font-en);
    font-style: italic;
    letter-spacing: 0.08em;
    background: var(--color-white);
    color: var(--color-pink-accent);
    border: 1px solid var(--color-pink-soft);
    border-radius: 999px;
    padding: 6px 20px;
    font-size: 0.95rem;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
}
.hero__title {
    font-family: var(--font-en);
    font-style: italic;
    color: var(--color-pink-accent);
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    margin: 0 0 8px;
}
.hero__title-ja {
    font-family: var(--font-ja-heading);
    font-weight: 700;
    color: var(--color-text);
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin: 0 0 24px;
    letter-spacing: 0.04em;
}
.hero__tagline {
    font-size: clamp(1rem, 2.4vw, 1.3rem);
    color: var(--color-gold);
    margin: 0 0 28px;
    font-weight: 700;
}
.hero__lead {
    max-width: 700px;
    margin: 0 auto 32px;
    color: var(--color-text-soft);
    font-size: 0.98rem;
}
.hero__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes heroEnter {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero__badge, .hero__title, .hero__title-ja, .hero__tagline, .hero__lead, .hero__actions {
    animation: heroEnter 0.75s ease both;
}
.hero__badge { animation-delay: 0.05s; }
.hero__title { animation-delay: 0.15s; }
.hero__title-ja { animation-delay: 0.25s; }
.hero__tagline { animation-delay: 0.35s; }
.hero__lead { animation-delay: 0.45s; }
.hero__actions { animation-delay: 0.55s; }

/* ---------- ボタン ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-ja-heading);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: linear-gradient(135deg, var(--color-pink-accent) 0%, var(--color-pink-accent-deep) 100%);
    color: var(--color-white);
    box-shadow: 0 8px 20px rgba(223, 90, 153, 0.35);
}
.btn-primary:hover { color: var(--color-white); box-shadow: 0 10px 26px rgba(223, 90, 153, 0.45); }
.btn-outline {
    background: var(--color-white);
    border-color: var(--color-pink-accent);
    color: var(--color-pink-accent);
}
.btn-outline:hover { background: var(--color-pink-soft); color: var(--color-pink-accent-deep); }
.btn-small { padding: 8px 18px; font-size: 0.85rem; }

/* ---------- セクション共通 ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--color-white); }
.section--pink { background: var(--color-pink-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head__en {
    display: block;
    font-family: var(--font-en);
    font-style: italic;
    color: var(--color-gold);
    font-size: 1.15rem;
    margin-bottom: 6px;
}
.section-head__title { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.section-head__desc { color: var(--color-text-soft); font-size: 0.95rem; }

/* ---------- カード類(特徴) ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-m);
    padding: 28px 24px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}
.feature-card__icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-pink-soft);
    border-radius: 50%;
    color: var(--color-pink-accent-deep);
}
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--color-text-soft); margin: 0; }

/* ---------- ニュース・スケジュール プレビュー ---------- */
.list-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.list-row {
    display: flex;
    gap: 16px;
    align-items: baseline;
    padding: 18px 24px;
    border-bottom: 1px solid var(--color-border);
    flex-wrap: wrap;
    transition: background 0.2s ease;
}
.list-row:last-child { border-bottom: none; }
.list-row:hover { background: var(--color-pink-pale); }
.list-row__date {
    font-family: var(--font-en);
    font-style: italic;
    color: var(--color-gold);
    font-weight: 600;
    min-width: 7em;
}
.list-row__title { flex: 1; min-width: 200px; color: var(--color-text); font-weight: 500; }
.list-row__title a { color: var(--color-text); }
.list-row__title a:hover { color: var(--color-pink-accent); }
.badge {
    display: inline-block;
    font-size: 0.72rem;
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--color-pink-soft);
    color: var(--color-pink-accent-deep);
    font-weight: 700;
}
.badge--gold { background: var(--color-gold-light); color: var(--color-text); }
.badge--muted { background: #eee; color: #888; }

.section-more { text-align: center; margin-top: 28px; }

/* ---------- キャスト ---------- */
.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 28px;
}
.cast-card {
    background: var(--color-white);
    border-radius: var(--radius-m);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cast-card:hover { transform: translateY(-6px); }
.cast-card__photo {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--color-pink-soft);
}
.cast-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cast-card:hover .cast-card__photo img { transform: scale(1.08); }
.cast-card__body { padding: 16px 14px 20px; }
.cast-card__title {
    display: inline-block;
    margin-bottom: 6px;
}
.cast-card__name {
    font-family: var(--font-ja-heading);
    font-weight: 700;
    color: var(--color-pink-accent-deep);
    margin: 0 0 6px;
    font-size: 1.05rem;
}
.cast-card__comment {
    font-size: 0.85rem;
    color: var(--color-text-soft);
    margin: 0;
}
.cast-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 56px 0 28px;
}
.cast-section-title:first-child { margin-top: 0; }
.cast-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

/* ---------- ギャラリー ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.gallery-item {
    display: block;
    border-radius: var(--radius-s);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--color-pink-soft);
    box-shadow: var(--shadow-soft);
    cursor: zoom-in;
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.lightbox {
    position: fixed; inset: 0;
    background: rgba(40, 24, 20, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
    max-width: 92vw;
    max-height: 86vh;
    border-radius: var(--radius-s);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox__close {
    position: absolute;
    top: 20px; right: 24px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* ---------- 営業日 ---------- */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: var(--radius-m);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.schedule-table th, .schedule-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}
.schedule-table th {
    background: var(--color-pink-soft);
    color: var(--color-pink-accent-deep);
    font-family: var(--font-ja-heading);
    font-weight: 700;
}
.schedule-table tr:last-child td { border-bottom: none; }

.info-box {
    background: var(--color-pink-soft);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-pink-accent);
    border-radius: var(--radius-s);
    padding: 20px 22px;
    font-size: 0.92rem;
    color: var(--color-text-soft);
    margin: 24px 0;
}
.info-box strong { color: var(--color-pink-accent-deep); }

.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--color-text-soft);
    background: var(--color-white);
    border-radius: var(--radius-m);
    border: 1px dashed var(--color-border);
}

/* ---------- SNSページ ---------- */
.sns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.sns-card {
    background: var(--color-white);
    border-radius: var(--radius-m);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    padding: 32px 26px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sns-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.sns-card__icon { margin-bottom: 12px; color: var(--color-pink-accent); display: flex; justify-content: center; transition: transform 0.25s ease; }
.sns-card__icon svg { width: 38px; height: 38px; }
.sns-card:hover .sns-card__icon { transform: scale(1.12) rotate(-4deg); }
.sns-card h3 { margin-bottom: 6px; }
.sns-card p { color: var(--color-text-soft); font-size: 0.9rem; margin-bottom: 18px; }

/* ---------- 記事詳細 ---------- */
.article {
    background: var(--color-white);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-soft);
    padding: 40px;
}
.article__meta { color: var(--color-text-soft); font-size: 0.85rem; margin-bottom: 8px; }
.article__title { font-size: 1.5rem; }
.article__body { white-space: pre-wrap; font-size: 0.98rem; }
.back-link { display: inline-block; margin-bottom: 20px; font-size: 0.9rem; }

/* ---------- ページヘッダー(下層ページ用) ---------- */
.page-head {
    background-image: linear-gradient(135deg, rgba(253,227,236,0.93) 0%, rgba(195,234,247,0.90) 100%), url('../images/event-photo-2.webp');
    background-size: cover;
    background-position: center 35%;
    color: var(--color-text);
    padding: 56px 24px;
    text-align: center;
}
.page-head__en {
    font-family: var(--font-en);
    font-style: italic;
    color: var(--color-gold);
    font-size: 1rem;
    display: block;
    margin-bottom: 4px;
}
.page-head h1 { color: var(--color-text); font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: 8px; }
.page-head p { color: var(--color-text-soft); font-size: 0.92rem; max-width: 560px; margin: 0 auto; }

/* ---------- フッター ---------- */
.site-footer {
    background: linear-gradient(120deg, var(--color-pink-soft) 0%, var(--color-blue-soft) 100%);
    color: var(--color-text);
    margin-top: auto;
}
.site-footer__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 56px 24px 32px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 32px;
}
.site-footer__mark { width: 180px; max-width: 100%; margin-bottom: 14px; }
.site-footer__tagline { font-size: 0.85rem; color: var(--color-gold); font-weight: 700; margin: 0; }
.site-footer__heading { font-family: var(--font-ja-heading); color: var(--color-pink-accent-deep); font-size: 0.85rem; margin: 0 0 12px; letter-spacing: 0.05em; }
.site-footer__links ul, .site-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.site-footer__links li, .site-footer__nav li { margin-bottom: 8px; }
.site-footer__links a, .site-footer__nav a { color: var(--color-text); font-size: 0.88rem; }
.site-footer__links a:hover, .site-footer__nav a:hover { color: var(--color-pink-accent); }
.site-footer__bottom {
    border-top: 1px solid rgba(84, 54, 42, 0.12);
    text-align: center;
    padding: 18px 24px 28px;
    font-size: 0.78rem;
    color: var(--color-text-soft);
}
.site-footer__bottom p { margin: 4px 0; }

.page-frame { display: flex; flex-direction: column; min-height: 100vh; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 860px) {
    .site-footer__inner { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-soft);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .site-nav.is-open { max-height: 480px; }
    .site-nav ul { flex-direction: column; padding: 8px 20px 16px; gap: 2px; }
    .site-header { position: relative; }
    .site-header__inner { position: relative; }
    .hero { padding: 56px 20px 72px; }
    .section { padding: 52px 0; }
    .site-footer__inner { grid-template-columns: 1fr; text-align: center; }
    .cast-section-title { justify-content: center; }
}

/* ---------- スクロールアニメーション ---------- */
.reveal-init {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-init.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-init,
    .hero__badge, .hero__title, .hero__title-ja, .hero__tagline, .hero__lead, .hero__actions,
    .feature-card, .cast-card, .cast-card__photo img, .sns-card, .sns-card__icon,
    .nav-toggle__bar, .list-row, .gallery-item img, .btn {
        animation: none !important;
        transition: none !important;
    }
    .reveal-init { opacity: 1 !important; transform: none !important; }
}
