/* ===== 配色（カラーカードとロゴの色をもとにした配色） ===== */
:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --surface-soft: #F6F1EA;
  --band: #F3EEE7;
  --placeholder: #EDE6DC;
  --text: #3B3530;
  --text-muted: #605850;
  --step-num: #8A8079;
  --accent: #2D6AA8;
  --accent-soft: #E7EFFA;
  --tag-green: #C3DEC8;
  --tag-blue: #C8D8F6;
  --on-dark: #FBF8F3;
  --on-dark-muted: #E2DBD2;
  --shadow: 0 12px 30px rgba(43, 42, 40, 0.12);
  --font-body: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --font-display: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', var(--font-body);
}

/* ===== 基本 ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; line-height: 1.4; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 80px; }
.section { padding: 0 0 120px; }
.section-tight { padding-bottom: 100px; }
.muted { color: var(--text-muted); }
.small { font-size: 14px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.2em; color: var(--accent); }

/* ===== ボタン ===== */
.btn {
  min-height: 56px; padding: 0 30px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: 999px; font-size: 17px; font-weight: 700;
}
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { color: #FFFFFF; background: #245A91; }
.btn-outline { border: 1.5px solid var(--text); }
.btn-small { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn-large { min-height: 64px; padding: 0 40px; font-size: 18px; }
.btn-light { background: var(--on-dark); color: var(--text); font-size: 16px; }
.btn-ghost-light { border: 1.5px solid var(--on-dark); color: var(--on-dark); font-size: 16px; }
.btn-ghost-light:hover { color: var(--on-dark); background: rgba(255, 255, 255, 0.08); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; }

/* ===== ヘッダー ===== */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(251, 248, 243, 0.94); backdrop-filter: blur(6px); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 40px; width: auto; }
.global-nav { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 500; }
.global-nav .btn-primary { color: #FFFFFF; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--text); align-items: center; justify-content: center; cursor: pointer; }

/* ===== ファーストビュー ===== */
.hero-inner { min-height: 720px; padding-top: 40px; padding-bottom: 40px; display: flex; align-items: center; gap: 40px; }
.hero-text { flex: 1 1 0; display: flex; flex-direction: column; gap: 32px; }
.hero h1 { font-size: 68px; line-height: 1.3; letter-spacing: 0.02em; }
.lead { font-size: 19px; line-height: 2; color: var(--text-muted); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-art { position: relative; flex: 0 0 auto; width: min(600px, 46%); aspect-ratio: 600 / 560; }
.fan { position: absolute; width: 26.67%; height: 46.43%; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }
.fan-1 { left: 9.17%;  top: 26.79%; transform: rotate(-16deg); }
.fan-2 { left: 24.17%; top: 16.07%; transform: rotate(-7deg); }
.fan-3 { left: 40.83%; top: 10.71%; transform: rotate(3deg); }
.fan-4 { left: 57.5%;  top: 16.07%; transform: rotate(12deg); }
.bubble {
  position: absolute; left: 12%; top: 58.93%; width: 76%;
  padding: 28px 24px; border-radius: 32px; background: var(--surface);
  box-shadow: 0 18px 40px rgba(43, 42, 40, 0.16);
}
.bubble::after {
  content: ""; position: absolute; left: 19%; bottom: -14px; width: 32px; height: 32px;
  background: var(--surface); transform: rotate(45deg); border-radius: 4px;
}
.bubble p { position: relative; z-index: 1; font-family: var(--font-display); font-size: clamp(18px, 1.9vw, 27px); font-weight: 700; line-height: 1.6; text-align: center; }

/* ===== 次回イベント ===== */
#next { padding-top: 40px; }
.next-card { padding: 56px 64px; border-radius: 32px; background: var(--surface); display: flex; gap: 64px; }
.next-intro { flex: 0 0 400px; display: flex; flex-direction: column; gap: 20px; }
.next-intro h2 { font-size: 38px; }
.next-intro p { font-size: 16px; line-height: 1.9; }
.badge { align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 0.12em; }
.next-detail { flex: 1 1 0; display: flex; flex-direction: column; gap: 28px; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.info { padding: 20px 24px; border-radius: 16px; background: var(--surface-soft); display: flex; gap: 14px; align-items: center; }
.info svg { flex-shrink: 0; }
.info dt { font-size: 13px; color: var(--text-muted); }
.info dd { font-size: 18px; font-weight: 700; line-height: 1.5; }
.entry { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ===== おしゃべり会の流れ ===== */
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
.section-head h2 { font-size: 44px; }
.section-head.center { align-items: center; text-align: center; }
.section-head.center p { font-size: 17px; }
.section-head.split { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head.split > div { display: flex; flex-direction: column; gap: 12px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.step { padding: 40px 36px; border-radius: 24px; background: var(--surface); display: flex; flex-direction: column; gap: 20px; }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num { font-family: var(--font-display); font-size: 52px; font-weight: 700; line-height: 1; color: var(--step-num); }
.step-card { width: 50px; height: 80px; object-fit: cover; border-radius: 6px; }
.tilt-l { transform: rotate(-6deg); }
.tilt-r { transform: rotate(4deg); }
.tilt-s { transform: rotate(-3deg); }
.step h3 { font-size: 24px; }
.step p { font-size: 16px; line-height: 1.9; }

/* ===== これまでのイベント ===== */
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.event { border-radius: 24px; background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.event:hover h3 { color: var(--accent); }
.event-media { height: 220px; }
.stripes { display: flex; }
.stripes img { flex: 1 1 0; width: 33.33%; height: 100%; object-fit: cover; }
.placeholder { display: flex; align-items: center; justify-content: center; background: var(--placeholder); color: var(--text-muted); font-size: 15px; }
.event-body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 12px; color: var(--text); }
.event-body h3 { font-size: 22px; line-height: 1.5; }
.event-body p { font-size: 15px; line-height: 1.8; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 700; }
.tag { padding: 4px 12px; border-radius: 999px; background: var(--surface-soft); }
.tag-dark { background: var(--text); color: #FFFFFF; }
.tag-green { background: var(--tag-green); }
.tag-blue { background: var(--tag-blue); }

/* ===== 活動規範 ===== */
.band { background: var(--band); padding: 100px 0; margin-bottom: 0; }
.safe-inner { display: flex; gap: 80px; }
.safe-intro { flex: 0 0 440px; display: flex; flex-direction: column; gap: 20px; }
.safe-intro h2 { font-size: 40px; line-height: 1.5; }
.safe-intro p { font-size: 16px; }
.promise-grid { flex: 1 1 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-content: start; }
.promise { padding: 28px 32px; border-radius: 20px; background: var(--surface); display: flex; gap: 18px; align-items: center; font-size: 18px; font-weight: 700; line-height: 1.5; }
.bar { width: 14px; height: 44px; border-radius: 4px; flex-shrink: 0; }

/* ===== カラーカード ===== */
#card { padding-top: 120px; }
.card-inner { display: flex; gap: 80px; align-items: center; }
.card-grid {
  flex: 0 0 560px; height: 360px; padding: 36px; border-radius: 28px; background: var(--surface);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.card-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.card-text { flex: 1 1 0; display: flex; flex-direction: column; gap: 20px; }
.card-text h2 { font-size: 40px; line-height: 1.5; }
.card-text p { font-size: 16px; line-height: 1.9; }

/* ===== SNS ===== */
.follow { padding: 64px; border-radius: 32px; background: var(--text); color: var(--on-dark); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.follow h2 { font-size: 34px; margin-bottom: 14px; }
.follow p { font-size: 16px; color: var(--on-dark-muted); }
.follow-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== フッター ===== */
.site-footer { padding: 56px 0; background: var(--band); }
.site-footer .container { display: flex; flex-direction: column; gap: 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }

/* ===== タブレット・スマホ（959px以下） ===== */
@media (max-width: 959px) {
  .container { padding: 0 20px; }
  .section { padding-bottom: 64px; }

  .header-inner { height: 64px; }
  .logo img { height: 30px; }
  .menu-button { display: inline-flex; }
  .global-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    background: var(--bg); box-shadow: 0 12px 20px rgba(43, 42, 40, 0.08);
  }
  .global-nav.is-open { display: flex; }
  .global-nav a { padding: 14px 4px; }
  .global-nav .btn { margin-top: 8px; padding: 0 22px; }

  .hero-inner { min-height: 0; flex-direction: column-reverse; align-items: stretch; gap: 24px; padding-top: 16px; padding-bottom: 48px; }
  .hero-text { gap: 24px; }
  .hero h1 { font-size: 40px; line-height: 1.35; }
  .lead { font-size: 15px; line-height: 1.9; }
  .hero-actions .btn { width: 100%; }
  .hero-art { width: 100%; max-width: 420px; margin: 0 auto; }
  .bubble { left: 14%; width: 72%; padding: 18px 16px; border-radius: 24px; }
  .bubble::after { width: 22px; height: 22px; bottom: -10px; border-radius: 3px; }
  .bubble p { font-size: clamp(16px, 4.6vw, 22px); }
  .eyebrow { font-size: 12px; }

  #next { padding-top: 0; }
  .next-card { flex-direction: column; gap: 18px; padding: 28px 22px; border-radius: 24px; }
  .next-intro { flex-basis: auto; gap: 18px; }
  .next-intro h2 { font-size: 25px; }
  .next-intro p { font-size: 14px; }
  .info-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .info { padding: 14px 16px; border-radius: 12px; }
  .info dd { font-size: 15px; }
  .entry { flex-direction: column; align-items: stretch; gap: 12px; }
  .entry .btn { width: 100%; }
  .entry p { text-align: center; }

  .section-head { margin-bottom: 24px; gap: 10px; }
  .section-head h2 { font-size: 27px; }
  .section-head.center { align-items: flex-start; text-align: left; }
  .section-head.center p { font-size: 14px; }
  .section-head.split { flex-direction: column; align-items: flex-start; margin-bottom: 20px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .step { padding: 22px; border-radius: 18px; gap: 10px; }
  .step-num { font-size: 36px; }
  .step-card { width: 36px; height: 58px; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 14px; }

  .event-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .event { border-radius: 18px; }
  .event-media { height: 140px; }
  .event-body { padding: 18px 20px 22px; gap: 8px; }
  .event-body h3 { font-size: 18px; }
  .event-body p { font-size: 13px; }

  .band { padding: 56px 0; }
  .safe-inner { flex-direction: column; gap: 20px; }
  .safe-intro { flex-basis: auto; }
  .safe-intro h2 { font-size: 25px; }
  .promise-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .promise { padding: 16px 18px; border-radius: 14px; font-size: 15px; gap: 14px; }
  .bar { width: 10px; height: 30px; }

  #card { padding-top: 64px; }
  .card-inner { flex-direction: column; align-items: stretch; gap: 20px; }
  .card-grid { flex-basis: auto; height: auto; aspect-ratio: 350 / 180; padding: 20px; border-radius: 20px; gap: 8px; }
  .card-text h2 { font-size: 25px; }
  .card-text p { font-size: 14px; }

  .section-tight { padding-bottom: 56px; }
  .follow { flex-direction: column; align-items: stretch; padding: 32px 24px; border-radius: 24px; gap: 16px; }
  .follow h2 { font-size: 22px; margin-bottom: 10px; }
  .follow p { font-size: 14px; }
  .follow-actions { flex-direction: column; }
  .follow-actions .btn { width: 100%; }

  .site-footer { padding: 40px 0; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .footer-nav a { padding: 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
