/* ============================================================
   sub.css — サブページ（history・contact・404・coming-soon・newyear-live-2026）の見た目
   仕様: docs/specs/gothic-redesign.md（第2区切り）。方向 A「大聖堂の夜」

   土台（色・書体・ナビとハンバーガー・節の見出し・ボタン・金縁の札・薔薇窓・足もと・動き）は
   css/gothic.css。このファイルは gothic.css の後に読み、サブページにだけ要るものを足す:
     サブページのナビ / ページの頭（薔薇窓の前の題） / パンくず /
     history の年表 / contact の案内・フォーム・よくある質問 / 404・準備中 / 新年会ライブの特設
   ページの中身（文・リンク先・画像・フォームの項目）は HTML のまま。ここは見た目だけ。

   ■ 決まり（gothic.css と同じ）
     - 何も動かなくても完成して見える。動きは @media (prefers-reduced-motion: no-preference) の中だけ
     - 続けて動く演出は transform / opacity だけ。押す・触れるときの色や影の変化は短い transition
     - 書体は日本語が端末の明朝、欧文の見出しが Grenze Gotisch、小さな欧文が Cormorant Garamond。
       名前「Rhyn」を大文字にしない（text-transform: uppercase を名前の入る要素に当てない）
   ============================================================ */

/* ---------- 地 ---------- */
:root {
    --nav-h: 60px;               /* ナビの高さ（gothic.css の .nav: 狭い画面 60px・広い画面 71px＝リンクの行の高さ 1.9 から決まる） */
}
html { scroll-padding-top: calc(var(--nav-h) + 16px); }   /* ページ内の移動で見出しがナビの下に潜らない */

/* 中身の短いページ（404・準備中）: 足もとを画面の下に置く */
.page-center {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
}
.page-center > main { flex: 1 0 auto; }

/* ---------- サブページのナビ（形は index と同じ。ヒーローが無いので、地を初めから付ける） ---------- */
.nav-sub { position: sticky; }            /* 流れの中に置く（JS が無く折り返しても本文を隠さない） */
.nav-sub::before { opacity: 1; }
html:not(.js) .nav-sub { position: relative; }
.nav-home { display: inline-flex; align-items: center; gap: 7px; }
.nav-home .i { width: 0.92em; height: 0.92em; }
.nav-links a.active { color: var(--gold-hi); }
.nav-links a.active::after { transform: scaleX(1); }

/* 広い画面の入り口（769〜1040px）: サブページのナビは7つのリンク＋言語の切り替えを1行に収める（2段に折れると本文の頭がずれる） */
@media (min-width: 769px) and (max-width: 1040px) {
    .nav-sub .nav-links a { padding-left: 7px; padding-right: 7px; letter-spacing: 0.05em; }
    .nav-sub .nav-links a::after { left: 7px; right: 7px; }
    .nav-sub .nav-mark { font-size: 1.8rem; }
}
@media (max-width: 768px) {
    /* 全画面のメニュー: 7つのリンクが低い画面に収まらないときも、上の「Home」が切れずにスクロールで届くように
       （justify-content: center のままだと、はみ出した上側へスクロールで戻れない） */
    html.js .nav-sub .nav-links { justify-content: flex-start; }
    html.js .nav-sub .nav-links::before { margin-top: auto; }
    html.js .nav-sub .nav-links a:last-child { margin-bottom: auto; }
    html.js .nav .nav-links a.nav-home { justify-content: center; }
    html.js .nav .nav-links a.active { color: var(--gold-hi); background: rgba(217, 173, 85, 0.07); }
}
@media (max-width: 768px) and (max-height: 700px) {
    html.js .nav-sub .nav-links { padding-top: 72px; padding-bottom: 24px; }
    html.js .nav-sub .nav-links::before { width: 60px; height: 60px; margin-bottom: 12px; }
    html.js .nav-sub .nav-links a { padding-top: 10px; padding-bottom: 10px; font-size: 1.16rem; }
}

/* ---------- ページの頭: 薔薇窓の前に題を置く（index のヒーローを小さくしたもの） ---------- */
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    /* ナビの下まで地を伸ばし、薔薇窓がナビのすりガラス越しに透けるように */
    margin-top: calc(var(--nav-h) * -1);
    padding: calc(var(--nav-h) + 14px) 0 32px;
    text-align: center;
    background:
        radial-gradient(110% 62% at 50% 0%, rgba(122, 46, 140, 0.36) 0%, rgba(29, 23, 51, 0.3) 52%, transparent 78%),
        var(--night);
}
/* ろうそくの光の下からのにじみ（止まった絵。動きは下の段2）。
   段の下の端に届く前に消えるようにして、次の段の夜へ継ぎ目なく（横の線を見せずに）つなぐ */
.page-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    height: 66%;
    background:
        radial-gradient(46% 48% at 50% 50%, rgba(255, 190, 110, 0.15), transparent 72%),
        radial-gradient(80% 44% at 50% 52%, rgba(176, 30, 58, 0.12), transparent 75%);
    pointer-events: none;
}
.page-emblem { --hero-rose: min(66vw, 290px); position: relative; padding: 10px 0 0; }   /* 2026-10-15 小さく（ユーザー「コンパクトにシンプルに」） */
/* 薔薇窓を包む枠。下半分を夜の床へ溶かす（段の下の端で切れた線を見せない）。
   枠は窓の 1.5 倍の大きさにして、外に張り出す光輪と飾り枠まで溶かす範囲に入れる */
.rose-fade {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    display: grid;
    place-items: center;
    width: calc(var(--hero-rose) * 1.5);
    height: calc(var(--hero-rose) * 1.5);
    margin: calc(var(--hero-rose) * -0.75) 0 0 calc(var(--hero-rose) * -0.75);
    pointer-events: none;
    -webkit-mask: linear-gradient(180deg, #000 44%, rgba(0, 0, 0, 0.4) 60%, transparent 74%);
            mask: linear-gradient(180deg, #000 44%, rgba(0, 0, 0, 0.4) 60%, transparent 74%);
}
.rose-fade .rose { --rose: var(--hero-rose); }
.page-emblem .rose { opacity: 0.62; }
.page-emblem .rose-glass { opacity: 0.46; }
.page-emblem .rose-shade { background: radial-gradient(circle at 50% 52%, rgba(12, 10, 20, 0.8) 0 34%, transparent 62%); }
.page-emblem .sec-eyebrow { position: relative; font-variant-numeric: lining-nums; }   /* 「2026」を大文字の並びに揃える */
.page-title {
    font-size: clamp(1.8rem, 7.4vw, 2.6rem);
    filter: drop-shadow(0 0 22px rgba(217, 173, 85, 0.3)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.75));
}
.page-hero .sec-rule { display: none; }   /* 題の下の飾りの線は出さない（英字の小見出しと題の2段で足りる） */
.page-subtitle {
    position: relative;
    margin: 10px 0 0;
    font-family: var(--f-latin);
    font-weight: 600;
    font-size: 1.02rem;
    line-height: 1.7;
    letter-spacing: 0.24em;
    text-indent: 0.24em;
    color: var(--gold-pale);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85);
    text-wrap: balance;
}
html:lang(en) .page-subtitle { letter-spacing: 0.1em; text-indent: 0.1em; }
/* お問い合わせの頭の案内（文なので、日本語の書体で詰めて） */
.page-subtitle.contact-lead { max-width: 30em; margin-left: auto; margin-right: auto; font-family: var(--f-jp); font-size: 0.95rem; letter-spacing: 0.06em; text-indent: 0; }

/* ---------- パンくず ---------- */
.breadcrumb {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 10px;
    margin: 0 0 6px;
    font-size: 0.84rem;
    line-height: 1.5;
    text-align: left;
    color: var(--dim);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
.breadcrumb a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 2px;
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: rgba(217, 173, 85, 0.45);
    text-underline-offset: 4px;
}
.breadcrumb a:hover { color: var(--gold-hi); }
.breadcrumb > span:first-of-type { color: var(--gold); opacity: 0.75; }
.breadcrumb > span:last-child { color: var(--muted); }

/* ---------- 節（サブページの中身の段） ---------- */
.sub-sec { position: relative; padding: 40px 0; }
.sub-sec + .sub-sec::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(620px, 86%);
    height: 1px;
    transform: translateX(-50%);
    background: var(--glass-band);
    opacity: 0.6;
}
/* 節の中の見出し（印＋金の文字） */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 30px;
    font-family: var(--f-gothic);
    font-weight: 700;
    font-size: clamp(1.32rem, 5.4vw, 1.75rem);
    line-height: 1.45;
    letter-spacing: 0.06em;
    text-align: center;
    color: var(--gold-hi);
}
.section-title > span {
    background: var(--gilt);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-title > .i { width: 1em; height: 1em; color: var(--gold); flex: none; }

/* 戻る・進むのボタンの置き場 */
.back-button-container { margin: 8px 0 0; padding: 12px 16px 72px; text-align: center; }

/* ============================================================
   history.html — 年表
   ============================================================ */
.history-section { max-width: 780px; margin: 0 auto; padding: 44px 16px 24px; }
.history-item {
    --jewel: var(--glass-red);
    --jewel-glow: rgba(176, 30, 58, 0.7);
    position: relative;
    padding: 0 0 52px 34px;
}
.history-item:nth-child(6n+2) { --jewel: var(--glass-blue); --jewel-glow: rgba(33, 80, 176, 0.75); }
.history-item:nth-child(6n+3) { --jewel: var(--glass-green); --jewel-glow: rgba(29, 122, 85, 0.75); }
.history-item:nth-child(6n+4) { --jewel: var(--glass-violet); --jewel-glow: rgba(122, 46, 140, 0.75); }
.history-item:nth-child(6n+5) { --jewel: #c4822c; --jewel-glow: rgba(217, 173, 85, 0.6); }
.history-item:last-child { --jewel: var(--gold-hi); --jewel-glow: rgba(255, 217, 138, 0.8); padding-bottom: 0; }
/* 年表の軸: 次の宝石まで伸びる金の線（最後の段には無い） */
.history-item::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 22px;
    bottom: -2px;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 217, 138, 0.75), rgba(217, 173, 85, 0.22));
}
.history-item:last-child::before { display: none; }
/* 宝石: 鉛の枠と金の縁のステンドグラスの菱形 */
.history-item::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 9px;
    width: 13px;
    height: 13px;
    transform: rotate(45deg);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.45), transparent 45%),
        var(--jewel);
    border: 1px solid var(--gold-hi);
    box-shadow: 0 0 0 3px var(--night), 0 0 0 4px rgba(217, 173, 85, 0.35), 0 0 16px var(--jewel-glow);
}
.history-period {
    margin: 0 0 14px;
    font-weight: 700;
    font-size: 1.14rem;
    line-height: 1.6;
    letter-spacing: 0.06em;
    color: var(--gold-hi);
    text-shadow: 0 0 18px rgba(217, 173, 85, 0.25);
    text-wrap: balance;
    word-break: auto-phrase;
}
html:lang(en) .history-period { font-family: var(--f-latin); font-size: 1.24rem; letter-spacing: 0.03em; }
.history-content { padding: 24px 18px 22px; }
.history-text {
    margin: 0 0 18px;
    font-size: 0.95rem;
    line-height: 2.05;
    color: var(--muted);
}
.history-text:last-child { margin-bottom: 0; }
.history-text strong { color: var(--gold-hi); font-weight: 700; }

/* 写真: 金箔の額 */
.history-figure { margin: 26px auto 22px; }
.history-figure img {
    display: block;
    width: 100%;
    height: auto;
    padding: 5px;
    background: linear-gradient(135deg, #8f6a26, #ffe6a3 38%, #d9ad55 62%, #8f6a26);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 30px rgba(217, 173, 85, 0.12);
}
.history-figure.is-portrait { max-width: 300px; }
.photo-caption {
    margin: 12px 0 0;
    font-size: 0.8rem;
    line-height: 1.7;
    letter-spacing: 0.04em;
    text-align: center;
    color: var(--dim);
}
html:lang(en) .photo-caption { font-family: var(--f-latin); font-size: 0.9rem; }

/* 作品の札（CD） */
.cd-showcase {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 8px 0 22px;
    padding: 14px;
    background:
        radial-gradient(90% 120% at 0% 50%, rgba(176, 30, 58, 0.2), transparent 70%),
        rgba(8, 7, 13, 0.6);
    border: 1px solid var(--line);
}
.cd-cover {
    flex: none;
    width: 104px;
    height: 104px;
    padding: 3px;
    background: linear-gradient(135deg, #8f6a26, #ffe6a3 40%, #d9ad55 60%, #8f6a26);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}
.cd-info { flex: 1; min-width: 0; }
.cd-title {
    margin-bottom: 2px;
    font-family: var(--f-gothic);
    font-weight: 700;
    font-size: 1.55rem;
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: var(--gold-hi);
    background: var(--gilt);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cd-band { font-size: 0.86rem; letter-spacing: 0.12em; color: var(--muted); }
/* 狭い画面では縦に積む（題が1語ずつ折れないように） */
@media (max-width: 480px) {
    .cd-showcase { flex-direction: column; gap: 14px; padding: 20px 14px 18px; text-align: center; }
    .cd-cover { width: 132px; height: 132px; }
    .cd-info { flex: none; }
}

/* 問い（年表の結び） */
.history-quote {
    margin: 30px 0;
    padding: 22px 6px;
    font-size: 1.08rem;
    line-height: 1.9;
    letter-spacing: 0.06em;
    text-align: center;
    color: var(--gold-pale);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-wrap: balance;
    word-break: auto-phrase;
}
.history-quote strong { font-weight: 700; color: var(--gold-pale); text-shadow: 0 0 20px rgba(255, 217, 138, 0.3); }

/* ============================================================
   contact.html
   ============================================================ */
.contact-intro {
    max-width: 780px;
    margin: 12px auto 0;
    padding: 34px 20px 30px;
    text-align: center;
}
.contact-intro .section-title { margin-bottom: 20px; }
.contact-intro-text { margin: 0; font-size: 0.97rem; line-height: 2.05; color: var(--muted); }

/* ご相談内容別のご案内 */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 1000px; margin: 0 auto; }
.contact-item {
    --accent: var(--glass-red);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 18px 24px;
    text-align: center;
    background:
        linear-gradient(90deg, transparent, var(--accent), transparent) top / 100% 2px no-repeat,
        linear-gradient(180deg, rgba(29, 23, 51, 0.82), rgba(12, 10, 20, 0.82));
}
.contact-item:nth-child(3n+2) { --accent: var(--glass-blue); }
.contact-item:nth-child(3n+3) { --accent: var(--glass-green); }
.contact-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    color: var(--gold-hi);
    border: 1px solid rgba(217, 173, 85, 0.45);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, rgba(255, 217, 138, 0.16), rgba(12, 10, 20, 0.2) 70%);
}
.contact-icon .i { width: 26px; height: 26px; }
.contact-title { margin: 0 0 8px; font-size: 1.12rem; line-height: 1.6; letter-spacing: 0.06em; color: var(--gold-pale); }
.contact-description { flex-grow: 1; margin: 0 0 20px; font-size: 0.88rem; line-height: 1.9; color: var(--muted); word-break: auto-phrase; }
.contact-button .i { width: 1.05em; height: 1.05em; }

/* フォーム */
.contact-form-container { max-width: 720px; margin: 0 auto; padding: 26px 16px 24px; }
.form-heading {
    margin: 0 0 26px;
    font-family: var(--f-gothic);
    font-weight: 700;
    font-size: clamp(1.4rem, 6vw, 1.85rem);
    line-height: 1.45;
    letter-spacing: 0.06em;
    text-align: center;
    color: var(--gold-hi);
    background: var(--gilt);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}
.form-group { margin-bottom: 16px; }
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.93rem;
    line-height: 1.6;
    letter-spacing: 0.05em;
    color: var(--gold-pale);
}
.form-label .required { margin-left: 4px; color: var(--rose-text); }
.form-input, .form-select, .form-textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 12px 14px;
    font-family: var(--f-jp);
    font-size: 1rem;              /* 16px 未満だと iPhone が入力の時に拡大してしまう */
    line-height: 1.6;
    color: var(--ivory);
    background: rgba(8, 7, 13, 0.72);
    border: 1px solid rgba(217, 173, 85, 0.4);
    border-radius: 2px;
    box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.45);
    -webkit-appearance: none;
            appearance: none;
}
.form-input:hover, .form-select:hover, .form-textarea:hover { border-color: rgba(255, 217, 138, 0.7); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--gold-hi);
    box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.45), 0 0 0 3px rgba(255, 217, 138, 0.2);
    outline: 2px solid var(--gold-hi);
    outline-offset: 2px;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--dim); opacity: 1; }
.form-select {
    padding-right: 44px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9ad55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 9 6.5 6.5L18.5 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
}
.form-select option { color: var(--ivory); background: var(--night-2); }
.form-textarea { min-height: 190px; resize: vertical; }
/* 端末の自動入力で白い地にならないように */
.form-input:-webkit-autofill, .form-textarea:-webkit-autofill {
    -webkit-text-fill-color: var(--ivory);
    caret-color: var(--ivory);
    box-shadow: 0 0 0 100px #16122a inset;
}
.char-count {
    margin: 6px 0 0;
    font-family: var(--f-latin);
    font-weight: 600;
    font-size: 0.86rem;
    line-height: 1.5;
    text-align: right;
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--dim);
}
.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 380px;
    min-height: 54px;
    margin: 30px auto 0;
    padding: 14px 28px;
    font-family: var(--f-jp);
    font-weight: 700;
    font-size: 1.04rem;
    line-height: 1.45;
    letter-spacing: 0.12em;
    color: var(--night);
    background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 58%, #b98a36 100%);
    border: 1px solid rgba(255, 230, 163, 0.9);
    border-radius: 2px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 24px rgba(255, 217, 138, 0.3);
    cursor: pointer;
}
/* 封筒の印（ボタンの文は送信の処理が書き換えるので、印は中の要素ではなく ::before で描く） */
.form-submit::before {
    content: '';
    flex: none;
    width: 1.15em;
    height: 1.15em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='1.5'/%3E%3Cpath d='m3.6 6.6 8.4 6.4 8.4-6.4'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='1.5'/%3E%3Cpath d='m3.6 6.6 8.4 6.4 8.4-6.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.form-submit:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 36px rgba(255, 217, 138, 0.55); }
.form-submit:disabled { cursor: not-allowed; opacity: 0.55; box-shadow: none; }
/* 送信の結果の知らせ。色は contact.html の送信の処理が style で付ける（成功は緑・失敗は赤の明るい地）。
   処理は変えずに、夜の地で読める色へ置き換える（style 属性に書かれた色で見分ける） */
#contact-status {
    margin-top: 16px;
    padding: 14px 16px;
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: center;
    border-radius: 2px !important;
}
#contact-status[style*="46, 125, 58"], #contact-status[style*="2e7d3a"] {
    color: #c4f0d4 !important;
    background: linear-gradient(180deg, rgba(29, 122, 85, 0.32), rgba(29, 122, 85, 0.16)) !important;
    border: 1px solid rgba(98, 205, 147, 0.6) !important;
}
#contact-status[style*="198, 40, 40"], #contact-status[style*="c62828"] {
    color: #ffc9d2 !important;
    background: linear-gradient(180deg, rgba(176, 30, 58, 0.34), rgba(176, 30, 58, 0.16)) !important;
    border: 1px solid rgba(240, 138, 156, 0.65) !important;
}
.form-note { margin: 20px 0 0; font-size: 0.84rem; line-height: 1.8; text-align: center; color: var(--dim); }

/* よくあるご質問 */
.faq-container { display: grid; gap: 12px; max-width: 780px; margin: 0 auto; }
.faq-item {
    background: linear-gradient(180deg, rgba(29, 23, 51, 0.8), rgba(12, 10, 20, 0.8));
    border: 1px solid var(--line);
}
.faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 60px;
    padding: 14px 16px;
    font-weight: 700;
    font-size: 0.97rem;
    line-height: 1.7;
    color: var(--gold-pale);
    cursor: pointer;
    -webkit-user-select: none;
            user-select: none;
}
/* 問いの頭の小さな菱形（飾り） */
.faq-question::before {
    content: '';
    flex: none;
    width: 7px;
    height: 7px;
    background: var(--gold);
    transform: rotate(45deg);
    box-shadow: 0 0 8px rgba(255, 217, 138, 0.5);
}
.faq-question > span { flex: 1; min-width: 0; }
.faq-question:hover { background: rgba(217, 173, 85, 0.07); }
.faq-question:focus-visible { outline-offset: -3px; }
.faq-icon { width: 20px; height: 20px; color: var(--gold); }
.faq-icon.active { transform: rotate(180deg); }
.faq-answer {
    display: none;
    padding: 0 18px 20px 37px;
    font-size: 0.92rem;
    line-height: 2;
    color: var(--muted);
}
.faq-answer.active { display: block; }
html:not(.js) .faq-answer { display: block; }       /* JS が無いときは答えを初めから出す */
html:not(.js) .faq-icon { display: none; }

/* 結び */
.closing-message {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 76px 20px 80px;
    text-align: center;
    background:
        radial-gradient(60% 55% at 50% 100%, rgba(255, 190, 110, 0.15), transparent 70%),
        var(--night);
}
.closing-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(620px, 86%);
    height: 1px;
    transform: translateX(-50%);
    background: var(--glass-band);
    opacity: 0.7;
}
.closing-message .rose { --rose: 140px; margin: 0 auto 28px; }
.closing-message .rose-glass { opacity: 0.72; }
.closing-text {
    margin: 0 0 14px;
    font-weight: 700;
    font-size: clamp(1rem, 4.3vw, 1.32rem);
    line-height: 1.9;
    letter-spacing: 0.1em;
    color: var(--muted);
    text-wrap: balance;
    word-break: auto-phrase;
}
.closing-text:first-of-type {
    color: var(--gold-hi);
    background: var(--gilt);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}
.closing-text:last-of-type { margin-bottom: 0; }

/* ============================================================
   404.html・coming-soon.html — 夜の薔薇窓の前の知らせ
   ============================================================ */
.error-main {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* ページの頭と同じく、ナビのすりガラスの下まで地を伸ばす */
    margin-top: calc(var(--nav-h) * -1);
    padding: calc(var(--nav-h) + 36px) 16px 64px;
    background:
        radial-gradient(90% 55% at 50% 0%, rgba(122, 46, 140, 0.32), transparent 72%),
        radial-gradient(70% 45% at 50% 100%, rgba(255, 190, 110, 0.14), transparent 72%),
        var(--night);
}
.error-container { position: relative; isolation: isolate; width: 100%; max-width: 600px; text-align: center; }
.error-emblem { --hero-rose: min(80vw, 380px); position: relative; padding: 40px 0 26px; }
.error-emblem .rose { opacity: 0.72; }
.error-emblem .rose-glass { opacity: 0.5; }
.error-code, .coming-soon-title {
    position: relative;
    margin: 0;
    font-family: var(--f-gothic);
    font-weight: 700;
    line-height: 1;
    color: var(--gold);
    background: linear-gradient(100deg, #b98a36 0%, #ffe6a3 42%, #fff4d2 50%, #d9ad55 58%, #8f6a26 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 26px rgba(217, 173, 85, 0.38)) drop-shadow(0 3px 2px rgba(0, 0, 0, 0.75));
}
.error-code { font-size: clamp(6rem, 34vw, 10rem); letter-spacing: 0.02em; }
.coming-soon-title { font-size: clamp(3rem, 15vw, 5.4rem); line-height: 1.1; letter-spacing: 0.01em; }
.error-title {
    margin: 22px 0 0;
    font-family: var(--f-latin);
    font-weight: 600;
    font-size: 1.12rem;
    line-height: 1.5;
    letter-spacing: 0.34em;
    text-indent: 0.34em;
    text-transform: uppercase;
    color: var(--gold);
}
.error-text, .coming-soon-text {
    margin: 22px auto 0;
    max-width: 30em;
    font-size: 1rem;
    line-height: 2.05;
    letter-spacing: 0.06em;
    color: var(--muted);
}
.coming-soon-text { margin-top: 26px; }
/* 中央に揃えた短い文は、語の切れ目で折る（「準備中／です。」のように語の途中で折らない） */
.error-text, .coming-soon-text, .contact-intro-text, .intro-text p, .online-lead { word-break: auto-phrase; }
.button-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.error-actions { margin-top: 34px; }

/* ============================================================
   newyear-live-2026.html — 終わった催しの特設ページ（中身はそのまま）
   ============================================================ */
.intro-text { position: relative; max-width: 680px; margin: 26px auto 0; padding: 0 4px; }
.intro-text p { margin: 0 0 14px; font-size: 0.97rem; line-height: 2.05; color: var(--muted); }
.intro-text p:last-child { margin-bottom: 0; }
.intro-text strong { font-size: 1.08rem; letter-spacing: 0.08em; color: var(--gold-pale); }

.ny-body { padding-top: 8px; padding-bottom: 72px; }
.flyer-container { max-width: 440px; margin: 0 auto 56px; }
.flyer-image {
    display: block;
    width: 100%;
    height: auto;
    padding: 6px;
    background: linear-gradient(135deg, #8f6a26, #ffe6a3 38%, #d9ad55 62%, #8f6a26);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.6), 0 0 44px rgba(217, 173, 85, 0.16);
}

.section-box { margin: 0 auto 44px; padding: 34px 18px 30px; }
.section-box.transparent { padding: 0; }
.section-box > .section-title { margin-bottom: 26px; }

/* 券 */
.ticket-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.ticket-card {
    --accent: var(--gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 18px 24px;
    text-align: center;
    background:
        linear-gradient(90deg, transparent, var(--accent), transparent) top / 100% 3px no-repeat,
        linear-gradient(180deg, rgba(29, 23, 51, 0.84), rgba(12, 10, 20, 0.84));
}
.ticket-card.is-online { --accent: var(--glass-red); }
.card-type {
    display: inline-block;
    margin-bottom: 12px;
    padding: 3px 14px;
    font-family: var(--f-latin);
    font-weight: 600;
    font-size: 0.86rem;
    line-height: 1.6;
    letter-spacing: 0.26em;
    text-indent: 0.26em;
    text-transform: uppercase;
    border-radius: 1px;
}
.real-type { color: var(--night); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); }
.online-type { color: var(--gold-pale); background: linear-gradient(180deg, #c93352, var(--glass-red)); }
.card-name { margin: 0 0 6px; font-size: 1.2rem; line-height: 1.6; letter-spacing: 0.06em; color: var(--gold-pale); }
.card-price {
    margin-bottom: 18px;
    font-family: var(--f-latin);
    font-weight: 600;
    font-size: 2.3rem;
    line-height: 1.3;
    letter-spacing: 0.02em;
    font-variant-numeric: lining-nums;
    color: var(--gold-hi);
    text-shadow: 0 0 20px rgba(255, 217, 138, 0.3);
}
.card-price span { font-family: var(--f-jp); font-size: 0.86rem; font-weight: 400; letter-spacing: 0.04em; color: var(--muted); text-shadow: none; }
.ticket-feature-list {
    align-self: stretch;
    margin: 0 0 24px;
    padding: 14px 0 0;
    list-style: none;
    text-align: left;
    border-top: 1px solid var(--line);
}
.ticket-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 4px;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--ivory);
    border-bottom: 1px dashed rgba(217, 173, 85, 0.16);
}
.ticket-feature-list li .i { width: 1.15em; height: 1.15em; }
.ticket-feature-list .primary { color: var(--gold); }
.ticket-feature-list .accent { color: var(--rose-text); }
.ticket-btn {
    width: 100%;
    margin-top: auto;
    padding-left: 12px;
    padding-right: 12px;
    letter-spacing: 0.06em;
    text-wrap: balance;
    word-break: auto-phrase;   /* 2行になるときも「購入す／る」のように1字だけ落とさない */
}
.archive-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    padding: 16px 16px;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--gold-pale);
    background:
        radial-gradient(80% 140% at 50% 0%, rgba(122, 46, 140, 0.24), transparent 70%),
        rgba(12, 10, 20, 0.7);
    border: 1px solid var(--line-strong);
}
.archive-note .i { width: 1.2em; height: 1.2em; margin-top: 0.3em; color: var(--gold-hi); }

/* 催しの詳しいこと */
.detail-list { margin: 0; padding: 0; list-style: none; }
.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(217, 173, 85, 0.18);
}
.detail-item:first-child { padding-top: 0; }
.detail-item:last-child { padding-bottom: 0; border-bottom: 0; }
.detail-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.3em;
    color: var(--gold);
}
.detail-label::before {
    content: '';
    flex: none;
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
}
.detail-content { font-size: 0.97rem; line-height: 1.95; color: var(--ivory); overflow-wrap: anywhere; }
.detail-content strong { color: var(--gold-hi); }
.detail-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    font-size: 0.92rem;
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: rgba(217, 173, 85, 0.5);
    text-underline-offset: 4px;
}
.detail-link:hover { color: var(--gold-hi); }

.highlight-box {
    margin-top: 26px;
    padding: 22px 18px 20px;
    background:
        radial-gradient(90% 120% at 50% 0%, rgba(176, 30, 58, 0.14), transparent 70%),
        rgba(8, 7, 13, 0.62);
    border: 1px solid var(--line-strong);
}
.highlight-box.is-spaced { margin-top: 30px; }
.highlight-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: var(--gold-hi);
}
.highlight-title .i { width: 1.2em; height: 1.2em; color: var(--gold); }
.highlight-text { margin: 0 0 16px; font-size: 0.93rem; line-height: 2; color: var(--muted); }
.highlight-text:last-child { margin-bottom: 0; }
.highlight-text strong { display: inline-block; margin-bottom: 2px; color: var(--gold-pale); letter-spacing: 0.04em; }
.caution-list { margin: 0; padding: 0; list-style: none; }
.caution-list li {
    position: relative;
    padding: 6px 0 6px 20px;
    font-size: 0.92rem;
    line-height: 1.9;
    color: var(--muted);
}
.caution-list li::before {
    content: '';
    position: absolute;
    left: 3px;
    top: calc(6px + 0.95em - 3px);
    width: 6px;
    height: 6px;
    background: var(--glass-red);
    border: 1px solid var(--rose-text);
    transform: rotate(45deg);
}
.online-lead { margin: 0 0 26px; font-size: 0.95rem; line-height: 2.05; color: var(--muted); }

/* 当日の流れ */
.timetable { width: 100%; margin-top: 8px; border-collapse: collapse; }
.timetable th, .timetable td { padding: 16px 6px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(217, 173, 85, 0.2); }
.timetable tr:first-child th, .timetable tr:first-child td { border-top: 1px solid rgba(217, 173, 85, 0.2); }
.timetable th {
    width: 64px;
    padding-left: 2px;
    font-family: var(--f-latin);
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.5;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums lining-nums;
    white-space: nowrap;
    color: var(--gold);
}
.timetable td { font-size: 0.95rem; line-height: 1.95; color: var(--ivory); }
.timetable td strong { color: var(--gold-pale); }
.tt-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 9px;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.06em;
    vertical-align: 0.1em;
    color: #fff4f4;
    border-radius: 1px;
}
.bg-cs { background: linear-gradient(180deg, #9a3fb0, var(--glass-violet)); }
.bg-yt { background: linear-gradient(180deg, #c93352, var(--glass-red)); }
.tt-desc { font-size: 0.88rem; line-height: 1.9; color: var(--muted); }
.tt-highlight { font-weight: 700; color: var(--gold-hi); }

/* ---------- 広い画面 ---------- */
@media (min-width: 769px) {
    :root { --nav-h: 71px; }
    .wrap, .wrap-narrow { padding: 0 32px; }
    .page-hero { padding: calc(var(--nav-h) + 16px) 0 44px; }   /* 2026-10-16 縦を詰める（本部の目安） */
    .page-emblem { --hero-rose: 400px; padding: 14px 0 0; }
    .page-subtitle { font-size: 1.14rem; }
    .breadcrumb { margin-bottom: 18px; }
    .sub-sec { padding: 64px 0; }

    .history-section { padding: 48px 32px 24px; }
    .history-item { padding: 0 0 44px 52px; }
    .history-item::before { left: 13px; }
    .history-item::after { left: 7px; }
    .history-period { font-size: 1.3rem; }
    .history-content { padding: 32px 36px 30px; }
    .history-text { font-size: 1rem; }
    html:lang(ja) .history-text:not(.history-quote) { text-align: justify; text-justify: inter-character; }   /* 英文は両端揃えにすると語の間が空きすぎるので、日本語だけ */
    .history-text.history-quote { font-size: 1.2rem; }
    .cd-showcase { gap: 24px; padding: 18px 22px; }
    .cd-cover { width: 120px; height: 120px; }
    .cd-title { font-size: 1.8rem; }

    .contact-intro { margin-top: 20px; padding: 46px 48px 42px; }
    .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .contact-item { padding: 34px 22px 28px; }
    .contact-form-container { padding: 34px 44px 30px; }
    .faq-question { padding: 16px 22px; font-size: 1.02rem; }
    .faq-answer { padding: 0 24px 22px 43px; font-size: 0.96rem; }
    .closing-message { padding: 96px 20px 100px; }
    .closing-message .rose { --rose: 160px; }

    .error-main { padding: calc(var(--nav-h) + 56px) 32px 88px; }
    .error-emblem { --hero-rose: 440px; }

    .ny-body { padding-bottom: 96px; }
    .flyer-container { max-width: 480px; margin-bottom: 72px; }
    .section-box { padding: 48px 48px 44px; margin-bottom: 56px; }
    .ticket-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .ticket-card { padding: 38px 28px 30px; }
    .detail-item { flex-direction: row; gap: 18px; }
    .detail-label { flex: none; width: 110px; padding-top: 0.3em; align-self: flex-start; }
    .detail-content { flex: 1; min-width: 0; }
    .highlight-box { padding: 26px 30px 24px; }
    .timetable th { width: 96px; padding-left: 8px; font-size: 1.32rem; }
    .timetable th, .timetable td { padding-top: 18px; padding-bottom: 18px; }
}
@media (max-width: 768px) {
    .button-group { flex-direction: column; align-items: center; }
    .button-group .btn, .error-actions .btn { width: min(100%, 300px); }
}

/* ---------- 動き（段2）: 動きを減らす設定でない端末だけ ---------- */
@media (prefers-reduced-motion: no-preference) {
    .page-hero::after { animation: sub-candle 5.6s ease-in-out infinite; transform-origin: 50% 100%; }
    .contact-item, .ticket-card { transition: transform 0.35s ease, box-shadow 0.35s ease; }
    .contact-item:hover, .ticket-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(217, 173, 85, 0.16); }
    .breadcrumb a, .detail-link { transition: color 0.25s ease; }
    .form-input, .form-select, .form-textarea { transition: border-color 0.25s ease, box-shadow 0.25s ease; }
    .form-submit { transition: box-shadow 0.3s ease, opacity 0.3s ease; }
    .faq-question { transition: background-color 0.25s ease; }
    .faq-icon { transition: transform 0.3s ease; }
}
/* 画面に見えていない飾りは止める（見えない所で電池を使わない。付け外しは各ページの小さな JS） */
.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after, .is-offscreen::after { animation-play-state: paused !important; }
@keyframes sub-candle {
    0%, 100% { opacity: 0.9; transform: scaleY(1); }
    22% { opacity: 1; transform: scaleY(1.04); }
    41% { opacity: 0.8; transform: scaleY(0.97); }
    63% { opacity: 1; transform: scaleY(1.02); }
    80% { opacity: 0.86; transform: scaleY(0.99); }
}

/* 経歴の文の中のリンク（「言葉と真理」へ） */
.history-text a { color: var(--gold-hi); text-decoration: underline; text-decoration-color: rgba(217, 173, 85, 0.5); text-underline-offset: 4px; }
.history-text a:hover { color: var(--gold-pale); }
