html,body {
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
	margin:0;
	scroll-behavior: smooth;
}

#wrapper{
max-width: 1280px;
	margin: 0 auto;
        height: auto;
        padding: 2em 0;
}
#bg2 {
    background: -moz-linear-gradient(45deg, #ccc 0%,#00fa9a 40%,#32cd32 55%,#87cefa 100%);
    background: -webkit-linear-gradient(45deg, #ccc 0%,#00fa9a 40%,#32cd32 55%,#87cefa 100%);
    background: linear-gradient(45deg, #ccc 0%,#00fa9a 40%,#32cd32 55%,#87cefa 100%);
    background-size: 400% 400%;
    -webkit-animation: Gradient 8s ease infinite;
	-moz-animation: Gradient 8s ease infinite;
	animation: Gradient 8s ease infinite;
	/*min-height: calc(100vh - 2rem);*/
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-evenly;
	overflow: hidden;
	position: relative; 
}

.btn2 {
	position: relative;
	width: 250px;
	height: 150px;
	margin: 0 auto;
	display: block;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
}
.btn2 img {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 100%;
  display: block;
	-webkit-transition: .4s ease-in-out;
	transition: .4s ease-in-out;
}
.btn2:hover img:nth-of-type(2) {
	top: 100%;
  opacity: 0;
}
.titlebox{
	border-radius: 15px;
}
.textbox{
		padding: 10px;
		font-weight: bold;
	}
#detail{
	margin-top: 15px;
	padding: 10px;
	background-color: rgba(255, 255, 255, 0.7);
	border-radius: 15px;
}

.boximg{
	width: 100%;
}

#messagebox1{
	width:100%;
	height: auto;
	clear: both;
background: url(../img/wh_back2.png);
        background-repeat: repeat;
        margin: 1.5em auto;
        padding: 2em 0;
        display: flow-root;
        border: 10px double #252525;
        box-sizing: border-box;
}
#messagebox1 h1{
font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif !important;
    color: #555 !important;
    font-size: 2.4em !important;
    line-height: 1em !important;
    margin-top: 0px !important;
    padding: 0.5em 0;
	text-align: center;
}
.subtitle{
	position: relative;
    padding: 1em 0 1em .75em;
    text-align: left;
    margin: 1.5em 0 0;
    color: #333;
    line-height: 1.7;
    display: flex;
	border-bottom: 1px solid #ccc;
}
.subtitle::before {
    content: url(../img/heading3.png);
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    vertical-align: bottom;
}
.adj{
	display: block;
    padding-top: 90px;
    margin-top: -90px;
	}
.textbox{
	color: #333;
    margin: 0 20px 30px;
    text-align: left;
    line-height: 1.5;
}
.purpose_box{
	    background: #fff;
        width: 97%;
        padding: 1em;
        margin: 1em 0;
        display: flow-root;
}


.center{
	    text-align: center;
}

.point_title h1{
	font-size: 32px;
	color:#000;
    backdrop-filter: blur(1px);
    display: inline-block;
    text-align: center;
    margin: 40px auto;
    border: #333 1px solid;
    padding: 0.5em 1em;
    box-shadow: 5px 5px 0px #333;
}

footer{
	background-color: #252525;
	color:#fff;
	clear: both;
}

#bg{
	background-image:url("../img/cam1.jpg");
	background-attachment: fixed;
	background-size: cover; 
	background-position: center center; 
}

#bg3{
	background-image:url("../img/wave.jpg");
	background-attachment: fixed;
	background-size: cover; 
	background-position: center center; 
}


.pd100{
	padding-bottom: 100px;
}

.arrow a {
  color: #333;
  position: fixed;
  bottom: 24px;
  right: 80px;
  text-decoration: none;
  display: block;
  width: 100px;
  padding: 16px 20px;
  text-align: right;
  transform: rotate(90deg);
  transform-origin: bottom right;
}

.arrow1 {
width: 48px;
height: 1px;
background: #333;
position: absolute;
top: 50%;
right: 62px;
}

.arrow2 {
width: 1px;
height: 12px;
background: #333;
position: absolute;
top: calc(50% + 1px);
right: 109px;
transform: rotate(-130deg);
transform-origin: top left;
}



/* メニュー関係 */

.header {
  background: var(--background-navbar);
  position: fixed;
  width: 100%;
  z-index: 99999999;
}

/* Nav items */
.menu {
  list-style: none;
  position: absolute;
  width: 100%;
  height: auto;
  top: 0;
  margin-top: 52px;
  padding: 0 0 10px 0;
  clear: both;
  background: var(--background-navbar);
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  transform: scale(1, 0);
  transform-origin: top;
}

/* Hamburger menu button */
.menu-btn:checked ~ .menu {
  transform: scale(1, 1);
  transform-origin: top;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
	background-color: #0E0E0E;
}

/* Hamburger menbu text */
.menu a {
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 16px;
  text-transform: capitalize;
  color: #ddd;
  opacity: 0;
  transition: 0.5s;
}

.menu li {
  border-top: 1px solid rgb(75, 75, 75);
  padding: 15px 0;
  margin: 0 54px;
  opacity: 0;
  transition: 0.5s;

}

.menu li:hover {
background-color: aliceblue;
color:#000;
}
.menu a:hover {
color:#fff;
}

.menu-btn:checked ~ .menu a,
.menu-btn:checked ~ .menu li {
  opacity: 1;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
}

.menu-btn {
  display: none;
}

.menu-icon {
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding: 24px 14px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


.navicon {
  background: #ddd;
  display: block;
  height: 3px;
  width: 26px;
  position: relative;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before,
.navicon:after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  background: #ddd;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before {
  top: 9px;
}

.navicon:after {
  bottom: 9px;
}

/* Hamburger Menu Animation Start */
.menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
  top: 0;
}
.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  bottom: 0;
}

.menu-btn:checked ~ .menu-icon .navicon {
  background: rgba(0, 0, 0, 0);
  transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
/* Hamburger Menu Animation End */

/* Navbar Container */
.navtext-container {
  width: 100%;
  height: 52px;
  position: absolute;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
	background-color: #0E0E0E;
}

/* Navbar Text */
.navtext {
  position: absolute;
  text-transform: uppercase;
  color: #ddd;
  letter-spacing: 4px;
  font-size: 20px;
}

		.clear{
		clear: both;
		display: inherit;
	}
@media screen and (min-width:980px) { 
    /*　画面サイズが980pxからはここを読み込む　*/
	.lbox{
		width: 48%;
		float: left;
		padding: 5px;
		border-radius: 15px;
		height: 100%;
        font-weight: 800;
	}
	.lbox h4{
		margin: 0;
	}
	
	.rbox{
		width: 48%;
		float:right;
		padding: 5px;
		border-radius: 15px;
		height: 100%;
        font-weight: 800;
	}
	.rbox h4{	
	font-weight: 1200;
	margin:0;
	}

	.linkbox{
		width: 70%;
		margin: 0 auto;
	}

	.linkbox li{
		list-style: none;
		width: 45%;
		float: left;
		margin:10px;
		border: double #000;
		background-color: #fff;
		font-size: 1.2em;
		font-weight: bold;
	}
	.linkbox li a{
		color:#2D2D2D;
		text-decoration-line: none;
		
	}
	.pcmt50{
	margin-top:50px;
}
	.titlebox{
		border: thick double #32a1ce;
		margin-top:30px;
		margin-bottom: 20px;
	}
	.titlebox h1{
    display: inline-block;
    font-size: 36px;
    margin:0px;
	text-align: center;
	width:100%;
	border-radius: 15px;
		}
	
	.pcmt70{
	margin:70px 0;
	}


#messagebox1{
	padding-top: 20px;
}
	
footer{
	height:40px;
	text-align: center;
    padding-top: 10px;
	
}
	
	.toptitle{
		width: 100%;
    min-height: 250px;
    background-color: #333;
    background-image: url("../img/bg_con09.jpg");
    background-attachment: fixed;
		padding-top: 52px;
	}
	.pagetitle{
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    color: #FFF;
    font-size: 2.4em;
    line-height: 1em;
    margin-top: 40px;
	}
	.pagedetail{
		    color: #FFF;
    font-size: 1em;
    line-height: 1.6em;
    margin: 30px 0 0;
	}
}

@media screen and (max-width:979px) {
	.linkbox{
		width: 100%;
		margin: 0 auto 20px;
		text-align: center;
		display: inherit;
		padding: 0;
	}

	.linkbox li{
		list-style: none;
		margin:10px auto;
		border-bottom: double #000;
		font-size: 1.2em;
		width: 60%
	}
	.linkbox li a{
		color:#2D2D2D;
		
	}
	.titlebox{
		border: thick double #32a1ce;
		margin-top:30px;
		margin-bottom: 20px;
	}
	.titlebox h1{
    display: inline-block;
    font-size: 18px;
    margin:0px;
	text-align: center;
	width:100%;
	border-radius: 15px;
		}
	
  .video-wrapper {
    aspect-ratio: 1 / 1;
  }
  .video-content {
    top:38%;
    margin-top: 1rem;
  }
	
#messagebox1{
margin-top: 50px;
	padding-top: 20px;
}
	
footer{
	text-align: center;
    padding-top: 5px;
}
.pamph{
	width:80%;
	margin: 0 auto;
	border: double dashed #2F2F2F;
	box-shadow: 22px 21px 27px -13px #696969;
	border-radius: 10px; 
}
#messagebox1{
	width:100%;
	height: 100%;
	clear: both;
margin-top: 20px;
	padding-top: 20px;
}

#messagebox3{
	width:100%;
	height: 100%;
	clear: both;
	margin: 20px 0;
}	
	
#messagebox6{
	width:100%;
	height: 100%;
	clear: both;
	margin: 20px 0;
	text-align: center;
}

	.toptitle{
		width: 100%;
    min-height: 200px;
    background-color: #333;
    background-image: url("../img/bg_con09.jpg");
    background-attachment: fixed;
		padding-top: 52px;
	}
	.pagetitle{
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    color: #FFF;
    font-size: 2.4em;
    line-height: 1em;
    margin-top: 40px;
	}
	.pagedetail{
		    color: #FFF;
    font-size: 1em;
    line-height: 1.6em;
    margin: 30px 0 0;
	}
	
}

@media screen and (max-width:540px) {
.textbox{
	color: #333;
    text-align: left;
    line-height: 1.5;
	margin: 0;
}
	.purpose_box{
	    background: #fff;
        width: 100%;
        padding: 0;
        margin: 15px 0;
        display: flow-root;
}
	.purpose_box p{
		padding: 10px;
	}

}