
/* ========================================
   THANK YOU PAGE
   Honda Transport
======================================== */

.p-thanks {
  --thanks-teal: #4ba5aa;
  --thanks-teal-dark: #368e94;
  --thanks-yellow: #ffda4a;
  --thanks-text: #292929;
  --thanks-muted: #666;
  --thanks-bg: #f5f5f5;

  color: var(--thanks-text);
  background: var(--thanks-bg);
}

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

.p-thanks__inner {
  width: min(100% - 40px, 1000px);
  margin-inline: auto;
}

.p-thanks__hero {
  padding: 76px 0 70px;
  text-align: center;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(255, 218, 74, 0.17),
      transparent 58%
    ),
    #f5f5f5;
}

.p-thanks__eyebrow,
.p-thanks__section-label {
  display: block;
  color: var(--thanks-teal-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.p-thanks__icon {
  width: 76px;
  margin: 22px auto 18px;
}

.p-thanks__icon svg {
  display: block;
  width: 100%;
  height: auto;
}

.p-thanks__title {
  margin: 0;
  font-size: clamp(25px, 4vw, 38px);
  line-height: 1.65;
  font-weight: 700;
  letter-spacing: 0.035em;
}

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

.p-thanks__message {
  max-width: 700px;
  margin: 38px auto 0;
  padding: 30px 24px;
  border: 1px solid rgba(75, 165, 170, 0.55);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(34, 75, 77, 0.06);
}

.p-thanks__message-label {
  display: block;
  color: var(--thanks-teal-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.p-thanks__message-title {
  margin: 12px 0 8px;
  font-size: 19px;
  font-weight: 700;
}

.p-thanks__message-text {
  margin: 0;
  color: var(--thanks-muted);
  font-size: 13px;
  line-height: 1.9;
}

.p-thanks__flow {
  padding: 64px 0 70px;
  background: #fff;
  text-align: center;
}

.p-thanks__heading {
  margin: 10px 0 0;
  font-size: 25px;
  line-height: 1.6;
}

.p-thanks__description {
  margin: 12px 0 0;
  color: var(--thanks-muted);
  font-size: 13px;
  line-height: 1.9;
}

.p-thanks__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.p-thanks__step {
  position: relative;
  min-width: 0;
  padding: 28px 20px 26px;
  border: 1px solid rgba(75, 165, 170, 0.4);
  border-radius: 20px;
  background: #f1f8f8;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.035);
}

.p-thanks__step-number {
  position: absolute;
  top: -13px;
  left: 50%;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--thanks-yellow);
  color: #292929;
  font-size: 11px;
  font-weight: 700;
}

.p-thanks__step-icon {
  width: 44px;
  height: 44px;
  margin: 4px auto 15px;
  color: var(--thanks-teal-dark);
}

.p-thanks__step-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.p-thanks__step h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.p-thanks__step p {
  margin: 10px 0 0;
  color: var(--thanks-muted);
  font-size: 12px;
  line-height: 1.9;
}

.p-thanks__note {
  margin: 24px 0 0;
  color: var(--thanks-muted);
  font-size: 11px;
  line-height: 1.8;
}

.p-thanks__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-width: 240px;
  margin-top: 26px;
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--thanks-yellow);
  color: #292929;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.p-thanks__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.p-thanks__button:focus-visible {
  outline: 3px solid var(--thanks-teal-dark);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .p-thanks__inner {
    width: calc(100% - 36px);
  }

  .p-thanks__hero {
    padding: 52px 0 48px;
  }

  .p-thanks__icon {
    width: 64px;
    margin-top: 18px;
  }

  .p-thanks__lead {
    font-size: 13px;
  }

  .p-thanks__message {
    margin-top: 28px;
    padding: 25px 18px;
    border-radius: 16px;
  }

  .p-thanks__message-title {
    font-size: 17px;
  }

  .p-thanks__flow {
    padding: 48px 0 52px;
  }

  .p-thanks__heading {
    font-size: 22px;
  }

  .p-thanks__steps {
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 440px;
    margin: 34px auto 0;
  }

  .p-thanks__step {
    padding: 24px 22px 23px;
  }

  .p-thanks__step p {
    max-width: 300px;
    margin-inline: auto;
  }

  .p-thanks__back {
    padding: 48px 0 58px;
  }

  .p-thanks__button {
    width: 100%;
    max-width: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-thanks__button {
    transition: none;
  }
}

/* お急ぎの方への電話案内 */
.p-thanks__phone {
  margin: 38px auto 0;
  padding: 32px 24px;
  border: 1px solid #b8dfe1;
  border-radius: 20px;
  background: #fff;
  text-align: center;
}

.p-thanks__phone-label {
  display: inline-block;
  padding: 7px 20px;
  border-radius: 999px;
  background: #eaf6f6;
  color: #368e94;
  font-size: 13px;
  font-weight: 700;
}

.p-thanks__phone-title {
  margin: 16px 0 20px;
  color: #292929;
  font-size: 18px;
  line-height: 1.8;
}

.p-thanks__phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #292929;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.p-thanks__phone-icon {
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #eaf6f6;
  color: #368e94;
}

.p-thanks__phone-icon svg {
  width: 28px;
  height: 28px;
}

.p-thanks__phone-link:hover {
  color: #368e94;
}

.p-thanks__phone-link:focus-visible {
  outline: 3px solid #368e94;
  outline-offset: 6px;
  border-radius: 6px;
}

.p-thanks__phone-hours {
  margin: 14px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .p-thanks__phone {
    margin-top: 28px;
    padding: 26px 16px;
    border-radius: 16px;
  }

  .p-thanks__phone-title {
    font-size: 15px;
  }

  .p-thanks__phone-link {
    gap: 10px;
  }

  .p-thanks__phone-icon {
    width: 42px;
    height: 42px;
  }

  .p-thanks__phone-icon svg {
    width: 22px;
    height: 22px;
  }

  .p-thanks__phone-hours {
    font-size: 12px;
  }
}