:root {
  --navy-950: #071a2e;
  --navy-900: #0c2744;
  --navy-800: #163a63;
  --blue-600: #42689d;
  --blue-100: #eaf1f8;
  --orange-500: #f28c28;
  --white: #ffffff;
  --gray-50: #f7f9fc;
  --gray-100: #edf1f5;
  --gray-500: #687789;
  --gray-800: #263442;
  --shadow: 0 24px 60px rgb(7 26 46 / 10%);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-800);
  background: var(--white);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: var(--white);
  background: rgb(7 26 46 / 88%);
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  line-height: 1;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  border: 2px solid currentColor;
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -1px;
  transform: skew(-5deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: 6px;
  width: 15px;
  height: 3px;
  background: var(--orange-500);
}

.brand-name {
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1.2px;
}

.global-navigation {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 13px;
  font-weight: 600;
}

.global-navigation a:not(.nav-contact) {
  position: relative;
}

.global-navigation a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  inset: auto 0 -7px;
  height: 2px;
  background: var(--orange-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.global-navigation a:hover::after {
  transform: scaleX(1);
}

.nav-contact {
  padding: 9px 17px;
  border: 1px solid rgb(255 255 255 / 55%);
  transition: background 180ms ease, color 180ms ease;
}

.nav-contact:hover {
  color: var(--navy-950);
  background: var(--white);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--white);
  background: transparent;
  border: 0;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(115deg, rgb(7 26 46 / 97%), rgb(12 39 68 / 91%)),
    radial-gradient(circle at 75% 45%, #42689d, #071a2e 60%);
}

.hero::before {
  content: "CHALLENGE";
  position: absolute;
  right: -32px;
  bottom: 2%;
  color: rgb(255 255 255 / 3%);
  font-family: "Oswald", sans-serif;
  font-size: clamp(100px, 16vw, 260px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -5px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 150px 110px;
}

.hero-eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--orange-500);
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: 3px;
}

.hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(34px, 5.1vw, 72px);
  line-height: 1.42;
  letter-spacing: 0.02em;
}

.hero h1 span {
  color: #c7d9ec;
}

.hero-message {
  margin: 32px 0 42px;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 500;
  letter-spacing: 0.12em;
}

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

.button {
  min-width: 190px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--orange-500);
}

.button-primary:hover {
  background: #da7414;
}

.button-secondary {
  color: var(--white);
  border-color: rgb(255 255 255 / 55%);
}

.button-secondary:hover {
  color: var(--navy-950);
  background: var(--white);
}

.button-disabled {
  color: #8995a1;
  background: #dce2e8;
  cursor: not-allowed;
}

.scroll-guide {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: "Oswald", sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
}

.scroll-line {
  width: 1px;
  height: 58px;
  background: linear-gradient(var(--orange-500) 50%, rgb(255 255 255 / 20%) 50%);
}

.hero-decoration {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 9%);
  transform: rotate(32deg);
}

.hero-decoration-one {
  width: 380px;
  height: 380px;
  right: 9%;
  top: 21%;
}

.hero-decoration-two {
  width: 220px;
  height: 220px;
  right: 2%;
  top: 38%;
  border-color: rgb(242 140 40 / 18%);
}

.section {
  padding-block: 120px;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.45fr;
  gap: clamp(48px, 9vw, 130px);
}

.section-heading h2,
.section-heading-horizontal h2,
.contact-inner h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.35;
}

.section-number {
  margin: 0;
  color: var(--orange-500);
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
}

.section-label {
  margin-block: 5px 12px;
  font-size: 14px;
}

.section-content {
  font-size: 16px;
}

.section-content p {
  margin: 0 0 24px;
}

.section-content .lead {
  color: var(--navy-800);
  font-size: clamp(20px, 2.5vw, 29px);
  font-weight: 700;
  line-height: 1.7;
}

.philosophy-section {
  padding-block: 105px;
  color: var(--white);
  text-align: center;
  background: var(--navy-950);
}

.philosophy-english {
  margin: 0 0 20px;
  color: var(--orange-500);
  font-family: "Oswald", sans-serif;
  font-size: clamp(28px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.philosophy-section h2 {
  margin: 0 0 13px;
  font-size: clamp(22px, 3vw, 34px);
}

.philosophy-section p:last-child {
  margin: 0;
  color: #bdcbd9;
}

.business-section,
.company-section {
  background: var(--gray-50);
}

.section-heading-horizontal {
  display: flex;
  align-items: end;
  gap: 36px;
  margin-bottom: 52px;
}

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

.business-card {
  position: relative;
  min-height: 360px;
  padding: 38px 34px;
  background: var(--white);
  border-top: 3px solid var(--navy-800);
  box-shadow: 0 10px 30px rgb(7 26 46 / 5%);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.business-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.card-number {
  position: absolute;
  right: 24px;
  top: 18px;
  margin: 0;
  color: #dbe3eb;
  font-family: "Oswald", sans-serif;
  font-size: 40px;
  font-weight: 700;
}

.card-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  color: var(--white);
  background: var(--navy-800);
  font-family: "Oswald", sans-serif;
  font-size: 21px;
  font-weight: 700;
}

.business-card h3 {
  margin: 0 0 17px;
  color: var(--navy-950);
  font-size: 20px;
}

.business-card p:last-child {
  margin: 0;
  color: var(--gray-500);
  font-size: 14px;
}

.product-section {
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(120deg, var(--navy-900), var(--blue-600));
}

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(55px, 9vw, 130px);
}

.product-category {
  margin: 28px 0 5px;
  color: #bcd0e4;
  font-size: 13px;
  letter-spacing: 0.15em;
}

.product-copy h2 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(54px, 8vw, 92px);
  line-height: 1.1;
}

.product-lead {
  margin-block: 28px 19px;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.65;
}

.product-copy > p:not(.section-number, .section-label, .product-category, .product-lead) {
  color: #d2deea;
}

.product-copy .button {
  margin-top: 22px;
}

.product-visual {
  position: relative;
  padding: 55px;
  color: var(--navy-950);
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 30px 80px rgb(0 0 0 / 22%);
  transform: rotate(1.5deg);
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px solid #dbe4ed;
  pointer-events: none;
}

.product-logo {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue-600);
  border-radius: 18px;
  font-family: "Oswald", sans-serif;
  font-size: 40px;
  font-weight: 700;
}

.product-visual > p {
  position: relative;
  margin: 19px 0 28px;
  font-family: "Oswald", sans-serif;
  font-size: 34px;
  font-weight: 700;
}

.product-visual ul {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-visual li {
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid #dfe6ed;
  font-size: 14px;
}

.product-visual li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange-500);
  font-weight: 800;
}

.company-table dl {
  margin: 0;
  border-top: 1px solid #cbd5df;
}

.company-table dl > div {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 30px;
  padding: 22px 5px;
  border-bottom: 1px solid #cbd5df;
}

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

.company-table dd {
  margin: 0;
}

.contact-section {
  padding-block: 110px;
  text-align: center;
  background: var(--blue-100);
}

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

.contact-inner p:not(.section-label) {
  margin: 22px 0 30px;
}

.site-footer {
  padding-block: 40px;
  color: var(--white);
  background: var(--navy-950);
}

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

.brand-footer .brand-mark {
  width: 38px;
  height: 38px;
  font-size: 18px;
}

.site-footer p {
  margin: 0;
  color: #94a8bb;
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .global-navigation {
    position: absolute;
    inset: 78px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 15px 24px 25px;
    background: rgb(7 26 46 / 98%);
  }

  .global-navigation.is-open {
    display: flex;
  }

  .global-navigation a {
    padding: 13px 7px;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
  }

  .nav-contact {
    margin-top: 12px;
    text-align: center;
  }

  .section-grid,
  .product-layout {
    grid-template-columns: 1fr;
  }

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

  .business-card {
    min-height: 0;
  }

  .product-visual {
    max-width: 590px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    font-size: 18px;
  }

  .brand-name {
    font-size: 14px;
  }

  .global-navigation {
    top: 68px;
  }

  .hero-inner {
    padding-block: 125px 95px;
  }

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

  .hero h1 br {
    display: none;
  }

  .hero h1 span {
    display: block;
    margin-top: 10px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .scroll-guide {
    display: none;
  }

  .section {
    padding-block: 82px;
  }

  .section-grid {
    gap: 36px;
  }

  .section-heading-horizontal {
    align-items: start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 36px;
  }

  .philosophy-section {
    padding-block: 74px;
  }

  .business-card {
    padding: 32px 26px;
  }

  .product-visual {
    padding: 40px 30px;
    transform: none;
  }

  .company-table dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-section {
    padding-block: 80px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
