@charset "UTF-8";

/* =========================
   基本設定
========================= */
:root {
  --color-ink: #071a24;
  --color-deep: #0a2632;
  --color-blue: #086f8c;
  --color-cyan: #35d4df;
  --color-green: #b8e986;
  --color-paper: #f4f1e9;
  --color-white: #ffffff;
  --color-muted: #b9c8ce;
  --header-height: 76px;
  --page-padding: clamp(20px, 5vw, 80px);
  --radius-large: 36px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family:
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #ffcc00;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 10px 16px;
  color: #000;
  background: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
}

.noscript {
  position: relative;
  z-index: 3000;
  padding: 12px 20px;
  color: #000;
  background: #ffdd57;
  text-align: center;
}

/* =========================
   共通要素
========================= */
.section {
  position: relative;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .22em;
}

.section-number {
  margin: 0;
  color: var(--color-cyan);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .2em;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition:
    color .3s ease,
    background-color .3s ease,
    border-color .3s ease,
    transform .3s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button--primary {
  color: var(--color-ink);
  background: var(--color-cyan);
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.button--light {
  color: var(--color-ink);
  background: #fff;
}

.button--outline-light {
  color: #fff;
  border-color: #fff;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity .9s var(--ease-out),
    transform .9s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* =========================
   ヘッダー
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  width: 100%;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--page-padding);
  color: #fff;
  transition:
    color .3s ease,
    background-color .3s ease,
    box-shadow .3s ease;
}

.site-header.is-scrolled {
  color: var(--color-ink);
  background: rgba(244, 241, 233, .92);
  box-shadow: 0 12px 40px rgba(4, 23, 31, .08);
  backdrop-filter: blur(14px);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo__mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 8px solid var(--color-cyan);
  border-radius: 50%;
  color: transparent;
}

.site-logo strong,
.site-logo small {
  display: block;
  line-height: 1.2;
}

.site-logo strong {
  letter-spacing: .12em;
}

.site-logo small {
  margin-top: 3px;
  font-size: .68rem;
}

.global-navigation {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 38px);
}

.global-navigation a {
  position: relative;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}

.global-navigation a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--color-cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}

.global-navigation a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  width: 100%;
  height: 4px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-green));
  transform: scaleX(0);
  transform-origin: left center;
}

/* =========================
   ヒーロー
========================= */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: var(--color-ink);
}

.hero__background,
.hero__photo,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__photo {
  background-position: center;
  background-size: cover;
  will-change: transform, opacity;
}

.hero__photo--one {
  background-image:
    linear-gradient(115deg, rgba(5, 22, 30, .18), rgba(5, 22, 30, .45)),
    url("../images/hero.webp"),
    linear-gradient(135deg, #135b6d, #071a24 70%);
  transform: scale(1.08);
}

.hero__photo--two {
  background-image:
    linear-gradient(120deg, rgba(7, 26, 36, .2), rgba(7, 26, 36, .7)),
    url("../images/work.webp");
  opacity: 0;
  transform: scale(1.15);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(5, 20, 29, .82), rgba(5, 20, 29, .12) 70%),
    linear-gradient(0deg, rgba(5, 20, 29, .6), transparent 45%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  opacity: .34;
  filter: blur(2px);
  mix-blend-mode: screen;
  will-change: transform;
}

.hero__orb--one {
  top: -15vw;
  right: -6vw;
  width: clamp(280px, 48vw, 760px);
  aspect-ratio: 1;
  border: clamp(60px, 8vw, 130px) solid rgba(53, 212, 223, .45);
}

.hero__orb--two {
  right: 28vw;
  bottom: -22vw;
  width: clamp(220px, 35vw, 560px);
  aspect-ratio: 1;
  background: rgba(184, 233, 134, .2);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1180px, calc(100% - (var(--page-padding) * 2)));
  min-height: 100svh;
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-height);
}

.hero__title {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(3rem, 8.8vw, 9rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .98;
}

.hero__title-line {
  display: block;
  opacity: 0;
  transform: translateY(90px) rotate(2deg);
  transition:
    opacity 1.1s var(--ease-out),
    transform 1.1s var(--ease-out);
}

.hero__title-line:nth-child(2) {
  transition-delay: .12s;
}

body.is-loaded .hero__title-line {
  opacity: 1;
  transform: none;
}

.hero__title-line--accent {
  color: var(--color-cyan);
}

.hero__lead {
  max-width: 580px;
  margin: 34px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.scroll-guide {
  position: absolute;
  right: var(--page-padding);
  bottom: 26px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: .68rem;
  letter-spacing: .22em;
  text-decoration: none;
  transform: rotate(90deg);
  transform-origin: right bottom;
}

.scroll-guide__line {
  position: relative;
  display: block;
  width: 70px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .35);
}

.scroll-guide__line::after {
  position: absolute;
  inset: 0;
  background: #fff;
  content: "";
  animation: scroll-line 2s infinite ease-in-out;
  transform: translateX(-100%);
}

@keyframes scroll-line {
  50% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* =========================
   メッセージ
========================= */
.statement {
  min-height: 280vh;
  color: #fff;
  background: var(--color-ink);
}

.statement__sticky {
  position: sticky;
  top: 0;
  display: flex;
  min-height: 100svh;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: calc(var(--header-height) + 40px) var(--page-padding) 50px;
  overflow: hidden;
}

.statement__sticky::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  border: 1px solid rgba(53, 212, 223, .22);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%) scale(var(--statement-scale, .5));
  opacity: var(--statement-opacity, .3);
}

.statement__text {
  position: relative;
  z-index: 1;
  max-width: 1250px;
  margin-top: 40px;
  font-size: clamp(2.8rem, 8.6vw, 9rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1.04;
}

.statement__text span {
  display: inline-block;
  margin-right: .15em;
  color: rgba(255, 255, 255, .12);
  transition: color .25s ease;
}

.statement__text span.is-active {
  color: #fff;
}

.statement__text span:last-child.is-active {
  color: var(--color-cyan);
}

.statement__sub {
  position: relative;
  z-index: 1;
  max-width: 690px;
  margin: 55px 0 0 auto;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

/* =========================
   横スクロール
========================= */
.horizontal {
  height: 430vh;
  background: var(--color-paper);
}

.horizontal__sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  padding: calc(var(--header-height) + 25px) 0 28px;
  overflow: hidden;
}

.horizontal__heading {
  display: grid;
  width: min(1500px, calc(100% - (var(--page-padding) * 2)));
  margin: 0 auto 25px;
  grid-template-columns: auto 1fr;
  column-gap: 22px;
}

.horizontal__heading .section-number {
  grid-row: 1 / 4;
  padding-top: 6px;
}

.horizontal__heading .eyebrow {
  margin-bottom: 2px;
}

.horizontal__heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4.8rem);
  letter-spacing: -.05em;
  line-height: 1.1;
}

.horizontal__heading > p:last-child {
  margin: 4px 0 0;
  color: #52666d;
}

.horizontal__viewport {
  overflow: visible;
}

.horizontal__track {
  display: flex;
  width: max-content;
  gap: clamp(18px, 3vw, 42px);
  padding: 0 var(--page-padding);
  will-change: transform;
}

.work-card {
  position: relative;
  width: min(72vw, 900px);
  height: clamp(410px, 57vh, 650px);
  flex: none;
  overflow: hidden;
  border-radius: var(--radius-large);
  color: #fff;
  background-position: center;
  background-size: cover;
  box-shadow: 0 30px 70px rgba(7, 26, 36, .15);
}

.work-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(4, 18, 25, .92), rgba(4, 18, 25, .02) 72%),
    linear-gradient(90deg, rgba(4, 18, 25, .35), transparent);
  content: "";
}

.work-card--01 {
  background-image:
    url("../images/work.webp"),
    linear-gradient(135deg, #087b91, #123340);
}

.work-card--02 {
  background-image:
    linear-gradient(135deg, rgba(4, 90, 84, .2), rgba(4, 27, 32, .3)),
    url("../images/people.webp"),
    linear-gradient(135deg, #3a786f, #10282d);
}

.work-card--03 {
  background-image:
    linear-gradient(135deg, rgba(35, 54, 77, .2), rgba(8, 25, 35, .4)),
    url("../images/hero.webp"),
    linear-gradient(135deg, #44697b, #111d28);
}

.work-card--04 {
  background-image:
    radial-gradient(circle at 70% 20%, rgba(53, 212, 223, .65), transparent 30%),
    linear-gradient(135deg, #0f4c5d, #06151e);
}

.work-card__number {
  position: absolute;
  top: -45px;
  right: 12px;
  color: rgba(255, 255, 255, .1);
  font-size: clamp(9rem, 19vw, 17rem);
  font-weight: 900;
  line-height: 1;
}

.work-card__content {
  position: absolute;
  right: clamp(25px, 5vw, 70px);
  bottom: clamp(25px, 5vw, 65px);
  left: clamp(25px, 5vw, 70px);
  z-index: 1;
}

.work-card__category {
  margin: 0 0 7px;
  color: var(--color-cyan);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.work-card h3 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  letter-spacing: -.05em;
  line-height: 1.1;
}

.work-card__content > p:last-child {
  max-width: 580px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .85);
}

.horizontal__indicator {
  width: min(500px, calc(100% - (var(--page-padding) * 2)));
  height: 3px;
  margin: 24px auto 0;
  overflow: hidden;
  background: rgba(7, 26, 36, .15);
}

.horizontal__indicator span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-blue);
  transform: scaleX(0);
  transform-origin: left;
}

/* =========================
   職員紹介
========================= */
.people {
  display: grid;
  min-height: 130vh;
  grid-template-columns: 1.05fr .95fr;
  color: #fff;
  background: var(--color-deep);
}

.people__visual {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.people__photo {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, rgba(7, 26, 36, .5), transparent),
    url("../images/people.webp"),
    linear-gradient(135deg, #38666a, #10242a);
  background-position: center;
  background-size: cover;
  transform: scale(1.1) translateY(var(--people-photo-y, 0));
  will-change: transform;
}

.people__shape {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
}

.people__shape--one {
  top: 9%;
  right: -18%;
  width: 55%;
  aspect-ratio: 1;
  border: clamp(35px, 5vw, 85px) solid rgba(53, 212, 223, .4);
  transform: translateY(var(--people-shape-y, 0));
}

.people__shape--two {
  bottom: -15%;
  left: -13%;
  width: 45%;
  aspect-ratio: 1;
  background: rgba(184, 233, 134, .22);
  transform: translateY(calc(var(--people-shape-y, 0) * -.6));
}

.people__content {
  position: sticky;
  top: 0;
  display: flex;
  min-height: 100svh;
  justify-content: center;
  flex-direction: column;
  padding: calc(var(--header-height) + 30px) var(--page-padding) 50px;
}

.people h2 {
  margin: 18px 0 35px;
  font-size: clamp(2.5rem, 5.2vw, 6rem);
  letter-spacing: -.06em;
  line-height: 1.15;
}

.people blockquote {
  max-width: 650px;
  margin: 0;
  padding-left: 25px;
  border-left: 3px solid var(--color-cyan);
  color: #d7e1e4;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.person {
  margin-top: 35px;
}

.person p {
  margin: 0;
}

.person__name {
  font-size: 1.1rem;
  font-weight: 800;
}

/* =========================
   数字
========================= */
.numbers {
  padding: 140px var(--page-padding);
  background: var(--color-paper);
}

.section-heading {
  max-width: 780px;
}

.section-heading h2 {
  margin: 10px 0;
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  letter-spacing: -.06em;
  line-height: 1.08;
}

.section-heading > p:last-child {
  color: #52666d;
}

.numbers__grid {
  display: grid;
  margin-top: 70px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.number-card {
  min-height: 390px;
  padding: clamp(25px, 3vw, 45px);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 25px 60px rgba(7, 26, 36, .08);
}

.number-card:nth-child(2) {
  transform: translateY(55px);
}

.number-card__label {
  margin: 0;
  font-weight: 800;
}

.number-card__value {
  margin: 50px 0 25px;
  color: var(--color-blue);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: 1;
}

.number-card__value small {
  margin-left: 6px;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  letter-spacing: 0;
}

.number-card > p:last-child {
  color: #66767c;
  font-size: .88rem;
}

/* =========================
   エントリー
========================= */
.entry {
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, #0d8ba5, transparent 35%),
    linear-gradient(135deg, #071a24, #0b4051);
}

.entry__background {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.entry__background span {
  color: rgba(255, 255, 255, .055);
  font-size: clamp(7rem, 27vw, 28rem);
  font-weight: 900;
  line-height: .8;
  white-space: nowrap;
  transform: translateX(var(--entry-x, 0));
  will-change: transform;
}

.entry__content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - (var(--page-padding) * 2)));
  padding: 110px 0;
  text-align: center;
}

.entry h2 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 7.5rem);
  letter-spacing: -.065em;
  line-height: 1.05;
}

.entry__content > p:not(.eyebrow, .entry__note) {
  max-width: 650px;
  margin: 35px auto 0;
  color: #d4e3e7;
}

.entry__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 40px;
}

.entry__note {
  margin-top: 28px;
  color: #c2d2d6;
  font-size: .8rem;
}

/* =========================
   フッター
========================= */
.site-footer {
  display: grid;
  padding: 55px var(--page-padding);
  grid-template-columns: 1fr auto;
  gap: 30px;
  color: #d3dee1;
  background: #041117;
}

.site-footer p {
  margin: 5px 0 0;
}

.site-footer nav {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 22px;
}

.site-footer nav a {
  font-size: .88rem;
}

.site-footer__copyright {
  grid-column: 1 / -1;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .75rem;
}

/* =========================
   タブレット・スマートフォン
========================= */
@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .menu-button {
    position: relative;
    z-index: 2;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 12px;
    border: 0;
    place-content: center;
    gap: 5px;
    color: inherit;
    background: transparent;
    cursor: pointer;
  }

  .menu-button__line {
    display: block;
    width: 25px;
    height: 2px;
    background: currentColor;
    transition: transform .3s ease, opacity .3s ease;
  }

  .menu-button[aria-expanded="true"] .menu-button__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-button__line:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] .menu-button__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .global-navigation {
    position: fixed;
    inset: 0;
    display: flex;
    padding: 110px var(--page-padding) 50px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    background: rgba(4, 17, 23, .97);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition: opacity .3s ease, transform .3s ease;
  }

  .global-navigation.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .global-navigation a {
    font-size: clamp(1.6rem, 7vw, 3rem);
  }

  .people {
    display: block;
  }

  .people__visual {
    min-height: 72svh;
  }

  .people__content {
    position: relative;
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .numbers__grid {
    grid-template-columns: 1fr;
  }

  .number-card {
    min-height: auto;
  }

  .number-card:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 620px) {
  .hero__actions,
  .entry__buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .scroll-guide {
    display: none;
  }

  .statement__sub {
    margin-top: 35px;
  }

  .horizontal__heading {
    display: block;
  }

  .horizontal__heading .section-number {
    margin-bottom: 8px;
  }

  .work-card {
    width: 84vw;
    height: 58vh;
    min-height: 430px;
  }

  .numbers {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer__copyright {
    grid-column: auto;
  }
}

/* =========================
   動きを減らす設定
========================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  [data-reveal],
  .hero__title-line {
    opacity: 1;
    transform: none;
  }

  .horizontal {
    height: auto;
    padding: 100px 0;
  }

  .horizontal__sticky {
    position: relative;
    min-height: auto;
    overflow-x: auto;
  }

  .horizontal__track,
  .people__photo,
  .people__shape,
  .entry__background span {
    transform: none !important;
  }

  .statement {
    min-height: auto;
  }

  .statement__sticky {
    position: relative;
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .statement__text span {
    color: #fff;
  }

  .statement__text span:last-child {
    color: var(--color-cyan);
  }
}
