/* =========================================================
   松山式骨膜リリースLP — デザイン（2026-11-10）
   松山太公式HPのデザイン（アイボリー × シャンパンゴールドの細線・
   二重線の枠・ほぼ直角の角・控えめな影）に「紺」を混ぜたもの。
   ・地：アイボリー／シャンパンアイボリーを交互
   ・紺：見出し・文字・帯・濃い色のセクション・フッター
   ・金：細線・内枠・小見出し・申し込みボタン
   tailwind.css と index.html 内の <style> より後に読み込むので、ここが最優先。
   ========================================================= */
:root {
  --navy: #0f2847;
  --navy-2: #1b3a63;
  --ink: #1f2a3a;
  --ink-soft: #4a5566;
  --paper: #fcfaf6;
  --tint: #f5efe4;
  --line: #e8dfcf;
  --hair: rgba(179,146,86,.42);
  --gold: #b39256;
  --gold-deep: #8e6d3a;
  --gold-light: #e6d3a8;
  --gold-grad: linear-gradient(135deg, #d6bd8a 0%, #b39256 42%, #8e6d3a 100%);
  --radius: 2px;
}

body { background: var(--paper) !important; color: var(--ink); letter-spacing: .03em; }
::selection { background: var(--gold-light); }

/* ---------- ヘッダー ---------- */
#mainHeader { background: rgba(255,255,255,.95); border-bottom: 1px solid var(--hair); box-shadow: none; }
#menuToggleBtn { background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); box-shadow: none; color: var(--navy); }

/* ---------- セクションの背景：アイボリーとシャンパンを交互、区切りは金の細線 ---------- */
main > section { border-bottom: 1px solid var(--hair) !important; }
main > section.bg-white, #top { background: var(--paper) !important; }
main > section[class*="bg-ecru"] { background: var(--tint) !important; }

/* ---------- 見出し：— ENGLISH — ／紺の見出し／線・✡・線 ---------- */
.section-kicker {
  display: flex !important; align-items: center; justify-content: center; gap: 12px;
  color: var(--gold-deep) !important; font-size: 13px !important; font-weight: 500 !important;
  letter-spacing: .24em; white-space: nowrap; margin-bottom: 10px;
}
.section-kicker::before, .section-kicker::after { content: ""; flex: none; width: 24px; height: 1px; background: var(--hair); }
#credibility .section-kicker { color: var(--gold-light) !important; }
.section-title { position: relative; color: var(--navy) !important; letter-spacing: .08em; line-height: 1.6 !important; padding-bottom: 2px; }
.section-title::before {
  content: ""; position: absolute; left: 50%; bottom: 5px; width: 96px; height: 1px; transform: translateX(-50%);
  background: linear-gradient(to right, var(--hair) 0 40%, transparent 40% 60%, var(--hair) 60% 100%);
}
.section-title::after {
  content: ""; display: block; width: 11px; height: 11px; margin: 18px auto 0; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2 93.3 77H6.7Z M50 98 6.7 23H93.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2 93.3 77H6.7Z M50 98 6.7 23H93.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
#credibility .section-title, #trial-text .section-title { color: #fff !important; }

/* 小見出し（左の縦線）は金の細い線に */
main h3[class*="border-l-4"] { border-left-width: 3px !important; border-left-color: var(--gold) !important; color: var(--navy); }

/* ---------- 角はほぼ直角、影は控えめ ---------- */
main [class*="rounded-xl"], main [class*="rounded-2xl"], main [class*="rounded-lg"], main [class*="rounded-md"],
#navigationDrawer [class*="rounded-lg"], main .definition-box, main .flow-box, main .faq-card, main .faq-card h4, main .hero-subtitle-highlight { border-radius: var(--radius) !important; }
main [class*="shadow-sm"], main [class*="shadow-md"] { box-shadow: 0 6px 16px -12px rgba(15,40,71,.35) !important; }

/* ---------- カード：白地＋外枠の細線＋金の内枠（二重線） ---------- */
main > section:not(#credibility):not(#trial-text) div[class~="border"][class*="rounded-"]:not(.bg-white\/5),
main .canva-card, main .faq-card, main .flow-box {
  background: #fff !important; border: 1px solid var(--line) !important;
  outline: 1px solid var(--hair); outline-offset: -6px;
}
/* カードの中のカード（二重の内枠が重ならないように） */
main div[class~="border"][class*="rounded-"] div[class~="border"][class*="rounded-"],
main div[class~="border"][class*="rounded-"] .canva-card { outline: 0; }
/* 冒頭の「松山式骨膜リリースとは」：左の線を金に */
main .definition-box { border: 1px solid var(--line); border-left: 3px solid var(--gold); box-shadow: none; outline: 1px solid var(--hair); outline-offset: -6px; }
main .definition-title { color: var(--navy); }
/* ①再現性〜⑤透明性 の枠：金の外枠2px＋金の内枠 */
main .hero-subtitle-highlight {
  border: 2px solid transparent; box-shadow: none; color: var(--ink);
  background: linear-gradient(#fff, #fff) padding-box, var(--gold-grad) border-box;
  outline: 1px solid rgba(179,146,86,.6); outline-offset: -7px; padding: 1rem 1.25rem;
}
main .hero-subtitle-highlight .issue-term { color: var(--navy); }

/* ---------- 紺のブロック（臨床実績・信頼性・無料公開）に金の内枠 ---------- */
#credibility { background: linear-gradient(160deg, #0b1f39 0%, #15365f 55%, #0f2847 100%) !important; }
#credibility [class~="border"], #trial-text [class~="border"] { border-color: rgba(214,189,138,.45) !important; }
#credibility .bg-white\/5 { outline: 1px solid rgba(214,189,138,.25); outline-offset: -6px; }
footer.bg-deepNavy { background: #0b1f39 !important; border-top: 2px solid var(--gold); }

/* 紺の帯（ページ冒頭）：公式HPと同じ金の細線 */
.hero-band { box-shadow: none; }

/* ---------- ボタン：角ばった上品なボタン＋内側の細線（二重線） ---------- */
.btn-gold, .btn-navy, .cta-btn-line { position: relative; isolation: isolate; border-radius: var(--radius) !important; letter-spacing: .12em; }
.btn-gold::before, .btn-navy::before, .cta-btn-line::before {
  content: ""; position: absolute; inset: 4px; border: 1px solid rgba(255,246,225,.6); border-radius: 1px; pointer-events: none;
}
/* 金のボタン（公式HPの主ボタンと同じ） */
.btn-gold {
  color: #fff !important;
  background-color: #a8884f !important;
  background-image: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.3) 50%, transparent 65%), var(--gold-grad) !important;
  background-size: 260% 100%, 100% 100% !important; background-position: 130% 0, 0 0 !important; background-repeat: no-repeat !important;
  border: 1px solid #c9ad74 !important;
  box-shadow: 0 12px 26px -12px rgba(110,84,40,.6), inset 0 1px 0 rgba(255,246,225,.55) !important;
  text-shadow: 0 1px 1px rgba(80,55,20,.35);
  transition: background-position .7s ease, box-shadow .3s, transform .2s;
}
.btn-gold:hover { transform: none; background-position: -30% 0, 0 0 !important; box-shadow: 0 16px 30px -12px rgba(110,84,40,.7), inset 0 1px 0 rgba(255,246,225,.6) !important; }
#mainHeader .btn-gold::before { inset: 3px; }
/* 紺のボタン（テキスト無料公開中！） */
.btn-navy {
  display: inline-flex; align-items: center; justify-content: center; min-height: 60px;
  color: var(--gold-light) !important; background: linear-gradient(135deg, #1b3a63 0%, #0f2847 55%, #0a1c34 100%) !important;
  border: 1px solid var(--gold) !important; box-shadow: 0 12px 26px -14px rgba(15,40,71,.7) !important;
}
.btn-navy::before { border-color: rgba(214,189,138,.55); }
.btn-navy:hover { background: linear-gradient(135deg, #22467a 0%, #13325a 55%, #0c2140 100%) !important; }
.hero-cta-wrap { background: transparent !important; border: 0 !important; box-shadow: none !important; }
/* LINE のボタン：緑はそのまま、形だけそろえる */
.cta-btn-line { box-shadow: 0 12px 26px -14px rgba(5,120,60,.6) !important; }
.cta-btn-line:hover { transform: none; }

/* SNS などの小さなリンク：白地＋細線 */
main a[class*="rounded-md"][class~="border"] { border-color: var(--line) !important; }
main a[class*="rounded-md"][class~="border"]:hover { border-color: var(--gold) !important; background: #fff !important; }

/* 金のバッジ（開発者の肩書き） */
main .badge-gold { background: var(--gold-grad) !important; color: #fff !important; border-radius: var(--radius) !important; box-shadow: none; letter-spacing: .06em; }

/* ---------- 図解のフロー・FAQ ---------- */
main .flow-no { background: var(--navy); }
main .faq-card h4 { background: var(--paper); }
main .faq-card h4:hover, main .faq-card.is-open h4 { background: var(--tint); color: var(--navy); }
main .faq-card p { border-left-color: var(--hair); }

/* ---------- 写真：角を控えめに ---------- */
main img.canva-image { border-radius: var(--radius); }

/* 冒頭の2つの見出しだけ明朝体（公式HPと同じ書体指定。Noto Serif JP は見出しの文字だけ読み込み） */
.hero-serif { font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important; font-weight: 700 !important; }

/* 「テキスト無料公開中！」：公式HPの「松山骨格矯正院」ボタンと同じ金のボタンに（2026-11-10） */
.hero-cta-wrap .btn-gold { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; letter-spacing: .16em; }

/* ヘッダーのロゴ：左の四角を金のボタンと同じグラデーション＋内側の細線、文字は明朝体（2026-11-10） */
.logo-mark { position: relative; display: inline-block; border-radius: 1px; background: linear-gradient(135deg, #d6bd8a 0%, #b39256 42%, #8e6d3a 100%); box-shadow: inset 0 1px 0 rgba(255,246,225,.55); }
.logo-mark::before { content: ""; position: absolute; inset: 2px; border: 1px solid rgba(255,246,225,.6); }
#mainHeader .hero-serif { letter-spacing: .08em; }

/* =========================================================
   2026-11-10 ユーザー指示：ページ内の文字はすべて明朝体。
   ただしボタンなどアクセントの部分はゴシック体（Noto Sans JP）のまま。
   ========================================================= */
body, body .font-sans, body .canva-text, body .canva-link, body .canva-button, body .canva-tag, body .definition-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
}
/* ゴシックのまま残すアクセント：ボタン・SNSの小ボタン・目次ボタン・小さなラベル */
body .btn-gold, body .btn-gold *, body .cta-btn-line, body .cta-btn-line *,
body #menuToggleBtn, body #menuToggleBtn *, body #mainHeader nav[aria-label="ヘッダーの案内"] a,
body #navigationDrawer a.flex-1,
body main a[class*="rounded-md"][class~="border"],
body main a.inline-block[class*="rounded-lg"],
body .canva-tag.rounded-full, body main a.ba-link, body main a.case-yt {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif !important;
}

/* ヘッダーのロゴ画像（2026-11-10 ユーザー支給のロゴに差し替え。元画像は images/_original/logo-kotsumaku-release.png） */
.logo-img { width: 40px; height: 40px; display: block; }
@media (min-width: 768px) { .logo-img { width: 46px; height: 46px; } }

/* =========================================================
   5つの課題（アピールブロック）2026-11-10
   白地＋金の二重線の枠／紺の丸に金の番号／結論は紺の帯に大きな金文字
   ========================================================= */
#top .issues {
  margin: 3.5rem auto !important; max-width: 40rem; position: relative;
  background: linear-gradient(#fff, #fff) padding-box, var(--gold-grad) border-box;
  border: 2px solid transparent; border-radius: var(--radius);
  outline: 1px solid rgba(179,146,86,.6); outline-offset: -8px;
  padding: 2.25rem 1.25rem 1.5rem; box-shadow: 0 18px 40px -24px rgba(15,40,71,.35);
}
#top .issues + * { margin-top: 3.5rem !important; }
.issues-kicker {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: var(--gold-deep); font-size: 12px; letter-spacing: .28em; margin: 0 0 .6rem;
}
.issues-kicker::before, .issues-kicker::after { content: ""; width: 24px; height: 1px; background: var(--hair); }
.issues-title {
  text-align: center; color: var(--navy); font-weight: 700; font-size: clamp(19px, 5.4vw, 24px);
  line-height: 1.6; letter-spacing: .06em; margin: 0 0 1.5rem;
}
.issues-title::after { content: ""; display: block; width: 40px; height: 1px; background: var(--gold); margin: 1rem auto 0; }
.issues-list { list-style: none; margin: 0; padding: 0; }
.issues-list li {
  display: flex; align-items: center; gap: 14px; padding: 1rem .25rem;
  border-bottom: 1px solid var(--line);
}
.issues-list li:first-child { border-top: 1px solid var(--line); }
.issues-no {
  flex: 0 0 44px; height: 44px; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #1f4677 0%, #0f2847 70%); color: #f3e2b4;
  font-size: 20px; font-weight: 700; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--gold);
}
.issues-term { margin: 0; color: var(--navy); font-weight: 700; font-size: clamp(19px, 5.4vw, 22px); line-height: 1.4; letter-spacing: .06em; }
.issues-desc { margin: .2rem 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.issues-result {
  margin: 1.5rem 0 0; padding: 1.25rem 1rem; text-align: center; position: relative;
  background: linear-gradient(135deg, #1b3a63 0%, #0f2847 55%, #0a1c34 100%); color: #f3e2b4;
  font-size: 16px; letter-spacing: .1em; line-height: 1.7; border-radius: var(--radius);
}
.issues-result::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(214,189,138,.5); pointer-events: none; }
.issues-result strong {
  display: block; margin-top: .15rem; font-size: clamp(26px, 7.6vw, 34px); font-weight: 700; letter-spacing: .14em;
  background: linear-gradient(120deg, #e9d7a6 0%, #f8ecc8 45%, #c9a352 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@media (min-width: 768px) { #top .issues { padding: 2.75rem 2.5rem 2rem; } }

/* 【講座の特徴】：単語の途中でも改行してよい（見やすさ優先）、文字を少し小さく、番号の後ろで行頭をそろえる（2026-11-10） */
.features .grid p.bx { word-break: normal; overflow-wrap: anywhere; line-break: strict; font-size: 14.5px !important; line-height: 1.8; }
#top .features .grid p.canva-card { padding-left: calc(1.25rem + 1.3em); text-indent: -1.3em; }
#top .features .grid p.bx:not(.canva-card) { padding-left: calc(.875rem + 1.3em); text-indent: -1.3em; }
.features .grid p.bx .nowrap { text-indent: 0; }

/* =========================================================
   【講座の特徴】アピールブロック（2026-11-10）
   金の二重線の枠＋紺の見出し帯／紺の丸に金の番号の一覧
   ========================================================= */
#top .features { margin-top: 4rem; }
.feat {
  max-width: 44rem; margin: 0 auto; position: relative; overflow: hidden;
  background: linear-gradient(#fff, #fff) padding-box, var(--gold-grad) border-box;
  border: 2px solid transparent; border-radius: var(--radius);
  box-shadow: 0 18px 40px -24px rgba(15,40,71,.35);
}
.feat-head {
  position: relative; text-align: center; padding: 1.6rem 1rem 1.5rem;
  background: linear-gradient(135deg, #1b3a63 0%, #0f2847 55%, #0a1c34 100%);
}
.feat-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: linear-gradient(90deg, transparent, #d6bd8a 15%, #f3e2b4 50%, #d6bd8a 85%, transparent); }
.feat-kicker {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 .5rem;
  color: #d6bd8a; font-size: 12px; letter-spacing: .3em;
}
.feat-kicker::before, .feat-kicker::after { content: ""; width: 24px; height: 1px; background: rgba(214,189,138,.6); }
.feat-title {
  margin: 0; font-size: clamp(24px, 7vw, 30px); font-weight: 700; letter-spacing: .2em; line-height: 1.4;
  background: linear-gradient(120deg, #e9d7a6 0%, #f8ecc8 45%, #c9a352 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.feat-list { list-style: none; margin: 0; padding: .5rem 1.1rem 1rem; text-align: left; }
.feat-list li { display: flex; align-items: flex-start; gap: 14px; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.feat-list li:last-child { border-bottom: 0; }
.feat-no {
  flex: 0 0 34px; height: 34px; margin-top: 1px; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #1f4677 0%, #0f2847 70%); color: #f3e2b4;
  font-size: 15px; font-weight: 700; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--gold);
}
.feat-text {
  margin: 0; color: var(--navy); font-size: 15px; font-weight: 600; line-height: 1.75;
  word-break: normal; overflow-wrap: anywhere; line-break: strict;
}
@media (min-width: 768px) {
  .feat-list { padding: .75rem 2.25rem 1.5rem; }
  .feat-text { font-size: 16px; }
}

/* 冒頭の紺の帯を「松山式骨膜リリース − 0期生先行募集 −」まで広げる（2026-11-10）
   紺地の上なので見出しはシャンパンゴールドの文字＋濃い金の厚み */
.hero-band--tall { padding: 1.4rem 1rem 1.9rem; }
.hero-band--tall .hero-band-text { margin-bottom: 1.1rem; }
.hero-band--tall .title-3d {
  color: #f6e6b8 !important; margin: 0;
  text-shadow: 1px 1px 0 #c9a352, 2px 2px 0 #a8842f, 3px 3px 0 #7d6128, 3px 6px 10px rgba(0,0,0,.5);
}

/* 紺の帯を「テキスト無料公開中！」の下まで広げる（2026-11-10）
   赤い見出しは白い袋文字（白いふち取り） */
.hero-band--tall { padding-bottom: 2.25rem; }
.hero-band--tall h2.hero-serif {
  margin: 2rem 0 0; padding-bottom: 0; color: #c8102e !important;
  text-shadow:
    2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff,
    1.5px 1.5px 0 #fff, -1.5px 1.5px 0 #fff, 1.5px -1.5px 0 #fff, -1.5px -1.5px 0 #fff,
    2.5px 1px 0 #fff, -2.5px 1px 0 #fff, 2.5px -1px 0 #fff, -2.5px -1px 0 #fff,
    1px 2.5px 0 #fff, -1px 2.5px 0 #fff, 1px -2.5px 0 #fff, -1px -2.5px 0 #fff,
    0 4px 10px rgba(0,0,0,.45);
}
.hero-band--tall .hero-cta-wrap { margin: 1.75rem auto 0; padding: 0; max-width: 40rem; }
/* 赤い見出しの文字間隔を少し広げる（2026-11-10） */
.hero-band--tall h2.hero-serif { letter-spacing: .08em; line-height: 1.5 !important; }
/* 「5つの課題」の丸い数字を「講座の特徴」と同じ大きさに（44px→34px、数字15px）（2026-11-10） */
.issues-no { flex: 0 0 34px; height: 34px; font-size: 15px; }
/* 赤い見出しを少しだけ小さく（約1割：スマホ約29px→約26px）（2026-11-10） */
.hero-band--tall h2.hero-serif { font-size: clamp(1.45rem, 6.6vw, 2.15rem) !important; }

/* 紺の帯：上下を広げ、要素の間隔をそろえる（2026-11-10） */
.hero-band--tall { padding: 2.6rem 1rem 2.9rem; }
.hero-band--tall::before { top: 10px; }
.hero-band--tall::after { bottom: 10px; }
.hero-band--tall .hero-band-text { margin-bottom: 1.25rem; }
.hero-band--tall h2.hero-serif { margin-top: 1.6rem; }
.hero-band--tall .hero-cta-wrap { margin-top: 2.1rem; }
/* 金の見出しと赤い見出しの間の飾り（線・✡・線） */
.hero-divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 1.6rem; }
.hero-divider::before, .hero-divider::after { content: ""; width: 56px; height: 1px; background: linear-gradient(90deg, transparent, #d6bd8a); }
.hero-divider::after { background: linear-gradient(90deg, #d6bd8a, transparent); }
.hero-divider span {
  width: 11px; height: 11px; background: #d6bd8a;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2 93.3 77H6.7Z M50 98 6.7 23H93.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2 93.3 77H6.7Z M50 98 6.7 23H93.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (min-width: 768px) { .hero-band--tall { padding: 3.25rem 1.5rem 3.5rem; } }
/* index.html 内の .hero-band の指定（後から読み込まれる）に負けないよう #top を付けて優先 */
#top .hero-band--tall { padding: 2.6rem 1rem 2.9rem; }
#top .hero-band--tall::before { top: 10px; }
#top .hero-band--tall::after { bottom: 10px; }
@media (min-width: 768px) { #top .hero-band--tall { padding: 3.25rem 1.5rem 3.5rem; } }

/* =========================================================
   「1. こんな人に向いている講座です」チェックリスト（2026-11-10）
   金の二重線の枠＋紺の帯の見出し／紺の四角に金のチェック
   ========================================================= */
.check {
  max-width: 44rem; margin: 0 auto; overflow: hidden;
  background: linear-gradient(#fff, #fff) padding-box, var(--gold-grad) border-box;
  border: 2px solid transparent; border-radius: var(--radius);
  box-shadow: 0 18px 40px -24px rgba(15,40,71,.35);
}
.check-head {
  position: relative; margin: 0; padding: 1.25rem 1.25rem 1.35rem; text-align: center;
  background: linear-gradient(135deg, #1b3a63 0%, #0f2847 55%, #0a1c34 100%);
  color: #f3e2b4; font-size: clamp(16px, 4.6vw, 19px); font-weight: 700; line-height: 1.7; letter-spacing: .08em;
}
.check-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: linear-gradient(90deg, transparent, #d6bd8a 15%, #f3e2b4 50%, #d6bd8a 85%, transparent); }
.check-list { list-style: none; margin: 0; padding: .5rem 1.1rem 1rem; text-align: left; }
.check-list li {
  position: relative; padding: .95rem 0 .95rem 36px; border-bottom: 1px solid var(--line);
  color: var(--navy); font-size: 15px; font-weight: 600; line-height: 1.75;
  word-break: normal; overflow-wrap: anywhere; line-break: strict;
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem; width: 22px; height: 22px; border-radius: 2px;
  background: linear-gradient(135deg, #1f4677 0%, #0f2847 70%); box-shadow: 0 0 0 1px var(--gold);
}
.check-list li::after {
  content: ""; position: absolute; left: 7px; top: calc(1.15rem + 3px); width: 8px; height: 13px;
  border: solid #e6cf95; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
@media (min-width: 768px) {
  .check-list { padding: .75rem 2.25rem 1.5rem; }
  .check-list li { font-size: 16px; }
}

/* 「33年間の独自研究で発見した…」：冒頭の帯と同じく画面の左右いっぱいの紺の帯に（2026-11-10） */
#top .full-band {
  position: relative; max-width: none !important; width: 100vw;
  margin-left: calc(50% - 50vw) !important; margin-right: 0 !important;
  padding: 2.1rem 1rem !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  background: linear-gradient(90deg, #0a1c34 0%, #15365f 50%, #0a1c34 100%) !important;
}
#top .full-band::before, #top .full-band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, #b8892e 12%, #f3dc9a 50%, #b8892e 88%, transparent 100%);
}
#top .full-band::before { top: 8px; }
#top .full-band::after { bottom: 8px; }

/* =========================================================
   アピール用パネル（2026-11-10）：「こんな人に向いている講座です」と同じ
   金の二重線の枠＋紺の見出し帯＋紺の四角に金のチェックの項目
   ========================================================= */
main > section:not(#credibility):not(#trial-text) .panel.panel.panel[class] {
  position: relative; overflow: hidden;
  background: linear-gradient(#fff, #fff) padding-box, var(--gold-grad) border-box !important;
  border: 2px solid transparent !important; border-radius: var(--radius) !important;
  outline: 0 !important; box-shadow: 0 18px 40px -24px rgba(15,40,71,.35) !important;
  padding: 0 1.25rem 1.25rem !important;
}
main .panel > .panel-head.panel-head {
  position: relative; margin: 0 -1.25rem 1rem !important; padding: 1.05rem 1.25rem 1.15rem !important;
  background: linear-gradient(135deg, #1b3a63 0%, #0f2847 55%, #0a1c34 100%);
  color: #f3e2b4 !important; text-align: center; border: 0 !important;
  font-size: clamp(16px, 4.6vw, 19px) !important; font-weight: 700 !important; line-height: 1.6; letter-spacing: .06em;
}
main .panel > .panel-head.panel-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px;
  background: linear-gradient(90deg, transparent, #d6bd8a 15%, #f3e2b4 50%, #d6bd8a 85%, transparent);
}
/* 包んだ中身（元のカード）は枠・背景を消してパネルになじませる */
main > section:not(#credibility):not(#trial-text) div.panel > div.panel-body.panel-body[class] {
  background: transparent !important; border: 0 !important; outline: 0 !important; box-shadow: none !important; padding: 0 !important;
}
/* チェック付きの項目（◎ ○ 【 で始まる段落） */
main .panel p.pt {
  position: relative; margin: 0 !important; padding: .85rem 0 .85rem 34px !important;
  border-bottom: 1px solid var(--line); color: var(--navy);
  word-break: normal; overflow-wrap: anywhere; line-break: strict; line-height: 1.8;
}
main .panel p.pt:last-of-type { border-bottom: 0; }
main .panel p.pt::before {
  content: ""; position: absolute; left: 0; top: 1.05rem; width: 21px; height: 21px; border-radius: 2px;
  background: linear-gradient(135deg, #1f4677 0%, #0f2847 70%); box-shadow: 0 0 0 1px var(--gold);
}
main .panel p.pt::after {
  content: ""; position: absolute; left: 7px; top: calc(1.05rem + 3px); width: 7px; height: 12px;
  border: solid #e6cf95; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg);
}
/* 既存療法との比較：他の手法は控えめ（薄い見出し）、松山式だけ紺×金で強調 */
main .panel-body article.panel:not(.panel--win) {
  background: #fff !important; border: 1px solid var(--line) !important; box-shadow: none !important;
}
main .panel-body article.panel:not(.panel--win) > .panel-head.panel-head {
  background: var(--tint); color: var(--ink-soft) !important; font-size: 15px !important;
}
main .panel-body article.panel:not(.panel--win) > .panel-head.panel-head::after { display: none; }
main .panel-body article.panel--win { box-shadow: 0 18px 40px -18px rgba(15,40,71,.5) !important; }
main .panel-body article.panel--win > .panel-head.panel-head { font-size: clamp(18px, 5.2vw, 22px) !important; }
@media (min-width: 768px) {
  main > section:not(#credibility):not(#trial-text) .panel.panel.panel[class] { padding: 0 2rem 1.75rem !important; }
  main .panel > .panel-head.panel-head { margin: 0 -2rem 1.25rem !important; }
}

/* 「33年間…」の紺の帯：上の余白を下（5つの課題との間）と同じ 56px に（2026-11-10） */
#top .full-band { margin-top: 3.5rem !important; }
/* 「5つの課題クリアで 圧倒的な信頼性」を見出しの直下へ（2026-11-10） */
.issues-title + .issues-result { margin: 0 0 1.5rem; }
/* 受講パッケージの一覧（受講料に含まれるもの）にも金のチェック */
#package .panel ol { margin: 0 !important; }
#package .panel ol > li {
  position: relative; margin: 0 !important; padding: .8rem 0 .8rem 34px; border-bottom: 1px solid var(--line);
  color: var(--navy); font-weight: 600; line-height: 1.75; word-break: normal; overflow-wrap: anywhere; line-break: strict;
}
#package .panel ol > li::before {
  content: ""; position: absolute; left: 0; top: 1rem; width: 21px; height: 21px; border-radius: 2px;
  background: linear-gradient(135deg, #1f4677 0%, #0f2847 70%); box-shadow: 0 0 0 1px var(--gold);
}
#package .panel ol > li::after {
  content: ""; position: absolute; left: 7px; top: calc(1rem + 3px); width: 7px; height: 12px;
  border: solid #e6cf95; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg);
}

/* =========================================================
   著書紹介（2026-11-10）：金の枠＋紺の見出し帯／本のカードは上辺に金の太線・金のラベル・紺の太字の書名
   ========================================================= */
.books {
  position: relative; overflow: hidden; margin-top: 1rem;
  background: linear-gradient(#fff, #fff) padding-box, var(--gold-grad) border-box;
  border: 2px solid transparent; border-radius: var(--radius);
  box-shadow: 0 18px 40px -24px rgba(15,40,71,.35); padding: 0 1.1rem 1.4rem;
}
.books-head {
  position: relative; text-align: center; margin: 0 -1.1rem 1.4rem; padding: 1.4rem 1rem 1.4rem;
  background: linear-gradient(135deg, #1b3a63 0%, #0f2847 55%, #0a1c34 100%);
}
.books-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: linear-gradient(90deg, transparent, #d6bd8a 15%, #f3e2b4 50%, #d6bd8a 85%, transparent); }
.books-kicker { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 .4rem; color: #d6bd8a; font-size: 12px; letter-spacing: .3em; }
.books-kicker::before, .books-kicker::after { content: ""; width: 24px; height: 1px; background: rgba(214,189,138,.6); }
.books-title {
  margin: 0; font-size: clamp(22px, 6.4vw, 28px); font-weight: 700; letter-spacing: .2em;
  background: linear-gradient(120deg, #e9d7a6 0%, #f8ecc8 45%, #c9a352 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
main .books .book-card.book-card {
  display: flex; flex-direction: column; position: relative; text-align: left;
  background: #fff !important; border: 1px solid var(--line) !important; border-top: 3px solid var(--gold) !important;
  border-radius: var(--radius) !important; box-shadow: 0 10px 24px -18px rgba(15,40,71,.45) !important;
  padding: 1.15rem 1.15rem 1rem !important; outline: 0;
}
main .books .book-card:hover { border-color: var(--gold) !important; transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(15,40,71,.55) !important; }
.book-date {
  align-self: flex-start; margin: 0 0 .7rem; padding: .2rem .7rem; border-radius: 2px;
  background: var(--gold-grad); color: #fff; font-size: 12.5px; letter-spacing: .08em; font-weight: 600;
}
.book-title {
  display: flex; align-items: flex-start; gap: 10px; margin: 0 0 .6rem;
  color: var(--navy); font-size: 17px; font-weight: 700; line-height: 1.6;
  word-break: normal; overflow-wrap: anywhere; line-break: strict;
}
.book-no {
  flex: 0 0 26px; height: 26px; margin-top: 1px; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #1f4677 0%, #0f2847 70%); color: #f3e2b4; font-size: 13px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--gold);
}
main .books .book-card p.bx { color: var(--ink-soft) !important; font-size: 14.5px !important; line-height: 1.8; word-break: normal; overflow-wrap: anywhere; line-break: strict; }
.book-more {
  margin-top: auto; padding-top: .8rem; align-self: flex-end; color: var(--gold-deep); font-size: 13px; letter-spacing: .12em;
  border-bottom: 1px solid var(--hair);
}
.book-more::after { content: " →"; }
@media (min-width: 768px) { .books { padding: 0 2rem 2rem; } .books-head { margin: 0 -2rem 1.75rem; } }

/* =========================================================
   セクションのアイコン（2026-11-11）
   白い丸に紺のシルエット、金の二重線で囲む。紺地のセクションでは金のシルエット。
   アイコン本体は index.html 冒頭の SVG スプライト（#i-○○）
   ========================================================= */
.sec-icon {
  --ic-cut: #fff;
  display: flex; align-items: center; justify-content: center;
  width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 9999px;
  background: #fff; color: var(--navy);
  box-shadow: 0 0 0 1.5px var(--gold), 0 0 0 5px #fff, 0 0 0 6px var(--hair), 0 10px 22px -12px rgba(15,40,71,.45);
}
.sec-icon svg { width: 34px; height: 34px; display: block; }
#credibility .sec-icon, #trial-text .sec-icon, #clinical-record .sec-icon {
  --ic-cut: #0f2847; background: rgba(255,255,255,.04); color: #e6cf95;
  box-shadow: 0 0 0 1.5px #d6bd8a, 0 0 0 5px transparent, 0 0 0 6px rgba(214,189,138,.4);
}
@media (min-width: 768px) { .sec-icon { width: 76px; height: 76px; } .sec-icon svg { width: 40px; height: 40px; } }

/* ヘッダーのロゴの丸い縁を金で囲む（2026-11-11） */
.logo-img { border-radius: 9999px; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--gold), 0 2px 6px rgba(15,40,71,.25); }

/* 既存療法の5種類にアイコン（2026-11-11） */
main .panel-body article.panel > .panel-head.panel-head:has(.cmp-icon) { display: flex; align-items: center; justify-content: center; gap: 10px; }
.cmp-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9999px;
  background: #fff; color: var(--navy); box-shadow: 0 0 0 1px var(--gold);
}
.cmp-icon svg { width: 20px; height: 20px; }

/* 項目ごとのアイコン（チェックの代わり）：紺の丸に金の絵柄（2026-11-11） */
main .panel p.pt.pt-ic { padding-left: 46px !important; }
main .panel p.pt.pt-ic::before, main .panel p.pt.pt-ic::after { display: none; }
.pt-icon {
  --ic-cut: #0f2847;
  position: absolute; left: 0; top: .8rem; width: 32px; height: 32px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #1f4677 0%, #0f2847 70%); color: #ecd9a4;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--gold);
}
.pt-icon svg { width: 18px; height: 18px; }
/* 信頼性（紺地）の各段落にもアイコン */
#credibility .cred-pt { position: relative; padding-left: 46px; }
#credibility .cred-pt .pt-icon { top: .15rem; box-shadow: 0 0 0 2px #0f2847, 0 0 0 3px #d6bd8a; }
/* サポートの受講枠（カード見出し側の段落）はアイコンを上端に */
#support article .pt-ic .pt-icon { top: .55rem; }
/* 申し込みフローの各ステップにアイコン（2026-11-11） */
#flow h3.step-head { display: flex; align-items: center; gap: 12px; }
.step-icon {
  --ic-cut: #0f2847; flex: none; width: 36px; height: 36px; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #1f4677 0%, #0f2847 70%); color: #ecd9a4;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--gold);
}
.step-icon svg { width: 20px; height: 20px; }

/* 受講パッケージの一覧：チェックの代わりに内容に合ったアイコン（2026-11-11） */
#package .panel ol > li.pkg-ic { padding-left: 46px; min-height: 60px; }
#package .panel ol > li.pkg-ic::before, #package .panel ol > li.pkg-ic::after { display: none; }
#package .panel ol > li.pkg-ic .pt-icon { top: .75rem; }

/* 冒頭の紺の帯：金の線の外側の紺を広く（線を内側へ28px、その分帯を上下に伸ばす）（2026-11-11） */
#top .hero-band--tall { padding: 3.75rem 1rem 4.05rem; }
#top .hero-band--tall::before { top: 28px; }
#top .hero-band--tall::after { bottom: 28px; }
@media (min-width: 768px) { #top .hero-band--tall { padding: 4.4rem 1.5rem 4.65rem; } }

/* 冒頭「テキスト無料公開中！」ボタンの幅を15%縮める（スマホでは全幅→85%）（2026-11-11） */
@media (max-width: 639px) {
  #top .hero-cta-wrap { align-items: center; }
  #top .hero-cta-wrap .btn-gold { width: 85% !important; }
}

/* 冒頭の画像を紺の帯の中（金の線の下）へ移動（2026-11-11） */
#top .hero-band--tall .hero-fig { margin: 1.4rem auto 0; }
#top .hero-band--tall .hero-fig img { border-radius: 2px !important; box-shadow: 0 0 0 1px rgba(214,189,138,.7), 0 14px 30px -14px rgba(0,0,0,.6) !important; }

/* 見出し2行目「− 0期生先行募集 −」を少し小さく（2026-11-11） */
#top .title-3d .h1-sub { font-size: .82em; }

/* 冒頭の画像の幅を見出し「松山式骨膜リリース」の行の幅に合わせる（2026-11-11）
   .hero-head は中身の最も広い行（見出し1行目）の幅になり、画像はその幅いっぱいに広がる */
#top .hero-head { width: fit-content; max-width: 100%; margin: 0 auto; }
#top .hero-head .hero-fig { width: 0; min-width: 100%; max-width: none; }

/* 「松山式骨膜リリースとは」（定義文）をアピール用パネルに（2026-11-11）
   見出しは紺の帯、各段落は紺の丸＋金の絵柄のアイコン付き。dfn・h2 は GEO 用にそのまま */
#top .def-panel.def-panel { max-width: 42rem; margin-left: auto; margin-right: auto; }
#top .def-panel > .panel-head.panel-head { font-size: clamp(19px, 5.4vw, 23px) !important; letter-spacing: .12em; }
#top .def-panel p.pt { font-size: 15px; line-height: 1.85; color: #1e293b; }
#top .def-panel p.pt.pt-ic .pt-icon { top: .95rem; }
#top .def-panel dfn { color: var(--navy); font-weight: 700; background: linear-gradient(transparent 62%, rgba(230,211,168,.6) 62%); }
#top .def-panel strong { color: #a3172e; font-weight: 700; }
/* 枠を「5つの課題」と同じ金の二重線に（外側の金の線＋8px内側の細い金線）（2026-11-11） */
#top .def-panel::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(179,146,86,.6); pointer-events: none; z-index: 2; }

/* 5つの課題：見出しを紺の帯に、「圧倒的な信頼性」は帯をやめて大きな金文字に（2026-11-11） */
#top .issues .issues-head {
  position: relative; margin: -2.25rem -1.25rem 0; padding: 2rem 1.25rem 1.9rem; text-align: center;
  background: linear-gradient(135deg, #1b3a63 0%, #0f2847 55%, #0a1c34 100%);
}
#top .issues .issues-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px;
  background: linear-gradient(90deg, transparent, #d6bd8a 15%, #f3e2b4 50%, #d6bd8a 85%, transparent);
}
#top .issues .issues-head .issues-kicker { color: #d6bd8a; }
#top .issues .issues-head .issues-kicker::before, #top .issues .issues-head .issues-kicker::after { background: rgba(214,189,138,.6); }
#top .issues .issues-head .issues-title { color: #f3e2b4; margin-bottom: 0; }
#top .issues .issues-head .issues-title::after { display: none; }
#top .issues .issues-head + .issues-result { margin: 1.6rem 0 1.4rem; }
#top .issues .issues-result { background: none; padding: 0; color: inherit; }
#top .issues .issues-result::before { display: none; }
#top .issues .issues-result strong {
  margin: 0; font-size: clamp(30px, 8.6vw, 40px);
  background: linear-gradient(120deg, #8e6d3a 0%, #c9a352 40%, #b39256 60%, #6f5530 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* 冒頭の画像を「松山式骨膜リリースとは」の枠の中（見出し帯の直下）へ（2026-11-11） */
#top .def-panel .def-fig { margin: 0 0 .4rem; }
#top .def-panel .def-fig img { display: block; width: 100%; height: auto; border-radius: 0 !important; box-shadow: none !important; border: 1px solid var(--line); }

/* 5つの課題：帯の中を「圧倒的な信頼性」、帯の下を見出し「松山式骨膜リリースがクリアした5つの課題」に入れ替え（2026-11-11） */
#top .issues .issues-head .issues-result { margin: .2rem 0 0; }
#top .issues .issues-head .issues-result strong {
  background: linear-gradient(120deg, #e9d7a6 0%, #f8ecc8 45%, #c9a352 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
#top .issues .issues-head + .issues-title { margin: 1.6rem 0 1.4rem; color: var(--navy); }
/* PCでも帯を枠の端まで広げる */
@media (min-width: 768px) { #top .issues .issues-head { margin: -2.75rem -2.5rem 0; padding-left: 2.5rem; padding-right: 2.5rem; } }

/* 講座の特徴の上のLINEボタン：高さを30%小さく（124px→約87px）（2026-11-11） */
main a.btn-gold.btn-short { padding-top: 8px !important; padding-bottom: 8px !important; font-size: 18px !important; line-height: 1.3 !important; min-height: 0 !important; }
/* 帯の中の「圧倒的な信頼性」を周りとのバランスで小さく（2026-11-11） */
#top .issues .issues-head .issues-result strong { font-size: clamp(24px, 6.6vw, 30px); letter-spacing: .16em; }

/* 講座の特徴の上のLINEボタン：スマホでは幅を20%短く（全幅→80%）（2026-11-11） */
@media (max-width: 639px) { main a.btn-gold.btn-short { width: 80% !important; padding-left: 10px !important; padding-right: 10px !important; letter-spacing: .06em !important; } }

/* 開発者プロフィール：アイコンと見出し下の線・✡をなくし元の間隔に。スマホでは名前を写真の幅の内側に収める（2026-11-11） */
#developer .dev-title { padding-bottom: 0; }
#developer .dev-title::before, #developer .dev-title::after { display: none; }
@media (max-width: 639px) { #developer .dev-title { font-size: 17px !important; letter-spacing: .04em; } }

/* 開発者プロフィールの肩書きの帯：下の文章と同じ幅に広げ、文字は中央ぞろえ（2026-11-11） */
#developer .dev-badge { display: block !important; width: 100%; text-align: center; }

/* 開発者の写真を説明の枠の中（肩書きの帯の上）に入れる（2026-11-11） */
#developer .dev-photo { display: block; width: 100%; max-width: 384px; height: auto; aspect-ratio: 1 / 1; margin: 0 auto 1.25rem; box-shadow: none; }

/* 開発者名の見出しを見た目の中央に：かっこの余白を詰め（palt）、字間の右側の余りを左にも足す（2026-11-11） */
#developer .dev-title { font-feature-settings: "palt"; padding-left: .08em; }
@media (max-width: 639px) { #developer .dev-title { padding-left: .04em; } }

/* 開発者プロフィールの枠を「講座の特徴」(.feat) と同じ金のグラデーションの枠に（2026-11-11） */
#developer#developer .dev-box.dev-box.dev-box.dev-box {
  background: linear-gradient(#fff, #fff) padding-box, var(--gold-grad) border-box !important;
  border: 2px solid transparent !important; border-radius: var(--radius) !important;
  outline: 0 !important; box-shadow: 0 18px 40px -24px rgba(15,40,71,.35) !important;
}

/* 開発者プロフィールの文章：文節で切る改行（keep-all）をやめ、両端そろえで行末の空白をなくす（2026-11-11） */
#developer .dev-box p.canva-text { word-break: normal; line-break: strict; text-align: justify; text-justify: inter-character; }

/* 開発者プロフィール：文章と、上の帯・下のボタンとの間にゆとりを持たせる（2026-11-11） */
#developer#developer .dev-box > .dev-badge + p { margin-top: 1.75rem !important; }
#developer#developer .dev-box > a { margin-top: 1.75rem !important; }

/* 開発者プロフィールの「施術実績・ビフォーアフター写真を見る」ボタン：ひと回り小さく、上の帯と同じ濃い金に（2026-11-11） */
#developer#developer .dev-box > a.dev-link {
  background: var(--gold-grad) !important; color: #fff !important;
  border: 1px solid #8e6d3a !important; border-radius: var(--radius) !important;
  font-size: 16px !important; padding: .55rem 1.25rem !important; letter-spacing: .06em;
  box-shadow: 0 8px 18px -10px rgba(110,84,40,.6) !important;
}
#developer#developer .dev-box > a.dev-link:hover { filter: brightness(1.06); }
@media (max-width: 639px) { #developer#developer .dev-box > a.dev-link { font-size: 13.5px !important; letter-spacing: 0; padding: .6rem .8rem !important; white-space: nowrap; } }

/* =========================================================
   臨床実績紹介（2026-11-12 作り直し）：全面の紺をやめ、著書紹介・チェックリストと同じ
   白地＋金のグラデーションの枠＋上部だけ紺の見出し帯（金文字）。本文は紺の文字でゆったり。
   ========================================================= */
#clinical-record.case {
  position: relative; overflow: hidden;
  background: linear-gradient(#fff, #fff) padding-box, var(--gold-grad) border-box;
  border: 2px solid transparent; border-radius: var(--radius);
  box-shadow: 0 18px 40px -24px rgba(15,40,71,.35);
}
.case-head {
  position: relative; text-align: center; padding: 1.6rem 1.1rem 1.7rem;
  background: linear-gradient(135deg, #1b3a63 0%, #0f2847 55%, #0a1c34 100%);
}
.case-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: linear-gradient(90deg, transparent, #d6bd8a 15%, #f3e2b4 50%, #d6bd8a 85%, transparent); }
.case-kicker { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 .7rem; color: #d6bd8a; font-size: 12px; letter-spacing: .3em; }
.case-kicker::before, .case-kicker::after { content: ""; width: 24px; height: 1px; background: rgba(214,189,138,.6); }
.case-label {
  display: inline-block; margin: 0 0 .9rem; padding: .2rem .9rem; border: 1px solid rgba(214,189,138,.7);
  color: #f3e2b4; font-size: 13px; letter-spacing: .2em;
}
.case-title {
  margin: 0; font-size: clamp(18px, 5vw, 23px); font-weight: 700; line-height: 1.75; letter-spacing: .06em;
  background: linear-gradient(120deg, #e9d7a6 0%, #f8ecc8 45%, #d4b26a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.case-body { padding: 2rem 1.35rem 2.2rem; }
.case-text {
  margin: 0 0 1.4rem; color: var(--ink); font-size: 15.5px; line-height: 2; letter-spacing: .04em;
  text-align: justify; text-justify: inter-character; word-break: normal; line-break: strict;
}
.case-sub {
  display: flex; align-items: center; gap: 12px; margin: 2.6rem 0 .5rem; color: var(--navy);
  font-size: 17px; font-weight: 700; letter-spacing: .1em;
}
.case-sub::before { content: ""; flex: 0 0 4px; align-self: stretch; min-height: 1.4em; background: var(--gold-grad); }
.case-sub-note { margin: 0 0 1rem; color: var(--ink-soft); font-size: 13.5px; line-height: 1.8; }
.case-sub + .case-fig { margin-top: 1rem; }
.case-fig { margin: 0 auto; max-width: 36rem; }
.case-fig img {
  display: block; width: 100%; height: auto; margin: 0 0 1rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 24px -20px rgba(15,40,71,.5);
}
.case-cap {
  margin: .3rem 0 0; padding-top: .8rem; border-top: 1px solid var(--line);
  color: var(--ink-soft); font-size: 13.5px; line-height: 1.85; text-align: justify; word-break: normal; line-break: strict;
}
.case-note {
  margin: 2.6rem 0 0; padding: 1.5rem 1.2rem .3rem; background: var(--tint);
  border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius);
}
.case-note-head { margin: 0 0 1rem; color: var(--gold-deep); font-size: 15px; font-weight: 700; letter-spacing: .08em; line-height: 1.7; }
.case-note .case-text { font-size: 15px; margin-bottom: 1.2rem; }
.case-links {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line);
}
#clinical-record a.case-yt, #clinical-record#clinical-record a.ba-link {
  display: block; width: 100%; max-width: 22rem; margin: 0; text-align: center; text-decoration: none;
  font-size: 15.5px !important; letter-spacing: .06em; line-height: 1.6; padding: .85rem 1.2rem !important;
  border-radius: var(--radius) !important;
}
#clinical-record a.case-yt { background: #cc1f1f; color: #fff; border: 1px solid #a51818; box-shadow: 0 8px 18px -12px rgba(165,24,24,.7); }
#clinical-record a.case-yt:hover { background: #b51b1b; }
#clinical-record#clinical-record a.ba-link {
  background: var(--gold-grad) !important; color: #fff !important; border: 1px solid #8e6d3a !important;
  box-shadow: 0 8px 18px -12px rgba(110,84,40,.6) !important;
}
#clinical-record#clinical-record a.ba-link:hover { filter: brightness(1.06); }
#clinical-record .case-fig img + figcaption { margin-top: 0; }
@media (min-width: 768px) {
  .case-head { padding: 2rem 2rem 2.1rem; }
  .case-body { padding: 2.6rem 2.5rem 2.8rem; }
  .case-text { font-size: 16px; }
  .case-note { padding: 1.8rem 1.8rem .4rem; }
}


/* 公式HP・SNSリンク欄（2026-11-12）：スマホでも4列×2段 */
#links.sns-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 640px) { #links.sns-grid { gap: 8px; } }

/* 目次メニュー下部の2つのボタン（2026-11-12 ユーザー指示）：上の目次との間・ボタン同士・下の余白を広く */
#navigationDrawer .drawer-cta { margin-top: 44px !important; padding-top: 44px; gap: 28px; padding-bottom: 44px; border-bottom-width: 1px; border-bottom-style: solid; margin-bottom: 28px; }
/* ↑上の線（border-t）と同じ薄い線を2つ目のボタンの下にも（2026-11-12） */
#navigationDrawer .drawer-cta > a { padding-top: 18px; padding-bottom: 18px; }
/* 目次メニューの「LINE公式から…」ボタン：下の申し込みボタンと見分けやすいよう、明るいシャンパンゴールド＋濃い金の文字（2026-11-12） */
#navigationDrawer .btn-gold.btn-gold-light, #developer .dev-cta .btn-gold.btn-gold-light, #recruit .btn-gold.btn-gold-light, #flow .btn-gold.btn-gold-light, main .end-cta .btn-gold.btn-gold-light {
  color: #5c4318 !important; text-shadow: none;
  background-color: #efe2c2 !important;
  background-image: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%), linear-gradient(135deg, #f7edd4 0%, #e6d2a3 55%, #d9c08a 100%) !important;
  border: 1px solid #b39256 !important;
}
#navigationDrawer .btn-gold.btn-gold-light::before, #developer .dev-cta .btn-gold.btn-gold-light::before, #recruit .btn-gold.btn-gold-light::before, #flow .btn-gold.btn-gold-light::before, main .end-cta .btn-gold.btn-gold-light::before { border-color: rgba(142,109,58,.45); }
#navigationDrawer .btn-gold.btn-gold-light *, #developer .dev-cta .btn-gold.btn-gold-light *, #recruit .btn-gold.btn-gold-light *, #flow .btn-gold.btn-gold-light *, main .end-cta .btn-gold.btn-gold-light * { color: inherit !important; }
/* 臨床実績の写真同士の間隔を広く（2026-11-12 ユーザー指示：レントゲン2枚の間が狭い） */
#clinical-record .case-fig img + img { margin-top: 2.25rem; }

/* 著書紹介をコンパクトに（2026-11-12 ユーザー指示：上下に長すぎる）
   見出し帯と余白を詰め、「Amazonで見る」を刊行日の右に並べて1行減らす */
.books { padding: 0 .9rem 1rem; }
.books-head { margin: 0 -.9rem 1rem; padding: 1rem 1rem 1.05rem; }
.books-kicker { margin-bottom: .2rem; font-size: 11px; }
.books-title { font-size: clamp(20px, 5.6vw, 26px); }
.books .books-grid { gap: .75rem !important; }
main .books .book-card.book-card {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: .75rem;
  padding: .8rem .95rem .85rem !important;
}
main .books .book-card > * { grid-column: 1 / -1; }
.book-date { grid-column: 1 / 2 !important; grid-row: 1; margin: 0 0 .5rem; padding: .1rem .55rem; font-size: 11.5px; justify-self: start; }
.book-more { grid-column: 2 / 3 !important; grid-row: 1; margin: 0 0 .5rem; padding-top: 0; align-self: center; font-size: 12px; }
.book-title { margin: 0 0 .35rem; font-size: 15.5px; line-height: 1.5; gap: 8px; }
.book-no { flex-basis: 22px; height: 22px; font-size: 11.5px; }
main .books .book-card p.bx { font-size: 13.5px !important; line-height: 1.7; margin: 0; }
@media (min-width: 768px) {
  .books { padding: 0 1.5rem 1.5rem; } .books-head { margin: 0 -1.5rem 1.25rem; }
  main .books .book-card.book-card { align-content: start; }
}

/* 開発者セクション下部の余白（2026-11-12 ユーザー指示）
   臨床実績↔著書紹介の間を1.5倍（2.5rem→3.75rem）、著書紹介↔ボタン・ボタン同士を広く、ボタンの下の余白を1.5倍 */
#developer#developer .space-y-10 > #books { margin-top: 3.75rem; }
#developer#developer .space-y-10 > .dev-cta { margin-top: 3.5rem; gap: 1.75rem; }
#developer.py-16 { padding-bottom: 6rem; }
@media (min-width: 640px) { #developer.py-16 { padding-bottom: 7.5rem; } }

/* 2. 解決策の本文（チェックなしの段落）：前後のチェック項目との間を広く、図の前も広く（2026-11-12 ユーザー指示） */
#solution .panel-body > p.sol-p { margin: 1rem 0 1.75rem !important; line-height: 1.85; }
#solution .panel-body > p.sol-p--last { margin-bottom: 2.75rem !important; }

/* 脳エラーのフローの最後のまとめ（2026-11-12 ユーザー指示：図の説明文をまとめとして大きめに） */
.flow-box .flow-sum {
  margin: 1.4rem 0 0; padding: 1.2rem .2rem .2rem; border-top: 1px solid var(--hair);
  color: var(--navy); font-size: 17px; font-weight: 700; line-height: 1.9; letter-spacing: .04em;
  text-align: justify; word-break: normal; line-break: strict;
}
@media (min-width: 768px) { .flow-box .flow-sum { font-size: 19px; } }
/* まとめ文をアピール用に：紺の帯＋金の細線＋明るい金の文字（2026-11-12 ユーザー指示） */
.flow-box .flow-sum {
  position: relative; margin: 1.6rem 0 0; padding: 1.3rem 1.2rem; border: 0;
  background: linear-gradient(135deg, #1b3a63 0%, #0f2847 55%, #0a1c34 100%);
  color: #f3e2b4; border-radius: var(--radius); box-shadow: 0 14px 28px -18px rgba(15,40,71,.7);
  outline: 1px solid rgba(214,189,138,.55); outline-offset: -6px;
}

/* 解決策の「公開テキストを閲覧して詳しい内容を知る」ボタンの上下を広く（2026-11-12 ユーザー指示：2.5rem→4rem） */
#solution#solution .space-y-10 > a.sol-cta { margin-top: 4rem; }
#solution#solution .space-y-10 > a.sol-cta + * { margin-top: 4rem; }

/* 既存療法との比較の本文：単語の途中でも改行し、左そろえ（両端そろえは英字の前で字間が開くのでやめた）（2026-11-12 ユーザー指示） */
main .panel-body article.panel > p.canva-text { word-break: normal; overflow-wrap: anywhere; line-break: strict; text-align: left; }

/* 既存療法との比較：松山式骨膜リリースの枠の上（他社の枠との間）と下（外枠の線まで）を広く（2026-11-12 ユーザー指示） */
#solution .panel-body > article.panel--win { margin-top: 2.75rem !important; margin-bottom: 1.75rem !important; }

/* 3. 再現性とタイムパフォーマンス：1つ目と2つ目の枠の間を広く（2026-11-12 ユーザー指示：2rem→3.5rem） */
#performance#performance .space-y-8 > .panel + .panel { margin-top: 3.5rem; }

/* サポート体制：「対面実技の再受講制度」の小見出し（2026-11-12 ユーザー指示：冊子テキストの下に余白＋表題＋アイコン） */
#support .sup-sub {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 2.75rem 0 1.25rem !important; padding-bottom: .9rem; border-bottom: 1px solid var(--hair);
  color: var(--navy); font-size: 18px; font-weight: 700; letter-spacing: .1em; line-height: 1.5;
}
#support .sup-sub-icon {
  --ic-cut: #0f2847; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #1f4677 0%, #0f2847 70%); color: #ecd9a4;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--gold);
}
#support .sup-sub-icon svg { width: 20px; height: 20px; }
@media (min-width: 768px) { #support .sup-sub { font-size: 20px; } }
/* ↑小見出しの線を文字の下から上に移動（2026-11-12 ユーザー指示） */
#support .sup-sub { border-bottom: 0; border-top: 1px solid var(--hair); padding: 1.6rem 0 0; margin-top: 2rem !important; }

/* サポート体制：「対面実技の再受講制度」を上の説明と別物とわかるブロックに（2026-11-12 ユーザー指示）
   シャンパン色の地＋金の枠、表題は金の帯（白文字）、カードは白地に金の上線 */
#support .sup-retake {
  margin-top: 2.5rem !important; position: relative;
  background: var(--tint); border: 1px solid var(--gold); border-radius: var(--radius);
  outline: 1px solid rgba(179,146,86,.45); outline-offset: -6px;
  padding: 0 .9rem 1.1rem; box-shadow: 0 14px 30px -22px rgba(110,84,40,.6);
}
#support .sup-retake .sup-sub {
  margin: 0 -.9rem 1.1rem !important; padding: .95rem 1rem !important; border: 0;
  background: var(--gold-grad); color: #fff; text-shadow: 0 1px 2px rgba(80,58,20,.35);
}
#support .sup-retake .sup-sub-icon { background: #fff; color: var(--navy); --ic-cut: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.5); }
#support .sup-retake article {
  background: #fff !important; border: 1px solid var(--line) !important; border-top: 3px solid var(--gold) !important;
  border-radius: var(--radius) !important; box-shadow: 0 8px 18px -16px rgba(15,40,71,.5) !important;
}
#support .sup-retake .grid { gap: .9rem; }
@media (min-width: 768px) {
  #support .sup-retake { padding: 0 1.4rem 1.4rem; }
  #support .sup-retake .sup-sub { margin: 0 -1.4rem 1.4rem !important; }
}
/* 再受講制度のカード：料金は2行目に小さめ・濃い金で */
#support .sup-retake .sup-price { display: block; margin-top: .25rem; color: var(--gold-deep); font-size: 14.5px; font-weight: 700; letter-spacing: .03em; }
/* 再受講制度のカード本文：単語の途中でも改行してバランスよく（2026-11-12 ユーザー指示） */
#support .sup-retake article p.canva-text:not(.pt) { word-break: normal; overflow-wrap: anywhere; line-break: strict; }
/* 再受講制度のカード：スマホで見出しが窮屈にならないよう内側の余白と文字を少し詰める */
#support .sup-retake .nowrap { white-space: nowrap; }
@media (max-width: 639px) {
  #support .sup-retake { padding: 0 .6rem .8rem; }
  #support .sup-retake .sup-sub { margin: 0 -.6rem .9rem !important; }
  #support .sup-retake article { padding: 1rem .9rem !important; }
  #support .sup-retake article p.pt { font-size: 16px !important; letter-spacing: .02em; }
}

/* 5. 信頼性：枠の中だけ明るい地（アイボリー）＋紺の文字に（2026-11-12 ユーザー指示）。外側の紺のセクションはそのまま */
#credibility#credibility .cred-box {
  background: #fcfaf6 !important; color: var(--ink) !important;
  border: 2px solid transparent !important; border-radius: var(--radius) !important;
  background: linear-gradient(#fcfaf6, #fcfaf6) padding-box, var(--gold-grad) border-box !important;
  outline: 1px solid rgba(179,146,86,.55); outline-offset: -8px;
  box-shadow: 0 20px 44px -24px rgba(0,0,0,.6);
}
#credibility .cred-box .cred-pt { color: var(--ink) !important; line-height: 1.95; text-align: justify; word-break: normal; line-break: strict; }
#credibility .cred-box .cred-pt + .cred-pt { padding-top: 1rem; border-top: 1px solid var(--line); margin-top: 1rem; }
#credibility .cred-box .cred-pt + .cred-pt .pt-icon { top: 1.15rem; }
#credibility .cred-box .cred-pt .pt-icon {
  --ic-cut: #0f2847; background: radial-gradient(circle at 35% 30%, #1f4677 0%, #0f2847 70%); color: #ecd9a4;
  box-shadow: 0 0 0 2px #fcfaf6, 0 0 0 3px var(--gold);
}
#credibility .cred-box .cred-pt.text-royalGold-400 { color: var(--ink) !important; font-weight: 400 !important; }

/* 6. ROI：メニュー例のカード（2026-11-12 ユーザー指示：先頭の黒い■を金のデザインに）
   金の菱形マーク＋紺の太字のコース名／金の料金／説明／金のラベル（看板メニュー・VIPコース） */
.menu-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 1rem 1.1rem 1.1rem; box-shadow: 0 10px 22px -18px rgba(15,40,71,.45);
}
.menu-name { display: flex; align-items: center; gap: 10px; margin: 0 0 .55rem; color: var(--navy); font-size: 16.5px; font-weight: 700; letter-spacing: .06em; line-height: 1.5; }
.menu-mark {
  flex: 0 0 11px; width: 11px; height: 11px; transform: rotate(45deg);
  background: var(--gold-grad); box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(179,146,86,.7);
}
.menu-price { margin: 0 0 .4rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); color: var(--gold-deep); font-size: 15.5px; font-weight: 700; letter-spacing: .04em; }
.menu-desc { margin: 0; color: var(--ink); font-size: 14.5px; line-height: 1.8; }
.menu-tag {
  display: inline-block; margin-top: .6rem; padding: .15rem .7rem; border-radius: 2px;
  background: var(--gold-grad); color: #fff; font-size: 12.5px; letter-spacing: .1em;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

/* 6. ROI：4つの枠同士の間隔を広く（2026-11-12 ユーザー指示：2.5rem/1.5rem → 3.5rem） */
#roi#roi .space-y-10 > .panel--wrap + * { margin-top: 3.5rem; }
#roi .space-y-10 > .grid.gap-6 { row-gap: 3.5rem; column-gap: 1.75rem; }

/* 7. 無料公開：枠の中を明るい地（アイボリー）＋紺の文字に、文字は少し小さく（2026-11-12 ユーザー指示） */
#trial-text#trial-text .trial-box {
  background: linear-gradient(#fcfaf6, #fcfaf6) padding-box, var(--gold-grad) border-box !important;
  border: 2px solid transparent !important; border-radius: var(--radius) !important;
  outline: 1px solid rgba(179,146,86,.55); outline-offset: -8px;
  box-shadow: 0 20px 44px -24px rgba(0,0,0,.6); padding: 1.6rem 1.2rem !important;
}
#trial-text .trial-box p.canva-text { color: var(--navy) !important; font-size: 17px !important; line-height: 1.95; letter-spacing: .04em; }
#trial-text .trial-box p.canva-text:empty { display: none; }
@media (min-width: 768px) { #trial-text .trial-box p.canva-text { font-size: 18px !important; } }
@media (max-width: 639px) {
  #trial-text#trial-text .trial-box { padding: 1.4rem .8rem !important; }
  #trial-text .trial-box p.canva-text { font-size: 15.5px !important; letter-spacing: 0; }
}

/* 8. 受講パッケージ：最後の項目（9.）の下の線をなくす（2026-11-12 ユーザー指示。下の空の枠も削除済み） */
#package .panel ol > li.pkg-ic:last-child { border-bottom: 0 !important; padding-bottom: .25rem !important; }

/* =========================================================
   9. 募集要項と価格（2026-11-13 ユーザー指示）
   ========================================================= */
/* 価格のまとまりを金の二重線の枠で囲む */
#recruit .price-box {
  border: 4px double var(--gold); border-radius: var(--radius); background: #fffdf8;
  outline: 1px solid rgba(179,146,86,.35); outline-offset: 4px;
  padding: 1.4rem .8rem 1.5rem; margin: .3rem .3rem 0;
}
/* 価格の文字を少し小さく（33px → スマホ22px／PC30px）。「0期生 特別支援モニター」で改行 */
#recruit .price-main { font-size: 22px !important; line-height: 1.6; letter-spacing: .02em; }
@media (min-width: 640px) { #recruit .price-main { font-size: 30px !important; } }
/* ◎の3文：単語の途中でも改行してバランスよく */
#recruit p.rec-note { word-break: normal; overflow-wrap: anywhere; line-break: strict; line-height: 1.85; }
/* ボタンまわりの余白：◎の文→ボタン、ボタン同士、下のボタン→枠の線をそれぞれ広く */
#recruit#recruit .rec-cta { margin-top: 2.75rem; gap: 1.5rem; }
#recruit .rec-cta > a { display: block; width: 100%; max-width: 26rem; margin: 0 auto; font-size: 15px !important; }
#recruit .space-y-8 > .bg-white.rounded-3xl { padding-bottom: 2.75rem !important; }

/* =========================================================
   10. 申し込みフロー（2026-11-13 ユーザー指示）
   フロー全体を太い金の枠＋紺の地で囲んでアピール。各ステップは白いカード
   ========================================================= */
#flow .flow-wrap {
  background: linear-gradient(160deg, #0b1f39 0%, #15365f 55%, #0f2847 100%);
  border: 3px solid var(--gold); border-radius: var(--radius);
  outline: 1px solid rgba(214,189,138,.55); outline-offset: -9px;
  padding: 1.6rem .9rem; box-shadow: 0 22px 44px -26px rgba(15,40,71,.8);
}
#flow .flow-wrap > article {
  background: #fff !important; border: 1px solid rgba(214,189,138,.6) !important; border-radius: var(--radius) !important;
  box-shadow: 0 10px 22px -16px rgba(0,0,0,.6) !important;
}
#flow .flow-wrap > article + article { margin-top: .9rem !important; }
/* ステップの文章：単語の途中でも改行してバランスよく */
#flow .flow-wrap article h3.bx, #flow .flow-wrap article p.bx { word-break: normal; overflow-wrap: anywhere; line-break: strict; }
/* ステップ1・2のボタン：大きく・中央に */
#flow a.flow-btn {
  display: block; width: 100%; max-width: 22rem; margin: 1rem auto .2rem !important;
  padding: 1rem 1.25rem !important; line-height: 1.5; letter-spacing: .08em;
}
@media (min-width: 640px) { #flow .flow-wrap { padding: 2.2rem 1.8rem; } }
/* 申し込みフロー：「ステップ N」で改行し、小さめの濃い金の文字に（2026-11-13 ユーザー指示） */
#flow .step-txt { display: block; min-width: 0; }
#flow .step-no { display: block; margin-bottom: .15rem; color: var(--gold-deep); font-size: 13.5px; letter-spacing: .14em; line-height: 1.4; }
/* 価格を1行（398,000円(税込)）にしたので、スマホでは少し大きめに戻す（2026-11-13） */
@media (max-width: 639px) { #recruit .price-main { font-size: 27px !important; letter-spacing: .01em; } }

/* =========================================================
   2026-11-13 ユーザー指示：フロー下のボタン・FAQ・メッセージ・最後のボタン
   ========================================================= */
/* 申し込みフロー下の2つのボタンの間を広く */
#application-form-block { gap: 1.75rem !important; }

/* FAQ：質問・回答の文章は単語の途中でも改行してバランスよく */
#faq .faq-card h4.bx, #faq .faq-card p { word-break: normal; overflow-wrap: anywhere; line-break: strict; }
/* FAQ：項目（【サポート・復習環境について】など）が変わるところは、見出しの上を広く */
#faq#faq .space-y-10 > .space-y-4 + h3 { margin-top: 4.5rem; }

/* 12. メッセージ：枠の線を濃い金に、文章と枠の間を広く、文章は単語の途中でも改行 */
#message#message .msg-box {
  border: 2px solid var(--gold) !important; outline: 1px solid rgba(179,146,86,.45); outline-offset: -8px;
  padding: 2.4rem 1.5rem 2.6rem !important;
}
#message .msg-box > p.canva-text { word-break: normal; overflow-wrap: anywhere; line-break: strict; line-height: 1.95; }
@media (min-width: 640px) { #message#message .msg-box { padding: 3rem 3rem 3.2rem !important; } }
/* 「松山式骨膜リリース講座　講師」の上下・「私たち二人が直接指導いたします」の下を広く */
#message .msg-sign { padding-top: 2.25rem !important; margin-top: 2.25rem !important; border-top-color: var(--hair) !important; }
#message .msg-sign .msg-sign-title { margin-bottom: 2rem; letter-spacing: .1em; }
#message .msg-sign > .grid { margin-top: 0 !important; }
#message .msg-sign .msg-sign-note { margin-top: 1.75rem !important; margin-bottom: 1rem; }

/* 最後の2つのボタン：間を広く。配色は目次メニュー下部と同じ（上＝明るい金、下＝濃い金） */
main .end-cta { gap: 1.75rem !important; padding-top: .5rem; }

/* 公式HP・SNSリンク欄（2026-11-13 ユーザー指示）：上に区切り線、ボタンらしく（紺の地＋金の細枠＋影、押せる感じ） */
#links.sns-grid { position: relative; margin-top: 1.5rem; padding-top: 2.25rem !important; padding-bottom: 2.5rem !important; }
#links.sns-grid::before {
  content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px;
  background: linear-gradient(90deg, transparent, #c9ab6e 15%, #b39256 50%, #c9ab6e 85%, transparent);
}
#links.sns-grid::after {
  content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px;
  transform: rotate(45deg); background: var(--gold-grad); box-shadow: 0 0 0 3px #fcfaf6;
}
#links.sns-grid > a.canva-link {
  display: flex; align-items: center; justify-content: center; min-height: 40px;
  background: linear-gradient(180deg, #1f4677 0%, #0f2847 100%) !important;
  color: #f3e2b4 !important; border: 1px solid var(--gold) !important; border-radius: 3px !important;
  box-shadow: 0 3px 0 #08182c, 0 8px 14px -8px rgba(15,40,71,.7) !important;
  letter-spacing: .04em; transition: transform .12s, box-shadow .12s, filter .12s;
}
#links.sns-grid > a.canva-link:hover { filter: brightness(1.15); }
#links.sns-grid > a.canva-link:active { transform: translateY(2px); box-shadow: 0 1px 0 #08182c, 0 4px 8px -6px rgba(15,40,71,.7) !important; }
#links.sns-grid { row-gap: 12px; }
/* 「リンク集」だけは大きな金のボタンにして、ほかのボタンと区別（2026-11-13 ユーザー指示） */
#links.sns-grid > a.canva-link.links-hub {
  grid-column: 1 / -1; min-height: 54px; margin-top: 6px;
  background: var(--gold-grad) !important; color: #fff !important; border: 1px solid #8e6d3a !important;
  font-size: 16px !important; letter-spacing: .3em; text-shadow: 0 1px 2px rgba(80,58,20,.4);
  box-shadow: 0 3px 0 #6e5428, 0 10px 18px -10px rgba(110,84,40,.8) !important;
}
#links.sns-grid > a.canva-link.links-hub::after { content: "→"; margin-left: .6em; letter-spacing: 0; }
#links.sns-grid > a.canva-link.links-hub:active { box-shadow: 0 1px 0 #6e5428, 0 4px 8px -6px rgba(110,84,40,.8) !important; }
/* 2段目（X・note・LINE公式）は3つで横いっぱいに：12列グリッドで1段目は3列ずつ、2段目は4列ずつ */
#links.sns-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
#links.sns-grid > a.canva-link { grid-column: span 3; }
#links.sns-grid > a.canva-link:nth-child(n+5) { grid-column: span 4; }
#links.sns-grid > a.canva-link.links-hub { grid-column: 1 / -1; }

/* 2026-11-13 ユーザー指示 */
/* メッセージ「私たち二人が直接指導いたします」：色を濃く・文字を大きく */
#message .msg-sign .msg-sign-note { color: var(--navy) !important; font-size: 17px !important; font-weight: 700 !important; letter-spacing: .08em; }
/* リンク欄の上の線：中央の飾りを菱形から六芒星に（見出しの✡と同じ形）。線は星の部分だけ切る */
#links.sns-grid::before {
  background: linear-gradient(90deg, transparent 0, #c9ab6e 15%, #b39256 calc(50% - 16px), transparent calc(50% - 16px), transparent calc(50% + 16px), #b39256 calc(50% + 16px), #c9ab6e 85%, transparent 100%);
}
#links.sns-grid::after {
  top: -7px; width: 15px; height: 15px; margin-left: -7.5px; transform: none; box-shadow: none;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2 93.3 77H6.7Z M50 98 6.7 23H93.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2 93.3 77H6.7Z M50 98 6.7 23H93.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* リンク集ボタン：公式HPと同じ文言（すべてのリンクを見る／公式サイト・SNS・LINEの一覧） */
#links.sns-grid > a.canva-link.links-hub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; letter-spacing: .16em; font-size: 17px !important; }
#links.sns-grid > a.canva-link.links-hub::after { content: none; }
#links.sns-grid .links-hub__sub { font-size: 11px; font-weight: 500; letter-spacing: .12em; opacity: .9; }
