/* =========================================================
   カラーパレット（前回のLP「あきの整えちゃんねる」と統一）
   ========================================================= */
:root {
  --pale-blue:   #B8D4E3;
  --misty-white: #F5F7F9;
  --soft-gray:   #C7CCD1;
  --dusty-blue:  #8FA8B8;
  --pearl-white: #F4F1EA;
  --cta:         #7B9ACC;

  /* --cta に白文字を載せるとコントラスト 2.9:1 で読めないため、
     ボタンの塗りとリンク文字は暗くした値を使う（5.2:1）。 */
  --cta-deep:   #4A6DA7;
  --cta-darker: #3C5C90;

  /* ダスティブルーをそのまま文字色に使うと白背景で 2.5:1 しかなく読めない。
     ラベル文字にはこの暗くした値を使う（5.1:1）。 */
  --label: #5B7183;

  --ink:       #2E3A45;
  --ink-muted: #5F6E7A;

  --wrap:   1080px;
  --radius: 14px;

  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans:  "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

html { color-scheme: light; }

/* ========================= ベース ========================= */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

/* 日本語を文節で折り返す（語中改行を防ぐ）。未対応ブラウザは通常の折り返し */
p, li, h1, h2, h3, summary, blockquote { word-break: auto-phrase; }

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.narrow { width: min(100% - 2.5rem, 680px); }

.sec { padding: clamp(4.5rem, 11vw, 7rem) 0; }
.sec-tint { background: var(--misty-white); }

.sec-eyebrow {
  margin: 0 0 0.9rem;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--label);
}

.sec-title {
  margin: 0 0 clamp(2.25rem, 5vw, 3.25rem);
  font-family: var(--serif);
  font-size: clamp(1.375rem, 4.6vw, 1.875rem);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.07em;
  text-align: center;
}

.body-text {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 2.15;
  color: var(--ink-muted);
}
.body-text b { color: var(--ink); font-weight: 700; }

.body-text.emphasis {
  margin: 2rem 0;
  font-family: var(--serif);
  font-size: clamp(1.125rem, 3.4vw, 1.375rem);
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-align: center;
}

.note {
  margin: 1.5rem 0 0;
  font-size: 0.75rem;
  color: var(--ink-muted);
  text-align: center;
}

/* スマホだけ改行 */
.sp { display: none; }
@media (max-width: 640px) { .sp { display: inline; } }

/* ========================= ボタン ========================= */
.btn {
  display: inline-block;
  padding: 1em 2.6em;
  border-radius: 999px;
  background: var(--cta-deep);
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 6px 18px rgba(74, 109, 167, 0.22);
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}
.btn:hover {
  background: var(--cta-darker);
  box-shadow: 0 10px 26px rgba(74, 109, 167, 0.3);
  transform: translateY(-2px);
}
.btn:focus-visible { outline: 3px solid var(--cta-deep); outline-offset: 3px; }

/* 狭い画面でボタンが縮んで文字が折り返し、名前と重なるのを防ぐ */
.btn-sm {
  padding: 0.6em 1.4em;
  font-size: 0.8125rem;
  box-shadow: none;
  white-space: nowrap;
  flex: none;
}
.btn-lg { padding: 1.15em 3em; font-size: 1.0625rem; }

@media (max-width: 480px) {
  .btn-lg { display: block; width: 100%; padding-inline: 1rem; }
}

/* ========================= ヘッダー ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--misty-white);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand-name {
  font-family: var(--serif);
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-role { color: var(--ink-muted); font-size: 0.8125rem; }
@media (max-width: 560px) { .brand-role { display: none; } }

/* かなり狭い端末では、ボタンを少し小さくして収める */
@media (max-width: 380px) {
  .btn-sm { padding: 0.55em 1.1em; font-size: 0.75rem; }
}

/* ========================= ヒーロー ========================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 9vw, 6rem);
  background:
    radial-gradient(65% 70% at 78% 18%, rgba(184, 212, 227, 0.85) 0%, rgba(184, 212, 227, 0) 68%),
    radial-gradient(55% 60% at 8% 92%, rgba(244, 241, 234, 0.9) 0%, rgba(244, 241, 234, 0) 62%),
    linear-gradient(170deg, var(--misty-white) 0%, #fff 62%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr min(42%, 400px);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--label);
}

.hero h1 {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 5.4vw, 3rem);
  font-weight: 600;
  line-height: 1.72;
  letter-spacing: 0.05em;
}

.lead {
  margin: 0 0 2.25rem;
  font-size: 0.9375rem;
  line-height: 2.1;
  color: var(--ink-muted);
}

.hero-note {
  margin: 1.1rem 0 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cta-deep);
}

/* ヒーローの水彩イラストは背景を切り抜き済みなので、そのまま置くだけ */
.hero-photo { position: relative; }
.hero-photo img { width: 100%; }

/* プロフィールの人物は、うしろにやわらかい光を敷く */
.profile-photo { position: relative; }
.profile-photo .halo { display: none; }
/* 実写プロフィール写真を額装（アーチ＋やわらかい影）で表示 */
.profile-photo img {
  position: relative;
  width: 100%;
  border-radius: 50% 50% 14px 14px;
  box-shadow: 0 12px 30px rgba(60, 80, 120, 0.16);
}

/* スマホでは、キャッチとボタンを必ず1画面に収める。
   写真を大きくすると、いちばん押してほしいボタンが画面外へ落ちてしまう。 */
@media (max-width: 720px) {
  .hero { padding: 1.25rem 0 3rem; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: center;
  }
  /* 縦長のイラストなので、幅は正方形のときより控えめにする */
  .hero-photo { order: -1; width: min(36%, 142px); margin-inline: auto; }
  .eyebrow { margin-bottom: 0.75rem; }
  .hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 6.6vw, 2rem);
    line-height: 1.65;
  }
  .lead { margin-bottom: 1.5rem; line-height: 1.95; }
}

/* ========================= 共感 ========================= */
.worry { margin: 0; padding: 0; list-style: none; }
.worry li {
  position: relative;
  padding: 1.35rem 0 1.35rem 2.5rem;
  border-bottom: 1px solid var(--soft-gray);
  font-size: 0.9375rem;
  line-height: 1.95;
}
.worry li:first-child { border-top: 1px solid var(--soft-gray); }
.worry li::before {
  content: "";
  position: absolute;
  top: 1.95rem;
  left: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pale-blue);
}
.worry b { font-weight: 700; }

.bridge {
  margin: clamp(2.25rem, 5vw, 3rem) 0 0;
  font-family: var(--serif);
  font-size: clamp(1rem, 2.8vw, 1.1875rem);
  line-height: 2.2;
  letter-spacing: 0.06em;
  text-align: center;
}
.bridge b { color: var(--cta-deep); }

/* ========================= 届くもの ========================= */
.deliver {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}
.card {
  position: relative;
  padding: clamp(1.75rem, 3.5vw, 2.25rem);
  background: #fff;
  border-radius: var(--radius);
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(1.75rem, 3.5vw, 2.25rem);
  width: 2.25rem;
  height: 2px;
  background: var(--pale-blue);
}
.card-wide { grid-column: 1 / -1; }
.card-num {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--serif);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  color: var(--label);
}
.card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 2.05;
  color: var(--ink-muted);
}
@media (max-width: 640px) {
  .deliver { grid-template-columns: 1fr; }
}

/* ========================= カルテ ========================= */
.cartes {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
.cartes figure { margin: 0; }
.cartes img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--soft-gray);
  box-shadow: 0 10px 30px rgba(46, 58, 69, 0.08);
}
.cartes figcaption {
  margin-top: 0.9rem;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  text-align: center;
}
@media (max-width: 720px) {
  .cartes { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; gap: 2.25rem; }
}

.mid-cta { margin-top: clamp(2.75rem, 6vw, 4rem); text-align: center; }

/* ========================= 強み ========================= */
.strength { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.strength li {
  position: relative;
  padding: 0 0 2rem 3.5rem;
  counter-increment: s;
}
.strength li:last-child { padding-bottom: 0; }
.strength li::before {
  content: counter(s);
  position: absolute;
  top: 0.15rem;
  left: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pale-blue);
  /* ペールブルーに白文字だと 1.6:1 でほぼ読めないため、濃い文字色にする（7.5:1） */
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.9375rem;
  font-weight: 600;
}
.strength h3 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.05em;
}
.strength p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 2.1;
  color: var(--ink-muted);
}

/* ========================= お客様の声 ========================= */
.voice {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--pearl-white);
  border-radius: var(--radius);
}
.voice blockquote { margin: 0; }
.voice blockquote p {
  margin: 0 0 1.1rem;
  font-size: 0.9375rem;
  line-height: 2.15;
}
.voice blockquote p:first-child::before { content: "「"; }
.voice blockquote p:last-of-type::after { content: "」"; }
.voice blockquote b { font-weight: 700; }
.voice-name {
  margin: 1.5rem 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  text-align: right;
}

/* ========================= プロフィール ========================= */
.profile {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: start;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.profile-photo .halo { inset: 4% 0 8%; }
.profile-role {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--label);
}
.profile-name {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.14em;
}
.credentials-label {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--label);
}
.credentials + .credentials-label { margin-top: 1.4rem; }
.credentials-note {
  margin: 0 0 1.5rem;
  font-size: 0.6875rem;
  line-height: 1.8;
  color: var(--ink-muted);
}
.credentials {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.credentials li {
  padding: 0.35em 0.9em;
  border: 1px solid var(--pale-blue);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
.profile .body-text:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .profile { grid-template-columns: 1fr; text-align: center; }
  .profile-photo { width: min(56%, 200px); margin-inline: auto; }
  .credentials { justify-content: center; }
}

/* ========================= FAQ ========================= */
details { border-bottom: 1px solid var(--soft-gray); }
details:first-of-type { border-top: 1px solid var(--soft-gray); }
details summary {
  position: relative;
  padding: 1.35rem 2.5rem 1.35rem 0;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.85;
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.25rem;
  transform: translateY(-50%);
  color: var(--cta-deep);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
details[open] summary::after { content: "−"; }
details p {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 2.1;
  color: var(--ink-muted);
}

/* ========================= CTA ========================= */
.cta {
  padding: clamp(4.5rem, 11vw, 7rem) 0;
  text-align: center;
  background:
    radial-gradient(75% 100% at 50% 100%, rgba(184, 212, 227, 0.9) 0%, rgba(184, 212, 227, 0) 68%),
    var(--misty-white);
}
.cta-title {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.375rem, 4.6vw, 2rem);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.07em;
}
.cta-lead {
  margin: 0 0 2.5rem;
  font-size: 0.9375rem;
  line-height: 2.15;
  color: var(--ink-muted);
}

/* display:table で「中身の幅にぴったり」かつ「独立した行」にする。
   inline-block だとボタンと同じ行に流れて重なってしまう。 */
.price {
  display: table;
  margin: 0 auto 2.25rem;
  padding: 1.5rem 3rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(46, 58, 69, 0.07);
}
.price-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--label);
}
.price-value {
  margin: 0.25rem 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 8vw, 2.875rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.price-limit {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cta-deep);
}

.cta-note {
  margin: 1.75rem 0 0;
  font-size: 0.75rem;
  line-height: 2;
  color: var(--ink-muted);
}

/* ========================= フッター ========================= */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--misty-white);
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}
.footer-links a { color: var(--ink-muted); text-decoration: none; }
.footer-links a:hover { color: var(--cta-deep); }
.copyright { margin: 0; font-size: 0.75rem; color: var(--ink-muted); }

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}
