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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

.yd-site {
  margin: 0;
  background: var(--yd-white);
  color: var(--yd-ink);
  font-family: var(--yd-font);
  line-height: 1.8;
  overflow-x: hidden;
}

.yd-site a {
  color: inherit;
  text-decoration: none;
}

.yd-site img {
  display: block;
  max-width: 100%;
  height: auto;
}

.yd-container {
  width: min(var(--yd-container), calc(100% - 48px));
  margin-inline: auto;
}

.yd-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  min-height: 92px;
  background: var(--yd-white);
  box-shadow: none;
}

.yd-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 2vw, 40px);
  width: 100%;
  min-height: 92px;
  padding: 0 30px 0 230px;
}

.yd-header__logo {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 202px;
  height: 153px;
  padding: 14px 18px 28px;
  border-bottom-right-radius: 32px;
  background: var(--yd-white);
  box-shadow: 0 10px 22px rgba(32, 20, 10, 0.03);
}

.yd-header__logo img {
  width: 164px;
  height: auto;
}

.yd-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 32px);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.yd-header__nav a {
  position: relative;
  padding: 8px 0;
}

.yd-header__nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  margin: auto;
  background: var(--yd-orange);
  content: "";
  transition: width 0.2s ease;
}

.yd-header__nav a:hover::after {
  width: 100%;
}

.yd-header__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.yd-header__tel {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--yd-blue);
}

.yd-header__tel strong {
  display: block;
  color: var(--yd-blue);
  font-family: var(--yd-font-num);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.yd-header__tel small {
  display: block;
  color: var(--yd-muted);
  font-size: 11px;
  line-height: 1.3;
  text-align: right;
}

.yd-icon {
  display: inline-flex;
  overflow: hidden;
  width: 24px;
  height: 24px;
  color: transparent;
  font-size: 0;
}

.yd-icon::before {
  display: block;
  width: 24px;
  height: 24px;
  background: var(--yd-blue);
  content: "";
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z'/></svg>") center / contain no-repeat;
}

.yd-site .yd-header__contact,
.yd-site .yd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 30px;
  border-radius: 5px;
  border: 1px solid transparent;
  font-family: var(--yd-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.yd-site .yd-header__contact,
.yd-site .yd-button--blue {
  background: var(--yd-blue);
  color: var(--yd-white);
  box-shadow: 0 12px 28px rgba(81, 110, 230, 0.22);
}

.yd-header__contact {
  min-width: 260px;
}

.yd-header__contact .yd-button__mail,
.yd-button__mail {
  display: inline-block;
  width: 22px;
  height: 22px;
  background-color: var(--yd-white);
  -webkit-mask: url("../img/icon-mail.svg") center / contain no-repeat;
  mask: url("../img/icon-mail.svg") center / contain no-repeat;
  font-size: 0;
}

.yd-site .yd-button--orange {
  background: var(--yd-orange);
  color: var(--yd-white);
  box-shadow: 0 12px 28px rgba(245, 108, 28, 0.24);
}

.yd-site .yd-button--light {
  background: var(--yd-white);
  border-color: var(--yd-orange);
  color: var(--yd-orange);
}

.yd-site .yd-button--outline {
  border-color: var(--yd-orange);
  background: var(--yd-white);
  color: var(--yd-orange);
}

.yd-button small {
  display: block;
  width: 100%;
  color: inherit;
  font-size: 10px;
  font-weight: 700;
  opacity: 0.75;
}

.yd-header__contact:hover,
.yd-button:hover {
  transform: translateY(-2px);
}

.yd-menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.yd-menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--yd-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.yd-menu-button.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.yd-menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.yd-menu-button.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.yd-mobile-nav {
  display: grid;
  gap: 1px;
  padding: 0 16px 18px;
  background: var(--yd-white);
}

.yd-mobile-nav[hidden] {
  display: none;
}

.yd-mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  gap: 18px;
  padding: 0 16px;
  border-radius: 5px;
  background: var(--yd-cream);
  font-weight: 800;
}

.yd-mobile-nav a::after {
  display: block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--yd-orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12.18' height='7.08' viewBox='5.09 7.46 12.18 7.08' fill='none'%3E%3Cpath d='M17.27 11.35C17.46 11.16 17.46 10.84 17.27 10.65L14.08 7.46C13.89 7.27 13.57 7.27 13.38 7.46C13.18 7.66 13.18 7.98 13.38 8.17L16.21 11L13.38 13.83C13.18 14.02 13.18 14.34 13.38 14.54C13.57 14.73 13.89 14.73 14.08 14.54L17.27 11.35ZM5.09 10.5V11.5L16.91 11.5V11V10.5L5.09 10.5V11Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px auto;
  content: "";
}

.yd-footer {
  background: #333;
  color: var(--yd-white);
  padding: 80px 0 74px;
}

.yd-footer .yd-container {
  width: min(1080px, calc(100% - 48px));
}

.yd-footer__top {
  display: grid;
  grid-template-columns: 249px repeat(3, 200px);
  gap: 48px;
  justify-content: space-between;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.yd-footer__logo img {
  width: 220px;
  max-width: 100%;
  height: auto;
  padding: 0;
  border-radius: 0;
}

.yd-footer__name {
  margin: 16px 0 10px;
  color: var(--yd-white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.yd-footer__address {
  margin: 0;
  color: var(--yd-white);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

.yd-footer__nav h2 {
  margin: 0;
  padding: 16px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--yd-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.yd-footer__nav a {
  display: block;
  min-height: 46px;
  padding: 15px 8px;
  color: var(--yd-white);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.15;
}

.yd-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  color: #f6f5f4;
  font-size: 13px;
  line-height: 1.6;
}

.yd-footer__bottom small {
  font-family: var(--yd-font-en);
}

.yd-page-main {
  min-height: 60vh;
}

.yd-cta {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  padding: 80px 0;
  background: linear-gradient(180deg, var(--yd-orange-grad-from) 0%, var(--yd-orange-grad-to) 100%);
  color: var(--yd-white);
  text-align: center;
}

/* 生トラック写真を薄く全面に重ねる一体型背景（cta-bg.pngはオレンジ着色済みのため生写真を使用） */
.yd-cta::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/top/cta-trucks.webp") center / cover;
  opacity: 0.12;
  pointer-events: none;
  content: "";
}

.yd-cta::after {
  position: absolute;
  left: 50%;
  bottom: -68px;
  z-index: 0;
  color: transparent;
  content: "Contact Contact";
  font-family: "Poppins", var(--yd-font);
  font-size: 180px;
  font-weight: 800;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transform: translateX(-50%);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
}

.yd-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.yd-cta h2 {
  width: min(560px, 100%);
  margin: 0;
  color: var(--yd-white);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.yd-cta p {
  width: min(345px, 100%);
  margin: 32px 0 40px;
  color: var(--yd-white);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

.yd-cta__actions {
  display: grid;
  grid-template-columns: 296px 260px;
  gap: 16px;
  justify-content: center;
  width: min(572px, 100%);
}

.yd-cta__tel,
.yd-cta__mail {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  text-decoration: none;
}

.yd-site .yd-cta__tel {
  gap: 8px;
  padding: 7px 12px;
  background: var(--yd-white);
  color: #516ee6;
}

.yd-cta__tel-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background-color: var(--yd-blue);
  -webkit-mask: url("../img/icon-phone.svg") center / contain no-repeat;
  mask: url("../img/icon-phone.svg") center / contain no-repeat;
}

.yd-cta__tel-text {
  display: grid;
  text-align: left;
}

.yd-cta__tel strong {
  color: var(--yd-blue);
  font-family: var(--yd-font-num);
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.yd-cta__tel small {
  margin-top: 3px;
  color: #333;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.1;
}

.yd-cta__mail {
  gap: 10px;
  padding: 0 24px;
  background: #516ee6;
  color: var(--yd-white);
  font-size: 16px;
  font-weight: 700;
}

.yd-cta__mail span {
  width: 22px;
  height: 22px;
  background-color: var(--yd-white);
  -webkit-mask: url("../img/icon-mail.svg") center / contain no-repeat;
  mask: url("../img/icon-mail.svg") center / contain no-repeat;
}

@media (max-width: 1100px) {
  .yd-header {
    min-height: 78px;
  }

  .yd-header__inner {
    display: grid;
    grid-template-columns: 126px 1fr auto;
    min-height: 78px;
    padding-right: 0;
    padding-left: 0;
  }

  .yd-header__logo {
    position: static;
    width: 126px;
    height: 78px;
    padding: 8px 12px;
    border-bottom-right-radius: 20px;
    box-shadow: none;
  }

  .yd-header__logo img {
    width: 100px;
  }

  .yd-header__nav,
  .yd-header__tel {
    display: none;
  }

  .yd-header__actions {
    display: none;
  }

  .yd-menu-button {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

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

@media (max-width: 768px) {
  .yd-container {
    width: min(100% - 32px, var(--yd-container));
  }

  .yd-header {
    min-height: 98px;
  }

  .yd-header__inner {
    min-height: 98px;
    grid-template-columns: minmax(0, 156px) auto;
    gap: 12px;
    justify-content: space-between;
    padding: 0 8px 0 0;
  }

  .yd-header__logo {
    width: min(156px, calc(100vw - 72px));
    height: 98px;
    padding: 8px 0 10px 10px;
    border-bottom-right-radius: 18px;
    justify-content: center;
  }

  .yd-header__logo img {
    width: 132px;
    max-width: 100%;
  }

  .yd-menu-button {
    grid-column: 2;
    justify-self: end;
  }

  .yd-footer {
    padding: 52px 0 32px;
  }

  .yd-footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 32px;
  }

  .yd-footer__nav h2,
  .yd-footer__nav a {
    padding-inline: 0;
  }

  .yd-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .yd-cta {
    min-height: auto;
    padding: 64px 0 76px;
  }

  .yd-cta::after {
    bottom: -24px;
    font-size: 72px;
  }

  .yd-cta h2 {
    font-size: 28px;
    line-height: 1.35;
  }

  .yd-cta p {
    margin: 20px 0 28px;
    font-size: 14px;
  }

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

  .yd-cta__tel,
  .yd-cta__mail {
    width: 100%;
  }

  .yd-cta__tel strong {
    font-size: 24px;
  }
}
