@charset"UTF-8";
/* 目次用 */
.mokuzi_h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5em;
    font-size: 1.7em;
    text-align: left;
    text-transform: uppercase;
	border-bottom: #a3a3a3 solid 2px;
	}

.mokuzi_h4 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5em;
    font-size: 1.2em;
    text-align: left;
    text-transform: uppercase;
	border-bottom: #a3a3a3 solid 2px;
	}
.mokuzi_h4::before {
    border-top: none;
}

/* popup_list */
.container{
  margin: 4vh 5vh 4vh 1vh;
}
.popup_list{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.popup_list li{
  width: 30.7%;
  margin-bottom: 2vh;
}
.popup_list li a{
  display: block;
  width: 100%;
  height: 100%;
}
.popup_list li img{
  width: 20rem;
  height: 20rem;
  object-fit: cover;
  border-radius: 1rem;
}

/* 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:101;
}
.popup_content{
  position: relative;	
  height: auto;
}
.popup_box{		
  display: none;	
  position: fixed;
  top:50%;
  left:50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 110;
  width: calc(80% - 2rem);
  height: calc(90% - 2rem);
  background: #fff;
}
.popup_box .tit{
  text-align: center;
  margin:10px auto 10px;
}
.popup_box .tit span{
  display: inline-block;
  width: auto;
  padding: 2px 50px;
  color:#fff;
  font-size: 2.5vh;
  line-height: 200%;
  background: #404952;
  border-radius: 30px;
  }

.popup_img{
  height: calc(40% - 2rem);
  margin: auto;
  display: block;
  }

.popup_box img,gif,mp4 {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 3px;
	margin: 0 auto;
	display: block;
}

.popup_text {
    position: relative;
  width: calc(80% - 2rem);
  height: calc(40% - 6rem);
    margin: 1.9em auto 0;
    padding: 1em 1.5em;
    border: 2px solid #13d0c3;
    border-radius: 3px;
	overflow-y: scroll;          /* 縦方向にスクロール可能にする */
}

.popup_text p {
	font-size: 1.7rem;
    margin: 0;
    color: #333;
}

/* popup_nav */
.popup_nav .prev{
  position:absolute;
  top:50%;
  left:-40px;
  transform: translateY(-50%);
  width: 30px;
  height: auto;
  z-index:130;
}
.popup_nav .next{
  position:absolute;
  top:50%;
  right:-40px;
  transform: translateY(-50%);
  width: 30px;
  height: auto;
}
.popup_nav .prev.disabled,
.popup_nav .next.disabled{
  display: none;
}
/*--close btn--*/
.popup_close{
  width: 30px;
  height: 30px;
  cursor: pointer;
  position:absolute;
  top:20px;
  right:20px;
  z-index:120;
}  
.popup_close span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 100%;
  width: 30px;
  height: 2px;
  background: #434c55;
  position: absolute;
  left: 50%;
  top: 50%;
}	
.popup_close span:nth-child(1) {
  transform: translate(-50%, 50%) rotate(45deg);
}	
.popup_close span:nth-child(2) {
  transform: translate(-50%, 50%) rotate(-45deg);
}	

/** スマホ用 **/
@media screen and (max-width: 900px){
.container{
  margin: 50px 5vh 50px 1vh;
}
.popup_list{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.popup_list li{
  width: 30.7%;
  margin-bottom: 40px;
}
.popup_list li a{
  display: block;
  width: 100%;
  height: 100%;
}
.popup_list li img{
  width: 100%;
  border-radius: 3px;
}

/* popup_content */
.popup_bg{
  position:fixed;
  top:0;
  bottom:0;
  left:0;
  right:0;
  width: 100%;
  height: auto;
  background: rgba(64,73,82,0.8);
  transition: 0.4s;
  z-index:101;
}
.popup_content{
  position: relative;
}
.popup_box{		
  display: none;	
  position: fixed;
  top:50%;
  left:50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 110;
  width: calc(70% - 2rem);
  height: calc(70% - 2rem);
  background: #fff;
  padding: 20px;
  margin-top: 4.5vh;
}
.popup_box .tit{
  text-align: center;
  margin:0 auto 10px auto;
}
.popup_box .tit span{
  display: inline-block;
  width: auto;
  height: calc(90% - 2rem);
  padding: 2px 10px;
  color:#fff;
  line-height: 150%;
  background: #404952;
  border-radius: 30px;
  font-size: 1.8rem;
  }

.popup_img{
  height: calc(40% - 2rem);
  margin: auto;
  display: block;
  }

.popup_box img,gif,mp4 {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 3px;
	margin: 0 auto;
	display: block;
}

.popup_text {
    position: relative;
  width: calc(80% - 2rem);
  height: calc(40% - 2rem);
    margin: 1rem;
    padding: 1em 1.5em;
    border: 2px solid #13d0c3;
    border-radius: 3px;
	overflow-y: scroll;          /* 縦方向にスクロール可能にする */
}

.popup_text p {
	font-size: 1.4rem;
    margin: 0;
    color: #333;
}

/* popup_nav */
.popup_nav .prev{
  position:absolute;
  top:50%;
  left:-40px;
  transform: translateY(-50%);
  width: 30px;
  height: auto;
  z-index:130;
}
.popup_nav .next{
  position:absolute;
  top:50%;
  right:-40px;
  transform: translateY(-50%);
  width: 30px;
  height: auto;
}
.popup_nav .prev.disabled,
.popup_nav .next.disabled{
  display: none;
}}
.frontback-nav{
border-top: 3px solid #66e3bf;
}
.frontback-nav ul {
    display: flex;
     justify-content: center;
     gap: 0 20px;
}
.text-background-color{
	display: inline;
	padding: 5px;
	color: #FFFFFF;
	background: #66e3bf;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
