:root {
  --navy: #0b3558;
  --blue: #1b629d;
  --clear-blue: #2e7db7;
  --sky: #eaf4f8;
  --sky-strong: #d5edf6;
  --paper: #ffffff;
  --cream: #fffdf7;
  --ink: #1d2f3e;
  --muted: #546879;
  --line: #cfe0eb;
  --danger: #9e3f33;
  --shadow: 0 22px 48px rgba(11, 53, 88, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.8;
  background: #f7fbfd;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 78px;
  padding: 12px 44px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(207, 224, 235, 0.86);
  backdrop-filter: blur(14px);
}

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

.brand img {
  width: 292px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border-left: 1px solid var(--line);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.nav-contact {
  gap: 18px;
  justify-content: center;
  min-width: 178px;
  margin-left: 18px;
  color: #fff;
  background: var(--blue);
  border: 2px solid var(--navy);
  border-left: 2px solid var(--navy);
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(27, 98, 157, 0.22);
}

.site-nav a.nav-contact {
  border: 2px solid var(--navy);
  border-radius: 16px;
}

.site-nav .nav-contact:hover,
.site-nav .nav-contact:focus-visible {
  color: #fff;
  background: var(--navy);
}

.nav-contact svg,
.submit-button svg,
.primary-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  padding: 36px 0 56px;
  background:
    radial-gradient(circle at 82% 23%, rgba(46, 125, 183, 0.12) 0 18%, transparent 18% 45%),
    linear-gradient(180deg, #eef8fc 0%, #f8fcfe 56%, #fff 100%);
}

.pipe-line {
  position: absolute;
  border: 3px solid rgba(46, 125, 183, 0.11);
  border-right: 0;
  pointer-events: none;
}

.pipe-line::before,
.pipe-line::after {
  position: absolute;
  content: "";
  width: 22px;
  height: 22px;
  border: 3px solid rgba(46, 125, 183, 0.11);
  border-radius: 4px;
  background: #eef8fc;
}

.pipe-line-1 {
  top: 92px;
  left: 44px;
  width: 330px;
  height: 80px;
  border-radius: 18px 0 0 18px;
}

.pipe-line-1::before {
  top: -12px;
  left: 58px;
}

.pipe-line-1::after {
  right: -12px;
  bottom: -12px;
}

.pipe-line-2 {
  right: -80px;
  bottom: 72px;
  width: 420px;
  height: 110px;
  border-color: rgba(46, 125, 183, 0.08);
  border-radius: 22px 0 0 22px;
}

.pipe-line-2::before,
.pipe-line-2::after {
  border-color: rgba(46, 125, 183, 0.08);
}

.pipe-line-2::before {
  top: -12px;
  left: 92px;
}

.pipe-line-2::after {
  right: -12px;
  bottom: -12px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1fr);
  grid-template-areas: "card photo";
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 650px;
  margin: 0 auto;
}

.hero-photo-wrap {
  position: relative;
  grid-area: photo;
  align-self: end;
}

.hero-photo-layer {
  position: absolute;
  inset: -24px -26px 24px 26px;
  background: linear-gradient(135deg, var(--navy), var(--clear-blue));
  border: 4px solid var(--navy);
  border-radius: 44px 18px 44px 18px;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  border: 5px solid var(--navy);
  border-radius: 40px 16px 40px 16px;
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  right: -22px;
  bottom: 24px;
  z-index: 4;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  gap: 6px;
  width: 150px;
  height: 150px;
  aspect-ratio: 1;
  padding: 20px;
  color: var(--blue);
  text-align: center;
  background: #fff;
  border: 4px solid var(--blue);
  border-radius: 50%;
  box-shadow: 0 18px 34px rgba(11, 53, 88, 0.16);
}

.hero-badge svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.hero-badge span {
  display: block;
  max-width: 92px;
  margin: 0 auto;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.hero-card {
  position: relative;
  z-index: 3;
  grid-area: card;
  width: min(620px, calc(100% + 120px));
  margin-right: -120px;
  padding: 58px 46px 44px;
  color: var(--navy);
  background: rgba(255, 253, 247, 0.96);
  border: 5px solid var(--navy);
  border-radius: 32px;
  box-shadow: 0 24px 46px rgba(11, 53, 88, 0.15);
}

.hero-en {
  margin: 0 0 12px;
  color: var(--clear-blue);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.hero h1 {
  margin: 0;
  font-size: 55px;
  font-weight: 800;
  line-height: 1.36;
}

.hero-copy {
  position: relative;
  margin: 24px 0 26px;
  padding-top: 20px;
  color: #203647;
  font-size: 17px;
  font-weight: 700;
}

.hero-copy::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 66px;
  height: 4px;
  content: "";
  background: var(--clear-blue);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 20px;
  color: #fff;
  background: var(--blue);
  border: 2px solid var(--navy);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(27, 98, 157, 0.18);
}

.section {
  padding: 108px 0;
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading.centered {
  text-align: center;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.4;
}

.heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.heading-row > p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.about {
  background: #fff;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 58px;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 18px;
  color: #324656;
  font-size: 17px;
  font-weight: 700;
}

.about-copy p {
  margin: 0;
}

.about-points {
  display: grid;
  gap: 16px;
}

.about-points article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  padding: 22px;
  background: #f3f9fc;
  border: 2px solid var(--line);
  border-radius: 22px;
}

.about-points span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 56px;
  aspect-ratio: 1;
  color: #fff;
  background: var(--blue);
  border: 2px solid var(--navy);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

.about-points h3 {
  margin: 0;
  color: var(--navy);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
}

.about-points p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.services {
  background: linear-gradient(180deg, #f3f9fc 0%, #fff 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

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

.service-card span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.service-card h3,
.strength-grid h3,
.policy-block h3 {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.45;
}

.service-card p,
.strength-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.strengths {
  background: #fff;
}

.strength-panel {
  padding: 58px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 53, 88, 0.94), rgba(27, 98, 157, 0.92)),
    var(--navy);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.strength-panel .section-kicker,
.strength-panel h2 {
  color: #fff;
}

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

.strength-grid article {
  min-height: 260px;
  padding: 30px 26px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-radius: 26px;
}

.strength-icon {
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  margin-bottom: 20px;
  color: var(--blue);
  background: #e6f3f9;
  border-radius: 50%;
}

.strength-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.company {
  background: var(--sky);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  gap: 58px;
  align-items: start;
}

.company-list {
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid var(--line);
  border-radius: 24px;
}

.company-list div {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

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

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

.company-list dd {
  margin: 0;
  color: #304554;
  font-weight: 600;
}

.office-address {
  display: block;
}

.office-address + .office-address {
  margin-top: 14px;
}

.office-address strong {
  display: inline-block;
  margin-bottom: 2px;
  color: var(--navy);
  font-weight: 800;
}

.map-area {
  height: 400px;
  overflow: hidden;
  background: #dfeaf1;
  border: 2px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.map-area iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.82);
}

.contact {
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(560px, 1.28fr);
  gap: 62px;
  align-items: start;
}

.contact-intro {
  position: sticky;
  top: 120px;
}

.contact-intro p {
  margin: 0;
  color: #324656;
  font-weight: 700;
}

.contact-form {
  padding: 34px;
  background: #f5fafc;
  border: 2px solid var(--line);
  border-radius: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.form-grid label,
.policy-check {
  display: grid;
  gap: 8px;
}

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

.form-grid span,
.policy-check span {
  color: #27323d;
  font-size: 14px;
  font-weight: 800;
}

.form-grid b,
.policy-check b {
  color: var(--danger);
  font-size: 12px;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 14px 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c7dbe7;
  border-radius: 12px;
  outline: none;
}

.form-grid input:focus,
.form-grid textarea:focus,
.policy-check input:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46, 125, 183, 0.14);
}

.form-grid textarea {
  min-height: 150px;
  resize: vertical;
}

.policy-block {
  margin: 34px 0 26px;
}

.policy-block h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.policy-text {
  height: 150px;
  overflow-y: auto;
  padding: 18px;
  color: #4b5660;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  font-size: 14px;
}

.policy-text p {
  margin: 0 0 14px;
}

.policy-text p:last-child {
  margin-bottom: 0;
}

.policy-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  margin-top: 16px;
}

.policy-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.submit-button,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: 180px;
  min-height: 58px;
  padding: 14px 28px;
  color: #fff;
  background: var(--blue);
  border: 2px solid var(--navy);
  border-radius: 16px;
  box-shadow: 0 14px 26px rgba(27, 98, 157, 0.2);
  cursor: pointer;
}

.submit-button:hover,
.submit-button:focus-visible,
.primary-link:hover,
.primary-link:focus-visible {
  background: var(--navy);
}

.contact-result {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact-result p {
  margin: 0 0 28px;
  color: #33414d;
  font-size: 17px;
  font-weight: 700;
}

.contact-result ul {
  display: inline-grid;
  gap: 8px;
  margin: 0 0 32px;
  padding: 18px 22px 18px 42px;
  color: var(--danger);
  text-align: left;
  background: #fff7f5;
  border: 1px solid #edcbc4;
  border-radius: 12px;
}

.site-footer {
  padding: 34px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand img {
  width: 270px;
  height: 52px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1160px) {
  .site-header {
    padding: 12px 28px;
  }

  .brand img {
    width: 250px;
  }

  .site-nav a {
    padding: 0 14px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1fr);
  }

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

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

  .brand img {
    width: 230px;
    height: 50px;
  }

  .nav-toggle {
    position: relative;
    z-index: 32;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 46px;
    height: 46px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--navy);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-header.is-open .nav-toggle span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .nav-toggle span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: grid;
    padding: 14px 24px 28px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 36px rgba(20, 50, 80, 0.12);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

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

  .site-nav a {
    justify-content: space-between;
    min-height: 54px;
    padding: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-contact {
    min-width: 0;
    margin: 18px 0 0;
    padding: 0 22px;
    border-bottom: 2px solid var(--navy);
  }

  .site-nav a.nav-contact {
    gap: 16px;
    padding: 0 26px;
    border: 2px solid var(--navy);
    border-radius: 16px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "card";
    min-height: auto;
  }

  .hero-photo-wrap {
    width: min(100%, 660px);
    margin: 0 auto;
  }

  .hero-photo {
    aspect-ratio: 1.55;
  }

  .hero-card {
    width: min(680px, 94%);
    margin: -118px auto 0;
    padding: 40px 34px 32px;
  }

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

  .hero-badge {
    right: 12px;
    bottom: 108px;
    width: 132px;
    height: 132px;
    padding: 16px;
    border-width: 3px;
  }

  .hero-badge svg {
    width: 30px;
    height: 30px;
  }

  .hero-badge span {
    max-width: 76px;
    font-size: 10.5px;
    line-height: 1.4;
  }

  .about-layout,
  .company-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    position: static;
  }

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

  .strength-panel {
    padding: 42px 24px;
  }

  .map-area {
    min-height: 340px;
  }
}

@media (max-width: 720px) {
  .container,
  .hero-inner {
    width: min(100% - 32px, 1120px);
  }

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

  .brand {
    max-width: calc(100% - 58px);
  }

  .brand img {
    width: 216px;
    height: 46px;
  }

  .pipe-line {
    display: none;
  }

  .hero-photo-layer {
    inset: -14px -12px 14px 12px;
    border-width: 3px;
    border-radius: 30px 12px 30px 12px;
  }

  .hero-photo {
    aspect-ratio: 1.2;
    border-width: 3px;
    border-radius: 28px 12px 28px 12px;
  }

  .hero-badge {
    right: -4px;
    bottom: 12px;
    width: 124px;
    height: 124px;
    padding: 14px;
    border-width: 3px;
  }

  .hero-badge svg {
    width: 28px;
    height: 28px;
  }

  .hero-badge span {
    max-width: 72px;
    font-size: 10px;
    line-height: 1.38;
  }

  .hero-card {
    width: 100%;
    margin-top: -44px;
    padding: 30px 24px;
    border-width: 3px;
    border-radius: 24px;
  }

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

  .hero-copy {
    font-size: 15px;
  }

  .hero-tags span {
    min-height: 38px;
    padding: 7px 14px;
    font-size: 13px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: 29px;
  }

  .heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-points article {
    grid-template-columns: 1fr;
  }

  .about-points span {
    grid-row: auto;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .company-list div {
    grid-template-columns: 88px 1fr;
    gap: 14px;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .brand img {
    width: 194px;
  }

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