/* =========================================================
   YD TRADING株式会社 - service-page.css
   ========================================================= */

.yd-service-page {
  overflow: hidden;
  background: var(--yd-white);
}

.yd-service-page .yd-section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 42px;
}

.yd-service-page .yd-section-heading--center {
  text-align: center;
}

.yd-service-page .yd-section-heading__en {
  margin: 0;
  color: var(--yd-orange);
  font-family: var(--yd-font-en);
  font-size: clamp(56px, 8.3vw, 120px);
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.yd-service-page .yd-section-heading h2 {
  margin: -28px 0 0;
  color: var(--yd-ink);
  font-family: var(--yd-font);
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1;
}

.yd-service-page .yd-section-heading > p:not(.yd-section-heading__en) {
  margin: 22px 0 0;
  color: var(--yd-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.625;
}

.yd-service-page .yd-section-heading--light .yd-section-heading__en,
.yd-service-page .yd-section-heading--light h2,
.yd-service-page .yd-section-heading--light > p:not(.yd-section-heading__en) {
  color: var(--yd-white);
}

.yd-service-page .yd-button__car {
  display: inline-block;
  width: 22px;
  height: 22px;
  background-color: currentColor;
  -webkit-mask: url("../img/icon-car.svg") center / contain no-repeat;
  mask: url("../img/icon-car.svg") center / contain no-repeat;
}

.yd-service-section {
  padding: 100px 0;
}

.yd-service-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 86px;
  background:
    linear-gradient(180deg, rgba(255, 133, 25, 0.96) 0%, rgba(255, 75, 81, 0.96) 100%),
    url("../img/top/cta-trucks.webp") center / cover no-repeat;
  color: var(--yd-white);
  isolation: isolate;
}

.yd-service-hero::after {
  position: absolute;
  right: max(24px, calc((100vw - var(--yd-container-wide)) / 2));
  bottom: -72px;
  z-index: -1;
  color: transparent;
  content: "SERVICES";
  font-family: var(--yd-font-en);
  font-size: clamp(86px, 13vw, 180px);
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
}

.yd-service-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 44%);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  width: min(var(--yd-container-wide), calc(100% - 48px));
}

.yd-service-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--yd-font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.yd-service-breadcrumb a {
  color: var(--yd-white);
}

.yd-service-heading-en {
  margin: 0;
  color: var(--yd-white);
  font-family: var(--yd-font-en);
  font-size: clamp(58px, 7.2vw, 100px);
  font-weight: 800;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.yd-service-hero h1 {
  margin: -12px 0 0;
  color: var(--yd-white);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.25;
}

.yd-service-hero__lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--yd-white);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.9;
}

.yd-service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.yd-service-hero__visual {
  position: relative;
  min-height: 430px;
}

.yd-service-hero__image {
  position: absolute;
  overflow: hidden;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 24px 44px rgba(82, 24, 0, 0.24);
}

.yd-service-hero__image--main {
  top: 0;
  right: 0;
  width: 82%;
  aspect-ratio: 4 / 3;
}

.yd-service-hero__image--sub {
  left: 0;
  bottom: 24px;
  width: 54%;
  aspect-ratio: 16 / 10;
  border: 6px solid var(--yd-white);
}

.yd-service-hero__truck {
  position: absolute;
  right: -36px;
  bottom: -18px;
  width: min(48%, 240px);
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.18));
}

.yd-service-overview {
  background: var(--yd-white);
}

.yd-service-overview__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.yd-service-overview-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: var(--yd-radius);
  background: var(--yd-white);
  box-shadow: 0 2px 16px rgba(202, 202, 202, 0.62);
}

.yd-service-overview-card__image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--yd-cream);
}

.yd-service-overview-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yd-service-overview-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 28px 30px;
}

.yd-service-overview-card__body > p:first-child,
.yd-service-detail__label {
  margin: 0;
  color: var(--yd-orange);
  font-family: var(--yd-font-en);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
}

.yd-service-overview-card h3 {
  margin: 12px 0 0;
  color: var(--yd-ink);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
}

.yd-service-overview-card__body > p:not(:first-child) {
  flex: 1;
  margin: 16px 0 22px;
  color: var(--yd-ink);
  font-size: 15px;
  line-height: 1.8;
}

.yd-service-overview-card a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin-left: auto;
  color: var(--yd-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.yd-service-overview-card a span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--yd-orange);
}

.yd-service-overview-card a span::before {
  width: 12px;
  height: 12px;
  background-color: var(--yd-white);
  content: "";
  -webkit-mask: url("../img/icon-arrow.svg") center / contain no-repeat;
  mask: url("../img/icon-arrow.svg") center / contain no-repeat;
}

.yd-service-detail {
  background:
    repeating-linear-gradient(75deg, rgba(245, 244, 244, 0.5) 0, rgba(245, 244, 244, 0.5) 14px, transparent 14px, transparent 36px),
    var(--yd-cream);
}

.yd-service-detail--reverse {
  background: var(--yd-white);
}

.yd-service-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
  width: min(var(--yd-container-wide), calc(100% - 48px));
}

.yd-service-detail--reverse .yd-service-detail__visual {
  order: 2;
}

.yd-service-detail__visual {
  position: relative;
}

.yd-service-detail__visual::before {
  position: absolute;
  inset: 24px -22px -22px 22px;
  z-index: 0;
  border-radius: var(--yd-radius);
  background: var(--yd-orange);
  content: "";
}

.yd-service-detail--reverse .yd-service-detail__visual::before {
  inset: 24px 22px -22px -22px;
  background: var(--yd-blue);
}

.yd-service-detail__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--yd-radius);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: var(--yd-shadow);
}

.yd-service-detail__visual span {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 7px 14px;
  border-radius: 5px;
  background: var(--yd-orange);
  color: var(--yd-white);
  font-family: var(--yd-font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.yd-service-detail--reverse .yd-service-detail__visual span {
  background: var(--yd-blue);
}

.yd-service-detail__content h2 {
  margin: 14px 0 0;
  color: var(--yd-ink);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.25;
}

.yd-service-detail__lead {
  margin: 24px 0 0;
  color: var(--yd-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
}

.yd-service-feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.yd-service-feature {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--yd-line);
}

.yd-service-feature > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--yd-orange);
  color: var(--yd-white);
  font-family: var(--yd-font-en);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.yd-service-detail--reverse .yd-service-feature > span {
  background: var(--yd-blue);
}

.yd-service-feature h3 {
  margin: 0;
  color: var(--yd-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.yd-service-feature p {
  margin: 7px 0 0;
  color: var(--yd-ink);
  font-size: 14px;
  line-height: 1.8;
}

.yd-service-detail__content .yd-button {
  margin-top: 28px;
}

.yd-service-lineup {
  position: relative;
  background: linear-gradient(180deg, var(--yd-orange-grad-from) 0%, var(--yd-orange-grad-to) 100%);
  color: var(--yd-white);
}

.yd-service-lineup::before {
  position: absolute;
  inset: 0;
  background: url("../img/top/service-pattern.webp") center / cover no-repeat;
  content: "";
  mix-blend-mode: soft-light;
  opacity: 0.8;
  pointer-events: none;
}

.yd-service-lineup .yd-container {
  position: relative;
  z-index: 1;
}

.yd-service-lineup .yd-section-heading h2 {
  color: var(--yd-ink);
}

.yd-service-lineup__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.yd-service-lineup-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 28px 22px;
  border-radius: var(--yd-radius);
  background: rgba(255, 255, 255, 0.96);
  color: var(--yd-ink);
  text-align: center;
  box-shadow: 0 16px 34px rgba(89, 25, 0, 0.14);
}

.yd-service-lineup-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 5px;
  background: var(--yd-blue);
  color: var(--yd-white);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.yd-service-lineup-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 18px auto 18px;
  border-radius: 50%;
  background: var(--yd-orange);
}

.yd-service-lineup-card__icon::before {
  display: block;
  width: 30px;
  height: 30px;
  margin: auto;
  background-color: var(--yd-white);
  content: "";
  -webkit-mask: url("../img/icon-car.svg") center / contain no-repeat;
  mask: url("../img/icon-car.svg") center / contain no-repeat;
}

.yd-service-lineup-card h3 {
  margin: 0;
  color: var(--yd-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
}

.yd-service-lineup-card p {
  margin: 12px 0 0;
  color: var(--yd-ink);
  font-size: 14px;
  line-height: 1.7;
}

.yd-service-paint-menu {
  background: var(--yd-cream);
}

.yd-service-paint-menu__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 30px;
}

.yd-service-price,
.yd-service-process {
  min-width: 0;
  border-radius: var(--yd-radius);
  background: var(--yd-white);
  box-shadow: 0 2px 16px rgba(202, 202, 202, 0.55);
}

.yd-service-panel-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--yd-line);
}

.yd-service-panel-heading span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yd-orange);
}

.yd-service-panel-heading span::before {
  width: 20px;
  height: 20px;
  margin: auto;
  background-color: var(--yd-white);
  content: "";
  -webkit-mask: url("../img/icon-car.svg") center / contain no-repeat;
  mask: url("../img/icon-car.svg") center / contain no-repeat;
}

.yd-service-panel-heading h3 {
  margin: 0;
  color: var(--yd-ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

.yd-service-price__table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.yd-service-price__table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.yd-service-price__table th,
.yd-service-price__table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--yd-line);
  color: var(--yd-ink);
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  vertical-align: top;
}

.yd-service-price__table th {
  background: #333;
  color: var(--yd-white);
  font-weight: 800;
}

.yd-service-price__table td:first-child {
  font-weight: 800;
}

.yd-service-price__table strong {
  color: var(--yd-orange);
  font-size: 15px;
}

.yd-service-price__note {
  margin: 0;
  padding: 18px 22px 24px;
  color: var(--yd-muted);
  font-size: 13px;
  line-height: 1.7;
}

.yd-service-process__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 26px 26px;
  list-style: none;
}

.yd-service-process__list li {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--yd-line);
}

.yd-service-process__list li:last-child {
  border-bottom: 0;
}

.yd-service-process__list li > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--yd-blue);
  color: var(--yd-white);
  font-family: var(--yd-font-en);
  font-size: 18px;
  font-weight: 800;
}

.yd-service-process__list h4 {
  margin: 0;
  color: var(--yd-ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.yd-service-process__list p {
  margin: 6px 0 0;
  color: var(--yd-ink);
  font-size: 14px;
  line-height: 1.7;
}

.yd-service-option__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.yd-service-option-card {
  overflow: hidden;
  position: relative;
  min-height: 230px;
  padding: 28px 24px 26px;
  border-radius: var(--yd-radius);
  background: var(--yd-white);
  box-shadow: 0 2px 16px rgba(202, 202, 202, 0.55);
}

.yd-service-option-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--yd-orange);
  content: "";
}

.yd-service-option-card span {
  display: grid;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--yd-orange);
}

.yd-service-option-card span::before {
  width: 28px;
  height: 28px;
  margin: auto;
  background-color: var(--yd-white);
  content: "";
  -webkit-mask: url("../img/icon-car.svg") center / contain no-repeat;
  mask: url("../img/icon-car.svg") center / contain no-repeat;
}

.yd-service-option-card h3 {
  margin: 18px 0 0;
  color: var(--yd-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
}

.yd-service-option-card p {
  margin: 12px 0 0;
  color: var(--yd-ink);
  font-size: 14px;
  line-height: 1.8;
}

.yd-service-delivery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.yd-service-delivery article {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
  padding: 28px;
  border-radius: var(--yd-radius);
  background: var(--yd-white);
  box-shadow: 0 2px 16px rgba(202, 202, 202, 0.55);
}

.yd-service-delivery span {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 50%;
  background: var(--yd-orange);
  color: var(--yd-white);
  font-size: 18px;
  font-weight: 800;
}

.yd-service-delivery h3 {
  margin: 0;
  color: var(--yd-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
}

.yd-service-delivery p {
  margin: 8px 0 0;
  color: var(--yd-ink);
  font-size: 14px;
  line-height: 1.8;
}

.yd-service-faq {
  background: var(--yd-white);
}

.yd-service-faq__list {
  display: grid;
  gap: 14px;
  width: min(880px, 100%);
  margin-inline: auto;
}

.yd-service-faq-item {
  overflow: hidden;
  border: 1px solid var(--yd-line);
  border-radius: var(--yd-radius);
  background: var(--yd-white);
}

.yd-service-faq-item__question {
  display: grid;
  grid-template-columns: 46px 1fr 38px;
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: var(--yd-white);
  color: var(--yd-ink);
  cursor: pointer;
  text-align: left;
}

.yd-service-faq-item__question > span,
.yd-service-faq-item__answer span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--yd-orange);
  color: var(--yd-white);
  font-family: var(--yd-font-en);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.yd-service-faq-item__question strong {
  color: var(--yd-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
}

.yd-service-faq-item__question i {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--yd-blue);
}

.yd-service-faq-item__question i::before,
.yd-service-faq-item__question i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--yd-white);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.yd-service-faq-item__question i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.yd-service-faq-item.is-open .yd-service-faq-item__question i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.yd-service-faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease;
}

.yd-service-faq-item.is-open .yd-service-faq-item__answer {
  grid-template-rows: 1fr;
}

.yd-service-faq-item__answer p {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  min-height: 0;
  margin: 0;
  padding: 0 24px;
  overflow: hidden;
  color: var(--yd-ink);
  font-size: 15px;
  line-height: 1.8;
}

.yd-service-faq-item.is-open .yd-service-faq-item__answer p {
  padding-bottom: 24px;
}

.yd-service-faq-item__answer span {
  background: var(--yd-blue);
}

@media (max-width: 1100px) {
  .yd-service-hero__inner,
  .yd-service-detail__layout {
    width: min(100% - 40px, var(--yd-container-wide));
  }

  .yd-service-lineup__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yd-service-paint-menu__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .yd-service-hero {
    padding: 54px 0 70px;
  }

  .yd-service-hero__inner,
  .yd-service-detail__layout {
    grid-template-columns: 1fr;
  }

  .yd-service-hero__visual {
    min-height: 360px;
  }

  .yd-service-detail--reverse .yd-service-detail__visual {
    order: 0;
  }

  .yd-service-overview__grid,
  .yd-service-option__grid,
  .yd-service-delivery {
    grid-template-columns: 1fr;
  }

  .yd-service-detail__visual::before,
  .yd-service-detail--reverse .yd-service-detail__visual::before {
    inset: 18px -14px -14px 14px;
  }
}

@media (max-width: 768px) {
  .yd-service-section {
    padding: 72px 0;
  }

  .yd-service-page .yd-section-heading {
    margin-bottom: 34px;
  }

  .yd-service-hero__inner,
  .yd-service-detail__layout {
    width: min(100% - 32px, 640px);
  }

  .yd-service-breadcrumb {
    font-size: 12px;
  }

  .yd-service-heading-en {
    font-size: clamp(48px, 16vw, 74px);
  }

  .yd-service-hero h1 {
    margin-top: -6px;
  }

  .yd-service-hero__lead {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.8;
  }

  .yd-service-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 330px);
  }

  .yd-service-hero__visual {
    min-height: 300px;
  }

  .yd-service-overview-card__body {
    padding: 24px 20px 26px;
  }

  .yd-service-detail__content h2 {
    font-size: 28px;
  }

  .yd-service-feature {
    grid-template-columns: 46px 1fr;
    gap: 14px;
  }

  .yd-service-feature > span {
    width: 46px;
    height: 46px;
    font-size: 17px;
  }

  .yd-service-lineup__grid {
    grid-template-columns: 1fr;
  }

  .yd-service-lineup-card {
    min-height: auto;
  }

  .yd-service-panel-heading {
    padding: 20px;
  }

  .yd-service-panel-heading h3 {
    font-size: 20px;
  }

  .yd-service-process__list {
    padding: 0 20px 20px;
  }

  .yd-service-delivery article {
    grid-template-columns: 64px 1fr;
    padding: 22px 20px;
  }

  .yd-service-delivery span {
    width: 64px;
    height: 64px;
    font-size: 15px;
  }

  .yd-service-faq-item__question {
    grid-template-columns: 40px 1fr 34px;
    gap: 12px;
    padding: 18px 16px;
  }

  .yd-service-faq-item__question > span,
  .yd-service-faq-item__answer span {
    width: 40px;
    height: 40px;
    font-size: 19px;
  }

  .yd-service-faq-item__question i {
    width: 34px;
    height: 34px;
  }

  .yd-service-faq-item__answer p {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 0 16px;
  }

  .yd-service-faq-item.is-open .yd-service-faq-item__answer p {
    padding-bottom: 18px;
  }
}

@media (max-width: 420px) {
  .yd-service-hero__visual {
    min-height: 248px;
  }

  .yd-service-hero__image--main {
    width: 88%;
  }

  .yd-service-hero__image--sub {
    width: 62%;
    border-width: 4px;
  }

  .yd-service-hero__truck {
    right: -22px;
    width: 52%;
  }

  .yd-service-price__table {
    min-width: 560px;
  }

  .yd-service-price__table th,
  .yd-service-price__table td {
    padding: 14px 16px;
  }
}
