:root {
  --ink: #212121;
  --ink-soft: #424242;
  --muted: #757575;
  --line: #e0e0e0;
  --white: #fff;
  --deep: #17548d;
  --purple: #a775b2;
  --purple-tint: rgba(167, 117, 178, .15);
  --coral: #ef5350;
  --yellow: #fce101;
  --pink: #ec6da4;
  --blue: #33b7cc;
  --tint: #dde8ea; /* 本サイト Topics: rgba(170,197,202,.4) on white */
  --gray: #eee;
  --footer: #212121;
  --header-h: 72px;
  --en: 'Open Sans Condensed', 'Noto Sans JP', sans-serif;
  --ja: 'Noto Sans JP', sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--ja);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .05em;
  line-break: strict;
  overflow-wrap: anywhere; /* シートに長い英数字やURLが入っても枠からはみ出さない */
  overflow-x: clip;
}
h1, h2, h3, .sec-ja, .solve, .hero-lead, .campaign-title, .worry-text p, .studio-msg, .stat-label, .trial-lead { word-break: auto-phrase; }
img { display: block; max-width: 100%; height: auto; }
img[hidden], [hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
mark { color: inherit; background: linear-gradient(transparent 58%, var(--yellow) 58%); padding: 0 .1em; }
.material-symbols-outlined { font-family: 'Material Symbols Outlined'; font-weight: 400; font-style: normal; line-height: 1; letter-spacing: normal; display: inline-block; white-space: nowrap; font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; }
.center { text-align: center; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.site-logo { flex: none; display: block; }
.site-logo img { height: 28px; width: auto; }
.site-nav { display: flex; gap: clamp(14px, 2vw, 28px); margin-left: auto; font-size: 14px; font-weight: 700; white-space: nowrap; }
.site-nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-color: var(--yellow); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px;
  padding: 14px 40px;
  border: 1px solid var(--ink-soft);
  border-radius: 64px;
  background: rgba(255, 255, 255, .4);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 12px rgba(0, 0, 0, .22); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
.btn-primary { background: var(--yellow); border-color: var(--ink); }
/* ヘッダーとスマホ下部のボタンは高さが変わると本文に被るので1行に収める */
.btn-small, .sp-cta .btn { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.btn-small { min-height: 44px; max-width: 280px; padding: 8px 22px; font-size: 14px; line-height: 26px; flex: 0 1 auto; min-width: 0; }
.arrow { font-family: var(--en); font-size: 1.15em; }

/* ---------- セクション共通 ---------- */
.sec { padding: clamp(56px, 8vw, 96px) 0; }
.sec-white { background: var(--white); }
.sec-tint { background: var(--tint); }
.sec-gray { background: var(--gray); }
.wrap { width: min(100%, 1120px); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { width: min(100%, 960px); }

.sec-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head .material-symbols-outlined { font-size: 34px; display: block; }
.sec-en { font-family: var(--en); font-size: clamp(38px, 5vw, 50px); font-weight: 700; line-height: 1.2; letter-spacing: .02em; }
.sec-bar { display: block; width: 72px; height: 4px; margin: 10px auto 18px; background: currentColor; }
.sec-ja { font-size: clamp(19px, 2.6vw, 24px); font-weight: 700; line-height: 1.6; letter-spacing: .05em; }
.on-dark { color: var(--white); }

/* ---------- ヒーロー ---------- */
.hero-img img { width: 100%; }
.hero { background: var(--tint); }
.hero-body {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(24px, 4vw, 56px);
  width: min(100%, 1120px); margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--gutter);
}
.hero-eyebrow { font-weight: 700; font-size: clamp(15px, 1.8vw, 18px); }
.hero-title { margin: 6px 0 16px; font-size: clamp(30px, 4.2vw, 54px); font-weight: 900; line-height: 1.35; letter-spacing: .03em; }
.hero-lead { font-size: clamp(15px, 1.8vw, 18px); font-weight: 500; }
.hero-genres { margin-top: 14px; font-family: var(--en); font-size: clamp(17px, 2.2vw, 22px); color: var(--deep); letter-spacing: .04em; }
.campaign { background: var(--white); padding: clamp(24px, 3vw, 36px); text-align: center; border: 1px solid var(--purple); }
.tag { display: inline-block; padding: 2px 18px; border-radius: 32px; background: var(--purple); color: var(--white); font-size: 14px; font-weight: 700; }
.campaign-title { margin-top: 12px; font-size: clamp(19px, 2.4vw, 24px); font-weight: 900; line-height: 1.5; }
.campaign-note { margin: 4px 0 18px; font-weight: 500; color: var(--ink-soft); }
.campaign .btn { width: 100%; padding-inline: 16px; }

/* ---------- お悩み ---------- */
.worry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2vw, 20px); }
.worry { position: relative; display: flex; background: var(--ink); color: var(--white); }
.worry::before { content: ''; flex: none; padding-bottom: var(--worry-ratio, 50%); } /* 基本は 16:8、文章が長ければ縦に伸ばす */
.worry img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.worry::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.worry-text { position: relative; z-index: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 12px 16px; text-align: center; font-weight: 700; line-height: 1.6; font-size: clamp(15px, 1.7vw, 18px); }
.worry-no { font-family: var(--en); font-size: clamp(28px, 3.5vw, 40px); line-height: 1.15; color: var(--yellow); }
.solve { margin-top: clamp(40px, 6vw, 64px); padding: 0 var(--gutter); text-align: center; font-size: clamp(24px, 4vw, 38px); font-weight: 900; line-height: 1.5; }

/* ---------- ジャンル ---------- */
.genre-list { display: grid; gap: 16px; }
.genre { display: grid; grid-template-columns: minmax(0, 300px) 1fr; background: var(--white); border: 1px solid var(--purple); }
.genre-img { background: var(--purple-tint); min-height: 200px; }
.genre-img img { width: 100%; height: 100%; object-fit: cover; }
.genre-text { padding: clamp(20px, 3vw, 32px); align-self: center; }
.genre-en { font-family: var(--en); font-size: 30px; line-height: 1.2; color: var(--purple); }
.genre h3 { margin-bottom: 6px; font-size: 16px; font-weight: 700; color: var(--ink-soft); }

/* ---------- 選ばれる理由 ---------- */
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* 見出しの行数が違っても本文の開始位置を揃える */
.reason, .step { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.reason { padding: clamp(24px, 3vw, 32px); background: var(--purple-tint); border: 1px solid var(--purple); }
.reason-no { display: block; font-family: var(--en); font-size: 44px; line-height: 1.1; color: var(--purple); }
.reason h3 { margin: 8px 0 12px; font-size: 21px; font-weight: 900; line-height: 1.5; }

/* ---------- スタジオ・実績 ---------- */
.sec-deep { position: relative; background: var(--deep); color: var(--white); isolation: isolate; }
.sec-deep::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--bg, none) center / cover no-repeat; opacity: .16; }
.studio-body { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(20px, 4vw, 48px); margin-bottom: clamp(28px, 4vw, 48px); }
.studio-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.studio-msg { font-size: clamp(22px, 3vw, 32px); font-weight: 900; line-height: 1.6; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 20px 12px; border: 1px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .1); text-align: center; }
.stat-label { font-size: 14px; font-weight: 700; line-height: 1.5; }
.stat-num { font-family: var(--en); font-size: clamp(38px, 5vw, 56px); line-height: 1.1; color: var(--yellow); }
.stat-num small { margin-left: 2px; font-family: var(--ja); font-size: 15px; font-weight: 700; color: var(--white); }

/* ---------- 無料体験 ---------- */
.trial-lead { margin-bottom: clamp(28px, 4vw, 40px); text-align: center; font-weight: 500; }
.day-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 24px; }
.day { --c: var(--blue); border: 1px solid var(--line); border-top: 6px solid var(--c); padding: 16px 20px 8px; }
.day-blue { --c: var(--blue); } .day-purple { --c: var(--purple); } .day-pink { --c: var(--pink); }
.day-yellow { --c: var(--yellow); } .day-coral { --c: var(--coral); } .day-deep { --c: var(--deep); }
.day h3 { font-size: 18px; font-weight: 900; }
.day li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.day li:first-child { margin-top: 8px; }
.day-class { font-weight: 500; }
.day-time { font-family: var(--en); font-size: 19px; line-height: 1.5; color: var(--ink-soft); }
.flyer { margin: 0 auto 24px; max-width: 560px; width: 100%; }
.info { margin-bottom: clamp(28px, 4vw, 40px); border-top: 1px solid var(--ink); }
.info > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.info dt { font-weight: 700; }
.info a { text-underline-offset: 3px; }
.info a .material-symbols-outlined { margin-left: 4px; font-size: 16px; vertical-align: -2px; }

/* ---------- 流れ ---------- */
.flow-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: clamp(24px, 3vw, 32px); background: var(--white); }
.step-no { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--en); font-size: 38px; line-height: 1.1; color: var(--coral); }
.step-no small { font-size: 16px; letter-spacing: .08em; }
.step h3 { margin: 8px 0; font-size: 19px; font-weight: 900; line-height: 1.5; }

/* ---------- 声 ---------- */
.voice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.voice { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: clamp(20px, 3vw, 28px); background: var(--gray); }
.voice-img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--white); }
.voice h3 { margin-bottom: 8px; font-size: 18px; font-weight: 900; line-height: 1.5; }
.voice p { font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq { background: var(--white); }
.faq summary { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; cursor: pointer; list-style: none; font-weight: 700; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .material-symbols-outlined { margin-left: auto; flex: none; transition: transform .2s ease; }
.faq[open] summary .material-symbols-outlined { transform: rotate(45deg); }
.faq-q { flex: none; font-family: var(--en); font-size: 24px; line-height: 1; color: var(--deep); }
.faq-q-a { color: var(--coral); }
.faq-a { display: flex; gap: 12px; padding: 0 16px 18px; }
.faq-a .faq-q { padding-top: 3px; }

/* ---------- 締め ---------- */
.closing { display: grid; grid-template-columns: 1fr 1fr; }
.closing-img { min-height: 320px; background: var(--ink); }
.closing-img img { width: 100%; height: 100%; object-fit: cover; }
.closing-body { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: clamp(40px, 6vw, 72px) var(--gutter); background: var(--coral); color: var(--white); text-align: center; }
.closing-logo { width: min(200px, 60%); }
.closing h2 { font-size: clamp(23px, 3vw, 32px); font-weight: 900; line-height: 1.5; }
.closing .btn { max-width: 100%; }

/* ---------- フッター ---------- */
.site-footer { padding: 36px var(--gutter) 40px; background: var(--footer); color: var(--white); text-align: center; font-size: 13px; }
.site-footer ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 18px; }
.site-footer a { text-underline-offset: 3px; }
.site-footer p { font-weight: 700; }

/* ---------- スマホ固定ボタン ---------- */
.sp-cta { display: none; }

/* ---------- 読み込み ---------- */
.loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 60vh; color: var(--muted); }
.spinner { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--deep); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.load-error, .noscript { padding: 64px var(--gutter); text-align: center; }

/* ---------- ブレークポイント（本サイトと同じ 840 / 540） ---------- */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .site-header .btn-small { margin-left: auto; }
}
@media (max-width: 840px) {
  .hero-body { grid-template-columns: 1fr; }
  .reason-grid, .flow-list { grid-template-columns: 1fr; }
  .studio-body { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .voice-grid { grid-template-columns: 1fr; }
  .closing { grid-template-columns: 1fr; }
  .closing-img { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 540px) {
  :root { --header-h: 60px; }
  body { font-size: 15px; }
  .site-footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .site-logo img { height: 22px; }
  .site-header .btn-small { display: none; }
  .btn { width: 100%; padding-inline: 16px; }
  .worry-grid { grid-template-columns: 1fr; }
  .worry { --worry-ratio: 43.75%; }
  .genre { grid-template-columns: 1fr; }
  .genre-img { min-height: 0; aspect-ratio: 16 / 9; }
  .day-grid { grid-template-columns: 1fr; }
  .info > div { grid-template-columns: 1fr; gap: 2px; }
  .voice { grid-template-columns: 56px 1fr; gap: 12px; }
  .voice-img { width: 56px; height: 56px; }
  .sp-cta {
    display: block; position: fixed; inset: auto 0 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 -1px 6px rgba(0, 0, 0, .12);
  }
  .sp-cta .btn { min-height: 52px; font-size: 16px; line-height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary .material-symbols-outlined { transition: none; }
  .spinner { animation-duration: 2s; }
}
