@charset "utf-8";

/* ============================================
   WiMAX解約サポート LP
   ============================================ */

/* --- Reset / Base --- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* スクロールは既定の挙動に任せる（アンカー移動だけ js/main.js で滑らかに） */
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #0d2f6e;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: #1a5cff; text-decoration: none; }
a:hover { color: #0d3fb8; }
p { margin: 0; }
h1, h2 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* --- Utility --- */
.u-accent { color: #1a5cff; }
.u-nowrap { white-space: nowrap; }
.u-block { display: block; }
.u-inline { display: inline-block; }

@media (max-width: 767px) { .is-pc { display: none !important; } }
@media (min-width: 768px) { .is-sp { display: none !important; } }

/* --- Preview environment --- */
.preview-banner {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 1000;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(13, 47, 110, .92);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  box-shadow: 0 4px 14px rgba(13, 47, 110, .18);
  pointer-events: none;
}

@media (max-width: 767px) {
  .preview-banner {
    right: 6px;
    bottom: 6px;
    padding: 6px 9px;
    font-size: 9px;
  }
}

/* ============================================
   Header
   ============================================ */
.header {
  flex: none;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(9px, 1.4vh, 15px) clamp(16px, 3.4vw, 40px);
  background: #fff;
  border-bottom: 1px solid #e6ebf3;
}
.header__brand {
  display: flex;
  align-items: center;
  gap: clamp(11px, 2.6vw, 20px);
  min-width: 0;
  color: #0d2f6e;
}
.header__brand:hover { color: #0d2f6e; }
.brand__logo {
  font-weight: 900;
  font-size: clamp(20px, 5.4vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.brand__divider {
  flex: none;
  width: 1px;
  height: clamp(20px, 4.6vw, 28px);
  background: #c8d2e2;
}
.brand__name {
  font-weight: 700;
  font-size: clamp(13px, 3.7vw, 19px);
  letter-spacing: 0.02em;
  color: #173a75;
  white-space: nowrap;
}
.header__cta {
  flex: none;
  padding: 11px 20px;
  border: 1.5px solid #1a5cff;
  border-radius: 8px;
  color: #1a5cff;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.header__cta:hover { background: #1a5cff; color: #fff; }

/* ============================================
   FV — ヘッダー〜CTAが1画面に収まる高さ連鎖
   ラッパー(100svh) > section(flex:1, min-height:0) >
   stack(min-height:100%) > devices(flex:1 1 0%)
   ※ フォントサイズに vh を使わないこと
   ============================================ */
.fv-screen {
  width: 100%;
  height: var(--fv-h, 100svh);
  min-height: 500px;
  display: flex;
  flex-direction: column;
}
.fv {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  background: linear-gradient(180deg, #f7faff 0%, #eaf1fb 55%, #e6eef9 100%);
}
.fv__deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: .85;
  pointer-events: none;
}
.fv__deco span {
  position: absolute;
  border-radius: 50%;
}
.fv__deco span:nth-child(1) { left: -72%; top: -45%; width: 150%; height: 200%; border: 3px solid rgba(255,255,255,.95); transform: rotate(-14deg); }
.fv__deco span:nth-child(2) { left: -88%; top: -25%; width: 160%; height: 210%; border: 2px solid rgba(255,255,255,.70); transform: rotate(-9deg); }
.fv__deco span:nth-child(3) { right: -74%; top: -35%; width: 150%; height: 210%; border: 3px solid rgba(255,255,255,.95); transform: rotate(12deg); }
.fv__deco span:nth-child(4) { right: -92%; top: -12%; width: 160%; height: 200%; border: 2px solid rgba(255,255,255,.65); transform: rotate(8deg); }

.fv__stack {
  position: relative;
  width: 100%;
  max-width: 1180px;
  height: auto;
  min-height: 100%;
  margin: 0 auto;
  padding: clamp(10px, 1.8vh, 26px) clamp(16px, 3.6vw, 40px) clamp(12px, 2vh, 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(7px, 1.3vh, 16px);
}

.fv__lead {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.fv__reasonline {
  --reason-rule-width: clamp(14px, 3.4vw, 42px);
  position: relative;
  margin: 0;
  padding-inline: calc(var(--reason-rule-width) + 8px);
  color: #234f8c;
  font-size: clamp(11px, 3.5vw, 18px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}
.fv__reasonline::before,
.fv__reasonline::after {
  content: "";
  position: absolute;
  top: 50%;
  width: var(--reason-rule-width);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 105, 218, .55));
}
.fv__reasonline::before {
  left: 0;
  transform: translateY(-50%);
}
.fv__reasonline::after {
  right: 0;
  transform: translateY(-50%) rotate(180deg);
}
.fv__reasonline span {
  background: linear-gradient(transparent 58%, rgba(93, 157, 255, .17) 58%, rgba(93, 157, 255, .17) 94%, transparent 94%);
}
.fv__reasonline span + span { margin-left: .48em; }

.fv__audience {
  margin: 0;
  color: #496681;
  font-size: clamp(10px, 3vw, 15px);
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

.fv__title {
  flex: none;
  font-weight: 900;
  letter-spacing: 0.005em;
  text-align: center;
}
.fv__title--sp {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: min(8.4vw, 44px);
  line-height: 1.28;
}
.fv__title--pc {
  font-size: min(4.1vw, 56px);
  line-height: 1.2;
  white-space: nowrap;
}

.devices {
  flex: 1 1 0%;
  min-height: 100px;
  max-height: 321px;
  margin-block: auto;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(4px, 2.6vw, 40px);
  padding-bottom: clamp(2px, .6vh, 10px);
}
.devices img { width: auto; min-height: 0; object-fit: contain; object-position: bottom; }
.devices__home   { height: 100%; max-height: 321px; max-width: 22%; }
.devices__pocket { height: 73%;  max-height: 234px; max-width: 58%; }

.fv__cardwrap { flex: none; width: 100%; max-width: 1000px; }
.fv__card {
  width: 100%;
  background: #fff;
  border-radius: clamp(14px, 2.2vw, 22px);
  padding: clamp(12px, 1.8vh, 26px) clamp(16px, 3.4vw, 32px);
}
.fv__cardbody {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fv__cardbody--sp { gap: clamp(8px, 1.2vh, 14px); }
.fv__cardbody--pc { gap: clamp(4px, .7vh, 9px); }
.fv__cardtitle {
  font-weight: 900;
  letter-spacing: 0.01em;
  text-align: center;
}
.fv__cardtitle--sp {
  display: flex;
  flex-direction: column;
  gap: .1em;
  font-size: min(5.5vw, 25px);
  line-height: 1.3;
}
.fv__cardtitle--pc {
  font-size: clamp(21px, 2.35vw, 29px);
  line-height: 1.35;
  white-space: nowrap;
}
.fv__cardtext {
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #3d4a60;
  text-align: center;
}
.fv__cardtext--sp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15em;
  font-size: min(4vw, 16px);
  line-height: 1.55;
}
.fv__cardtext--pc {
  font-size: clamp(13.5px, 1.15vw, 16px);
  line-height: 1.7;
  white-space: nowrap;
}

.fv__cta {
  width: 100%;
  margin-top: clamp(8px, 1.2vh, 16px);
  background: #f1f6fd;
  border-radius: clamp(14px, 2.2vw, 22px);
  padding: clamp(10px, 1.6vh, 24px) clamp(16px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fv__pitch {
  display: flex;
  align-items: center;
  gap: clamp(9px, 2vw, 18px);
  margin-bottom: clamp(7px, 1.1vh, 14px);
  font-weight: 800;
  font-size: min(4.3vw, 20px);
  letter-spacing: 0.01em;
  color: #1a5cff;
  white-space: nowrap;
}
.fv__pitch span:first-child { transform: rotate(14deg); }
.fv__pitch span:last-child  { transform: rotate(-14deg); }

@media (min-width: 768px) {
  .fv__stack { gap: clamp(6px, 1.1vh, 14px); padding-top: clamp(8px, 1.4vh, 20px); }
  .fv__cardwrap {
    background: #fff;
    border-radius: 22px;
    padding: clamp(18px, 2.2vh, 30px) clamp(24px, 3vw, 40px);
  }
  .fv__card { background: transparent; padding: 0; border-radius: 0; }
  .fv__cta {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-top: clamp(12px, 1.6vh, 20px);
  }
}

/* --- 縦の狭い端末（iPhone SE・アプリ内ブラウザ等）---
   文字まわりの余白を少しずつ削り、その分を端末写真に回す。
   is-short / is-xshort は js/main.js が読み込み時に付与する。
   高さのメディアクエリにしないのは、iOSでアドレスバーが縮むと
   スクロール中にON/OFFが切り替わり、レイアウトが跳ねるため。 */
@media (max-width: 767px) {
  .is-short .fv__stack {
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 6px;
  }
  .is-short .badge--sp {
    font-size: min(3.9vw, 16px);
    padding: 7px clamp(16px, 4.2vw, 28px);
  }
  .is-short .fv__title--sp { font-size: min(7.6vw, 40px); line-height: 1.24; }
  .is-short .fv__card { padding: 10px clamp(14px, 3.2vw, 28px); }
  .is-short .fv__cardbody--sp { gap: 6px; }
  .is-short .fv__cardtitle--sp { font-size: min(5vw, 23px); line-height: 1.26; }
  .is-short .fv__cardtext--sp { font-size: min(3.7vw, 15px); line-height: 1.5; }
  .is-short .fv__cta { margin-top: 8px; padding: 9px clamp(14px, 3vw, 30px); }
  .is-short .fv__pitch { margin-bottom: 7px; font-size: min(4vw, 19px); }
  .is-short .btn--fv { font-size: min(5.7vw, 30px); padding: 11px 20px; }
  .is-short .note--fv { margin-top: 7px; font-size: min(3.8vw, 17px); }
}

@media (max-width: 767px) {
  .is-xshort .fv__stack { padding-top: 6px; padding-bottom: 6px; gap: 4px; }
  .is-xshort .badge--sp { font-size: min(3.7vw, 15px); padding: 6px 16px; }
  .is-xshort .fv__title--sp { font-size: min(7.1vw, 36px); }
  .is-xshort .fv__card { padding: 8px clamp(12px, 3vw, 26px); }
  .is-xshort .fv__cardtitle--sp { font-size: min(4.7vw, 21px); }
  .is-xshort .fv__cardtext--sp { font-size: min(3.5vw, 14px); }
  .is-xshort .fv__cta { margin-top: 6px; padding: 8px clamp(12px, 3vw, 28px); }
  .is-xshort .fv__pitch { margin-bottom: 6px; font-size: min(3.8vw, 18px); }
  .is-xshort .btn--fv { font-size: min(5.4vw, 28px); padding: 10px 18px; }
  .is-xshort .note--fv { margin-top: 6px; font-size: min(3.6vw, 16px); }
}

/* ============================================
   Button / Note
   ============================================ */
.btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 18px);
  font-family: inherit;
  font-weight: 900;
  color: #fff;
  background: #1a55e0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 0 #0f3fb0, 0 12px 22px rgba(20, 60, 160, .22);
  transition: background .2s ease;
}
.btn:hover { background: #1b5ffb; color: #fff; }
.btn__arrow {
  flex: none;
  width: .34em;
  height: .34em;
  border-right: .11em solid #fff;
  border-top: .11em solid #fff;
  transform: rotate(45deg);
}
.btn--fv {
  max-width: 740px;
  font-size: min(6.1vw, 32px);
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding: clamp(12px, 2vh, 20px) 20px;
}
.btn--wide {
  max-width: 640px;
  font-size: clamp(17px, 2.3vw, 26px);
  letter-spacing: 0.02em;
  padding: clamp(16px, 2vw, 22px) clamp(16px, 2vw, 24px);
}

.note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #173a75;
  white-space: nowrap;
}
.note--fv { margin-top: clamp(7px, 1.1vh, 14px); font-size: min(4.1vw, 18px); }
.note--lg { margin-top: clamp(14px, 1.8vw, 20px); font-size: clamp(14px, 1.7vw, 17px); }
.note__clock {
  position: relative;
  flex: none;
  width: 1.15em;
  height: 1.15em;
  border: .11em solid #1a5cff;
  border-radius: 50%;
}
.note__clock::before,
.note__clock::after {
  content: "";
  position: absolute;
  background: #1a5cff;
}
.note__clock::before { left: 50%; top: 26%; width: .1em; height: .3em; transform: translateX(-50%); }
.note__clock::after  { left: 50%; top: 47%; width: .28em; height: .1em; }

/* ============================================
   Section common
   ============================================ */
.section { width: 100%; padding: clamp(44px, 6.4vw, 92px) clamp(16px, 4vw, 40px); }
.section--revision { background: #fff; }
.section--faq  { background: #f4f8fd; }
.section--form { background: #fff; }
.container { margin: 0 auto; }
.container--revision { max-width: 1120px; }
.container--faq  { max-width: 900px; }
.container--form { max-width: 760px; }

.sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.2vw, 12px);
  margin-bottom: clamp(26px, 3.6vw, 44px);
}
.sec-label {
  font-weight: 900;
  font-size: clamp(13px, 1.5vw, 15px);
  letter-spacing: 0.18em;
  color: #1a5cff;
}
.sec-title {
  font-weight: 900;
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-align: center;
}
.sec-lead {
  font-weight: 400;
  font-size: clamp(14px, 1.7vw, 16px);
  line-height: 1.9;
  color: #3d4a60;
  text-align: center;
}

/* ============================================
   Price revision
   ============================================ */
.section--revision {
  padding-top: clamp(48px, 6.2vw, 82px);
  padding-bottom: clamp(50px, 6.5vw, 86px);
  background: #f7faff;
  border-top: 1px solid #e8eef8;
  border-bottom: 1px solid #e8eef8;
}
.revision {
  width: 100%;
}
.revision__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}
.revision__head {
  min-width: 0;
}
.revision__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c96208;
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.4;
}
.revision__eyebrow::before {
  content: "";
  flex: none;
  width: 3px;
  height: 2.5em;
  background: #df750f;
}
.revision__title {
  margin-top: clamp(18px, 2.2vw, 24px);
  color: #0d2f6e;
  font-size: clamp(28px, 3.35vw, 42px);
  font-weight: 900;
  letter-spacing: -.015em;
  line-height: 1.42;
}
.revision__lead {
  margin-top: clamp(14px, 1.8vw, 20px);
  color: #3d4a60;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
}
.revision__alert {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 24px);
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  color: #b95705;
  background: #fffaf2;
  border: 1px solid #efb66e;
  border-radius: 14px;
}
.revision__alert-icon {
  flex: none;
  width: clamp(44px, 5vw, 58px);
  color: #d46a08;
}
.revision__alert-icon svg,
.revision__icon svg {
  display: block;
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.revision__alert p {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  font-size: clamp(15px, 1.65vw, 18px);
  font-weight: 700;
  line-height: 1.65;
}
.revision__alert strong { font-weight: 900; }
.revision__alert p span { font-weight: 800; }
.revision__checks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(34px, 4.5vw, 52px);
  background: #fff;
  border-top: 1px solid #d6e1f1;
  border-bottom: 1px solid #d6e1f1;
}
.revision__check {
  min-width: 0;
  padding: clamp(25px, 3vw, 34px) clamp(22px, 2.8vw, 32px);
  display: flex;
  align-items: center;
  gap: clamp(17px, 2vw, 24px);
}
.revision__check + .revision__check { border-left: 1px solid #d6e1f1; }
.revision__icon {
  flex: none;
  width: clamp(54px, 5.5vw, 68px);
  color: #0d3b83;
}
.revision__check p {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.revision__check strong {
  color: #0d2f6e;
  font-size: clamp(15px, 1.55vw, 17px);
  line-height: 1.55;
}
.revision__check p span {
  color: #5a6f96;
  font-size: clamp(12px, 1.3vw, 14px);
  line-height: 1.55;
}
.revision__body {
  padding-top: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.revision__note {
  width: 100%;
  color: #5a6f96;
  font-size: clamp(10px, 1.2vw, 12px);
  line-height: 1.75;
  text-align: center;
}
.revision__note a { text-decoration: underline; text-underline-offset: 2px; }
.revision__button {
  width: min(100%, 590px);
  margin-top: clamp(20px, 2.7vw, 28px);
}
.revision__input-note { margin-top: clamp(12px, 1.5vw, 16px); }

@media (max-width: 767px) {
  .fv__reasonline {
    --reason-rule-width: clamp(10px, 2.6vw, 20px);
    padding-inline: calc(var(--reason-rule-width) + 6px);
    font-size: clamp(10px, 2.9vw, 13px);
  }
  .section--revision {
    padding-top: 44px;
    padding-bottom: 48px;
  }
  .revision__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .revision__eyebrow { gap: 10px; }
  .revision__eyebrow::before { height: 2.3em; }
  .revision__title {
    margin-top: 16px;
    font-size: clamp(24px, 7vw, 29px);
    line-height: 1.45;
  }
  .revision__lead {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.75;
  }
  .revision__alert {
    gap: 15px;
    padding: 18px;
    border-radius: 12px;
  }
  .revision__alert-icon { width: 42px; }
  .revision__alert p {
    gap: 2px;
    font-size: 14px;
  }
  .revision__checks {
    grid-template-columns: 1fr;
    margin-top: 28px;
    border: 1px solid #d6e1f1;
    border-radius: 14px;
    overflow: hidden;
  }
  .revision__check {
    padding: 17px 18px;
    gap: 16px;
  }
  .revision__check + .revision__check {
    border-top: 1px solid #dce7f6;
    border-left: 0;
  }
  .revision__icon { width: 52px; }
  .revision__check strong { font-size: 15px; }
  .revision__check p span { font-size: 12px; }
  .revision__body { padding-top: 20px; }
  .revision__note {
    font-size: 10px;
    line-height: 1.65;
    text-align: left;
  }
  .revision__button { margin-top: 20px; }
}

@media (max-width: 359px) {
  .fv__reasonline {
    --reason-rule-width: 10px;
    padding-inline: 16px;
    font-size: 10px;
  }
  .fv__reasonline span + span { margin-left: .32em; }
}

/* ============================================
   FAQ
   ============================================ */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 14px);
}
.faq__item {
  background: #fff;
  border: 1px solid #e3eaf5;
  border-radius: 14px;
  overflow: hidden;
}
.faq__q {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, 1.6vw, 16px);
  padding: clamp(15px, 2vw, 22px) clamp(15px, 2.2vw, 26px);
  list-style: none;
  cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__num {
  flex: none;
  font-weight: 900;
  font-size: clamp(15px, 1.9vw, 19px);
  line-height: 1.55;
  color: #1a5cff;
}
.faq__text {
  flex: 1 1 auto;
  font-weight: 700;
  font-size: clamp(15px, 1.9vw, 18px);
  line-height: 1.55;
  letter-spacing: 0.01em;
}
/* シェブロンの transform は必ずここで指定（インライン化すると回転しない） */
.faq__chev {
  flex: none;
  margin-top: .45em;
  width: .5em;
  height: .5em;
  font-size: clamp(15px, 1.9vw, 18px);
  border-right: 2px solid #1a5cff;
  border-bottom: 2px solid #1a5cff;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq__item[open] .faq__chev { transform: rotate(-135deg); }
.faq__a {
  padding: 0 clamp(15px, 2.2vw, 26px) clamp(18px, 2.2vw, 24px);
  font-size: clamp(14px, 1.7vw, 16px);
  line-height: 1.95;
  color: #3d4a60;
}
.faq__a p + p { margin-top: 1em; }
.faq__box {
  margin: clamp(10px, 1.2vw, 14px) 0;
  padding: clamp(14px, 1.8vw, 20px) clamp(18px, 2.2vw, 26px);
  background: #f7faff;
  border-radius: 10px;
}
.faq__box--list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq__box--list li { display: flex; gap: 10px; }
.faq__box--list li::before { content: "・"; color: #1a5cff; }

.faq__more {
  margin-top: clamp(4px, .8vw, 8px);
}
.faq__more-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 20px;
  color: #1a5cff;
  background: #fff;
  border: 1px solid #cbdafa;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgb(26 92 255 / 8%);
  font-weight: 800;
  font-size: clamp(14px, 1.7vw, 16px);
  letter-spacing: .03em;
  list-style: none;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.faq__more-toggle::-webkit-details-marker { display: none; }
.faq__more-toggle:hover {
  background: #f7faff;
  border-color: #9db9f8;
  box-shadow: 0 10px 28px rgb(26 92 255 / 12%);
}
.faq__more-toggle:focus-visible {
  outline: 3px solid rgb(26 92 255 / 28%);
  outline-offset: 3px;
}
.faq__more-label--open { display: none; }
.faq__more[open] .faq__more-label--closed { display: none; }
.faq__more[open] .faq__more-label--open { display: inline; }
.faq__more-chev {
  width: .55em;
  height: .55em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-.12em) rotate(45deg);
  transition: transform .2s ease;
}
.faq__more[open] .faq__more-chev {
  transform: translateY(.12em) rotate(-135deg);
}
.faq__morelist {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 14px);
  margin-top: clamp(14px, 1.8vw, 20px);
}

.endcta {
  margin-top: clamp(34px, 4.4vw, 56px);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3.4vw, 44px);
  background: #fff;
  border-radius: clamp(16px, 2.2vw, 22px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.endcta__title {
  font-weight: 900;
  font-size: clamp(20px, 2.9vw, 30px);
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-align: center;
}
.endcta__text {
  margin-top: clamp(12px, 1.6vw, 18px);
  font-weight: 400;
  font-size: clamp(14px, 1.7vw, 16px);
  line-height: 1.9;
  color: #3d4a60;
  text-align: center;
}
.endcta .btn { margin-top: clamp(20px, 2.6vw, 32px); }

/* ============================================
   Form
   ============================================ */
.form {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.6vw, 30px);
}
.field {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 11px);
}
.field__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: clamp(14px, 1.7vw, 16px);
}
.req {
  padding: 4px 8px;
  background: #e0483c;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
  font-size: .75em;
  letter-spacing: 0.04em;
  line-height: 1;
}
.input {
  width: 100%;
  padding: clamp(13px, 1.6vw, 16px) clamp(14px, 1.6vw, 18px);
  font-family: inherit;
  font-size: clamp(15px, 1.8vw, 17px);
  color: #0d2f6e;
  background: #f7faff;
  border: 1.5px solid #dbe4f2;
  border-radius: 10px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.input::placeholder { color: #a7b4c8; }
.input:focus { border-color: #1a5cff; background: #fff; }
.input.is-error { border-color: #e0483c; background: #fff6f5; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: clamp(16px, 1.8vw, 20px);
  width: 8px;
  height: 8px;
  border-right: 2px solid #5a6f96;
  border-bottom: 2px solid #5a6f96;
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}
.input--select {
  appearance: none;
  padding-right: 46px;
  cursor: pointer;
}
.input--select:invalid { color: #7c8aa3; }
.field__error {
  display: none;
  font-size: clamp(12px, 1.4vw, 13px);
  font-weight: 700;
  color: #e0483c;
}
.field.is-error .field__error { display: block; }

.devcards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 1.4vw, 16px);
}
.devcard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  padding: clamp(16px, 2vw, 22px) clamp(10px, 1.4vw, 16px);
  background: #f7faff;
  border: 1.5px solid #dbe4f2;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.devcard input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.devcard__tick {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid #c8d6ea;
  border-radius: 50%;
  transition: background .15s ease, border-color .15s ease;
}
.devcard__tick::after {
  content: "";
  display: block;
  width: 9px;
  height: 5px;
  margin-top: -2px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  opacity: 0;
}
.devcard img { height: clamp(84px, 11vw, 120px); width: auto; object-fit: contain; }
.devcard__name {
  font-weight: 700;
  font-size: clamp(14px, 1.7vw, 17px);
  line-height: 1.5;
  text-align: center;
}
.devcard__sub {
  font-weight: 400;
  font-size: clamp(12px, 1.4vw, 13px);
  line-height: 1.5;
  color: #7c8aa3;
  text-align: center;
}
.devcard:has(input:checked) {
  border-color: #1a5cff;
  background: #f1f6fd;
  box-shadow: 0 0 0 1px #1a5cff inset;
}
.devcard:has(input:checked) .devcard__tick { background: #1a5cff; border-color: #1a5cff; }
.devcard:has(input:checked) .devcard__tick::after { opacity: 1; }

.form__agree {
  margin-bottom: clamp(10px, 1.4vw, 14px);
  font-size: clamp(11px, 1.3vw, 13px);
  line-height: 1.7;
  color: #5a6f96;
  text-align: center;
}
.form__agree a { color: #1a5cff; text-decoration: underline; }
[hidden] { display: none !important; }
.form__submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(4px, .8vw, 8px);
}

/* --- 解約の確認と乗り換え相談の目的選択 --- */
body.is-modal-open { overflow: hidden; }
.route-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 24, 58, .62);
}
.route-modal__panel {
  width: min(100%, 600px);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(5, 24, 58, .3);
  text-align: center;
}
.route-modal__back {
  display: block;
  min-height: 40px;
  margin: -8px 0 8px auto;
  padding: 8px 0 8px 12px;
  border: 0;
  background: transparent;
  color: #505966;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.route-modal__title {
  color: #222831;
  font-size: clamp(18px, 2.8vw, 26px);
  font-weight: 800;
  line-height: 1.45;
}
.route-modal__description {
  margin-top: 8px;
  color: #505966;
  font-size: 14px;
  line-height: 1.75;
}
.route-modal__actions {
  display: grid;
  gap: 22px;
  margin-top: 20px;
  text-align: left;
}
.route-modal__choice {
  padding-inline: 18px;
}
.route-modal__choice--primary {
  padding-block: 18px;
  border: 1px solid #d9dde2;
  border-radius: 10px;
  background: #f5f6f7;
}
.route-modal__choice-title {
  margin: 0;
  color: #222831;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  line-height: 1.6;
}
.route-modal__button {
  width: 100%;
  min-height: 54px;
  margin-top: 14px;
  padding: 13px 18px;
  border-radius: 9px;
  font-family: inherit;
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 800;
  line-height: 1.5;
  cursor: pointer;
}
.route-modal__button--primary {
  border: 1.5px solid #303844;
  background: #303844;
  color: #fff;
  box-shadow: none;
}
.route-modal__button--secondary {
  border: 1.5px solid #aeb5bf;
  background: #fff;
  color: #303844;
  box-shadow: none;
}
.route-modal__button--primary:hover { background: #222831; }
.route-modal__button--secondary:hover { background: #f5f6f7; }
.route-modal__button:focus-visible,
.route-modal__back:focus-visible {
  outline: 3px solid #173a75;
  outline-offset: 3px;
}
.route-modal__note {
  margin-top: 8px;
  color: #505966;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .route-modal { padding: 14px; }
  .route-modal__panel { max-height: calc(100svh - 28px); padding: 18px 14px 22px; border-radius: 14px; }
  .route-modal__choice { padding-inline: 14px; }
}

/* ============================================
   契約先の公式窓口一覧
   ============================================ */
.contacts-page {
  min-height: 70vh;
  background: #f5f8fd;
}
.contacts-content {
  width: min(100%, 1040px);
  margin-inline: auto;
}
.contacts-content {
  padding: clamp(28px, 5vw, 52px) 20px clamp(52px, 7vw, 80px);
}
.contacts-intro {
  margin-bottom: 22px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #dce5f2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(13, 47, 110, .07);
}
.contacts-intro p {
  display: grid;
  gap: 5px;
}
.contacts-intro p + p {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e7edf6;
}
.contacts-intro strong {
  display: block;
  color: #0d2f6e;
  font-size: clamp(16px, 2vw, 19px);
}
.contacts-intro span {
  color: #526783;
  font-size: 14px;
  line-height: 1.75;
}
.contacts-intro__notice strong {
  color: #813f16;
}
.contacts-intro__notice span {
  color: #6d5648;
}
.contacts-search {
  position: sticky;
  top: 64px;
  z-index: 10;
  margin-bottom: 30px;
  padding: 14px;
  border: 1px solid #dce5f2;
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 24px rgba(13, 47, 110, .08);
  backdrop-filter: blur(8px);
}
.contacts-search__label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 800;
}
.contacts-search__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}
.contacts-search__input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid #cbd8ea;
  border-radius: 8px;
  color: #173a75;
  background: #fff;
  font: inherit;
  font-size: 16px;
}
.contacts-search__input:focus {
  border-color: #1a5cff;
  outline: 3px solid rgba(26, 92, 255, .14);
}
.contacts-search__count {
  color: #657996;
  font-size: 13px;
  white-space: nowrap;
}
.contact-group + .contact-group { margin-top: 38px; }
.contact-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #dce6f4;
}
.contact-group__title {
  color: #0d2f6e;
  font-size: clamp(20px, 2.8vw, 27px);
  font-weight: 900;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(17px, 2.4vw, 22px);
  border: 1px solid #dfe7f2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(13, 47, 110, .05);
}
.contact-card__name {
  margin: 0;
  color: #0d2f6e;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
}
.contact-card__phone {
  margin-top: 8px;
  color: #1a5cff;
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 900;
  line-height: 1.45;
  word-break: break-all;
}
.contact-card__phone--text {
  color: #405b80;
  font-size: 15px;
}
.contact-card__meta {
  margin-top: 5px;
  color: #687b95;
  font-size: 12px;
  line-height: 1.7;
}
.contact-card__link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 13px;
  color: #1a5cff;
  font-size: 14px;
  font-weight: 800;
}
.contact-card__link::after { content: "\2197"; margin-left: 4px; }
.contacts-empty {
  margin: 28px 0;
  padding: 28px;
  border-radius: 10px;
  background: #fff;
  color: #526783;
  text-align: center;
}
.contacts-source {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid #d5dfed;
  color: #657996;
  font-size: 12px;
  line-height: 1.9;
}
.contacts-source a { text-decoration: underline; }
.contacts-back { margin-top: 28px; text-align: center; }
.contacts-back a { font-weight: 800; }

@media (max-width: 767px) {
  .contacts-search { top: 58px; }
  .contacts-search__row { grid-template-columns: 1fr; gap: 7px; }
  .contacts-search__count { text-align: right; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: clamp(28px, 3.4vw, 44px) clamp(16px, 4vw, 40px);
  background: #0d2f6e;
  color: #fff;
  text-align: center;
}
.footer__brand {
  font-weight: 900;
  font-size: clamp(18px, 2.2vw, 22px);
  letter-spacing: -0.01em;
}
.footer__note {
  margin-top: 10px;
  font-size: clamp(12px, 1.4vw, 14px);
  line-height: 1.9;
  color: rgba(255, 255, 255, .72);
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  margin-top: clamp(16px, 2vw, 22px);
}
.footer__nav a {
  font-size: clamp(12px, 1.4vw, 13px);
  color: rgba(255, 255, 255, .82);
}
.footer__nav a:hover { color: #fff; text-decoration: underline; }
.footer__copy {
  margin-top: clamp(16px, 2vw, 24px);
  font-size: clamp(11px, 1.3vw, 12px);
  color: rgba(255, 255, 255, .5);
}

/* ============================================
   会社概要ページ
   ============================================ */
.page-head {
  padding: clamp(40px, 5.6vw, 76px) clamp(16px, 4vw, 40px) clamp(24px, 3vw, 36px);
  text-align: center;
}
.company {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) clamp(52px, 7vw, 96px);
}
.company__table {
  border-top: 1px solid #e6ebf3;
}
.company__row {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  padding: clamp(16px, 2.2vw, 22px) clamp(4px, 1vw, 12px);
  border-bottom: 1px solid #e6ebf3;
}
.company__label {
  flex: none;
  width: clamp(96px, 15vw, 148px);
  font-weight: 700;
  font-size: clamp(13px, 1.5vw, 15px);
  color: #173a75;
}
.company__value {
  flex: 1;
  min-width: 0;
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.9;
  color: #0d2f6e;
}
.company__value small {
  display: block;
  margin-top: 4px;
  font-size: clamp(11px, 1.3vw, 13px);
  color: #5a6f96;
}
.company__back {
  margin-top: clamp(32px, 4vw, 48px);
}
.company__back .btn { margin: 0 auto; }
@media (max-width: 767px) {
  .company__row { flex-direction: column; gap: 6px; }
  .company__label { width: auto; }
}

/* ============================================
   ハニーポット（ボット判定用・人間には見せない）
   display:none だと素通りするボットがいるため画面外へ退避する
   ============================================ */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 送信中のボタン */
.btn:disabled {
  opacity: .62;
  cursor: default;
}

/* ============================================
   サンクスページ
   ============================================ */
.thanks {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) clamp(52px, 7vw, 96px);
  text-align: center;
}
.thanks__icon {
  position: relative;
  width: clamp(56px, 8vw, 72px);
  height: clamp(56px, 8vw, 72px);
  margin: 0 auto clamp(20px, 2.6vw, 28px);
  border-radius: 50%;
  background: #1a5cff;
}
.thanks__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: .3em;
  height: .56em;
  font-size: clamp(56px, 8vw, 72px);
  border-right: .07em solid #fff;
  border-bottom: .07em solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
.thanks__lead {
  font-weight: 700;
  font-size: clamp(15px, 1.9vw, 19px);
  line-height: 1.9;
  color: #0d2f6e;
}
.thanks__box {
  margin-top: clamp(24px, 3.2vw, 36px);
  padding: clamp(18px, 2.4vw, 26px) clamp(16px, 2.4vw, 28px);
  background: #f7faff;
  border: 1px solid #e3eaf5;
  border-radius: 14px;
}
.thanks__box-title {
  font-weight: 800;
  font-size: clamp(13px, 1.5vw, 15px);
  color: #1a5cff;
}
.thanks__box-text {
  margin-top: 8px;
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.9;
  color: #3d4a60;
}
.thanks__note {
  margin-top: clamp(20px, 2.6vw, 28px);
  font-size: clamp(11px, 1.3vw, 13px);
  line-height: 1.9;
  color: #5a6f96;
}
.thanks__back {
  margin-top: clamp(28px, 3.6vw, 44px);
}
.thanks__back .btn { margin: 0 auto; }

/* アンカー着地時に sticky ヘッダーへ潜り込まないようにする（サイトリンク用） */
#price-revision,
#faq,
#form,
.faq__item[id] { scroll-margin-top: 76px; }
