/* =========================================================
   ピーラボ株式会社 コーポレートサイト TOPページ
   ========================================================= */

:root {
  --color-main: #003078;
  --color-main-10: rgba(0, 48, 120, 0.1);
  --color-main-03: rgba(0, 48, 120, 0.07);
  --color-yellow: #FFF100;
  --color-text: #363C45;
  --color-white: #FFFFFF;

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-script: "Nothing You Could Do", cursive;

  --header-h: 82px;
  --container-w: 1140px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body, h1, h2, h3, p, ul, li, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }

body {
  font-family: var(--font-jp);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { user-select: none; -webkit-user-drag: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-main);
  color: var(--color-white);
  padding: 12px 20px;
  z-index: 9999;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 共通パーツ ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  white-space: nowrap;
}

.btn--nav {
  background: var(--color-yellow);
  color: var(--color-main);
  height: 58px;
  padding: 0 36px 0 41px;
  border-radius: 29px;
  font-size: 19px;
}
.btn--nav .icon-chevron { width: 11px; height: 11px; border-width: 3px; margin-left: 7px; }

.btn--cta {
  background: var(--color-yellow);
  color: var(--color-main);
  width: 310px;
  max-width: 100%;
  height: 72px;
  padding: 0 20px;
  border-radius: 40px;
  font-size: clamp(18px, 2.2vw, 22px);
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn--cta:hover { transform: translateY(-2px); }

.icon-chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  border-radius: 1px;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.icon-chevron--lg { width: 12px; height: 12px; border-width: 3px; margin-left: 8px; }

.icon-chevron-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--color-main);
  border-radius: 50%;
  flex-shrink: 0;
}
.icon-chevron-round .icon-chevron { width: 6px; height: 6px; border-width: 2px; margin-left: -2px; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 32px;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--color-main);
}
.link-more--center { display: flex; justify-content: center; margin-top: 40px; }

.icon-east { color: var(--color-main); font-weight: 700; margin: 0 2px; }
.icon-east::before { content: "→"; }

.icon-arrow { color: var(--color-main); font-weight: 700; }
.icon-arrow::before { content: "→"; }

.icon-check {
  display: inline-block;
  width: 18px;
  height: 18px;
  -webkit-mask-image: url("../images/mask-check-list.svg");
  mask-image: url("../images/mask-check-list.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  background-color: var(--color-main);
  flex-shrink: 0;
}

/* ---- チェックリスト（共通） ---- */
.checklist { display: flex; flex-direction: column; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; }
.checklist .icon-check { flex-shrink: 0; }

.section-heading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: clamp(48px, 8vw, 91px);
  padding-bottom: 20px;
  margin-bottom: 8px;
}
.section-heading--center { align-items: center; text-align: center; }
.section-heading__en {
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 700;
  font-size: clamp(46px, 9vw, 102px);
  color: var(--color-main-03);
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.section-heading--center .section-heading__en { left: 50%; transform: translateX(-50%); }
.section-heading__en--white { color: rgba(255, 255, 255, 0.9); }
.section-heading__ja {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 32px);
  color: var(--color-main);
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 41px;
  padding: 0 18px;
  border: 1px solid var(--color-main);
  border-radius: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-main);
  background: var(--color-white);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: var(--header-h);
  background: var(--color-white);
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.02);
  z-index: 1000;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}
.site-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  padding: 0 40px 0 32px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 30px;
  color: var(--color-main);
  margin-right: auto;
  white-space: nowrap;
}
.site-logo span { font-weight: 700; font-size: 1em; margin-left: 4px; }
.site-logo__mark { height: 2em; width: auto; margin-left: 8px; }

.site-footer__name a { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.site-footer__name .site-logo__mark { height: 1.8em; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 40px;
  font-weight: 500;
  font-size: 18px;
}
.site-nav__list a { transition: opacity .2s ease; }
.site-nav__list a:hover { opacity: .6; }
.site-nav__contact { display: none; }

.hamburger {
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-main);
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  margin-top: var(--header-h);
  min-height: 587px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0) 65%);
}

.hero__inner { position: relative; z-index: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 150px; }
.hero__content { max-width: 638px; display: flex; flex-direction: column; gap: 36px; }

.hero__title {
  font-weight: 700;
  font-size: clamp(32px, 5.5vw, 58px);
  line-height: 1.25;
  letter-spacing: 0.1em;
  color: var(--color-main);
  word-break: keep-all;
  overflow-wrap: normal;
  -webkit-text-stroke: 0.5px var(--color-white);
  paint-order: stroke fill;
  text-shadow: -0.5px -0.5px 0 var(--color-white), 0.5px -0.5px 0 var(--color-white), -0.5px 0.5px 0 var(--color-white), 0.5px 0.5px 0 var(--color-white);
}
.hero__title-gap-a { margin-left: 0.1em; font-size: 1em; }
.hero__title-gap-b { margin-left: -0.1em; font-size: 1em; }
.hero__title-gap-c { margin-left: -0.1em; font-size: 1em; }
.hero__title-mobile-break { display: none; }

.hero__desc {
  font-weight: 500;
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.7;
  color: var(--color-text);
  -webkit-text-stroke: 1.5px #fff;
  paint-order: stroke fill;
  max-width: 522px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-white);
  border-radius: 15px;
  height: 64px;
  padding: 0 16px;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-main);
}
.hero__badge-icon {
  display: inline-block;
  background-repeat: no-repeat;
  background-image: url("../images/icon-sprite.webp");
  flex-shrink: 0;
}
.hero__badge-icon--speed { width: 37px; height: 31px; background-size: 228px 128px; background-position: -100px -44px; }
.hero__badge-icon--national { width: 46px; height: 38px; background-size: 284px 157px; background-position: -179px -53px; }
.hero__badge-icon--truck {
  width: 48px; height: 30px;
  background-image: url("../images/icon-truck.webp");
  background-size: 88px 51px; background-position: -21px -10px;
}

/* =========================================================
   STRENGTHS
   ========================================================= */
.strengths { padding-top: 104px; padding-bottom: 104px; background: var(--color-white); }

.strengths__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.strengths__card {
  border: 1px solid var(--color-main-10);
  border-radius: 20px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.strengths__icon {
  display: block;
  width: 100px;
  height: 84px;
  margin-bottom: 6px;
  background-image: url("../images/icon-sprite.webp");
  background-repeat: no-repeat;
}
.strengths__icon--1 { background-size: 618px 348px; background-position: -35px -114px; }
.strengths__icon--2 { background-size: 581px 326px; background-position: -141px -102px; }
.strengths__icon--3 { background-size: 500px 280px; background-position: -210px -86px; }
.strengths__icon--4 { background-size: 618px 348px; background-position: -390px -117px; }
.strengths__icon--5 { background-size: 618px 348px; background-position: -493px -118px; }

.strengths__card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-main);
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.strengths__title-text { display: block; }
.strengths__title-part { display: inline-block; white-space: nowrap; }
.strengths__card p { flex: 1; font-size: 14px; line-height: 1.6; color: var(--color-text); text-align: left; align-self: stretch; }

/* =========================================================
   SERVICE
   ========================================================= */
.service { padding: 104px 0; background: var(--color-main-10); }

.service__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}
.service__card {
  background: var(--color-white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
}
.service__photo {
  width: 42%;
  aspect-ratio: 224 / 163;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
}
.service__photo img { width: 100%; height: 100%; object-fit: cover; }
.service__body h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-main);
  line-height: 1.6;
  min-height: 3.2em;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.service__body { width: 100%; text-align: left; }
.service__card:first-child h3 { white-space: nowrap; }
.service__body p { font-size: 14px; line-height: 1.6; color: var(--color-text); }

/* =========================================================
   PROJECT（導入事例）
   ========================================================= */
.project { padding-top: 104px; padding-bottom: 56px; background: var(--color-white); }

.project__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.project__card {
  border: 1px solid var(--color-main);
  border-radius: 30px;
  overflow: hidden;
  padding-bottom: 24px;
}
.project__card-title {
  background: var(--color-main);
  color: var(--color-white);
  text-align: center;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.project__items { display: flex; flex-direction: column; gap: 20px; padding: 0 28px; }

/* =========================================================
   対応エリア
   ========================================================= */
.area { padding: 104px 0; background: var(--color-white); }
.area__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.area__content {
  position: relative;
  z-index: 1;
  flex: 1 1 460px;
  max-width: 507px;
}

.area__lead { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.area .section-heading { margin-bottom: 24px; }
.area__tags { display: flex; align-items: center; gap: 17px; flex-wrap: wrap; }
.area__tags-text { font-weight: 500; font-size: 16px; }
.area__catch { font-weight: 700; font-size: clamp(16px, 3vw, 32px); letter-spacing: 0.04em; color: var(--color-text); white-space: nowrap; margin: 10px 0 -6px; }
.area__catch--sm { font-size: 0.75em; }
.area__note { font-weight: 500; font-size: 16px; color: var(--color-text); }

.area__routes-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66%;
  gap: 16px;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-main);
  margin-bottom: 16px;
}
.area__routes-heading .line { flex: 0 0 54px; height: 1px; background: var(--color-main-10); }

.area__routes-list { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.area__routes-list li {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 66%;
  border: 1px solid var(--color-main-10);
  border-radius: 10px;
  height: 53px;
  padding: 0 24px;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-white);
}
.area__routes-num {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--color-main-10);
  color: var(--color-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 20px;
  flex-shrink: 0;
}
.area__routes-icon {
  width: 42px;
  height: 37px;
  flex-shrink: 0;
  background-color: var(--color-main);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 88% 88%;
  mask-size: 88% 88%;
}
.area__routes-icon--1 { -webkit-mask-image: url("../images/map-hokkaido-tokyo.webp"); mask-image: url("../images/map-hokkaido-tokyo.webp"); }
.area__routes-icon--2 { -webkit-mask-image: url("../images/map-tokyo-osaka.webp"); mask-image: url("../images/map-tokyo-osaka.webp"); }
.area__routes-icon--3 { -webkit-mask-image: url("../images/map-tokyo-fukuoka.webp"); mask-image: url("../images/map-tokyo-fukuoka.webp"); }
.area__routes-icon--4 { -webkit-mask-image: url("../images/map-osaka-hokkaido.webp"); mask-image: url("../images/map-osaka-hokkaido.webp"); }
.area__routes-from { flex-shrink: 0; width: 58px; text-align: center; }
.icon-arrow { flex-shrink: 0; width: 24px; text-align: center; margin: 0 -8px; }
.area__routes-to { flex-shrink: 0; width: 58px; text-align: center; }

.area__map {
  position: absolute;
  z-index: 0;
  right: 0;
  top: calc(50% + 30px);
  transform: translateY(-50%);
  width: 64%;
  max-width: 840px;
  pointer-events: none;
}
.area__map-photo { border-radius: 20px; }
.area__map img { width: 100%; border-radius: 20px; display: block; }
.area__map-badge { pointer-events: auto; }
.area__map-badge {
  position: absolute;
  right: 0;
  bottom: -24px;
  width: 152px;
  height: 152px;
  border: 1px solid var(--color-main);
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-main);
  padding: 18px;
}

/* =========================================================
   料金について
   ========================================================= */
.price { padding: 104px 0; background: var(--color-white); }
.price__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 620px;
}
.price__content { position: relative; z-index: 1; flex: 1 1 460px; max-width: 560px; }
.price__lead { font-weight: 500; font-size: 16px; line-height: 2.1; color: var(--color-text); margin-bottom: 12px; }
.checklist--tight { gap: 4px; margin-bottom: 8px; }
.checklist--tight li { align-items: center; font-weight: 700; font-size: 16px; line-height: 2.1; color: var(--color-text); }
.checklist--tight .icon-check { width: 20px; height: 20px; }
.price__note { font-weight: 500; font-size: 16px; line-height: 2.1; color: var(--color-text); }

.price__visual {
  position: absolute;
  z-index: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 68%;
  max-width: 780px;
  aspect-ratio: 460 / 420;
  pointer-events: none;
}
.price__visual-map { position: absolute; right: 0; top: 50%; transform: translate(30px, -30%); width: 60%; aspect-ratio: 746 / 792; object-fit: contain; opacity: 0.9; }
.price__visual-photo {
  position: absolute;
  left: 18%;
  right: 0;
  top: calc(50% + 30px);
  transform: translateY(-50%);
  width: auto;
  aspect-ratio: 1019 / 832;
}
.price__visual-photo img { width: 100%; height: 100%; object-fit: contain; }
.price__visual-script {
  position: absolute;
  right: 0;
  bottom: 18%;
  font-family: var(--font-script);
  font-size: clamp(32px, 5vw, 54px);
  color: var(--color-main);
  text-align: right;
  -webkit-text-stroke: 1.5px var(--color-white);
  paint-order: stroke fill;
  text-shadow: -1px -1px 0 var(--color-white), 1px -1px 0 var(--color-white), -1px 1px 0 var(--color-white), 1px 1px 0 var(--color-white);
}
.price__visual-caption {
  position: absolute;
  right: 1%;
  bottom: 15%;
  white-space: nowrap;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-main);
  text-align: right;
  -webkit-text-stroke: 0.5px var(--color-white);
  paint-order: stroke fill;
  text-shadow: -0.5px -0.5px 0 var(--color-white), 0.5px -0.5px 0 var(--color-white), -0.5px 0.5px 0 var(--color-white), 0.5px 0.5px 0 var(--color-white);
}

/* =========================================================
   COMPANY PROFILE
   ========================================================= */
.company { padding: 40px 0; }
.company__box {
  background: var(--color-main-10);
  border-radius: 30px;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 4vw, 64px);
  max-width: var(--container-w);
  margin: 0 auto;
}
.company__box .section-heading { width: 100%; padding-top: clamp(40px, 8vw, 88px); }
.company__box .link-more--center { margin-top: 20px; }
.company__box .section-heading__en { font-size: clamp(40px, 8vw, 88px); }
.company__text { font-weight: 500; font-size: clamp(15px, 1.6vw, 20px); line-height: 1.9; color: var(--color-text); text-align: left; }
.company__text strong { color: var(--color-main); font-weight: 700; }

/* =========================================================
   お問い合わせ CTA
   ========================================================= */
.contact { padding: 104px 0; }
.contact__box {
  background: var(--color-main);
  border-radius: 30px;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  color: var(--color-white);
  max-width: var(--container-w);
  margin: 0 auto;
}
.contact__title { font-weight: 700; font-size: clamp(28px, 4vw, 42px); }
.contact__desc { font-weight: 500; font-size: clamp(16px, 2vw, 24px); max-width: 100%; }
.contact__desc-break { display: none; }
@media (max-width: 550px) {
  .contact__desc-break { display: block; }
}
.contact__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  font-weight: 500;
  font-size: clamp(14px, 1.6vw, 18px);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--color-main-10);
  border-radius: 60px 60px 0 0;
  padding: 64px 0 48px;
}
.site-footer .container { max-width: 1440px; padding: 0 40px 0 32px; }
.site-footer__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 48px 48px;
  justify-content: space-between;
}
.site-footer__about { flex: 1 1 260px; max-width: 320px; min-width: 0; }
.site-footer__name { font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); color: var(--color-main); margin-bottom: 12px; white-space: nowrap; }
.site-footer__copy { font-weight: 500; font-size: 13px; line-height: 1.8; color: var(--color-text); white-space: nowrap; }
.site-footer__copy a { text-decoration: underline; text-underline-offset: 2px; }
.site-footer__copy a:hover { opacity: .7; }

.site-footer__nav-wrap { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 48px; }
.site-footer__nav-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  width: 100%;
}
.site-footer__col { flex: 0 0 auto; }
.site-footer__col-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 20px;
}
.site-footer__col-title::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 26px;
  background: var(--color-main);
  flex-shrink: 0;
}
.site-footer__col ul { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 0 4px 0 25px; }
.site-footer__col ul::before { content: ""; position: absolute; top: 0; bottom: 0; left: 13px; width: 1px; background: var(--color-main-10); }
.site-footer__col a { font-weight: 500; font-size: 13px; line-height: 1.6; color: var(--color-text); transition: opacity .2s ease; white-space: nowrap; }
.site-footer__col-title a { font: inherit; color: inherit; }
.site-footer__col a:hover { opacity: .6; }

.btn--footer { align-self: flex-end; }

/* =========================================================
   陸送案内ページ（サービス紹介）
   ========================================================= */

/* ---- サービス紹介（見出し + 説明 + ビジュアル） ---- */
.service-intro { background: var(--color-white); padding-top: 104px; }
.service-intro .section-heading { padding-top: clamp(40px, 7vw, 88px); }

.service-intro__block { padding: 40px 0 104px; }
.service-intro--alt { padding: 104px 0; }

.service-intro__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: nowrap;
}
.service-intro__text { flex: 1 1 500px; max-width: 604px; min-width: 0; }

.service-intro__heading { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.service-intro__bar { display: block; width: 13px; height: clamp(40px, 6vw, 59px); background: var(--color-main); flex-shrink: 0; }
.service-intro__title { font-weight: 700; font-size: clamp(26px, 4vw, 48px); color: var(--color-main); line-height: 1.3; white-space: nowrap; }
.service-intro__title-break { display: none; }
@media (max-width: 400px) {
  .service-intro__title-break { display: block; }
}
.service-intro__desc { font-weight: 500; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.9; color: var(--color-text); }

.service-intro__visual {
  position: relative;
  flex: 0 0 544px;
  max-width: 544px;
  aspect-ratio: 679 / 421;
}
.service-intro__visual-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 24px;
}
.service-intro__visual-bg img { width: 100%; height: 100%; object-fit: cover; }
#power-service .service-intro__visual-bg,
#corporate-service .service-intro__visual-bg { border-radius: 0; }
#power-service .service-intro__visual-bg img { object-fit: contain; }
.service-intro__visual-bg--1 { -webkit-mask-image: url("../images/guide-hero-mask-1.svg"); mask-image: url("../images/guide-hero-mask-1.svg"); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.service-intro__visual-bg--2 { -webkit-mask-image: url("../images/guide-hero-mask-2.svg"); mask-image: url("../images/guide-hero-mask-2.svg"); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.service-intro__visual-truck {
  position: absolute;
  left: -25.9%;
  top: -104.9%;
  width: 145%;
  max-width: none;
  aspect-ratio: 600 / 849;
}
#corporate-service .service-intro__visual-truck {
  left: -6%;
  top: -90%;
  width: 120%;
}

/* ---- 情報カード（対応クラス／ケース） ---- */
.info { background: var(--color-main-10); padding: 104px 0; }
.info:has(+ .contact) { padding-bottom: 40px; }

.info__cards { display: flex; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.info__card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 24px 32px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info__card--wide { flex: 1.6 1 420px; }
.info__card-head { display: flex; align-items: center; gap: 20px; }
.info__card-title { font-weight: 700; font-size: clamp(18px, 2vw, 24px); color: var(--color-main); line-height: 1.3; }
.info__card-title-break { display: none; }
@media (max-width: 420px) {
  .info__card-title-break { display: block; }
}
.info__card-title-break-sm { display: none; }
@media (max-width: 360px) {
  .info__card-title-break-sm { display: block; }
}

.info__card-icon { display: block; flex-shrink: 0; background-repeat: no-repeat; }
.info__card-icon--truck { width: 57px; height: 39px; background-image: url("../images/guide-truck-icon.webp"); background-size: 105px 59px; background-position: -25px -10px; }
.info__card-icon--lightning { width: 33px; height: 38px; background-image: url("../images/guide-lightning-icon.svg"); background-size: 33px 38px; background-position: 0 0; }

.checklist--info { gap: 8px; }
.checklist--info li { gap: 16px; font-weight: 500; font-size: 16px; color: var(--color-text); }
.checklist--info li .icon-check { margin-top: 4px; }
.checklist--info.checklist--cols2 { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, max-content); grid-auto-flow: column; grid-template-rows: repeat(3, auto); row-gap: 8px; column-gap: 32px; }
/* Below the width where a column's own text would start wrapping, switch
   that list to a single stacked column instead of letting it wrap. */
@media (max-width: 380px) {
  .checklist--stack-sm { display: flex; flex-direction: column; }
}
@media (max-width: 500px) {
  .checklist--stack-md { display: flex; flex-direction: column; }
}

/* ---- 導入事例カード ---- */
.case {
  background: var(--color-white);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.case__body { flex: 1 1 500px; }
.case__title { font-weight: 700; font-size: clamp(20px, 2.2vw, 24px); color: var(--color-main); margin-bottom: 20px; }
.case__list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.case-card__item { display: flex; align-items: flex-start; gap: 20px; }
.case-card__item .icon-check { margin-top: 4px; }
.case-card__item-route { font-weight: 700; font-size: 18px; color: var(--color-main); margin-bottom: 2px; }
.case-card__item-desc { font-weight: 500; font-size: 15px; line-height: 1.5; color: var(--color-text); }

/* project用バリアント（画像アイコン、やや小さめ表記） */
.case-card__item--compact { align-items: center; }
.case-card__item-icon {
  width: 70px;
  height: 48px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.case-card__item-icon--1,
.case-card__item-icon--2 {
  background-image: url("../images/icon-vehicle-truck-lightning.webp");
}
.case-card__item-icon--3 {
  background-image: url("../images/icon-vehicle-car.webp");
}
.case-card__item-icon--4 {
  background-image: url("../images/icon-vehicle-van.webp");
}
.case-card__item--compact .case-card__item-route { font-size: 16px; margin-bottom: 6px; }
.case-card__item--compact .case-card__item-desc { font-size: 14px; }
.case__note { font-weight: 500; font-size: 13px; line-height: 1.7; color: var(--color-text); }
.case__photo { flex: 1 1 300px; max-width: 393px; border-radius: 10px; overflow: hidden; align-self: center; aspect-ratio: 700 / 526; }
.case__photo img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }

/* =========================================================
   料金プランページ
   ========================================================= */
.pricing { background: var(--color-white); padding-top: 104px; padding-bottom: 40px; }
.pricing .section-heading { padding-top: clamp(40px, 7vw, 88px); margin-bottom: 8px; }

.pricing__intro { margin-bottom: 24px; }
.pricing__lead { font-weight: 500; font-size: clamp(15px, 1.6vw, 20px); color: var(--color-text); margin-top: 24px; }

.pricing__grid { display: flex; gap: 17px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 56px; }

.pricing__table-wrap {
  flex: 1.4 1 480px;
  border: 1px solid var(--color-main);
  border-radius: 20px;
  overflow: hidden;
}
.pricing__table { width: 100%; border-collapse: collapse; }
.pricing__table th, .pricing__table td {
  border: 1px solid var(--color-main);
  border-width: 0 0 1px 1px;
  text-align: center;
  padding: 16px 12px;
}
.pricing__table thead th {
  background: var(--color-main-10);
  color: var(--color-main);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 24px);
  border-top-width: 0;
}
.pricing__table th:first-child, .pricing__table td:first-child { border-left-width: 0; }
.pricing__table tbody td:first-child { font-weight: 500; font-size: clamp(16px, 1.6vw, 20px); color: var(--color-text); }
.pricing__table tbody td:last-child { font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); color: var(--color-main); }

.pricing__notes { flex: 1 1 380px; display: flex; flex-direction: column; gap: 10px; }
.note-card { border: 1px solid var(--color-main); border-radius: 20px; padding: 24px 32px; }
.note-card__title { font-weight: 700; font-size: clamp(18px, 2vw, 24px); color: var(--color-main); margin-bottom: 12px; }
.checklist--note { gap: 8px; }
.checklist--note li { font-weight: 500; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.5; color: var(--color-text); }
.checklist--note .icon-check { margin-top: 4px; }
@media (min-width: 600px) and (max-width: 1030px) {
  .checklist--note.checklist--cols2 { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, max-content); grid-auto-flow: column; grid-template-rows: repeat(3, auto); row-gap: 8px; column-gap: 32px; }
}

.pricing__subsection { margin-bottom: 40px; }
.pricing__subtitle { font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); color: var(--color-main); margin-bottom: 20px; }
.pricing__text { font-weight: 500; font-size: clamp(15px, 1.6vw, 20px); line-height: 1.6; color: var(--color-text); }

.estimate-card {
  border: 1px solid var(--color-main);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: nowrap;
}
.estimate-card__head { display: flex; flex-direction: column-reverse; align-items: center; gap: 12px; flex: 0 0 auto; }
.estimate-card__icon {
  display: block;
  width: 157px;
  height: 179px;
  flex-shrink: 0;
  background-image: url("../images/guide-lightning-icon.svg");
  background-repeat: no-repeat;
  background-size: 157px 179px;
  background-position: 0 0;
}
.estimate-card__title { font-weight: 700; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.4; color: var(--color-main); max-width: 174px; text-align: center; }
.estimate-card__divider { display: block; width: 1px; align-self: stretch; background: var(--color-main-10); flex-shrink: 0; }
.estimate-card__body { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.estimate-card__lists { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, max-content); column-gap: 40px; row-gap: 16px; }
.checklist--estimate { gap: 16px; }
.checklist--estimate li { font-weight: 500; font-size: clamp(15px, 1.5vw, 20px); color: var(--color-text); }
.checklist--estimate .icon-check { margin-top: 0.3em; }
.estimate-card__note { font-weight: 500; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.6; color: var(--color-main); }
@media (max-width: 549px) {
  .estimate-card { flex-direction: column; align-items: flex-start; }
  .estimate-card__divider { display: none; }
  .estimate-card__head { align-self: center; }
  .estimate-card__body { flex-basis: auto; }
  .estimate-card__lists { grid-template-columns: 1fr; row-gap: 12px; }
  .checklist--estimate { gap: 12px; }
}
@media (min-width: 550px) and (max-width: 799px) {
  .estimate-card { gap: 12px; padding: 24px 16px; }
  .estimate-card__divider { margin: 0 4px; }
  .estimate-card__lists { grid-template-columns: 1fr; row-gap: 12px; }
  .checklist--estimate { gap: 12px; }
  .estimate-card__title { max-width: 124px; font-size: 16px; }
  .estimate-card__icon { width: 90px; height: 103px; background-size: 90px 103px; }
}
@media (min-width: 800px) and (max-width: 899px) {
  .estimate-card { gap: 12px; }
  .estimate-card__lists { column-gap: 24px; }
  .estimate-card__title { max-width: 148px; }
  .estimate-card__icon { width: 90px; height: 103px; background-size: 90px 103px; }
}

/* =========================================================
   会社概要ページ
   ========================================================= */
.profile { background: var(--color-white); padding-top: 104px; padding-bottom: 104px; }
.profile .section-heading { padding-top: clamp(40px, 7vw, 88px); }

.profile-table { width: 100%; border-collapse: collapse; }
.profile-table th, .profile-table td {
  border: 1px solid var(--color-main);
  border-top-width: 0;
  padding: 16px 24px;
  text-align: left;
  font-size: clamp(15px, 1.5vw, 18px);
  vertical-align: middle;
}
.profile-table tr:first-child th, .profile-table tr:first-child td { border-top-width: 1px; }
.profile-table th {
  background: var(--color-main-10);
  color: var(--color-main);
  font-weight: 700;
  width: 32%;
  white-space: nowrap;
}
.profile-table td { background: var(--color-white); color: var(--color-text); font-weight: 500; line-height: 1.7; }
.profile-table__address-break { display: none; }
@media (max-width: 400px) {
  .profile .section-heading__en { font-size: 11vw; }
}
@media (max-width: 360px) {
  .profile-table__address-break { display: block; }
}

.greeting { background: var(--color-white); padding-top: 104px; padding-bottom: 40px; }
.greeting__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; min-height: 560px; }
.greeting__text { position: relative; z-index: 1; flex: 1 1 500px; max-width: 640px; }
.greeting__body { font-weight: 500; font-size: clamp(15px, 1.6vw, 20px); line-height: 2; color: var(--color-text); margin-top: 24px; }
.greeting__signature { font-weight: 700; font-size: clamp(18px, 2vw, 24px); color: var(--color-text); margin-top: 24px; }
.greeting__photo { position: absolute; z-index: 0; right: 0; top: 50%; transform: translateY(-50%); width: 58%; max-width: 720px; aspect-ratio: 689 / 593; pointer-events: none; }
.greeting__photo img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   お問い合わせページ
   ========================================================= */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-page { background: var(--color-white); padding-top: 104px; padding-bottom: 104px; }
.contact-page .section-heading { padding-top: clamp(40px, 7vw, 88px); }
.contact-page__lead { font-weight: 500; font-size: clamp(15px, 1.6vw, 20px); line-height: 2; color: var(--color-text); margin: 8px 0 40px; }

.contact-form-wrap {
  background: var(--color-main-10);
  border-radius: clamp(24px, 5vw, 80px);
  padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 24px);
}

.contact-form { max-width: 857px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }

.form-field { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.form-field label, .form-field__label-text {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: clamp(16px, 1.8vw, 20px); color: var(--color-text);
}
.required { color: #e02023; font-weight: 500; font-size: 14px; }

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%;
  background: var(--color-white);
  border: 1px solid transparent;
  border-radius: 7px;
  height: 48px;
  padding: 0 16px;
  font-family: inherit;
  font-size: clamp(15px, 1.6vw, 20px);
  color: var(--color-text);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(0, 48, 120, 0.4); }
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--color-main);
}
.form-field textarea { height: 200px; padding: 16px; line-height: 1.6; resize: none; }

.radio-group { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, max-content); column-gap: 40px; row-gap: 20px; }
.radio-option {
  display: flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: clamp(15px, 1.6vw, 18px); color: var(--color-text);
  cursor: pointer;
}
.radio-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 29px; height: 29px;
  margin: 0;
  border: 2px solid var(--color-main);
  border-radius: 50%;
  background: var(--color-white);
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}
.radio-option input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--color-main);
}
.radio-option input[type="radio"]:focus-visible { outline: 2px solid var(--color-main); outline-offset: 2px; }

.btn--submit {
  align-self: center;
  width: 100%;
  max-width: 361px;
  height: 70px;
  background: var(--color-main);
  color: var(--color-white);
  border: none;
  border-radius: 50px;
  justify-content: center;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 24px);
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}
.btn--submit:hover { opacity: .88; transform: translateY(-2px); }

.btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 60px;
  padding: 0 32px;
  background: var(--color-white);
  color: var(--color-main);
  border: 1px solid var(--color-main);
  border-radius: 50px;
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 20px);
  cursor: pointer;
  transition: background-color .2s ease;
}
.btn--outline:hover { background: var(--color-main-10); }

.icon-chevron--back { transform: rotate(-135deg); }

.contact-confirm__title, .contact-thanks__title {
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--color-main);
  text-align: center;
  margin-bottom: 32px;
}
.contact-thanks__title-break { display: none; }
@media (max-width: 360px) {
  .contact-thanks__title-break { display: inline; }
}
.confirm-list {
  max-width: 857px;
  margin: 0 auto 40px;
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
}
.confirm-list dt {
  padding: 16px 24px 4px;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-main);
}
.confirm-list dd {
  padding: 0 24px 16px;
  margin: 0;
  font-weight: 500;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-main-10);
  white-space: pre-wrap;
  word-break: break-word;
}
.confirm-list dd:last-child { border-bottom: none; }

.confirm-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 361px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.confirm-actions .btn--outline { grid-column: 1; justify-self: end; gap: 18px; height: 70px; }
.confirm-actions .btn--submit { position: relative; grid-column: 2; gap: 0; }
.confirm-actions .btn--submit .icon-chevron { position: absolute; left: calc(50% + 62px); }

@media (max-width: 899px) {
  .confirm-actions {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
  }
  .confirm-actions .btn--outline { display: flex; align-items: center; align-self: center; position: relative; justify-content: center; gap: 0; height: 70px; padding: 0; width: 100%; max-width: 361px; }
  .confirm-actions .btn--outline .icon-chevron--back { position: absolute; right: calc(50% + 62px); width: 12px; height: 12px; border-width: 3px; }
  .confirm-actions .btn--submit { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 361px; }
}

.contact-thanks { text-align: center; max-width: 640px; margin: 0 auto; }
.contact-thanks__desc { font-weight: 500; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.9; color: var(--color-text); margin-bottom: 32px; }
.contact-thanks__desc-break1,
.contact-thanks__desc-break2,
.contact-thanks__desc-break3 { display: none; }
@media (max-width: 630px) {
  .contact-thanks__desc-break1,
  .contact-thanks__desc-break2,
  .contact-thanks__desc-break3 { display: inline; }
}
@media (min-width: 631px) {
  .contact-thanks__desc-break2,
  .contact-thanks__desc-break3 { display: inline; }
}

/* =========================================================
   プライバシーポリシーページ
   ========================================================= */
.legal { background: var(--color-white); padding-top: 104px; padding-bottom: 104px; }
.legal .section-heading { padding-top: clamp(40px, 7vw, 88px); margin-bottom: 24px; }
.legal__lead { font-weight: 500; font-size: clamp(15px, 1.6vw, 20px); line-height: 2; color: var(--color-text); margin-bottom: 56px; }

.legal__sections { display: flex; flex-direction: column; gap: 40px; margin-bottom: 56px; }
.legal__section { display: flex; flex-direction: column; gap: 8px; }
.legal__title { font-weight: 700; font-size: clamp(18px, 2vw, 24px); color: var(--color-text); }
.legal__text { font-weight: 500; font-size: clamp(15px, 1.5vw, 20px); line-height: 2; color: var(--color-text); }
.legal__list { list-style: disc; padding-left: 30px; }
.legal__list li { font-weight: 500; font-size: clamp(15px, 1.5vw, 20px); line-height: 2; color: var(--color-text); }
.legal__link { color: var(--color-main); text-decoration: underline; text-underline-offset: 3px; }
.legal__link:hover { opacity: .7; }

.legal__company-name { font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); color: var(--color-text); margin-bottom: 6px; }
.legal__company-info { font-weight: 500; font-size: 16px; line-height: 1.8; color: var(--color-text); }

/* ---------- スクロールフェードイン ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  left: calc(100vw - 72px);
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-main);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 900;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.icon-arrow-up {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
  transform: rotate(-45deg);
  margin-top: 4px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1400px) {
  .hero__bg img { object-position: center top; transform: scale(1.15); transform-origin: center top; }
}

@media (min-width: 880px) and (max-width: 1940px) {
  .hero__bg img { transform: translateX(21%) scale(1.42); transform-origin: center top; }
}

/* ---- Tablet (≦1024px) ---- */
@media (max-width: 1024px) {
  :root { --header-h: 72px; }

  .site-header__inner { padding: 0 20px; }
  .site-nav__list { gap: 24px; font-size: 16px; }
  .btn--nav { height: 42px; font-size: 15px; padding: 0 16px 0 20px; }

  .hero__inner { padding: 0 40px; }
  .hero__content { max-width: 100%; }

  .strengths__list { grid-template-columns: repeat(3, 1fr); }
  .strengths__card { gap: 6px; }
  .strengths__icon { margin-bottom: 0; }

  .service__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service__card { flex-direction: column; align-items: stretch; }
  .service__photo { width: 100%; }
  .service__body h3 { display: block; min-height: 0; font-size: clamp(14px, 2vw, 22px); line-height: 1.4; margin-bottom: 12px; }
  .service__card:first-child h3 { white-space: normal; }

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

  .area__inner { flex-direction: column; }
  .area__content { width: 100%; max-width: 100%; background: none; }
  .area__routes-heading { width: 100%; }
  .area__routes-list { align-items: center; }
  .area__routes-list li { justify-content: center; }
  .area__map { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: 480px; margin: 0 auto; }
  .area__map-badge { right: calc(-1 * clamp(20px, 8vw, 80px)); }

  .price__inner { flex-direction: column; align-items: stretch; min-height: 0; }
  .price { padding-top: 52px; }
  .price__content { flex: none; max-width: 100%; }
  .price__visual { position: relative; left: auto; right: auto; top: auto; transform: none; width: 100%; max-width: 720px; margin: 0 auto 0; aspect-ratio: 1019 / 640; }
  .price__visual-photo { left: 50%; right: auto; top: 0; width: 82%; transform: translateX(-50%); }
  .price__visual-map { right: auto; left: 50%; transform: translate(-40%, -50%); }
  .price__visual-script { right: 10%; bottom: 30%; }
  .price__visual-caption { right: 11%; bottom: 27%; }

  .service-intro__text { max-width: 100%; }

  .info__cards { flex-direction: column; }
  .info__card, .info__card--wide { flex: 1 1 auto; }
  .info__card-title { order: 1; }
  .info__card-icon { order: 2; }
  .case { flex-direction: column; align-items: stretch; }
  .case__body { flex-basis: auto; }
  .case__photo { flex-basis: auto; }
  .case__photo { max-width: 100%; }
  .case__photo img { min-height: 260px; }

  .pricing__grid { flex-direction: column; }
  .pricing__table-wrap, .pricing__notes { flex: 1 1 auto; width: 100%; }

  .greeting__inner { flex-direction: column; min-height: 0; gap: 20px; }
  .greeting__text { max-width: 100%; flex-basis: auto; }
  .greeting__photo { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: 560px; }
  .profile-table th { width: 40%; white-space: normal; }

}

/* ---- Footer: stack "about" above nav earlier than the general tablet
   breakpoint, so the nav columns get the full container width instead of
   being squeezed into the narrow row-share left after the about block ---- */
@media (max-width: 899px) {
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer__nav-wrap { flex-basis: auto; align-items: flex-start; width: 100%; order: 1; }
  .site-footer__nav-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; row-gap: 40px; }
  .site-footer__about { flex-basis: auto; order: 2; }
  .btn--footer { align-self: flex-start; }

}

@media (max-width: 430px) {
  .site-footer__nav-cols { grid-template-columns: 1fr; row-gap: 32px; }
}

/* Text column starts losing its natural ~500px width below this point
   (fixed 544px visual + 48px gap no longer fit beside it), so stack the
   text above the visual instead of squeezing the text narrower. */
@media (max-width: 1160px) {
  .service-intro__inner { flex-direction: column; align-items: center; gap: 32px; }
  .service-intro__text { max-width: 100%; flex-basis: auto; }
  .service-intro__visual { width: 100%; max-width: 640px; flex-basis: auto; }
  .service-intro__block { padding: 8px 0 56px; }
  .service-intro--alt { padding: 56px 0; }
}

@media (min-width: 1161px) {
  .service-intro__visual { flex-shrink: 0; }
}
/* Row layout (about beside nav) is kept from 900px up to ~1260px; let the
   copyright line wrap there so the "about" block's minimum width doesn't
   force the nav columns to wrap too. */
@media (min-width: 900px) and (max-width: 1300px) {
  .site-footer__copy { white-space: normal; }
  .site-footer .container { padding: 0 16px; }
  .site-footer__inner { gap: 48px 24px; }
  .site-footer__about { flex-basis: 170px; }
  .site-footer__nav-cols { gap: 0px; }
}

/* ---- Mobile nav (≦1200px; the desktop nav items start wrapping to a
   second line below ~1176px, so switch to the hamburger before that) ---- */
@media (max-width: 1200px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 16px;
    padding: 0 16px;
  }
  .site-logo { min-width: 0; margin-right: 0; font-size: 22px; }
  .hamburger {
    display: flex;
    position: static;
    width: 48px;
    height: 48px;
    padding: 8px;
    transform: none;
    z-index: 2;
  }
  .btn--nav { display: none; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: auto;
    width: 100vw;
    max-width: 100vw;
    max-height: 0;
    overflow-y: auto;
    background: var(--color-white);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, max-height .3s ease;
  }
  .site-nav.is-open {
    max-height: calc(100vh - var(--header-h));
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding: 8px 24px 16px;
  }
  .site-nav__list li {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    border-bottom: 1px solid var(--color-main-10);
  }
  .site-nav__list a { display: block; padding: 16px 4px; }
  .site-nav__list .site-nav__contact { display: block; border-bottom: 0; padding-top: 16px; }
  .site-nav__contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 20px;
    border-radius: 24px;
    background: var(--color-yellow);
    color: var(--color-main);
    font-weight: 700;
  }
}

/* ---- Small mobile (≦640px) ---- */
@media (max-width: 640px) {
  .container { padding: 0 20px; }

  .site-header__inner { gap: 16px; padding: 0 16px; }
  .site-logo { font-size: 16px; }

  .hero { min-height: auto; padding: 40px 0; }
  .hero__inner { padding: 0 20px; }
  .hero__content { gap: 24px; }
  .hero__badges { gap: 8px; }
  .hero__badge { height: 56px; font-size: 13px; padding: 0 12px; }

  .btn--cta { height: 58px; padding: 0 22px 0 24px; width: 100%; }

  .section-heading { padding-top: 40px; }

  .strengths { padding-bottom: 56px; }
  .strengths__list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .strengths__card { padding: 20px 12px; }
  .strengths__card h3 { font-size: clamp(14px, 3.8vw, 18px); }
  .strengths__card:last-child { grid-column: 1 / -1; width: calc((100% - 12px) / 2); justify-self: center; }

  .service { padding: 56px 0; }
  .service__list { gap: 12px; }
  .service__card { padding: 16px; gap: 16px; }

  .project { padding-bottom: 56px; }
  .project__items { padding: 0 16px; }
  .case-card__item--compact { gap: 12px; }
  .case-card__item-icon { width: 58px; height: 40px; }

  .area, .price { padding: 56px 0; }
  .price { padding-top: 28px; padding-bottom: 28px; }
  .area__map-badge { position: static; display: block; width: 100%; height: auto; border-radius: 16px; margin-top: 16px; padding: 20px; white-space: normal; text-align: center; }
  .area__routes-list li { flex-wrap: nowrap; height: auto; padding: 12px 16px; gap: clamp(6px, 2vw, 12px); width: 100%; }

  .price__visual { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
  .price__visual-caption { font-size: 13px; }

  .company { padding: 14px 0 28px; }
  .contact { padding: 56px 0; }
  .company__box { padding: 20px; border-radius: 20px; }
  .contact__box { padding: 48px 20px; border-radius: 20px; }
  .contact__info { flex-direction: column; gap: 12px; }

  .service-intro--alt { padding: 56px 0; }
  .service-intro__heading { gap: 16px; margin-bottom: 16px; }
  .info { padding: 40px 0; }
  .info__card { padding: 20px; }
  .checklist--cols2 { column-gap: 40px; }
  .case { padding: 20px; gap: 20px; }

  .pricing { padding-bottom: 56px; }
  .pricing__table th, .pricing__table td { padding: 10px 6px; }
  .note-card { padding: 20px; }
  .estimate-card { padding: 20px; gap: 20px; }
  .estimate-card__icon { width: 80px; height: 91px; background-size: 80px 91px; background-position: 0 0; }
  .estimate-card__lists { row-gap: 12px; }
  .checklist--estimate { gap: 12px; }

  .profile { padding-bottom: 40px; }
  .profile-table th, .profile-table td { padding: 12px 16px; display: block; width: 100%; border-top-width: 1px; }
  .profile-table tr { display: block; margin-bottom: -1px; }
  .profile-table th { border-bottom: none; }
  .greeting { padding: 40px 0 56px; }

  .contact-page { padding-bottom: 56px; }
  .radio-group { gap: 14px 24px; }

  .site-footer { border-radius: 32px 32px 0 0; padding: 48px 0 32px; }
  .btn--cta.btn--footer { width: 100%; }

  .to-top { left: calc(100vw - 60px); bottom: 16px; width: 44px; height: 44px; }
}

@media (max-width: 549px) {
  .estimate-card { padding: 16px; gap: 8px; }
  .estimate-card__head { flex-direction: row-reverse; align-items: center; gap: 8px; align-self: flex-start; }
  .estimate-card__title { max-width: none; white-space: nowrap; text-align: left; }
  .estimate-card__title-break { display: none; }
  .estimate-card__icon { width: 36px; height: 41px; background-size: 36px 41px; }
}

@media (max-width: 410px) {
  .hero__title { font-size: clamp(28px, 7.2vw, 30px); letter-spacing: 0.06em; }
  .hero__title-mobile-break { display: inline; }
  .company__box .section-heading__en { font-size: clamp(35px, calc(10.5vw - 4px), 39px); letter-spacing: -0.04em; }
}

@media (max-width: 370px) {
  .radio-group { grid-template-columns: 1fr; row-gap: 14px; }
}

@media (min-width: 460px) and (max-width: 610px) {
  .service__title-main,
  .service__title-sub { display: block; white-space: nowrap; }
}

@media (min-width: 460px) and (max-width: 640px) {
  .service__body h3 { display: flex; align-items: center; min-height: 2.8em; }
  .service__title-text { display: block; width: 100%; min-width: 0; }
}

@media (max-width: 459px) {
  .service__list { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  #hamburger {
    position: fixed;
    top: 20px;
    left: calc(100vw - 56px);
    right: auto;
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    transform: none;
    z-index: 1001;
  }
  #hamburger span { flex: 0 0 2px; width: 32px; min-width: 32px; }

  .site-footer__col a { white-space: normal; }
}
