/* =========================================================
   Sunny Days Parenting スタイルシート
   色を変えたいときは :root の値だけ変えればサイト全体に反映されます
   ========================================================= */
:root {
  --bg: #fffcf2;          /* ページの背景（クリーム） */
  --bg-soft: #fff5d6;     /* うすいレモン色の帯 */
  --lemon: #f9d85e;       /* メインのシトラスイエロー */
  --lemon-deep: #e9b82e;  /* 濃いめのイエロー（線・強調） */
  --orange: #f4a259;      /* アクセント（みかん色） */
  --leaf: #8bb37a;        /* アクセント（葉っぱの緑） */
  --text: #4a4036;        /* 本文の文字色（こげ茶） */
  --text-sub: #7a6e62;    /* 補足の文字色 */
  --white: #ffffff;
  --border: #f0e4c0;
  --radius: 20px;
  --shadow: 0 6px 24px rgba(180, 140, 40, 0.10);
  --max: 1080px;
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

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

a { color: #b5761c; }
a:hover { color: var(--orange); }

h1, h2, h3 { line-height: 1.5; font-weight: 700; margin: 0 0 0.6em; }

p { margin: 0 0 1.2em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.narrow { max-width: 760px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 242, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.logo img { width: 40px; height: 40px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-main { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; }
.logo-sub { font-size: 0.68rem; color: var(--text-sub); letter-spacing: 0.06em; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  margin: 6px 0;
  transition: transform 0.25s, opacity 0.25s;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.global-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
}
.global-nav a:hover { background: var(--bg-soft); }
.global-nav a[aria-current="page"] { background: var(--bg-soft); font-weight: 700; }
.global-nav .nav-cta a {
  background: var(--lemon);
  font-weight: 700;
  margin-left: 6px;
}
.global-nav .nav-cta a:hover { background: var(--lemon-deep); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .global-nav.is-open { display: block; }
  .global-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
  .global-nav a { padding: 14px 16px; font-size: 1rem; }
  .global-nav .nav-cta a { margin: 10px 0 0; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--lemon);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--lemon-deep);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { color: var(--text); transform: translateY(2px); box-shadow: 0 2px 0 var(--lemon-deep); }
.btn-outline {
  background: var(--white);
  box-shadow: none;
  border: 2px solid var(--lemon-deep);
}
.btn-outline:hover { background: var(--bg-soft); box-shadow: none; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- ヒーロー（トップの大きな部分） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  background: radial-gradient(circle at 85% 20%, #fff0b3 0, transparent 45%),
              radial-gradient(circle at 10% 90%, #ffe9cc 0, transparent 40%),
              var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}
.hero-label {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); letter-spacing: 0.08em; }
.hero h1 .marker {
  background: linear-gradient(transparent 62%, var(--lemon) 62%);
}
.hero-lead { color: var(--text-sub); margin-bottom: 28px; }
.hero-visual img { width: 100%; max-width: 420px; margin: 0 auto; }

@media (max-width: 760px) {
  .hero { padding: 40px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 260px; }
}

/* ---------- 下層ページの見出し帯 ---------- */
.page-head {
  background: var(--bg-soft);
  padding: 48px 0 40px;
  text-align: center;
}
.page-head .en {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--lemon-deep);
  font-weight: 700;
  text-transform: uppercase;
}
.page-head h1 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 4px 0 0; }

/* ---------- セクション共通 ---------- */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title .en {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--lemon-deep);
  font-weight: 700;
  text-transform: uppercase;
}
.section-title h2 { font-size: clamp(1.35rem, 3.4vw, 1.8rem); margin: 4px 0 0; }
.section-title p { color: var(--text-sub); margin: 12px 0 0; }
.center { text-align: center; }
.sp { display: none; }
@media (max-width: 600px) { .sp { display: inline; } }
.mt-l { margin-top: 40px; }

@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .section-title { margin-bottom: 32px; }
}

/* ---------- カード ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.12rem; }
.card p:last-child { margin-bottom: 0; }

/* ---------- お悩みチェックリスト ---------- */
.worry-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 720px;
  display: grid;
  gap: 12px;
}
.worry-list li {
  background: var(--white);
  border-radius: 14px;
  padding: 16px 20px 16px 56px;
  position: relative;
  box-shadow: 0 2px 10px rgba(180, 140, 40, 0.06);
}
.worry-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--lemon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%234a4036' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.worry-after {
  text-align: center;
  margin-top: 36px;
  font-size: 1.1rem;
  font-weight: 700;
}

/* ---------- プロフィール ---------- */
.profile {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}
.profile-photo img {
  border-radius: 50%;
  border: 8px solid var(--white);
  box-shadow: var(--shadow);
}
.profile-name { font-size: 1.6rem; margin-bottom: 0; }
.profile-name-en { color: var(--text-sub); font-size: 0.9rem; margin-bottom: 20px; letter-spacing: 0.15em; }
@media (max-width: 760px) {
  .profile { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .profile-photo { max-width: 220px; margin: 0 auto; }
  .profile-name, .profile-name-en { text-align: center; }
}

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.tag-list li {
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.85rem;
}

.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--lemon); }
.timeline li { position: relative; padding: 0 0 24px 24px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--lemon-deep);
}
.timeline strong { display: block; }

.story p { font-size: 1.02rem; }
.quote-box {
  background: var(--white);
  border-left: 6px solid var(--lemon);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 32px 0;
  font-weight: 700;
  box-shadow: var(--shadow);
}

/* ---------- 料金プラン ---------- */
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}
.plan-featured { border-color: var(--lemon); }
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan h3 { text-align: center; font-size: 1.25rem; margin-top: 8px; }
.plan-price {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.3;
}
.plan-price small { font-size: 0.9rem; font-weight: 400; }
.plan-per {
  text-align: center;
  font-weight: 700;
  color: #b5761c;
  margin: 0 0 6px;
}
.plan-meta { text-align: center; color: var(--text-sub); font-size: 0.9rem; margin-bottom: 20px; }
.plan ul { padding-left: 1.3em; margin: 0 0 24px; flex: 1; }
.plan li { margin-bottom: 6px; }
.plan .btn { align-self: center; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 16px; }
.steps li {
  counter-increment: step;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px 22px 84px;
  position: relative;
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lemon);
  font-weight: 700;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}
.steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--text-sub); }

.info-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.info-table th, .info-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.info-table th { background: #fffaf0; width: 32%; font-weight: 700; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) {
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding-bottom: 4px; }
  .info-table td { padding-top: 4px; }
}

/* ---------- お客様の声 ---------- */
.voice {
  position: relative;
}
.voice-sample {
  display: inline-block;
  background: #eee6d8;
  color: var(--text-sub);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  padding: 0 8px;
  margin-bottom: 12px;
}
.voice-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.voice-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-soft);
  display: grid; place-items: center; font-size: 1.4rem;
  flex-shrink: 0;
}
.voice-who { font-size: 0.9rem; color: var(--text-sub); line-height: 1.5; }
.voice-who strong { color: var(--text); display: block; font-size: 1rem; }
.notice {
  background: var(--white);
  border: 2px dashed var(--lemon-deep);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 36px;
  font-size: 0.95rem;
}

/* ---------- よくある質問 ---------- */
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 1.2rem; border-left: 6px solid var(--lemon); padding-left: 12px; margin-bottom: 16px; }
.faq-item {
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(180, 140, 40, 0.06);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 56px;
  position: relative;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  position: absolute;
  left: 18px; top: 16px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--lemon);
  display: grid; place-items: center;
  font-size: 0.9rem;
  line-height: 1;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--lemon-deep);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer {
  padding: 0 24px 20px 56px;
  position: relative;
  color: var(--text);
}
.faq-answer::before {
  content: "A";
  position: absolute;
  left: 18px; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-soft);
  color: var(--orange);
  display: grid; place-items: center;
  font-size: 0.9rem; font-weight: 700;
  line-height: 1;
}
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- フォーム ---------- */
.form { display: grid; gap: 22px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; }
.req, .opt {
  display: inline-block;
  font-size: 0.72rem;
  border-radius: 4px;
  padding: 0 6px;
  margin-left: 8px;
  vertical-align: 2px;
}
.req { background: var(--orange); color: var(--white); }
.opt { background: #eee6d8; color: var(--text-sub); }
.form input[type="text"],
.form input[type="email"],
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  font-family: inherit;
  font-size: 16px; /* iPhoneで入力時に拡大されないよう16px以上 */
  color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--lemon-deep);
  box-shadow: 0 0 0 4px rgba(249, 216, 94, 0.35);
}
.form textarea { min-height: 160px; resize: vertical; }
.form-hint { font-size: 0.85rem; color: var(--text-sub); margin: 4px 0 0; }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.radio-group label { font-weight: 400; display: flex; align-items: center; gap: 6px; margin: 0; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 0.95rem; }
.consent input { margin-top: 7px; }
.hp { position: absolute; left: -9999px; }
.form-status {
  margin: 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fdecea;
  color: #8a3b2e;
  font-size: 0.95rem;
}
.form-thanks { text-align: center; }
.form-thanks .card-icon { margin: 0 auto 16px; }
.btn:disabled { opacity: 0.6; cursor: wait; }

.contact-choice .card { display: flex; flex-direction: column; }
.contact-choice .card p { flex: 1; }

/* ---------- CTA帯 ---------- */
.cta {
  background: linear-gradient(135deg, #fff3c4 0%, #ffe3b8 100%);
  border-radius: 32px;
  padding: 56px 32px;
  text-align: center;
}
.cta h2 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); }
.cta p { color: var(--text-sub); }
@media (max-width: 600px) { .cta { padding: 40px 20px; border-radius: 24px; } }

/* ---------- 法務ページ ---------- */
.legal h2 { font-size: 1.2rem; margin-top: 40px; border-left: 6px solid var(--lemon); padding-left: 12px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.02rem; margin: 28px 0 6px; }

/* ---------- フッター ---------- */
.site-footer {
  background: #fbf1d2;
  padding: 48px 0 28px;
  margin-top: 80px;
  font-size: 0.9rem;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-nav a { color: var(--text); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.copyright { text-align: center; color: var(--text-sub); margin: 32px 0 0; font-size: 0.8rem; }
