@charset "utf-8";

/* ============================
   無限スクロールアニメーション
============================ */
@keyframes infinity-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}
.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
.scroll-infinity__list--left {
  animation: infinity-scroll-left 40s infinite linear 0.5s both;
}
.scroll-infinity__item {
  width: calc(300vw / 6);
}
.scroll-infinity__item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================
   共通リセット・ベース
============================ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #f0f0f0;
  background-size: cover;
  background-repeat: no-repeat;
}

img {
  width: 100%;
  display: block;
}

/* ============================
   ヘッダー・ナビ
============================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  padding: 20px 30px;
  height: 60px;
}

nav {
  margin-left: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: white;
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  transition: color 0.15s;
  text-shadow: 0 0 8px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,0.8);
}

nav a:hover {
  color: #E10098;
}

/* ============================
   ヘッダーロゴ
============================ */
.header-logo {
  height: 40px !important;
  width: auto !important;
  filter: invert(1) drop-shadow(0 0 5px rgba(0,0,0,0.8));
}

header a:has(.header-logo) {
  margin-right: auto;
  display: flex;
  align-items: center;
  opacity: 1;
  transition: opacity 0.2s;
}

header a:has(.header-logo):hover {
  opacity: 0.6;
}

/* ============================
   次回公演バナー
============================ */
.next-show {
  position: relative;
  background-color: white;
  color: black;
  font-family: "zen-kaku-gothic-antique", sans-serif;
}

.next-show-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 60px;
  text-align: left;
}

.next-show-text {
  flex: 1;
}

.next-show-label {
  font-size: 11px;
  letter-spacing: 3px;
  margin-bottom: 20px;
  color: rgba(215,0,121,1);
}

.next-show-sub {
  font-size: 11px;
  letter-spacing: 3px;
  color: #888;
  margin-bottom: 10px;
}

.next-show-title {
  font-size: 28px;
  letter-spacing: 4px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.next-show-date {
  display: block;
  font-size: 13px;
  letter-spacing: 3px;
  color: rgba(215,0,121,1);
  margin-bottom: 8px;
}

.next-show-venue {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  color: #aaa;
}

.next-show-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 28px;
  background-color: rgba(215,0,121,1);
  color: white;
  text-decoration: none;
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 900;
  transition: background-color 0.2s;
}

.next-show-btn:hover {
  background-color: black;
  color: white;
}

.next-show-flyer {
  width: 220px;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

@media screen and (max-width: 780px) {
  .next-show-inner {
    flex-direction: column;
    padding: 40px 24px;
    gap: 28px;
  }
  .next-show-title {
    font-size: 20px;
  }
  .next-show-flyer {
    width: 100%;
    max-width: 280px;
    margin: 0;
  }
}

/* ============================
   ハイライト（タイトル下線）
============================ */
.highlight {
  background: linear-gradient(transparent 20%, white 0%);
}

/* ============================
   共通テキスト・セクションタイトル
============================ */
h1 {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-size: 11px;
  padding: 20px;
  margin: 0;
  line-height: 30px;
  letter-spacing: 2px;
  color: black;
}

.preface h1 {
  color: white;
  padding-left: 0;
}

.title2, .title3 {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-size: 20px;
  color: black;
  padding: 20px;
  line-height: 30px;
  letter-spacing: 2px;
}

.news1 {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  letter-spacing: 3px;
  padding: 20px;
  font-size: 11px;
}

.news-tag {
  background-color: rgba(215,0,121,1.00);
  color: white;
  font-size: 9px;
  padding: 2px 8px;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 6px;
}

/* ============================
   フォーム共通
============================ */
input, textarea {
  background-color: #D3D3D3;
  padding: 10px;
  border: none;
  margin-top: 5px;
  margin-left: 20px;
  border-radius: 5px;
  font-size: 1rem;
}

button {
  padding: 12px 24px;
  background-color: rgba(215, 0, 121, 1.00);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-weight: 900;
  letter-spacing: 3px;
  margin-top: 5px;
  margin-left: 20px;
  transition: background-color 0.2s;
}

button:hover {
  background-color: black;
}

label {
  color: black;
  margin-left: 20px;
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
}

/* ============================
   公演履歴（トップページ移植）
============================ */
.history-wrap {
  background-color: white;
  width: 100%;
}

.history-block {
  padding: 0 20px 60px;
}

.history-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.history-card {
  display: flex;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.history-thumb {
  width: 100px;
  height: 70px;
  object-fit: cover;
  flex-shrink: 0;
}

.history-date-label {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-size: 10px;
  color: rgba(215,0,121,1.00);
  letter-spacing: 3px;
  margin-bottom: 6px;
}

.history-title {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  color: black;
  margin-bottom: 4px;
}

.history-venue {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: #aaa;
}

@media screen and (max-width: 780px) {
  .history-block {
    padding: 0 16px 50px;
  }
}

/* ============================
   about-block（トップページ流用）
============================ */
.about-block {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 40px;
}

.about-text {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-size: 11px;
  line-height: 32px;
  letter-spacing: 2px;
  color: black;
}

.about-text p {
  margin: 0 0 16px;
}

@media screen and (max-width: 780px) {
  .about-block {
    padding: 40px 20px;
  }
}

/* ============================
   スマホ（〜780px）
   marutop-sp.jpg（縦長）を .hero 自身に設定。
   4人が中央に配置された縦型写真なので
   background-position: center center でOK。
============================ */
/* ============================
   ハンバーガーボタン（PC非表示）
============================ */
.hamburger {
  display: none;
}

@media screen and (max-width: 780px) {
  body {
    background: white;
  }

  /* ヒーロー：縦型写真を100vh表示 */
  .hero {
    height: 100vh;
    background-image: url(marutop-sp.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  header {
    padding: 10px 16px;
  }

  .header-logo {
    height: 28px;
  }

  /* ハンバーガーボタン */
  .hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    padding: 6px !important;
    margin-left: auto;
    z-index: 10000;
    position: relative;
    -webkit-appearance: none;
    appearance: none;
  }

  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.8));
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* モバイルナビ（デフォルト非表示・オーバーレイ） */
  nav {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.93);
    z-index: 9999;
    align-items: center;
    justify-content: center;
  }

  nav.open {
    display: flex !important;
  }

  nav ul {
    flex-direction: column;
    gap: 48px;
    text-align: center;
  }

  nav a {
    font-size: 20px;
    letter-spacing: 6px;
  }

  /* ご挨拶セクション */
  .preface {
    background-color: rgba(215, 0, 121, 1.00);
    color: white;
    font-family: "zen-kaku-gothic-antique", sans-serif;
    font-size: 11px;
    padding: 60px 40px;
    line-height: 30px;
    letter-spacing: 2px;
    text-align: left;
  }

  .preface p { margin: 0 0 18px; }

  /* memberセクション：prefaceの下に余白をあけて
     背景写真がちらりと見える隙間をつくる */
  .member {
    margin-top: 70px;
    background-color: white;
  }

  .news {
    background-color: white;
  }

  .history-wrap {
    background-color: white;
  }

  form {
    background-color: white;
    font-family: "zen-kaku-gothic-antique", sans-serif;
    padding: 40px 0 60px;
    letter-spacing: 3px;
    font-size: 12px;
  }

  input, textarea { width: 82%; }
}

/* ============================
   PC（781px〜）
   marutop-pc2.jpg（横長・ほぼ正方形）を body に固定。
   人物は写真の下半分に集まっているため
   background-position: center bottom で全員をしっかり表示。
   background-attachment: fixed でパララックス効果。
============================ */
@media screen and (min-width: 781px) {
  body {
    background-image: url(marutop-pc2.jpg);
    background-size: cover;
    background-position: center 55%;  /* 4人全員の頭〜足が収まる */
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  /* ヒーロー：bodyの背景が透けて見える100vhの空間 */
  .hero {
    height: 100vh;
  }

  /* ご挨拶セクション */
  .preface {
    background-color: rgba(215, 0, 121, 1.00);
    color: white;
    font-family: "zen-kaku-gothic-antique", sans-serif;
    font-size: 11px;
    padding: 80px 60px;
    line-height: 32px;
    letter-spacing: 2px;
    max-width: 100%;
    text-align: left;
  }

  .preface p {
    margin: 0 0 18px;
    max-width: 640px;
  }

  /* memberセクション：prefaceとの間に80pxの隙間
     背景の4人写真がパララックスで覗く */
  .member {
    margin-top: 80px;
    background-color: white;
  }

  .news {
    background-color: white;
  }

  .history-wrap {
    background-color: white;
  }

  form {
    background-color: white;
    font-family: "zen-kaku-gothic-antique", sans-serif;
    padding: 60px 0 80px;
    letter-spacing: 3px;
    font-size: 12px;
  }

  input, textarea { width: 70%; }
}
