:root {
  --navy: #001b44;
  --navy2: #002c6a;
  --gray: #e6e8ec;
  --pale: #f0f4f8;
  --muted: #405473;
  --header-h: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5, p { margin: 0; }
h1, h2, h3 { line-height: 1.3; font-weight: 700; word-break: auto-phrase; }
.wrap { width: min(1160px, 100% - 80px); margin-inline: auto; }
.lines { white-space: pre-line; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 30; padding: 8px 16px; background: #fff; color: #116dff; }
.skip:focus { top: 8px; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--gray); }
.site-header .inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); padding: 8px 24px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--navy); font-size: 24px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.logo { position: relative; display: block; width: 63px; aspect-ratio: 200 / 168; flex: none; }
.logo img, .logo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nav ul { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.menu-tel { display: none; }
.nav a { font-size: 14px; letter-spacing: .08em; text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.menu-btn { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer; }
.menu-btn span { display: block; height: 2px; margin: 6px 0; background: var(--navy); }

/* ボタン */
.btn { display: inline-block; padding: 14px 28px; background: var(--navy2); color: #fff; font-size: 16px; line-height: 1.4; text-align: center; text-decoration: none; }
.btn:hover { background: var(--navy); }
.btn.line { background: #fff; color: var(--navy2); border: 1px solid var(--navy2); }
.btn.line:hover { background: var(--pale); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.nav-tel { flex: none; padding: 12px 20px; font-size: 14px; white-space: nowrap; }

/* 見出し */
.big { font-size: clamp(32px, 5vw, 63px); }
.page-title { font-size: clamp(32px, 5vw, 64px); }
.section { padding-block: clamp(56px, 8vw, 96px); }
.center { text-align: center; }
.mt { margin-top: 24px; }
.mt-lg { margin-top: 40px; }

/* トップ：地図 */
.hero { position: relative; background: #07122b; }
.hero iframe { display: block; width: 100%; aspect-ratio: 1376 / 768; min-height: 520px; max-height: 736px; border: 0; }
.hero h1 { position: absolute; left: 40px; bottom: 28px; z-index: 2; color: #ccd1d9; font-size: 14px; pointer-events: none; }

.thoughts { background: var(--navy); color: #fff; text-align: center; }
.thoughts p { margin-top: 32px; font-size: clamp(16px, 2.4vw, 28px); line-height: 1.7; }

.area { background: var(--gray); }
.area .wrap { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 56px; }
.area p { margin-top: 24px; font-size: 20px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { padding: 36px 32px 32px; background: var(--gray); display: flex; flex-direction: column; }
.card img { width: 55px; height: 55px; }
.card h5 { margin-top: 16px; font-size: 30px; line-height: 1.3; }
.card p { margin-top: 12px; flex: 1; }
.card .btn { margin-top: 20px; padding-inline: 12px; }

.driver { position: relative; background: url(/assets/img/driver.webp) right 30% / cover no-repeat; }
.driver .panel { width: min(560px, 100%); padding: 40px; background: rgba(240, 244, 248, .95); }
.driver h3 { text-align: center; font-size: clamp(28px, 3.4vw, 40px); }
.driver p { margin-top: 20px; font-size: 15px; }
.driver .btn { display: block; width: fit-content; margin: 24px auto 0; }

.meisai-band { background: var(--navy2); color: #fff; }
.meisai-band .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.meisai-band h3 { font-size: clamp(30px, 4.4vw, 55px); }
.meisai-band p.body { margin-top: 28px; font-size: 18px; }
.meisai-band .btn { margin-top: 32px; }
.shots { display: grid; gap: 24px; }

.photo { position: relative; margin: 0; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 12px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 14px; font-weight: 700; text-align: center; }

.contact .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.contact h2.big::after { content: ""; display: block; width: 72px; height: 3px; margin-top: 20px; background: var(--navy); }
.contact h3 { margin-top: 12px; font-size: 20px; }
.contact h3 a { text-decoration: underline; }
.form-title { font-size: 28px; font-weight: 400; }

/* フォームの置き場所 */
.form-slot { margin-top: 24px; }
.form-slot iframe { display: block; width: 100%; border: 0; }
.form-placeholder { padding: 32px 24px; background: var(--pale); border: 2px dashed #9aa8bd; }
.form-placeholder strong { display: block; font-size: 18px; }
.form-placeholder ul { margin: 12px 0 0; padding-left: 1.3em; font-size: 14px; }
.form-box { padding: 32px 24px; background: var(--gray); }
.form-box h2 { font-size: 30px; }
.form-box p { margin-top: 16px; font-size: 14px; }

/* サービス */
.lead { margin-top: 16px; font-size: 20px; text-align: center; }

/* 明細作成代行 */
.meisai-page { background: var(--navy); color: #fff; }
.meisai-page .shots2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 48px; }
.meisai-page .shots2 .photo { margin-top: -48px; }
.meisai-page .text { margin-top: 48px; max-width: 900px; }
.meisai-page .text p + p { margin-top: 1.5em; }
.meisai-page .end { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-top: 40px; }
.meisai-page .end a:not(.btn) { color: #fff; }
.meisai-page .end .btn { margin-top: 20px; background: #fff; color: var(--navy); }
.form-section { padding-block: 32px 80px; }
.form-section .form-box { width: min(760px, 100%); margin-inline: auto; }

/* 募集 */
.recruit-hero { padding-block: clamp(72px, 12vw, 150px); background: var(--navy); color: #fff; text-align: center; }
.recruit-hero h1 { font-size: clamp(36px, 7vw, 87px); }
.recruit-hero .btn { margin-top: 48px; background: #fff; color: var(--navy2); }
.ways { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.ways p { margin-top: 20px; font-size: 20px; }
.tag-big { margin-top: 48px; color: var(--navy2); font-size: clamp(26px, 4vw, 47px); text-align: center; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.tile { padding: 30px 16px; background: var(--pale); font-size: 24px; text-align: center; }
.tile.wide { grid-column: 1 / -1; }
.interview { text-align: center; }
.interview p { margin-top: 16px; font-size: 20px; }
.interview .btn { margin-top: 32px; }

/* 会社概要 */
.company-table { width: 100%; margin-top: 56px; border-collapse: collapse; }
.company-table th, .company-table td { padding: 12px 0; border-bottom: 1px solid var(--gray); font-weight: 400; text-align: left; vertical-align: top; }
.company-table th { width: 25%; padding-right: 16px; }

.policy { margin-top: 40px; font-size: 20px; }

/* フッター */
.site-footer { border-top: 1px solid var(--gray); padding-block: 56px 32px; }
.site-footer .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot-brand { display: flex; align-items: center; gap: 16px; font-size: 32px; }
.foot-brand .logo { width: 108px; }
.site-footer .btn { background: var(--navy); }
.foot-links { margin-top: 40px; font-size: 12px; text-align: center; }
.foot-copy { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--gray); color: var(--muted); font-size: 14px; text-align: center; }

.notfound { min-height: 50vh; }

a:focus-visible, button:focus-visible { outline: 2px solid #116dff; outline-offset: 2px; }

@media (max-width: 1160px) {
  :root { --header-h: 72px; }
  .site-header .inner { padding: 6px 16px; gap: 8px; }
  .brand { font-size: 17px; line-height: 1.3; white-space: normal; }
  .brand .name { display: block; width: 6em; }
  .brand .name span { display: inline-block; }
  .nav .menu-tel { display: block; }
  .nav-tel { display: none; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--gray); box-shadow: 0 8px 16px rgba(0, 27, 68, .12); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { display: block; padding: 14px 16px; font-size: 16px; border-top: 1px solid var(--gray); }
  .nav a.btn { margin: 12px 16px; color: #fff; text-align: center; border: 0; }
}
@media (max-width: 860px) {
  .hero iframe { aspect-ratio: auto; max-height: none; height: calc(133vw + 270px); }
  .hero h1 { position: static; padding: 16px; background: var(--navy); font-size: 13px; text-align: center; }
}
@media (max-width: 960px) {
  .wrap { width: calc(100% - 32px); }
  .area .wrap, .meisai-band .wrap, .contact .wrap, .ways { grid-template-columns: 1fr; gap: 32px; }
  .area p, .ways p, .lead, .interview p, .policy { font-size: 17px; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .driver { padding-block: 0 0; background-position: 70% top; background-size: auto 340px; background-color: var(--pale); }
  .driver .wrap { width: 100%; padding-top: 300px; }
  .driver .panel { width: 100%; padding: 28px 16px; }
  .meisai-band p.body { font-size: 16px; }
  .meisai-page .shots2, .meisai-page .end { grid-template-columns: 1fr; gap: 24px; }
  .meisai-page .shots2 .photo { margin-top: 0; }
  .tiles { grid-template-columns: 1fr; gap: 16px; }
  .tile { padding: 20px 12px; font-size: 20px; }
  .company-table th { width: 30%; }
  .foot-brand { font-size: 22px; }
  .foot-brand .logo { width: 72px; }
  .site-footer .top { justify-content: center; text-align: center; }
  .site-footer .btn { display: block; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .logo svg { display: none; }
}
