﻿@charset "utf-8";
@import url("reset.css");
@import url("default.css");

/* --------------------------------------------------------------------
		Font-size Adjustment.
			77% = 10px	|	123.1% = 16px	|	167% = 22px
			85% = 11px	|	131% =  17px	|	174% = 23px 
			93% = 12px	|	138.5% = 18px	|	182% = 24px 
			100% = 13px	|	146.5% = 19px	|	189% = 25px 
			108% = 14px	|	153.9% = 20px	|	197% = 26px 
			116% = 15px	|	161.6% = 21px	| 
-------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@500&display=swap');

html {
	color: #333;
}
body {
	background-image: url(../img/common/body-bg.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-color: #fff;
	font-family: 'Zen Old Mincho', serif;
}
h1 {
	text-align: center;
}
h1 img {
	margin: 20px 0 10px 0;
	width: 100px;
	height: auto;
}
#header-menu {
	display: none;
}
#header-box {
	margin-bottom: 10px;
}
#header-box p {
	margin: 0 0 5px 0;
	font-size: 8px;
	text-align: center;
}
#menu {
	font-size: 123.1%;
}
.rbox {
	margin: 0 16px 35px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.rbox dt {
	margin: 16px 0 0 16px;
	padding: 10px;
	text-align: left;
	border-radius: 8px 8px 0 0;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right:  1px solid #ccc;
	background-color: #BEE5F5;
	font-size: 116%;
}
.rbox dd {
	min-width: 260px;
	min-height: 82px;
	padding: 10px;
	text-align: left;
	line-height:1.3em;
	border-radius: 0 0 8px 8px;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right:  1px solid #ccc;
}

#tatesen {
	margin-top: 30px;
	padding: 30px;
}
footer {
	position: relative;
	margin: 0;
	padding: 30px;
	text-align: center;
	background-color: #BEE5F5;
}
#footer-logo img {
	margin: 0 0 10px 0;
	width: 120px;
	height: auto;
}
footer > div > div > p {
	margin: 0 0 5px 0;
	font-size: 77%;
}
footer address {
	margin: 0 auto;
	margin-top: 20px; 
	margin-bottom: 30px;
	width: 270px;
	text-align: left;
	line-height: 1.4em;
}
#footer-menu {
	margin: 0 auto;
	width: 130px;
	text-align: left;
}
#footer-menu > li {
	list-style-type: none;
	line-height: 1.4em;
}
#footer-menu > li > a {
	color: #333;
}
#footer-menu2 {
	margin: 0 auto;
	width: 130px;
	text-align: left;
}
#footer-menu2 > li {
	list-style-type: none;
	line-height: 1.4em;
}
#footer-menu2 > li > a {
	color: #333;
}
#copyright {
	margin-top: 30px;
}

@media screen and (min-width : 400px ){
	#header-menu {
		display: none;
	}
	h1 img {
		margin: 20px 0 10px 0;
		width: 200px;
		height: auto;
	}
	#header-box p {
		font-size: 12px;
	}
}
@media screen and (min-width:768px){
	#header-menu {
		display: block;
		height: 44px;
		background-color: #fff;
	}
	#header-menu ul {
		display: flex;
		justify-content: center;
		list-style-type: none;
	}
	#header-menu li {
		margin: 0;
		width: 160px;
		height: 44px;
		list-style-type: none;
		text-align: center;
		color: #333;
		border-left: 1px solid #ccc;
	}
	#header-menu li:last-child {
		border-right: 1px solid #ccc;
	}
	#header-menu li:first-child {

	}
	#header-menu a {
		padding: 12px 12px 16px 12px;
		text-decoration: none;
		color: #333;
	}
	#header-menu a:hover {
		background-color: #eee;
	}
	#footer-container {
		display: flex;
		justify-content: center;
		text-align: left;
	}
}
/* end: Back-header -------------------------------- */

/* start: clearfix -------------------------------- */
.clearfix:after {
	content: ".";
	font-size: 0.1em;
	line-height: 0;
	display: block;
	height: 0.1px;
	visibility: hidden;
	clear: both;
} 

.clearfix {
	display: inline-block;
}

/* Hides from Mac IE \*/
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
/* End Hide from Mac IE */
/* end: clearfix -------------------------------- */
/* start: Highlight -------------------------------- */
.Highlight a:hover img {
filter: alpha(opacity=75);
-moz-opacity:0.75;
opacity:0.75;
}
/* end: Highlight -------------------------------- */
/* start: Page-top -------------------------------- */
#scroll-top {
	position: absolute;
	top: -28px;
	left: 0;
	color: #555;
	padding: 9px 12px;
	background-color: #BEE5F5;
	border-radius: 0 6px 0 0 ;
	border-radius: 0 8px 0 0;
	font-size: 10px;
}
#scroll-top a,
#scroll-top a:link,
#scroll-top a:visited,
#scroll-top a:hover,
#scroll-top a:active {
	color: #333;
	text-decoration:none;
}
#scroll-top img {
	width: 8px;
	height: auto;
}
/* end: Page-top -------------------------------- */

/* start: sidemenu */
@keyframes checked-anim {
    50% {
        width: 3000px;
        height: 3000px;
    }
    100% {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}
@keyframes not-checked-anim {
    0% {
        width: 3000px;
        height: 3000px;
    }
}
#menu > a {
    margin: 75px 0 -55px 0;
    color: #03A9F4;
    line-height: 1.8em;
    text-decoration: none;
    text-transform: none;
    list-style: none;
    outline: 0;
    display: none;
}
#menu > li {
    margin: 75px auto -55px auto;
    color: #03A9F4;
    line-height: 1.8em;
    text-decoration: none;
    text-transform: none;
    list-style: none;
    outline: 0;
    display: none;
	border-bottom: 1px dashed #333;
}
#menu > li {
    width: 230px;
    text-indent: 35px;}
a:focus {
    display: block;
    color: #333;
    background-color: #eee;
    transition: all .5s;
}
aside {
    position: absolute;
    color: white;
    top: 35%;
    right: 10%;
    text-align: right;
}
#trigger, #burger, #burger:before, #burger:after {
    position: absolute;
    top: 25px;
    left: 25px;
    background: #03A9F4;
    width: 30px;
    height: 5px;
    transition: .2s ease;
    cursor: pointer;
    z-index: 10;
}
#trigger {
    height: 25px;
    background: none;
}
#burger:before {
    content: " ";
    top: 10px;
    left: 0;
}
#burger:after {
    content: " ";
    top: 20px;
    left: 0;
}
#menu-toggle:checked + #trigger + #burger {
    top: 35px;
    transform: rotate(180deg);
    transition: transform .2s ease;
}

#menu-toggle:checked + #trigger + #burger:before {
    width: 20px;
    top: -2px;
    left: 18px;
    transform: rotate(45deg) translateX(-5px);
    transition: transform .2s ease;
}
#menu-toggle:checked + #trigger + #burger:after {
    width: 20px;
    top: 2px;
    left: 18px;
    transform: rotate(-45deg) translateX(-5px);
    transition: transform .2s ease;
}
#menu {
    position: absolute;
    margin: 0; padding: 0;
    width: 60px;
    height: 80px;
    background-color: #fff;
    animation: not-checked-anim .2s both;
    transition: .2s;
    z-index: 5;
}
#menu:after {
	position: absolute;
	content: "Menu";
	font-size: 14px;
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
	color: #03A9F4;
	top: 59px;
	left: 21px;
}
#menu-toggle:checked + #trigger + #burger + #menu {
    animation: checked-anim .3s ease both;
}
#menu-toggle:checked + #trigger ~ #menu > li, a {
    display: block;
}
[type="checkbox"]:not(:checked), [type="checkbox"]:checked {
    display: none;
}
/* end: sidemenu */
