@charset "UTF-8";

/* ========================================
  Hero / KV
======================================== */
html.is-kv-locked,
body.is-kv-locked {
  overflow: hidden;
}

.hero {
  position: relative;

  width: 100%;
  height: max(70dvh, 50vw);
  max-height: 1000px;
  overflow: hidden;
  margin-bottom: 160px;
}
.s .hero {
  /* height: 480vh; */
  margin-bottom: 120px;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
}

/* .hero-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
} */

/* .hero-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background-color: #fff;
} */

/* HERO IMAGE */
/* .hero-media {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;

  width: 640px;
  aspect-ratio: 640 / 339;
  height: auto;

  overflow: hidden;

  transform: translate(-50%, -50%) scale(var(--hero-media-scale, 1));

  will-change: transform;
} */
.hero-media {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.hero-slide-01 {
  animation: heroFade01 15s infinite;
}

.hero-slide-02 {
  animation: heroFade02 15s infinite;
}

.hero-slide-03 {
  animation: heroFade03 15s infinite;
}

.hero-slide-01 .hero-image {
  animation: heroImageZoom01 15s linear infinite;
}

.hero-slide-02 .hero-image {
  animation: heroImageZoom02 15s linear infinite;
}

.hero-slide-03 .hero-image {
  animation: heroImageZoom03 15s linear infinite;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  /* object-position: center; */

  /* opacity: 1; */

  will-change: transform;
}

.hero-note {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 1;

  margin: 0;
  font-size: 12px;
  color: #fff;
}

@keyframes heroFade01 {
  0%,
  28% {
    opacity: 1;
  }

  38%,
  90% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes heroFade02 {
  0%,
  28% {
    opacity: 0;
  }

  38%,
  61% {
    opacity: 1;
  }

  71%,
  100% {
    opacity: 0;
  }
}

@keyframes heroFade03 {
  0%,
  61% {
    opacity: 0;
  }

  71%,
  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes heroImageZoom01 {
  0% {
    transform: scale(1.015);
  }

  28% {
    transform: scale(1.05);
  }

  38% {
    transform: scale(1.05);
  }

  38.01%,
  90% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.015);
  }
}

@keyframes heroImageZoom02 {
  0%,
  28% {
    transform: scale(1);
  }

  61% {
    transform: scale(1.05);
  }

  71% {
    transform: scale(1.05);
  }

  71.01%,
  100% {
    transform: scale(1);
  }
}

@keyframes heroImageZoom03 {
  0%,
  61% {
    transform: scale(1);
  }

  90% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1.05);
  }
}

/* .hero-media-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.03) 55%,
    rgba(0, 0, 0, 0.08) 100%
  );

  opacity: var(--hero-overlay-opacity, 0);
  pointer-events: none;
} */

/* HERO TITLE */
.hero-title {
  position: absolute;
  top: 80%;
  left: 25%;
  z-index: 3;

  width: max-content;
  margin: 0;
  font-size: 4vw;
  font-style: italic;
  color: #fff;
  font-weight: 700;

  transform: translate(-50%, -50%) translateY(var(--hero-title-y, 0px))
    scale(var(--hero-title-scale, 1));

  transform-origin: center;

  pointer-events: none;
  will-change: transform;
}
.m .hero-title {
  transform: translate(-30%, -50%) translateY(var(--hero-title-y, 0px))
    scale(var(--hero-title-scale, 1));
}
.s .hero-title {
  transform: translate(0%, -50%);
  left: 1%;
  font-size: clamp(2rem, 4vw, 50px);
  font-size: 24px;
}

.hero-title span {
  /* font-size: 6vw; */
  font-size: 1.3em;
}

.hero-note {
  position: absolute;
  right: 3%;
  bottom: 2%;
  z-index: 3;

  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
}

.hero-title-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
}
.s .hero-title-line {
  flex-wrap: wrap;
  width: calc(100vw - 48px);
  white-space: normal;
}

.hero-title-part {
  display: inline-block;

  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;

  opacity: 0;

  transform: translateY(45px);

  clip-path: inset(0 0 100% 0);

  will-change: opacity, transform, clip-path;
}
.s .hero-title-part {
  font-size: clamp(2rem, 10vw, 3.4rem);
}

.hero-title-part strong {
  font-size: 1.15em;
  font-weight: 700;
}

.hero-title-part span {
  font-size: 0.75em;
  font-weight: 400;
}

/* HERO DESCRIPTION */
.hero-description {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;

  width: min(760px, calc(100% - 48px));

  color: #fff;
  text-align: center;

  transform: translate(-50%, -50%) translateY(72px);

  pointer-events: none;
}
.s .hero-description {
  width: calc(100% - 40px);
  margin-top: 28px;
  transform: translate(-50%, -50%) translateY(60px);
}

.hero-description-item {
  margin: 0;

  font-size: clamp(0.875rem, 1.15vw, 1.125rem);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.08em;

  opacity: 0;
  transform: translateY(24px);

  will-change: opacity, transform;
}
.s .hero-description-item {
  font-size: 0.8125rem;
  line-height: 1.9;
}

.hero-description-item + .hero-description-item {
  margin-top: 28px;
}
.s .hero-description-item + .hero-description-item {
  margin-top: 20px;
}

/* SCROLL GUIDE */
.hero-scroll-guide {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 3;

  width: clamp(250px, 28vw, 400px);
  aspect-ratio: 2 / 1;

  overflow: hidden;

  opacity: 0;

  transform: translateX(-50%) translateY(70px);

  pointer-events: none;

  will-change: opacity, transform;
}
.s .hero-scroll-guide {
  width: 240px;
}

.hero-scroll-guide::before {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  aspect-ratio: 1 / 1;

  content: '';

  background-color: rgba(255, 255, 255, 0.58);
  border-radius: 50%;
}

.hero-scroll-guide-inner {
  position: absolute;
  top: 90px;
  left: 50%;

  display: flex;
  flex-direction: column;
  align-items: center;

  transform: translateX(-50%);
}
.s .hero-scroll-guide-inner {
  top: 42px;
}

.hero-scroll-guide-line {
  display: block;
  width: 2px;
  height: 90px;

  background-color: rgba(255, 255, 255, 0.9);
}

.hero-scroll-guide-dot {
  display: block;
  width: 8px;
  height: 8px;

  margin-top: -40px;

  background-color: #fff;
  border-radius: 50%;

  animation: hero-scroll-dot 1.8s ease-in-out infinite;
}

@keyframes hero-scroll-dot {
  0%,
  100% {
    transform: translateY(-8px);
  }

  50% {
    transform: translateY(8px);
  }
}

/* LOADING */
.hero-loading {
  position: absolute;
  right: 32px;
  bottom: 24px;
  z-index: 5;

  opacity: 1;

  transition: opacity 0.4s ease;
}

.hero-loading.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-loading-text {
  color: #111;

  font-size: 0.6875rem;
  letter-spacing: 0.18em;
}

/* ========================================
  About
======================================== */
.about {
  padding-bottom: 150px;
  overflow: hidden;
  scroll-margin-top: 90px;
}
.s .about {
  padding-bottom: 40px;
}

.about-content {
  /* margin-right: max(
    var(--side-padding),
    calc((100vw - var(--content-width)) / 2)
  );
  margin-left: calc(
    max(var(--side-padding), calc((100vw - var(--content-width)) / 2)) + 10vw
  ); */
  width: min(calc(100% - var(--side-padding) * 2), var(--content-width));
  margin-inline: auto;
}
.s .about-content {
  /* margin: 0 20px; */
}

.about-header {
  display: grid;

  grid-template-columns: clamp(360px, 46vw, 575px) 1fr;
  gap: 20px;
  align-items: end;
}
.s .about-header {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: flex-start;
}

.about-title {
  font-size: clamp(2rem, 4vw, 50px);
}
.s .about-title {
  /* 画面幅に応じて縮小し、文節の途中で改行されないようにする */
  font-size: min(36px, 7vw);
}

.about-description {
  padding-bottom: 6px;

  font-size: clamp(11px, 1.5vw, 20px);
  font-weight: 500;
  line-height: 190%;
  text-align: justify;

  flex: 1;
}
.s .about-description {
  font-size: 16px;
}

.about-visual {
  height: clamp(300px, 38vw, 520px);
  margin-top: 48px;
  margin-left: calc(max(var(--side-padding), calc((100vw - var(--content-width)) / 2)) + 10vw);
  overflow: hidden;
  border-radius: 14px 0 0 14px;
}
.s .about-visual {
  height: 180px;
  margin-top: 60px;
  margin-left: 20px;
  border-radius: 8px 0 0 8px;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-button {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}
.s .about-button {
  margin-right: 20px;
}

/* ========================================
  Projects
======================================== */
.projects {
  position: relative;

  padding: 40px 32px 150px;
  scroll-margin-top: 90px;
}
.s .projects {
  padding: 20px 20px 80px;
  overflow: hidden;
}

.projects-scroll {
  position: relative;
  height: 400vh;
}
.s .projects-scroll {
  height: auto;
}

.projects-sticky {
  position: sticky;
  top: 76px;

  display: flex;
  flex-direction: column;

  width: 100%;
  min-height: calc(100dvh - 120px);
}
.s .projects-sticky {
  position: relative;
  top: auto;

  display: block;
  height: auto;
}

.projects-header-wrap {
  flex-shrink: 0;

  display: flex;
  flex-direction: column;
  margin-bottom: clamp(10px, calc(90px - 6vh), 60px);
}

/* Projects Slider */
.projects-slider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 30px;

  flex: 1;
  min-height: 0;
}
.s .projects-slider {
  display: flex;
  flex-direction: column-reverse;
  gap: 24px;

  height: auto;
  margin-top: 50px;

  touch-action: pan-y;
}

/* Projects Stage */
.projects-stage {
  display: grid;
  grid-template-columns:
    minmax(clamp(35px, 5vw, 300px), 450px)
    minmax(0, 560px);
  gap: clamp(40px, 5vw, 100px);

  align-items: center;
  justify-content: space-between;

  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.s .projects-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    'image'
    'information';
  gap: 28px;

  height: auto;
}

/* Projects Information */
.projects-information {
  display: flex;
  flex-direction: column;
  gap: 38px;

  min-width: 0;
}

.s .projects-information {
  grid-area: information;
  gap: 26px;
}

/* Project Number */
.project-number {
  display: flex;
  align-items: center;
  gap: 10px;

  line-height: 1;
}

.s .project-number {
  font-size: 14px;
}

.project-number-current {
  font-size: clamp(14px, 2.2vw, 24px);
  font-weight: 700;
  height: 1em;
  overflow: hidden;

  color: var(--color-primary);
}
.s .project-number-current {
  font-size: 16px;
}

.project-number-track {
  display: flex;
  flex-direction: column;

  transform: translate3d(0, 0, 0);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);

  will-change: transform;
}

.project-number-track span {
  display: flex;
  flex: 0 0 1em;
  align-items: center;

  height: 1em;
  line-height: 1;
}

.project-number-line {
  display: block;

  width: 24px;
  height: 1px;

  background-color: #999999;
}
.s .project-number-line {
  width: 16px;
}

.project-number-total {
  font-size: clamp(10px, 2vw, 20px);
  font-weight: 400;
  line-height: 1;
}
.s .project-number-total {
  font-size: 12px;
}

/* Project Content */
.project-content-list {
  display: grid;

  min-width: 0;
}

.project-content {
  grid-area: 1 / 1;

  display: flex;
  flex-direction: column;
  align-self: center;

  min-width: 0;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  will-change: opacity, transform, clip-path;
}

.project-content.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.s .project-content {
  align-self: stretch;
}

.project-title {
  margin-bottom: 30px;

  font-size: clamp(20px, 4vw, 45px);
  font-weight: 600;
  line-height: 150%;
}

.s .project-title {
  margin-bottom: 24px;

  font-size: 28px;
  line-height: 1.5;
}

.project-description {
  margin-bottom: 34px;

  font-size: clamp(0.5rem, 2vw, 20px);
  font-weight: 500;
  line-height: 190%;
}

.s .project-description {
  margin-bottom: 26px;

  font-size: 16px;
  line-height: 2;
}

.project-content .button {
  align-self: flex-start;
}

.s .project-content .button {
  align-self: flex-end;
}

/* Project Images */
.project-image-list {
  display: grid;

  width: 100%;

  height: clamp(500px, calc(500px + (720 - 500) * ((100vw - 769px) / (1280 - 769))), 720px);

  min-width: 0;
}

.s .project-image-list {
  width: 100%;
  height: auto;
  aspect-ratio: 327 / 220;

  max-height: none;
}

.project-image {
  grid-area: 1 / 1;

  width: 100%;
  height: 100%;
  overflow: hidden;

  visibility: hidden;
  opacity: 0;

  border-radius: 15px;

  will-change:
    opacity,
    mask-image,
    -webkit-mask-image;
}

.project-image.is-active {
  visibility: visible;
  opacity: 1;
}

.s .project-image {
  border-radius: 8px;
}

.project-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* Project Pagination */
.project-pagination {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  gap: 0;

  isolation: isolate;
}
.s .project-pagination {
  flex-direction: row;
  justify-content: flex-end;
  align-self: flex-end;
}

.project-pagination::before {
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 50%;
  z-index: -1;

  width: 2px;

  background-color: var(--color-primary);

  content: '';
  transform: translateX(-50%);
}
.s .project-pagination::before {
  top: 50%;
  right: 23px;
  bottom: auto;
  left: 23px;

  width: auto;
  height: 2px;

  transform: translateY(-50%);
}

.project-pagination-button {
  display: grid;
  flex: 0 0 50px;

  width: 50px;
  height: 50px;
  padding: 0;

  background-color: transparent;
  border: 0;
  border-radius: 50%;

  cursor: pointer;

  place-items: center;
}
.s .project-pagination-button {
  flex: 0 0 40px;

  width: 40px;
  height: 40px;
}

.project-pagination-button span {
  display: block;
  grid-area: 1 / 1;

  width: 8px;
  height: 8px;

  background-color: var(--color-primary);
  border-radius: 50%;
}

.project-pagination-button.is-active {
  background-color: var(--color-primary);
}

.project-pagination-button.is-active::before {
  grid-area: 1 / 1;

  width: 26px;
  height: 26px;

  background-color: #fff;
  opacity: 0.25;
  border-radius: 50%;

  content: '';
  animation: project-pagination-pulse 1.8s ease-in-out infinite;
}
.s .project-pagination-button.is-active::before {
  width: 22px;
  height: 22px;
}

.project-pagination-button.is-active span {
  z-index: 1;

  width: 10px;
  height: 10px;

  background-color: #fff;
}

.project-pagination-button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

@keyframes project-pagination-pulse {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.2;
  }

  50% {
    transform: scale(1.12);
    opacity: 0.35;
  }
}

@media (hover: hover) {
  .project-pagination-button:not(.is-active):hover {
    transform: scale(1.15);
  }
}

/* ========================================
  People
======================================== */
.people-title {
  font-size: clamp(2rem, 3.5vw, 35px);
}

/* ========================================
  Culture
======================================== */
.culture {
  padding: 70px 0 160px;
  scroll-margin-top: 90px;
}
.s .culture {
  padding: 20px;
}

.culture-inner {
  /* display: grid;
  grid-template-columns: clamp(200px, 29vw, 330px) 1fr;
  gap: 70px; */
}
.s .culture-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.culture-intro {
  /* width: clamp(160px, 33vw, 350px); */
}
.s .culture-intro {
  display: contents;
  width: auto;
}

.s .culture-intro .section-label {
  grid-row: 1;
}

.s .culture-intro .section-title {
  grid-row: 2;
}

.culture-description {
  margin: 28px 0 32px;

  font-size: clamp(14px, 2vw, 20px);
  font-weight: 400;
  line-height: 190%;
}
.s .culture-description {
  grid-row: 3;
  margin: 28px 0 32px;
  font-size: 16px;
}

.culture-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.s .culture-list {
  grid-row: 4;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.s .culture-intro .button {
  grid-row: 5;
  justify-self: end;

  margin-top: 22px;
}

.culture-card {
  min-height: 150px;
  padding: 26px 30px;
  border: 1px solid #d4d4d4;
  border-radius: 10px;
}
.s .culture-card {
  min-height: unset;
  padding: 15px 20px;
  border-radius: 8px;
}

.culture-card-title {
  margin-bottom: 14px;
  font-size: 20px;
  line-height: 150%;
}

.culture-card-description {
  font-size: clamp(13px, 1.8vw, 16px);
  font-weight: 500;
  line-height: 150%;
}
.s .culture-card-description {
  font-size: 14px;
}

/* ========================================
  special content
======================================== */

.special-content {
  width: 100%;
  padding: 80px 0;
}

.special-content-inner {
  width: min(calc(100% - var(--side-padding) * 2), var(--content-width));
  margin-inline: auto;
}

.special-content-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-areas: 'body image';
  align-items: center;
  gap: clamp(40px, 5vw, 100px);

  padding: clamp(40px, 5vw, 64px);
  border: 1px solid #999999;
  border-radius: 14px;
  background: #fafdff;
}

.special-content-body {
  grid-area: body;
  min-width: 0;
}

.special-content-image {
  grid-area: image;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.special-content-image img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.special-content-label {
  margin: 0 0 38px;
  font-size: clamp(12px, 1.6vw, 17px);
  line-height: 1.5;
}

.special-content-title {
  margin: 0 0 28px;
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.special-content-description {
  margin: 0;
  font-size: clamp(10px, 1.2vw, 16px);
  line-height: 2;
}

.special-content-button-wrap {
  margin-top: 38px;
}

.special-content-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 11px 14px;
  border-radius: 5px;

  background: #006098;
  color: #fff;

  font-size: 12px;
  font-weight: 500;
  line-height: 1;

  text-decoration: none;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.special-content-button-line {
  display: block;
  width: 1px;
  height: 12px;
  background: currentColor;
  opacity: 0.5;
}

.special-content-button-arrow {
  font-size: 13px;
}

@media (hover: hover) {
  .special-content-button:hover {
    opacity: 0.8;
    transform: translateY(-2px);
  }
}

/* ========================================
  SP
======================================== */

.s .special-content {
  padding: 40px 16px;
}

/* SPではinnerの左右余白を持たせず、カードを画面幅いっぱいに近づける */
.s .special-content-inner {
  width: auto;
}

.s .special-content-card {
  display: flex;
  flex-direction: column;

  gap: 0;

  padding: 28px 20px;
  border-radius: 10px;
}

.s .special-content-image {
  width: 100%;
  margin-bottom: 28px;
  border-radius: 6px;
}

.s .special-content-body {
  width: 100%;
}

.s .special-content-label {
  margin-bottom: 16px;
  font-size: 12px;
}

.s .special-content-title {
  margin-bottom: 20px;
  font-size: clamp(24px, 6vw, 35px);
  line-height: 1.5;
}

.s .special-content-description {
  font-size: 14px;
  line-height: 2;
}

.s .special-content-button-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.s .special-content-button {
  padding: 10px 12px;
  font-size: 11px;
}
