@charset "utf-8";
/* CSS Document */

/* ボタン（デザインはお好みで） */
.my_modal_btn{
    display: block;
    width: 100%;
    padding: 3% 0;
    font-size: 16px;
    text-align: center;
	color: #FFF
}
.my_modal_btn::after {
  content: ''; /*何も入れない*/
  display: inline-block; /*忘れずに！*/
	margin-left: 7px;
	background: url("img/icon_eye-w.png") no-repeat center center;
	width: 18px;
	height: 18px;
	background-size: contain;
  vertical-align: middle;	
}
/* チェックボックスを非表示 */
#my_modal1,
#my_modal2,
#my_modal3 {
    display: none;
} 

/* モーダル */
.my_modal_body1,
.my_modal_body2,
.my_modal_body3 {    
    display: none;
    position: fixed;
    z-index: 100000;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    display: none;
    overflow-y: auto;
    /* スマホ用スクロール */
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    /* お好みで */
	width: 980px;
	margin: 0 auto;
}

@media only screen and (min-width : 600px) and (max-width : 1006px) {
  /*tablet用のcssを記述*/
.my_modal_body1,
.my_modal_body2,
	.my_modal_body3 {
	width: 80%;
	}
}
@media screen and (max-width:599px) {
  /*スマホ用のcssを記述*/
	.my_modal_body1,
.my_modal_body2,
	.my_modal_body3 {
	width: 80%;
	}
	
}
/* モーダル内ヘッダー */
.my_modal_header{
    padding: 15px 10px;
    //background-color: #15378E;
    color: #FFF;
    font-weight: bold;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1;
    text-align: center;
}

/* クローズアイコン */
.my_modal_close{
    position: absolute;
    width: 20px;
    height: 20px;
    bottom: 0;
    right: 37%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    cursor: pointer;
}
.my_modal_close_icon{
    position: absolute;
    width: 162px;
    height: 42px;
    font-size: 18px;
    line-height: 45px;
    color: #fff; 
    bottom: 0;
    right: 50%;
    -webkit-transform: translateY(-50%);
    cursor: pointer;
	padding-left: 28px;
}
.my_modal_close_icon span::before,
.my_modal_close_icon span::after{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 14%;
    height: 8%;
    margin: -1% 0 0 19%;
    background: #FFF;
}
.my_modal_close_icon span::before{
    transform: rotate(-45deg);
}
.my_modal_close_icon span::after{
    transform: rotate(45deg);
}

.my_modal_content01 {
    padding: 0;
    background: url("img/check_akakabi.jpg") no-repeat center center;
    background-size: contain;
	padding-top: 54.68%;
	margin-bottom: 84px;
}
.my_modal_content02 {
    padding: 0;
    background: url("img/check_kurokabi.jpg") no-repeat center center;
    background-size: contain;
	padding-top: 54.68%;
	margin-bottom: 84px;
}
.my_modal_content03 {
    padding: 0;
    background: url("img/check_kabiyobou.jpg") no-repeat center center;
    background-size: contain;
	padding-top: 54.68%;
	margin-bottom: 84px;
}

/* 背景を暗くする */
.my_modal_overlay{
    display: none;
    position: fixed;
    z-index: 90000;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    background-color: #111;
    opacity: 0.3;
    cursor: pointer;
}

/* チェック時オーバーレイとコンテンツを表示 */
#my_modal1:checked ~ .my_modal_body1, #my_modal1:checked ~ .my_modal_overlay{
    display: block;
}
#my_modal2:checked ~ .my_modal_body2, #my_modal2:checked ~ .my_modal_overlay{
    display: block;
}
#my_modal3:checked ~ .my_modal_body3, #my_modal3:checked ~ .my_modal_overlay{
    display: block;
}











