:root {
  --navy: #183348;
  --ink: #17212a;
  --muted: #65727c;
  --line: #dfe7eb;
  --paper: #f7f4ee;
  --white: #ffffff;
  --teal: #1c8d8b;
  --amber: #f6b21a;
  --blue: #1479d6;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}

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

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

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

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(var(--max), calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

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

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 46px);
  font-size: 14px;
  font-weight: 800;
}

.main-nav a,
.footer-nav a {
  color: #263541;
  position: relative;
}

.main-nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after,
.footer-nav a:hover::after,
.footer-nav a.active::after {
  transform: scaleX(1);
}

.header-action,
.primary-link {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(24, 51, 72, 0.18);
}

.icon-doc {
  width: 15px;
  height: 19px;
  border: 1.7px solid currentColor;
  border-radius: 2px;
  position: relative;
}

.icon-doc::before {
  content: "";
  position: absolute;
  top: -1.7px;
  right: -1.7px;
  width: 7px;
  height: 7px;
  border-left: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  background: var(--navy);
}

.hero {
  background:
    linear-gradient(110deg, rgba(24, 51, 72, 0.96), rgba(28, 141, 139, 0.86)),
    radial-gradient(circle at 85% 20%, rgba(246, 178, 26, 0.34), transparent 30%);
  color: var(--white);
}

.hero-inner {
  width: min(var(--max), calc(100% - 48px));
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 430px;
  gap: 64px;
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin: 0;
  max-width: 670px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.18;
  font-weight: 900;
}

.lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.primary-link {
  background: var(--amber);
  color: #1e2a33;
}

.text-link {
  color: var(--white);
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-panel div {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
}

.hero-panel span {
  color: var(--amber);
  font-weight: 900;
}

.hero-panel strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.hero-panel p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.intro-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  padding: 72px 0;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 70px;
  align-items: start;
}

.intro-grid h2,
.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.35;
}

.intro-grid > p {
  margin: 0;
  color: #374650;
  font-size: 17px;
}

.services {
  padding: 92px 0 96px;
}

.section-head {
  margin-bottom: 36px;
}

.service-row {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 410px minmax(0, 1fr);
  gap: 42px;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(23, 33, 42, 0.08);
}

.service-row.reverse {
  grid-template-columns: minmax(0, 1fr) 410px;
}

.service-row.reverse .service-media {
  order: 2;
}

.service-row.reverse .service-body {
  order: 1;
}

.service-media {
  background: #eef6f5;
  border-right: 1px solid var(--line);
}

.reverse .service-media {
  border-right: 0;
  border-left: 1px solid var(--line);
}

.logo-grid {
  padding: 34px;
  display: grid;
  gap: 16px;
  align-content: center;
}

.logo-grid img {
  width: 100%;
  min-height: 104px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid #e8eef0;
  border-radius: 8px;
  padding: 14px;
}

.logo-grid.two img {
  min-height: 158px;
}

.delivery-grid img:first-child {
  min-height: 154px;
}

.service-body {
  padding: 50px 52px;
}

.number {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.service-body h3 {
  margin: 0 0 18px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.35;
}

.service-body p {
  margin: 0;
  color: #3f4d56;
}

.tag-list {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.tag-list li {
  padding: 8px 13px;
  border: 1px solid #cddadd;
  border-radius: 999px;
  color: #263541;
  background: #f7fbfb;
  font-size: 14px;
  font-weight: 800;
}

.support-detail {
  margin: 28px 0 64px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr 180px;
  gap: 24px;
  align-items: end;
  background: #e9f0ee;
  border-left: 6px solid var(--teal);
}

.detail-copy h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.detail-copy p {
  margin: 0 0 18px;
  color: #3f4d56;
}

dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

dl div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

dd {
  margin: 0;
  color: #24333c;
}

dd a {
  color: var(--blue);
  text-decoration: underline;
  font-weight: 800;
}

.support-figure {
  width: 168px;
  justify-self: end;
}

.next-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--navy);
}

.next-links a {
  min-height: 250px;
  padding: 46px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 180ms ease, transform 180ms ease;
}

.next-links a:nth-child(2) {
  background: rgba(28, 141, 139, 0.32);
}

.next-links a:hover {
  background: rgba(246, 178, 26, 0.18);
}

.next-links span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.next-links strong {
  margin-top: 14px;
  font-size: 26px;
  line-height: 1.35;
}

.next-links em {
  margin-top: 24px;
  font-style: normal;
  font-weight: 900;
}

.site-footer {
  background: #111b23;
  color: var(--white);
}

.home-visual {
  padding: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
}

.home-visual img {
  width: 100%;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.2));
}

.page-section {
  padding: 92px 0;
}

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

.summary-grid article,
.info-panels article,
.office-grid article {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(23, 33, 42, 0.06);
}

.summary-grid span,
.info-panels h3,
.office-grid span {
  color: var(--teal);
  font-weight: 900;
}

.summary-grid h3,
.info-panels h3 {
  margin: 12px 0 12px;
  font-size: 23px;
  line-height: 1.35;
}

.summary-grid p,
.info-panels p,
.office-grid p {
  margin: 0;
  color: #3f4d56;
}

.summary-grid a {
  margin-top: 22px;
  display: inline-flex;
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
}

.split-showcase {
  margin-bottom: 92px;
  padding: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 50px;
  align-items: center;
  background: #e9f0ee;
  border-left: 6px solid var(--teal);
}

.split-showcase h2,
.contact-banner h2,
.process-section h2,
.logo-story h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.35;
}

.split-showcase p,
.contact-banner p,
.logo-story p {
  color: #3f4d56;
}

.split-showcase img {
  width: 100%;
}

.subhero {
  padding: 92px 0;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(24, 51, 72, 0.97), rgba(28, 141, 139, 0.84)),
    radial-gradient(circle at 90% 0%, rgba(246, 178, 26, 0.28), transparent 32%);
}

.subhero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 60px;
  align-items: center;
}

.subhero h1 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.22;
}

.subhero p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.subhero img {
  width: 100%;
  justify-self: center;
}

.company-hero img {
  width: 190px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
}

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

.process-section {
  padding: 72px 0;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: start;
}

.flow-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  list-style: none;
}

.flow-list li {
  padding: 24px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 0 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.flow-list span {
  grid-row: 1 / 3;
  color: var(--amber);
  font-weight: 900;
}

.flow-list strong {
  font-size: 20px;
}

.flow-list p {
  margin: 4px 0 0;
  color: #3f4d56;
}

.contact-banner {
  margin-bottom: 92px;
  padding: 54px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 22px 50px rgba(23, 33, 42, 0.08);
}

.company-table {
  display: grid;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.company-table div {
  display: grid;
  grid-template-columns: 190px 1fr;
  border-bottom: 1px solid var(--line);
}

.company-table div:last-child {
  border-bottom: 0;
}

.company-table dt,
.company-table dd {
  padding: 19px 22px;
}

.company-table dt {
  background: #eef6f5;
  color: var(--muted);
  font-weight: 900;
}

.company-table dd {
  margin: 0;
}

.company-table a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
}

.office-section {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 44px;
  align-items: start;
}

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

.logo-story {
  margin-bottom: 92px;
  padding: 46px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  background: #e9f0ee;
  border-left: 6px solid var(--teal);
}

.contact-people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: end;
}

.contact-people img {
  padding: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
}

.contact-layout {
  padding: 92px 0;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.contact-note {
  padding: 34px;
  background: #e9f0ee;
  border-left: 6px solid var(--teal);
}

.contact-note h2 {
  margin: 0 0 20px;
  font-size: 30px;
}

.contact-note ul {
  margin: 0 0 24px;
  padding-left: 20px;
}

.contact-note a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
}

.contact-form {
  padding: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 22px 50px rgba(23, 33, 42, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #263541;
  font-weight: 900;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cddadd;
  border-radius: 7px;
  font: inherit;
  background: #fbfdfd;
}

.contact-form textarea {
  resize: vertical;
}

.consent-field {
  display: flex;
  grid-template-columns: none;
  grid-auto-flow: column;
  justify-content: start;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.consent-field input {
  width: 18px;
  min-height: 18px;
}

.contact-form button {
  border: 0;
  cursor: pointer;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 24px;
  color: var(--muted);
  font-weight: 800;
}

.form-status[data-state="success"] {
  color: #16745f;
}

.form-status[data-state="error"] {
  color: #b3261e;
}

.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  min-height: 220px;
  padding: 46px 0 34px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px 54px;
  align-items: center;
}

.footer-inner img {
  width: 126px;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: 34px;
  font-size: 14px;
  font-weight: 800;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.88);
}

.footer-inner p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 0;
    justify-items: center;
  }

  .main-nav {
    order: 3;
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .hero-inner,
  .intro-grid,
  .service-row,
  .service-row.reverse,
  .support-detail,
  .subhero-grid,
  .split-showcase,
  .process-section,
  .office-section,
  .logo-story,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 34px;
    padding: 76px 0;
  }

  .service-row.reverse .service-media,
  .service-row.reverse .service-body {
    order: initial;
  }

  .service-media,
  .reverse .service-media {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .logo-grid.three,
  .delivery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .support-figure {
    justify-self: center;
  }

  .home-visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .summary-grid,
  .info-panels,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .subhero-grid > img,
  .company-hero img {
    max-width: 220px;
  }

  .contact-people {
    max-width: 520px;
    margin: 0 auto;
  }

  .next-links {
    grid-template-columns: 1fr;
  }

  .next-links a {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .section-inner,
  .header-inner,
  .hero-inner,
  .footer-inner {
    width: calc(100% - 28px);
  }

  .site-header {
    position: static;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 10px 18px;
    text-align: center;
  }

  .main-nav a:last-child {
    grid-column: 1 / -1;
  }

  .header-action {
    width: 100%;
  }

  .hero-inner {
    min-height: auto;
    padding: 58px 0;
  }

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

  .lead,
  .intro-grid > p {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-link,
  .text-link {
    width: 100%;
    text-align: center;
  }

  .intro-grid {
    padding: 54px 0;
    gap: 28px;
  }

  .services {
    padding: 62px 0;
  }

  .service-body {
    padding: 34px 24px;
  }

  .page-section {
    padding: 62px 0;
  }

  .logo-grid,
  .logo-grid.three,
  .delivery-grid {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .support-detail {
    padding: 22px;
  }

  .split-showcase,
  .contact-banner,
  .logo-story {
    padding: 28px 22px;
  }

  .company-table div {
    grid-template-columns: 1fr;
  }

  .company-table dt,
  .company-table dd {
    padding: 14px 16px;
  }

  .flow-list li {
    grid-template-columns: 1fr;
  }

  .flow-list span {
    grid-row: auto;
  }

  .contact-layout {
    padding: 62px 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .contact-note {
    padding: 24px 20px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .next-links a {
    padding: 34px 24px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 28px;
  }
}
