/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --c-black: #000000;
  --c-gray-90: #1d1d1d;
  --c-gray-85: #232323;
  --c-gray-80: #2d2d2d;
  --c-gray-70: #404040;
  --c-gray-55: #6b6b6b;
  --c-gray-35: #a4a4a4;
  --c-gray-30: #b7b7b7;
  --c-gray-20: #cfcfcf;
  --c-gray-15: #dfdfdf;
  --c-gray-10: #ededed;
  --c-white: #ffffff;
  --c-bluegray-50: #848893;
  --c-bluegray-35: #b5b9c2;
  --c-bluegray-20: #cfd3dd;
  --c-bluegray-10: #e7eaf0;
  --c-yellow: #eaa400;
  --c-yellow-light: #ffd164;
  --c-orange: #ff9516;
  --f-display: 'Dela Gothic One', 'Noto Sans JP', sans-serif;
  --f-title: 'Alfa Slab One', serif;
  --f-label: 'Montserrat', sans-serif;
  --f-body: 'Noto Sans JP', sans-serif;
  --header-h: 130px;

  /* CatchCopy line height per breakpoint */
  --cc-line-h: 110px;

  /* Hero card dimensions */
  --hero-card-w: 360px;
  --hero-card-h: 440px;
  --hero-card-gap: 40px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

html.is-loading {
  scroll-behavior: auto;
  overflow: hidden;
}

html.is-modal-open {
  overflow: hidden;
}

body {
  font-family: var(--f-body);
  color: var(--c-gray-90);
  background: var(--c-white);
  overflow-x: clip;
}

body.is-loading {
  overflow: hidden;
}

body.is-loading [data-loading-reveal] {
  visibility: hidden;
}

body.is-ready [data-loading-reveal] {
  position: relative;
  opacity: 0;
  top: -24px;
}

body.is-ready [data-loading-reveal].is-visible {
  opacity: 1;
  top: 0;
  transition: opacity 520ms ease, top 520ms ease;
}

body.is-ready .site-header[data-loading-reveal] {
  position: fixed;
}

body.is-modal-open {
  overflow: hidden;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

@media (hover: none), (pointer: coarse) {
  * {
    -webkit-tap-highlight-color: transparent;
  }

  a:focus,
  a:focus-visible,
  button:focus,
  button:focus-visible,
  [role="button"]:focus,
  [role="button"]:focus-visible,
  [tabindex]:focus,
  [tabindex]:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }
}

ul {
  list-style: none;
}

/* ============================================================
   Loading Screen
   ============================================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-black);
  opacity: 1;
  transition: opacity 200ms ease;
}

.loading-screen[hidden] {
  display: none;
}

.loading-screen.is-fading-out {
  opacity: 0;
  pointer-events: none;
}

.loading-screen__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
}

.loading-screen__figure {
  width: clamp(120px, 18vw, 180px);
  height: clamp(120px, 18vw, 180px);
  object-fit: contain;
}

.loading-screen__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-gray-35);
  font-family: var(--f-label);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.loading-screen__dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 28px;
}

.loading-screen__dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.22;
  animation: loading-dot 1.2s infinite ease-in-out;
}

.loading-screen__dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-screen__dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loading-dot {
  0%,
  80%,
  100% {
    opacity: 0.22;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: var(--c-white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1vw;
}

/* Logo */
.logo {
  display: block;
  flex-shrink: 0;
}

.logo-image {
  display: block;
  width: 347px;
  object-fit: contain;
}

@media (max-width: 1299px) {
  .logo-image {
    display: block;
    width: 300px;
    object-fit: contain;
  }
}

/* PC Nav */
.nav-pc {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--c-white);
  padding: 8px;
  border-radius: 16px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-gray-90);
  white-space: nowrap;
  transition: background 0.2s;
}

.nav-item:hover {
  background: var(--c-gray-10);
}

.nav-item:hover .nav-icon img {
  opacity: 1.0;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.nav-icon img {
  width: 100%;
  height: 100%;
  transform: rotate(180deg) scaleY(-1);
  opacity: 0;
  transition: opacity 0.2s;
}


.cta-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 40px;
  background: var(--c-black);
  color: #d8d8d8;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.2s;
  /* cursor: pointer; */
}

.cta-btn:hover {
  opacity: 0.8;
}

.cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.cta-icon img {
  width: 100%;
  height: 100%;
  transform: rotate(90deg) scaleY(-1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 17px;
  width: 96px;
  height: 96px;
  background: var(--c-gray-90);
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 41px;
  height: 3.6px;
  background: var(--c-white);
  border-radius: 1.2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.hamburger span:nth-child(2) {
  display: none;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  display: none;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Drawer Nav */
.nav-drawer {
  display: none;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  background: var(--c-white);
}

.nav-drawer.is-open {
  margin-top: 50px;
  max-height: 500px;
}

.nav-drawer-item {
  padding: 20px 32px;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--c-gray-10);
  cursor: pointer;
  transition: background 0.2s;
}

.nav-drawer-item:first-child {
  border-top: 1px solid var(--c-gray-10);
}

.nav-drawer-item:hover {
  background: var(--c-gray-10);
}

.nav-drawer-cta {
  display: block;
  margin: 16px 32px;
  padding: 18px;
  background: var(--c-black);
  color: var(--c-white);
  border-radius: 40px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

/* ============================================================
   Main offset
   ============================================================ */
main {
  width: 100%;
  overflow-x: hidden;
  padding-top: var(--header-h);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  height: 520px;
  overflow: hidden;
  padding-top: 70px;
}
@media (max-width: 1399px) {
.hero {
  padding-top: 40px;
}
}
.hero-track {
  display: flex;
  gap: var(--hero-card-gap);
  will-change: transform;
}

.hero-card {
  width: var(--hero-card-w);
  height: var(--hero-card-h);
  flex-shrink: 0;
  border: 9px solid #e7e7e7;
  border-radius: 16px;
  overflow: hidden;
  background: #d9d9d9;
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   CatchCopy
   ============================================================ */
.catch-copy {
  padding: 64px 0 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 100%;
  overflow: hidden;
}
@media (max-width: 1399px) {
.catch-copy {
  padding: 40px 0 40px;
  gap: 2px;
}
}
.catch-copy-display {
  height: var(--cc-line-h);
  overflow: hidden;
  width: 100%;
}

.catch-copy-text {
  height: var(--cc-line-h);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-body);
  font-weight: 900;
  font-size: 72px;
  line-height: 1.2;
  color: var(--c-black);
  text-align: center;
  white-space: nowrap;
}

.catch-copy-subtitle {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 40px;
  color: var(--c-black);
  text-align: center;
  letter-spacing: -0.1em;
}

@media (max-width: 1299px) {
  .catch-copy-subtitle {
    font-size: 32px;
  }
}

/* ============================================================
   About
   ============================================================ */
.about {
  position: relative;
}

.about-ninja-top-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-bottom: -40px;
}

.about-ninja-top {
  width: 326px;
  height: 326px;
  object-fit: cover;
  border-radius: 50%;
}

.about-dark {
  background: var(--c-gray-90);
  position: relative;
  overflow: hidden;
  padding: 7vw 0;
}

/* Clouds */
.cloud {
  position: absolute;
  pointer-events: none;
}

.cloud-tr-1 {
  top: -30px;
  right: -1%;
  width: 17vw;
  height: 11vw;
}

.cloud-tr-2 {
  top: 338px;
  right: -2%;
  width: 15vw;
  height: 8vw;
}

.cloud-tl {
  top: 242px;
  left: -5%;
  width: 18vw;
  height: 8vw;
}

/* Ninja bottom-right */
.about-ninja-br {
  position: absolute;
  bottom: 10px;
  right: -2%;
  width: 298px;
  height: 298px;
  object-fit: cover;
  border-radius: 50%;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px 40px;
}

.about-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
  text-align: center;
  color: var(--c-gray-15);
}

.about-title-ja {
  font-size: 80px;
  font-weight: 900;
  line-height: 1.31;
  letter-spacing: -6.4px;
}

.about-title-sub {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

.about-intro {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--c-gray-20);
  margin-bottom: 56px;
}

/* Flow diagram */
.about-flow {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.about-flow-image {
  display: block;
  width: 756px;
  max-width: 100%;
  height: auto;
}

.about-body-text {
  font-size: 19px;
  font-weight: 500;
  line-height: 2;
  color: var(--c-gray-20);
}

.about-body-text p+p {
  margin-top: 8px;
}

.about-highlight {
  font-weight: 700;
  color: var(--c-yellow-light);
}

/* ============================================================
   Section Title (shared)
   ============================================================ */
.section-title {
  margin-bottom: 52px;
}

.section-title--center {
  text-align: center;
}

.section-title-en {
  font-family: var(--f-title);
  font-size: 84px;
  font-weight: 400;
  letter-spacing: 3.36px;
  color: var(--c-gray-90);
  line-height: 1.2;
}

.section-title-ja {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-gray-55);
  line-height: 1.2;
  margin-top: 8px;
}

/* ============================================================
   Project
   ============================================================ */
.project {
  padding: 11vw 0 60px 120px;
}

.project-scroll-wrap {
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--c-gray-55) var(--c-gray-10);
  padding-bottom: 14px;
}

.project-scroll-wrap::-webkit-scrollbar {
  height: 10px;
}

.project-scroll-wrap::-webkit-scrollbar-track {
  background: var(--c-gray-10);
  border-radius: 999px;
}

.project-scroll-wrap::-webkit-scrollbar-thumb {
  background: var(--c-gray-55);
  border-radius: 999px;
}

.project-cards {
  display: flex;
  gap: 24px;
  width: max-content;
}

.project-card {
  width: 518px;
  flex-shrink: 0;
  padding: 16px 16px 48px 16px;
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
  transition: background-color 200ms ease;
}

.project-card:hover,
.project-card.is-hovered {
  background: rgba(0, 0, 0, 0.22);
}

.project-card-img {
  position: relative;
  aspect-ratio: 619 / 397;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 8px;
}

.project-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  transform: scaleY(0);
  transform-origin: bottom;
  opacity: 0;
  transition: transform 200ms ease, opacity 200ms ease;
  pointer-events: none;
}

.project-card:hover .project-card-img::after,
.project-card.is-hovered .project-card-img::after {
  transform: scaleY(1);
  opacity: 1;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-title {
  font-size: 28px;
  font-weight: 900;
  line-height: 40px;
  line-clamp: 2;
  color: var(--c-gray-85);
  height: 100px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: -2px;
}

.project-card-meta {
  display: flex;
  gap: 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-gray-35);
  line-height: 26px;
  white-space: nowrap;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  opacity: 0;
  transition: opacity 240ms ease;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 29, 29, 0.6);
}

.project-modal__dialog {
  position: relative;
  width: min(100%, 1103px);
  height: min(100vh, 100%);
  margin: 0 auto;
  background: var(--c-white);
  transform: translateY(28px);
  transition: transform 240ms cubic-bezier(0.22, 0.78, 0.2, 1);
}

.project-modal.is-open {
  opacity: 1;
}

.project-modal.is-open .project-modal__dialog {
  transform: translateY(0);
}

.project-modal__scroll {
  height: 100%;
  overflow-y: auto;
  padding: 10% 5%;
}

.project-modal__inner {
  min-height: 100%;
  padding-right: 12px;
}

.project-modal__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 96px;
  height: 96px;
}

.project-modal__close-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 200ms ease;
}

.project-modal__close-icon--hover {
  opacity: 0;
}

.project-modal__close:hover .project-modal__close-icon--hover,
.project-modal__close:focus-visible .project-modal__close-icon--hover {
  opacity: 1;
}

.project-modal__close:hover .project-modal__close-icon--default,
.project-modal__close:focus-visible .project-modal__close-icon--default {
  opacity: 0;
}

.project-modal__header {
  padding-right: 40px;
  margin-bottom: 32px;
}

.project-modal__title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.34;
  margin-bottom: 0;
}

.project-modal__gallery {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  margin: 40px auto;
  width: min(100%, 75%);
  gap: 23px;
  align-items: start;
}

.project-modal__gallery--single {
  grid-template-columns: minmax(0, 1fr);
}

.project-modal__thumbs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-modal__thumb {
  width: 84px;
  aspect-ratio: 116 / 84;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  padding: 3px;
  background: transparent;
  opacity: 1;
  transition: transform 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.project-modal__thumb:hover,
.project-modal__thumb:focus-visible {
  background: #e3e7ed;
  box-shadow: 0 0 0 px rgba(29, 29, 29, 0.04);
}

.project-modal__thumb.is-active {
  background: #ffbf2f;
  box-shadow: 0 0 0 1px rgba(255, 191, 47, 0.2);
}

.project-modal__thumb img,
.project-modal__main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-modal__thumb img {
  display: block;
  border-radius: 7px;
}

.project-modal__stage {
  aspect-ratio: 902 / 590;
  overflow: hidden;
  border-radius: 26px;
  background: var(--c-gray-10);
}

.project-modal__divider {
  margin: 48px 0 40px;
  border-top: 1px solid var(--c-gray-30);
}

.project-modal__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.project-modal__section-title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 16px;
}

.project-modal__section-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-gray-80);
}

.project-modal__close-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 80%;
  min-height: 72px;
  margin: 40px auto 0;
  align-self: center;
  border-radius: 36px;
  background: #e7ebf1;
  color: var(--c-gray-80);
  font-size: 22px;
  font-weight: 700;
  transition: background-color 200ms ease, color 200ms ease;
}

.project-modal__close-bottom:hover,
.project-modal__close-bottom:focus-visible {
  background: var(--c-black);
  color: var(--c-white);
}

.project-modal__close-bottom-icon {
  font-size: 34px;
  line-height: 1;
}

/* ============================================================
   Banner
   ============================================================ */
.banner {
  padding: 30px 0;
}

.banner-inner {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0 120px;
}

.banner-card {
  position: relative;
  background: var(--c-bluegray-20);
  border: 6px solid var(--c-bluegray-35);
  border-radius: 20px;
  width: 600px;
  min-height: 194px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 24px 44px;
  overflow: visible;
}

.banner-text {
  text-align: center;
}

.banner-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--c-bluegray-50);
  line-height: 45px;
}

.banner-sub {
  font-size: 18px;
  font-weight: 500;
  color: var(--c-bluegray-50);
  line-height: 28px;
}

.banner-ninja {
  position: absolute;
  width: 264px;
  height: 264px;
  object-fit: cover;
  border-radius: 50%;
}

.banner-ninja--left {
  left: -112px;
  top: 7px;
}

.banner-ninja--right {
  right: -80px;
  top: -7px;
  width: 279px;
  height: 279px;
}

/* ============================================================
   Members
   ============================================================ */
.members {
  padding: 11vw 0 60px;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.member-card {
  width: 100%;
  min-height: clamp(360px, 32vw, 480px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.4vw, 20px);
  padding-bottom: 2px;
  border: 1px solid var(--c-black);
  background: var(--c-white);
  cursor: pointer;
  transition: background 0.2s;
}

.member-card:hover,
.member-card.is-hovered {
  background: var(--c-gray-10);
}

.member-card:hover .member-more,
.member-card.is-hovered .member-more{
  color: var(--c-black);
}

.member-photo-wrap {
  --member-frame-width: clamp(160px, 78%, 214px);
  --member-photo-width: var(--member-frame-width);
  --member-photo-offset-x: -50%;
  width: clamp(190px, 72%, 248px);
  aspect-ratio: 240 / 160;
  position: relative;
  flex-shrink: 0;
  overflow: visible;
  perspective: 1200px;
}
.member-photo-wrap {
  width: 330px;
}
@media (max-width: 1499px) {
  .member-card { height: 400px;}
  .member-photo-wrap {width: 250px;height: 200px;}
}
@media (max-width: 1399px) {
.member-photo-wrap {
  width: 240px;
}
}
@media (max-width: 1299px) {
.member-card {height: 320px;}
.member-photo-wrap {
  width: 220px;
  height: 180px;
}
}
.member-frame {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  aspect-ratio: 248 / 233;
  width: var(--member-frame-width);
  height: auto;
  object-fit: contain;
}

.member-photo {
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: var(--member-photo-width);
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  backface-visibility: hidden;
  transform-origin: center 55%;
  transform-style: preserve-3d;
  transition: transform 760ms cubic-bezier(0.22, 0.78, 0.2, 1), filter 760ms cubic-bezier(0.22, 0.78, 0.2, 1);
  will-change: transform;
}

.member-photo--front {
  transform: translateX(var(--member-photo-offset-x)) rotateY(0deg);
}

.member-photo--back {
  transform: translateX(var(--member-photo-offset-x)) rotateY(-180deg);
  filter: saturate(0.98);
}

.member-card:hover .member-photo--front,
.member-card.is-hovered .member-photo--front {
  transform: translateX(var(--member-photo-offset-x)) rotateY(180deg);
}

.member-card:hover .member-photo--back,
.member-card.is-hovered .member-photo--back {
  transform: translateX(var(--member-photo-offset-x)) rotateY(0deg);
}

.member-card--aoi .member-photo-wrap {
  --member-photo-width: clamp(184px, 92%, 248px);
  --member-photo-offset-x: calc(-50% + 12px);
}

.member-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(213px, 100%);
  text-align: center;
}

.member-card--modal-trigger:focus-visible {
  outline: 2px solid var(--c-black);
  outline-offset: -2px;
}

.member-affil {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-gray-80);
  margin-bottom: 2px;
}

.member-name-ja {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 1.88px;
  margin-bottom: 4px;
}

.member-name-en {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-gray-35);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.member-more {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-gray-30);
  border-bottom: 1px solid var(--c-gray-30);
  padding-bottom: 4px;
}

.member-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  overflow: hidden;
}

.member-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 29, 29, 0.34);
}

.member-modal__dialog {
  position: relative;
  width: min(100%, 1120px);
  height: 100vh;
  margin-left: auto;
  background: var(--c-white);
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.22, 0.78, 0.2, 1);
}

.member-modal.is-open .member-modal__dialog {
  transform: translateX(0);
}

.member-modal__inner {
  display: grid;
  grid-template-columns: minmax(420px, 54%) minmax(320px, 1fr);
  height: 100%;
}

.member-modal__media {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0 0 0 48px;
  background: var(--c-white);
  min-height: 0;
}

.member-modal__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.member-modal__content {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 56px 56px 48px 36px;
}

.member-modal__content-inner {
  width: 100%;
  max-width: 396px;
}

.member-modal__title {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 18px;
}

.member-modal__divider {
  border-top: 1px solid var(--c-gray-30);
  margin-bottom: 28px;
}

.member-modal__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 16px;
  line-height: 2;
  color: var(--c-gray-80);
}

/* ============================================================
   Hint
   ============================================================ */
.hint {
  position: relative;
  overflow: hidden;
}

.hint-wave {
  position: relative;
  z-index: -2;
  margin-bottom: -2px;
  line-height: 0;
  overflow: hidden;
}

.hint-wave img {
  width: 100%;
}

.hint-inner {
  background: var(--c-bluegray-10);
  position: relative;
  margin-top: -10px;
  padding: 10vw 24px 60px;
  overflow: hidden;
}

.hint-ninja {
  position: absolute;
  object-fit: cover;
  border-radius: 50%;
}

.hint-ninja--tl {
  top: 0px;
  left: -1%;
  width: 340px;
  height: 340px;
}

.hint-ninja--tr {
  top: 30px;
  right: 1%;
  width: 340px;
  height: 340px;
}

/* Hint Card */
.hint-cards-display {
  margin-top: 48px;
}

.hint-carousel {
  --hint-card-width: 364px;
  --hint-card-height: 494px;
  --hint-card-shift: 236px;
  --hint-card-side-scale: 0.8;
  --hint-card-side-top: 66px;
  width: min(100%, 860px);
  margin: 0 auto;
  touch-action: pan-y;
}

.hint-carousel__stage {
  position: relative;
  height: 530px;
}

.hint-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.hint-carousel__arrow {
  appearance: none;
  position: relative;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: transform 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.hint-carousel__arrow-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 180ms ease;
}

.hint-carousel__arrow-icon--hover {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .hint-carousel__arrow:hover,
  .hint-carousel__arrow:focus-visible {
    transform: translateY(-1px);
  }

  .hint-carousel__arrow:hover .hint-carousel__arrow-icon--default,
  .hint-carousel__arrow:focus-visible .hint-carousel__arrow-icon--default {
    opacity: 0;
  }

  .hint-carousel__arrow:hover .hint-carousel__arrow-icon--hover,
  .hint-carousel__arrow:focus-visible .hint-carousel__arrow-icon--hover {
    opacity: 1;
  }
}

@media (hover: none), (pointer: coarse) {
  .hint-carousel__arrow:active {
    transform: translateY(-1px);
  }

  .hint-carousel__arrow:active .hint-carousel__arrow-icon--default {
    opacity: 0;
  }

  .hint-carousel__arrow:active .hint-carousel__arrow-icon--hover {
    opacity: 1;
  }
}

.hint-carousel__pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 220px;
}

.hint-carousel__line {
  width: 56px;
  height: 1px;
  background: rgba(64, 64, 64, 0.22);
}

.hint-carousel__fraction {
  font-family: var(--f-label);
  font-size: 18px;
  font-weight: 500;
  color: rgba(64, 64, 64, 0.72);
  letter-spacing: 0.02em;
}

.hint-card {
  appearance: none;
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--hint-card-width);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform-origin: center top;
  transition: transform 560ms cubic-bezier(0.22, 0.78, 0.2, 1), opacity 560ms ease;
  will-change: transform, opacity;
}

.hint-card:focus-visible {
  outline: 2px solid #8b5cf6;
  outline-offset: 8px;
}

.hint-card__inner {
  display: block;
  position: relative;
  width: 100%;
  height: var(--hint-card-height);
  min-height: var(--hint-card-height);
  perspective: 1400px;
  transform-style: preserve-3d;
  transition: transform 420ms ease;
}

.hint-card__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  border-radius: 24px;
  background: var(--c-white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.hint-card__face--front {
  padding: 26px 20px 22px;
  align-items: center;
}

.hint-card__face--back {
  padding: 26px 20px 22px;
  transform: rotateY(180deg);
}

.hint-card[data-slot="center"].is-selected .hint-card__inner {
  transform: rotateY(180deg);
}

.hint-card[data-slot="left"] {
  transform: translate3d(calc(-50% - var(--hint-card-shift)), var(--hint-card-side-top), 0) scale(var(--hint-card-side-scale));
  opacity: 0.34;
  z-index: 1;
}

.hint-card[data-slot="center"] {
  transform: translate3d(-50%, 0, 0) scale(1);
  opacity: 1;
  z-index: 4;
}

.hint-card[data-slot="right"] {
  transform: translate3d(calc(-50% + var(--hint-card-shift)), var(--hint-card-side-top), 0) scale(var(--hint-card-side-scale));
  opacity: 0.34;
  z-index: 2;
}

.hint-card[data-slot="far-left"] {
  transform: translate3d(calc(-50% - (var(--hint-card-shift) * 2)), var(--hint-card-side-top), 0) scale(var(--hint-card-side-scale));
  opacity: 0;
  z-index: 0;
}

.hint-card[data-slot="far-right"] {
  transform: translate3d(calc(-50% + (var(--hint-card-shift) * 2)), var(--hint-card-side-top), 0) scale(var(--hint-card-side-scale));
  opacity: 0;
  z-index: 0;
}

.hint-card[data-slot="under-left"] {
  transform: translate3d(calc(-50% - 20px), 18px, 0) scale(0.94);
  opacity: 0;
  z-index: 0;
}

.hint-card[data-slot="under-right"] {
  transform: translate3d(calc(-50% + 20px), 18px, 0) scale(0.94);
  opacity: 0;
  z-index: 0;
}

.hint-card-img {
  width: 100%;
  aspect-ratio: 1 / 0.85;
  border-radius: 20px;
  overflow: hidden;
  background: #f5f2e8;
}

.hint-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hint-card__label {
  font-family: var(--f-label);
  display: block;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-orange);
  line-height: 1;
  letter-spacing: 0.03em;
  text-align: center;
}

.hint-card__title-wrap {
  width: 100%;
  padding: 12px 12px 0;
}

.hint-card-title {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: var(--c-gray-70);
  line-height: 1.52;
  letter-spacing: 0;
  text-align: center;
}

.hint-card__icon {
  position: relative;
  width: 29px;
  height: 29px;
  margin-top: auto;
  margin-left: auto;
}

.hint-card__icon-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.18s ease;
}

.hint-card__icon-image--hover {
  opacity: 0;
}

.hint-card[data-slot="center"]:not(.is-selected):hover .hint-card__icon-image--default,
.hint-card[data-slot="center"]:not(.is-selected):focus-visible .hint-card__icon-image--default {
  opacity: 0;
}

.hint-card[data-slot="center"]:not(.is-selected):hover .hint-card__icon-image--hover,
.hint-card[data-slot="center"]:not(.is-selected):focus-visible .hint-card__icon-image--hover {
  opacity: 1;
}

.hint-card-img--back {
  position: relative;
}

.hint-card-img--back::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
}

.hint-card__copy {
  display: block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  text-align: left;
  color: var(--c-gray-70);
}

/* Keywords Marquee */
.keywords {
  background: var(--c-bluegray-10);
  padding: 20px 0 60px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.keyword-line {
  display: flex;
  white-space: nowrap;
}

.keyword-track {
  display: inline-block;
  animation: marqueeLeft 38s linear infinite;
  font-size: 62px;
  font-weight: 900;
  color: var(--c-gray-35);
  line-height: 92px;
  white-space: nowrap;
  will-change: transform;
}

.keyword-separator {
  display: inline-flex;
  width: 54px;
  height: 54px;
  margin: 0 12px;
  vertical-align: middle;
}

.keyword-separator img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.keyword-track--reverse {
  animation: marqueeRight 44s linear infinite;
}

.keyword-track--slow {
  animation-duration: 38s;
}

@keyframes marqueeLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes marqueeRight {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

/* Contact */
.contact {
  background: var(--c-white);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  padding: 40px 100px 10px 20px;
  flex-wrap: wrap;
}

.contact-ninja {
  width: 389px;
  height: 389px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-message {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--c-black);
  text-align: center;
}

.contact-sub {
  font-size: 22px;
  font-weight: 700;
  color: #6a6a6a;
  text-align: center;
}

/* SNS Links */
.sns-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--c-gray-85);
  border-bottom: 1px solid var(--c-gray-85);
  background: var(--c-bluegray-10);
}

.sns-spacer {
  min-height: 306px;
}

.sns-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 24px 40px;
  transition: background 0.2s;
  position: relative;
}

.sns-links > * + * {
  border-left: 1px solid var(--c-black);
}

.sns-item:hover {
  background: var(--c-bluegray-20);
}

.sns-name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.077em;
}

.sns-icon {
  position: relative;
  width: 138px;
  height: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sns-icon-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sns-icon-image {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.sns-icon-image--note {
  width: 46px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--c-black);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 24px;
  position: relative;
  min-height: 188px;
}

.footer-logo {
  position: absolute;
  left: 212px;
  width: 114px;
  height: 55px;
  object-fit: contain;
}

.footer-copy {
  font-size: 14px;
  font-weight: 400;
  color: var(--c-white);
  letter-spacing: 0.04em;
  line-height: 1.94;
}

/* ============================================================
   Tablet  (768px – 1199px)
   ============================================================ */
@media (max-width: 1199px) {

  :root {
    --cc-line-h: 72px;
    --header-h: 100px;
  }
  
  /* Header */
  .header-inner {
    padding: 0 0 0 8px;
    align-items: flex-start;
  }

  .logo-image {
    width: 294px;
    height: 91px;
  }

  .nav-pc {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-drawer {
    display: flex;
  }

  /* Hero */
  .hero {
    height: auto;
    padding: 60px 0 20px 0;
  }
  
.hero-card {
  width: 320px;
  height: 400px;
}

  .catch-copy {
    gap: 12px;
  }

  .catch-copy-text {
    font-size: 56px;
  }

  .catch-copy-subtitle {
    font-size: 32px;
    line-height: 120%;
    letter-spacing: -0.1em;
  }

  /* About */
  .about-ninja-top {
    width: 252px;
    height: 252px;
  }

  .about-dark {
    padding: 80px 0 40px;
  }

  .about-content {
    padding: 60px 80px 60px;
  }

  .about-title-ja {
    font-size: 64px;
    line-height: 120%;
    letter-spacing: 1px;
  }

  .about-title-sub {
    font-size: 24px;
  }

  .about-intro {
    font-size: 15px;
  }

  .about-body-text {
    font-size: 15px;
  }

  .cloud-tr-1 {
    width: 20%;
    right: -2%;
    top: 9px;
    height: 10vw;
  }

  .cloud-tr-2 {
    width: 16vw;
    top: 400px;
    right: -5%;
    height: 9vw;
  }

  .cloud-tl {
    width: 22vw;
    left: -13%;
    top: 132px;
    height: 11vw;
  }

  .about-ninja-br {
    width: 22vw;
    height: 22vw;
    right: -3%;
    bottom: -10px;
  }

  .about-flow-image {
    width: 640px;
  }

  /* Section title - keep PC size at tablet */

  /* Project */
  .project {
    padding: 120px 0 48px 56px;
  }

  .project-cards {
    gap: 21px;
  }

  .project-card {
    width: 454px;
  }

  .project-card-title {
    font-size: 24.5px;
    line-height: 1.43;
    height: auto;
    margin-bottom: 4px;
  }

  .project-card-meta {
    font-size: 14px;
  }

  .project-modal__scroll {
    padding: 13% 5% 5% 5%;
  }

  .project-modal__title {
    font-size: 36px;
  }

  .project-modal__gallery {
    grid-template-columns: 72px minmax(0, 1fr);
    width: min(100%, 82%);
    gap: 18px;
  }

  .project-modal__thumb {
    width: 72px;
    border-radius: 12px;
  }

  .project-modal__close-bottom {
    width: 90%;
    min-height: 64px;
    font-size: 20px;
  }

  .project-modal__close-bottom-icon {
    font-size: 30px;
  }

  /* Banner */
  .banner {
    margin: 40px;
  }
  .banner-inner {
    flex-direction: row;
    align-items: center;
    gap: 32px;
    margin: 0 40px;
  }

@media (max-width: 1099px) {
  .banner-inner {
    flex-direction: column;
    gap: 48px;
  }
}
  .banner-card {
    width: 600px;
    min-width: 420px;
    max-width: 100%;
  }

@media (max-width: 1099px) {
  .banner-card {
    min-height:160px;
  }
}
  /* Members */
  .members-grid {
    width: min(100%, 960px);
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .member-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 380px;
    border-width: 1px;
  }
  
  .member-photo-wrap {
    width: min(200px, 78%);
  }

  .member-affil {
    font-size: 12.35px;
  }

  .member-name-ja {
    font-size: 21px;
  }

  .member-name-en {
    font-size: 11.25px;
  }

  .member-more {
    font-size: 14.5px;
  }

  .member-modal__dialog {
    width: min(100%, 980px);
  }

  .member-modal__inner {
    grid-template-columns: minmax(340px, 52%) minmax(280px, 1fr);
  }

  .member-modal__content {
    padding: 40px 40px 32px 28px;
  }

  .member-modal__title {
    font-size: 24px;
  }

  .member-modal__body {
    font-size: 15px;
  }

  /* Hint */
  .hint-ninja--tl {
    width: 28vw;
    height: 28vw;
    top: 70px;
    left: -36px;
  }

  .hint-ninja--tr {
    width: 28vw;
    height: 28vw;
    top: 90px;
    right: -32px;
  }

  .hint .section-title-en {
    font-size: 80px;
    letter-spacing: 3.2px;
  }

  .hint .section-title-ja {
    font-size: 17px;
  }

  .hint-carousel {
    --hint-card-width: 304px;
    --hint-card-height: 412px;
    --hint-card-shift: 194px;
    --hint-card-side-top: 54px;
  }

  .hint-carousel__stage {
    height: 449px;
  }

  .hint-card__face--front,
  .hint-card__face--back {
    padding: 20px 16px 18px;
  }

  .hint-card__label {
    margin-top: 12px;
    font-size: 13px;
  }

  .hint-card__title-wrap {
    padding: 10px 10px 0;
  }

  .hint-card-title {
    font-size: 20px;
    line-height: 1.48;
  }

  .hint-card__copy {
    margin-top: 18px;
    font-size: 12px;
    line-height: 1.95;
  }

  .hint-carousel__controls {
    gap: 12px;
  }

  .hint-carousel__line {
    width: 46px;
  }

  .hint-card__icon {
    width: 27px;
    height: 27px;
  }

  .keyword-track {
    font-size: 40px;
    line-height: 1.48;
  }

  .keyword-separator {
    width: 30px;
    height: 30px;
    margin: 0 14px;
  }

  /* Contact */
  .contact-inner {
    padding: 40px 72px 40px 20px;
    gap: 0px;
  }

  .contact-ninja {
    width: 269px;
    height: 269px;
  }

  .contact-message {
    font-size: 40px;
  }

  .contact-sub {
    font-size: 18px;
  }

  .sns-spacer {
    display: none;
  }
  .sns-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  /* Footer */
  .footer-logo {
    left: 100px;
  }
}

/* ============================================================
   SP  (max-width 767px)
   ============================================================ */
@media (max-width: 767px) {

  .loading-screen__inner {
    gap: 18px;
  }

  .loading-screen__label {
    font-size: 15px;
    letter-spacing: 0.18em;
  }

  /* Header */
  .header-inner {
    padding: 0 0 0 8px;
    align-items: flex-start;
  }

  .logo-image {
    width: 216px;
    height: 67px;
  }

  .hamburger {
    width: 72px;
    height: 72px;
    gap: 13px;
  }

  .hamburger span {
    width: 31px;
    height: 2.7px;
  }

  .hamburger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-drawer-item {
    padding: 16px 24px;
    font-size: 14px;
  }

  .nav-drawer-cta {
    margin: 12px 24px;
    padding: 14px;
    font-size: 14px;
  }


  /* Hero */
  :root {
    --header-h: 80px;
    --hero-card-w: 300px;
    --hero-card-h: 400px;
    --hero-card-gap: 20px;
  }

  .hero {
    height: auto;
    padding-top: 40px;
  }

  .hero-card {
    border-width: 4px;
    border-radius: 12px;
  }

  /* CatchCopy */
  :root {
    --cc-line-h: 48px;
  }

  .catch-copy {
    height: auto;
    gap: 4px;
    padding: 54px 8px 30px;
  }

  .catch-copy-text {
    font-size: 33px;
  }
  .catch-copy-text.text-small {
    font-size: 28px;
  }
  .catch-copy-subtitle {
    font-size: 18px;
    letter-spacing: -0.1em;
  }

  /* About */
  .about-ninja-top {
    width: 188px;
    height: 188px;
  }

  .about-dark {
    padding: 40px 0;
  }

  .about-content {
    padding: 64px 40px 40px;
  }

  .about-title {
    margin-bottom: 41px;
    gap: 3px;
  }

  .about-title-ja {
    font-size: 47px;
    line-height: 77px;
  }

  .about-title-sub {
    font-size: 18px;
  }

  .about-intro {
    font-size: 12.5px;
    margin-bottom: 22px;
  }

  .about-body-text {
    font-size: 12.5px;
  }

  .about-ninja-br {
    display: none;
  }

  .cloud {
    display: none;
  }

  .about-flow {
    justify-content: center;
  }

  .about-flow-image {
    width: 100%;
    max-width: 640px;
  }

  /* Section title */
  .section-title-en {
    font-size: 50px;
    letter-spacing: 1.29px;
  }

  .section-title-ja {
    font-size: 15px;
    margin-top: 8px;
  }

  .section-title {
    margin-bottom: 32px;
  }

  /* Project */
  .project {
    padding: 90px 0 40px 24px;
  }

  .project-cards {
    gap: 12px;
  }

  .project-card {
    width: 360px;
    padding: 8px;
  }

  .project-card-img {
    border-radius: 16px;
  }

  .project-card-title {
    font-size: 18px;
    line-height: 1.43;
    /* height: 49px; */
  }

  .project-card-meta {
    font-size: 11px;
    flex-direction: row;
    gap: 12px;
  }

  .project-modal__dialog {
    width: 100%;
  }

  .project-modal__scroll {
    padding: 18% 5% 5% 5%;
  }

  .project-modal__inner {
    padding-right: 0;
  }

  .project-modal__close {
    width: 72px;
    height: 72px;
  }

  .project-modal__header {
    padding-right: 10px;
    margin-bottom: 20px;
  }

  .project-modal__title {
    font-size: 32px;
    margin-bottom: 0;
  }

  .project-modal__gallery,
  .project-modal__gallery--single {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }

  .project-modal__thumbs {
    order: 2;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow: hidden;
    width: 100%;
    padding-bottom: 0;
  }

  .project-modal__stage {
    order: 1;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .project-modal__thumb {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
  }

  .project-modal__thumb.is-active {
    transform: none;
  }

  .project-modal__divider {
    margin: 24px 0 20px;
  }

  .project-modal__section-title {
    font-size: 20px;
  }

  .project-modal__section-text {
    font-size: 14px;
    line-height: 1.9;
  }

  .project-modal__close-bottom {
    width: 100%;
    min-height: 58px;
    gap: 12px;
    font-size: 18px;
  }

  .project-modal__close-bottom-icon {
    font-size: 28px;
  }

  /* Banner */
  .banner {
    margin: 0;
    padding: 2px 0;
    overflow-x: clip;
  }

  .banner-inner {
    margin: 0;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding:0 8vw;
  }

  .banner-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: auto;
    padding: 35px 16px 32px;
    border-width: 3px;
    border-radius: 10px;
  }

  .banner-title {
    font-size: 26px;
    line-height: 130%;
  }

  .banner-sub {
    font-size: 11px;
    line-height: 22.5px;
  }

  .banner-ninja {
    width: 160px;
    height: 160px;
  }

  .banner-ninja--left {
    left: -56px;
    top: 3px;
  }

  .banner-ninja--right {
    right: -50px;
    top: -3px;
  }

  /* Members */
  .members {
    padding: 80px 0 40px;
  }

  .members .section-title-en {
    font-size: 50px;
    letter-spacing: 1.36px;
  }

  .members .section-title-ja {
    font-size: 15px;
  }

  .members-grid {
    max-width: 100%;
    margin: 0 auto;
  }

  .member-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 337px;
    gap: 14px;
    border-width: 0.706px;
    padding-bottom: 22px;
  }

  .member-photo-wrap {
    --member-frame-width: min(160px, 84%);
    --member-photo-width: var(--member-frame-width);
    width: min(180px, 88%);
  }

  .member-photo {
    width: var(--member-photo-width);
  }

  .member-card--aoi .member-photo-wrap {
    --member-photo-width: min(170px, 96%);
  }

  .member-info {
    width: min(160px, 100%);
  }

  .member-affil {
    font-size: 12px;
  }

  .member-name-ja {
    font-size: 21px;
  }

  .member-name-en {
    font-size: 9px;
  }

  .member-more {
    font-size: 11.5px;
  }

  .member-modal__dialog {
    width: 100%;
    overflow-y: auto;
  }

  .member-modal__inner {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100%;
  }

  .member-modal__media {
    min-height: 0;
    margin: 60px 60px 0px;
    padding: 0;
  }

  .member-modal__content {
    align-items: flex-start;
    padding: 5% 5% 20% 5%;
    overflow: visible;
  }

  .member-modal__content-inner {
    max-width: none;
  }

  .member-modal__title {
    font-size: 28px;
    margin-bottom: 14px;
    padding-right: 58px;
  }

  .member-modal__divider {
    margin-bottom: 18px;
  }

  .member-modal__body {
    gap: 14px;
    font-size: 18px;
    line-height: 1.85;
  }

  /* Hint */
  .hint-ninja {
    display: none;
  }

  .hint-inner {
    padding: 56px 4px 40px;
  }

  .hint .section-title-en {
    font-size: 50px;
    letter-spacing: 1.91px;
  }

  .hint .section-title-ja {
    font-size: 13.7px;
    margin-top: 3px;
  }

  .hint-carousel {
    --hint-card-width: 300px;
    --hint-card-height: 430px;
    --hint-card-shift: 156px;
    --hint-card-side-scale: 0.76;
    --hint-card-side-top: 42px;
    width: min(100%, 560px);
  }

  .hint-carousel__stage {
    height: 454px;
  }

  .hint-carousel__controls {
    gap: 12px;
    margin-top: 10px;
  }

  .hint-carousel__arrow {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 24px;
  }

  .hint-carousel__pager {
    min-width: 170px;
    gap: 12px;
  }

  .hint-carousel__line {
    width: 32px;
  }

  .hint-carousel__fraction {
    font-size: 15px;
  }

  .hint-card__face {
    border-radius: 18px;
  }

  .hint-card__face--front,
  .hint-card__face--back {
    padding: 18px 14px 14px;
  }

  .hint-card-img {
    border-radius: 16px;
  }

  .hint-card__label {
    margin-top: 14px;
    font-size: 11px;
  }

  .hint-card-title {
    font-size: 22px;
    line-height: 1.5;
  }

  .hint-card__title-wrap {
    padding: 8px 8px 0;
  }

  .hint-card__icon {
    width: 24px;
    height: 24px;
  }

  .hint-card__copy {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.85;
  }

  .keyword-track {
    font-size: 27px;
    line-height: 40px;
  }

  .keyword-separator {
    width: 22px;
    height: 22px;
    margin: 0 10px;
  }

  /* Contact */
  .contact-inner {
    flex-direction: column;
    padding: 24px 20px 48px;
    gap: 12px;
  }

  .contact-ninja {
    width: 204px;
    height: 204px;
    margin-bottom: -24px;
  }

  .contact-message {
    font-size: 24px;
  }

  .contact-sub {
    font-size: 14px;
  }

  .sns-item {
    padding: 22px 16px 24px;
    min-height: 153px;
    width: auto;
  }

  .sns-name {
    font-size: 18px;
    letter-spacing: 1.687px;
  }

  .sns-icon {
    width: 128px;
    height: 128px;
  }

  .sns-icon-image {
    width: 50px;
    height: 50px;
  }

  .sns-icon-image--note {
    width: 46px;
    height: 46px;
  }

  
  /* Footer */
  .site-footer {
    flex-direction: column;
    padding: 32px 24px 80px;
    min-height: 140px;
  }

  .footer-logo {
    position: absolute;
    left: 48px;
    bottom: 27px;
    width: 75px;
    height: 36px;
  }

  .footer-copy {
    font-size: 12px;
    letter-spacing: 0.48px;
  }
}

@media (max-width: 659px) {
  .catch-copy {
    height: auto;
    gap: 4px;
    padding: 36px 8px 30px;
  }
  
  .members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sns-name {
    font-size: 15px;
    letter-spacing: 1.687px;
  }
    /* Hero */
  :root {
    --hero-card-w: 220px;
    --hero-card-h: 280px;
    --hero-card-gap: 20px;
  }

.hero-card {
  width: var(--hero-card-w);
  height: var(--hero-card-h);
}

  .about-content {
    padding: 64px 30px 40px;
  }
  .project-card {
    width: 300px;
    padding: 8px;
  }

  .banner-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: auto;
    padding: 24px 12px 24px;
    border-width: 3px;
    border-radius: 10px;
  }

  .banner-title {
    font-size: 20px;
    line-height: 130%;
  }

  .member-modal__media {
    min-height: 0;
    margin: 90px 20px 0px;
    padding: 0;
  }
 
.hint-cards-display {
  margin-top: 40px;
}
}

@media (max-width: 480px) {
    .project-modal__scroll {
    padding: 26% 5% 5% 5%;
  }

  .project-modal__title {
    font-size: 26px;
    margin-bottom: 0;
  }
  
  .member-modal__title {
    font-size: 24px;
    margin-bottom: 14px;
    padding-right: 58px;
  }

  .member-modal__body {
    font-size: 14px;
  }
}