@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  /* scroll-behavior: smooth; */
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===== Fonts ===== */
@font-face {
  font-family: "GregoryGrotesk";
  src: url("/fonts/Gregory-Grotesk-Compressed-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GregoryGroteskLight";
  src: url("/fonts/Gregory-Grotesk-Light.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GregoryGroteskRegular";
  src: url("/fonts/Gregory-Grotesk-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GregoryGrotesk";
  src: url("/fonts/Gregory-Grotesk-Compressed-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "PP Editorial New";
  src: url("/fonts/PPEditorialNew-Ultralight.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
/* ===== Base ===== */
html,
body {
  margin: 0;
  overflow: hidden;
  font-size: 10px;
  -webkit-font-smoothing: antialiased;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none; /* iOS/Android でパン・ズームを抑止 */
  -ms-touch-action: none; /* 旧 Edge 対応の保険 */
}

canvas:active {
  cursor: grabbing;
}

.logo {
  position: fixed;
  left: 20px;
  top: 20px;
  z-index: 1000;
}

.logo img {
  width: 220px;
  max-width: 40vw;
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 30;
}

.modal.is-open {
  display: grid;
}

.modal-card {
  width: 100vw;
  height: 100svh;
  background: #fff;
  color: #000;
  display: flex;
  overflow: hidden;
}

.modal-hero-wrapper {
  overflow: hidden;
  width: 75vw;
  height: 100%;
  position: sticky;
  top: 0;
  left: 0;
  flex-shrink: 0;
  z-index: -1;
}

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

.modal-body {
  width: 25vw;
  height: 100%;
  overflow-y: auto;
  padding: 80px 40px 40px;
  box-sizing: border-box;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  color: #000;
  position: relative;
  z-index: 20;
  background-image: url("/img/bg2.jpg");
  /* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */
  /* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */
}

/* ===== Typography ===== */
.person-name {
  font-family: "GregoryGrotesk", sans-serif;
  font-size: 7rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 28px;
}

.person-name .first,
.person-name .last {
  display: block;
}

.bio {
  font-family: "GregoryGrotesk", sans-serif;
  color: #000;
  font-size: 2rem;
}

.divider {
  width: 30px;
  height: 1px;
  background: #000;
  border: 0;
  margin: 24px 0 34px;
}

.section-title {
  margin-bottom: 8px;
  font-family: "GregoryGrotesk", sans-serif;
  font-weight: 500;
  line-height: 1;
  font-size: 2.6rem;
}

.section-text {
  margin: 0 0 36px;
  font-family: "PP Editorial New", serif;
  font-size: 1.5rem;
  line-height: 1.5;
}

/* ===== CLOSE ボタン（右上×） ===== */
.modal-close-fixed {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 45px;
  height: 45px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, .12); */
  z-index: 50;
}

.modal-close-fixed::before,
.modal-close-fixed::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 1px;
  background: #000;
  border-radius: 100px;
  transition: opacity 0.2s ease;
}

.modal-close-fixed::before {
  transform: rotate(45deg);
}

.modal-close-fixed::after {
  transform: rotate(-45deg);
}

.modal-close-fixed:hover::before,
.modal-close-fixed:hover::after {
  opacity: 0.3;
}

.copyright {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 10;
  font-family: "GregoryGroteskLight", sans-serif;
  font-size: 1.2rem;
}

.menu {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 10;
  font-family: "GregoryGroteskRegular", sans-serif;
  font-size: 1.6rem;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 20px 40px;
  border-radius: 1000px;
  box-sizing: border-box;
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}
.menu ul {
  display: flex;
  gap: 0 35px;
}
.menu ul li {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.menu ul li a {
  color: #000;
}

.menu li:last-child::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: 8px;
  background: url("/img/arrow.svg") no-repeat center;
  background-size: contain;
  vertical-align: middle;
}

/* ===== About Modal (Center popup) ===== */
.about-modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 80;
}

.about-modal.is-open {
  display: grid;
}

.about-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
}

/* 中央のモーダル */
.about-dialog {
  position: relative;
  width: min(820px, 90vw);
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
  background-color: #ff5222;
  background-image: url("/img/bg2.jpg");
  color: #000;
  padding: 40px 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
}

.about-dialog::-webkit-scrollbar {
  width: 3px;
}

.about-dialog::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 1000px;
}

.about-dialog::-webkit-scrollbar-track {
  background: transparent;
}

/* Closeボタン（右上の×） */
.about-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.about-close::before,
.about-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 1px;
  background: #000;
  border-radius: 100px;
  transform-origin: center;
  transition: opacity 0.2s ease;
}

.about-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.about-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.about-close:hover::before,
.about-close:hover::after {
  opacity: 0.4;
}

/* Text styling */
.about-title {
  font-family: "GregoryGrotesk", sans-serif;
  font-weight: 500;
  font-size: 4.4rem;
  line-height: 1;
  margin-bottom: 32px;
  width: 80%;
}

.about-content h3 {
  font-family: "GregoryGrotesk", sans-serif;
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 4px;
}
.about-content p {
  font-family: "PP Editorial New", serif;
  font-size: 1.4rem;
  line-height: 1.5;
}
.about-content .about-divider {
  width: 40px;
  border-top: 1px solid #000;
  margin: 20px 0;
}

.--pc {
  display: block;
}

/* ===== Media Queries ===== */
@media (max-width: 768px) {
  /* 画面全体（モーダル全体）をスクロール可能に */
  .modal {
    overflow: auto; /* ← これでモーダル全体がスクロール対象に */
  }
  .modal-card {
    flex-direction: column;
    height: auto; /* 固定高さを解除 */
    min-height: 100svh; /* でも最低限はビューポート高を確保 */
    overflow: visible; /* 内部スクロールなし */
  }
  .modal-hero-wrapper {
    width: 100%;
    position: relative; /* stickyを無効化 */
    height: auto; /* 固定高さを解除 */
    height: 40vh;
  }
  .modal-hero {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .modal-body {
    width: 100%;
    height: auto; /* 固定高さを解除 */
    overflow: visible; /* 内部スクロールなし（=親の.modalがスクロール） */
    padding: 40px 20px 40px 20px; /* 余白はそのまま */
  }
  .menu {
    left: 50%;
    right: auto;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 1.6rem;
  }
  .menu ul {
    gap: 0 25px;
  }
  .copyright {
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    width: -moz-max-content;
    width: max-content;
  }
  .logo {
    left: 50%;
    transform: translateX(-50%);
  }
  .modal-close-fixed::before, .modal-close-fixed::after {
    width: 30px;
  }
  .modal-close-fixed {
    width: 30px;
    height: 30px;
  }
  .--pc {
    display: none;
  }
  .about-dialog {
    width: 90vw;
    max-height: 80svh;
    padding: 40px 20px;
  }
  .about-title {
    font-size: 3.2rem;
  }
  .about-content h3 {
    font-size: 2.2rem;
  }
  .about-close::before, .about-close::after {
    width: 35px;
  }
}
/* ===== Loading Overlay ===== */
.ddw-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #ff5222;
  background-image: url("/img/bg2.jpg");
  transition: opacity 1.2s ease, visibility 1.2s ease;
  will-change: opacity, visibility;
}

.ddw-loading.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.ddw-loading__inner {
  width: min(520px, 86vw);
  text-align: center;
}

.ddw-loading__logo img {
  width: 240px;
  max-width: 60vw;
  display: block;
  margin: 0 auto 24px;
}

.ddw-loading__pct {
  margin-top: 10px;
  font-family: "GregoryGrotesk", sans-serif;
  font-size: 1.6rem;
  color: #000;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .ddw-loading__logo img {
    width: 160px;
  }
}/*# sourceMappingURL=index.css.map */