:root {
  --navy: #0b2e58;
  --navy-2: #061d39;
  --blue: #1768ad;
  --sky: #dff0fb;
  --red: #ed1b2f;
  --ink: #10243a;
  --text: #34465a;
  --muted: #6b7d91;
  --line: #dce6ef;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --warm: #f7f3ec;
  --shadow: 0 22px 60px rgba(10, 46, 88, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

.phrase {
  display: inline;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 88px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 14px 0 42px;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(210, 224, 237, 0.72);
  backdrop-filter: blur(18px);
  transition: height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  height: 74px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 38px rgba(8, 33, 65, 0.11);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-name {
  display: grid;
  gap: 4px;
  color: var(--navy);
}

.brand-name strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 28px;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-name em {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-style: italic;
  text-align: center;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: var(--navy-2);
  padding: 6px;
  border: 1px solid rgba(10, 46, 88, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 30px rgba(10, 46, 88, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

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

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--navy);
  background: rgba(223, 240, 251, 0.88);
  box-shadow: inset 0 0 0 1px rgba(23, 104, 173, 0.16);
  transform: translateY(-1px);
}

.header-contact {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  min-width: 190px;
  padding: 0 24px 0 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy) 0%, #164f89 100%);
  box-shadow: 0 16px 34px rgba(10, 46, 88, 0.22);
  font-size: 14px;
  font-weight: 800;
  transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.phone-icon {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  position: relative;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.phone-icon::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round' d='M22 16.92v3a2 2 0 0 1-2.18 2A19.8 19.8 0 0 1 11.19 18a19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.08 4.18 2 2 0 0 1 4.06 2h3a2 2 0 0 1 2 1.72c.13.96.35 1.9.66 2.81a2 2 0 0 1-.45 2.11L8.1 9.9a16 16 0 0 0 6 6l1.26-1.17a2 2 0 0 1 2.11-.45c.91.31 1.85.53 2.81.66A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.phone-icon::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-contact:hover,
.header-contact:focus-visible {
  background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy) 100%);
  box-shadow: 0 20px 42px rgba(10, 46, 88, 0.3);
  transform: translateY(-1px);
}

.mail-icon {
  width: 18px;
  height: 13px;
  display: inline-block;
  position: relative;
  border: 1px solid currentColor;
}

.mail-icon::before,
.mail-icon::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 10px;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
}

.mail-icon::before {
  left: 1px;
  transform: rotate(35deg);
}

.mail-icon::after {
  right: -1px;
  transform: rotate(145deg);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  padding: 13px;
  color: #fff;
  background: var(--navy);
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 2px;
  width: 100%;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  z-index: 24;
  top: 72px;
  left: 0;
  right: 0;
  display: none;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--sky);
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url("./assets/hero-illustration.png") center center / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 72px));
  margin: 0 auto;
  padding-top: 90px;
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.95),
    0 0 16px rgba(255, 255, 255, 0.9);
}

.hero h1 {
  margin: 0;
  max-width: 810px;
  color: var(--navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 52px;
  line-height: 1.48;
  font-weight: 700;
  white-space: nowrap;
  text-shadow:
    2px 0 0 rgba(255, 255, 255, 0.94),
    -2px 0 0 rgba(255, 255, 255, 0.94),
    0 2px 0 rgba(255, 255, 255, 0.94),
    0 -2px 0 rgba(255, 255, 255, 0.94),
    0 8px 28px rgba(255, 255, 255, 0.8),
    0 12px 34px rgba(10, 46, 88, 0.2);
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  display: inline-block;
  padding: 12px 16px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(10, 46, 88, 0.08);
  font-size: 16px;
  line-height: 2;
  font-weight: 800;
  text-shadow: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.text-button,
.outline-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
}

.primary-button {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 16px 34px rgba(10, 46, 88, 0.2);
}

.text-button {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(10, 46, 88, 0.18);
}

.primary-button::after,
.text-button::after,
.outline-button::after {
  content: "→";
  font-family: Arial, sans-serif;
}

.intro-band {
  width: min(1120px, calc(100% - 72px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -70px auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--line);
}

.intro-band div {
  min-height: 168px;
  padding: 28px 30px;
  background: rgba(255, 255, 255, 0.96);
}

.intro-band div > span,
.strength-list article > span {
  display: inline-block;
  color: var(--red);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.intro-band strong {
  display: block;
  margin-top: 10px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  line-height: 1.45;
}

.intro-band p,
.section-heading > p:last-child,
.service-card div > span,
.about-copy > p,
.company-points dd,
.strength-list p,
.recruit-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
  font-weight: 600;
}

.services-section {
  padding: 112px 0 92px;
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.section-heading {
  width: min(1120px, calc(100% - 72px));
  margin: 0 auto 42px;
}

.section-heading.compact {
  margin-bottom: 30px;
}

.section-heading h2,
.about-copy h2,
.news-copy h2,
.recruit-copy h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 34px;
  line-height: 1.5;
  font-weight: 600;
}

.section-heading > p:last-child {
  max-width: 560px;
  margin: 16px 0 0;
}

.service-grid {
  width: min(1120px, calc(100% - 72px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0 auto;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(12, 47, 88, 0.07);
}

.service-card img {
  height: 220px;
  object-fit: cover;
  background: var(--sky);
}

.service-card div {
  padding: 28px;
}

.service-card p {
  margin: 0 0 10px;
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
}

.service-card h3,
.strength-list h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 23px;
  line-height: 1.45;
}

.service-card div > span {
  display: block;
  margin-top: 16px;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.service-card a::after {
  content: "→";
}

.about-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  background: var(--warm);
}

.about-copy {
  align-self: center;
  width: min(600px, calc(100% - 72px));
  margin: 0 auto;
  padding: 86px 0;
}

.about-copy > p {
  margin: 24px 0 0;
}

.company-points {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
}

.company-points div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(10, 46, 88, 0.12);
}

.company-points dt {
  color: var(--navy);
  font-weight: 900;
}

.company-points dd {
  margin: 0;
}

.company-points a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.outline-button {
  margin-top: 30px;
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(10, 46, 88, 0.22);
}

.outline-button.light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
}

.about-visual {
  min-height: 520px;
}

.about-visual img {
  height: 100%;
  object-fit: cover;
}

.strength-section {
  width: min(1120px, calc(100% - 72px));
  padding: 92px 0;
  margin: 0 auto;
}

.strength-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.strength-list article {
  min-height: 210px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.strength-list h3 {
  margin-top: 14px;
}

.strength-list p {
  margin: 14px 0 0;
}

.news-section {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 64px;
  width: min(1120px, calc(100% - 72px));
  padding: 82px 0;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.news-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.news-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.news-list time {
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-weight: 900;
}

.recruit-section {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  background: var(--navy);
  color: #fff;
}

.recruit-copy {
  width: min(500px, calc(100% - 72px));
  margin: 0 auto;
  padding: 80px 0;
}

.recruit-copy .section-kicker,
.recruit-copy h2,
.recruit-copy p {
  color: #fff;
}

.recruit-copy p {
  opacity: 0.82;
}

.recruit-visual img {
  height: 420px;
  object-fit: cover;
}

.stock-section .recruit-visual {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 48px;
  background:
    linear-gradient(135deg, rgba(244, 248, 251, 0.95) 0%, #ffffff 58%),
    #ffffff;
}

.stock-section .recruit-visual img {
  width: min(78%, 520px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(10, 46, 88, 0.14));
}

.stock-section .outline-button.light {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
}

.site-footer {
  color: #fff;
  background: var(--navy-2);
}

.footer-main {
  width: min(1120px, calc(100% - 72px));
  min-height: 260px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 22px;
  margin: 0 auto;
  text-align: center;
}

.footer-main > p {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 28px;
  line-height: 1.5;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 28px;
}

.footer-brand em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.footer-contact {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 13px;
  font-weight: 800;
}

.footer-bottom small {
  color: rgba(255, 255, 255, 0.68);
  font-family: Arial, sans-serif;
}

@media (max-width: 1160px) {
  .site-header {
    height: 72px;
    padding-left: 22px;
    background: rgba(255, 255, 255, 0.96);
  }

  .site-header.is-scrolled {
    height: 72px;
  }

  .brand {
    min-width: 0;
  }

  .brand-name strong {
    font-size: 22px;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .menu-button {
    display: block;
    margin-left: auto;
    margin-right: 16px;
  }

  .hero {
    min-height: 680px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .intro-band,
  .service-grid,
  .section-heading,
  .strength-section,
  .news-section,
  .footer-main {
    width: min(100% - 48px, 1120px);
  }
}

@media (max-width: 760px) {
  .phrase {
    display: inline-block;
    max-width: 100%;
  }

  .hero h1,
  .hero-copy,
  .intro-band strong,
  .intro-band p,
  .section-heading h2,
  .section-heading > p:last-child,
  .service-card h3,
  .service-card div > span,
  .about-copy h2,
  .about-copy > p,
  .strength-list h3,
  .strength-list p,
  .news-list a,
  .recruit-copy h2,
  .recruit-copy p,
  .footer-main > p {
    word-break: keep-all;
    overflow-wrap: normal;
    line-break: strict;
  }

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

  .brand-name strong {
    font-size: 19px;
  }

  .brand-name em {
    text-align: left;
    font-size: 12px;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    margin-right: 10px;
  }

  .hero {
    min-height: 650px;
    align-items: start;
  }

  .hero-media {
    background-position: 64% center;
  }

  .hero-inner {
    width: min(100% - 34px, 1120px);
    padding-top: 122px;
  }

  .hero h1 {
    font-size: clamp(18px, calc((100vw - 40px) / 15.5), 32px);
    line-height: 1.65;
  }

  .hero-copy {
    font-size: 14px;
    line-height: 2;
  }

  .intro-band {
    grid-template-columns: 1fr;
    margin-top: -42px;
  }

  .services-section {
    padding: 72px 0 64px;
  }

  .service-grid,
  .about-section,
  .strength-list,
  .news-section,
  .recruit-section {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .about-copy h2,
  .news-copy h2,
  .recruit-copy h2 {
    font-size: 27px;
  }

  .service-card img {
    height: 190px;
  }

  .about-copy,
  .recruit-copy {
    width: min(100% - 48px, 520px);
    padding: 64px 0;
  }

  .company-points div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .about-visual {
    min-height: auto;
  }

  .about-visual img,
  .recruit-visual img {
    height: 300px;
  }

  .stock-section .recruit-visual {
    min-height: 220px;
    padding: 36px 24px;
  }

  .stock-section .recruit-visual img {
    width: min(88%, 460px);
    height: auto;
  }

  .strength-section,
  .news-section {
    padding: 64px 0;
  }

  .news-section {
    gap: 26px;
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-main {
    min-height: 240px;
  }

  .footer-main > p {
    font-size: 22px;
  }

  .footer-bottom {
    display: grid;
    padding: 24px;
  }
}

@media (max-width: 390px) {
  .brand-name strong {
    font-size: 18px;
  }

  .primary-button,
  .text-button {
    width: 100%;
  }
}
