@charset "UTF-8";
/* ==========================================================================
   マイくる車両買取LP
   Figma: ★ 買取LP デザイン v1.0（SP / 390）node 1303:662
   設計方針:
     - デザインは SP 390px 基準。PC では .lp を固定幅カラムとして中央寄せし、
       レイアウトを崩さずそのまま保つ（vw 単位は一切使わない）。
     - 色・角丸・余白は Figma の値をそのまま CSS 変数化。
   ========================================================================== */

:root {
  /* Brand */
  --c-primary:    #004ea2;
  --c-primary-l:  #0d66c7;
  --c-primary-d:  #003378;
  --c-accent:     #fbff80;
  --c-tint:       #ecf5ff;

  /* Surface */
  --c-bg:         #f4f7fb;
  --c-white:      #fff;
  --c-line:       #dee7f2;
  --c-border:     #c7d2de;

  /* Text */
  --c-heading:    #1a1a1a;
  --c-text:       #333;
  --c-muted:      #656565;
  --c-sub:        #5b6572;

  /* Layout: LPカラム幅。Figma 390px に対し PC で少しだけ余裕を持たせた値 */
  --lp-w: 420px;

  /* 追従CTAの高さ（本文末尾の余白確保に使用） */
  --fixed-cta-h: 86px;
}

/* --------------------------------------------------------------------------
   ベース
   -------------------------------------------------------------------------- */
html {
  -webkit-text-size-adjust: 100%;
  /* reset.css の html{font-size:4.26vw} を打ち消す。
     ビューポート依存のルートフォントは PC 幅で文字が肥大化する原因になるため。 */
  font-size: 16px;
}

body {
  margin: 0;
  background-color: #e9eef5;
  color: var(--c-text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  font-feature-settings: "palt";
}

/* PCでは背景をブランド寄りのごく淡いグラデーションにして、
   カラムが「崩れている」ではなく「意図された縦組み」に見えるようにする */
@media (min-width: 768px) {
  body {
    background-image:
      radial-gradient(120% 60% at 50% 0%, #f3f7fc 0%, #e9eef5 55%, #dfe7f1 100%);
    background-attachment: fixed;
  }
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   LPカラム — PC崩れ対策の中核
   -------------------------------------------------------------------------- */
.lp {
  width: 100%;
  max-width: var(--lp-w);
  margin-inline: auto;
  background-color: var(--c-white);
  overflow-x: clip;              /* 装飾の斜線などがはみ出しても横スクロールさせない */
}

@media (min-width: 768px) {
  .lp {
    box-shadow: 0 0 40px rgba(0, 41, 89, .10);
    min-height: 100vh;
  }
}

/* セクション共通の内側余白（Figma: 左右 20px） */
.sec {
  padding-inline: 20px;
}

/* 画像だけで構成されるセクション（Figma書き出しをそのまま使用） */
.sec-img {
  display: block;
  width: 100%;
}
.sec-img img {
  display: block;
  width: 100%;
}

/* セクション見出し画像（Figma: 幅350px = カラム内 20px パディング内） */
.sec-title {
  margin: 0;
  padding-inline: 20px;
}
.sec-title img {
  display: block;
  width: 100%;
}

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px 16px;
  background-color: var(--c-white);
}
.header__logo {
  display: block;
  width: 185px;
  max-width: 50%;
}
.header__logo img {
  display: block;
  width: 100%;
}

/* --------------------------------------------------------------------------
   FV
   -------------------------------------------------------------------------- */
.fv {
  background-color: var(--c-white);
}

.fv__card {
  padding: 0 14px;
}
.fv__card img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

.fv__cta {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 18px 20px 14px;
}

.fv__note {
  margin: 0;
  color: var(--c-sub);
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: .23px;
  text-align: center;
}

/* FV下の特典帯 */
.fv__present {
  padding: 14px 20px 24px;
}
.fv__present a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background-color: var(--c-tint);
  color: var(--c-primary);
}
.fv__present-txt {
  flex: 1 0 0;
  min-width: 0;
}
.fv__present-lead {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}
.fv__present-num {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  line-height: 1.3;
}
.fv__present-num b {
  font-size: 12px;
  font-weight: 700;
}
.fv__present-num strong {
  font-family: Roboto, "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}
.fv__present-arrow {
  flex-shrink: 0;
  width: 20px;
  margin: 0;
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
}

/* --------------------------------------------------------------------------
   ボタン
   -------------------------------------------------------------------------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 17px 24px;
  border-radius: 999px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

/* FV主CTA（画像ボタン） */
.btn-img {
  display: block;
}
.btn-img img {
  display: block;
  width: 100%;
}

/* 白地に枠線のサブCTA（LINE） */
.btn--line {
  border: 1px solid var(--c-border);
  background-color: var(--c-white);
  color: #1c2530;
  letter-spacing: .28px;
}
.btn--line .btn__arrow {
  width: 20px;
  font-weight: 400;
}

/* 中盤CTA（青地に黄色ボタン） */
.cta-band {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 36px 20px;
  background-color: var(--c-primary);
  overflow: hidden;
}
.cta-band__lead {
  margin: 0;
  color: var(--c-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}
.cta-band__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  padding: 15px 18px;
  border-radius: 999px;
  box-sizing: border-box;
  background-color: var(--c-accent);
  color: var(--c-primary);
  text-align: center;
}
.cta-band__main b {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.cta-band__main span {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}
.cta-band__line {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--c-white);
  border-radius: 999px;
  box-sizing: border-box;
  color: var(--c-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
/* 装飾｜斜線（Figmaの装飾要素をCSSで再現） */
.cta-band::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, .10) 0 2px,
    transparent 2px 14px
  );
  pointer-events: none;
}
.cta-band--right::before { top: -30px; left: 294px; }
.cta-band--left::before  { top: 78px;  left: -34px; }

/* --------------------------------------------------------------------------
   区切り（山／谷）
   -------------------------------------------------------------------------- */
.divider {
  display: block;
  width: 100%;
  height: 26px;
}
.divider svg {
  display: block;
  width: 100%;
  height: 26px;
}

/* --------------------------------------------------------------------------
   目次
   -------------------------------------------------------------------------- */
.toc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 20px 30px;
  background-color: var(--c-white);
}
.toc__title {
  margin: 0;
  color: var(--c-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
.toc__rule {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background-color: var(--c-accent);
}
.toc__list {
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  background-color: var(--c-bg);
  list-style: none;
  overflow: hidden;
}
.toc__list li + li a {
  border-top: 1px solid var(--c-line);
}
.toc__list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  color: var(--c-text);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.6;
}
.toc__list a span {
  flex: 1 0 0;
  min-width: 0;
}
.toc__list a i {
  flex-shrink: 0;
  width: 18px;
  color: var(--c-primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

/* --------------------------------------------------------------------------
   2. まだ決めていなくても大丈夫です
   -------------------------------------------------------------------------- */
.before {
  padding: 44px 20px;
  background-color: var(--c-bg);
}
.before__lead {
  margin: 6px 0 22px;
  color: var(--c-muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.9;
  text-align: center;
}
.before__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.state-card {
  padding: 18px;
  border-radius: 12px;
  background-color: var(--c-white);
  box-shadow: 0 2px 8px rgba(0, 41, 89, .07);
}
.state-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.state-card__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background-color: var(--c-tint);
}
.state-card__icon img {
  display: block;
  width: 18px;
  height: 18px;
}
.state-card__title {
  flex: 1 0 0;
  min-width: 0;
  margin: 0;
  color: var(--c-primary);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
}
.state-card__body {
  margin: 8px 0 0;
  color: var(--c-text);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.85;
}
.before__close {
  position: relative;
  margin-top: 18px;
  padding: 16px;
  border-radius: 10px;
  background-color: var(--c-primary);
  overflow: hidden;
}
.before__close p {
  margin: 0;
  color: var(--c-white);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}
.before__close::after {
  content: "”";
  position: absolute;
  top: -14px;
  right: 4px;
  color: #1f6bb8;
  font-family: Roboto, sans-serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   3. ご相談から成約までの3つのストーリー（アコーディオン）
   -------------------------------------------------------------------------- */
.stories {
  padding: 44px 0 40px;
  background-color: var(--c-white);
}
.stories__lead {
  margin: 6px 0 20px;
  padding-inline: 20px;
  color: var(--c-muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.9;
  text-align: center;
}
.stories__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0 20px;
  list-style: none;
}

.story {
  position: relative;
  border: 1.5px solid var(--c-primary);
  border-radius: 12px;
  background-color: var(--c-white);
  overflow: hidden;
}
.story__no {
  position: absolute;
  top: -8px;
  right: 4px;
  z-index: 0;
  color: var(--c-tint);
  font-family: Roboto, sans-serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}
.story__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  border: 0;
  box-sizing: border-box;
  background-color: var(--c-tint);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.story__avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background-color: var(--c-tint);
}
.story__headtxt {
  flex: 1 0 0;
  min-width: 0;
}
.story__label {
  display: block;
  margin: 0 0 4px;
  color: #7fa8ce;
  font-family: Roboto, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.1px;
  line-height: 1.3;
}
.story__title {
  margin: 0;
  color: var(--c-primary);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.65;
}
.story__toggle {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--c-primary);
  border-radius: 999px;
  background-color: var(--c-primary);
  color: var(--c-white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}
.story__toggle::before { content: "＋"; }
.story__head[aria-expanded="true"] .story__toggle::before { content: "−"; }

.story__body {
  position: relative;
  z-index: 1;
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 16px;
  background-color: var(--c-white);
}
.story__body[data-open="true"] { display: flex; }

.story__caption {
  margin: 0;
  color: var(--c-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .66px;
  line-height: 1.75;
}
.story__steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 16px 14px;
  border-radius: 10px;
  background-color: var(--c-bg);
  list-style: none;
  counter-reset: step;
}
.story__steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-text);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.6;
}
.story__steps li::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background-color: var(--c-primary);
  color: var(--c-white);
  font-family: Roboto, sans-serif;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.story__methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.story__methods-label {
  color: var(--c-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 2;
}
.story__tag {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  background-color: var(--c-tint);
  color: var(--c-primary);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}
.story__tag img {
  display: block;
  width: 13px;
  height: 13px;
}
.story__text {
  margin: 0;
  color: var(--c-text);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.9;
}
.story__benefit {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background-color: var(--c-accent);
  color: var(--c-primary);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.7;
}
.story__meta {
  margin: 0;
  color: var(--c-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   スタッフ紹介
   -------------------------------------------------------------------------- */
.staff {
  padding: 40px 20px 44px;
  background-color: var(--c-white);
}
.staff__heading {
  margin: 0 0 16px;
  color: var(--c-heading);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.55;
  text-align: center;
}
.staff__lead {
  margin: 0 0 28px;
  color: var(--c-text);
  font-size: 12.5px;
  line-height: 1.9;
}
.staff__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.staff__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.staff__photo {
  flex-shrink: 0;
  width: 80px;
}
.staff__photo img {
  display: block;
  width: 100%;
  border-radius: 6px;
}
.staff__body {
  flex: 1 0 0;
  min-width: 0;
}
.staff__name {
  margin: 0 0 6px;
  color: var(--c-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.staff__role {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 10px;
  border-radius: 4px;
  background-color: #f26419;
  color: var(--c-white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}
.staff__text {
  margin: 0;
  color: var(--c-text);
  font-size: 12.5px;
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   8-9. サブスクのご案内＋ベネフィット
   -------------------------------------------------------------------------- */
.subsc {
  padding: 44px 0;
  background-color: var(--c-bg);
}
.subsc__inner {
  padding-inline: 20px;
}

/* サブスク帯 */
.subsc__band {
  margin-top: 24px;
  padding: 20px 18px;
  border-radius: 12px;
  background-color: var(--c-white);
  text-align: center;
}
.subsc__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background-color: var(--c-tint);
  color: var(--c-primary);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
}
.subsc__band-title {
  margin: 12px 0 0;
  color: var(--c-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
}
.subsc__includes {
  display: flex;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.subsc__includes li {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  padding: 12px 4px;
  border-radius: 8px;
  background-color: var(--c-bg);
}
.subsc__includes img {
  display: block;
  width: 22px;
  height: 22px;
}
.subsc__includes b {
  color: var(--c-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
.subsc__includes span {
  color: var(--c-muted);
  font-size: 9.5px;
  font-weight: 400;
  line-height: 1.45;
}

/* 見出し2 */
.subsc__h2 {
  margin: 44px 0 0;
  color: var(--c-heading);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.55;
  text-align: center;
}
.subsc__h2-rule {
  width: 52px;
  height: 5px;
  margin: 6px auto 0;
  border-radius: 999px;
  background-color: var(--c-accent);
}
.subsc__h2-lead {
  margin: 11px 0 0;
  color: var(--c-muted);
  font-size: 12.5px;
  line-height: 1.9;
  text-align: center;
}

/* 認識の置き換え */
.flip {
  margin-top: 24px;
}
.flip__before {
  padding: 16px;
  border-radius: 12px;
  background-color: #e8e8e8;
}
.flip__tag {
  display: inline-block;
  min-width: 76px;
  padding: 1px 10px;
  border-radius: 999px;
  box-sizing: border-box;
  background-color: var(--c-white);
  color: #8a8a8a;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.flip__row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.flip__row img {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
}
.flip__row p {
  flex: 1 0 0;
  min-width: 0;
  margin: 0;
  color: #8a8a8a;
  font-size: 13px;
  line-height: 1.75;
}
.flip__arrow {
  margin: 8px 0;
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.flip__after {
  padding: 16px;
  border: 1.5px solid var(--c-primary);
  border-radius: 12px;
  background-color: var(--c-white);
  text-align: center;
}
.flip__after .flip__tag {
  min-width: 90px;
  background-color: var(--c-accent);
  color: var(--c-primary);
}
.flip__after p {
  margin: 10px 0 0;
  color: var(--c-primary);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
}

/* 無駄にならない理由（3つ） */
.reasons__lead {
  margin: 30px 0 12px;
  color: var(--c-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}
.reasons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.reasons li {
  padding: 18px;
  border-radius: 12px;
  background-color: var(--c-white);
}
.reasons__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Figma 1308:719「no」: 青丸に白アイコン（アイコンSVGは fill="white"） */
.reasons__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background-color: var(--c-primary);
}
.reasons__icon img {
  display: block;
  width: 18px;
  height: 18px;
}
.reasons__title {
  flex: 1 0 0;
  min-width: 0;
  margin: 0;
  color: var(--c-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}
.reasons__text {
  margin: 10px 0 0;
  color: var(--c-text);
  font-size: 12.5px;
  line-height: 1.85;
}
.subsc__cta {
  display: block;
  margin-top: 24px;
  padding: 15px 18px;
  border-radius: 999px;
  background-color: var(--c-primary);
  color: var(--c-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

/* --------------------------------------------------------------------------
   追従CTA（画面下部固定）
   -------------------------------------------------------------------------- */
.fixed-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 50;
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: var(--lp-w);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--c-line);
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, .96);
  box-shadow: 0 -4px 16px rgba(0, 41, 89, .10);
  transform: translate(-50%, 110%);
  transition: transform .3s ease;
}
.fixed-cta.is-visible {
  transform: translate(-50%, 0);
}
.fixed-cta__main {
  display: flex;
  flex: 1 0 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 14px 12px;
  border-radius: 999px;
  background-color: var(--c-accent);
  color: var(--c-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.fixed-cta__line {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 92px;
  padding: 14px 8px;
  border: 1.5px solid var(--c-primary);
  border-radius: 999px;
  box-sizing: border-box;
  background-color: var(--c-white);
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   【既存】お問い合わせフォーム
   ※ もとは vw 単位で組まれており、PC幅で文字サイズが破綻していたため
   　 すべて px に置き換えている（LPカラムが固定幅のため vw は使えない）
   -------------------------------------------------------------------------- */
.footer__contact {
  padding: 44px 0;
  background-color: var(--c-white);
}
.contact__inner {
  width: 100%;
  padding-inline: 20px;
  box-sizing: border-box;
}
.contact__form h3 {
  margin: 0 0 32px;
}
.contact__form h3 img {
  display: block;
  width: 100%;
}

.contact__item:not(:first-child) {
  margin-top: 25px;
}
.contact__item-head {
  display: flex;
  align-items: center;
}
.contact__item-title {
  position: relative;
  margin-right: 15px;
  color: #000;
  font-size: 14px;
  font-weight: 700;
}
.contact__item-required {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--c-primary);
  color: var(--c-white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.contact__item-body {
  margin: 10px auto 0;
}
.contact__item-body input:not([type="radio"]),
.contact__item-body textarea {
  width: 100%;
  height: 50px;
  padding: 10px 15px;
  border: 1px solid #b5b5b6;
  border-radius: 0;
  outline: none;
  appearance: none;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 16px;          /* iOSでのフォーカス時ズームを防ぐため16px以上を維持 */
  font-weight: 500;
}
.contact__item-body input::placeholder,
.contact__item-body textarea::placeholder {
  color: #d8d8d9;
  font-size: 16px;
  font-weight: 500;
}
.contact__item-body input:focus,
.contact__item-body textarea:focus {
  border: 2px solid var(--c-primary);
}
.contact__item-body input[readonly],
.contact__item-body textarea[readonly] {
  background-color: #f5f5f5;
  color: #666;
  cursor: not-allowed;
}
.contact__item-body textarea {
  height: 188px;
  resize: none;
}
.contact__item.is_invalid .contact__item-body input,
.contact__item.is_invalid .contact__item-body textarea {
  border: 2px solid #ec6262;
}
.contact__error {
  display: none;
  margin: 0 0 0 15px;
  color: #ec6262;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}
.js_sender_wrap.is_invalid .contact__error {
  display: block;
}
.contact__error--privacy {
  margin: 15px 0 0;
}

.privacy {
  display: inline-block;
  margin-top: 24px;
}
.privacy__inner {
  display: flex;
  justify-content: center;
}
.privacy__inner input {
  display: none;
}
.privacy__inner input:checked + label {
  background: var(--c-white);
}
.privacy__inner input:checked + label::before {
  background: url("../img/icons/icon_check02.svg") no-repeat center/contain;
}
.privacy__label {
  position: relative;
  display: block;
  width: 25px;
  height: 25px;
  border: 1px solid #b5b5b6;
  background: var(--c-white);
  cursor: pointer;
}
.privacy__label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 21px;
  height: 21px;
  background: url("../img/icons/icon_check01.svg") no-repeat center/contain;
  transform: translate(-50%, -50%);
}
.privacy__textbox {
  display: flex;
  align-items: center;
  max-width: calc(100% - 35px);
  margin-left: 10px;
  white-space: nowrap;
}
.privacy__text {
  display: inline-block;
  color: #666;
  font-size: 14px;
  font-weight: 700;
}
.privacy__text .u_linktext {
  position: relative;
  color: var(--c-primary);
  text-decoration: underline;
}
.privacy__text > span::before {
  content: "";
  display: inline-block;
  width: auto;
  height: 16px;
  aspect-ratio: 1 / 1;
  background: url("../img/icons/icon_outerlink.svg") no-repeat center/contain;
  vertical-align: middle;
}

.contact__submit {
  width: 100%;
  margin: 32px auto 0;
}
.submitButton__link {
  display: block;
}
.submitButton__inner-text img {
  display: block;
  width: 100%;
}
.submitButton__link.is_disable {
  opacity: .45;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   【既存】TOPに戻る／フッター
   -------------------------------------------------------------------------- */
.totop {
  width: 30%;
  margin: 0 auto -5px;
}
.totop img {
  display: block;
  width: 100%;
}
.footer__bottom {
  /* 追従CTAの高さぶんだけ下に伸ばし、CTA裏が白く抜けないようにする */
  padding: 32px 16px calc(32px + var(--fixed-cta-h));
  background-color: var(--c-primary);
}
.footer__btn .ptitle {
  margin: 0 auto 20px;
  color: var(--c-white);
  font-weight: 700;
  text-align: center;
}
.footer__btn a {
  display: block;
  width: 70%;
  margin: 0 auto 30px;
}
.footer__btn a img {
  display: block;
  width: 100%;
}
.footer__btn p.psystem {
  margin: 30px auto 10px;
  color: var(--c-white);
  font-weight: 700;
  text-align: center;
}
.footer__btn p.psystem_txt {
  color: var(--c-white);
  font-size: 12px;
  text-align: center;
}
.footer__btn p.psystem_txt a {
  display: inline;
  width: auto;
  margin: 0;
  text-decoration: underline;
}
.footer__btn p.copy {
  margin: 60px auto 0;
  color: var(--c-white);
  font-size: 12px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   ユーティリティ
   -------------------------------------------------------------------------- */
.u-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .fixed-cta { transition: none; }
}
