/* ========================================
   NOLL スタートキャンペーン LP
   色・フォントは本体サイト（src/assets/css/base/variables.css）に合わせる
   ======================================== */

:root {
  --font-body: "Noto Sans JP", sans-serif;
  --font-heading: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;

  --color-black: #2d2828;
  --color-caption: #6d717a;
  --color-line: #dddfe3;
  --color-gray-50: #f5f6f7;
  --color-gray-100: #edeef0;
  --color-white: #ffffff;
  --color-red: #e80c0d;        /* 文字・塗り（白地とのコントラスト確保） */
  --color-red-key: #ff0d0e;    /* 枠線・装飾 */
  --color-red-light: #fef2f2;
  --color-red-pale: #fde3e3;

  --container: 800px;
  --gutter: 16px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-gray-50);
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
dl,
dd {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-red-key);
  outline-offset: 2px;
}

.nowrap {
  white-space: nowrap;
}

/* 対応ブラウザ（Chrome系）では文節単位で改行する */
.intro__lead,
.intro__note,
.callout,
.notes li {
  word-break: auto-phrase;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- ヘッダー ---------- */
.lp-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-line);
}

.lp-header__inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  height: 56px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.lp-header__logo {
  display: block;
}

.lp-header__logo img {
  width: auto;
  height: 22px;
}

/* ---------- ヒーロー ---------- */
.hero {
  padding: 24px 0 16px;
}

/* メインビジュアルは画像（img/hero.png）。見出しテキストは alt で持たせる。角丸は付けず元画像のまま表示する */
.hero__image {
  width: 100%;
}

/* ---------- パネル共通 ---------- */
.panels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 48px;
}

.panel {
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
}

.section-title {
  position: relative;
  margin-bottom: 20px;
  padding-left: 16px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.section-title::before {
  content: "";
  position: absolute;
  top: 0.15em;
  bottom: 0.15em;
  left: 0;
  width: 4px;
  border-radius: 2px;
  background: var(--color-red-key);
}

.callout {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--color-red-light);
  font-weight: 700;
  line-height: 1.8;
}

.callout__em {
  color: var(--color-red);
  font-size: 1.4em;
  line-height: 1.4;
}

.callout__sub {
  color: var(--color-red);
}

.callout__small {
  font-size: 0.8em;
}

.notes {
  margin-top: 16px;
  color: var(--color-caption);
  font-size: 13px;
  line-height: 1.7;
}

.notes li {
  padding-left: 1em;
  text-indent: -1em;
}

.notes li + li {
  margin-top: 2px;
}

.notes .notes__alert {
  color: var(--color-red);
  font-weight: 700;
}

/* 注記の途中に置く【】見出し（直後の注記リストとは詰めて並べる） */
.notes-heading {
  margin-top: 16px;
  color: var(--color-caption);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.notes-heading + .notes {
  margin-top: 2px;
}

/* ---------- 概要・適用期間 ---------- */
.intro__lead {
  font-size: 17px;
}

/* 開始日の見出しの文字サイズは他のパネル見出しと同じ。本文・注記は見出し文字より字下げする */
.period__title {
  margin-top: 28px;
  margin-bottom: 8px;
}

.period__text {
  padding-left: 28px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.period__text .nowrap {
  display: inline-block;
}

.intro__note {
  margin-top: 8px;
  padding-left: 28px;
  font-size: 14px;
}

/* ---------- 対象エリアと開始日 ---------- */
.area-table {
  width: 100%;
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-md);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.area-table th,
.area-table td {
  padding: 12px;
  font-size: 14px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-gray-100);
  text-wrap: balance; /* 折り返すときは行の長さを揃える */
}

.area-table tr:last-child th,
.area-table tr:last-child td {
  border-bottom: 0;
}

.area-table th {
  width: 38%;
  background: var(--color-gray-50);
  font-weight: 700;
  border-right: 1px solid var(--color-gray-100);
}

/* 「川崎」と同じ行に収まるよう、括弧の余白を詰める */
.area-table__mark {
  font-size: 0.75em;
  font-feature-settings: "palt";
}

/* ---------- 1回利用（車両カード） ---------- */
.vehicles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.vehicle {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  row-gap: 6px;
  justify-items: center;
  padding: 16px 8px 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  text-align: center;
}

/* 赤車両カードはラベルがないため、行番号を明示して価格の高さを揃える */
.vehicle__name {
  grid-row: 1;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
}

.vehicle__formal {
  display: block;
  margin-top: 2px;
  margin-bottom: 8px;
  color: var(--color-caption);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}

.vehicle__figure {
  grid-row: 2;
  position: relative;
  width: 85%;
}

.vehicle__label {
  grid-row: 3;
  align-self: center;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--color-red-pale);
  color: var(--color-red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.vehicle__price {
  grid-row: 4;
  align-self: end;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.vehicle__price-num {
  font-size: 34px;
  letter-spacing: 0.02em;
}

.vehicle__price.is-campaign {
  color: var(--color-red);
}

.vehicle__note {
  grid-row: 5;
  color: var(--color-caption);
  font-size: 12px;
  line-height: 1.6;
}

/* 従来型車両の「※新料金での通常価格です。」は本文色で一回り大きくする */
.vehicle__note--em {
  color: var(--color-black);
  font-size: 14px;
}

.vehicle__badge {
  position: absolute;
  top: -10px;
  left: 0;
  z-index: 1;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

/* ---------- 月額利用（料金表） ---------- */
.plan-table {
  width: 100%;
  margin-top: 20px;
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-md);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  table-layout: fixed;
}

.plan-table th,
.plan-table td {
  padding: 12px 8px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-gray-100);
  line-height: 1.5;
}

.plan-table tbody tr:last-child th,
.plan-table tbody tr:last-child td {
  border-bottom: 0;
}

.plan-table tbody th {
  width: 32%;
  padding-right: 6px;
  padding-left: 6px;
  background: var(--color-gray-50);
  font-size: 13px;
  font-weight: 700;
  border-right: 1px solid var(--color-gray-100);
}

.plan-table__value {
  display: block;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.plan-table__value.is-campaign {
  color: var(--color-red);
}

.plan-table__sub {
  display: block;
  color: var(--color-caption);
  font-size: 11px;
  font-weight: 400;
}

/* ---------- FAQ・注意事項（アコーディオン） ---------- */
.accordions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
}

.link-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px 48px;
  border: 1px solid var(--color-black);
  border-radius: 999px;
  background: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.link-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

@media (hover: hover) {
  .link-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
  }
}

/* 見出し（ボタン）は幅を抑えて中央、開いた中身はコンテンツ幅いっぱいに出す */
.accordion__summary {
  max-width: 420px;
  margin: 0 auto;
  cursor: pointer;
  list-style: none;
}

.accordion__summary::-webkit-details-marker {
  display: none;
}

/* 矢印：閉じているときは下向き、開いているときは上向き */
.accordion__summary::after {
  transform: translateY(-75%) rotate(135deg);
  transition: transform 0.2s;
}

.accordion[open] > .accordion__summary::after {
  transform: translateY(-25%) rotate(-45deg);
}

.accordion__body {
  margin-top: 12px;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  font-size: 14px;
}

/* 注意事項詳細：●見出し＋【】ラベルごとに本文と※注記を並べる */
.terms {
  word-break: auto-phrase;
}

.terms h4 {
  margin: 0;
}

.terms__section + .terms__section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-gray-100);
}

.terms__title {
  padding-left: 1em;
  text-indent: -1em;
  font-family: var(--font-heading);
  font-size: 1.15em;
}

.terms__title::before {
  content: "●";
}

.terms__label {
  margin-top: 16px;
  font-weight: 700;
}

.terms__title + .terms__label {
  margin-top: 8px;
}

/* 「【その他注意事項（共通）】」のように●見出しを置かず、【】ラベルから始まる区切り */
.terms__label:first-child {
  margin-top: 0;
}

.terms__em {
  font-weight: 700;
}

.terms__list {
  color: var(--color-caption);
  font-size: 0.93em;
}

.terms__list li {
  padding-left: 1em;
  text-indent: -1em;
}

.terms__list .terms__em {
  color: var(--color-black);
}

.terms__list a {
  color: var(--color-caption);
}

/* 対応ブラウザでは開閉をなめらかにする（非対応ブラウザは即時に開閉） */
@supports selector(::details-content) {
  .accordion {
    interpolate-size: allow-keywords;
  }

  .accordion::details-content {
    block-size: 0;
    overflow-y: clip;
    transition: block-size 0.3s, content-visibility 0.3s allow-discrete;
  }

  .accordion[open]::details-content {
    block-size: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .accordion::details-content,
  .accordion__summary::after {
    transition: none;
  }
}

.faq__item + .faq__item {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-gray-100);
}

.faq__q,
.faq__a {
  position: relative;
  padding-left: 2em;
  word-break: auto-phrase;
}

.faq__q {
  font-weight: 700;
}

.faq__a {
  margin-top: 6px;
}

.faq__q::before,
.faq__a::before {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-heading);
  font-weight: 700;
}

.faq__q::before {
  content: "Q.";
  color: var(--color-red);
}

.faq__a::before {
  content: "A.";
  color: var(--color-caption);
}

/* ---------- フッター ---------- */
.lp-footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-line);
}

.lp-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px var(--gutter) 24px;
  text-align: center;
}

.lp-footer__logo {
  display: inline-block;
}

.lp-footer__logo img {
  width: auto;
  height: 24px;
}

.lp-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 20px;
  font-size: 13px;
}

.lp-footer__nav a {
  text-decoration: none;
}

.lp-footer__nav a:hover {
  text-decoration: underline;
}

.lp-footer__copyright {
  margin-top: 20px;
  color: var(--color-caption);
  font-size: 11px;
}

/* ========================================
   小さいスマートフォン（幅360px未満）
   ======================================== */
@media (max-width: 359px) {
  .panel {
    padding: 28px 16px;
  }

  .vehicles {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .vehicle__figure {
    max-width: 204px;
  }
}

/* ========================================
   タブレット・PC
   ======================================== */
@media (min-width: 768px) {
  body {
    font-size: 16px;
  }

  .lp-header__inner {
    height: 72px;
    padding: 0 32px;
  }

  .lp-header__logo img {
    height: 28px;
  }

  .hero {
    padding: 48px 0 24px;
  }

  .panels {
    gap: 24px;
    padding-bottom: 80px;
  }

  .panel {
    padding: 48px 56px;
  }

  .section-title {
    margin-bottom: 28px;
    font-size: 28px;
  }

  .callout {
    padding: 20px 28px;
    font-size: 17px;
  }

  .notes,
  .notes-heading {
    font-size: 14px;
  }

  .intro__lead {
    font-size: 19px;
  }

  .period__title {
    margin-top: 40px;
    margin-bottom: 10px;
  }

  .period__text {
    font-size: 24px;
  }

  .intro__note {
    font-size: 15px;
  }

  .area-table th,
  .area-table td {
    padding: 16px 24px;
    font-size: 16px;
  }

  .vehicles {
    gap: 24px;
    margin-top: 28px;
  }

  .vehicle {
    row-gap: 10px;
    padding: 24px 20px 24px;
  }

  .vehicle__name {
    font-size: 20px;
  }

  .vehicle__formal {
    font-size: 13px;
  }

  .vehicle__label {
    font-size: 14px;
    padding: 4px 18px;
  }

  .vehicle__price {
    font-size: 20px;
  }

  .vehicle__price-num {
    font-size: 48px;
  }

  .vehicle__note {
    font-size: 13px;
  }

  .vehicle__note--em {
    font-size: 15px;
  }

  .vehicle__note br {
    display: none;
  }

  .vehicle__badge {
    font-size: 14px;
    padding: 3px 12px;
  }

  .plan-table {
    margin-top: 28px;
  }

  .plan-table th,
  .plan-table td {
    padding: 16px 12px;
  }

  .plan-table tbody th {
    width: 30%;
    font-size: 16px;
  }

  .plan-table__value {
    font-size: 22px;
  }

  .plan-table__sub {
    font-size: 13px;
  }

  .accordions {
    gap: 16px;
    padding-top: 24px;
  }

  .accordion__body {
    margin-top: 16px;
    padding: 32px 40px;
    font-size: 15px;
  }

  .link-btn {
    min-height: 64px;
    font-size: 16px;
  }

  .lp-footer__inner {
    padding: 40px 32px 32px;
  }
}
