/* ==========================================================================
   MANABIYA Bースタディ — 全ページ共通（2026-09）
   デザインの約束ごと（色・文字・部品）と、共通ヘッダー／メニュー／フッター
   ロゴ由来のモチーフ: Bの窓（4つの窓）・鉛筆の線・蛍光ペン・方眼ノート
   ========================================================================== */

.bs-site {
  --hp-ink: #17352c;
  --hp-forest: #0f3b2e;
  --hp-green: #00904a;
  --hp-green-d: #007a3d;
  --hp-yellow: #ffd84d;
  --hp-yellow-2: #fff1b3;
  --hp-hl: rgba(255, 216, 77, .88);
  --hp-mint: #eaf4ec;
  --hp-paper: #f7f6f0;
  --hp-line: #dde5de;
  --hp-muted: #536760;
  --hp-body: #3a5249;
  --hp-gutter: clamp(20px, 5vw, 64px);
  --hp-sec: clamp(88px, 10vw, 150px);
  --hp-r: 24px;
  --hp-r-lg: 32px;
  --hp-en: "DM Sans", "Noto Sans JP", system-ui, sans-serif;
  --hp-hand: "Klee One", "Noto Sans JP", cursive;
  --hp-ease: cubic-bezier(.22, .8, .26, 1);
  --hp-shadow: 0 1px 0 rgba(15, 59, 46, .04), 0 22px 44px -26px rgba(15, 59, 46, .42);
  --hp-shadow-lg: 0 40px 80px -40px rgba(15, 59, 46, .55);
}

/* ---------- base ---------- */
/* body を横方向 hidden にするとスクロール枠になり、追従（sticky）が効かなくなるため clip にする */
body.bs-site:not(.menu-open) { overflow-x: clip; }
.hp { display: block; color: var(--hp-ink); overflow-x: clip; font-feature-settings: "palt" 1; word-break: auto-phrase; }
.hp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hp img { display: block; max-width: 100%; height: auto; }
.hp :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
.hp :where(p) { margin: 0; }
.hp :where(a) { color: inherit; }
.hp :where(h1, h2, h3, h4) { margin: 0; font-feature-settings: "palt" 1; word-break: auto-phrase; text-wrap: pretty; }
.bs-site .hp :is(h1, h2) { font-weight: 800 !important; letter-spacing: .01em; }
.bs-site .hp h3 { font-weight: 800 !important; letter-spacing: .02em; }
.hp :focus-visible { outline: 3px solid var(--hp-green); outline-offset: 4px; }
.hp svg { overflow: visible; }

.hp-wrap { width: min(1240px, calc(100% - 2 * var(--hp-gutter))); margin-inline: auto; }
.hp-sec { position: relative; padding-block: var(--hp-sec); }
.hp-br-sp { display: none; }

/* ---------- 見出し ---------- */
.hp-head { margin-bottom: clamp(40px, 5vw, 72px); }
.hp-head h2 { font-size: clamp(30px, 4.3vw, 58px); line-height: 1.32; color: var(--hp-forest); }
.hp-head__lead { margin-top: 22px !important; font-size: clamp(15px, 1.2vw, 17px); line-height: 2 !important; color: var(--hp-muted); }
.hp-head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); align-items: end; gap: 24px 64px; }
.hp-head--split .hp-head__lead { margin-top: 0 !important; justify-self: end; max-width: 30em; }
.hp-head--split > .hp-btn { justify-self: end; }
.hp-head--center { max-width: 840px; margin-inline: auto; text-align: center; }
.hp-head--center .hp-eyebrow { justify-content: center; }
.hp-head--sticky { position: sticky; top: 124px; }

.hp-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 22px !important; font-size: 14px; line-height: 1.2 !important; }
.hp-eyebrow__no { display: inline-grid; place-items: center; min-width: 36px; height: 26px; padding: 0 8px; border-radius: 7px; background: var(--hp-forest); color: var(--hp-yellow); font: 700 12px/1 var(--hp-en); letter-spacing: .06em; }
.hp-eyebrow__jp { font-weight: 800; color: var(--hp-forest); letter-spacing: .06em; }
.hp-eyebrow__en { display: inline-flex; align-items: center; gap: 10px; font: 600 11.5px/1 var(--hp-en); letter-spacing: .2em; text-transform: uppercase; color: var(--hp-green-d); }
.hp-eyebrow__en::before { content: ""; width: 18px; height: 1.5px; background: currentColor; opacity: .6; }

/* 蛍光ペン */
.hp-mark { padding: 0 .06em; background: linear-gradient(transparent 58%, var(--hp-hl) 58%, var(--hp-hl) 92%, transparent 92%) no-repeat 0 0 / 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hp-mark--line { background-image: linear-gradient(transparent 84%, var(--hp-yellow) 84%, var(--hp-yellow) 96%, transparent 96%); }
.hp-js .hp-mark { background-size: 0% 100%; transition: background-size 1.1s var(--hp-ease) .2s; }
.hp-js .hp-mark.is-on { background-size: 100% 100%; }
.hp-js .hp-mark--hero { transition: none; animation: hpMark 1s var(--hp-ease) .95s forwards; }
@keyframes hpMark { to { background-size: 100% 100%; } }

.hp-hand { font-family: var(--hp-hand); font-weight: 600; letter-spacing: .02em; }

/* ---------- 部品 ---------- */
.hp-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid var(--hp-line); border-radius: 999px; background: #fff; color: var(--hp-forest); font-size: 13px; font-weight: 700; white-space: nowrap; }
.hp-pill--dark { border-color: var(--hp-forest); background: var(--hp-forest); color: #fff; }
.hp-pill__i { width: 14px; height: 14px; fill: var(--hp-yellow); }

.hp-btn {
  --bg: var(--hp-forest); --fg: #fff; --ab: var(--hp-yellow); --af: var(--hp-forest);
  position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 62px; padding: 9px 9px 9px 26px;
  border-radius: 999px; background: var(--bg); color: var(--fg); font-size: 16px; font-weight: 800; line-height: 1.3; letter-spacing: .04em;
  text-decoration: none; white-space: nowrap; box-shadow: 0 12px 26px -14px rgba(15, 59, 46, .6);
  transition: transform .4s var(--hp-ease), box-shadow .4s var(--hp-ease), background-color .3s;
}
.hp-btn__txt { flex: 1; }
.hp-btn__arw { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--ab); color: var(--af); overflow: hidden; }
.hp-btn__arw svg { width: 20px; height: 20px; }
.hp-btn:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -16px rgba(15, 59, 46, .65); }
.hp-btn:hover .hp-btn__arw svg { animation: hpArrow .6s var(--hp-ease); }
.hp-btn__tag { display: inline-grid; place-items: center; height: 24px; margin-right: -4px; padding: 0 9px; border-radius: 6px; background: var(--hp-yellow); color: var(--hp-forest); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.hp-btn__tag--dark { background: var(--hp-forest); color: var(--hp-yellow); }
.hp-btn--ghost { --bg: #fff; --fg: var(--hp-forest); --ab: var(--hp-mint); --af: var(--hp-forest); box-shadow: inset 0 0 0 1.5px var(--hp-forest); }
.hp-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--hp-forest), 0 16px 30px -18px rgba(15, 59, 46, .5); }
.hp-btn--ghost:hover .hp-btn__arw svg { animation-name: hpArrowDown; }
.hp-btn--yellow { --bg: var(--hp-yellow); --fg: var(--hp-forest); --ab: var(--hp-forest); --af: var(--hp-yellow); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5); }
.hp-btn--lg { min-height: 72px; padding-left: 30px; font-size: 17px; }
.hp-btn--lg .hp-btn__arw { flex-basis: 54px; width: 54px; height: 54px; }
@keyframes hpArrow { 0% { transform: none; } 45% { transform: translateX(140%); } 46% { transform: translateX(-140%); } 100% { transform: none; } }
@keyframes hpArrowDown { 0% { transform: none; } 45% { transform: translateY(140%); } 46% { transform: translateY(-140%); } 100% { transform: none; } }

.hp-textlink { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; color: var(--hp-forest); font-weight: 800; text-decoration: none; transition: color .25s; }
.hp-textlink svg { width: 20px; height: 20px; transition: transform .35s var(--hp-ease); }
.hp-textlink:hover { color: var(--hp-green-d); }
.hp-textlink:hover svg { transform: translateX(5px); }
.hp-textlink--light { color: #fff; }
.hp-textlink--light:hover { color: var(--hp-yellow); }
.hp-more { margin-top: clamp(28px, 3vw, 44px) !important; }
.hp-more--center { text-align: center; }
.hp-note { margin-top: 18px !important; font-size: 12.5px; line-height: 1.8 !important; color: var(--hp-muted); }
.hp-chip { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--hp-mint); color: var(--hp-forest); font-size: 12px; font-weight: 800; line-height: 1.4 !important; }

/* 開閉の＋ */
.hp-acc summary i, .hp-qa summary i, .hp-ni summary i { position: relative; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--hp-mint); transition: background-color .3s, transform .45s var(--hp-ease); }
.hp-acc summary i::before, .hp-acc summary i::after,
.hp-qa summary i::before, .hp-qa summary i::after,
.hp-ni summary i::before, .hp-ni summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--hp-forest); transition: transform .45s var(--hp-ease); }
.hp-acc summary i::after, .hp-qa summary i::after, .hp-ni summary i::after { transform: rotate(90deg); }
.hp-acc[open] > summary i, .hp-qa[open] > summary i, .hp-ni[open] > summary i { background: var(--hp-yellow); transform: rotate(180deg); }
.hp-acc[open] > summary i::after, .hp-qa[open] > summary i::after, .hp-ni[open] > summary i::after { transform: rotate(0); }
.hp-acc summary, .hp-qa summary, .hp-ni summary { cursor: pointer; list-style: none; }
.hp-acc summary::-webkit-details-marker, .hp-qa summary::-webkit-details-marker, .hp-ni summary::-webkit-details-marker { display: none; }
@keyframes hpOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* 見出しの行ごとの立ち上がり */
.hp-l { display: block; overflow: hidden; margin-bottom: -.05em; padding: .02em .08em .07em 0; }
.hp-l > span { display: inline-block; }
.hp-js .hp-l > span { animation: hpLine 1s var(--hp-ease) both; animation-delay: calc(var(--i) * .11s + .15s); }
@keyframes hpLine { from { transform: translateY(108%); } to { transform: none; } }
@keyframes hpZoom { from { transform: scale(1.08); } to { transform: none; } }
@keyframes hpPop { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes hpBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* 線を描く */
.hp-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hp-js .hp-draw { stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--hp-ease) .2s; }
.hp-js .hp-draw.is-in { stroke-dashoffset: 0; }

/* ==========================================================================
   CTA
   ========================================================================== */
.hp-cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(104px, 12vw, 180px); background: var(--hp-forest); color: #fff; }
.hp-cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask-image: radial-gradient(90% 90% at 80% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(90% 90% at 80% 50%, #000 20%, transparent 75%); }
.hp-cta__art { position: absolute; right: -30px; top: 50%; z-index: -1; width: min(600px, 50vw); height: auto; translate: 0 -50%; color: rgba(255, 255, 255, .16); }
.hp-cta__art .hp-draw { stroke: var(--hp-yellow); }
.hp-cta__art path[d^="M496"] { fill: var(--hp-yellow); }
.hp-cta__inner { position: relative; }
.hp-cta .hp-eyebrow__no { background: var(--hp-yellow); color: var(--hp-forest); }
.hp-cta .hp-eyebrow__jp { color: #fff; }
.hp-cta .hp-eyebrow__en { color: var(--hp-yellow); }
.hp-cta h2 { margin-bottom: 24px; font-size: clamp(34px, 5.4vw, 76px); line-height: 1.3; color: #fff; }
.hp-sub .hp-cta h2 { font-size: clamp(30px, 4.4vw, 62px); }
.hp-cta__lead { max-width: 34em; font-size: 16px; line-height: 2 !important; color: rgba(255, 255, 255, .84); }
.hp-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 44px; margin-top: 44px; }
.hp-cta__phone { display: flex; flex-direction: column; color: #fff; text-decoration: none; }
.hp-cta__phone span { font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .72); }
.hp-cta__phone strong { margin: 4px 0; font: 800 clamp(30px, 3.2vw, 44px)/1.1 var(--hp-en); letter-spacing: .02em; transition: color .25s; }
.hp-cta__phone small { font-size: 12px; color: rgba(255, 255, 255, .72); }
.hp-cta__phone:hover strong { color: var(--hp-yellow); }
.hp-cta__sub { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 34px; }
.hp-cta__sub a { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; border-bottom: 1.5px solid rgba(255, 255, 255, .36); color: #fff; font-size: 14.5px; font-weight: 800; text-decoration: none; transition: border-color .3s, color .3s; }
.hp-cta__sub a:hover { border-color: var(--hp-yellow); color: var(--hp-yellow); }
.hp-cta__sub svg { width: 16px; height: 16px; }
.hp-cta__hand { position: absolute; right: 0; bottom: -6px; font-size: 24px; color: var(--hp-yellow); rotate: -5deg; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.hp-js [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .9s var(--hp-ease), transform 1s var(--hp-ease); transition-delay: calc(var(--d, 0) * 80ms); }
.hp-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   共通ヘッダー
   ========================================================================== */
.bs-site .site-header { background: rgba(255, 255, 255, .94); border-bottom: 1px solid rgba(15, 59, 46, .08); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px); }
.bs-site .site-header.is-scrolled { background: rgba(255, 255, 255, .96); box-shadow: 0 12px 30px -22px rgba(15, 59, 46, .5); }
.bs-site:is(.bs-home, .hp-sub) .site-header:not(.is-scrolled):not(.is-menu-open) { background: rgba(247, 246, 240, .9); border-bottom-color: transparent; }
.bs-site .brand-copy span { color: var(--hp-muted); font-weight: 700; letter-spacing: .08em; }
.bs-site .brand-copy strong { color: var(--hp-forest); font-weight: 800; letter-spacing: .04em; }

.bs-site .desktop-nav { gap: 2px; }
.bs-site .desktop-nav a { position: relative; isolation: isolate; padding: 0 12px; color: var(--hp-forest); font-size: 13.5px; font-weight: 800; letter-spacing: .04em; }
.bs-site .desktop-nav a::after { content: ""; position: absolute; inset: auto 10px 12px; z-index: -1; height: 8px; border-radius: 2px; background: var(--hp-hl); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--hp-ease); }
.bs-site .desktop-nav a:hover::after, .bs-site .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.bs-site .desktop-nav .nav-instagram { justify-content: center; width: 44px; height: 44px; margin-left: 6px; padding: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--hp-line); transition: background-color .3s, color .3s, box-shadow .3s; }
.bs-site .desktop-nav .nav-instagram::after { display: none; }
.bs-site .desktop-nav .nav-instagram:hover { background: var(--hp-forest); color: #fff; box-shadow: none; }

.bs-site .header-cta { gap: 10px; min-height: 50px; padding: 5px 5px 5px 8px; border-radius: 999px; background: var(--hp-forest); color: #fff; font-size: 13.5px; font-weight: 800; letter-spacing: .04em; box-shadow: 0 12px 24px -16px rgba(15, 59, 46, .8); transition: transform .35s var(--hp-ease), box-shadow .35s var(--hp-ease); }
.bs-site .header-cta span { display: inline-grid; place-items: center; width: auto; height: 26px; padding: 0 9px; border-radius: 999px; background: var(--hp-yellow); color: var(--hp-forest); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; }
.bs-site .header-cta svg { width: 40px; height: 40px; margin-left: 2px; padding: 11px; border-radius: 50%; background: var(--hp-yellow); color: var(--hp-forest); stroke-width: 2.4; transition: transform .45s var(--hp-ease); }
.bs-site .header-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -16px rgba(15, 59, 46, .8); }
.bs-site .header-cta:hover svg { transform: rotate(-45deg); }

/* MENU ボタン：3本線と文字を横並びに */
.bs-site .menu-button { display: grid; grid-template-columns: 20px auto; grid-template-rows: repeat(3, 2px); align-content: center; column-gap: 10px; row-gap: 5px; flex: 0 0 auto; width: auto; height: 48px; padding: 0 17px 0 15px; border: 0; border-radius: 999px; background: #fff; color: var(--hp-forest); box-shadow: inset 0 0 0 1.5px var(--hp-forest); cursor: pointer; transition: background-color .3s, color .3s; }
.bs-site .menu-button span { grid-column: 1; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: width .4s var(--hp-ease), background-color .3s; }
.bs-site .menu-button span:nth-child(2) { width: 13px; background: var(--hp-green); }
.bs-site .menu-button::after { content: "MENU"; position: static; grid-column: 2; grid-row: 1 / -1; align-self: center; color: inherit; font: 800 11.5px/1 var(--hp-en); letter-spacing: .16em; }
.bs-site .menu-button:hover { background: var(--hp-forest); color: #fff; }
.bs-site .menu-button:hover span:nth-child(2) { width: 20px; background: var(--hp-yellow); }

/* ==========================================================================
   グローバルメニュー
   ========================================================================== */
.bs-site .mobile-menu.gm { color: #fff; background: var(--hp-forest); }
.bs-site .gm::before { content: ""; display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask-image: radial-gradient(110% 80% at 12% 0%, #000 30%, transparent 80%); mask-image: radial-gradient(110% 80% at 12% 0%, #000 30%, transparent 80%); }
.gm-art { position: absolute; right: -150px; bottom: -150px; z-index: 0; width: min(560px, 62vw); height: auto; color: rgba(255, 255, 255, .06); pointer-events: none; }
.gm-art .gm-art__line { stroke: rgba(255, 216, 77, .35); }
.gm-art .gm-art__tip { fill: rgba(255, 216, 77, .35); }

.gm-bar { position: relative; z-index: 1; display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 16px; min-height: 88px; padding: 12px max(24px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.gm-brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; color: #fff; text-decoration: none; }
.gm-brand img { flex: 0 0 auto; width: 80px; height: 50px; padding: 6px 9px; border-radius: 14px; background: #fff; object-fit: contain; }
.gm-brand span { display: flex; flex-direction: column; min-width: 0; color: rgba(255, 255, 255, .66); font-size: 10.5px; font-weight: 700; line-height: 1.5; letter-spacing: .08em; white-space: nowrap; }
.gm-brand strong { color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.bs-site .gm-close { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 12px; min-height: 50px; padding: 0 6px 0 20px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font: 800 14px/1 "Noto Sans JP", sans-serif; letter-spacing: .08em; cursor: pointer; transition: background-color .3s; }
.gm-close i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--hp-yellow); color: var(--hp-forest); transition: transform .5s var(--hp-ease); }
.gm-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.bs-site .gm-close:hover { background: rgba(255, 255, 255, .18); }
.gm-close:hover i { transform: rotate(90deg); }

.bs-site .gm-inner { position: relative; z-index: 1; flex: 1; width: 100%; min-height: 0; margin: 0; padding: clamp(28px, 4vw, 56px) max(24px, calc((100vw - 1240px) / 2)) calc(48px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.gm-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; gap: 40px clamp(40px, 6vw, 104px); }
.bs-site .gm-label { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; color: var(--hp-yellow); font: 800 12px/1 var(--hp-en); letter-spacing: .22em; }
.gm-label span { color: rgba(255, 255, 255, .6); font: 700 12px/1 "Noto Sans JP", sans-serif; letter-spacing: .08em; }
.gm-main ul, .gm-sub ul, .gm-mini { margin: 0; padding: 0; list-style: none; }

.bs-site .gm-main a { display: grid; grid-template-columns: 50px minmax(0, 1fr) 46px; align-items: center; gap: 14px; min-height: 84px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .13); color: #fff; text-decoration: none; }
.bs-site .gm-no { color: var(--hp-yellow); font: 800 14px/1 var(--hp-en); letter-spacing: .06em; }
.bs-site .gm-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; color: inherit; font-size: clamp(20px, 2.1vw, 27px); font-weight: 800; line-height: 1.35; letter-spacing: .04em; transition: color .3s; }
.bs-site .gm-t small { color: rgba(255, 255, 255, .48); font: 700 11px/1 var(--hp-en); letter-spacing: .2em; text-transform: uppercase; }
.bs-site .gm-arw { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); transition: background-color .3s, color .3s, box-shadow .3s, transform .45s var(--hp-ease); }
.gm-arw svg { width: 18px; height: 18px; }
.bs-site .gm-main a:hover .gm-t { color: var(--hp-yellow); }
.bs-site .gm-main a:hover .gm-arw { background: var(--hp-yellow); color: var(--hp-forest); box-shadow: none; transform: translateX(4px); }
.bs-site .gm-main a[aria-current="page"] .gm-t { color: var(--hp-yellow); }
.bs-site .gm-main a[aria-current="page"] .gm-arw { box-shadow: inset 0 0 0 1.5px var(--hp-yellow); color: var(--hp-yellow); }

.gm-sub ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bs-site .gm-sub a { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 16px; border-radius: 16px; background: rgba(255, 255, 255, .07); color: #fff; font-size: 14.5px; font-weight: 700; line-height: 1.45; text-decoration: none; transition: background-color .3s; }
.bs-site .gm-sub .ui-icon { flex: 0 0 22px; width: 22px; height: 22px; color: var(--hp-yellow); }
.bs-site .gm-sub a:hover { background: rgba(255, 255, 255, .15); }

.gm-cta { display: grid; gap: 10px; margin-top: 28px; }
.gm-cta .hp-btn { width: 100%; }
.bs-site .gm-line { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; border-radius: 999px; background: #06c755; color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .04em; text-decoration: none; transition: transform .35s var(--hp-ease); }
.gm-line .ui-icon { width: 20px; height: 20px; }
.bs-site .gm-line:hover { transform: translateY(-2px); }
.bs-site .gm-tel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2px 14px; margin-top: 4px; padding: 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, .07); color: #fff; text-decoration: none; transition: background-color .3s; }
.gm-tel span { grid-column: 1 / -1; color: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 700; }
.gm-tel strong { font: 800 27px/1.1 var(--hp-en); letter-spacing: .02em; }
.gm-tel small { padding-bottom: 3px; color: rgba(255, 255, 255, .7); font-size: 12px; }
.bs-site .gm-tel:hover { background: rgba(255, 255, 255, .14); }
.gm-mini { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 24px !important; }
.bs-site .gm-mini a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: rgba(255, 255, 255, .74); font-size: 13px; font-weight: 700; text-decoration: none; }
.bs-site .gm-mini a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.gm-mini .ui-icon { width: 18px; height: 18px; }

/* 開くときに少しずつ現れる */
.mobile-menu[open]:not(.is-closing) .gm-anim { animation: gmIn .6s var(--hp-ease) both; animation-delay: calc(var(--i, 0) * 45ms + 60ms); }
@keyframes gmIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.bs-site .gm :is(a, button):focus-visible { outline: 3px solid var(--hp-yellow); outline-offset: 3px; }
.bs-site .menu-button:focus-visible { outline: 3px solid var(--hp-green); outline-offset: 3px; }

/* ==========================================================================
   共通フッター
   ========================================================================== */
.bs-site .site-footer.ft { position: relative; isolation: isolate; overflow: hidden; padding: 0; background: var(--hp-paper); color: var(--hp-forest); }
.ft::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(15, 59, 46, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 59, 46, .06) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask-image: radial-gradient(90% 70% at 85% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(90% 70% at 85% 0%, #000 20%, transparent 75%); }
.ft :where(p, ul, dl, dd) { margin: 0; }
.ft-main { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.3fr); gap: 48px clamp(40px, 6vw, 112px); padding-block: clamp(64px, 7vw, 108px) clamp(28px, 3vw, 44px); }
.ft-logo { display: inline-block; }
.ft-logo img { display: block; width: 132px; height: auto; }
.ft .ft-catch { margin-top: 18px; color: var(--hp-muted); font-size: 12.5px; font-weight: 700; line-height: 1.6; letter-spacing: .08em; }
.ft .ft-name { margin-top: 2px; font-size: 21px; font-weight: 800; line-height: 1.5; letter-spacing: .04em; }
.ft-addr { display: flex; flex-direction: column; align-items: flex-start; margin-top: 18px; color: var(--hp-body); font-size: 14px; font-style: normal; line-height: 1.9; }
.bs-site .ft-tel { display: inline-flex; margin-top: 4px; color: var(--hp-forest); font: 800 clamp(28px, 2.6vw, 34px)/1.15 var(--hp-en); letter-spacing: .02em; text-decoration: none; transition: color .25s; }
.bs-site .ft-tel:hover { color: var(--hp-green-d); }
.ft-addr small { color: var(--hp-muted); font-size: 12.5px; }
.ft-side { display: grid; align-content: start; gap: 32px; }
.ft-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 20px 24px; border-radius: 22px; background: #fff; }
.ft-hours { display: grid; gap: 4px; }
.ft-hours > div { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 12px; font-size: 13.5px; line-height: 1.7; }
.ft-hours dt { color: var(--hp-green-d); font-weight: 800; }
.ft-hours dd { color: var(--hp-forest); font-weight: 700; }
.ft-hours dd span { display: inline-block; }
.ft-hours dd span + span::before { content: "／"; margin: 0 .3em; color: var(--hp-muted); }
.ft-social { display: flex; flex-wrap: wrap; gap: 8px; }
.bs-site .ft-social a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--hp-paper); box-shadow: inset 0 0 0 1.5px var(--hp-line); color: var(--hp-forest); font-size: 13.5px; font-weight: 800; text-decoration: none; transition: background-color .3s, color .3s, box-shadow .3s; }
.ft-social .ui-icon { width: 19px; height: 19px; }
.bs-site .ft-social a:hover { background: var(--hp-forest); color: #fff; box-shadow: none; }

.ft-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 32px 28px; }
.ft .ft-col__h { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--hp-forest); color: var(--hp-green-d); font: 800 11.5px/1 var(--hp-en); letter-spacing: .22em; }
.ft-col__h span { color: var(--hp-forest); font: 800 14.5px/1.3 "Noto Sans JP", sans-serif; letter-spacing: .06em; }
.ft-col ul { display: grid; padding: 0; list-style: none; }
.bs-site .ft-col a { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; color: var(--hp-forest); font-size: 14px; font-weight: 700; text-decoration: none; transition: color .25s; }
.ft-col a::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 2px; background: var(--hp-yellow); box-shadow: 0 0 0 1.5px var(--hp-forest); transition: transform .35s var(--hp-ease); }
.bs-site .ft-col a:hover { color: var(--hp-green-d); }
.ft-col a:hover::before { transform: rotate(45deg); }
.bs-site .ft-col a[aria-current="page"] { text-decoration: underline 3px var(--hp-yellow); text-underline-offset: 6px; }

.bs-site .ft-word { margin: 0; padding: 0 var(--hp-gutter); color: transparent; font: 800 min(9.4vw, 152px)/.9 var(--hp-en); letter-spacing: -.03em; text-align: center; white-space: nowrap; -webkit-text-stroke: 1.5px rgba(15, 59, 46, .2); -webkit-user-select: none; user-select: none; }
.ft-bottom { border-top: 1px solid var(--hp-line); }
.ft-bottom .hp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.ft-copy { color: var(--hp-muted); font: 700 12px/1.5 var(--hp-en); letter-spacing: .06em; white-space: nowrap; }
.bs-site .ft-pagetop { display: inline-flex; align-items: center; gap: 12px; color: var(--hp-forest); font: 800 12px/1 var(--hp-en); letter-spacing: .16em; text-decoration: none; }
.ft-pagetop i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--hp-forest); color: var(--hp-yellow); transition: transform .4s var(--hp-ease); }
.ft-pagetop svg { width: 18px; height: 18px; }
.ft-pagetop:hover i { transform: translateY(-4px); }

/* ---------- 共通部品（画面幅ごと） ---------- */
@media (max-width: 980px) {
  .hp-head--split { grid-template-columns: 1fr; }
  .hp-head--split .hp-head__lead { justify-self: start; }
  .hp-head--split > .hp-btn { justify-self: start; }
  .hp-head--sticky { position: static; }
  .hp-cta__art { opacity: .7; }
}

@media (max-width: 760px) {
  .bs-site { --hp-r: 20px; --hp-r-lg: 24px; }
  .hp-br-pc { display: none; }
  .hp-br-sp { display: inline; }
  .hp-cta__actions .hp-btn { width: 100%; }
  .hp-cta__art { right: -34vw; width: 96vw; opacity: .5; }
  .hp-cta__hand { position: static; display: block; margin-top: 26px !important; text-align: right; }
}

@media (max-width: 380px) {
  .hp-btn { gap: 10px; padding-left: 18px; font-size: 15px; }
  .hp-btn__tag { padding: 0 7px; }
}

/* ---------- 共通ヘッダー・メニュー・フッター（画面幅ごと） ---------- */
@media (max-width: 980px) {
  .gm-grid, .ft-main { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .bs-site .menu-button { height: 44px; padding: 0 15px 0 13px; column-gap: 9px; }
  .bs-site .menu-button::after { font-size: 10.5px; }

  .gm-bar { min-height: calc(68px + env(safe-area-inset-top)); padding: calc(10px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)); }
  .gm-brand { gap: 10px; }
  .gm-brand img { width: 64px; height: 40px; padding: 5px 7px; border-radius: 11px; }
  .gm-brand span { font-size: 9px; }
  .gm-brand strong { font-size: 12.5px; }
  .bs-site .gm-close { gap: 8px; min-height: 44px; padding: 0 4px 0 14px; font-size: 13px; }
  .gm-close i { width: 36px; height: 36px; }
  .bs-site .gm-inner { padding: 22px 16px calc(36px + env(safe-area-inset-bottom)); }
  .gm-grid { gap: 32px; }
  .bs-site .gm-main a { grid-template-columns: 34px minmax(0, 1fr) 38px; gap: 10px; min-height: 64px; }
  .bs-site .gm-no { font-size: 12.5px; }
  .bs-site .gm-t { gap: 2px 10px; font-size: 18px; }
  .bs-site .gm-t small { font-size: 9.5px; letter-spacing: .16em; }
  .bs-site .gm-arw { width: 38px; height: 38px; }
  .bs-site .gm-sub a { gap: 10px; min-height: 52px; padding: 8px 12px; border-radius: 14px; font-size: 13.5px; }
  .bs-site .gm-sub .ui-icon { flex-basis: 20px; width: 20px; height: 20px; }
  .gm-cta { margin-top: 22px; }
  .gm-tel strong { font-size: 24px; }
  .gm-art { right: -32vw; width: 92vw; }

  .ft-main { gap: 40px; padding-block: 56px 36px; }
  .ft-logo img { width: 112px; }
  .ft-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .ft-col:last-child { grid-column: 1 / -1; }
  .ft-info { padding: 18px; }
  .ft-hours dd span + span::before { display: none; }
  .ft-hours dd span { display: block; }
  .ft-pagetop__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .bs-site .ft-col a { min-height: 44px; font-size: 13.5px; }
  .bs-site .ft-word { padding: 0 12px; -webkit-text-stroke-width: 1px; }
  .ft-bottom .hp-wrap { min-height: 72px; }
}

/* 幅の狭いスマホ：MENU の文字を省いてロゴと並べる */
@media (max-width: 359px) {
  .bs-site .menu-button { grid-template-columns: 20px; width: 44px; padding: 0 12px; }
  .bs-site .menu-button::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu[open] .gm-anim { animation: none !important; }
}

/* ==========================================================================
   動きを減らす設定
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .hp *, .hp *::before, .hp *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hp-js [data-reveal] { opacity: 1; transform: none; }
  .hp-js .hp-mark { background-size: 100% 100%; }
  .hp-js .hp-draw { stroke-dashoffset: 0; }
}

/* ==========================================================================
   スマホ下部の固定ボタン（電話・LINE・無料体験予約）
   ========================================================================== */
@media (max-width: 760px) {
  body.bs-site { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .bs-site .mobile-bottom.mb { position: fixed; z-index: 1100; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 46px minmax(0, 1fr) minmax(0, 1.4fr); gap: 6px; height: auto; min-height: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border: 0; border-radius: 22px 22px 0 0; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px); box-shadow: 0 -14px 30px -16px rgba(15, 59, 46, .45); }
  .bs-site .mb a { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 52px; padding: 0 10px; border: 0; border-radius: 999px; font: 800 13.5px/1.2 "Noto Sans JP", sans-serif; letter-spacing: .02em; text-decoration: none; white-space: nowrap; box-shadow: none; transition: transform .15s ease; }
  .bs-site .mb a:active { transform: scale(.97); }
  .bs-site .mb .ui-icon { flex: 0 0 auto; width: 20px; height: 20px; }
  .bs-site .mb .mb__tel { padding: 0; background: var(--hp-mint); color: var(--hp-forest); box-shadow: inset 0 0 0 1.5px rgba(15, 59, 46, .14); }
  .bs-site .mb .mb__line { background: #06c755; color: var(--hp-forest); }
  .bs-site .mb .mb__reserve { justify-content: space-between; padding: 0 5px 0 10px; background: var(--hp-forest); color: #fff; font-size: 13px; }
  .mb__tag { display: inline-grid; flex: 0 0 auto; place-items: center; height: 22px; padding: 0 5px; border-radius: 6px; background: var(--hp-yellow); color: var(--hp-forest); font-size: 11px; font-weight: 800; }
  .mb__arw { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--hp-yellow); color: var(--hp-forest); }
  .mb__arw svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .bs-site .mb a:focus-visible { outline: 3px solid var(--hp-green); outline-offset: 2px; }
}
@media (max-width: 374px) {
  .bs-site .mobile-bottom.mb { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.25fr); gap: 6px; padding-inline: 10px; }
  .bs-site .mb a { font-size: 13px; }
  .bs-site .mb .mb__line .ui-icon, .mb__tag { display: none; }
  .mb__arw { width: 36px; height: 36px; }
}

/* ---------- 独自開発のコーチングアプリ（トップ／コース案内） ---------- */
.hp-capp { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "copy stage" "more more"; align-items: center; column-gap: clamp(28px, 4vw, 60px); row-gap: clamp(28px, 3vw, 40px); padding: clamp(26px, 3.6vw, 52px); border-radius: var(--hp-r-lg); background: #fff; }
.hp-support__grid > .hp-capp { grid-column: 1 / -1; }
.hs-detail .hp-capp { margin-top: 16px; }
.hp-capp__copy { grid-area: copy; }
.hp-capp__more { grid-area: more; }
.hp-capp__kicker { display: inline-block; margin-bottom: 14px !important; padding: 4px 12px; border-radius: 999px; background: var(--hp-yellow); color: var(--hp-forest); font-size: 12px; font-weight: 800; }
.hp-capp h3 { color: var(--hp-forest); font-size: clamp(23px, 2.5vw, 34px); line-height: 1.55; }
.hp-capp__text { margin-top: 16px !important; color: var(--hp-body); font-size: 15px; line-height: 2 !important; }
.hp-capp__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 !important; counter-reset: capp; }
.hp-capp__points li { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--hp-paper); counter-increment: capp; }
.hp-capp__points li::before { content: counter(capp); grid-row: 1 / span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--hp-forest); color: var(--hp-yellow); font: 800 15px/1 var(--hp-en); }
.hp-capp__points h4 { color: var(--hp-forest); font-size: 15px; font-weight: 800; line-height: 1.6; }
.hp-capp__points p { margin-top: 2px !important; color: var(--hp-muted); font-size: 13px; line-height: 1.8 !important; }
.hp-capp__foot { margin-top: 12px !important; color: var(--hp-muted); font-size: 12.5px; line-height: 1.8 !important; }
.hp-capp__foot a { color: var(--hp-green-d); font-weight: 700; }
.hp-capp .hp-textlink { margin-top: 16px; }
.hp-capp__stage { grid-area: stage; align-self: stretch; display: grid; align-content: center; padding: clamp(24px, 3vw, 42px) clamp(14px, 2.4vw, 32px); border-radius: 26px; background-color: var(--hp-mint); background-image: linear-gradient(rgba(15, 59, 46, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 59, 46, .05) 1px, transparent 1px); background-size: 28px 28px; }
.hp-capp__phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 24px); align-items: start; }
.hp-capp__phones > li:nth-child(2) { margin-top: clamp(20px, 3.2vw, 44px); }
.hp-capp__shot { margin: 0; }
.hp-capp__frame { padding: 5px; border-radius: 28px; background: #10241c; box-shadow: 0 1px 0 rgba(15, 59, 46, .1), 0 30px 40px -24px rgba(15, 59, 46, .7); }
.hp-capp__frame img { width: 100%; height: auto !important; aspect-ratio: 750 / 1345; border-radius: 23px; background: #fff; }
.hp-capp__shot figcaption { margin-top: 12px; color: var(--hp-forest); font-size: 13px; font-weight: 800; line-height: 1.5; text-align: center; }
.hp-capp__swipe { display: none; }
@media (max-width: 980px) {
  .hp-capp { grid-template-columns: 1fr; grid-template-areas: "copy" "stage" "more"; row-gap: 26px; }
  .hp-capp__stage { align-self: auto; }
  .hp-capp__phones { width: 100%; max-width: 600px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .hp-capp { padding: 26px 18px 24px; }
  .hp-capp__points { grid-template-columns: 1fr; }
  .hp-capp__stage { padding: 22px 0 16px 18px; }
  .hp-capp__phones { display: flex; gap: 14px; max-width: none; padding: 4px 18px 12px 0; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .hp-capp__phones > li { flex: 0 0 min(56vw, 230px); scroll-snap-align: start; }
  .hp-capp__phones > li:nth-child(2) { margin-top: 0; }
  .hp-capp__swipe { display: block; margin-top: 4px !important; padding-right: 18px; color: var(--hp-muted); font-size: 12px; text-align: center; }
}
