:root {
  --bg-card: #fff;
  --bg-footer: #5872e4;
  --bg-line: #dce7ff;
  --text-main: #111;
  --text-sub: #4b566f;
  --primary: #4f6de0;
  --primary-deep: #2f55c7;
  --shadow: 0 18px 32px rgba(31, 70, 136, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-main);
  background: url(assets/bg_01.jpg) no-repeat top center;
  background-size: contain;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }


.site-shell {
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto;
  padding: 28px 0 36px;
}

.site-header, .page-card, .site-footer { background: var(--bg-card); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
}

.brand img { width: 58px; height: 42px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .95rem;
}

.site-nav a {
  position: relative;
  white-space: nowrap;
}
.site-nav a::before {
  content: "｜";
  padding-right: 10px;
}
.site-nav a:first-child::before {
  content: "";
  padding-right: 8px;
  padding-left: 14px;
}
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }

.nav-cta, .button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6a87f1, var(--primary));
  color: #fff;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(79,109,224,.22);
}

.site-nav a.nav-cta::before {
  content: "";
  padding-right: 0;
}

.page-card {
  padding: 0 46px 72px;
  box-shadow: var(--shadow);
}

.hero, .main-hero {
  display: block;
  width: 100%;
}

.hero, .main-hero img {
  width: 100%;
}

.hero, .sub-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 290px;
  overflow: hidden;
  border-radius: 24px;
  background: #edf6ff;
}

.hero { margin-top: 24px; }

.hero-copy, .sub-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 48px 40px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(27,144,227,.95) 0 55%, rgba(27,144,227,.78) 55% 72%, transparent 72%),
    radial-gradient(circle at 60% 40%, rgba(255,255,255,.26), transparent 24%),
    radial-gradient(circle at 40% 70%, rgba(255,255,255,.18), transparent 30%),
    linear-gradient(140deg, #2aa7ff, #4269f0);
}

.hero-label, .boxed-title {
  display: inline-flex;
  align-self: flex-start;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.72);
  font-size: clamp(1.15rem, 2.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: .24em;
}

.hero h1, .hero-copy h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.3;
}

.hero-photo, .sub-hero-photo, .media-photo, .promo-image, .zigzag-photo {
  position: relative;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(31,49,103,.18), rgba(255,180,37,.22)),
    linear-gradient(45deg, #8aa0b5, #ede6dd 55%, #d6a22f);
}

.hero-photo::before, .sub-hero-photo::before, .media-photo::before, .promo-image::before, .zigzag-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.28));
}

.hero-photo span, .sub-hero-photo span, .media-photo span, .promo-image span, .zigzag-photo span {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  color: var(--primary-deep);
  font-size: .9rem;
  font-weight: 700;
}

.alt-two { background: linear-gradient(135deg, rgba(63,100,135,.2), rgba(255,138,81,.25)), linear-gradient(35deg, #7f8b97, #d7d6cf 46%, #3b3f51); }
.alt-three { background: linear-gradient(135deg, rgba(93,85,50,.2), rgba(155,104,18,.25)), linear-gradient(35deg, #826b4a, #d2c7ac 40%, #7d6246); }
.alt-four { background: linear-gradient(135deg, rgba(36,60,116,.2), rgba(59,119,177,.25)), linear-gradient(35deg, #2d4a7d, #d9e5f2 46%, #6d88af); }
.alt-five { background: linear-gradient(135deg, rgba(66,88,54,.2), rgba(185,152,57,.2)), linear-gradient(35deg, #576851, #d6cab2 45%, #8ba4a2); }
.alt-six { background: linear-gradient(135deg, rgba(57,57,57,.12), rgba(78,120,184,.18)), linear-gradient(35deg, #8d9298, #e7e2d9 50%, #6a7278); }
.alt-seven { background: linear-gradient(135deg, rgba(36,39,59,.1), rgba(114,98,172,.18)), linear-gradient(35deg, #5f628d, #d9d6d8 46%, #84869b); }
.alt-eight { background: linear-gradient(135deg, rgba(87,82,59,.14), rgba(175,154,87,.2)), linear-gradient(35deg, #8d8578, #d7d1c7 46%, #adb0ad); }
.alt-nine { background: linear-gradient(135deg, rgba(41,78,124,.18), rgba(200,126,21,.26)), linear-gradient(35deg, #6e92b9, #ebddbf 46%, #c68621); }
.alt-ten { background: linear-gradient(135deg, rgba(47,76,123,.18), rgba(170,169,169,.2)), linear-gradient(35deg, #7691b0, #efefe9 46%, #8e8e8c); }

.intro, .centered-section, .access-section, .history-section {
  padding: 64px 0 12px;
  /* text-align: center; */
  max-width: 960px;
  margin: 0 auto;
}

.intro p, .centered-section p {
  max-width: 960px;
  margin: 0 auto;
  color: var(--text-sub);
  line-height: 2;
}

.history-intro {
  max-width: 960px;
  margin: 0 auto;
  color: var(--text-sub);
  line-height: 2;
  text-align: center;
}


.section-title {
  position: relative;
  margin: 0 auto 40px;
  width: fit-content;
  padding-bottom: 18px;
  font-size: 1.6rem;
  font-weight: 800;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 220px;
  height: 2px;
  background: var(--primary);
  transform: translateX(-50%);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 14px solid var(--primary);
  transform: translateX(-50%);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 820px;
  margin: 24px auto 0;
}

.quick-card {
  display: grid;
  place-items: center;
  gap: 18px;
  min-height: 170px;
  padding: 28px;
  border: 1px solid var(--bg-line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(49,70,128,.1);
}

.quick-card img { width: 56px; height: 56px; }
.quick-card strong { font-size: 1.55rem; }

.video-block, .recruit-promo, .service-grid, .zigzag-grid, .form-card, .info-table, .history-list {
  margin-top: 56px;
}

.video-placeholder, .map-placeholder {
  display: grid;
  place-items: center;
  gap: 18px;
  min-height: 420px;
  /* border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(18,114,186,.4), rgba(12,34,73,.4)),
    linear-gradient(45deg, #7d8b95, #c1d0da 42%, #788693); */
}

.video-placeholder a {
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--primary-deep);
  font-weight: 700;
}

.recruit-promo {
  display: grid;
  grid-template-columns: 340px 1fr;
  overflow: hidden;
  border-radius: 22px;
  background: #edf0ff;
}

.promo-image { min-height: 240px; }

.promo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 36px;
}

.promo-copy h2, .lead-title, .small-heading {
  margin: 0;
  font-weight: 800;
}

.promo-copy p, .zigzag-copy p, .service-card p, .text-block p, .info-table dd, .history-list dd {
  color: var(--text-sub);
  line-height: 2;
}

.profile-badge {
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  margin: 0 auto 20px;
  /* border: 6px solid var(--primary);
  border-radius: 50%;
  background: linear-gradient(180deg, #d8f5ff, #f9fbff);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-deep); */
}

.text-block {
  display: grid;
  gap: 20px;
  max-width: 960px;
  margin: 28px auto 0;
  text-align: left;
}

.text-block.compact {
  max-width: 820px;
  text-align: center;
}

body {
  overflow-x: hidden;
}

.site-header,
.page-card,
.site-footer,
.hero,
.sub-hero,
.video-placeholder,
.map-placeholder,
.form-card,
.quick-card,
.recruit-promo {
  max-width: 100%;
}

.site-nav a,
.brand span,
.section-title,
.lead-title,
.service-card h2,
.zigzag-copy h2,
.quick-card strong,
.footer-phone {
  overflow-wrap: anywhere;
}

.service-card,
.zigzag-copy,
.promo-copy,
.text-block,
.info-table dd,
.history-list dd {
  min-width: 0;
}

.t_point {
  color:#4A6CDB;
  display: block;
}

.t_sub {
  display: block;
}
ul.note {
  margin: 2px 0 0;
  padding: 0;
}

ul.note li {
  list-style: none;
}
ul.note li::before {
  content:"※";
  padding-right: 2px;
}

ul.point {
  margin: 2px 0 0;
  padding: 0;
}
ul.point li {
  color:#4A6CDB;
  list-style: none;
}
ul.point li::before {
  content:"■";
  padding-right: 2px;
}
@media (max-width: 1100px) {
  .site-shell {
    width: min(calc(100% - 24px), 1180px);
  }

  .site-header {
    gap: 16px;
    padding: 16px 20px;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.88rem;
  }

  .page-card {
    padding: 0 28px 56px;
  }

  .hero,
  .sub-hero {
    min-height: 250px;
  }

  .hero-copy,
  .sub-hero-copy {
    padding: 36px 28px;
  }

  .quick-links,
  .service-grid {
    gap: 20px;
  }

  .recruit-promo {
    grid-template-columns: 280px 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    align-items: center;
    border-radius: 22px 22px 0 0;
  }

  .brand {
    gap: 10px;
    max-width: calc(100% - 56px);
    font-size: 0.92rem;
  }

  .brand span {
    line-height: 1.35;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    z-index: 20;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
  }

  .page-card {
    padding: 0 20px 48px;
  }

  .hero,
  .sub-hero,
  .quick-links,
  .service-grid,
  .recruit-promo,
  .zigzag-row,
  .zigzag-row.reverse {
    grid-template-columns: 1fr;
  }

  .hero,
  .sub-hero {
    min-height: auto;
  }

  .hero-copy,
  .sub-hero-copy {
    min-height: 200px;
  }

  .hero-photo,
  .sub-hero-photo {
    min-height: 220px;
  }

  .quick-card,
  .service-card,
  .zigzag-copy {
    min-height: auto;
  }

  .zigzag-row.reverse .zigzag-photo,
  .zigzag-row.reverse .zigzag-copy {
    order: initial;
  }

  .zigzag-copy,
  .promo-copy {
    padding: 26px 20px;
  }

  .form-card {
    padding: 28px 20px;
  }

  .form-row,
  .info-table div,
  .history-list div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .form-row span {
    padding-top: 0;
  }

  .form-row input,
  .form-row textarea {
    min-height: 48px;
  }

  .textarea-row textarea {
    min-height: 180px;
  }

  .video-placeholder,
  .map-placeholder,
  .recruit-video {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 14px), 1180px);
    padding: 10px 0 18px;
  }

  .site-header {
    padding: 14px 14px;
  }

  .brand {
    font-size: 0.8rem;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .page-card {
    padding: 0 14px 36px;
  }

  .hero {
    margin-top: 14px;
  }

  .hero-copy,
  .sub-hero-copy {
    padding: 24px 18px;
    gap: 10px;
  }

  .hero-label,
  .boxed-title {
    padding: 10px 12px;
    font-size: 1rem;
    letter-spacing: 0.16em;
  }

  .hero h1,
  .hero-copy h1 {
    font-size: 1.7rem;
    line-height: 1.35;
  }

  .section-title {
    margin-bottom: 28px;
    padding-bottom: 14px;
    font-size: 1.28rem;
  }

  .section-title::before {
    width: 150px;
  }

  .section-title::after {
    bottom: -10px;
    border-left-width: 8px;
    border-right-width: 8px;
    border-top-width: 12px;
  }

  .intro,
  .centered-section,
  .access-section {
    padding: 40px 0 8px;
  }

  .quick-card {
    min-height: 132px;
    padding: 20px 16px;
  }

  .quick-card strong {
    font-size: 1.25rem;
  }

  .media-photo,
  .zigzag-photo,
  .promo-image {
    min-height: 200px;
  }

  .zigzag-copy h2,
  .promo-copy h2,
  .lead-title {
    font-size: 1.28rem;
  }
  .service-card h2 {
    font-size: 0.95rem;
  }
  .service-card p,
  .zigzag-copy p,
  .promo-copy p,
  .intro p,
  .centered-section p,
  .text-block p,
  .info-table dd,
  .history-list dd {
    font-size: 0.95rem;
    line-height: 1.9;
  }


  .profile-badge {
    width: 92px;
    height: 92px;
    font-size: 1rem;
  }

  .text-block {
    gap: 16px;
    margin-top: 20px;
  }

  .info-table div,
  .history-list div {
    padding: 14px 0;
  }

  .form-card {
    margin-top: 32px;
    padding: 22px 14px;
    border-radius: 20px;
  }

  .consent-row {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    font-size: 0.95rem;
  }

  .button-primary,
  .nav-cta {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.95rem;
  }

  .video-placeholder,
  .map-placeholder,
  .recruit-video {
    min-height: 220px;
    padding: 20px 14px;
  }

  .site-footer {
    padding: 28px 16px 24px;
    border-radius: 0 0 22px 22px;
  }

  .site-footer h2 {
    font-size: 1.3rem;
  }

  .footer-phone {
    font-size: 1.7rem;
  }

  .site-footer p,
  .site-footer small {
    font-size: 0.92rem;
  }
}

.zigzag-grid { display: grid; gap: 26px; }
.zigzag-row { display: grid; grid-template-columns: 1fr .95fr; align-items: center; }
.zigzag-row.reverse { grid-template-columns: .95fr 1fr; }
.zigzag-row.reverse .zigzag-photo { order: 2; }
.zigzag-row.reverse .zigzag-copy { order: 1; }
.zigzag-copy { min-height: 260px; padding: 42px; background: #fff; }
.zigzag-copy h2 { margin-top: 0; font-size: 1.5rem; }
.zigzag-photo { min-height: 260px; border-radius: 0; }
.form-card { max-width: 820px; margin-left: auto; margin-right: auto; padding: 46px 48px; border-radius: 28px; box-shadow: 0 8px 26px rgba(40,59,99,.14); }
.form-row { display: grid; grid-template-columns: 230px 1fr; align-items: start; gap: 22px; margin-bottom: 18px; }
.form-row span { padding-top: 12px; }
.form-row em { font-style: normal; color: #f24141; margin-left: 10px; }
.form-row input, .form-row textarea { width: 100%; padding: 12px 14px; border: 1px solid #bcc7d8; font: inherit; }
.textarea-row textarea { min-height: 220px; resize: vertical; }
.consent-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 28px; }
.form-card .button-primary { display: flex; margin: 0 auto; }
.recruit-video { min-height: 380px; margin-top: 28px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; border: 0; background: transparent; }
.menu-toggle span { width: 26px; height: 3px; border-radius: 999px; background: var(--primary-deep); }
.site-footer { padding: 46px 20px 34px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); text-align: center; color: #fff; background: linear-gradient(180deg, #617cf0, #536cdf); }
.site-footer h2 { margin: 0 0 14px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.site-footer p { margin: 0; }
.site-footer small { margin-top: 20px; }
.site-footer p + p { margin-top: 10px; }
.footer-phone { font-size: 1.46rem; font-weight: 800; }

@media (max-width: 960px) {
  .site-header { position: relative; padding: 16px 18px; border-radius: 20px 20px 0 0; }
  .menu-toggle { display: flex; }
  .site-nav { position: absolute; top: calc(100% + 8px); right: 16px; display: none; flex-direction: column; align-items: stretch; min-width: 240px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); z-index: 20; }
  .site-nav.is-open { display: flex; }
  .page-card { padding: 0 20px 56px; }
  .hero, .sub-hero, .recruit-promo, .zigzag-row, .zigzag-row.reverse, .service-grid, .quick-links { grid-template-columns: 1fr; }
  .hero-copy, .sub-hero-copy { min-height: 220px; }
  .quick-card strong { font-size: 1.4rem; }
  .form-card { padding: 28px 18px; }
  .form-row, .info-table div, .history-list div { grid-template-columns: 1fr; gap: 10px; }
  .zigzag-row.reverse .zigzag-photo, .zigzag-row.reverse .zigzag-copy { order: initial; }
}

@media (max-width: 640px) {
  body { background: radial-gradient(circle at 20px 20px, rgba(255,255,255,.3) 0 7px, transparent 8px), linear-gradient(180deg, #f7fbff 0 12%, #d5efff 12% 74%, #1d95d9 74%, #1276b9 100%); background-size: 90px 90px, 100% 100%; }
  .site-shell { width: min(calc(100% - 18px), 1180px); padding-top: 12px; }
  .brand { font-size: .88rem; }
  .brand img { width: 30px; height: 30px; }
  .hero-label, .boxed-title { padding: 12px 14px; font-size: 1.2rem; }
  .section-title { font-size: 1.4rem; }
  .zigzag-copy, .promo-copy { padding: 24px 18px; }
  .site-footer { padding: 34px 20px; }
}

.zigzag-grid { display: grid; gap: 26px; }
.zigzag-row { display: grid; grid-template-columns: 1fr .95fr; align-items: center; }
.zigzag-row.reverse { grid-template-columns: .95fr 1fr; }
.zigzag-row.reverse .zigzag-photo { order: 2; }
.zigzag-row.reverse .zigzag-copy { order: 1; }
.zigzag-copy { min-height: 260px; padding: 42px; background: #fff; }
.zigzag-copy h2 { margin-top: 0; font-size: 1.5rem; }
.zigzag-photo { min-height: 260px; border-radius: 0; }
.form-card { max-width: 820px; margin-left: auto; margin-right: auto; padding: 46px 48px; border-radius: 28px; box-shadow: 0 8px 26px rgba(40,59,99,.14); }
.form-row { display: grid; grid-template-columns: 230px 1fr; align-items: start; gap: 22px; margin-bottom: 18px; }
.form-row span { padding-top: 12px; }
.form-row em { font-style: normal; color: #f24141; margin-left: 10px; }
.form-row input, .form-row textarea { width: 100%; padding: 12px 14px; border: 1px solid #bcc7d8; font: inherit; }
.textarea-row textarea { min-height: 220px; resize: vertical; }
.consent-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 28px; }
.form-card .button-primary { display: flex; margin: 0 auto; }
.recruit-video { min-height: 380px; margin-top: 28px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; border: 0; background: transparent; }
.menu-toggle span { width: 26px; height: 3px; border-radius: 999px; background: var(--primary-deep); }
@media (max-width: 960px) {
  .site-header { position: relative; padding: 16px 18px; border-radius: 20px 20px 0 0; }
  .menu-toggle { display: flex; }
  .site-nav { position: absolute; top: calc(100% + 8px); right: 16px; display: none; flex-direction: column; align-items: stretch; min-width: 240px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); z-index: 20; }
  .site-nav.is-open { display: flex; }
  .page-card { padding: 0 20px 56px; }
  .hero, .sub-hero, .recruit-promo, .zigzag-row, .zigzag-row.reverse, .service-grid, .quick-links { grid-template-columns: 1fr; }
  .hero-copy, .sub-hero-copy { min-height: 220px; }
  .quick-card strong { font-size: 1.4rem; }
  .form-card { padding: 28px 18px; }
  .form-row, .info-table div, .history-list div { grid-template-columns: 1fr; gap: 10px; }
  .zigzag-row.reverse .zigzag-photo, .zigzag-row.reverse .zigzag-copy { order: initial; }
}
@media (max-width: 640px) {
  body { background: radial-gradient(circle at 20px 20px, rgba(255,255,255,.3) 0 7px, transparent 8px), linear-gradient(180deg, #f7fbff 0 12%, #d5efff 12% 74%, #1d95d9 74%, #1276b9 100%); background-size: 90px 90px, 100% 100%; }
  .site-shell { width: min(calc(100% - 18px), 1180px); padding-top: 12px; }
  .brand { font-size: .88rem; }
  .brand img { width: 30px; height: 30px; }
  .hero-label, .boxed-title { padding: 12px 14px; font-size: 1.2rem; }
  .section-title { font-size: 1.4rem; }
  .zigzag-copy, .promo-copy { padding: 24px 18px; }
  .site-footer { padding: 34px 20px; }
}
.site-footer { padding: 46px 20px 34px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); text-align: center; color: #fff; background: linear-gradient(180deg, #617cf0, #536cdf); }
.site-footer h2 { margin: 0 0 14px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.site-footer p { margin: 0; }
.site-footer small { margin-top: 20px; }
.site-footer p + p { margin-top: 10px; }
.footer-phone { font-size: 1.46rem; font-weight: 800; }

.info-table, .history-list {
  display: grid;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}

.info-table div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid #d9dfe9;
}

.history-list div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid #d9dfe9;
}

.info-table dt, .history-list dt { font-weight: 700; margin-top: 6px; }
.history-intro { margin-bottom: 28px; }
.access-name, .access-phone { font-weight: 700; }
.access-phone { color: var(--primary); }
.map-placeholder { min-height: 360px; margin-top: 28px; }

.access-section p {
  text-align: center;
  margin: 0 auto 5px;
}

.access-section p.access-phone {
  margin-top: 20px;
}
.info-table dd, .history-list dd { margin-top: 2px; }
.info-table div dd p {
  margin: 0 0 15px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 34px;
}

.service-card h2 {
  margin: 18px 0 12px;
  /* font-size: 1.35rem; */
  font-size: 0.95rem;
  text-align: left;
}

.media-photo {
  min-height: 260px;
  border-radius: 16px;
}

.narrow {
  max-width: 860px;
  margin: 0 auto;
}

.lead-title {
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.recruit-promo {
  display: grid;
  grid-template-columns: 340px 1fr;
  overflow: hidden;
  border-radius: 22px;
  background: #edf0ff;
}

.promo-image { min-height: 240px; }

.promo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 36px;
}

.promo-copy h2, .lead-title, .small-heading {
  margin: 0;
  font-weight: 800;
}

.lead-title {
  margin: 0;
  font-weight: 800;
}

.promo-copy p, .zigzag-copy p, .service-card p, .text-block p, .info-table dd, .history-list dd {
  color: var(--text-sub);
  line-height: 2;
}

.profile-badge {
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  margin: 0 auto 20px;
}
.profile-badge img {
  width: 100%;
}

.small-heading {
  text-align: center;
}

.text-block {
  display: block;
  max-width: 960px;
  margin: 28px auto;
  text-align: left;
}

.text-block p {
  margin-top: 20px;
}

.text-block.compact {
  max-width: 820px;
  text-align: center;
}

.u_mt05 { margin-top: 5px; }
.u_mt10 { margin-top: 10px; }
.u_mt15 { margin-top: 15px; }
.u_mt20 { margin-top: 20px; }
.u_mt25 { margin-top: 25px; }
.u_mt30 { margin-top: 30px; }
.u_mt35 { margin-top: 35px; }
.u_mt40 { margin-top: 40px; }
.u_mt45 { margin-top: 45px; }
.u_mt50 { margin-top: 50px; }

.u_mb05 { margin-bottom: 5px; }
.u_mb10 { margin-bottom: 10px; }
.u_mb15 { margin-bottom: 15px; }
.u_mb20 { margin-bottom: 20px; }
.u_mb25 { margin-bottom: 25px; }
.u_mb30 { margin-bottom: 30px; }
.u_mb35 { margin-bottom: 35px; }
.u_mb40 { margin-bottom: 40px; }
.u_mb45 { margin-bottom: 45px; }
.u_mb50 { margin-bottom: 50px; }

.u_taCenter { text-align: center; }
.u_taLeft { text-align: left; }
.u_taRight { text-align: right; }

.video {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9のアスペクト比 */
    height: 0;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 640px) {
  body[data-page="company"] .info-table div,
  body[data-page="company"] .history-list div {
    grid-template-columns: 1fr;
  }

  body[data-page="recruit"] .info-table div {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .service-card {
    padding-bottom: 6px;
  }

  .service-card h2 {
    margin: 14px 0 10px;
    font-size: 1.05rem;
    line-height: 1.5;
  }

  .media-photo {
    min-height: 0;
  }

  .media-photo img {
    width: 100%;
    height: auto;
    border-radius: 16px;
  }

  .corp-section,
  .history-section {
    padding: 40px 0 8px;
  }

  .info-table,
  .history-list {
    margin-top: 32px;
  }

  .info-table div,
  .history-list div {
    gap: 8px;
    padding: 16px 0;
  }

  .info-table dt,
  .history-list dt {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .info-table dd,
  .history-list dd {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.8;
  }

  .history-intro {
    text-align: left;
    line-height: 1.8;
  }

  .history-intro br {
    display: none;
  }

  .map-placeholder {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .recruit-promo {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .promo-image {
    order: 1;
    min-height: 0;
  }

  body[data-page="home"] .promo-image img {
    display: block;
    width: 100%;
    height: auto;
  }

  body[data-page="home"] .promo-copy {
    order: 2;
    padding: 20px 18px 24px;
  }
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slider::before {
  content: '';
  display: block;
  padding-top: 42%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .hero-slider::before {
    padding-top: 56%;
  }
}

.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #6a87f1, var(--primary));
  color: #fff;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(79, 109, 224, 0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.page-top span {
  line-height: 1;
  transform: translateY(-1px);
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .page-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
}

@media (max-width: 640px) {
  .page-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
}

body[data-page="home"] .recruit-promo {
  align-items: stretch;
  margin-top: 0;
  border-radius: 0;
}

body[data-page="home"] .promo-image {
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: none;
}

body[data-page="home"] .promo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zigzag-grid {
  gap: 0;
}

.zigzag-row,
.zigzag-row.reverse {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
}

.zigzag-copy {
  min-height: 260px;
  height: 100%;
}

.zigzag-photo {
  min-height: 260px;
  height: 100%;
  overflow: hidden;
}

.zigzag-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .zigzag-row,
  .zigzag-row.reverse {
    grid-template-columns: 1fr;
  }

  .zigzag-row.reverse .zigzag-photo,
  .zigzag-row.reverse .zigzag-copy {
    order: initial;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .promo-image {
    height: auto;
  }

  body[data-page="home"] .promo-image img {
    height: auto;
  }
}

.form-section {
  max-width: 980px;
  margin: 0 auto;
}

.form-intro {
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--text-sub);
  line-height: 1.9;
  text-align: center;
}

.form-card-modern,
.confirm-card-modern,
.thanks-card-modern {
  border: 1px solid #dce6fb;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 18px 36px rgba(31, 70, 136, 0.08);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-input {
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid #bcc7d8;
  border-radius: 14px;
  background: #fff;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

textarea.form-input {
  min-height: 220px;
  resize: vertical;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 109, 224, 0.12);
}

.form-row.has-error .form-input,
.consent-row.has-error {
  border-color: #df5b5b;
}

.field-error,
.consent-error {
  display: block;
  color: #cc3c3c;
  font-size: 0.9rem;
  line-height: 1.6;
}

.consent-error {
  margin: -14px 0 20px;
  text-align: center;
}

.form-alert {
  max-width: 820px;
  margin: 0 auto 24px;
  padding: 18px 20px;
  border: 1px solid #f3c0c0;
  border-radius: 18px;
  background: #fff7f7;
  color: #8d2f2f;
}

.form-alert-title {
  margin: 0 0 8px;
  font-weight: 700;
}

.form-alert-list {
  margin: 0;
  padding-left: 20px;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: #fff;
  color: var(--primary-deep);
  font-weight: 700;
  cursor: pointer;
}

.confirm-card,
.thanks-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 28px;
}

.confirm-list {
  display: grid;
  gap: 0;
}

.confirm-list div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e1e8f7;
}

.confirm-list div:first-child {
  padding-top: 0;
}

.confirm-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.confirm-list dt {
  font-weight: 800;
  color: var(--primary-deep);
}

.confirm-list dd {
  margin: 0;
  line-height: 1.9;
}

.confirm-empty {
  color: #8c95ab;
}

.confirm-actions,
.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.thanks-card {
  text-align: center;
}

.thanks-lead {
  margin: 0 0 14px;
  font-size: 1.2rem;
  font-weight: 800;
}

.thanks-note {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--text-sub);
  line-height: 1.9;
}

@media (max-width: 900px) {
  .confirm-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .form-intro {
    margin-bottom: 22px;
    text-align: left;
  }

  .confirm-card,
  .thanks-card {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .button-secondary {
    width: 100%;
  }

  .confirm-actions .button-primary,
  .thanks-actions .button-primary,
  .thanks-actions .button-secondary {
    width: 100%;
  }
}

.confirm-card-modern {
  margin-top: 18px;
}

.age-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.age-input {
  width: 120px;
  text-align: right;
}

.age-suffix {
  color: var(--text-sub);
  font-weight: 700;
}

@media (max-width: 640px) {
  .confirm-card-modern {
    margin-top: 14px;
  }

  .age-input {
    width: 96px;
  }
}
