@charset "UTF-8";
/* =====================================================================
   ちがさきこどもマルシェ2026 エントリーフォーム
   Design System : Sunny Yellow × Ocean Blue × Playful
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root{
  /* メインカラー：ロゴの旗の黄色 */
  --yellow:        #FFC21A;
  --yellow-light:  #FFD968;
  --yellow-soft:   #FFF1C9;
  --yellow-deep:   #E59A00;   /* 影・コントラスト確保用 */

  /* 海のブルー（ロゴ由来・アクセント） */
  --ocean-deep:    #114C86;
  --ocean:         #1E7FA8;
  --sky:           #6FAAD0;
  --foam:          #DCEBF4;

  /* 差し色（小面積のポップ） */
  --coral:         #FF7A59;
  --mint:          #2FBE9D;

  /* ニュートラル */
  --ink:           #1C3D5A;   /* メインテキスト：濃紺 */
  --ink-soft:      #5E748A;   /* サブテキスト */
  --cream:         #FFF7E4;   /* 背景：温かいクリーム */
  --cream-2:       #FFFCF3;
  --paper:         #FFFEFB;   /* カード（純白を避ける） */
  --line:          #EFE6D2;

  /* かたち */
  --r-xl: 30px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 11px;

  /* 影（暖色寄りの柔らかい影） */
  --sh-sm: 0 2px 8px rgba(120,90,20,.08);
  --sh-md: 0 8px 24px rgba(120,90,20,.10);
  --sh-lg: 0 16px 40px rgba(120,90,20,.14);

  --maxw: 620px;
}

/* ---------- Reset ---------- */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; }
body{
  font-family:"Zen Maru Gothic", -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  color:var(--ink);
  background:var(--cream);
  font-size:16px;
  line-height:1.7;
  font-weight:500;
  word-break:auto-phrase;
  overflow-x:hidden;
  position:relative;
}
/* 背景のあしらい：淡い粒子＋ふわっとした光 */
body::before{
  content:"";
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(680px 480px at 84% -8%, rgba(255,194,26,.22), transparent 70%),
    radial-gradient(620px 520px at 8% 6%, rgba(111,170,208,.16), transparent 70%);
}
body::after{
  content:"";
  position:fixed; inset:0; z-index:0; pointer-events:none; opacity:.55;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  mix-blend-mode:multiply;
}
img{ max-width:100%; display:block; }
a{ color:var(--ocean-deep); }

::selection{ background:rgba(255,194,26,.45); color:var(--ink); }

h1,h2,h3{ text-wrap:balance; line-height:1.35; }
p{ text-wrap:pretty; }

/* 英字・数字の装飾用 */
.accent-en{ font-family:"Fredoka", sans-serif; font-weight:600; letter-spacing:.04em; }

/* ---------- プレビュー（テスト）バー ---------- */
.preview-bar{
  position:relative; z-index:20;
  display:flex; align-items:center; gap:9px; flex-wrap:wrap;
  max-width:var(--maxw); margin:10px auto 0; padding:11px 14px;
  background:#1C3D5A; color:#fff;
  border-radius:12px; font-size:12.5px; line-height:1.6; font-weight:600;
}
.preview-bar i{ color:var(--yellow); font-size:16px; flex-shrink:0; }
.preview-bar span{ flex:1; min-width:0; }
.preview-bar strong{ color:var(--yellow-light); font-weight:800; }
.preview-bar a{ color:#fff; font-weight:700; text-decoration:underline; white-space:nowrap; }

/* ---------- Layout ---------- */
.container{
  position:relative; z-index:1;
  max-width:var(--maxw);
  margin:0 auto;
  padding:18px 16px 80px;
}

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:30;
  background:rgba(255,252,243,.82);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .inner{
  max-width:var(--maxw); margin:0 auto;
  display:flex; align-items:center; gap:13px;
  padding:9px 16px;
}
.site-header .h-logo{ height:44px; width:auto; flex-shrink:0; }
.site-header .h-sep{ width:1.5px; height:26px; background:var(--line); border-radius:1px; flex-shrink:0; }
.site-header .h-page{ font-size:14px; font-weight:800; color:var(--ink); line-height:1.3; letter-spacing:.01em; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
/* お祭りのガーランド（三角旗が紐から下がる） */
.bunting{
  height:18px; display:block;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='18'><line x1='0' y1='1.5' x2='28' y2='1.5' stroke='%23E59A00' stroke-width='2'/><polygon points='3,1.5 25,1.5 14,16' fill='%23FFC21A'/></svg>");
  background-repeat:repeat-x; background-position:center top;
  filter:drop-shadow(0 2px 1px rgba(120,90,20,.12));
}
.bunting.alt{
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='18'><line x1='0' y1='1.5' x2='28' y2='1.5' stroke='%23114C86' stroke-width='2'/><polygon points='3,1.5 25,1.5 14,16' fill='%231E7FA8'/></svg>");
  background-repeat:repeat-x; background-position:center top;
}

/* ---------- Step Indicator ---------- */
.steps{
  display:flex; align-items:center; gap:8px;
  margin:8px 0 16px;
}
.steps .step{ display:flex; align-items:center; gap:7px; color:var(--ink-soft); }
.steps .num{
  width:28px; height:28px; border-radius:50%;
  display:grid; place-items:center; flex-shrink:0;
  background:#fff; color:var(--ink-soft);
  font-family:"Fredoka", sans-serif; font-weight:600; font-size:14px;
  border:2px solid var(--line);
  transition:background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.steps .label{ font-size:12.5px; font-weight:700; white-space:nowrap; }
.steps .step.active{ color:var(--ink); }
.steps .step.active .num{ background:var(--yellow); border-color:var(--yellow); color:var(--ink); box-shadow:0 3px 0 var(--yellow-deep); }
.steps .step.done{ color:var(--ocean); }
.steps .step.done .num{ background:var(--ocean); border-color:var(--ocean); color:#fff; }
.steps .bar{ flex:1; height:3px; border-radius:2px; background:var(--line); }
.steps .bar.fill{ background:var(--ocean); }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background:var(--paper);
  border-radius:var(--r-xl);
  box-shadow:var(--sh-md);
  padding:26px 22px 24px;
  margin-bottom:18px;
  overflow:hidden;
}
/* 太陽のような黄色いまる（あしらい） */
.hero .sun{
  position:absolute; top:-58px; right:-46px; pointer-events:none;
  width:170px; height:170px; border-radius:50%;
  background:radial-gradient(circle at 38% 36%, var(--yellow-light), var(--yellow));
  opacity:.9;
}
.hero .sun::after{
  content:""; position:absolute; inset:-16px; border-radius:50%;
  border:3px dashed rgba(255,194,26,.45);
}
.hero .pennant{
  display:inline-flex; align-items:center; gap:7px;
  position:relative; z-index:1;
  background:var(--ocean); color:#fff;
  font-weight:700; font-size:12px; letter-spacing:.04em;
  padding:6px 16px 6px 13px;
  border-radius:7px 0 0 7px;
  clip-path:polygon(0 0, 100% 0, 86% 50%, 100% 100%, 0 100%);
  padding-right:24px;
}
.hero h1{
  position:relative; z-index:1;
  font-size:27px; font-weight:900; color:var(--ink);
  margin:14px 0 6px; letter-spacing:.01em;
}
.hero .h1-en{
  position:relative; z-index:1;
  display:block; font-size:13px; color:var(--ocean-deep);
  letter-spacing:.18em; margin-bottom:2px;
}
.hero .lead{
  position:relative; z-index:1;
  font-size:14px; color:var(--ink-soft); line-height:1.95; font-weight:500;
}
.hero .lead strong{ color:var(--ink); font-weight:700; }
.hero .mark{ background:linear-gradient(transparent 62%, var(--yellow-soft) 62%); padding:0 2px; }

/* 締め切りチップ */
.deadline{
  position:relative; z-index:1;
  margin-top:16px;
  background:var(--yellow-soft);
  border-radius:var(--r-md);
  padding:14px 16px;
}
.deadline .d-row{ display:flex; align-items:baseline; gap:8px; font-size:13.5px; }
.deadline .d-row + .d-row{ margin-top:7px; }
.deadline .d-ico{ color:var(--ocean-deep); font-size:15px; flex-shrink:0; }
.deadline .d-label{ font-weight:700; color:var(--ink); width:7.5em; flex-shrink:0; }
.deadline .d-val{ font-weight:700; color:var(--ink); }
.deadline .d-val .date{ font-family:"Fredoka",sans-serif; color:var(--ocean-deep); font-size:15px; }
.note-mini{ font-size:12px; color:#3D5268; margin-top:12px; line-height:1.75; position:relative; z-index:1; }

/* ---------- Section Card ---------- */
.card{
  background:var(--paper);
  border-radius:var(--r-lg);
  box-shadow:var(--sh-sm);
  padding:22px 20px;
  margin-bottom:16px;
}
.card-title{
  display:flex; align-items:center; gap:11px;
  font-size:17px; font-weight:900; color:var(--ink);
  margin-bottom:16px;
}
.card-title .badge{
  flex-shrink:0; display:inline-flex; align-items:center; justify-content:center;
  background:none; box-shadow:none; border-radius:0;
  color:var(--yellow-deep); font-size:23px;
}
.card-title .badge.ocean{ background:none; box-shadow:none; color:var(--ocean); }
.card-lead{ font-size:15px; color:var(--ink-soft); line-height:1.95; margin-bottom:16px; }
.card-lead strong{ color:var(--ink); font-weight:700; }

/* ---------- Video ---------- */
.video-wrap{
  position:relative; width:100%; padding-top:56.25%;
  border-radius:var(--r-md); overflow:hidden;
  background:var(--ocean-deep);
  box-shadow:var(--sh-sm);
  border:4px solid #fff;
  outline:1px solid var(--line);
}
.video-wrap iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-cap{ font-size:11.5px; color:var(--ink-soft); margin-top:10px; }

/* 動画準備中プレースホルダー（楽しいサニー配色） */
.video-placeholder{
  background:linear-gradient(135deg, #FFE680 0%, #FFC21A 100%);
}
.video-placeholder::before{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.9;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84'%3E%3Ccircle cx='16' cy='18' r='3' fill='%23ffffff' opacity='.55'/%3E%3Ccircle cx='64' cy='15' r='2.5' fill='%23FF6B3D' opacity='.5'/%3E%3Ccircle cx='38' cy='48' r='2' fill='%23ffffff' opacity='.5'/%3E%3Ccircle cx='71' cy='55' r='3' fill='%232FBE9D' opacity='.5'/%3E%3Ccircle cx='24' cy='66' r='2.5' fill='%23ffffff' opacity='.5'/%3E%3Crect x='52' y='70' width='5' height='5' rx='1' fill='%23FF6B3D' opacity='.4' transform='rotate(20 54 72)'/%3E%3C/svg%3E");
}
.video-placeholder .vp-inner{
  position:absolute; inset:0; z-index:1;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:4px; text-align:center; padding:16px;
}
.video-placeholder .vp-icon{
  width:60px; height:60px; border-radius:18px; margin-bottom:10px;
  background:var(--ocean); display:grid; place-items:center;
  color:#fff; font-size:27px; box-shadow:0 4px 0 var(--ocean-deep);
}
.video-placeholder .vp-title{ color:#16324C; font-weight:800; font-size:15.5px; }
.video-placeholder .vp-sub{ color:#3D5268; font-weight:700; font-size:12px; }

/* ---------- Download Card ---------- */
.download{
  display:flex; align-items:center; gap:14px;
  padding:15px; text-decoration:none;
  background:linear-gradient(180deg, var(--yellow-soft), #FFF6DD);
  border:2px solid var(--yellow-light);
  border-radius:var(--r-md);
  transition:transform .15s, box-shadow .15s;
}
.download:hover{ transform:translateY(-2px); box-shadow:var(--sh-md); }
.download .dl-ico{
  width:46px; height:46px; border-radius:13px; flex-shrink:0;
  display:grid; place-items:center;
  background:var(--yellow); color:var(--ink);
  box-shadow:0 3px 0 var(--yellow-deep);
  font-size:19px;
}
.download .dl-body{ flex:1; }
.download .dl-title{ display:block; font-size:14.5px; font-weight:900; color:var(--ink); }
.download .dl-sub{ display:block; font-size:11.5px; color:#6B5218; margin-top:2px; font-weight:600; }
.download .dl-arrow{
  width:30px; height:30px; flex-shrink:0; position:relative;
  border-radius:50%; background:#fff; box-shadow:var(--sh-sm);
}
.download .dl-arrow::before,
.download .dl-arrow::after{
  content:""; position:absolute; background:var(--yellow-deep); border-radius:2px;
  left:50%; top:50%;
}
.download .dl-arrow::before{ width:2.5px; height:13px; transform:translate(-50%,-58%); }
.download .dl-arrow::after{
  width:9px; height:9px; border-right:2.5px solid var(--yellow-deep); border-bottom:2.5px solid var(--yellow-deep);
  background:none; transform:translate(-50%,-78%) rotate(45deg); top:62%;
}

/* ---------- 視聴チェック（ゲート） ---------- */
.gate-check{
  display:flex; align-items:center; gap:13px;
  padding:16px 16px; cursor:pointer;
  background:var(--cream-2);
  border:2.5px solid var(--line);
  border-radius:var(--r-md);
  transition:border-color .18s, background-color .18s;
}
.gate-check:has(input:checked){
  border-color:var(--yellow); background:var(--yellow-soft);
}
.gate-check input{
  width:24px; height:24px; flex-shrink:0; margin:0;
  accent-color:var(--yellow-deep); cursor:pointer;
}
.gate-check .gc-label{ font-size:14.5px; font-weight:700; color:var(--ink); }

/* ---------- 受付開始カウントダウン ---------- */
.countdown{
  position:relative; overflow:hidden;
  margin-top:16px; padding:20px 16px; text-align:center;
  background:linear-gradient(135deg, #FFDD66 0%, #FFC21A 58%, #FFB43C 100%);
  border-radius:var(--r-lg);
  box-shadow:0 6px 0 var(--yellow-deep), var(--sh-md);
}
.countdown[hidden]{ display:none; }
/* 紙吹雪のあしらい */
.countdown::before{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:0; opacity:.9;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84'%3E%3Ccircle cx='14' cy='20' r='3' fill='%23ffffff' opacity='.55'/%3E%3Ccircle cx='62' cy='13' r='2.5' fill='%23FF6B3D' opacity='.55'/%3E%3Ccircle cx='40' cy='45' r='2' fill='%23ffffff' opacity='.5'/%3E%3Ccircle cx='73' cy='52' r='3' fill='%232FBE9D' opacity='.55'/%3E%3Ccircle cx='22' cy='64' r='2.5' fill='%23ffffff' opacity='.5'/%3E%3Crect x='49' y='69' width='5' height='5' rx='1' fill='%23FF6B3D' opacity='.45' transform='rotate(22 51 71)'/%3E%3Crect x='7' y='42' width='5' height='5' rx='1' fill='%232FBE9D' opacity='.45' transform='rotate(-14 9 44)'/%3E%3C/svg%3E");
}
.countdown > *{ position:relative; z-index:1; }
.countdown .cd-head{
  font-size:13.5px; font-weight:800; color:#16324C; letter-spacing:.03em;
}
.countdown .cd-head i{ color:#EA5A1E; margin-right:5px; }
.countdown .cd-timer{
  font-family:"Fredoka", sans-serif; font-weight:600;
  font-size:38px; color:#16324C; line-height:1.2; margin:4px 0 8px;
  letter-spacing:.01em; font-variant-numeric:tabular-nums;
  text-shadow:0 2px 0 rgba(255,255,255,.35);
}
.countdown .cd-date{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12.5px; font-weight:700; color:#fff;
  background:var(--ocean-deep); border-radius:999px; padding:6px 15px;
  box-shadow:0 2px 6px rgba(17,76,134,.3);
}
.countdown .cd-date i{ color:var(--yellow-light); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  width:100%; padding:17px 22px; border:none; cursor:pointer;
  font-family:inherit; font-size:17px; font-weight:900; letter-spacing:.02em;
  border-radius:999px; color:var(--ink);
  background:var(--yellow);
  box-shadow:0 5px 0 var(--yellow-deep), var(--sh-md);
  transition:transform .12s, box-shadow .12s, background .15s;
}
.btn:hover{ background:var(--yellow-light); }
.btn:active{ transform:translateY(4px); box-shadow:0 1px 0 var(--yellow-deep), var(--sh-sm); }
.btn:disabled{
  background:#EAE2D2; color:#5A4E3B; cursor:not-allowed;
  box-shadow:0 5px 0 #D6CCB6;
}
.btn.ocean{ color:#fff; background:var(--ocean); box-shadow:0 5px 0 var(--ocean-deep), var(--sh-md); }
.btn.ocean:hover{ background:#2389B4; }
.btn.ocean:active{ box-shadow:0 1px 0 var(--ocean-deep), var(--sh-sm); }
/* 矢印（擬似要素で描画／文字矢印は使わない） */
.btn .arw{ position:relative; display:inline-block; width:20px; height:13px; flex-shrink:0; }
.btn .arw::before{ content:""; position:absolute; top:50%; left:0; width:100%; height:2.5px; background:currentColor; transform:translateY(-50%); border-radius:2px; transition:width .15s; }
.btn .arw::after{ content:""; position:absolute; top:50%; right:0; width:9px; height:9px; border-top:2.5px solid currentColor; border-right:2.5px solid currentColor; transform:translateY(-50%) rotate(45deg); border-radius:1px; }
.btn:hover .arw::before{ width:115%; }

.btn-back{
  display:inline-flex; align-items:center; gap:8px;
  background:none; border:none; cursor:pointer;
  font-family:inherit; font-size:14px; font-weight:700; color:var(--ocean);
  padding:8px 4px; margin-bottom:6px;
}
.btn-back .arw-l{ position:relative; display:inline-block; width:16px; height:11px; flex-shrink:0; }
.btn-back .arw-l::before{ content:""; position:absolute; top:50%; right:0; width:100%; height:2.5px; background:currentColor; transform:translateY(-50%); border-radius:2px; }
.btn-back .arw-l::after{ content:""; position:absolute; top:50%; left:0; width:8px; height:8px; border-bottom:2.5px solid currentColor; border-left:2.5px solid currentColor; transform:translateY(-50%) rotate(45deg); }
.btn-back:hover{ text-decoration:underline; }

/* ---------- Footer ---------- */
.site-footer{
  position:relative; z-index:1;
  text-align:center; padding:34px 16px 38px;
  color:var(--ink-soft); font-size:12px; line-height:1.9;
}
.site-footer .f-logo{ width:200px; max-width:62%; height:auto; margin:0 auto 14px; }
.site-footer .f-org{ font-size:12.5px; font-weight:700; color:#4A6178; }

/* ---------- 波の区切り ---------- */
.wave{ display:block; width:100%; height:auto; }

/* =====================================================================
   Form Controls
   ===================================================================== */
.field{ margin-bottom:20px; }
.field:last-child{ margin-bottom:0; }
.field > .label{
  display:flex; align-items:center; flex-wrap:wrap; gap:8px;
  font-size:14.5px; font-weight:700; color:var(--ink); margin-bottom:9px;
}
.tag{ font-size:10.5px; font-weight:700; padding:2px 9px; border-radius:6px; letter-spacing:.02em; }
.tag-req{ background:var(--ocean); color:#fff; }
.tag-opt{ background:#E7E0D0; color:#6B6047; }
.field .help{ font-size:13px; color:#4A5F75; margin:0 0 11px; line-height:1.8; }
.field .help strong{ color:var(--ink); font-weight:700; }

input[type=text], input[type=email], input[type=tel], input[type=number],
select, textarea{
  width:100%; padding:13px 14px;
  border:2px solid var(--line); border-radius:13px;
  font-family:inherit; font-size:16px; font-weight:500; color:var(--ink);
  background:#fff; outline:none;
  transition:border-color .15s, background .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder{ color:#767D84; font-weight:500; }
input:focus, select:focus, textarea:focus{
  border-color:var(--yellow); background:var(--cream-2);
  box-shadow:0 0 0 4px rgba(255,194,26,.18);
}
select{
  appearance:none; -webkit-appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%231C3D5A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='3,5 7,9 11,5'/></svg>");
  background-repeat:no-repeat; background-position:right 14px center; padding-right:38px;
}
textarea{ resize:vertical; min-height:96px; line-height:1.8; }
.field-error{ color:#D6452F; font-size:12.5px; font-weight:700; margin-top:7px; display:none; }
.field.has-error input, .field.has-error select, .field.has-error textarea{
  border-color:#E8836F; background:#FFF6F4;
}
.field.has-error .opt{ border-color:#E8836F; background:#FFF6F4; }
.field.has-error .field-error{ display:block; }
.field-error{ color:#C23C24; }

/* ラジオ・チェックの選択カード */
.opt-list{ display:flex; flex-direction:column; gap:9px; }
.opt{
  display:flex; align-items:center; gap:13px;
  padding:14px 15px; min-height:48px; cursor:pointer;
  border:2px solid var(--line); border-radius:13px;
  background:#fff; transition:border-color .15s, background .15s;
  font-size:15px; font-weight:600; color:var(--ink);
}
.opt:hover{ border-color:var(--yellow-light); }
.opt:has(input:checked){ border-color:var(--yellow); background:var(--yellow-soft); }
.opt input{ width:22px; height:22px; flex-shrink:0; margin:0; accent-color:var(--yellow-deep); cursor:pointer; }
.opt .o-label{ flex:1; }
.opt .o-sub{ display:block; font-size:11.5px; font-weight:500; color:#5E748A; margin-top:3px; }

/* メンバーカード */
.member{
  position:relative;
  border:2px solid var(--line); border-radius:16px;
  padding:16px; margin-bottom:12px; background:var(--cream-2);
}
.member.hidden{ display:none; }
.member .m-head{
  display:flex; align-items:center; flex-wrap:wrap; gap:8px;
  font-size:13.5px; font-weight:700; color:var(--ocean-deep); margin-bottom:12px;
  padding-right:34px; /* 右上の×ボタンと重ならないように */
}
.member .m-head .m-label{ white-space:nowrap; }
.member .m-num{
  width:24px; height:24px; border-radius:50%; flex-shrink:0;
  display:grid; place-items:center; background:var(--ocean); color:#fff;
  font-family:"Fredoka",sans-serif; font-size:13px;
}
.member .m-remove{
  position:absolute; top:10px; right:10px;
  display:inline-flex; align-items:center; justify-content:center;
  width:34px; height:34px; padding:0; border-radius:50%;
  background:#fff; border:1.5px solid #E8C9C0; color:#B23E2A;
  font-size:17px; cursor:pointer;
  box-shadow:0 1px 3px rgba(120,90,20,.10);
  transition:background .15s, transform .12s;
}
.member .m-remove:hover{ background:#FFF1ED; }
.member .m-remove:active{ transform:scale(.92); }
/* 見た目は34pxのまま、タップ領域を44px相当に拡張（角でも押しやすく） */
.member .m-remove::after{ content:""; position:absolute; inset:-5px; border-radius:50%; }
.m-field{ margin-bottom:11px; }
.m-field:last-of-type{ margin-bottom:0; }
.m-field .sub-label{ font-size:12px; font-weight:700; color:#5E748A; margin-bottom:6px; display:block; }
.m-age-field select{ max-width:160px; }
.m-exp{ margin-top:13px; }
.m-exp .sub-label{ font-size:12px; font-weight:700; color:#5E748A; margin-bottom:7px; display:block; }
.m-exp .opt-list{ flex-direction:row; gap:9px; }
.m-exp .opt{ flex:1; justify-content:center; padding:11px; font-size:14px; }

/* 追加ボタン */
.add-member{
  width:100%; padding:14px;
  display:flex; align-items:center; justify-content:center; gap:9px;
  background:#fff; border:2px dashed var(--sky); color:var(--ocean-deep);
  border-radius:14px; font-family:inherit; font-size:14.5px; font-weight:700;
  cursor:pointer; transition:background .15s, border-color .15s;
}
.add-member:hover{ background:var(--foam); border-color:var(--ocean); }
.add-member .ic{ width:24px; height:24px; border-radius:50%; background:var(--yellow); color:var(--ink); display:grid; place-items:center; font-size:16px; box-shadow:0 2px 0 var(--yellow-deep); }
.add-member.hide{ display:none; }

/* インライン詳細（左ボーダー不使用：背景＋角丸で表現） */
.inline-detail{ display:none; margin:4px 0 0; padding:13px 15px; background:var(--foam); border-radius:13px; }
.inline-detail.show{ display:block; }
.inline-detail .sub-label{ display:flex; align-items:center; gap:7px; font-size:12.5px; font-weight:700; color:var(--ocean-deep); margin-bottom:9px; }
.inline-detail .opt-list{ flex-direction:row; flex-wrap:wrap; gap:8px; }
.inline-detail .opt{ padding:9px 13px; font-size:14px; }

/* 出店内容（しっかり書いてもらう） */
.content-area{ min-height:300px; }
.content-counter{ font-size:12.5px; font-weight:700; color:#5E748A; margin-top:8px; text-align:right; }
.content-counter strong{ color:var(--ocean-deep); font-family:"Fredoka",sans-serif; }
.content-counter.enough strong{ color:var(--mint); }
.encourage{
  margin-top:11px; padding:14px 16px; border-radius:14px;
  background:linear-gradient(180deg, var(--yellow-soft), #FFF7E0);
  font-size:13.5px; color:#5A4A20; line-height:1.85;
}
.encourage strong{ color:var(--yellow-deep); font-weight:700; }
.encourage .ic{ color:var(--yellow-deep); margin-right:4px; }

/* プライバシー注記 */
.privacy-note{
  display:flex; gap:11px; padding:15px 16px; border-radius:14px;
  background:var(--foam); font-size:12.5px; color:#3E556B; line-height:1.85;
}
.privacy-note .ic{ color:var(--ocean); font-size:18px; flex-shrink:0; margin-top:1px; }

/* =====================================================================
   確認画面
   ===================================================================== */
.confirm-section{
  background:var(--paper); border-radius:var(--r-lg);
  box-shadow:var(--sh-sm); padding:18px 20px; margin-bottom:14px;
}
.confirm-section .cs-head{
  display:flex; align-items:center; gap:10px;
  font-size:15.5px; font-weight:900; color:var(--ink);
  padding-bottom:11px; margin-bottom:12px; border-bottom:2px solid var(--cream);
}
.confirm-section .cs-edit{
  margin-left:auto; display:inline-flex; align-items:center; justify-content:center; gap:6px;
  background:var(--yellow-soft); border:1.5px solid var(--yellow-light); color:#7A5C00;
  font-family:inherit; font-size:13px; font-weight:700;
  padding:10px 15px; min-height:44px; border-radius:10px; cursor:pointer;
}
.confirm-section .cs-edit:hover{ background:var(--yellow-light); }
.crow{ padding:9px 0; border-bottom:1px dashed var(--line); }
.crow:last-child{ border-bottom:none; }
.crow .cr-label{ font-size:12px; font-weight:700; color:#8092A3; margin-bottom:3px; }
.crow .cr-value{ font-size:15.5px; font-weight:600; color:var(--ink); line-height:1.7; white-space:pre-wrap; word-break:break-word; }
.crow .cr-value.empty{ color:#B7BEC6; font-weight:500; }
.cmember{ border:1.5px solid var(--line); border-radius:13px; padding:12px 14px; margin-bottom:10px; background:var(--cream-2); }
.cmember:last-child{ margin-bottom:0; }
.cmember .cm-title{ font-size:12.5px; font-weight:700; color:var(--ocean-deep); margin-bottom:6px; }

/* =====================================================================
   完了画面
   ===================================================================== */
#view-done{ display:none; }
.done-card{
  position:relative; background:var(--paper); border-radius:var(--r-xl);
  box-shadow:var(--sh-md); padding:40px 26px 34px; text-align:center; overflow:hidden;
}
.done-card .burst{
  width:84px; height:84px; margin:0 auto 20px; border-radius:50%;
  background:var(--yellow); display:grid; place-items:center;
  box-shadow:0 5px 0 var(--yellow-deep); position:relative;
}
.done-card .burst i{ font-size:38px; color:var(--ink); }
.done-card h2{ font-size:22px; font-weight:900; color:var(--ink); margin-bottom:12px; }
.done-card p{ font-size:14.5px; color:#5E748A; line-height:1.9; }
.done-card p strong{ color:var(--ink); font-weight:700; }
.done-card .done-date{ font-family:"Fredoka",sans-serif; color:var(--ocean-deep); font-weight:700; }

/* 受付終了画面の通知ボックス */
.closed-info{
  display:inline-flex; align-items:center; gap:11px;
  margin:22px auto 0; padding:15px 18px;
  background:var(--yellow-soft); border-radius:var(--r-md);
  font-size:14px; font-weight:700; color:var(--ink); line-height:1.7; text-align:left;
}
.closed-info i{ color:var(--yellow-deep); font-size:22px; flex-shrink:0; }

/* 送信中・エラー */
.form-error-top{
  display:none; margin-bottom:14px; padding:14px 16px; border-radius:14px;
  background:#FFF1ED; border:1.5px solid #F2B5A6; color:#C0452F;
  font-size:13.5px; font-weight:700; line-height:1.7;
}
.form-error-top.show{ display:block; }
.btn.loading{ pointer-events:none; opacity:.75; }

/* 視覚的に隠す（ハニーポット／スクリーンリーダー用） */
.vh{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.hp-field{ position:absolute !important; left:-9999px; top:-9999px; width:1px; height:1px; overflow:hidden; }

#view-form, #view-confirm{ display:none; }

/* 確認画面ヒーローのバリアント（インラインスタイル排除） */
.hero--confirm{ padding:22px 20px; }
.hero--confirm h1{ font-size:21px; }
.hero--confirm .h1-en{ color:var(--ocean-deep); }

/* 送信中スピナー */
.spinner{
  display:inline-block; width:18px; height:18px; vertical-align:-3px;
  border:2.5px solid rgba(255,255,255,.45); border-top-color:#fff;
  border-radius:50%; animation:spin .7s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }

/* 戻るリンクのタッチ領域確保 */
.btn-back{ padding:11px 6px; }

/* =====================================================================
   スマホ：余白をつめてコンパクトに
   ===================================================================== */
@media (max-width:480px){
  body{ font-size:15.5px; }
  .container{ padding:12px 11px 56px; }

  .site-header .inner{ gap:10px; padding:8px 13px; }
  .site-header .h-logo{ height:38px; }
  .site-header .h-sep{ height:24px; }
  .site-header .h-page{ font-size:13px; }

  .steps{ margin:4px 0 12px; gap:5px; }
  .steps .num{ width:25px; height:25px; font-size:13px; }
  .steps .label{ font-size:11.5px; }

  .hero{ padding:20px 16px 18px; margin-bottom:12px; border-radius:24px; }
  .hero h1{ font-size:23px; margin:11px 0 5px; }
  .hero .lead{ font-size:13.5px; line-height:1.8; }
  .hero .sun{ width:140px; height:140px; top:-50px; right:-40px; }
  .deadline{ padding:12px 13px; margin-top:13px; }
  .deadline .d-row{ font-size:13px; }
  .hero--confirm{ padding:18px 16px; }

  .card{ padding:16px 14px; margin-bottom:11px; border-radius:18px; }
  .card-title{ font-size:15.5px; margin-bottom:13px; gap:9px; }
  .card-title .badge{ font-size:21px; }
  .card-lead{ font-size:13.5px; margin-bottom:13px; }

  .field{ margin-bottom:15px; }
  .field > .label{ font-size:14px; margin-bottom:8px; }
  .field .help{ font-size:12.5px; margin-bottom:9px; }
  input[type=text], input[type=email], input[type=tel], input[type=number],
  select, textarea{ padding:11px 12px; border-radius:11px; }

  .opt{ padding:11px 13px; gap:11px; min-height:46px; font-size:14.5px; }
  .opt input{ width:21px; height:21px; }
  .opt-list{ gap:8px; }

  .member{ padding:13px; margin-bottom:10px; border-radius:14px; }
  .m-field{ margin-bottom:9px; }
  .m-exp{ margin-top:11px; }
  .m-exp .opt{ padding:10px; }

  .add-member{ padding:13px; border-radius:13px; font-size:14px; }

  .content-area{ min-height:240px; }
  .encourage{ padding:12px 14px; font-size:13px; margin-top:10px; }
  .privacy-note{ padding:13px 14px; }

  .download{ padding:13px; }
  .gate-check{ padding:14px; }

  .confirm-section{ padding:15px 15px; margin-bottom:11px; }
  .confirm-section .cs-head{ font-size:15px; margin-bottom:10px; padding-bottom:10px; }
  .cmember{ padding:11px 13px; }
  .crow .cr-value{ font-size:15px; }

  .done-card{ padding:34px 20px 28px; }
  .done-card .burst{ width:74px; height:74px; margin-bottom:16px; }
  .done-card .burst i{ font-size:33px; }
  .done-card h2{ font-size:20px; }

  .btn{ padding:16px 20px; font-size:16px; }
}

/* ---------- アクセシビリティ：モーション軽減 ---------- */
@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
}

/* ---------- 出現アニメ（控えめ） ---------- */
.reveal{ opacity:0; transform:translateY(16px); }
.reveal.in{ opacity:1; transform:none; transition:opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
