@charset "UTF-8";

:root {
  --primary: #00568f;
  --primary-dark: #063e65;
  --accent: #1787be;
  --text: #24323c;
  --muted: #66737c;
  --line: #dbe5eb;
  --light: #f3f8fb;
  --white: #fff;
  --shadow: 0 12px 34px rgba(0, 61, 102, .11);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.container { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(0,86,143,.12);
}
.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 80px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.site-logo { width: 260px; max-width: 100%; flex-shrink: 0; }
.global-nav { display: flex; align-self: stretch; }
.global-nav a {
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.global-nav a:hover, .global-nav a[aria-current="page"] { border-bottom-color: var(--accent); }

.hero { position: relative; height: 440px; overflow: hidden; background: var(--primary-dark); }
.hero > img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,35,60,.78), rgba(0,49,82,.30) 62%, rgba(0,0,0,.08));
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: max(70px, calc((100vw - 1080px) / 2 + 30px));
  right: 40px;
  top: 42%;
  transform: translateY(-50%);
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.42);
}
.hero h1 { margin: 0; font-size: clamp(30px,3.3vw,45px); font-weight: 600; line-height: 1.43; letter-spacing: .025em; }
.hero h1 span { display: inline-block; white-space: nowrap; }
.temporary-notice {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(640px, calc(100% - 40px));
  padding: 13px 20px;
  color: #fff;
  background: rgba(0,61,102,.88);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 9px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.temporary-notice p { margin: 0; font-size: 13px; line-height: 1.48; }
.temporary-notice strong { font-size: 15px; }

.section { padding: 78px 0; }
.section-label { margin: 0 0 8px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .22em; text-align: center; }
.section-label.light { color: #c9ecff; }
.section-title { margin: 0 0 36px; color: var(--primary-dark); font-size: clamp(27px,3vw,38px); line-height: 1.45; text-align: center; }
.section-title::after { content: ""; display: block; width: 66px; height: 3px; margin: 15px auto 0; background: var(--accent); }
.introduction-body { max-width: 760px; margin-inline: auto; font-size: 16.5px; line-height: 1.65; }
.introduction-body p { margin: 0 0 10px; }
.introduction-body p:last-child { margin-bottom: 0; }
.introduction-body .emphasis { margin: 14px 0; color: var(--primary); font-size: 21px; font-weight: 800; }

.recruit-section { padding: 62px 0; color: #fff; background: linear-gradient(120deg,rgba(0,63,107,.96),rgba(0,118,176,.91)), url("../images/main.jpg") center/cover; }
.recruit-box { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.recruit-text h2 { margin: 0 0 22px; font-size: clamp(27px,3vw,40px); line-height: 1.4; }
.recruit-text p { margin: 0; }
.button {
  display: inline-flex;
  min-height: 56px;
  padding: 12px 30px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.button-light { color: var(--primary-dark); background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.button-primary { color: #fff; background: var(--primary); box-shadow: 0 8px 22px rgba(0,86,143,.22); }
.button-primary:hover { background: var(--primary-dark); }

.contact-section { background: var(--light); }
.contact-intro { max-width: 780px; margin: 0 auto 36px; line-height: 1.9; text-align: center; }
.contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; align-items: start; }
.contact-left-column { display: grid; gap: 26px; min-width: 0; }
.contact-card { width: 100%; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card h3 { margin: 0 0 16px; color: var(--primary-dark); font-size: 21px; font-weight: 700; line-height: 1.4; text-align: left; }
.contact-number { display: grid; grid-template-columns: 60px minmax(0,1fr); align-items: center; min-height: 60px; margin-bottom: 11px; padding: 10px 15px; color: var(--primary-dark); background: #f5fafe; border: 1px solid #e1edf4; border-radius: 9px; font-size: clamp(20px,2.5vw,28px); font-weight: 800; line-height: 1.2; }
.contact-label { justify-self: start; }
.free-number .contact-label img { width: auto; height: 21px; max-width: 60px; object-fit: contain; }
.text-label .contact-label { width: 30px; color: var(--primary); font-size: 17px; letter-spacing: .04em; }
.contact-value { display: block; min-width: 0; }
.contact-tel-link, .contact-tel-link:link, .contact-tel-link:visited, .contact-tel-link:hover, .contact-tel-link:active, .contact-tel-link:focus { color: inherit; text-decoration: none; border-bottom: 0; box-shadow: none; }
.note-box { margin-top: 11px; padding-top: 17px; border-top: 1px solid var(--line); }
.note-box p { margin: 0; }
.contact-note { color: var(--muted); font-family: inherit; font-size: 13px; font-weight: 400; }
.emergency-note { margin-top: 6px !important; line-height: 1.65; }
.mailform-card { min-height: 190px; }
.mailform-button-wrap { text-align: center; }
.mailform-note-box { margin-top: 20px; padding-top: 16px; }
.mailform-note { line-height: 1.4; }
.address-text { margin: 0; line-height: 1.35; }
.map-wrap { height: 460px; margin-top: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #eaf0f3; }
.map-wrap iframe { width: 100%; height: 140%; border: 0; transform: translateY(-26%); }
.map-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; color: var(--primary); font-size: 0.88rem; font-weight: 400; text-decoration: none; }
.map-link:hover { text-decoration: underline; }

.site-footer { color: var(--text); background: #fff; border-top: 1px solid var(--line); text-align: center; }
.footer-main { padding: 20px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; }
.footer-logo { width: 254px; max-width: 100%; margin: 0 auto 6px; }
.footer-address { margin: 0; line-height: 1.35; }
.footer-tel-link, .footer-tel-link:link, .footer-tel-link:visited, .footer-tel-link:hover, .footer-tel-link:active, .footer-tel-link:focus { color: inherit; text-decoration: none; border-bottom: 0; box-shadow: none; }
.footer-copy { padding: 16px 0; background: #eef6fa; border-top: 1px solid #d9e8f0; }
.copyright { margin: 0; color: var(--muted); font-size: 12px; }

.floating-recruit { position: fixed; z-index: 950; right: 16px; bottom: 55px; width: 130px; max-width: calc(100vw - 32px); filter: drop-shadow(0 8px 18px rgba(0,0,0,.23)); }
.floating-recruit img { width: 100%; height: auto; }

.button:focus-visible, .global-nav a:focus-visible, .map-link:focus-visible, .floating-recruit:focus-visible, .contact-tel-link:focus-visible, .footer-tel-link:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }

@media (max-width: 900px) {
  .site-logo { width: 225px; }
  .global-nav a { min-width: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrap { height: 360px; }
  .floating-recruit { right: 12px; bottom: 40px; width: 106px; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .container { width: min(100% - 28px,1080px); }
  .header-inner { width: 100%; padding: 10px 14px 0; flex-direction: column; gap: 8px; }
  .site-logo { width: 188px; }
  .global-nav { width: calc(100% + 28px); min-height: 47px; border-top: 1px solid var(--line); }
  .global-nav a { flex: 1; padding: 8px 5px; font-size: 13px; }
  .hero { height: 350px; }
  .hero > img { object-position: center 50%; }
  .hero-shade { background: linear-gradient(rgba(0,42,72,.55),rgba(0,42,72,.66)); }
  .hero-copy { left: 20px; right: 20px; top: 35%; }
  .hero h1 { font-size: 27px; line-height: 1.52; letter-spacing: .02em; }
  .hero h1 span { white-space: normal; }
  .temporary-notice { bottom: 13px; width: calc(100% - 28px); padding: 10px 12px; }
  .temporary-notice strong { font-size: 13px; }
  .temporary-notice p { font-size: 11.5px; line-height: 1.55; }
  .section { padding: 58px 0; }
  .section-title { margin-bottom: 30px; }
  .introduction-body { font-size: 15px; line-height: 1.95; }
  .introduction-body .emphasis { font-size: 19px; }
  .recruit-section { padding: 52px 0; }
  .button { width: 100%; min-height: 54px; padding: 12px 20px; }
  .contact-intro { text-align: left; }
  .contact-card { padding: 22px 18px; }
  .map-wrap { height: 360px; }
  .contact-number { grid-template-columns: 54px minmax(0,1fr); min-height: 58px; padding: 10px 12px; font-size: 20px; }
  .free-number .contact-label img { height: 18px; max-width: 54px; }
  .text-label .contact-label { font-size: 15px; }
  .footer-logo { width: 206px; }
  .site-footer { padding-bottom: 88px; }
  .floating-recruit { right: 8px; bottom: 30px; width: 92px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
