

img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}


section {
    padding: 20px 0 20px 0;
}

#start_list {
	width: 100%;
	max-width: 620px;
	margin: 0 auto;
}


h2 {
	font-size: 1.5rem;
	font-weight: 400;
	padding: 0;
	color: white;
	letter-spacing: 0;
	line-height: unset;
}

h2::before {
  display: none;
}

.series-header {
	width: 100%;
	padding: 2px 0px;
	color: white;
	border-radius: 5px;
	font-size: 1.5rem;
	font-weight: 400;
	margin: 45px auto 0 auto;
	text-align: center;
}

.now_bg {
	background: #ff416e;
	align-content: center;
	height: 60px;
}

.next_bg {
	background: #23c8be;
}

.end_bg {
	background: #969696;
}



.w_ble {
	background-image: url(/img/wave_g.svg);
}

.w_pnk {
	background-image: url(/img/wave_p.svg);
}


.w_ble02 {
	background-image: url(/img/wave_b.svg);
}

.contents_list_box ul {
	display: flex;
	flex-wrap: wrap;
    margin: 0 auto;
    width: 98%;
}



h1 {
	text-align: center;
	font-weight: 500;
	margin: 20px auto;
	color: #323232;
}



.contents-status {
	display: flex;
	gap: 8px;
	padding: 2px 0;
	justify-content: center;
	text-align: center;
	align-items: center;
}
.contents-status p {
    font-size: 0.75rem;
	color: #323232;
}

.contents_list_imgbox {
	width: 100%;
	height: 0;
	padding-top: 100%;
	overflow: hidden;
	position: relative;
	background-color: #969696;
	display: flex; /* 画像を中央に配置する場合に便利 */
	justify-content: center;
	align-items: center;
}

.contents_list_img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	object-fit: contain;	
}

.contents_list_img img {
	width: 100%;
	height: 100%;
	margin: auto;
	object-fit: contain;
	transition: transform 0.2s ease;
}

.contents_list_box button:hover img {
	transform: scale(1.075);
}

.print_num_QR img {
	transition: unset;
	border-radius: 5px;
}

.contents_list_box button:hover .print_num_QR img {
	transform: unset;
}

.contents_list_txt button {
	background-color: white;
}

.contents_list_series button {
	width: 100%;
	background-color: unset;
}



.contents_title,
.contents_series {
	font-weight: 400;
	color: #323232;
	line-height: 1.25;
	font-size: 0.875rem;
}
.contents_title{
    font-size: 1rem;
}

.contents_series span {
	font-size: 0.750rem;
}

#contents_now .contents_list_series,
#contents_next .contents_list_series,
#contents_end .contents_list_series {
	width: 31.834%; 
	height: auto; 
	display: flex;
	flex-direction: column;
	background-color: white; 
	border-radius: 10px; 
	text-align: center; 
	color: #323232; 
	margin: 0.75%; 
	overflow: hidden; 
	font-weight: 400; 
	padding: 10px;
	transition: transform .6s ease, background-color 0.2s ease;
}




#contents_now .contents_list_series:hover {
	background-color: #f8f0f3;
	transform: translate(1px, 1px);
}

#contents_next .contents_list_series:hover { 
	background-color: #e6f7f7;
	transform: translate(1px, 1px);
}


#contents_end .contents_list_series:hover {
	background-color: #eeeeee;
	transform: translate(1px, 1px);
}


button .contents_list_series  {
	width: 100%;
}


.contents_list_series ul{
	flex-direction: column; 
}

.now_bg {
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.now_bg:hover {
  transform: translate(1px, 1px);
  opacity: 0.8; 
}


.series_num_box{
	gap: 5px;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	margin: auto;
	border-radius: 5px;
}




.contents_list_series ul li {
	padding: 5px 0;
}

.list_now ul li {
	border-bottom: 2px solid #ff416e;
}

.list_next ul li {
	border-bottom: 2px solid #23c8be;
}

.list_end ul li {
	border-bottom: 2px solid #969696;	
}


.contents_list_txt button {
	width: 100%;
	background-color: unset;
	padding: 0px;
}


.contents_list_series ul > li:last-child {
  border-bottom: none;
	padding-bottom: 0px;
}

.contents_list_series div :last-child{
	padding-bottom: 0px;
}


.series_num_box,
.print_num_box {
	display: flex;
	text-align: left;	
	justify-content: space-between;
	align-items: center;
	padding-top: 5px;
}

.series_num_box{
	background-color: #fff;
	border-radius: 5px;
	padding: 5px 10px;
}

.series_num_txt,
.print_num_txt {
	color: #ff416e;
	font-family: "Helvetica Neue", Helvetica ,
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",'Noto Sans JP',
    "Meiryo", Verdana , "Roboto" ,
    sans-serif;
	font-size: 1.25rem;	
	font-weight: 700;
}

.print_num_QR {
    width: 50px;
}

.contents_list_box button a:hover .print_num_QR img {
	transform: none;
}

.onsale_icon{
	margin: 5px 0px;
	width: 3rem;
	border-radius: 5px;
	font-size: 0.75rem;
}
.now {
	background-color: #ff416e;
	color: white;
    border-width: 0;
}

.next {
	border: 2px solid #029b92;
	color: #029b92;
}

.end {
	border: 2px solid #969696;
	color: #969696;
}


.now_onsale {
	font-size: 0.75rem;
	color: #ff416e;
}

.next_onsale{
  font-size: 0.75rem;
  color: #009b91;
}


/* モーダル背景のスタイル */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

/* モーダルコンテンツのスタイル */
.modal-content {
	background-color: white;
	margin: 50px auto;
	padding: 20px;
	width: 80%;
	height: 100%;
	max-width: 650px;
	max-height: 650px;
	border-radius: 5px;
	justify-content: center;
	align-items: center;
	display: flex;
	position: relative;
}

.close {
    color: white;
    font-size: 60px;
    font-weight: bold;
    position: absolute;
	top: 25px;
	left: 50%;
	transform: translate(calc(325px + 15px));
}

.close:hover,
.close:focus {
  text-decoration: none;
  cursor: pointer;
}
.QR_txt {
	text-align: center;
    font-size: 1.5rem;
	line-height: 1.25;
}

#QR-img {
	height: 100%;
	width: 70%;
	max-width: 400px;
	display: flex;
	align-items: center;
}


.annot {
	text-align: left;
	font-size: .625rem;
	line-height: 1.25;	
}
#QR-img .annot {
	text-align: right;
}


/* --- 追加: ビューア（単枚/複数共通） --- */

.mdl-vp {
  position: relative;
  width: 100%;
  height: 100%;
  outline: none;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* 単枚表示 */
.mdl-single {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
	border: 1px solid #969696;	

}

/* 複数時のスライド（フェード） */
.mdl-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mdl-slide.is-active { opacity: 1; }
.mdl-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
	border: 1px solid #969696;
}

/* 前後ナビ（複数のみ視認性担保） */
.mdl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.mdl-prev { left: 8px; }
.mdl-next { right: 8px; }

/* 下部ページャ（現在/総数） */
.mdl-pager {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  user-select: none;
  pointer-events: none; /* クリックを邪魔しない */
}

#ph-img{
  width: 100%;
	height: 100%;
}

.QR_img{
	margin: 20px auto;
}

.QR_img img{
    width: 500px;
}
@media screen and (max-height: 700px) {
	.modal-content {
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {

	.wrapper {
    width: 98%;
	}

	#contents_top{
		padding-top: 0;
	}
	h1 {
		margin: 5px auto;
		font-size: 1.5rem;
	}
	h2 {
			margin: auto;
	}

	.contents_list_box ul {
		width: 100%; 
	}

	.series-header{
		margin: 10px auto 0 auto;
		width: 98%;
		height: auto;
		border-radius: 5px;
		font-size: 1.125rem;
		font-weight: 400;
		display: flex;
	}


	.now_bg {
		height: 75px;
		flex-direction: column;
	}

	.contents_list_series {
		width: 48%;
		margin: 0;
	}

	.series_num_txt {
			font-size: 1rem;
	}

	.series_num_box{
		position: relative;
		right: unset;
		top: unset;
		transform: unset;
		height: 20px;
	}

	#contents_now .contents_list_series, 
	#contents_next .contents_list_series, 
	#contents_end .contents_list_series {
		width: 48%;
		margin: 1%;
		padding: 8px;
	}


	.contents_list_txt li{
		width: 100%;
	}

	.contents_list_series ul > li:last-child {
		border-bottom: none;
		padding-bottom: 0px;
	}


	.contents_title,
	.contents_series {
		font-size: 0.8125rem;
		line-height: 1.2;
	}

	.contents_series span {
		font-size: 0.625rem
	}

	.print_num_txt {
		font-size: 1rem;
	}
	.print_num_QR {
		width: 45px;
	}

	.QR_img{
		width: 80%;
	}

	#QR-img {
		height: 100%;
		width: 100%;
		max-width: 550px;
	}
	.modal-content {
        width: 100%;
        height: 70%;
		border-radius: 0;
		margin: 15px auto;
	}

	.mdl-nav {
		top: unset;
		bottom: 0;
		transform: unset;
	}

	.close {
		color: white;
		font-weight: bold;
		top: unset;
		right: unset;
		left: 50%;
		transform: translateX(-50%);
	}



}