@charset "UTF-8";
/* ============================================================
   保険関連ページ（勧誘方針 / 個人情報保護方針 / お問い合わせ）専用スタイル
   - STUDIO で作成されたページのレイアウトを再現したもの
   - サイト共通の Tailwind（styles.css）とは独立させ、
     このディレクトリ配下のページからのみ読み込む
   - webpack のビルド対象外。直接編集する静的ファイル
     （swiper-bundle.min.css と同じ扱い）
   ============================================================ */

:root {
  --c-text: #333;
  --c-bg: #fff;
  --c-border: #e6e6e6;
  --c-box-bg: #fafafa;
  --c-footer-bg: #111;
  --c-footer-text: #fff;
  --c-input-border: #9c9c9c;
  --c-select-border: #aaa;
  --c-required: #ff5035;

  --container: 720px;
  --label-col: 210px;

  --font-jp: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
    "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "游ゴシック体",
    "Meiryo", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.4;
}

img { border: 0; vertical-align: middle; }

a { color: inherit; }

/* ---------- layout ---------- */
.l-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.l-main { padding: 48px 0 120px; }

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  height: 50px;
  padding-inline: 40px;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}

.site-header__logo { display: inline-block; line-height: 1; }

.site-header__logo img {
  display: block;
  width: 135px;
  height: 19px;
}

/* ---------- footer ---------- */
.site-footer {
  padding: 80px 20px 40px;
  background: var(--c-footer-bg);
  color: var(--c-footer-text);
  text-align: center;
}

.site-footer__logo {
  display: block;
  width: 180px;
  height: 25px;
  margin: 0 auto 32px;
}

.site-footer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.site-footer__copyright { margin-top: 80px !important; }

/* ---------- typography ---------- */
.p-title {
  margin: 0 0 40px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.p-lead {
  display: block;
  margin: 0 0 15px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
}

.p-body p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
}

.p-body p:last-child { margin-bottom: 0; }

/* 個人情報保護方針の番号付きセクション（STUDIO原本は ol/li 構造で番号表示） */
.p-body ol {
  margin: 0 0 8px;
  padding-left: 20px;
}

.p-body ol li {
  margin-bottom: 8px;
}

.p-body ol li:last-child { margin-bottom: 0; }

.p-body ol li p { margin: 0; }

.p-section__heading {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.u-link { text-decoration: underline; }

/* ---------- お問い合わせフォームへの導線バナー ---------- */
.p-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  padding: 16px;
  min-height: 60px;
  background: var(--c-footer-bg);
  color: #fff;
  font-size: 20px;
  text-align: center;
  text-decoration: none;
}

/* ---------- formrun 埋め込み ---------- */
.p-embed {
  margin-top: 40px;
}

/* 埋め込まれた iframe は SDK が高さを調整する。横幅だけ整えておく */
.p-embed iframe {
  width: 100%;
  border: 0;
}

/* ---------- リンクボックス ---------- */
.p-linkbox {
  margin-top: 48px;
  padding: 16px;
  background: var(--c-box-bg);
}

.p-linkbox ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-linkbox a {
  font-size: 14px;
  line-height: 1.4;
  text-decoration: underline;
}

/* ---------- 注意事項リスト ---------- */
.p-notice {
  margin: 40px 0 0;
  padding: 16px;
  background: var(--c-box-bg);
}

.p-notice__heading {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
}

.p-notice ul {
  margin: 0;
  padding-left: 1.2em;
}

.p-notice li {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.6;
}

.p-notice li:last-child { margin-bottom: 0; }

/* ---------- フォーム ---------- */
.p-form {
  margin-top: 48px;
  padding-inline: 16px;
}

.p-form__section-title {
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-border);
  font-size: 16px;
  font-weight: 700;
}

.p-form__section-title:first-child { margin-top: 0; }

.p-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 24px;
}

.p-row__label {
  /* label 要素で使うため display を明示（インライン既定値だと幅・余白が効かない） */
  display: block;
  flex: 0 0 var(--label-col);
  width: var(--label-col);
  padding: 14px 16px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.p-row__field { flex: 1 1 auto; min-width: 0; }

.p-row--stack { display: block; }

.p-row--stack .p-row__label {
  width: auto;
  padding: 0 0 8px;
}

.p-required {
  margin-left: 4px;
  color: var(--c-required);
  font-weight: 700;
}

.p-hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #666;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--c-text);
  background: #fff;
  border-radius: 0;
  appearance: none;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  height: 50px;
  padding: 10px 16px;
  border: 1px solid var(--c-input-border);
}

textarea {
  min-height: 180px;
  padding: 10px 16px;
  border: 1px solid var(--c-input-border);
  resize: vertical;
}

select {
  height: 54px;
  padding: 15px 10px;
  border: 1px solid var(--c-select-border);
  background-image: linear-gradient(45deg, transparent 50%, #555 50%),
    linear-gradient(135deg, #555 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.p-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 14px;
}

.p-radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
}

.p-radio input { margin: 0; }

.p-submit {
  display: block;
  width: 100%;
  height: 54px;
  margin-top: 48px;
  border: 1px solid #000;
  border-radius: 0;
  background: var(--c-footer-bg);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
}

.p-submit:hover { opacity: 0.85; }

/* ---------- responsive ---------- */
@media (max-width: 767px) {
  .site-header { padding-inline: 20px; }

  .l-main { padding: 32px 0 80px; }

  .p-title { font-size: 18px; margin-bottom: 28px; }

  .p-lead { font-size: 16px; }

  .p-cta { font-size: 18px; margin: 28px 0; }

  .p-form { padding-inline: 0; }

  .p-row { display: block; }

  .p-row__label {
    width: auto;
    padding: 0 0 8px;
  }

  .p-radio-group { padding-top: 0; }

  .site-footer { padding: 56px 20px 32px; }

  .site-footer__copyright { margin-top: 48px !important; }
}
