/* =========================
Reset / Base
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f8f8f6;
  color: #222;
  font-family: "Noto Serif JP", serif;
  line-height: 2;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

body.is-scrollable {
  overflow-y: auto;
}


/* =====================
a hover
===================== */

a {
  color: #222;
  text-decoration: none;
  padding-bottom: 3px;
  background-image: linear-gradient(#ccc, #222);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 0 1px;
  transition: background-size 0.3s;
}

a:hover {
  background-position: bottom left;
  background-size: 100% 1px;
}

a:active {
  text-decoration: none;
}

.url {
  font-size: 0.9rem;
   letter-spacing: -0.03em;
   
}

/* =========================
Loader
========================= */

#loader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease;
}

body.is-loaded #loader {
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  font-family: "Cinzel", serif;
  letter-spacing: 0.35em;
  font-size: 1.4rem;
  opacity: 0;
  animation: logoFade 1.6s ease forwards;
}

@keyframes logoFade {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }

  40% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.02);
  }
}

.loader-image {
  width: 100%;
  height: auto;
  opacity: 0;
  animation: logoFade 1.8s ease forwards;
}


/* =========================
Hero
========================= */

.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-content {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.hero-content h1 {
  margin: 0;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

/* body.is-loaded .hero {
  transform: scale(1);
} */

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
}

.hero__inner {
  position: relative;
  text-align: center;
}


/* =========================
Hero Text
========================= */

.page-enter {
  opacity: 0;
  transform: translateY(20px);
}

body.is-loaded .page-enter {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 1s ease 0.4s,
    transform 1s ease 0.4s;
}

.title {
  font-family: "Cinzel", serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.12em;
}

.tagline {
  margin-top: 1.2rem;
  font-size: 1rem;
  opacity: 0.8;
}

.date {
  display: block;
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
  letter-spacing: 0.3em;
}


/* =====================
Site Header (Menu)
===================== */

#site-header {
  position: relative;
  z-index: 100;

  display: flex;
  align-items: center;

  padding: 0.6rem 2rem;
  background: rgba(248, 248, 246, 0.85);
  backdrop-filter: blur(4px);

  line-height: 1;

  transition: transform 0.3s ease;
}

/* スクロール後に固定表示する */
#site-header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.site-title {
  position: absolute;
  left: 2rem;
}

#site-header nav {
  margin: 0 auto;
}

#site-header nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

#site-header nav a {
  color: #222;
  text-decoration: none;
  letter-spacing: 0.1em;
  line-height: 1;
}


/* =========================
Sections
========================= */

.section {
  min-height: calc(100vh - 50px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-inner {
  text-align: center;
}

.my-list {
  list-style: none;
  width: fit-content;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

.my-list li {
  margin-bottom: 12px;
}

.section-description {
  margin: 0 0 3rem;
}


/* h2 */

.fade-heading {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}


/* p / video */

.fade-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.25s, transform 0.8s ease 0.25s;
}

.section.is-visible .fade-heading,
.section.is-visible .fade-text {
  opacity: 1;
  transform: translateY(0);
}


/* =========================
Video
========================= */

.video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}


/* =========================
Footer
========================= */

.footer {
  text-align: center;
  padding: 80px 0;
  font-size: 0.85rem;
  color: #666;
}

.menu {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.menu a {
  text-decoration: none;
}


/* =====================
Wrapper style5 (Poem)
===================== */

.wrapper.style5 {
  background: ;
  color: #222;
  padding: 3rem 0 7rem;
  margin: 0;
  text-align: left;
}

.wrapper.style5 .inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* =====================
Poem Typography
===================== */

.poem p {
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 2.2;
}


/* =====================
Headings (Poem Layout)
===================== */

.wrapper.style5 h1,
.wrapper.style5 h2,
.wrapper.style5 h3,
.wrapper.style5 h4,
.wrapper.style5 h5 {
  letter-spacing: 0.05em;
  color: #222;
  margin-top: 2rem;
  margin-bottom: 1.25rem;
}

/* 最初の見出しだけ上を詰める */
.wrapper.style5 .inner > h1:first-child,
.wrapper.style5 .inner > h2:first-child,
.wrapper.style5 .inner > h3:first-child,
.wrapper.style5 .inner > h4:first-child {
  margin-top: 0;
}


/* 個別サイズ */

.wrapper.style5 h1 {
  font-size: 1.6rem;
}

.wrapper.style5 h2 {
  font-size: 1.4rem;
}

.wrapper.style5 h3 {
}

.wrapper.style5 h4 {
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 1.75rem;
}


/* =====================
episode
===================== */

.episode li {
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
  border-bottom: 1px solid #ccc;
  margin-bottom: 12px;
}

.episode {
  margin: 0 0 66px 0;
}

.episode span {
  margin-right: 20px;
}


/* =====================
notes
===================== */

.notes {
  position: relative;
  z-index: 100;
   margin-top: 39px;
}

.notes li {
  margin-bottom: 2px;
}


/* =====================
credit
===================== */

.credit {
  margin: 0 0 66px 0;
}

.credit span {
  letter-spacing: 6px;
}


/* =====================
画像ビューワ
===================== */

.image-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.thumbnail {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.thumbnail img {
  display: block;
  width: 150px;
  height: 150px;
}


/* 画像ビューワ：拡大表示 */

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 40px;
  background: rgba(0, 0, 0, 0.8);
}

.image-modal.is-open {
  display: flex;
}

.image-modal-content {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;

  border: none;
  background: none;
  color: #fff;

  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}

/* スマートフォン */
@media (max-width: 768px) {

  .section {
    min-height: auto;
    padding-top: 60px;
    box-sizing: border-box;
  }

  .section-inner {
    width: 100%;
  }

  .section[id] {
    scroll-margin-top: 0px;
  }

  .notes a {
    display: inline-block;
    padding: 8px 0;
  }
}

.coming-soon {
  color: #aaa;
}