/* 全体のスタイル */
body,
html {
  margin: 0;
  padding: 0;
  /* font-family: Arial, sans-serif; */
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", sans-serif;
  background-color: #fff;
  color: #000;
  scroll-behavior: smooth;
}

:root {
  /* Colors */
  --color-01: #ffffff;
  --color-02: #333333;
  --color-03: #333333;

  /* Fonts-family */
  --font-family-01: 'Noto Sans JP', sans-serif;
  --font-family-02: 'Zen Old Mincho', serif;
  --font-family-03: 'Yu Mincho', '游明朝', serif;
  --font-family-04: 'Cinzel', serif;


  /* Fonts-size */
  --font-size-01: 16px;
  --font-size-02: 18px;
  --font-size-03: 32px;
  --font-size-04: clamp(22px, 2vw, 29px);
  --font-size-05: clamp(18px, 1.2vw, 23px);
  --font-size-06: clamp(25px, 2vw, 31px);
  --font-size-07: clamp(16px, 1.2vw, 20px);
  --font-size-08: clamp(14px, 1.0vw, 17px);

  /* Sizes */
  --content-width: 1200px;
  --header-height: 80px;

  /* card */
  --gold: #d8d2a4;
  --gold-deep: #cfc890;
  --text: #1a1a1a;
  --muted: #666;
  --accent: #e4312d;
  --border: #e9e6d6;
  --radius: 10px;
  --space: 16px;

  /* マダム麗奈 */
  --madam: #0E2244;
  --club: #8C88FF;
  --vip: #DDC45B;

  /* テレジア */
  --theresia: #FF1401;
  --machere: #A8A8A8;
  --plaisir: #DDC45B;

  /* 貴楼館 */
  --kirokan: #006D95;
  --gran: #C7C7C7;
  --lareine: #DDC45B;

}

/* ヘッダー */
header {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;


}

header picture.bgimage {
  position: relative;
  /* height: 100vh; */

}

header .title {
  position: absolute;
  width: 50%;
  max-width: 800px;
  top: 23vw;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: self-start;
  flex-direction: column;
  gap: 30px;
}

header .btn-set {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

header .btn-set p {
  width: auto;
  /* height: 58px; */
  max-width: 250px;
}

@media screen and (max-width:725px) {
  header .title {
    width: 100%;
    top: 50%;
  }

  header .btn-set {
    flex-direction: column;
  }
}

/* content1 */
.content1 {
  width: 100%;
}

/* content1　 set01 */
.content1.set01 ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.content1.set01 ul {}

.pickup-slider img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}


/* content1　 set02 */
.content1.set02 {
  margin-top: 270px;
  position: relative;
}

.content1.set02 picture.bgimage {
  display: block;
  width: 100%;
  height: auto;
}

.content1.set02 .door-link {
  position: absolute;
  top: 45%;
  left: 33%;
  transform: translate(-50%, -50%);
  /* 完全中央寄せ */
  width: 100%;
  max-width: 550px;
  margin: 40px auto;
  text-align: center;
  border: 1px solid #D9D18E;
}

.door-link a {
  width: 100%;
  display: inline-block;
  background: rgba(85, 23, 23, 0.9);
  color: #fff;
  text-decoration: none;
  padding: 30px 100px;
  border: 1px solid #cbb883;
  /* ゴールドの枠線 */
  border-radius: 2px;
  position: relative;
  font-family: var(--font-family-03);
  line-height: 1;
}

.door-link .main-text {
  display: block;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 8px;
}

.door-link .sub-text {
  display: block;
  font-size: 17px;
  color: #d9cfcf;
  /* 淡い白系 */
  letter-spacing: 0.03em;
}

/* ホバー時の効果（任意） */
.door-link a:hover {
  /* background: linear-gradient(90deg, #4d0e0e, #3a0c0c); */
  border-color: #e5d8a1;
}


/* .content1.set03 */
.content1.set03 {
  width: 100%;
  background: #EDEDED;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 130px 0;
}

.content1.set03 ul {
  /* max-width: 1200px; */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.content1.set03 ul li {
  width: 100%;
  max-width: 250px;
}

.content1.set03 p {
  font-size: 19px;
  font-family: var(--font-family-03);
  text-align: center;

}

@media screen and (max-width:725px) {
  .content1.set02 {
    margin-top: 100px;
  }

  .content1.set02 .door-link {
    width: 80%;
    top: 50%;
    left: 50%;
    margin: 0;
  }

  .door-link a {
    padding: 10px;
  }

  .door-link .main-text {
    margin: 0 auto;
    margin-bottom: 5px;
    width: fit-content;
    font-size: 18px;
    text-align: center;
  }

  .door-link .sub-text {
    margin: 0 auto;
    width: fit-content;
    font-size: 14px;
    text-align: center;
  }

  .content1.set03 ul {
    max-width: 340px;
    flex-direction: column;
    gap: 30px;
  }

  .content1.set03 {
    padding: 50px 0;
  }

  .content1.set03 p {
    padding: 0 10px;
    font-size: 15px;
    text-align: justify;
  }
}


/* ========== Costume section ========== */
section.costume {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 28px 40px;
  border-radius: 20px;
  box-sizing: border-box;
  text-align: center;
  margin-top: 180px;
}

section.costume.lady {
  margin-top: 120px;
  margin-bottom: 180px;
}

/* 見出し */
section.costume>h2 {
  font-size: clamp(26px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: .12em;
  margin: 8px 0 10px;
  font-family: var(--font-family-03);
  color: #320029;
}

section.costume>h2 span {
  display: block;
  /* margin-top: 6px; */
}

section.costume>h2 img {
  display: inline-block;
  max-width: 420px;
  width: 100%;
  height: auto;
}

@media screen and (max-width:590px) {
  section.costume>h2 img {
    max-width: 320px;
  }

  section.costume>h2 {
    margin-bottom: 40px;
  }
}


/* 「一覧ページはこちら」ボタン */

section.costume.lady .btn-set {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

section.costume>p,
section.costume.lady .btn-set>p {
  margin: 40px 0 40px;
}

section.costume>p a,
section.costume>p img,
section.costume.lady .btn-set>p a,
section.costume.lady .btn-set>p img {
  display: inline-block;
  max-width: 270px;
  /* 画像の実寸に合わせて調整可 */
  width: 100%;
  height: auto;
}


/* レスポンシブ */
@media screen and (max-width:590px) {

  section.costume>p a,
  section.costume>p img,
  section.costume.lady .btn-set>p a,
  section.costume.lady .btn-set>p img {
    max-width: unset;
  }

  section.costume.lady .btn-set {
    margin: 0 auto;
    max-width: 270px;
    flex-direction: column;
    gap: 0px;
  }

  section.costume>p,
  section.costume.lady .btn-set>p {
    margin: 10px 0 10px;
  }

  section.costume.lady>p {
    margin: 40px 0 10px;
  }
}


/* カード一覧 */
section.costume>ul {
  list-style: none;
  margin: 0;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 30px);
  background-color: #FAAFE0;
  border-radius: 16px;
}

section.costume ul {
  position: relative;
  /* 装飾画像の基準になる */
  /* overflow: hidden; はみ出し防止（必要に応じて） */
}

/* 装飾画像共通 */
section.costume .decoration {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  /* クリック操作を邪魔しない */
  max-width: 180px;
  height: auto;
}

/* 左上コウモリ */
section.costume .deco-left-top {
  top: -70px;
  /* 画像を少し飛び出させたい場合はマイナス */
  left: -120px;
  transform: rotate(-10deg);
}

/* 右下おばけ */
section.costume .deco-right-bottom {
  bottom: -170px;
  right: -145px;
  max-width: 195px;
  transform: rotate(5deg);
}

/* 左下ランプ */
section.costume.lady .deco-left-bottom {
  bottom: -170px;
  left: -145px;
  max-width: 190px;
  transform: rotate(0deg);
}


/* レスポンシブ */
@media screen and (max-width:1440px) {

  /* 左上コウモリ */
  section.costume .deco-left-top {
    top: -70px;
    /* 画像を少し飛び出させたい場合はマイナス */
    left: 0px;
    transform: rotate(-10deg);
  }

  /* 右下おばけ */
  section.costume .deco-right-bottom {
    bottom: -170px;
    right: 0px;
    max-width: 150px;
    transform: rotate(5deg);
  }

  /* 左下ランプ */
  section.costume.lady .deco-left-bottom {
    bottom: -150px;
    left: 0px;
    max-width: 120px;
    transform: rotate(0deg);
  }
}

@media screen and (max-width:590px) {

  /* 左上コウモリ */
  section.costume .deco-left-top {
    top: -30px;
    /* 画像を少し飛び出させたい場合はマイナス */
    left: 0px;
    max-width: 100px;
    transform: rotate(-10deg);
  }

  /* 右下おばけ */
  section.costume .deco-right-bottom {
    bottom: -130px;
    right: 0px;
    max-width: 100px;
    transform: rotate(5deg);
  }

  /* 左下ランプ */
  section.costume.lady .deco-left-bottom {
    display: none;
  }
}



section.costume.lady>ul {
  grid-template-columns: repeat(4, 1fr);
}

/* 各カード */
section.costume>ul>li {
  position: relative;
  background: #fff;
  border-radius: 14px;
  /* padding: 16px; */
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

/* section.costume > ul > li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
} */

/* メイン画像（グレーのプレースホルダー領域） */
section.costume>ul>li>p:first-child {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  /* outline: 3px solid #5fb1ff66;     編集時の青枠風(任意) */
}

section.costume>ul>li>p:first-child img {
  display: block;
  width: 100%;
  height: auto;
  /* aspect-ratio: 3 / 4;              縦長比率に固定（必要なら 4/5 などへ） */
  object-fit: cover;
  background: #cfcfcf;
  /* 画像がない時のグレー */
}

/* オレンジの再生ボタン画像を左下に重ねる */
section.costume>ul>li>p:nth-child(2) {
  width: 80%;
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translate(-50%, -50%);
  margin: 0;
}

section.costume>ul>li>p:nth-child(2) a,
section.costume>ul>li>p:nth-child(2) img {
  display: block;
  /* width: clamp(120px, 38%, 180px);  */
  height: auto;
}

/* 任意: 右下に小さなチップ（青いラベル）を付けたい場合 */
section.costume>ul>li .chip {
  position: absolute;
  right: 18px;
  bottom: 10px;
  font-size: 12px;
  background: #4aa8ff;
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
}

/* レスポンシブ */
@media (max-width: 860px) {

  section.costume>ul,
  section.costume.lady>ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 590px) {

  section.costume,
  section.costume.lady {
    border-width: 10px;
    padding: 20px 10px 28px;
    margin-top: 100px;
  }

  section.costume>ul,
  section.costume.lady>ul {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 10px;
    margin-top: 40px;
  }

  section.costume>p img,
  section.costume.lady>p img {
    width: 72%;
  }
}


/* 画面固定用（モーダル開時に付与） */
body.modal-open {
  overflow: hidden;
}

/* モーダルの土台 */
.video-modal {
  position: fixed;
  inset: 0;
  display: none;                 /* 初期は非表示 */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.video-modal.is-open {
  display: flex;
}

/* 黒半透明の背景 */
.video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}

/* 中央のダイアログ */
/* モーダル本体 */
.video-modal__dialog {
  position: relative;
  width: min(90vw, 480px);      /* 横幅は小さめにして縦を活かす */
  aspect-ratio: 9 / 16;         /* ★縦長比率（9:16）に変更 */
  background: #000;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
  overflow: hidden;
  z-index: 1;
}

/* 縦動画は余白なしで全面表示 */
.video-modal__content video {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* はみ出してもOKなら cover、全体表示なら contain */
}

/* iframe (YouTubeなど縦動画用) */
.video-modal__content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 閉じるボタン（右上） */
.video-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  font-size: 22px;
  line-height: 40px;
  cursor: pointer;
  z-index: 2;
}
.video-modal__close:hover { background: #fff; }

/* 中身（video/iframe） */
.video-modal__content,
.video-modal__content iframe,
.video-modal__content video {
  width: 100%;
  height: 100%;
  display: block;
}
.video-modal__content video { object-fit: contain; }

@media (max-width: 590px) {
  .video-modal__dialog {
    width: 94vw;
    aspect-ratio: 9 / 16;
    border-radius: 12px;
  }
}





footer {
  padding: 30px 0;
  background: #320029;
  text-align: center;
}

footer p {
  width: auto;
  max-width: 210px;
  margin: 0 auto;
}

@media screen and (max-width:590px) {
  footer p {
    max-width: 120px;
  }

}