/* =========================================================
   辰栄堂 心斎橋店 — style.css
   「THE EN ISSUE — 月刊『縁』心斎橋特集号」
   京都の僧侶が主宰する運命の専門誌、という見立ての
   エディトリアルデザイン。紙白 × 墨 × 辰砂朱。
   - ファーストビューはCSSのみのアニメーション（JS不要）
   - transform / opacity / clip-path 中心の軽量実装
   - prefers-reduced-motion 配慮（基本状態＝完成形で設計）
========================================================= */

/* --- デザイン変数 ---
   女性向けの温かい配色: ブラッシュアイボリー × 深いプラム × 薔薇紅 × ピンクゴールド */
:root {
    --paper: #FBF5F1;        /* 紙白（血色感のあるブラッシュアイボリー） */
    --paper-2: #F5E9E4;      /* 淡い薔薇鼠（第二の紙） */
    --ink: #453540;          /* 深いプラム（黒の代わりの墨色） */
    --ink-soft: rgba(69, 53, 64, 0.66);
    --shu: #B4506A;          /* 薔薇紅（面積10%以下厳守のアクセント） */
    --brass: #C49A83;        /* ピンクゴールド（罫線・番号・脇役メタル） */
    --hair: rgba(69, 53, 64, 0.22);          /* ヘアライン罫 */
    --hair-soft: rgba(69, 53, 64, 0.12);
    --paper-on-ink: #F8EFEC; /* プラム面の上の紙色文字 */
    --hair-on-ink: rgba(248, 239, 236, 0.24);
    --bg-tarot: url('../../../images/back1.jpg');
    --bg-person: url('../../../images/back2.jpg');
    --bg-quiet-person: url('../../../images/n_back3.jpg');
    --font-serif: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    --font-sans: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    --font-display: 'Italiana', 'Didot', 'Bodoni MT', serif;
}

/* --- Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    background-color: var(--paper);
    background-image:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.68) 0 8%, transparent 32%),
        radial-gradient(circle at 84% 22%, rgba(196, 154, 131, 0.13) 0 9%, transparent 34%),
        radial-gradient(circle at 36% 82%, rgba(180, 80, 106, 0.055) 0 10%, transparent 38%),
        linear-gradient(115deg, rgba(255, 255, 255, 0.22), rgba(196, 154, 131, 0.08) 48%, rgba(255, 255, 255, 0.18));
    color: var(--ink);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.06em;
    padding-bottom: 96px; /* 固定予約バー用余白 */
    overflow-x: hidden;
}

/* 和紙の繊維・紙ムラ */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 990;
    pointer-events: none;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.58 0.16' numOctaves='4' seed='12' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0.55 0 0 0 0.28 0 0.48 0 0 0.22 0 0 0.38 0 0.18 0 0 0 0.56 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.62'/%3E%3C/svg%3E"),
        repeating-linear-gradient(2deg, rgba(69, 53, 64, 0.035) 0 1px, transparent 1px 13px),
        repeating-linear-gradient(92deg, rgba(196, 154, 131, 0.06) 0 1px, transparent 1px 18px);
    opacity: 0.12;
    mix-blend-mode: multiply;
}

/* 誌面の裁ち落とし（全画面の額装フレーム） */
.page-frame {
    position: fixed;
    inset: 14px;
    z-index: 991;
    pointer-events: none;
    border: 1px solid var(--hair);
}

a { text-decoration: none; color: inherit; transition: opacity 0.3s ease, color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 600; }

::selection { background: var(--ink); color: var(--brass); }
:focus-visible { outline: 2px solid var(--shu); outline-offset: 3px; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 clamp(1.4rem, 4vw, 2.5rem); }
.section-padding { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

br.sp-only { display: none; }
@media (max-width: 767px) {
    br.sp-only { display: inline; }
}

/* 誌面の紙替わり */
.sec--paper {
    background-color: var(--paper);
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(196, 154, 131, 0.07), rgba(255, 255, 255, 0.14)),
        repeating-linear-gradient(0deg, rgba(69, 53, 64, 0.018) 0 1px, transparent 1px 12px);
}
.sec--paper2 {
    background-color: var(--paper-2);
    background-image:
        linear-gradient(110deg, rgba(255, 255, 255, 0.2), rgba(180, 80, 106, 0.035), rgba(196, 154, 131, 0.08)),
        repeating-linear-gradient(0deg, rgba(69, 53, 64, 0.016) 0 1px, transparent 1px 14px);
}
.sec--ink { background: var(--ink); color: var(--paper-on-ink); }

/* 梅田トップで使用しているタロット・人物写真を薄く重ねる透かし背景 */
.photo-bg {
    --section-photo: var(--bg-tarot);
    --section-photo-position: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.photo-bg > .container {
    position: relative;
    z-index: 1;
}
.photo-bg::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(251, 245, 241, 0.72), rgba(251, 245, 241, 0.52), rgba(251, 245, 241, 0.76)),
        var(--section-photo);
    background-size: cover;
    background-position: var(--section-photo-position);
    opacity: 0.34;
    filter: grayscale(0.72) sepia(0.14) saturate(0.8) contrast(0.96);
    mix-blend-mode: multiply;
    pointer-events: none;
}
.photo-bg--left::before {
    transform: none;
}
.photo-bg--person {
    --section-photo: var(--bg-person);
    --section-photo-position: center right;
}
.photo-bg--quiet-person {
    --section-photo: var(--bg-quiet-person);
    --section-photo-position: center;
}
.photo-bg--soft::before { opacity: 0.28; }
.photo-bg--menu::before {
    opacity: 0.32;
}
.photo-bg--ink::before {
    opacity: 0.28;
    mix-blend-mode: screen;
    filter: grayscale(0.88) sepia(0.08) saturate(0.55) contrast(0.92) brightness(1.08);
    background-image:
        linear-gradient(90deg, rgba(69, 53, 64, 0.88), rgba(69, 53, 64, 0.58), rgba(69, 53, 64, 0.9)),
        var(--section-photo);
}

/* テキストリンクの朱下線（左から引かれる） */
.text-link,
.more-link a,
.price-note a {
    background-image: linear-gradient(var(--shu), var(--shu));
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0% 1px;
    transition: background-size 0.35s ease, color 0.35s ease;
    padding-bottom: 2px;
}
.text-link:hover,
.more-link a:hover,
.price-note a:hover { background-size: 100% 1px; color: var(--shu); }

/* skip link（a11y） */
.skip-link {
    position: absolute;
    top: -48px; left: 14px;
    z-index: 1200;
    background: var(--ink);
    color: var(--paper);
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
}
.skip-link:focus { top: 14px; }

/* =========================================================
   Header（マストヘッド）
========================================================= */
#header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.15rem clamp(1.6rem, 4vw, 3rem) 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
#header.scrolled {
    background: rgba(251, 245, 241, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 0 var(--hair);
}
@media (min-width: 960px) {
    #header {
        padding-top: clamp(1.55rem, 2.1vw, 1.9rem);
        padding-bottom: 1rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    line-height: 1;
}
.logo__mark {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo__jp {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}
.logo__en {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    color: var(--shu);
    letter-spacing: 0.2em;
    margin-top: 5px;
    text-transform: uppercase;
}
.logo__branch {
    border-left: 1px solid var(--hair);
    padding-left: 0.72rem;
    font-family: var(--font-sans);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    color: var(--ink-soft);
    white-space: nowrap;
}

nav.desktop-nav { display: none; }
@media (min-width: 960px) {
    nav.desktop-nav { display: block; }
    nav.desktop-nav ul { display: flex; gap: 1.9rem; list-style: none; align-items: center; }
    nav.desktop-nav li { font-size: 0.82rem; font-family: var(--font-serif); letter-spacing: 0.1em; }
    nav.desktop-nav a:not(.nav-reserve-btn) {
        background-image: linear-gradient(var(--shu), var(--shu));
        background-repeat: no-repeat;
        background-position: left calc(100% - 0px);
        background-size: 0% 1px;
        padding-bottom: 4px;
        transition: background-size 0.3s ease, color 0.3s ease;
    }
    nav.desktop-nav a:not(.nav-reserve-btn):hover { background-size: 100% 1px; color: var(--shu); }
}

/* ナビ予約ボタン（朱の活版スタンプ。hoverで印が裏返る） */
.nav-reserve-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    background: var(--shu);
    color: var(--paper);
    border: 1px solid var(--shu);
    border-radius: 2px;
    padding: 0.42rem 1.15rem;
    line-height: 1.2;
    box-shadow: inset 0 0 0 0 var(--paper);
    transition: box-shadow 0.35s ease, color 0.35s ease;
    white-space: nowrap;
}
.nav-reserve-btn__sub { font-size: 0.55rem; font-family: var(--font-sans); letter-spacing: 0.06em; opacity: 0.9; }
.nav-reserve-btn__main { font-size: 0.88rem; letter-spacing: 0.2em; }
.nav-reserve-btn:hover { box-shadow: inset 0 -3.4em 0 0 var(--paper); color: var(--shu); }
.nav-reserve-btn:active { transform: translateY(1px); }

/* =========================================================
   Hamburger / Mobile nav
========================================================= */
.hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 2px;
    background: var(--paper);
    border: 1px solid var(--hair);
    cursor: pointer;
    transition: border-color 0.3s ease;
}
.hamburger:hover { border-color: var(--ink); }
.hamburger-lines { width: 18px; height: 11px; display: grid; gap: 4px; }
.hamburger-lines span {
    display: block; width: 100%; height: 1px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger[aria-expanded="true"] .hamburger-lines span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger-lines span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger-lines span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (min-width: 960px) {
    .hamburger { display: none; }
}

.mobile-nav { position: fixed; inset: 0; z-index: 1100; pointer-events: none; }
.mobile-nav__overlay {
    position: absolute; inset: 0;
    background: rgba(69, 53, 64, 0.5);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.mobile-nav__panel {
    position: absolute; top: 0; right: 0;
    width: min(84vw, 340px); height: 100%;
    background: var(--paper);
    border-left: 1px solid var(--hair);
    padding: 1.6rem 1.7rem 2.4rem;
    transform: translateX(102%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
}
.mobile-nav.is-open { pointer-events: auto; }
.mobile-nav.is-open .mobile-nav__overlay { opacity: 1; }
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }

.mobile-nav__top {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--hair);
    margin-bottom: 0.4rem;
}
.mobile-nav__brand {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    display: flex; flex-direction: column;
}
.mobile-nav__brand small { font-size: 0.72em; color: var(--shu); }
.mobile-nav__brand span { font-size: 0.52rem; font-family: var(--font-display); color: var(--brass); letter-spacing: 0.28em; margin-top: 4px; }
.mobile-nav__close {
    width: 40px; height: 40px;
    border-radius: 2px;
    border: 1px solid var(--hair);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.mobile-nav__list { list-style: none; }
.mobile-nav__list li { border-bottom: 1px solid var(--hair-soft); }
.mobile-nav__list a {
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
    padding: 0.95rem 0.2rem;
    font-family: var(--font-serif);
    font-size: 0.96rem;
    letter-spacing: 0.12em;
}
.mobile-nav__list a i {
    font-family: var(--font-display);
    font-style: normal;
    font-size: 0.72rem;
    color: var(--brass);
    letter-spacing: 0.1em;
    min-width: 1.6em;
}
.mobile-nav__sub {
    margin-top: 2rem;
    padding-top: 1.3rem;
    border-top: 1px solid var(--hair);
    display: grid;
    gap: 0.7rem;
}
.mobile-nav__sub a { font-size: 0.76rem; color: var(--ink-soft); }

/* =========================================================
   Hero＝表紙（CSSのみのアニメーション）
   ※基本状態＝完成形。keyframesは from のみ定義し、
     reduced-motion では即完成形になる設計
========================================================= */
.hero {
    position: relative;
    min-height: 100svh;
    background: var(--paper);
    overflow: hidden;
}

/* マストヘッド（表紙最上段） */
.hero-masthead {
    position: absolute;
    top: calc(14px + 1px);
    left: 0; right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 4rem clamp(1.8rem, 5vw, 3.4rem) 0.7rem;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    color: var(--ink-soft);
    white-space: nowrap;
}
.hero-masthead__rule { flex: 1; border-top: 1px solid var(--hair); }
.hero-masthead span:last-child { font-family: var(--font-display); letter-spacing: 0.3em; }

/* 超巨大アウトライン欧文（背景・断ち落とし） */
.hero-bgword {
    position: absolute;
    z-index: 1;
    left: -3vw;
    bottom: 17vh;
    font-family: var(--font-display);
    font-size: clamp(6rem, 20vw, 19rem);
    line-height: 1;
    letter-spacing: 0.12em;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(196, 154, 131, 0.5);
    opacity: 0.3;
    transform: rotate(-3deg);
    pointer-events: none;
    animation: bgwordIn 1.6s ease 0.15s both;
}
/* to は基本状態を使う（モバイルの opacity 上書きを効かせるため） */
@keyframes bgwordIn {
    from { opacity: 0; letter-spacing: 0.4em; }
}

/* 円窓（表紙写真・縦長楕円＋朱の暦環） */
.hero-window {
    position: absolute;
    z-index: 2;
    top: 49%;
    right: clamp(4vw, 12vw, 200px);
    transform: translateY(-52%);
    width: clamp(230px, 30vw, 380px);
    aspect-ratio: 3 / 4.1;
}
.hero-window__oval {
    display: block;
    width: 100%; height: 100%;
    border-radius: 50%;
    overflow: hidden;
    clip-path: inset(0 round 999px);
    animation: windowOpen 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}
@keyframes windowOpen {
    from { clip-path: inset(0 46% round 999px); }
}
.hero-window__oval img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 50% 28%;
    filter: none;
    transform: scale(1);
    animation: photoSettle 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}
@keyframes photoSettle {
    from { transform: scale(1.08); }
}
.hero-window__ring {
    position: absolute;
    inset: -16px;
    border: 1px dashed rgba(180, 80, 106, 0.55);
    border-radius: 50%;
    animation: ringSpin 90s linear infinite;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
.hero-window__caption {
    position: absolute;
    left: 50%;
    bottom: -2.4rem;
    transform: translateX(-50%);
    font-size: 0.62rem;
    letter-spacing: 0.24em;
    color: var(--ink-soft);
    white-space: nowrap;
    padding-top: 0.5rem;
    border-top: 1px solid var(--hair);
    animation: riseIn 1s ease 1.7s both;
}

/* 表紙タイトル（縦書きh1） */
.hero-cover {
    position: absolute;
    z-index: 3;
    top: 14vh;
    left: clamp(2rem, 45vw, 44rem);
    height: min(66vh, 620px);
}
.hero-title {
    writing-mode: vertical-rl;
    text-orientation: upright;
    height: 100%;
}
.hero-title__pre {
    display: block;
    font-size: clamp(0.85rem, 1.6vw, 1.05rem);
    font-weight: 500;
    letter-spacing: 0.42em;
    color: var(--ink-soft);
    padding-top: 0.4em;
    margin-left: clamp(0.9rem, 1.8vw, 1.6rem);
    animation: riseIn 1s ease 1.35s both;
}
.hero-title__main {
    display: block;
    font-size: clamp(4.2rem, 10.5vmin, 7.4rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.16em;
}
.hero-title__main i {
    display: inline-block;
    font-style: normal;
    animation: charIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-title__main i:nth-child(1) { animation-delay: 0.7s; }
.hero-title__main i:nth-child(2) { animation-delay: 0.86s; }
.hero-title__main i:nth-child(3) { animation-delay: 1.02s; }
@keyframes charIn {
    from { opacity: 0; transform: translateY(0.3em); filter: blur(5px); }
    to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* 落款「縁」＝押印 */
.hero-rakkan,
.backcover-rakkan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1em;
    height: 2.1em;
    background: var(--shu);
    color: var(--paper);
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 2px;
    box-shadow: 0 1px 0 rgba(69, 53, 64, 0.25);
}
.hero-rakkan {
    position: absolute;
    left: 0.2em;
    top: calc(100% + 1.1rem);
    transform: rotate(-3deg);
    animation: stampIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 1.9s both;
}
@keyframes stampIn {
    from { opacity: 0; transform: scale(1.7) rotate(4deg); }
    to   { opacity: 1; transform: scale(1) rotate(-3deg); }
}

/* カバーライン（表紙左下の特集見出し） */
.hero-coverline {
    position: absolute;
    z-index: 3;
    left: clamp(1.8rem, 6vw, 5.5rem);
    bottom: calc(11vh + 3.4rem);
    max-width: min(36vw, 430px);
}
.hero-coverline__issue {
    font-family: var(--font-display);
    font-size: 0.66rem;
    letter-spacing: 0.34em;
    color: var(--brass);
    margin-bottom: 0.9rem;
    animation: riseIn 1s ease 2s both;
}
.hero-coverline__main {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2.6vw, 1.6rem);
    font-weight: 600;
    line-height: 2;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    animation: riseIn 1s ease 2.15s both;
}
.hero-coverline__main em {
    font-style: normal;
    text-decoration: underline;
    text-decoration-color: rgba(180, 80, 106, 0.6);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.32em;
    animation: underlineIn 1.2s ease 2.5s both;
}
@keyframes underlineIn {
    from { text-decoration-color: rgba(180, 80, 106, 0); }
    to   { text-decoration-color: rgba(180, 80, 106, 0.6); }
}
.hero-coverline__sub {
    font-size: 0.8rem;
    line-height: 2.1;
    color: var(--ink-soft);
    margin-bottom: 1.6rem;
    animation: riseIn 1s ease 2.4s both;
}
.hero-coverline .ticket-btn { animation: riseIn 1s ease 2.7s both; }

@keyframes riseIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 楕円ホーロー看板風バッジ（EST. KYOTO） */
.hero-est,
.backcover-est {
    position: absolute;
    z-index: 3;
    right: clamp(1.8rem, 5vw, 4rem);
    bottom: calc(11vh + 3rem);
    width: 74px;
    height: 96px;
    border: 1px solid var(--brass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: riseIn 1.2s ease 2.9s both;
}
.hero-est::before,
.backcover-est::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(196, 154, 131, 0.45);
    border-radius: 50%;
}
.hero-est span,
.backcover-est span {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    line-height: 1.7;
    text-align: center;
    color: var(--brass);
}

/* めくる（スクロールキュー） */
.scroll-indicator {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: calc(11vh + 1rem);
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 1.4s ease 3.1s both;
}
.scroll-indicator__label {
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    color: var(--ink-soft);
    writing-mode: vertical-rl;
}
.scroll-indicator__line {
    width: 1px; height: 42px;
    background: var(--hair);
    position: relative;
    overflow: hidden;
}
.scroll-indicator__line::after {
    content: '';
    position: absolute;
    top: -100%; left: 0;
    width: 100%; height: 100%;
    background: var(--shu);
    animation: scrollFlow 2.2s ease-in-out infinite;
}
@keyframes scrollFlow { to { top: 100%; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* マーキー帯（表紙最下段） */
.ticker {
    position: absolute;
    z-index: 3;
    left: 0; right: 0;
    bottom: calc(14px + 1px + 62px); /* 額装フレーム＋固定予約バーの内側 */
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
    padding: 0.5rem 0;
    overflow: hidden;
    background: var(--paper);
}
.ticker__track {
    display: flex;
    width: max-content;
    animation: tick 38s linear infinite;
}
.ticker__track > span {
    white-space: nowrap;
    font-family: var(--font-serif);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    color: var(--ink-soft);
    padding-right: 2em;
}
@keyframes tick { to { transform: translateX(-50%); } }

/* Heroレスポンシブ */
@media (max-width: 860px) {
    /* モバイルは絶対配置をやめ、通常フローに切り替えて重なりを解消 */
    .hero {
        display: flex;
        flex-direction: column;
        padding: clamp(7rem, 18vh, 9rem) 7vw 0;
    }
    .hero-masthead { font-size: 0.55rem; letter-spacing: 0.14em; padding-top: 3.6rem; }
    .hero-masthead span:first-child { display: none; }

    /* 1) 縦書きタイトル */
    .hero-cover {
        position: static;
        order: 1;
        height: auto;
        align-self: flex-start;
    }
    .hero-title { height: clamp(200px, 62vw, 300px); }
    .hero-title__main { font-size: clamp(3.2rem, 15vw, 4.8rem); }
    .hero-rakkan { display: none; }

    /* 2) 円窓写真＝タイトルの右横へ（テキストとは重ねない） */
    .hero-window {
        position: relative;
        order: 2;
        top: auto; right: auto;
        transform: none;
        width: min(50vw, 225px);
        margin: calc(-1 * min(46vw, 208px)) 0 3.6rem auto;
    }
    .hero-window__caption {
        left: auto; right: 0;
        transform: none;
        font-size: 0.58rem;
        letter-spacing: 0.18em;
    }

    /* 3) カバーライン（特集見出し） */
    .hero-coverline {
        position: static;
        order: 3;
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .hero-bgword { bottom: 24vh; left: -6vw; font-size: 26vw; opacity: 0.2; }
    .hero-est { display: none; }
    .scroll-indicator { display: none; }

    /* 4) マーキー帯＝フロー末尾（全幅） */
    .ticker {
        position: static;
        order: 4;
        margin: auto -7vw 0;
    }
}

/* =========================================================
   セクション見出し（柱）：ヘアライン＋キッカー＋巨大フォリオ番号
========================================================= */
.sec-head {
    position: relative;
    padding-top: 1.4rem;
    margin-bottom: clamp(2.6rem, 6vw, 4rem);
    border-top: 1px solid var(--hair);
}
.sec--ink .sec-head { border-top-color: var(--hair-on-ink); }
.sec-kicker {
    display: block;
    font-family: var(--font-display);
    font-size: 0.68rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--shu);
    margin-bottom: 0.9rem;
}
.sec--ink .sec-kicker { color: var(--brass); }
.sec-title {
    font-size: clamp(1.7rem, 4.4vw, 2.5rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.6;
    max-width: 78%;
}
.sec-num {
    position: absolute;
    top: -0.18em;
    right: -0.04em;
    font-family: var(--font-display);
    font-size: clamp(4.6rem, 11vw, 8.5rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(196, 154, 131, 0.5);
    pointer-events: none;
}
.sec--ink .sec-num { -webkit-text-stroke-color: rgba(196, 154, 131, 0.6); }

/* ヘアラインの自己描画（対応ブラウザのみ／非対応は静的） */
@supports (animation-timeline: view()) {
    .sec-head { border-top-color: transparent; }
    .sec--ink .sec-head { border-top-color: transparent; }
    .sec-head::before {
        content: '';
        position: absolute;
        top: -1px; left: 0;
        width: 100%;
        border-top: 1px solid var(--hair);
        transform-origin: left;
        animation: drawRule 1s linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 70%;
    }
    .sec--ink .sec-head::before { border-top-color: var(--hair-on-ink); }
    @keyframes drawRule {
        from { transform: scaleX(0); }
        to   { transform: scaleX(1); }
    }
}

/* スクロール連動のふわっと表示（JSがある時だけ初期非表示） */
html.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   01 PROLOGUE（心斎橋店について）
========================================================= */
.prologue-lead {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2.4vw, 1.2rem);
    font-weight: 500;
    line-height: 2.4;
    letter-spacing: 0.1em;
    max-width: 42em;
    margin-bottom: clamp(3rem, 7vw, 4.5rem);
}
.prologue-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.prologue-item {
    padding: 0.4rem 1.6rem 0.6rem;
    border-left: 1px solid var(--hair);
}
.prologue-item:last-child { border-right: 1px solid var(--hair); }
.prologue-item__num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--brass);
    line-height: 1;
    margin-bottom: 1rem;
}
.prologue-item h3 {
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.7rem;
}
.prologue-item p { font-size: 0.84rem; line-height: 2.05; color: var(--ink-soft); }

@media (max-width: 767px) {
    .prologue-grid { grid-template-columns: 1fr; gap: 1.6rem; }
    .prologue-item { border-left: 1px solid var(--hair); border-right: none !important; padding: 0.2rem 0 0.2rem 1.3rem; }
}

/* =========================================================
   綴じ込み付録（CTAセクション）
========================================================= */
.cta-section {
    background: var(--paper-2);
    border-top: 1px dashed var(--hair);
    border-bottom: 1px dashed var(--hair);
    padding: clamp(4rem, 8vw, 6rem) 0;
    text-align: center;
}
.cta-section--ink {
    background: var(--ink);
    color: var(--paper-on-ink);
    border-color: var(--hair-on-ink);
}
.cta-inner { max-width: 720px; }
.cta-kicker {
    display: block;
    font-family: var(--font-display);
    font-size: 0.66rem;
    letter-spacing: 0.34em;
    color: var(--shu);
    margin-bottom: 1.6rem;
}
.cta-section--ink .cta-kicker { color: var(--brass); }
.cta-title {
    font-size: clamp(1.5rem, 3.6vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.13em;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}
.cta-text { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.cta-section--ink .cta-text { color: rgba(248, 239, 236, 0.75); }

.cta-phone-block { margin: 2rem 0; }
.cta-phone-label {
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    color: var(--shu);
    margin-bottom: 0.5rem;
}
.cta-phone-number {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 6vw, 3rem);
    letter-spacing: 0.06em;
    color: var(--ink);
    border-bottom: 1px solid var(--brass);
    padding-bottom: 0.1em;
}
.cta-phone-number:hover { color: var(--shu); border-bottom-color: var(--shu); }

/* 切符型CTAボタン（綴じ込み予約券） */
.ticket-btn {
    display: inline-flex;
    align-items: stretch;
    text-align: left;
    background: var(--shu);
    color: #FBF5F1;
    border: 1px solid var(--shu);
    border-radius: 3px;
    box-shadow: inset 0 0 0 0 var(--paper), 0 1px 0 rgba(69, 53, 64, 0.2);
    transition: box-shadow 0.4s ease, color 0.4s ease;
    overflow: hidden;
}
.ticket-btn__stub {
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    font-family: var(--font-display);
    font-size: 0.58rem;
    letter-spacing: 0.3em;
    padding: 0.5rem 0.55rem;
    border-right: 1px dashed rgba(251, 245, 241, 0.65);
    transition: border-color 0.4s ease;
}
.ticket-btn__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.85rem 1.9rem 0.95rem 1.4rem;
}
.ticket-btn__sub { font-size: 0.6rem; font-family: var(--font-sans); letter-spacing: 0.1em; opacity: 0.85; }
.ticket-btn__main {
    font-family: var(--font-serif);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.4;
}
.ticket-btn:hover {
    box-shadow: inset 0 -6em 0 0 var(--paper), 0 1px 0 rgba(69, 53, 64, 0.2);
    color: var(--shu);
}
.ticket-btn:hover .ticket-btn__stub { border-right-color: rgba(180, 80, 106, 0.5); }
.ticket-btn:active { transform: translateY(1px); }

/* =========================================================
   02 INTERVIEW（占い師について）＝黒い見開き
========================================================= */
.interview-grid {
    display: grid;
    grid-template-columns: minmax(0, 420px) 1fr;
    gap: clamp(2.4rem, 6vw, 5rem);
    align-items: start;
}
.interview-photo { position: relative; }
.interview-photo__frame {
    display: block;
    position: relative;
    padding: 12px;
    border: 1px solid var(--hair-on-ink);
}
.interview-photo__frame::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(196, 154, 131, 0.4);
    pointer-events: none;
}
.interview-photo__frame img {
    width: 100%;
    filter: grayscale(0.35) sepia(0.12) contrast(1.02);
}
.interview-photo__caption {
    display: block;
    margin-top: 0.9rem;
    font-family: var(--font-display);
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    color: var(--brass);
    text-transform: uppercase;
}

.interview-role {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--brass);
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}
.interview-name {
    font-size: clamp(1.7rem, 4vw, 2.2rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 1.4rem;
}
.interview-name span {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 400;
    margin-left: 12px;
    color: rgba(248, 239, 236, 0.6);
    letter-spacing: 0.24em;
}
.interview-text p {
    font-size: 0.88rem;
    line-height: 2.15;
    color: rgba(248, 239, 236, 0.82);
    margin-bottom: 1.2rem;
}
.interview-text strong { color: var(--paper-on-ink); border-bottom: 1px solid var(--shu); font-weight: 500; }

.social-links { display: flex; gap: 0.7rem; margin: 0 0 1.7rem; }
.social-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 2px;
    border: 1px solid var(--hair-on-ink);
    color: var(--paper-on-ink);
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.social-icon:hover { border-color: var(--brass); color: var(--brass); transform: translateY(-2px); }
.social-icon[data-tag]::after {
    content: attr(data-tag);
    position: absolute;
    bottom: -0.6rem; left: 50%;
    transform: translateX(-50%);
    font-size: 0.52rem;
    background: var(--shu);
    color: var(--paper);
    padding: 0.02rem 0.4rem;
    border-radius: 2px;
    white-space: nowrap;
    letter-spacing: 0.05em;
}
.social-img { width: 16px; height: 16px; filter: invert(0.92); opacity: 0.85; }

.profile-table { margin-top: 1.9rem; border-top: 1px solid var(--hair-on-ink); }
.profile-row {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1rem;
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--hair-on-ink);
    font-size: 0.85rem;
}
.profile-label { color: var(--brass); font-family: var(--font-serif); letter-spacing: 0.14em; }

@media (max-width: 860px) {
    .interview-grid { grid-template-columns: 1fr; }
    .interview-photo { max-width: 420px; }
}

/* =========================================================
   CONTRIBUTORS（所属占い師）— INTERVIEW見開き内の一覧
========================================================= */
.contributors {
    margin-top: clamp(3.5rem, 8vw, 5.5rem);
    padding-top: 2.4rem;
    border-top: 1px solid var(--hair-on-ink);
}
.contributors__head {
    display: flex;
    align-items: baseline;
    gap: 1.2rem;
    margin-bottom: 0.9rem;
}
.contributors__kicker {
    font-family: var(--font-display);
    font-size: 0.66rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--brass);
}
.contributors__title {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.18em;
}
.contributors__lead {
    font-size: 0.84rem;
    line-height: 2;
    color: rgba(248, 239, 236, 0.75);
    margin-bottom: 2.2rem;
}
.contributors__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}
a.contributor {
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--hair-on-ink);
    padding: 2rem 1.6rem 1.7rem;
    transition: border-color 0.35s ease, background-color 0.35s ease, transform 0.35s ease;
}
a.contributor:hover {
    border-color: var(--brass);
    background: rgba(248, 239, 236, 0.05);
    transform: translateY(-3px);
    opacity: 1;
}
.contributor__monogram {
    position: relative;
    width: 84px;
    height: 106px;
    border-radius: 50%;
    margin-bottom: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, rgba(196, 154, 131, 0.28), rgba(180, 80, 106, 0.26));
    border: 1px solid rgba(196, 154, 131, 0.55);
}
.contributor__monogram::after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px dashed rgba(180, 80, 106, 0.5);
    border-radius: 50%;
}
.contributor__monogram i {
    position: relative;
    font-family: var(--font-serif);
    font-style: normal;
    font-weight: 600;
    font-size: 1.9rem;
    color: var(--paper-on-ink);
}
.contributor__monogram b {
    position: absolute;
    right: -0.18em;
    bottom: -0.22em;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 2.6rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(196, 154, 131, 0.55);
}
.contributor__en {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 0.3rem;
}
.contributor__name {
    font-family: var(--font-serif);
    font-size: 1.22rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--paper-on-ink);
    margin-bottom: 0.5rem;
}
.contributor__spec {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--brass);
    padding-bottom: 0.8rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid var(--hair-on-ink);
}
.contributor__copy {
    font-family: var(--font-serif);
    font-size: 0.88rem;
    line-height: 1.95;
    color: rgba(248, 239, 236, 0.85);
    margin-bottom: 1.4rem;
}
.contributor__link {
    margin-top: auto;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    color: var(--brass);
    transition: color 0.3s ease;
}
a.contributor:hover .contributor__link { color: var(--paper-on-ink); }

@media (max-width: 860px) {
    .contributors__grid { grid-template-columns: 1fr; }
    .contributors__head { flex-direction: column; gap: 0.3rem; }
}

/* =========================================================
   03 VOICES＝切り抜きコラージュ
========================================================= */
.gm-rating {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.2rem;
}
.gm-rating__stars {
    color: var(--shu);
    font-size: 0.95rem;
    letter-spacing: 0.22em;
}
.gm-rating__value {
    font-family: var(--font-display);
    font-size: 1.9rem;
    line-height: 1;
    color: var(--ink);
}
.gm-rating__note { font-size: 0.68rem; color: var(--ink-soft); }

.scrapbook {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem 1.4rem;
    padding: 0.6rem 0;
}
.scrap {
    background: var(--paper);
    border: 1px solid var(--hair);
    padding: 1.5rem 1.4rem 1.3rem;
    box-shadow: 3px 4px 0 rgba(69, 53, 64, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.scrap:nth-child(odd) { transform: rotate(-1.3deg); }
.scrap:nth-child(even) { transform: rotate(1.1deg); }
.scrap:nth-child(3n) { transform: rotate(-0.5deg); }
.scrap:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 4px 7px 0 rgba(69, 53, 64, 0.1); }
.scrap__stars {
    display: block;
    color: var(--shu);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.6rem;
}
.scrap__headline {
    font-family: var(--font-serif);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 0.4rem;
}
.scrap__text { font-size: 0.8rem; line-height: 1.95; color: var(--ink-soft); }

.more-link { text-align: right; margin-top: 1.8rem; }
.more-link a { font-size: 0.84rem; color: var(--ink); }

@media (max-width: 960px) {
    .scrapbook { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .scrapbook { grid-template-columns: 1fr; }
}

/* =========================================================
   04 INDEX（お悩み）＝目録＋星座結線
========================================================= */
.index-intro {
    font-size: 0.9rem;
    line-height: 2.3;
    max-width: 40em;
    margin-bottom: clamp(2.6rem, 6vw, 3.8rem);
}
.index-list {
    position: relative;
    border-top: 1px solid var(--hair);
}
.index-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 1.2rem;
    align-items: baseline;
    padding: 1.6rem 0.4rem;
    border-bottom: 1px solid var(--hair);
    transition: background-color 0.35s ease;
}
.index-row:hover { background: rgba(180, 80, 106, 0.045); }
.index-row__num {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1.3rem;
    color: var(--brass);
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}
.index-row__body h3 {
    font-size: clamp(1.1rem, 2.6vw, 1.4rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 0.3rem;
}
.index-row__body p { font-size: 0.85rem; line-height: 2; color: var(--ink-soft); }

/* 星座結線（悩みの言葉を星として結ぶ） */
.constellation {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}
.constellation i,
.constellation b {
    position: absolute;
    display: block;
}
.constellation i {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--brass);
    box-shadow: 0 0 0 4px rgba(196, 154, 131, 0.14);
}
.constellation i:nth-of-type(1) { right: 26%; top: 12%; }
.constellation i:nth-of-type(2) { right: 12%; top: 30%; }
.constellation i:nth-of-type(3) { right: 19%; top: 52%; width: 4px; height: 4px; }
.constellation i:nth-of-type(4) { right: 7%;  top: 66%; }
.constellation i:nth-of-type(5) { right: 30%; top: 78%; width: 4px; height: 4px; }
.constellation i:nth-of-type(6) { right: 16%; top: 90%; }
.constellation b {
    height: 1px;
    background: linear-gradient(90deg, rgba(196, 154, 131, 0.55), rgba(196, 154, 131, 0.15));
    transform-origin: left center;
}
.constellation b:nth-of-type(1) { right: 13%; top: 14%; width: 15%; transform: rotate(48deg); }
.constellation b:nth-of-type(2) { right: 13.5%; top: 31%; width: 13%; transform: rotate(115deg); }
.constellation b:nth-of-type(3) { right: 8%; top: 67%; width: 16%; transform: rotate(152deg); }

@media (max-width: 767px) {
    .index-row { grid-template-columns: 3.6rem 1fr; }
    .constellation { display: none; }
}

/* =========================================================
   05 ADVANTAGE（選ばれる理由）＝互い違いの誌面
========================================================= */
.reasons-sub {
    font-size: 0.9rem;
    line-height: 2.2;
    max-width: 40em;
    margin-bottom: clamp(3rem, 7vw, 4.5rem);
}
.reasons-flow { display: grid; gap: clamp(2.4rem, 5vw, 3.2rem); }
.reason-block {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: 620px;
    padding: 0 0 0 clamp(3.4rem, 8vw, 5.5rem);
}
.reason-block--alt { margin-left: auto; padding: 0 clamp(3.4rem, 8vw, 5.5rem) 0 0; }
.reason-block__num {
    position: absolute;
    top: -0.35em;
    left: 0;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: clamp(2.6rem, 6vw, 4rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--brass);
    font-variant-numeric: tabular-nums;
}
.reason-block--alt .reason-block__num { left: auto; right: 0; }
.reason-block__body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    margin-bottom: 0.8rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--hair);
}
.reason-block__body p { font-size: 0.86rem; line-height: 2.1; color: var(--ink-soft); }
.reason-block__body small { font-size: 0.72rem; color: var(--brass); }

/* =========================================================
   06 FEATURES（占術紹介）
========================================================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--hair);
    border-left: 1px solid var(--hair);
}
.feature {
    padding: clamp(1.6rem, 3.5vw, 2.4rem);
    border-right: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
    transition: background-color 0.35s ease;
}
.feature:hover { background: rgba(245, 233, 228, 0.55); }
.feature__head {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 1rem;
}
.feature__icon {
    position: relative;
    flex: 0 0 auto;
    width: 54px; height: 54px;
    border-radius: 50%;
    overflow: visible;
}
.feature__icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 1px dashed rgba(196, 154, 131, 0.6);
    border-radius: 50%;
}
.feature__icon img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(0.25) sepia(0.1);
}
.feature__meta { display: block; min-width: 0; }
.feature__en {
    display: block;
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.26em;
    color: var(--brass);
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}
.feature__title { font-size: 1.14rem; font-weight: 600; letter-spacing: 0.12em; }
.feature__desc { font-size: 0.84rem; line-height: 2.05; color: var(--ink-soft); }

@media (max-width: 767px) {
    .feature-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   見開きの扉（Emotional）
========================================================= */
.spread {
    position: relative;
    background: var(--ink);
    color: var(--paper-on-ink);
    padding: clamp(5rem, 12vw, 8.5rem) clamp(1.6rem, 6vw, 4rem);
    overflow: hidden;
}
.spread::before {
    content: '縁';
    position: absolute;
    top: 50%; right: -0.12em;
    transform: translateY(-50%);
    font-family: var(--font-serif);
    font-size: clamp(16rem, 38vw, 30rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(196, 154, 131, 0.22);
    pointer-events: none;
}
.spread__inner { position: relative; max-width: 760px; margin: 0 auto; }
.spread__kicker {
    display: block;
    font-family: var(--font-display);
    font-size: 0.66rem;
    letter-spacing: 0.34em;
    color: var(--brass);
    margin-bottom: 1.8rem;
}
.spread__title {
    font-size: clamp(1.7rem, 4.6vw, 2.5rem);
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 2;
    margin-bottom: 1.8rem;
}
.spread__text {
    font-size: 0.9rem;
    line-height: 2.4;
    color: rgba(248, 239, 236, 0.8);
    margin-bottom: 2rem;
}
.spread__sign {
    display: block;
    text-align: right;
    font-family: var(--font-serif);
    font-size: 0.82rem;
    letter-spacing: 0.24em;
    color: var(--brass);
}

/* =========================================================
   07 PRICE LIST（お品書き）
========================================================= */
.menu-wrapper { max-width: 780px; }

.coupon-note {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    border: 1px dashed var(--brass);
    padding: 1rem 1.3rem;
    margin-bottom: 2.6rem;
    background: rgba(245, 233, 228, 0.5);
}
.coupon-note__label {
    flex: 0 0 auto;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    display: flex;
    flex-direction: column;
}
.coupon-note__label i {
    font-family: var(--font-display);
    font-style: normal;
    font-size: 0.58rem;
    letter-spacing: 0.26em;
    color: var(--shu);
}
.coupon-note__body { font-size: 0.85rem; line-height: 1.9; }
.coupon-note__body strong { color: var(--shu); font-size: 1.05rem; }
.coupon-note__body small { font-size: 0.7rem; color: var(--ink-soft); }

.menu-cat {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 1.6rem;
}
.menu-block { margin-bottom: 2.8rem; }
.menu-block--chief {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: clamp(1.4rem, 4vw, 2rem);
    align-items: start;
    border: 1px solid var(--hair);
    background: rgba(251, 245, 241, 0.58);
    padding: clamp(1.2rem, 3vw, 1.6rem);
    box-shadow: 3px 4px 0 rgba(69, 53, 64, 0.055);
}
.menu-chief-photo {
    position: sticky;
    top: 96px;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    margin: 0;
}
.menu-chief-photo::before,
.menu-chief-photo::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.menu-chief-photo::before {
    inset: -10px;
    border: 1px dashed rgba(180, 80, 106, 0.42);
}
.menu-chief-photo::after {
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(196, 154, 131, 0.5), 0 10px 24px rgba(69, 53, 64, 0.12);
}
.menu-chief-photo picture,
.menu-chief-photo img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.menu-chief-photo img {
    object-fit: cover;
    object-position: 50% 24%;
    filter: grayscale(0.28) sepia(0.12) contrast(1.02) brightness(1.03);
}
.menu-chief-content { min-width: 0; }
.menu-block__title {
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--shu);
    margin-bottom: 0.9rem;
}
.menu-block__hours { font-size: 0.68rem; color: var(--ink-soft); letter-spacing: 0.1em; margin-left: auto; font-family: var(--font-sans); font-weight: 400; }
.menu-methods {
    font-size: 0.76rem;
    color: var(--ink-soft);
    line-height: 1.9;
    padding: 0.6rem 0.9rem;
    border-left: 2px solid var(--brass);
    background: rgba(245, 233, 228, 0.45);
    margin-bottom: 1.2rem;
}

/* お品書きの一行（点線リーダー＋落款ホバー） */
.price-line {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.7em;
    padding: 1rem 0.2rem;
    border-bottom: 1px solid var(--hair-soft);
}
.price-line__name {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.9;
}
.price-time {
    display: inline-block;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    color: var(--shu);
    border: 1px solid rgba(180, 80, 106, 0.5);
    border-radius: 2px;
    padding: 0.05em 0.55em;
    margin-right: 0.7em;
}
.price-badge {
    display: inline-block;
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    color: var(--brass);
    border: 1px solid rgba(196, 154, 131, 0.6);
    border-radius: 2px;
    padding: 0.08em 0.6em;
    margin-left: 0.7em;
    vertical-align: 0.15em;
    white-space: nowrap;
}
.price-badge--shu { color: var(--paper); background: var(--shu); border-color: var(--shu); }
.price-line--pick { background: rgba(180, 80, 106, 0.04); }
.price-line__tiny-note {
    font-family: var(--font-sans);
    font-size: 0.74em;
    letter-spacing: 0.02em;
    white-space: nowrap;
    vertical-align: 0.03em;
}
.price-line__dots {
    flex: 1;
    min-width: 2em;
    border-bottom: 2px dotted rgba(196, 154, 131, 0.55);
    transform: translateY(-0.4em);
}
.price-line__price {
    font-size: 0.85rem;
    white-space: nowrap;
    letter-spacing: 0.04em;
}
.price-line__price i {
    font-family: var(--font-sans);
    font-style: normal;
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}
.price-line__price small { font-size: 0.66rem; color: var(--ink-soft); margin-right: 0.5em; }
.price-line__note {
    flex: 0 0 100%;
    display: block;
    margin-top: -0.35rem;
    font-family: var(--font-sans);
    font-size: 0.66rem;
    line-height: 1.7;
    letter-spacing: 0.04em;
    color: var(--ink);
}
.price-note {
    display: block;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.74rem;
    line-height: 1.9;
    color: var(--ink-soft);
    letter-spacing: 0.04em;
    margin-top: 0.35rem;
}

/* 落款ホバー：この一行を主宰者が監修している、の刻印 */
.price-line::after {
    content: '縁';
    position: absolute;
    right: -0.4rem;
    top: 50%;
    transform: translateY(-50%) rotate(-4deg);
    width: 1.55em; height: 1.55em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--shu);
    color: var(--paper);
    font-family: var(--font-serif);
    font-size: 0.8rem;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.price-line:hover::after { opacity: 1; }
.price-line:hover .price-line__name { color: var(--shu); }

.special-entry .price-line { align-items: flex-start; }
.special-entry .price-line__dots { align-self: flex-start; margin-top: 1.05em; }

.menu-note {
    font-size: 0.74rem;
    color: var(--ink-soft);
    line-height: 2;
    margin-top: 2.2rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--hair);
}

@media (max-width: 640px) {
    .menu-block__title {
        flex-wrap: wrap;
        gap: 0.25rem 0.55rem;
        font-size: 0.92rem;
        line-height: 1.55;
        letter-spacing: 0.06em;
    }
    .menu-block__hours {
        margin-left: 0;
        font-size: 0.6rem;
        letter-spacing: 0.04em;
    }
    .menu-block--chief {
        grid-template-columns: 1fr;
        padding: 1.2rem;
    }
    .menu-chief-photo {
        position: relative;
        top: auto;
        width: min(46vw, 150px);
        margin: 0 auto 0.4rem;
    }
    .menu-block:not(.special-entry) .price-line {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 1.35rem auto;
        column-gap: 0.45rem;
        align-items: baseline;
        padding: 0.9rem 0.05rem;
    }
    .menu-block:not(.special-entry) .price-line__name {
        min-width: 0;
        max-width: 100%;
        font-size: 0.88rem;
        line-height: 1.55;
        letter-spacing: 0.03em;
    }
    .menu-block:not(.special-entry) .price-line__dots {
        width: 1.35rem;
        min-width: 0;
        transform: translateY(-0.35em);
    }
    .menu-block:not(.special-entry) .price-line__price {
        justify-self: end;
        font-size: 0.78rem;
    }
    .menu-block:not(.special-entry) .price-line__price i { font-size: 1.34rem; }
    .menu-block:not(.special-entry) .price-line__note { grid-column: 1 / -1; }
    .menu-block:not(.special-entry) .price-badge {
        font-size: 0.52rem;
        letter-spacing: 0.08em;
        padding: 0.05em 0.42em;
        margin-left: 0.38em;
    }
    .menu-block:not(.special-entry) .price-line--compact {
        grid-template-columns: minmax(0, 1fr) 0.75rem auto;
        column-gap: 0.35rem;
    }
    .price-line--compact .price-time {
        font-size: 0.76rem;
        padding: 0.03em 0.38em;
        margin-right: 0.35em;
    }
    .price-line--compact .price-line__tiny-note {
        font-size: 0.5rem;
        line-height: 1;
        letter-spacing: 0;
    }
    .menu-block:not(.special-entry) .price-line--compact .price-badge {
        font-size: 0.48rem;
        letter-spacing: 0.06em;
        padding: 0.04em 0.32em;
        margin-left: 0.35em;
    }
    .menu-block:not(.special-entry) .price-line--compact .price-line__dots { width: 0.75rem; }
    .menu-block .special-entry .price-line {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.55rem;
        padding: 1rem 0.05rem;
    }
    .menu-block .special-entry .price-line__name {
        max-width: 100%;
        font-size: 0.88rem;
        line-height: 1.6;
        letter-spacing: 0.03em;
    }
    .menu-block .special-entry .price-note {
        font-size: 0.68rem;
        line-height: 1.75;
        letter-spacing: 0.02em;
    }
    .menu-block .special-entry .price-line__dots { display: none; }
    .menu-block .special-entry .price-line__price {
        justify-self: end;
        margin-left: 0;
        max-width: 100%;
        font-size: 0.76rem;
        line-height: 1.2;
    }
    .menu-block .special-entry .price-line__price small {
        font-size: 0.58rem;
        margin-right: 0.35em;
    }
    .menu-block .special-entry .price-line__price i { font-size: 1.28rem; }
    .coupon-note { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

@media (max-width: 360px) {
    .menu-block__title {
        font-size: 0.86rem;
        letter-spacing: 0.03em;
    }
    .menu-block:not(.special-entry) .price-line {
        grid-template-columns: minmax(0, 1fr) 0.45rem auto;
        column-gap: 0.28rem;
    }
    .menu-block:not(.special-entry) .price-line__dots { width: 0.45rem; }
    .menu-block:not(.special-entry) .price-line__name {
        font-size: 0.82rem;
        line-height: 1.45;
        letter-spacing: 0.015em;
    }
    .menu-block:not(.special-entry) .price-time {
        font-size: 0.72rem;
        padding: 0.02em 0.34em;
        margin-right: 0.34em;
    }
    .menu-block:not(.special-entry) .price-badge {
        font-size: 0.4rem;
        letter-spacing: 0;
        padding: 0.03em 0.24em;
        margin-left: 0.25em;
    }
    .menu-block:not(.special-entry) .price-line__price { font-size: 0.72rem; }
    .menu-block:not(.special-entry) .price-line__price i { font-size: 1.2rem; }
    .menu-block:not(.special-entry) .price-line--compact {
        grid-template-columns: minmax(0, 1fr) 0.25rem auto;
        column-gap: 0.22rem;
    }
    .price-line--compact .price-line__tiny-note { font-size: 0.42rem; }
    .menu-block:not(.special-entry) .price-line--compact .price-line__dots { width: 0.25rem; }
    .menu-block .special-entry .price-line {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
    }
    .menu-block .special-entry .price-line__price {
        justify-self: end;
        font-size: 0.72rem;
    }
    .menu-block .special-entry .price-line__price i { font-size: 1.2rem; }
}

/* =========================================================
   08 Q&A（よくある質問）
========================================================= */
.faq-list { max-width: 780px; border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-question {
    display: flex;
    align-items: baseline;
    gap: 1.1rem;
    padding: 1.25rem 0.3rem;
    font-family: var(--font-serif);
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.9;
    cursor: pointer;
    list-style: none;
    transition: color 0.3s ease;
}
.faq-question:hover { color: var(--shu); }
.faq-question::-webkit-details-marker { display: none; }
.faq-q, .faq-a {
    flex: 0 0 auto;
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1;
    color: var(--brass);
    transform: translateY(0.1em);
}
.faq-a { color: var(--shu); }
.faq-toggle {
    margin-left: auto;
    position: relative;
    width: 13px; height: 13px;
    flex: 0 0 auto;
    align-self: center;
}
.faq-toggle::before, .faq-toggle::after {
    content: '';
    position: absolute;
    top: 50%; left: 0;
    width: 100%; height: 1px;
    background: var(--shu);
    transition: transform 0.3s ease;
}
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform: rotate(0deg); }
.faq-answer {
    display: flex;
    align-items: baseline;
    gap: 1.1rem;
    padding: 0 0.3rem 1.4rem;
}
.faq-answer p { font-size: 0.86rem; line-height: 2.05; color: var(--ink-soft); }

/* =========================================================
   09 SERIAL（ブログ）
========================================================= */
.blog-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 2.5rem;
}
.blog-tile {
    display: grid;
    grid-template-rows: auto 1fr;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.blog-tile:hover {
    transform: translateY(-3px);
    opacity: 1;
}
.blog-tile:focus-visible {
    outline: 2px solid rgba(196, 154, 131, 0.65);
    outline-offset: 4px;
}
.blog-tile__thumb img,
.blog-tile__thumb--empty {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.04);
    display: block;
}
.blog-tile__title {
    padding: 1rem 1rem 1.1rem;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.7;
    letter-spacing: 0.06em;
}
.blog-tile__title-text { display: block; }
.blog-tile__date {
    display: block;
    margin-top: 0.35rem;
    text-align: right;
    font-family: var(--font-sans);
    font-size: 0.62rem;
    line-height: 1.2;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
    opacity: 0.85;
}
.blog-more-link {
    margin-top: 1.2rem;
    text-align: right;
    font-family: var(--font-serif);
    letter-spacing: 0.08em;
    color: var(--shu);
}
.blog-more-link a {
    display: inline-block;
    border-bottom: 1px solid var(--hair);
    padding-bottom: 2px;
}

@media (max-width: 768px) {
    .blog-tiles {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 1.8rem;
    }
    .blog-tile__thumb img,
    .blog-tile__thumb--empty {
        aspect-ratio: 16 / 10;
    }
    .blog-tile__title {
        padding: 0.85rem 0.9rem;
        font-size: 0.95rem;
        line-height: 1.85;
    }
    .blog-tile__date {
        margin-top: 0.3rem;
        font-size: 0.58rem;
    }
}

/* =========================================================
   BACK COVER（アクセス）
========================================================= */
.backcover-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.4rem, 6vw, 4.5rem);
    align-items: start;
}
.backcover-lead {
    font-size: 0.9rem;
    line-height: 2.1;
    color: rgba(248, 239, 236, 0.8);
    margin-bottom: 1.8rem;
}
.backcover-shop {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.8;
    padding-bottom: 1rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--hair-on-ink);
}
.store-name-inline {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35em;
    flex-wrap: wrap;
}
.store-name-inline__branch {
    font-family: var(--font-sans);
    font-size: 0.42em;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--brass);
    white-space: nowrap;
}
.store-name-inline--footer .store-name-inline__branch {
    font-size: 0.68em;
    color: currentColor;
    opacity: 0.72;
}
.backcover-info address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 2.1;
}
.backcover-info address small { opacity: 0.7; font-size: 0.74rem; }
.backcover-hours { margin-top: 1.3rem; font-size: 0.9rem; line-height: 2.1; }
.backcover-hours a { color: inherit; border-bottom: 1px solid var(--brass); }
.backcover-hours a:hover { color: var(--brass); }
.backcover-transport {
    margin-top: 1.7rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--hair-on-ink);
    font-size: 0.83rem;
    line-height: 2.05;
    color: rgba(248, 239, 236, 0.78);
}
.map-btn {
    display: inline-block;
    margin-top: 1.7rem;
    border: 1px solid var(--brass);
    border-radius: 2px;
    padding: 0.65rem 1.9rem;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    color: var(--brass);
}
.map-btn:hover { background: var(--brass); color: var(--ink); }

.backcover-map {
    position: relative;
    min-height: 380px;
    border: 1px solid var(--hair-on-ink);
}
.backcover-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    text-align: center;
}
/* 裏表紙の装飾楕円（地図公開までの間の“空白の設え”） */
.map-placeholder::before {
    content: '';
    position: absolute;
    inset: 5%;
    border: 1px solid rgba(196, 154, 131, 0.35);
    border-radius: 50%;
    pointer-events: none;
}
.map-placeholder p { position: relative; font-size: 0.84rem; line-height: 2.1; color: rgba(248, 239, 236, 0.8); padding: 0 1.5rem; }
.backcover-est { position: relative; animation: none; }

.backcover-sign {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.1rem;
    margin-top: clamp(2.6rem, 6vw, 4rem);
}
.backcover-sign__en {
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    color: var(--brass);
}
.backcover-rakkan { transform: rotate(-3deg); }

@media (max-width: 860px) {
    .backcover-grid { grid-template-columns: 1fr; }
    .backcover-map { min-height: 280px; }
}

/* =========================================================
   Footer（奥付）/ Sticky bar
========================================================= */
footer {
    background: var(--ink);
    color: rgba(248, 239, 236, 0.8);
    border-top: 1px solid var(--hair-on-ink);
}
.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 2.8rem clamp(1.4rem, 4vw, 2.5rem) 2.4rem;
    text-align: center;
}
.footer-kicker {
    display: block;
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.34em;
    color: var(--brass);
    margin-bottom: 1.3rem;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.8rem;
    margin-bottom: 1.4rem;
}
.footer-links a {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    opacity: 0.85;
    background-image: linear-gradient(var(--brass), var(--brass));
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0% 1px;
    padding-bottom: 2px;
    transition: background-size 0.3s ease, opacity 0.3s ease;
}
.footer-links a:hover { opacity: 1; background-size: 100% 1px; }
footer p { font-size: 0.7rem; letter-spacing: 0.12em; opacity: 0.65; }
.footer-branch-promo {
    max-width: 700px;
    margin: 1.7rem auto 0;
    padding: 1.15rem clamp(1rem, 4vw, 1.6rem);
    border-top: 1px solid rgba(196, 154, 131, 0.35);
    border-bottom: 1px solid rgba(196, 154, 131, 0.18);
    color: var(--paper-on-ink);
}
.footer-branch-promo__kicker {
    display: block;
    margin-bottom: 0.45rem;
    font-family: var(--font-display);
    font-size: 0.58rem;
    letter-spacing: 0.3em;
    color: var(--brass);
}
.footer-branch-promo p {
    margin: 0 0 0.75rem;
    font-size: 0.82rem;
    line-height: 1.95;
    letter-spacing: 0.06em;
    opacity: 1;
}
.footer-branch-promo strong {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}
.footer-branch-promo__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0.45rem 1rem;
    border: 1px solid rgba(196, 154, 131, 0.55);
    border-radius: 2px;
    color: var(--paper-on-ink);
    font-family: var(--font-serif);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.footer-branch-promo__link:hover {
    background: var(--brass);
    border-color: var(--brass);
    color: var(--ink);
    opacity: 1;
}

.sticky-bar {
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: min(calc(100% - 28px), 560px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(251, 245, 241, 0.96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid var(--ink);
    padding: 0.55rem 0.55rem 0.55rem 1.4rem;
    box-shadow: 4px 5px 0 rgba(69, 53, 64, 0.12);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}
.sticky-info { display: flex; flex-direction: column; line-height: 1.45; }
.sticky-label {
    font-family: var(--font-display);
    font-size: 0.54rem;
    letter-spacing: 0.32em;
    color: var(--shu);
}
.sticky-main { font-family: var(--font-serif); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.16em; }
.sticky-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    background: var(--shu);
    color: var(--paper);
    border: 1px solid var(--shu);
    border-radius: 2px;
    padding: 0.5rem 1.7rem;
    line-height: 1.25;
    box-shadow: inset 0 0 0 0 var(--paper);
    transition: box-shadow 0.35s ease, color 0.35s ease;
    white-space: nowrap;
}
.sticky-btn__sub { font-size: 0.56rem; font-family: var(--font-sans); letter-spacing: 0.06em; opacity: 0.9; }
.sticky-btn__main { font-family: var(--font-serif); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.22em; }
.sticky-btn:hover { box-shadow: inset 0 -4em 0 0 var(--paper); color: var(--shu); }
.sticky-btn:active { transform: translateY(1px); }

/* JS有効時はヒーロー滞在中は隠し、スクロール後にスッと表示 */
html.js .sticky-bar.is-stealth {
    transform: translateX(-50%) translateY(150%);
    opacity: 0;
    pointer-events: none;
}

/* =========================================================
   占い師 特設ページ（uranaishi.php）
========================================================= */
.teller-page #header { position: sticky; top: 0; }
.teller-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}
.teller-nav__back {
    font-family: var(--font-serif);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    background-image: linear-gradient(var(--shu), var(--shu));
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0% 1px;
    padding-bottom: 3px;
    transition: background-size 0.3s ease, color 0.3s ease;
}
.teller-nav__back:hover { background-size: 100% 1px; color: var(--shu); }

.teller-hero { padding: clamp(3rem, 8vw, 5rem) 0 clamp(3.5rem, 8vw, 5.5rem); }
.teller-name { max-width: 100%; }
.teller-name__roman {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 0.42em;
    letter-spacing: 0.24em;
    color: var(--brass);
    margin-left: 0.8em;
    text-transform: uppercase;
}
.teller-role {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    color: var(--shu);
}
.teller-hero__grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    margin-top: clamp(2.4rem, 5vw, 3.4rem);
}
.teller-monogram {
    position: relative;
    width: clamp(150px, 20vw, 200px);
    aspect-ratio: 3 / 3.9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, rgba(196, 154, 131, 0.3), rgba(180, 80, 106, 0.24));
    border: 1px solid rgba(196, 154, 131, 0.6);
}
.teller-monogram i {
    position: relative;
    font-family: var(--font-serif);
    font-style: normal;
    font-weight: 600;
    font-size: clamp(3rem, 6vw, 4.2rem);
    color: var(--ink);
}
.teller-monogram b {
    position: absolute;
    right: -0.12em;
    bottom: -0.1em;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(4.5rem, 9vw, 6.5rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(196, 154, 131, 0.6);
    pointer-events: none;
}
.teller-monogram__ring {
    position: absolute;
    inset: -12px;
    border: 1px dashed rgba(180, 80, 106, 0.5);
    border-radius: 50%;
    animation: ringSpin 90s linear infinite;
}
.teller-catch {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 1.7rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.9;
    margin-bottom: 1rem;
}
.teller-lead {
    font-size: 0.88rem;
    line-height: 2.15;
    color: var(--ink-soft);
    margin-bottom: 1.4rem;
}
.teller-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}
.teller-tags li {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--shu);
    border: 1px solid rgba(180, 80, 106, 0.5);
    border-radius: 2px;
    padding: 0.15em 0.75em;
}

.teller-profile { max-width: 780px; }
.teller-profile__text p {
    font-size: 0.9rem;
    line-height: 2.2;
    margin-bottom: 1.2rem;
}
.teller-table {
    margin: 2rem 0 1.6rem;
    border-top: 1px solid var(--hair);
}
.teller-table__row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    padding: 0.9rem 0.2rem;
    border-bottom: 1px solid var(--hair);
    font-size: 0.86rem;
}
.teller-table__label {
    color: var(--shu);
    font-family: var(--font-serif);
    letter-spacing: 0.14em;
}
.teller-message {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    line-height: 2.2;
    max-width: 34em;
    margin-left: auto;
    margin-right: auto;
}
.teller-back { margin-top: 2.2rem; font-size: 0.82rem; }

@media (max-width: 767px) {
    .teller-hero__grid { grid-template-columns: 1fr; }
    .teller-monogram { margin: 0 auto; }
    .teller-hero__text { text-align: left; }
    .teller-nav__back { display: none; }
    .teller-table__row { grid-template-columns: 92px 1fr; }
}

/* =========================================================
   Responsive 微調整
========================================================= */
@media (max-width: 767px) {
    .page-frame { inset: 10px; }
    #header { padding: 1rem 1.2rem 0.8rem; }
    .sec-title { max-width: 100%; }
    .sec-num { font-size: clamp(3.6rem, 17vw, 5rem); top: auto; bottom: calc(100% - 1rem); }
    .ticket-btn__body { padding: 0.75rem 1.2rem 0.85rem 1.1rem; }
    .ticket-btn__main { font-size: 0.95rem; }
    .sticky-bar { bottom: 10px; width: calc(100% - 20px); padding-left: 1rem; }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100svh;
        padding-top: clamp(5rem, 10.5svh, 5.6rem);
    }
    .hero-title { height: clamp(176px, 53vw, 230px); }
    .hero-title__main { font-size: clamp(3rem, 14vw, 4.2rem); }
    .hero-window {
        width: min(43vw, 184px);
        margin: calc(-1 * min(38vw, 168px)) 0 1.6rem auto;
    }
    .hero-window__caption {
        bottom: -1.85rem;
        font-size: 0.54rem;
    }
    .hero-coverline {
        margin-bottom: 1.1rem;
    }
    .hero-coverline__issue {
        font-size: 0.56rem;
        letter-spacing: 0.24em;
        margin-bottom: 0.4rem;
    }
    .hero-coverline__main {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0.5rem;
    }
    .hero-coverline__sub {
        font-size: 0.76rem;
        line-height: 1.55;
        margin-bottom: 0.8rem;
    }
    .ticket-btn--hero .ticket-btn__stub {
        font-size: 0.52rem;
        padding: 0.38rem 0.46rem;
    }
    .ticket-btn--hero .ticket-btn__body {
        padding: 0.58rem 1.35rem 0.68rem 0.95rem;
    }
    .ticket-btn--hero .ticket-btn__sub { font-size: 0.55rem; }
    .ticket-btn--hero .ticket-btn__main {
        font-size: 0.92rem;
        letter-spacing: 0.14em;
    }
}

/* =========================================================
   アクセシビリティ：動きを減らす設定
   （基本状態＝完成形のため、アニメを止めるだけで成立）
========================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    html.js .reveal { opacity: 1; transform: none; }
}
