/*
Theme Name: Beauty Method Lab
Theme URI: https://example.com/
Author: Beauty Method Lab
Description: ビューティーメソッドラボ（銀座）公式サイト用オリジナルテーマ。固定ページはブロックエディタの「カスタムHTML」ブロックに各ページのHTMLを貼り付けて作成します。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beautymethodlab
*/

/* =========================================================
   1. Design tokens
   ========================================================= */
:root {
  --c-bg: #faf7f5;          /* 生成りに近い暖かい白 */
  --c-surface: #ffffff;
  --c-tint: #f4eeee;        /* 淡いローズ */
  --c-tint-2: #ece2e3;
  --c-line: #e3d6d8;
  --c-primary: #8b6471;     /* モーブローズ（ブランド色） */
  --c-primary-dark: #6c4c58;
  --c-primary-soft: #c4a5af;
  --c-text: #3a3335;
  --c-muted: #7d7275;
  --c-line-green: #06c755;  /* LINE公式カラー */
  --c-line-green-dark: #05a647;

  --f-serif: "Shippori Mincho", "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
  --f-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック", "Noto Sans JP", sans-serif;
  --f-en: "Cormorant Garamond", "Times New Roman", serif;

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --shadow: 0 10px 30px rgba(108, 76, 88, .08);

  --w-content: 1080px;
  --w-narrow: 760px;
  --gutter: 20px;
  --header-h: 76px;
}

/* =========================================================
   2. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s, background-color .2s, opacity .2s; }
a:hover { color: var(--c-primary-dark); }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 500; line-height: 1.6; letter-spacing: .08em; margin: 0 0 .8em; color: var(--c-text); word-break: auto-phrase; }
.bml-lead, .bml-heading__lead, .bml-hero__text, .bml-cta__text { word-break: auto-phrase; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 8px 16px; background: #fff; }

/* =========================================================
   3. Layout helpers
   ========================================================= */
.l-container { width: 100%; max-width: calc(var(--w-content) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.l-narrow { max-width: calc(var(--w-narrow) + var(--gutter) * 2); }
.bml-section { padding: 96px 0; }
.bml-section--tint { background: var(--c-tint); }
.bml-section--white { background: var(--c-surface); }
.bml-section--tight { padding: 64px 0; }
.u-center { text-align: center; }
.u-mt0 { margin-top: 0 !important; }
.u-small { font-size: .875rem; color: var(--c-muted); }
.u-pc { display: inline; }
@media (max-width: 767px) {
  .bml-section { padding: 64px 0; }
  .u-pc { display: none; }
}

/* =========================================================
   4. Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 245, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); max-width: 1280px; padding: 0 32px; }
@media (max-width: 767px) { .site-header__inner { padding: 0 var(--gutter); } }
.site-logo { display: flex; flex-direction: column; line-height: 1.2; color: var(--c-text); white-space: nowrap; flex: none; }
.site-logo:hover { color: var(--c-text); }
.site-logo__en { font-family: var(--f-en); font-size: 1.5rem; letter-spacing: .12em; font-weight: 500; }
.site-logo__ja { font-size: .6875rem; color: var(--c-muted); letter-spacing: .2em; }
.site-logo img { max-height: 48px; width: auto; }

.global-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.global-nav a { color: var(--c-text); font-size: .8125rem; letter-spacing: .08em; display: block; padding: 6px 0; position: relative; white-space: nowrap; }
.global-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--c-primary); transition: width .3s; }
.global-nav a:hover::after, .global-nav .current-menu-item > a::after, .global-nav .current_page_item > a::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.header-cta .bml-btn { white-space: nowrap; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--c-text); }
.menu-toggle__bar { display: block; width: 26px; height: 1px; background: currentColor; margin: 7px 0; transition: transform .3s, opacity .3s; }
.is-menu-open .menu-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.is-menu-open .menu-toggle__bar:nth-child(2) { opacity: 0; }
.is-menu-open .menu-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1239px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: block; }
  .header-cta .bml-btn { display: none; }
  .global-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--c-bg);
    padding: 32px var(--gutter) 120px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .is-menu-open .global-nav { opacity: 1; visibility: visible; }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav li { border-bottom: 1px solid var(--c-line); }
  .global-nav a { padding: 18px 4px; font-size: 1rem; }
  .global-nav a::after { display: none; }
  .is-menu-open { overflow: hidden; }
}

/* =========================================================
   5. Buttons
   ========================================================= */
.bml-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 12px 32px; border-radius: 999px;
  font-size: .9375rem; letter-spacing: .1em; line-height: 1.4; text-align: center;
  border: 1px solid var(--c-primary); background: var(--c-primary); color: #fff;
}
.bml-btn:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); color: #fff; }
.bml-btn--outline { background: transparent; color: var(--c-primary); }
.bml-btn--outline:hover { background: var(--c-primary); color: #fff; }
.bml-btn--line { background: var(--c-line-green); border-color: var(--c-line-green); color: #fff; font-weight: 700; }
.bml-btn--line:hover { background: var(--c-line-green-dark); border-color: var(--c-line-green-dark); color: #fff; }
.bml-btn--small { min-height: 42px; padding: 8px 20px; font-size: .8125rem; }
.bml-btn--wide { min-width: 300px; }
.bml-btn__icon { width: 1.4em; height: 1.4em; flex: none; }
.bml-btn-group { display: flex; flex-wrap: wrap; gap: 16px; }
.bml-btn-group--center { justify-content: center; }
.bml-link-arrow { display: inline-flex; align-items: center; gap: .5em; font-size: .9375rem; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.bml-link-arrow::after { content: "→"; font-family: var(--f-en); }
@media (max-width: 767px) { .bml-btn--wide { min-width: 0; width: 100%; } }

/* =========================================================
   6. Headings / text
   ========================================================= */
.bml-heading { margin-bottom: 48px; }
.bml-heading__en { display: block; font-family: var(--f-en); font-style: italic; font-size: 1.125rem; color: var(--c-primary); letter-spacing: .14em; margin-bottom: 6px; }
.bml-heading__ja { font-size: clamp(1.375rem, 3vw, 2.125rem); margin: 0; }
@media (max-width: 599px) { .bml-heading__ja br { display: none; } }
.bml-heading--center { text-align: center; }
.bml-heading__lead { margin-top: 20px; color: var(--c-muted); }
.bml-lead { font-family: var(--f-serif); font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 2; letter-spacing: .1em; }
.bml-h3 { font-size: 1.25rem; padding-bottom: 12px; border-bottom: 1px solid var(--c-line); margin: 48px 0 20px; }
.bml-h3:first-child { margin-top: 0; }
.bml-label { display: inline-block; font-size: .75rem; letter-spacing: .12em; padding: 2px 12px; border-radius: 999px; background: var(--c-tint); color: var(--c-primary-dark); }
.bml-label--salon { background: #f2e7e9; }
.bml-label--school { background: #e9e9f1; color: #4f4f6e; }
.bml-note { font-size: .8125rem; color: var(--c-muted); line-height: 1.8; }
.bml-todo { background: #fff6d8; color: #6b5300; padding: 0 .3em; border-radius: 3px; font-size: .9em; }

/* =========================================================
   7. Page header (下層ページ)
   ========================================================= */
.page-hero { padding: 72px 0 56px; background: var(--c-tint); text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.55); right: -120px; top: -180px; }
.page-hero__en { position: relative; font-family: var(--f-en); font-style: italic; color: var(--c-primary); font-size: 1.125rem; letter-spacing: .16em; display: block; }
.page-hero__title { position: relative; font-size: clamp(1.625rem, 3.4vw, 2.25rem); margin: 4px 0 0; }
.breadcrumb { font-size: .75rem; color: var(--c-muted); padding: 14px 0; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb span + span::before { content: "／"; margin: 0 .5em; }

/* =========================================================
   8. Front page hero
   ========================================================= */
.bml-hero { position: relative; padding: 48px 0 96px; overflow: hidden; }
.bml-hero__grid { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 56px; }
.bml-hero__en { font-family: var(--f-en); font-style: italic; color: var(--c-primary); font-size: 1.125rem; letter-spacing: .16em; }
.bml-hero__title { font-size: clamp(1.75rem, 3.4vw, 2.625rem); line-height: 1.65; letter-spacing: .1em; margin: 12px 0 28px; }
.bml-hero__title em { font-style: normal; color: var(--c-primary); }
.bml-hero__text { color: var(--c-muted); margin-bottom: 36px; }
.bml-hero__visual { position: relative; }
.bml-hero__visual .bml-img-main { border-radius: 200px 200px var(--radius-l) var(--radius-l); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.bml-hero__visual .bml-img-sub { position: absolute; width: 42%; left: -14%; bottom: -8%; border-radius: var(--radius-l); aspect-ratio: 1; object-fit: cover; border: 8px solid var(--c-bg); }
.bml-hero__badge { position: absolute; top: 6%; right: -2%; width: 120px; height: 120px; border-radius: 50%; background: var(--c-surface); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-family: var(--f-serif); font-size: .8125rem; line-height: 1.5; color: var(--c-primary-dark); }
.bml-hero__badge strong { font-family: var(--f-en); font-size: 1.5rem; font-weight: 500; letter-spacing: .1em; }
@media (max-width: 899px) {
  .bml-hero { padding: 24px 0 72px; }
  .bml-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .bml-hero__visual { order: -1; max-width: 460px; margin: 0 auto; width: 88%; }
  .bml-hero__badge { width: 96px; height: 96px; font-size: .6875rem; }
  .bml-hero__badge strong { font-size: 1.25rem; }
}

/* =========================================================
   9. Components
   ========================================================= */
/* 2 entrances (Salon / School) */
.bml-entrance { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.bml-entrance__item { position: relative; display: block; background: var(--c-surface); border-radius: var(--radius-l); overflow: hidden; color: var(--c-text); box-shadow: var(--shadow); transition: transform .3s; }
.bml-entrance__item:hover { transform: translateY(-4px); color: var(--c-text); }
.bml-entrance__item img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.bml-entrance__body { padding: 28px 32px 32px; }
.bml-entrance__en { font-family: var(--f-en); font-style: italic; color: var(--c-primary); letter-spacing: .14em; }
.bml-entrance__title { font-size: 1.375rem; margin: 4px 0 12px; }
.bml-entrance__text { font-size: .9375rem; color: var(--c-muted); margin-bottom: 16px; }
@media (max-width: 767px) { .bml-entrance { grid-template-columns: 1fr; gap: 24px; } .bml-entrance__body { padding: 24px; } }

/* Split (image + text) */
.bml-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.bml-split--reverse .bml-split__media { order: 2; }
.bml-split__media img { border-radius: var(--radius-l); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bml-split__media--round img { border-radius: 50% 50% var(--radius-l) var(--radius-l); aspect-ratio: 4 / 5; }
@media (max-width: 899px) { .bml-split { grid-template-columns: 1fr; gap: 32px; } .bml-split--reverse .bml-split__media { order: 0; } }

/* Feature list */
.bml-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: feat; }
.bml-feature { background: var(--c-surface); border-radius: var(--radius-l); padding: 40px 32px; position: relative; }
.bml-feature::before { counter-increment: feat; content: counter(feat, decimal-leading-zero); font-family: var(--f-en); font-size: 2.5rem; color: var(--c-primary-soft); line-height: 1; display: block; margin-bottom: 16px; }
.bml-feature__title { font-size: 1.1875rem; margin-bottom: 12px; }
.bml-feature p { font-size: .9375rem; color: var(--c-muted); margin: 0; }
@media (max-width: 899px) { .bml-features { grid-template-columns: 1fr; gap: 20px; } .bml-feature { padding: 32px 24px; } }

/* Menu cards */
.bml-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.bml-cards--2 { grid-template-columns: repeat(2, 1fr); }
.bml-card { background: var(--c-surface); border-radius: var(--radius-m); overflow: hidden; display: flex; flex-direction: column; color: var(--c-text); }
a.bml-card:hover { color: var(--c-text); box-shadow: var(--shadow); }
.bml-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.bml-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.bml-card__text { align-self: stretch; }
.bml-card__title { font-size: 1.125rem; margin: 8px 0 10px; }
.bml-card__text { font-size: .875rem; color: var(--c-muted); flex: 1; margin-bottom: 16px; }
.bml-card__more { font-size: .8125rem; color: var(--c-primary); }
@media (max-width: 899px) { .bml-cards, .bml-cards--2 { grid-template-columns: 1fr; } }

/* Price table */
.bml-price { width: 100%; background: var(--c-surface); border-radius: var(--radius-m); overflow: hidden; margin: 0 0 16px; }
.bml-price th, .bml-price td { padding: 18px 24px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; font-size: .9375rem; }
.bml-price tr:last-child th, .bml-price tr:last-child td { border-bottom: 0; }
.bml-course .bml-price { background: var(--c-bg); }
.bml-price th { font-weight: 500; width: 62%; }
.bml-price td { text-align: right; font-family: var(--f-serif); white-space: nowrap; }
.bml-price small { display: block; font-family: var(--f-sans); font-size: .75rem; color: var(--c-muted); font-weight: 400; }
@media (max-width: 599px) {
  .bml-price th, .bml-price td { display: block; width: 100%; padding: 14px 18px; }
  .bml-price th { border-bottom: 0; padding-bottom: 0; }
  .bml-price td { text-align: left; white-space: normal; color: var(--c-primary-dark); }
}

/* Info table (dl) */
.bml-info { margin: 0; background: var(--c-surface); border-radius: var(--radius-m); padding: 8px 32px; }
.bml-info__row { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.bml-info__row:last-child { border-bottom: 0; }
.bml-info dt { color: var(--c-primary-dark); font-family: var(--f-serif); }
.bml-info dd { margin: 0; }
@media (max-width: 599px) { .bml-info { padding: 4px 20px; } .bml-info__row { grid-template-columns: 1fr; gap: 4px; } }

/* Course block */
.bml-course { background: var(--c-surface); border-radius: var(--radius-l); padding: 48px; margin-bottom: 40px; scroll-margin-top: calc(var(--header-h) + 16px); }
.bml-course__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 20px; }
.bml-course__title { font-size: clamp(1.25rem, 2.4vw, 1.625rem); margin: 0; width: 100%; }
.bml-course__grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
.bml-course__grid img { border-radius: var(--radius-m); aspect-ratio: 4 / 3; object-fit: cover; }
.bml-check { list-style: none; padding: 0; }
.bml-check li { position: relative; padding-left: 1.8em; margin-bottom: .6em; }
.bml-check li::before { content: ""; position: absolute; left: 0; top: .7em; width: 1em; height: .5em; border-left: 2px solid var(--c-primary); border-bottom: 2px solid var(--c-primary); transform: rotate(-45deg); }
@media (max-width: 899px) { .bml-course { padding: 32px 22px; } .bml-course__grid { grid-template-columns: 1fr; gap: 24px; } .bml-course__grid img { order: -1; } }

/* Page anchor nav */
.bml-anchor { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 56px; }
.bml-anchor a { padding: 10px 22px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-surface); font-size: .875rem; color: var(--c-text); }
.bml-anchor a:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* Flow */
.bml-flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: flow; }
.bml-flow li { display: grid; grid-template-columns: 72px 1fr; gap: 24px; align-items: start; background: var(--c-surface); border-radius: var(--radius-m); padding: 28px; }
.bml-flow li::before { counter-increment: flow; content: "STEP\A" counter(flow, decimal-leading-zero); white-space: pre; text-align: center; font-family: var(--f-en); color: var(--c-primary); line-height: 1.3; font-size: 1.25rem; border-right: 1px solid var(--c-line); padding-right: 16px; }
.bml-flow h3 { font-size: 1.0625rem; margin: 0 0 6px; }
.bml-flow p { margin: 0; font-size: .9375rem; color: var(--c-muted); }
@media (max-width: 599px) { .bml-flow li { grid-template-columns: 1fr; gap: 8px; padding: 22px; } .bml-flow li::before { content: "STEP " counter(flow, decimal-leading-zero); white-space: normal; border-right: 0; padding: 0; text-align: left; font-size: 1rem; } }

/* Voice */
.bml-voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.bml-voice { background: var(--c-surface); border-radius: var(--radius-l); padding: 36px 32px; position: relative; }
.bml-voice::before { content: "“"; position: absolute; top: 8px; left: 24px; font-family: var(--f-en); font-size: 4.5rem; line-height: 1; color: var(--c-tint-2); }
.bml-voice__title { position: relative; font-size: 1.125rem; margin-bottom: 14px; }
.bml-voice__text { font-size: .9375rem; color: var(--c-muted); }
.bml-voice__meta { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--c-line); font-size: .8125rem; }
.bml-voice__meta img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
@media (max-width: 899px) { .bml-voices { grid-template-columns: 1fr; } }

/* FAQ */
.bml-faq { margin-bottom: 56px; }
.bml-faq details { background: var(--c-surface); border-radius: var(--radius-m); margin-bottom: 12px; }
.bml-faq summary { list-style: none; cursor: pointer; padding: 22px 56px 22px 64px; position: relative; font-family: var(--f-serif); font-size: 1.0625rem; }
.bml-faq summary::-webkit-details-marker { display: none; }
.bml-faq summary::before { content: "Q"; position: absolute; left: 24px; top: 18px; font-family: var(--f-en); font-size: 1.5rem; color: var(--c-primary); }
.bml-faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 10px; height: 10px; border-right: 1px solid var(--c-primary); border-bottom: 1px solid var(--c-primary); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.bml-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.bml-faq__a { padding: 0 32px 24px 64px; position: relative; color: var(--c-muted); }
.bml-faq__a::before { content: "A"; position: absolute; left: 25px; top: -4px; font-family: var(--f-en); font-size: 1.5rem; color: var(--c-primary-soft); }
.bml-faq__a p:last-child { margin-bottom: 0; }
@media (max-width: 599px) { .bml-faq summary { padding: 18px 44px 18px 48px; font-size: 1rem; } .bml-faq summary::before { left: 16px; top: 14px; } .bml-faq__a { padding: 0 20px 20px 48px; } .bml-faq__a::before { left: 17px; } }

/* Profile */
.bml-profile { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.bml-profile__photo img { border-radius: 50% 50% var(--radius-l) var(--radius-l); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.bml-profile__role { color: var(--c-muted); font-size: .875rem; margin: 0; }
.bml-profile__name { font-size: 1.75rem; margin: 2px 0 24px; }
.bml-profile__name span { display: block; font-family: var(--f-en); font-style: italic; font-size: .875rem; color: var(--c-primary); letter-spacing: .14em; }
.bml-history { list-style: none; padding: 0; margin: 0; font-size: .9375rem; }
.bml-history li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--c-line); }
.bml-history li span { font-family: var(--f-en); color: var(--c-primary); font-size: 1.0625rem; }
@media (max-width: 899px) { .bml-profile { grid-template-columns: 1fr; gap: 32px; } .bml-profile__photo { max-width: 280px; margin: 0 auto; } }

/* Map */
.bml-map { border-radius: var(--radius-l); overflow: hidden; background: var(--c-tint); aspect-ratio: 16 / 9; }
.bml-map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 599px) { .bml-map { aspect-ratio: 4 / 3; } }

/* Concept diagram (サロン×スクール) */
.bml-pillars { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.bml-pillars__x { align-self: center; }
.bml-pillar { background: var(--c-surface); border-radius: var(--radius-l); padding: 40px 32px; text-align: center; }
.bml-pillar__circle { width: 104px; height: 104px; margin: 0 auto 20px; border-radius: 50%; background: var(--c-tint); display: flex; align-items: center; justify-content: center; font-family: var(--f-en); font-style: italic; font-size: 1.25rem; color: var(--c-primary); }
.bml-pillar h3 { font-size: 1.25rem; margin-bottom: 10px; }
.bml-pillar p { font-size: .9375rem; color: var(--c-muted); margin: 0; }
.bml-pillars__x { font-family: var(--f-en); font-size: 2rem; color: var(--c-primary-soft); }
@media (max-width: 767px) { .bml-pillars { grid-template-columns: 1fr; } .bml-pillars__x { text-align: center; } }

/* Numbers */
.bml-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.bml-number { padding: 24px 12px; border-right: 1px solid var(--c-line); }
.bml-number:last-child { border-right: 0; }
.bml-number strong { display: block; font-family: var(--f-en); font-weight: 500; font-size: clamp(2.25rem, 5vw, 3.25rem); color: var(--c-primary); line-height: 1.1; }
.bml-number strong small { font-family: var(--f-serif); font-size: .4em; margin-left: .2em; }
.bml-number span { font-size: .875rem; color: var(--c-muted); }
@media (max-width: 599px) { .bml-numbers { grid-template-columns: 1fr; gap: 0; } .bml-number { border-right: 0; border-bottom: 1px solid var(--c-line); } .bml-number:last-child { border-bottom: 0; } }

/* CTA */
.bml-cta { background: var(--c-primary); color: #fff; border-radius: var(--radius-l); padding: 64px 40px; text-align: center; position: relative; overflow: hidden; }
.bml-cta::before, .bml-cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); }
.bml-cta::before { width: 320px; height: 320px; left: -100px; bottom: -160px; }
.bml-cta::after { width: 220px; height: 220px; right: -60px; top: -90px; }
.bml-cta > * { position: relative; }
.bml-cta__en { font-family: var(--f-en); font-style: italic; letter-spacing: .16em; opacity: .85; }
.bml-cta__title { color: #fff; font-size: clamp(1.375rem, 3vw, 1.875rem); margin: 6px 0 16px; }
.bml-cta__text { opacity: .9; margin-bottom: 32px; }
@media (max-width: 599px) { .bml-cta { padding: 48px 22px; } }

/* Posts list */
.bml-posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.bml-posts li { border-bottom: 1px solid var(--c-line); }
.bml-posts a { display: grid; grid-template-columns: 110px 100px 1fr; gap: 16px; align-items: center; padding: 20px 8px; color: var(--c-text); }
.bml-posts a:hover { background: var(--c-surface); }
.bml-posts time { font-family: var(--f-en); color: var(--c-muted); letter-spacing: .08em; }
.bml-posts .bml-label { justify-self: start; }
.bml-posts__empty { padding: 20px 8px; color: var(--c-muted); }
@media (max-width: 599px) { .bml-posts a { grid-template-columns: auto 1fr; gap: 6px 12px; } .bml-posts__title { grid-column: 1 / -1; } }

.bml-post-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.bml-post-card { background: var(--c-surface); border-radius: var(--radius-m); overflow: hidden; color: var(--c-text); display: flex; flex-direction: column; }
.bml-post-card:hover { color: var(--c-text); box-shadow: var(--shadow); }
.bml-post-card__thumb img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.bml-post-card__body { padding: 20px 22px 24px; }
.bml-post-card__meta { display: flex; gap: 12px; align-items: center; font-size: .8125rem; color: var(--c-muted); margin-bottom: 8px; }
.bml-post-card__title { font-family: var(--f-serif); font-size: 1.0625rem; line-height: 1.7; margin: 0; }
@media (max-width: 899px) { .bml-post-cards { grid-template-columns: 1fr; } }

/* Entry (single / blog) */
.entry { background: var(--c-surface); border-radius: var(--radius-l); padding: 56px; }
.entry__meta { display: flex; gap: 14px; align-items: center; color: var(--c-muted); font-size: .875rem; margin-bottom: 12px; }
.entry__title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 32px; }
.entry__thumb img { border-radius: var(--radius-m); margin-bottom: 40px; width: 100%; }
.entry-content h2 { font-size: 1.5rem; margin: 56px 0 20px; padding-left: 16px; border-left: 3px solid var(--c-primary); }
.entry-content h3 { font-size: 1.25rem; margin: 40px 0 16px; }
.entry-content img { border-radius: var(--radius-s); }
.entry-content blockquote { margin: 32px 0; padding: 20px 28px; background: var(--c-tint); border-radius: var(--radius-s); }
.entry-content table th, .entry-content table td { border: 1px solid var(--c-line); padding: 10px 14px; }
.entry-content .wp-block-button__link { background: var(--c-primary); border-radius: 999px; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; font-size: .875rem; }
.pagination { margin-top: 56px; display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--c-line); color: var(--c-text); background: var(--c-surface); }
.pagination .current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.cat-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.cat-tabs a { padding: 8px 22px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-text); font-size: .875rem; }
.cat-tabs a.is-current, .cat-tabs a:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
@media (max-width: 767px) { .entry { padding: 32px 20px; } }

/* Page content wrapper (固定ページ本文) */
.page-content > .wp-block-html:first-child > .bml-section:first-child,
.page-content > .bml-section:first-child { padding-top: 72px; }
.page-content .alignwide { max-width: var(--w-content); margin-left: auto; margin-right: auto; }

/* =========================================================
   10. Footer
   ========================================================= */
.site-footer { background: #3a3335; color: #e9e2e3; padding: 80px 0 40px; margin-top: 0; }
.site-footer a { color: #e9e2e3; }
.site-footer a:hover { color: #fff; opacity: .8; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
.site-footer .site-logo, .site-footer .site-logo:hover { color: #fff; }
.site-footer .site-logo__ja { color: #c9bec0; }
.site-footer__info { margin-top: 24px; font-size: .875rem; line-height: 2; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: .875rem; }
.site-footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .75rem; color: #b8adaf; }
.footer-sns { display: flex; gap: 14px; margin-top: 20px; }
.footer-sns a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: inline-flex; align-items: center; justify-content: center; }
.footer-sns svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 767px) { .site-footer { padding: 56px 0 120px; } .site-footer__grid { grid-template-columns: 1fr; gap: 40px; } }

/* Fixed LINE bar (スマホ下部 / PC右下) */
.fixed-cta { position: fixed; z-index: 90; right: 24px; bottom: 24px; transform: translateY(140%); transition: transform .4s; }
.fixed-cta.is-visible { transform: translateY(0); }
.fixed-cta .bml-btn { box-shadow: 0 8px 24px rgba(0,0,0,.18); }
@media (max-width: 767px) {
  .fixed-cta { left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(250,247,245,.96); border-top: 1px solid var(--c-line); display: grid; grid-template-columns: 1fr; }
  .fixed-cta .bml-btn { width: 100%; box-shadow: none; }
}

/* =========================================================
   11. Motion
   ========================================================= */
.js-fade { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.js-fade.is-inview { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-fade { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
.no-js .js-fade { opacity: 1; transform: none; }
