/* =========================================================
   Tokai First — corporate site
   ========================================================= */

:root {
  --navy: #0a2540;
  --navy-2: #123a63;
  --blue: #1d6fb8;
  --blue-soft: #e9f2fb;
  --yellow: #f2c443;
  --yellow-soft: #fdf6df;
  --ink: #18222f;
  --muted: #5a6776;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;

  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Montserrat", "Noto Sans JP", sans-serif;

  --header-h: 80px;
  --container: 1200px;
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* 日本語の改行を文節単位に（対応ブラウザのみ） */
h1, h2, h3, h4, .section-lead, .fig-note, .hero-lead, .contact-lead, .news-link, .gallery p, .goals li {
  word-break: auto-phrase; text-wrap: balance;
}
p, li, dd, td { text-wrap: pretty; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: 40px; }
.container.narrow { max-width: 960px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp-only { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 32px;
  font-weight: 500; font-size: 15px; letter-spacing: .08em;
  border: 1px solid transparent; border-radius: 999px;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--yellow); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); font-family: var(--font-en); font-weight: 600; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 68px;
  background: rgba(255,255,255,.96);
  color: var(--navy);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  height: 100%; max-width: 1360px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.brand-mark { width: 38px; height: 32px; fill: currentColor; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 5px; }
.brand-en { font-family: Georgia, "Times New Roman", serif; font-size: 21px; letter-spacing: .02em; }
.brand-ja { font-size: 10.5px; letter-spacing: .32em; opacity: .85; }

.global-nav { display: flex; align-items: center; gap: 36px; }
.global-nav ul { display: flex; gap: 30px; }
.global-nav ul a {
  position: relative; font-size: 14px; font-weight: 500; letter-spacing: .06em; padding: 6px 0;
}
.global-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.global-nav ul a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { min-height: 44px; padding: 0 26px; font-size: 14px; }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; overflow: hidden; background: var(--navy);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%;
  animation: heroZoom 18s var(--ease) both;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,28,50,.82) 0%, rgba(8,28,50,.55) 42%, rgba(8,28,50,.05) 75%),
    linear-gradient(0deg, rgba(8,28,50,.55) 0%, rgba(8,28,50,0) 35%);
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-content { position: relative; padding-top: var(--header-h); padding-bottom: 120px; }
.hero-eyebrow {
  font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
  opacity: 0; animation: fadeUp 1s var(--ease) .3s forwards;
}
.hero-eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--yellow); }
.hero-title {
  font-size: clamp(34px, 5.4vw, 72px); font-weight: 700; line-height: 1.38; letter-spacing: .06em;
}
.hero-title .line { display: block; opacity: 0; animation: fadeUp 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(1) { animation-delay: .5s; }
.hero-title .line:nth-child(2) { animation-delay: .75s; }
.hero-lead {
  margin-top: 28px; font-size: clamp(15px, 1.4vw, 18px); letter-spacing: .1em; opacity: 0;
  animation: fadeUp 1s var(--ease) 1.05s forwards;
}
.hero-actions {
  margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; opacity: 0;
  animation: fadeUp 1s var(--ease) 1.25s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-scroll {
  position: absolute; right: 48px; bottom: 110px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 11px; letter-spacing: .25em; writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 72px; background: linear-gradient(rgba(255,255,255,1), rgba(255,255,255,0));
  animation: scrollLine 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.news-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.96); color: var(--ink);
}
.news-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; font-size: 14px; }
.news-label {
  font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue); padding-right: 24px; border-right: 1px solid var(--line);
}
.news-inner time { font-family: var(--font-en); font-weight: 500; color: var(--muted); }
.news-link { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.news-link::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1l5 5-5 5' fill='none' stroke='%231d6fb8' stroke-width='1.6'/%3E%3C/svg%3E");
  transition: background-color .3s, border-color .3s;
}
.news-link:hover { color: var(--blue); }
.news-link:hover::after { border-color: var(--blue); background-color: var(--blue-soft); }

/* ---------- Section common ---------- */
.section { padding: 140px 0; }
.bg-alt { background: var(--bg-alt); }

.section-head { margin-bottom: 64px; }
.section-head.center { text-align: center; }
.eyebrow {
  font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--blue); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.eyebrow-light { color: #9fc9ef; }
.section-title { font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; line-height: 1.55; letter-spacing: .06em; }
.section-lead { margin-top: 20px; color: var(--muted); font-size: 16px; }
.center .section-lead { max-width: 720px; margin-left: auto; margin-right: auto; }
.about .section-title { font-size: clamp(26px, 2.8vw, 36px); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-body { padding-top: 44px; }
.about-body p + p { margin-top: 1.4em; }
.about-body p { color: #36424f; }

.figures {
  margin-top: 100px; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.figures li { padding: 44px 28px; text-align: center; }
.figures li + li { border-left: 1px solid var(--line); }
.fig-label { font-size: 14px; font-weight: 500; color: var(--muted); }
.fig-num {
  margin: 10px 0 6px; font-family: var(--font-en); font-weight: 600; font-size: clamp(44px, 4.6vw, 64px);
  line-height: 1.1; color: var(--navy); letter-spacing: 0;
}
.fig-num small { font-family: var(--font-ja); font-size: 16px; font-weight: 500; margin-left: 4px; letter-spacing: .04em; }
.fig-note { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- Service ---------- */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  position: relative; background: #fff; padding: 48px 36px 44px; border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(10,37,64,.04), 0 12px 40px -20px rgba(10,37,64,.18);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--navy));
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(10,37,64,.04), 0 24px 50px -20px rgba(10,37,64,.28); }
.service-card:hover::before { transform: scaleX(1); }
.card-no { font-family: var(--font-en); font-weight: 600; font-size: 14px; color: var(--blue); letter-spacing: .1em; }
.service-card h3 { font-size: 22px; margin: 10px 0 18px; letter-spacing: .06em; }
.service-card > p:not(.card-no) { font-size: 15px; color: var(--muted); line-height: 1.9; }

.check-list { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.check-list li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.75; }
.check-list li + li { margin-top: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}

.split-box {
  margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(10,37,64,.04);
}
.split-col { padding: 44px 48px; }
.split-col + .split-col { border-left: 1px solid var(--line); }
.split-tag {
  display: inline-block; font-size: 14px; font-weight: 700; padding: 6px 16px; border-radius: 999px; margin-bottom: 22px;
}
.tag-blue { background: var(--blue-soft); color: var(--blue); }
.tag-yellow { background: var(--yellow-soft); color: #8a6400; }
.split-col li { padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.split-col li:last-child { border-bottom: 0; }
.split-col small { color: var(--muted); font-size: 13px; }

/* ---------- Strength ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.reasons li { padding: 40px 36px 8px; }
.reasons li + li { border-left: 1px solid var(--line); }
.reason-no { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--blue); text-transform: uppercase; }
.reasons h3 { font-size: 22px; margin: 12px 0 16px; }
.reasons p { font-size: 15px; color: var(--muted); }

.compare { margin-top: 96px; }
.compare-title { font-size: 24px; text-align: center; margin-bottom: 32px; letter-spacing: .08em; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.8; }
.compare-table th, .compare-table td { padding: 26px 28px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { font-size: 16px; padding-top: 22px; padding-bottom: 22px; border-bottom: 0; background: var(--bg-alt); color: var(--muted); }
.compare-table thead th.col-us { background: var(--navy); color: #fff; border-radius: var(--radius) var(--radius) 0 0; }
.compare-table thead th:first-child { background: transparent; }
.compare-table tbody th { width: 170px; font-weight: 700; color: var(--navy); }
.compare-table td { color: var(--muted); width: 41%; }
.compare-table td.col-us { background: var(--blue-soft); color: var(--ink); font-weight: 500; }
.compare-table tbody tr:last-child td.col-us { border-radius: 0 0 var(--radius) var(--radius); }

/* ---------- Safety ---------- */
.safety { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.safety::before {
  content: ""; position: absolute; right: -180px; top: -180px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(29,111,184,.45), rgba(29,111,184,0) 70%);
}
.safety .container { position: relative; }
.safety .section-lead { color: rgba(255,255,255,.72); }
.safety-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.goals { counter-reset: none; }
.goals li {
  display: flex; gap: 28px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 17px; font-weight: 500;
}
.goals li:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.goals span { font-family: var(--font-en); font-weight: 600; color: var(--yellow); font-size: 15px; letter-spacing: .1em; flex: none; }

.sub-title { margin: 110px 0 36px; font-size: 24px; letter-spacing: .08em; display: flex; align-items: center; gap: 20px; }
.sub-title::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.18); }
.edu-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.edu-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); }
.edu-card { padding: 36px 32px 34px; }
.edu-icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--navy-2)); box-shadow: 0 0 0 6px rgba(29,111,184,.18);
}
.edu-icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.edu-card h4 { font-size: 19px; margin: 26px 0 10px; }
.edu-card p { font-size: 14px; line-height: 1.85; color: rgba(255,255,255,.72); }

/* ---------- Fleet ---------- */
.fleet-figure { position: relative; border-radius: var(--radius); overflow: hidden; }
.fleet-figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 45%; }
.fleet-figure figcaption {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 60px 40px 28px; color: #fff; font-weight: 500; font-size: 17px;
  background: linear-gradient(0deg, rgba(8,28,50,.75), rgba(8,28,50,0));
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 999px; background: var(--yellow); color: var(--navy); }
.fleet-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.spec { border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 40px; }
.spec-maker { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .24em; color: var(--blue); }
.spec h3 { font-size: 22px; margin: 6px 0 18px; }
.spec dl > div { display: flex; gap: 24px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.spec dt { width: 6em; color: var(--muted); flex: none; }
.spec dd { font-weight: 500; }

/* ---------- Support gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery li { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(10,37,64,.04); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.gallery li:hover img { transform: scale(1.05); }
.gallery p { padding: 18px 22px; font-size: 15px; font-weight: 500; position: relative; background: #fff; }

/* ---------- Voice ---------- */
.voice-card {
  display: grid; grid-template-columns: 5fr 7fr; background: var(--bg-alt); border-radius: var(--radius); overflow: hidden;
}
.voice-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; min-height: 360px; }
.voice-body { padding: 64px 64px 56px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.voice-body::before {
  content: "\201C"; position: absolute; top: 18px; left: 52px;
  font-family: Georgia, serif; font-size: 120px; line-height: 1; color: var(--blue); opacity: .18;
}
.voice-body blockquote { position: relative; font-size: 17px; line-height: 2.05; }
.voice-body blockquote p + p { margin-top: 1em; }
.voice-body figcaption { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.voice-org { font-size: 13px; color: var(--muted); }
.voice-name { font-size: 17px; font-weight: 700; }
.voice-body time { font-family: var(--font-en); font-size: 12px; color: var(--muted); margin-top: 6px; letter-spacing: .1em; }

/* ---------- Company ---------- */
.company-table { border-top: 2px solid var(--navy); background: #fff; }
.company-table > div { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--line); }
.company-table dt { padding: 26px 32px; font-weight: 700; color: var(--navy); background: #fbfcfd; }
.company-table dd { padding: 26px 32px; }
.company-table a { color: var(--blue); font-family: var(--font-en); font-weight: 600; }

.map { margin-top: 40px; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.map iframe { display: block; width: 100%; height: 360px; border: 0; }

.policy { margin-top: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.policy summary {
  list-style: none; cursor: pointer; padding: 22px 32px; font-weight: 700; display: flex; justify-content: space-between; align-items: center;
}
.policy summary::-webkit-details-marker { display: none; }
.policy summary::after { content: "+"; font-family: var(--font-en); font-size: 22px; font-weight: 500; color: var(--blue); transition: transform .3s var(--ease); }
.policy[open] summary::after { transform: rotate(45deg); }
.policy-body { padding: 0 32px 30px; font-size: 14px; color: var(--muted); }
.policy-body ul { margin-top: 14px; }
.policy-body li { position: relative; padding-left: 18px; }
.policy-body li + li { margin-top: 8px; }
.policy-body li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.policy-body a { color: var(--blue); text-decoration: underline; }
.policy + .policy { margin-top: 12px; }

/* ---------- Contact ---------- */
.contact {
  padding: 120px 0; color: #fff;
  background:
    linear-gradient(120deg, rgba(10,37,64,.96), rgba(18,58,99,.9)),
    center 70% / cover no-repeat url("../img/fleet-close.jpg");
}
.contact-inner { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.contact-title { font-size: clamp(26px, 3vw, 38px); line-height: 1.55; letter-spacing: .06em; }
.contact-lead { margin-top: 20px; color: rgba(255,255,255,.75); max-width: 520px; }
.tel-box {
  display: flex; flex-direction: column; align-items: stretch;
  padding: 16px 40px 28px; background: #fff; color: var(--navy); border-radius: var(--radius);
}
.tel-line {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 0;
  transition: opacity .3s var(--ease);
}
.tel-line + .tel-line { border-top: 1px solid var(--line); }
.tel-line:hover { opacity: .75; }
.tel-label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.tel-tag { font-size: 12px; font-weight: 700; background: #d6334a; color: #fff; padding: 3px 14px; border-radius: 999px; letter-spacing: .1em; }
.tel-num { margin-top: 4px; display: flex; align-items: center; gap: 12px; font-family: var(--font-en); font-weight: 700; font-size: clamp(30px, 3.2vw, 40px); letter-spacing: .02em; line-height: 1.1; }
.tel-num svg { width: .8em; height: .8em; fill: var(--blue); }
.tel-ruby { font-size: 11px; color: var(--muted); letter-spacing: .3em; padding-left: 2.6em; }
.tel-hours { padding-top: 14px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; color: var(--muted); }

/* 電話ボタンの出し分け（PC：フリーダイヤル／スマホ：携帯用番号） */
.sp-only-flex { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: #071a2e; color: rgba(255,255,255,.75); padding: 80px 0 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 56px; }
.brand-light { color: #fff; margin-bottom: 22px; }
.footer-brand p { line-height: 1.9; font-size: 13px; }
.footer-nav { display: flex; gap: 72px; }
.footer-nav li + li { margin-top: 12px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: 28px;
  border-top: 1px solid rgba(255,255,255,.1); font-family: var(--font-en); font-size: 12px; letter-spacing: .08em;
}
.to-top { font-family: var(--font-en); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 11px; }
.to-top:hover { color: #fff; }

.sp-call { display: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .global-nav ul { gap: 20px; }
  .global-nav ul a { font-size: 13px; }
  .global-nav { gap: 24px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .site-header.is-scrolled { --header-h: 64px; }
  .header-inner { padding: 0 20px; }
  .nav-toggle { display: block; z-index: 2; }

  .global-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: stretch; gap: 32px;
    padding: 80px 32px 40px; background: var(--navy); color: #fff;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .global-nav.is-open { opacity: 1; visibility: visible; }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav ul a { display: block; padding: 18px 0; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .global-nav ul a::after { display: none; }
  .nav-cta { min-height: 56px; font-size: 16px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { color: #fff; background: transparent; box-shadow: none; }

  .container { padding-inline: 24px; }
  .section { padding: 96px 0; }
  .section-head { margin-bottom: 44px; }

  .about-grid, .safety-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-body { padding-top: 0; }
  .figures { grid-template-columns: repeat(2, 1fr); margin-top: 64px; }
  .figures li:nth-child(3) { border-left: 0; }
  .figures li:nth-child(n+3) { border-top: 1px solid var(--line); }

  .service-cards, .reasons, .edu-cards { grid-template-columns: 1fr; }
  .reasons li + li { border-left: 0; border-top: 1px solid var(--line); }
  .reasons li { padding: 32px 4px; }
  .split-box { grid-template-columns: 1fr; }
  .split-col + .split-col { border-left: 0; border-top: 1px solid var(--line); }
  .split-col { padding: 36px 28px; }

  .gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .fleet-specs { grid-template-columns: 1fr; }
  .fleet-figure img { aspect-ratio: 16 / 10; }

  .voice-card { grid-template-columns: 1fr; }
  .voice-photo img { min-height: 0; aspect-ratio: 4 / 3; }
  .voice-body { padding: 48px 28px 40px; }
  .voice-body::before { left: 20px; top: 8px; }

  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { flex-direction: column; }
  .sub-title { margin-top: 80px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .sp-only { display: inline; }
  .pc-only { display: none; }
  .sp-only-flex { display: inline-flex !important; }
  .pc-only-flex { display: none !important; }
  .container { padding-inline: 16px; }
  .section { padding: 80px 0; }

  .hero-media img { object-position: 62% 60%; }
  .hero-media::after {
    background: linear-gradient(0deg, rgba(8,28,50,.85) 0%, rgba(8,28,50,.45) 55%, rgba(8,28,50,.2) 100%);
  }
  .hero { justify-content: flex-end; }
  .hero-content { padding-bottom: 150px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: .14em; margin-bottom: 18px; }
  .hero-eyebrow::before { width: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-scroll { display: none; }
  .news-inner { gap: 4px 14px; flex-wrap: wrap; min-height: 0; padding-top: 14px; padding-bottom: 14px; font-size: 13px; line-height: 1.6; }
  .news-label { padding-right: 14px; }
  .news-link { flex-basis: 100%; }
  .news-link::after { width: 28px; height: 28px; }

  .figures li { padding: 32px 12px; }
  .fig-note { font-size: 12px; }
  .service-card { padding: 40px 24px 32px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery p { padding: 12px 14px; font-size: 13px; line-height: 1.6; }
  .goals li { gap: 18px; font-size: 15px; padding: 20px 0; }
  .fleet-figure figcaption { position: static; background: var(--navy); padding: 18px 20px; font-size: 14px; }
  .spec { padding: 28px 24px; }

  .company-table > div { grid-template-columns: 1fr; }
  .company-table dt { padding: 16px 20px 6px; background: transparent; font-size: 13px; }
  .company-table dd { padding: 0 20px 18px; font-size: 14px; }
  .policy summary { padding: 18px 20px; font-size: 14px; }
  .policy-body { padding: 0 20px 24px; }

  .tel-box { padding: 8px 20px 24px; }
  .footer-nav { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; padding-bottom: 96px; }

  .sp-call {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    min-height: 56px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; font-size: 15px;
    box-shadow: 0 10px 30px -8px rgba(10,37,64,.5);
    transform: translateY(140%); transition: transform .4s var(--ease);
  }
  .sp-call svg { width: 18px; height: 18px; fill: currentColor; }
  .sp-call.is-shown { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
