/*
Theme Name: Mio Piano
Description: Mioピアノ教室（横浜市保土ケ谷区峰岡町）公式サイト用オリジナルテーマ。ベースカラーは 外観 > カスタマイズ > ベースカラー で切り替えられます。
Author: Lumiere Inc.
Version: 0.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mio-piano
*/

/* =========================================================
   ベースカラー（3案）
   --base     : ご指定のベースカラー
   --on-base  : ベースカラーの上にのせる文字色
   --soft/pale: ベースカラーを薄めた背景色
   --deep     : 見出しのアクセント・リンク用（ベースカラーを濃くした色）
   --btn-*    : ボタンの色
   ========================================================= */
:root,
html[data-color="mint"] {
  --base: #8effc6;
  --on-base: #0c5a40;
  --soft: #e2fff0;
  --pale: #f4fffa;
  --deep: #0e8a60;
  --deep-hover: #0b7350;
  --btn-bg: #8effc6;
  --btn-ink: #0c5a40;
  --btn-hover: #73f2b4;
  --line-soft: #c5f3dc;
}
html[data-color="peach"] {
  --base: #ffd6ad;
  --on-base: #7a3f15;
  --soft: #ffeedd;
  --pale: #fff9f2;
  --deep: #c96a2b;
  --deep-hover: #b05a21;
  --btn-bg: #c96a2b;
  --btn-ink: #fff;
  --btn-hover: #b05a21;
  --line-soft: #f8dcc0;
}
html[data-color="green"] {
  --base: #38b48b;
  --on-base: #ffffff;
  --soft: #def4ec;
  --pale: #f3fbf8;
  --deep: #1f8f6b;
  --deep-hover: #18785a;
  --btn-bg: #1f8f6b;
  --btn-ink: #fff;
  --btn-hover: #18785a;
  --line-soft: #c3e8da;
}
/* イエロー：背景はクリーム #fff8e7、帯・タグ・ボタンが #ffec47 */
html[data-color="yellow"] {
  --base: #ffec47;
  --on-base: #4f3d00;
  --soft: #fff8e7;
  --pale: #fffcf3;
  --deep: #9a7200;
  --deep-hover: #7f5e00;
  --btn-bg: #ffec47;
  --btn-ink: #4f3d00;
  --btn-hover: #f7df1e;
  --line-soft: #f3e4a6;
}
/* クリームはとても淡いので、丸い飾りと枠線だけ一段濃い色を使う */
html[data-color="cream"] {
  --base: #fff8e7;
  --on-base: #6b4e16;
  --soft: #fff8e7;
  --pale: #fffcf4;
  --deep: #a9792b;
  --deep-hover: #8f6522;
  --btn-bg: #a9792b;
  --btn-ink: #fff;
  --btn-hover: #8f6522;
  --line-soft: #efe0bb;
  --blob: #f6e7c3;
  --bg: #fff;
}
html[data-color="cream"] :is(.sec-en, .hero-tags li, .logo-mark, .intro-badge span, .feature-img span, .voice-card::before, .menu-btn, .check li::before) { box-shadow: inset 0 0 0 1.5px var(--line-soft); }
html[data-color="cream"] .sec-title::after { background: repeating-linear-gradient(90deg, #e3cd98 0 12px, transparent 12px 18px); }
html[data-color="cream"] .site-header { border-bottom-color: var(--line-soft); }
html[data-color="cream"] .cta { border-top: 2px solid var(--line-soft); }
:root {
  --ink: #45403d;
  --ink-light: #7a736f;
  --bg: #fffdfa;
  --white: #fff;
  --line-green: #06c755;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(70, 60, 50, .08);
  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Quicksand", var(--font-head);
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: .03em;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--deep); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.5; margin: 0; }
p { margin: 0 0 1.2em; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(800px, 100% - 40px); }
.center { text-align: center; }
.small { font-size: 14px; color: var(--ink-light); line-height: 1.8; }
.more { margin: 44px 0 0; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }
br.pc { display: none; }
@media (min-width: 800px) { br.pc { display: inline; } }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 12px 30px;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-head); font-size: 16px; font-weight: 700; line-height: 1.4;
  text-decoration: none; text-align: center;
  transition: transform .2s, background-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 6px 16px color-mix(in srgb, var(--deep) 26%, transparent); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { background: #fff; color: var(--deep); border-color: var(--deep); }
.btn-ghost:hover { background: var(--pale); }
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 6px 16px rgba(6, 199, 85, .28); }
.btn-line:hover { background: #05b34c; }
.btn-line-mark { flex: none; white-space: nowrap; background: #fff; color: var(--line-green); border-radius: 7px; padding: 3px 6px; font: 700 11px/1.2 var(--font-en); letter-spacing: .04em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }
@media (max-width: 599px) { .btn { padding-inline: 20px; font-size: 15.5px; } .btn-row .btn { width: 100%; } }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px clamp(16px, 3vw, 36px);
  background: rgba(255, 253, 250, .94); backdrop-filter: blur(8px);
  border-bottom: 4px solid var(--base);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo-mark {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--base); color: var(--on-base); font-size: 24px; line-height: 1;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-text small { font-size: 11px; color: var(--ink-light); letter-spacing: .08em; }
.logo-text b { font-family: var(--font-head); font-size: 21px; letter-spacing: .04em; }
.gnav { display: flex; align-items: center; gap: 4px; }
.gnav a {
  padding: 8px 9px; border-radius: 999px;
  color: var(--ink); font-family: var(--font-head); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.gnav a:hover, .gnav a[aria-current] { background: var(--soft); color: var(--deep); }
.gnav .nav-cta { margin-left: 8px; padding: 10px 18px; background: var(--btn-bg); color: var(--btn-ink); }
.gnav .nav-cta:hover { background: var(--btn-hover); color: var(--btn-ink); }
.menu-btn { display: none; }
@media (max-width: 1260px) {
  .menu-btn {
    display: grid; gap: 6px; align-content: center; justify-items: center;
    width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%;
    background: var(--base); cursor: pointer;
  }
  .menu-btn span { width: 22px; height: 2px; border-radius: 2px; background: var(--on-base); transition: transform .25s, opacity .25s; }
  .nav-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .menu-btn span:nth-child(2) { opacity: 0; }
  .nav-open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .gnav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 20px 24px; background: var(--bg); box-shadow: 0 20px 30px rgba(0, 0, 0, .08);
  }
  .nav-open .gnav { display: flex; }
  .gnav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px dashed var(--line-soft); font-size: 16px; }
  .gnav .nav-cta { margin: 18px 0 0; border: 0; border-radius: 999px; text-align: center; }
}

/* ---------- セクション共通 ---------- */
.sec { padding: clamp(64px, 9vw, 110px) 0; }
.sec-soft { background: var(--pale); }
.sec-head { margin-bottom: 40px; text-align: center; }
.sec-en {
  display: inline-block; margin-bottom: 8px; padding: 3px 16px; border-radius: 999px;
  background: var(--base); color: var(--on-base);
  font: 700 13px/1.6 var(--font-en); letter-spacing: .14em; text-transform: uppercase;
}
.sec-title { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: .06em; }
.sec-title::after {
  content: ""; display: block; width: 64px; height: 6px; margin: 16px auto 0; border-radius: 6px;
  background: repeating-linear-gradient(90deg, var(--base) 0 12px, transparent 12px 18px);
}
.sec-lead { margin-bottom: 40px; }

/* ---------- トップ：ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px);
  background:
    radial-gradient(circle at 88% 12%, var(--blob, var(--base)) 0 130px, transparent 131px),
    radial-gradient(circle at 4% 96%, color-mix(in srgb, var(--blob, var(--base)) 55%, #fff) 0 180px, transparent 181px),
    var(--soft);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 46px;
  background: var(--bg); clip-path: ellipse(60% 100% at 50% 100%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-area {
  display: inline-block; margin-bottom: 18px; padding: 4px 18px; border-radius: 999px;
  background: #fff; color: var(--deep); font-family: var(--font-head); font-size: 15px; font-weight: 700;
}
.hero h1 { font-size: clamp(27px, 4vw, 50px); line-height: 1.5; letter-spacing: .04em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 em { font-style: normal; color: var(--deep); background: linear-gradient(transparent 68%, #fff 68%); }
.hero-lead { margin: 22px 0; font-size: clamp(16px, 1.6vw, 18px); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero-tags li {
  padding: 5px 18px; border-radius: 999px;
  background: var(--base); color: var(--on-base); font-family: var(--font-head); font-size: 15px; font-weight: 700;
}
.hero-photos { position: relative; width: min(520px, 100%); aspect-ratio: 1 / 1; margin-inline: auto; }
.hero-photos img { position: absolute; object-fit: cover; border: 6px solid #fff; box-shadow: var(--shadow); }
.hp1 { left: 0; top: 0; width: 62%; height: 78%; border-radius: 46% 54% 50% 50% / 40% 40% 60% 60%; }
.hp2 { right: 0; top: 8%; width: 40%; height: 46%; border-radius: 50%; }
.hp3 { right: 6%; bottom: 0; width: 46%; height: 42%; border-radius: 30px; }
.hero-note { position: absolute; font-size: 44px; line-height: 1; color: var(--deep); opacity: .75; }
.hero-note.n1 { left: 4%; bottom: 4%; transform: rotate(-12deg); }
.hero-note.n2 { right: 2%; top: -4%; transform: rotate(10deg); font-size: 36px; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }

/* ---------- トップ：ごあいさつ ---------- */
.intro-badge span {
  display: inline-block; padding: 8px 26px; border-radius: 999px;
  background: var(--base); color: var(--on-base); font-family: var(--font-head); font-size: 19px; font-weight: 700;
}

/* ---------- 特徴 ---------- */
.feature-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.feature { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.feature-img { position: relative; }
.feature-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.feature-img span {
  position: absolute; left: 18px; bottom: -22px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--base); color: var(--on-base); border: 4px solid #fff; font: 700 18px/1 var(--font-en);
}
.feature h3 { margin: 34px 24px 8px; font-size: 20px; }
.feature p { margin: 0 24px 26px; font-size: 16px; line-height: 1.9; }

.feature-rows { display: grid; gap: 40px; }
.feature-row { display: grid; gap: 24px; align-items: center; }
.feature-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-row .num { font: 700 40px/1 var(--font-en); color: var(--deep); opacity: .85; }
.feature-row h3 { margin: 6px 0 12px; font-size: 23px; }
@media (min-width: 800px) {
  .feature-row { grid-template-columns: 5fr 7fr; gap: 48px; }
  .feature-row:nth-child(even) img { order: 2; }
}

/* ---------- コース ---------- */
.course-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.course-card {
  display: flex; flex-direction: column; padding: 28px 24px;
  background: #fff; border: 2px solid var(--line-soft); border-top: 10px solid var(--base); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course-card h3 { font-size: 18px; letter-spacing: 0; margin-bottom: 10px; }
.course-card p { flex: 1; font-size: 15.5px; line-height: 1.85; }
.course-card strong { font-family: var(--font-head); font-size: 19px; color: var(--deep); }

.anchor-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.anchor-nav a {
  padding: 8px 20px; border-radius: 999px; background: var(--soft);
  color: var(--deep); font-family: var(--font-head); font-size: 15px; font-weight: 700; text-decoration: none;
}
.anchor-nav a:hover { background: var(--base); color: var(--on-base); }
.course-lead { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--deep); }
.course-head .sec-head { text-align: left; margin-bottom: 20px; }
.course-head .sec-title::after { margin-left: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.2em; }
.chips.center { justify-content: center; }
.chips li { padding: 4px 18px; border-radius: 999px; background: #fff; border: 2px solid var(--base); font-family: var(--font-head); font-weight: 700; font-size: 15.5px; }
.price-box { margin-top: 32px; padding: clamp(24px, 4vw, 40px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.price-box h3 { margin-bottom: 14px; padding-left: 14px; border-left: 8px solid var(--base); font-size: 21px; }
.price-box > :last-child { margin-bottom: 0; }
.price-list { margin: 0 0 20px; }
.price-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 4px; border-bottom: 2px dashed var(--line-soft); }
.price-list dt { font-family: var(--font-head); font-weight: 700; }
.price-list dd { margin: 0; font-family: var(--font-head); font-size: 21px; font-weight: 700; color: var(--deep); white-space: nowrap; }
.notes { margin-bottom: 1.2em; font-size: 15px; color: var(--ink-light); }
.notes li { padding-left: 1.3em; text-indent: -1.3em; }
.notes li::before { content: "※"; margin-right: .3em; }
.bubbles { display: grid; gap: 12px; margin-bottom: 28px; }
.bubbles li { padding: 14px 24px; border-radius: 26px 26px 26px 6px; background: var(--soft); font-family: var(--font-head); font-weight: 700; }
.bubbles li::before { content: "「"; } .bubbles li::after { content: "」"; }
@media (min-width: 800px) { .bubbles { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 動画 ---------- */
.movie-grid { display: grid; gap: 30px; align-items: center; }
.movie-grid .sec-head { margin-bottom: 20px; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.yt button { all: unset; display: block; width: 100%; height: 100%; cursor: pointer; }
.yt img, .yt iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.yt-play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: var(--base); box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.yt-play::after { content: ""; position: absolute; left: 34px; top: 26px; border: 16px solid transparent; border-left: 24px solid var(--on-base); border-right: 0; }
@media (min-width: 900px) { .movie-grid { grid-template-columns: 1fr 1.5fr; } .movie-grid .sec-head { text-align: left; } .movie-grid .sec-title::after { margin-left: 0; } }

/* ---------- 講師 ---------- */
.teacher-teaser, .profile, .split { display: grid; gap: 34px; align-items: center; }
.teacher-teaser img { width: min(360px, 80%); aspect-ratio: 1 / 1; object-fit: cover; object-position: 60% 30%; margin-inline: auto; border-radius: 46% 54% 52% 48% / 48% 46% 54% 52%; border: 8px solid var(--base); }
.teacher-teaser .sec-head { text-align: left; margin-bottom: 14px; }
.teacher-teaser .sec-title::after { margin-left: 0; }
.teacher-name { font-family: var(--font-head); font-size: 28px; font-weight: 700; letter-spacing: .1em; margin-bottom: .6em; }
.teacher-name small { margin-left: 14px; font-size: 14px; color: var(--ink-light); letter-spacing: .1em; }
.check { margin-bottom: 1.6em; }
.check li { position: relative; padding: 6px 0 6px 40px; font-family: var(--font-head); font-weight: 700; }
.check li::before {
  content: "✓"; position: absolute; left: 0; top: 9px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--base); color: var(--on-base); font-size: 16px; line-height: 1;
}
.check.boxed { padding: 22px 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.sec:not(.sec-soft) .check.boxed { background: var(--pale); box-shadow: none; }
.plain li { padding: 10px 0; border-bottom: 2px dashed var(--line-soft); }
.sub-title { margin: 2.2em 0 .9em; padding: 6px 0 6px 16px; border-left: 10px solid var(--base); font-size: 23px; }
.story > .sub-title:first-child, .profile .sub-title { margin-top: 0; }
.letter { padding: clamp(26px, 5vw, 54px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.letter > :last-child { margin-bottom: 0; }
.letter-em { padding: 18px 24px; border-radius: 18px; background: var(--soft); font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.sec-soft .story .letter-em { background: #fff; }
@media (min-width: 800px) {
  .teacher-teaser { grid-template-columns: 4fr 7fr; gap: 60px; }
  .profile { grid-template-columns: 4fr 6fr; gap: 56px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .course-head.split { grid-template-columns: 4fr 7fr; align-items: start; }
}
.split + .narrow { margin-top: 36px; }

.room-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.room-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }

/* ---------- 声 ---------- */
.voice-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.voice-grid.masonry { display: block; columns: 2 360px; column-gap: 26px; margin-bottom: 30px; }
.voice-grid.masonry .voice-card { break-inside: avoid; margin-bottom: 26px; padding-top: 28px; }
.voice-grid.masonry .voice-card::before { left: auto; right: 20px; top: 18px; }
.voice-grid.masonry .voice-card h3:first-of-type { padding-right: 50px; }
.voice-card {
  position: relative; display: flex; flex-direction: column; padding: 34px 28px 26px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.voice-card::before {
  content: "♪"; position: absolute; left: 24px; top: -18px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--base); color: var(--on-base); font-size: 20px;
}
.voice-card h3 { margin: 12px 0 6px; font-size: 15.5px; color: var(--deep); }
.voice-card h3:first-of-type { margin-top: 0; }
.voice-card p { margin: 0; font-size: 16px; line-height: 1.9; }
.voice-card .voice-from { margin-top: auto; padding-top: 16px; text-align: right; font-family: var(--font-head); font-size: 14.5px; font-weight: 700; color: var(--ink-light); }

/* ---------- 写真 ---------- */
.photo-strip { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.photo-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; }
@media (min-width: 700px) { .photo-strip { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: 26px; }
.gallery a { display: block; border-radius: 16px; overflow: hidden; }
.gallery img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.06); }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; } }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(30, 26, 24, .9); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; }
.lightbox button { position: absolute; width: 54px; height: 54px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 12px; top: 50%; margin-top: -27px; } .lb-next { right: 12px; top: 50%; margin-top: -27px; }

/* ---------- ブログ ---------- */
.post-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s; }
.post-card:hover { transform: translateY(-4px); }
.post-thumb { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.post-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.post-thumb.is-empty { display: grid; place-items: center; font-size: 56px; color: var(--deep); background: linear-gradient(135deg, var(--soft), var(--base)); }
.post-body { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px 22px; }
.post-body time { font: 700 13px/1.6 var(--font-en); color: var(--deep); letter-spacing: .08em; }
.post-body strong { font-family: var(--font-head); font-size: 17px; line-height: 1.6; }
.pagination { margin-top: 44px; text-align: center; }
.pagination .nav-links { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; background: #fff; border: 2px solid var(--line-soft); font-family: var(--font-head); font-weight: 700; text-decoration: none; }
.pagination .current { background: var(--base); border-color: var(--base); color: var(--on-base); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.single { padding-top: clamp(40px, 6vw, 70px); }
.single-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; font: 700 14px/1.6 var(--font-en); color: var(--ink-light); }
.single-meta a { padding: 2px 14px; border-radius: 999px; background: var(--base); color: var(--on-base); font-family: var(--font-head); text-decoration: none; }
.single-title { margin-bottom: 36px; padding-bottom: 20px; border-bottom: 5px solid var(--base); font-size: clamp(24px, 3.6vw, 34px); }
.entry h2 { margin: 2em 0 .8em; padding: 6px 0 6px 16px; border-left: 10px solid var(--base); font-size: 23px; }
.entry h3 { margin: 1.8em 0 .6em; font-size: 20px; color: var(--deep); }
.entry img { border-radius: 16px; }
.entry figure { margin: 1.6em 0; }
.entry iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; }
.entry ul { list-style: disc; padding-left: 1.5em; margin-bottom: 1.2em; }
.single-nav { display: flex; justify-content: space-between; gap: 20px; margin: 50px 0 30px; padding-top: 24px; border-top: 2px dashed var(--line-soft); font-size: 15px; line-height: 1.7; }
.single-nav span { flex: 1; } .single-nav span:last-child { text-align: right; }
.single-nav a { font-family: var(--font-head); font-weight: 700; text-decoration: none; }

/* ---------- アクセス ---------- */
.access-grid { display: grid; gap: 30px; align-items: center; }
.access-grid .sec-head { text-align: left; margin-bottom: 20px; }
.access-grid .sec-title::after { margin-left: 0; }
.info-list { margin: 0 0 16px; }
.info-list > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 2px dashed var(--line-soft); }
.info-list dt { font-family: var(--font-head); font-weight: 700; color: var(--deep); }
.info-list dd { margin: 0; }
.map { width: 100%; min-height: 340px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 900px) { .access-grid { grid-template-columns: 1fr 1.2fr; gap: 56px; } }

/* ---------- 下層ページのタイトル ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: clamp(46px, 7vw, 80px) 0 clamp(56px, 8vw, 90px); text-align: center;
  background:
    radial-gradient(circle at 92% 0%, var(--blob, var(--base)) 0 110px, transparent 111px),
    radial-gradient(circle at 6% 110%, color-mix(in srgb, var(--blob, var(--base)) 55%, #fff) 0 130px, transparent 131px),
    var(--soft);
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; background: var(--bg); clip-path: ellipse(60% 100% at 50% 100%); }
.page-hero .sec-en { background: #fff; color: var(--deep); }
.page-hero h1 { font-size: clamp(27px, 4.4vw, 42px); letter-spacing: .06em; }
.page-hero p { margin: 12px 0 0; font-family: var(--font-head); font-weight: 700; }

/* ---------- お問い合わせ ---------- */
.contact-box { padding: clamp(30px, 5vw, 56px); border-radius: var(--radius); background: var(--soft); text-align: center; }
.contact-box.sub { margin-top: 26px; background: #fff; border: 2px solid var(--line-soft); }
.contact-box h2 { margin-bottom: 14px; font-size: 24px; }
.contact-box > :last-child { margin-bottom: 0; }

.cta { padding: clamp(60px, 8vw, 96px) 0; background: var(--base); color: var(--on-base); text-align: center; }
.cta .sec-en { background: #fff; color: var(--deep); }
.cta h2 { margin-bottom: 18px; font-size: clamp(26px, 3.8vw, 36px); letter-spacing: .08em; }
.cta .btn-row { justify-content: center; margin-top: 28px; }
.cta .btn-ghost { border-color: #fff; }
.cta .btn-line { border-color: #fff; }
.cta-note { margin: 18px 0 0; font-family: var(--font-head); font-size: 15px; font-weight: 700; }

/* ---------- フッター ---------- */
.site-footer { padding: 56px 0 110px; background: #4a4441; color: #f3eeea; font-size: 15px; line-height: 1.9; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 34px; }
.footer-name { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin-bottom: .5em; }
.footer-name span { color: var(--base); }
.footer-sns { display: flex; gap: 12px; margin: 0; }
.footer-sns a { padding: 4px 18px; border-radius: 999px; border: 2px solid var(--base); color: var(--base); font-family: var(--font-head); font-weight: 700; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px; align-content: start; font-family: var(--font-head); font-weight: 700; }
.footer-nav a::before { content: "♪ "; color: var(--base); }
.copyright { margin: 40px 0 0; text-align: center; font: 500 12px/1.6 var(--font-en); letter-spacing: .1em; opacity: .7; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .site-footer { padding-bottom: 90px; } }

/* スマホ下部の固定ボタン */
.sp-fixed {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 999px;
  background: var(--line-green); color: #fff; font-family: var(--font-head); font-size: 16px; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}
@media (min-width: 800px) { .sp-fixed { display: none; } }

/* ---------- ベースカラー切り替えバー（検討用） ---------- */
.color-switch {
  position: fixed; right: 14px; top: 96px; z-index: 60;
  display: flex; flex-direction: column; gap: 6px; padding: 12px;
  background: #fff; border-radius: 18px; box-shadow: 0 8px 28px rgba(0, 0, 0, .2);
  font-family: var(--font-head); font-size: 12px; font-weight: 700; line-height: 1.4; text-align: center;
}
.color-switch button {
  display: grid; grid-template-columns: 26px auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center;
  padding: 7px 12px 7px 8px; border: 2px solid #e6e1dd; border-radius: 12px; background: #fff;
  color: var(--ink); font: inherit; font-size: 13px; text-align: left; cursor: pointer;
}
.color-switch button i { grid-row: 1 / 3; width: 26px; height: 26px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(0, 0, 0, .12); }
.color-switch button small { font: 500 10.5px/1.2 var(--font-en); color: var(--ink-light); }
.color-switch button[aria-pressed="true"] { border-color: var(--ink); background: #f7f4f1; }
@media (max-width: 799px) {
  .color-switch { top: auto; right: 8px; left: 8px; bottom: 78px; flex-direction: row; align-items: center; justify-content: center; padding: 8px; }
  .color-switch > span { display: none; }
  .color-switch button { flex: 1; grid-template-columns: 20px auto; padding: 6px 8px 6px 6px; font-size: 12px; }
  .color-switch button i { width: 20px; height: 20px; }
  .color-switch button small { display: none; }
}
