/* =========================================================
   松山太公式HP — 配色・デザイン（高級感 × 清潔感）
   ・白に近いアイボリーを主体に、シャンパンゴールドを細い線で効かせる
   ・暗い背景は使わない／影は控えめ／角はほぼ直角（丸めすぎない）
   ・英字の小見出しは Cormorant Garamond（欧文セリフ）
   tailwind.css より後に読み込むので、ここが最優先になる。
   ========================================================= */
:root {
  --ink: #231e18;          /* 本文：深い墨色 */
  --ink-soft: #5a5045;
  --muted: #5a5045;
  --paper: #fcfaf6;        /* 背景：白に近いアイボリー */
  --tint: #f5efe4;         /* 交互セクション：シャンパンアイボリー */
  --white: #ffffff;
  --line: #e8dfcf;         /* 区切り線 */
  --hair: rgba(179,146,86,.38); /* 金の細線 */
  --gold: #b39256;         /* シャンパンゴールド */
  --gold-deep: #8e6d3a;
  --gold-light: #e6d3a8;
  --gold-grad: linear-gradient(135deg, #cdb07a 0%, #b39256 45%, #9c7a43 100%);
  --radius: 2px;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", "Meiryo", sans-serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;
}

body { background: var(--paper); color: var(--ink); font-family: var(--sans); letter-spacing: .04em; }
h1, h2, h3, .serif { font-family: var(--serif); }
::selection { background: var(--gold-light); }

/* ---------- ヘッダー ---------- */
body .canva-header { background: rgba(255,255,255,.94); border-bottom: 1px solid var(--hair); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body .canva-header .canva-text { color: var(--ink); letter-spacing: .22em; font-weight: 500 !important; }
body .site-nav { letter-spacing: .12em; }
body .site-nav a { color: var(--ink-soft); }
body .site-nav a:hover { color: var(--gold-deep); }
body .mobile-menu { background: #fff; border-color: var(--hair); }
body .mobile-menu a { padding: 8px 0; border-bottom: 1px solid var(--line); letter-spacing: .1em; }
body #menu-toggle { color: var(--gold-deep); border: 1px solid var(--hair); border-radius: var(--radius); background: #fff; }

/* ---------- セクションの背景（白系とシャンパンを交互に） ---------- */
main > section { background: var(--paper); }
#home .canva-panel, #profile, #events, #products, #contact { background: var(--tint); }

/* ---------- 見出し：— ENGLISH — ／明朝の見出し／線・◆・線 ---------- */
main .section-kicker {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold-deep) !important; font-family: var(--latin);
  font-size: 15px !important; font-weight: 500; letter-spacing: .24em; white-space: nowrap; text-transform: none; margin-bottom: 8px;
}
main .section-kicker::before, main .section-kicker::after { content: ""; flex: none; width: 24px; height: 1px; background: var(--hair); }
main .section-title {
  font-family: var(--serif); text-align: center; color: var(--ink);
  font-size: 24px !important; font-weight: 500 !important; letter-spacing: .14em; line-height: 1.6;
}
main .section-title::after {
  content: ""; display: block; width: 7px; height: 7px; margin: 20px auto 0;
  background: var(--gold); transform: rotate(45deg);
}
main .section-title { position: relative; padding-bottom: 2px; }
main .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%);
}
main .rule { display: none; }
@media (min-width: 768px) { main .section-title { font-size: 30px !important; } main .section-kicker { font-size: 18px !important; letter-spacing: .32em; } main .section-kicker::before, main .section-kicker::after { width: 36px; } }

/* 1カラムで読む部分は中央寄せの幅に */
#profile .grid, #events .grid { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
#profile .grid > div > p:nth-of-type(2) { text-align: center; color: var(--gold-deep) !important; letter-spacing: .24em; font-family: var(--serif); }
#profile h3 { font-family: var(--serif); font-size: 17px !important; font-weight: 500 !important; letter-spacing: .12em; padding-bottom: 6px; border-bottom: 1px solid var(--hair); line-height: 1.4; margin-top: 12px; }
/* 肩書き（.profile-titles）のデザインはファイル末尾の 2026-11-12 の追加分を参照 */
#events .grid > div { text-align: center; }

/* ---------- ファーストビュー ---------- */
#home .canva-panel { position: relative; }
.hero-catch {
  font-family: var(--serif); color: var(--ink); font-size: 15px; line-height: 2.1; letter-spacing: .1em;
  padding-left: 16px; border-left: 1px solid var(--gold);
}
.hero-title {
  font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: .16em; line-height: 1.5;
  color: var(--gold-deep);
  background: linear-gradient(120deg, #9c7a43 0%, #c4a465 50%, #8e6d3a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@media (min-width: 768px) { .hero-catch { font-size: 18px; } .hero-title { font-size: 34px; letter-spacing: .12em; white-space: nowrap; } }

/* ---------- ボタン（角ばった上品なボタン：金＝主、白＋金の細線＝副）---------- */
main .canva-button, main .unset-link, main .service-card {
  transition: transform .2s, background .25s, color .25s, border-color .25s, box-shadow .25s;
}
main .canva-button {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 54px; border-radius: var(--radius); font-weight: 500 !important; letter-spacing: .16em; line-height: 1.5;
  background: #fff; border: 1px solid var(--gold); color: var(--gold-deep);
}
main .canva-button:hover { background: #fbf6ec; }
main .canva-button.btn-gold {
  background: var(--gold-grad); border-color: transparent; color: #fff;
  box-shadow: 0 8px 22px rgba(142,109,58,.18), inset 0 0 0 1px rgba(255,255,255,.35);
}
main .canva-button.btn-gold:hover { filter: brightness(1.05); background: var(--gold-grad); }
main .canva-button:active, main .unset-link:active, main a.service-card:active { transform: translateY(1px); }
main .canva-button.is-disabled { background: transparent; border-color: var(--line); color: #b0a594; box-shadow: none; transform: none; }
#home .canva-button { width: 100%; }
@media (min-width: 640px) { #home .canva-button { width: auto; } }

/* 書籍：白いカードに金の内枠 */
#books .canva-button {
  display: flex; border: 1px solid var(--line); background: #fff; color: var(--ink);
  outline: 1px solid var(--hair); outline-offset: -6px;
  font-family: var(--serif); letter-spacing: .1em; min-height: 84px; padding: 16px 20px;
}
#books .canva-button:hover { border-color: var(--gold); box-shadow: 0 10px 26px rgba(80,60,30,.07); }

/* ---------- 活動・サービスのカード ---------- */
main .service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  outline: 1px solid var(--hair); outline-offset: -8px; box-shadow: none;
}
main .service-card h3 { font-family: var(--serif); font-weight: 500 !important; letter-spacing: .14em; color: var(--ink); }
main .service-card p { color: var(--gold-deep) !important; font-size: 13px !important; letter-spacing: .1em; }
main a.service-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(80,60,30,.08); }
main .service-card.is-disabled { background: transparent; outline-color: var(--line); }
main .service-card.is-disabled h3, main .service-card.is-disabled p { color: #b0a594 !important; }
/* 縁を「松山骨格矯正院」ボタンと同じ金のグラデーションに（外枠2px＋内側の細線も金） */
main .service-card {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #d6bd8a 0%, #b39256 42%, #8e6d3a 100%) border-box;
  outline: 1px solid rgba(179,146,86,.7); outline-offset: -7px;
}
main a.service-card:hover { border-color: transparent; }
main .service-card.is-disabled {
  background: linear-gradient(#fcfaf6, #fcfaf6) padding-box, linear-gradient(135deg, #d6bd8a 0%, #b39256 42%, #8e6d3a 100%) border-box;
  outline-color: rgba(179,146,86,.7);
}
/* 大きさを約30%小さく（幅・高さとも） */
#services .grid { max-width: 16.8rem; gap: 14px; }
main .service-card { min-height: 98px; padding: 1rem; }
main .service-card h3 { font-size: 17px !important; margin-bottom: 4px; }
main .service-card p { font-size: 12px !important; letter-spacing: .06em; }
@media (min-width: 640px) { #services .grid { max-width: 34rem; } }
@media (min-width: 1024px) { #services .grid { max-width: 44.8rem; } }

/* ---------- 定義文「骨士道とは」（中央揃え・金の内枠）---------- */
main .definition {
  text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  outline: 1px solid var(--hair); outline-offset: -8px; padding: 2rem 1.5rem;
}
main .definition-title { font-family: var(--serif); font-weight: 500; letter-spacing: .16em; color: var(--gold-deep); }
main .definition-title::after { content: ""; display: block; width: 32px; height: 1px; background: var(--gold); margin: 12px auto 4px; }
main .definition dfn { color: var(--gold-deep); }
@media (min-width: 768px) { main .definition { padding: 2.5rem 3rem; } }

/* ---------- 冒頭の言葉 ---------- */
main .intro-text { font-family: var(--serif); color: var(--ink); }
/* 中央揃え／見出し行と本文の間を詰める／下の ACTIVITIES との間を半分に */
main .intro-wrap { text-align: center; padding-bottom: 0; }
main .intro-text { text-align: center; }
main .intro-motto { display: block; margin-bottom: .5em; }
#services { padding-top: 52px; }
@media (min-width: 768px) { #services { padding-top: 104px; } }

/* ---------- 略歴 ---------- */
main .timeline-item { border-left-color: var(--hair); }
main .timeline-item strong { font-family: var(--latin); color: var(--gold-deep); font-size: 22px; font-weight: 600; letter-spacing: .08em; font-variant-numeric: lining-nums; }
main .timeline-item::before { background: var(--gold); border: 0; width: 7px; height: 7px; left: -4px; top: .7rem; border-radius: 0; transform: rotate(45deg); }

/* ---------- メディア ---------- */
#books article { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius); padding: 4px 20px 20px; }

/* ---------- 商品 ---------- */
#products .image-slot { border-radius: var(--radius); border-color: var(--line); background: #fff; }
#products h3 { font-family: var(--serif); font-weight: 500 !important; font-size: 21px !important; letter-spacing: .14em; }
#products dl { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
#products dl > div:first-child { border-color: var(--line); }
#products dt { color: var(--gold-deep); font-size: 13px; letter-spacing: .14em; }
#products dd { font-weight: 500; }

/* ---------- FAQ（細線で区切る白いカード）---------- */
main .faq-list { border-top: 0; display: grid; gap: 12px; }
main .faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; transition: border-color .25s; }
main .faq-item[open] { border-color: var(--hair); }
main .faq-item summary::before { font-family: var(--latin); font-size: 22px; line-height: 1.3; color: var(--gold); }
main .faq-item summary::after { color: var(--gold); font-weight: 300; }
main .faq-a::before { font-family: var(--latin); font-size: 22px; line-height: 1.3; color: var(--ink-soft); }
main .faq-a { color: var(--ink-soft); }
main .text-link { color: var(--gold-deep); font-weight: 500; text-decoration-color: var(--hair); }

/* ---------- お問い合わせ（細線のタグ）---------- */
#contact .flex > span { background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); padding: 7px 14px; font-size: 13px; letter-spacing: .08em; color: var(--ink); }
#contact .canva-button { min-width: min(100%, 320px); }

/* ---------- リンク ---------- */
main .unset-link {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 500; font-size: 15px; letter-spacing: .1em; color: var(--ink);
}
main .unset-link:hover { border-color: var(--gold); color: var(--gold-deep); }

/* ---------- フッター（明るいアイボリー＋金の細線）---------- */
.site-footer { background: #fff; border-top: 1px solid var(--hair); color: var(--ink-soft); text-align: center; padding: 52px 20px 40px; position: relative; }
.site-footer::before { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; background: var(--gold); transform: translateX(-50%) rotate(45deg); }
.site-footer p { margin: 0; }
.site-footer__name { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: .24em; color: var(--ink); }
.site-footer__sub { font-size: 12px; letter-spacing: .14em; margin-top: 6px !important; }
.site-footer__top { display: inline-block; margin-top: 22px; font-family: var(--serif); font-size: 13px; letter-spacing: .2em; color: var(--gold-deep); text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid var(--hair); }

/* リンク先が未定の項目（スクールなど）：押せない見た目 */
main .unset-link.is-disabled { background: transparent; border-color: var(--line); color: #b0a594; cursor: default; }
main .unset-link.is-disabled:hover { border-color: var(--line); color: #b0a594; }
main .unset-link.is-disabled:active { transform: none; }
/* リンク：ボタンを約30%小さく（幅・高さ）。文字は読みやすさのため約20%小さく */
#links .grid { max-width: 16.8rem; margin-left: auto; margin-right: auto; gap: 9px; }
@media (min-width: 640px) { #links .grid { max-width: 34rem; } }
@media (min-width: 1024px) { #links .grid { max-width: 50.4rem; } }
#links .unset-link { min-height: 39px; padding: 8px 14px; font-size: 12px; }
/* リンク：縁を活動・サービスのボタンと同じ金のグラデーション（外枠2px＋内側の細線も金）に */
#links .unset-link {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #d6bd8a 0%, #b39256 42%, #8e6d3a 100%) border-box;
}
#links .unset-link:hover { border-color: transparent; }
#links .unset-link::before, #links .unset-link.is-disabled::before { border-color: rgba(179,146,86,.7); }
#links .unset-link.is-disabled {
  border-color: transparent;
  background: linear-gradient(#fcfaf6, #fcfaf6) padding-box, linear-gradient(135deg, #d6bd8a 0%, #b39256 42%, #8e6d3a 100%) border-box;
}

/* ---------- ファーストビューの文字・ボタンはすべて中央揃え ---------- */
#home .canva-panel { justify-content: center; }
#home .canva-panel > div { width: 100%; margin-left: auto; margin-right: auto; text-align: center; }
#home .hero-catch { border-left: 0; padding-left: 0; }
#home .hero-catch::after { content: ""; display: block; width: 32px; height: 1px; background: var(--gold); margin: 14px auto 0; }
#home .canva-panel .grid { margin-left: auto; margin-right: auto; justify-content: center; }

/* =========================================================
   2026-11-10 追加：ファーストビューの見出しとボタンの高級感
   ========================================================= */
/* 「施術の合氣道」と「骨士道」の間（全角スペース分の約半分） */
.hero-title .hero-gap { display: inline-block; width: .5em; }
/* 見出しを太く（明朝の太字＋金色の細い輪郭線で太さを足す） */
#home .hero-title { font-weight: 600 !important; -webkit-text-stroke: .6px #9c7a43; }
@media (min-width: 768px) { #home .hero-title { -webkit-text-stroke: .8px #9c7a43; } }
/* 見出しの上下のすき間を広げて目立たせる */
#home .hero-catch { margin-bottom: 44px; }
#home .hero-title { margin-bottom: 44px; }
#home .hero-title + div { margin-top: 0; }
@media (min-width: 768px) { #home .hero-catch { margin-bottom: 56px; } #home .hero-title { margin-bottom: 56px; } }

/* ---------- ボタン共通：明朝・広い字間・金の内枠（二重線）---------- */
main .canva-button, main .unset-link {
  position: relative; isolation: isolate; overflow: hidden;
  font-family: var(--serif); letter-spacing: .2em;
}
main .canva-button::before, main .unset-link::before {
  content: ""; position: absolute; inset: 4px; border: 1px solid var(--hair); border-radius: 1px;
  pointer-events: none; transition: border-color .3s;
}
main .canva-button:hover::before, main .unset-link:hover::before { border-color: var(--gold); }
/* 白いボタン：ふちは金の細線、ほんのり影 */
main .canva-button:not(.btn-gold):not(.is-disabled), main .unset-link:not(.is-disabled) {
  box-shadow: 0 6px 16px -10px rgba(110,84,40,.35);
}
main .canva-button:not(.btn-gold):not(.is-disabled):hover, main .unset-link:not(.is-disabled):hover {
  background: #fffdf8; box-shadow: 0 12px 24px -12px rgba(110,84,40,.45);
}
/* 金のボタン：深みのあるグラデーション＋上辺のハイライト＋光が流れるホバー */
main .canva-button.btn-gold {
  background-color: #a8884f;
  background-image: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.32) 50%, transparent 65%),
                    linear-gradient(135deg, #d6bd8a 0%, #b39256 42%, #8e6d3a 100%);
  background-size: 260% 100%, 100% 100%; background-position: 130% 0, 0 0; background-repeat: no-repeat;
  border: 1px solid #c9ad74;
  box-shadow: 0 12px 26px -12px rgba(110,84,40,.6), inset 0 1px 0 rgba(255,246,225,.55);
  text-shadow: 0 1px 1px rgba(80,55,20,.3);
  transition: background-position .7s ease, box-shadow .3s, transform .2s;
}
main .canva-button.btn-gold::before { border-color: rgba(255,246,225,.6); }
main .canva-button.btn-gold:hover {
  filter: none; background-position: -30% 0, 0 0;
  background-image: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.32) 50%, transparent 65%),
                    linear-gradient(135deg, #d6bd8a 0%, #b39256 42%, #8e6d3a 100%);
  box-shadow: 0 16px 30px -12px rgba(110,84,40,.7), inset 0 1px 0 rgba(255,246,225,.6);
}
main .canva-button.btn-gold:hover::before { border-color: rgba(255,246,225,.85); }
/* 書籍カードはもともと金の内枠（outline）があるので二重にしない */
#books .canva-button::before { display: none; }
/* 準備中のボタンは内枠も薄く */
main .canva-button.is-disabled::before, main .unset-link.is-disabled::before { border-color: var(--line); }

/* キャッチコピーと下の短い線の間を、線〜見出しの間と同じ広さに */
#home .hero-catch::after { margin-top: 22px; }
@media (min-width: 768px) { #home .hero-catch::after { margin-top: 28px; } }
/* 線と「施術の合氣道 骨士道」の間も半分に */
#home .hero-catch { margin-bottom: 22px; }
@media (min-width: 768px) { #home .hero-catch { margin-bottom: 28px; } }

/* パソコン表示：写真の枠いっぱいに確実に表示する（Safari などで高さ100%が効かず写真が消えるのを防ぐ） */
@media (min-width: 1024px) {
  #home .hero-image { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; }
  #home .hero-image { object-fit: cover; object-position: center; }
  #home .hero-photo { position: relative; }
}
/* 横に広い画面で「る」だけが次の行に落ちないように（行の途中で折り返さない） */
@media (min-width: 1024px) { #home .canva-panel > div { padding-left: min(13%, 48px); padding-right: min(13%, 48px); } }

/* ファーストビューの3つのボタンを約15%長く */
#home .canva-panel .grid { max-width: none; grid-template-columns: minmax(0, 14.4rem); }
@media (min-width: 640px) {
  #home .canva-panel .grid { max-width: none; }
  #home .canva-panel .canva-button { min-width: 12.65rem; padding-left: 2.35rem; padding-right: 2.35rem; }
}

/* 「骨士道とは」と本文の間を広げる */
main .definition-title { margin-bottom: 28px; }
main .definition-title::after { margin: 16px auto 0; }
@media (min-width: 768px) { main .definition-title { margin-bottom: 32px; } main .definition-title::after { margin-top: 18px; } }

/* 略歴：年表の文章を約30%小さく（16px → 約11px） */
main .timeline-item p { font-size: 11.2px; }

/* 書籍：3つのボタンを約30%小さく＋縁を「松山骨格矯正院」ボタンと同じ金のグラデーションに */
#books .book-grid { max-width: 16.8rem; gap: 14px; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { #books .book-grid { max-width: 34rem; } }
@media (min-width: 1024px) { #books .book-grid { max-width: 50.4rem; } }
#books .book-grid .canva-button {
  min-height: 59px; padding: 11px 14px; font-size: 13.3px !important;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #d6bd8a 0%, #b39256 42%, #8e6d3a 100%) border-box;
  outline: 1px solid rgba(179,146,86,.7); outline-offset: -6px;
}
#books .book-grid .canva-button:hover { border-color: transparent; }

/* メディア：3つのボックスと文字を約30%小さく（幅は書籍ボタンとそろえる） */
#books .media-grid { max-width: 16.8rem; gap: 14px; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { #books .media-grid { max-width: 34rem; } }
@media (min-width: 1024px) { #books .media-grid { max-width: 50.4rem; } }
#books .media-grid article { padding: 3px 14px 14px; }
#books .media-grid .media-item { font-size: 13px; margin-top: 11px; word-break: normal; overflow-wrap: anywhere; }
@media (min-width: 768px) { #books .media-grid .media-item { font-size: 15px; } }

/* 商品情報：関連書籍のまとまり（商品説明と区切る） */
#products .product-book { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--hair); font-size: 15px; line-height: 2; }
#products .product-book-label { font-family: var(--serif); color: var(--gold-deep); font-size: 13px; letter-spacing: .2em; margin-bottom: 4px; }
#products .product-book-title { font-family: var(--serif); font-weight: 500; letter-spacing: .06em; color: var(--ink); }
#products .product-book-price { font-weight: 500; }
#products .product-book-link { display: inline-block; margin-top: 4px; font-size: 13px; letter-spacing: .12em; color: var(--gold-deep); text-decoration: none; border-bottom: 1px solid var(--hair); }
#products .product-book-link:hover { border-bottom-color: var(--gold); }

/* ページ内のすべての文字を、プロフィールの肩書き（明朝体）と同じフォントに統一（2026-11-10 ユーザー指示） */
body, body *, body *::before, body *::after { font-family: var(--serif) !important; }

/* 商品情報：説明・表などの文字のまとまりを横幅約80%に縮めて中央に */
#products .grid > div:last-child { width: 80%; margin-left: auto; margin-right: auto; }
#products dt, #products dd { white-space: nowrap; }
#products dd { font-size: 14px !important; }
#products .grid > div:last-child .canva-button { font-size: 14px !important; letter-spacing: .12em; padding-left: 18px; padding-right: 18px; white-space: nowrap; }
@media (min-width: 768px) { #products dd { font-size: 16px !important; } }

/* 略歴：西暦の文字を約40%小さく（22px → 13px） */
main .timeline-item strong { font-size: 13px; }

/* 見出しの下の線の中央：菱形（◆）を六芒星に（見た目の大きさは菱形とほぼ同じ） */
main .section-title::after {
  width: 11px; height: 11px; margin-top: 18px; transform: none;
  -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;
}

/* 「骨士道とは」の枠：「松山骨格矯正院」ボタンと同じ金のグラデーション（外枠2px＋内側の細線も金） */
main .definition {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #d6bd8a 0%, #b39256 42%, #8e6d3a 100%) border-box;
  outline: 1px solid rgba(179,146,86,.7);
}

/* =========================================================
   2026-11-12 ユーザー指示：松山式骨膜リリースLPのような「紺 × 金」で高級感とインパクトを
   （紺：ヘッダー・ファーストビュー・肩書き・お問い合わせ・フッター／見出しの文字も紺）
   ========================================================= */
:root {
  --navy: #0f2847;
  --navy-2: #1b3a63;
  --navy-deep: #0a1c34;
  --navy-grad: linear-gradient(160deg, #0b1f39 0%, #15365f 55%, #0f2847 100%);
  --gold-line: linear-gradient(90deg, transparent 0%, #b8892e 12%, #f3dc9a 50%, #b8892e 88%, transparent 100%);
  --gold-pale: #f3e2b4;
  --gold-grad: linear-gradient(135deg, #d6bd8a 0%, #b39256 42%, #8e6d3a 100%);
  --hexagram: 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");
}

/* ---------- ヘッダー：紺の帯＋下に金の光る細線 ---------- */
body .canva-header { background: linear-gradient(90deg, #0a1c34 0%, #15365f 50%, #0a1c34 100%); border-bottom: 0; box-shadow: 0 8px 18px rgba(12,35,64,.22); }
body .canva-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold-line); }
body .canva-header .canva-text { color: var(--gold-pale); text-shadow: 0 1px 2px rgba(0,0,0,.35); }
body .site-nav a { color: rgba(243,226,180,.85); }
body .site-nav a:hover { color: #fff; }
body .mobile-menu { background: linear-gradient(180deg, #0f2847 0%, #0a1c34 100%); border-top: 1px solid rgba(214,189,138,.35); }
body .mobile-menu a { color: var(--gold-pale); border-bottom-color: rgba(214,189,138,.22); }

/* メニューボタン：紺地に金のグラデーションの枠＋内側の細線、三本線の下に「MENU」 */
@media (max-width: 1279.98px) {
  body #menu-toggle {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    width: 56px; height: 52px; padding: 3px 0 0; gap: 5px; color: #e6cf95;
    border: 1.5px solid transparent; border-radius: 2px;
    background: linear-gradient(145deg, #1f4677 0%, #0f2847 60%, #0a1c34 100%) padding-box, linear-gradient(135deg, #f3dc9a 0%, #c9a352 40%, #8e6d3a 100%) border-box;
    box-shadow: 0 8px 18px -8px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,246,225,.18);
    transition: box-shadow .3s, transform .2s;
  }
  body #menu-toggle::before { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(214,189,138,.5); pointer-events: none; }
  body #menu-toggle::after {
    content: "MENU"; font-family: var(--latin) !important; font-size: 10px; font-weight: 600; letter-spacing: .24em; line-height: 1;
    margin-right: -.24em; color: #e6cf95;
  }
  body #menu-toggle[aria-expanded="true"]::after { content: "CLOSE"; }
  body #menu-toggle svg { width: 26px; height: 16px; }
  body #menu-toggle svg path { stroke-width: 1.5; }
  body #menu-toggle:hover { box-shadow: 0 10px 22px -8px rgba(0,0,0,.8), 0 0 0 1px rgba(243,220,154,.35), inset 0 1px 0 rgba(255,246,225,.22); }
  body #menu-toggle:active { transform: translateY(1px); }
}

/* ---------- 見出し：紺の文字（LPと同じ） ---------- */
main .section-title { color: var(--navy); font-weight: 600 !important; }
main #profile h3, main .service-card h3, main .faq-q, main #products h3 { color: var(--navy); }
main .service-card h3 { font-weight: 600 !important; }

/* ---------- ファーストビュー：紺の背景＋金の細線 ---------- */
#home .canva-panel { background: var(--navy-grad); }
#home .canva-panel::before, #home .canva-panel::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--gold-line); }
#home .canva-panel::before { top: 10px; }
#home .canva-panel::after { bottom: 10px; }
#home .hero-catch { color: rgba(255,255,255,.92); text-shadow: 0 1px 2px rgba(0,0,0,.3); margin-bottom: 26px; }
#home .hero-catch::after { display: none; }   /* 「施術の合氣道 骨士道」の上の線を消す */
/* 「施術の合氣道 骨士道」：少し小さく（スマホ 28→24px、PC 34→30px）、明るい金 */
#home .hero-title {
  font-size: 24px; font-weight: 700 !important; letter-spacing: .14em; margin-bottom: 0;
  background: linear-gradient(120deg, #f6e6b8 0%, #d6bd8a 45%, #f3dc9a 70%, #c9a352 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-text-stroke: 0;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.45));
}
@media (min-width: 768px) { #home .hero-catch { margin-bottom: 32px; } #home .hero-title { font-size: 30px; -webkit-text-stroke: 0; } }
/* 見出しの下の区切り線（線・六芒星・線） */
.hero-divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px auto 34px; }
.hero-divider::before, .hero-divider::after { content: ""; width: 64px; height: 1px; background: linear-gradient(90deg, transparent, #d6bd8a); }
.hero-divider::after { background: linear-gradient(90deg, #d6bd8a, transparent); }
.hero-divider span { width: 12px; height: 12px; background: #e6cf95; -webkit-mask: var(--hexagram) center / contain no-repeat; mask: var(--hexagram) center / contain no-repeat; }
@media (min-width: 768px) { .hero-divider { margin: 22px auto 44px; } .hero-divider::before, .hero-divider::after { width: 84px; } }
/* 紺の上の白いボタン → 透明＋金の枠、準備中はさらに控えめに */
#home .canva-button.cta-outline:not(.is-disabled) { background: rgba(255,255,255,.04); border-color: #c9a352; color: var(--gold-pale); box-shadow: 0 10px 22px -14px rgba(0,0,0,.7); }
#home .canva-button.cta-outline:not(.is-disabled)::before { border-color: rgba(214,189,138,.45); }
#home .canva-button.cta-outline:not(.is-disabled):hover { background: rgba(255,255,255,.09); }
#home .canva-button.is-disabled { background: transparent; border-color: rgba(214,189,138,.28); color: rgba(243,226,180,.45); }
#home .canva-button.is-disabled::before { border-color: rgba(214,189,138,.16); }

/* ---------- 「骨士道とは」：紺と金の二重の額縁＋上に六芒星の紋 ---------- */
#home > .px-5 { padding-top: 56px; }
main .definition {
  position: relative; max-width: 44rem;
  border: 3px solid var(--navy); border-radius: 0;
  background: #fff;
  box-shadow: 0 0 0 1px #c9a352, inset 0 0 0 1px #c9a352, 0 22px 44px -26px rgba(15,40,71,.55);
  outline: 1px solid rgba(179,146,86,.75); outline-offset: -10px;
  padding: 2.6rem 1.6rem 2.2rem;
}
main .definition::before {
  content: ""; position: absolute; top: -17px; left: 50%; width: 34px; height: 34px; transform: translateX(-50%);
  background: var(--navy) padding-box; border: 1px solid #c9a352; border-radius: 50%;
  box-shadow: 0 0 0 4px #fcfaf6;
}
main .definition::after {
  content: ""; position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; transform: translateX(-50%);
  background: #e6cf95; -webkit-mask: var(--hexagram) center / contain no-repeat; mask: var(--hexagram) center / contain no-repeat;
}
main .definition-title { font-weight: 700 !important; color: var(--navy); font-size: 21px; letter-spacing: .2em; }
main .definition-title::after { width: 96px; height: 1px; background: linear-gradient(90deg, transparent, #c9a352 30%, #c9a352 70%, transparent); }
main .definition dfn { color: var(--navy); }
@media (min-width: 768px) { main .definition { padding: 3.2rem 3.2rem 2.8rem; } main .definition-title { font-size: 24px; } }
/* 枠と下の文章のあいだを広く */
main .intro-wrap { padding-top: 76px; }
@media (min-width: 768px) { main .intro-wrap { padding-top: 120px; } }
/* 「ー 美しい骨格は美しい人生を創る ー」を太字に */
main .intro-motto { font-weight: 700; color: var(--navy); font-size: 1.08em; letter-spacing: .1em; margin-bottom: .9em; }

/* ---------- プロフィールの肩書き：紺の額＋金の文字、項目の間に六芒星の区切り ---------- */
.profile-titles {
  list-style: none; margin: 0 0 2rem; padding: 1.9rem 1.2rem; text-align: center; position: relative;
  background: linear-gradient(160deg, #0b1f39 0%, #15365f 55%, #0f2847 100%) padding-box, linear-gradient(135deg, #f3dc9a 0%, #c9a352 40%, #8e6d3a 100%) border-box;
  border: 2px solid transparent; border-radius: 2px;
  outline: 1px solid rgba(214,189,138,.55); outline-offset: -8px;
  box-shadow: 0 18px 40px -24px rgba(15,40,71,.7);
}
.profile-titles__item {
  color: var(--gold-pale); font-size: 17px; font-weight: 600; letter-spacing: .2em; line-height: 1.7;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.profile-titles__item + .profile-titles__item { margin-top: 14px; padding-top: 22px; position: relative; }
.profile-titles__item + .profile-titles__item::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 120px; height: 9px; transform: translateX(-50%);
  background:
    linear-gradient(90deg, transparent, rgba(214,189,138,.8)) left center / 50px 1px no-repeat,
    linear-gradient(90deg, rgba(214,189,138,.8), transparent) right center / 50px 1px no-repeat;
}
.profile-titles__item + .profile-titles__item::after {
  content: ""; position: absolute; top: 0; left: 50%; width: 9px; height: 9px; transform: translateX(-50%);
  background: #d6bd8a; -webkit-mask: var(--hexagram) center / contain no-repeat; mask: var(--hexagram) center / contain no-repeat;
}
.profile-titles__works { display: block; font-size: 14.5px; font-weight: 500; letter-spacing: .14em; line-height: 1.9; color: rgba(255,255,255,.9); }
.profile-titles__role {
  display: inline-block; margin-top: 8px; padding: 2px 16px 2px calc(16px + .2em);
  font-size: 13px; letter-spacing: .2em; color: var(--navy); text-shadow: none; font-weight: 700;
  background: var(--gold-grad); border-radius: 1px;
}
@media (min-width: 768px) { .profile-titles { padding: 2.2rem 2rem; } .profile-titles__item { font-size: 19px; } .profile-titles__works { font-size: 16px; } }

/* ---------- 商品情報：小さめの写真＋白いカード（金の額縁）にまとめる ---------- */
#products .product-card {
  max-width: 40rem; margin: 0 auto; gap: 0; grid-template-columns: 1fr; align-items: start;
  background: linear-gradient(#fff, #fff) padding-box, var(--gold-grad) border-box;
  border: 2px solid transparent; border-radius: 2px;
  outline: 1px solid rgba(179,146,86,.6); outline-offset: -8px;
  padding: 2.2rem 1.5rem 2.4rem; box-shadow: 0 18px 40px -24px rgba(15,40,71,.4);
}
#products .product-photo { width: 64%; max-width: 240px; margin: 0 auto 1.8rem; }
#products .product-photo .image-slot {
  aspect-ratio: 4 / 3 !important; border: 0; border-radius: 0; background: #fff;
  box-shadow: 0 0 0 1px #c9a352, 0 0 0 5px #fff, 0 0 0 6px rgba(179,146,86,.45), 0 16px 30px -18px rgba(15,40,71,.5);
}
#products .product-card > div.product-body { width: 100%; margin: 0; text-align: center; }
.product-kicker {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 4px;
  font-family: var(--latin) !important; font-size: 12px; letter-spacing: .3em; color: var(--gold-deep);
}
.product-kicker::before, .product-kicker::after { content: ""; width: 20px; height: 1px; background: var(--hair); }
#products .product-body h3 { font-size: 21px !important; font-weight: 600 !important; letter-spacing: .1em; white-space: nowrap; margin-bottom: 1rem; }
#products .product-body h3::after { content: ""; display: block; width: 40px; height: 1px; background: var(--gold); margin: .9rem auto 0; }
#products .product-body > p.canva-text { text-align: left; font-size: 15px !important; line-height: 2; margin-bottom: 1.6rem; }
/* 仕様：紺のラベル＋金の細線で区切る */
#products .product-body dl { background: transparent; border: 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 0; text-align: left; }
#products .product-body dl > div { align-items: center; border-color: var(--line) !important; padding: .75rem 0; }
#products .product-body dt {
  flex: none; min-width: 5em; text-align: center; padding: 3px 10px; font-size: 12px; letter-spacing: .14em;
  color: var(--gold-pale); background: linear-gradient(135deg, #1b3a63 0%, #0f2847 70%); border-radius: 1px;
}
#products .product-body dd { color: var(--navy); font-weight: 600; font-size: 14px !important; }
/* 関連書籍：シャンパン色の小さな枠 */
#products .product-book { margin-top: 1.6rem; padding: 1.1rem 1rem 1.2rem; border: 1px solid var(--hair); background: var(--tint); font-size: 14px; line-height: 1.9; text-align: center; }
#products .product-book-label { display: flex; align-items: center; justify-content: center; gap: 10px; }
#products .product-book-label::before, #products .product-book-label::after { content: ""; width: 18px; height: 1px; background: var(--hair); }
#products .product-book-title { color: var(--navy); font-weight: 600; }
#products .product-body > .canva-button { display: flex; width: fit-content; margin: 1.8rem auto 0; }
@media (min-width: 768px) {
  #products .product-card { max-width: 56rem; grid-template-columns: 260px 1fr; gap: 3rem; padding: 3rem 3rem; align-items: center; }
  #products .product-photo { width: 100%; max-width: none; margin: 0; }
  #products .product-body h3 { font-size: 24px !important; }
}

/* ---------- お問い合わせ：紺の背景 ---------- */
#contact { background: var(--navy-grad); position: relative; }
#contact::before, #contact::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--gold-line); }
#contact::before { top: 10px; }
#contact::after { bottom: 10px; }
#contact .section-kicker { color: #d6bd8a !important; }
#contact .section-kicker::before, #contact .section-kicker::after { background: rgba(214,189,138,.5); }
#contact .section-title { color: var(--gold-pale); }
#contact .section-title::before { background: linear-gradient(to right, rgba(214,189,138,.55) 0 40%, transparent 40% 60%, rgba(214,189,138,.55) 60% 100%); }
#contact .section-title::after { background: #e6cf95; }
#contact .flex > span { background: rgba(255,255,255,.04); border-color: rgba(214,189,138,.45); color: rgba(255,255,255,.9); }

/* ---------- フッター：紺＋金の線 ---------- */
.site-footer { background: #0b1f39; border-top: 2px solid var(--gold); color: rgba(243,226,180,.75); }
.site-footer::before { background: #e6cf95; }
.site-footer__name { color: var(--gold-pale); }
.site-footer__top { color: #e6cf95; border-bottom-color: rgba(214,189,138,.5); }


/* ===== 2026-11-12（2）ユーザー指示：ファーストビューの余白・六芒星の削除・活動サービスと略歴の高級感 ===== */

/* ファーストビュー（スマホ・タブレット）：写真と金の線の間を広く／線と文字の間も確保 */
@media (max-width: 1023px) {
  #home .canva-panel::before { top: 22px; }
  #home .canva-panel > div { padding-top: 64px; }
}
/* キャッチと「施術の合氣道 骨士道」の間を少し狭く */
#home .hero-catch { margin-bottom: 16px; }
@media (min-width: 768px) { #home .hero-catch { margin-bottom: 24px; } }
/* 「施術の合氣道 骨士道」の下の線と六芒星を消す（ボタンまでの間は見出しの余白で取る） */
.hero-divider { display: none; }
#home .hero-title { margin-bottom: 34px; }
@media (min-width: 768px) { #home .hero-title { margin-bottom: 44px; } }
/* 3つ目のボタンの下の金の線 →「骨士道とは」の枠までを広く */
#home > .px-5 { padding-top: 84px; }
@media (min-width: 768px) { #home > .px-5 { padding-top: 104px; } }

/* 「骨士道とは」の枠：上の中央の六芒星（紺の丸）を消す */
main .definition::before, main .definition::after { display: none; }

/* プロフィールの肩書き：区切りの六芒星を消し、線を1本に */
.profile-titles__item + .profile-titles__item::after { display: none; }
.profile-titles__item + .profile-titles__item::before {
  width: 120px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,189,138,.85) 50%, transparent);
}

/* ---------- 活動・サービス：紺の地＋金の額縁＋金のアイコン ---------- */
main .service-card {
  position: relative; overflow: hidden; min-height: 118px; padding: 1.15rem 1rem 1.05rem;
  border: 2px solid transparent; border-radius: 2px;
  background: linear-gradient(160deg, #0b1f39 0%, #15365f 55%, #0f2847 100%) padding-box,
              linear-gradient(135deg, #f3dc9a 0%, #c9a352 40%, #8e6d3a 75%, #d6bd8a 100%) border-box;
  outline: 1px solid rgba(214,189,138,.55); outline-offset: -8px;
  box-shadow: 0 18px 34px -20px rgba(15,40,71,.75);
}
/* 光が斜めに走る */
main .service-card::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,240,200,.14), transparent);
  transform: skewX(-18deg); transition: left .7s ease; pointer-events: none;
}
main a.service-card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -20px rgba(15,40,71,.85); border-color: transparent; }
main a.service-card:hover::after { left: 120%; }
main .service-card .sc-icon {
  display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 8px; border-radius: 50%;
  border: 1px solid rgba(214,189,138,.7); color: #e6cf95;
}
main .service-card .sc-icon svg { width: 17px; height: 17px; fill: currentColor; }
main .service-card h3 {
  font-size: 18px !important; font-weight: 700 !important; letter-spacing: .16em; margin-bottom: 4px;
  background: linear-gradient(120deg, #f6e6b8 0%, #d6bd8a 45%, #f3dc9a 70%, #c9a352 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
main .service-card p { color: rgba(255,255,255,.82) !important; font-size: 12px !important; letter-spacing: .1em; }
main .service-card.is-disabled {
  background: linear-gradient(160deg, #24364f 0%, #2d4566 100%) padding-box,
              linear-gradient(135deg, #b9a37a 0%, #8f7a55 100%) border-box;
  outline-color: rgba(214,189,138,.3); box-shadow: none; opacity: .62;
}
main .service-card.is-disabled h3 { background: none; -webkit-text-fill-color: #cbbd9c; color: #cbbd9c !important; }
main .service-card.is-disabled p { color: rgba(255,255,255,.6) !important; }
main .service-card.is-disabled .sc-icon { color: #cbbd9c; border-color: rgba(214,189,138,.35); }

/* ---------- プロフィール：事業内容・所在地・略歴概要（金の額縁＋紺の丸に金のアイコン） ---------- */
.profile-facts {
  position: relative; margin-top: .5rem; padding: .6rem 1.15rem;
  background: linear-gradient(#fff, #fffdf8) padding-box, var(--gold-grad) border-box;
  border: 2px solid transparent; border-radius: 2px;
  outline: 1px solid rgba(179,146,86,.55); outline-offset: -8px;
  box-shadow: 0 18px 40px -26px rgba(15,40,71,.45);
}
.profile-fact { display: flex; gap: 14px; align-items: flex-start; padding: 1.15rem .3rem; }
.profile-fact + .profile-fact { border-top: 1px solid transparent; border-image: linear-gradient(90deg, transparent, rgba(179,146,86,.6) 20%, rgba(179,146,86,.6) 80%, transparent) 1; }
.pf-icon {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(160deg, #0b1f39 0%, #15365f 60%, #0f2847 100%);
  box-shadow: 0 0 0 1px #c9a352, 0 0 0 3px #fff, 0 0 0 4px rgba(179,146,86,.45);
  color: #e6cf95;
}
.pf-icon svg { width: 20px; height: 20px; fill: currentColor; }
.pf-body { min-width: 0; flex: 1; }
.pf-label {
  margin: 2px 0 6px; font-size: 16px; font-weight: 700; letter-spacing: .2em; color: var(--navy);
  display: flex; align-items: center; gap: 10px;
}
.pf-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(179,146,86,.7), transparent); }
.pf-text { margin: 0; font-size: 15px; line-height: 1.95; color: var(--ink); }
@media (min-width: 768px) {
  .profile-facts { padding: .8rem 1.8rem; }
  .pf-label { font-size: 17px; }
  .pf-text { font-size: 16px; }
}
#profile .profile-facts h3.pf-label { border-bottom: 0; padding-bottom: 0; margin: 2px 0 6px; font-size: 16px !important; font-weight: 700 !important; letter-spacing: .2em; }
@media (min-width: 768px) { #profile .profile-facts h3.pf-label { font-size: 17px !important; } }


/* ===== 2026-11-12（3）ユーザー指示：FAQの枠を濃く／書籍・メディアを高級に／リンクを骨膜LPと同じ4列×2段に ===== */

/* よくある質問：枠を濃い金に */
main .faq-item { border: 1px solid #b39256; box-shadow: 0 10px 24px -20px rgba(15,40,71,.5); }
main .faq-item[open] { border-color: #8e6d3a; box-shadow: 0 0 0 1px rgba(179,146,86,.35), 0 14px 30px -20px rgba(15,40,71,.55); }

/* 書籍：紺の地＋金の額縁＋本のアイコン（活動・サービスのカードと同じ意匠） */
#books .book-grid .canva-button {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 132px; padding: 1.1rem 1rem 1rem; text-align: center; line-height: 1.6;
  border: 2px solid transparent; border-radius: 2px;
  background: linear-gradient(160deg, #0b1f39 0%, #15365f 55%, #0f2847 100%) padding-box,
              linear-gradient(135deg, #f3dc9a 0%, #c9a352 40%, #8e6d3a 75%, #d6bd8a 100%) border-box;
  outline: 1px solid rgba(214,189,138,.55); outline-offset: -8px;
  box-shadow: 0 18px 34px -20px rgba(15,40,71,.75);
}
#books .book-grid .canva-button::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,240,200,.14), transparent);
  transform: skewX(-18deg); transition: left .7s ease; pointer-events: none;
}
#books .book-grid .canva-button:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -20px rgba(15,40,71,.85); filter: none; }
#books .book-grid .canva-button:hover::after { left: 120%; }
.bk-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 8px; border-radius: 50%; border: 1px solid rgba(214,189,138,.7); color: #e6cf95; }
.bk-icon svg { width: 17px; height: 17px; fill: currentColor; }
.bk-title {
  font-size: 16px; font-weight: 700; letter-spacing: .12em;
  background: linear-gradient(120deg, #f6e6b8 0%, #d6bd8a 45%, #f3dc9a 70%, #c9a352 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.bk-sub { margin-top: 6px; font-size: 11px; letter-spacing: .14em; color: rgba(255,255,255,.75); }

/* メディア：金の額縁の白いカード＋雑誌のアイコン＋紺の日付ラベル */
#books .media-grid article {
  position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 1.1rem 1.1rem 1.15rem;
  border: 2px solid transparent; border-radius: 2px;
  background: linear-gradient(#fff, #fffdf8) padding-box, var(--gold-grad) border-box;
  outline: 1px solid rgba(179,146,86,.5); outline-offset: -7px;
  box-shadow: 0 16px 32px -24px rgba(15,40,71,.5);
}
.md-icon {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(160deg, #0b1f39 0%, #15365f 60%, #0f2847 100%);
  box-shadow: 0 0 0 1px #c9a352, 0 0 0 3px #fff, 0 0 0 4px rgba(179,146,86,.45); color: #e6cf95;
}
.md-icon svg { width: 18px; height: 18px; fill: currentColor; }
#books .media-grid .media-item { margin-top: 0; color: var(--ink); line-height: 1.85; }
.media-date {
  display: inline-block; margin-bottom: 6px; padding: 1px 10px; font-size: 11.5px; letter-spacing: .14em; font-weight: 600;
  color: var(--gold-pale); background: linear-gradient(135deg, #1b3a63 0%, #0f2847 70%); border-radius: 1px;
}

/* リンク：骨膜LPと同じ配置（小さいボタンを 4列×2段） */
#links .link-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; max-width: 42rem; margin: 0 auto; }
#links .link-chip {
  display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 40px; padding: 6px 2px; text-align: center;
  font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 1.35; text-decoration: none; color: var(--navy);
  background: #fff; border: 1px solid #c9a352; border-radius: 2px; transition: background .2s, color .2s;
}
#links .link-chip:hover { background: var(--navy); color: var(--gold-pale); }
@media (min-width: 640px) { #links .link-grid { gap: 10px; } #links .link-chip { font-size: 13px; min-height: 46px; letter-spacing: .08em; } }
/* 書名が1文字だけ次の行に落ちないよう少し詰める */
.bk-title { font-size: 15px; letter-spacing: .06em; }
/* フッター（紺）との境目のひし形を消す */
.site-footer::before { display: none; }
/* メディアの日付ラベルは1行に独立させる */
.media-date { display: table; }

/* ===== 2026-11-12（4）リンク集は大きな金のボタンとして独立。残り7つは 4＋3（2段目は中央寄せ） ===== */
#links .link-grid { display: flex; flex-wrap: wrap; justify-content: center; }
#links .link-chip { flex: 0 0 calc((100% - 18px) / 4); }
@media (min-width: 640px) { #links .link-chip { flex-basis: calc((100% - 30px) / 4); } }
#links .links-all {
  display: flex; flex-direction: column; gap: 2px; width: 100%; max-width: 22rem; margin: 28px auto 0;
  min-height: 64px; padding: 12px 20px; font-size: 17px; font-weight: 700 !important; letter-spacing: .16em; color: #fff;
}
#links .links-all__sub { font-size: 11px; font-weight: 500; letter-spacing: .12em; opacity: .9; }
/* 「松山骨格矯正院」をボタン幅に1行で収める */
#links .link-chip .chip-tight { white-space: nowrap; letter-spacing: -.02em; font-size: 10.5px; }
@media (min-width: 640px) { #links .link-chip .chip-tight { font-size: 13px; letter-spacing: .02em; } }
/* お問い合わせ：金の線の外側（紺の部分）を広く */
#contact::before { top: 22px; }
#contact::after { bottom: 22px; }
