/* style.css（全文） */
:root{
  --bg:#ffffff;
  --ink:#10201a;
  --muted:#586a63;
  --line:#e7efe9;

  --brand:#0f7b5f;
  --brand2:#ff7a1a;

  --soft:#f2fbf7;
  --alt:#f7f9fb;

  --shadow: 0 18px 50px rgba(16,32,26,.10);
  --shadow2: 0 10px 26px rgba(0,0,0,.06);

  --r16:16px;
  --r22:22px;
  --r28:28px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Arial;
  color:var(--ink);
  background:var(--bg);
  overflow-x:hidden;
}

img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
button{font:inherit}

.wrap{width:min(1100px, 92vw); margin-inline:auto}

/* 表示切替 */
.only-mobile{display:none;}
.only-desktop{display:block;}

/* ===== Header ===== */
.topbar{
  position:sticky;
  top:0;
  z-index:9999;
  background:rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
}
.brand__org{
  font-weight:950;
  letter-spacing:.02em;
  line-height:1.2;
}

.nav{display:flex; align-items:center; gap:10px;}
.nav__link{
  font-weight:900;
  color:#1d2b26;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  transition:.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav__link:hover{opacity:.9}
.nav__link:active{transform:translateY(1px)}
.nav__link[href="#apply"]{
  background: linear-gradient(135deg, var(--brand), #18a37f);
  color:#fff;
  border-color: rgba(15,123,95,.18);
  box-shadow: 0 12px 26px rgba(15,123,95,.20);
}

.nav__menu{
  display:none;
  width:44px; height:40px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  padding:10px;
  cursor:pointer;
  gap:5px;
  -webkit-tap-highlight-color: transparent;
}
.nav__menu span{
  display:block;
  height:2px;
  background:#1b2a25;
  border-radius:999px;
}

.mobileMenu{
  border-top:1px solid var(--line);
  padding:10px 0 14px;
  background:rgba(255,255,255,.98);
}
.mobileMenu a{
  display:block;
  padding:10px 0;
  font-weight:900;
  color:#163129;
}
.mobileMenu a.btn{margin-top:6px}

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  border-radius:999px;
  border:1px solid transparent;
  padding:12px 16px;
  font-weight:950;
  cursor:pointer;
  transition:.18s ease;
  user-select:none;
  -webkit-tap-highlight-color: transparent;
}
.btn__icon{width:22px; height:22px}
.btn--primary{
  background:linear-gradient(135deg, var(--brand), #18a37f);
  color:#fff;
  box-shadow: 0 14px 30px rgba(15,123,95,.22);
}
.btn--primary:hover{transform:translateY(-1px); filter:saturate(1.05)}
.btn--primary:active{transform:translateY(1px)}
.btn--soft{
  background:#fff;
  border-color:var(--line);
  color:#133427;
}
.btn--soft:hover{transform:translateY(-1px); box-shadow:0 14px 28px rgba(0,0,0,.07)}
.btn--soft:active{transform:translateY(1px)}
.btn--xl{padding:14px 18px}
.btn--xxl{padding:16px 18px; width:100%}

/* ===== Hero ===== */
.hero{
  position:relative;
  padding:18px 0 26px;
  overflow:hidden;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:22px;
  align-items:start;
}

.hero__pills{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-bottom:10px;
}
.pill{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  font-weight:950;
  border:1px solid var(--line);
  background:#fff;
  -webkit-tap-highlight-color: transparent;
}
.pill--free{
  background:rgba(255,122,26,.12);
  border-color:rgba(255,122,26,.25);
}
.pill--cap{
  background:var(--soft);
  border-color:#d9efe6;
}
.pill__img{width:34px; height:auto}
.pill__txt{white-space:nowrap}
.pill--ghost{background:transparent}
.pill--ghost:active{transform:translateY(1px)}

.hero__titleImg{
  width:min(520px, 100%);
  height:auto;
  margin:6px 0 10px;
}

.hero__lead{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.75;
  font-size:16px;
}

/* ===== Hero Art（背景なし） ===== */
.heroArt{
  position:relative;
  border-radius:var(--r28);
  border:1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow);
  padding:14px;
  overflow:hidden;
}
.heroArt--mobile{
  margin:10px 0 14px; /* タイトル画像の直下に程よい余白 */
}

.heroArt__float{
  position:absolute;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.12));
  pointer-events:none;
}
.heroArt__pointer{
  width:92px;
  left:-6px;
  bottom:-12px;
  opacity:.95;
}

/* Flyer */
.heroFlyer{
  display:block;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:#fff;
}
.heroFlyer--mobile{
  margin-top:0;
}
.heroFlyer img{width:100%; height:auto}
.heroFlyer__btn{
  width:calc(100% - 18px);
  margin:10px auto 12px;
  display:block;
  border:none;
  border-radius:999px;
  padding:12px 14px;
  font-weight:950;
  background:rgba(16,32,26,.84);
  color:#fff;
  cursor:pointer;
  -webkit-tap-highlight-color: transparent;
}
.heroFlyer__btn:hover{filter:brightness(1.05)}
.heroFlyer__btn:active{transform:translateY(1px)}

/* ===== Event Card ===== */
.eventCard{
  border:1px solid var(--line);
  border-radius:var(--r22);
  padding:14px;
  background:#fff;
  box-shadow: var(--shadow);
}
.eventCard__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.kv{
  padding:10px 12px;
  border-radius:14px;
  background:var(--soft);
  border:1px solid #def2ea;
}
.kv__label{
  font-size:12px;
  font-weight:950;
  color:#3d5b50;
  margin-bottom:4px;
}
.kv__value{
  font-size:15px;
  font-weight:950;
  line-height:1.4;
}
.hero__cta{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top:12px;
}
.hero__note{
  margin:10px 0 0;
  font-size:12px;
  color:#6b7c75;
}

/* 後援帯：スマホ崩れ対策 */
.support{
  margin-top:12px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow2);
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  line-height:1.4;
}
.support__label{
  font-weight:950;
  white-space:nowrap;
}
.support__value{
  color:#2a3a34;
  font-weight:850;
  word-break:break-word;
}

/* ===== Sections ===== */
.section{padding:54px 0}
.section--alt{
  background:var(--alt);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.sectionHead h2{
  margin:0 0 6px;
  font-size:28px;
  letter-spacing:.01em;
}
.sectionHead p{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.7;
}

.cards3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin:18px 0 18px;
}
.card{
  border:1px solid var(--line);
  border-radius:var(--r22);
  padding:18px;
  background:#fff;
  box-shadow: var(--shadow2);
}
.card__icon{font-size:22px}
.card h3{margin:10px 0 8px; font-size:18px}
.card p{margin:0; color:var(--muted); line-height:1.7}

.twoCol{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.panel{
  border:1px solid var(--line);
  border-radius:var(--r22);
  padding:18px;
  background:#fff;
  box-shadow: var(--shadow2);
}
.panel h3{margin:0 0 10px}
.panel ul{margin:0; padding-left:18px; line-height:1.9; color:#2c3e37}
.miniInfo{
  margin-top:12px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid #dbeee6;
  background:var(--soft);
  font-weight:900;
}

/* ===== Timeline ===== */
.timeline{
  border:1px solid var(--line);
  border-radius:var(--r22);
  background:#fff;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.tl{
  display:grid;
  grid-template-columns: 96px 1fr;
  gap:12px;
  padding:16px;
  border-bottom:1px solid var(--line);
}
.tl:last-child{border-bottom:none}
.tl__time{font-weight:950; color:#173a2c}
.tl__title{font-weight:950; margin-bottom:4px}
.tl__desc{color:var(--muted); line-height:1.7}
.tl--hl{
  background: linear-gradient(90deg, rgba(15,123,95,.08), rgba(255,122,26,.05));
}

.centerRow{margin-top:14px}

/* ===== Apply ===== */
.apply{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:14px;
  border:1px solid var(--line);
  border-radius:var(--r28);
  background:#fff;
  box-shadow: var(--shadow);
  padding:18px;
}
.apply__lead{color:var(--muted); line-height:1.7; margin-top:8px}
.apply__note{margin:10px 0 0; color:#6b7c75; font-size:12px}

.steps{display:grid; gap:10px; margin:12px 0 14px}
.step{
  display:flex; align-items:center; gap:10px;
  padding:12px;
  border-radius:14px;
  background:var(--soft);
  border:1px solid #def2ea;
  font-weight:950;
}
.step span{
  width:26px; height:26px;
  border-radius:999px;
  background:var(--brand);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
}

.flyerBox{
  position:relative;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  background:#fff;
}
.flyerBox__btn{
  position:absolute;
  left:12px; right:12px; bottom:12px;
  border:none;
  border-radius:999px;
  padding:12px 14px;
  font-weight:950;
  background:rgba(16,32,26,.84);
  color:#fff;
  cursor:pointer;
  -webkit-tap-highlight-color: transparent;
}
.flyerBox__btn:hover{filter:brightness(1.05)}
.flyerBox__btn:active{transform:translateY(1px)}
.meta{
  margin-top:12px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:var(--alt);
  color:#2a3a34;
  line-height:1.8;
}

/* ===== FAQ ===== */
.faq{display:grid; gap:10px}
.faq__item{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px 14px;
  background:#fff;
}
.faq__item summary{cursor:pointer; font-weight:950}
.faq__item p{color:var(--muted); line-height:1.8; margin:10px 0 0}

/* ===== Footer ===== */
.footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  background:#fff;
}
.footer__inner{
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
}
.footer__org{font-weight:950}
.footer__small{color:#6b7c75; font-size:12px; margin-top:6px}
.footer__links{display:flex; gap:12px; flex-wrap:wrap}
.footer__links a{
  font-weight:900;
  color:#27433a;
  padding:8px 10px;
  border-radius:999px
}
.footer__links a:hover{opacity:.85}

/* ===== Modal ===== */
.modal{
  position:fixed; inset:0;
  display:none;
  z-index:99999;
}
.modal.is-open{display:block}
.modal__bg{
  position:absolute; inset:0;
  background:rgba(0,0,0,.55);
}
.modal__panel{
  position:relative;
  width:min(980px, 94vw);
  max-height:92vh;
  margin:4vh auto;
  background:#fff;
  border-radius:20px;
  overflow:auto;
  box-shadow: 0 40px 120px rgba(0,0,0,.35);
}
.modal__img{width:100%; height:auto}
.modal__close{
  position:sticky;
  top:0;
  float:right;
  margin:10px 10px 0 0;
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-size:24px;
  cursor:pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ===== Responsive ===== */
@media (max-width: 960px){
  .hero__grid{grid-template-columns: 1fr}
  .hero__cta{grid-template-columns: 1fr}
  .eventCard__grid{grid-template-columns: 1fr}
  .cards3{grid-template-columns: 1fr}
  .twoCol{grid-template-columns: 1fr}
  .apply{grid-template-columns: 1fr}
  .tl{grid-template-columns: 84px 1fr}

  /* モバイル：PCナビは隠してハンバーガー */
  .nav__link{display:none}
  .nav__menu{display:flex; flex-direction:column; justify-content:center}

  /* 表示切替（これが今回のポイント） */
  .only-mobile{display:block;}
  .only-desktop{display:none;}

  /* スマホ：後援帯の崩れ防止 */
  .support{padding:12px 12px}
  .support__label{flex:0 0 auto}
  .support__value{flex:1 1 100%}

  /* スマホ：チラシ枠を成立させる */
  .heroArt{padding:12px}
  .heroArt__pointer{width:88px; bottom:-14px}
}

@media (max-width: 420px){
  .sectionHead h2{font-size:24px}
  .nav__menu{width:42px}
}
/* =========================
   Google Form Embed
   ========================= */
.gformBox{
  border:1px solid var(--line);
  border-radius:var(--r28);
  background:#fff;
  box-shadow: var(--shadow);
  padding:16px;
}

.gformBox__head{
  margin-bottom:10px;
}

.gformBox__title{
  margin:0 0 6px;
  font-size:20px;
  letter-spacing:.01em;
}

.gformBox__desc{
  margin:0;
  color:var(--muted);
  line-height:1.7;
  font-weight:700;
}

.gformBox__frameWrap{
  margin-top:12px;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:var(--alt);
}

/* ここが重要：スマホでもはみ出しを防ぎ、スクロールしやすく */
.gformBox__frame{
  width:100%;
  height:980px;            /* PC想定の標準 */
  border:0;
  display:block;
  background:#fff;
}

/* 下部 */
.gformBox__foot{
  margin-top:12px;
}

.gformBox__note{
  margin:0 0 10px;
  font-size:12px;
  color:#6b7c75;
}

.gformBox__or{
  display:flex;
  align-items:center;
  justify-content:center;
  margin:10px 0 10px;
  color:#6b7c75;
  font-weight:900;
}
.gformBox__or span{
  background:#fff;
  padding:0 10px;
}
.gformBox__or::before,
.gformBox__or::after{
  content:"";
  height:1px;
  background:var(--line);
  flex:1;
}

/* スマホ最適化：フォームの高さを少し伸ばす（Googleフォームが縦長なため） */
@media (max-width: 960px){
  .gformBox{padding:14px;}
  .gformBox__frame{height:1100px;}
}

/* 小さい端末 */
@media (max-width: 420px){
  .gformBox__title{font-size:18px;}
  .gformBox__frame{height:1200px;}
}

/* =========================
   Lunch Notice
   ========================= */
.noticeLunch{
  margin: 10px 0 14px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,122,26,.28);
  background: rgba(255,122,26,.08);
  box-shadow: 0 10px 26px rgba(0,0,0,.05);
}

.noticeLunch__title{
  font-weight: 950;
  letter-spacing: .01em;
  margin: 0 0 6px;
  color: #2a241f;
}

.noticeLunch__text{
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 750;
}

.noticeLunch__link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 950;
  color: #2a241f;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(255,122,26,.25);
}

.noticeLunch__link:active{ transform: translateY(1px); }

.noticeLunch__note{
  margin-top: 8px;
  font-size: 12px;
  color: #6b7c75;
}

/* =========================
   Flyer Share Buttons
   ========================= */
.pill--share{
  border-color: rgba(15,123,95,.18);
  background: rgba(15,123,95,.06);
}

.heroFlyer__btn--share{
  background: linear-gradient(135deg, var(--brand2), #ff9a3a);
  box-shadow: 0 14px 30px rgba(255,122,26,.20);
}

.heroFlyer__btn--share:hover{ filter: saturate(1.05); }
.heroFlyer__btn--share:active{ transform: translateY(1px); }

.modal__actions{
  display:flex;
  gap:10px;
  padding: 0 14px 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.btn--share{
  border-color: rgba(255,122,26,.28);
}

.btn--copy{
  border-color: rgba(15,123,95,.22);
}

@media (max-width: 960px){
  .modal__actions{
    padding: 0 12px 12px;
  }
}

/* =========================
   Food Education Section
   ========================= */
.foodGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin:18px 0 14px;
}

.foodCard{
  border:1px solid var(--line);
  border-radius:var(--r22);
  background:#fff;
  box-shadow: var(--shadow2);
  padding:18px;
}

.foodCard__icon{
  font-size:24px;
  margin-bottom:8px;
}

.foodCard h3{
  margin:0 0 8px;
  font-size:18px;
}

.foodCard p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.foodNote{
  border:1px solid rgba(15,123,95,.18);
  background: rgba(15,123,95,.06);
  border-radius:18px;
  padding:14px 14px;
  line-height:1.75;
  font-weight:750;
  color:#1f2d28;
}

/* responsive */
@media (max-width: 960px){
  .foodGrid{ grid-template-columns: 1fr; }
}