:root {
  --ink: #101318;
  --muted: #5e6773;
  --blue: #062b78;
  --bright-blue: #0a86d8;
  --cyan: #00b4d8;
  --red: #c70018;
  --line: #e5e9ef;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(8, 27, 54, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    Arial,
    sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 0 42px;
  background: #171717;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand img {
  width: 222px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--white);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.language-switcher span {
  color: rgba(255, 255, 255, 0.68);
}

.language-options {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
}

.language-options button {
  height: 38px;
  min-width: 78px;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  background: #222;
  color: var(--white);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.language-options button:last-child {
  border-right: 0;
}

.language-options button.is-active {
  background: var(--bright-blue);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: clamp(620px, 82vh, 760px);
  overflow: hidden;
  background: #051126;
}

.hero-image {
  width: 100%;
  height: clamp(620px, 82vh, 760px);
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(2, 22, 56, 0.74) 42%, rgba(0, 0, 0, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent 42%);
  pointer-events: none;
}

.hero-panel {
  position: absolute;
  left: clamp(24px, 7vw, 130px);
  top: 50%;
  z-index: 1;
  width: min(720px, calc(100% - 48px));
  transform: translateY(-50%);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(38px, 4.8vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

.desktop-title,
.mobile-title {
  display: block;
}

.mobile-title {
  display: none;
}

.hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.55vw, 21px);
  overflow-wrap: anywhere;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 800;
}

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

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.54);
  color: var(--white);
}

.section,
.intro,
.process-band,
.feature-strip,
.message-section,
.contact-section,
.site-footer {
  padding-inline: clamp(22px, 5vw, 84px);
}

.section {
  padding-top: clamp(76px, 9vw, 128px);
  padding-bottom: clamp(76px, 9vw, 128px);
}

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

h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

p {
  margin: 0 0 18px;
}

.section-heading p,
.intro-copy p,
.split p,
.pricing p,
.english p,
.contact-section p,
.message-section p {
  color: var(--muted);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
  background: var(--white);
}

.intro-copy {
  max-width: 600px;
}

.intro img {
  width: 100%;
  aspect-ratio: 2.63 / 1;
  object-fit: cover;
  box-shadow: var(--shadow);
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(9, 39, 84, 0.08);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.9 / 1;
  object-fit: cover;
  background: #13223b;
}

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

.service-card p {
  color: var(--muted);
  font-size: 15px;
}

.process-band {
  padding-top: clamp(74px, 8vw, 108px);
  padding-bottom: clamp(74px, 8vw, 108px);
  background:
    linear-gradient(135deg, rgba(4, 17, 42, 0.96), rgba(2, 44, 104, 0.94)),
    url("./assets/images/advancing.jpg") center / cover;
  color: var(--white);
}

.process-band .section-heading h2,
.process-band h3 {
  color: var(--white);
}

.process-band .section-heading p,
.process-item p {
  color: rgba(255, 255, 255, 0.74);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.process-item {
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.process-item span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--cyan);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.feature-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(70px, 8vw, 110px);
  padding-bottom: clamp(70px, 8vw, 110px);
  background: var(--soft);
}

.feature-strip img {
  width: 100%;
  aspect-ratio: 2.62 / 1;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.feature-strip p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: clamp(34px, 7vw, 94px);
  align-items: center;
}

.company-list {
  margin: 34px 0 0;
  border-top: 2px solid var(--blue);
}

.company-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--blue);
  font-weight: 800;
}

.company-list dd {
  margin: 0;
  color: var(--ink);
}

.profile-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.profile-stack img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  box-shadow: 0 12px 38px rgba(9, 39, 84, 0.1);
}

.cases {
  background: var(--soft);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.case-grid figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.case-grid img {
  width: 100%;
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
}

.case-grid figcaption {
  padding: 18px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.price-table {
  max-width: 1020px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(9, 39, 84, 0.08);
}

.price-row {
  display: grid;
  grid-template-columns: 0.9fr 1.8fr 0.8fr;
  min-height: 68px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row > div {
  display: flex;
  align-items: center;
  padding: 16px 22px;
  border-right: 1px solid var(--line);
}

.price-row > div:last-child {
  border-right: 0;
  font-weight: 800;
}

.price-head {
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
}

.message-section {
  display: flex;
  justify-content: center;
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.78)),
    url("./assets/images/service-brochure.jpg") center / cover;
}

.message-section > div {
  max-width: 800px;
  text-align: center;
}

.english {
  padding-top: clamp(60px, 7vw, 96px);
  padding-bottom: clamp(60px, 7vw, 96px);
  background: #071427;
}

.english h2,
.english .section-heading p {
  color: var(--white);
}

.english .section-heading {
  margin-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: 30px;
  align-items: center;
  padding-top: clamp(76px, 9vw, 120px);
  padding-bottom: clamp(76px, 9vw, 120px);
  background: var(--white);
}

.contact-card {
  padding: 34px;
  border-top: 5px solid var(--red);
  background: var(--soft);
}

.contact-card .phone {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.1;
}

.contact-card .primary-button {
  width: 100%;
  margin-top: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 110px;
  background: #171717;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer img {
  width: 180px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1120px) {
  .site-header {
    min-height: 82px;
    padding: 0 24px;
  }

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

  .brand img {
    width: 200px;
  }

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

  .intro,
  .feature-strip,
  .split {
    grid-template-columns: 1fr;
  }

  .profile-stack img {
    height: 460px;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 76px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 18px 22px 28px;
    background: #171717;
    transform: translateY(-130%);
    transition: transform 0.24s ease;
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.24);
  }

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

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav a:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .language-switcher {
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 0 0;
    border-left: 0;
  }

  .language-options {
    flex: 0 0 auto;
  }

  .brand img {
    width: 178px;
  }

  .hero,
  .hero-image {
    min-height: 620px;
    height: 620px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(5, 19, 45, 0.6));
  }

  .hero-panel {
    top: auto;
    bottom: 54px;
    transform: none;
  }

  .hero h1 {
    font-size: clamp(29px, 8.6vw, 40px);
  }

  .hero p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.65;
  }

  .desktop-title {
    display: none;
  }

  .mobile-title {
    display: block;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: 250px;
  }

  .primary-button,
  .secondary-button {
    flex: none;
    width: 100%;
  }

  .profile-stack {
    grid-template-columns: 1fr;
  }

  .profile-stack img {
    height: auto;
    max-height: 620px;
  }

  .company-list div,
  .price-row {
    grid-template-columns: 1fr;
  }

  .company-list div {
    gap: 4px;
  }

  .price-row > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .price-row > div:last-child {
    border-bottom: 0;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0 16px;
  }

  .brand img {
    width: 154px;
  }

  .hero,
  .hero-image {
    min-height: 600px;
    height: 600px;
  }

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

  .service-card div,
  .process-item,
  .contact-card {
    padding: 22px;
  }

  .case-grid figcaption {
    font-size: 16px;
  }
}
