@charset "UTF-8";

/* =========================================================
   モータープールLP（リニューアル） - page-motorpool-renewal.php
   namespace: .p-mp
   Figma: elmonte_parts「motor pool lp_sp(375px)」「motor pool lp_pc(1440px)」
   - SPは375px、PCは1440px（コンテンツ幅1200px、狭い段は840px）の寸法に合わせている
   - Figmaの行送り「自動」はこのフォントで1.2倍。本文で24pxと指定がある箇所以外は1.2にしている
   - 全ページ共通のCSS（style.css の body { line-height: 1.8em; letter-spacing: 1px } など）が
     読み込まれるため、行送り・字間・余白はここで明示的に指定する
   ========================================================= */

html:has(.p-mp) {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html:has(.p-mp) {
    scroll-behavior: auto;
  }
}

.p-mp {
  --mp-blue: #00a5cf;
  --mp-blue-40: rgba(0, 165, 207, 0.4);
  --mp-light: #e7f8ff;
  --mp-text: #333;
  --mp-orange: #f90;
  --mp-orange-header: #eb6f15;

  overflow-x: clip;
  background: #fff;
  color: var(--mp-text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  /* Figmaと同じく「ー」や小さい「ャ」などを行頭に置かない */
  line-break: strict;
  -webkit-font-smoothing: antialiased;
}

.p-mp *,
.p-mp *::before,
.p-mp *::after {
  box-sizing: border-box;
}

.p-mp img {
  vertical-align: bottom;
}

.p-mp a {
  color: inherit;
  text-decoration: none;
}

.p-mp a:hover {
  text-decoration: none;
}

/* 各リストの margin-top を上書きしないよう、:where で詳細度を下げる */
:where(.p-mp) ul,
:where(.p-mp) ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* SP/PCでの出し分け */
@media (min-width: 769px) {
  .p-mp .p-mp-sp {
    display: none;
  }
}

@media (max-width: 768px) {
  .p-mp .p-mp-pc {
    display: none;
  }
}

/* ---- container ---- */
.p-mp-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 769px) {
  .p-mp-inner {
    padding: 0 20px;
  }

  .p-mp-inner--narrow {
    max-width: 880px;
  }
}

/* ---- 見出し（セキュリティ・ご利用の流れ・よくあるご質問・アクセス） ---- */
.p-mp-heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-align: center;
}

.p-mp-heading--rule::after,
.p-mp-heading--rule-pc::after {
  content: "";
  display: block;
  width: 126px;
  height: 1px;
  margin: 32px auto 0;
  background: var(--mp-blue);
}

.p-mp-heading--rule-pc::after {
  display: none;
}

@media (min-width: 769px) {
  .p-mp-heading {
    font-size: 48px;
    letter-spacing: 0;
  }

  .p-mp-heading--rule::after,
  .p-mp-heading--rule-pc::after {
    display: block;
    margin-top: 40px;
  }
}

/* ---- 文字の下の半透明の帯 ---- */
.p-mp-marker {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.p-mp-marker::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8px;
  background: var(--mp-blue-40);
}

@media (min-width: 769px) {
  .p-mp-marker::before {
    bottom: 2px;
    height: 16px;
  }
}

/* ---- 「＼ 〇〇 ／」 ---- */
.p-mp-slash {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.p-mp-slash::before,
.p-mp-slash::after {
  content: "";
  flex: none;
  width: 14px;
  height: 20px;
  /* to top right は左上と右下を結ぶ線、to bottom right は左下と右上を結ぶ線になる */
  background: linear-gradient(to top right, transparent calc(50% - 0.6px), currentColor calc(50% - 0.6px), currentColor calc(50% + 0.6px), transparent calc(50% + 0.6px));
}

.p-mp-slash::after {
  background: linear-gradient(to bottom right, transparent calc(50% - 0.6px), currentColor calc(50% - 0.6px), currentColor calc(50% + 0.6px), transparent calc(50% + 0.6px));
}

@media (min-width: 769px) {
  .p-mp-slash {
    gap: 8px;
  }
}

/* ---- ボタン ---- */
.p-mp .p-mp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  border-radius: 3px;
  background: var(--mp-blue);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.p-mp .p-mp-btn:hover {
  color: #fff;
  opacity: 0.85;
}

.p-mp .p-mp-btn--orange {
  background: var(--mp-orange);
}

/* 文字と矢印を決まった幅の中で両端に置く（Figmaの配置に合わせる） */
.p-mp-btn__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 183px;
}

.p-mp-btn__arrow {
  flex: none;
  width: 16px;
  height: 16px;
}

/* ご利用の流れの小さいボタン。文字は中央、矢印は右から44pxに固定 */
.p-mp .p-mp-btn--sm {
  position: relative;
  width: min(269px, 100%);
  height: 40px;
  padding-right: 16px;
  border-radius: 2px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
  font-size: 19px;
}

.p-mp-btn--sm .p-mp-btn__arrow {
  position: absolute;
  top: 50%;
  /* 幅269pxのとき44px。狭い画面では文字に重ならないよう右に寄せる */
  right: clamp(12px, calc(100% - 225px), 44px);
  width: 13px;
  height: 13px;
  transform: translateY(-50%);
}

@media (min-width: 769px) {
  .p-mp .p-mp-btn--lg {
    height: 52px;
  }

  .p-mp-btn--lg .p-mp-btn__inner {
    width: 185px;
  }
}

/* =========================================================
   ヘッダー（1200px未満はSPのレイアウト）
   ========================================================= */
.p-mp-header {
  position: relative;
  z-index: 10;
  background: #fff;
}

.p-mp-header__inner {
  display: flex;
  align-items: center;
  max-width: 1240px;
  height: 45px;
  margin: 0 auto;
  padding: 0 12px 0 16px;
}

.p-mp-header__logo {
  flex: none;
  margin-top: 5px;
}

.p-mp-header__logo img {
  display: block;
  width: 141px;
  height: auto;
}

.p-mp-header__nav,
.p-mp-header__tel,
.p-mp .p-mp-header__apply {
  display: none;
}

.p-mp .p-mp-header__contact {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  margin-left: auto;
  padding: 0 16px 0 15px;
  border-radius: 2px;
  background: var(--mp-orange-header);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.p-mp-header__contact svg {
  width: 14px;
  height: 14px;
}

.p-mp-header__menu {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 7px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mp-text);
  cursor: pointer;
}

.p-mp-header__menu svg {
  width: 18px;
  height: 18px;
}

/* SPメニュー */
.p-mp-drawer {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding: 4px 16px 24px;
  background: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.p-mp-drawer[hidden] {
  display: none;
}

.p-mp-drawer__list li {
  border-bottom: 1px solid #ddd;
}

.p-mp-drawer__list a {
  display: block;
  padding: 14px 4px;
  font-size: 16px;
  line-height: 1.4;
}

.p-mp-drawer__cta {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.p-mp .p-mp-drawer__cta .p-mp-btn {
  font-size: 16px;
}

@media (min-width: 1200px) {
  .p-mp-header__inner {
    height: 69px;
    padding: 0 20px;
  }

  .p-mp-header__logo {
    margin-top: 3px;
  }

  .p-mp-header__nav {
    display: block;
    margin-left: 35px;
  }

  .p-mp-header__nav ul {
    display: flex;
    gap: 24px;
  }

  .p-mp-header__nav a {
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.2s;
  }

  .p-mp .p-mp-header__nav a:hover {
    color: var(--mp-blue);
  }

  .p-mp .p-mp-header__tel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    margin-left: auto;
    color: var(--mp-orange);
  }

  .p-mp-header__tel-num {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
  }

  .p-mp-header__tel-num svg {
    width: 14px;
    height: 14px;
  }

  .p-mp-header__tel-hours {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
  }

  .p-mp-header__tel-badge {
    width: 63px;
    border-radius: 5px;
    background: var(--mp-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
  }

  .p-mp .p-mp-header__apply {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 40px;
    margin: 0 3px 0 26px;
    padding: 0 21px 0 26px;
    border-radius: 2px;
    background: var(--mp-blue);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    transition: opacity 0.2s;
  }

  .p-mp .p-mp-header__apply:hover {
    opacity: 0.85;
  }

  .p-mp .p-mp-header__contact,
  .p-mp-header__menu,
  .p-mp-drawer {
    display: none;
  }
}

/* =========================================================
   FV
   SP: 375×250 に写真を1.23倍で敷く / PC: 1440×600（幅1440px未満は幅に比例）
   ========================================================= */
.p-mp-fv {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #9cc3e0;
}

.p-mp-fv::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.p-mp .p-mp-fv__photo {
  position: absolute;
  top: -2.8%;
  left: -2.4%;
  width: 122.67%;
  max-width: none;
  height: auto;
}

.p-mp-fv__stage {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.p-mp-fv__copy {
  position: absolute;
  top: 6.4%;
  left: 2.93%;
  width: 52.43%;
  margin: 0;
}

.p-mp-fv__copy img {
  display: block;
  width: 100%;
  height: auto;
}

.p-mp .p-mp-fv__badge {
  position: absolute;
  top: 3.33%;
  left: 67.2%;
  width: 30.96%;
  height: auto;
}

@media (min-width: 769px) {
  .p-mp-fv {
    aspect-ratio: auto;
    height: min(41.667vw, 600px);
  }

  .p-mp .p-mp-fv__photo {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 67%;
  }

  .p-mp-fv__stage {
    position: relative;
    inset: auto;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
  }

  .p-mp-fv__copy {
    top: 20.67%;
    left: 4.03%;
    width: 47.29%;
  }

  .p-mp .p-mp-fv__badge {
    top: 6.17%;
    left: 77.01%;
    width: 20.83%;
  }
}

/* =========================================================
   モータープールってどんなもの？ / ご利用可能なお車
   ========================================================= */
.p-mp-about {
  padding: 37px 0 40px;
  background: var(--mp-light);
}

.p-mp-about__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-align: center;
}

.p-mp-about__title-em {
  padding: 0 6px;
  color: var(--mp-blue);
}

.p-mp-about__title-sub {
  display: block;
  margin-top: 6px;
  font-size: 16px;
}

.p-mp .p-mp-about__illust {
  display: block;
  width: calc(100% + 8px);
  max-width: none;
  height: auto;
  margin: 32px -4px 0;
}

.p-mp-about__text {
  margin-top: 32px;
  font-size: 14px;
  line-height: 24px;
}

.p-mp-about__text .p-mp-about__note {
  margin-top: 24px;
  font-size: 12px;
}

.p-mp-about__h3 {
  margin-top: 31px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-align: center;
}

.p-mp .p-mp-about__car {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 32px;
}

.p-mp-about__car-text {
  margin-top: 24px;
  font-size: 14px;
  line-height: 24px;
}

.p-mp-cta {
  margin-top: 39px;
}

.p-mp-cta__lead {
  color: var(--mp-blue);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.p-mp .p-mp-cta__btn {
  margin-top: 5px;
}

@media (min-width: 769px) {
  .p-mp-about {
    padding: 87px 0 96px;
  }

  .p-mp-about__title {
    font-size: 48px;
  }

  .p-mp-about__title-em {
    padding: 0;
  }

  .p-mp-about__title-sub {
    margin-top: 11px;
    font-size: 32px;
  }

  .p-mp .p-mp-about__illust {
    width: 100%;
    margin: 61px 0 0;
  }

  .p-mp-about__text {
    width: fit-content;
    max-width: 100%;
    margin: 61px auto 0;
    font-size: 16px;
  }

  .p-mp-about__text .p-mp-about__note {
    font-size: 14px;
  }

  .p-mp-about__h3 {
    margin-top: 90px;
    font-size: 32px;
  }

  .p-mp .p-mp-about__car {
    margin-top: 61px;
  }

  .p-mp-about__car-text {
    margin-top: 61px;
    font-size: 16px;
  }

  .p-mp-cta {
    margin-top: 59px;
  }

  .p-mp-cta__lead {
    font-size: 16px;
  }

  .p-mp .p-mp-cta__btn {
    width: 363px;
    height: 48px;
    margin: 11px auto 0;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.25);
    letter-spacing: 0;
  }

  .p-mp-cta__btn .p-mp-btn__inner {
    width: 180px;
  }
}

/* =========================================================
   こんなお悩みありませんか？
   ========================================================= */
.p-mp-worry {
  padding: 32px 0 57px;
}

.p-mp-worry__title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.p-mp-worry__title-em {
  padding: 0 2px;
  color: var(--mp-blue);
  font-size: 24px;
}

.p-mp-worry__title-em::before {
  bottom: -1px;
}

.p-mp .p-mp-worry__illust {
  display: block;
  width: 268px;
  max-width: 100%;
  height: auto;
  margin: 45px auto 0;
}

.p-mp-worry__list {
  margin-top: 38px;
}

.p-mp-worry__card {
  display: flex;
  align-items: center;
  width: calc(100% - 4px);
  min-height: 74px;
  padding: 12px 25px;
  border: 1px solid var(--mp-blue);
  border-radius: 3px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--mp-blue-40);
  font-size: 14px;
  line-height: 24px;
}

.p-mp-worry__card + .p-mp-worry__card {
  margin-top: 20px;
}

.p-mp-worry__card strong {
  color: var(--mp-blue);
  font-weight: 500;
}

@media (min-width: 769px) {
  .p-mp-worry {
    padding: 89px 0 130px;
  }

  .p-mp-worry__title {
    align-items: flex-end;
    gap: 21px;
    font-size: 32px;
  }

  .p-mp-worry__title > span:not(.p-mp-worry__title-em) {
    margin-bottom: -3px;
  }

  .p-mp-worry__title-em {
    font-size: 48px;
  }

  .p-mp-worry__title-em::before {
    bottom: 2px;
  }

  .p-mp .p-mp-worry__illust {
    width: 840px;
    margin-top: 96px;
  }

  .p-mp-worry__list {
    max-width: 560px;
    margin: 93px auto 0;
  }

  .p-mp-worry__card {
    width: 100%;
    /* 本文幅をFigmaと同じ288pxにする（1行16文字が収まる幅） */
    padding: 12px 43.5px;
    font-size: 16px;
  }
}

/* 3列にするとカードが狭くなるので、1200px以上だけ横並びにする */
@media (min-width: 1200px) {
  .p-mp-worry__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    max-width: none;
  }

  .p-mp-worry__card + .p-mp-worry__card {
    margin-top: 0;
  }
}

/* =========================================================
   当社のモータープールをご利用ください！ / 4つの特徴 / 料金
   ========================================================= */
.p-mp-reason {
  position: relative;
  padding: 45px 0 32px;
  background: var(--mp-blue);
  color: #fff;
}

/* 上辺中央の三角 */
.p-mp-reason::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 20px;
  height: 17px;
  background: var(--mp-blue);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: translateX(-50%);
}

.p-mp-reason__lead {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.p-mp-reason__title {
  margin-top: 16px;
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  text-align: center;
}

.p-mp-reason__h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.p-mp-reason__h3::before,
.p-mp-reason__h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #fff;
}

.p-mp-feature {
  margin-top: 40px;
}

.p-mp-feature__item + .p-mp-feature__item {
  margin-top: 28px;
}

.p-mp-feature__title {
  /* frontpage.css の h4 { color: #2a4045 } を上書きする */
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.05em;
}

.p-mp .p-mp-feature__img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 24px;
  aspect-ratio: 343 / 145;
  object-fit: cover;
}

.p-mp-feature__text {
  margin-top: 24px;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.05em;
}

@media (min-width: 769px) {
  .p-mp-reason {
    padding: 112px 0 100px;
  }

  .p-mp-reason::before {
    width: 50px;
    height: 34px;
  }

  .p-mp-reason__lead {
    font-size: 20px;
  }

  .p-mp-reason__title {
    margin-top: 24px;
    font-size: 32px;
    line-height: 42px;
  }

  .p-mp-reason__title-em {
    margin: 0 6px;
    font-size: 48px;
  }

  /* 48pxの文字で行ボックスが7px伸びるぶん、Figmaの位置に合わせて詰める */
  .p-mp-reason__h3 {
    gap: 10px;
    margin-top: 42px;
    font-size: 32px;
  }

  .p-mp-feature {
    max-width: 560px;
    margin: 63px auto 0;
  }

  .p-mp-feature__item + .p-mp-feature__item {
    margin-top: 48px;
  }

  .p-mp-feature__title {
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
  }

  .p-mp .p-mp-feature__img {
    margin-top: 19px;
    aspect-ratio: 355 / 149;
  }

  .p-mp-feature__text {
    font-size: 16px;
    letter-spacing: 0;
  }

  .p-mp-feature__sizes {
    margin-top: 24px;
  }
}

@media (min-width: 1200px) {
  .p-mp-feature {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 66px;
    max-width: none;
  }

  .p-mp-feature__item + .p-mp-feature__item {
    margin-top: 0;
  }

  /* 1列の幅に1行で収める。1440px未満では文字を少し縮める */
  .p-mp-feature__title {
    margin: 0 -10px;
    font-size: min(24px, 1.667vw);
    white-space: nowrap;
  }

  /* Figmaでは説明文の幅が画像より8pxほど広い */
  .p-mp-feature__text {
    margin-right: -8px;
  }
}

/* ---- 04 料金 ---- */
.p-mp-price__title {
  margin-top: 28px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.05em;
}

.p-mp-price {
  margin-top: 24px;
  padding: 32px 15px 30px;
  border-radius: 3px;
  background: var(--mp-light);
  color: var(--mp-text);
}

/* 各要素の margin-top を上書きしないよう、:where で詳細度を下げる */
:where(.p-mp-price) dl,
:where(.p-mp-price) dd {
  margin: 0;
}

.p-mp-price__head {
  height: 32px;
  border-radius: 3px;
  background: var(--mp-blue);
  color: #fff;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 0.05em;
  text-align: center;
}

.p-mp-price__table--tire {
  margin-top: 32px;
}

.p-mp-price__table {
  /* ラベルと金額の左端（帯の左端からの距離）。Figmaの配置に合わせる */
  --mp-label-x: 36px;
  --mp-amount-x: 167px;
}

.p-mp-price__table--tire {
  --mp-label-x: 40px;
  --mp-amount-x: 178px;
}

@media (max-width: 360px) {
  .p-mp-price__table {
    --mp-label-x: 12px;
    --mp-amount-x: 140px;
  }

  .p-mp-price__table--tire {
    --mp-label-x: 16px;
    --mp-amount-x: 150px;
  }
}

.p-mp-price__row {
  display: grid;
  grid-template-columns: calc(var(--mp-amount-x) - var(--mp-label-x)) 1fr;
  align-items: center;
  height: 91px;
  padding-left: var(--mp-label-x);
  border-bottom: 1px solid var(--mp-blue);
}

.p-mp-price__label {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.p-mp-price__class {
  display: block;
  font-size: 20px;
}

.p-mp-price__size {
  display: block;
}

.p-mp-price__amount {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.p-mp-price__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 14px;
  margin-top: 32px;
}

.p-mp-price__option dt {
  height: 32px;
  border-radius: 5px;
  background: var(--mp-blue);
  color: #fff;
  /* 320px幅でも「車庫証明取得費用」が帯に収まるように縮める */
  font-size: min(16px, 4.3vw);
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0.05em;
  text-align: center;
  white-space: nowrap;
}

.p-mp-price .p-mp-price__option dd {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

/* SPでは先頭に単独で置く */
.p-mp-price__option.is-wash {
  order: -1;
  grid-column: 1 / -1;
}

.p-mp-price__option.is-wash dt {
  width: calc(50% - 7px);
}

.p-mp-price__note {
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.2;
}

@media (min-width: 769px) {
  .p-mp-price__title {
    margin-top: 34px;
  }

  .p-mp-price {
    padding: 64px 48px 62px 53px;
  }

  .p-mp-price__tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    column-gap: 49px;
  }

  .p-mp-price__table--tire {
    margin-top: 0;
  }

  .p-mp-price__row {
    height: 92px;
  }

  .p-mp-price__options {
    column-gap: 49px;
    margin-top: 64px;
  }

  .p-mp-price .p-mp-price__option dd {
    text-align: center;
  }

  .p-mp-price__option.is-wash {
    order: 0;
    grid-column: auto;
  }

  .p-mp-price__option.is-wash dt {
    width: auto;
  }

  .p-mp-price__note {
    margin-top: 62px;
  }
}

/* 表の幅が525pxになる幅からPCの位置にする（それより狭いとSPの位置のほうが収まる） */
@media (min-width: 1200px) {
  .p-mp-price__table {
    --mp-label-x: 109px;
    --mp-amount-x: 312px;
  }

  .p-mp-price__table--tire {
    --mp-label-x: 124px;
    --mp-amount-x: 307px;
  }
}

/* =========================================================
   セキュリティ
   ========================================================= */
.p-mp-security {
  padding: 48px 0 40px;
}

.p-mp-security__text {
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.p-mp .p-mp-security__img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 27px;
}

@media (min-width: 769px) {
  .p-mp-security {
    padding: 97px 0 76px;
  }

  /* Figmaでこの見出しだけ行送りが42px、下線までが50px */
  .p-mp-security .p-mp-heading {
    line-height: 42px;
  }

  .p-mp-security .p-mp-heading::after {
    margin-top: 50px;
  }

  .p-mp-security__text {
    margin-top: 44px;
    text-align: center;
  }

  .p-mp .p-mp-security__img {
    margin-top: 96px;
  }
}

/* =========================================================
   ご利用の流れ
   ========================================================= */
.p-mp-flow {
  padding: 54px 0 56px;
  background: var(--mp-light);
}

.p-mp-flow__list {
  margin-top: 28px;
  padding-left: 17px;
}

.p-mp-flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 12px;
  padding-bottom: 25px;
}

.p-mp-flow__step:last-child {
  padding-bottom: 0;
}

/* 番号の下の縦線 */
.p-mp-flow__step::before {
  content: "";
  position: absolute;
  top: 46px;
  bottom: 10px;
  left: 19.5px;
  width: 1px;
  background: var(--mp-blue);
}

.p-mp-flow__step:last-child::before {
  bottom: -6px;
}

.p-mp-flow__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mp-blue);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0.05em;
  text-align: center;
}

.p-mp-flow__body {
  min-width: 0;
}

.p-mp-flow__title {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

.p-mp-flow__text {
  max-width: 273px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.2;
}

.p-mp-flow__btns {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 769px) {
  .p-mp-flow {
    padding: 86px 0 96px;
  }

  .p-mp-flow__list {
    margin-top: 55px;
    padding-left: 0;
  }

  .p-mp-flow__step {
    padding-bottom: 56px;
  }

  .p-mp-flow__step:first-child {
    padding-bottom: 45px;
  }

  .p-mp-flow__step::before {
    top: 48px;
    bottom: 7px;
  }

  .p-mp-flow__step:last-child::before {
    bottom: -5px;
  }

  .p-mp-flow__title {
    margin-top: 0;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
  }

  .p-mp-flow__text {
    max-width: none;
    font-size: 16px;
  }

  .p-mp-flow__btns {
    flex-direction: row;
    gap: 24px;
  }
}

/* =========================================================
   よくあるご質問
   ========================================================= */
.p-mp-faq {
  padding-top: 48px;
}

.p-mp-faq__list {
  margin-top: 8px;
}

.p-mp-faq__item {
  border-bottom: 1px solid var(--mp-text);
}

.p-mp-faq__q {
  margin: 0;
}

.p-mp-faq__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 24px 20px 22px 12px;
  border: 0;
  background: none;
  color: var(--mp-text);
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-align: left;
  cursor: pointer;
}

.p-mp-faq__icon {
  flex: none;
  width: 14px;
  height: 8px;
  transition: transform 0.3s;
}

.p-mp-faq__item.is-open .p-mp-faq__icon {
  transform: rotate(180deg);
}

/* display:none を使わず、閉じていても回答がHTML内に残るようにする（js/jp-faq.js と同じ） */
.p-mp-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.p-mp-faq__a p {
  padding: 0 20px 21px 12px;
  font-size: 14px;
  line-height: 1.7;
}

@media (min-width: 769px) {
  .p-mp-faq {
    padding-top: 90px;
  }

  .p-mp-faq__list {
    margin-top: 22px;
  }

  .p-mp-faq__btn {
    padding: 22px 34px 22px 12px;
    font-size: 16px;
    letter-spacing: 0;
  }

  .p-mp-faq__a p {
    padding: 0 34px 21px 12px;
    font-size: 16px;
  }
}

/* =========================================================
   アクセス
   ========================================================= */
.p-mp-access {
  padding: 62px 0 48px;
}

.p-mp-access__map,
.p-mp-access__video {
  position: relative;
  overflow: hidden;
}

.p-mp-access__map {
  aspect-ratio: 343 / 247;
  margin-top: 34px;
  background: #d9d9d9;
}

.p-mp-access__video {
  aspect-ratio: 16 / 9;
  margin-top: 48px;
  background: #000;
}

.p-mp-access__map iframe,
.p-mp-access__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.p-mp-access__address {
  margin-top: 16px;
  padding-left: 6px;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.p-mp-access__address p + p {
  margin-top: 1.2em;
}

.p-mp-access__cta {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}

@media (min-width: 769px) {
  .p-mp-access {
    padding: 85px 0 96px;
  }

  .p-mp-access__map {
    aspect-ratio: 1200 / 523;
    margin-top: 48px;
  }

  .p-mp-access__address {
    max-width: 840px;
    margin: 48px auto 0;
    padding-left: 0;
    font-size: 16px;
    letter-spacing: 0;
  }

  .p-mp-access__video {
    margin-top: 89px;
  }

  .p-mp-access__cta {
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    margin-top: 93px;
  }
}

/* =========================================================
   フッター
   ========================================================= */
/* add-outoptimize.css の footer { margin-bottom: 75px !important } を打ち消す */
.p-mp .p-mp-footer {
  margin-bottom: 0 !important;
  padding: 22px 0 41px;
  background: var(--mp-blue);
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.p-mp-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

.p-mp-footer__logo {
  display: block;
  width: fit-content;
}

.p-mp-footer__logo img {
  display: block;
  width: 141px;
  height: auto;
}

.p-mp-footer__address {
  margin-top: 17px;
}

.p-mp-footer__label {
  margin-top: 24px;
  font-weight: 500;
}

.p-mp-footer__contact {
  margin-top: 9px;
  line-height: 19px;
}

.p-mp .p-mp-footer a {
  color: #fff;
}

.p-mp-footer__copy {
  margin-top: 40px;
  font-size: 10px;
  text-align: center;
}

@media (min-width: 769px) {
  .p-mp .p-mp-footer {
    padding: 63px 0;
  }

  .p-mp-footer__inner {
    max-width: 880px;
    padding: 0 20px;
  }
}

/* =========================================================
   満車のお知らせ
   ========================================================= */
.p-mp-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
}

.p-mp-modal[hidden] {
  display: none;
}

.p-mp-modal__panel {
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: 40px 24px 28px;
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
}

.p-mp-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: #888;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.p-mp-modal__title {
  margin-bottom: 16px;
  color: #fa5454;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.p-mp-modal__tel {
  margin-top: 20px;
  padding: 16px;
  border-radius: 5px;
  background: var(--mp-light);
  text-align: center;
}

.p-mp-modal__tel a {
  display: block;
  font-size: 22px;
  font-weight: 700;
}

.p-mp-modal__tel span {
  font-size: 14px;
}
