@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@900&family=Noto+Sans+JP:wght@500&display=swap");

:root {
  --color-bg: #050706;
  --color-text: #fff;
  --color-border: #404040;
  --desktop-member-width: 24vw;
  --desktop-member-gap: 3.2vw;
  --mobile-member-width: 53.3vw;
  --mobile-member-gap: 6vw;
  --scroll-angle: 9.8deg;
  --color-base: #050706;
  --color-gray: #ffffff;
}

.intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  pointer-events: none;
}

.intro__overlay-first {
  z-index: 10010;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background-color: var(--color-base);
  transform: translateY(0);
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.intro__overlay-second {
  z-index: 10009;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background-color: var(--color-gray);
  transform: translateY(0);
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.intro__logo {
  z-index: 10011;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 8vw;
  transform: translate(-40%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

@media (max-width: 767px) {
  .intro__logo {
    width: 20vw;
  }
}

.intro__logo img {
  width: 100%;
  height: auto;
}

.intro.is-loaded .intro__overlay-first {
  transform: translateY(-100%);
}

.intro.is-loaded .intro__overlay-second {
  transform: translateY(-100%);
}

.intro.is-loaded .intro__logo {
  opacity: 0;
  transform: translate(-40%, -50%) translateY(-10%);
}

@media (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Noto Sans JP", sans-serif;
}

/* ------------------------------------------ sidebar ------------------------------------------ */

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 100;
}

.logo {
  margin: 1.94vw 0 0 1.94vw;
}

.logo img {
  width: max(4.6vw, 48px);
  height: auto;
}

.side-nav {
  width: 100%;
}

.side-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1vw;
  margin-top: 3.6vw;
  align-items: flex-start;
}

.side-nav li {
  width: 100%;
}

.side-nav a {
  color: #fff;
  text-decoration: none;
  font-size: max(16px, 1vw);
  padding: 0.8vw 3.6vw;
  letter-spacing: 0.1em;
  display: block;
  position: relative;
  font-family: "Figtree", sans-serif;
}

.side-nav a.active::before {
  content: "";
  position: absolute;
  left: 2vw;
  top: 50%;
  transform: translateY(-50%);
  width: 0.6vw;
  height: 0.6vw;
  background: #fff;
  border-radius: 50%;
}

/* ------------------------------------------ hamburger ------------------------------------------ */

.hamburger {
  display: none;
}

@media (max-width: 767px) {
  .hamburger {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 10vw;
    height: 12.5vw;
    position: relative;
    z-index: 101;
    margin-right: 4vw;
  }

  .hamburger span {
    display: block;
    width: 65%;
    height: 1px;
    background: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
  }

  .hamburger span:nth-child(1) {
    top: 4vw;
  }

  .hamburger span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .hamburger span:nth-child(3) {
    bottom: 4vw;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateX(-50%) rotate(40deg);
    transform-origin: left top;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateX(-50%) rotate(-40deg);
    transform-origin: left bottom;
  }
  .sidebar {
    position: fixed;
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid #222;
    padding: 0 0 0 2.5vw;
    background: var(--color-bg);
    z-index: 100;
    box-sizing: border-box;
  }

  .logo {
    margin: 3vw 0;
  }

  .logo img {
    width: 9vw;
  }

  .side-nav {
    position: fixed;
    top: 12.5vw;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    transition: right 0.3s ease;
  }

  .side-nav.active {
    right: 0;
    overflow-y: scroll;
  }

  .side-nav ul {
    flex-direction: column;
    gap: 4vw;
    align-items: center;
    margin-top: 46vw;
    padding-bottom: 20vw;
  }

  .side-nav li {
    width: 100%;
    text-align: center;
  }

  .side-nav a {
    font-size: 4vw;
    padding: 4vw;
  }

  .side-nav a::before {
    display: none !important;
  }
}

/* ------------------------------------------ main-content ------------------------------------------ */

.main-content {
  padding: 0 0 20vw 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loaded .main-content {
  opacity: 1;
  visibility: visible;
}

.message-section {
  max-width: 62.2vw;
  margin: 0 auto;
  padding: 11vw 0 9vw 0;
  text-align: left;
}

.message-section .main-title {
  width: min(55.6vw, 1067px);
  margin: 0 0 4.4vw 0;
}

.message-section .main-title img {
  width: 100%;
  height: auto;
}

.message-section .message-text {
  font-size: max(18px, 1.25vw);
  line-height: 2.8;
  letter-spacing: 0.12em;
  color: #fff;
}
.message-section .message-text p {
  margin: 0 0 4vw 0;
}

.message-text p:nth-child(1) {
  animation-delay: 0.2s;
}

.message-text p:nth-child(2) {
  animation-delay: 0.4s;
}

.message-text p:nth-child(3) {
  animation-delay: 0.6s;
}

.message-arrow {
  width: 1px;
  height: 6.5vw;
  margin: 6.5vw auto 20px auto;
  background: #fff;
  display: block;
  position: relative;
  animation: arrowBounce 2s ease-in-out infinite;
}

.message-arrow::before {
  content: "";
  position: absolute;
  bottom: -0.1vw;
  left: 0;
  width: 1.5vw;
  height: 1px;
  transform: rotate(-45deg);
  transform-origin: left top;
  background: #fff;
}

@keyframes arrowBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(20px);
  }
  60% {
    transform: translateY(10px);
  }
}

@media (max-width: 767px) {
  .main-content {
    margin-left: 0;
    padding: 0;
  }

  .message-section {
    padding: 28vw 6vw 14vw;
    max-width: 100%;
  }

  .message-section .main-title {
    width: 100%;
    margin: 0 0 7vw 0;
  }

  .message-section .message-text {
    font-size: 3.3vw;
    line-height: 2.1;
    letter-spacing: 0.18em;
  }

  .message-arrow {
    width: 1px;
    height: 14vw;
  }

  .message-section .message-text p {
    margin: 0 0 7vw 0;
  }
}

/* ------------------------------------------ member-section ------------------------------------------ */

.member-section {
  margin: 0 auto;
  overflow: hidden;
}

.member-section .member-section-inner {
  max-width: 62.2vw;
  margin: 0 auto;
  text-align: left;
}

.member-section .section-title {
  width: min(38vw, 729px);
  margin: 0 0 3vw 1vw;
}

.member-section .section-title img {
  width: 100%;
  height: auto;
}

.member-section .member-list {
  display: flex;
  justify-content: flex-start;
  gap: var(--desktop-member-gap);
  width: fit-content;
  transform: rotate(var(--scroll-angle));
  transform-origin: left center;
  height: 51vw;
  align-items: flex-start;
  margin-top: -5vw;
  margin-left: -25vw;
  padding: 0 25vw;
}

.member-section .member-item {
  text-align: center;
  width: var(--desktop-member-width);
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  transform: rotate(calc(var(--scroll-angle) * -1));
  opacity: 0;
}

.member-section .member-item img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 9;
}

.member-section .member-name {
  font-size: max(16px, 1.7vw);
  text-align: left;
  font-weight: 700;
  margin: 0.8vw 0 0 0;
  position: relative;
  color: #fff;
  z-index: 10;
}

.member-section .member-name img {
  position: absolute;
  bottom: -1vw;
  left: 48%;
  z-index: 20;
}

.member-section .member-item:nth-child(1) {
  z-index: 5;
}

.member-section .member-item:nth-child(2) {
  z-index: 4;
}

.member-section .member-item:nth-child(3) {
  z-index: 3;
}

.member-section .member-item:nth-child(4) {
  z-index: 2;
}

.member-section .member-item:nth-child(5) {
  z-index: 1;
}

.member-section .member-item[data-name="1"] .member-name img {
  width: 16.1vw;
  height: auto;
}

.member-section .member-item[data-name="2"] .member-name img {
  width: 16.4vw;
  height: auto;
}

.member-section .member-item[data-name="3"] .member-name img {
  width: 13.6vw;
  height: auto;
}

.member-section .member-item[data-name="4"] .member-name img {
  width: 13.6vw;
  height: auto;
}

.member-section .member-item[data-name="5"] .member-name img {
  width: 19vw;
  height: auto;
}

.member-section .member-item[data-name="6"] {
  display: none;
}

@media (max-width: 767px) {
  .member-section .member-section-inner {
    max-width: 90vw;
  }

  .member-section .section-title {
    width: 90%;
    margin: 0 0 4.4vw 0;
  }

  .member-section .member-list {
    gap: var(--mobile-member-gap);
    transform: rotate(var(--scroll-angle));
    height: 100vw;
    margin-top: 0;
    margin-left: 0;
    padding: 0 10vw;
  }

  .member-section .member-item {
    width: var(--mobile-member-width);
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
    transform: rotate(calc(var(--scroll-angle) * -1));
  }

  .member-section .member-name {
    font-size: 4vw;
    margin: 2vw 0 0 0;
  }

  .member-section .member-item[data-name="1"] .member-name img {
    width: 32.2vw;
  }

  .member-section .member-item[data-name="2"] .member-name img {
    width: 32.8vw;
  }

  .member-section .member-item[data-name="3"] .member-name img {
    width: 27.2vw;
  }

  .member-section .member-item[data-name="4"] .member-name img {
    width: 27.2vw;
  }

  .member-section .member-item[data-name="5"] .member-name img {
    width: 38.03vw;
  }
}

/* ------------------------------------------ company-section ------------------------------------------ */

.company-section {
  margin: 0 auto;
  padding: 8vw 0 0 0;
  text-align: left;
}

.company-section .company-section-inner {
  max-width: 62.2vw;
  margin: 0 auto;
  text-align: left;
}

.company-section .section-title {
  width: min(44vw, 844px);
  margin: 0 0 2vw 0;
}

.company-section .section-title img {
  width: 100%;
  height: auto;
}

.company-section .company-table-row {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #404040;
  padding: 2.5vw 0;
}

.company-section .company-table-row:nth-child(1) {
  border-top: 1px solid #404040;
}

.company-section .company-table-row-item-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 61vw;
  margin: 0 auto;
}

.company-section .company-table-row-item {
  font-size: max(16px, 1.25vw);
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #fff;
}

.company-section .company-table-row-item:nth-child(1) {
  min-width: 14.5vw;
}

@media (max-width: 767px) {
  .company-section {
    padding: 15vw 4vw 0 4vw;
    box-sizing: border-box;
  }

  .company-section .company-section-inner {
    max-width: 90vw;
  }

  .company-section .section-title {
    width: 100%;
  }

  .company-section .section-title img {
    width: 100%;
    height: auto;
  }

  .company-section .company-table {
    margin-top: 4vw;
  }

  .company-section .company-table-row {
    display: flex;
    justify-content: center;
    align-items: center;
    border: unset !important;
    padding: 0;
  }

  .company-section .company-table-row-item-wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin: 0 auto;
  }

  .company-section .company-table-row-item {
    font-size: 3.2vw;
    padding: 4.5vw 3vw;
    width: 100%;
    box-sizing: border-box;
  }

  .company-section .company-table-row-item:nth-child(1) {
    min-width: 100%;
    width: 100%;
    background: rgb(23, 23, 23);
    border-bottom: 1px solid #404040;
    border-top: 1px solid #404040;
  }
}

/* ------------------------------------------ footer ------------------------------------------ */

.footer {
  text-align: center;
  padding: 0 0 2vw 0;
}

.footer-logo img {
  width: 4.6vw;
  height: auto;
  margin-bottom: 16vw;
  transform: translateX(12%);
}

.footer-copy {
  color: #848383;
  font-size: max(14px, 1vw);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .footer {
    text-align: center;
    padding: 42vw 0 12vw 0;
  }

  .footer-logo img {
    width: 20vw;
    height: auto;
    margin-bottom: 44vw;
  }

  .footer-copy {
    color: #848383;
    font-size: 3vw;
    width: fit-content;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRotate {
  from {
    opacity: 0;
    transform: translateY(20px) rotate(-9.8deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-9.8deg);
  }
}

.fade-in {
  opacity: 0;
  animation: none;
}

.member-item-shuffle {
  transform: rotate(-9.8deg);
  opacity: 0;
  animation: none;
}

.member-item-fixed {
  transform: rotate(-9.8deg);
  opacity: 0;
  animation: none;
}

.page-loaded .fade-in.is-visible {
  animation: fadeIn 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.page-loaded .fade-in-delay-1.is-visible {
  animation: fadeIn 1s cubic-bezier(0.77, 0, 0.175, 1) 0.3s forwards;
}

.page-loaded .fade-in-delay-2.is-visible {
  animation: fadeIn 1s cubic-bezier(0.77, 0, 0.175, 1) 0.6s forwards;
}

.page-loaded .fade-in-delay-3.is-visible {
  animation: fadeIn 1s cubic-bezier(0.77, 0, 0.175, 1) 0.9s forwards;
}

.page-loaded .member-item-shuffle.is-visible {
  animation: fadeInRotate 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.page-loaded .member-item-fixed.is-visible {
  animation: fadeInRotate 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@media (hover: hover) and (min-width: 768px) {
  * {
    cursor: none !important;
  }
}

/* 添加以下样式 */
@media (hover: hover) and (min-width: 768px) {
  body {
    cursor: none !important;
  }

  a,
  button,
  [role="button"] {
    cursor: none !important;
  }
}
