@charset "UTF-8";
/* ============================================================================
   公益財団法人 健和会 / エントリーフォーム
   LP（lp_01）のデザイントークンをそのまま踏襲しています。
   1rem = 10px（設計幅375px）。430pxで固定し、PCでは中央寄せ。
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html, body, h1, h2, p, ul, ol, li, dl, dt, dd, figure, fieldset, legend {
  margin: 0;
  padding: 0;
}

ul, ol   { list-style: none; }
fieldset { border: 0; }
img      { border-style: none; vertical-align: bottom; }
a        { color: inherit; }

:root {
  --navy:     #0b3b5c;
  --teal:     #1fa9b8;
  --teal-d:   #0e7f8d;
  --orange:   #f39a3e;
  --orange-d: #e37f1f;
  --gray:     #6b7885;
  --red:      #e74c3c;
  --cream:    #fbf8f3;
  --pale:     #e4f5f7;
  --line:     #d5dde4;

  --zen:     "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --noto:    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --poppins: "Poppins", sans-serif;
}

html { font-size: calc(100vw / 37.5); }
@media (min-width: 430px) { html { font-size: 11.4667px; } }

body {
  background: #eceff3;
  color: var(--navy);
  font-family: var(--noto);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.lp {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 37.5rem;
  max-width: 430px;
  min-height: 100vh;
  margin-inline: auto;
  background: #fff;
  overflow-x: clip;
}

@media (min-width: 430px) {
  .lp { box-shadow: 0 0 4rem rgba(11, 59, 92, .12); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ------------------------------------------------------------------ 共通 -- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.1rem;
  padding: 0 1.6rem 0 1rem;
  background: #fff;
}

.header__logo img { width: 11.7rem; height: 1.8rem; object-fit: contain; }

.header__back {
  font: 700 1.1rem/1.4545 var(--zen);
  color: var(--gray);
  text-decoration: none;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  margin-top: auto;
  padding: 2rem;
  background: var(--navy);
  text-align: center;
}

.footer__name    { font: 700 1.3rem/1.4615 var(--zen); letter-spacing: .026rem; color: #fff; }
.footer__address { font: 400 1.05rem/1.6 var(--noto); color: rgba(255, 255, 255, .5); }

/* -------------------------------------------------------------- 見出し帯 -- */
.entry-head {
  padding: 3.2rem 2rem 6rem;
  background: linear-gradient(180deg, #005fa0 0, #0b3b5c 78%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4.175rem), 50% 100%, 0 calc(100% - 4.175rem));
  color: #fff;
  text-align: center;
}

.entry-head__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  height: 4.5rem;
}

.entry-head__num {
  font: italic 900 3rem/1.5 var(--poppins);
  color: rgba(255, 255, 255, .55);
}

.entry-head__en {
  font: 700 1.1rem/1.4545 var(--zen);
  letter-spacing: .264rem;
  color: rgba(255, 255, 255, .8);
}

.entry-head__title { margin-top: .4rem; font: 900 2.4rem/1.35 var(--zen); }

.entry-head__lp {
  margin-top: 1.2rem;
  font: 700 1.3rem/1.6 var(--noto);
  color: rgba(255, 255, 255, .85);
}

/* -------------------------------------------------------------- ステップ -- */
.steps {
  counter-reset: step;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.4rem;
}

.steps li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font: 700 1.15rem/1.4 var(--zen);
  color: #a9b4bf;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: #e3e8ed;
  font: 900 1.15rem/1 var(--poppins);
  color: #fff;
}

.steps li.is-current         { color: var(--navy); }
.steps li.is-current::before { background: var(--teal); }
.steps li.is-done            { color: var(--teal-d); }
.steps li.is-done::before    { content: "✓"; background: var(--teal-d); font-family: var(--noto); }

/* ------------------------------------------------------------------ 本文 -- */
.entry-body { padding: 2.4rem 2rem 4rem; }

.entry-lead {
  margin-bottom: 2.4rem;
  font: 400 1.3rem/1.8 var(--noto);
  color: var(--gray);
  text-align: center;
}

/* エラーまとめ */
.alert {
  margin-bottom: 2.4rem;
  padding: 1.4rem 1.6rem;
  border: .1rem solid var(--red);
  border-radius: 1rem;
  background: rgba(231, 76, 60, .06);
}

.alert__title { font: 700 1.3rem/1.6 var(--zen); color: var(--red); }

.alert ul { margin-top: .6rem; }

.alert li {
  padding-left: 1.2rem;
  font: 400 1.2rem/1.7 var(--noto);
  color: var(--red);
  text-indent: -1.2rem;
}

.alert li::before { content: "・"; }

/* -------------------------------------------------------------- フォーム -- */
.field { margin-bottom: 2rem; }

.field__label {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .7rem;
  font: 700 1.35rem/1.5 var(--zen);
  color: var(--navy);
}

.badge {
  padding: .2rem .7rem;
  border-radius: .4rem;
  font: 700 1rem/1.5 var(--zen);
  color: #fff;
}

.badge--req { background: var(--red); }
.badge--opt { background: #a9b4bf; }

.field__note {
  margin-top: .5rem;
  font: 400 1.1rem/1.6 var(--noto);
  color: var(--gray);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 1.2rem 1.4rem;
  border: .1rem solid var(--line);
  border-radius: .8rem;
  background: #fff;
  color: var(--navy);
  font-family: var(--noto);
  /* 16px未満だとiOSで自動ズームするため下限を16pxに固定 */
  font-size: max(1.6rem, 16px);
  line-height: 1.5;
}

.field textarea { min-height: 10rem; resize: vertical; }

.field select {
  appearance: none;
  padding-right: 3.6rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--gray) 50%),
                    linear-gradient(135deg, var(--gray) 50%, transparent 50%);
  background-position: calc(100% - 1.9rem) 50%, calc(100% - 1.4rem) 50%;
  background-size: .5rem .5rem, .5rem .5rem;
  background-repeat: no-repeat;
}

.field :is(input, select, textarea):focus-visible {
  border-color: var(--teal);
  outline: .2rem solid var(--teal);
  outline-offset: .1rem;
}

.field.is-error :is(input, select, textarea) {
  border-color: var(--red);
  background: rgba(231, 76, 60, .04);
}

.field__error {
  margin-top: .5rem;
  font: 700 1.15rem/1.6 var(--noto);
  color: var(--red);
}

/* ラジオ（参加希望日程） */
.radios { display: flex; flex-direction: column; gap: .8rem; }

.radios label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  border: .1rem solid var(--line);
  border-radius: .8rem;
  font: 700 1.4rem/1.4 var(--zen);
  color: var(--navy);
  cursor: pointer;
}

.radios input { flex: none; width: 1.8rem; height: 1.8rem; accent-color: var(--teal); }
.radios label:has(input:checked)       { border-color: var(--teal); background: var(--pale); }
.radios label:has(input:focus-visible) { outline: .2rem solid var(--teal); outline-offset: .1rem; }

/* 同意チェック */
.agree {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 2.4rem 0;
  padding: 1.6rem;
  border-radius: 1rem;
  background: var(--cream);
  font: 400 1.2rem/1.7 var(--noto);
}

.agree input { flex: none; width: 1.8rem; height: 1.8rem; margin-top: .1rem; accent-color: var(--teal); }
.agree a { color: var(--teal-d); }

/* ハニーポット（人間には見えない。ボット対策） */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------------------------------------------------------------- ボタン -- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  width: 100%;
  height: 6.4rem;
  border: 0;
  border-radius: 1.4rem;
  color: #fff;
  font: 900 1.7rem/1 var(--zen);
  text-decoration: none;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(90deg, #f39a3e, #e37f1f);
  box-shadow: 0 1rem 2.4rem rgba(243, 154, 62, .4);
}

.btn--sub {
  height: 5.2rem;
  margin-top: 1.2rem;
  border: .1rem solid var(--line);
  background: #fff;
  color: var(--gray);
  font-size: 1.4rem;
}

.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-note {
  margin-top: 1.2rem;
  font: 400 1.1rem/1.6 var(--noto);
  color: var(--gray);
  text-align: center;
}

/* -------------------------------------------------------------- 確認画面 -- */
.review {
  border: .1rem solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
}

.review__row { display: flex; border-bottom: .1rem solid var(--line); }
.review__row:last-child { border-bottom: 0; }

.review__row dt {
  flex: 0 0 11rem;
  padding: 1.3rem 1.2rem;
  background: var(--cream);
  font: 700 1.15rem/1.6 var(--zen);
  color: var(--navy);
}

.review__row dd {
  flex: 1;
  padding: 1.3rem 1.2rem;
  font: 400 1.3rem/1.6 var(--noto);
  color: var(--navy);
  white-space: pre-wrap;
  word-break: break-word;
}

/* -------------------------------------------------------------- 完了画面 -- */
.done { padding: 4rem 2rem 5rem; text-align: center; }

.done__icon {
  display: grid;
  place-items: center;
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: var(--pale);
  color: var(--teal);
  font-size: 4rem;
}

.done__title { font: 900 2.2rem/1.4 var(--zen); color: var(--navy); }

.done__text {
  margin-top: 1.6rem;
  font: 400 1.3rem/1.9 var(--noto);
  color: var(--gray);
}

.done__notice {
  margin-top: 2.4rem;
  padding: 1.6rem;
  border-radius: 1rem;
  background: var(--cream);
  font: 400 1.2rem/1.8 var(--noto);
  color: var(--navy);
  text-align: left;
}
