:root {
  --ink: #172026;
  --muted: #5d6871;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: #d8ddd7;
  --green: #214c3d;
  --green-2: #2f6b54;
  --amber: #c8862f;
  --red: #b94433;
  --shadow: 0 20px 60px rgba(23, 32, 38, 0.14);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
html:has(body.admin-bar) { scroll-padding-top: 114px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif; line-height: 1.7; }
main [id] { scroll-margin-top: 82px; }
body.admin-bar main [id] { scroll-margin-top: 114px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }

.site-header { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 12px clamp(18px, 4vw, 56px); color: var(--white); transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
body.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled, .site-header.is-open { color: var(--ink); background: rgba(255,255,255,.94); box-shadow: 0 10px 35px rgba(23,32,38,.1); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark, .brand-logo { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid currentColor; border-radius: var(--radius); font-weight: 800; object-fit: contain; }
.brand-name, .brand-note { display: block; white-space: nowrap; }
.brand-name { font-size: 16px; font-weight: 800; }
.brand-note { font-size: 11px; opacity: .8; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; }
.site-nav a { padding: 8px 0; }
.nav-contact, .header-phone { padding: 8px 14px !important; border: 1px solid currentColor; border-radius: var(--radius); }
.header-phone { display: none; min-height: 42px; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid currentColor; border-radius: var(--radius); color: inherit; background: transparent; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: currentColor; }

.hero { position: relative; min-height: 92svh; display: grid; align-items: end; overflow: hidden; color: var(--white); background-position: center; background-size: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,24,24,var(--overlay)) 0%, rgba(12,24,24,.67) 38%, rgba(12,24,24,.2) 78%), linear-gradient(0deg, rgba(12,24,24,.7) 0%, rgba(12,24,24,0) 46%); }
.hero-content { position: relative; z-index: 1; width: min(760px,100%); padding: 130px clamp(18px,5vw,64px) 38px; }
.eyebrow, .section-kicker { margin: 0 0 10px; color: var(--amber); font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; max-width: 720px; font-size: clamp(34px,8vw,66px); line-height: 1.14; letter-spacing: 0; }
h2 { margin: 0 0 18px; font-size: clamp(28px,5vw,44px); line-height: 1.2; letter-spacing: 0; }
h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.35; letter-spacing: 0; }
.hero-lead { max-width: 640px; margin: 20px 0 0; color: rgba(255,255,255,.88); font-size: clamp(16px,3.8vw,19px); }
.hero-actions, .contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 800; line-height: 1.2; transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(23,32,38,.18); }
.button-primary { color: var(--white); background: var(--red); }
.button-line { color: var(--white); background: var(--green-2); }
.button-secondary { color: var(--green); border-color: var(--green); background: var(--white); }
.hero-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; max-width: 600px; margin: 34px 0 0; background: rgba(255,255,255,.28); }
.hero-facts div { padding: 16px; background: rgba(255,255,255,.12); backdrop-filter: blur(12px); }
.hero-facts dt { font-size: 12px; opacity: .78; }
.hero-facts dd { margin: 4px 0 0; font-size: clamp(15px,4vw,22px); font-weight: 800; }

.section { padding: clamp(64px,10vw,112px) 0; }
.section-band { background: var(--white); }
.section-inner { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.intro { padding: clamp(48px,8vw,84px) 0; }
.intro-grid, .contact-grid, .recruit-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(280px,.95fr); gap: clamp(28px,6vw,72px); align-items: center; }
.section-heading { max-width: 680px; margin-bottom: 30px; }
.section-heading p, .intro-grid p, .contact-grid p, .recruit-grid p { margin: 0; color: var(--muted); }
.info-list, .job-list, .faq-list { display: grid; gap: 12px; }
.info-list div, .job-list div, .strength-item, .service-card, .fleet-card, .faq-item, .contact-form { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.info-list div, .job-list div { padding: 18px; }
.info-list span, .job-list span, .strength-item span, .fleet-card span { display: block; margin-bottom: 4px; color: var(--green-2); font-size: 12px; font-weight: 800; }
.info-list strong, .job-list strong { display: block; line-height: 1.45; }
.service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.service-card { min-height: 260px; padding: 22px; box-shadow: 0 8px 30px rgba(23,32,38,.06); }
.card-number { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 34px; margin-bottom: 38px; border-radius: var(--radius); color: var(--white); background: var(--green); font-weight: 800; }
.service-card p, .strength-item p, .fleet-card p { margin: 0; color: var(--muted); font-size: 14px; }
.map-panel { min-height: 360px; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(90deg, rgba(33,76,61,.12) 1px, transparent 1px), linear-gradient(0deg, rgba(33,76,61,.12) 1px, transparent 1px), #eef0ec; background-size: 28px 28px; box-shadow: var(--shadow); }
.map-panel iframe { display: block; width: 100%; min-height: 360px; border: 0; }
.map-placeholder { display: grid; min-height: 360px; place-items: center; align-content: center; gap: 8px; padding: 28px; text-align: center; }
.map-placeholder span { color: var(--amber); font-size: 12px; font-weight: 800; }
.map-placeholder strong { font-size: 26px; }
.map-placeholder small { max-width: 320px; color: var(--muted); }
.strength-grid, .fleet-grid, .photo-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.strength-item, .fleet-card { padding: 24px; }
.strength-item strong, .fleet-card strong { display: block; margin-bottom: 8px; font-size: 24px; line-height: 1.25; }
.fleet-image, .strength-icon { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.gallery-item { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-item figcaption { padding: 12px 14px; color: var(--muted); font-size: 13px; font-weight: 700; }
.faq-item { padding: 18px 20px; }
.faq-item summary { cursor: pointer; font-weight: 800; }
.faq-item p { margin: 12px 0 0; color: var(--muted); }
.contact-section { background: var(--green); color: var(--white); }
.contact-section .section-kicker { color: #f0b35e; }
.contact-section p { color: rgba(255,255,255,.8); }
.contact-form { padding: 22px; color: var(--ink); box-shadow: var(--shadow); }
.contact-form-section .wpcf7 label,
.contact-form-section .wpcf7 p,
.contact-form-section .wpcf7 .wpcf7-list-item-label {
  color: #1b2730;
  opacity: 1;
  visibility: visible;
}
.contact-form-section .wpcf7 label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-form-section .wpcf7 input,
.contact-form-section .wpcf7 textarea {
  color: #1b2730;
  background: #fff;
}
.contact-section .contact-form .wpcf7 { color: var(--ink); }
.contact-section .contact-form .wpcf7 p,
.contact-section .contact-form .wpcf7 label,
.contact-section .contact-form .wpcf7 .wpcf7-list-item-label,
.contact-section .contact-form .wpcf7 .form-label {
  color: var(--ink);
}
.contact-section .contact-form .wpcf7 p { margin: 0 0 16px; }
.contact-section .contact-form .wpcf7 label,
.contact-section .contact-form .wpcf7 .form-label { gap: 7px; font-size: 14px; font-weight: 800; line-height: 1.5; }
.contact-section .contact-form .wpcf7 .required-badge { display: inline-flex; width: fit-content; margin-left: 6px; padding: 2px 7px; border-radius: 999px; color: var(--white); background: var(--red); font-size: 11px; font-weight: 800; line-height: 1.3; vertical-align: 1px; }
.contact-section .contact-form .wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 7px; }
.contact-section .contact-form .wpcf7 input:not([type="checkbox"]):not([type="radio"]),
.contact-section .contact-form .wpcf7 textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 13px; color: var(--ink); background: #fbfbf8; }
.contact-section .contact-form .wpcf7 textarea { min-height: 150px; resize: vertical; }
.contact-section .contact-form .wpcf7 input::placeholder,
.contact-section .contact-form .wpcf7 textarea::placeholder { color: #8a949c; opacity: 1; }
.contact-section .contact-form .wpcf7 input:focus,
.contact-section .contact-form .wpcf7 textarea:focus { outline: 3px solid rgba(200,134,47,.28); border-color: var(--amber); }
.contact-section .contact-form .wpcf7 .wpcf7-list-item { display: inline-flex; align-items: flex-start; gap: 8px; margin: 0; }
.contact-section .contact-form .wpcf7 input[type="checkbox"] { width: 18px; height: 18px; margin: 3px 0 0; flex: 0 0 auto; }
.contact-section .contact-form .wpcf7 input[type="submit"] { width: 100%; min-height: 48px; border: 0; border-radius: var(--radius); color: var(--white); background: var(--green); font-weight: 800; cursor: pointer; }
.contact-section .contact-form .wpcf7 .wpcf7-not-valid-tip { margin-top: 6px; color: var(--red); font-size: 13px; font-weight: 800; }
.contact-section .contact-form .wpcf7 form .wpcf7-response-output { margin: 14px 0 0; padding: 12px; border-radius: var(--radius); color: var(--ink); }
.contact-section .contact-form-section,
.contact-section .contact-form-section .wpcf7 {
  color: #1b2730 !important;
}
.contact-form-section .wpcf7 label,
.contact-form-section .wpcf7 p,
.contact-form-section .wpcf7 .wpcf7-list-item-label {
  color: #1b2730 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.contact-form-section .wpcf7 label {
  display: block !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}
.contact-form-section .wpcf7 input,
.contact-form-section .wpcf7 textarea {
  color: #1b2730 !important;
  background: #fff !important;
}
.contact-form-section .wpcf7 input[type="submit"] {
  color: #fff !important;
  background: var(--green) !important;
}
.public-links { display: flex; flex-wrap: wrap; gap: 10px; }
.public-links a { padding: 9px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-weight: 800; }
.fixed-cta { position: fixed; z-index: 15; right: 16px; bottom: 16px; display: none; min-height: 48px; align-items: center; justify-content: center; padding: 12px 18px; border-radius: var(--radius); color: var(--white); background: var(--red); box-shadow: 0 12px 28px rgba(23,32,38,.22); font-weight: 800; }
.site-footer { padding: 34px 0; color: rgba(255,255,255,.78); background: #172026; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.footer-inner p { margin: 0; }
.footer-info { display: grid; gap: 4px; text-align: right; }

@media (max-width: 920px) {
  .nav-toggle, .header-phone { display: block; }
  .site-nav { position: fixed; top: 72px; left: 12px; right: 12px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--white); box-shadow: var(--shadow); }
  body.admin-bar .site-nav { top: 104px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px !important; border-radius: var(--radius); }
  .site-nav a:hover { background: var(--paper); }
  .intro-grid, .contact-grid, .recruit-grid { grid-template-columns: 1fr; }
  .service-grid, .strength-grid, .fleet-grid, .photo-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .site-header { min-height: 66px; padding: 10px 14px; gap: 10px; }
  .brand { flex: 1 1 auto; }
  .brand-note { display: none; }
  .brand-name { max-width: calc(100vw - 150px); overflow: hidden; text-overflow: ellipsis; }
  .brand-mark, .brand-logo { width: 38px; height: 38px; }
  .header-phone { display: none; }
  .nav-toggle { flex: 0 0 44px; }
  .site-nav { top: 66px; }
  body.admin-bar .site-nav { top: 98px; }
  .hero { min-height: 94svh; background-position: 64% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(12,24,24,.9) 0%, rgba(12,24,24,.76) 56%, rgba(12,24,24,.36) 100%), linear-gradient(0deg, rgba(12,24,24,.76) 0%, rgba(12,24,24,0) 45%); }
  .hero-content { padding: 108px 18px 28px; }
  .hero-actions, .contact-buttons { flex-direction: column; }
  .button { width: 100%; }
  .hero-facts, .service-grid, .strength-grid, .fleet-grid, .photo-gallery { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .card-number { margin-bottom: 22px; }
  .map-panel, .map-placeholder, .map-panel iframe { min-height: 300px; }
  .fixed-cta { display: inline-flex; }
  .site-footer { padding-bottom: calc(34px + 48px + 32px + env(safe-area-inset-bottom)); }
  .footer-inner { display: grid; }
  .footer-info { text-align: left; }
}

@media (max-width: 782px) {
  html:has(body.admin-bar) { scroll-padding-top: 112px; }
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .site-nav { top: 118px; }
  body.admin-bar main [id] { scroll-margin-top: 112px; }
}

@media (max-width: 640px) {
  body.admin-bar .site-nav { top: 112px; }
}
