/* ============================================================
   Reset
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "メイリオ",
    sans-serif;
  background: #f5f5f5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #4a4a4a;
}

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

/* ============================================================
   LP container — モバイル基準・PCでも縦長維持
   ============================================================ */
.lp {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* ============================================================
   サイトヘッダー(サービスロゴのみ)
   ============================================================ */
.site-header {
  padding: 14px 20px;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
}

.site-logo {
  display: inline-block;
  width: auto;
  max-width: 280px;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* ============================================================
   セクション基本レイアウト
   全セクション共通の position/width 指定を一括化
   ============================================================ */
.lp section {
  position: relative;
  width: 100%;
}

/* 各セクションの背景色(白以外を必要とする場合のみ画像と継ぎ目消し用に指定)
   .lp の白背景がデフォルトなので、白セクションは指定不要 */
.sec3 { background: #f0f6fb; }
.sec4 { background: #faf9f7; }

/* ============================================================
   買取契約実績(SEC3 取扱物件 と SEC4 お悩み の間)

   見出し = 画像(既存セクションとトンマナを揃えるため。HTML/CSS版は却下された)
   物件カード = HTML/CSS(在庫入替でテキストだけ差し替えられるようにする)
   買取価格は ul に --price を付けたときだけ表示(A/B切替可)
   ============================================================ */
/* 見出し画像の下端色(#e7f4fd)から白へ繋いで、画像とカードエリアの継ぎ目を消す */
.sec-record {
  background: linear-gradient(#e7f4fd 0, #ffffff 90px);
  padding-bottom: 30px;
}

/* 見出しは画像(record-head.webp)。文言はプロンプト側で管理する。
   区切り線は画像に描かずCSSで引く(画像側に罫線があると余白の自動均等化が効かないため) */
.sec-record__head {
  margin: 0;
  border-top: 2px solid #1e5a8e;
  border-bottom: 1px solid #cfe0ee;
  line-height: 0;
}

.sec-record__head-image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.sec-record__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 20px 16px 0;
  list-style: none;
}

/* flex column + spec に flex:1 で、価格帯を常にカード下端へ貼り付ける。
   グリッドの行は最も高いカードに揃うため、これをやらないと
   中身の少ないカード(例: 横須賀)で価格帯の下に白い隙間が出る */
.sec-record__card {
  display: flex;
  flex-direction: column;
  padding: 0 0 12px;
  overflow: hidden;
  border: 1px solid #d6e2ee;
  border-radius: 8px;
  background: #f7fbfe;
  text-align: center;
}

/* 物件イメージ画像(16:9 でクロップ表示)
   楽待掲載の実物件写真は使用許可がないため、AI生成のイメージを使っている */
.sec-record__figure {
  position: relative;
  margin-bottom: 9px;
  line-height: 0;
}

/* <picture> は既定で inline。WebP非対応環境向けのjpgフォールバック用に
   ラップしているだけなので、レイアウトに影響しないよう block 化する */
.sec-record__figure picture,
.sec-record__head picture {
  display: block;
}

.sec-record__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e8eef4;
  user-select: none;
  -webkit-user-drag: none;
}

/* 金の斜めスタンプ風バッジ。実績の「達成感」を出すためのテンション装置 */
.sec-record__badge {
  position: absolute;
  top: 5px;
  left: 4px;
  padding: 5px 10px 6px;
  border: 1px solid #b98f2c;
  border-radius: 4px;
  background: linear-gradient(160deg, #fff6cf 0%, #ffe083 38%, #f0bf42 62%, #ffeeae 100%);
  color: #a02510;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transform: rotate(-4deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.32);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

/* 斜めに走る光沢(キラッと見せる) */
.sec-record__badge::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -20%;
  width: 45%;
  height: 220%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(20deg);
  pointer-events: none;
}

/* 「!!」だけ濃い赤で一段跳ねさせる */
.sec-record__badge em {
  font-style: normal;
  font-size: 16px;
  color: #d81f00;
}

/* ------------------------------------------------------------
   買取価格の表示(A/Bで出し分ける)
   価格を出すと期待値が上がるトレードオフがあるため、
   ul に --price を付けたときだけ価格帯が出る作りにしている。
   ------------------------------------------------------------ */
.sec-record__list--price .sec-record__card {
  padding-bottom: 0;
}

.sec-record__price {
  display: none;
  margin: 9px 0 0;
  padding: 5px 6px 6px;
  border-top: 1px solid #ecd79a;
  background: linear-gradient(#fffaea, #fdf0c6);
  color: #7a5a1e;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.sec-record__list--price .sec-record__price {
  display: block;
}

.sec-record__price strong {
  color: #d93416;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.sec-record__price span {
  color: #d93416;
  font-size: 12px;
  font-weight: 900;
}

.sec-record__pref {
  margin: 0;
  color: #3b7fbf;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.sec-record__city {
  margin: 0 0 7px;
  color: #1e5a8e;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.sec-record__spec {
  flex: 1; /* 余った高さを吸収して価格帯を下端に押し付ける */
  margin: 0 10px;
  padding-top: 7px;
  border-top: 1px dashed #cddced;
  color: #5a6470;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

/* 築年数・徒歩分数・坪数など、物件の「極端さ」を示す数字 */
.sec-record__spec em {
  color: #d93416;
  font-size: 15px;
  font-weight: 900;
  font-style: normal;
}

/* 狭幅端末(iPhone SE 等)では市町村名が折り返して高さがズレるため微縮小 */
@media (max-width: 374px) {
  .sec-record__badge { font-size: 11.5px; padding-left: 8px; padding-right: 8px; }
  .sec-record__badge em { font-size: 14px; }
  .sec-record__city { font-size: 15px; }
  .sec-record__spec { font-size: 11px; margin-left: 7px; margin-right: 7px; }
  .sec-record__list { gap: 8px; padding: 18px 12px 0; }
}

/* ============================================================
   セクション画像(<picture> 配下の <img> に共通スタイル)
   ============================================================ */
.section-image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* ============================================================
   CTAブロック(HTML製・FV直下/CTA#2/CTA#3 で再利用)
   2026-05-11: LINE誘導CTA廃止+ボタン画像化(images/cta-form-button-v1.webp)
   画像背景が純白のため、CTAブロック背景も白で統一(画像と一体化)
   ============================================================ */
.cta-block {
  padding: 28px 20px 32px;
  background: #ffffff;
  text-align: center;
}

/* FV直下のCTAブロックは padding微調整(FV画像下端と連続感) */
.cta-block--first {
  padding-top: 24px;
  padding-bottom: 32px;
}

.cta-block-eyebrow {
  margin: 0 0 6px;
  color: #1e5a8e;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.01em;
  font-feature-settings: "palt" 1;
}

.cta-block-lead {
  margin: 0 0 18px;
  color: #4a4a4a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-feature-settings: "palt" 1;
}

/* メインCTA:フォームボタン(画像化版・緑色・★ぷよぷよ動く★)
   .cta-form-btn は <a> ラッパー、内部の <img class="cta-form-btn-img"> が実画像
   画像は端まで緑(直角)。CSS側で border-radius と外側 box-shadow で角丸+立体感を作る */
.cta-form-btn {
  display: block;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(46, 125, 50, 0.35);
  transform-origin: center;
  will-change: transform;
  animation: cta-form-btn-puyo 1.4s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.cta-form-btn-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ぷよぷよアニメーション(squash-and-stretch でゼリー感) */
@keyframes cta-form-btn-puyo {
  0%, 100% {
    transform: scale(1, 1);
  }
  20% {
    transform: scale(1.05, 0.95);
  }
  40% {
    transform: scale(0.97, 1.04);
  }
  60% {
    transform: scale(1.02, 0.98);
  }
  80% {
    transform: scale(0.99, 1.01);
  }
}

.cta-form-btn:hover {
  filter: brightness(1.05) saturate(1.1);
  box-shadow: 0 10px 24px rgba(46, 125, 50, 0.5);
  animation-play-state: paused;
}

.cta-form-btn:active {
  filter: brightness(0.95);
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
  animation-play-state: paused;
  transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .cta-form-btn {
    animation: none;
  }
}

/* ============================================================
   SEC12 会社情報
   宅建業者票画像 + 情報テーブル + 事業所一覧
   信頼の最終補強 → フォームへ繋ぐ
   ============================================================ */
.sec12-company {
  position: relative;
  padding: 40px 20px 32px;
  background: #ffffff;
}

.company-header {
  text-align: center;
  margin-bottom: 24px;
}

.company-eyebrow {
  margin: 0 0 8px;
  color: #3b7fbf;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.company-title {
  margin: 0 0 8px;
  color: #1e5a8e;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
}

.company-lead {
  margin: 0;
  color: #4a4a4a;
  font-size: 14px;
  line-height: 1.7;
}

.company-lead strong {
  color: #1e5a8e;
  font-weight: 800;
}

/* 宅建業者票画像(免許番号と事業所の間に配置) */
.company-license {
  margin: 0 0 28px;
  padding: 12px;
  background: #faf9f7;
  border: 1px solid #e0d8cc;
  border-radius: 8px;
  text-align: center;
}

.company-license img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 420px;
  margin: 0 auto;
  border: 1px solid #d0c8b8;
}

/* 会社情報テーブル(dl) */
.company-info {
  margin: 0 0 32px;
  padding: 0;
  border-top: 1px solid #e6e8eb;
}

.company-info-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid #e6e8eb;
}

.company-info dt {
  margin: 0;
  color: #1e5a8e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.company-info dd {
  margin: 0;
  color: #2a2a2a;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}

.company-info dd a {
  color: #1e5a8e;
  font-weight: 700;
  text-decoration: underline;
}

/* 事業所(3拠点)— フラットテキストフロー(カード化しない) */
.company-offices-title {
  margin: 0 0 8px;
  padding-bottom: 8px;
  color: #1e5a8e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  border-bottom: 2px solid #1e5a8e;
}

.company-offices {
  list-style: none;
  margin: 0;
  padding: 0;
}

.company-office {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #e6e8eb;
}

.company-office:last-child {
  border-bottom: 0;
}

.company-office-text {
  min-width: 0;
}

.company-office h4 {
  margin: 0 0 4px;
  color: #1e5a8e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.company-office p {
  margin: 0;
  color: #4a4a4a;
  font-size: 13px;
  line-height: 1.7;
}

.company-office-img {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e6e8eb;
  background: #f5f5f5;
  box-shadow: 0 2px 8px rgba(30, 90, 142, 0.08);
}

.company-office-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s ease;
}

.company-office:hover .company-office-img img {
  transform: scale(1.04);
}

/* ============================================================
   SEC14 無料査定フォーム(最終CTA本体)
   FAQ画像下端(▼)から自然に繋ぐため、上部余白は最小化。
   見出しテキストは画像内テキストと同じトーン(ネイビー極太+
   オレンジ強調・余計な装飾なし)で連続感を出す。
   ============================================================ */
.sec14-form {
  position: relative;
  padding: 12px 20px 48px;
  background: #f0f6fb; /* FAQ画像下部の薄青と同色で継ぎ目消し */
  scroll-margin-top: 16px;
}

.form-header {
  text-align: center;
  margin-bottom: 20px;
}

.form-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.form-badges li {
  padding: 4px 12px;
  background: #1e5a8e;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.form-title {
  margin: 0;
  color: #1e5a8e;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.form-title-accent {
  color: #e8763e;
  font-size: 30px;
  font-weight: 900;
}

/* --- フォーム本体 --- */
.quote-form {
  background: #ffffff;
  padding: 24px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(30, 90, 142, 0.08);
}

.form-row {
  margin-bottom: 20px;
  border: 0;
  padding: 0;
}

.form-row:last-of-type {
  margin-bottom: 0;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #1e5a8e;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.form-sublabel {
  display: block;
  margin: 12px 0 6px;
  color: #4a4a4a;
  font-size: 13px;
  font-weight: 600;
}

.form-sublabel:first-of-type {
  margin-top: 0;
}

.required-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: #d32f2f;
  border-radius: 4px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}

.optional-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: #b0b0b0;
  border-radius: 4px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}

.form-control {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  background: #f7f9fc;
  border: 1.5px solid #d0d4dc;
  border-radius: 8px;
  color: #2a2a2a;
  font-family: inherit;
  font-size: 16px; /* iOS zoom 防止のため 16px 以上 */
  line-height: 1.5;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

/* 郵便番号フィールドは短め(数字7桁前提) */
.form-control-zip {
  max-width: 220px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

select.form-control {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231E5A8E'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 24px;
  padding-right: 44px;
}

textarea.form-control {
  min-height: auto;
  resize: vertical;
}

.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: #1e5a8e;
  box-shadow: 0 0 0 3px rgba(30, 90, 142, 0.15);
}

.form-control:invalid:not(:placeholder-shown) {
  border-color: #d32f2f;
}

/* ============================================================
   物件種別タイル選択(ABテストB版 index-tile.html 専用)
   狙い: 1問目のプルダウンをやめ、5択を全部見せて「1タップで完了」にする。
        ネイティブピッカーが開かない/選択肢がタップ前に見える/赤点滅なし。
   選択状態は script.js が .is-checked を付け外しして表現する
   (:has() 非対応の古い iOS でも確実に見えるようにするため)
   ============================================================ */
.type-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.type-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  padding: 10px 8px;
  background: #ffffff;
  border: 2px solid #c9d4da;
  border-radius: 10px;
  color: #253238;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

/* 戸建(問い合わせの最多物件)は1行ぶち抜き+一回り大きく。
   最初に目に入る位置に、最も選ばれる選択肢を最も押しやすい面積で置く */
.type-tile--wide {
  grid-column: 1 / -1;
  min-height: 68px;
  font-size: 19px;
}

/* radio 本体は視覚的に隠す。要素としては残すのでキーボード操作・focusin計測は効く */
.type-tile input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

/* 未選択でも「選ぶものである」と分かるラジオ丸(紙のアンケートと同じメタファー)。
   選択されると緑で塗りつぶされ、中の✓が白で浮かび上がる */
.type-tile-mark {
  flex-shrink: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 2px solid #b6c3ca;
  border-radius: 50%;
  background: #ffffff;
  color: transparent;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}

.type-tile--wide .type-tile-mark {
  width: 24px;
  height: 24px;
  font-size: 14px;
}

/* 指を置いた瞬間の手応え */
.type-tile:active {
  transform: scale(0.97);
}

/* 選択された瞬間だけ1回ポップ(赤点滅のような無限アニメは使わない) */
@keyframes type-tile-pop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.045);
  }
  100% {
    transform: scale(1);
  }
}

.type-tile:focus-within {
  border-color: #1e5a8e;
  box-shadow: 0 0 0 3px rgba(30, 90, 142, 0.15);
}

.type-tile.is-checked {
  border-color: #29a24d;
  background: #e6f6ec;
  box-shadow: 0 0 0 3px rgba(41, 162, 77, 0.18);
  animation: type-tile-pop 0.22s ease-out;
}

.type-tile.is-checked .type-tile-mark {
  border-color: #1e9e50;
  background: #1e9e50;
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .type-tile:active {
    transform: none;
  }
  .type-tile.is-checked {
    animation: none;
  }
}

/* 狭い端末(〜340px)では文字が溢れないよう1段階縮める */
@media (max-width: 340px) {
  .type-tile {
    min-height: 54px;
    font-size: 15px;
  }
  .type-tile--wide {
    min-height: 62px;
    font-size: 17px;
  }
}

/* 物件種別:未選択の間だけ赤枠を点滅させて入力を促す(2026-07-03 入力率施策)
   選択されたら script.js がこのクラスを外して点滅停止
   ※ ABテストB版(index-tile.html)では使わない — 打ち手2「赤点滅の廃止」 */
.form-control--attention {
  border: 2px solid #e53935;
  animation: form-attention-blink 1.2s ease-in-out infinite;
}

@keyframes form-attention-blink {
  0%,
  100% {
    border-color: #e53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.25);
  }
  50% {
    border-color: rgba(229, 57, 53, 0.35);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-control--attention {
    animation: none;
  }
}

/* フォーカス中は青のフォーカスリングを優先(点滅と喧嘩させない) */
.form-control--attention:focus {
  border-color: #1e5a8e;
  animation: none;
}

.contact-fields {
  padding: 16px;
  background: #f7f9fc;
  border: 1.5px dashed #d0d4dc;
  border-radius: 8px;
}

.contact-fields .form-control {
  background: #ffffff;
}

.form-hint {
  margin: 0 0 12px;
  color: #6b6b6b;
  font-size: 13px;
  line-height: 1.5;
}

.form-error {
  margin: 8px 0 0;
  color: #d32f2f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.form-note {
  margin: 8px 0 0;
  color: #6b6b6b;
  font-size: 12px;
  line-height: 1.5;
}

/* --- 同意チェックボックス --- */
.form-consent {
  padding: 16px;
  background: #fffbf6;
  border: 1.5px solid #f0e0c8;
  border-radius: 8px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  color: #4a4a4a;
  font-size: 14px;
  line-height: 1.6;
}

.consent-checkbox {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #1e5a8e;
}

/* プライバシーポリシー:リンクに見せず地の文に馴染ませる
   (「押して読む」導線に見えると同意チェックの手前で離脱するため)
   ※ リンク機能自体は残しているので、タップすれば従来どおり別タブで開く */
.consent-label a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

/* --- 送信ボタン(2026-07-03 CTR施策:CTAボタン画像と同系の緑+ぷよぷよ) --- */
.form-submit {
  display: block;
  width: 100%;
  margin-top: 24px;
  min-height: 64px;
  padding: 18px 20px;
  background: linear-gradient(180deg, #3ecb5e 0%, #1caf41 100%);
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(28, 175, 65, 0.4);
  transition: box-shadow 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  transform-origin: center;
  will-change: transform;
  /* 上部CTAボタンと同じ squash-and-stretch のゼリー感を共用 */
  animation: cta-form-btn-puyo 1.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .form-submit {
    animation: none;
  }
}

.form-submit:hover {
  background: linear-gradient(180deg, #2fbd50 0%, #159a37 100%);
  box-shadow: 0 8px 20px rgba(28, 175, 65, 0.5);
  animation-play-state: paused;
}

.form-submit:active {
  box-shadow: 0 4px 10px rgba(28, 175, 65, 0.35);
  animation-play-state: paused;
  transform: scale(0.98);
}

.form-submit:disabled {
  background: #b0b0b0;
  cursor: wait;
  box-shadow: none;
  animation: none;
  opacity: 0.85;
}

.form-submit-hint {
  margin: 8px 0 0;
  color: #8b8b8b;
  font-size: 12px;
  text-align: center;
}

/* --- 送信ボタン直下の「2つのお約束」カード(営業電話への不安打ち消し)
       上枠に緑ピルのリボン見出しが乗る"保証書"スタイル --- */
.form-promise {
  position: relative;
  margin: 34px 0 6px;
  padding: 28px 20px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9f3 100%);
  border: 2px solid #3fae6e;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(30, 142, 62, 0.14);
}

.form-promise-title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 7px 20px;
  background: linear-gradient(180deg, #29a24d 0%, #1c8038 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(30, 142, 62, 0.35);
}

/* お約束の重要語:黄色マーカー強調 */
.promise-em {
  font-weight: 800;
  background: linear-gradient(transparent 58%, #ffe158 58%);
  padding: 0 1px;
}

.form-promise-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.form-promise-list li {
  position: relative;
  padding-left: 28px;
  /* 360〜390px端末で「しつこい営業は〜」15文字が1行に収まる可変サイズ */
  font-size: clamp(13px, 3.9vw, 15px);
  font-weight: 700;
  color: #253238;
  line-height: 1.55;
}

.form-promise-list li + li {
  margin-top: 10px;
}

.form-promise-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3ccircle cx='12' cy='12' r='12' fill='%231e9e50'/%3e%3cpath d='M7 12.5l3.2 3.2L17 9' stroke='%23fff' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e")
    no-repeat center / contain;
}

/* --- 入力完了の緑チェック(EFO)--- */
.form-row.is-valid .form-label::after {
  content: " ✓ OK";
  color: #1e9e50;
  font-size: 13px;
  font-weight: 700;
}

.form-control.is-valid {
  border-color: #35b06a;
  background-color: #f3fbf5;
}

/* --- 代替CTA(電話)— 本番電話番号取得後にHTML側コメントを解除して復活 --- */
.form-alt-cta {
  margin-top: 28px;
  text-align: center;
}

.btn-tel {
  display: block;
  margin-bottom: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  text-align: center;
  background: #ffffff;
  border: 2px solid #1e5a8e;
  color: #1e5a8e;
  transition: transform 0.15s ease, opacity 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-tel:hover {
  background: #1e5a8e;
  color: #ffffff;
}

.btn-tel-num {
  display: block;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.btn-tel-sub {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
}

/* --- ハニーポット(ボット対策・人間の目には見えない) --- */
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* --- 送信完了表示(同一ページ内・GAS 未設定時のフォールバック) --- */
.form-thanks {
  padding: 48px 20px;
  background: #ffffff;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(30, 90, 142, 0.08);
}

.form-thanks h2 {
  margin: 0 0 16px;
  color: #1e5a8e;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
}

.form-thanks p {
  margin: 0;
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.8;
}

/* ============================================================
   SEC15 フッター
   法人名・免許番号・ナビゲーション・著作権表記
   ============================================================ */
.footer {
  padding: 28px 20px 24px;
  background: #1e5a8e;
  color: #ffffff;
  text-align: center;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-company {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.footer-license {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  line-height: 1.5;
}

.footer-nav {
  margin-bottom: 18px;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
}

.footer-nav a:hover {
  text-decoration-color: #ffffff;
}

.footer-copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  line-height: 1.5;
}

/* ============================================================
   プライバシーポリシーページ(legal-page)
   ============================================================ */
.legal-page {
  background: #ffffff;
}

.legal-header {
  padding: 40px 24px 24px;
  text-align: center;
  background: linear-gradient(180deg, #f0f6fb 0%, #ffffff 100%);
  border-bottom: 1px solid #e6e8eb;
}

.legal-eyebrow {
  margin: 0 0 8px;
  color: #3b7fbf;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.legal-title {
  margin: 0 0 8px;
  color: #1e5a8e;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.3;
}

.legal-lead {
  margin: 0;
  color: #6b6b6b;
  font-size: 13px;
  font-weight: 600;
}

.legal-content {
  padding: 28px 24px 8px;
}

.legal-intro {
  margin: 0 0 24px;
  color: #2a2a2a;
  font-size: 14px;
  line-height: 1.85;
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  color: #1e5a8e;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  border-bottom: 2px solid #1e5a8e;
}

.legal-section p {
  margin: 0 0 12px;
  color: #2a2a2a;
  font-size: 14px;
  line-height: 1.85;
}

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

.legal-section ul {
  margin: 0;
  padding-left: 20px;
}

.legal-section li {
  margin-bottom: 8px;
  color: #2a2a2a;
  font-size: 14px;
  line-height: 1.8;
}

.legal-section li:last-child {
  margin-bottom: 0;
}

/* お問合せ窓口の dl */
.legal-contact {
  margin: 12px 0 0;
  padding: 16px;
  background: #faf9f7;
  border: 1px solid #e6e8eb;
  border-radius: 8px;
}

.legal-contact-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed #e6e8eb;
}

.legal-contact-row:last-child {
  border-bottom: 0;
}

.legal-contact dt {
  color: #1e5a8e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.legal-contact dd {
  margin: 0;
  color: #2a2a2a;
  font-size: 13px;
  line-height: 1.6;
}

.legal-contact dd a {
  color: #1e5a8e;
  font-weight: 700;
  text-decoration: underline;
}

.legal-date {
  margin: 32px 0 0;
  color: #6b6b6b;
  font-size: 12px;
  text-align: right;
  line-height: 1.6;
}

.legal-back {
  margin: 24px 0;
  padding: 0 24px;
  text-align: center;
}

.legal-back a {
  display: inline-block;
  padding: 10px 20px;
  background: #ffffff;
  border: 1.5px solid #1e5a8e;
  border-radius: 8px;
  color: #1e5a8e;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease;
}

.legal-back a:hover {
  background: #1e5a8e;
  color: #ffffff;
}

/* ============================================================
   Thanks ページ(thanks.html)
   フォーム送信完了後の独立ページ・広告CV計測用
   ============================================================ */
.thanks-page {
  padding: 60px 24px 56px;
  text-align: center;
  background: #ffffff;
}

.thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 28px;
  background: linear-gradient(180deg, #ee8a52 0%, #e8763e 100%);
  border-radius: 50%;
  color: #ffffff;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(232, 118, 62, 0.35);
}

.thanks-title {
  margin: 0 0 20px;
  color: #1e5a8e;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.thanks-lead {
  margin: 0 0 28px;
  color: #2a2a2a;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.85;
}

.thanks-lead strong {
  color: #e8763e;
  font-weight: 900;
}

.thanks-hours {
  display: inline-block;
  margin-top: 6px;
  color: #6b6b6b;
  font-size: 13px;
}

.thanks-receipt {
  display: inline-block;
  margin: 0 auto 28px;
  padding: 14px 28px;
  background: #faf9f7;
  border: 1px solid #e0d8cc;
  border-radius: 10px;
}

.thanks-receipt-label {
  margin: 0 0 4px;
  color: #6b6b6b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.thanks-receipt-id {
  margin: 0;
  color: #1e5a8e;
  font-size: 18px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.thanks-note {
  margin: 0 auto 32px;
  max-width: 360px;
  color: #6b6b6b;
  font-size: 13px;
  line-height: 1.75;
}

.thanks-cta-block {
  margin: 32px 0 24px;
  padding: 20px 16px;
  background: #f0f6fb;
  border-radius: 12px;
}

.thanks-cta-label {
  margin: 0 0 12px;
  color: #1e5a8e;
  font-size: 14px;
  font-weight: 700;
}

.thanks-back {
  margin: 24px 0 0;
  font-size: 14px;
}

.thanks-back a {
  color: #1e5a8e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.thanks-back a:hover {
  text-decoration-color: #e8763e;
}

/* ============================================================
   LPO用ハイブリッドFV(2026-07-27)
   写真=画像1枚(hero-lpo-bg) / コピー=HTML。A/B/C案で背景を共用し、
   コピーだけ差し替えてABテストできるようにする(画像再生成が不要)。
   既存FV(.hero)には一切影響しない独立クラス。
   ============================================================ */
.hero-lpo {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.hero-lpo__photo {
  display: block;
  width: 100%;
  /* height:auto を省くと img の height 属性(1536)が残り、aspect-ratio が無視されて縦に伸びる */
  height: auto;
  /* コピー直下に屋根・人物が来る高さ。3/4だと空が間延びする */
  aspect-ratio: 8 / 9;
  object-fit: cover;
  object-position: 50% 47%;
  user-select: none;
  -webkit-user-drag: none;
}

/* 上帯:何屋かを3秒で認識させる */
.hero-lpo__eyebrow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 9px 12px;
  background: #153a6e;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
}

/* 写真の青空エリアに載せるコピー群 */
.hero-lpo__copy {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  padding: 14px 16px 0;
}

.hero-lpo__lead {
  display: inline-block;
  margin: 0 0 9px;
  padding: 5px 10px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.14);
  color: #153a6e;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-feature-settings: "palt" 1;
}

.hero-lpo__main {
  margin: 0;
  color: #153a6e;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-feature-settings: "palt" 1;
  text-shadow:
    2px 2px 0 #fff, -2px 2px 0 #fff, 2px -2px 0 #fff, -2px -2px 0 #fff,
    2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff,
    3px 3px 0 #fff, -3px 3px 0 #fff, 3px -3px 0 #fff, -3px -3px 0 #fff,
    0 5px 12px rgba(0, 0, 0, 0.16);
}

.hero-lpo__main--sm {
  font-size: 40px;
}

.hero-lpo__accent {
  color: #d93416;
}

/* 黄色マーカー(既存FVの手法を踏襲) */
.hero-lpo__marker {
  /* 文字に被せると紺文字のコントラストが落ちるので下1/3に敷く */
  background: linear-gradient(transparent 79%, #ffe14d 79%, #ffe14d 96%, transparent 96%);
}

/* 3点セット:キーワードを証拠として並べる */
.hero-lpo__points {
  padding: 15px 14px 3px;
  background: #fff;
}

.hero-lpo__point {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 7px;
  padding: 10px 13px;
  background: #f1f6fb;
  border-radius: 9px;
  color: #153a6e;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-feature-settings: "palt" 1;
}

.hero-lpo__check {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2f8f4e;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

/* 金帯:拒絶逆転訴求(CVR最強)を確実に拾う */
.hero-lpo__band {
  margin: 12px 12px 14px;
  padding: 12px 10px;
  background: linear-gradient(#faeab6, #e8cd77);
  border: 1px solid #d9b95c;
  border-radius: 9px;
  color: #153a6e;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  letter-spacing: -0.01em;
  font-feature-settings: "palt" 1;
}

/* 信頼バッジ3枚(金額表現は使わない) */
.hero-lpo__badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 11px 14px;
}

.hero-lpo__badge {
  padding: 9px 4px 8px;
  background: #fff;
  border: 2px solid #e1e9f2;
  border-radius: 10px;
  text-align: center;
}

.hero-lpo__badge-label {
  margin: 0 0 2px;
  color: #4a4a4a;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
  font-feature-settings: "palt" 1;
}

.hero-lpo__badge-value {
  margin: 0;
  color: #153a6e;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-feature-settings: "palt" 1;
}

.hero-lpo__badge-value--sm {
  font-size: 15px;
  line-height: 1.25;
}

.hero-lpo__badge-stars {
  margin: 0;
  color: #f0a500;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.hero-lpo__badge-note {
  margin: 2px 0 0;
  color: #8a8a8a;
  font-size: 9px;
  line-height: 1.3;
  font-feature-settings: "palt" 1;
}

/* 下帯 */
.hero-lpo__footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 9px 4px;
  background: #153a6e;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-feature-settings: "palt" 1;
}

.hero-lpo__footer span {
  position: relative;
  padding: 0 2px;
}

.hero-lpo__footer span + span::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
}

/* 狭幅端末(iPhone SE 等)の縮小 */
@media (max-width: 374px) {
  .hero-lpo__main {
    font-size: 38px;
  }
  .hero-lpo__main--sm {
    font-size: 35px;
  }
  .hero-lpo__lead {
    font-size: 18px;
  }
  .hero-lpo__point {
    font-size: 18px;
  }
  .hero-lpo__band {
    font-size: 16px;
  }
}
