@charset "utf-8";


@import url("https://unpkg.com/sanitize.css");
@import url('https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");
@import url(https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.10.0/css/lightbox.css);
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");

@import url("animation.css");
@import url("inview.css");

:root {
    --primary-color: #5ebff8;
}

@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

html,body {
	height: 100%;
	font-size: 13px;	/*基準となるフォントサイズ。*/
}

@media screen and (min-width:900px){

	html, body {
		font-size: 16px;
	}
	}


body {
	font-family: 'M PLUS Rounded 1c', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	
	-webkit-text-size-adjust: none;
	background: #fff;
	color: #777;
	line-height: 2;
}

figure {margin: 0;}
dd {margin: 0;}
nav {margin: 0;padding: 0;}
table {border-collapse:collapse;}
img {
    border: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
#container div img {

}

iframe {width: 100%;}
input {font-size: 1rem;}

a {
	color: #777;
	transition: 0.3s;
}
a:hover {
	filter: brightness(1.1);
	text-decoration: none;
}
#container {
	height: 100%;
}
body:not(.home) #container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
#contents {
	flex: 1;
	max-width: 1800px;
	margin: auto 0;
}
.home header {
	position: relative;overflow: hidden;
	width: 100%;
	height: 100%;
	margin: 0 auto;
}
body:not(.home) header {
    background: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}
#logo img {display: block;}

.home #logo {
    margin-top: 300px;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 0;
    padding: 0;
    width: 60%;
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translate(-50%, -50%);
}

body:not(.home) #logo img {
	height: 50px;
}

video {
	display: block;
	margin: 0 auto;
	height: 100%;
}

#menubar a {display: block;text-decoration: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;}
#menubar {display: none;}
#menubar.d-b, #menubar_hdr.d-b {display: block;}
#menubar.d-n, #menubar_hdr.d-n {display: none;}
#menubar {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 100px 20px 20px;
	background: #fff url(../images/menu_bg.png) no-repeat center bottom / 100%;
	text-align: center;
	animation: opa1 0.2s both;
}
#menubar nav {
	margin: 0 auto;
	max-width: 500px;
}

#menubar nav a {
	padding: 1rem;
	margin: 1rem;
	background: var(--primary-color);
	color: #fff;
	border-radius: 50px;
}

#menubar .icon {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.5rem;
}

#menubar .icon li {
	margin: 0.7rem;
}

#menubar_hdr {
	position: fixed;z-index: 101;
	cursor: pointer;
	right: 5%;
	top: 14px;
	padding: 16px 14px;
	width: 46px;
	height: 46px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transform: scale(1.8);
}

#menubar_hdr span {
	display: block;
	transition: 0.3s;
	border-top: 1px solid #fff;
	box-shadow: 1px 1px rgba(0,0,0,0.2);
}

#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;
	width: 20px;
	border-top: 1px solid #333;
}

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

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

#menubar_hdr.ham span:nth-of-type(2){
	display: none;
}


/*メイン
---------------------------------------------------------------------------*/
main {
	padding: 5%;
}
main h2 {
	color: var(--primary-color);
	font-family: 'Comfortaa', 'M PLUS Rounded 1c', cursive;
	font-weight: normal;
	font-size: 4rem;
	letter-spacing: 0.1em;
	border-bottom: 1px solid #e5e5e5;
	padding: 0 0 1rem;
}

main h2 span {
	display: block;
	font-size: 0.2em;
	margin-top: -1em;
	color: #333;
}

/*ブロック内のh3*/
main h3 {
	font-size: 1.3rem;
	border-bottom: 1px solid #e5e5e5;
}

@media screen and (min-width:500px) {
	main h2 {
		padding: 0 2rem 1rem;
	}
	main h3 {
		padding-left: 2rem;
		padding-right: 2rem;
	}
	main p {
		margin-left: 2rem;
		margin-right: 2rem;
	}
	}


/*お知らせ
---------------------------------------------------------------------------*/
.new {
	margin: 0;
	background: rgba(0,0,0,0.02);
	border-radius: 10px;
	overflow: hidden;
}

.new dt {
	padding: 0.3rem 1rem 0.3rem 1rem ;
}

.new dd {
	padding: 0.5rem 1rem 0.5rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.new dt span {
	display: none;
}
.new dt:nth-of-type(odd),
.new dd:nth-of-type(odd) {
	background: rgba(0,0,0,0.03);
}
.new dd i {
	font-size: 0.8rem;
	margin-left: 2rem;
	background: #ccc;
	color: #fff;
	width: 2rem;
	line-height: 2rem;
	text-align: center;
	border-radius: 50%;
}
.odkm{
    background:#D7F4FF;
}

#sp-fixed-menu{
   position: fixed;
   width: 100%;
   bottom: 0px;
   font-size: 0;
   opacity: 0.9;
   z-index: 99;
}


#sp-fixed-menu ul{
   display: flex;
   list-style: none;
   padding:0;
   margin:0;
   width:100%;
}

#sp-fixed-menu li{
   justify-content: center;
   align-items: center;
   width: 50%;
   padding:0;
   margin:0;
   font-size: 14px;
   border-right: 1px solid #fff;
}


#sp-fixed-menu li:first-child{
   background: #38b435;
}


#sp-fixed-menu li:last-child{
   background: #f3a324;
}


#sp-fixed-menu li a{
   color: #fff;
   text-align: center;
   display:block;
   width: 100%;
   padding:20px;
}


@media screen and (min-width:500px) {
	.new {
		display: flex;
		flex-wrap: wrap;
	}
	.new dt {
    width: 100rem;
    padding-top: 0.3rem;
    padding-right: 1rem;
    padding-left: 1rem;
    padding-bottom: 0.3rem;
    display: flex;
    justify-content: space-between;
	}
	.new dt span {
		display: inline-block;
		width: 6rem;
		background: #b7b7b7;
		color: #fff;
		font-size: 0.8rem;
		text-align: center;
		margin-right: 1rem;
		align-self: flex-start;
		line-height: 1.8;
		position: relative;top: 0.4em;
		border-radius: 2px;
	}

	.new dt span.icon-bg1 {
		background: var(--primary-color);
	}
	.new dt span.icon-bg2 {
		background: #a2caeb;
	}
	}


/*フッター
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}
footer {
	font-size: 0.7rem;
	background: var(--primary-color);
	color: #fff;
	text-align: center;
	padding: 20px 20px 80px 20px;
}

footer a {color: inherit;text-decoration: none;}

footer .pr {display: block;}


.list-banner .list {
    display: grid;
    place-items: center;
    position: relative;
	border-radius: 0px 100px 0px 100px;
	overflow: hidden;
	margin-bottom: 2rem;
}


@media screen and (min-width:700px) {
	
	.list-banner {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}
	
	.list-banner .list {
		margin-bottom: 0;
	}


.list-banner .list h4 {
	position: absolute;z-index: 1;
	font-weight: normal;
	text-align: center;
	color: #fff;
	font-size: 2rem;
	letter-spacing: 0.1em;
}

.list-banner .list h4 span {
	display: block;
	font-size: 0.4em;
}

.list-banner .list figure {
	transition: 0.5s;
}

.list-banner .list:hover figure {
	transform: scale(1.1);
}


.list-square {
	display: flex;
	flex-wrap: wrap;
}

.list-square .list {
	position: relative;
	overflow: hidden;
	height: 0;
	width: 23%;
	padding-top: 23%;
	border-radius: 10px;
	margin: 1%;
	box-shadow: 2px 2px 3px rgba(0,0,0,0.1);
}

.list-square .list a {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}
.list-square .list img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: 0.5s;
}

.list-square .list img:hover {
	transform: scale(1.1);
	filter: contrast(1.3);
}

.pagetop-show {display: block;}

.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	position: fixed;
	right: 20px;
	bottom: 20px;
	color: #fff;
	font-size: 1.5rem;
	background: rgba(0,0,0,0.2);
	width: 60px;
	line-height: 60px;
	border-radius: 50%;
}

.ta1 {
	width: 100%;
    border-collapse: separate;
    border-spacing: 1rem;
	margin: -1rem;
}

.ta1 th, .ta1 td {
	padding: 0.5rem 1rem;
}

.ta1 th {
	width: 20%;
	background: rgba(0,0,0,0.07);
	border-radius: 4px;
}


.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !important;}
.color-theme, .color-theme a {color: var(--primary-color) !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0.2em 0.5em;background: rgba(0,0,0,0.03);border: 1px solid #ddd; border-radius: 3px;word-break: break-all; margin: 1px;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}
.fs1 {font-size: 2rem;}


@media screen and (min-width:900px) {

	.ws {width: 100%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}

	}
