/* entry.furaibou.jp - 申し込みフォーム 公開ページ
   UTAGEの申込ページ（シンプルな白地・黒文字・表組み）に合わせたデザイン */
:root{
  --bg:#ffffff;
  --ink:#333333;
  --ink-strong:#1a1a1a;
  --ink-soft:#777777;
  --line:#d9d9d9;
  --line-soft:#ececec;
  --accent:#2f6f9f;        /* 送信ボタン等のアクセント（落ち着いた青） */
  --accent-dark:#255a82;
  --full:#b23b3b;
  --ok:#2e7d46;
}
*{box-sizing:border-box}
html,body{background:var(--bg)}
body{
  margin:0;color:var(--ink);
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  line-height:1.9;font-size:16px;
}
.wrap{max-width:760px;margin:0 auto;padding:40px 20px 90px}

/* 見出し（太字＋下線） */
h1{font-size:23px;color:var(--ink-strong);margin:0 0 20px;line-height:1.6}
h2{
  font-size:20px;color:var(--ink-strong);font-weight:700;
  margin:40px 0 6px;padding-bottom:10px;border-bottom:1px solid var(--line);
}
.lead{margin:14px 0 18px}

/* 概要・参加費テキスト */
.overview{margin-bottom:6px}
.overview p{margin:0 0 12px}
.overview a{color:var(--accent-dark);text-decoration:underline}
.overview ul,.overview ol{margin:0 0 12px;padding-left:1.4em}
.overview li{margin:2px 0}
.overview h2,.overview h3,.overview h4{margin:18px 0 8px;line-height:1.5}
.overview h2{font-size:19px}
.overview h3{font-size:17px}
.overview img{max-width:100%;height:auto;border-radius:6px}
.overview hr{border:none;border-top:1px solid var(--line);margin:16px 0}
.overview strong,.overview b{font-weight:700}
.overview table{border-collapse:collapse;margin:0 0 12px;max-width:100%}
.overview th,.overview td{border:1px solid var(--line);padding:6px 10px}
.info-line{margin:2px 0}

/* 日程テーブル */
table.sched{width:100%;border-collapse:collapse;margin:8px 0 4px}
table.sched th{
  text-align:left;font-size:15px;font-weight:700;color:var(--ink-strong);
  padding:10px 12px;border-bottom:2px solid var(--line);
}
table.sched th:nth-child(2),table.sched td:nth-child(2){width:16%}
table.sched th:nth-child(3),table.sched td:nth-child(3){width:9%}
table.sched th:nth-child(4),table.sched td:nth-child(4){width:28%}
table.sched td{padding:14px 12px;border-bottom:1px solid var(--line-soft);vertical-align:middle}
table.sched .note-cell{font-size:13px;color:var(--ink-soft);line-height:1.6}
table.sched tr.selectable{cursor:pointer}
table.sched tr.selectable:hover td{background:#f6f9fb}
table.sched tr.chosen td{background:#eef5fa}
table.sched label{display:flex;gap:10px;align-items:flex-start;cursor:pointer;margin:0}
table.sched input[type=radio]{margin-top:6px;accent-color:var(--accent);transform:scale(1.15);flex:0 0 auto}
table.sched .date{color:var(--ink-strong)}
table.sched tr.full{color:var(--ink-soft)}
table.sched tr.full td{background:#f7f7f7;cursor:not-allowed}
table.sched tr.full .date{color:var(--ink-soft)}
.remain-full{color:var(--full);font-weight:700}
.remain-few{color:var(--full)}

/* カレンダー表示（1か月ずつ） */
.sched-cal{margin:10px 0 6px;max-width:520px}
.cal-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.cal-nav-label{font-weight:700;color:var(--ink-strong);font-size:17px}
.cal-navbtn{border:1.5px solid var(--line);background:#fff;color:var(--ink);border-radius:8px;
  width:40px;height:36px;font-size:14px;cursor:pointer;font-family:inherit}
.cal-navbtn:hover:not(:disabled){border-color:var(--accent);color:var(--accent-dark)}
.cal-navbtn:disabled{opacity:.35;cursor:default}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.cal-dow{text-align:center;font-size:12px;color:var(--ink-soft);padding:4px 0}
.cal-dow:first-child{color:var(--full)}
.cal-cell{border:1px solid var(--line-soft);border-radius:8px;min-height:56px;padding:5px 3px;
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:1px;
  background:#fff;font-family:inherit;color:var(--ink);text-align:center}
.cal-cell.empty{border:none;background:transparent}
.cal-cell .cal-day{font-size:13px;font-weight:700}
.cal-cell .cal-s{display:flex;flex-direction:column;align-items:center;line-height:1.25;margin-top:2px}
.cal-cell .cal-s + .cal-s{padding-top:2px;border-top:1px dotted var(--line);width:100%}
.cal-cell .cal-t{font-size:10.5px;color:var(--accent-dark);font-weight:700}
.cal-cell .cal-n{font-size:9.5px;color:var(--ink-soft)}
.cal-cell .cal-more{font-size:9.5px;color:var(--ink-soft);margin-top:2px}
.cal-cell .cal-mark{font-size:10px;margin-top:2px;line-height:1.2}
.cal-cell.has{cursor:pointer;border-color:var(--accent);background:#f2f8fc}
.cal-cell.has:hover{background:#e5f1f9}
.cal-cell.has.picked{background:var(--accent);border-color:var(--accent);color:#fff}
.cal-cell.has.picked .cal-t,.cal-cell.has.picked .cal-n,.cal-cell.has.picked .cal-more{color:#fff}
.cal-cell.full{background:#f5f5f5;color:var(--ink-soft)}
.cal-cell.full .cal-mark{color:var(--full)}
.cal-slots{margin:6px 0 2px}
.cal-slots-title{font-weight:700;margin:8px 0 6px}
.cal-slot{display:block;width:100%;text-align:left;border:1.5px solid var(--line);border-radius:9px;
  background:#fff;padding:12px 14px;margin-bottom:8px;cursor:pointer;font-family:inherit;font-size:15px;color:var(--ink)}
.cal-slot:hover{border-color:var(--accent)}
.cal-slot.active{border-color:var(--accent);background:#eef5fa}

/* 選択内容の確認テーブル */
table.confirm{width:100%;border-collapse:collapse;margin:22px 0 8px;border:1px solid var(--line)}
table.confirm th{
  width:110px;text-align:left;background:#f5f5f5;font-weight:700;color:var(--ink-strong);
  padding:14px 16px;border:1px solid var(--line);white-space:nowrap;
}
table.confirm td{padding:14px 16px;border:1px solid var(--line);min-height:26px}
table.confirm td:empty::after{content:"—";color:var(--ink-soft)}

/* 入力欄 */
.field{margin-bottom:20px}
.field label.lbl{display:block;font-weight:700;color:var(--ink-strong);margin-bottom:7px;font-size:15px}
.field .req{color:var(--full);font-size:12px;margin-left:8px;font-weight:400}
.field input[type=text],.field input[type=tel],.field input[type=email],
.field textarea,.field select{
  width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:4px;
  font-size:16px;font-family:inherit;background:#fff;color:var(--ink);
}
.field textarea{min-height:110px;resize:vertical}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--accent)}
.name-row{display:flex;gap:16px}
.name-row .field{flex:1}
.check-row{display:flex;gap:8px;align-items:flex-start;margin:6px 0}
.check-row input{margin-top:6px;accent-color:var(--accent)}

.btn{
  display:block;width:100%;padding:16px;border:none;border-radius:5px;margin-top:10px;
  background:var(--accent);color:#fff;font-size:17px;font-weight:700;cursor:pointer;
  font-family:inherit;transition:background .15s;
}
.btn:hover{background:var(--accent-dark)}
.btn:disabled{background:#a9b7c1;cursor:not-allowed}

.err{background:#fbecec;border:1px solid #e2b4b4;color:#8f2b2b;padding:13px 15px;border-radius:4px;margin-bottom:18px;font-size:14px}
.note{font-size:13px;color:var(--ink-soft);margin-top:16px}
.done-icon{font-size:46px;text-align:center;color:var(--ok);margin-bottom:6px}
.pay-btn{display:inline-block;margin-top:14px;padding:14px 30px;border-radius:5px;background:var(--accent);color:#fff;font-weight:700;text-decoration:none}
.foot{text-align:center;font-size:12px;color:var(--ink-soft);margin-top:40px}

/* ==== 動画ページ（VSL） ==== */
.vsl-video{margin:22px auto 8px;max-width:600px}
.vsl-video video{
  width:100%;max-width:100%;height:auto;display:block;
  border-radius:10px;background:#000;box-shadow:0 3px 16px rgba(0,0,0,.16);
}
.vsl-wait{
  margin:14px auto 4px;max-width:600px;padding:16px 18px;
  border:1px dashed var(--accent);border-radius:8px;
  background:#f4f8fb;text-align:center;
}
.vsl-wait p{margin:0;font-size:15px;color:var(--accent-dark)}
#vslGate[hidden]{display:none}
#vslGate .overview img{max-width:100%;height:auto;border-radius:8px}

@media(max-width:520px){
  .wrap{padding:28px 16px 70px}
  table.sched th,table.sched td{width:auto!important}
  table.sched td,table.sched th{padding:10px 6px;font-size:13px}
  table.sched .note-cell{font-size:12px}
  .name-row{flex-direction:column;gap:0}
}
