:root {
  --white: #ffffff;
  --ink: #1f2a33;
  --text: #46545f;
  --muted: #eef3f6;
  --line: #dce4e8;
  --blue: #6f8fa3;
  --blue-dark: #35586c;
  --accent: #9aa76d;
  --shadow: 0 22px 60px rgba(31, 42, 51, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  background: var(--white);
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 88px;
  padding: 0 clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open,
body.home .site-header,
body:not(.home) .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 24px rgba(31, 42, 51, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
}

.brand-sub {
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.74;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-contact {
  padding: 10px 16px;
  border: 1px solid currentColor;
}

.nav-contact::after {
  content: none !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  color: var(--white);
  overflow: hidden;
  background: #ffffff;
}

.hero-plain {
  min-height: 760px;
  padding: 200px 0 82px;
  color: var(--text);
  background: #ffffff;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(31, 42, 51, 0.76), rgba(31, 42, 51, 0.34) 52%, rgba(31, 42, 51, 0.18));
}

.hero-plain .hero-overlay {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.1) 48%, rgba(255, 255, 255, 0.62) 70%, rgba(255, 255, 255, 0.86) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: calc(100% - 40px);
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 210px;
}

.hero-plain .hero-content {
  display: grid;
  grid-template-columns: minmax(0, 520px);
  gap: 0;
  align-items: center;
  justify-content: end;
  padding-top: 0;
  transform: translate(88px, 44px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d9e4ea;
}

.hero-plain .eyebrow {
  color: var(--blue-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
  line-break: strict;
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: normal;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.35;
}

dt,
dd,
a,
strong,
label {
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
}

.keep-line {
  white-space: nowrap;
}

.sp-break {
  display: none;
}

.sp-cta-title {
  display: none;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: 0;
}

.hero-plain h1 {
  max-width: 700px;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 60px);
}

.phrase-nowrap {
  white-space: nowrap;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 34px;
  font-size: 17px;
}

.hero-plain .hero-lead {
  color: var(--text);
}

.hero-copy {
  max-width: 520px;
}

.hero-area {
  position: absolute;
  top: -104px;
  left: calc(-1 * ((100vw - var(--max)) / 2) - 68px);
  z-index: 2;
  margin-bottom: 0;
  color: var(--blue-dark);
  font-family: Arial, "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
  letter-spacing: 0.04em;
  white-space: normal;
  background: rgba(255, 255, 255, 0.66);
  padding: 8px 12px;
  border: 1px solid rgba(220, 228, 232, 0.8);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--blue-dark);
  font-weight: 700;
  line-height: 1.3;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button.primary {
  color: var(--white);
  background: var(--blue-dark);
}

.button.primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-plain .button.ghost {
  color: var(--blue-dark);
  border-color: var(--line);
}

.button.ghost:hover {
  color: var(--ink);
  background: var(--white);
}

.hero-plain .button.ghost:hover {
  border-color: var(--blue-dark);
  background: var(--muted);
}

.hero-card {
  position: absolute;
  right: clamp(20px, 7vw, 90px);
  bottom: 52px;
  z-index: 2;
  width: min(360px, calc(100% - 40px));
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-plain .hero-card {
  right: auto;
  bottom: -12px;
  left: calc(max(20px, calc((100% - var(--max)) / 2)) + min(560px, 48vw));
  width: min(410px, calc(100% - 40px));
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-card strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.muted {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  background: var(--muted);
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.philosophy-section {
  display: grid;
  grid-template-columns: 190px minmax(0, auto);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  justify-content: center;
  width: min(var(--max), calc(100% - 40px));
  margin-top: 84px;
  margin-bottom: 84px;
  padding: 46px clamp(28px, 5vw, 64px);
  background: #557d91;
  border: 1px solid #456f84;
  border-radius: 0;
}

.philosophy-logo {
  display: grid;
  place-items: center;
}

.philosophy-logo img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.philosophy-text {
  max-width: 850px;
}

.philosophy-text h2 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: clamp(24px, 2.5vw, 34px);
}

.philosophy-text p:last-child {
  margin-bottom: 0;
  color: #eef5f7;
  font-size: 16px;
  line-height: 2;
  white-space: normal;
}

.policy-intro {
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
}

.policy-heading {
  display: grid;
  gap: 18px;
}

.policy-logo {
  width: min(100%, 320px);
  height: auto;
  margin-top: 0;
}

.section-heading h2,
.split-content h2,
.contact-cta h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 3vw, 42px);
}

.split-content h2 {
  font-size: clamp(26px, 2.45vw, 34px);
}

.section-heading.centered {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.value-grid article {
  min-height: 250px;
  padding: 28px 24px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(31, 42, 51, 0.06);
}

.service-card span,
.service-row span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.service-card h3,
.value-grid h3 {
  margin-bottom: 14px;
  font-size: 20px;
}

.service-card h3 {
  font-size: 19px;
}

.service-card p,
.value-grid p {
  margin-bottom: 0;
}

.service-card h3 {
  white-space: nowrap;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split.reverse .split-image {
  order: 2;
}

.split-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-photo img {
  filter: saturate(0.78) contrast(0.92) brightness(0.96);
}

.recruit-photo::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(111, 143, 163, 0.12);
  content: "";
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue-dark);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.recruit-band {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding: 62px clamp(24px, 5vw, 58px);
  background: var(--ink);
}

.recruit-band h2,
.recruit-band p {
  color: var(--white);
}

.recruit-band .eyebrow {
  color: #bfd0d9;
}

.contact-cta {
  text-align: center;
}

.contact-cta p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.contact-cta p.cta-one-line {
  max-width: none;
  white-space: nowrap;
}

.contact-cta .button {
  margin-top: 14px;
}

.phone-link {
  color: var(--blue-dark);
  font-size: 20px;
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 96px;
  gap: 30px;
  align-items: center;
  padding: 42px clamp(20px, 5vw, 64px);
  color: #dce4e8;
  background: var(--ink);
}

.footer-brand {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.75;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 14px;
  font-weight: 600;
}

.site-footer small {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  margin-top: 92px;
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.footer-logo-mark {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  place-items: center;
  margin-top: 0;
  justify-self: end;
  align-self: center;
  margin-bottom: 20px;
}

.footer-logo-mark img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0.9;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.page-hero {
  padding: 170px max(20px, calc((100% - var(--max)) / 2)) 86px;
  background: linear-gradient(120deg, #f5f8fa, #ffffff);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 54px;
  align-items: center;
}

.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 60px);
}

.page-hero p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 17px;
}

.service-hero-photos {
  position: relative;
  display: grid;
  min-height: 290px;
}

.service-hero-photos img {
  width: 255px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(31, 42, 51, 0.1);
}

.service-hero-photos img:first-child {
  position: absolute;
  top: 6px;
  left: 0;
  z-index: 2;
  transform: rotate(-2deg);
}

.service-hero-photos img:last-child {
  position: absolute;
  right: 0;
  bottom: 6px;
  z-index: 1;
  transform: rotate(2deg);
}

.profile-table {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.profile-table dl {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin: 0;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}

.profile-table dt {
  color: var(--ink);
  font-weight: 700;
}

.profile-table dd {
  margin: 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}

.value-grid article {
  min-height: auto;
}

.values {
  padding-bottom: 56px;
}

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

.service-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.service-row p {
  margin-bottom: 0;
}

.service-row:last-child {
  border-bottom: 1px solid var(--line);
}

.service-row h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-phone {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
}

.info-box {
  margin-top: 36px;
  padding: 28px;
  background: var(--muted);
  border: 1px solid var(--line);
}

.info-box h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  background: #fbfcfd;
}

.contact-form textarea {
  resize: vertical;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

@media (max-width: 980px) {
  .site-nav {
    gap: 16px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro,
  .split,
  .contact-layout,
  .service-row {
    grid-template-columns: 1fr;
  }

  .philosophy-section {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
    text-align: center;
  }

  .philosophy-logo {
    justify-items: center;
  }

  .philosophy-text p:last-child {
    white-space: normal;
  }

  .split.reverse .split-image {
    order: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-logo-mark,
  .site-footer small {
    grid-column: 1;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .contact-cta p.cta-one-line {
    max-width: 22em;
    font-size: 14px;
    line-height: 1.85;
    white-space: normal;
  }

  .site-header {
    height: 76px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
  }

  .brand-sub {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px 20px 24px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(31, 42, 51, 0.1);
    transform: translateY(-130%);
    transition: transform 0.22s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

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

  .nav-contact {
    margin-top: 12px;
    padding: 12px 16px;
    text-align: center;
  }

  .hero {
    min-height: 720px;
  }

  .hero-plain {
    min-height: auto;
    padding: 92px 0 42px;
  }

  .hero-content {
    width: calc(100% - 32px);
    max-width: var(--max);
    padding-top: 150px;
  }

  .hero-plain .hero-content {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 330px;
    transform: none;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(31, 42, 51, 0.82), rgba(31, 42, 51, 0.44));
  }

  .hero-plain .hero-media img {
    object-position: 28% center;
  }

  .hero-plain .hero-media,
  .hero-plain .hero-overlay {
    height: 390px;
    bottom: auto;
  }

  .hero-plain .hero-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.3) 42%, rgba(255, 255, 255, 0.82) 76%, rgba(255, 255, 255, 0.96) 100%);
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .hero-plain h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .hero-copy {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.9);
  }

  .hero-area {
    position: static;
    justify-self: start;
    text-align: left;
  }

  .hero-copy h1,
  .hero-copy .hero-lead,
  .hero-copy .hero-actions {
    grid-column: 1;
  }

  .hero-card {
    right: 16px;
    bottom: 28px;
    left: 16px;
    width: auto;
    padding: 22px;
  }

  .hero-plain .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(100% - 32px, var(--max));
    margin: 28px auto 0;
  }

  .pc-break {
    display: none;
  }

  .policy-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .policy-logo {
    width: min(78vw, 300px);
  }

  .section {
    width: min(100% - 32px, var(--max));
    padding: 68px 0;
  }

  .muted {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .service-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .value-grid article {
    min-height: auto;
  }

  .recruit-band {
    display: grid;
    padding: 42px 24px;
  }

  .page-hero {
    padding: 130px 16px 64px;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-hero-photos {
    width: min(100%, 420px);
    max-width: 420px;
    min-height: 270px;
    margin: 0 auto;
  }

  .service-hero-photos img {
    width: min(60vw, 230px);
  }

  .service-hero-photos img:first-child {
    top: 0;
    left: 0;
  }

  .service-hero-photos img:last-child {
    right: 0;
    bottom: 0;
  }

  .contact-cta h2 {
    font-size: clamp(24px, 6.8vw, 32px);
    line-height: 1.5;
  }

  .pc-cta-title {
    display: none;
  }

  .sp-cta-title {
    display: inline;
  }

  .sp-break {
    display: block;
  }

  .mobile-keep-line {
    white-space: nowrap;
  }

  .keep-line {
    white-space: normal;
  }

  .profile-table dl {
    grid-template-columns: minmax(104px, 34%) minmax(0, 1fr);
    gap: 16px;
    padding: 18px 0;
  }

  .contact-form {
    box-shadow: none;
  }

  .map-section iframe {
    height: 320px;
  }
}
