/* ピリカルキナ 公式サイト リニューアル案（プレビュー）
   名刺テイスト（ライトシアン×くすみブラウン×くすみシアン・ミンチョ体・鍵盤）を維持しつつ、
   余白・タイポグラフィ・縦書き・スクロール演出で「美しい道草」の世界観に寄せる */
:root {
  --c-paper: #faf8f4;     /* 温かみのある紙色：ベース背景 */
  --c-base: #dbf3f3;      /* ライトシアン：アクセント背景 */
  --c-brown: #6d563a;     /* くすみブラウン：見出し */
  --c-ink: #4a3c2a;       /* 本文用のやや濃いブラウン（読みやすさ優先） */
  --c-teal: #678e8d;      /* くすみシアン：アクセント */
  --c-black: #1c1c1c;
  --c-white: #ffffff;
  --c-gold: #a58b5e;      /* ゴールド：英字ラベル・細い罫線の隠し味 */
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --font-hand: "Zen Kurenaido", "Shippori Mincho", serif;
  --font-en: "Cormorant Garamond", "Shippori Mincho", serif;
}

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

/* 本文の最終行に1〜2文字だけ残る「泣き別れ」を抑える */
p, li, dd, dt, td, th, figcaption, .anxiety-q, .anxiety-a { text-wrap: pretty; }

/* スマホでのみ有効にする改行（幅が足りず末尾が1〜2文字だけ残る箇所に使う） */
br.sp-br { display: none; }

/* 見出しは行長を均等に割る */
h1, h2, h3, h4, .sec-title, .section-title, .course-name, .product-name,
.anxiety-title, .company-box-title, .hand-quote, .about-closing { text-wrap: balance; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; font-size: 18.5px; }

body {
  font-family: var(--font-serif);
  color: var(--c-ink);
  background: var(--c-paper);
  line-height: 2.05;
  font-size: 1.1rem;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
  /* 「ュ」「ィ」などの小書き仮名や句読点が行頭に来ないようにする（日本語の禁則） */
  line-break: strict;
}

::selection { background: var(--c-teal); color: #fff; }

a { color: var(--c-teal); text-decoration: none; transition: opacity 0.25s; }
a:hover { opacity: 0.72; }

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

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(109, 86, 58, 0.12);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  color: var(--c-brown);
  font-size: 1.05rem;
  letter-spacing: 0.28em;
  font-weight: 600;
  line-height: 1.5;
}

.site-logo small {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  color: var(--c-teal);
  font-weight: 400;
}

.site-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
}

.site-nav a {
  color: var(--c-brown);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: border-color 0.25s;
}

.site-nav a.current,
.site-nav a:hover {
  border-bottom-color: var(--c-teal);
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--c-brown);
  cursor: pointer;
  padding: 4px 10px;
}

/* ---------- 鍵盤ストリップ（気付く人だけ気付く鍵盤） ---------- */
.piano-strip {
  display: flex;
  height: 76px;
  overflow: hidden;
  background: rgba(219, 243, 243, 0.5);
  position: relative;
}

.key-white {
  flex: 1;
  background: rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(109, 86, 58, 0.08);
  position: relative;
}

.key-white:last-child { border-right: none; }

.key-white.has-black::after {
  content: "";
  position: absolute;
  top: 0;
  right: -32%;
  width: 58%;
  height: 58%;
  background: rgba(28, 28, 28, 0.22);
  z-index: 2;
}

/* 下方向へフェードアウトして次のセクションに溶け込ませる */
.piano-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(233, 245, 243, 0) 0%, rgba(233, 245, 243, 0.95) 100%);
  pointer-events: none;
  z-index: 3;
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--c-paper);
}

.hero-visual { position: relative; }

.hero-visual img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  object-position: center 28%;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, var(--c-paper) 100%);
}

.hero-body {
  position: relative;
  max-width: 1080px;
  margin: -110px auto 0;
  padding: 0 28px 88px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero-text { max-width: 560px; }

.hero-en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.24em;
  color: var(--c-gold);
  margin-bottom: 16px;
}

.hero-catch {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.85;
  color: var(--c-brown);
  text-wrap: balance;
}

.hero-catch .accent { color: var(--c-teal); }

.hero-lead {
  margin-top: 26px;
  font-size: 1rem;
  line-height: 2.3;
  letter-spacing: 0.06em;
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 縦書きの一句（美しい道草） */
.hero-tate {
  writing-mode: vertical-rl;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  letter-spacing: 0.42em;
  color: var(--c-teal);
  line-height: 2.4;
  padding: 14px 10px;
  border-left: 1px solid rgba(103, 142, 141, 0.4);
  align-self: flex-start;
  margin-top: 130px;
}

/* ---------- セクション共通 ---------- */
.section {
  max-width: 920px;
  margin: 0 auto;
  padding: 110px 28px;
}

.sec-head { margin-bottom: 56px; text-align: center; }

.sec-num {
  display: block;
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  color: var(--c-gold);
  margin-bottom: 14px;
}

.sec-title {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--c-brown);
}

.sec-head::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  background: var(--c-teal);
  margin: 26px auto 0;
}

.lead {
  text-align: center;
  margin-bottom: 48px;
  line-height: 2.3;
}

/* 帯（背景色つきセクション） */
.band { background: var(--c-base); }
.band-soft { background: rgba(219, 243, 243, 0.55); }

/* ---------- スクロール演出 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- ボタン ---------- */
.btn-brand {
  display: inline-block;
  background: var(--c-teal);
  color: var(--c-white);
  padding: 15px 44px;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  border-radius: 2px;
  transition: opacity 0.25s, transform 0.2s, box-shadow 0.25s;
}

.btn-brand:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(103, 142, 141, 0.35);
}

.btn-ghost {
  display: inline-block;
  border: 1px solid var(--c-brown);
  color: var(--c-brown);
  padding: 14px 40px;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  border-radius: 2px;
  transition: background 0.25s, color 0.25s;
}

.btn-ghost:hover { background: var(--c-brown); color: var(--c-paper); opacity: 1; }

.btn-youtube {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ff0000;
  color: #fff;
  padding: 15px 32px;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  border-radius: 2px;
  transition: opacity 0.25s, transform 0.2s, box-shadow 0.25s;
}

.btn-youtube:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 0, 0, 0.25);
  color: #fff;
}

.btn-youtube svg { width: 22px; height: 22px; fill: #fff; }

/* ---------- YouTubeセクション ---------- */
.yt-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.yt-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.yt-feature .yt-embed {
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(28, 28, 28, 0.18);
}

.yt-actions { text-align: center; margin-top: 34px; }

.yt-actions .sub {
  display: block;
  font-size: 0.9rem;
  color: var(--c-teal);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

/* ---------- ご挨拶 ---------- */
#about { text-align: center; }

#about .about-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

#about .about-text p + p { margin-top: 1.6em; }

.profile-photo {
  margin: 0 auto 44px;
  max-width: 460px;
}

.profile-photo img { width: 100%; }

.about-sign {
  margin-top: 2.2em;
  text-align: right;
  letter-spacing: 0.22em;
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--c-brown);
}

/* ---------- 活動カード（写真×テキスト分割） ---------- */
.photo-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.pcard {
  display: grid;
  grid-template-columns: 42% 58%;
  background: var(--c-white);
  border-top: 2px solid var(--c-teal);
  box-shadow: 0 4px 18px rgba(103, 142, 141, 0.12);
  color: var(--c-ink);
  min-height: 330px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pcard:hover {
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(103, 142, 141, 0.25);
}

.pcard-photo {
  position: relative;
  overflow: hidden;
  display: block;
}

.pcard-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pcard:hover .pcard-photo img { transform: scale(1.05); }

/* 写真が届くまでの意匠パネル（社会貢献） */
.pcard-photo-placeholder {
  background:
    linear-gradient(rgba(219, 243, 243, 0.82), rgba(219, 243, 243, 0.82)),
    repeating-linear-gradient(90deg, var(--c-white) 0 22px, rgba(103, 142, 141, 0.35) 22px 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcard-photo-placeholder .ph-word {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  letter-spacing: 0.28em;
  line-height: 2.2;
  color: var(--c-teal);
  text-align: center;
}

.pcard-body {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
}

.pcard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pcard-num {
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  color: var(--c-teal);
  opacity: 0.75;
  margin-left: auto; /* アイコンなしのカードでも番号を右端に保つ */
}

.pcard-body h3 {
  font-size: 1.12rem;
  letter-spacing: 0.14em;
  line-height: 1.7;
  color: var(--c-brown);
  font-weight: 600;
}

.pcard-body h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  background: var(--c-teal);
  margin: 14px 0 16px;
}

.pcard-body p {
  font-size: 0.92rem;
  line-height: 2;
  flex-grow: 1;
}

.pcard-more {
  margin-top: 18px;
  align-self: flex-end;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--c-teal);
  white-space: nowrap;
}

.pcard-more .arrow {
  display: inline-block;
  transition: transform 0.3s;
}

.pcard:hover .pcard-more .arrow { transform: translateX(7px); }

/* ---------- 易曲鑑定 ---------- */
.ekikyoku-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--c-teal);
  margin-bottom: 30px;
  letter-spacing: 0.08em;
}

.center { text-align: center; }

/* ---------- Philosophy（文字だけの余白） ---------- */
.philosophy {
  text-align: center;
  padding: 150px 28px;
  background: var(--c-white);
}

.philosophy .phi-line {
  width: 1px;
  height: 52px;
  background: var(--c-gold);
  margin: 0 auto 44px;
}

.philosophy p {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  letter-spacing: 0.2em;
  line-height: 2.4;
  font-weight: 600;
  color: var(--c-brown);
}

.philosophy .phi-line-b { margin: 44px auto 0; }

/* ---------- Gallery（暮らしの気配） ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-grid .g {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-grid .g:hover img { transform: scale(1.06); }

.sp-only { display: none; }

.nowrap { white-space: nowrap; }

/* ---------- CTA ---------- */
.cta {
  background: var(--c-base);
  text-align: center;
  padding: 84px 28px;
}

.cta h2 {
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  margin-bottom: 18px;
  color: var(--c-brown);
}

.cta p { font-size: 1rem; }

/* ---------- フッター（紙色×ゴールドの雑誌風） ---------- */
.site-footer {
  background: var(--c-paper);
  border-top: 1px solid rgba(165, 139, 94, 0.4);
  color: var(--c-ink);
  padding: 76px 28px 44px;
  text-align: center;
  font-size: 0.88rem;
}

.site-footer .f-tag {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.26em;
  color: var(--c-gold);
  margin-bottom: 22px;
}

.site-footer .f-logo {
  font-size: 1.05rem;
  letter-spacing: 0.35em;
  color: var(--c-brown);
  font-weight: 600;
  margin-bottom: 4px;
}

.site-footer .f-logo small {
  display: block;
  font-family: var(--font-en);
  font-size: 0.62rem;
  letter-spacing: 0.5em;
  color: var(--c-gold);
  font-weight: 400;
  margin-top: 4px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 34px 0 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(109, 86, 58, 0.3);
  border-radius: 50%;
  color: var(--c-brown);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.social-links a:hover {
  opacity: 1;
  background: var(--c-base);
  border-color: var(--c-teal);
  color: var(--c-teal);
}

.social-links svg { width: 17px; height: 17px; }

.site-footer .f-belong {
  font-size: 0.8rem;
  color: rgba(74, 60, 42, 0.75);
  letter-spacing: 0.12em;
  margin-top: 18px;
}

.site-footer .copyright {
  margin-top: 32px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: rgba(74, 60, 42, 0.5);
}

.site-footer .copyright a { color: rgba(74, 60, 42, 0.35); }

/* ---------- レスポンシブ ---------- */
/* ナビ項目8個がすべて収まるのに972px必要なため、720pxだとタブレット幅で横あふれする。1000pxに引き上げ */
@media (max-width: 1000px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-paper);
    border-bottom: 1px solid rgba(109, 86, 58, 0.15);
    display: none;
  }

  .site-nav.open { display: block; }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }

  .site-nav li { text-align: center; }

  .site-nav a {
    display: block;
    padding: 15px;
    font-size: 1rem;
    letter-spacing: 0.18em;
    border-bottom: none;
  }
}

@media (max-width: 720px) {
  body { line-height: 2; }

  /* スマホでは強制改行を解除して自然に折り返す */
  .hero-lead br, .lead br { display: none; }

  br.sp-br { display: inline; }

  .hero-visual img { max-height: 52vh; }

  .hero-body {
    flex-direction: column;
    align-items: stretch;
    margin-top: -60px;
    padding-bottom: 64px;
    gap: 8px;
  }

  .hero-tate {
    writing-mode: horizontal-tb;
    border-left: none;
    border-top: 1px solid rgba(103, 142, 141, 0.4);
    margin-top: 34px;
    padding: 18px 4px 0;
    text-align: center;
    letter-spacing: 0.3em;
    font-size: 1.1rem;
  }

  .hero-catch { letter-spacing: 0.08em; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta a { justify-content: center; text-align: center; }

  .section { padding: 72px 22px; }
  .sec-head { margin-bottom: 40px; }
  .sec-title { letter-spacing: 0.14em; }

  .photo-cards { grid-template-columns: 1fr; gap: 22px; }

  .pcard {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .pcard-photo {
    position: relative;
    aspect-ratio: 4 / 3;
  }

  .pcard-body { padding: 24px 22px 22px; }
  /* 見出しの改行は残す（解除すると「ピ／アノ」のように語中で割れる）。
     PC専用の3行目だけ解除する */
  br.pc-br { display: none; }

  .piano-strip { height: 56px; }

  .philosophy { padding: 96px 24px; }
  .philosophy p { letter-spacing: 0.12em; }
  .gallery-grid { gap: 6px; }
  .sp-only { display: inline; }

  .cta { padding: 64px 22px; }
}

/* 幅の狭い端末でもヒーローのキャッチを2行に保つ */
@media (max-width: 374px) {
  .hero-catch { font-size: 1.6rem; letter-spacing: 0.04em; }
}

/* ==================================================
   サブページ用コンポーネント（旧デザインから継承・新テイストに調整）
   ================================================== */

/* サブページのヒーロー（鍵盤帯は廃止し、紙色×ゴールドに） */
.page-hero {
  background: var(--c-paper);
  overflow: hidden;
  border-bottom: 1px solid rgba(165, 139, 94, 0.3);
}

.page-hero .piano-strip { display: none; }

.page-hero-text {
  text-align: center;
  padding: 62px 24px 56px;
}

.page-hero-text h1 {
  font-size: 1.8rem;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: var(--c-brown);
}

.page-hero-text p {
  margin-top: 12px;
  font-family: var(--font-en);
  font-size: 0.9rem;
  letter-spacing: 0.35em;
  color: var(--c-gold);
}

/* 旧見出しクラス（サブページ互換） */
.section + .section { border-top: 1px dotted rgba(109, 86, 58, 0.3); }

.section-title {
  text-align: center;
  font-size: clamp(1.4rem, 2.6vw, 1.7rem);
  letter-spacing: 0.24em;
  font-weight: 600;
  color: var(--c-brown);
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  color: var(--c-gold);
  margin-bottom: 44px;
}

/* 名刺裏面風：アイコン＋見出し＋説明 */
.icon-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 8px;
}

.icon-row + .icon-row { border-top: 1px dotted rgba(103, 142, 141, 0.5); }

.icon-row .icon {
  flex: 0 0 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-teal);
}
.icon-row .icon svg { width: 40px; height: 40px; }

.icon-row h3 {
  font-size: 1.15rem;
  letter-spacing: 0.28em;
  color: var(--c-teal);
  font-weight: 600;
  margin-bottom: 6px;
}

.icon-row p { font-size: 0.95rem; }

/* 強調ボックス・手書き引用 */
.hand-quote {
  font-family: var(--font-hand);
  text-align: center;
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  background: var(--c-base);
  padding: 36px 24px;
  margin: 40px 0;
}

.about-sub {
  font-size: 1.05rem;
  letter-spacing: 0.25em;
  color: var(--c-teal);
  font-weight: 600;
  margin: 36px 0 20px;
  text-align: center;
}

.about-closing {
  background: var(--c-base);
  padding: 36px 32px;
  margin: 40px 0;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  letter-spacing: 0.22em;
  line-height: 2;
}

/* 写真ギャラリー */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 36px 0;
}

.photo-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.photo-grid img.tall { grid-row: span 2; height: 100%; }

.photo-wide { margin: 36px 0; }
.photo-wide img { width: 100%; }

.photo-caption {
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  color: var(--c-teal);
  margin-top: 10px;
}

.photo-placeholder {
  background: var(--c-base);
  border: 1px dashed var(--c-teal);
  color: var(--c-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  margin: 32px 0;
}

/* 会社情報ボックス */
.company-box {
  background: var(--c-base);
  padding: 28px 32px;
  margin: 36px 0;
}

.company-box-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--c-teal);
  margin-bottom: 14px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 商品カードグリッド */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 0 40px;
}

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(103, 142, 141, 0.4);
  padding: 24px 20px;
  color: var(--c-ink);
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--c-white);
}

.product-card:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(103, 142, 141, 0.2);
}

.product-photo {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.product-photo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
}

.product-label {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: var(--c-teal);
  border: 1px solid var(--c-teal);
  display: inline-block;
  padding: 2px 8px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.product-name {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.product-desc {
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.product-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-teal);
  margin-bottom: 14px;
}

.product-link {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--c-teal);
  margin-top: auto;
}

/* 表 */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 24px 0;
}

.info-table th,
.info-table td {
  border: 1px solid rgba(103, 142, 141, 0.4);
  padding: 12px 16px;
  text-align: left;
}

.info-table th {
  background: var(--c-base);
  color: var(--c-teal);
  font-weight: 600;
  white-space: nowrap;
}

.cta .tel {
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  margin-top: 16px;
  color: var(--c-brown);
}

/* お問い合わせフォーム */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-row { margin-bottom: 28px; }

.form-row label {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  color: var(--c-teal);
  font-weight: 600;
}

.req {
  font-size: 0.7rem;
  background: var(--c-teal);
  color: var(--c-white);
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 6px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(103, 142, 141, 0.45);
  background: var(--c-white);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--c-ink);
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23678e8d' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(103, 142, 141, 0.12);
}

.form-row textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.9;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(109, 86, 58, 0.32);
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

/* コースカード */
.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.course-card {
  border: 1px solid rgba(103, 142, 141, 0.4);
  padding: 24px 16px;
  background: var(--c-white);
}

.course-label {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: var(--c-teal);
  border: 1px solid var(--c-teal);
  display: inline-block;
  padding: 2px 8px;
  margin-bottom: 10px;
}

.course-name {
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--c-teal);
  font-weight: 600;
  margin: 4px 0 6px;
}

.course-price {
  font-size: 1rem;
  font-weight: 600;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px dotted rgba(103, 142, 141, 0.4);
}

.course-features {
  list-style: none;
  margin-bottom: 12px;
}

.course-features li {
  font-size: 0.88rem;
  padding: 3px 0 3px 16px;
  position: relative;
  line-height: 1.9;
}

.course-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-teal);
  font-size: 0.8rem;
}

.course-note {
  font-size: 0.85rem;
  color: rgba(74, 60, 42, 0.75);
  line-height: 1.7;
  border-top: 1px dotted rgba(103, 142, 141, 0.3);
  padding-top: 10px;
  margin-top: 8px;
}

/* 不安解決ボックス */
.anxiety-box {
  background: var(--c-base);
  padding: 28px 32px;
  margin-top: 24px;
}

.anxiety-title {
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  color: var(--c-teal);
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

/* 質問列は全行で幅を揃えつつ、最長の質問に合わせて自動で伸ばす（1文字だけ折り返す崩れを防ぐ） */
.anxiety-items {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 16px;
  align-items: baseline;
  font-size: 0.92rem;
}

.anxiety-item { display: contents; }

.anxiety-q {
  color: rgba(74, 60, 42, 0.68);
  font-weight: 600;
  padding-left: 16px;
  position: relative;
}

.anxiety-q::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--c-teal);
}

.anxiety-a { color: var(--c-ink); }

/* フッター追加リンク（サブページ互換） */
.site-footer .f-contact { margin-top: 12px; }
.site-footer a { color: var(--c-teal); }

.site-footer .f-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* 旧yt-actions互換 */
.yt-actions { text-align: center; margin-top: 28px; }

.yt-actions .sub {
  display: block;
  font-size: 0.88rem;
  color: var(--c-teal);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

/* サブページ用レスポンシブ */
@media (max-width: 720px) {
  .product-grid { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }

  /* 幅が足りないスマホでは質問→回答を縦積みにする */
  .anxiety-items { grid-template-columns: 1fr; gap: 16px; }
  .anxiety-q { display: block; margin-bottom: 2px; }
  .icon-row { gap: 16px; }
  .company-box { padding: 20px 16px; }
  /* 横並びだと項目名が「公式サイ／ト」のように1文字ずつ割れるため、スマホでは縦積みにする */
  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td { display: block; width: 100%; }

  .info-table tr + tr { margin-top: 10px; }
  .info-table th { white-space: nowrap; border-bottom: none; padding-bottom: 2px; }
  .info-table td { border-top: none; padding-top: 2px; }
  .info-table th,
  .info-table td { padding: 10px 12px; font-size: 0.85rem; }
  .page-hero-text { padding: 46px 20px 42px; }
  .page-hero-text h1 { font-size: 1.45rem; letter-spacing: 0.2em; }

  /* 手書き引用は字が大きく字送りも広いため、スマホでは1行に収まる大きさに落とす */
  .hand-quote {
    font-size: 1rem;
    letter-spacing: 0.06em;
    padding: 28px 18px;
  }

  .about-closing { font-size: 1.1rem; letter-spacing: 0.14em; padding: 30px 22px; }
}

/* ---------- サブページ・ヒーロー（写真×コピー） ---------- */
.sub-hero {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  background: var(--c-paper);
  overflow: hidden;
  border-bottom: 1px solid rgba(165, 139, 94, 0.25);
}

.sub-hero-text {
  padding: 56px 4vw 56px 5vw;
}

.sub-hero-text h1 {
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--c-brown);
  line-height: 1.9;
  text-wrap: balance;
}

.sub-hero-copy {
  margin-top: 18px;
  font-size: 1rem;
  letter-spacing: 0.12em;
  line-height: 2.2;
  color: rgba(74, 60, 42, 0.85);
}

.sub-hero-en {
  margin-top: 30px;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.26em;
  color: var(--c-gold);
}

.sub-hero-photo {
  position: relative;
  height: 100%;
  min-height: 360px;
  max-height: 480px;
}

.sub-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 写真の左端を紙色に溶かして文字側とつなげる */
.sub-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right, var(--c-paper) 0%, rgba(250, 248, 244, 0) 32%);
}

@media (max-width: 720px) {
  .sub-hero { grid-template-columns: 1fr; }

  .sub-hero-photo {
    order: -1;
    min-height: 0;
    height: 38vh;
    max-height: 300px;
  }

  .sub-hero-photo::before {
    background: linear-gradient(to bottom, rgba(250, 248, 244, 0) 55%, var(--c-paper) 100%);
  }

  .sub-hero-text { padding: 26px 24px 44px; text-align: center; }
  .sub-hero-text h1 { letter-spacing: 0.18em; }
  .sub-hero-en { margin-top: 22px; }
}
