@charset "utf-8";

/* =========================================================
   お問い合わせ  （style.css → page.css → このファイル の順で読む）

   実測の縦位置（1440幅レンダリング / ページ左上原点）
     パン屑        y=100     和文見出し y=179（1000版面 x=220）/ 欧文 y=248
     リード文      y=327.7   （1000×107.4 / 2段落 / 下罫0.667 #d0d0d0 / pad-bottom30）
     タブ          y=485.1   （500×60 / radius 20 20 0 0 / 選択 #d6eff9・非選択 #eee）
     フォーム面    y=540.1   （1000×1444.8 / bg#d6eff9 / radius 0 0 20 20 / pad40）
       注記        y=580.1   （18px / 高さ65）
       入力欄      650×50（x=522.3 / bg#fff / radius4 / 枠0.667 #eee / pad12）
         1行目 705.3 → 以降 +80（ラジオ群は前の行から+30）
       ラジオ      上下に1pxの罫（#c8c8c8）・ラベル42.4 / radius20 / pad10
       本文欄      y=1591（650×160）
       同意文      y=1791（14px）／送信ボタン y=1835（400×70 / radius40）
     main 下端     y=2084.9
   ========================================================= */

.pg-ct { position: relative; z-index: 1; padding-top: 40.5px; padding-bottom: 100px; }

/* ---------- リード文 ---------- */
.pg-ct__lead {
  padding-bottom: 30px;
  border-bottom: .667px solid var(--c-rule-d);
}
.pg-ct__lead p {
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  color: var(--c-ink);
}
.pg-ct__lead a { color: var(--c-blue); text-decoration: underline; }

/* ---------- タブ ---------- */
.pg-ct__tabs { display: flex; margin-top: 50px; }
.pg-ct__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 500px;
  height: 60px;
  border-radius: 20px 20px 0 0;
  background: var(--c-face);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: var(--c-rule-d);
  text-align: center;
}
.pg-ct__tab.is-on { background: #d6eff9; color: #333; }

/* ---------- フォーム面 ---------- */
.pg-ct__panel {
  margin-top: -5px;            /* タブの下端5pxに面をかぶせる（実測: タブ485.1 + 60 → 面 540.1） */
  padding: 40px;
  border-radius: 0 0 20px 20px;
  background: #d6eff9;
}
.pg-ct__note {
  padding: 16.3px 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 32.4px;
  color: #333;
}

.pg-ct__row { display: flex; align-items: center; margin-top: 60.2px; }
.pg-ct__row + .pg-ct__row { margin-top: 30px; }
.pg-ct__row--ta { align-items: flex-start; }
.pg-ct__lb {
  flex: none;
  display: flex;
  align-items: baseline;
  gap: 5px;
  width: 269.8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 25.2px;
  color: var(--c-ink);
}
.pg-ct__row--ta .pg-ct__lb { padding-top: 12px; }
.pg-ct__req {
  font-size: 15px;
  font-weight: 700;
  line-height: 21px;
  color: #f23a3c;
  white-space: nowrap;
}
.pg-ct__in { flex: none; width: 650px; }

.pg-ct__input {
  display: block;
  width: 100%;
  height: 50px;
  padding: 12px;
  border: .667px solid var(--c-face);
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  color: var(--c-ink);
}
.pg-ct__input::placeholder { color: #c3c9cc; }
.pg-ct__ta {
  display: block;
  width: 100%;
  height: 160px;
  padding: 10px;
  border: .667px solid var(--c-face);
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  color: var(--c-ink);
  resize: vertical;
}

/* ラジオ群（上下に1pxの罫） */
.pg-ct__radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  padding: 10.5px 0 10px;
  border-top: 1px solid #c8c8c8;
  border-bottom: 1px solid #c8c8c8;
}
.pg-ct__rd {
  display: flex;
  align-items: center;
  gap: 7.2px;
  height: 42.4px;
  padding: 10px 18px 10px 10px;   /* 参考のラベル幅（121.9/136.8/138.9/124/93）に合わせる */
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
  color: var(--c-ink);
  cursor: pointer;
}
.pg-ct__rd:hover { background: rgba(255, 255, 255, .55); }
.pg-ct__rd input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--c-blue);
}

/* 同意文と送信ボタン */
.pg-ct__consent {
  margin-top: 40px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #333;
  text-align: center;
}
.pg-ct__consent a { color: var(--c-blue); text-decoration: underline; }
.pg-ct__submit { margin: 24px 0 39.9px; text-align: center; }
.pg-ct__btn {
  width: 400px;
  height: 70px;
  padding: 12px 24px;
  border-radius: 40px;
  background: var(--c-blue);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 38px;
  transition: background .3s var(--ease);
}
.pg-ct__btn:hover { background: #0f88bd; }

/* =========================================================
   〜1180px
   ========================================================= */
@media (max-width: 1180px) {
  .pg-ct__tab { width: 50%; font-size: 17px; }
  .pg-ct__lb { width: 220px; }
  .pg-ct__in { flex: 1; width: auto; min-width: 0; }
}

/* =========================================================
   スマホ（〜767px）
   ========================================================= */
@media (max-width: 767px) {
  .pg-ct { padding-top: 32px; padding-bottom: 60px; }
  .pg-ct__lead p { font-size: 14px; line-height: 22.4px; }
  .pg-ct__tabs { display: block; margin-top: 32px; }
  .pg-ct__tab {
    width: 100%;
    height: auto;
    min-height: 52px;
    padding: 10px 14px;
    border-radius: 14px 14px 0 0;
    font-size: 15px;
    line-height: 21px;
  }
  .pg-ct__tab:not(.is-on) { display: none; }
  .pg-ct__panel { padding: 20px; border-radius: 0 0 14px 14px; }
  .pg-ct__note { padding: 8px 0; font-size: 15px; line-height: 27px; }
  .pg-ct__row,
  .pg-ct__row + .pg-ct__row { display: block; margin-top: 24px; }
  .pg-ct__lb { width: auto; font-size: 15px; line-height: 21px; }
  .pg-ct__row--ta .pg-ct__lb { padding-top: 0; }
  .pg-ct__req { font-size: 13px; line-height: 18.2px; }
  .pg-ct__in { width: auto; margin-top: 8px; }
  .pg-ct__input { height: 46px; font-size: 15px; }
  .pg-ct__ta { height: 130px; font-size: 15px; }
  .pg-ct__rd { height: 38px; padding: 8px; font-size: 14px; }
  .pg-ct__consent { margin-top: 24px; font-size: 13px; }
  .pg-ct__submit { margin: 16px 0 0; }
  .pg-ct__btn { width: 100%; max-width: 400px; height: 60px; font-size: 17px; line-height: 36px; }
}
