/* =================================================
   Peace / Peace Second
   White × Orange Modern Style (Japan 2025–2026)
   ================================================= */

/* ---------- Root ---------- */
:root{
  /* Base */
  --white:#ffffff;
  --bg:#ffffff;
  --bg-soft:#fff7ec;      /* ごく薄いオレンジ */
  --text:#1a1a1a;
  --muted:rgba(26,26,26,.65);
  --line:rgba(0,0,0,.08);

  /* Accent (Orange) */
  --accent:#ffb703;
  --accent-2:#fb8500;

  /* UI */
  --radius-s:12px;
  --radius-m:18px;
  --radius-l:26px;

  --shadow-soft:0 8px 24px rgba(0,0,0,.08);
  --shadow-mid:0 14px 36px rgba(0,0,0,.12);

  --max-width:1100px;
}

/* ---------- Reset ---------- */
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family: system-ui,-apple-system,"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  line-height:1.8;
  letter-spacing:.02em;
  color:var(--text);
  background:var(--bg);
}

/* Skip link */
.skip{
  position:absolute;
  left:-9999px;
  top:-9999px;
}
.skip:focus{
  left:16px;
  top:16px;
  z-index:9999;
  background:#000;
  color:#fff;
  padding:8px 12px;
  border-radius:8px;
}

/* Container */
.container{
  width:min(var(--max-width),92vw);
  margin:0 auto;
}

/* =================================================
   HERO（写真だけ印象的）
   ================================================= */
.hero{
  position:relative;
  min-height:clamp(520px,70vh,720px);
  overflow:hidden;
  border-bottom-left-radius:var(--radius-l);
  border-bottom-right-radius:var(--radius-l);
}

/* Background image */
.hero__bg{
  position:absolute;
  inset:0;
  background-image:url("./images/hero.jpg");
  background-size:cover;
  background-position:center;
  filter:brightness(.82) saturate(1.05);
  transform:scale(1.03);
}

/* Overlay */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.10) 0%,
      rgba(0,0,0,.35) 55%,
      rgba(0,0,0,.55) 100%
    );
}

/* Hero content */
.hero__content{
  position:relative;
  z-index:1;
  padding:clamp(28px,5vw,64px) 0 40px;
  color:#fff;
}

/* Badge */
.badge{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.85);
  color:#333;
  font-size:12px;
  font-weight:600;
}

/* Title */
.hero__title{
  margin:14px 0 10px;
  font-size:clamp(28px,4.2vw,48px);
  line-height:1.15;
}
.hero__title span{font-weight:800;}

.hero__lead{
  max-width:720px;
  font-size:clamp(15px,1.6vw,18px);
  margin-bottom:18px;
}

/* CTA */
.hero__cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:22px;
}

/* Mini cards */
.hero__cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  max-width:520px;
}
.mini{
  background:rgba(255,255,255,.9);
  border-radius:16px;
  padding:12px;
  text-align:center;
  box-shadow:var(--shadow-soft);
}
.mini__k{font-size:11px;color:#666;}
.mini__v{font-size:16px;font-weight:800;}

/* =================================================
   NAV（白・固定）
   ================================================= */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  background:#fff;
  border-bottom:1px solid var(--line);
}
.nav__inner{
  display:flex;
  gap:18px;
  padding:12px 0;
  overflow-x:auto;
}
.nav a{
  color:#333;
  text-decoration:none;
  font-size:14px;
  padding:6px 10px;
}
.nav a:hover{
  color:var(--accent-2);
}

/* =================================================
   BUTTONS
   ================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
}
.btn--primary{
  color:#2b1400;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  box-shadow:0 10px 28px rgba(251,133,0,.25);
}
.btn--primary:hover{opacity:.9;}
.btn--ghost{
  color:#333;
  border:1px solid var(--line);
  background:#fff;
}
.btn--ghost:hover{
  border-color:var(--accent);
  color:var(--accent-2);
}

/* =================================================
   MAIN / SECTION
   ================================================= */
.site-main{
  padding:56px 0 88px;
}

/* Section */
.section{
  margin-top:40px;
}
.section__head{
  margin-bottom:20px;
}
.section__head h2{
  margin:0 0 6px;
  font-size:clamp(22px,2.6vw,30px);
}
.section__head p{
  margin:0;
  color:var(--muted);
  max-width:72ch;
}

/* Cards */
.card{
  background:#fff;
  border-radius:var(--radius-m);
  padding:22px;
  box-shadow:var(--shadow-soft);
}
.card h3{margin:0 0 8px;}
.card p:last-child{margin-bottom:0;}

.note{
  background:var(--bg-soft);
  border-radius:var(--radius-m);
  padding:18px;
  margin-top:18px;
}

/* Layout */
.grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}
.grid--3{grid-template-columns:repeat(3,1fr);}
.stack{display:grid;gap:18px;}

.list{padding-left:1.1em;}
.list li{margin:6px 0;}
.muted{color:var(--muted);}

/* Definition List */
.dl{
  display:grid;
  gap:10px;
  margin-top:12px;
}
.dl div{
  display:grid;
  grid-template-columns:80px 1fr;
  background:#fafafa;
  padding:10px 12px;
  border-radius:12px;
}
.dl dt{font-weight:700;}
.dl dd{margin:0;}

/* Links */
.link{
  display:inline-block;
  padding:12px 14px;
  border-radius:14px;
  background:#fafafa;
  text-decoration:none;
  font-weight:700;
}
.links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}
.links a{
  padding:8px 12px;
  border-radius:999px;
  background:#fafafa;
  font-size:13px;
  text-decoration:none;
}

/* Actions */
.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:12px;
}

/* =================================================
   FOOTER（明るめ）
   ================================================= */
.footer{
  margin-top:56px;
  padding:36px 0 48px;
  background:var(--bg-soft);
  border-top:1px solid var(--line);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:16px;
}
.footer__copy{
  color:#555;
  font-size:12px;
}
.footer__top{
  color:#333;
  text-decoration:none;
  font-size:12px;
  padding:8px 12px;
  border-radius:999px;
  background:#ffe0b2;
}

/* =================================================
   RESPONSIVE
   ================================================= */
@media(max-width:960px){
  .grid--3{grid-template-columns:1fr;}
}
@media(max-width:760px){
  .grid{grid-template-columns:1fr;}
  .hero__cards{grid-template-columns:1fr 1fr;}
  .footer__inner{flex-direction:column;}
}
@media(max-width:420px){
  .hero__cards{grid-template-columns:1fr;}
}



/* --- HEROの統計カード：白背景で文字が白にならないように固定 --- */
.stat{
  background: rgba(255,255,255,.92);
  color: #222;                 /* これが効きます */
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  text-align: center;
}

.stat__k{
  color: #666;                 /* ラベル（定員/対象/地域） */
  font-size: 11px;
}

.stat__v{
  color: #111;                 /* 値（10名/日、小1〜高3、宗像市） */
  font-size: 16px;
  font-weight: 900;
}


/* ===== ヒーローの「定員/対象/地域」(mini) を黒字にする ===== */
.hero__cards .mini{
  background: rgba(255,255,255,.92);
  color: #111;            /* mini全体の文字色を固定 */
}

.hero__cards .mini__k{
  color: #666;
}

.hero__cards .mini__v{
  color: #111;
  font-weight: 900;
}

/* ===== ヒーロー内ミニナビ（クリックできるナビゲーション） ===== */
.hero__cards .mini{
  display: block;
  text-decoration: none;      /* aタグの下線を消す */
  background: rgba(255,255,255,.92);
  color: #111;
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.hero__cards .mini:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,.16);
  background: #ffffff;
}

.hero__cards .mini__k{
  font-size: 11px;
  color: #666;
}

.hero__cards .mini__v{
  font-size: 16px;
  font-weight: 900;
  color: #111;
}


/* miniをリンクにしたときの見た目（下線消し＋ホバー） */
.hero__cards .mini{
  display:block;
  text-decoration:none;
  color:#111;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.hero__cards .mini:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-mid);
  background: rgba(255,255,255,.98);
}

