﻿@charset "utf-8";
#header {
	height: 30vh;
	background: url(../img/index/top.jpg) no-repeat 65% top;
	background-size:cover;
	border-bottom: 5px solid #169fcd;
}
#header-wrap {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
}
nav {
	width: 100%;
	background-color: #fff;
}
#hmenu {
	margin: 0 auto;
	border: none;
}
#logo {
	width: 180px;
	margin: 0 auto;
	padding: 30px 0 0 0;
	text-align: center;
}
#logo img {
	width: 100%;
	height: auto;
}
#section-wrap {
	width: 100%;
	background-color: #aaa;
}
/*---------title----------*/
h1 {
	margin: 0 0 20px 0;
	position: relative;
	line-height: 1.4;
	padding:0.25em 1em;
	display: inline-block;
	top:0;
	color: #169fcd;
}

h1:before,h1:after{ 
	position: absolute;
	top: 0;
	content:'';
	width: 8px;
	height: 100%;
	display: inline-block;
}
h1:before{
	border-left: solid 1px #169fcd;
	border-top: solid 1px #169fcd;
	border-bottom: solid 1px #169fcd;
	left: 0;
}
h1:after{
	content: '';
	border-top: solid 1px #169fcd;
	border-right: solid 1px #169fcd;
	border-bottom: solid 1px #169fcd;
	right: 0;
}
h2,h3,h4 {
	margin: 20px 0 20px 0;
	padding: 10px;
	border-left: 8px solid #169fcd;
	border-bottom: 1px solid #169fcd;
}
.Privacypolicy ul,ol {
	margin: 0;
}
.Privacypolicy li {
	margin: 10px;
}
/*---------title----------*/
#s1 {
	padding: 30px;
	background-color: #fff;
}
aside {
	margin: 0;
	padding: 0;
	width: 100%;
}
#aside-banner {
	background-color: #fff;
}
#aside-banner ul {
	margin: 0 auto;
	padding: 0;
	max-width: 980px;
	display: -webkit-flex;
	display: flex;
	justify-content:space-between;
}
#aside-banner li {
	position: relative;
	overflow: hidden;
	width : 33.33333%;
	width : -webkit-calc(100% / 3);
	width : calc(100% / 3);
	min-height: 80px;
	list-style-type: none;
	background-color: #fff;
	text-align: center;
	border: 2px solid #169fcd;
}
#aside-banner li:first-child {
	border-right: none;
}
#aside-banner li:last-child {
	border-left: none;
}
#aside-banner li a {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	font-weight: bold;
	transition: all 0.3s ease-out;
	transform: matrix3d(
		1, 0, 0, 0,
		0, 1, 0, 0,
		0, 0, 1, 0,
		0, 0, 0, 1
	);
	will-change: transform;
}
#aside-banner li a:hover {
	text-decoration: none;
	transform: matrix3d(
		1, 0, 0, 0,
		0, 1, 0, 0,
		0, 0, 1, 0,
		0, 0, 0, 0.9
	);
}
#aside-banner li span {
	padding: 0;
	background-color: rgba(255,255,255,0.95);
}
#aside-link1 {
	width: 100%;
	background-color: #169fcd;
}
#aside-link1 ul {
	margin: 0 auto;
	max-width: 980px;
	display: -webkit-flex;
	display: flex;
	justify-content:space-between;
}
#aside-link1 li {
	list-style-type: none;
	border-right: 1px dotted #fff;
	border-left: 1px dotted #fff;
}
#aside-link1 li a {
	display: block;
	padding: 10px 24px;
	color: #fff;
	text-decoration: none;
}
#aside-link1 li a:hover {
	background-color: rgba(255,255,255,0.2);
}
#about a {
	background-image: url(../img/common/badge-tochi.png);
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: cover;
}
#thesesituations a {
	background-image: url(../img/common/thesesituations.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	background-size: contain;
}
#reason a {
	background-image: url(../img/common/reason.jpg);
	background-repeat: no-repeat;
	background-position: right top;	
	background-size: cover;
}
@media screen and (min-width:480px){
	#logo {
		width: 210px;
		text-align: center;
	}
}
@media screen and (min-width:768px){
	#logo {
		width: 246px;
	}
	#main-box {
		width: 100%;
		background-color: #fff;
	}
	#main-wrap {
		display: -webkit-flex;
		display: flex;
		justify-content:space-between;
		margin: 0 auto;
		padding: 0;
		max-width: 980px;
	}
	#s1 {
		padding: 0 30px 30px 30px;
	}
	#aside-banner {
		display: block;
		width: 360px;
	}
	#aside-banner ul {
		display: block;
	}
	#aside-banner li {
		width: auto;
		min-height: 100px;
		margin: 0 auto 10px auto;
	}
	#aside-banner li:first-child {
		border-right: 2px solid #169fcd;
	}
	#aside-banner li:last-child {
		border-left: 2px solid #169fcd;
	}
	#s1 {
		margin: 0 auto;
		max-width: 980px;
	}
}