/*
 * つぼみ ティザーサイト — 静的版スタイル
 * デザイン: 水彩絵本 × こどもの手書きイラスト（v3）
 * カラー: 深緑 #3D6B4F / クリーム #FFFBF0 / ソフトピンク #F4A7B9 ほか
 * Font: Zen Maru Gothic
 *
 * 元のReact(HomeV3)の見た目をそのまま再現しています。
 */

/* ─── カラー変数 ─────────────────────────────────────────── */
:root {
  --deep-green: #3D6B4F;
  --mid-green: #4A9E4E;
  --light-green: #7BC67E;
  --cream: #FFFBF0;
  --warm-white: #FFF8F0;
  --pink: #F4A7B9;
  --pink-dark: #E8789A;
  --yellow: #FFD966;
  --yellow-dark: #E8B800;
  --orange: #F4A460;
  --orange-dark: #D4783A;
  --sky: #87CEEB;
  --sky-dark: #4A9FCC;
  --text: #2D3A2E;
  --text-mid: #4A5E4E;
  --text-light: #7A8E7A;
}

/* ─── リセット ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

/* 内覧会バナー等のページ内リンクをなめらかにスクロール */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: 'Zen Maru Gothic', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, p {
  margin: 0;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ─── 文字色ユーティリティ ───────────────────────────────── */
.t-deep   { color: var(--deep-green); }
.t-pink   { color: var(--pink-dark); }
.t-orange { color: var(--orange-dark); }
.t-sky    { color: var(--sky-dark); }

/* 画面には出さず、検索エンジン・スクリーンリーダーにだけ伝えるテキスト */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.center { text-align: center; }

/* アイコン（lucide風 SVG） */
.ico {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.ico--lg { width: 22px; height: 22px; }

/* ─── レイアウト ─────────────────────────────────────────── */
.section {
  padding: 4rem 1rem;
  position: relative;
}
.section--warm   { background: var(--warm-white); }
.section--cream  { background: var(--cream); }
.section--recruit {
  background: linear-gradient(180deg, rgba(61,107,79,0.03) 0%, rgba(61,107,79,0.08) 100%);
}

.wrap { width: 100%; margin: 0 auto; }
.wrap--lg { max-width: 32rem; }
/* 内覧会セクションのみ、PC幅でチラシを横に並べるため広めに */
.wrap--oh { max-width: 32rem; }
@media (min-width: 900px) {
  .wrap--oh { max-width: 56rem; }
}

/* ─── スクロールリビール（framer-motion fade-up 再現） ───── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.stagger.is-visible .reveal,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--i, 0) * 0.1s);
}
.reveal--pop {
  transform: scale(0.75);
}
.stagger.is-visible .reveal--pop {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .float, .bounce, .gallery__img, .urgent__badge { animation: none !important; }
}

/* ─── 見出し・本文 ───────────────────────────────────────── */
.h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.625;
  color: var(--text);
}
.h2--sm { line-height: 1.4; }
.lead {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--text-mid);
  margin-top: 1.5rem;
}
.sub {
  font-size: 0.875rem;
  color: var(--text-mid);
}

@media (min-width: 640px) {
  .h2 { font-size: 1.875rem; }
  .lead { font-size: 1rem; }
}

/* ─── バッジ ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  line-height: 1.4;
}
.badge--solid {
  background: var(--deep-green);
  color: #fff;
  letter-spacing: 0.08em;
}
.badge--open {
  background: rgba(255,255,255,0.9);
  color: var(--deep-green);
  border: 2px solid var(--light-green);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.badge--deep {
  background: rgba(61,107,79,0.08);
  color: var(--deep-green);
  border: 1.5px solid rgba(61,107,79,0.19);
}
.badge--orange {
  background: rgba(244,164,96,0.13);
  color: var(--orange-dark);
  border: 1.5px solid rgba(244,164,96,0.31);
}
.badge--sky {
  background: rgba(135,206,235,0.19);
  color: var(--sky-dark);
  border: 1.5px solid rgba(135,206,235,0.38);
}
.badge--pink {
  background: rgba(244,167,185,0.22);
  color: var(--pink-dark);
  border: 1.5px solid rgba(244,167,185,0.55);
}

/* ─── ボタン ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn--grow { flex: 1; }
.btn--block { display: flex; width: 100%; padding: 1rem; font-size: 1rem; margin-top: 0.5rem; }
.btn--primary {
  background: linear-gradient(135deg, var(--deep-green), var(--mid-green));
  color: #fff;
  box-shadow: 0 4px 16px rgba(61,107,79,0.25);
}
.btn--primary:hover { transform: scale(1.04); box-shadow: 0 8px 24px rgba(61,107,79,0.35); }
.btn--primary:active { transform: scale(0.97); }
.btn--ghost {
  background: rgba(255,255,255,0.92);
  border: 2px solid var(--light-green);
  color: var(--deep-green);
  box-shadow: 0 4px 16px rgba(61,107,79,0.12);
  padding: 0.75rem 1rem;
}
.btn--ghost:hover { transform: scale(1.04); }
.btn--ghost:active { transform: scale(0.97); }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem 4rem;
  /* PC幅でも花が切れないよう画像比率(16:9)を基準に最小高さを確保 */
  min-height: max(100svh, 56.25vw);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(255,251,240,0.6) 0%,
    rgba(255,251,240,0.3) 50%,
    rgba(255,251,240,0.1) 100%);
}
.hero__inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 24rem;
  margin: 0 auto;
  width: 100%;
}
.hero__logo {
  width: 9rem;
  height: 9rem;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 4px 12px rgba(61,107,79,0.2));
}
.hero__catch {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.625;
  color: var(--text);
  text-shadow: 0 1px 4px rgba(255,255,255,0.9);
}
.hero__cta {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}
/* ─── 内覧会 告知バナー（ヒーロー内） ───────────────────── */
.hero__notice {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 9999px;
  text-decoration: none;
  text-align: left;
  background: linear-gradient(135deg, #FFF1F5, #FFFDF5);
  border: 2px solid var(--pink);
  box-shadow: 0 6px 20px rgba(232,120,154,0.22), 2px 3px 0 rgba(232,120,154,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero__notice:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 26px rgba(232,120,154,0.3), 2px 3px 0 rgba(232,120,154,0.18);
}
.hero__notice-tag {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--pink-dark);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  animation: noticePulse 1.8s ease-in-out infinite;
}
@keyframes noticePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.hero__notice-txt {
  flex: 1;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text);
}
.hero__notice-txt strong { color: var(--pink-dark); font-size: 0.85rem; }
.hero__notice-arrow { color: var(--pink-dark); font-weight: 700; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .hero__notice-tag { animation: none !important; }
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.hero__scroll-txt { font-size: 0.75rem; color: var(--deep-green); opacity: 0.7; }
.hero__scroll-arrow { font-size: 1.125rem; color: var(--deep-green); }

@media (min-width: 640px) {
  .hero { padding-top: 2rem; }
  .hero__logo { width: 11rem; height: 11rem; }
  .hero__catch { font-size: 1.5rem; }
}

/* ─── カウントダウン ─────────────────────────────────────── */
.countdown {
  border-radius: 1.5rem;
  padding: 1rem 1.25rem;
  width: 100%;
  background: rgba(255,255,255,0.88);
  border: 2px solid rgba(123,198,126,0.38);
  box-shadow: 0 8px 32px rgba(61,107,79,0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.countdown__title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--deep-green);
  margin-bottom: 0.75rem;
}
.countdown__row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
}
.countdown__sep {
  font-size: 1.25rem;
  font-weight: 700;
  padding-bottom: 1.25rem;
}
.flip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.flip__box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 2.5px solid var(--c);
  box-shadow: 2px 3px 0 color-mix(in srgb, var(--c) 38%, transparent);
}
.flip__num {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c);
  font-family: 'Zen Maru Gothic', sans-serif;
}
.flip__num.is-flip { animation: numflip 0.3s ease; }
@keyframes numflip {
  0%   { transform: translateY(-20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.flip__lbl {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c);
}

@media (min-width: 640px) {
  .flip__box { width: 4rem; height: 4rem; }
  .flip__num { font-size: 1.5rem; }
  .countdown__row { gap: 0.75rem; }
}
/* 極小画面でカウントダウンが溢れないように調整 */
@media (max-width: 380px) {
  .flip__box { width: 13vw; height: 13vw; }
  .flip__num { font-size: 4.6vw; }
  .countdown__row { gap: 0.35rem; }
  .countdown__sep { font-size: 1rem; }
}

/* ─── クレヨン花ボーダー ─────────────────────────────────── */
.divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.divider img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  object-position: center center;
  mix-blend-mode: multiply;
}
.divider--flip { transform: scaleX(-1); }

/* ══════════════════════════════════════════════════════════
   OPEN HOUSE — 内覧会のお知らせ
══════════════════════════════════════════════════════════ */
.section--openhouse {
  background: linear-gradient(180deg, #FFF6F8 0%, #FFFCF3 100%);
}

/* 左：開催概要／右：チラシ */
.oh-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.5rem;
}
.oh-main { min-width: 0; }
@media (min-width: 900px) {
  .oh-grid {
    grid-template-columns: 1fr 0.78fr;
    gap: 2.25rem;
  }
}

/* 内覧会チラシ */
.oh-flyer { margin: 0; }
.oh-flyer__img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  cursor: zoom-in;
  background: #fff;
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(232,120,154,0.22), 3px 4px 0 rgba(232,120,154,0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.oh-flyer__img:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 36px rgba(232,120,154,0.3), 3px 4px 0 rgba(232,120,154,0.16);
}
.oh-flyer__cap {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-light);
}

/* 開催概要カード */
.oh-card {
  padding: 1.1rem 1rem;
  border-radius: 1.25rem;
  text-align: left;
  background: rgba(255,255,255,0.95);
  border: 2.5px dashed var(--pink);
  box-shadow: 0 8px 26px rgba(232,120,154,0.15), 3px 4px 0 rgba(232,120,154,0.14);
}
.oh-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(232,120,154,0.28);
}
.oh-row--last { border-bottom: none; padding-bottom: 0.2rem; }
.oh-k {
  flex-shrink: 0;
  width: 4.6rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  padding: 0.28rem 0.2rem;
  border-radius: 0.6rem;
}
.oh-k--green { background: var(--mid-green); }
.oh-k--pink  { background: var(--pink-dark); }
.oh-v {
  flex: 1;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
  line-height: 1.5;
}
.oh-plain { font-size: 0.85rem; font-weight: 700; color: var(--text); }

/* 日付・時間の強調表示 */
.oh-date {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pink-dark);
}
.oh-date em {
  font-style: normal;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: 0.01em;
  padding: 0 0.05em;
}
.oh-dow {
  flex-shrink: 0;
  align-self: center;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--sky-dark);
}
.oh-time {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}
.oh-chip {
  align-self: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--pink-dark);
  background: rgba(244,167,185,0.22);
  border: 1.5px solid rgba(244,167,185,0.55);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  white-space: nowrap;
}
.oh-place { font-size: 0.78rem; color: var(--text-mid); display: block; }
.oh-deadline {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pink-dark);
}

/* 申込締切までの残り日数 */
.oh-limit {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange-dark);
}
.oh-limit[hidden] { display: none; }

/* 予約CTA・注記 */
.oh-cta {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  margin-top: 1.25rem;
}
.oh-note {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--text-light);
}

@media (min-width: 640px) {
  .oh-date em { font-size: 2rem; }
  .oh-time { font-size: 1.5rem; }
}
@media (max-width: 360px) {
  .oh-k { width: 4rem; font-size: 0.66rem; }
  .oh-date em { font-size: 1.5rem; }
  .oh-time { font-size: 1.15rem; }
}

/* ══════════════════════════════════════════════════════════
   ABOUT — 利用時間カード等
══════════════════════════════════════════════════════════ */
.card {
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: left;
  background: rgba(255,255,255,0.9);
}
.card--hours {
  margin-top: 2rem;
  border: 1.5px solid rgba(123,198,126,0.31);
  box-shadow: 2px 3px 0 rgba(123,198,126,0.19);
}
.card--detail {
  margin-top: 0;
  margin-bottom: 1.5rem;
  border: 1.5px solid rgba(123,198,126,0.31);
  box-shadow: 2px 3px 0 rgba(123,198,126,0.19);
}
.card__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.card__title { font-size: 0.875rem; font-weight: 700; }
.emoji { font-size: 1rem; line-height: 1; }

.hours {
  display: grid;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-mid);
}
.hours__row { display: flex; align-items: flex-start; gap: 0.5rem; }
.hours__note { font-size: 0.75rem; color: var(--text-light); }
.pill {
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  flex-shrink: 0;
}
.pill--pink { background: rgba(244,167,185,0.3); color: var(--pink-dark); }
.pill--yellow { background: rgba(255,217,102,0.3); color: var(--yellow-dark); }

.ruler {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.ruler__line { height: 1px; flex: 1; background: rgba(123,198,126,0.38); }
.ruler__icon { color: var(--light-green); font-size: 1.2rem; }

/* ══════════════════════════════════════════════════════════
   FACILITY GALLERY
══════════════════════════════════════════════════════════ */
.gallery { position: relative; }
.gallery__main {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(61,107,79,0.18), 4px 6px 0 rgba(123,198,126,0.25);
}
.gallery__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  animation: galleryFade 0.4s ease;
}
@keyframes galleryFade {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}
.gallery__label {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255,255,255,0.9);
  color: var(--deep-green);
}
.gallery__zoom {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  background: rgba(255,255,255,0.85);
  color: var(--deep-green);
}
.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.95);
  color: var(--deep-green);
  border: 1.5px solid rgba(123,198,126,0.31);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.gallery__nav .ico { width: 18px; height: 18px; }
.gallery__nav--prev { left: 0.5rem; }
.gallery__nav--next { right: 0.5rem; }

.thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  justify-content: center;
}
.thumb {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  flex: 1;
  padding: 0;
  border: 2px solid rgba(123,198,126,0.25);
  background: none;
  transition: all 0.2s;
  line-height: 0;
}
.thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.thumb.is-active {
  border: 2.5px solid var(--deep-green);
  box-shadow: 0 2px 8px rgba(61,107,79,0.25);
}
.thumb.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  background: rgba(61,107,79,0.12);
}

/* ライトボックス */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,0.85);
  animation: fadeIn 0.2s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 1rem;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: lbPop 0.25s ease;
}
@keyframes lbPop { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  background: rgba(255,255,255,0.2);
  border: none;
}
.lightbox__label {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,0.5);
}

/* ══════════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════════ */
.features {
  background-image: url(../assets/features-bg.webp);
  background-size: cover;
  background-position: center;
}
.features__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,251,240,0.55);
}
.features__inner { position: relative; z-index: 10; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.feature-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.92);
  border: 2px solid color-mix(in srgb, var(--accent) 31%, transparent);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent) 15%, transparent),
              3px 5px 0 color-mix(in srgb, var(--accent) 19%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-card:hover { transform: translateY(-5px) scale(1.02); }
.feature-card__corner {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1rem;
  opacity: 0.3;
  color: var(--accent);
}
.feature-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 80%, black));
}
.feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.feature-card__desc {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--text-mid);
}

/* ══════════════════════════════════════════════════════════
   TIMELINE
══════════════════════════════════════════════════════════ */
.timeline { position: relative; }
.tl {
  display: flex;
  gap: 1rem;
  position: relative;
}
.tl__line {
  position: absolute;
  left: 1.25rem;
  top: 2.5rem;
  bottom: 0;
  width: 2px;
  background: color-mix(in srgb, var(--c) 25%, transparent);
}
.tl__dot {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 10;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  background: #fff;
  border: 2.5px solid var(--c);
  color: var(--c);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.tl__dot--done {
  background: var(--c);
  color: #fff;
}
.tl__body {
  flex: 1;
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid color-mix(in srgb, var(--c) 25%, transparent);
}
.tl__body--done {
  background: color-mix(in srgb, var(--c) 7%, transparent);
  box-shadow: 2px 3px 0 color-mix(in srgb, var(--c) 19%, transparent);
}
.tl__date {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c);
  margin-bottom: 0.25rem;
}
.tl__title {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.tl__desc {
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--text-mid);
}
.tl__link {
  display: inline-block;
  margin-top: 0.15rem;
  font-weight: 700;
  color: var(--c);
  text-decoration: none;
  border-bottom: 1.5px dotted color-mix(in srgb, var(--c) 55%, transparent);
}

/* ══════════════════════════════════════════════════════════
   RECRUIT
══════════════════════════════════════════════════════════ */
/* ─── 急募バナー（児童発達支援管理責任者） ───────────────── */
.urgent {
  position: relative;
  display: block;
  text-align: left;
  text-decoration: none;
  margin-bottom: 2rem;
  padding: 1.4rem 1.25rem 1.1rem;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #ffffff, #FFF5F2);
  border: 2px solid #F0A39A;
  box-shadow: 0 8px 26px rgba(225, 75, 90, 0.20), 3px 4px 0 rgba(225, 75, 90, 0.18);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.urgent::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #E14B5A, #F08C4F);
}
.urgent:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(225, 75, 90, 0.28), 3px 4px 0 rgba(225, 75, 90, 0.18); }
.urgent__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}
.urgent__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: #E14B5A;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(225, 75, 90, 0.45);
  animation: urgentPulse 1.6s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes urgentPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 2px 8px rgba(225, 75, 90, 0.45); }
  50% { transform: scale(1.06); box-shadow: 0 5px 18px rgba(225, 75, 90, 0.65); }
}
.urgent__role {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.urgent__desc {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 0.8rem;
}
.urgent__desc strong { color: #D23A4A; }
.urgent__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.urgent__chip {
  font-size: 0.7rem;
  font-weight: 700;
  color: #C0394A;
  background: rgba(225, 75, 90, 0.10);
  border: 1px solid rgba(225, 75, 90, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}
.urgent__cta {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #E14B5A, #F08C4F);
  padding: 0.65rem 1.15rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(225, 75, 90, 0.3);
}
.urgent:hover .urgent__cta { filter: brightness(1.05); }

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.role {
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.9);
  border: 1.5px solid color-mix(in srgb, var(--c) 25%, transparent);
  box-shadow: 2px 3px 0 color-mix(in srgb, var(--c) 19%, transparent);
  transition: transform 0.2s ease;
}
.role:hover { transform: translateY(-4px) scale(1.03); }
.role__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--c);
}
.role__title { font-size: 0.75rem; font-weight: 700; color: var(--text); text-align: center; }
.role__tag {
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-weight: 700;
  background: var(--bg);
  color: var(--c);
}

.detail {
  display: grid;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-mid);
}
.detail__block > div { line-height: 1.5; }
.detail__k { font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }

/* ══════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 24rem;
  margin: 0 auto;
  width: 100%;
}
.contact {
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  background: rgba(255,255,255,0.9);
  border: 1.5px solid color-mix(in srgb, var(--c) 21%, transparent);
  box-shadow: 2px 3px 0 color-mix(in srgb, var(--c) 15%, transparent);
  transition: transform 0.2s ease;
}
.contact:hover { transform: translateY(-4px) scale(1.02); }
.contact__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--c);
}
.contact__label { font-size: 0.75rem; font-weight: 700; color: var(--text); }
.contact__sub { font-size: 0.75rem; color: var(--text-light); word-break: break-all; text-align: center; }

.locate {
  margin-top: 1rem;
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,217,102,0.38);
  box-shadow: 2px 3px 0 rgba(255,217,102,0.25);
  text-align: left;
}
.locate__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255,217,102,0.3);
  color: var(--yellow-dark);
}
.locate__k { font-size: 0.75rem; font-weight: 700; color: var(--text); }
.locate__v { font-size: 0.75rem; color: var(--text-mid); }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  padding: 2rem 1rem;
  text-align: center;
  background: var(--deep-green);
}
.footer__logo {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  margin: 0 auto 0.75rem;
  mix-blend-mode: screen;
  filter: brightness(1.4);
}
.footer__name { font-size: 0.75rem; color: rgba(255,255,255,0.9); margin-bottom: 0.25rem; }
.footer__copy { font-size: 0.75rem; color: rgba(255,255,255,0.55); }

/* スマホでは追従CTAバーがフッター末尾に重ならないよう余白を確保 */
@media (max-width: 639px) {
  .footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px)); }
}

/* ══════════════════════════════════════════════════════════
   追従CTAバー（スマホのみ）
══════════════════════════════════════════════════════════ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0.5rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255,251,240,0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 2px solid rgba(123,198,126,0.38);
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.sticky-cta.is-shown { transform: translateY(0); }
.sticky-cta__row { display: flex; gap: 0.5rem; }
.sticky-cta .ico { width: 14px; height: 14px; }

/* PCでは非表示 */
@media (min-width: 640px) {
  .sticky-cta { display: none; }
}

/* ─── アニメーション（浮遊・バウンス） ─────────────────── */
.float { animation: floatY 3.5s ease-in-out infinite; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.bounce { animation: bounceY 1.8s ease-in-out infinite; }
@keyframes bounceY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* color-mix 非対応ブラウザ向けフォールバックは透過色で近似済み */
