:root {
  --navy: #681f31;
  --blue: #8e3147;
  --pale-blue: #ead8dc;
  --light-blue: #f6eeee;
  --ink: #201719;
  --muted: #706467;
  --paper: #faf8f5;
  --white: #fffdfb;
  --line: rgba(104, 31, 49, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.9;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 48px;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  display: block;
  border: 5px solid var(--blue);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: -13px;
  right: -13px;
  width: 15px;
  height: 15px;
  border-top: 5px solid var(--navy);
  border-right: 5px solid var(--navy);
}

.brand-name {
  font-size: 19px;
  letter-spacing: 0.02em;
}

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

.site-nav a {
  display: grid;
  height: 100%;
  place-items: center;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

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

.site-nav .nav-contact {
  padding-right: 32px;
  padding-left: 32px;
  background: var(--navy);
  color: var(--white);
}

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

.menu-toggle {
  display: none;
}

.grid-background {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 220px 220px;
}

.hero {
  position: relative;
  min-height: 1050px;
  padding: 100px max(7vw, 48px) 130px;
  overflow: hidden;
}

.hero-rail {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 31%;
  background: var(--pale-blue);
}

.hero-circle {
  position: absolute;
  border: 1px solid rgba(142, 49, 71, 0.16);
  border-radius: 50%;
}

.hero-circle-large {
  top: 110px;
  left: 6%;
  width: 760px;
  height: 760px;
}

.hero-circle-small {
  top: 330px;
  left: 23%;
  width: 350px;
  height: 350px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-wordmark {
  margin: 0;
  color: var(--white);
  font-size: clamp(78px, 10vw, 150px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.75;
}

.hero-service {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 34px 0 60px;
  font-size: 15px;
  font-weight: 700;
}

.hero-service::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ink);
}

.hero h1,
.section-title h2,
.contact h2 {
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
}

.hero h1 {
  margin: 0;
  font-size: clamp(35px, 3.6vw, 54px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.hero-description {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: 16px;
}

.hero-media {
  position: relative;
  z-index: 3;
  width: min(72%, 900px);
  margin: 80px 0 0 11%;
  background: var(--navy);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.72) sepia(0.08) contrast(0.94);
  opacity: 0.88;
}

.hero-media figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  color: var(--white);
  font-size: 12px;
}

.section-block {
  position: relative;
  padding: 140px max(8vw, 64px);
}

.section-number {
  margin-bottom: 64px;
  color: var(--navy);
  font-size: 82px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.section-title {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.section-title > p {
  margin: 8px 0 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 68px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.concept-copy {
  max-width: 760px;
  margin: 70px 7% 0 auto;
}

.concept-copy p {
  margin: 0 0 28px;
  font-size: 17px;
}

.support {
  background: var(--white);
}

.support-list {
  margin: 80px 0 0 14%;
  border-top: 1px solid var(--line);
}

.support-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 40px;
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
}

.support-index {
  color: var(--blue);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.support-item h3 {
  margin: -5px 0 15px;
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  font-size: 30px;
  font-weight: 600;
}

.support-item p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
}

.results {
  background: var(--navy);
  color: var(--white);
}

.results .section-number,
.section-title-light > p {
  color: #d9aeb8;
}

.results-list {
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.result-item {
  display: grid;
  grid-template-columns: 0.6fr 1.3fr 0.7fr;
  align-items: end;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.result-industry {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.result-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

.result-value span {
  flex-basis: 100%;
  margin-bottom: 6px;
  color: #d7bdc3;
  font-size: 12px;
}

.result-value strong {
  color: var(--white);
  font-size: clamp(56px, 6vw, 86px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1;
}

.result-value em {
  margin-left: 8px;
  font-size: 18px;
  font-style: normal;
}

.result-item > p:last-child {
  margin: 0;
  color: #f0e1e4;
  font-size: 14px;
}

.results-note {
  margin: 24px 0 0;
  color: #cfaeb5;
  font-size: 11px;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 80px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.flow-list li {
  min-height: 300px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow-list span {
  color: var(--blue);
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.flow-list h3 {
  margin: 42px 0 16px;
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  font-size: 24px;
}

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

.contact {
  display: grid;
  grid-template-columns: 34% 66%;
  min-height: 540px;
}

.contact-label {
  display: grid;
  place-items: center;
  background: var(--pale-blue);
  color: var(--white);
  font-size: clamp(70px, 8vw, 120px);
  font-weight: 700;
  letter-spacing: -0.05em;
  writing-mode: vertical-rl;
}

.contact-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 10vw;
  background: var(--white);
}

.contact h2 {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.5;
}

.contact-content > p {
  max-width: 640px;
  margin: 30px 0 42px;
  color: var(--muted);
}

.contact-content > a {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 520px;
  padding: 20px 0;
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 48px 6vw;
  background: #3f111d;
  color: var(--white);
}

.brand-footer {
  color: var(--white);
}

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

.js-motion .reveal-item {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

  .js-motion .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 68px;
    padding: 0 24px;
  }

  .menu-toggle {
    display: block;
    padding: 7px 0;
    border: 0;
    border-bottom: 1px solid var(--navy);
    background: transparent;
    color: var(--navy);
    font-family: inherit;
    font-size: 12px;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    height: auto;
    display: none;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a,
  .site-nav .nav-contact {
    display: block;
    height: auto;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--navy);
  }

  .hero {
    min-height: auto;
    padding: 80px 24px 90px;
  }

  .hero-rail {
    width: 24%;
  }

  .hero-circle-large {
    left: -160px;
    width: 620px;
    height: 620px;
  }

  .hero-circle-small {
    left: 80px;
  }

  .hero-wordmark {
    font-size: clamp(66px, 15vw, 105px);
  }

  .hero-media {
    width: 88%;
    margin-left: 4%;
  }

  .section-block {
    padding: 100px 32px;
  }

  .section-title {
    grid-template-columns: 120px 1fr;
  }

  .concept-copy,
  .support-list {
    margin-left: 0;
  }

  .result-item {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .result-item > p:last-child {
    grid-column: 1 / -1;
  }

  .flow-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .brand-name {
    font-size: 16px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-rail {
    width: 18%;
  }

  .hero-wordmark {
    font-size: 58px;
    line-height: 0.82;
  }

  .hero-service {
    margin: 26px 0 42px;
    font-size: 13px;
  }

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

  .hero-description {
    font-size: 14px;
  }

  .hero-media {
    width: 100%;
    margin: 54px 0 0;
  }

  .hero-media figcaption {
    display: grid;
    gap: 4px;
  }

  .section-block {
    padding: 82px 20px;
  }

  .section-number {
    margin-bottom: 44px;
    font-size: 58px;
  }

  .section-title {
    display: block;
  }

  .section-title h2 {
    margin-top: 12px;
    font-size: 36px;
  }

  .concept-copy {
    margin-top: 48px;
  }

  .concept-copy p {
    font-size: 15px;
  }

  .support-list,
  .results-list,
  .flow-list {
    margin-top: 52px;
  }

  .support-item {
    grid-template-columns: 70px 1fr;
    gap: 18px;
    padding: 36px 0;
  }

  .support-index {
    font-size: 38px;
  }

  .support-item h3 {
    font-size: 23px;
  }

  .support-item p {
    font-size: 14px;
  }

  .result-item {
    display: block;
    padding: 40px 0;
  }

  .result-value {
    margin: 28px 0 18px;
  }

  .result-value strong {
    font-size: 58px;
  }

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

  .flow-list li {
    min-height: 0;
  }

  .flow-list h3 {
    margin-top: 24px;
  }

  .contact {
    display: block;
  }

  .contact-label {
    height: 130px;
    font-size: 58px;
    writing-mode: horizontal-tb;
  }

  .contact-content {
    padding: 70px 20px;
  }

  .contact h2 {
    font-size: 34px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 44px 24px;
  }
}
