@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Gothic&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');

/* ========BASIC======== */
html * { max-height:1000000px; }

html {
   overflow-y:scroll;
   height:100%;
}

body {
   margin:0;
   padding:0;
   line-height:1.3;
   letter-spacing:1px;
/*   font-family: "Sawarabi Gothic", sans-serif; */
   font-family: "游ゴシック体", "YuGothic", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
   font-weight: 500;
   font-size:15px;
   color:#000;
   background:#fff;
   scrollbar-gutter: stable;
}


.font-noto {
	font-family: "Noto Serif JP", serif;
}


br {
   letter-spacing:normal;
}

.dfixed {
	overflow:hidden;
}

.dnone {
	display:none;
}

.font-bold {
	font-weight: 700;
}

.font-bold2 {
	font-weight: 900;
}

a {
   color:#00a;
   text-decoration:none;
}

a:hover {
   color:#00a;
   text-decoration:underline;
}

img {
	max-width:100%;
	max-height:100%;
	border:0;
	vertical-align:bottom;
	pointer-events: none;
}

h1,h2,h3,h4,h5,h6 {
   margin:0;
}

.textindent {
	margin-left:1em;
	text-indent:-1em;
	
}

.btn-blank {
	border:1px solid #ced4da;
}


::placeholder {
	color: #c6c6c6 !important;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
   -webkit-appearance: none;
   margin: 0;
}


.checkbtn:before {
	content: "\f0c8";
	font-family: "Font Awesome 6 Free";
	font: var(--fa-font-regular);
	color:#999;
}

.checkbtn-check:before {
	content: "\f14a";
	font-family: "Font Awesome 6 Free";
	font: var(--fa-font-solid);
	color:#009;
}


.radiobtn:before {
	content: "\f111";
	font-family: "Font Awesome 6 Free";
	font: var(--fa-font-regular);
	color:#999;
}

.radiobtn-check:before {
	content: "\f058";
	font-family: "Font Awesome 6 Free";
	font: var(--fa-font-solid);
	color:#009;
}



#overlay-button {
  position: fixed;
  left: calc(100vw - 3em - 50px);
  top: 8px;
  padding: 26px 11px;
  z-index: 50;
  cursor: pointer;
  user-select: none;
  background-color:rgba(255,255,255,0.6);
  border:3px solid rgba(0,0,0,0.5);
  border-radius:32px;
}

#overlay-button span {
  height: 4px;
  width: 35px;
  border-radius: 2px;
  background-color: rgba(0,0,0,0.6);
  position: relative;
  display: block;
  transition: all .2s ease-in-out;
}

#overlay-button span:before {
  top: -10px;
  visibility: visible;
}

#overlay-button span:after {
  top: 10px;
}

#overlay-button span:before, #overlay-button span:after {
  height: 4px;
  width: 35px;
  border-radius: 2px;
  background-color: rgba(0,0,0,0.6);
  position: absolute;
  content: "";
  transition: all .2s ease-in-out;
}

#overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after {
  background: rgba(0,0,0,0.9);
}

 input[type=checkbox]#overlay-input {
  display: none; 
}

input[type=checkbox]:checked ~ #overlay {
  display:block;
  width: 100vw;
  height: 100svh;
  opacity:1;
  overflow:auto;
}

input[type=checkbox]:checked ~ #overlay-button:hover span, input[type=checkbox]:checked ~ #overlay-button span {
  background: transparent;
}

input[type=checkbox]:checked ~ #overlay-button span:before {
  transform: rotate(45deg) translate(7px, 7px);
  background-color: #555;

}
input[type=checkbox]:checked ~ #overlay-button span:after {
  transform: rotate(-45deg) translate(7px, -7px);
  background-color: #555;
}

#overlay {
  position: fixed;
  top:0;
  right:0;
  width: 0;
  height: 0;
  padding:10px 5px;
/*  background-image:linear-gradient(135deg ,rgb(120,230,245) ,rgb(230,245,255)); */
  background-color:#fff;
  z-index: 40;
  overflow:hidden;
  opacity:0;
  transition: all .3s;
}

#overlay.active {

}

.insta {
	width:300px;
}

.youtube {
	width:300px;
}


.prcmt {
	position:fixed;
	top:5px;
	left:5px;
	width:70%;
	font-weight:bold;
	color:#fff;
	text-shadow:0 0 5px #000;
	font-size:0.9rem;
	z-index:10;
}


/* ========TEMPLATE LAYOUT======== */
#top {
   min-width:1200px;
   width:100%;
   min-height:100vh;
   margin:0 auto;
}

#pageTop {
   clear:both;
}



/* ========HEADER CUSTOMIZE======== */
#header {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	min-width:1200px;
	height:80px;
	margin:0;
	padding-top:2px;
/*	border-bottom:1px solid #008f98;
	background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 30%, rgba(0, 143, 152, 0.5));
*/
	background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.6));
	z-index:10;
}

#header .headerwaku {
	position:relative;
	width:100%;
	height:80px;
}

#header h1 {
	position:absolute;
	top:5px;
	left:5px;
	height:70px;
}

#header .pagetitle {
	position:absolute;
	bottom:20px;
	left:50%;
	margin-left:-400px;
	width:800px;
	text-align:center;
	color:#fff;
	font-size:2em;
	font-weight:bold;
	letter-spacing:0.2em;
	text-shadow: 0 0 5px #000;
	white-space:nowrap;
	overflow:hidden;
}



#contents {
	padding-top:80px;
	width:100%;
	min-width:1200px;
	min-height: 100svh;
}


.mainwaku {
	margin:0 auto;
	width:1200px;
}



/* ========MENU CUSTOMIZE======== */
#menu {
	padding:5px;
	min-width:1200px;
	width:100%;
	background-color:#fafafa;
}

#menu ul {
   display:flex;
   flex-wrap:wrap;
   list-style-type: none;
   margin:0;
   padding:0;
}

#menu li {
   display:block;
   margin:2px;
}

#menu li span {
   display:block;
}

#menu li a {
   display:block;
   width:90px;
   height:65px;
   padding:3px;
   text-align:center;
   line-height:1.2em;
   font-size:0.8em;
   text-decoration:none;
   border:2px solid #ccc;
   border-radius:4px;
   background-color:#fff;
   transition: all 0.3s linear;
}

#menu li a:hover {
   border:2px solid #00afb8;
   box-shadow:0 0 5px 2px #50dfe8;
}

#menu li a img {
   max-width:28px;
}

#menu .menuicon {
	margin-top:3px;
	color:#444;
	text-align:center;
}

#menu li a .menutitle {
   display:flex;
   justify-content:center;
   align-items:center;
   margin-top:2px;
   width:100%;
   height:30px;
}

.section {
	width:100%;
	max-width:1200px;
}

.newsbox {
	display:block;
	width:280px;
	margin:5px;
	padding:5px;
	font-size:0.9em;
	color:#222;
	border:1px solid #008f98;
	background-color:#fff;
	transition: all 0.3s linear;
}

.newsbox:hover {
	color:#222;
	text-decoration:none;
	box-shadow:0 0 5px; 0 #bbb;
}

.newsdate {
	font-size:0.9em;
}

.newsimg {
	width:260px;
	height:200px;
	text-align:center;
	margin:5px auto;
}

.newsimg img {
	width:100%;
	height:auto;
	aspect-ratio:16:9;
	object-fit:contain;
}

.newscmt {
	
}


.menu-a {
	width: calc(50% - 10px);
	margin:10px 5px;
	color:#222;
	font-size:1.1em;
	padding:4px;
	border-bottom:2px dotted #666;
}

.menu-a:hover {
	color:#000;
	text-decoration:none;
}

.menu-a2 {
	display:block;
	margin:10px 5px;
	width: calc(50% - 10px);
	transition: all 0.3s;
}

.menu-a2:hover {
	box-shadow:0 0 5px 2px #aaa;
}

.bn-a {
	display:block;
	margin:5px;
}


#footer {
	color:#fff;
	text-align:center;
	padding:20px 5px 3px 20px;
	background-color:rgb(0, 143, 152)
}

.copyright {
	margin-top:1em;
	font-size:0.7em;
}

#pageTop {
	display:none;
	position:fixed;
	bottom:50px;
	right:50px;
	z-index:30;
}

#pageTop a {
	display:block;
}

/* ========スマホメニュー======== */
#spmenubar {
	position: fixed;
	z-index: 200;
	cursor: pointer;
	right: 0;
	top: 0;
	padding: 16px 14px;
	width: 50px;
	height: 50px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	order: 0;
	background: rgba(0,0,0,0.5);
}

#spmenubar span {
	display: block;
	transition: 0.3s;
	border-top: 2px solid #fff;
}

#spmenubar.ham span:nth-of-type(1),
#spmenubar.ham span:nth-of-type(3) {
	transform-origin: center center;
	width: 26px;
}

#spmenubar.ham span:nth-of-type(1){
	transform: rotate(45deg) translate(6px, 6px);
}

#spmenubar.ham span:nth-of-type(3){
	transform: rotate(-45deg) translate(6px, -6px);
}

#spmenubar.ham span:nth-of-type(2){
	opacity:0;
}

#spmenu {
	position:fixed;
	top:0;
	left:-100vw;
	width: 100%;
	height: 100%;
	z-index: 100;
	overflow: auto;
	padding: 0;
	text-align: center;
	opacity:0;
	transition: 0.3s;
}

#spmenu.db {
	left: 0px;
	opacity:1;
	background: rgba(0,20,40,0.8);
	color: #fff;
}

#spmenu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#spmenu a {
	display:block;
	text-align:left;
	color: #fff;
	padding: 15px 0 15px 15px;
	border-bottom:1px solid #444;
	transition: 0.3s;
}

#spmenu ul ul a {
	padding: 15px 0 15px 35px;
}

#spmenu ul ul a:before {
	font: var(--fa-font-solid);
	content:"\f105";
	margin-right:0.5em;
}

#spmenu a:hover {
	background-color:rgba(120,120,120,0.8);
	text-decoration:none;
}

#spmenu .menuicon {
	display:inline-block;
	width:50px;
}

#spmenu li a .menutitle {
   display:inline-block;
}

#overlay h2.menu {
	padding:5px 5px 1px 5px;
	color:#fff;
	font-size:1.3em;
	font-weight:bold;
	background-image: linear-gradient(90deg, rgba(0, 143, 152, 0) 10%, rgba(0, 143, 152, 1) 50%, rgba(0, 143, 152, 0) 90%);
}

h2:not(.menu) {
	position:relative;
	margin-bottom:15px;
	font-size:2em;
	font-weight:bold;
	font-family: "Zen Kaku Gothic New", sans-serif;
}

h2:not(.menu):after {
	content:"";
	position:absolute;
	bottom:-5px;
	left:50%;
	width:600px;
	height:3px;
	margin-left:-300px;
	background-image: linear-gradient(90deg, rgba(0, 143, 152, 0) 30%, rgba(0, 143, 152, 1) 50%, rgba(0, 143, 152, 0) 70%);
}


h3 {
	margin-top:0.3em;
	margin-bottom:0.5em;
	font-size:1.4em;
}

.h2class {
	position:relative;
	margin-bottom:0.5em;
	padding:5px 5px 1px 5px;
	font-size:1.5em;
	font-weight:bold;
}

.h2class:after {
	content:"";
	position:absolute;
	top: calc(100% + 3px);
	left:5px;
	width:1.5em;
	height:2px;
	background-color:rgb(0, 143, 152);
}

.jigyotitle {
	font-size:2.6em;
	font-weight:bold;
}


.headermenu01 ,.headermenu02 {
	display:block;
	position:relative;
	width:400px;
	height:220px;
	margin:8px;
	transition: 0.3s;
}

.headermenu01:hover ,.headermenu02:hover {
	box-shadow:0 0 6px 2px #008f98;
	text-decoration:none;
}

.headermenu01 {
	background:#008f98 url(../images/menu02_bg.jpg?2) 50% 20% no-repeat;
	background-size:cover;
}

.headermenu02 {
	background:#008f98 url(../images/menu04_bg.jpg?4) 50% 40% no-repeat;
	background-size:cover;
}

.mainmenutitle {
	padding-top:3em;
	color:#fff;
	font-weight:bold;
	font-size:2em;
	text-align:center;
	text-shadow:0 0 5px #000;
}






/* パソコンonly用 */
@media screen and (min-width:566px){
	.sponly { display:none; }
	
/*
	#spmenubar { display:none; }
*/
	
	#spmenu { display:none; }
}

/* スマホ用 */
@media screen and (max-width:565px){
	.pconly { display:none; }
	
	#overlay-button {
		top:5px;
		left: calc(100vw - 1em - 50px);
	}
	
	#top {
		min-width:100%;
		width:100%;
	}
	
	#toplogin {
	   min-width:100%;
	   width:100%;
	   margin:0 auto;
	}
	
	#topsub {
		width:100%;
		min-width:300px;
	}
	
	#header {
		min-width:100%;
		height:70px;
	}
	
	#header h1 {
		position:absolute;
		top:5px;
		left:5px;
		height:65px;
	}
	
	#header .headerwaku {
		height:70px;
	}
	
	#header .pagetitle {
		left:60px;
		bottom:10px;
		margin:0;
		width: calc(100% - 120px);
		letter-spaceing:0.1em;
		font-size:1.6em;
	}
	
	.headermenu01 ,.headermenu02 {
		width: clacl(100% - 20px);
		height:180px;
		margin:10px;
	}
	
	#overlay h2.menu {
		background-image: linear-gradient(90deg, rgba(0, 143, 152, 0.3) 5%, rgba(0, 143, 152, 1) 50%, rgba(0, 143, 152, 0.3) 95%);
	}
	
	h2:not(.menu) {
		position:relative;
		margin-bottom:15px;
		font-size:1.7em;
		font-weight:bold;
	}
	
	h2:not(.menu):after {
		content:"";
		position:absolute;
		bottom:-5px;
		left:50%;
		width:300px;
		height:3px;
		margin-left:-150px;
		background-image: linear-gradient(90deg, rgba(0, 143, 152, 0) 30%, rgba(0, 143, 152, 1) 50%, rgba(0, 143, 152, 0) 70%);
	}
	
	h3 {
		font-size:1.3em;
	}
	
	.mainmenutitle {
		padding-top:1.5em;
		font-size:2.8em;
	}
	
	.menu-a2 {
		margin:10px 20px;
		width: calc(100% - 40px);
	}
	
	.insta {
		width:260px;
	}
	
	#contents {
		min-width:100%;
		padding-top:70px;
	}
	
	.mainwaku {
		width:100%;
	}
	
	
	.newsbox {
		width: calc(100% - 10px);
	}
	
	.newsimg {
		max-width:30vw;
		max-height:25vw;
		text-align:center;
		margin:5px;
	}
	
	.newscmt {
		flex:1;
	}
	
}