@charset "UTF-8";
/* CSS Document */

/*================================================
 *  popup
 ================================================*/

/* popup_list */
.popup_area {
	margin: 50px auto;
}
.popup_list {
	display: -webkit-flex;
    display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	gap: 25px 15px;
}
.popup_list li {
	width: calc(100% / 3 - 11px);
	box-sizing: border-box;
}
.popup_list li a {
	display: block;
	width: 100%;
	height: 100%;
}
.popup_list li img{
	width: 100%;
	border-radius: 0;
}

/* popup_content */
.popup_bg {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100vh;
	background: rgba(64,73,82,0.8);
	transition: 0.4s;
	z-index: 1500;
}
.popup_content {
	position: relative;
}
.popup_box {		
	display: none;	
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1501;
	width: 690px;
	height: auto;
	max-height: 1250px;
	background: #fff;	
	padding: 50px 4%;
	overflow-y: scroll;
	margin: 2% auto;
}
.popup_box img {
	width: 100%;
	border-radius: 3px;
	margin-bottom: 20px;
}
.popup_box p {
	font-size: 14px;
	line-height: 1.8;
}

/* popup_nav */
.popup_nav .prev {
	position:absolute;
	top: 50%;
	left: 0;
	width: 60px;
	height: auto;
	z-index: 130;
}
.popup_nav .next {
	position: absolute;
	top: 50%;
	right: 0;
	width: 60px;
	height: auto;
}
.popup_nav .prev.disabled,
.popup_nav .next.disabled { 
	display: none;
}

/*--close btn--*/
.popup_close {
	width: 40px;
	height: 40px;
	cursor: pointer;
	position: absolute;
	top: 20px;
	right: 10px;
	z-index: 120;
}
.popup_close span {
  display: block;
  text-indent: 100%;
  width: 40px;
  height: 40px;
  background: #fff;
  position: absolute;
  color: #f8efe6;
  text-align: center;
  line-height: 1.3;
  font-weight: bold;
  border-radius: 5px;
  text-indent: 0;
  border: 2px solid #f8efe6;
  font-size: 30px;
}
.popup_close_sec {
	text-align: center;
	margin: 10% 0 0;
}  
.popup_close_sec span {
	cursor: pointer;
	display: block;
	background: #fff;
	color: #f8efe6;
	border-radius: 8px;
	font-weight: bold;
	width: 40px;
	height: 40px;
	margin: auto;
	padding: 0;
	border: 2px solid #f8efe6;
	font-size: 30px;
	line-height: 1.2;
}

.popup_box .list_comment {position: relative;}
.popup_box .list_comment::after {
	content: "";
	position: absolute;
	top: 0;
	right: 1%;
	border-style: solid;
	border-width: 0 12px 25px 12px;
	border-color: transparent transparent #f8efe6;
	translate: -50% -100%;
}

/*
.popup_close span::before,
.popup_close span::after {
	content: "";
	display: block;
	background-color: #434c55;
  	position: absolute;
}	
.popup_close span::before {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}	
.popup_close span::after {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.popup_close span::before, .popup_close span::after {
	width: 32px;
	top: 20px;
	right: 5px;
}
*/

.popup_content {text-align: left;}
.popup_box .tit_name {font-size: 20px; font-weight: bold;}
.popup_box .tit_sns {font-size: 20px; margin-bottom: 5px;}
.popup_box a {font-weight: normal!important;}	
.popup_box .list_comment {background-color: #f8efe6; border-radius: 10px;}
.popup_list li .list_name {text-align: left; font-weight: bold;}
.popup_list li a {text-decoration: none!important;}
.memb_ttlimg {text-align: center; max-width: 165px; width: 100%; margin: 8% auto 3%;}	
.popup_box .list_comment {padding: 1em!important;}
.main_txt {
	text-align: center;
	margin: 5% auto 0;
	font-size: 16px;
	font-weight: bold;
}

/*================================================
 *  スマートフォン向けデザイン
 ================================================*/
@media screen and (max-width:767px) {
	.memb_ttlimg {text-align: center; max-width: 110px; width: 100%; margin: 10% auto 0;}
	.main_txt {font-size: 14px;}
	.popup_area {margin: 25px auto 50px;}
	.popup_list li .list_name {font-size: 10px;}
	.popup_box .tit_name, .popup_box .tit_sns {font-size: 14px;}
	.popup_list {gap: 15px 5px;}
	.popup_list li {width: calc(100% / 3 - 5px);}
	.popup_box {
		width: 92%;
		height: auto;
		margin: 30px auto;
		background: #fff;
		flex-direction: column;
		align-items: center;
	}
	.popup_nav .prev {
		left: 0px;
		width: 40px;
		height: 40px;
	}
	.popup_nav .next {
		right: 0px;
		width: 40px;
		height: 40px;
	}
}
