@charset "utf-8";
body.fixed {
    position: fixed;
    width: 100%;
    height: 100%;
    /*left: 0;*/
}

.modal_open{
    display: inline-block;
    margin: 3vw;
    float: left; 
}
 
.modal_box {
    position: fixed;
    z-index: 7777;
    display: none;
    /*:width: 80%;
    max-width: 840px;*/
    margin: 0;
    padding: 60px 2vw 80px;
    border: 2px solid #aaa;
    /*text-align: center;*/
    background: #fff;
    box-sizing: border-box;
  top: 50%;
   left: 50%;
   -webkit-transform: translate(-50%, -50%);
   transform: translate(-50%, -50%);
}

#modal1{
	border: none;
    background: none;
}

#modal2{
	width:600px;
	padding:10px 2w 20px;
	box-sizing:border-box;
	overflow-y:scroll;
	height:100%;
	-ms-overflow-style: none;    /* IE, Edge 対応 */
        scrollbar-width: none;       /* Firefox 対応 */
	top: 50%;
   left: 50%;
   -webkit-transform: translate(-50%, -50%);
   transform: translate(-50%, -50%);
}

#modal2::-webkit-scrollbar {  /* Chrome, Safari 対応 */
        display:none;
    }

#modal2 img{
    margin: 20px auto;
    width: 100%;
}

#modal2 h2{
	font-size:36px;
	text-align:center;
}
 
.modal_close {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 62px;
    font-size: 46px;
    color: #000;
    line-height: 62px;
    text-align: center;
    background: #e6e6e6;
}
 
.modal_close i {
    line-height: 62px;
    vertical-align: bottom;
}
 
.modal_bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 6666;
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}
 
.link_area {
    overflow: hidden;
    max-width: 410px;
    margin: 60px auto 0;
    text-align: center;
}
 
.link_area .modal_link {
    display: inline;
}
 
.link_area .modal_link a {
    display: inline-block;
    width: 180px;
    color: #000;
    line-height: 2.5;
    text-decoration: none;
    margin: 0 10px;
    background: #e6e6e6;
}

#modal1 .link_area{
	margin-top:20px;
}

#modal1 .link_area .modal_link a {
    display: inline-block;
    /*width: 180px;*/
    color: #fff;
    line-height: 1;
    text-decoration: underline;
    margin: 0;
    background: none;
}
 
 
.link-area ul li.modal_link:first-child a {
    float: left;
}
 
.link-area ul li.modal_link:last-child a {
    float: right;
}
 
#modal2 .tit{
	background:#FD0004;
	color:#fff;
	font-size:18px;
	padding:20px 30px;
	text-align:center;
	line-height:1.8;
}
 
.text1{
	text-align:center;
	font-size:14px;
	font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
	line-height:1.8;
	margin:40px 0;
}

.text2{
	margin-top:30px;
	padding:20px;
	box-sizing:border-box;
	border:#f07305 3px solid;
	line-height:1.8;
}

.text2 h3{
	border-bottom:#f07305 dashed 1px;
}

.text2 h3 img{
	margin:0;
}
 
@media screen and (max-width: 769px) {
 
/*  ウィンドウサイズ769px以下の時のスタイル  */
 	#modal2 .tit{
		padding:10px 20px;
		font-size:16px;
	}
 
  .modal_box {
      padding: 20px 30px;
  }
  
  .modal_box img{
	  max-width:100%;
	  height:auto;
  }
  
  #modal2{
	width:90%;
	padding:10px;
  }
  
  #modal2 img{
	  margin:10px auto;
	  
  }
  
  .modal_close {
      width: 40px;
      line-height: 40px;
      font-size: 30px;
  }
 
  .modal_close i {
      line-height: 44px;
  }
 
  .link_area {
      margin: 25px auto 0;
  }
 
  .link_area .modal_link a {
      margin: 15px auto 0;
  }
 
  .link_area ul li.modal_link:first-child a {
      float: none;
      margin-top: 0;
  }
 
  .link_area ul li.modal_link:last-child a {
      float: none;
  }
 
}/* CSS Document */

