@charset "UTF-8";

/* =========================================================
   氷川台こどもの居場所サイト  共通スタイル
   ふんわり・あたたかい雰囲気 / 静的サイト
   ========================================================= */

:root {
  /* ベースカラー */
  --cream: #fffaf2;
  --cream-deep: #fdf1e0;
  --ink: #4a3f35;
  --ink-soft: #7a6c5d;
  --line: #efe3d2;
  --white: #ffffff;

  /* てんぐちゃんち = あたたかいオレンジ */
  --tengu: #ef7d3a;
  --tengu-deep: #d75f1c;
  --tengu-soft: #fdebdd;

  /* だるまちゃんち = やさしい赤 */
  --daruma: #e25563;
  --daruma-deep: #c43d4c;
  --daruma-soft: #fbe2e4;

  /* アクセント */
  --leaf: #7ab55c;
  --sky: #5aa9d6;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(120, 90, 50, 0.10);
  --shadow-soft: 0 6px 18px rgba(120, 90, 50, 0.08);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--tengu-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(92%, var(--maxw)); margin-inline: auto; }

.section { padding: 72px 0; }
.section--tint { background: var(--cream-deep); }

/* ---- 見出し ---- */
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .ja {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: .04em;
}
.section-head .en {
  display: block;
  font-size: .8rem;
  letter-spacing: .25em;
  color: var(--tengu);
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.section-head .lead {
  margin: 14px auto 0;
  max-width: 640px;
  color: var(--ink-soft);
}

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 40px; height: 40px; flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tengu), var(--daruma));
  display: grid; place-items: center;
  color: #fff; font-size: 1.2rem;
  box-shadow: var(--shadow-soft);
}
.brand__text small { display: block; font-size: .68rem; color: var(--ink-soft); font-weight: 600; letter-spacing: .02em; }
.brand__text strong { font-size: 1.02rem; letter-spacing: .03em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink);
  font-weight: 700;
  font-size: .92rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--tengu-soft); color: var(--tengu-deep); text-decoration: none; }
.nav a.is-cta {
  background: var(--tengu);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.nav a.is-cta:hover { background: var(--tengu-deep); }

.nav-toggle {
  display: none;
  border: 0; background: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 12px;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   ヒーロー
   ========================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(900px 360px at 12% -8%, var(--tengu-soft), transparent 60%),
    radial-gradient(820px 360px at 92% 0%, var(--daruma-soft), transparent 60%),
    var(--cream);
  padding: 86px 0 70px;
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--tengu-deep);
  border: 1px solid var(--line);
  padding: 7px 16px; border-radius: 999px;
  font-weight: 700; font-size: .82rem; box-shadow: var(--shadow-soft);
}
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.45;
  margin: 20px 0 14px;
  letter-spacing: .02em;
}
.hero h1 .accent { color: var(--tengu-deep); }
.hero h1 .accent2 { color: var(--daruma-deep); }
.hero__lead { color: var(--ink-soft); font-size: 1.05rem; max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero__art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  background:
    radial-gradient(circle at 30% 30%, #fff, transparent 40%),
    linear-gradient(150deg, var(--tengu-soft), var(--daruma-soft));
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
}
.hero__art .faces { font-size: clamp(3.5rem, 10vw, 6rem); line-height: 1; }
.hero__art .caption { position: absolute; bottom: 18px; font-size: .8rem; color: var(--ink-soft); font-weight: 700; }

/* 雲のような区切り */
.wave { display: block; width: 100%; height: 60px; }

/* =========================================================
   ボタン
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 800; font-size: .96rem;
  border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--tengu { background: var(--tengu); color: #fff; box-shadow: var(--shadow-soft); }
.btn--tengu:hover { background: var(--tengu-deep); }
.btn--daruma { background: var(--daruma); color: #fff; box-shadow: var(--shadow-soft); }
.btn--daruma:hover { background: var(--daruma-deep); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--tengu); color: var(--tengu-deep); }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }

/* =========================================================
   「ほぼ毎週日曜」訴求バンド
   ========================================================= */
.weekly {
  background: linear-gradient(135deg, var(--tengu), var(--daruma));
  color: #fff; text-align: center;
  padding: 30px 0;
}
.weekly p { margin: 0; font-size: clamp(1.05rem, 3vw, 1.5rem); font-weight: 800; letter-spacing: .03em; }
.weekly span { background: rgba(255,255,255,.22); padding: 2px 12px; border-radius: 999px; }

/* =========================================================
   こんなときに（対象者向け）
   ========================================================= */
.audience {
  background:
    radial-gradient(700px 300px at 0% 0%, var(--tengu-soft), transparent 60%),
    radial-gradient(700px 300px at 100% 100%, var(--daruma-soft), transparent 60%),
    var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 36px;
  max-width: 880px;
  margin-inline: auto;
}
.audience h3 { margin: 0 0 18px; font-size: 1.25rem; text-align: center; }
.audience ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.audience li {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border-radius: var(--radius-sm); padding: 14px 18px;
  border: 1px solid var(--line);
}
.audience li .ic { font-size: 1.3rem; line-height: 1.5; flex: none; }
.audience li b { color: var(--tengu-deep); }
.audience__foot { text-align: center; margin: 22px 0 0; color: var(--ink-soft); font-weight: 700; }

/* =========================================================
   2つの居場所カード
   ========================================================= */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.place-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.place-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(120,90,50,.16); }
.place-card__top {
  padding: 30px 28px 24px;
  color: #fff;
  position: relative;
}
.place-card--tengu .place-card__top { background: linear-gradient(135deg, var(--tengu), var(--tengu-deep)); }
.place-card--daruma .place-card__top { background: linear-gradient(135deg, var(--daruma), var(--daruma-deep)); }
.place-card__emoji { font-size: 2.6rem; line-height: 1; }
.place-card__top h3 { margin: 10px 0 4px; font-size: 1.5rem; letter-spacing: .03em; }
.place-card__top .sub { font-size: .85rem; opacity: .95; font-weight: 600; }
.place-card__body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }

.facts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.facts li { display: grid; grid-template-columns: 86px 1fr; gap: 10px; align-items: baseline; }
.facts .k {
  font-size: .78rem; font-weight: 800; color: var(--ink-soft);
  background: var(--cream-deep); border-radius: 8px; padding: 3px 8px; text-align: center;
}
.place-card--tengu .facts .k { background: var(--tengu-soft); color: var(--tengu-deep); }
.place-card--daruma .facts .k { background: var(--daruma-soft); color: var(--daruma-deep); }
.facts .v { font-weight: 600; }
.place-card__note { color: var(--ink-soft); font-size: .92rem; margin: 0 0 22px; }
.place-card__cta { margin-top: auto; }

/* =========================================================
   開所カレンダー（曜日まとめ）
   ========================================================= */
.schedule { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin-inline: auto; }
.sched-card {
  background: #fff; border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line); text-align: center;
}
.sched-card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.sched-card .badge {
  display: inline-block; font-size: .78rem; font-weight: 800; color: #fff;
  padding: 4px 14px; border-radius: 999px; margin-bottom: 14px;
}
.sched-card--tengu .badge { background: var(--tengu); }
.sched-card--daruma .badge { background: var(--daruma); }
.sched-card .big { font-size: 1.4rem; font-weight: 800; margin: 0; }
.sched-card .time { color: var(--ink-soft); font-weight: 700; margin-top: 6px; }
.sched-note { text-align: center; margin-top: 26px; color: var(--ink-soft); font-size: .92rem; }

/* =========================================================
   アクセス
   ========================================================= */
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.access__info { display: flex; flex-direction: column; justify-content: center; }
.access__info h3 { margin: 0 0 4px; font-size: 1.3rem; }
.access__addr { font-size: 1.1rem; font-weight: 700; }
.access__list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: var(--ink-soft); }
.access__list li::before { content: "🚃"; margin-right: 8px; }
.access__map {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 6px solid #fff; min-height: 320px;
}
.access__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* =========================================================
   運営者情報
   ========================================================= */
.org { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: center; }
.org__card {
  background: #fff; border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line);
}
.org__card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; }
.org__card dt { font-weight: 800; color: var(--ink-soft); font-size: .9rem; white-space: nowrap; }
.org__card dd { margin: 0; font-weight: 600; }

/* =========================================================
   お問い合わせ
   ========================================================= */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 820px; margin: 0 auto; }
.contact-card {
  background: #fff; border-radius: var(--radius); padding: 28px 22px; text-align: center;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line);
  transition: transform .2s;
}
.contact-card:hover { transform: translateY(-3px); }
.contact-card .ic { font-size: 2rem; }
.contact-card h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.contact-card p { margin: 0; color: var(--ink-soft); font-weight: 700; font-size: .98rem; word-break: break-all; }
.contact-card a { font-weight: 800; }
.contact-note { text-align: center; color: var(--ink-soft); margin: 0 auto 36px; max-width: 600px; }

/* =========================================================
   フッター
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: #f4ece1;
  padding: 48px 0 28px;
  margin-top: 8px;
}
.site-footer a { color: #ffd9b8; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer__brand strong { font-size: 1.1rem; }
.footer__brand small { display: block; color: #c9bbac; margin-top: 6px; font-size: .85rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: start; }
.footer__nav a { color: #f4ece1; font-weight: 600; font-size: .92rem; }
.footer__copy {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  text-align: center; color: #c9bbac; font-size: .82rem;
}

/* =========================================================
   下層ページ（てんぐ / だるま）共通
   ========================================================= */
.page-hero { padding: 70px 0 48px; text-align: center; }
.page-hero--tengu { background: radial-gradient(700px 300px at 50% -20%, var(--tengu-soft), transparent 70%), var(--cream); }
.page-hero--daruma { background: radial-gradient(700px 300px at 50% -20%, var(--daruma-soft), transparent 70%), var(--cream); }
.page-hero .emoji { font-size: 3.4rem; }
.page-hero h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 12px 0 8px; letter-spacing: .03em; }
.page-hero .tagline { color: var(--ink-soft); font-size: 1.05rem; }
.breadcrumb { font-size: .82rem; color: var(--ink-soft); margin-bottom: 8px; }
.breadcrumb a { color: var(--ink-soft); }

.prose { max-width: 760px; margin-inline: auto; }
.prose h2 {
  font-size: 1.4rem; margin: 0 0 16px; padding-left: 14px; position: relative;
}
.prose h2::before {
  content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 6px; border-radius: 4px;
}
.page--tengu .prose h2::before { background: var(--tengu); }
.page--daruma .prose h2::before { background: var(--daruma); }
.prose p { margin: 0 0 16px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 8px 0 0; }
.feature {
  background: #fff; border-radius: var(--radius-sm); padding: 22px; text-align: center;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line);
}
.feature .ic { font-size: 2.2rem; }
.feature h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

.info-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-soft);
}
.info-table th, .info-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 150px; background: var(--cream-deep); font-weight: 800; color: var(--ink-soft); }
.page--tengu .info-table th { background: var(--tengu-soft); color: var(--tengu-deep); }
.page--daruma .info-table th { background: var(--daruma-soft); color: var(--daruma-deep); }

.callout {
  border-radius: var(--radius-sm); padding: 22px 24px; margin: 0;
  display: flex; gap: 14px; align-items: flex-start;
}
.page--tengu .callout { background: var(--tengu-soft); }
.page--daruma .callout { background: var(--daruma-soft); }
.callout .ic { font-size: 1.6rem; line-height: 1; }
.callout p { margin: 0; }

.photo-placeholder {
  border-radius: var(--radius-sm); aspect-ratio: 16 / 9; display: grid; place-items: center;
  color: var(--ink-soft); font-weight: 700; font-size: .9rem; text-align: center; padding: 16px;
  border: 2px dashed var(--line);
}
.page--tengu .photo-placeholder { background: var(--tengu-soft); }
.page--daruma .photo-placeholder { background: var(--daruma-soft); }

.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    background: var(--cream);
    flex-direction: column; align-items: stretch;
    padding: 14px 20px 24px; gap: 6px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform .3s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 12px 16px; font-size: 1rem; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 320px; margin: 0 auto; }

  .places, .schedule, .access, .org { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .org { gap: 24px; }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .info-table th { width: 110px; padding: 14px; }
  .info-table td { padding: 14px; }
}
