:root {
  --red: #bf0c0c;
  --red-dark: #8d0000;
  --gold: #9b7d35;
  --ink: #1d1d1d;
  --muted: #626262;
  --line: #e4e4e4;
  --soft: #f7f7f7;
  --white: #fff;
  --yellow: #ffd91a;
  --serif: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  --phone: "Lora", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0;
  background: var(--white);
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.container,
.header__copy,
.header__inner {
  width: min(1032px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.header {
  position: relative;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid #efefef;
}

.header__copy {
  padding-top: 15px;
  color: #4d4d4d;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.header__inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: 245px 1fr 178px 156px;
  align-items: center;
  gap: 18px;
  padding-bottom: 15px;
}

.logo img {
  width: 245px;
}

.phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold);
  line-height: 1;
}

.phone__icon {
  width: 28px;
  height: 28px;
  background: var(--gold);
  clip-path: path("M19.8 22.5c-7.9-2.8-13.2-8.1-16-16-.5-1.6.2-3.3 1.7-4l3.4-1.5c1.2-.5 2.6-.1 3.3 1l2.1 3c.7 1 .6 2.3-.2 3.2l-1.4 1.5c1.4 2.7 3.5 4.8 6.2 6.2l1.5-1.4c.9-.8 2.2-.9 3.2-.2l3 2.1c1.1.7 1.5 2.1 1 3.3l-1.5 3.4c-.7 1.5-2.4 2.2-4 1.7l-2.3-.8Z");
}

.phone strong {
  display: block;
  font-family: var(--phone);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0;
}

.phone small {
  display: block;
  color: #555;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.header__button {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--red-dark);
  border-radius: 4px;
  font-weight: 700;
}

.header__button::after,
.side-nav a::after,
.contact-band__reserve::after,
.blackboard a::after,
.leaseback a::after,
.next-button::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 16px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.line-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  line-height: 1.45;
}

.line-link img {
  width: 42px;
}

.side-nav {
  position: fixed;
  top: 136px;
  z-index: 15;
  width: 118px;
}

.side-nav--left {
  left: 0;
}

.side-nav--right {
  right: 0;
}

.side-nav a {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 13px;
  color: var(--white);
  background: rgba(130, 0, 0, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.side-nav a::after {
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-width: 1px;
}

.hero {
  background: url("https://lease-partners.jp/new/wp-content/themes/lp/assets/images/about/bg_about.png") center / cover no-repeat;
}

.hero h1 {
  width: min(1032px, calc(100% - 32px));
  margin: 0 auto 40px;
  padding: 40px 0;
  color: var(--white);
  font-size: 39px;
  font-weight: 600;
  line-height: 1;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.hero h1 small {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 small::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  margin: 8px 0 0;
  background: var(--white);
}

.intro {
  padding: 46px 0 34px;
  text-align: center;
}

.intro .container {
  max-width: 774px;
}

.intro h2 {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.85;
}

.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.intro p + p {
  margin-top: 20px;
  color: var(--ink);
}

.intro b {
  color: var(--red);
}

.form-section {
  padding: 8px 0 62px;
}

.submission-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-card {
  width: min(774px, 100%);
  margin: 0 auto;
  padding: 0;
  background: var(--white);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.form-card__status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #eee2e2;
  border-left: 4px solid var(--red);
  background: linear-gradient(90deg, #fff8f8 0%, #fff 46%, #fff 100%);
}

.status-badge {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 184px;
  color: var(--red);
  white-space: nowrap;
}

.status-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 2px;
  display: inline-block;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(166, 126, 50, 0.12);
  align-self: center;
}

.status-badge span {
  color: #3b302a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.status-badge strong {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.status-badge b {
  margin: 0 2px;
  color: var(--red);
  font-family: var(--sans);
  font-size: 30px;
  font-weight: 700;
  line-height: 0.9;
}

.status-progress {
  display: grid;
  gap: 8px;
}

.status-progress p {
  margin: 0;
  color: #6e6262;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.progress {
  height: 7px;
  overflow: hidden;
  background: #eee9e6;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--red) 0%, #c90812 72%, var(--gold) 100%);
  transition: width 0.25s ease;
}

.form-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.question__title {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.question__title strong {
  color: var(--red);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.question__title h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
}

.required,
.optional {
  min-width: 42px;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: var(--white);
  background: var(--red);
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.optional {
  background: #8c8c8c;
}

.question__help {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.field-grid {
  display: grid;
  border-top: 1px solid var(--line);
}

.field-group {
  display: grid;
  grid-template-columns: 28% 1fr;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.field-group > label,
.field-group > .field-label {
  display: flex;
  align-items: center;
  padding: 16px 15px;
  background: #f6f6f6;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.field,
.textarea {
  width: calc(100% - 30px);
  min-height: 42px;
  margin: 15px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #bfbfbf;
  border-radius: 0;
  font-size: 16px;
  line-height: 1.6;
  outline: none;
}

.textarea {
  min-height: 118px;
  resize: vertical;
}

.field::placeholder,
.textarea::placeholder {
  color: #ababab;
}

.field:focus,
.textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(191, 12, 12, 0.12);
}

.postal-status {
  margin: -8px 15px 15px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 15px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
}

.choice span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid #bfbfbf;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.choice input:focus-visible + span,
.choice input:checked + span {
  border-color: var(--red);
  color: var(--red);
  background: #fff8f8;
}

.check-block,
.notice {
  margin: 15px;
}

.check-block {
  padding: 0;
}

.check-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.check-line input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--red);
  flex: 0 0 auto;
}

.check-line a {
  color: var(--red);
  text-decoration: underline;
}

.notice {
  padding: 13px 15px;
  background: #fffdf0;
  border: 1px solid #ece2a9;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
}

.summary {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.summary__row {
  display: grid;
  grid-template-columns: 28% 1fr;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.summary dt {
  padding: 14px 15px;
  background: #f6f6f6;
  border-right: 1px solid var(--line);
  font-weight: 700;
}

.summary dd {
  margin: 0;
  padding: 14px 15px;
  overflow-wrap: anywhere;
}

.form-error {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--red);
  font-weight: 700;
  text-align: center;
}

.form-actions {
  display: grid;
  grid-template-columns: 190px minmax(240px, 320px);
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.next-button,
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.next-button {
  width: 100%;
  min-height: 52px;
  color: var(--white);
  background: #000;
  font-size: 15px;
  font-weight: 700;
}

.back-button {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  color: #777;
  background: var(--white);
  border: 1px solid #d4d4d4;
  font-size: 13px;
}

.back-button::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.next-button:disabled,
.back-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.contact-band {
  width: min(774px, 100%);
  min-height: 95px;
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: 1.2fr 160px 1fr;
  align-items: center;
  gap: 18px;
  padding: 16px 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.contact-band__phone strong {
  display: block;
  color: var(--gold);
  font-family: var(--phone);
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
}

.contact-band__phone span {
  color: #555;
  font-size: 12px;
  font-weight: 600;
}

.contact-band__reserve {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--red-dark);
  font-size: 15px;
  font-weight: 700;
}

.contact-band__line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.contact-band__line img {
  width: 48px;
}

.blackboard {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.58)),
    url("https://lease-partners.jp/new/wp-content/themes/lp/assets/images/common/bg_detail.png") center / cover,
    #171717;
}

.blackboard__inner {
  min-height: 310px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 42px;
}

.blackboard p,
.blackboard li {
  font-size: 15px;
  font-weight: 600;
}

.blackboard ul {
  margin: 14px 0 30px;
  padding-left: 20px;
}

.blackboard a,
.leaseback a {
  min-width: 210px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #222;
  background: var(--yellow);
  font-weight: 700;
}

.car-line {
  color: var(--white);
}

.vehicle-search {
  padding: 58px 0 64px;
  background: #f8f8f8;
}

.section-label {
  margin: 0 0 4px;
  color: #aaa;
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 400;
}

.vehicle-search h2,
.leaseback h2 {
  margin: 0 0 26px;
  font-size: 31px;
  font-weight: 500;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #ececec;
  border-left: 1px solid #ececec;
  background: var(--white);
}

.vehicle-grid a {
  min-height: 124px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 15px;
  border-right: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  font-weight: 700;
}

.vehicle-grid img {
  width: 150px;
  height: 58px;
  object-fit: contain;
}

.leaseback {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.36)),
    url("https://lease-partners.jp/new/wp-content/themes/lp/assets/images/result/bg_leaseback.png") center / cover,
    #555;
}

.leaseback__inner {
  min-height: 300px;
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 36px;
  align-items: center;
}

.leaseback p:last-child {
  max-width: 720px;
  font-size: 15px;
  font-weight: 600;
}

.footer {
  padding: 46px 0 34px;
  background: var(--white);
}

.footer__inner {
  display: grid;
  gap: 26px;
}

.footer img {
  width: 190px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-weight: 700;
}

.footer nav a + a::before {
  content: "|";
  margin-right: 14px;
  color: #999;
}

.footer p {
  margin: 0;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
}

.complete {
  padding: 24px;
  border: 1px solid var(--red);
  background: #fff8f8;
  text-align: center;
}

.complete h2 {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 24px;
  font-weight: 600;
}

@media (max-width: 1240px) {
  .side-nav {
    display: none;
  }
}

@media (max-width: 900px) {
  .header__inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 0 18px;
  }

  .phone,
  .line-link {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .header__button {
    min-width: 128px;
  }

  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-band,
  .blackboard__inner,
  .leaseback__inner {
    grid-template-columns: 1fr;
  }

  .contact-band {
    padding: 22px;
  }
}

@media (max-width: 620px) {
  .container,
  .header__copy,
  .header__inner {
    width: min(100% - 24px, 1020px);
  }

  .header__copy {
    text-align: left;
  }

  .logo img {
    width: 176px;
  }

  .phone strong {
    font-size: 28px;
  }

  .hero {
    min-height: 0;
  }

  .hero h1 {
    width: min(100% - 24px, 1020px);
    margin-bottom: 30px;
    padding: 32px 0;
    font-size: 30px;
  }

  .intro {
    padding: 36px 0 28px;
    text-align: left;
  }

  .intro h2 {
    font-size: 19px;
  }

  .form-card__status {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .status-badge {
    min-width: 0;
    flex-wrap: wrap;
  }

  .status-progress p {
    white-space: normal;
  }

  .form-actions {
    grid-template-columns: 1fr 1.15fr;
    gap: 10px;
  }

  .next-button {
    min-height: 48px;
    font-size: 14px;
  }

  .back-button {
    min-height: 48px;
    font-size: 12px;
  }

  .question__title {
    grid-template-columns: auto 1fr;
  }

  .question__title .required,
  .question__title .optional {
    grid-column: 2;
    width: fit-content;
  }

  .field-group,
  .summary__row {
    grid-template-columns: 1fr;
  }

  .field-group > label,
  .field-group > .field-label,
  .summary dt {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .field,
  .textarea {
    font-size: 16px;
  }

  .choice-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-band {
    gap: 18px;
  }

  .contact-band__phone strong {
    font-size: 28px;
  }

  .vehicle-grid {
    grid-template-columns: 1fr;
  }

  .footer p {
    text-align: left;
  }
}
