/* =========================================================
   RESET
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.7;

  /* グラデーション＋ドット */
  background:
    radial-gradient(circle, rgba(26,117,187,0.15) 1px, transparent 1px),
    linear-gradient(
      90deg,
      #f2f4db 0%,
      #f8faee 15%,
      #ffffff 40%,
      #ffffff 60%,
      #f8faee 85%,
      #eff4db 100%
    );
  background-size: 14px 14px, 100% 100%;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================================================
   HEADER
========================================================= */
.page-header {
  background: #fff01b;
  padding: 20px 20px;
}

.page-header h1 {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.page-header-icon {
  width: 60px;
}

/* =========================================================
   BODY WRAPPER
========================================================= */
#body {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.trial-note {
  margin-top: 20px;
  padding: 14px 18px;
  background: #ebebeb; 
  border-left: 6px solid #fff01b; 
  color: #1b1b1b;
  font-size: 16px;
  line-height: 1.7;
  border-radius: 8px;
  margin-bottom: 60px;
}
.trial-note strong {
  color: #0f4f8a;
  font-weight: 700;
}


/* 2カラム用グリッド */
.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 12px;
}

/* カードは高さを揃える */
.radio-card {
  height: 100%;
}
/* 選択肢全体をカードに */
.form-choice .radio-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 2px solid #bbbbbb;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* 元のradioは隠す */
.form-choice input[type="radio"] {
  display: none;
}

/* 丸UI */
.radio-ui {
  width: 18px;
  height: 18px;
  border: 2px solid #727272;
  border-radius: 50%;
  position: relative;
}

/* 中の● */
.radio-ui::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #f8f40e;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
}

/* checked */
.radio-card:has(input:checked) {
  background: #faf2aa;
  border-color: #757575;
}

.radio-card:has(input:checked) .radio-ui::after {
  transform: translate(-50%, -50%) scale(1);
}

/* ホバーで「押せる」感 */
.radio-card:hover {
  background: #ffffee;
}



/* スマホは1カラム */
@media (max-width: 768px) {
  .radio-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   PAGE SECTION TITLE（大きいh2）
========================================================= */
#body > h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin: 60px 0 24px;
  position: relative;
}

#body > h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  background: #fff01b;
  margin: 16px auto 0;
  border-radius: 2px;
}

/* =========================================================
   TEXT
========================================================= */
#body ol {
  max-width: 760px;
  margin: 0 auto 40px;
  padding-left: 1.2em;
  font-size: 16px;
}

/* =========================================================
   FORM CARD
========================================================= */
#form-tbl {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* =========================================================
   FORM BLOCK
========================================================= */
.form-block {
  margin-bottom: 22px;
}

/* フォーム用h2（小） */
.form-block h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  text-align: left;
}

.form-block h2::after {
  display: none;
}

.req {
  color: #e53935;
  font-size: 13px;
  margin-left: 6px;
}

/* =========================================================
   INPUTS
========================================================= */
.form-block input[type="text"],
.form-block input[type="tel"],
.form-block input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  transition: all 0.25s ease;
}

.form-block input:focus {
  outline: none;
  border-color: #fff01b;
  box-shadow: 0 0 0 4px rgba(255,240,27,0.35);
}

/* ラジオ */
.radio-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.radio-group input[type="radio"] {
  margin-right: 6px;
  transform: scale(1.2);
}

/* エラー */
.err-msg {
  color: #e53935;
  font-size: 13px;
  margin-top: 4px;
}

/* =========================================================
   CTA BUTTONS
========================================================= */
.btn {
  text-align: center;
  margin-top: 40px;
}

.btn input {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 送信 */
.btn input[type="submit"] {
  background: #fff01b;
  box-shadow: 0 8px 0 #d9cc00;
}

.btn input[type="submit"]:hover {
  transform: translateY(3px);
  box-shadow: 0 4px 0 #d9cc00;
}

/* リセット */
.btn input[type="reset"] {
  background: #eee;
  color: #555;
  margin-left: 16px;
}

.btn input[type="reset"]:hover {
  background: #ddd;
}

/* =========================================================
   PRIVACY
========================================================= */
#body > h2 + ol {
  max-width: 760px;
  margin: 24px auto 0;
  font-size: 15px;
  background: #f9fafb;
  padding: 24px 28px;
  border-radius: 12px;
}

/* =========================================================
   PLACEHOLDER
========================================================= */
::placeholder {
  color: #b5b5b5;
  opacity: 1;
  font-size: 14px;
}

/* =========================================================
   MOBILE
========================================================= */
@media screen and (max-width: 768px) {
  .page-header h1 {
    font-size: 24px;
  }

  .btn input {
    width: 100%;
    margin-bottom: 14px;
  }

  .btn input[type="reset"] {
    margin-left: 0;
  }
  .trial-note {
      font-size: 13px;
      padding: 12px 14px;
    }
}

