:root {
  --ink: #112433;
  --ink-soft: #31495a;
  --sea: #0d5b75;
  --sea-deep: #073646;
  --sail: #c04732;
  --gold: #d49a4b;
  --paper: #f6f2e9;
  --mist: #e7f3f5;
  --line: rgba(17, 36, 51, 0.16);
  --shadow: 0 22px 60px rgba(9, 31, 45, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(5, 25, 35, 0.72), rgba(5, 25, 35, 0.72)),
    url("assets/image14.png") center / cover;
  font-family: "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
}

.result-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 25, 35, 0.92), rgba(7, 54, 70, 0.82)),
    url("assets/image14.png") center / cover;
}

.result-box {
  width: min(760px, 100%);
  padding: clamp(28px, 5vw, 48px);
  border: 2px solid rgba(241, 207, 131, 0.7);
  background: rgba(5, 25, 35, 0.78);
  box-shadow: var(--shadow);
}

.result-box p:not(.section-kicker) {
  font-weight: 700;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  color: #fff;
  background: linear-gradient(180deg, rgba(5, 25, 35, 0.82), rgba(5, 25, 35, 0.34));
  backdrop-filter: blur(12px);
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav {
  justify-content: flex-end;
  gap: clamp(14px, 2.5vw, 30px);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: start;
  overflow: hidden;
  color: #fff;
  background: var(--sea-deep);
}

.hero::before,
.hero::after,
.motion-scene::before,
.motion-scene::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  z-index: 1;
  opacity: 0.2;
  background:
    repeating-radial-gradient(ellipse at 18% 50%, rgba(178, 236, 248, 0.5) 0 1px, transparent 2px 18px),
    repeating-radial-gradient(ellipse at 72% 50%, rgba(255, 255, 255, 0.34) 0 1px, transparent 2px 22px);
  background-size: 220px 28px, 280px 32px;
  background-position: 0 54%, 80px 54%;
  clip-path: polygon(0 50%, 100% 50%, 100% 62%, 0 62%);
  animation: wave-drift 5.8s linear infinite;
}

.motion-scene::before {
  display: none;
}

.hero::after,
.motion-scene::after {
  z-index: 1;
  opacity: 0.24;
  background:
    linear-gradient(105deg, transparent 37%, rgba(255, 229, 170, 0.24) 45%, transparent 53%),
    linear-gradient(78deg, transparent 49%, rgba(255, 255, 255, 0.13) 52%, transparent 58%);
  background-size: 360px 100%, 520px 100%;
  background-position: 44% 0, 62% 0;
  mask-image: linear-gradient(90deg, transparent 26%, #000 42% 73%, transparent 88%);
  animation: sail-wind 4.6s ease-in-out infinite;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: 0;
}

.hero-shade {
  z-index: 2;
}

.hero-bg {
  background-image: url("assets/image14.png");
  background-size: cover;
  background-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 25, 35, 0.48) 0%, rgba(5, 25, 35, 0.26) 46%, rgba(5, 25, 35, 0.08) 100%),
    linear-gradient(0deg, rgba(5, 25, 35, 0.36), rgba(5, 25, 35, 0.04) 48%);
}

.hero-logo {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: min(840px, calc(100% - 72px));
  transform: translate(-50%, -50%);
}

.hero-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.38));
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(128px, 17vh, 168px) 0 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  max-width: 1040px;
  font-size: clamp(36px, 5.8vw, 64px);
  font-weight: 900;
}

@keyframes wave-drift {
  0% {
    background-position: 0 54%, 80px 54%;
  }
  100% {
    background-position: 220px 54%, -200px 54%;
  }
}

@keyframes sail-wind {
  0%, 100% {
    transform: translateX(-16px) skewX(-1deg);
    opacity: 0.16;
  }
  50% {
    transform: translateX(18px) skewX(1.2deg);
    opacity: 0.32;
  }
}

h2 {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 900;
}

h3 {
  font-size: clamp(19px, 2.2vw, 25px);
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 190px));
  gap: 12px;
  margin-top: 34px;
}

.button {
  position: relative;
  min-height: 72px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 18px;
  isolation: isolate;
  border: 2px solid #f1cf83;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, #bf4933 0%, #842816 100%);
  box-shadow:
    inset 0 0 0 2px rgba(51, 18, 10, 0.36),
    inset 0 -8px 0 rgba(60, 16, 10, 0.35),
    0 10px 0 #4c1a12,
    0 18px 32px rgba(0, 0, 0, 0.34);
  font-weight: 800;
  text-align: center;
  text-shadow: 0 2px 0 rgba(42, 13, 8, 0.78);
  transform: translateY(0);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.button::before,
.button::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.button::before {
  inset: 6px;
  border: 1px solid rgba(255, 241, 196, 0.45);
}

.button::after {
  width: 13px;
  height: 13px;
  top: -8px;
  left: 50%;
  border-top: 2px solid #f1cf83;
  border-left: 2px solid #f1cf83;
  background: #842816;
  transform: translateX(-50%) rotate(45deg);
}

.button:hover,
.button:focus-visible {
  filter: brightness(1.08) saturate(1.08);
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 2px rgba(51, 18, 10, 0.28),
    inset 0 -8px 0 rgba(60, 16, 10, 0.3),
    0 13px 0 #4c1a12,
    0 22px 36px rgba(0, 0, 0, 0.38);
}

.button:active {
  transform: translateY(6px);
  box-shadow:
    inset 0 0 0 2px rgba(51, 18, 10, 0.36),
    inset 0 -4px 0 rgba(60, 16, 10, 0.3),
    0 4px 0 #4c1a12,
    0 12px 26px rgba(0, 0, 0, 0.26);
}

.button-main {
  font-size: 18px;
  line-height: 1.25;
}

.button-sub {
  color: #ffe3a2;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 10vw, 116px) 0;
  scroll-margin-top: 88px;
}

.section:not(.hero) {
  font-size: clamp(19px, 1.9vw, 22px);
}

.section:not(.hero) .section-kicker {
  font-size: clamp(15px, 1.4vw, 18px);
}

.section-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  scroll-margin-top: 88px;
}

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

.lead {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(19px, 2vw, 23px);
}

.intro-section {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5, 25, 35, 0.8), rgba(5, 25, 35, 0.76)),
    url("assets/image14.png") center / cover;
}

.company-list {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(241, 207, 131, 0.34);
  background: rgba(5, 25, 35, 0.66);
  box-shadow: var(--shadow);
}

.company-list div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(241, 207, 131, 0.28);
}

.company-list dt {
  color: #ffe3a2;
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 900;
}

.company-list dd {
  margin: 0;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
}

.image-band {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5, 25, 35, 0.82), rgba(5, 25, 35, 0.78)),
    url("assets/image14.png") center / cover;
}

.band-media {
  display: none;
}

.leader-layout {
  display: grid;
  gap: 34px;
}

.leader-heading {
  max-width: none;
}

.leader-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(241, 207, 131, 0.34);
  background: rgba(5, 25, 35, 0.66);
  box-shadow: var(--shadow);
}

.leader-panel p {
  max-width: none;
  margin: 0;
  font-size: clamp(20px, 2.1vw, 24px);
  font-weight: 700;
}

.leader-panel p + p {
  margin-top: 22px;
}

#strengths {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5, 25, 35, 0.8), rgba(5, 25, 35, 0.76)),
    url("assets/image14.png") center / cover;
}

.strength-table {
  margin-top: 34px;
  border: 1px solid rgba(241, 207, 131, 0.34);
  background: rgba(5, 25, 35, 0.66);
  box-shadow: var(--shadow);
}

.strength-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 96px;
  padding: 24px 30px;
  border-bottom: 1px solid rgba(241, 207, 131, 0.18);
}

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

.strength-head {
  min-height: auto;
  color: #fff;
  background: rgba(7, 54, 70, 0.92);
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 900;
}

.strength-row > * {
  margin: 0;
  padding: 0;
}

.strength-row > * + * {
  border-left: 0;
}

.strength-row h3 {
  color: #ffe3a2;
  font-size: clamp(21px, 2.2vw, 26px);
}

.strength-row p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
}

.services-section {
  color: #fff;
  background-image:
    linear-gradient(180deg, rgba(5, 25, 35, 0.82), rgba(5, 25, 35, 0.78)),
    url("assets/image14.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.service-table {
  margin-top: 34px;
  border: 1px solid rgba(241, 207, 131, 0.34);
  background: rgba(5, 25, 35, 0.66);
  box-shadow: var(--shadow);
}

.service-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 96px;
  padding: 24px 30px;
  border-bottom: 1px solid rgba(241, 207, 131, 0.18);
}

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

.service-head {
  min-height: auto;
  color: #fff;
  background: rgba(7, 54, 70, 0.92);
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 900;
}

.service-row > * {
  margin: 0;
  padding: 0;
}

.service-row > * + * {
  border-left: 0;
}

.service-row h3 {
  color: #ffe3a2;
  font-size: clamp(21px, 2.2vw, 26px);
  word-break: keep-all;
  overflow-wrap: normal;
}

.service-row ul {
  margin: 0;
  padding-left: 1.15em;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
}

.service-row li + li {
  margin-top: 7px;
}

.contact-section {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5, 25, 35, 0.82), rgba(5, 25, 35, 0.78)),
    url("assets/image14.png") center / cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.contact-copy .lead {
  color: rgba(255, 255, 255, 0.86);
}

.contact-lead {
  width: max-content;
  max-width: 100%;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.75;
  overflow-wrap: normal;
  word-break: keep-all;
}

.contact-note {
  display: inline-flex;
  margin: 24px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(241, 207, 131, 0.6);
  color: #ffe3a2;
  background: rgba(5, 25, 35, 0.54);
  font-weight: 800;
}

.contact-form {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
  border: 2px solid rgba(241, 207, 131, 0.7);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(5, 25, 35, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 24px 58px rgba(0, 0, 0, 0.34);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 900;
}

.contact-form label + label {
  margin-top: 18px;
}

.contact-form strong {
  margin-left: 6px;
  color: #ffe3a2;
  font-size: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(241, 207, 131, 0.58);
  color: #fff;
  background: rgba(3, 18, 26, 0.72);
  font: inherit;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  outline: none;
  box-shadow: inset 0 4px 0 rgba(0, 0, 0, 0.22);
}

.reveal {
  opacity: 0;
  transform: translateY(-26px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.2, 0.85, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.contact-form input {
  min-height: 52px;
  padding: 12px 14px;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
  padding: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ffe3a2;
  box-shadow:
    inset 0 4px 0 rgba(0, 0, 0, 0.22),
    0 0 0 3px rgba(241, 207, 131, 0.24);
}

.form-button {
  width: min(260px, 100%);
  margin-top: 24px;
  margin-left: auto;
  align-self: flex-end;
  display: flex;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.site-footer {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 25, 35, 0.96), rgba(13, 91, 117, 0.9)),
    url("assets/image14.png") center / cover;
}

.footer-inner {
  padding: 34px 0;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  font-weight: 700;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1100px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form {
    max-width: 780px;
  }

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

  .strength-row > * + *,
  .service-row > * + * {
    border-left: 0;
    border-top: 0;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 24px;
  }

  .site-header {
    position: absolute;
    min-height: 64px;
    justify-content: flex-start;
    gap: 0;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    padding-top: 188px;
  }

  .strength-head,
  .service-head {
    display: none;
  }
}

@media (max-width: 540px) {
  .site-nav {
    gap: 18px;
    font-size: 14px;
    flex-wrap: wrap;
    overflow-x: visible;
    white-space: normal;
    row-gap: 8px;
  }

  .hero-logo {
    top: 50%;
    width: min(360px, calc(100% - 32px));
  }

  .hero {
    min-height: 760px;
  }

  h1 {
    font-size: clamp(32px, 10.2vw, 40px);
    line-height: 1.32;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 25, 35, 0.88), rgba(5, 25, 35, 0.56)),
      linear-gradient(0deg, rgba(5, 25, 35, 0.74), rgba(5, 25, 35, 0.1));
  }

  .button {
    width: 100%;
  }

  .button-main {
    font-size: 17px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px;
  }

  .strength-row,
  .service-row {
    padding: 20px;
  }

  .strength-row > *,
  .service-row > * {
    padding: 0;
  }

}
