/*
Theme Name: bebedor
Theme URI: https://bebedor-osaka.com/
Author: SHINZO
Author URI: https://shinzo-creative.jp/
Description: 大阪・堂島のバー bebedor のオリジナルテーマ。文章・写真は「外観 → カスタマイズ」から変更できます。
Version: 2.4.6
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: Proprietary
Text Domain: bebedor
*/

  :root {
    --paper:      #FAF2E9;
    --paper-warm: #F5E9DA;
    --tan:        #EDDBC8;
    --tan-deep:   #E3CBB2;
    --vermilion:  #E94514;
    --vermilion-d:#C6360D;
    --umber:      #38291F;
    --umber-mid:  #7A6656;
    --umber-soft: #A8968A;
    --cream:      #FDF9F5;

    /* 欧文は Marcellus（ローマ碑文体）、和文は しっぽり明朝 が受ける */
    --f-round: "Marcellus", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    --f-text:  "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
    --brass:   #A98B5B;
    --rule:    rgba(169, 139, 91, .38);
    --rule-soft: rgba(169, 139, 91, .22);

    --pad: clamp(1.25rem, 5vw, 5.5rem);
    --wrap: 76rem;

    --img-box: url("assets/img/box.jpg");
    --img-counter: url("assets/img/counter.jpg");
    --img-bottles: url("assets/img/bottles.jpg");
    --img-ext: url("assets/img/exterior.jpg");
    --img-piano: url("assets/img/piano.jpg");
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    background: var(--paper);
    color: var(--umber);
    font-family: var(--f-text);
    font-weight: 300;
    line-height: 2.15;
    letter-spacing: .04em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  .wrap { max-width: var(--wrap); margin-inline: auto; }
  .wordmark { display: block; width: 100%; height: auto; }

  /* ================= ヘッダー ================= */
  .head {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(250,242,233,.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--rule-soft);
  }
  .head__in {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 4vw, 3rem);
    padding: clamp(.7rem, 1.1vw, .95rem) var(--pad);
    max-width: var(--wrap);
    margin-inline: auto;
  }
  .head__logo { display: block; width: clamp(6.6rem, 14vw, 9.7rem); color: var(--vermilion); flex: none; text-decoration: none; }
  .head__logo:focus-visible { outline: 1px solid var(--vermilion); outline-offset: 3px; }
  .head__nav {
    display: flex;
    gap: clamp(.9rem, 2.6vw, 2.2rem);
    margin-left: auto;
    font-family: var(--f-round);
    font-weight: 400;
    font-size: 1.02rem;
    line-height: 1;
    letter-spacing: .24em;
    text-transform: uppercase;
  }
  .head__nav a {
    color: var(--umber-mid);
    text-decoration: none;
    padding: .3rem 0;
    border-bottom: 1px solid transparent;
    transition: color .3s, border-color .3s;
  }
  .head__nav a:hover, .head__nav a:focus-visible {
    color: var(--vermilion); border-bottom-color: var(--vermilion); outline: none;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: .75em;
    padding: 1.05em 1.9em;
    border: 1px solid var(--vermilion);
    border-radius: 0;
    background: transparent;
    color: var(--vermilion);
    font-family: var(--f-round);
    font-weight: 400;
    font-size: .78rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background .5s ease, color .5s ease;
  }
  .btn:hover, .btn:focus-visible { background: var(--vermilion); color: var(--paper); outline: none; }
  .btn:focus-visible { box-shadow: 0 0 0 3px rgba(233,69,20,.2); }
  .btn--ghost { background: transparent; color: var(--vermilion); }
  .btn--ghost:hover, .btn--ghost:focus-visible { background: var(--vermilion); color: var(--paper); }
  .btn--fill { background: var(--vermilion); color: var(--paper); letter-spacing: .1em; text-transform: none; padding: .6em 1.2em; font-size: .84rem; }
  .btn--fill:hover, .btn--fill:focus-visible { background: transparent; color: var(--vermilion); }
  .btn svg { width: .9em; height: .9em; flex: none; }
  .head__cta { flex: none; }

  /* ================= ヒーロー（スライダー） ================= */
  .hero {
    position: relative;
    min-height: 84svh;
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--tan);
  }
  .hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 2.6s ease, transform 10s linear;
  }
  .hero__slide.is-on { opacity: 1; transform: scale(1.075); }
  .hero__slide { background-size: cover; background-position: 50% 48%; background-repeat: no-repeat; }
  .hero__slide.s1 { background-image: var(--img-box); }
  .hero__slide.s2 { background-image: var(--img-counter); }
  .hero__slide.s3 { background-image: var(--img-bottles); background-position: 50% 62%; }
  .hero__slide.s4 { background-image: var(--img-ext); }
  .hero__slide.s5 { background-image: var(--img-piano); }
  .hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28,18,11,.72) 0%, rgba(28,18,11,.12) 52%, rgba(28,18,11,.30) 100%);
  }
  .hero__body {
    position: relative;
    z-index: 3;
    padding: 0 var(--pad) clamp(3rem, 8vh, 5.5rem);
    max-width: var(--wrap);
    margin-inline: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(1.1rem, 3vh, 1.9rem);
  }
  .hero__en {
    font-family: var(--f-round);
    font-weight: 400;
    font-size: clamp(.82rem, 1.9vw, .95rem);
    letter-spacing: .38em;
    text-transform: uppercase;
    color: var(--tan);
  }
  .hero__copy {
    margin: 0;
    font-family: var(--f-round);
    font-weight: 400;
    font-size: clamp(1.65rem, 5.4vw, 3.35rem);
    line-height: 1.72;
    letter-spacing: .16em;
    color: var(--cream);
    text-wrap: balance;
  }
  .hero__sub {
    margin: 0;
    max-width: 28rem;
    font-weight: 400;
    font-size: clamp(.88rem, 1.9vw, .98rem);
    line-height: 2.4;
    letter-spacing: .1em;
    color: rgba(253,249,245,.92);
  }
  .hero__dots {
    display: flex;
    gap: .55rem;
    padding-top: .4rem;
  }
  .hero__dots button {
    width: 2.6rem;
    height: 1px;
    padding: 0;
    border: 0;
    background: rgba(253,249,245,.4);
    cursor: pointer;
    transition: background .3s;
  }
  .hero__dots button[aria-current="true"] { background: var(--vermilion); }
  .hero__dots button:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

  /* ================= セクション共通 ================= */
  .sec { padding: clamp(5.5rem, 16vh, 11rem) var(--pad); }
  .sec--tint { background: var(--paper-warm); }
  .sec--cream { background: var(--cream); }

  .lab { display: flex; flex-direction: column; gap: 1.15rem; margin-bottom: clamp(2.6rem, 6vh, 4rem); }
  .lab__en {
    position: relative;
    padding-bottom: 1.25rem;
    font-family: var(--f-round);
    font-weight: 400;
    font-size: clamp(1rem, 2.4vw, 1.35rem);
    letter-spacing: .36em;
    text-transform: uppercase;
    color: var(--vermilion);
  }
  .lab__en::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 3.2rem;
    height: 1px;
    background: var(--brass);
  }
  .lab__jp {
    margin: 0;
    font-family: var(--f-round);
    font-weight: 500;
    font-size: clamp(1.4rem, 3.8vw, 2.25rem);
    line-height: 1.95;
    letter-spacing: .14em;
    text-wrap: balance;
  }

  .prose { max-width: 29rem; display: flex; flex-direction: column; gap: 1.7rem; }
  .prose p { margin: 0; font-size: .98rem; line-height: 2.4; letter-spacing: .09em; }
  .prose p.dim { color: var(--umber-mid); }

  /* ================= 番号付きブロック ================= */
  .num {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
    padding: clamp(3.2rem, 8vh, 5.5rem) 0;
    border-top: 1px solid var(--rule-soft);
  }
  .num__fig { margin: 0; overflow: hidden; border-radius: 0; aspect-ratio: 4 / 3; background: var(--tan); }
  .num__fig { background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; }
  .num__fig.f-counter { background-image: var(--img-counter); }
  .num__fig.f-box { background-image: var(--img-box); }
  .num__fig.f-piano { background-image: var(--img-piano); background-position: 50% 45%; }
  .num--below .num__fig { order: 2; } /* 見出しの下に写真（スマホ） */
  .num__body { display: flex; flex-direction: column; gap: 1.5rem; }
  .num__no {
    display: flex;
    align-items: center;
    gap: .9rem;
    font-family: var(--f-round);
    font-weight: 400;
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--vermilion);
    font-variant-numeric: tabular-nums;
  }
  .num__no::after { content: ""; flex: 1; max-width: 4.5rem; height: 1px; background: var(--rule); }
  .num__t {
    margin: 0;
    font-family: var(--f-round);
    font-weight: 500;
    font-size: clamp(1.24rem, 3.1vw, 1.7rem);
    line-height: 1.9;
    letter-spacing: .13em;
  }
  .num__x { margin: 0; font-size: .95rem; line-height: 2.35; letter-spacing: .08em; max-width: 27rem; }
  .num__act { margin-top: 1rem; }
  @media (min-width: 52rem) {
    .num { grid-template-columns: 1.05fr 1fr; }
    .num--flip .num__fig { order: 2; }
    .num--below:not(.num--flip) .num__fig { order: 0; }
  }

  /* ================= 料金バー ================= */
  .pricebar {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: clamp(1rem, 4vw, 3rem);
    padding: clamp(2.4rem, 5vh, 3.4rem) 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule-soft);
  }
  .pricebar__k { font-family: var(--f-round); font-weight: 400; font-size: 1rem; letter-spacing: .22em; }
  .pricebar__v {
    font-family: var(--f-round);
    font-weight: 400;
    font-size: clamp(1.75rem, 5.4vw, 2.7rem);
    letter-spacing: .08em;
    color: var(--vermilion);
    font-variant-numeric: tabular-nums;
  }
  .pricebar__tax { margin-left: .5em; font-size: .6rem; letter-spacing: .14em; color: var(--umber-mid); vertical-align: .5em; font-weight: 400; }
  .pricebar__note { margin: 0; margin-left: auto; font-family: var(--f-text); font-weight: 300; font-size: .8rem; letter-spacing: .12em; color: var(--umber-mid); }

  /* ================= 全幅の写真帯 ================= */
  .band { position: relative; }
  .band__fig { margin: 0; aspect-ratio: 21 / 9; overflow: hidden; background: var(--tan); }
  .band__fig { background-image: var(--img-bottles); background-size: cover; background-position: 50% 62%; background-repeat: no-repeat; }
  .band__cap {
    position: absolute;
    left: var(--pad);
    bottom: clamp(1.2rem, 4vh, 2.4rem);
    margin: 0;
    font-family: var(--f-round);
    font-weight: 400;
    font-size: clamp(.95rem, 2.4vw, 1.3rem);
    letter-spacing: .2em;
    color: var(--cream);
    text-shadow: 0 1px 24px rgba(28,18,11,.8);
  }
  @media (max-width: 40rem) { .band__fig { aspect-ratio: 4 / 3; } }

  /* ================= お知らせ ================= */
  .news { display: grid; border-top: 1px solid var(--rule); }
  .news__row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .35rem clamp(1rem, 3vw, 2.4rem);
    align-items: baseline;
    padding: 1.7rem 0;
    border-bottom: 1px solid var(--rule-soft);
  }
  .news__d {
    font-family: var(--f-round);
    font-size: .82rem;
    letter-spacing: .2em;
    color: var(--vermilion);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .news__t { font-size: .96rem; letter-spacing: .09em; }
  .news__tag {
    display: inline-block;
    margin-left: .6em;
    padding: .1em .5em;
    border: 1px solid var(--umber-soft);
    border-radius: 2px;
    font-family: var(--f-round);
    font-size: .6rem;
    letter-spacing: .1em;
    color: var(--umber-soft);
    vertical-align: .16em;
  }
  @media (max-width: 34rem) { .news__row { grid-template-columns: 1fr; } }

  /* ================= アクセス ================= */
  .acc { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
  @media (min-width: 56rem) { .acc { grid-template-columns: 1fr 1fr; align-items: start; } }
  .info { display: grid; gap: 1.7rem; }
  .info__row { display: flex; flex-direction: column; gap: .35rem; }
  .info__k {
    font-family: var(--f-round);
    font-weight: 400;
    font-size: .86rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--vermilion);
  }
  .info__v {
    font-family: var(--f-round);
    font-size: 1.02rem;
    line-height: 2.1;
    letter-spacing: .1em;
    font-variant-numeric: tabular-nums;
  }
  .info__v a { color: var(--umber); text-decoration: none; border-bottom: 1px solid var(--rule); }
  .info__v a:hover, .info__v a:focus-visible { color: var(--vermilion); border-color: var(--vermilion); outline: none; }
  .acc__col { display: grid; gap: clamp(1.8rem, 4vh, 2.6rem); align-content: start; }
  .map--compact { max-width: 26rem; }
  .map__svg { display: block; width: 100%; height: auto; border-radius: 0; }
  .map--compact .map__svg text { font-size: 26px; }
  .map__act { margin-top: 1.6rem; }
  .acc__shot { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0; background: var(--tan); }
  .acc__shot { background-image: var(--img-ext); background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; }

  /* ================= フッター ================= */
  .foot { background: var(--vermilion); color: var(--paper); padding: clamp(4rem, 10vh, 6.5rem) var(--pad) 2.2rem; }
  .foot__in { max-width: var(--wrap); margin-inline: auto; display: grid; gap: clamp(2.2rem, 6vw, 4rem); }
  @media (min-width: 52rem) { .foot__in { grid-template-columns: 1.2fr 1fr 1fr; } }
  .foot__logo { width: min(100%, 15rem); color: var(--paper); }
  .foot__brand { display: flex; flex-direction: column; gap: 1.1rem; }
  .foot__kana { font-family: var(--f-round); font-size: .74rem; letter-spacing: .85em; color: rgba(250,242,233,.72); }
  .foot h3 {
    margin: 0 0 1.3rem;
    font-family: var(--f-round);
    font-weight: 400;
    font-size: .86rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(250,242,233,.7);
  }
  .foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; font-family: var(--f-round); font-size: .84rem; letter-spacing: .18em; text-transform: uppercase; }
  .foot a { color: var(--paper); text-decoration: none; border-bottom: 1px solid rgba(250,242,233,.38); transition: border-color .35s ease, opacity .35s ease; }
  .foot a:hover, .foot a:focus-visible { color: var(--paper); border-color: var(--paper); opacity: .78; outline: none; }
  .foot__t { font-family: var(--f-round); font-size: .88rem; letter-spacing: .12em; line-height: 2.3; }
  .foot__bot {
    max-width: var(--wrap);
    margin: clamp(2.5rem, 7vh, 4rem) auto 0;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(250,242,233,.28);
    font-family: var(--f-round);
    font-size: .7rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(250,242,233,.66);
  }

  /* PCの狭い幅（897〜1088px）では文字と余白を少し詰める */
  @media (min-width: 56.0625rem) and (max-width: 68rem) {
    .head__logo { width: 7.9rem; }
    .head__nav { font-size: .9rem; letter-spacing: .18em; gap: 1rem; }
    .head__in { gap: 1.4rem; }
  }

  /* WordPress管理バーがある場合（ログイン中のみ） */
  body.admin-bar .head { top: 32px; }
  @media screen and (max-width: 782px) {
    body.admin-bar .head { top: 46px; }
  }

  /* ================= ハンバーガー（SP） ================= */
  .burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4.5px;
    width: 2.3rem;
    height: 1.75rem;
    padding: 0;
    margin-right: -.4rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex: none;
  }
  .burger span {
    display: block;
    width: 20px;
    height: 1px;
    margin-inline: auto;
    background: var(--vermilion);
    transition: transform .35s ease, opacity .25s ease;
  }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .burger:focus-visible { outline: 1px solid var(--vermilion); outline-offset: 2px; }

  .drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 19;
    background: var(--paper);
    padding: 7.5rem var(--pad) 3rem;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(2rem, 6vh, 3.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .drawer.is-open { display: flex; animation: drawerIn .45s cubic-bezier(.22,.61,.36,1) both; }
  @keyframes drawerIn { from { opacity: 0; transform: translateY(-.8rem); } to { opacity: 1; transform: none; } }
  .drawer__nav { display: grid; border-top: 1px solid var(--rule-soft); }
  .drawer__nav a {
    display: block;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--rule-soft);
    font-family: var(--f-round);
    font-size: clamp(1.35rem, 7vw, 1.9rem);
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--umber);
    text-decoration: none;
  }
  .drawer__nav a:hover, .drawer__nav a:focus-visible { color: var(--vermilion); outline: none; }
  .drawer__foot { display: flex; flex-direction: column; gap: 1.1rem; }
  .drawer__meta {
    font-family: var(--f-round);
    font-size: .82rem;
    letter-spacing: .16em;
    line-height: 2.1;
    color: var(--umber-mid);
  }
  .drawer__tel { align-self: flex-start; }
  html.is-locked, html.is-locked body { overflow: hidden; }

  @media (max-width: 56rem) { .burger { display: flex; } }

  /* ================= スマホのヘッダー ================= */
  .head__in { flex-wrap: nowrap; min-width: 0; }
  .head__nav { min-width: 0; }
  .head__cta .cta-txt { display: none; }
  @media (max-width: 56rem) {
    .head__nav { display: none; }
    .head__in { justify-content: space-between; gap: .9rem; }
    .head__logo { width: 5.9rem; }
    .head__cta {
      padding: .55em 1em;
      font-size: .72rem;
      letter-spacing: .08em;
      gap: .5em;
    }
    .head__cta .cta-num { display: none; }
    .head__cta .cta-txt { display: inline; }
    .head__cta svg { order: -1; width: 1em; height: 1em; }
  }
  @media (max-width: 22rem) {
    .head__logo { width: 5rem; }
    .head__in { gap: .5rem; }
    .head__cta { padding: .55em .8em; font-size: .68rem; letter-spacing: .04em; }
  }

  /* ================= スマホの読みやすさ ================= */
  /* 雰囲気は変えず、線を少し太く・文字を少し大きく・色を少し濃く */
  @media (max-width: 56rem) {
    :root { --umber-mid: #5E4A3B; }
    body { font-weight: 400; }

    .hero__copy { font-weight: 500; }
    .hero__sub { font-size: 1rem; font-weight: 500; line-height: 2.15; color: rgba(253,249,245,.97); }

    .lab__en { font-size: 1.08rem; }
    .lab__jp { font-weight: 600; font-size: clamp(1.5rem, 5.6vw, 1.95rem); line-height: 1.85; }

    .prose p { font-size: 1.06rem; font-weight: 400; line-height: 2.15; }

    .num__no { font-size: 1.12rem; }
    .num__t { font-weight: 600; font-size: 1.34rem; line-height: 1.82; }
    .num__x { font-size: 1.04rem; font-weight: 400; line-height: 2.15; }

    .pricebar__k { font-size: 1.08rem; }
    .pricebar__tax { font-size: .74rem; }
    .pricebar__note { font-size: .9rem; font-weight: 400; }

    .band__cap { font-size: 1.05rem; }

    .news__d { font-size: .9rem; }
    .news__t { font-size: 1.05rem; font-weight: 400; line-height: 1.95; }

    .info__k { font-size: .94rem; }
    .info__v { font-size: 1.12rem; font-weight: 400; line-height: 2; }

    .num__act .btn, .map__act .btn, .drawer__tel { font-size: .88rem; letter-spacing: .16em; padding: 1.05em 1.7em; }

    .drawer__nav a { font-weight: 500; }
    .drawer__meta { font-size: .92rem; font-weight: 400; }

    .foot__kana { color: rgba(250,242,233,.88); }
    .foot h3 { font-size: .94rem; color: rgba(250,242,233,.88); }
    .foot ul { font-size: .92rem; }
    .foot__t { font-size: .96rem; font-weight: 400; line-height: 2.15; }
    .foot__bot { font-size: .76rem; color: rgba(250,242,233,.84); }
  }

  /* ================= 出現 ================= */
  .rv { opacity: 0; transform: translateY(1.4rem); transition: opacity 1.5s cubic-bezier(.22,.61,.36,1), transform 1.5s cubic-bezier(.22,.61,.36,1); }
  .rv.on { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .rv { opacity: 1; transform: none; transition: none; }
    .hero__slide { transition: none; transform: none; }
    .hero__slide.is-on { transform: none; }
  }

  .map__note {
    margin: 1rem 0 0;
    font-family: var(--f-text);
    font-weight: 300;
    font-size: .76rem;
    letter-spacing: .1em;
    color: var(--umber-soft);
  }

  /* ================= お知らせ（リンク化） ================= */
  a.news__row { color: inherit; text-decoration: none; transition: background .3s; }
  a.news__row:hover, a.news__row:focus-visible { background: rgba(233,69,20,.05); outline: none; }
  a.news__row:hover .news__t, a.news__row:focus-visible .news__t { color: var(--vermilion); }
  .news__t { transition: color .3s; }
  .news__more { margin: 1.8rem 0 0; }
  .news__more a {
    font-family: var(--f-round);
    font-weight: 500;
    font-size: .78rem;
    letter-spacing: .14em;
    color: var(--vermilion);
    text-decoration: none;
    border-bottom: 1px solid var(--tan-deep);
    padding-bottom: .2rem;
    transition: border-color .3s;
  }
  .news__more a:hover, .news__more a:focus-visible { border-color: var(--vermilion); outline: none; }

  /* ================= 下層ページ ================= */
  .page { padding-top: clamp(3.5rem, 9vh, 6rem); }
  .entry__body { max-width: 34rem; font-size: 1rem; letter-spacing: .05em; }
  .entry__body > * + * { margin-top: 1.5rem; }
  .entry__body p { margin: 0; }
  .entry__body h2,
  .entry__body h3 {
    font-family: var(--f-round);
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: .05em;
    margin-top: 2.6rem;
  }
  .entry__body h2 { font-size: 1.3rem; }
  .entry__body h3 { font-size: 1.1rem; }
  .entry__body a { color: var(--vermilion); text-decoration: none; border-bottom: 1px solid var(--tan-deep); }
  .entry__body a:hover, .entry__body a:focus-visible { border-color: var(--vermilion); outline: none; }
  .entry__body ul, .entry__body ol { margin: 1.5rem 0 0; padding-left: 1.4em; }
  .entry__body li + li { margin-top: .5rem; }
  .entry__body img { max-width: 100%; height: auto; border-radius: 0; }
  .entry__body blockquote {
    margin: 1.8rem 0 0;
    padding-left: 1.2rem;
    border-left: 2px solid var(--vermilion);
    color: var(--umber-mid);
  }
  .entry__body table { width: 100%; border-collapse: collapse; }
  .entry__body th, .entry__body td { padding: .8rem 0; border-bottom: 1px solid var(--tan-deep); text-align: left; }

  .entry__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: clamp(3rem, 8vh, 5rem);
    padding-top: 1.6rem;
    border-top: 1px solid var(--tan-deep);
    font-family: var(--f-round);
    font-size: .78rem;
    letter-spacing: .1em;
  }
  .entry__next { margin-left: auto; }
  .entry__nav a { color: var(--umber-mid); text-decoration: none; }
  .entry__nav a:hover, .entry__nav a:focus-visible { color: var(--vermilion); outline: none; }

  .pager { margin-top: clamp(2rem, 5vh, 3rem); font-family: var(--f-round); font-size: .82rem; letter-spacing: .1em; }
  .pager .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
  .pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    padding: .5rem .7rem;
    border: 1px solid var(--tan-deep);
    border-radius: 0;
    color: var(--umber-mid);
    text-decoration: none;
    transition: border-color .3s, color .3s;
  }
  .pager .page-numbers:hover, .pager .page-numbers:focus-visible { border-color: var(--vermilion); color: var(--vermilion); outline: none; }
  .pager .page-numbers.current { background: var(--vermilion); border-color: var(--vermilion); color: var(--paper); }

  .backlink { margin-top: clamp(3rem, 8vh, 5rem); font-family: var(--f-round); font-size: .78rem; letter-spacing: .12em; }
  .backlink a { color: var(--vermilion); text-decoration: none; border-bottom: 1px solid var(--tan-deep); padding-bottom: .2rem; }
  .backlink a:hover, .backlink a:focus-visible { border-color: var(--vermilion); outline: none; }

  /* 読み上げ用 */
  .screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
  }

  /* ================= スマホの読みやすさ（下層ページ・注記） ================= */
  @media (max-width: 56rem) {
    .map__note { font-size: .88rem; font-weight: 400; color: var(--umber-mid); }
    .news__more a { font-size: .92rem; }
    .entry__body { font-size: 1.06rem; font-weight: 400; line-height: 2.1; }
    .entry__body h2 { font-size: 1.42rem; font-weight: 600; }
    .entry__body h3 { font-size: 1.2rem; font-weight: 600; }
    .entry__nav { font-size: .9rem; }
    .pager { font-size: .92rem; }
    .backlink { font-size: .9rem; }
  }
