/* 生成AI活用セミナー：チラシと同じ配色（紺・金茶・生成り）。モバイルファースト */
:root {
  --navy: #0f2a47;
  --navy-2: #1d4f7c;
  --gold: #a77a22;
  --gold-light: #e3c37a;
  --cream: #f5f1e8;
  --cream-line: #d9cfbb;
  --ink: #1b2a3a;
  --muted: #55606b;
  --line: #d8dde3;
  --white: #ffffff;
  --error: #b3261e;
  --kari: #c0392b;
  --radius: 12px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Meiryo", sans-serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.85; font-weight: 400;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.4; margin: 0; }
p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }
small { font-size: .85em; }
.kari { color: var(--kari); font-size: .72em; font-weight: 700; white-space: nowrap; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }

/* ヘッダー（紺） */
.site-header { background: var(--navy); color: var(--white); padding: 22px 0 26px; }
.head-inner { position: relative; }
.org { font-size: 13px; letter-spacing: .1em; opacity: .9; margin: 0 0 6px; }
.org .kari { color: #ff9a8b; }
.title { font-weight: 900; font-size: 34px; line-height: 1.2; letter-spacing: .02em; }
.title small { display: block; font-size: 15px; font-weight: 500; letter-spacing: .08em; opacity: .92; margin: 0 0 6px; }
/* 日付バッジ：スマホでは横長、PCではチラシと同じ丸 */
.chip {
  display: inline-flex; align-items: baseline; gap: 4px; margin: 14px 0 0; padding: 4px 16px; border-radius: 999px;
  background: var(--gold-light); color: var(--navy); font-weight: 900; line-height: 1.4;
}
.chip { align-items: center; gap: 8px; }
.chip .y { font-size: 13px; letter-spacing: .08em; }
.chip .md { display: inline-flex; align-items: baseline; }
.chip .n { font-size: 28px; line-height: 1.2; }
.chip .k { font-size: 15px; margin: 0 2px; }
.chip .w { background: var(--navy); color: #fff; font-size: 12px; border-radius: 999px; padding: 3px 10px; }

/* メインメッセージ */
.hero { background: var(--white); }
.hero-img { width: 100%; height: 210px; object-fit: cover; object-position: 70% 40%; }
.hero-msg { padding-top: 24px; padding-bottom: 28px; }
.hero-lead { font-size: 15px; font-weight: 700; color: var(--navy-2); letter-spacing: .05em; margin-bottom: 6px; }
.hero-title { font-family: var(--serif); font-weight: 900; font-size: 34px; line-height: 1.32; color: var(--navy); margin-bottom: 16px; }
.hero-title em { font-style: normal; color: var(--gold); }
.hero-text { font-size: 16px; line-height: 1.95; color: #2c3e50; }
.hero-text br { display: none; }

/* 開催情報（生成り） */
.info-section { padding-bottom: 8px; }
.info-card { background: var(--cream); border-radius: var(--radius); padding: 20px 16px; }
.facts { margin: 0 0 20px; display: grid; gap: 12px; }
.fact { display: grid; grid-template-columns: 4.6em 1fr; gap: 12px; align-items: baseline; }
.fact dt {
  background: var(--navy); color: var(--white); font-size: 14px; font-weight: 700; text-align: center;
  border-radius: 4px; letter-spacing: .15em; line-height: 1.9;
}
.fact dd { margin: 0; font-size: 17px; line-height: 1.6; }
.fact dd strong { font-size: 19px; }
.note { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* ボタン（金茶） */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 12px 28px; border: 0; border-radius: 8px;
  font: inherit; font-size: 19px; font-weight: 700; text-decoration: none; cursor: pointer; letter-spacing: .05em;
}
.btn-primary { background: var(--gold); color: var(--white); box-shadow: 0 3px 0 #7d5b19; }
.btn-primary:hover { background: #b98a2c; }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 #7d5b19; }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-block { display: flex; width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--navy-2); outline-offset: 3px;
}

/* 共通の見出し・セクション */
.section { padding: 36px 0; }
.section.wrap { padding-left: 16px; padding-right: 16px; }
.section-small { padding-top: 28px; padding-bottom: 36px; }
.section-tint { background: var(--cream); }
.section-title {
  font-size: 21px; font-weight: 700; color: var(--navy);
  border-bottom: 2px solid var(--navy); padding-bottom: 6px; margin-bottom: 16px;
}
.section-title.small { font-size: 18px; }

/* こんな方におすすめ */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 17px; line-height: 1.65; }
.checklist li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: var(--gold); font-weight: 900; }

/* 当日お見せすること */
.points { list-style: none; margin: 0; padding: 0; }
.points li { display: flex; gap: 12px; margin-bottom: 12px; font-size: 17px; line-height: 1.6; }
.points b { font-family: var(--serif); color: var(--gold); font-size: 24px; line-height: 1.1; flex: none; width: 18px; }
.points small { display: block; font-size: 14px; color: var(--muted); }

/* 講師 */
.teacher { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.teacher-photo { width: 96px; height: 96px; flex: none; border-radius: 50%; object-fit: cover; }
.teacher-role { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.55; margin-bottom: 2px; }
.teacher-name { font-size: 22px; font-weight: 700; letter-spacing: .05em; }
.teacher-bio { font-size: 15px; line-height: 1.9; color: #444; }

/* フォーム */
.apply-alt { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px; box-shadow: 0 4px 18px rgba(15, 42, 71, .07); }
.form-intro { font-size: 15px; color: var(--muted); }
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 700; font-size: 17px; margin-bottom: 8px; padding: 0; }
.req, .opt {
  display: inline-block; font-size: 12px; line-height: 1.7; padding: 0 7px; border-radius: 4px;
  vertical-align: 2px; margin-left: 4px; font-weight: 700;
}
.req { background: var(--kari); color: var(--white); }
.opt { background: #e6e9ed; color: var(--muted); }
.hint { font-size: 14px; color: var(--muted); margin: 6px 0 0; line-height: 1.7; }
.counter { text-align: right; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  padding: 12px 14px; min-height: 54px; border: 2px solid #b9c3cd; border-radius: 8px; background: var(--white);
}
textarea { min-height: 120px; line-height: 1.6; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy-2); }
::placeholder { color: #8a949e; }
.choices { display: grid; gap: 10px; }
.choices-3 { grid-template-columns: repeat(3, 1fr); }
.choices-stack { grid-template-columns: 1fr; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 10px;
  border: 2px solid #b9c3cd; border-radius: 8px; font-weight: 700; text-align: center; line-height: 1.4; background: var(--white);
}
.choice input:checked + span { border-color: var(--navy); background: #e8eef5; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--navy-2); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; cursor: pointer; }
.check input { width: 26px; height: 26px; margin: 3px 0 0; flex: none; accent-color: var(--navy); }
.consent { background: var(--cream); border-radius: 8px; padding: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { color: var(--error); font-size: 15px; font-weight: 700; margin: 6px 0 0; }
.error:empty { display: none; }
.field.invalid input[type="text"], .field.invalid input[type="tel"], .field.invalid input[type="email"],
.field.invalid select, .field.invalid textarea { border-color: var(--error); background: #fff6f5; }
.form-error { color: var(--error); font-weight: 700; margin: 0 0 12px; }
.form-error:empty { display: none; }

/* 完了 */
.done:focus { outline: none; }
.done-badge {
  font-size: 20px; font-weight: 700; color: var(--white); background: var(--navy);
  border-radius: 8px; padding: 12px 16px; text-align: center; line-height: 1.5;
}
.done.waitlist .done-badge { background: var(--gold); }
.done-wait, .done.waitlist .done-ok { display: none; }
.done.waitlist .done-wait { display: block; }
.done-info { margin: 16px 0; background: var(--cream); border-radius: 8px; padding: 12px 16px; }
.done-info div { padding: 8px 0; border-bottom: 1px dashed var(--cream-line); }
.done-info div:last-child { border-bottom: 0; }
.done-info dt { font-size: 14px; font-weight: 700; color: var(--gold); }
.done-info dd { margin: 0; line-height: 1.7; }

/* 個人情報 */
.privacy-list { margin: 0; padding-left: 1.2em; font-size: 15px; color: var(--muted); line-height: 1.8; }
.privacy-list li { margin-bottom: 6px; }

/* フッター（紺） */
.site-footer { background: var(--navy); color: var(--white); padding: 30px 0 36px; font-size: 15px; }
.site-footer p { margin-bottom: 6px; }
.contact-label { opacity: .9; }
.site-footer .tel { color: var(--white); font-size: 30px; font-weight: 900; letter-spacing: .04em; text-decoration: none; }
.foot-note { opacity: .9; margin-top: 10px; }
.site-footer .copy { opacity: .7; margin-top: 18px; }

/* タブレット・PC */
@media (min-width: 560px) {
  .hero-text br { display: inline; }
}
@media (min-width: 800px) {
  body { font-size: 17px; }
  .site-header { padding: 36px 0 40px; }
  .org { font-size: 14px; }
  .title { font-size: 54px; }
  .title small { font-size: 19px; }
  .head-inner { padding-right: 160px; }
  .chip {
    position: absolute; right: 16px; top: 4px; width: 128px; height: 128px; margin: 0; padding: 0; border-radius: 50%;
    flex-direction: column; align-items: center; justify-content: center; gap: 0; line-height: 1.15;
  }
  .chip { width: 150px; height: 150px; top: -6px; } .chip .y { font-size: 12px; margin-bottom: 4px; } .chip .n { font-size: 32px; line-height: 1; } .chip .k { font-size: 15px; } .chip .w { margin-top: 6px; font-size: 12px; }

  .hero { position: relative; min-height: 460px; display: flex; align-items: center; overflow: hidden; }
  .hero-img { position: absolute; inset: 0; height: 100%; object-position: center 40%; }
  .hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 45%, rgba(255,255,255,0) 75%);
  }
  .hero-msg { position: relative; z-index: 1; width: 100%; padding-top: 40px; padding-bottom: 40px; }
  .hero-lead { font-size: 18px; }
  .hero-title { font-size: 52px; }
  .hero-text { font-size: 17px; max-width: 30em; }

  .info-section { margin-top: 32px; }
  .info-card { padding: 28px 32px; display: grid; grid-template-columns: 1fr 280px; gap: 12px 32px; align-items: center; }
  .info-card .facts { margin: 0; grid-row: span 2; }
  .info-card .note { margin: 0; }
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
  .section-title { font-size: 23px; }
  .teacher-bio { max-width: 44em; }
  #apply .card, #apply .apply-alt, #apply .section-title { max-width: 680px; margin-left: auto; margin-right: auto; }
  .card { padding: 32px 36px; }
  .choices-stack { grid-template-columns: repeat(3, 1fr); }
}

/* 受付開始前の案内 */
.closed-note { background: #fff; border: 2px solid var(--navy); border-radius: 12px; padding: 20px; text-align: center; font-weight: 700; color: var(--navy); }
