@charset "UTF-8";
/* =========================================================
   くむっと LP スタイル  (絵本 × SaaS × 保育園)
   - 色・余白・角丸は CSS 変数で管理
   - モバイルファースト / 768・1024・1200px でレスポンシブ
   ========================================================= */

:root {
  /* --- カラー --- */
  --color-main:      #82C46C;  /* 若葉色 */
  --color-sub:       #F7F4EC;  /* クリーム */
  --color-accent:    #F39C73;  /* サーモン */
  --color-cta:       #F08A5D;  /* CTA(仕様) */
  --color-cta-btn:   #DD6A3D;  /* CTAボタン実塗り(白文字コントラスト確保) */
  --color-cta-btn-d: #C85A28;  /* CTAボタン影 */
  --color-text:      #4A403A;  /* テキスト */
  --color-text-soft: #7A6E63;  /* 補助テキスト */
  --color-bg:        #FFFDF8;  /* 背景 */
  --color-white:     #FFFFFF;
  --color-main-d:    #6BAF56;  /* メイン濃いめ(ボタン影) */
  --color-pink-bg:   #FCEDE6;  /* CTAセクションの薄いピンク */

  /* --- フォント --- */
  --font-base: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN",
               "BIZ UDGothic", "Yu Gothic", sans-serif;
  --fw-normal: 400;
  --fw-bold:   700;

  /* --- レイアウト --- */
  --max-width:  1200px;
  --text-width: 960px;
  --gap-section: 72px;   /* モバイル基準。広い画面で拡大 */
  --radius-card: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 12px 40px rgba(74, 64, 58, 0.10);
  --shadow-soft: 0 6px 20px rgba(74, 64, 58, 0.08);
}

/* ---------- リセット ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  font-weight: var(--fw-normal);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--color-cta-btn); text-underline-offset: 3px; }

h1, h2, h3 { font-weight: var(--fw-bold); line-height: 1.4; }

ul { list-style: none; }

/* ---------- 背景装飾(肉球・葉っぱ) ---------- */
.bg-decoration {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-decoration span {
  position: absolute;
  font-size: 5rem;
  line-height: 1;
  opacity: 0.05;
  user-select: none;
}
.bg-decoration span:nth-child(1) { top: 6%;  left: 4%;  transform: rotate(-15deg); }
.bg-decoration span:nth-child(2) { top: 22%; right: 6%; font-size: 4rem; opacity: 0.06; }
.bg-decoration span:nth-child(3) { top: 46%; left: 8%;  font-size: 6rem; opacity: 0.04; transform: rotate(10deg); }
.bg-decoration span:nth-child(4) { top: 64%; right: 10%; opacity: 0.05; }
.bg-decoration span:nth-child(5) { top: 82%; left: 12%; font-size: 4.5rem; opacity: 0.06; transform: rotate(-8deg); }
.bg-decoration span:nth-child(6) { top: 92%; right: 8%; font-size: 5.5rem; opacity: 0.04; }

/* ---------- 共通レイアウト ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 20px;
}
.container--narrow { max-width: var(--text-width); }

.section { padding-block: var(--gap-section); }
.section--cream { background: var(--color-sub); }
.section--white { background: var(--color-white); }
.section--pink  { background: var(--color-pink-bg); }

.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  color: var(--color-text);
  position: relative;
  display: inline-block;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 64px; height: 6px;
  margin: 14px auto 0;
  border-radius: var(--radius-pill);
  background: var(--color-main);
}
.section-head p { color: var(--color-text-soft); margin-top: 12px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: var(--fw-bold);
  font-size: 1.1rem;
  padding: 16px 40px;
  border: none;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn--cta {
  background: var(--color-cta-btn);
  color: var(--color-white);
  box-shadow: 0 6px 0 var(--color-cta-btn-d);
}
.btn--cta:hover, .btn--cta:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 10px 0 var(--color-cta-btn-d), var(--shadow-soft);
}
.btn--ghost {
  background: var(--color-white);
  color: var(--color-text);
  border: 2px solid var(--color-main);
  box-shadow: 0 6px 0 var(--color-main-d);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 10px 0 var(--color-main-d), var(--shadow-soft);
}
.btn--lg { font-size: 1.25rem; padding: 18px 52px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #FBF7EC 0%, var(--color-bg) 100%);
  padding-block: 56px 64px;
  overflow: hidden;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.hero__body { flex: 1 1 40%; text-align: center; }
.hero__visual { flex: 1 1 60%; display: flex; justify-content: center; }

.hero__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: var(--fw-bold);
  color: var(--color-main);
  margin-bottom: 8px;
}
.hero__logo .paw { font-size: .6em; }
.hero h1 {
  font-size: clamp(1.6rem, 5.2vw, 2.6rem);
  color: var(--color-text);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--color-cta-btn); }
.hero__lead {
  color: var(--color-text-soft);
  font-size: 1.05rem;
  margin-bottom: 28px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.hero__note { margin-top: 16px; font-size: .9rem; color: var(--color-text-soft); }
.hero__note a { font-weight: var(--fw-bold); }
.hero__img {
  width: min(480px, 100%);
  filter: drop-shadow(0 14px 24px rgba(74, 64, 58, 0.14));
}

/* ---------- 数字(魅力)カード ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.pillar {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 26px 18px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 2px solid #F0EAdd;
}
.pillar__icon { font-size: 2.4rem; line-height: 1; margin-bottom: 10px; }
.pillar h3 { font-size: 1.1rem; color: var(--color-main-d); margin-bottom: 6px; }
.pillar p { font-size: .92rem; color: var(--color-text-soft); }

/* ---------- 課題 / 解決(左右2カラム) ---------- */
.split {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.split__text { flex: 1 1 50%; }
.split__visual { flex: 1 1 50%; display: flex; justify-content: center; }
.split__visual img { width: min(280px, 72%); }
.split__text h2 { font-size: clamp(1.4rem, 4vw, 2rem); margin-bottom: 20px; }
.split--reverse { flex-direction: column; }

.worry-list li, .solve-list li {
  position: relative;
  background: var(--color-white);
  border-radius: 16px;
  padding: 14px 18px 14px 48px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
}
.worry-list li::before {
  content: "😿";
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
}
.solve-list li::before {
  content: "🐾";
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
}
.solve-list li { background: var(--color-white); }

/* ---------- 機能紹介(2×2 カード) ---------- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.feature {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.feature__img {
  flex: 0 0 96px;
  width: 96px;
}
.feature__img img { width: 96px; }
.feature__body h3 { font-size: 1.15rem; margin-bottom: 6px; color: var(--color-text); }
.feature__body p { font-size: .95rem; color: var(--color-text-soft); }

/* ---------- 使い方(タイムライン) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.step {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.step__num {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-main);
  color: var(--color-white);
  font-weight: var(--fw-bold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.step__img { flex: 0 0 80px; width: 80px; }
.step__body h3 { font-size: 1.1rem; margin-bottom: 4px; }
.step__body p { font-size: .92rem; color: var(--color-text-soft); }

/* ---------- キャラクター紹介 ---------- */
.character {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.character__visual { flex: 1 1 40%; display: flex; justify-content: center; }
.character__visual img { width: min(260px, 70%); }
.character__profile {
  flex: 1 1 60%;
  background: var(--color-sub);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  max-width: 480px;
}
.character__profile h2 { font-size: 1.5rem; margin-bottom: 18px; color: var(--color-main-d); }
.profile-row {
  display: flex;
  gap: 14px;
  padding-block: 10px;
  border-bottom: 2px dotted #E4DCcB;
}
.profile-row:last-child { border-bottom: none; }
.profile-row dt {
  flex: 0 0 68px;
  font-weight: var(--fw-bold);
  color: var(--color-accent);
}
.profile-row dd { flex: 1; }

/* ---------- 利用イメージ(横スクロール / グリッド) ---------- */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 68%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}
.gallery__item {
  scroll-snap-align: center;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery__item img { width: 100%; max-width: 220px; }

/* ---------- 料金 ---------- */
.price-area { max-width: 460px; margin-inline: auto; text-align: center; }
.price-cat { width: 140px; margin: 0 auto -18px; position: relative; z-index: 1;
  filter: drop-shadow(0 4px 10px rgba(74,64,58,.2)); }
.price-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 34px 26px 30px;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--color-green, #DBEAC8);
}
.price-badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 5px 20px;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: var(--fw-bold);
  margin-bottom: 12px;
}
.price-num { font-size: 2.4rem; font-weight: var(--fw-bold); color: var(--color-main-d); }
.price-card ul { text-align: left; margin: 18px 0; }
.price-card li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: .95rem; }
.price-card li::before { content: "🐾"; position: absolute; left: 0; }
.price-note { font-size: .88rem; color: var(--color-text-soft); margin-top: 16px; }

/* ---------- FAQ アコーディオン ---------- */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
  padding: 20px 54px 20px 24px;
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "＋";
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  color: var(--color-main); font-size: 1.3rem; transition: transform .25s ease;
}
.faq-item.is-open .faq-q::after { content: "－"; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  color: var(--color-text-soft);
  font-size: .95rem;
}
.faq-a > div { padding: 0 24px 20px; }

/* ---------- 最終CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 {
  font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.5;
}
.final-cta .lead { color: var(--color-text-soft); margin-bottom: 4px; }
.final-cta__img {
  width: min(400px, 80%);
  margin: 10px auto 24px;
  filter: drop-shadow(0 10px 20px rgba(74,64,58,.15));
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--color-sub);
  text-align: center;
  padding: 40px 20px 48px;
  color: var(--color-text-soft);
  font-size: .9rem;
}
.site-footer__logo {
  font-size: 1.6rem;
  font-weight: var(--fw-bold);
  color: var(--color-main);
  margin-bottom: 10px;
}
.site-footer nav { margin-bottom: 14px; }
.site-footer nav a { margin-inline: 10px; color: var(--color-text); font-weight: var(--fw-bold); }
.site-footer small { display: block; margin-top: 12px; }

/* ---------- 右下固定キャラ ---------- */
.floating-helper {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
.floating-helper__bubble {
  background: var(--color-white);
  color: var(--color-text);
  border: 2px solid var(--color-main);
  border-radius: 14px;
  padding: 6px 12px;
  font-size: .8rem;
  font-weight: var(--fw-bold);
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
  margin-bottom: 6px;
  position: relative;
}
.floating-helper__bubble::after {
  content: "";
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--color-main);
}
.floating-helper__img {
  width: 84px;
  filter: drop-shadow(0 4px 10px rgba(74,64,58,.2));
  animation: floaty 5s ease-in-out infinite;
}

/* ---------- お問い合わせフォーム ---------- */
.page-hero {
  text-align: center;
  padding-block: 48px 8px;
}
.page-hero__logo {
  font-size: 1.8rem;
  font-weight: var(--fw-bold);
  color: var(--color-main);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
}
.page-hero h1 { font-size: clamp(1.5rem, 5vw, 2.1rem); color: var(--color-text); }
.page-hero p { color: var(--color-text-soft); margin-top: 10px; }

.contact-card {
  max-width: 620px;
  margin: 24px auto 0;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px 26px;
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-weight: var(--fw-bold);
  margin-bottom: 6px;
  color: var(--color-text);
}
.form-field .req { color: var(--color-cta-btn); font-size: .85rem; margin-left: 4px; }
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  padding: 12px 14px;
  border: 2px solid #E4DCcB;
  border-radius: 12px;
  background: var(--color-bg);
  transition: border-color .2s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-main);
}
.form-field textarea { min-height: 140px; resize: vertical; }
/* ハニーポット(スパム対策・非表示) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.flash {
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: .95rem;
}
.flash--ok    { background: #E9F4E1; color: #3D6B2A; border: 2px solid #BFDDA9; }
.flash--error { background: #FBE9E1; color: #A5502C; border: 2px solid #F0C3Ad; }

.contact-alt {
  text-align: center;
  margin-top: 22px;
  font-size: .95rem;
  color: var(--color-text-soft);
}
.contact-alt a { font-weight: var(--fw-bold); }
.back-home { text-align: center; margin-top: 28px; }
.back-home a { color: var(--color-text); font-weight: var(--fw-bold); }

/* ---------- 規約・ポリシー(本文) ---------- */
.legal {
  max-width: 820px;
  margin: 24px auto 0;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 36px 30px;
}
.legal > p.legal-lead { color: var(--color-text-soft); margin-bottom: 24px; }
.legal section { margin-bottom: 28px; }
.legal h2 {
  font-size: 1.15rem;
  color: var(--color-main-d);
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 2px dotted #E4DCcB;
}
.legal h3 { font-size: 1rem; margin: 14px 0 6px; color: var(--color-text); }
.legal p { margin-bottom: 10px; }
.legal ul.legal-list { margin: 8px 0 8px; }
.legal ul.legal-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.legal ul.legal-list li::before {
  content: "🐾";
  position: absolute; left: 0; font-size: .85rem; top: 2px;
}
.legal dl.legal-def { margin: 8px 0; }
.legal dl.legal-def dt { font-weight: var(--fw-bold); margin-top: 12px; color: var(--color-text); }
.legal dl.legal-def dd { color: var(--color-text-soft); margin-left: 0; }
.legal .todo {
  background: #FBF3D9;
  border: 1px dashed #E4C97A;
  border-radius: 8px;
  padding: 2px 8px;
  font-size: .9em;
  color: #8A6D1F;
}
.legal .legal-meta {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 2px dotted #E4DCcB;
  color: var(--color-text-soft);
  font-size: .9rem;
}

/* ---------- アニメーション ---------- */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.is-visible { animation: fadeUp .7s ease forwards; }

/* 画像ホバー(拡大) */
.hover-zoom { transition: transform .3s ease; }
.hover-zoom:hover { transform: scale(1.05); }

/* ---------- レスポンシブ ---------- */
@media (min-width: 768px) {
  :root { --gap-section: 96px; }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { gap: 22px; }
  .gallery { grid-auto-columns: 30%; }
  .split { flex-direction: row; }
  .split--reverse { flex-direction: row-reverse; }
  .split__text h2 { text-align: left; }
  .character { flex-direction: row; }
}

@media (min-width: 1024px) {
  :root { --gap-section: 110px; }
  .hero__inner { flex-direction: row; text-align: left; }
  .hero__body { text-align: left; }
  .hero__cta { justify-content: flex-start; }
  .hero__logo { font-size: 3rem; }
  .gallery { grid-auto-columns: 1fr; grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; }
  .floating-helper__img { width: 96px; }
}

@media (min-width: 1200px) {
  :root { --gap-section: 120px; }
}

/* ---------- モーション低減 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; }
  .floating-helper__img { animation: none; }
}
