* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Serif JP", serif;
  background: #1a0f08;
  color: #2b1a10;
  line-height: 1.6;
  padding-top: 100px; /* 固定ヘッダーの高さ分のパディング（ロゴサイズ変更に合わせて調整） */
}

@media (min-width: 769px) {
  body {
    padding-top: 100px; /* PCサイズ：ロゴが大きくなったため */
  }
}

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

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

/* 全体ラッパー（紙背景部分） */
.paper-wrapper {
  background-image: url("images/bg-paper.png");
  background-size: cover;
  background-repeat: repeat-y;
  background-position: center top;
  background-attachment: fixed;
  min-height: 100vh;
}

/* PC版：背景画像を90度回転版に変更 */
@media (min-width: 769px) {
  .paper-wrapper {
    background-image: url("images/bg-paper%2090.png");
  }
}


/* 上部メニューバー（細い紙帯） */
.top-bar {
  background-image: url("images/bg-paper.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-bottom: 1px solid rgba(43, 26, 16, 0.3);
  padding: 12px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* PC版：ヘッダーの背景画像を90度回転版に変更 */
@media (min-width: 769px) {
  .top-bar {
    background-image: url("images/bg-paper%2090.png");
  }
}


.logo-wrapper {
  display: flex;
  align-items: center;
  height: 72px; /* 2倍のサイズ */
}

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-img {
  height: 100%;
  width: auto;
  max-height: 72px; /* 2倍のサイズ */
  display: block;
}

/* ハンバーガーボタン */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #2b1a10;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* ハンバーガーボタンがアクティブな時 */
.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

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

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  font-size: 0.8rem;
}

.nav-list a {
  position: relative;
  padding-bottom: 3px;
  color: #2b1a10;
  transition: opacity 0.2s ease;
}

.nav-list a:hover {
  opacity: 0.7;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #2b1a10;
  transition: width 0.3s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

/* レスポンシブ：本が開くようなメニューアニメーション */
@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    pointer-events: none;
    overflow: hidden;
  }

  /* オーバーレイ（背景） */
  .nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 15, 8, 0.95);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
  }

  .nav-menu.active .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  /* 本のページ（左右） */
  .nav-pages {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    pointer-events: none;
  }

  .nav-page {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-image: url("images/bg-paper.png");
    background-size: cover;
    background-position: center;
    transform-origin: center;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-page-left {
    left: 0;
    transform: translateX(-100%) rotateY(-15deg);
  }

  .nav-page-right {
    right: 0;
    transform: translateX(100%) rotateY(15deg);
  }

  .nav-menu.active .nav-page-left {
    transform: translateX(0) rotateY(0deg);
  }

  .nav-menu.active .nav-page-right {
    transform: translateX(0) rotateY(0deg);
  }

  /* メニューリスト */
  .nav-list {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease 0.3s;
    pointer-events: none;
  }

  .nav-menu.active .nav-list {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list a {
    font-size: 0.95rem;
    color: #2b1a10;
    padding: 0.5rem 1rem;
    white-space: nowrap;
  }

  .nav-list a::after {
    display: none;
  }
}

/* ヒーロー */
.hero {
  position: relative;
  min-height: 450px;
  width: 100%;
  max-width: 100vw; /* ウィンドウの横サイズに合わせる */
  background-image: url("images/hero-stage.jpg");
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 769px) {
  .hero {
    /* PCサイズでは画像の縦横比を保ちつつ、画面幅いっぱいに表示 */
    /* 横を100%に保ち、縦は画像の縦横比に合わせて自動調整 */
    width: 100%;
    max-width: 100vw; /* ウィンドウの横サイズに合わせる */
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    /* 画像の縦横比を保つためのアスペクト比（16:9を想定、必要に応じて調整） */
    aspect-ratio: 16 / 9;
    /* 最小高さをビューポート高さからヘッダー分を引いた値に設定 */
    /* aspect-ratioで計算された高さがmin-heightより小さい場合は、min-heightが優先される */
    min-height: calc(100vh - 100px); /* ヘッダーの高さに合わせて調整 */
    /* 最大高さは制限なし（画像全体を表示） */
    max-height: none;
    height: auto;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.hero-title-wrap {
  position: relative;
  text-align: center;
  color: #fff;
  margin-bottom: 50px;
  z-index: 2;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 0.0rem; /* カタカナ表記との間隔を半分に */
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transform: scaleY(0.95); /* 縦軸を少し短く */
  transform-origin: center;
}

.hero-sub {
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  letter-spacing: 0.25em;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 5vw 90px;
}

/* セクション共通 */
section {
  margin-bottom: 70px;
  position: relative;
  scroll-margin-top: 100px; /* 固定ヘッダーの高さ + 余白（ロゴサイズ変更に合わせて調整） */
}

.section-inner {
  padding: 50px 6vw;
  background-image: url("images/bg-paper.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* PC版：セクションの背景画像を90度回転版に変更 */
@media (min-width: 769px) {
  .section-inner {
    background-image: url("images/bg-paper%2090.png");
  }
}

/* PC版：セクションの背景画像を90度回転版に変更 */
@media (min-width: 769px) {
  .section-inner::before {
    background-image: url("images/bg-paper%2090.png");
    background-size: cover;
  }
}

/* 四隅の装飾（SVG画像を使用） - 左上と右下のみ */
.corner-decoration {
  position: absolute;
  width: 120px;
  height: 120px;
  background-image: url("images/corner-decoration.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

/* 左上の装飾 */
.corner-top-left {
  left: 18px;
  top: 18px;
  transform: none;
}

/* 右下の装飾（180度回転） */
.corner-bottom-right {
  right: 18px;
  bottom: 18px;
  transform: rotate(180deg);
}

/* レスポンシブ：装飾を小さく */
@media (max-width: 768px) {
  .corner-decoration {
    width: 80px;
    height: 80px;
  }
  
  .corner-top-left {
    left: 12px;
    top: 12px;
  }
  
  .corner-bottom-right {
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 480px) {
  .corner-decoration {
    width: 60px;
    height: 60px;
  }
  
  .corner-top-left {
    left: 8px;
    top: 8px;
  }
  
  .corner-bottom-right {
    right: 8px;
    bottom: 8px;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 38px;
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
  color: #2b1a10;
}

.section-label-en {
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  letter-spacing: 0.1em;
  margin-bottom: 0;
  color: #2b1a10;
  opacity: 0.9;
}

/* 見出し上下の線（画像に合わせて調整） */
.section-header-lines {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-top: 18px;
}

.section-header-lines::before,
.section-header-lines::after {
  content: "";
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: rgba(43, 26, 16, 0.4);
}

/* NEWS リスト */
.news-list {
  font-size: 0.875rem;
  border-top: 1px solid rgba(43, 26, 16, 0.25);
  margin-top: 25px;
  padding-top: 5px;
}

.news-item {
  display: flex;
  gap: 2.5rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(43, 26, 16, 0.18);
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  white-space: nowrap;
  min-width: 95px;
  font-weight: 400;
  color: #2b1a10;
}

.news-text {
  flex: 1;
  color: #2b1a10;
  line-height: 1.75;
}

/* MOVIE */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 25px;
}

.movie-card {
  text-align: center;
  font-size: 0.875rem;
  color: #2b1a10;
  transition: transform 0.2s ease;
}

.movie-card:hover {
  transform: translateY(-3px);
}

.movie-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 2px solid rgba(43, 26, 16, 0.25);
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  background: #1a1a1a;
  transition: box-shadow 0.25s ease;
}

.movie-thumb-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.movie-card:hover .movie-thumb-wrap {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.movie-card p {
  margin-top: 8px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* CAST & STAFF */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  font-size: 0.875rem;
  margin-top: 20px;
}

.cast-card {
  padding: 18px 20px;
  border: 1px solid rgba(43, 26, 16, 0.2);
  background: rgba(255, 250, 240, 0.6);
  transition: box-shadow 0.2s ease;
}

.cast-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cast-role {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
  opacity: 0.85;
  color: #2b1a10;
}

.cast-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2b1a10;
}

.cast-note {
  font-size: 0.8rem;
  line-height: 1.75;
  color: #2b1a10;
  opacity: 0.9;
}

/* PERFORMANCE */
.performance-list {
  font-size: 0.925rem;
  line-height: 2.2;
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 15px;
  color: #2b1a10;
}

.movie-grid + .performance-list {
  margin-top: 2rem;
}

.performance-list li {
  margin-bottom: 0.5em;
}

/* 公演情報 */
.ticket-status {
  font-size: 0.925rem;
  line-height: 2.1;
  color: #2b1a10;
  margin-top: 15px;
  margin-bottom: 1.2rem;
}

.ticket-status strong {
  font-weight: 700;
}

.ticket-note {
  font-size: 0.8rem;
  line-height: 1.9;
  color: #2b1a10;
  opacity: 0.9;
}

/* クラファン */
.cf-block {
  margin-top: 15px;
  font-size: 0.925rem;
}

.cf-lead {
  line-height: 2.1;
  color: #2b1a10;
}

.cf-lead-follow {
  margin-top: 1em;
}

.cf-btn {
  margin-top: 20px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  border: 1.5px solid rgba(43, 26, 16, 0.7);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, #f9e0a8, #f2c97e);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  color: #2b1a10;
  transition: all 0.3s ease;
}

.cf-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

/* フッター */
footer {
  background: #000;
  color: #aaa;
  font-size: 0.7rem;
  text-align: center;
  padding: 20px 0 28px;
  letter-spacing: 0.05em;
}

/* レスポンシブ */
@media (max-width: 768px) {
  body {
    padding-top: 80px; /* モバイルではヘッダーが高くなるため */
  }

  section {
    scroll-margin-top: 100px; /* モバイルではヘッダーが高くなるため */
  }

  .top-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 4vw;
  }

  .logo-wrapper {
    height: 28px;
  }

  .logo-link {
    height: 100%;
  }

  .logo-img {
    max-height: 28px;
  }

  /* ハンバーガーメニューのスタイルは上記の@media内で定義済み */

  .hero {
    height: 50vh;
    min-height: 320px;
    background-size: cover; /* モバイルではcoverを使用 */
  }

  .hero-title-wrap {
    margin-bottom: 30px;
  }

  main {
    padding: 35px 4vw 60px;
  }

  .section-inner {
    padding: 35px 5vw;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-label-en {
    font-size: 0.7rem;
  }

  .news-item {
    flex-direction: column;
    gap: 0.5rem;
    padding: 12px 0;
  }

  .news-date {
    min-width: auto;
  }

  .movie-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cast-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-inner {
    padding: 28px 4vw;
  }
}

