/* Bulota LP — スマホ最優先。幅の広い画面には min-width で足していく */

:root {
  --pink:   #F6AEBE;  /* メイン。面・装飾に使う(文字色には使わない) */
  --accent: #C9536F;  /* アクセント。ボタン・強調 */
  --ink:    #453A3E;  /* 文字 */
  --bg:     #FDF1F4;  /* 背景 */

  --ink-soft: #6E6165;          /* 補足文。--ink を薄めた色 */
  --white: #FFFFFF;
  --tint: #FCE7EC;              /* セクションの塗り分け(bgとwhiteの中間) */
  --shadow: 0 6px 20px rgba(201, 83, 111, .10);
  --radius: 20px;
  --radius-lg: 28px;

  --wrap: 720px;
  --pad: 20px;
  --header-h: 58px;             /* 追従ヘッダーの高さ。アンカーのズレ補正に使う */

  --font-en: "Fredoka", "Noto Sans JP", sans-serif;
  --font-jp: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans",
             "Yu Gothic UI", Meiryo, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.5; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* アンカーで飛んだとき、追従ヘッダーの下に見出しが隠れないようにする */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- 追従ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  box-shadow: 0 2px 12px rgba(69, 58, 62, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}

.brand-icon { width: 28px; flex: none; }

.brand-name {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: .01em;
  line-height: 1;
}

.header-right { display: flex; align-items: center; gap: 22px; }

/* スマホ幅ではロゴとCTAだけ。ナビは 760px から出す */
.nav { display: none; }

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

.nav a:hover,
.nav a:focus-visible { color: var(--accent); border-bottom-color: var(--pink); }

/* ---------- ボタン ---------- */

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

/* ヘッダー用の小さいボタン。.btn の後に置かないと打ち消される */
.btn-sm {
  padding: 9px 18px;
  font-size: .875rem;
  line-height: 1.4;
  box-shadow: 0 4px 12px rgba(201, 83, 111, .24);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(201, 83, 111, .28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #B8455F;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(201, 83, 111, .34);
}

.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- 1. ヒーロー ---------- */

/* 背景は hero_bg.svg。SVG側が地色(#FDF1F4)ごと持っているので、下地は保険として同色を敷く。
   高さは従来どおり padding で決まる(min-heightは足さない=スマホで潰れない) */
.hero {
  position: relative;
  background-color: var(--bg);
  background-image: url("assets/hero_bg.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 56px 0 64px;
  text-align: center;
  /* 下端をやわらかく */
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  overflow: hidden;   /* 角丸から背景がはみ出さないように */
}

/* ロゴ・見出し・サブ文・CTA は背景より前面 */
.hero > .wrap {
  position: relative;
  z-index: 1;
}

/* 透過SVGをそのまま置く。箱・影・背景色は付けない。
   下の余白は詰めて、ロゴ→見出し→サブ文→CTA を一続きの塊に見せる */
.wordmark {
  width: min(70vw, 420px);   /* スマホは画面幅の約70%、PCは420pxで頭打ち */
  margin: 0 auto 14px;
}

/* 和文は文字単位で折り返されるので、切りたくない塊はこれで囲む */
.ph { display: inline-block; }

.hero-title {
  font-size: clamp(1.6rem, 7vw, 2.25rem);
  letter-spacing: .01em;
  margin-bottom: 20px;
}

.hero-lead {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 32px;
}

/* ---------- セクション共通 ---------- */

.section { padding: 56px 0; }

.section-tint {
  background: var(--tint);
  border-radius: var(--radius-lg);
  margin: 8px 12px;
  padding-inline: 4px;
}

.eyebrow {
  font-family: var(--font-en);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.375rem;
  text-align: center;
  margin-bottom: 12px;
}

.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: var(--pink);
  margin: 14px auto 0;
}

.section-lead {
  text-align: center;
  color: var(--ink-soft);
  font-size: .9375rem;
  margin-bottom: 28px;
}

/* ---------- 2. 悩み ---------- */

.cards { display: grid; gap: 16px; margin-top: 28px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
}

.card-title {
  font-size: 1.0625rem;
  margin-bottom: 8px;
  padding-left: 14px;
  position: relative;
}

.card-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
}

.card p { font-size: .9375rem; color: var(--ink-soft); }

/* ---------- 3. 実績 ---------- */

.result {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  margin-top: 28px;
}

.result-lead { font-size: .9375rem; color: var(--ink-soft); }

.result-figure {
  font-family: var(--font-en);
  font-weight: 600;
  line-height: 1.3;
  margin: 8px 0 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.figure-from {
  font-size: clamp(1.5rem, 8vw, 2.125rem);
  color: var(--ink-soft);
}

.figure-arrow {
  font-size: clamp(1.5rem, 7vw, 2rem);
  color: var(--pink);
}

.figure-to {
  font-size: clamp(2.25rem, 13vw, 3.5rem);
  color: var(--accent);
}

.result-note { font-size: 1rem; }
.result-note strong { color: var(--accent); }

.facts { display: grid; gap: 12px; margin-top: 20px; }

.fact {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: .9375rem;
  box-shadow: var(--shadow);
  position: relative;
  padding-left: 44px;
}

.fact::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 16px;
  color: var(--accent);
  font-weight: 700;
}

.fact strong { color: var(--accent); }

/* ---------- 4. サービスと料金 ---------- */

.plans {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  align-items: stretch;
}

.plan {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
}

.plan-main { border-color: var(--pink); }

.plan-name {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-price {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 2.375rem;
  line-height: 1.2;
  color: var(--accent);
}

.plan-unit { font-family: var(--font-jp); font-size: 1.125rem; font-weight: 700; }

.plan-meta {
  display: inline-block;
  font-size: .8125rem;
  color: var(--ink-soft);
  background: var(--tint);
  border-radius: 999px;
  padding: 3px 14px;
  margin-top: 10px;
}

.plan-desc {
  font-size: .9375rem;
  color: var(--ink-soft);
  margin-top: 12px;
}

.plan-arrow {
  text-align: center;
  color: var(--pink);
  font-size: 1.75rem;
  line-height: 1;
  transform: rotate(90deg);   /* スマホは縦並びなので下向き */
}

.plan-notice {
  margin-top: 20px;
  text-align: center;
  font-size: .9375rem;
  background: var(--white);
  border: 2px dashed var(--pink);
  border-radius: var(--radius);
  padding: 14px 18px;
}

/* 料金表の下に置く補足。金額の話ではないので囲みは付けず、地の文として置く */
.plan-extra {
  margin-top: 18px;
  text-align: center;
  font-size: .9375rem;
  color: var(--ink-soft);
}

/* ---------- 5. 進め方 ---------- */

.steps { display: grid; gap: 14px; margin-top: 28px; }

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.step-num {
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--accent);
  flex: none;
}

.step-title { font-size: 1rem; margin-bottom: 4px; }
.step p { font-size: .9375rem; color: var(--ink-soft); }

/* ---------- 6. プロフィール ---------- */

.profile {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
  margin-top: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow);
}

.profile-photo {
  width: 116px;
  height: 116px;
  flex: none;
  border-radius: 50%;
  background: var(--tint);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.profile-photo img { width: 62%; height: auto; }

.profile-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.profile-role {
  display: block;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: .06em;
  margin-top: 2px;
}

.profile-body p { font-size: .9375rem; color: var(--ink-soft); }

/* ---------- 7. デモ動画 ---------- */

.video {
  margin-top: 8px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  aspect-ratio: 16 / 9;
}

.video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: .875rem;
  background:
    repeating-linear-gradient(45deg,
      var(--white) 0 12px, #FFF7F9 12px 24px);
}

.video-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  padding-left: 4px;   /* ▶ の見た目の中心を合わせる */
}

/* ---------- 8. お問い合わせ ---------- */

#contact { text-align: center; padding-bottom: 64px; }

/* アドレス表示 + コピー。狭い幅では自然に2段になる */
.mail-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow);
}

.mail-address {
  font-family: var(--font-en);
  font-size: clamp(1.125rem, 5.4vw, 1.5rem);
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--pink);
  word-break: break-all;
}

.mail-address:hover,
.mail-address:focus-visible { color: var(--accent); border-bottom-color: var(--accent); }

.btn-copy {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  flex: none;
}

.btn-copy.is-copied { background: var(--ink); box-shadow: none; }

/* コピー結果。文字が出入りしても高さが動かないよう場所を確保しておく */
.copy-status {
  min-height: 1.6em;
  margin-top: 10px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--accent);
}

.contact-note {
  margin-top: 18px;
  font-size: .875rem;
  color: var(--ink-soft);
}

/* ---------- 9. フッター ---------- */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .80);
  padding: 40px 0 28px;
  text-align: center;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
}

/* 濃色背景用の反転版SVG(文字が白・しっぽはピンクのまま)を使う。
   CSSのfilterで白くするとしっぽまで白くなるので、ここではかけない */
.footer-wordmark {
  width: 132px;
  margin: 0 auto;
}

.footer-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.footer-nav {
  margin-top: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.footer-links { margin-top: 22px; }

.footer a {
  color: rgba(255, 255, 255, .80);
  text-decoration: none;
  font-size: .875rem;
  transition: color .15s ease;
}

.footer a:hover,
.footer a:focus-visible { color: var(--pink); text-decoration: underline; }

.footer-links a { font-weight: 500; color: var(--white); }

.copyright {
  font-family: var(--font-en);
  font-size: .8125rem;
  color: rgba(255, 255, 255, .60);
  letter-spacing: .06em;
  margin-top: 26px;
}

/* ---------- 画面が広いとき ---------- */

/* ナビリンクを出せる幅から出す */
@media (min-width: 760px) {
  :root { --header-h: 66px; }
  .nav { display: flex; align-items: center; gap: 22px; }
  .brand-icon { width: 32px; }
}

@media (min-width: 700px) {
  body { font-size: 17px; }

  .hero { padding: 80px 0 88px; }
  .footer { padding: 52px 0 32px; }
  .footer-wordmark { width: 156px; }
  .wordmark { margin-bottom: 18px; }
  .hero-lead { font-size: 1.0625rem; }

  .section { padding: 80px 0; }
  .section-tint { margin: 16px auto; max-width: calc(var(--wrap) + 80px); }
  .section-title { font-size: 1.625rem; }

  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .result { padding: 44px 32px; }

  .plans { grid-template-columns: 1fr auto 1fr; gap: 16px; }
  .plan-arrow { transform: none; align-self: center; }

  .profile {
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
    gap: 28px;
    align-items: center;
    padding: 36px;
  }
  .profile-name { font-size: 1.375rem; }
}

/* PC。カード3枚を並べても文が細切れにならない幅にする */
@media (min-width: 1000px) {
  :root { --wrap: 880px; }
}

/* ---------- 動きを減らす設定を尊重する ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn-primary:hover, .btn-primary:focus-visible { transform: none; }
}
