
/* このページ専用テンプレート（page-baibai-lp.php）でのみ読み込むCSSのため、
   サイト共通ヘッダー（header.php の #header）はこのページだけ非表示にする */
#header {
  display: none !important;
}
/* ヘッダーを非表示にしても、テーマ側が固定ヘッダー分の余白を
   body / main に確保している場合があるため、このページでは打ち消す */
body,
main,
main#smartphone {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.lp-norikae {
  --sb-color: #1a1a2e;        /* ソフトバンク基調色（濃紺黒） */
  --sb-accent: #c9a24b;       /* ソフトバンク差し色（ゴールド） */
  --ym-color: #e4007f;        /* ワイモバイル基調色（マゼンタ） */
  --ym-accent: #ff6fae;       /* ワイモバイル差し色（ライトピンク） */
  --cta-red-1: #ff3b3b;
  --cta-red-2: #e60023;
  --bg-gray: #f5f6f8;
  --border-gray: #e2e4e8;
  --text-main: #222226;
  --text-sub: #6b6f76;
  --radius-m: 0px;
  --radius-l: 0px;
  --maxw: 1440px; /* 全体の最大幅 */

  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text-main);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.lp-norikae * { box-sizing: border-box; }
.lp-norikae img { max-width: 100%; height: auto; display: block; }
.lp-norikae a { color: inherit; text-decoration: none; }
.lp-norikae ul { list-style: none; margin: 0; padding: 0; }
.lp-norikae button { font: inherit; cursor: pointer; }

.lp-norikae { background: transparent; padding: 0; }

.lp-norikae__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  background: #fff;
}

.lp-norikae__band {
 max-width: 1200px;
  margin: 0 auto;
  background: #9CA2A6;
  padding: 24px 0;
  transition: background-color .2s ease;
}
.lp-norikae__band.is-ym {
  background: var(--cta-red-2, #e60023);
}

.lp-norikae__content {
  background: #fff;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

/* ---------- 共通 見出し ---------- */
.lp-sec-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  padding: 32px 16px 20px;
  line-height: 1.5;
}
.lp-sec-title small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-sub);
  margin-top: 6px;
}

/* ---------- 最上部バー（取扱店バッジ + 会社名） ---------- */
.lp-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 16px 60px;
  background: #fff;
}
.lp-topbar__badges {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  align-items: center;
}
.lp-topbar__badges img {
  height: 48px;
  width: auto;
  display: block;
}
.lp-topbar__company {
  margin: 0;
  font-size: 10.5px;
  font-weight: 700;
  color: #2b2b2f;
  text-align: left;
  white-space: nowrap;
}
/* ---------- 画像ボタン ---------- */
.lp-btnImg {
  display: block;
  width: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
  will-change: transform;
}
.lp-btnImg:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,.15);
}
.lp-btnImg img { width: 100%; display: block; }
.lp-btnImg--sm {
  max-width: 480px;
  margin: 32px auto 0;
}

/* ---------- ヘッダー / キャンペーンリボン ---------- */
/* ---------- FV（ファーストビュー） ---------- */
.lp-fv {
  line-height: 0;
}
.lp-fv__img {
  width: 100%;
  display: block;
}

/* ---------- CTA（オンラインショップへ） ---------- */
.lp-heroCtas {
  padding: 24px 60px 32px;
  background: #636363;
}
.lp-panel .lp-heroCtas {
  margin: 32px -60px;
  width: calc(100% + 120px);
}
.lp-planSection {
  background: #FAF7F1;
  margin: 32px -60px 0;
  width: calc(100% + 120px);
  padding: 0px 30px;
}
.lp-stepsSection {
  background: #F4EFE6;
  margin: 0 -60px 0;
  width: calc(100% + 120px);
  padding: 32px 60px 0;
}
.lp-panel .lp-heroCtas--tight {
  margin-bottom: 0;
}
.lp-panel .lp-heroCtas--tight + .lp-teaser--deviceIntro {
  margin-top: 0;
}
.lp-heroCtas__buttons {
  display: flex;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}
.lp-heroCtas__buttons--single {
  max-width: 480px;
  margin: 0 auto;
}
.lp-heroCtas__buttons .lp-btnImg {
  flex: 1 1 0;
  width: auto;
}
.lp-heroCtas__info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.lp-heroCtas__info .lp-finePrint,
.lp-heroCtas__info .lp-shopInfo {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}
.lp-heroCtas .lp-finePrint {
  color: #d9d9d9;
  padding: 0;
}
.lp-heroCtas .lp-shopInfo {
  color: #d9d9d9;
  border-top: none;
  margin-top: 0;
  padding: 0;
}

.lp-finePrint {
  font-size:  13px;
  color: var(--text-sub);
  padding: 10px 16px 0;
  line-height: 1.6;
}
.lp-shopInfo {
  font-size: 14px;
  color: var(--text-sub);
  padding: 10px 16px 0;
  line-height: 1.7;
  border-top: 1px dashed var(--border-gray);
  margin-top: 10px;
}

/* ---------- キャリア選択タブ ---------- */
.lp-carrierIntro {
  text-align: center;
  padding: 56px 60px 24px;
}
.lp-carrierIntro h2 {
  font-size: 35px !important;
  font-weight: 800 !important;
  margin: 0;
}
.lp-onlySp {
  display: none;
}

.lp-tabs {
  display: flex;
  padding: 16px 0 0;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 0;
}
.lp-tabs__btn {
  flex: 1;
  padding: 18px 8px;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  font-weight: 800;
  font-size: 30px !important;
  background: var(--bg-gray);
  color: var(--text-sub);
  border: 1px solid var(--border-gray);
  border-bottom: none;
  transition: background .2s, color .2s;
}
.lp-tabs__btn.is-sb {
  background: #9CA2A6;
  color: #fff;
}
.lp-tabs__btn.is-ym {
  background: var(--cta-red-2, #e60023);
  color: #fff;
}

.lp-panel { display: none; padding: 0 60px 60px; }
.lp-panel[data-carrier="sb"] { padding-bottom: 0; }
.lp-panel.is-active { display: block; }
.lp-panel[data-carrier="sb"] { --carrier-color: var(--sb-color); --carrier-accent: var(--sb-accent); }
.lp-panel[data-carrier="ym"] { --carrier-color: var(--ym-color); --carrier-accent: var(--ym-accent); }

/* ---------- お知らせ ---------- */
.lp-notice {
  background: var(--bg-gray);
  border-radius: var(--radius-m);
  padding: 18px 20px;
  margin: 20px auto 0;
  max-width: 720px;
}
.lp-notice__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--carrier-color, var(--sb-color));
  margin: 0 0 6px;
}
.lp-notice li {
  font-size: 12.5px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--border-gray);
}
.lp-notice li:last-child { border-bottom: none; }

/* ---------- クイックナビ（機種・プラン・手続き方法） ---------- */
.lp-quicknav {
  display: flex;
  gap: 16px;
  max-width: 720px;
  margin: 48px auto 0;
}
.lp-quicknav a { flex: 1; }

/* ---------- アイコン3点セット ---------- */
.lp-iconRow {
  display: flex;
  gap: 16px;
  max-width: 720px;
  margin: 24px auto 0;
}
.lp-iconRow__item { flex: 1; }

.lp-ymHero__title {
  display: block;
  max-width: 200px;
  margin: 32px auto 0;
}

.lp-ymIconRow {
  display: block;
  max-width: 360px;
  margin: 20px auto 0;
}

.lp-ymCtaSection {
  background: #FCE8EC;
  margin: 32px -60px 0;
  width: calc(100% + 120px);
  padding: 40px 60px;
  text-align: center;
}
.lp-ymCtaSection__title {
  display: block;
  max-width: 560px;
  margin: 0 auto;
}
.lp-ymCtaSection .lp-btnImg--sm {
  max-width: 620px;
  margin-top: 24px;
}
.lp-ymPinkSection {
  background: #FCE8EC;
  margin: 32px -60px 0;
  width: calc(100% + 120px);
  padding: 32px 60px;
}
.lp-ymCtaSection__info {
  max-width: 720px;
  margin: 24px auto 0;
  padding: 16px 0;
}

.lp-ymSubhead {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin: 40px 0 16px;
  color: var(--text-main);
}
.lp-ymSubhead__highlight {
  color: var(--cta-red-2);
}
.lp-ymCtaSection__info .lp-shopInfo {
  border-top: none;
  margin-top: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.6;
  text-align: center;
}
.lp-ymCtaSection__info .lp-finePrint {
  padding: 12px 0 0;
  font-size: 11.5px;
  text-align: center;
}

/* ---------- メリットバッジ ---------- */
.lp-meritRow {
  display: flex;
  gap: 16px;
  margin: 20px auto;
  max-width: 720px;
}
.lp-meritRow__item {
  flex: 1;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-m);
  padding: 12px 6px;
}
.lp-meritRow__item strong {
  display: block;
  font-size: 15px;
  color: var(--carrier-color, var(--sb-color));
  margin-top: 2px;
}
.lp-meritRow__item span { font-size: 11px; color: var(--text-sub); }

.lp-teaser {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  margin: 20px auto;
  max-width: 720px;
}
.lp-teaser a { color: var(--carrier-color, var(--sb-color)); text-decoration: underline; }

.lp-teaser--onlineWari { font-size: 40px; max-width: none; font-weight: 800; white-space: nowrap; }
.lp-teaser--switchIntro { font-size: 28px; }
.lp-teaser--onlineWari .lp-teaser__highlight { color: #0F8DF1; }
.lp-teaser--deviceIntro {
  background: #ECE7DE;
  padding: 20px 60px;
  text-align: center;
  width: calc(100% + 120px);
  margin-left: -60px;
  margin-right: -60px;
  max-width: none;
 font-size: 30px;
}

.lp-teaser__bigPrice {
  text-align: center;
  font-size:  28px;
  font-weight: 800;
  color: #0F8DF1;
  margin: 12px 0 40px;
}

/* ---------- 機種カードグリッド ---------- */
.lp-deviceBanners {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 16px;
	margin: 16px 0;
}

.lp-deviceBanners__item {
	flex: 0 1 auto;
}

.lp-deviceBanners__item img {
	display: block;
	width: 411px;   /* Figma上の2倍サイズ 822pxの半分 */
	height: auto;
}

.lp-deviceBanners__item:nth-child(2) img {
	width: 398px;   /* Figma上の2倍サイズ 796pxの半分 */
}

@media (max-width: 768px) {
	.lp-deviceBanners {
		flex-wrap: wrap;
		gap: 8px;
	}
	.lp-deviceBanners__item img {
		width: 100%;
		max-width: 300px;
	}
}
.lp-subhead {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--carrier-color, var(--sb-color));
}
.lp-subhead__highlight {
  font-size: 26px;
  font-weight: 800;
  color: #0F8DF1;
}

.lp-planIntro__note {
  text-align: center;
  font-size: 20px;
  color: var(--text-sub);
  margin: 32px 0 4px;
}
.lp-planIntro__title {
  text-align: center;
  font-size: 36px;
  margin: 0 0 16px;
}
.lp-planIntro__title strong { font-weight: 800; }
.lp-planIntro__highlight { color: #0F8DF1; }
.lp-planIntro__highlight--ym { color: var(--cta-red-2); font-weight: 800; }

.lp-panel .lp-deviceGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.lp-deviceCard__img {
  display: block;
  overflow: hidden;
}
.lp-deviceCard__img img {
  display: block;
  width: 100%;
  height: auto;
}
a.lp-deviceCard__img {
  transition: transform .2s ease, box-shadow .2s ease;
  will-change: transform;
}
a.lp-deviceCard__img:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,.15);
}

/* ---------- 新トクするサポート＋ 導入バナー ---------- */
.lp-supportBanner {
  background: transparent;
  max-width: 900px;
  margin: 24px 0 0;
  padding: 20px 10px;
  text-align: center;
}
.lp-supportBanner__lead {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 4px;
}
.lp-supportBanner__title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 8px;
}
.lp-supportBanner__sub {
  font-size: 30px;
  font-weight: 800;
  margin: 0;
}
.lp-supportBanner__sub sup {
  font-size: 10px;
}
.lp-supportBanner__highlight {
  color: #0F8DF1;
}

.lp-fullImg {
  display: block;
  width: 100%;
  max-width: 150px;
  margin: 24px auto 0;
}
.lp-fullImg--support {
  max-width: 220px;
}
.lp-fullImg--plan {
  max-width: 560px;
}
.lp-recommendLabel {
	text-align: center !important;
	font-size: 30px;
	font-weight: 700;
	color: #1a2b4c;
	margin: 20px 0 12px;
	letter-spacing: 0.02em;
}
.lp-recommendLabel__highlight {
  font-size: 40px;
  font-weight: 900;
  color: #3F6296;
}

/* ---------- 支払い例 切り替えボタン ---------- */
.lp-supportAccordion {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 14px;
  max-width: 840px;
  margin: 24px auto 0;
}
.lp-supportAccordion__btn {
  min-width: 0;
  max-width: 270px;
  width: 100%;
  aspect-ratio: 400 / 62;
  display: block;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity .2s ease;
  line-height: 0;
}
.lp-supportAccordion__btn[aria-expanded="true"] {
  opacity: 1;
}
.lp-supportAccordion__btn img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
}

/* ---------- 表示エリア（1つだけ表示） ---------- */
.lp-supportAccordion__panels {
  max-width: 720px;
  margin: 16px auto 0;
}
.lp-supportAccordion__panel {
  display: none;
}
.lp-supportAccordion__panel.is-open {
  display: block;
}
.lp-supportAccordion__panel .lp-fullImg {
  max-width: 680px; /* Figma上の1x基準サイズに合わせて調整してください */
  margin: 0 auto;
}

@media (max-width: 768px) {
  .lp-supportAccordion {
     grid-template-columns: 1fr;
    gap: 10px;
    max-width: 100%;
  }
  .lp-supportAccordion__btn {
    flex: 1 1 100%;
  }
}
/* ---------- 特記事項アコーディオン ---------- */
.lp-notesAccordion {
  max-width: 720px;
  margin: 20px auto 20px;
}
.lp-notesAccordion__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  background: #EAF1FB;
  color: #3F6296;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
}
.lp-notesAccordion__btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #3F6296;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.lp-notesAccordion__btn[aria-expanded="true"]::after {
  transform: rotate(180deg);
}
.lp-notesAccordion__body {
  display: none;
  padding-top: 16px;
}
.lp-notesAccordion__body.is-open {
  display: block;
}


/* ---------- 料金プラン タブ ---------- */
.lp-planTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 883px;
  margin: 24px auto 0;
  border-radius: 10px;
  overflow: hidden;
}

.lp-planTabs__btn {
  color: #fff;
  border: none;
  padding: 16px 8px;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 33.3333%;
  min-width: 0;
  box-sizing: border-box;
}

.lp-planTabs__btn--teigaku {
  background: #3F6296;
}
.lp-planTabs__btn--sumahodebut {
  background: #1AA085;
}
.lp-planTabs__btn--minifit2 {
  background: #E0A23E;
}

.lp-planTabs__btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid #fff;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.lp-planTabs__btn[aria-expanded="true"]::after {
  transform: rotate(180deg);
}
.lp-planTabs__panels {
  max-width: 883px;
  margin: 0 auto;
}
.lp-planTabs__panel {
  display: none;
}
.lp-planTabs__panel.is-open {
  display: block;
}
.lp-planTabs__panel .lp-fullImg {
  margin-top: 0;
}

@media (max-width: 768px) {
  .lp-planTabs__btn {
    flex-basis: 100% !important;
    width: 100%;
    font-size: 16px;
    padding: 12px 8px;
    border-radius: 0 !important;
  }
}
/* ---------- こんな方におすすめ カード ---------- */
.lp-recommendCards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  max-width: 850px; /* 415px × 2 + gap 20px */
  margin: 16px auto 24px;
  padding: 0;
  background: none;
}
.lp-recommendCards__item {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
}
.lp-recommendCards__item img {
  width: 100%;
  max-width: 415px;
  height: auto;
  display: block;
}
.lp-fullImg--flow {
  max-width: 874px;
}

/* ---------- キャンペーン強調セクション ---------- */
.lp-campaign {
  background: linear-gradient(180deg, #fff7e0, #ffffff);
  border: 1px solid #f4d98a;
  border-radius: var(--radius-l);
  padding: 28px 32px;
  margin: 32px auto;
  max-width: 720px;
  text-align: center;
}
.lp-campaign__label {
  display: inline-block;
  background: var(--cta-red-2);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 0;
  margin-bottom: 10px;
}
.lp-campaign__title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.5;
}
.lp-campaign__icons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.lp-campaign__icons li {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-m);
  padding: 14px 6px;
  border: 1px solid var(--border-gray);
}
.lp-campaign__icons .num {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--cta-red-2);
  margin-top: 6px;
}
.lp-campaign__icons .label { font-size: 12px; color: var(--text-sub); }

.lp-campaign__example {
  font-size: 28px;
  font-weight: 800;
  margin: 16px 0 6px;
  text-align: center;
}
.lp-campaign__exampleLine {
  font-size:  28px;
  margin: 0 0 4px;
  text-align: center;
}
.lp-campaign__bigPrice {
  font-size: 28px;
  font-weight: 800;
  color: #ff2d78;
  margin: 12px 0 0;
}

/* ---------- 価格比較カード ---------- */
.lp-priceCompare {
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-m);
  padding: 18px;
  margin-bottom: 16px;
}
.lp-priceCompare__type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--carrier-color, var(--sb-color));
  margin-bottom: 10px;
}
.lp-priceCompare__type::before {
  content: "";
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--carrier-color, var(--sb-color));
  display: inline-block;
}
.lp-priceCompare__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-sub);
}
.lp-priceCompare__before { text-decoration: line-through; }
.lp-priceCompare__after {
  text-align: right;
  margin-top: 6px;
}
.lp-priceCompare__after .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--cta-red-2);
}
.lp-priceCompare__after .unit { font-size: 13px; }

/* ---------- 料金プラン表 ---------- */f
.lp-planCard {
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-m);
  padding: 20px;
  margin: 0 auto 16px;
  max-width: 720px;
}
.lp-planCard__name {
  font-size: 18px;
  font-weight: 800;
  color: var(--carrier-color, var(--sb-color));
  margin: 0 0 10px;
}
.lp-planCard__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.lp-planCard__table th,
.lp-planCard__table td {
  border: 1px solid var(--border-gray);
  padding: 10px 8px;
  text-align: center;
}
.lp-planCard__table th {
  background: var(--bg-gray);
  font-weight: 700;
}
.lp-planCard__price {
  font-weight: 800;
  color: var(--cta-red-2);
}

.lp-discountRow {
  display: flex;
  gap: 12px;
  margin: 14px 0;
}
.lp-discountRow__item {
  flex: 1;
  text-align: center;
  background: var(--bg-gray);
  border-radius: var(--radius-m);
  padding: 14px 6px;
}
.lp-discountRow__item .before { font-size: 13px; text-decoration: line-through; color: var(--text-sub); }
.lp-discountRow__item .after { font-size: 18px; font-weight: 800; color: var(--cta-red-2); }
.lp-discountRow__item .off { font-size: 12px; color: var(--carrier-color, var(--sb-color)); font-weight: 700; }

.lp-sectionIcon {
  display: block;
  width: 48px;
  height: auto;
  margin: 32px auto 0;
}
.lp-callOptionsIntro {
  text-align: center;
  font-size: 16px;
  margin: 8px 0 8px;
}
.lp-callOptionsIntro__highlight {
  display: inline-block;
  font-size: 30px;
  font-weight: 800;
  color: #0F8DF1;
  margin-top: 4px;
}
.lp-callOptions {
  display: flex;
  gap: 14px;
  margin: 18px auto 0;
  max-width: 900px;
}
.lp-callOptions__img {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  display: block;
}
.lp-planWhiteSection {
  background: #fff;
  margin: 0 -60px;
  width: calc(100% + 120px);
  padding: 32px 100px;
}
.lp-fullImg--plan-teigaku {
  max-width: 883px;
}
.lp-fullImg--plan-minifit2 {
  max-width: 877px;
}
.lp-fullImg--plan-sumahodebut {
  max-width: 847px;
}

/* ---------- 特記事項リスト（項目ごとに開閉） ---------- */
.lp-notesList {
  max-width: 720px;
  margin: 24px auto 0;
}
.lp-notesList__heading {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-main);
}
.lp-notesList__item {
  margin-bottom: 8px;
}
.lp-notesList__btn {
  width: 100%;
  max-width: 850px;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-gray);
  border: none;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  margin: 0 auto;
}
.lp-notesList__btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #3F6296;
  transition: transform .2s ease;
  flex-shrink: 0;
  margin-left: 12px;
}
.lp-notesList__btn[aria-expanded="true"]::after {
  transform: rotate(180deg);
}
.lp-notesList__body {
  display: none;
  padding: 0 4px 16px;
}
.lp-notesList__body.is-open {
  display: block;
}
.lp-notesList__body .lp-finePrint {
  padding: 0;
}

/* ---------- 手続きステップ ---------- */
.lp-stepsImg {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px auto 0;
  max-width: 720px;
}
.lp-stepsImg img {
  display: block;
  width: 100%;
}
.lp-steps {
  counter-reset: step;
  margin: 20px auto 0;
  max-width: 720px;
}
.lp-steps__item {
  position: relative;
  padding: 18px 18px 18px 64px;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-m);
  margin-bottom: 12px;
}
.lp-steps__item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--carrier-color, var(--sb-color));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-steps__item h4 { font-size: 15px; margin: 0 0 6px; }
.lp-steps__item p { font-size: 13px; color: var(--text-sub); margin: 0; }
.lp-stepsArrow {
  width: 32px !important;
  height: auto;
  align-self: center;
  margin: -4px 0;
}
.lp-stepsNote {
  margin-top: 4px;
}
/* ---------- アコーディオン ---------- */
.lp-accordion {
  border-top: 1px solid var(--border-gray);
  margin-top: 12px;
}
.lp-accordion__btn {
  width: 100%;
  background: none;
  border: none;
  padding: 12px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
}
.lp-accordion__btn::after {
  content: "+";
  font-size: 16px;
}
.lp-accordion__btn[aria-expanded="true"]::after { content: "−"; }
.lp-accordion__body {
  display: none;
  font-size: 10.5px;
  color: var(--text-sub);
  line-height: 1.8;
  padding: 0 4px 14px;
  white-space: pre-line;
}
.lp-accordion__body.is-open { display: block; }

/* ---------- フッター ---------- */
.lp-footer {
  background: var(--bg-gray);
  padding: 40px 60px 60px;
  text-align: center;
  font-size: 12px;
  color: var(--text-sub);
}
.lp-footer__links { margin-bottom: 10px; }
.lp-footer__links a { text-decoration: underline; margin: 0 6px; }

/* ---------- プライバシーポリシー モーダル ---------- */
.lp-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}
.lp-modal.is-open { display: flex; }
.lp-modal__box {
  background: #fff;
  border-radius: var(--radius-m);
  max-width: var(--maxw);
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 20px;
  position: relative;
}
.lp-modal__close {
  position: absolute;
  right: 12px; top: 12px;
  background: var(--bg-gray);
  border-radius: 50%;
  width: 28px; height: 28px;
  border: none;
  font-size: 16px;
}
.lp-modal__box h3 { font-size: 15px; margin: 0 0 12px; }
.lp-modal__box p { font-size: 11.5px; color: var(--text-sub); margin: 0 0 10px; }

/* ---------- トップに戻る ---------- */
.lp-toTop {
  position: fixed;
  right: 14px; bottom: 14px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--sb-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 50;
  border: none;
}
.lp-toTop.is-visible { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   レスポンシブ対応（タブレット・スマホ）
   ========================================================================== */
@media (max-width: 768px) {
  .lp-norikae { padding: 16px 0; }
  .lp-norikae__band { padding: 16px 0; }

  .lp-topbar { padding: 12px 16px; flex-wrap: wrap; gap: 8px; }
  .lp-topbar__badges img { height: 32px; }
  .lp-topbar__company { font-size: 9px; white-space: normal; }

  .lp-carrierIntro { padding: 32px 16px 16px; }
  .lp-carrierIntro h2 { font-size: 22px !important; }
  .lp-onlySp {
    display: inline;
  }
  .lp-tabs { padding: 12px 0 0; gap: 8px; }
  .lp-tabs__btn { font-size: 15px !important; padding: 12px 4px; white-space: nowrap; }

  .lp-panel { padding: 0 16px 32px; }

   .lp-recommendCards {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 12px;
    margin: 12px auto 20px;
    max-width: 100%;
  }
  .lp-recommendCards__item {
    width: 100%;
    max-width: 320px;
  }
  .lp-recommendCards__item img {
    max-width: 100%;
  }
   .lp-fullImg--flow {
    max-width: 100%;
  }
  .lp-panel .lp-heroCtas { margin: 20px -16px; width: calc(100% + 32px); padding: 16px 16px 20px; }
  .lp-heroCtas__buttons { max-width: 100%; gap:  5px; justify-content: center; }
  .lp-heroCtas__buttons--single { max-width: 100%; }
  .lp-heroCtas__buttons .lp-btnImg {
    max-width: 355px;
    aspect-ratio: 355 / 70;
  }
  .lp-heroCtas__info { flex-direction: column; gap: 6px; max-width: 100%; }
.lp-heroCtas__info .lp-finePrint {
    font-size: 13px;
    line-height: 1.7;
  }
  .lp-heroCtas__info .lp-shopInfo {
    font-size: 13px;
    line-height: 1.8;
  }
  .lp-planSection { margin: 20px -16px 0; width: calc(100% + 32px); padding: 20px 16px; }
  .lp-stepsSection { margin: 0 -16px 0; width: calc(100% + 32px); padding: 20px 16px 0; }
  .lp-teaser--deviceIntro { width: calc(100% + 32px); margin-left: -16px; margin-right: -16px; padding: 14px 16px; }
  .lp-ymCtaSection { margin: 20px -16px 0; width: calc(100% + 32px); padding: 24px 16px; }
  .lp-ymPinkSection { margin: 20px -16px 0; width: calc(100% + 32px); padding: 20px 16px; }

  .lp-quicknav { gap: 8px; margin-top: 24px; max-width: 100%; }
  .lp-quicknav a { flex: 1 1 0; }

  .lp-iconRow { gap: 8px; max-width: 100%; }
  .lp-iconRow__item { flex: 1 1 0; }

  .lp-ymHero__title { max-width: 240px; }
  .lp-ymIconRow { max-width: 300px; }

  .lp-meritRow { flex-wrap: wrap; gap: 10px; }
  .lp-meritRow__item { flex: 1 1 40%; }

  .lp-teaser--onlineWari { font-size: 24px; white-space: normal; }
  .lp-teaser--switchIntro { font-size: 20px; }

  .lp-subhead { font-size: 17px; }
  .lp-subhead__highlight { font-size: 20px; }

  .lp-planIntro__note { font-size: 12px; }
  .lp-planIntro__title { font-size: 24px; }

  .lp-panel .lp-deviceGrid { grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 100%; }

  .lp-supportBanner__lead,
  .lp-supportBanner__title,
  .lp-supportBanner__sub { font-size: 20px; }

  .lp-campaign { padding: 20px 16px; }
  .lp-campaign__icons { flex-wrap: wrap; }
  .lp-campaign__icons li { flex: 1 1 40%; }
  .lp-campaign__example { font-size:28px; }

  .lp-sectionIcon { width: 36px; }
  .lp-callOptionsIntro__highlight { font-size: 26px; }
  .lp-callOptions { gap: 8px; }

  .lp-ymSubhead { font-size: 22px; }

  .lp-ymCtaSection__info .lp-shopInfo { font-size: 14px; }
  .lp-ymCtaSection__info .lp-finePrint { font-size: 10.5px; }

  .lp-footer { padding: 24px 16px 40px; font-size: 11px; }

  .lp-modal__box { padding: 16px; max-height: 85vh; }
}
.lp-fullImg--plan-teigaku,
  .lp-fullImg--plan-minifit2,
  .lp-fullImg--plan-sumahodebut {
    max-width: 100%;
  }

@media (max-width: 480px) {
  .lp-heroCtas__buttons { flex-direction: column; }
  .lp-tabs { gap: 6px; }
  .lp-tabs__btn { font-size: 13px; padding: 10px 4px; }
  .lp-panel .lp-deviceGrid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lp-carrierIntro h2 { font-size: 20px !important; }
  .lp-planIntro__title { font-size: 20px; }
  .lp-teaser--onlineWari { font-size: 18px; }
  .lp-quicknav { gap: 6px; }
}
.head-banner {
    width: 100%;
    background-color: #ffffff;
    text-align: center;
}
.head-banner img {
    display: inline-block;
    max-width: 1230px;
    width: 100%;
    height: auto;
}
/* ---------- WordPress自動挿入のpタグを無効化（flexレイアウト内） ---------- */
.lp-planTabs > p,
.lp-supportAccordion > p,
.lp-recommendCards > p,
.lp-heroCtas__buttons > p {
  display: contents;
}
.lp-planTabs > br,
.lp-supportAccordion > br,
.lp-recommendCards > br,
.lp-heroCtas__buttons > br {
  display: none;
}
/**************************************

    2608　誕生感謝祭バナー追加

**************************************/
.p-birthday-banner {
   text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}
.p-birthday-banner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
/**************************************

    2608　誕生感謝祭 中古品訴求セクション

**************************************/
.p-campaign-block {
    text-align: center;
    margin-bottom: 30px;
}
.p-campaign-block__title img {
    max-width: 1130px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px;
}
.p-campaign-block__ribbon img {
   max-width: 760px;
    width: 100%;
    height: 98px;
    object-fit: fill;
    margin: 0 auto 20px;
}
.p-campaign-block__text {
    font-size: 25px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}
.p-campaign-block__text .price {
   color: #E83E36;
    font-size: 45px;
    font-family: "Oswald", sans-serif;
}
.p-campaign-block__text .fee {
    color: #E83E36;
    font-size: 40px;
}
.p-campaign-block__btn-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 560px;
    margin: 0 auto 24px;
}
.p-campaign-block__btn-wrap .sparkle {
    width: 28px;
    height: auto;
    flex-shrink: 0;
}
.p-campaign-block__btn {
    display: block;
    max-width: 614px;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.2));
    transition: transform 0.2s ease, filter 0.2s ease;
    will-change: transform;
}
.p-campaign-block__btn img {
    max-width: 100%;
    height: auto;
    display: block;
}
.p-campaign-block__btn:hover {
  transform: translateY(-4px);
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.28));
}
.p-campaign-block__note {
    font-size:  14px;
    color: #333;
    text-align: left;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 30px;
}
.p-campaign-block__note .company-info {
    display: block;
    font-size: 15px;
    color: #333333;
    text-align: center;
}
@media screen and (max-width: 750px) {
    .p-campaign-block__text {
        font-size: 20px;
    }
    .p-campaign-block__text .price {
        font-size: 22px;
    }
    .p-campaign-block__text .fee {
        font-size: 20px; 
    }
    .p-campaign-block__btn-wrap {
        gap: 8px;
    }
    .p-campaign-block__btn-wrap .sparkle {
        display: none;
    }
    .p-campaign-block__title img {
        max-width: 485px;
    }
    .p-campaign-block__ribbon img {
        max-width: 480px;
        height: 95px;
    }
    .p-campaign-block__btn {
        max-width: 425px;
    }
}
/**************************************

    2608　人気端末一覧 PICK UP追加

**************************************/
.p-lineup__pickup {
    max-width: 942px;
    margin: 0 auto 40px;
    text-align: left;
}
.p-lineup__pickup-ribbon {
    width: 358px;
    height: auto;
    display: block;
    margin-bottom: -20px;
    margin-left: 20px;
    position: relative;
    z-index: 2;
}
.p-lineup__pickup img:last-child {
    max-width: 100%;
    height: auto;
    display: block;
}
@media screen and (max-width: 750px) {
    .p-lineup__pickup {
        max-width: 280px;
        padding: 0;
        margin-bottom: 30px;
    }
    .p-lineup__pickup-ribbon {
        width: 179px;
        margin-bottom: -12px;
        margin-left: 10px;
    }
}