@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');


/* ========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;
}

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 {
   border:0;
   vertical-align:bottom;
}

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

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


.sponly {
   display:none;
}

::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;
}


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

.tfiledammy {
	position:relative;
	width:100%;
	height:3em;
	background-color:#eee;
	border:1px solid #ccc;
}

.tfiledivfull {
	position:fixed;
	left:0;
	right:0;
	top:0;
	bottom:0;
	width:100%;
	height:100vh;
	z-index:1000;
	opacity:0;
}


.tfilediv .filecmt {
	color:#aaa;
}

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


/* --- 吹き出し START -------------------------------------- */
[fukidashi] {
	position: relative;
}

[fukidashi] > div {
	position:absolute;
	top:-3px;
	right:-5px;
	color:#080;
	opacity:0.8;
}

[fukidashi]::before,
[fukidashi]::after {
	text-transform: none;
	font-size: .9em;
	line-height: 1;
	user-select: none;
	pointer-events: none;
	position: absolute;
	display: none;
	opacity: 0;
}
[fukidashi]::before {
	content: '';
	border: 5px solid transparent;
	z-index: 1001;
}
[fukidashi]::after {
	content: attr(fukidashi);
	text-align: left;
	
	min-width: 3em;
	max-width: 50em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 1ch 1.5ch;
	border-radius: .3ch;
	box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
	background: #333;
	color: #fff;
	z-index: 1000;
}

[fukidashi]:hover::before,
[fukidashi]:hover::after {
	display: block;
}

[fukidashi='']::before,
[fukidashi='']::after {
	display: none !important;
}

[fukidashi]:not([flow])::before,
[fukidashi][flow^="up"]::before {
	bottom: 100%;
	border-bottom-width: 0;
	border-top-color: #333;
}
[fukidashi]:not([flow])::after,
[fukidashi][flow^="up"]::after {
	bottom: calc(100% + 5px);
}
[fukidashi]:not([flow])::before,
[fukidashi]:not([flow])::after,
[fukidashi][flow^="up"]::before,
[fukidashi][flow^="up"]::after {
	left: 50%;
	transform: translate(-50%, -.5em);
}

/* FLOW: DOWN */
[fukidashi][flow^="down"]::before {
	top: 100%;
	border-top-width: 0;
	border-bottom-color: #333;
}
[fukidashi][flow^="down"]::after {
	top: calc(100% + 5px);
}

[fukidashi][flow^="down"]::before,
[fukidashi][flow^="down"]::after {
	left: 50%;
	transform: translate(-50%, .5em);
}

/* FLOW: LEFT */
[fukidashi][flow^="left"]::before {
	top: 50%;
	border-right-width: 0;
	border-left-color: #333;
	left: calc(0em - 5px);
	transform: translate(-.5em, -50%);
}

[fukidashi][flow^="left"]::after {
	top: 50%;
	right: calc(100% + 5px);
	transform: translate(-.5em, -50%);
}

/* FLOW: RIGHT */
[fukidashi][flow^="right"]::before {
	top: 50%;
	border-left-width: 0;
	border-right-color: #333;
	right: calc(0em - 5px);
	transform: translate(.5em, -50%);
}

[fukidashi][flow^="right"]::after {
	top: 50%;
	left: calc(100% + 5px);
	transform: translate(.5em, -50%);
}

/* KEYFRAMES */
@keyframes tooltips-vert {
	to {
		opacity: .9;
		transform: translate(-50%, 0);
	}
}

@keyframes tooltips-horz {
	to {
		opacity: .9;
		transform: translate(0, -50%);
	}
}

/* FX All The Things */ 
[fukidashi]:not([flow]):hover::before,
[fukidashi]:not([flow]):hover::after,
[fukidashi][flow^="up"]:hover::before,
[fukidashi][flow^="up"]:hover::after,
[fukidashi][flow^="down"]:hover::before,
[fukidashi][flow^="down"]:hover::after {
	animation: tooltips-vert 300ms ease-out forwards;
}

[fukidashi][flow^="left"]:hover::before,
[fukidashi][flow^="left"]:hover::after,
[fukidashi][flow^="right"]:hover::before,
[fukidashi][flow^="right"]:hover::after {
	animation: tooltips-horz 300ms ease-out forwards;
}
/* --- 吹き出し END ---------------------------------------- */



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

#toplogin {
   min-width:1200px;
   width:100%;
   margin:0 auto;
}

#topsub {
   width:100%;
   min-height:400px;
   margin:0;
}

#contents {
   width:100%;
   min-width:1200px;
   height: calc(100vh - 50px):
   overflow:auto;
}

#pageTop {
   clear:both;
}



/* ========HEADER CUSTOMIZE======== */
#header {
   width:100%;
   height:35px;
   margin-bottom:5px;
   padding-top:2px;
   border-bottom:1px solid #559f38;
   background-image: linear-gradient(90deg, rgba(255, 255, 255, 1) 30%, rgba(0, 182, 120, 0.5));
}

#header #pr {
   position:absolute;
   top:5px;
   right:5px;
   font-size:13px;
}

/* ========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;
}


/* ========スマホメニュー======== */
#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;
}

h2 {
	padding:5px 5px 1px 5px;
	color:#fff;
	font-size:1.3em;
	font-weight:bold;
	background-color:#008f98;
}

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


/* パソコン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; }
	
	
	#top {
		min-width:100%;
		width:100%;
	}
	
	#toplogin {
	   min-width:100%;
	   width:100%;
	   margin:0 auto;
	}
	
	#topsub {
		width:100%;
		min-width:300px;
	}
	
	#header{
		font-size:85%;
		height:50px;
	}
	
	#header h1 img{
		height:30px;
	}
	
	#header #pr{
		position:absolute;
		top:45px;
		right:5px;
		text-align:right;
	}
	
	#header #pr ul{
		float:right;
	}
	
	#menusp{
		/* display:block; */
		display:none;
	}
	
	#menusp a{
		display:block;
		margin:1px auto;
		width:98%;
		width: calc( 100% - 10px );
		text-align:center;
		font-size:16px;
		font-weight:bold;
		color:#222;
		background:#ddd;
		border:1px solid #777;
	}
	
	#menusp a:hover{
		text-decoration:none;
	}
	
	#menu{
		display:none;
		margin:2px 5px;
		width:98%;
		width: calc( 100% - 10px );
		background:#fff;
		font-size:110%;
	}
	
	#menu ul {
		border-left:0;
	}
	
	#menu ul.submenu {
		position:relative;
		top:0;
		left:5px;
		background:#fff;
	}
	
	#menu li {
		width:100%;
		text-align:left;
		border-right:0;
	}
	
	#menu ul.submenu li {
		width:97%;
		width: calc( 100% - 10px );
		text-align:left;
		border-right:0;
	}
	
	#menu li a{
		padding:10px 5px;
	}
	
	#contents {
	   width:100%;
	   min-width:100%;
	   height: calc(100vh - 50px):
	   overflow:auto;
	}
	
	#main div.table {
	   display: block;
	   width: 100%;
	}
	
	#main div.tr {
	   display: block;
	}
	
	#main div.td {
	   display: block;
	   vertical-align:top;
	   text-align:left;
	   padding:3px;
	}
	
	#main div.w20 ,#main div.w40 ,#main div.w50 {
	   width:100%;
	   max-width:100%;
	}
	
	div.pconly ,span.pconly{
		display:none;
	}
	
	div.sponly{
		display:block;
	}
	
	span.sponly{
		display:inline;
	}
	
	
	
}