@charset "utf-8";
html{
	
}
.news{
	color: white;
	text-align: center;
	margin-bottom: 100px;
	margin-top: -50px;
}
#page-top {
    position: fixed;
    right: 5px;
    bottom: 20px;
    height: 50px;
    text-decoration: none;
    font-weight: bold;
    transform: rotate(90deg);
    font-size: 90%;
    line-height: 1.5rem;
    color: #737373;
    padding: 0 0 0 35px;
    border-top: solid 1px;
}
#page-top::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0px;
    width: 15px;
    border-top: solid 1px;
    transform: rotate(35deg);
    transform-origin: left top;
}

.logo_hun {
  font-size: 24px;
}

/* ここから下がハンバーガーメニューに関するCSS */
  
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  height: 80px;
  width: 80px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 99999;/* 重なり順を一番上にする */
  cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 30px;
  border-radius: 3px;
  background: white;
  transition: 0.5s;
  position: fixed;
	right: 15px;
	top: 30px;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  top: 20px;
	
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 40px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  top: 30px;
  transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 30px;
  transform: rotate(-45deg);
}
  
/* メニューのデザイン*/
.nav_content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%; /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: black;
  transition: .5s;
	line-height: 53px;
}

/* メニュー黒ポチを消す */
.nav_list {
  list-style: none;
    margin-top: 11vh;
    text-align: center;
    padding: 0;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  left: 0;/* メニューを画面に入れる */
}


/* 動画のポップアップ */


.popup_wrap input {
display: none;
}
.popup_overlay {
display: flex;
justify-content: center;
overflow: auto;
position: fixed;
top: 0;
left: 0;
z-index: 999;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
opacity: 0;
transition: opacity 0.5s, transform 0s 0.5s;
transform: scale(0);
}

.popup_trigger {
position: absolute;
width: 100%;
height: 100%;
}

.popup_content {
position: relative;
align-self: center;
width: 90%;
max-width: 800px;
padding:25px;
box-sizing: border-box;
background: #fff;
line-height: 1.4em;
transition: 0.5s;
text-align: justify;
}

.close_btn {
position: absolute;
top: 10px;
right: 10px;
font-size: 14px;
cursor: pointer;
padding:8px;
background: #f29c9f;
color: #fff;
border-radius:15px;
line-height:14px;
font-weight:bold;
margin-bottom: 10vh;
}

.popup_wrap input:checked ~ .popup_overlay {
opacity: 1;
transform: scale(1);
transition: opacity 0.5s;
}

.popup_wrap input:checked ~ .popup_overlay .popup_content{
transform: translateY(50px);
}

.open_btn {
position: relative;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
width: 200px;
height: 30px;
margin-left: auto;
	margin-right: auto;
	margin-bottom: 100px;
	margin-top: 80px;
color: #555;
background:fff;
padding: 20px 16px;
border:solid 1px #646464;
font-weight: bold;
border-radius: 10px;
cursor: pointer;
transition: .3s ease;
}

.open_btn:hover{
background:#00225E;
border:solid 1px #00225E;
color:#fff;
transition: .3s ease;
}

@media screen and (max-width:768px) {
		iframe{
		width: 100%;
		height: 25vh;
		margin-left: auto;
		margin-right: auto;
		
	}
	.news{
	
	margin-top: 0px!important;
}
}

@media screen and (min-width:769px) {
	
	.samunebox img{
		
		width: 100%;
		max-width: 820px;
		}
	.samunebox{
		width: 820px;
		margin-left: auto;
		margin-right: auto;
	}
	
	iframe{
		width: 750px;
		height: 500px;
		margin-left: auto;
		margin-right: auto;
		
	}
	
	.open_btn {

width: 435px!important;
height: 57px!important;
background: #030055!important;
		color: aliceblue!important;
		font-size: 1.5rem!important;
		border: none!important;
}
	.open_btn:hover{
background:#004E62!important;
border:solid 1px #00225E;
color:#fff;
transition: .3s ease;
}
	.samunebox img{
	width: 100%;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 15vh;
}
}


.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: 60;
  padding: 20px;
  box-sizing: border-box;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.75);
  text-align: center;
}
.modal-content {
  display: none;
  box-sizing: border-box;
  background: #fff;
  left: 50%;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
.modal{
  display: none;
}
iframe.youtube{;
  vertical-align: top;
}
/* スマホ設定 */
@media screen and (max-width: 768px) {
  .modal-content {
    box-sizing: border-box;
    width: 100%;
	  z-index: 99;
  }
  .youtube-box{
    position: relative;
    width: 100%;
    padding-top: 56.05%;
	  z-index: 60!important;
  }
  .youtube{
    width: 100%;
    position: absolute;
    height: 100%;
    top: 0;
    right: 0;
	  	
  }
	.samunebox{
		width: 100%!important;
		
	}
	.samunebox img{
		padding: 2%;
		width: 96%;
		
	}
	.samunebox p{
		margin-top: -1vh;
	}
	
	
	
		
}
.modal-open btn{
	margin-left: auto;
	margin-right: auto;
}


.samunebox p{
	text-align: center;
	font-size: 1.5rem;
}


/* アニメーション */


.anim1 {
    -webkit-animation: 1s forwards anim1;
    animation: 1s forwards anim1;
	position: relative;
	

}
    @-webkit-keyframes anim1 {
        0% {
            -webkit-transform: translate(0, 20px);
            opacity: 1!important;
			-khtml-opacity: 0; /* Safari 1.x */
			
			
        }
        100% {
            -webkit-transform: translate(0, 0px);
            opacity: 1;
			-webkit-backface-visibility:hidden;
			backface-visibility:hidden;
		
        }
		
		
    }
    @keyframes anim1 {
        0% {
            transform: translate(0, 20px);
            opacity: 0;

        }
        100% {
            transform: translate(0, 0px);
            opacity: 1;
			-webkit-backface-visibility:hidden;
backface-visibility:hidden;
		
        }
}

#anim2{
	 -webkit-animation: 2s forwards anim2;
    animation: 2s forwards anim2;
	position: absolute;
top: 20vh;
	width: 100%;
	z-index: 50!important;
	
}
#anim2 img{
width: 60%;
	
	position: absolute;
	left: 2rem;
	
}

 @-webkit-keyframes anim2 {
        0% {
            -webkit-transform: translate(0, 50px);
            opacity: 0;
			
        }
        100% {
            -webkit-transform: translate(0, 0);
            opacity: 1;
        }
		
    }
    @keyframes anim2 {
        0% {
            transform: translate(-30px, 20px );
            opacity: 0;
			
        }
        100% {
            transform: translate(0, 0);
            opacity: 1.5;
        }
}

#anim3{
	 -webkit-animation: 2s forwards anim3;
    animation: 2s forwards anim3;
	position: absolute;
top: 20vh;
	width: 100%;
	z-index: 50!important;
}
#anim2 img{
width: 60%;
	
	position: absolute;
	left: 2rem;
	
}

 @-webkit-keyframes anim3 {
        0% {
            -webkit-transform: translate(0px, 0px);
            opacity: 0;
			
        }
        100% {
            -webkit-transform: translate(0, 0);
            opacity: 1;
        }
		
    }
    @keyframes anim3 {
        0% {
            transform: translate(50px, -20px );
            opacity: 0;
			
        }
        100% {
            transform: translate(0, 0);
            opacity: 1.5;
        }
}



