@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@400;700;800;900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Kaisei+Decol:wght@400;500;700&family=Noto+Sans+JP:wght@100..900&display=swap');

/* ========BASIC======== */
html {
   overflow-y:scroll;
}

body {
   margin:0;
   padding:0;
   height:100%;
   line-height:1.3em;
   font-family: "Noto Sans JP", sans-serif;
   color:#000;
   font-size:15px;
   background:#fff;
}

i {
   line-height:1em;
}

label {
	position:relative;
	margin:0;
}

label > input[type=radio] {
	position:absolute;
	opacity:0;
}

label > input[type=radio] + span {
	position:relative;
	display:flex;
	align-items: center;
	margin:0;
	padding:0 3px;
}

label > input[type=radio] + span::before {
	display:inline-block;
	font-family: "Font Awesome 5 Free";
	font: var(--fa-font-regular);
	content: "\f111";
	font-size;0.9em;
	color:#aaa;
	text-align:center;
	width:1.2em;
}

label > input[type=radio]:checked + span::before {
	font-family: "Font Awesome 5 Free";
	font: var(--fa-font-solid);
	content: "\f058";
	font-size;0.9em;
	color:#22d;
}

label > input[type=radio]:checked + span {
	border-radius:5px;
}

label > input[type=radio]:checked + span.bgnone {
	border-radius:5px;
}

label > input[type=radio]:focus + span {
	border-radius:5px;
	box-shadow:0 0 8px 0 #37f;
}

label > input[type=radio]:focus + span.bgnone {
	border-radius:5px;
	box-shadow:none;
}


label > input[type=checkbox] {
	position:absolute;
	opacity:0;
}

label > input[type=checkbox] + span {
	position:relative;
}

label > input[type=checkbox] + span::before {
	display:inline-block;
	font-family: "Font Awesome 5 Free";
	content: "\f0c8";
	font-size;0.9em;
	width:1.2em;
	text-align:center;
	color:#aaa;
}

label > input[type=checkbox]:checked + span::before {
	font-family: "Font Awesome 5 Free";
	font: var(--fa-font-solid);
	content: "\f14a";
	font-size;0.9em;
	color:#22d;
}

label > input[type=checkbox]:checked + span {
	border-radius:5px;
}

label > input[type=checkbox]:focus + span {
	box-shadow:0 0 3px 0 #37f;
}

textarea{
   font-size:0.8em;
}


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

input[type=number] {
   -moz-appearance:textfield;
}

::-webkit-input-placeholder {
    color: #d7d7d7;
    font-weight: normal;
}
:-ms-input-placeholder {
    color: #d7d7d7;
    font-weight: normal;
}
::-moz-placeholder {
    color: #d7d7d7;
    font-weight: normal;
}

br {
   letter-spacing:normal;
}

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

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

img {
   border:0;
   max-width:100%;
}

.dnone {
	display:none;
}

.tfilediv {
	display:flex;
	justify-content:center;
	align-items:center;
	position:relative;
	width:100%;
	height:3em;
	background-color:#eee;
	border:1px solid #ccc;
}

.tfilediv .filecmt {
	color:#aaa;
}

.tfilediv input[type=file] {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	opacity:0;
	cursor:pointer;
}


#top {
   position:relative;
   width:100%;
   min-width:1200px;
   margin:0;
   min-height: calc(100vh - 150px);
   background:#fff;
}

.contents {
   clear:both;
   width:100%;
   max-height:1200px;
}


/* ========HEADER CUSTOMIZE======== */
#header {
   position:relative;
   width:1200px;
   height:80px;
   margin:0 auto;
   padding:5px;
   background-color::#fff;
   color:#222;
}

#header .logo {
	position:absolute;
	top:5px;
	left:0;
	text-align:center;
	width:250px;
}

#header .title {
   display:flex;
   justify-content:center;
   align-items:center;
   font-family: "Kaisei Decol", serif;
   font-weight:700;
   text-align:center;
   font-size:1.3em;
   color:#000;
   width:100%;
   height:80px;
   margin:0;
}

#header h1 {
	display:block;
	font-size:1.3em;
	font-weight:bold;
	color:#555;
}

#header .menu {
	position:absolute;
	top:0px;
	right:1em;
	height:80px;
	display:flex;
	align-items:center;
	white-space:nowrap;
}

/* ========MENU CUSTOMIZE======== */
#menu {
   position:sticky;
   top:0;;
   left:0;
   width:100%;
   background:#1a3d7d;
   z-index:100;
}

#menu ul {
   display:flex;
   flex-wrap:wrap;
   width:1200px;
   margin:0 auto;
   padding:0;
}

#menu li {
   position:relative;
   display:block;
   margin:0;
   color:#fff;
   list-style-type:none;
}

#menu li a {
   display:block;
   margin:0;;
   padding:1em 2em;
   line-height:1.1;
   text-align:center;
   color:#fff;
   font-weight:bold;
   background-color:#1a3d7d;
   transition: all 0.2s linear;
}

#menu li a:after {
	content:"";
	position:absolute;
	top:50%;
	margin-top:-0.9em;
	border-right:1px solid #ddd;
	padding-left: calc(2em - 1px);
	height:1.8em;
}

#menu li a:hover{
   text-decoration:none;
   color:#fff;
   background-color:#3a5d9d;
}

#menu li a + ul {
	display:none;
	position:absolute;
	margin:0;
	width:300px;
	top:100%;
	left:0;
	max-height: calc(100vh - 200px);
	overflow:auto;
	border-top:1px solid #ddd;
	border-left:1px solid #ddd;
	border-right:1px solid #ddd;
	z-index:100;
}

#menu li a + ul li {
   position:relative;
   display:block;
   margin:0;
   color:#333;
   white-space:nowrap;
   list-style-type:none;
   border-bottom:1px solid #ddd;
}

#menu li a + ul li span {
	display:block;
	color:#555;
	font-weight:bold;
	padding:0.5em;
	background-color:#f5f5f5;
}

#menu li a + ul li a {
	text-align:left;
	padding:0.8em 1em;
}

#menu li a + ul li a:after {
	content:"";
	position:absolute;
	border:none;
}


/*menubar
---------------------------------------------------------------------------*/
#menubar {
	position:fixed;
	top:60px;
	left:-100vw;
	width: 100%;
	height: 100%;
	z-index: 998;
	overflow: auto;
	padding: 0;
	text-align: center;
	font-size:1.4em;
	opacity:0;
	transition: 0.3s;
}

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

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

#menubar span {
	display:block;
	text-align:left;
	padding: 15px 0 15px 15px;
	border-bottom:1px solid #ccc;
	background: rgba(0,20,10,0.9);
	
}

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

#menubar a:hover {
	text-decoration:none;
}


/*３本バーアイコン
---------------------------------------------------------------------------*/
#menubar_hdr {
	position: fixed;
	z-index: 999;
	cursor: pointer;
	right: 0;
	top: 0;
	padding: 16px 14px;
	width: 60px;
	height: 60px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	order: 0;
	background-color: rgba(255,255,255,0.5);
	transition: 0.3s;
}

#menubar_hdr.ham {
	background-color: rgba(0,0,0,0.5);
}

#menubar_hdr span {
	display: block;
	transition: 0.3s;
	border-top: 3px solid #333;
}

#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;
	width: 36px;
	border-color:#fff;
}

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

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

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


#footer {
	position:relative;
	min-width:1200px;
	width:100%;
	height:150px;
	padding:1em 0 0.4em 0;
	background:#1a3d7d;
	color:#fff;
}

#footer ul.footermenu {
	display:flex;
	width:1200px;
	margin:1em auto;
	padding:0;
	border-left:1px solid #fff;
}

#footer ul.footermenu li {
	position:relative;
	display:block;
	margin:0;
	list-style:none;
}

#footer ul.footermenu li a {
	display:block;
	padding:0.4em 1.5em;
	border-right:1px solid #fff;
	color:#fff;
	background:#1a3d7d;
	transition: all 0.2s linear;
}

#footer ul.footermenu li a:hover {
	text-decoration:none;
	background:#4a5d9d;
}

#footer .footertitle {
	padding:2em 0 1em 0;
	border-top:1px solid rgba(255,255,255,0.4);
	text-align:center;
	font-size:0.9em;
}

#footer .footerlogo {
	position:absolute;
	left:50%;
	bottom:0.5em;
	width:210px;
	margin-left:350px;
}



.font-bold { font-weight:700; }
.font-bold800 { font-weight:800; }
.font-bold900 { font-weight:900; }


h2 {
	position:relative;
	margin:0.7em 0;
	font-size:1.8em;
	font-weight:bold;
	line-height:1.4em;
	text-align:center;
	padding:0.5em 0.1em 0.1em 0.1em;
}

h2:after {
	content:"";
	position:absolute;
	top:100%;
	left:50%;
	margin-left:-50px;
	width:100px;
	border-bottom:5px solid #ff5;
}


@media screen and (min-width:576px){
	.sponly {
		display:none;
	}
	
	#menubar_hdr {
		display:none;
	}
	
	#menubar {
		display:none;
	}
}


/* スマホ用 */
@media screen and (max-width:575px){
	.pconly{
		display:none;
	}
	
	#top {
		min-width: 320px;
	}
	
	#header {
		width:100%;
		height:62px;
		border-bottom:1px solid #ccc;
	}
	
	#header .logo {
		top:5px;
		left:10px;
		width:50px;
	}
	
	#header .title {
		height:60px;
		font-size:2.5vw;
	}
	
	#header .uid {
		position:relative;
		text-align:right;
		padding:0 5px 5px 0;
	}
	
	#header .menu {
		display:none;
	}
	
	#menu {
		display:none;
	}
	
	#contents {
		overflow:auto visible;
	}
	
	#footer {
		min-width:100%;
		width:100%;
	}
	
	#footer ul.footermenu {
		display:none;
	}
	#footer .footerlogo {
		position:relative;
		left:0;
		margin:0 auto;
	}
	
}
