:root {
  --ink: #1c2b3a;
  --muted: #536273;
  --line: #e4e0d8;
  --paper: #f4f1ea;
  --white: #fff;
  --blue: #1464c8;
  --navy: #12171e;
  --heading: #14304f;
  --hero-blue: #0f55b3;
  --header-h: 72px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Outfit", "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: var(--blue); }

button, input, select, textarea { font: inherit; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 8px 12px;
  background: var(--white);
  z-index: 100;
  transform: translateY(-140%);
}

.skip:focus { transform: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(18, 23, 30, .08);
  padding-top: env(safe-area-inset-top);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 10px 12px 10px 20px;
  gap: 16px;
}

.logo { display: flex; align-items: center; line-height: 0; }

.logo img { height: 32px; width: auto; }

.menu-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-btn__icon {
  display: block;
  width: 22px;
  height: 14px;
  position: relative;
}

.menu-btn__icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}

.menu-btn__icon span:nth-child(1) { top: 0; }
.menu-btn__icon span:nth-child(2) { top: 6px; }
.menu-btn__icon span:nth-child(3) { top: 12px; }

.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(2) { opacity: 0; }

.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: 100%;
  right: 12px;
  z-index: 50;
  width: 33%;
  min-width: 7.5rem;
  max-height: calc(100svh - var(--header-h) - env(safe-area-inset-top) - 16px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 23, 30, .12);
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(16, 40, 80, .18);
  padding: 4px 0;
  overflow: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-nav.is-open {
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--heading);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.site-nav a[aria-current="page"] {
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

body.nav-open { overflow: hidden; }

body.nav-open .site-header {
  z-index: 80;
  backdrop-filter: none;
}

.noscript-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 8px 20px 12px;
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 100svh;
  background: #d7e8f8;
  color: var(--heading);
}

.hero__photo {
  position: absolute;
  inset: 0;
  line-height: 0;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.page-photo img,
.band img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: calc(var(--header-h) + 18px) 24px 28px;
}

.eyebrow,
.sec-label {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
}

.sec-label {
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: .16em;
}

.hero__en {
  margin: 0;
  color: var(--hero-blue);
  font-family: var(--font-en);
  font-size: clamp(52px, 14vw, 72px);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.03em;
}

.hero__en span {
  color: inherit;
  font-weight: inherit;
}

.hero__ja {
  margin: 18px 0 0;
  color: var(--heading);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: .04em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.hero .btn {
  flex: 1 1 0;
  gap: 6px;
  padding-inline: 14px;
  font-size: 13px;
  letter-spacing: 0;
  white-space: nowrap;
  background: #1d6fe5;
  border-color: #1d6fe5;
  box-shadow: 0 10px 24px rgba(16, 40, 80, .18);
}

.hero .btn--white {
  background: #fff;
  color: var(--heading);
  border-color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 4px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.btn:disabled {
  opacity: .55;
  cursor: wait;
}

.btn--ghost {
  background: transparent;
  color: var(--heading);
}

.hero .eyebrow { color: var(--hero-blue); }

.btn--white {
  background: var(--white);
  color: var(--heading);
  border-color: var(--white);
}

a.btn:hover,
a.btn:focus-visible,
button.btn:hover:not(:disabled),
button.btn:focus-visible:not(:disabled),
.hero a.btn:hover,
.hero a.btn:focus-visible {
  background: #f15a22;
  border-color: #f15a22;
  color: #fff;
}

.features { background: var(--paper); }

.features__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0;
}

.features__list li {
  margin: 0;
  padding: 26px 20px 28px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.features__list span {
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
}

.features__list h2 {
  margin: 8px 0 6px;
  color: var(--heading);
  font-size: 18px;
  font-weight: 700;
}

.features__list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.band {
  display: grid;
  gap: 8px;
  padding: 8px;
  background: var(--white);
}

.band figure { margin: 0; }

.section { padding: 64px 0; }

.section--bg { background: var(--paper); }

.sec-title {
  margin: 0 0 14px;
  color: var(--heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
}

.section h2:not(.sec-title) {
  margin: 36px 0 10px;
  color: var(--heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .02em;
}

.sec-lead { margin: 0 0 28px; color: var(--muted); max-width: 40em; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  margin-top: 32px;
}

.stats div { background: var(--white); padding: 18px 16px; }

.stats dt { margin: 0; color: var(--muted); font-size: 13px; }

.stats dd {
  margin: 4px 0 0;
  color: var(--heading);
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.cards { display: grid; gap: 12px; }

.card {
  display: block;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: inherit;
  text-decoration: none;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
}

.card p { margin: 0; color: var(--muted); font-size: 14px; }

a.card:hover { border-color: var(--navy); }

.card.card--photo {
  padding: 0;
  overflow: hidden;
}

.card.card--photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card.card--photo h3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 16px 20px 8px;
  line-height: 1.5;
}

.card.card--photo .idx {
  justify-self: start;
  font-size: 24px;
}

.card.card--photo p { margin: 0 20px 20px; }

body:not(.home) .prose .greeting-line {
  max-width: none;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.6;
}

.sign {
  font-weight: 700;
  text-align: right;
}

.policy { margin-top: 8px; }

.policy__row {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr);
  gap: 8px 28px;
  align-items: start;
  padding: 28px 0;
}

.policy__row + .policy__row { padding-top: 8px; }

body:not(.home) .prose .policy h3 {
  margin: 4px 0 0;
  color: var(--blue);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.45;
}

.policy__row > :last-child {
  margin: 0;
  padding-left: 28px;
  border-left: 1px solid #e6e6e6;
}

.policy__statement {
  margin: 0;
  color: var(--heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.policy ol {
  margin: 0;
  padding: 0 0 0 1.5em;
}

.policy li { margin: 0 0 22px; }

.policy li:last-child { margin-bottom: 0; }

.policy li strong {
  display: block;
  margin-bottom: 4px;
  color: var(--heading);
  font-size: 17px;
}

.policy li p { margin: 0; }

@media (max-width: 699px) {
  .policy__row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  .policy__row > :last-child {
    padding-left: 0;
    border-left: 0;
  }
}

.news-list { list-style: none; margin: 0; padding: 0; }

.news-list li {
  display: grid;
  grid-template-columns: 6.6em 5.2em 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.news-list time {
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .02em;
}

.tag { font-size: 12px; font-weight: 700; color: var(--blue); }

.tag--news { color: #c2410c; }

.news-list a { color: var(--ink); text-decoration: none; font-weight: 700; }

.news-list a:hover { color: var(--blue); }

.cta { background: var(--navy); color: var(--white); }

.cta .sec-title,
.cta .sec-lead,
.cta .sec-label { color: var(--white); }

.cta .sec-lead { opacity: .82; }

.cta__grid {
  display: grid;
  gap: 28px;
  align-items: start;
  margin-top: 8px;
}

.cta__copy .sec-lead { margin-bottom: 22px; }

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta__photo { margin: 0; }

.cta__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.offices { display: grid; gap: 12px; }

.office {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.office h2,
.office h3 { margin: 0 0 8px; color: var(--heading); font-size: 18px; font-weight: 700; }

.prose .office { margin-top: 28px; }

.office p { margin: 0 0 8px; }

.page-head { padding: 36px 0 8px; }

.page-head h1 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.25;
}

.page-photo {
  margin: 20px auto 0;
  width: min(1160px, calc(100% - 40px));
}

.page-photo img { border-radius: 4px; }

.shot { margin: 16px 0; }

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  background: #d5e0ec;
}

.shot figcaption {
  margin-top: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.office .shot--wide img {
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(20, 100, 200, 0.22);
}

.shots {
  display: grid;
  gap: 12px;
  margin: 18px 0 8px;
}

.shots .shot { margin: 0; }

.measure .shot { margin: 0 0 14px; }

.measure .shot img,
.shots .shot img { border-radius: 4px; }

.measures--safety .shot img {
  aspect-ratio: 800 / 530;
  object-fit: cover;
  object-position: center;
}

.cert {
  display: block;
  width: 120px;
  height: auto;
  margin-top: 10px;
  border-radius: 4px;
  background: #d5e0ec;
}

@media (min-width: 700px) {
  .shots--2 { grid-template-columns: 1fr 1fr; }
  .shots--3 { grid-template-columns: repeat(3, 1fr); }
  .shots--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .shots--4 { grid-template-columns: repeat(4, 1fr); }
}

.prose h2 { margin: 40px 0 10px; }

.measures { display: grid; gap: 12px; }

.measure {
  padding: 20px;
  background: var(--paper);
  border-radius: 4px;
}

.measure h3,
.measure h2 { margin: 0 0 6px; font-size: 18px; }

.measure p { margin: 0; }

.overview {
  display: grid;
  grid-template-columns: 8em 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}

.overview dt,
.overview dd {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.overview dt { color: var(--muted); font-weight: 700; }

.history { list-style: none; margin: 0; padding: 0; }

.history li {
  display: grid;
  grid-template-columns: 6.2em 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.history time {
  color: var(--blue);
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: .02em;
}

.history p { margin: 0; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.filters button {
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--heading);
  cursor: pointer;
}

.filters button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.jobs { display: grid; gap: 12px; }

.job {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px;
  background: var(--white);
}

.job__badge {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

.job h3 { margin: 0 0 10px; font-size: 17px; color: var(--heading); font-weight: 700; }

.job dl { margin: 0 0 12px; }

.job dt {
  float: left;
  clear: left;
  width: 5.5em;
  color: var(--muted);
  font-size: 14px;
}

.job dd { margin: 0 0 4px 5.5em; font-size: 14px; }

.job > dl::after {
  content: "";
  display: block;
  clear: both;
}

.job__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.job__toggle {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 16px;
  border: 1px solid #1d6fe5;
  border-radius: 4px;
  background: #fff;
  color: #1d6fe5;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.job__toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.job__toggle[aria-expanded="true"] {
  background: #1d6fe5;
  color: #fff;
}

.job__toggle[aria-expanded="true"]::after {
  transform: translateY(2px) rotate(225deg);
}

.job__actions a {
  font-size: 14px;
  font-weight: 700;
}

.job__detail {
  margin-top: 16px;
  padding-top: 4px;
  border-top: 1px solid #d5deea;
}

.job__detail dl { margin: 0; }

.job__detail dt {
  float: none;
  clear: none;
  width: auto;
  margin: 16px 0 6px;
  color: var(--heading);
  font-size: 13px;
  font-weight: 700;
}

.job__detail dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
}

.job__detail p { margin: 0 0 .55em; }

.job__detail p:last-child { margin-bottom: 0; }

.job__detail ul {
  margin: .25em 0 0;
  padding-left: 1.2em;
}

.job:has(.job__toggle[aria-expanded="true"]) { grid-column: 1 / -1; }

.is-hidden { display: none !important; }

.form {
  display: grid;
  gap: 16px;
  max-width: 960px;
}

.field {
  display: grid;
  grid-template-columns: 12em minmax(0, 1fr);
  column-gap: 24px;
  align-items: center;
}

.field:has(textarea) { align-items: start; }

.field__label {
  font-weight: 700;
  color: var(--heading);
  line-height: 1.5;
}

.field:has(textarea) .field__label { padding-top: 12px; }

.field__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.form .req { color: #c2410c; font-size: 12px; margin-left: 6px; }

.form .hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
}

.choices { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; }

.form label.choice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

.form label.choice input {
  width: auto;
  padding: 0;
}

.form .age-line input { width: 6em; }

.age-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5d0c8;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-weight: 400;
}

.form textarea { min-height: 420px; resize: vertical; }

.form > p {
  margin: 4px 0 0;
  padding-left: calc(12em + 24px);
}

.hp { position: absolute; left: -9999px; }

.form-result {
  margin-top: 16px;
  padding: 16px;
  background: var(--paper);
  border-radius: 4px;
}

.form-result.is-error { background: #fdeee8; }

.form-result pre {
  white-space: pre-wrap;
  font-family: inherit;
  margin: 8px 0 0;
}

.note { color: var(--muted); font-size: 14px; }

.site-footer {
  background: var(--navy);
  color: #d7dde4;
  padding: 48px 0 28px;
}

.site-footer a { color: #fff; }

.footer-grid { display: grid; gap: 24px; }

.site-footer h2 { margin: 0 0 8px; font-size: 16px; color: #fff; }

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li { margin: 0 0 6px; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }

.footer-nav a { text-decoration: none; font-weight: 700; }

.footer-offices {
  display: grid;
  gap: 22px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.footer-offices h2 { font-size: 15px; }

.footer-offices p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.7;
}

.copyright {
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px;
}

@media (min-width: 800px) {
  .features__list { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .cards,
  .offices,
  .jobs,
  .measures { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .cta__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px 48px; }
  .section { padding: 88px 0; }
  .footer-grid { grid-template-columns: 1.3fr .7fr; }
  .footer-offices { grid-template-columns: 1fr 1fr; }
}

body.home .site-header {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

body.home.nav-open .site-header { background: #fff; }

@media (min-width: 960px) {
  .hero__copy {
    width: min(560px, 48%);
    padding: calc(var(--header-h) + 36px) 48px 40px;
  }

  .hero__photo img { object-position: center center; }

  .hero__en { font-size: clamp(68px, 6vw, 92px); }

  .logo img { height: 38px; }
}

@media (min-width: 1080px) {
  .menu-btn { display: none; }

  .site-header__bar {
    width: 100%;
    margin: 0;
    padding-inline: 24px;
  }

  .site-nav {
    position: static;
    top: auto;
    right: auto;
    width: auto;
    min-width: 0;
    max-height: none;
    z-index: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    padding: 0;
    overflow: visible;
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .site-nav li {
    display: flex;
    align-items: center;
  }

  .site-nav li + li::before {
    content: "";
    width: 1px;
    height: 12px;
    margin-inline: 10px;
    background: rgba(20, 48, 79, .35);
  }

  .site-nav a,
  body.home .site-nav a,
  .site-nav a[href="contact.html"],
  body.home .site-nav a[href="contact.html"],
  body:not(.home) .site-nav a[href="contact.html"] {
    justify-content: center;
    min-height: 36px;
    padding: 6px 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--heading);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .02em;
    white-space: nowrap;
  }

  .site-nav a::after { display: none; }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a[href="contact.html"]:hover,
  .site-nav a[href="contact.html"]:focus-visible {
    background: transparent;
    color: var(--blue);
  }

  body.home .site-nav a:hover,
  body.home .site-nav a:focus-visible,
  body.home .site-nav a[href="contact.html"]:hover,
  body.home .site-nav a[href="contact.html"]:focus-visible {
    background: transparent;
    color: #f15a22;
  }

  .site-nav a[aria-current="page"],
  body.home .site-nav a[aria-current="page"],
  body:not(.home) .site-nav a[aria-current="page"],
  .site-nav a[href="contact.html"][aria-current="page"],
  body.home .site-nav a[href="contact.html"][aria-current="page"],
  body:not(.home) .site-nav a[href="contact.html"][aria-current="page"],
  .site-nav a[aria-current="page"]:hover,
  .site-nav a[aria-current="page"]:focus-visible,
  body.home .site-nav a[aria-current="page"]:hover,
  body.home .site-nav a[aria-current="page"]:focus-visible,
  body:not(.home) .site-nav a[href="contact.html"][aria-current="page"]:hover,
  body:not(.home) .site-nav a[href="contact.html"][aria-current="page"]:focus-visible {
    background: transparent;
    color: var(--blue);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
  }

  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards--pair { grid-template-columns: 1fr 1fr; }
  .offices { grid-template-columns: repeat(3, 1fr); }
  .footer-offices { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .news-list li { grid-template-columns: 1fr; gap: 2px; }
}

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(34vh, 310px);
  background: #0e2744;
  color: #fff;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
}

.page-hero--sdgs img {
  object-position: center 67%;
}

.page-hero--recruit img {
  object-position: center 35%;
}

.page-hero--access img {
  object-position: center 75%;
}

.page-hero--company img {
  
  object-position: 70% 65%;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 32, .12) 0%, rgba(8, 18, 32, .08) 42%, rgba(8, 18, 32, .78) 100%);
}

.page-hero__copy {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 28px;
}

.page-hero .sec-label { color: #b9dcff; }

.page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
}

.page-hero--plain {
  min-height: 140px;
  background:
    radial-gradient(820px 240px at 100% 0%, rgba(140, 198, 255, .45), transparent 58%),
    linear-gradient(155deg, #102844 0%, #0d4ea8 58%, #1d6fe5 100%);
}

.page-hero--plain::after { display: none; }

.breadcrumb {
  background: #f7f5f1;
  border-bottom: 1px solid var(--line);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 11px 0;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .04em;
  line-height: 1.4;
}

.breadcrumb li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 10px;
  border-top: 1.5px solid #8a97a6;
  border-right: 1.5px solid #8a97a6;
  transform: rotate(45deg);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--heading);
  font-weight: 500;
}

body:not(.home) .section { padding: 72px 0 88px; }

body:not(.home) .breadcrumb + .section,
body:not(.home) .recruit-subnav + .section {
  padding-top: 20px;
}

.recruit-subnav + .section .office:first-child {
  margin-top: 0;
}

body:not(.home) .section.section--jobs {
  padding-top: 20px;
}

.section--jobs > .wrap > p:first-child { margin-top: 0; }

body:not(.home) .prose > p:first-of-type {
  max-width: 40em;
  font-size: 18px;
  line-height: 1.9;
}

body:not(.home) .prose h2 {
  margin: 64px 0 14px;
  color: var(--heading);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.4;
}

.section > .wrap > h2,
.office > h2 {
  padding: 16px 20px 18px;
  border-radius: 4px;
  background: #e3ecf8;
  line-height: 1.45;
}

.section > .wrap > h2::before,
.office > h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin: 0 0 10px;
  background: var(--blue);
}

.section > .wrap > h2 { margin: 48px 0 20px; }

.section > .wrap > h2:first-child,
.home .section > .wrap > h2 { margin-top: 0; }

.section.cta > .wrap > h2 {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.section.cta > .wrap > h2::before { background: #fff; }

body:not(.home) .prose .office > h2 {
  margin: 0 0 16px;
  background: #fff;
}

body:not(.home) .prose h3 {
  margin: 22px 0 8px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
}

body:not(.home) .measure,
body:not(.home) .office,
body:not(.home) .job {
  border: 0;
  border-radius: 4px;
  background: #f4f7fb;
  box-shadow: none;
}

body:not(.home) .measure,
body:not(.home) .office { padding: 24px; }

body:not(.home) .job { padding: 22px; }

body:not(.home) .card {
  border: 0;
  border-radius: 4px;
  background: #f4f7fb;
}

body:not(.home) .filters button.is-active {
  background: #1d6fe5;
  border-color: #1d6fe5;
}

body:not(.home) .news-list li { padding: 18px 0; }

body:not(.home) .form input,
body:not(.home) .form select,
body:not(.home) .form textarea {
  min-height: 48px;
  border-radius: 4px;
  border-color: #d5deea;
  background: #f7f9fc;
}

body:not(.home) .form textarea { min-height: 420px; }

@media (max-width: 640px) {
  .field {
    grid-template-columns: 7.5em minmax(0, 1fr);
    column-gap: 12px;
  }

  .field__label { font-size: 14px; }

  .field:has(textarea) {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }

  .field:has(textarea) .field__label { padding-top: 0; }

  .form > p { padding-left: calc(7.5em + 12px); }

  .form textarea,
  body:not(.home) .form textarea { min-height: 320px; }
}

.biz-pair {
  display: grid;
  gap: 36px;
  margin: 48px 0 8px;
}

.biz-pair .shot { margin: 0; }

.idx {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .04em;
  line-height: 1;
}

.idx::after {
  content: "";
  width: 1.2em;
  height: 2px;
  background: var(--blue);
  flex: none;
}

.biz-pair .idx { font-size: clamp(26px, 2.8vw, 32px); gap: 12px; }

.measures--safety .idx { font-size: 18px; gap: 8px; }

.idx__word {
  margin-right: .4em;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: .06em;
}

.measures--feature .idx { font-size: 24px; }

body:not(.home) .prose .biz-pair h2,
body:not(.home) .prose .measures--safety h3,
body:not(.home) .prose .measures--feature h3 {
  display: grid;
  justify-items: start;
  color: var(--heading);
  letter-spacing: .02em;
  line-height: 1.5;
}

body:not(.home) .prose .biz-pair h2 {
  margin: 18px 0 10px;
  gap: 10px;
}

body:not(.home) .prose .measures--safety h3 {
  margin: 0 0 8px;
  gap: 6px;
  font-size: 16px;
}

body:not(.home) .prose .measures--feature h3 {
  margin: 0 0 8px;
  gap: 8px;
  font-size: 20px;
}

.biz-pair p { margin: 0; }

@media (min-width: 800px) {
  .biz-pair { grid-template-columns: 1fr 1fr; gap: 28px 32px; }

  body:not(.home) .measures { grid-template-columns: 1fr 1fr; }

  body:not(.home) .measures--feature { grid-template-columns: 1fr; }

  body:not(.home) .measures--feature .measure {
    display: grid;
    grid-template-columns: min(450px, 42%) 1fr;
    gap: 28px;
    align-items: start;
  }

  body:not(.home) .measures--feature .shot { margin: 0; }
}

@media (min-width: 1080px) {
  body:not(.home) .measures--safety { grid-template-columns: repeat(4, 1fr); }

  body:not(.home) .measures--safety .measure { padding: 16px; }
}


.recruit-subnav {
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top));
  z-index: 35;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.recruit-subnav ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 8px 20px;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.recruit-subnav li {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.recruit-subnav li + li::before {
  content: "";
  width: 1px;
  height: 12px;
  margin-inline: 12px;
  background: rgba(20, 48, 79, .35);
}

.recruit-subnav a {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.recruit-subnav a:hover,
.recruit-subnav a:focus-visible {
  background: transparent;
  color: var(--blue);
}

.recruit-subnav a[aria-current="page"],
.recruit-subnav a[aria-current="page"]:hover,
.recruit-subnav a[aria-current="page"]:focus-visible {
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

#about,
#benefits,
#interview,
#niigata,
#nagaoka,
#joetsu,
#nagaoka-center {
  scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top) + 64px);
}

.about-sets {
  display: grid;
  gap: 36px;
  margin: 8px 0 56px;
}

.about-set {
  display: grid;
  gap: 16px;
  align-items: center;
}

.about-set .shot { margin: 0; }

.about-set .shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
}

.about-set h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 0 12px;
  color: var(--heading);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.45;
}

.about-set .idx { font-size: 22px; }

.about-set p { margin: 0 0 12px; }

.about-set p:last-child { margin-bottom: 0; }

@media (min-width: 800px) {
  .about-sets { gap: 64px; }

  .about-set {
    grid-template-columns: 1fr 1fr;
    gap: 28px 48px;
  }

  .about-set--reverse .about-set__body { order: -1; }
}

.benefit-sets {
  display: grid;
  gap: 52px;
  margin: 28px 0 48px;
}

.benefit-set {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 36px 18px 18px;
  background: var(--white);
  border: 12px solid var(--paper);
}

.benefit-set__label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 8px 28px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4;
  white-space: nowrap;
}

.benefit-set__body h4 {
  margin: 22px 0 6px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
}

.benefit-set__body h4:first-child { margin-top: 0; }

.benefit-set__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
}

.benefit-set .shot { margin: 0; }

.benefit-set .shot img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

@media (min-width: 800px) {
  .benefit-set {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 8px 40px;
    align-items: start;
    padding: 40px 36px 32px;
  }
}

.sdgs-lead {
  display: grid;
  gap: 16px 40px;
  align-items: center;
}

.sdgs-lead img {
  width: min(260px, 100%);
  height: auto;
}

body:not(.home) .prose .sdgs-lead h2,
body:not(.home) .prose .sdgs-block h2 {
  margin: 0;
}

.sdgs-lead p,
.sdgs-block__head p {
  margin: 10px 0 0;
}

.sdgs-block { margin-top: 56px; }

.sdgs-block__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px 28px;
  align-items: center;
}

.sdgs-block__head > div { display: contents; }

.sdgs-block h2 { grid-row: 1; }

.sdgs-marks { grid-row: 2; }

.sdgs-block__head p { grid-row: 3; margin: 0; }

body:not(.home) .prose .sdgs-block h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--heading);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
}

.sdgs-no {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.sdgs-marks {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sdgs-marks img {
  display: block;
  width: 68px;
  height: 68px;
}

.sdgs-cols {
  display: grid;
  gap: 22px 40px;
  margin-top: 18px;
  padding: 28px 24px 22px;
  border-radius: 4px;
  background: #f4f7fb;
}

body:not(.home) .prose .sdgs-cols h3 {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.4;
}

body:not(.home) .prose .sdgs-cols__next h3 { background: #2f9e44; }

.sdgs-cols ul {
  margin: 0;
  padding-left: 1.2em;
}

.sdgs-cols li { margin: 0 0 6px; }

.sdgs-cols li::marker { color: var(--blue); }

.sdgs-cols__next li::marker { color: #2f9e44; }

@media (min-width: 800px) {
  .sdgs-lead { grid-template-columns: 240px minmax(0, 1fr); }

  .sdgs-block__head { grid-template-columns: minmax(0, 1fr) auto; }

  .sdgs-block h2 { grid-column: 1; grid-row: 1; }

  .sdgs-block__head p { grid-column: 1; grid-row: 2; }

  .sdgs-marks {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: end;
  }

  .sdgs-cols { grid-template-columns: 1fr 1fr; padding: 32px 36px 26px; }
}

@media (max-width: 640px) {
  .sdgs-marks img { width: 56px; height: 56px; }

  .sdgs-no { width: 40px; height: 40px; font-size: 15px; }
}

.sdgs-about {
  display: grid;
  gap: 16px 36px;
  align-items: center;
  margin-top: 4px;
}

.sdgs-about .shot {
  margin: 0;
  width: min(360px, 100%);
}

.sdgs-about p { margin: 0; }

@media (min-width: 720px) {
  .sdgs-about { grid-template-columns: 360px minmax(0, 1fr); }
}
