/* =========================================================
   三村時計店 時計修理相談室 ／ common.css
   全ページ共通：変数・ベース・ヘッダー・ドロワー・フッター・固定CTA・電話シート
   読み込み順：common.css → top.css（トップのみ）／post.css（一覧・記事）
   ---------------------------------------------------------
   構成ルール（2026-10-30 整理）
   ・1セクション = 1ブロック。各セクションの末尾に、そのセクションだけの
     ブレイクポイントを幅の広い順（1480 → 1180 → 1000 → 760）に置く
   ・セレクタは1行に1つ、プロパティは1行に1つ、インデントは半角2つ
   ・セクション内の並びは「基本 → @media」。同じセレクタを別セクションに書かない
   ========================================================= */

/* =========================================================
   変数（:root）
   ========================================================= */
:root {
  --black: #121212;  /* 基調の黒 */
  --black-2: #1b1b1b;  /* カード・段差 */
  --black-3: #0b0b0b;  /* フッター・最深部 */
  --navy: #182130;  /* 差し色の紺（比較表・帯） */
  --ink: #f0ede6;  /* 明部テキスト */
  --ink-2: rgba(240,237,230,.72);
  --mute: rgba(240,237,230,.45);
  --ivory: #f4f1ea;  /* 息抜きの明部セクション（理由・流れ）のみ */
  --paper: #121212;
  --line: rgba(255,255,255,.12);
  --line-w: rgba(255,255,255,.14);
  --gold: #b29a68;  /* シャンパンゴールド（アクセント） */
  --gold-2: #d3bf8e;
  --serif: "Shippori Mincho","Yu Mincho","Hiragino Mincho ProN",serif;
  --en: "Cormorant Garamond","Times New Roman",serif;
  --num: "Marcellus","Shippori Mincho","Times New Roman",serif;  /* 数字専用（ライニング数字） */
  --sans: "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  --w: 1400px;  /* コンテンツ最大幅＝行長を決める「箱」（§3）v36: 1180→1400 */
  --pad: clamp(20px,5vw,72px);
  /* 文字サイズ（§2-1：PC16px／SP14pxを下回らせない） */
  --fs-body: clamp(14px,1.1vw,16px);
  --fs-lead: clamp(15px,1.4vw,18px);
  /* §2-1 例外：ラベル・注記・キャプション。拡大すると枠内に収まらなくなる記号的要素 */
  --fs-label: 14px;
  --space-section: clamp(72px,9vw,120px);  /* セクション間余白（§3） */
  /* ステップの段階色（生の色値を直書きしない・§7-3） */
  --step-1: #4d576b;
  --step-2: #2f394c;
  --step-3: #161d2a;
  --header-bg: #0d0d0d;
  --ph-bg: #0e1116;
  --line-green: #06c755;  /* 2026-10-30 LINE廃止。.linebox .lico の既定色としてのみ残す */
}


/* =========================================================
   ベース（要素・本文・行長）
   ========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

section[id],
div[id] {
  scroll-margin-top: 104px;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: .06em;
}

.en {
  font-family: var(--en);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* 数字はすべてライニング数字で統一 */
.num-big,
.fv-trust .n,
.prow .pv,
.stats .sn,
.step .sn,
.tel-big .n,
.drawer .dtel .n,
.scard .stel,
.worry-list li::before,
.ccard .date,
.gnav .tel,
.rb .num-big {
  font-family: var(--num);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1,"tnum" 0;
}

/* 本文の共通ベース ─ 統合ルール §2-1 / §2-2 / §2-3
   max-width は書かない。行長は親コンテナ（--w）で決める */
.lead,
.fv .sub,
.rb p,
.step p,
.worry-list .d,
.fa .a p,
.vcard .vt-txt,
.ccard p,
.cbox p,
.offer p,
.dsub,
.tech p,
.scard dd,
.dstore .sn2 {
  font-size: var(--fs-body);
  text-align: justify;
  line-break: strict;
  word-break: normal;
  text-wrap: pretty;
}

.lead {
  font-size: var(--fs-lead);
}

.wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.vt {
  writing-mode: vertical-rl;
}

.lead {
  margin-top: 20px;
  color: var(--ink-2);
}

.num-big {
  font-family: var(--num);
  font-size: clamp(72px,9vw,120px);
  line-height: 1;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  body {
    padding-bottom: 64px;
  }
}


/* =========================================================
   写真（.ph）・画像リビール
   ========================================================= */
/* ---------- 写真プレースホルダ ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg,#2a2f38 0%,#191d24 45%,#0e1116 100%);
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1.6;
}
/* §2-1 例外：同上 */

/* 質感（斜め極細ライン）※実写差し替え時は削除 */
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: repeating-linear-gradient(135deg,rgba(255,255,255,.03) 0 1px,transparent 1px 14px);
}

.ph.light {
  background: linear-gradient(150deg,#e8e3d8 0%,#d3ccbd 55%,#bdb5a4 100%);
  color: rgba(20,27,39,.6);
}

.ph>span {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 8px 12px;
  background: rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.14);
}

.ph.light>span {
  background: rgba(255,255,255,.6);
  border-color: rgba(20,27,39,.14);
  color: rgba(20,27,39,.7);
}

/* §2-1 例外：写真プレースホルダの識別ラベル。実写差し替え時に消える要素 */
.ph small {
  display: block;
  font-family: var(--en);
  letter-spacing: .2em;
  font-size: 10px;
  opacity: .75;
  margin-bottom: 3px;
}

/* 画像リビール（カーテンが1回だけ引かれる） */
.ph::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 5;
  background: var(--curtain,#0b0b0b);
  transform: scaleX(1);
  transform-origin: right center;
  transition: transform 1.05s cubic-bezier(.76,0,.24,1);
}

.ph.in::after {
  transform: scaleX(0);
}

.ph.rv-up::after {
  transform: scaleY(1);
  transform-origin: bottom center;
}

.ph.rv-up.in::after {
  transform: scaleY(0);
}

.ph.rv-left::after {
  transform-origin: left center;
}

.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.12);
  transition: transform 1.8s cubic-bezier(.2,.7,.2,1);
}

.ph.in img {
  transform: none;
}

/* 実写を入れた枠：質感オーバーレイとキャプションは不要 */
.ph.has-img::before {
  display: none;
}

.ph.has-img>span {
  display: none;
}

.ph.has-img {
  background: #0e1116;
}

.ph:not(.has-img) {
  border: 1px solid rgba(255,255,255,.14);
}

/* 暗い面に載せる写真は少しだけ沈める（黒基調に馴染ませる） */
.ph.dim img {
  filter: brightness(.86) saturate(.92) contrast(1.04);
}

.ph.dim::before {
  display: block;
  content: "";
  background: linear-gradient(180deg,rgba(10,10,10,.12),rgba(10,10,10,.42));
  z-index: 2;
}

.ivory {
  --curtain: #f4f1ea;
}

.price,
.column,
.fv-trust,
.vcard,
.cbox,
.linebox {
  --curtain: #1b1b1b;
}

.voice,
.foot,
.fv {
  --curtain: #0b0b0b;
}

@media (prefers-reduced-motion: reduce) {
  .ph::after {
    display: none;
  }

  .ph img {
    transform: none;
  }
}


/* =========================================================
   共通ラベル・見出し・テーマ（.dark / .ivory）
   ========================================================= */
/* ---------- 共通ラベル ---------- */
/* 見出し上のライン。英字ラベル（Concept/Service 等）は §1-2 #1 により廃止し、
   区切りのラインだけを残している */
.eyebrow {
  display: flex;
  align-items: center;
  height: 1px;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: var(--gold);
}

.h2 {
  font-size: clamp(26px,3.2vw,40px);
  line-height: 1.5;
  margin-top: 26px;
}

.h2 .thin {
  font-weight: 400;
  color: var(--gold-2);
}

.dark .h2 {
  color: #fff;
}

.dark .h2 .thin {
  color: var(--gold-2);
}

.dark .lead {
  color: rgba(255,255,255,.72);
}

.dark {
  background: var(--navy);
  color: #fff;
}

.ivory {
  background: var(--ivory);
  --ink: #1c1c1c;
  --ink-2: #4a4a4a;
  --mute: #8a8a86;
  --line: rgba(20,27,39,.12);
  --paper: #fbfaf7;
  --black-2: #fff;
  color: #1c1c1c;
}

.ivory .fv-trust .n {
  color: #141b27;
}

.ivory .h2 .thin {
  color: var(--gold);
}


/* =========================================================
   ボタン・電話番号（.btn / .tel-big / .tel3）
   ========================================================= */
/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: .12em;
  transition: .3s;
  border: 1px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  padding: 18px 34px;
  font-size: var(--fs-body);
  font-weight: 500;
}

.btn-gold:hover {
  background: var(--gold-2);
  color: var(--navy);
}

.btn-line {
  background: transparent;
  border-color: currentColor;
  padding: 17px 34px;
  font-size: var(--fs-body);
}

.btn-line:hover {
  background: #f0ede6;
  color: #121212;
  border-color: #f0ede6;
}

.ivory .btn-line:hover {
  background: #141b27;
  color: #fff;
  border-color: #141b27;
}

.dark .btn-line:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn .ar {
  font-family: var(--en);
  font-size: 16px;
  transition: transform .3s;
}

.btn:hover .ar {
  transform: translateX(5px);
}

.tel-big {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.tel-big small {
  font-size: var(--fs-label);
  letter-spacing: .12em;
  color: var(--gold);
}

.tel-big .n {
  font-family: var(--num);
  font-size: clamp(32px,4vw,44px);
  letter-spacing: .06em;
  line-height: 1.1;
  font-weight: 500;
}

.tel-big .h {
  font-size: var(--fs-label);
  color: var(--mute);
  letter-spacing: .1em;
}

.dark .tel-big .h {
  color: rgba(255,255,255,.6);
}

.tel3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  width: 100%;
}

.tel3 a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255,255,255,.35);
  padding: 14px 18px;
  transition: border-color .3s,background .3s;
}

.tel3 a:hover {
  border-color: var(--gold);
  background: rgba(178,154,104,.08);
}

.tel3 a small {
  font-size: var(--fs-label);
  letter-spacing: .1em;
  color: var(--gold-2);
  font-family: var(--sans);
}

.tel3 a .n {
  font-family: var(--num);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  font-size: clamp(21px,1.9vw,27px);
  letter-spacing: .04em;
  line-height: 1.25;
  color: #fff;
  margin-top: 2px;
  white-space: nowrap;
}

.chk {
  color: #e0b23c;
  font-size: var(--fs-label);
  letter-spacing: .04em;
}

.tel3-ttl {
  font-size: var(--fs-label);
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: 12px;
}

.tel3-note {
  margin-top: 12px;
  font-size: var(--fs-label);
  color: var(--mute);
  letter-spacing: .06em;
}

.ti {
  width: .95em;
  height: .95em;
  fill: currentColor;
  vertical-align: -.12em;
  margin-right: .28em;
  flex: none;
}

@media (max-width: 760px) {
  .tel3 {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tel3 a {
    padding: 12px 16px;
  }

  .tel3 a .n {
    font-size: 24px;
  }
}


/* =========================================================
   ヘッダー（PC：固定ナビ／SP：ハンバーガー）
   ========================================================= */
#navToggle {
  display: none;
}

.hd {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px var(--pad);
  transition: background .4s,padding .4s,border-color .4s;
  border-bottom: 1px solid transparent;
}

.hd.scrolled {
  background: var(--header-bg);
  padding: 12px var(--pad);
  border-bottom-color: rgba(255,255,255,.12);
}

/* メニューを開いている間は、ヘッダーの帯とロゴ・ナビを退けて閉じるボタンだけを残す */
.hd .logo,
.hd .gnav {
  transition: opacity .3s,visibility .3s;
}

#navToggle:checked ~ .hd {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

#navToggle:checked ~ .hd .logo,
#navToggle:checked ~ .hd .gnav {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #fff;
  flex: none;
}

/* 2026-10-23 ロゴ脇の文字が縦に折れないよう固定（flexの縮小対象から外す） */
.logo>span:last-child {
  white-space: nowrap;
  flex: none;
}

.logo .mk {
  width: 118px;
  flex: none;
  filter: invert(1) brightness(1.6);
}

.logo .mk img {
  width: 100%;
  height: auto;
}

.logo .div {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,.28);
}

.logo .t1 {
  font-family: var(--serif);
  font-size: var(--fs-body);
  letter-spacing: .14em;
  line-height: 1.3;
  display: block;
}

/* 2026/9/7 英字表記を使用。ロゴ内に印字されているブランド表記と同一のため
   （統合ルール §1-3 例外条件1）。§2-1 例外：ロゴ脇の識別表記 */
.logo .t2 {
  font-size: 11px;
  letter-spacing: .12em;
  opacity: .75;
  font-family: var(--serif);
}

.gnav {
  display: flex;
  align-items: center;
  gap: clamp(12px,1.6vw,26px);
  margin-left: auto;
}

.gnav a {
  text-decoration: none;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .1em;
  color: #fff;
  opacity: .9;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.gnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: .3s;
}

.gnav a:hover {
  opacity: 1;
}

.gnav a:hover::after {
  width: 100%;
}

.gnav .tel {
  font-size: 24px;
  letter-spacing: .04em;
  opacity: 1;
  padding-left: clamp(12px,1.8vw,26px);
  border-left: 1px solid rgba(255,255,255,.22);
}

.gnav .tel small {
  display: block;
  font-size: var(--fs-label);
  letter-spacing: .14em;
  color: var(--gold-2);
  font-family: var(--sans);
  margin-bottom: 1px;
}

.gnav .hcta {
  background: var(--gold);
  color: #fff;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .1em;
  opacity: 1;
}

.gnav .hcta::after {
  display: none;
}

.gnav .hcta:hover {
  background: var(--gold-2);
  color: #121212;
}

.hamb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 2px;
  color: #fff;
}

.hamb .bars {
  position: relative;
  width: 44px;
  height: 12px;
}

.hamb .bars i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: .4s cubic-bezier(.7,0,.3,1);
}

.hamb .bars i:nth-child(1) {
  top: 0;
}

.hamb .bars i:nth-child(2) {
  bottom: 0;
}

/* 2026/9/7 MENU/CLOSE の英字を使用。開閉状態を示す機能ラベルのため
   （統合ルール §1-5）。§2-1 例外：アイコンに添える記号的ラベル */
.hamb .lb {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: .16em;
  line-height: 1;
}

.hamb .lb::after {
  content: "MENU";
}

#navToggle:checked ~ .hd .hamb .bars i:nth-child(1) {
  top: 5.5px;
  transform: rotate(13deg);
}

#navToggle:checked ~ .hd .hamb .bars i:nth-child(2) {
  bottom: 5.5px;
  transform: rotate(-13deg);
}

#navToggle:checked ~ .hd .hamb .lb::after {
  content: "CLOSE";
}

#navToggle:checked ~ .drawer {
  opacity: 1;
  visibility: visible;
}

.gnav .teldd {
  position: relative;
  margin-left: clamp(4px,1vw,12px);
}

.gnav .teldd>button {
  background: var(--gold);
  color: #fff;
  border: 0;
  cursor: pointer;
  padding: 14px 22px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.gnav .teldd>button::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
  margin-top: -4px;
}

.gnav .teldd>button:hover {
  background: var(--gold-2);
  color: #121212;
}

.gnav .tpanel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 270px;
  background: var(--header-bg);
  border: 1px solid var(--line-w);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 120;
}

.gnav .teldd:hover .tpanel,
.gnav .teldd:focus-within .tpanel,
.gnav .teldd.open .tpanel {
  display: flex;
}

.gnav .tpanel a {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  opacity: 1;
  font-family: var(--sans);
  white-space: nowrap;
}

.gnav .tpanel a::after {
  display: none;
}

.gnav .tpanel a:hover {
  background: rgba(255,255,255,.06);
}

.gnav .tpanel a small {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--gold-2);
}

.gnav .tpanel a .n {
  font-family: var(--num);
  font-size: 22px;
  letter-spacing: .04em;
  line-height: 1.2;
  color: #fff;
}

@media (max-width: 1480px) {
  .gnav .gnav-sub {
    display: none;
  }

  .gnav {
    gap: clamp(10px,1.3vw,20px);
  }

  .gnav a {
    font-size: 15px;
    letter-spacing: .08em;
  }

  .logo .mk {
    width: 108px;
  }

  .logo .t2 {
    display: none;
  }
}

@media (max-width: 1180px) {
  .gnav {
    display: none;
  }

  .logo .t2 {
    display: none;
  }

  .logo .mk {
    width: 104px;
  }
}

@media (max-width: 760px) {
  .logo .t1 {
    display: none;
  }

  .logo .div {
    display: none;
  }

  .logo .mk {
    width: 92px;
  }

  .hd {
    padding: 14px 16px;
  }
}


/* =========================================================
   ドロワー（全画面メニュー）
   ========================================================= */
/* 全画面メニュー */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--black-3);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease,visibility .4s;
  display: block;
  overflow-y: auto;
  overscroll-behavior: contain;  /* 2026-10-30 メニュー内を端までスクロールしても背面のページへ伝播させない */
  padding: 120px var(--pad) 70px;
}

/* 2026-10-30 メニューを開いている間は背面のページをスクロールさせない（common.js が body に .nav-open を付ける） */
body.nav-open {
  overflow: hidden;
}

.dwrap {
  max-width: var(--w);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  gap: clamp(30px,5vw,70px);
  align-items: start;
}

.drawer .logo {
  margin-bottom: 34px;
}

.drawer .logo .t1 {
  display: block;
  font-size: 18px;
}

.drawer .logo .t2 {
  display: block;
}

.drawer .logo .div {
  display: block;
}

.dcopy {
  font-family: var(--serif);
  font-size: clamp(20px,2.4vw,28px);
  line-height: 1.8;
  letter-spacing: .08em;
}

.dsub {
  color: rgba(255,255,255,.6);
  margin-top: 16px;
  line-height: 2;
}

.drawer .dtel {
  display: block;
  text-decoration: none;
  margin-top: 32px;
}

.drawer .dtel .n {
  font-family: var(--num);
  font-size: clamp(30px,3.4vw,40px);
  letter-spacing: .04em;
  color: #fff;
  line-height: 1.2;
}

.drawer .dtel small {
  display: block;
  font-size: var(--fs-label);
  letter-spacing: .14em;
  color: var(--gold-2);
  font-family: var(--sans);
}

.drawer .dcta {
  margin-top: 26px;
}

.dnav {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(20px,3vw,44px);
  border-top: 1px solid var(--line-w);
}

.dnav li {
  border-bottom: 1px solid var(--line-w);
}

.dnav a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 4px;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .1em;
  transition: .3s;
}

.dnav a::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  flex: none;
  opacity: .75;
  transition: .3s;
}

.dnav a:hover {
  padding-left: 14px;
  color: var(--gold-2);
}

/* メニュー内の店舗案内 */
.dstore-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 40px 0 20px;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .14em;
}

.dstore-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-w);
}

.dstore-head .dmore {
  order: 2;
  text-decoration: none;
  font-size: var(--fs-label);
  letter-spacing: .1em;
  color: var(--gold-2);
  white-space: nowrap;
  padding: 4px 0;
}

.dstore-head .dmore .ar {
  font-family: var(--en);
  margin-left: 4px;
}

.dstore-head .dmore:hover {
  color: #fff;
}

.dstores {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: clamp(12px,1.6vw,22px);
}

.dstore {
  text-decoration: none;
  color: inherit;
  display: block;
}

.dstore .ph {
  aspect-ratio: 4/3;
}

.dstore .ph::after {
  display: none;
}

.dstore .sn2 {
  font-family: var(--serif);
  letter-spacing: .06em;
  margin-top: 12px;
  line-height: 1.6;
  text-align: left;
}

.dstore .sn2 b {
  display: block;
  font-weight: 500;
  color: var(--gold-2);
  font-size: var(--fs-label);
  letter-spacing: .1em;
  margin-bottom: 3px;
}

.dstore .st2 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--num);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  font-size: clamp(18px,1.5vw,22px);
  letter-spacing: .04em;
  margin-top: 6px;
  color: #fff;
  text-decoration: none;
  line-height: 1.3;
}

.dstore .st2 .ti {
  width: .9em;
  height: .9em;
  fill: #fff;
}

.dstore .st2:hover {
  color: var(--gold-2);
}

.dstore .dct {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.dstore .dct .st2 {
  margin-top: 0;
}

@media (max-width: 1000px) {
  .dwrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .drawer {
    padding-top: 100px;
  }

  .dcopy {
    font-size: 20px;
  }
}

@media (max-width: 760px) {
  .drawer {
    padding: 88px 22px 40px;
  }

  .drawer .logo {
    margin-bottom: 24px;
  }

  .drawer .logo .mk {
    width: 100px;
  }

  .dnav {
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }

  .dnav a {
    padding: 14px 2px;
    font-size: 15px;
    gap: 9px;
    letter-spacing: .06em;
  }

  .dstores {
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
  }

  .dstore .sn2 {
    margin-top: 10px;
    font-size: var(--fs-label);
  }

  .dstore .st2 {
    font-size: 18px;
  }

  .dstore .dct {
    gap: 8px;
  }
}


/* =========================================================
   FVのスクロール指示
   ========================================================= */
/* FV右端のスクロール指示（縦向き） */
.scroll-ind {
  position: absolute;
  right: clamp(18px,2.2vw,34px);
  bottom: 120px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,.62);
}

/* 「SCROLL」の英字表記は §1-2 #10 により削除し、動く縦線のみで示す */
.scroll-ind i {
  display: block;
  width: 1px;
  height: 96px;
  background: rgba(255,255,255,.35);
  position: relative;
  overflow: hidden;
}

.scroll-ind i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(-100%);
  animation: sc 2.6s ease-in-out infinite;
}

@keyframes sc {
  0% {
    transform: translateY(-100%);
  }
  60% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(100%);
  }
}


/* =========================================================
   フッター
   ========================================================= */
.foot {
  background: var(--black-3);
  color: rgba(255,255,255,.7);
  border-top: 1px solid var(--line);
  padding: clamp(56px,7vw,88px) 0 clamp(90px,10vw,130px);
}

.foot .ftop {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: clamp(32px,4vw,64px);
  align-items: start;
}

.foot .fbrand .logo {
  text-decoration: none;
  color: #fff;
}

.foot .fcopy {
  margin-top: 22px;
  font-size: var(--fs-body);
  line-height: 2;
  color: rgba(255,255,255,.6);
}

.foot .fstores {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3,auto);
  gap: 14px;
}

.foot .fstores li {
  border: 1px solid var(--line);
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255,255,255,.02);
}

.foot .fstores .sn {
  font-family: var(--serif);
  font-size: var(--fs-body);
  letter-spacing: .06em;
  line-height: 1.6;
  color: #fff;
}

.foot .fstores .sn b {
  display: block;
  font-weight: 500;
  color: var(--gold-2);
  font-size: var(--fs-label);
  letter-spacing: .1em;
  margin-bottom: 3px;
}

.foot .fstores .st {
  font-family: var(--num);
  font-size: clamp(18px,1.4vw,21px);
  letter-spacing: .04em;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.3;
  white-space: nowrap;
}

.foot .fstores .st .ti {
  width: .9em;
  height: .9em;
  fill: #fff;
}

.foot .fstores .ct {
  display: flex;
  align-items: center;
  gap: 12px;
}

.foot .fbot {
  margin-top: clamp(36px,5vw,56px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.foot .links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

/* §2-1 例外：フッターの機能的なリンク（§1-5）。本文ではなくさりげなく置く要素 */
.foot .links a {
  text-decoration: none;
  opacity: .7;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .1em;
  transition: .3s;
}

.foot .links a:hover {
  opacity: 1;
  color: var(--gold-2);
}

.foot .links .ext {
  width: 11px;
  height: 11px;
  margin-left: 5px;
  vertical-align: -1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* §2-1 例外：コピーライト表記 */
.foot .copy {
  font-size: 12px;
  letter-spacing: .1em;
  font-family: var(--en);
  opacity: .5;
}

.foot .addr a {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 760px) {
  .foot {
    padding-bottom: 90px;
  }

  .foot .ftop {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .foot .fstores {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .foot .fstores li {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    gap: 8px;
  }

  .foot .fstores .sn {
    width: 100%;
    font-size: var(--fs-label);
  }

  .foot .fbot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .foot .ftop {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .foot .fstores {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 1180px) and (min-width: 761px) {
  .foot .ftop {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .foot .fstores {
    grid-template-columns: repeat(3,1fr);
  }
}


/* =========================================================
   固定CTAバー（SP）・電話シート
   ========================================================= */
.fixbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 65;
  display: none;
  gap: 1px;
  background: var(--black-3);
  border-top: 1px solid var(--line-w);
}

.fixbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 6px;
  text-decoration: none;
  color: #fff;
  font-size: var(--fs-body);
  letter-spacing: .08em;
  font-weight: 500;
  background: var(--black-2);
}

.fixbar a.f-tel {
  background: var(--gold);
  color: #fff;
}

.fixbar a.f-tel small {
  color: rgba(255,255,255,.85);
}

#telToggle {
  display: none;
}

.telsheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: var(--black-3);
  border-top: 1px solid var(--gold);
  padding: 22px 20px calc(24px + env(safe-area-inset-bottom,0px));
  transform: translateY(105%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  color: #fff;
}

.telsheet .tsh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .1em;
  margin-bottom: 14px;
}

.telsheet .tsh label {
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--mute);
  cursor: pointer;
  padding: 6px 0;
}

.telsheet .tel3 {
  grid-template-columns: 1fr;
}

.telsheet .tel3 a {
  padding: 12px 16px;
}

.telsheet .tel3 a .n {
  font-size: 24px;
}

.telmask {
  position: fixed;
  inset: 0;
  z-index: 119;
  background: rgba(0,0,0,.6);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

#telToggle:checked ~ .telsheet {
  transform: none;
}

#telToggle:checked ~ .telmask {
  opacity: 1;
  visibility: visible;
}

.fixbar label.f-tel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 6px;
  color: #fff;
  font-size: var(--fs-body);
  letter-spacing: .08em;
  font-weight: 500;
  background: var(--gold);
  cursor: pointer;
}

@media (max-width: 760px) {
  .fixbar {
    display: flex;
  }
}


/* =========================================================
   スクロール表示アニメーション（.rv）
   ========================================================= */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease,transform .9s cubic-bezier(.2,.7,.2,1);
}

.rv.in {
  opacity: 1;
  transform: none;
}

.rv.d1 {
  transition-delay: .12s;
}

.rv.d2 {
  transition-delay: .24s;
}

.rv.d3 {
  transition-delay: .36s;
}

@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marq .track {
    animation: none;
  }
}


/* =========================================================
   404ページ
   ========================================================= */
/* トップと同じ黒背景。数字・見出し・案内文・ボタンを中央に1列で置く
   追加：2026-10-07 株式会社マザーアンドチルドレン */
.nf {
  padding: calc(104px + clamp(48px,6vw,80px)) 0 clamp(64px,8vw,104px);
  background: var(--paper);
}

.nf .in {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.nf .num-big {
  font-size: clamp(64px,8vw,104px);
  letter-spacing: .04em;
}

.nf .h1 {
  font-size: clamp(22px,2.6vw,30px);
  line-height: 1.6;
  margin-top: 28px;
  font-weight: 500;
  letter-spacing: .08em;
}

.nf .lead {
  margin-top: 18px;
  font-size: var(--fs-body);
  line-height: 2;
  text-align: center;
}

.nf .btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(32px,4vw,44px);
}

@media (max-width: 760px) {
  .nf {
    padding: calc(72px + 48px) 0 64px;
  }

  .nf .lead {
    text-align: justify;
  }

  .nf .lead br.pc {
    display: none;
  }

  .nf .btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nf .btns .btn {
    width: 100%;
  }
}


/* =========================================================
   検索結果ページ
   ========================================================= */
/* 404（.nf）と同じ構成。見出し・件数・結果リスト・ボタンを中央寄せの1列で置く
   追加：2026-11-02 株式会社マザーアンドチルドレン */
.sr {
  padding: calc(104px + clamp(48px,6vw,80px)) 0 clamp(64px,8vw,104px);
  background: var(--paper);
}

.sr .in {
  max-width: 760px;
  margin: 0 auto;
}

.sr .h1 {
  font-size: clamp(22px,2.6vw,30px);
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: .08em;
  text-align: center;
}

.sr .h1 .q {
  color: var(--gold-2);
}

.sr .count {
  margin-top: 14px;
  font-size: var(--fs-body);
  color: var(--ink-2);
  text-align: center;
  letter-spacing: .06em;
}

.sr .count .n {
  font-family: var(--num);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  font-size: 1.3em;
  color: var(--gold-2);
  margin-right: 2px;
}

.sr .lead {
  margin-top: 18px;
  font-size: var(--fs-body);
  line-height: 2;
  text-align: center;
}

.sr-list {
  list-style: none;
  margin-top: clamp(32px,4vw,44px);
  border-top: 1px solid var(--line-w);
}

.sr-list li {
  border-bottom: 1px solid var(--line-w);
}

.sr-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 6px;
  text-decoration: none;
  color: inherit;
  transition: .3s;
}

.sr-list a:hover {
  padding-left: 16px;
  color: var(--gold-2);
}

.sr-list .cat {
  flex: none;
  font-size: var(--fs-label);
  letter-spacing: .1em;
  color: var(--gold-2);
  border: 1px solid rgba(178,154,104,.5);
  padding: 2px 10px;
  line-height: 1.6;
  white-space: nowrap;
}

.sr-list .t {
  flex: 1;
  font-family: var(--serif);
  font-size: var(--fs-lead);
  letter-spacing: .06em;
  line-height: 1.6;
}

.sr-list .ar {
  flex: none;
  font-family: var(--en);
  font-size: 16px;
  color: var(--gold);
  transition: transform .3s;
}

.sr-list a:hover .ar {
  transform: translateX(5px);
}

/* ページ送り（WordPress 標準の the_posts_pagination 出力） */
.sr .pagination {
  margin-top: clamp(28px,3.5vw,40px);
}

.sr .pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.sr .nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.sr .nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-w);
  text-decoration: none;
  font-family: var(--num);
  font-size: var(--fs-body);
  letter-spacing: .04em;
  color: var(--ink);
  transition: .3s;
}

.sr .nav-links a.page-numbers:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.sr .nav-links .page-numbers.current {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.sr .nav-links .page-numbers.dots {
  border-color: transparent;
}

.sr .btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(32px,4vw,44px);
}

@media (max-width: 760px) {
  .sr {
    padding: calc(72px + 48px) 0 64px;
  }

  .sr .lead {
    text-align: justify;
  }

  .sr .lead br.pc {
    display: none;
  }

  .sr-list a {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 16px 4px;
  }

  .sr-list .t {
    flex: 1 1 100%;
    order: 3;
    font-size: var(--fs-body);
  }

  .sr-list .ar {
    margin-left: auto;
  }

  .sr .btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .sr .btns .btn {
    width: 100%;
  }
}
