/* 保育の時間をつくる人 — LP (案A:やわらかい・温かい) */

:root {
  --cream: #FBF5EA;
  --paper: #FFFDF8;
  --tint: #F5EADB;
  --beige: #F3E4D3;
  --line: #EADBC8;
  --line-strong: #E5D5C2;
  --accent: #B8573A;
  --accent-dark: #8E3F27;
  --accent-deep: #9A4A30;
  --ink: #4A3A2E;
  --ink-soft: #5C4B3E;
  --ink-mute: #6B5A4C;
  --ink-faint: #8A7563;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-card: 0 1px 0 #EADBC8, 0 14px 30px -20px rgba(120, 70, 40, .35);
  --stripe: repeating-linear-gradient(135deg, #F1E1CD 0 10px, #F8EDE0 10px 20px);
}

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

body {
  margin: 0;
  background: var(--cream);
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

/* cqi = ページ幅基準。デザイン通りの比率で拡大縮小させる */
.page {
  container-type: inline-size;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Zen Maru Gothic', sans-serif;
  line-height: 1.9;
  overflow: hidden;
}

/* ---------- 共通 ---------- */
.eyebrow {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
}
.eyebrow--deep { color: var(--accent-deep); }

.section-title {
  margin: 0;
  font-size: clamp(24px, 3cqi, 32px);
  line-height: 1.5;
}

.placeholder-label {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: #8A6F5B;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
}
.btn--primary {
  padding: 0 26px;
  background: var(--accent);
  color: var(--paper);
  font-weight: 700;
  box-shadow: 0 8px 20px -10px rgba(184, 87, 58, .7);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px -12px rgba(184, 87, 58, .8);
  color: var(--paper);
}
.btn--ghost {
  padding: 0 22px;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  font-weight: 500;
  transition: transform .3s var(--ease), border-color .3s;
}
.btn--ghost:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--ink);
}
.btn--large {
  margin-top: 10px;
  min-height: 56px;
  padding: 0 44px;
  font-size: 16px;
  box-shadow: 0 10px 24px -12px rgba(184, 87, 58, .8);
  transition: transform .3s var(--ease);
}
.btn--large:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px -12px rgba(184, 87, 58, .8);
}

.section {
  padding: clamp(56px, 8cqi, 104px) clamp(20px, 6cqi, 80px);
}
.section--tint { background: var(--tint); }
.section__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4cqi, 52px);
}
.section__inner--sns { gap: clamp(28px, 4cqi, 44px); }
.section__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.section__sub {
  margin: 0;
  font-size: 15px;
  color: var(--ink-mute);
}

/* ---------- 1. ファーストビュー ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 10cqi, 128px) clamp(20px, 6cqi, 80px) clamp(64px, 9cqi, 112px);
}

@keyframes lpaFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6px, -16px); }
}
.floaty {
  position: absolute;
  border-radius: 50%;
  animation: lpaFloat ease-in-out infinite;
}
.floaty--1 { top: 8%; left: 4%; width: 90px; height: 90px; background: #F3E1CC; animation-duration: 9s; }
.floaty--2 { top: 62%; right: 6%; width: 54px; height: 54px; background: #EFCDB8; animation-duration: 7s; animation-delay: 1.2s; }
.floaty--3 { bottom: 6%; left: 38%; width: 26px; height: 26px; background: #E7B79D; animation-duration: 6s; animation-delay: .6s; }

.hero__inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: center;
  justify-content: center;
  gap: clamp(36px, 6cqi, 72px);
}
.hero__text {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero__role {
  align-self: flex-start;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--beige);
  color: #7A4A33;
  font-size: 13px;
  font-weight: 500;
}
.hero__title {
  margin: 0;
  font-size: clamp(36px, 6.4cqi, 66px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .03em;
}
.hero__lead {
  margin: 0;
  font-size: clamp(16px, 1.8cqi, 20px);
  color: var(--ink-mute);
  text-wrap: pretty;
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.hero__symbol {
  flex: 0 0 auto;
  width: clamp(200px, 32cqi, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--stripe);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 10px var(--paper), 0 24px 50px -20px rgba(120, 70, 40, .4);
  transition: transform .6s var(--ease);
}
.hero__symbol:hover { transform: rotate(-6deg) scale(1.03); }

/* ---------- 2. 自己紹介 ---------- */
.about {
  padding: clamp(40px, 7cqi, 96px) clamp(20px, 6cqi, 80px);
}
.about__card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: 36px;
  padding: clamp(32px, 5cqi, 60px);
  box-shadow: 0 1px 0 #EADBC8, 0 20px 40px -28px rgba(120, 70, 40, .35);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}
.about__text {
  margin: 0;
  font-size: 16px;
  color: var(--ink-soft);
  text-align: left;
  text-wrap: pretty;
}

/* ---------- 3. 作ったもの ---------- */
.works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(20px, 3cqi, 32px);
}
.work {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.work:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 0 #EADBC8, 0 26px 44px -22px rgba(120, 70, 40, .45);
}
.work__image {
  margin: 12px 12px 0;
  border-radius: 22px;
  aspect-ratio: 16 / 10;
  background: var(--stripe);
  display: grid;
  place-items: center;
}
.work__body {
  padding: 20px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.work__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.work__kind { font-size: 12px; color: var(--ink-faint); }
.work__name { margin: 0; font-size: 20px; line-height: 1.5; }
.work__desc { margin: 0; font-size: 15px; color: var(--ink-soft); text-wrap: pretty; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.badge--released {
  padding: 3px 12px;
  background: var(--accent);
  color: var(--paper);
}
.badge--dev {
  padding: 2px 12px;
  border: 1.5px dashed var(--accent);
  color: var(--accent-deep);
}
.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- 4. できること ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(16px, 2.4cqi, 28px);
}
.service {
  height: 100%;
  background: var(--paper);
  border-radius: 28px;
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .4s var(--ease);
}
.service:hover { transform: translateY(-4px) rotate(-.6deg); }
.service__no {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
}
.service__title { margin: 6px 0 0; font-size: 19px; line-height: 1.5; }
.service__desc { margin: 0; font-size: 15px; color: var(--ink-soft); text-wrap: pretty; }

/* ---------- 5. SNS ---------- */
.sns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.sns__card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 26px;
  border-radius: 26px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: transform .35s var(--ease), border-color .35s;
}
.sns__card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  color: var(--ink);
}
.sns__name { font-size: 20px; font-weight: 700; }
.sns__desc { font-size: 14px; color: var(--ink-mute); line-height: 1.8; }
.sns__cta { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--accent); }

/* ---------- 6. 問い合わせ ---------- */
.contact {
  padding: clamp(24px, 4cqi, 56px) clamp(20px, 6cqi, 80px) clamp(64px, 9cqi, 112px);
}
.contact__card {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 40px;
  background: var(--beige);
  padding: clamp(40px, 6cqi, 72px) clamp(24px, 5cqi, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.contact__text {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 32em;
  text-wrap: pretty;
}

/* ---------- 7. フッター ---------- */
.footer {
  padding: 36px clamp(20px, 6cqi, 80px) 44px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-mute);
}
.footer__name { font-weight: 700; color: var(--ink); font-size: 15px; }
.footer__links { display: flex; gap: 18px; }
.footer__links a { text-decoration: none; }

/* ---------- スクロール表示 (main.js が付与) ---------- */
.is-hidden {
  opacity: 0;
  transform: translateY(28px);
}
.reveal-ready {
  transition: opacity .9s ease, transform .9s var(--ease);
}

/* 動きを減らす設定の人には、浮遊・ふわっと表示・ホバー移動を止める */
@media (prefers-reduced-motion: reduce) {
  .floaty { animation: none; }
  .is-hidden { opacity: 1; transform: none; }
  *, *::before, *::after { transition: none !important; }
}
