@charset "UTF-8";
/* CSS Document */
	
body {
  margin:0px;
  background: url("images/bg.webp") 100% 0 no-repeat fixed;
  background-size:cover;
  background-position: center top;
  background-color:#fff;
  font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 15px;
  line-height: 26px;
  color: #222;
  height:100%;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

body.is-loaded {
  opacity: 1;
}

html{
	height:100%;
}

img { border-style:none;
	vertical-align: bottom;}

a img { border-style:none;}

a:hover img { border-style:none; }

*{
margin: 0;
padding: 0;
}

ol, ul {
	list-style: none;
}

.cf:before,
.cf:after {
  content: "";
  display: table;}
.cf:after {
  clear: both;}
.cf {
  *zoom: 1;}


.modal-movie {
  cursor: pointer;
}

.scrollShowEffect1 {
	transition: all 1.2s;
	transition-delay: 0s;
	opacity:0;
}

.scrollShowEffect2 {
	transition: all 1.2s;
	transition-delay: 0.3s;
	opacity:0;
}

.scrollShowEffect3 {
	transition: all 1.2s;
	transition-delay: 0.6s;
	opacity:0;
}

.scrollShowEffect4 {
	transition: all 1.2s;
	transition-delay: 0.9s;
	opacity:0;
}


.scrollShowEffect-R {
	transform: translate3d(10%, 0%, 0);
}

.scrollShowEffect-L {
	transform: translate3d(-10%, 0%, 0);
}
.scrollShowEffect-B {
	transform: translate3d(0, 30px, 0);
}

.scrollShowEffect-T {
	transform: translate3d(0, -30px, 0);
}

.scrollShowEffect-Z {
	-webkit-transform: scale( 0.2,  0.2);
	transform: scale( 0.2,  0.2);
}

.scrollShowEffect-O {
	-webkit-transform: scale( 1.2,  1.2);
	transform: scale( 1.2,  1.2);
}


.scrollShowEffect1.showItem {
	opacity:1;
	transform: translate3d(0, 0, 0);
}

.scrollShowEffect2.showItem {
	opacity:1;
	transform: translate3d(0, 0, 0);
}

.scrollShowEffect3.showItem {
	opacity:1;
	transform: translate3d(0, 0, 0);
}

.scrollShowEffect4.showItem {
	opacity:1;
	transform: translate3d(0, 0, 0);
}

.mb0{
	width:100%;
	overflow: hidden; /* heightを戻す */
}

.mb5{
	width:100%;
	overflow: hidden; /* heightを戻す */
	margin-bottom: 5px;
	line-height: 140%;
}

.mb10{
	width:100%;
	overflow: hidden; /* heightを戻す */
	margin-bottom: 10px;
}

.mb20{
	width:100%;
	overflow: hidden; /* heightを戻す */
	margin-bottom: 20px;
}

.mb30{
	width:100%;
	overflow: hidden; /* heightを戻す */
	margin-bottom: 30px;
}

.mb50{
	width:100%;
	overflow: hidden; /* heightを戻す */
	margin-bottom: 50px;
}

#contents_wrapper {
	display: none; /* 最初は非表示にしておく */
}

/* フェードインのアニメーション定義 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%) rotate(5deg); /* 少し下から */
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(5deg); /* 定位置へ */
  }
}

.door-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(5deg); 
  width: 90%;
  max-width: 700px;
  aspect-ratio: 7 / 5;
  perspective: 1500px;
  z-index: 9999;
  cursor: pointer;
  animation: fadeInUp 1.2s ease-out forwards;
}

.door-container.is-ready {
  opacity: 1;
  visibility: visible;
}

.door {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* 全体を覆う */
  background-image: url('images/invitationcard/omote.webp');
  background-size: cover;
  background-position: center;
  transform-origin: top; 
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  backface-visibility: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.is-open .door {
	transform: rotateX(160deg);
	box-shadow: none;
}

.door-container.is-open {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  transition: box-shadow 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url('images/invitationcard/ura.webp'); /* 中身の背景画像パス */
  background-size: cover;
  background-position: center;
  z-index: 1;
  border: 1px solid #ddd;
  pointer-events: none;
}

/* 扉が開いた時、中身全体の操作を有効化 */
.is-open .content {
  pointer-events: auto;
}

.action-btn-img {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-block;
  outline: none;
  width: 20%; 
  max-width: 150px;
  margin-top: 54%; /* ★ 元の50%に戻す、またはお好みの高さに */
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative; /* ★ ボタンを基準位置にするために追加 */
}

.action-btn-img:hover { transform: scale(1.15); }
.action-btn-img:active { transform: scale(0.95); }
.action-btn-img img { width: 100%; height: auto; display: block; }

.click-guide {
	position: absolute;
	top: 77%;
	left: 58%;
	width: 13%;
	max-width: 100px;
	z-index: 3;
	pointer-events: none;
	animation: bounceUpDown 1.6s ease-in-out infinite;
}

.click-guide img {
  width: 100%;
  height: auto;
  display: block;
}

/* ★ 追加：上下にふわふわ動くアニメーションの定義 */
@keyframes bounceUpDown {
  0%, 100% {
    transform: translateY(0);    /* 初期位置 */
  }
  50% {
    transform: translateY(-8px); /* 50%の時点で10px上に移動 */
  }
}

.skip-btn-img {
  position: fixed;
  top: 40%;        /* 画面上端からの余白 */
  right: 1%;       /* 画面左端からの余白 */
  background: none;
  border: none;
  padding: 0 0 0 8px; 
  cursor: pointer;
  outline: none;
  z-index: 10000;   /* カード（9999）より手前に配置 */
  width: 20px;      /* ボタンの横幅（微調整してください） */
  height: auto;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.skip-btn-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 30%,
    #000 30%,
    #000 70%,
    transparent 70%,
    transparent 100%
  );
  background-size: 100% 200%; 
  animation: moveSolidBorder 1.5s linear infinite;
}

@keyframes moveSolidBorder {
  0% {
    background-position: 0 0%;
  }
  100% {
    background-position: 0 -200%;
  }
}

.skip-btn-img:hover {
  transform: scale(1.1);
}

.skip-btn-img:active {
  transition: transform 0.1s ease;
  transform: scale(0.95);
}

.skip-btn-img img {
  width: 100%;
  height: auto;
  display: block;
}

#menubar{
	width: 50px; 
	height: 100%;
	background-color: #da485d;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 180;
	display: flex;
	justify-content: center;
	align-items: center;
    opacity: 0;
	animation: ShowRight 2s ease forwards;
	animation-delay: 1s;
}


/* overlay-styles.css */
.hamburger-overlay {
  position: relative;
  top: auto;
  right: auto;
  z-index: 190;
  width: 44px;
  height: 70px;
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  animation: ShowUp 2s ease forwards;
  animation-delay: 2s;
}
  
@keyframes ShowUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
  
@keyframes ShowRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
  
@keyframes ShowLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes ShowZoomOut {
  from {
    opacity: 0;
    /* 最初は少し大きめ（1.2倍）の状態 */
    transform: scale(1.2);
  }
  to {
    opacity: 1;
    /* 100%（元のサイズ）に縮小して着地 */
    transform: scale(1);
  }
}


.hamburger-overlay__line {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background-color: #fff;
  transition: all .6s;
  z-index: 195;
}

.hamburger-overlay__line:nth-of-type(1) { top: 15px; }
.hamburger-overlay__line:nth-of-type(2) { top: 25px; }
.hamburger-overlay__line:nth-of-type(3) { top: 35px; }

.hamburger-overlay.active .hamburger-text {
  color: #fff;
}

.hamburger-overlay.active .hamburger-overlay__line {
  background-color: #fff;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
  transform: translateY(10px) rotate(-45deg);
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
  transform: translateY(-10px) rotate(45deg);
}

.hamburger-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  text-align: center;
  transition: all .6s;
  font-size: 11px; 
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  line-height: 1;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100% - 30px);
  height: 100vh;
  background-color:rgba(218,72,93,1.0); 
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition: all .6s;
  z-index: 150;
  display: table;
}

.nav-overlay::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid #fff;
  pointer-events: none; 
  z-index: -1; 
}

.nav-overlay.active {
  visibility: visible;
  opacity: 1;
}


.menu_wrapper{
    width:100%;
	display: table-cell;
	vertical-align: middle;
	color: #fff;
	text-align: center;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.nav-overlay.active .menu_wrapper {
  opacity: 1;
  transform: translateY(0);
  /* 背景のtransitionが0.6sなので、それより少し遅れて開始させる */
  transition-delay: 0.4s;
}

.menulogo{
	width:200px;
	margin:0 auto 40px;
}

.menulogo img{
	width:100%;
	height: auto;
}

.nav-overlay.active .menu:nth-of-type(1) a { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.nav-overlay.active .menu:nth-of-type(2) a { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.nav-overlay.active .menu:nth-of-type(3) a { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }
.nav-overlay.active .menu:nth-of-type(4) a { transition-delay: 0.8s; opacity: 1; transform: translateY(0); }
.nav-overlay.active .menu:nth-of-type(5) a { transition-delay: 0.9s; opacity: 1; transform: translateY(0); }
.nav-overlay.active .menu:nth-of-type(6) a { transition-delay: 1.0s; opacity: 1; transform: translateY(0); }
.nav-overlay.active .menu:nth-of-type(7) a { transition-delay: 1.1s; opacity: 1; transform: translateY(0); }

.menu {
  position: relative;
  margin-bottom: 10px;
  text-align: center;
	font-family: "Tangerine", cursive;
	font-weight: 400;
  font-size: 25px;
  letter-spacing: 1px;
}

.menu a {
  display: inline-block;
  text-decoration: none;
  font-weight: 300;
  position: relative;
  padding-bottom: 10px; 
  line-height: 1.2;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease; 
}

.menu a .char {
  display: inline-block;
  color: #fff;
  transform: translateY(0);
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.35, 1, 0.5, 1);
}

.menu a:hover .char {
  color: #f1ed71;
  transform: translateY(-5px);
}

.menu a:hover .char:nth-child(1)  { transition-delay: 0.00s; }
.menu a:hover .char:nth-child(2)  { transition-delay: 0.04s; }
.menu a:hover .char:nth-child(3)  { transition-delay: 0.08s; }
.menu a:hover .char:nth-child(4)  { transition-delay: 0.12s; }
.menu a:hover .char:nth-child(5)  { transition-delay: 0.16s; }
.menu a:hover .char:nth-child(6)  { transition-delay: 0.20s; }
.menu a:hover .char:nth-child(7)  { transition-delay: 0.24s; }
.menu a:hover .char:nth-child(8)  { transition-delay: 0.28s; }
.menu a:hover .char:nth-child(9)  { transition-delay: 0.32s; }
.menu a:hover .char:nth-child(10) { transition-delay: 0.36s; }
.menu a:hover .char:nth-child(11) { transition-delay: 0.40s; }
.menu a:hover .char:nth-child(12) { transition-delay: 0.44s; }

.menuj {
  font-size: 9px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  display: block; 
  margin-top: 2px;
  color: #fff;
  transition: color 0.3s ease;
}

.menu a:hover .menuj {
  color: #f1ed71;
}

.sns_wrapper {
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  opacity: 0;
  animation: ShowRight 2s ease forwards;
  animation-delay: 2.5s;
}

.sns {
  width: 20px;
  height: 20px;
}

.sns img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain; /* 画像が歪まないように収める */
}

#contents{
	width: calc(100% - 50px);
}

#top_wrapper{
	width:100%;
	position: relative;
	overflow: hidden;
}

#top_wrapper img{
	width:100%;
	height: auto;
}

.topmain{
	width:100%;
	opacity: 0;
	animation: ShowZoomOut 2s ease forwards;
	animation-delay: 0s;
}

.topwaku{
	width:96%;
	position: absolute;
	left:2%;
	top:3.3%;
	opacity: 0;
	animation: ShowZoomOut 2s ease forwards;
	animation-delay: 1.5s;
}

.topcatch1{
	width:16%;
	position: absolute;
	left:42%;
	top:2%;
	opacity: 0;
	animation: ShowZoomOut 2s ease forwards;
	animation-delay: 2.5s;
}

.toplogo_wrapper{
	width:38%;
	position: absolute;
	left:31%;
	bottom:3%;
}

.topname{
	width:60%;
	margin:0 auto 3%;
	opacity: 0;
	animation: ShowZoomOut 2s ease forwards;
	animation-delay: 1.8s;
}

.toplogo{
	width:100%;
	margin:0 auto 5%;
	opacity: 0;
	animation: ShowZoomOut 2s ease forwards;
	animation-delay: 1.6s;
}

.topcatch2{
	width:90%;
	margin:0 auto 4%;
	opacity: 0;
	animation: ShowZoomOut 2s ease forwards;
	animation-delay: 2.0s;
}

.topbiling{
	width:80%;
	margin:0 auto 5%;
	opacity: 0;
	animation: ShowZoomOut 2s ease forwards;
	animation-delay: 2.2s;
}

.topday{
	width:28%;
	margin:0 auto;
	opacity: 0;
	animation: ShowZoomOut 2s ease forwards;
	animation-delay: 2.4s;
}

.spmain{
	display: none;
}

.spsns_wrapper{
	display: none;
}

#intro_wrapper{
	width:100%;
	overflow: hidden;
	background-color: #f2f1ec;
	padding-bottom: 8%;
	box-shadow: 30px 30px 40px rgba(0, 0, 0, 0.8);
}

#intro_wrapper img{
	width:100%;
	height: auto;
}

.intromain_wrapper{
    width:100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

.intromain_wrapper::before {
  content: "";
  display: block;
  padding-top: 43%;
}

.intromain1{
    width:50%;
    position: absolute;
    left:0;
    top:0;
    z-index: 0;
    opacity: 0;
    animation-delay: 2.5s;
}

.intromain2{
    width:50%;
    position: absolute;
    right:0;
    top:0;
    z-index: 0;
    opacity: 0;
    animation-delay: 2.5s;
}

.introillust1{
    width:20%;
    position: absolute;
    left:2%;
    top:4%;
    z-index: 0;
}

.introillust2{
    width:20%;
    position: absolute;
    right:2%;
    top:4%;
    z-index: 0;
}

.intromidashi{
    width:40%;
    position: absolute;
    left:30%;
    top:7%;
    z-index: 0;
}

.introphoto{
	width:100%;
    position: relative;
	margin-top:-10%;
	z-index: 10;
	margin-bottom: 30px;
}

.introtext{
	width:60%;
	margin:0 auto 30px;
}

.pagetitle{
	width:100%;
	font-size: 40px;
    text-align: center;
	font-family: "Tangerine", cursive;
	font-weight: 400;
    letter-spacing: 2px;
	margin-bottom: 30px;
}

.ptj{
  font-size: 13px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  display: block; 
  margin-top: 0px;
  transition: color 0.3s ease;
}

.pink{
	color: #da485d;
}

.red{
	color: #6c262e;
}
.intromidashi2{
	width:30%;
	margin:0 auto;
}

#story_wrapper{
	width:100%;
	overflow: hidden;
	color: #fff;
	background-color: #6c262e;
}

#story_wrapper img{
	width:100%;
	height: auto;
}

#story_inner{
	width:100%;
	padding:10% 20%;
	box-sizing: border-box;
	background-color: #6c262e;
}

.storyphoto{
	width:25%;
	float: left;
}


#cast_wrapper {
	width: 100%;
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: repeat(2, 1fr); 
	gap: 0px;
	font-weight: 400;
}

#cast_wrapper img{
	width:100%;
	height: auto;
}

.castbox {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.castbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: grayscale(0%);
}

.castbox::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid #f2f1ec;
  z-index: 2;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: opacity 0.5s ease, background-color 0.5s ease;
}

.castbox::after {
	content: "View Profile";
	font-family: "Tangerine", cursive;
	font-weight: 400;
    letter-spacing: 2px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
	color: #f2f1ec;
	font-size: 40px;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.castbox:hover img {
  transform: scale(1.1);
  filter: grayscale(100%);
}

.castbox:hover::before {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.4);
}

.castbox:hover::after {
  opacity: 1;
}

.castpt_box {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	width: 150px;
	height: 150px;
	background-color: #da485d;
	color: #fff;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	font-family: "Tangerine", cursive;
	font-weight: 400;
    letter-spacing: 2px;
}

.castpt_box::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1px solid #f2f1ec;
  z-index: 2;
}

.modalOpen{
	width:100%;
	box-sizing: border-box;
	text-align: center;
	cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal_wrapper{
	width:100%;
	height: 100vh;
	display: table;
}

.modal_inner{
	display: table-cell;
	vertical-align: middle;
}

.modal-box {
	background-color: #6c262e;
	margin: 5% auto;
	max-width: 1000px;
	width: 90%;
	animation-name: fadeInScale;
	animation-duration: 0.3s;
	position: relative;
	box-sizing: border-box;
	padding: 6%;
	box-shadow: 0px 0px 10px -5px #000;
	color: #f2f1ec;
}

.modal-box::before {
  content: "";
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	bottom: 10px;
	border: 1px solid #f2f1ec;
	opacity: 1; 
	pointer-events: none; 
	z-index: 1;
}

.modalClose{
	  width:50px;
      position: absolute;
      top: 3%;
      right:3%;
	  overflow: hidden;
	  cursor: pointer;
}

.modalClose img{
	width:100%;
	height: auto;
}

.modal.modal-box .modalClose {
	animation: fadeInScale 0.2s ease forwards;
}

    @keyframes fadeInScale {
        0% {
            opacity: 0;
            transform: scale(0.8);
        }
        100% {
            opacity: 1;
            transform: scale(1);
        }
    }

.castmain{
	width:90%;
	margin-bottom:30px;
	box-sizing: border-box;
}

.castmain img{
	width:100%;
	height: auto;
}

.cname1{
	width:100%;
	font-size: 18px;
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 500;
	margin-bottom: 5px;
}

.cname2{
	width:100%;
	font-size: 30px;
	font-family: "Tangerine", cursive;
	font-weight: 400;
    letter-spacing: 2px;
	margin-bottom: 15px;
}

.casttext{
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	text-align: left;
}

#staff_wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  box-sizing: border-box;
  color: #000;
  z-index: 0;
  background-color: #f2f1ec;
  background-image: linear-gradient(135deg, #e9e9e9 25%, transparent 25%), linear-gradient(225deg, #e9e9e9 25%, transparent 25%), linear-gradient(45deg, #e9e9e9 25%, transparent 25%), linear-gradient(315deg, #e9e9e9 25%, transparent 25%);
  background-size: 30px 30px;
  background-position: -15px 0, -15px 0, 0 0, 0 0;
}

#staff_wrapper img{
	width:100%;
	height: auto;
}

#staff_inner{
	width:100%;
	box-sizing: border-box;
	padding: 7% 10%;
	font-size: 14px;
	line-height: 28px;
	font-weight: 400;
}

.staffbox_wrapper {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 40px; 
}

.staffbox {
  color: #000;
  box-sizing: border-box;
}

.sname1{
	width:100%;
	font-size: 14px;
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 500;
	margin-bottom: 5px;
}

#footer_wrapper{
	width:100%;
	overflow: hidden;
	box-sizing: border-box;
    background-color:#6c262e;
	padding:3% 0;
}

#footer_wrapper img{
	width:100%;
	height: auto;
}

.footerlogo{
	width:30%;
	margin:0 auto;
}

.pcview{
	width:100%;
}

.spview{
	display: none;
}

#video_wrapper{
	width:100%;
    background-color: #9b253d; /* ご指定の背景色 */
}

.video-btn-container {
      position: relative;
      width: 100%;               /* ウィンドウサイズの80% */
      height: 500px;            /* ボタンの高さ（上下をトリミング） */
      margin: 0 auto;
      overflow: hidden;         /* はみ出た動画を隠す */
      background-color: #9b253d;/* 背景色 */
	border-top: 3px double #f6ccb6; /* 二重線 */
	border-bottom: 3px double #f6ccb6; /* 二重線 */
    }

.video-btn-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* コンテナの真ん中に配置 */
  pointer-events: none;
  opacity: 0.85;

  /* ▼ 動画を潰さずにコンテナいっぱいに広げるための設定 */
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; /* 動画自体の16:9を絶対に崩さない */
  
  /* ボタンが横に細長くなった時に、動画の左右に隙間ができるのを防ぐ設定 */
  min-height: 100%; 
  min-width: 177.78vh; /* 縦幅に対して16:9を維持するための最小横幅(100 / 9 * 16) */
}

/* 3. 上に重ねるボタン（ドット柄バージョン） */
.info__trailer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
	border: none;
	display: flex !important;
      flex-direction: column !important; 
      align-items: center !important;
      justify-content: center !important;
      z-index: 2;
  
  background-color: rgba(155, 37, 61, 0.3);
      background-image: radial-gradient(rgba(0, 0, 0, 0.3) 1px, transparent 1px);
      background-size: 4px 4px;
	transition: background-color 0.3s ease;
}

/* ホバー時に少し暗くしてドットを際立たせる */
.info__trailer:hover {
  background-color: rgba(155, 37, 61, 0.5);
}

/* 4. 中央の再生マーク（変更なし） */
.play-icon {
      display: block; /* ブロック要素にして確実に独立させる */
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 18px 0 18px 30px; /* 三角のサイズ */
      border-color: transparent transparent transparent #ffffff;
      margin-left: 8px; /* 重心のズレ補正 */
      margin-bottom: 10px; /* ★文字との間に隙間を作る */
      filter: drop-shadow(0 2px 5px rgba(0,0,0,0.4));
    }

.play-text {
      display: block; /* ブロック要素にして確実に独立させる */
      font-family: "Tangerine", cursive;
      font-weight: 400;
      font-size: 25px; /* ご指定のサイズ */
      color: #ffffff;
      letter-spacing: 1px;
      line-height: 1;
      filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5));
    }

.info__trailer:hover .play-icon,
    .info__trailer:hover .play-text {
      transform: scale(1.1);
      transition: 0.3s;
    }


@media screen and (max-width:1024px){
	

.Section-Image-BGSP {
  position: fixed;
  z-index: -1;
  display: block;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center center;
}
	
.Section-Image-BGSP{
  background-image: url("images/bgsp.webp");
  background-color: #f9f9f8;
}
	/* 1. カード全体の比率を縦長（5:7など）に変更 */
  .door-container {
    width: 85%;              /* 横幅を少し狭めて縦の収まりを良くする */
    aspect-ratio: 5 / 7;     /* ★ 横長(7/5)から縦長(5/7)に変更（画像の比率に合わせて調整してください） */
  }

  /* 2. 表側の画像をスマホ用に切り替え */
  .door {
    background-image: url('images/invitationcard/omotesp.webp');
  }

  /* 3. 裏側（中身）の画像をスマホ用に切り替え */
  .content {
    background-image: url('images/invitationcard/urasp.webp');
  }

.action-btn-img {
    width: 25%;             
    max-width: 150px;

    /* ★ position: absolute（絶対配置）に切り替える */
    position: absolute;
    
    /* ★ 下からの距離で位置を決める（ここを調整！） */
    bottom: 8%;            /* カードの下端から15%上の位置に配置 */
    left: 50%;              /* 左右は中央に */
    
    /* 左右中央揃えの補正（元々のhover等のアニメーションと競合しないように記述） */
    transform: translateX(-50%); 
    margin: 0;              /* 不要になったmarginをすべてクリア */
    
    /* アニメーションの基準点を中央にする */
    transform-origin: center; 
  }

  /* hoverとactiveの挙動が狂わないようにスマホ用にも上書き指定 */
  .action-btn-img:hover { 
    transform: translateX(-50%) scale(1.15); 
  }
  .action-btn-img:active { 
    transform: translateX(-50%) scale(0.95); 
  }

  /* ★ CLICKガイド（矢印画像）もボタンの動きに合わせて絶対配置で調整 */
  .click-guide {
    position: absolute;
    width: 20%;
    margin: 0;
	  top: 85%;
    left: 58%;
	  animation: bounceUpDownSP 1.6s ease-in-out infinite;
  }
	
@keyframes bounceUpDownSP {
  0%, 100% {
    /* 縦長のカード内で位置がズレないよう、基準をクリアした状態で上下させます */
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px); /* 跳ねる大きさを少し控えめに（お好みで） */
  }
}

#contents{
	width: calc(100% - 0px);
}

.spmain{
	display: inherit;
	width:100%;
}

.topmain{
	display: none;
}

.topwaku{
	display: none;
}

.topcatch1{
	display: none;
}

.toplogo_wrapper{
	display: none;
}
	

.skip-btn-img {
  position: fixed;
  top: auto;
  bottom:3%;
  right: 3%;
  background: none;
  border: none;
  padding: 0 0 0 8px; 
  cursor: pointer;
  outline: none;
  z-index: 10000;   /* カード（9999）より手前に配置 */
  width: 20px;      /* ボタンの横幅（微調整してください） */
  height: auto;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
	
.nav-overlay {
  width: calc(100% - 0px);
}
	
#menubar{
	width: 70px; 
	height: 70px;
	background-color: #da485d;
	position: fixed;
	right: 0;
	top: auto;
	bottom: 0;
	z-index: 180;
	display: flex;
	justify-content: center;
	align-items: center;
    opacity: 0;
	animation: ShowRight 2s ease forwards;
	animation-delay: 1s;
	box-shadow: -10px -10px 40px rgba(0, 0, 0, 0.3);
	border-left: 1px solid #fff;
	border-top: 1px solid #fff;
}
	
.hamburger-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  text-align: center;
  transition: all .6s;
  font-size: 11px; 
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  line-height: 1;
}

.sns_wrapper{
	display: none;
}

.spsns_wrapper{
	display: inherit;
	display: flex;
	justify-content: center;
	gap: 40px;
	margin-top:30px;
}
	
.spsns {
  width: 25px;
  height: 25px;
}
	
.spsns img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.pcview{
	display: none;
}

.spview{
	display: inherit;
}
	
.intromain_wrapper{
    width:100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

.intromain_wrapper::before {
  content: "";
  display: block;
  padding-top: 63%;
}
	
.introillust1{
    width:15%;
    position: absolute;
    left:2%;
    top:4%;
    z-index: 0;
}

.introillust2{
    width:15%;
    position: absolute;
    right:2%;
    top:4%;
    z-index: 0;
}

.intromidashi{
    width:50%;
    position: absolute;
    left:25%;
    top:5%;
    z-index: 0;
}

.introphoto{
	width:100%;
    position: relative;
	margin-top:-10%;
	z-index: 10;
	margin-bottom: 30px;
}
	
.introtext{
	width:80%;
	margin:0 auto 30px;
}
	
.intromidashi2{
	width:80%;
	margin:0 auto;
}


.pagetitle{
	width:100%;
	font-size: 30px;
    text-align: center;
	font-family: "Tangerine", cursive;
	font-weight: 400;
    letter-spacing: 2px;
	margin-bottom: 30px;
}

.ptj{
  font-size: 12px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  display: block; 
  margin-top: 0px;
  transition: color 0.3s ease;
}
	
#story_wrapper{
	width:100%;
	overflow: hidden;
	color: #fff;
	background-color: #6c262e;
}

#story_wrapper img{
	width:100%;
	height: auto;
}

#story_inner{
	width:100%;
	padding:10% 10%;
	box-sizing: border-box;
	background-color: #6c262e;
}

.storyphoto{
	width:50%;
	float: left;
}
	
.castpt_box {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	width: 120px;
	height: 120px;
	background-color: #da485d;
	color: #fff;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	font-family: "Tangerine", cursive;
	font-weight: 400;
    letter-spacing: 2px;
}
	
.castbox::after {
	content: "View Profile";
	font-family: "Tangerine", cursive;
	font-weight: 400;
    letter-spacing: 2px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
	color: #f2f1ec;
	font-size: 20px;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 0.5s ease;
}
	
.modal-box {
	background-color: #6c262e;
	margin: 5% auto;
	max-width: 1000px;
	width: 90%;
	animation-name: fadeInScale;
	animation-duration: 0.3s;
	position: relative;
	box-sizing: border-box;
	padding: 8%;
	box-shadow: 0px 0px 10px -5px #000;
	color: #f2f1ec;
}
	
.modalClose{
	  width:40px;
      position: absolute;
      top: 3.2%;
      right:5.3%;
	  overflow: hidden;
	  cursor: pointer;
}
	
.castmain{
	width:80%;
	margin-bottom:30px;
	box-sizing: border-box;
}

.cname1{
	width:100%;
	font-size: 15px;
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 500;
	margin-bottom: 5px;
}

.cname2{
	width:100%;
	font-size: 20px;
	font-family: "Tangerine", cursive;
	font-weight: 400;
    letter-spacing: 2px;
	margin-bottom: 15px;
}
	
#staff_inner{
	width:100%;
	box-sizing: border-box;
	padding: 10% 10%;
}

.staffbox_wrapper {
  grid-template-columns: 1fr;
  gap: 50px; 
}

.sname1{
	width:100%;
	font-size: 12px;
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 500;
	margin-bottom: 5px;
}

#footer_wrapper{
	width:100%;
	overflow: hidden;
	box-sizing: border-box;
    background-color:#6c262e;
	padding:7% 0;
}

.footerlogo{
	width:60%;
	margin:0 auto;
}

.video-btn-container {
        width: 100%;              /* スマホで見やすいように横幅を少し広げる */
        height: auto;            /* 固定高さを解除 */
        aspect-ratio: 16 / 9;    /* コンテナ自体を16:9に完全固定 */
      }

.video-btn-container iframe {
    /* PC用の「はみ出し・中央配置」の設定をすべて解除 */
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;  /* PC用の最小横幅をリセット */
    min-height: 0 !important;
    object-fit: contain !important; /* 枠内に完全に収める */
  }
	
}


/* ==========================================================================
   リセット・基本設定
   ========================================================================== */
*, ::after, ::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box; 
}

*:focus {
  outline: none;
}


/* ==========================================================================
   動画モーダル（PC・共通）
   ========================================================================== */
.modal-contents {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  font-weight: bold;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.9);
  z-index: 20000; /* カード（9999）より手前に固定 */
}

.modal-contents .modal-contents-inner {
  position: relative;
  width: 100%;
  height: 100%; 
}

/* 動画とボタンを包むコンテナ */
.modal-contents .modal-contents-inner .modal-contents-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%; 
}

/* YouTubeプレイヤーの比率維持（16:9） */
.modal-contents .modal-contents-inner .modal-contents-iframe .modal-contents-iframe-player {
  width: 80%;
  text-align: center;
  position: relative;
  padding-top: 37%;
  height: 0;
  overflow: hidden;
  display: block;
  margin: 0 auto; 
}

.modal-contents .modal-contents-inner .modal-contents-iframe .modal-contents-iframe-player iframe {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%); 
}

/* 予告編切り替えボタンの並び */
.modal-contents .modal-contents-inner .modal-contents-iframe .modal-contents-iframe-btn {
  width: 80%;
  margin: 0.5% auto 0;
  font-size: 0;
  text-align: center;
}

/* ボタン単体のデザイン（PC基準） */
.modal-contents .modal-contents-inner .modal-contents-iframe .modal-contents-iframe-btn li {
  border: 1px solid #111;
  background-color: #444;
  width: 50%;
  height: auto;
  box-sizing: border-box;
  padding: 0.5% 0;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  font-size: 12px;
  line-height: 20px;
  color: #fff;
  cursor: pointer;
  -webkit-transition: all .3s;
  transition: all .3s; 
  box-shadow: 0 4px 8px rgba(0,0,0,0.6);
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
  .modal-contents .modal-contents-inner .modal-contents-iframe .modal-contents-iframe-btn li {
    font-size: 0.8vw; 
  } 

}

/* ボタンのホバー・現在地 */
.modal-contents .modal-contents-inner .modal-contents-iframe .modal-contents-iframe-btn li:hover,
.modal-contents .modal-contents-inner .modal-contents-iframe .modal-contents-iframe-btn li.current {
  border: 1px solid #111;
  background-color: #da485d;
  color: #fff;  
}

/* 閉じるボタン（×） */
.modal-contents .modal-contents-inner .modal-close {
  width: 3%;
  display: block;
  position: absolute;
  top: 3.5%;
  right: 1.5%;
  z-index: 9999;
  cursor: pointer; 
}


/* ==========================================================================
   動画モーダル（スマホ用レイアウト：768px以下）
   ========================================================================== */
@media screen and (max-width: 768px) {
  .modal-contents .modal-contents-inner {
    position: absolute;
    width: 100%;
    height: auto;
    padding: 0 5%;
	  box-sizing: border-box;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    transform: translate(0%, -50%); 
  }
  
  .modal-contents .modal-contents-inner .modal-contents-iframe {
    position: static;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none; 
  }
  
  .modal-contents .modal-contents-inner .modal-contents-iframe .modal-contents-iframe-player {
    padding-bottom: 26%;
    padding-top: 30%;
    width: 100%; 
  }
  
  .modal-contents .modal-contents-inner .modal-contents-iframe .modal-contents-iframe-btn {
    width: 100%; 
  }
  
  /* スマホ時はボタンを縦並び（ブロック）にして押しやすくする */
  .modal-contents .modal-contents-inner .modal-contents-iframe .modal-contents-iframe-btn li {
    display: block;
    width: 100%;
    text-align: center;
    line-height: 20px;
    font-size: 12px; 
    padding: 1% 0; /* スマホ用に指で押しやすい余白に微調整 */
  } 
	
.modal-contents .modal-contents-inner .modal-close {
  width: 7%;
  display: block;
  position: absolute;
  top: -8%;
  right: 3%;
  z-index: 9999;
  cursor: pointer; 
}	

}


/* ==========================================================================
   Remodal プラグイン連動用
   ========================================================================== */
.remodal-is-opened {
  display: block;
}