/* 037 アオミチ物流 ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #f5f8fc;
  --c-navy: #071a33;
  --c-ink: #0b1a2e;
  --c-accent: #1e7bff;
  --c-cyan: #2ad4ff;
  --c-accent-text: #1557c0;
  --c-btn: #1565e0;
  --c-on-navy: #cbd5e1;
  --c-text: #374151;
  --c-sub: #4b5563;
  --c-line: #dce4ef;
  --font: "Zen Kaku Gothic Antique", sans-serif;
  --font-en: "Manrope", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.9; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.label { font-family: var(--font-en); font-weight: 800; font-size: 15px; letter-spacing: .18em; color: var(--c-accent-text); margin-bottom: 12px; }
.label--cyan { color: var(--c-cyan); }
.h2 { font-weight: 700; font-size: clamp(28px, 3.8vw, 44px); line-height: 1.45; color: var(--c-ink); margin-bottom: 28px; }
.note { margin-top: 16px; font-size: 15px; color: var(--c-sub); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 6px; font-weight: 700; text-decoration: none; white-space: nowrap; flex: none; transition: background-color .3s, color .3s; }
.btn--blue { background: var(--c-btn); color: #fff; }
.btn--blue:hover { background: var(--c-accent-text); }
.btn--ghost { border: 1px solid rgba(203, 213, 225, .6); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--big { min-height: 58px; padding: 0 30px; font-size: 17px; }

/* ヘッダー */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.header__inner { display: flex; align-items: center; gap: 20px; height: 68px; padding: 0 12px 0 20px; background: rgba(7, 26, 51, .88); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(203, 213, 225, .14); }
.logo { display: flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; color: #fff; white-space: nowrap; flex: none; }
.logo__mark { width: 30px; height: 30px; }
.logo span { font-family: var(--font-en); font-weight: 800; font-size: 20px; letter-spacing: .14em; }
.logo small { display: none; font-size: 15px; color: var(--c-on-navy); }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 15px; }
@media (min-width: 768px) { .logo small { display: inline; } }
@media (min-width: 1080px) {
  .header__inner { height: 80px; padding: 0 5vw; }
  .gnav { display: flex; gap: 30px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--c-on-navy); }
  .gnav a:hover { color: #fff; }
  .header__btn { margin-left: 0; padding: 0 24px; }
}
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: #fff; }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -7px; } .spmenu__bar::after { top: 7px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-navy); padding: 8px 20px 24px; display: flex; flex-direction: column; border-bottom: 3px solid var(--c-cyan); }
.spmenu__nav a { display: flex; align-items: center; min-height: 54px; color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; border-bottom: 1px solid rgba(203, 213, 225, .16); }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== 演出①（A12）：夜の点描の地球 ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 112px 20px 0; overflow: hidden; background: radial-gradient(ellipse 90% 60% at 70% 100%, #0f3a73 0%, var(--c-navy) 62%); color: var(--c-on-navy); }
.hero__globe { position: absolute; left: 50%; bottom: 0; width: min(150vw, 1100px); aspect-ratio: 1; transform: translate(-50%, 46%); }
.globe-in { position: absolute; inset: 0; }
.globe-static { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, var(--c-cyan) 0 1.6px, transparent 2.2px) 0 0 / 12px 12px;
  -webkit-mask-image: radial-gradient(circle at 40% 30%, #000 25%, rgba(0, 0, 0, .2) 70%);
  mask-image: radial-gradient(circle at 40% 30%, #000 25%, rgba(0, 0, 0, .2) 70%);
  box-shadow: 0 0 80px rgba(42, 212, 255, .25); }
.globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.is-globe .globe-canvas { display: block; }
.is-globe .globe-static { display: none; }
.hero__copy { position: relative; z-index: 2; max-width: 700px; }
.hero__title { font-weight: 700; font-size: clamp(36px, 4.8vw, 68px); line-height: 1.3; color: #fff; letter-spacing: .02em; }
.hero__lead { margin-top: 18px; font-size: clamp(15px, 1.5vw, 18px); color: var(--c-on-navy); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__hubs { display: none; }
@media (min-width: 1080px) {
  .hero { padding: 150px 5vw 0; }
  .hero__globe { left: auto; right: -18vw; width: min(78vw, 1120px); transform: translateY(40%); }
  .hero__hubs { display: flex; flex-wrap: wrap; gap: 4px 22px; position: absolute; z-index: 2; left: 5vw; bottom: 28px; max-width: 46vw; font-family: var(--font-en); font-weight: 700; font-size: 15px; letter-spacing: .16em; color: var(--c-cyan); }
  .hero__hubs li::before { content: "— "; color: var(--c-on-navy); }
}

/* ===== 演出②（F06）：区切りをまたぐリボン ===== */
.ribbon-zone { position: relative; overflow: hidden; background: var(--c-bg); }
.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.ribbon path { stroke-width: 46px; opacity: .92; }
@media (min-width: 1080px) { .ribbon path { stroke-width: 84px; } }
.reasons, .numbers { position: relative; z-index: 1; }

.reasons { padding: 120px 0 72px; }
.reasons__list { display: grid; gap: 18px; }
.reason { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 28px 24px; box-shadow: 0 20px 40px rgba(7, 26, 51, .08); }
.reason__no { font-family: var(--font-en); font-weight: 800; font-size: 34px; line-height: 1; color: var(--c-accent-text); }
.reason h3 { font-weight: 700; font-size: 22px; color: var(--c-ink); margin: 10px 0 8px; }
@media (min-width: 900px) { .reasons { padding: 180px 0 100px; } .reasons__list { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.numbers { padding: 72px 0 120px; }
.numbers__inner { display: grid; gap: 40px; align-items: center; }
.numbers__inner > div { background: #fff; border-radius: 18px; padding: 32px 24px; box-shadow: 0 20px 40px rgba(7, 26, 51, .08); }
.nums li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--c-line); }
.nums__v { font-family: var(--font); font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); /* 伏せ字の〇は英字書体だと大きな楕円になるので日本語書体で */ line-height: 1; color: var(--c-ink); white-space: nowrap; }
.nums__v small { font-family: var(--font); font-weight: 700; font-size: 16px; margin-left: 4px; color: var(--c-accent-text); }
.numbers__photo { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(7, 26, 51, .2); }
.numbers__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .numbers { padding: 100px 0 180px; } .numbers__inner { grid-template-columns: 1fr 1.1fr; gap: 64px; } .numbers__inner > div { padding: 48px; } }

/* ===== 演出③（B02）：サービスを1件ずつ切り替え ===== */
.svc { background: var(--c-navy); color: var(--c-on-navy); }
.svc__stage { padding: 96px 20px; max-width: 1360px; margin: 0 auto; }
.svc__title { font-weight: 700; font-size: clamp(32px, 4.4vw, 54px); color: #fff; line-height: 1.2; }
.svc__count { display: none; font-family: var(--font-en); font-weight: 800; font-size: 54px; line-height: 1; color: #fff; margin-top: 16px; }
.svc__total { font-size: 22px; color: var(--c-on-navy); margin-left: 6px; }
.svc__bar { display: none; height: 3px; background: rgba(203, 213, 225, .2); margin-top: 18px; width: 220px; }
.svc__bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--c-accent), var(--c-cyan)); transform-origin: left; transform: scaleX(.2); }
.svc__list { display: grid; gap: 40px; margin-top: 40px; }
.svc__photo { border-radius: 14px; overflow: hidden; margin-bottom: 18px; }
.svc__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.svc__en { font-family: var(--font-en); font-weight: 800; font-size: 15px; letter-spacing: .2em; color: var(--c-cyan); }
.svc__text h3 { font-weight: 700; font-size: clamp(24px, 3vw, 36px); color: #fff; margin: 4px 0 10px; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.svc__tags li { border: 1px solid rgba(42, 212, 255, .5); border-radius: 999px; padding: 2px 14px; font-size: 15px; color: #fff; }
@media (min-width: 900px) { .svc__list { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* 動く版：区画を画面に止め、1件ずつ入れ替える */
.is-motion .svc { height: 400vh; } /* スマホは1件 約0.6画面。長すぎると指が疲れる */
@media (min-width: 900px) { .is-motion .svc { height: 520vh; } }
.is-motion .svc__stage { position: sticky; top: 0; height: 100vh; padding: 88px 20px 24px; display: flex; flex-direction: column; }
.is-motion .svc__count, .is-motion .svc__bar { display: block; }
.is-motion .svc__head { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 16px; }
.is-motion .svc__head .label { grid-column: 1 / -1; margin-bottom: 4px; }
.is-motion .svc__count { margin: 0; font-size: 40px; }
.is-motion .svc__bar { grid-column: 1 / -1; width: 100%; margin-top: 12px; }
.is-motion .svc__list { position: relative; flex: 1; margin-top: 20px; display: block; }
.is-motion .svc__item { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.is-motion .svc__item.is-on { opacity: 1; visibility: visible; }
.is-motion .svc__photo { flex: 1; min-height: 0; margin-bottom: 14px; }
.is-motion .svc__photo img { height: 100%; aspect-ratio: auto; transform: scale(1.08); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.is-motion .svc__item.is-on .svc__photo img { transform: none; }
.is-motion .svc__text > p:not(.svc__en) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 1080px) {
  .is-motion .svc__stage { padding: 120px 5vw 56px; display: grid; grid-template-columns: 320px 1fr; column-gap: 5vw; }
  .is-motion .svc__head { display: block; align-self: center; }
  .is-motion .svc__count { margin-top: 28px; font-size: 96px; }
  .is-motion .svc__total { font-size: 28px; }
  .is-motion .svc__bar { margin-top: 24px; }
  .is-motion .svc__list { margin: 0; }
  .is-motion .svc__item { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
  .is-motion .svc__photo { height: 100%; margin: 0; }
  .is-motion .svc__text > p:not(.svc__en) { -webkit-line-clamp: unset; display: block; }
}

/* ===== はたらく人 ===== */
.people { padding: 120px 0; }
.people__inner { display: grid; gap: 40px; align-items: center; }
.people__photo { width: min(80vw, 420px); justify-self: center; border-radius: 18px; overflow: hidden; }
.people__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 20px; font-weight: 700; color: var(--c-accent-text); text-decoration: none; border-bottom: 2px solid var(--c-accent); }
.link-arrow::after { content: "→"; transition: transform .3s; }
.link-arrow:hover::after { transform: translateX(6px); }
@media (min-width: 900px) { .people { padding: 160px 0; } .people__inner { grid-template-columns: 1fr 1.2fr; gap: 80px; } }

/* ===== お問い合わせ ===== */
.contact { background: var(--c-navy); padding: 104px 20px; text-align: center; color: var(--c-on-navy); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; top: 100%; width: 140vw; height: 140vw; max-width: 1400px; max-height: 1400px; transform: translate(-50%, -22%); border-radius: 50%; background: radial-gradient(circle, rgba(42, 212, 255, .45) 0 1.4px, transparent 2px) 0 0 / 14px 14px; opacity: .5; }
.contact__inner { position: relative; max-width: 760px; margin: 0 auto; }
.contact__title { font-weight: 700; font-size: clamp(28px, 4.6vw, 52px); line-height: 1.4; color: #fff; margin-bottom: 16px; }
.contact__btns { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 32px; }
.contact__tel { display: flex; flex-direction: column; align-items: center; min-height: 44px; font-family: var(--font-en); font-weight: 800; font-size: 30px; line-height: 1.2; color: #fff; text-decoration: none; }
.contact__tel small { font-family: var(--font); font-weight: 400; font-size: 15px; color: var(--c-on-navy); }
@media (min-width: 768px) { .contact { padding: 140px 20px; } .contact__btns { flex-direction: row; justify-content: center; gap: 40px; } }

/* ===== フッター ===== */
.footer { background: #04101f; color: var(--c-on-navy); padding: 64px 0 28px; font-size: 15px; }
.footer__inner { display: grid; gap: 24px; }
.footer__logo { font-family: var(--font-en); font-weight: 800; font-size: 28px; letter-spacing: .14em; color: #fff; }
.footer__logo small { display: block; font-family: var(--font); font-weight: 400; font-size: 15px; letter-spacing: .04em; color: var(--c-on-navy); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__fiction { margin-top: 32px; text-align: center; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: auto 1fr auto; align-items: end; gap: 48px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
