﻿/* =====================================================================

　案内マップ（ゾーン内共通）

===================================================================== */
.open_close_box .modal_wrap input {
  display: none;
}
.open_close_box img {
  width: 100%;
}
/*トリガー　表示ボタン
----------------------------------------------------*/
.open_close_box .open_btn{
  display: inline-block;
  background-image: none;
  /*background-color: #4CAF50;*/
  border: solid 1px #82B140;/*基本色*/
	  padding: 3px 5px;
  border-radius: 3px;
  /*border: none;*/
	font-size: 12px;
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: 0.5s; /*hover処理の時間*/
}
.open_close_box .open_btn:hover{
	  color: #ffffff;
  background-color: #82B140;/*基本色*/
}
.open_close_box .modal_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 75px;
  left: 0;
  z-index: 9;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}
.open_close_box .modal_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}
/*表示内容
----------------------------------------*/
.open_close_box .modal_content {
  position: relative;
  align-self: flex-start;
  width: 100%;
  max-width: 1000px;

    background-color: #ffffff;
  /*padding: 30px 30px 15px;*/
  /*box-sizing: border-box;
    /*background: #fff;*/
  /*line-height: 1.4em;*/
  transform: translatex(-100%);
  transform: translatey(80%);
  transition: 0.5s;
}
/*表示画像*/
.open_close_box .modal_content img{
	width: 100%;
}
/*クローズボタン
----------------------------------------*/
.open_close_box .close_btn_area{
	padding: 6px 20px;
	box-sizing: border-box;
	text-align: right;
	background-color: #D6D1D1;
	border: solid 0px;
} 
/*サークル*/
.open_close_box .close_button {	
  position: relative;
  display: inline-block;
  width: 30px;
  height:30px;
  border-radius: 50%;
  background: #857F80;
}
/*バッテン*/
.modal_content .close_button span {
  position: absolute;
  display: inline-block;
  left: 0;
  top: 45%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width :30px;
  text-align:center;
	font-size: 22px;
	color: #ffffff;
}
/*背景*/
.open_close_box .modal_wrap input:checked ~ .modal_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s;
}
.open_close_box .modal_wrap input:checked ~ .modal_overlay .modal_content {
  transform: translateY(20px);
}

