/* =========================================================
   Music Design Works — デザイン案B（パステルの水色）
   色・書体はこの :root でまとめて変えられます。
   ========================================================= */
:root {
  --rose: #B5D6EA;          /* メインのパステル水色 */
  --rose-deep: #90BDD9;     /* 濃いめの水色（ボタン・バッジ） */
  --rose-cell: #9CC7E2;     /* オプションのボタン */
  --rose-ink: #4A6C82;      /* 白地の上の水色系の文字 */
  --rose-icon: #74A3C1;     /* アイコンの線 */
  --blush: #F2F6F9;         /* オフホワイト */
  --blush-2: #DEEDF6;       /* 水色の上のカード */
  --shell: #E3F1FA;         /* バナー */
  --ink: #303A40;           /* 本文 */
  --ink-strong: #131D23;    /* 見出し */
  --muted: #5F717C;         /* 補足 */
  --line: #D0E2ED;
  --white: #FFFFFF;
  --announce: #547A91;
  /* セクションの背景（白と交互に使うパステルカラー） */
  --bg-pink: #FCEEF2;
  --bg-sky: #EAF4FB;
  --bg-lavender: #F1EFFA;
  --bg-cream: #FFFBEA;      /* 明るく薄いクリームイエロー（オプション） */
  --rose-accent: #A35C77;   /* ピンクの背景に合わせる濃いめのローズ */
  --rose-soft: #EEBDCD;     /* ピンクのアイコンの丸 */

  /* 書体：ロゴ（幾何学的なゴシック）に合わせて、英字は Jost、日本語は Zen Kaku Gothic New */
  --font-en: "Jost", "Futura", "Century Gothic", "Avenir Next", sans-serif;
  --font-base: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --btn-radius: 12px;       /* ボタンの角丸（全ボタン共通） */
  --wave-h: clamp(34px, 4.6vw, 72px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--rose);
  color: var(--ink);
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
/* メニューを開いている間は後ろのページを動かさない（html に指定して、上に残るヘッダーの位置がずれないようにする） */
html:has(body.is-locked) { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 500; word-break: auto-phrase; }

[hidden] { display: none !important; }
.nowrap { display: inline-block; }
/* 段落の最後の行が1〜2文字だけにならないよう、行の長さを整える（対応ブラウザのみ） */
p, li, dd { text-wrap: pretty; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }

/* ---------- buttons ---------- */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 48px; padding: 0 32px;
  border-radius: var(--btn-radius); border: 1px solid transparent;
  font-size: 14px; font-weight: 700; letter-spacing: .08em; text-decoration: none;
  cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn-pill__arrow { display: none; }
.btn-pill:hover .btn-pill__arrow { transform: translateX(4px); }
.btn-pill--white { background: var(--white); color: var(--rose-ink); }
.btn-pill--white:hover { background: var(--blush); }
.btn-pill--outline { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-pill--outline:hover { background: var(--ink); color: #fff; }
.btn-pill--outline:hover .btn-pill__arrow { filter: brightness(0) invert(1); }
.btn-pill--rose { background: var(--rose); color: var(--ink); border-color: var(--ink); }
.btn-pill--small {
  min-height: 40px; padding: 0 22px; font-size: 13px;
  background: var(--white); color: var(--rose-ink); border-color: var(--rose-deep);
}
.btn-pill--small:hover { background: var(--rose); color: var(--ink); border-color: var(--rose); }

/* ADD TO BAG 風のボタン */
.btn-bag {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 54px; padding: 0 24px; border-radius: var(--btn-radius);
  background: var(--rose); border: 0; color: var(--ink);
  font-size: 15px; font-weight: 700; letter-spacing: .12em; cursor: pointer;
  transition: background-color .25s, color .25s;
}
.btn-bag:hover { background: var(--ink); color: #fff; }
.btn-bag:disabled { opacity: .6; cursor: progress; }

.round-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 34px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, .62); color: var(--ink);
  cursor: pointer; text-decoration: none; transition: background-color .25s;
}
.round-btn:hover { background: #fff; }
.round-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.chip {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 18px;
  border-radius: 999px; background: var(--white); color: var(--rose-ink);
  font-size: 12px; letter-spacing: .06em; white-space: nowrap;
}
.chip--active { background: var(--rose); color: var(--ink); }

.text-link { color: var(--rose-ink); text-decoration: underline; text-underline-offset: 3px; }
.text-link.is-unset, [data-config-link].is-unset { text-decoration: none; cursor: default; }

/* ---------- ヘッダー（スクロールしても上部に残る） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(74, 108, 130, .08), 0 8px 24px rgba(74, 108, 130, .07); }
.site-header__inner {
  display: flex; align-items: center; gap: 12px 28px;
  max-width: 1640px; margin: 0 auto; padding: 8px 48px 8px clamp(28px, 4vw, 72px);
}
.site-header__logo { margin-right: auto; display: block; line-height: 0; flex: none; }
.site-header__logo img { width: auto; height: clamp(20px, 1.85vw, 27px); }
.site-header__logo:hover { opacity: .85; }
.site-nav__list { display: flex; align-items: center; }
.site-nav__list li { display: flex; align-items: center; }
.site-nav__list li + li::before { content: ""; width: 1px; height: 14px; background: rgba(48, 58, 64, .22); }
.site-nav__list a {
  display: inline-block; padding: 6px clamp(10px, 1.1vw, 18px);
  color: var(--ink); text-decoration: none; white-space: nowrap;
  font-size: 14px; font-weight: 500; letter-spacing: .06em; line-height: 1.5;
  transition: color .25s;
}
.site-nav__list a:hover { color: var(--rose-ink); text-decoration: underline; text-underline-offset: 6px; }

/* ヘッダーのお問い合わせボタンは細め */
.site-header .site-header__cta { min-height: 40px; padding: 0 28px; font-size: 14px; box-shadow: 0 4px 14px rgba(214, 150, 163, .2); }

/* スマホのメニューだけで使う部品（パソコン・タブレットでは表示しない） */
.nav-toggle, .site-nav .site-nav__cta, .site-nav .site-nav__en, .site-nav .site-nav__label-sp { display: none; }

/* タブレット・スマホ：1段目にロゴとお問い合わせ、2段目にメニュー（横にスクロール） */
@media (max-width: 1100px) {
  html { scroll-padding-top: 116px; }
  .site-header__inner { flex-wrap: wrap; gap: 0 12px; padding: 7px 16px 0; }
  .site-header .site-header__cta { min-height: 36px; padding: 0 22px; font-size: 13.5px; }
  .site-nav { order: 3; width: calc(100% + 32px); margin: 4px -16px 0; }
  .site-nav__list {
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding: 0 8px 8px; justify-content: safe center;
  }
  .site-nav__list::-webkit-scrollbar { display: none; }
  .site-nav__list a { padding: 4px 13px; font-size: 13.5px; letter-spacing: .04em; }
}

/* やさしいピンクのボタン */
.btn-soft {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 36px; border-radius: var(--btn-radius);
  background: #F6DCE1; color: #7A4A55; text-decoration: none; white-space: nowrap;
  font-size: 15px; font-weight: 700; letter-spacing: .08em;
  box-shadow: 0 8px 22px rgba(214, 150, 163, .22);
  transition: background-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.btn-soft:hover { background: #F1CBD3; box-shadow: 0 10px 26px rgba(214, 150, 163, .32); transform: translateY(-1px); }
.btn-soft--lg { min-height: 64px; padding: 0 52px; font-size: 17px; }

/* ---------- hero ---------- */
.hero { padding-bottom: 70px; background: #fff; }
.mv-wrap { background: #fff; padding: 4px 20px 0; }

/* main visual */
.mv {
  position: relative; overflow: hidden;
  max-width: 1600px; margin: 0 auto;
  /* 画面の下端までぴったり（--header-h はヘッダーの高さ。design-b.js で設定） */
  height: max(560px, calc(100vh - var(--header-h, 84px) - 4px));
  height: max(560px, calc(100svh - var(--header-h, 84px) - 4px));
  border-radius: 18px 18px 0 0; background: #E4F0F8;
  transform: translateZ(0);
}
.mv__photo, .mv__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* 横長の画面では上下を少しずつ切り、弓の先が上で切れないようにする（縦の基準 60%） */
.mv__photo img { object-fit: cover; object-position: 70% 60%; animation: mvZoom 9s var(--ease) both; transform-origin: 70% 100%; }
/* 写真の下端の波線（下の白いセクションへつなぐ） */
.mv__wave {
  position: absolute; left: 0; bottom: -1px; z-index: 1; display: block;
  width: 100%; height: var(--wave-h); pointer-events: none;
}
.mv__wave path { fill: #fff; }
/* 写真の右端の「SCROLL ↓」 */
.mv__scroll {
  position: absolute; right: clamp(18px, 2.2vw, 40px); bottom: calc(var(--wave-h) + 26px); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 7px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); /* 写真に重なっても読めるように薄い白の下地 */
  color: #3E5E74; text-decoration: none; transition: opacity .25s;
}
.mv__scroll:hover { opacity: .7; }
.mv__scroll:focus-visible { outline: 2px solid #5E88A3; outline-offset: 6px; border-radius: 4px; }
.mv__scroll-text { writing-mode: vertical-rl; font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: .26em; line-height: 1; text-transform: uppercase; }
.mv__scroll-arrow { position: relative; display: block; width: 9px; height: 64px; animation: mvScroll 2s var(--ease) infinite; }
.mv__scroll-arrow::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 1px; width: 1px; background: currentColor; }
.mv__scroll-arrow::after {
  content: ""; position: absolute; left: 1px; bottom: 1px; width: 7px; height: 7px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg);
}
@keyframes mvScroll { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(8px); opacity: .55; } }
@keyframes mvZoom { from { transform: scale(1.04); } to { transform: none; } }
.mv__body {
  position: relative; z-index: 1; height: 100%; max-width: 62%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 24px 0 24px clamp(32px, 6.4vw, 100px);
}
.mv__eyebrow {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--font-en); font-weight: 500; font-size: clamp(13px, 1vw, 15px);
  letter-spacing: .2em; text-transform: uppercase; color: #5E88A3; line-height: 1.2;
}
.mv__eyebrow::before { content: ""; width: 64px; height: 1px; background: currentColor; opacity: .7; }
.mv__title {
  margin-top: 20px;
  font-family: var(--font-base); font-weight: 500;
  font-size: clamp(32px, 3.7vw, 56px); line-height: 1.45; letter-spacing: .06em;
  color: #3E5E74;
}
.mv__sub {
  margin-top: 22px; font-size: clamp(15px, 1.35vw, 20px); font-weight: 500;
  letter-spacing: .1em; line-height: 1.8; color: #3B4A54;
}
.mv__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; margin-top: 36px; }
.mv__link {
  font-size: 16px; font-weight: 500; letter-spacing: .08em; line-height: 1.6; color: #3E5E74;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .42em;
  transition: opacity .25s;
}
.mv__link:hover { opacity: .7; }
.mv__points { display: flex; flex-wrap: wrap; margin-top: 30px; }
.mv__points li { padding: 2px 28px; font-size: 15px; letter-spacing: .08em; color: #3B4A54; line-height: 1.6; }
.mv__points li:first-child { padding-left: 0; }
.mv__points li + li { border-left: 1px solid rgba(48, 58, 64, .25); }

/* problems = お悩みと解決策のカード */
.problems { max-width: 1140px; margin: 72px auto 0; padding: 0 20px; }
.problems__en { font-family: var(--font-en); font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #C98AA2; }
.problems__title { margin-top: 6px; font-size: clamp(22px, 2.3vw, 31px); font-weight: 700; letter-spacing: .06em; line-height: 1.5; color: var(--ink-strong); }
.solve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.solve {
  --c: #C0607F; --c-soft: #D995AE; --bg1: #FFF5F8; --bg2: #FBE6EE;
  display: flex; flex-direction: column; align-items: center;
  padding: 24px 22px 28px; border-radius: 18px;
  background: linear-gradient(160deg, var(--bg1) 0%, var(--bg2) 100%);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 12px 30px rgba(74, 108, 130, .08), 0 2px 6px rgba(74, 108, 130, .04);
}
.solve--mint { --c: #4E8F77; --c-soft: #8DBDA9; --bg1: #F4FBF6; --bg2: #E2F2E8; }
.solve--sky  { --c: #4A7FAE; --c-soft: #8EB6D6; --bg1: #F4F9FE; --bg2: #E1EFFA; }
.solve svg { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.solve__worry { display: flex; align-items: center; gap: 14px; font-size: 14.5px; font-weight: 500; letter-spacing: .04em; color: var(--ink); line-height: 1.5; }
.solve__worry-icon { flex: none; width: 36px; height: 36px; color: var(--ink); opacity: .85; }
.solve__worry-icon svg { width: 100%; height: 100%; }
.solve__arrow { display: block; width: 18px; height: 18px; margin: 10px 0 8px; color: var(--c-soft); }
.solve__arrow svg { width: 100%; height: 100%; stroke-width: 1.8; }
.solve__answer { display: flex; align-items: center; justify-content: center; gap: 18px; }
.solve__icon {
  flex: none; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%;
  background: rgba(255, 255, 255, .88); color: var(--c);
  box-shadow: 0 6px 16px rgba(74, 108, 130, .07);
}
.solve__icon svg { width: 38px; height: 38px; }
.solve__answer-text { font-size: clamp(16px, 1.45vw, 19px); font-weight: 700; letter-spacing: .05em; line-height: 1.65; color: var(--ink-strong); }

.problems__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 40px; }
.problems__lead { font-size: 14px; line-height: 1.95; letter-spacing: .06em; color: var(--ink); }
.solve__note {
  align-self: stretch; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .9);
  font-size: 13px; line-height: 1.85; letter-spacing: .04em; color: var(--ink); text-align: center;
}
.solve-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
  margin-top: 34px; padding: 28px clamp(24px, 4vw, 48px); border-radius: 18px;
  background: linear-gradient(100deg, #FFF6F9 0%, #F4F8FD 100%);
  border: 1px solid #F1E4EA;
}
.solve-cta__text { font-size: clamp(16px, 1.4vw, 19px); font-weight: 700; letter-spacing: .06em; line-height: 1.7; color: var(--ink-strong); }
.solve-cta__small { font-size: 13px; font-weight: 400; color: var(--ink); }
.solve-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; }

/* ---------- sections ---------- */
.sec { position: relative; padding: 76px 0 104px; }
.sec--white { background: var(--white); }
.sec--rose { background: var(--rose); }
.sec--blush { background: var(--blush); }
.sec--pink { background: var(--bg-pink); }
.sec--sky { background: var(--bg-sky); }
.sec--lavender { background: var(--bg-lavender); }
.sec--cream { background: var(--bg-cream); }
.wave {
  position: absolute; left: 0; bottom: calc(100% - 1px); width: 100%; height: var(--wave-h);
  display: block; pointer-events: none;
}
.sec--white .wave path { fill: var(--white); }
.sec--rose .wave path { fill: var(--rose); }
.sec--blush .wave path { fill: var(--blush); }
.sec--pink .wave path { fill: var(--bg-pink); }
.sec--sky .wave path { fill: var(--bg-sky); }
.sec--lavender .wave path { fill: var(--bg-lavender); }
.sec--cream .wave path { fill: var(--bg-cream); }
.wave--flip { transform: scaleX(-1); }

/* ピンク → 白 のしずく型のつなぎ */
.sec--notch { padding-top: 64px; }
.sec--notch::before {
  content: ""; position: absolute; left: 50%; top: -1px; width: 96px; height: 36px; transform: translateX(-50%);
  background: center top / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 36'%3E%3Cpath d='M0 0H96C76 0 62 5 56 17C52.5 24 51 36 48 36C45 36 43.5 24 40 17C34 5 20 0 0 0Z' fill='%23B5D6EA'/%3E%3C/svg%3E");
}

.sec-head { text-align: center; margin-bottom: 40px; }
.sec-title { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sec-title__en {
  font-family: var(--font-en); font-weight: 500; font-size: clamp(26px, 2.5vw, 32px); line-height: 1.1;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-strong);
}
.sec-title--script .sec-title__en { text-transform: none; letter-spacing: .04em; font-size: clamp(28px, 2.8vw, 36px); }
.sec-title__jp { font-size: 13px; letter-spacing: .14em; color: var(--muted); font-weight: 400; }
.sec-title__en--small { font-family: var(--font-en); font-size: 14px; font-weight: 500; letter-spacing: .3em; color: var(--rose-ink); }
.sec-title__jp--lg { font-size: clamp(19px, 2vw, 24px); font-weight: 500; letter-spacing: .12em; color: var(--ink-strong); }
.sec-head--on-rose .sec-title__jp { color: var(--ink-strong); }
.sec-lead { margin-top: 16px; font-size: 14px; line-height: 2; color: var(--ink); }
.sec-more { margin-top: 44px; text-align: center; }

/* ---------- tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.tab {
  min-height: 38px; padding: 0 20px; border-radius: var(--btn-radius); border: 0; cursor: pointer;
  background: #fff; color: var(--rose-ink); font-size: 12px; font-weight: 700; letter-spacing: .1em;
  transition: background-color .25s, color .25s;
}
.tab:hover { background: #DEECF5; }
.tab[aria-pressed="true"] { background: var(--rose); color: var(--ink-strong); }

/* ---------- works (product grid) ---------- */
.product-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 20px; max-width: 1040px; margin: 0 auto; }
.product { flex: 0 1 calc((100% - 40px) / 3); min-width: 0; }
.product[hidden] { display: none; }
.product.is-entering { animation: fadeUp .5s var(--ease) both; }
.product__media {
  position: relative; aspect-ratio: 4 / 3.7; border-radius: 12px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 4% 6% 17%;
  background: linear-gradient(180deg, #F0F7FC, #D7E9F4);
}
.product__media--b { background: linear-gradient(180deg, #EDF4F9, #CCE2EF); }
.product__media--c { background: linear-gradient(180deg, #F2F9FD, #D5E7F2); }
.product__media--d { background: linear-gradient(180deg, #F3F1EC, #E2DCCB); }
.product__media--e { background: linear-gradient(180deg, #FFF8EE, #FDE7D3); }
.product__media--f { background: linear-gradient(180deg, #F7F1F3, #E9DCE3); }
.product__media picture { width: 116%; flex: none; }
.product__media img { width: 100%; transition: transform .6s var(--ease); filter: drop-shadow(0 14px 18px rgba(66, 102, 124, .14)); }
.product:hover .product__media img { transform: scale(1.04); }
.product__badges { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 6px; }
.badge-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 12px; border-radius: 999px; background: #fff; color: var(--rose-ink); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; }
.product__caption { display: flex; flex-direction: column; align-items: center; padding-top: 14px; text-align: center; }
.swatches { display: flex; gap: 8px; }
.swatches span { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(48, 58, 64, .16); }
.product__name { margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--ink-strong); }
.product__sub { font-family: var(--font-en); font-size: 14px; letter-spacing: .06em; color: var(--rose-ink); line-height: 1.3; }
/* ---------- 制作実績：お客様のサイト ---------- */
.works-sub { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0 auto 26px; font-size: 18px; font-weight: 700; letter-spacing: .1em; color: var(--ink-strong); text-align: center; }
.works-sub__en { font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--rose-accent); }
.works-sub--samples { margin-top: 84px; }
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1080px; margin: 0 auto; }
.client__card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 20px; background: #fff;
  box-shadow: 0 10px 26px rgba(163, 92, 119, .08);
}
.client__media { padding: 14px 10px 0; background: linear-gradient(180deg, #FFFDFE, #FBF6F8); border-bottom: 1px solid #F6EEF1; }
.client__media img { display: block; width: 100%; height: auto; }
.client__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.client__name { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: .04em; line-height: 1.5; color: var(--ink-strong); }
.client__name-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(163, 92, 119, .4); text-decoration-thickness: 1px; text-underline-offset: .3em; transition: color .25s, text-decoration-color .25s; }
.client__name-link:hover { color: var(--rose-accent); text-decoration-color: currentColor; }
.client__sama { margin-left: .3em; font-size: 14px; font-weight: 500; }
/* お客様名：「様」だけが次の行に残らないように、スペースの位置で改行する */
.client__name { word-break: keep-all; overflow-wrap: anywhere; }
.client__desc { margin-top: 8px; font-size: 12.5px; line-height: 1.85; color: var(--ink); }
.client__more { margin-top: auto; padding-top: 14px; align-self: flex-start; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--rose-accent); text-decoration: underline; text-underline-offset: .35em; transition: opacity .25s; }
.client__more:hover { opacity: .7; }
.works-note { margin-top: 26px; text-align: center; font-size: 12px; color: var(--muted); }

/* ---------- features (category tiles) ---------- */
.cat-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1040px; margin: 0 auto; }
.cat__link {
  position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5;
  border-radius: 12px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate;
}
.cat__bg {
  position: absolute; inset: 0; z-index: -2; background-repeat: no-repeat;
  transition: transform .8s var(--ease);
}
.cat__link::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 40, 48, .28), rgba(28, 40, 48, .5)); transition: background-color .3s; }
.cat__link:hover .cat__bg { transform: scale(1.06); }
.cat__bg--photo { background-image: url("../images/hero/mv-violinist-1400.jpg"); background-size: cover; background-position: 76% 50%; }
.cat__bg--school { background-image: url("../images/works/school-1200.png"); background-size: auto 220%; background-position: 50% 55%; }
.cat__bg--ensemble { background-image: url("../images/works/ensemble-1200.png"); background-size: auto 220%; background-position: 56% 35%; }
.cat__num { position: absolute; left: 18px; top: 14px; font-family: var(--font-en); font-size: 18px; font-weight: 500; letter-spacing: .08em; }
.cat__body { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 18px; }
.cat__en { font-family: var(--font-en); font-weight: 500; font-size: clamp(21px, 2vw, 27px); line-height: 1.15; letter-spacing: .08em; text-transform: uppercase; }
.cat__title { margin-top: 10px; font-size: 14px; font-weight: 500; letter-spacing: .08em; line-height: 1.75; }
.cat__note { margin-top: 8px; font-size: 11px; line-height: 1.7; opacity: .95; }
.cat__more { margin-top: 16px; padding-bottom: 2px; border-bottom: 1px solid #fff; font-size: 11px; letter-spacing: .16em; }

/* ---------- options：1枚の白いパネルに、細い線で区切った一覧 ---------- */
.options { margin-top: 0; }
.option-panel {
  max-width: 900px; margin: 0 auto; padding: 8px 36px 26px; border-radius: 20px; background: #fff;
  box-shadow: 0 10px 28px rgba(160, 130, 60, .06);
}
.option-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
.option-row {
  display: flex; align-items: center; gap: 14px; min-height: 66px; padding: 12px 0;
  border-bottom: 1px solid #F1ECDD;
}
/* いちばん下の段は線なし（項目数が奇数でも偶数でも） */
.option-row:last-child, .option-row:nth-child(odd):nth-last-child(2) { border-bottom: 0; }
.option-row__icon { width: 22px; height: 22px; flex: none; opacity: .9; }
.option-row__name { flex: 1; font-size: 14px; font-weight: 500; letter-spacing: .05em; line-height: 1.6; color: var(--ink-strong); }
.option-row__price { flex: none; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--ink-strong); white-space: nowrap; }
.option-row__sub { display: block; font-size: 11px; font-weight: 400; letter-spacing: .03em; color: var(--muted); }
.option-row__unit { margin-right: 6px; font-size: 11px; font-weight: 400; color: var(--muted); }
.option-panel__more { border-top: 1px solid #F1ECDD; padding-top: 18px; }
.option-panel__more { margin-top: 20px; text-align: center; font-size: 13px; line-height: 1.8; color: var(--ink); }
.options-payment { max-width: 860px; margin: 26px auto 0; text-align: center; font-size: 12px; line-height: 2; color: var(--muted); }

/* ---------- pricing (staff styling cards) ---------- */
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1040px; margin: 0 auto; align-items: start; }
.plan { display: flex; flex-direction: column; align-items: center; text-align: center; }
.plan__visual {
  position: relative; width: 100%; aspect-ratio: 4 / 3.5; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px;
  background: linear-gradient(160deg, #FFFFFF 0%, #DCEDF7 100%);
  box-shadow: inset 0 0 0 1px rgba(144, 189, 217, .25);
}
.plan--standard .plan__visual { background: linear-gradient(160deg, #D2E9F7 0%, #B5D6EA 100%); }
.plan--premium .plan__visual { background: linear-gradient(160deg, #AAD0E7 0%, #89B8D6 100%); }
.plan__en { font-family: var(--font-en); font-weight: 500; font-size: clamp(30px, 2.8vw, 40px); line-height: 1; letter-spacing: .04em; color: var(--ink-strong); }
.plan__price { margin-top: 14px; color: var(--ink-strong); display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; }
.plan__unit { font-size: 13px; margin-right: 6px; }
.plan__amount { font-family: var(--font-en); font-weight: 500; font-size: clamp(38px, 3.6vw, 50px); line-height: 1; letter-spacing: .02em; }
.plan__yen { font-size: 16px; font-weight: 700; margin-left: 2px; }
.plan__tax { font-size: 12px; }
.plan__lead { margin-top: 12px; font-size: 13px; letter-spacing: .08em; color: var(--ink); }
.plan__badge {
  position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; min-height: 28px; padding: 0 14px;
  border-radius: 999px; background: #fff; color: var(--rose-ink); font-size: 12px; font-weight: 700; letter-spacing: .1em;
}
.plan__name { margin-top: 16px; font-size: 16px; font-weight: 700; letter-spacing: .14em; color: var(--ink-strong); }
.plan__features { width: 100%; max-width: 330px; margin-top: 12px; text-align: left; }
.plan__features li {
  position: relative; padding: 9px 4px 9px 22px; border-bottom: 1px dashed var(--line);
  font-size: 13px; line-height: 1.7;
}
/* マークは1行目の文字の高さの中央（上の余白9px＋行の高さの半分−マークの半分） */
.plan__features li::before { content: ""; position: absolute; left: 6px; top: calc(9px + .85em - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--rose-deep); }
.plan__features li.plan__feature-off { color: var(--muted); }
.plan__features li.plan__feature-off::before { background: transparent; box-shadow: inset 0 0 0 1px var(--rose-deep); }
.plan__features li.plan__feature-note { font-size: 11.5px; color: var(--muted); border-bottom: 0; padding-left: 4px; }
.plan__features li.plan__feature-note::before { display: none; }
/* パソコン・タブレット：3つのプランで同じ項目が同じ高さに並ぶようにする（subgrid） */
@media (min-width: 768px) {
  @supports (grid-template-rows: subgrid) {
    .plan-grid { align-items: stretch; row-gap: 0; }
    .plan { display: grid; grid-row: span 10; grid-template-rows: subgrid; row-gap: 0; justify-items: center; align-content: start; }
    .plan__visual { align-self: stretch; }
    .plan__features { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; }
  }
}

/* ご契約について：白いカード（左にアイコン、右に内容） */
.terms {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
  max-width: 900px; margin: 56px auto 0; padding: 32px 40px;
  border-radius: 20px; background: #fff;
  border: 1px solid #EEE6D2; box-shadow: 0 10px 26px rgba(74, 108, 130, .07);
  font-size: 13px; line-height: 1.9; text-align: left;
}
.terms__icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: #FEF5CF; color: #C98A2E;
}
.terms__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.terms__label { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 500; letter-spacing: .16em; color: #B07A2A; }
.terms__lead { font-size: 18px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; color: var(--ink-strong); }
.terms__sum-title { margin-top: 16px; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--ink); }
.terms__sum-note { font-size: 12px; font-weight: 400; color: var(--muted); }
.terms__sums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.terms__sums li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding: 10px 16px; border-radius: 12px; background: #FFF9E6;
}
.terms__plan { font-family: var(--font-en); font-size: 14px; font-weight: 500; letter-spacing: .04em; color: #B07A2A; }
.terms__price { font-family: var(--font-en); font-size: 19px; font-weight: 500; color: var(--ink-strong); white-space: nowrap; }
.terms__price small { margin-left: 2px; font-family: var(--font-base); font-size: 12px; }
.terms__small { margin-top: 16px; font-size: 12px; line-height: 1.9; color: var(--muted); }
.small-note { max-width: 860px; margin: 18px auto 0; text-align: center; font-size: 12px; line-height: 1.9; color: var(--muted); }

/* ---------- flow：4つのステップ（番号・アイコン・説明） ---------- */
.flow-list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1120px; margin: 0 auto; }
.flow-step {
  --c: #C0607F; --c-soft: #FBE6EE;
  position: relative; display: flex; flex-direction: column;
  padding: 26px 24px 28px; border-radius: 20px; background: #fff;
  box-shadow: 0 10px 26px rgba(98, 88, 150, .07);
}
.sec--white .flow-step { border: 1px solid #EFECF6; }
.flow-step--yellow { --c: #B07A2A; --c-soft: #FEF3D2; }
.flow-step--mint   { --c: #4E8F77; --c-soft: #E2F2E8; }
.flow-step--sky    { --c: #4A7FAE; --c-soft: #E1EFFA; }
/* ステップの間の矢印（パソコン） */
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 54px; right: -15px; z-index: 1;
  width: 10px; height: 10px; border-top: 1.5px solid #A9A3C8; border-right: 1.5px solid #A9A3C8; transform: rotate(45deg);
}
.flow-step__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.flow-step__num { display: flex; flex-direction: column; font-family: var(--font-en); font-size: 36px; font-weight: 500; line-height: 1; letter-spacing: .02em; color: var(--c); }
.flow-step__num small { margin-bottom: 4px; font-size: 11px; letter-spacing: .22em; }
.flow-step__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--c-soft); color: var(--c); flex: none; }
.flow-step__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.flow-step__title {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid #EFECF6;
  font-size: 16px; font-weight: 700; letter-spacing: .06em; line-height: 1.5; color: var(--ink-strong);
}
.flow-step__text { margin-top: 10px; font-size: 13px; line-height: 1.9; letter-spacing: .04em; color: var(--ink); }
.flow-note { max-width: 1120px; margin: 24px auto 0; text-align: center; font-size: 12px; line-height: 1.8; color: var(--muted); }

/* ---------- faq (topics) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq { background: var(--blush-2); border-radius: 12px; overflow: hidden; }
.faq__q {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__num { font-family: var(--font-en); font-weight: 500; font-size: 16px; color: var(--rose-ink); }
.faq__question { font-size: 15px; font-weight: 500; letter-spacing: .06em; color: var(--ink-strong); line-height: 1.7; }
.faq__toggle { position: relative; width: 30px; height: 30px; border-radius: 50%; background: #fff; flex: none; }
.faq__toggle::before, .faq__toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.4px; background: var(--rose-ink);
  transform: translate(-50%, -50%); transition: transform .3s var(--ease);
}
.faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 24px 22px 76px; font-size: 14px; line-height: 2; color: var(--ink); }
.faq:hover { background: #E6F2F9; }

/* ---------- contact (new in) ---------- */
.newin { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1040px; margin: 0 auto; align-items: start; }
.newin__media { position: sticky; top: 90px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; }
.newin__media picture, .newin__media img { width: 100%; height: 100%; }
.newin__media img { object-fit: cover; object-position: 50% 30%; }
.newin__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(252, 238, 242, .96) 0%, rgba(252, 238, 242, .75) 18%, rgba(252, 238, 242, 0) 42%); }
.newin__caption { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 1; display: flex; flex-direction: column; align-items: center; color: var(--ink); text-align: center; }
.newin__en { font-family: var(--font-en); font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; letter-spacing: .02em; color: var(--rose-accent); }
.newin__jp { margin-top: 6px; font-size: 13px; letter-spacing: .12em; }
/* 写真なし：フォームだけを中央に（白いカード） */
.newin--solo { display: block; max-width: 760px; }
.newin--solo .newin__body {
  padding: clamp(28px, 4vw, 48px) clamp(20px, 5vw, 56px);
  background: #fff; border-radius: 18px; box-shadow: 0 12px 30px rgba(163, 92, 119, .08);
}
.newin__title { text-align: center; font-size: 18px; font-weight: 500; letter-spacing: .12em; color: var(--ink-strong); }
.newin__text { text-align: center; font-size: 13px; color: var(--muted); margin-top: 4px; }

.contact-form { margin-top: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.field--full { grid-column: 1 / -1; }
.field__label { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--ink-strong); }
/* 必須・任意は枠や背景なしの小さな文字で表示 */
.badge { display: inline-flex; align-items: center; padding: 0; font-size: 10px; font-weight: 500; letter-spacing: .06em; }
.badge--req { color: var(--rose-accent); }
/* ブラウザの「最小フォントサイズ」設定に左右されないよう、縮小表示で小さく見せる */
.field__label .badge { font-size: 12.5px; line-height: 1; transform: scale(.8); transform-origin: left center; }
.badge--opt { color: var(--muted); }
.field__input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid #EBDCE2; background: #FDF6F8; color: var(--ink);
  font: inherit; font-size: 16px; letter-spacing: .03em; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field__input::placeholder { color: #8CA2AF; }
.field__input:focus { outline: none; border-color: #D9A5B8; background: #fff; box-shadow: 0 0 0 3px rgba(238, 189, 205, .35); }
.field__input[aria-invalid="true"] { border-color: #B44B45; background: #FDF6F8; }
.field__textarea { min-height: 170px; resize: vertical; line-height: 1.8; }
.field__select { position: relative; }
.field__select::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none;
  background: center / contain no-repeat url("../images/icons/rose/chevron-down.svg");
}
.field__select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.field__error { margin-top: 6px; font-size: 12.5px; color: #A63F39; line-height: 1.6; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 24px; }
.form-note { margin-top: 12px; text-align: center; font-size: 12px; color: var(--muted); }
.form-errors { margin-bottom: 18px; padding: 16px 20px; border-radius: 12px; background: #F3FAFE; border: 1px solid #B3DCF6; font-size: 13px; color: #8C3530; }
.form-errors__title { font-weight: 700; margin-bottom: 4px; }
.form-errors ul { list-style: disc; padding-left: 1.2em; }
.form-errors a { color: inherit; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 12px; font-size: 13px; line-height: 1.8; background: var(--blush); }
.form-status[data-state="success"] { background: #EEF5EE; color: #2E5532; }
.form-status[data-state="error"] { background: #F3FAFE; color: #8C3530; }
.selected-plan { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 18px; padding: 12px 18px; border-radius: 16px; background: var(--blush); font-size: 13px; }
.selected-plan__clear { border: 0; background: #fff; border-radius: 8px; padding: 4px 14px; font-size: 12px; color: var(--rose-ink); cursor: pointer; }

/* info tiles (members / delivery / app 風) */
.info-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1040px; margin: 96px auto 0; }
.info-tile { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 24px; background: #fff; border-radius: 14px; box-shadow: 0 8px 22px rgba(163, 92, 119, .08); }
.info-tile__en { font-family: var(--font-en); font-weight: 500; font-size: 23px; line-height: 1.1; color: var(--rose-accent); letter-spacing: .02em; }
.info-tile__jp { margin-top: 6px; font-size: 12px; line-height: 1.75; color: var(--ink); }
.info-tile__icon { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--rose-soft); display: flex; align-items: center; justify-content: center; }
/* 丸の色は1つずつ変える（イエロー・ミント・水色） */
.info-tile:nth-child(1) .info-tile__icon { background: #EBC47E; }
.info-tile:nth-child(2) .info-tile__icon { background: #8FC7AE; }
.info-tile:nth-child(3) .info-tile__icon { background: #8EB8DA; }
.info-tile__icon img { width: 34px; height: 34px; }

/* ---------- footer ---------- */
.footer { position: relative; background: #F5F8FB; padding: 88px 0 56px; }
.footer .wave path { fill: #F5F8FB; }
.footer__inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

/* 上の段：左にロゴと説明、右に2列のメニュー */
.footer__main {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 64px; row-gap: 40px;
  padding: 0 0 52px; border-bottom: 1px solid #DDE6EE;
}
.footer__brand-block { padding-left: clamp(0px, 3.5vw, 56px); }
.footer__brand { line-height: 0; }
.footer__brand img { display: block; width: auto; height: clamp(28px, 2.9vw, 40px); max-width: 100%; }
.footer__tagline { margin-top: 26px; font-size: 16px; line-height: 1.8; letter-spacing: .08em; color: #4E5F6A; }
.footer__nav {
  display: grid; grid-template-columns: repeat(2, minmax(150px, auto)); column-gap: clamp(48px, 7vw, 112px);
  padding-right: clamp(0px, 4vw, 72px);
}
.footer__col-title { font-size: 15px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; color: var(--ink-strong); }
.footer__col ul { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.footer__col li { line-height: 1.5; }
.footer__col a { font-size: 15px; letter-spacing: .08em; color: #4E5F6A; text-decoration: none; transition: color .2s; }
.footer__col a:hover { color: var(--rose-ink); text-decoration: underline; text-underline-offset: 5px; }

/* 下の段：左に法務リンクとコピーライト、右に「ページの先頭へ」 */
.footer__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 36px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 36px; }
.footer__legal a { font-size: 14px; letter-spacing: .06em; color: #4E5F6A; text-decoration: none; }
.footer__legal a[href]:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__copy { margin-top: 14px; font-family: var(--font-en); font-size: 14px; letter-spacing: .04em; color: #6A7A84; }
.footer__copy small { font-size: inherit; }
.footer__top { display: inline-flex; align-items: center; gap: 14px; margin-left: auto; font-size: 14px; letter-spacing: .06em; color: #4E5F6A; text-decoration: none; }
.footer__top-circle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid #B9CBD8; background: #fff; transition: background-color .25s, transform .25s var(--ease);
}
.footer__top-circle svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.footer__top:hover .footer__top-circle { background: var(--bg-sky); transform: translateY(-2px); }

/* ---------- plan dialog ---------- */

/* ---------- reveal animation ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .mv__photo img { animation: none; }
  .mv__scroll-arrow { animation: none; }
  .cat__bg, .product__media img { transition: none; }
}

/* =========================================================
   responsive
   ========================================================= */
/* 画面幅が狭めのパソコン・タブレット：写真を右に寄せ、ボタンとリンクを縦に並べて人物と重ならないようにする */
@media (max-width: 1180px) {
  .mv__photo img { object-position: 70% 60%; }
  .mv__actions { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 1023px) {
  .client-grid { gap: 16px; }
  .client__body { padding: 16px 16px 20px; }
  .footer__main { column-gap: 40px; }
  .footer__brand-block { padding-left: 0; }
  .footer__nav { column-gap: 40px; padding-right: 0; grid-template-columns: repeat(2, minmax(120px, auto)); }
  .solve { padding: 20px 14px 24px; }
  .solve__answer { gap: 12px; }
  .solve__icon { width: 64px; height: 64px; }
  .solve__icon svg { width: 30px; height: 30px; }
  .solve__worry { font-size: 13px; gap: 10px; }
  .mv__body { max-width: 64%; }
  .flow-list { grid-template-columns: repeat(2, 1fr); max-width: 680px; }
  .flow-step::after { display: none; }
  .info-tiles { grid-template-columns: 1fr; max-width: 560px; }
  .newin { gap: 32px; }
}

@media (max-width: 767px) {
  body { font-size: 14px; }
  html { scroll-padding-top: 76px; }

  /* ---------- スマホのヘッダー：左にロゴ、右に3本線のメニューボタン（1段） ---------- */
  .site-header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding: 8px 12px 8px 20px; }
  .site-header__logo { margin-right: 0; max-width: 232px; }
  .site-header__logo img { width: 100%; height: auto; }
  .site-header .site-header__cta { display: none; }

  /* 3本線のメニューボタン（開くと×になる） */
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border: 0; border-radius: 50%; background: #F6DCE1; color: #7A4A55; cursor: pointer;
    -webkit-tap-highlight-color: transparent; transition: background-color .25s;
  }
  .nav-toggle:focus-visible { outline: 2px solid #A35C77; outline-offset: 2px; }
  .nav-toggle[aria-expanded="true"] { background: #F1CBD3; }
  .nav-toggle__bars { position: relative; display: block; width: 20px; height: 14px; }
  .nav-toggle__bars span {
    position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px; background: currentColor;
    transition: top .3s var(--ease), transform .3s var(--ease), opacity .2s;
  }
  .nav-toggle__bars span:nth-child(1) { top: 0; }
  .nav-toggle__bars span:nth-child(2) { top: 6.25px; }
  .nav-toggle__bars span:nth-child(3) { top: 12.5px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6.25px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6.25px; transform: rotate(-45deg); }

  /* メニュー：ヘッダーの下に画面いっぱいで開く */
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; width: auto; margin: 0;
    height: calc(100vh - var(--header-h, 60px)); height: calc(100dvh - var(--header-h, 60px));
    overflow-y: auto; overscroll-behavior: contain;
    padding: 12px 24px 40px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F2F8FC 100%);
    border-top: 1px solid rgba(74, 108, 130, .1);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .site-nav__list { display: block; overflow: visible; padding: 0; }
  .site-nav__list li { display: block; border-bottom: 1px solid #E3ECF2; }
  .site-nav__list li + li::before { display: none; }
  .site-nav__list a {
    display: flex; align-items: baseline; gap: 12px; padding: 14px 4px;
    font-size: 15px; letter-spacing: .06em; color: var(--ink-strong); white-space: normal;
  }
  .site-nav__list a::after {
    content: ""; flex: none; align-self: center; width: 7px; height: 7px; margin-left: auto;
    border-top: 1.5px solid #C98AA2; border-right: 1.5px solid #C98AA2; transform: rotate(45deg);
  }
  .site-nav__list a:hover { text-decoration: none; }
  .site-nav .site-nav__label-pc { display: none; }
  .site-nav .site-nav__label-sp { display: inline; }
  .site-nav .site-nav__en { display: inline; font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #C98AA2; }
  .site-nav .site-nav__cta { display: flex; width: 100%; min-height: 54px; margin-top: 24px; padding: 0 20px; font-size: 15px; }

  .mv-wrap { padding: 2px 12px 0; }
  .mv { height: auto; display: flex; flex-direction: column; background: linear-gradient(180deg, #F5FAFD 0%, #EAF3F9 100%); }
  /* スマホのメインビジュアル：見出し → 人物の写真（下端はパソコンと同じ波線で区切る） */
  .mv__body { display: contents; }
  .mv__eyebrow, .mv__title { position: relative; z-index: 1; margin-left: 22px; margin-right: 22px; }
  .mv__eyebrow { order: 1; margin-top: 26px; }
  .mv__title { order: 2; }
  /* 写真は弓の先からバイオリンの下まで入る縦長（810×1156）。人物を上げて、最初の画面にバイオリンの下まで入るように
     見出しに少し重ねて置く（見出しの文字は写真より手前に表示） */
  .mv__photo { position: relative; inset: auto; order: 3; height: auto; aspect-ratio: 810 / 1156; margin-top: -15vw;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 2%); mask-image: linear-gradient(to bottom, transparent 0, #000 2%); }
  .mv__photo img { object-position: 50% 100%; transform-origin: 50% 100%; }
  /* 写真の下の説明文・ボタン・ポイントはスマホでは表示しない（パソコンでは表示） */
  .mv__sub, .mv__actions, .mv__points { display: none; }
  .mv__scroll { right: 10px; bottom: calc(var(--wave-h) + 10px); gap: 10px; padding: 12px 6px 10px; }
  .mv__scroll-text { font-size: 10.5px; letter-spacing: .22em; }
  .mv__scroll-arrow { height: 44px; }
  .mv__eyebrow { font-size: 12.5px; gap: 12px; letter-spacing: .18em; }
  .mv__eyebrow::before { width: 36px; }
  .mv__title { margin-top: 14px; font-size: min(6.4vw, 27px); letter-spacing: .04em; }
  .btn-soft--lg { min-height: 56px; padding: 0 20px; font-size: 15.5px; }
  .mv__link { align-self: center; font-size: 14.5px; }


  /* お悩みは横スクロール */
  .problems { margin-top: 56px; }
  .problems__title { font-size: 21px; }
  /* 見出しと説明文は左の余白を広めに（メインビジュアルの見出しと左端をそろえる） */
  .problems__head { padding-left: 14px; }
  .solve-grid { grid-template-columns: 1fr; gap: 14px; max-width: 440px; }
  .solve { padding: 20px 18px 24px; }
  .solve__icon { width: 68px; height: 68px; }
  .solve__icon svg { width: 32px; height: 32px; }
  .solve__answer-text { font-size: 17px; }
  .problems__lead { font-size: 13px; letter-spacing: .04em; }
  .solve-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 24px 18px; max-width: 440px; margin-left: auto; margin-right: auto; }
  .solve-cta__actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .solve-cta__actions .mv__link { align-self: center; }

  .sec { padding: 56px 0 84px; }
  .sec-head { margin-bottom: 30px; }

  .tabs { gap: 6px; }
  .tab { min-height: 34px; padding: 0 14px; font-size: 11px; }
  .product-grid { gap: 26px; }
  .product { flex-basis: 100%; max-width: 420px; }

  /* 特徴タイルは横スクロール */
  .cat-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px;
    margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none;
  }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 76%; scroll-snap-align: center; }

  .options { margin-top: 0; }
  .option-panel { padding: 4px 20px 22px; }
  .option-list { grid-template-columns: 1fr; }
  .option-row { min-height: 58px; gap: 12px; }
  .option-row:nth-child(odd):nth-last-child(2) { border-bottom: 1px solid #F1ECDD; }
  .option-row__name { font-size: 13.5px; }
  .options-payment { text-align: left; }

  .plan-grid { grid-template-columns: 1fr; max-width: 420px; gap: 44px; }
  /* 料金カード：パソコン用の縦横比をやめて、内容に合わせた高さにする */
  .plan__visual { aspect-ratio: auto; padding: 44px 20px 36px; }
  .plan--standard .plan__visual { padding-top: 56px; } /* 「おすすめ」と重ならないように */
  .terms { grid-template-columns: 1fr; gap: 14px; padding: 24px 20px; }
  .terms__icon { width: 52px; height: 52px; }
  .terms__icon svg { width: 26px; height: 26px; }
  .terms__lead { font-size: 16px; }
  .terms__sums { grid-template-columns: 1fr; gap: 8px; }

  .flow-list { grid-template-columns: 1fr; gap: 14px; max-width: 440px; }
  .flow-step { padding: 22px 20px 24px; }
  .flow-step__num { font-size: 32px; }
  .flow-step__title { margin-top: 16px; padding-top: 14px; }
  .flow-note { text-align: left; }

  .faq__q { gap: 12px; padding: 18px 16px; }
  .faq__num { font-size: 15px; }
  .faq__question { font-size: 14px; }
  .faq__a { padding: 0 18px 20px; font-size: 13.5px; }

  .newin { grid-template-columns: 1fr; gap: 26px; }
  .newin__media { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .newin__media img { object-position: 50% 22%; }
  .newin__caption { left: 20px; right: auto; bottom: 18px; align-items: flex-start; text-align: left; }
  .form-grid { grid-template-columns: 1fr; }

  .info-tiles { margin-top: 64px; }
  .info-tile__en { font-size: 21px; }

  .footer { padding: 60px 0 40px; }
  .footer__main { grid-template-columns: 1fr; row-gap: 36px; padding-bottom: 36px; }
  .footer__brand-block { padding-left: 0; }
  .footer__brand img { height: 24px; }
  .footer__tagline { margin-top: 16px; font-size: 14px; }
  .footer__nav { grid-template-columns: 1fr 1fr; column-gap: 20px; padding-right: 0; }
  .footer__col-title { font-size: 14px; }
  .footer__col ul { margin-top: 14px; gap: 12px; }
  .footer__col a { font-size: 14px; }
  .footer__bottom { padding-top: 28px; }
  .footer__legal { flex-direction: column; gap: 10px; }
  .footer__legal a, .footer__copy, .footer__top { font-size: 13px; }
  .footer__top-circle { width: 42px; height: 42px; }
  .client-grid { grid-template-columns: 1fr; max-width: 440px; }
  .works-sub--samples { margin-top: 60px; }
  /* お客様名：「様」だけが次の行に残らないように、スペースの位置で改行する */
}

/* スマホ（縦）：オプション一覧は金額を項目名の下に置き、項目名が途中で折り返さないようにする */
@media (max-width: 559px) {
  .option-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 14px 0; }
  .option-row__icon { grid-row: 1 / span 2; align-self: start; margin-top: 2px; }
  .option-row__price { grid-column: 2; font-size: 14.5px; }
}

@media (max-width: 359px) {
  .site-header .site-header__cta { min-height: 30px; padding: 0 12px; font-size: 11.5px; letter-spacing: .04em; }
  .mv__eyebrow { letter-spacing: .12em; font-size: 11.5px; }
  .mv__points li { font-size: 11px; }
}

/* スマホ：説明文は意図的な改行をせず、自然に流す */
@media (max-width: 767px) {
  .problems__lead .nowrap,
  .solve__note .nowrap,
  .solve-cta__text .nowrap,
  .solve-cta__small .nowrap,
  .solve__worry .nowrap,
  .client__desc .nowrap,
  .sec-lead .nowrap,
  .terms__small .nowrap,
  .options-payment .nowrap,
  .flow-step__text .nowrap,
  .flow-note .nowrap,
  .faq__a .nowrap,
  .plan__lead .nowrap,
  .plan__features .nowrap,
  .cat__note .nowrap,
  .info-tile__jp .nowrap,
  .newin__text .nowrap,
  .footer__tagline .nowrap,
  .option-row__sub .nowrap,
  .option-panel__more .nowrap,
  .option-panel__more.nowrap { display: inline; }
  .problems__lead br,
  .solve__note br,
  .solve-cta__text br,
  .solve-cta__small br,
  .solve__worry br,
  .client__desc br,
  .sec-lead br,
  .terms__small br,
  .options-payment br,
  .flow-step__text br,
  .flow-note br,
  .faq__a br,
  .plan__lead br,
  .plan__features br,
  .cat__note br,
  .info-tile__jp br,
  .newin__text br,
  .footer__tagline br,
  .option-row__sub br { display: none; }
  .problems__lead,
  .solve__note,
  .solve-cta__text,
  .solve-cta__small,
  .solve__worry,
  .client__desc,
  .sec-lead,
  .terms__small,
  .options-payment,
  .flow-step__text,
  .flow-note,
  .faq__a,
  .plan__lead,
  .plan__features,
  .cat__note,
  .info-tile__jp,
  .newin__text,
  .footer__tagline,
  .option-row__sub { text-wrap: wrap; word-break: normal; line-break: strict; text-align: left; }
  .option-panel__more { text-align: left; }
  /* タイトルと説明は別の段に */
  .solve-cta__text .solve-cta__small { display: block; margin-top: 8px; }
  .cat__note br { display: inline; }
  .solve-cta__text > .nowrap { display: inline-block; }
  /* 団体名は1行に */
  .client__name { font-size: min(16px, 4.2vw); letter-spacing: 0; white-space: nowrap; }
  /* お問い合わせの見出し・説明は1行に */
  .newin__title { font-size: min(18px, 4.9vw); letter-spacing: .04em; white-space: nowrap; }
  .newin__text { font-size: min(13px, 3.5vw); letter-spacing: 0; white-space: nowrap; text-align: center; }
}

/* ===== 2026-10-08 タブレット表示の調整 ===== */
/* タブレット：メインビジュアルの3項目を1行におさめる */
@media (min-width: 768px) and (max-width: 1023px) {
  .mv__points li { padding: 2px 16px; font-size: 14px; letter-spacing: .04em; }
}
/* タブレット縦：お悩みカードはアイコンを上に置き、説明文・お客様サイトの説明は自然に流す */
@media (min-width: 768px) and (max-width: 900px) {
  .solve__answer { flex-direction: column; gap: 10px; text-align: center; }
  .solve__note .nowrap, .client__desc .nowrap { display: inline; }
  .solve__note, .client__desc { line-break: strict; }
  .option-list { grid-template-columns: 1fr; }
  .option-row:nth-child(odd):nth-last-child(2) { border-bottom: 1px solid #F1ECDD; }
}
/* タブレット：お悩みの1行目の高さをそろえて、3枚のカードの位置を合わせる */
@media (min-width: 768px) and (max-width: 1100px) {
  .solve__worry { min-height: 3em; }
}
/* 幅が狭めのパソコン：制作の流れは2列にして、説明文が細切れにならないようにする */
@media (min-width: 1024px) and (max-width: 1100px) {
  .flow-list { grid-template-columns: repeat(2, 1fr); max-width: 680px; }
  .flow-step::after { display: none; }
}
/* コピーライト */
.footer__copy small { letter-spacing: .04em; }
/* スマホ：コピーライトはいちばん下に、中央そろえで */
@media (max-width: 767px) {
  .footer__bottom { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .footer__meta { display: contents; }
  .footer__legal { order: 1; }
  .footer__top { order: 2; justify-self: end; margin-left: 0; }
  .footer__copy { order: 3; margin-top: 0; padding-top: 18px; border-top: 1px solid rgba(78, 95, 106, .12); text-align: center; font-size: 12px; }
}

/* ===== 下層ページ（運営者情報など） ===== */
/* タイトル：トップのメインビジュアルと同じ角丸のパネルに五線のライン */
.page-hero { background: #fff; padding: 4px 20px 0; }
.page-hero__card {
  position: relative; overflow: hidden; max-width: 1600px; margin: 0 auto;
  padding: clamp(64px, 8vw, 116px) 20px calc(var(--wave-h) + clamp(44px, 6vw, 84px));
  border-radius: 18px 18px 0 0; text-align: center;
  background: linear-gradient(165deg, #F5FAFD 0%, #E7F1F8 58%, #F7EFF4 100%);
}
.page-hero__staff { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-en); font-weight: 500; font-size: clamp(13px, 1vw, 15px);
  letter-spacing: .24em; text-transform: uppercase; line-height: 1.2; color: #5E88A3;
}
.page-hero__eyebrow::before, .page-hero__eyebrow::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .6; }
.page-hero__title { margin-top: 18px; font-size: clamp(28px, 3.1vw, 44px); font-weight: 500; letter-spacing: .14em; line-height: 1.4; color: #3E5E74; }
.page-hero__lead { margin-top: 16px; font-size: clamp(14px, 1.2vw, 17px); font-weight: 500; letter-spacing: .1em; line-height: 1.8; color: #3B4A54; }

/* 私たちの想い */
.about-sec { padding-top: 40px; }
.about-message { max-width: 760px; margin: 0 auto; text-align: center; }
.about-message__title { margin-top: 26px; font-size: clamp(21px, 2.2vw, 29px); font-weight: 500; letter-spacing: .1em; line-height: 1.7; color: var(--ink-strong); }
.about-message__body { margin-top: 30px; font-size: 15px; line-height: 2.1; color: var(--ink); }
.about-message__body p + p { margin-top: 1.5em; }

/* 運営概要：白いカードの表 */
.info-card {
  max-width: 820px; margin: 0 auto; padding: 8px clamp(24px, 4.4vw, 52px);
  border-radius: 20px; background: #fff; box-shadow: 0 10px 26px rgba(74, 108, 130, .07);
}
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 24px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; line-height: 1.85; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 9em; padding-right: 24px; font-weight: 500; letter-spacing: .1em; color: var(--rose-ink); white-space: nowrap; }
.info-table td { color: var(--ink); }
.info-table__reading { display: inline-block; font-size: 13px; color: var(--muted); }

/* お問い合わせへの案内 */
.page-cta-sec { padding-top: 56px; }
.page-cta { max-width: 900px; margin: 0 auto; }

@media (max-width: 767px) {
  .page-hero { padding: 2px 12px 0; }
  .page-hero__card { padding: 56px 20px calc(var(--wave-h) + 44px); }
  .page-hero__eyebrow { gap: 12px; font-size: 12px; }
  .page-hero__eyebrow::before, .page-hero__eyebrow::after { width: 28px; }
  .about-sec { padding-top: 28px; }
  .about-message { text-align: left; }
  .about-message .sec-title { align-items: flex-start; }
  .about-message__title { margin-top: 18px; }
  .about-message__body { margin-top: 22px; font-size: 14px; line-height: 2; }
  /* スマホ：本文は意図的な改行をせず、自然に流す */
  .about-message__body .nowrap, .info-table td .nowrap { display: inline; }
  .about-message__body br, .info-table td .nowrap + br { display: none; }
  .about-message__body, .info-table td { line-break: strict; }
  .info-card { padding: 4px 20px; }
  .info-table th, .info-table td { display: block; width: auto; font-size: 14px; }
  .info-table th { padding: 18px 0 2px; border-bottom: 0; }
  .info-table td { padding: 0 0 18px; }
  .page-cta-sec { padding-top: 40px; }
}

/* ===== スマホメニューの法務リンク・特定商取引法・プライバシーポリシー ===== */
/* スマホのメニュー：運営者情報などのリンク（パソコンでは表示しない） */
.site-nav .site-nav__legal { display: none; }

/* 長いページタイトル */
.page-hero__title--long { font-size: clamp(24px, 2.8vw, 40px); letter-spacing: .1em; }

/* 特定商取引法に基づく表記 */
.legal-sec--first { padding-top: 40px; }
.legal-sec .sec-head { margin-bottom: 28px; }
.info-note { margin: -12px 0 18px; text-align: center; font-size: 13px; color: var(--muted); }
.info-card--legal { max-width: 920px; }
.info-table--legal th { width: 11.5em; white-space: normal; }
.info-table--legal td { font-size: 14.5px; }
.legal-keep { white-space: nowrap; }
.legal-label { display: block; margin-top: 16px; font-weight: 700; color: var(--ink-strong); }
.legal-text { display: block; margin-top: 10px; }
.legal-label:first-child, .legal-text:first-child { margin-top: 0; }
.legal-list { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.legal-list li { padding-left: 1em; text-indent: -1em; }
.legal-cta { margin-top: 56px; text-align: center; }

/* 解約のタイミングの図 */
.cancel-fig { max-width: 460px; margin: 22px 0 6px; padding: 20px clamp(14px, 3vw, 24px) 18px; border-radius: 14px; background: #F6FAFD; border: 1px solid #E1EDF5; }
.cancel-fig__title { font-size: 14px; font-weight: 700; color: var(--ink-strong); }
.cancel-fig__title span { margin-left: 10px; font-size: 12px; font-weight: 400; color: var(--muted); }
.cancel-fig__svg { display: block; width: 100%; max-width: 380px; height: auto; margin: 14px auto 0; font-family: var(--font-base); overflow: visible; }
.cancel-fig__note { margin-top: 12px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.cf-axis { stroke: #9DB8C9; stroke-width: 1.5; }
.cf-deadline { stroke: #C98AA2; stroke-width: 1; stroke-dasharray: 4 4; }
.cf-renew { stroke: #74A3C1; stroke-width: 1; stroke-dasharray: 4 4; }
.cf-dot { fill: #fff; stroke: #74A3C1; stroke-width: 1.5; }
.cf-date { font-size: 12px; font-weight: 700; fill: var(--ink-strong); }
.cf-sub { font-size: 9.5px; fill: var(--muted); }
.cf-badge { fill: #74A3C1; }
.cf-badge-t { font-family: var(--font-en); font-size: 12px; font-weight: 600; fill: #fff; }
.cf-head { font-size: 11.5px; font-weight: 700; fill: var(--ink-strong); }
.cf-bar { fill: #D5E8F4; }
.cf-end { stroke: var(--ink-strong); stroke-width: 2; }
.cf-ghost { fill: none; stroke: #C5D6E1; stroke-width: 1; stroke-dasharray: 3 3; }
.cf-link { stroke: #C98AA2; stroke-width: 1; }
.cf-pill { fill: #F7DCE5; }
.cf-pill-t { font-size: 10px; font-weight: 700; fill: #A35C77; }
.cf-t { font-size: 11px; fill: var(--ink); }
.cf-end-t { font-size: 11px; font-weight: 700; fill: var(--ink-strong); }
.cf-mute { font-size: 10.5px; fill: var(--muted); }
.cf-coin { fill: #EBC57E; }
.cf-coin-t { font-size: 11px; font-weight: 700; fill: #fff; }
.cf-pay { font-size: 11px; font-weight: 700; fill: #B07A2A; }

/* プライバシーポリシー */
.policy { max-width: 820px; margin: 0 auto; font-size: 15px; line-height: 2; color: var(--ink); }
.policy__intro { padding: 24px clamp(20px, 3vw, 32px); border-radius: 16px; background: var(--bg-sky); font-size: 14.5px; }
.policy-section { margin-top: 52px; }
.policy-section__title {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; letter-spacing: .06em; line-height: 1.6; color: var(--ink-strong);
}
.policy-section__num { flex: none; font-family: var(--font-en); font-size: 15px; font-weight: 500; letter-spacing: .1em; color: #C98AA2; }
.policy-section p + p, .policy-section p + ul, .policy-section ul + p { margin-top: 14px; }
.policy-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.policy-list li { position: relative; padding-left: 1.4em; }
.policy-list li::before { content: ""; position: absolute; left: .35em; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--rose-icon); }
.policy-list--num { counter-reset: pnum; }
.policy-list--num li { counter-increment: pnum; padding-left: 2.1em; }
.policy-list--num li::before {
  content: counter(pnum); left: 0; top: .3em; width: 1.5em; height: 1.5em; display: grid; place-items: center;
  font-family: var(--font-en); font-size: 12px; line-height: 1; color: #fff;
}
.policy-list strong { color: var(--ink-strong); }
.policy .info-table th, .policy .info-table td { padding: 16px 0; font-size: 14.5px; }
.policy__date { margin-top: 48px; text-align: right; font-size: 13px; color: var(--muted); }

@media (max-width: 767px) {
  .site-nav .site-nav__legal { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; padding: 22px 4px 0; border-top: 1px solid #E3ECF2; }
  .site-nav__legal a { font-size: 13px; letter-spacing: .06em; color: #4E5F6A; text-decoration: none; }
  .site-nav__legal a[aria-current="page"] { color: var(--rose-ink); }

  /* スマホ：パソコン用の改行はしない */
  .br-pc { display: none; }
  .legal-sec--first { padding-top: 28px; }
  .info-note { margin-top: -8px; }
  .info-table--legal th { width: auto; }
  .info-table--legal td { font-size: 14px; }
  .info-table--legal td, .policy { line-break: strict; }
  .cancel-fig { padding: 16px 12px 14px; }
  .policy { font-size: 14px; }
  .policy__intro { padding: 18px; font-size: 14px; }
  .policy-section { margin-top: 40px; }
  .policy .info-table th, .policy .info-table td { font-size: 14px; }
  .policy .info-table th { padding: 14px 0 2px; }
  .policy .info-table td { padding: 0 0 14px; }
  .legal-cta { margin-top: 40px; }
}

/* 表の見出しが単語の途中で折れないように、法務ページは見出し列を広めに */
.info-table--legal th { width: 13.5em; letter-spacing: .06em; }
.policy .info-table--legal th { width: 9em; }
.policy__intro .info-table__reading { display: inline; }
@media (max-width: 767px) {
  .info-table--legal th, .policy .info-table--legal th { width: auto; }
}

/* スマホのメニュー：画面の高さに合わせて行の間隔と文字を詰め、運営者情報などのリンクまで1画面に収める */
@media (max-width: 767px) {
  .site-nav { padding: 8px 24px 16px; }
  .site-nav__list a {
    padding: clamp(6px, calc((100vh - var(--header-h, 60px) - 340px) / 12), 14px) 4px;
    padding: clamp(6px, calc((100dvh - var(--header-h, 60px) - 340px) / 12), 14px) 4px;
    font-size: 14.5px;
  }
  .site-nav .site-nav__en { font-size: 10px; }
  .site-nav .site-nav__cta { min-height: 48px; margin-top: 16px; font-size: 14.5px; }
  .site-nav .site-nav__legal { flex-direction: row; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; padding: 14px 4px 0; }
  .site-nav__legal a { font-size: 12px; line-height: 1.8; }
}

/* スマホのメニュー：運営者情報などのリンクの頭に小さな矢印 */
@media (max-width: 767px) {
  .site-nav__legal a { display: inline-flex; align-items: center; gap: 7px; }
  .site-nav__legal a::before {
    content: ""; flex: none; width: 5px; height: 5px; margin-left: 1px;
    border-top: 1.2px solid #C98AA2; border-right: 1.2px solid #C98AA2; transform: rotate(45deg);
  }
}
