@charset "UTF-8";
/* ページ全体の幅
------------------------------------------------------------*/
.container {
	width: 85%;
	margin-left: auto;
	margin-right: auto;
	max-width: 1000px;
}

/* header
------------------------------------------------------------*/
header {
	width: 100%;
	height: 100px;
	background-color: #222222;
	box-shadow: 0px 0px 20px #000000;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
}
h1 {
	width: 25%;
	height: 100%;
	text-indent: -9999px;
	white-space: nowrap;
	overflow-x: hidden;
	float: left;
}
h1 a {
	background-image: url(../images/aobas_logo_web.png);
	background-repeat: no-repeat;
	background-size: auto 30px;
	display: block;
	width: 130px;
	height: 30px;
	margin: 35px 0;
}
#nav-input, #nav-open {
	display:none;
}
#nav-drawer {
	float: right;
	width: 75%;
	line-height: 100px;
}
header nav ul {
	text-align: right;
}
header nav li {
	display: inline-block;
}
header nav li a {
	display: inline-block;
	padding-left: 30px;
	width: 100%;
	color: #DDDDDD;
}
header nav li a:hover {
	color: #FFFFFF;
	position: relative;
}
header nav li a:hover:before {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 20px;
	display: inline-block;
	width: 40px;
	height: 3px;
	-webkit-transform: translateX(-13%);
		-ms-transform: translateX(-13%);
			transform: translateX(-13%);
	background-color: #FFFFFF;
 	border-radius: 2px;
}
#mainvisual,#ser_mainvisual,#pro_mainvisual,#com_mainvisual,#rec_mainvisual,#con_mainvisual,#news_mainvisual,#news_cont_mainvisual,#pol_mainvisual,#map_mainvisual {/*ヘッダー固定分の調整*/
    margin-top: 100px;
}

/* contact
------------------------------------------------------------*/
#contact {
	background-image: linear-gradient(to left, #cfd9df 0%, #b6d2d7 100%);
}
#contact .container {
	width: 100%;
	max-width: initial;
	height: 120px;
}
#contact h3 {
    color: #FFFFFF;
    text-align: center;
	line-height: 120px;
	font-size: 2.5rem;
}
#contact h3 a {
	display: block;
	transition: .4s;
	transform: scale(1);
}
#contact h3 a:hover {
	transform: scale(1.1);
}
#contact i {
	margin-right: .5em;
	vertical-align: -8px;
}

/* footer_nav
------------------------------------------------------------*/
#footer_nav {
	padding-bottom: 70px;
	font-size: 0;
    background-color: #f5f5f5;
}
.f_navbox {
	padding-top: 55px;
    width: 20%;
    display: inline-block;
	font-size: 1.5rem;
    vertical-align: top;
	padding-left: 2%;
}
.f_navbox:first-of-type {
	padding-left: 0;
}
.f_navbox h3 {
    margin-bottom: 15px;
	padding: 15px 0;
    border-bottom: 1px solid #ccc;
}
.f_navbox li a {
    font-size: 1.4rem;
	display: block;
	position: relative;
}
.f_navbox a {
    display: block;
}
.f_navbox h3 a:hover {
	color: #9f957c;
}
.f_navbox li a:hover {
    padding-left: 15px;
	transition: .3s;
	color: #9f957c;
}
.f_navbox li a:hover:before{
	content: '';
	width: 6px;
	height: 6px;
	border: 0px;
	border-top: solid 1px #9f957c;
	border-right: solid 1px #9f957c;
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: 6px;
	left: 0px;
}

/* footer
------------------------------------------------------------*/
footer {
    background-color: #222222;
    color: #999999;
    padding: 50px 0 30px;
    font-size: 1.4rem;
}
footer p:first-child {
    font-size: 1.8rem;
    color: #FFFFFF;
    margin-bottom: 10px;
}
footer ul {
    text-align: right;
    font-size: 1.2rem;
}
/*サイトマップを作る場合*/
/*footer li:last-child {
    border-left: 1px solid #999999;
	margin-left: 1em;
}*/
footer li {
    display: inline-block;
    padding-left: 1em;
}
small {
    display: block;
    text-align: center;
    padding-top: 30px;
	font-size: 1.2rem;
}





@media screen and (min-width: 560px) and (max-width: 959px) {
	
/* ページ全体の幅
------------------------------------------------------------*/
.container {
	width: 90%;
}

/* header
------------------------------------------------------------*/
header {
	height: 70px;
}
h1 a {
	background-size: auto 24px;
	width: 105px;
	height: 24px;
	margin: 23px 0;
}
#nav-drawer {
	position: relative;
	text-align: right;
}
.nav-unshown {
	display:none;
}
#nav-open {/*アイコンのスペース*/
	display: inline-block;
	margin: 25px 0px;
	width: 25px;
	height: 20px;
	vertical-align: middle;
}
#nav-open span, #nav-open span:before, #nav-open span:after {/*アイコン*/
	position: absolute;
	height: 2px;
	width: 25px;
	border-radius: 2px;
	background: #FFFFFF;
	display: block;
	content: '';
	cursor: pointer;
}
#nav-open span:before {
	bottom: -8px;
}
#nav-open span:after {
	bottom: -16px;
}
#nav-close {/*閉じる用の薄黒カバー*/
	display: none;/*はじめは隠しておく*/
	position: fixed;
	z-index: 99;
	top: 0;/*全体に広がるように*/
	left: 0;
	width: 100%;
	height: 100%;
	background: black;
	opacity: 0;
	transition: .3s ease-in-out;
}
#nav-content {/*中身*/
	overflow: auto;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 9999;
	width: 90%;/*左側に隙間を作る（閉じるカバーを表示）*/
	max-width: 430px;/*最大幅*/
	height: 100%;
	background: #fff;
	transition: .3s ease-in-out;
	-webkit-transform: translateX(200%);
	transform: translateX(200%);/*右に隠しておく*/
}
#nav-input:checked ~ #nav-close {/*チェックが入ったら表示*/
	display: block;/*カバーを表示*/
	opacity: .7;
}
#nav-input:checked ~ #nav-content {
	-webkit-transform: translateX(0%);
	transform: translateX(0%);/*中身を表示（右へスライド）*/
	box-shadow: 6px 0 25px rgba(0,0,0,.15);
}	
#nav-drawer {
	line-height: 0;
}
header nav {	
	line-height: 70px;
}
header nav ul {
	text-align: left;
}
header nav li {
	display: block;
	border-bottom: 1px solid #cccccc;
}
header nav li a {
	display: block;
	color: #666666;
}
header nav li a:hover {
	color: #666666;
	background: #e0e0e0;
}
header nav li a:hover:before {
	width: 0px;
	height: 0px;
}
#mainvisual,#ser_mainvisual,#pro_mainvisual,#com_mainvisual,#rec_mainvisual,#con_mainvisual,#news_mainvisual,#news_cont_mainvisual,#pol_mainvisual,#map_mainvisual {/*ヘッダー固定分の調整*/
    margin-top: 70px;
}

/* contact
------------------------------------------------------------*/
#contact .container {
	height: 100px;
}
#contact h3 {
	font-size: 2rem;
	line-height: 100px;
}
#contact h3 a:hover {
	font-size: 1em;
}

/* footer_nav
------------------------------------------------------------*/
#footer_nav {
	padding-bottom: 50px;
}
.f_navbox {
	padding-top: 50px;
    width: 33.3%;
	padding-left: 3%;
}
.f_navbox:nth-of-type(4) {
	padding-left: 0;
}
.f_navbox h3 {
	margin-bottom: 12px;
	padding: 12px 0;
    border-top: 1px solid #ccc;
}
.f_navbox li a {
	padding: 3px 0;
}
.f_navbox li a:hover:before{
	top: 9px;
}

/* footer
------------------------------------------------------------*/	
footer {
    padding: 30px 0 20px;
    font-size: 1.3rem;
	text-align: center;
}
footer p:first-child {
    margin-bottom: 5px;
}
footer ul {
    text-align: left;
	margin-top: 20px;
}
footer li:last-child {
    border-left: 0px;
	margin-left: 0em;
}
footer li {
    display: block;
    padding-left: 0em;
}
footer li:before {
    content: '\f138';
    font-family: 'Font Awesome 5 Free';
    padding-right: 8px;
}
small {
    padding-top: 20px;
}
}





@media screen and (max-width: 559px){

/* ページ全体の幅
------------------------------------------------------------*/
.container {
	width: 90%;
}

/* header
------------------------------------------------------------*/
header {
	height: 56px;
}
h1{
	width: 50%;
}
h1 a {
	background-size: auto 20px;
	width: 90px;
	height: 20px;
	margin: 18px 0;
}
#nav-drawer {
	width: 50%;
	position: relative;
	text-align: right;
}
.nav-unshown {
	display:none;
}
#nav-open {/*アイコンのスペース*/
	display: inline-block;
	margin: 18px 0px;
	width: 25px;
	height: 20px;
	vertical-align: middle;
}
#nav-open span, #nav-open span:before, #nav-open span:after {/*アイコン*/
	position: absolute;
	height: 2px;
	width: 25px;
	border-radius: 2px;
	background: #FFFFFF;
	display: block;
	content: '';
	cursor: pointer;
}
#nav-open span:before {
	bottom: -8px;
}
#nav-open span:after {
	bottom: -16px;
}
#nav-close {/*閉じる用の薄黒カバー*/
	display: none;/*はじめは隠しておく*/
	position: fixed;
	z-index: 99;
	top: 0;/*全体に広がるように*/
	left: 0;
	width: 100%;
	height: 100%;
	background: black;
	opacity: 0;
	transition: .3s ease-in-out;
}
#nav-content {/*中身*/
	overflow: auto;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 9999;
	width: 90%;/*左側に隙間を作る（閉じるカバーを表示）*/
	max-width: 430px;/*最大幅*/
	height: 100%;
	background: #fff;
	transition: .3s ease-in-out;
	-webkit-transform: translateX(200%);
	transform: translateX(200%);/*右に隠しておく*/
}
#nav-input:checked ~ #nav-close {/*チェックが入ったら表示*/
	display: block;/*カバーを表示*/
	opacity: .7;
}
#nav-input:checked ~ #nav-content {
	-webkit-transform: translateX(0%);
	transform: translateX(0%);/*中身を表示（右へスライド）*/
	box-shadow: 6px 0 25px rgba(0,0,0,.15);
}
#nav-drawer {
	line-height: 0;
}
header nav {
	line-height: 70px;
}
header nav ul {
	text-align: left;
}
header nav li {
	display: block;
	border-bottom: 1px solid #cccccc;
}
header nav li a {
	display: block;
	color: #666666;
}
header nav li a:hover {
	color: #666666;
	background: #e0e0e0;
}
header nav li a:hover:before {
	width: 0px;
	height: 0px;
}
#mainvisual,#ser_mainvisual,#pro_mainvisual,#com_mainvisual,#rec_mainvisual,#con_mainvisual,#news_mainvisual,#news_cont_mainvisual,#pol_mainvisual,#map_mainvisual {/*ヘッダー固定分の調整*/
    margin-top: 56px;
}

/* contact
------------------------------------------------------------*/
#contact .container {
	height: 80px;
}
#contact h3 {
	font-size: 1.8rem;
	line-height: 80px;
}
#contact h3 a:hover {
	font-size: 1em;
}

/* footer_nav
------------------------------------------------------------*/
.f_navbox {
    width: 50%;
	padding-left: 5%;
}
.f_navbox:nth-of-type(odd) {
	padding-left: 0;
}
.f_navbox h3 {
	margin-bottom: 12px;
	padding: 12px 0;
    border-top: 1px solid #ccc;
}
.f_navbox li a {
	padding: 3px 0;
}
.f_navbox li a:hover {
    padding-left: 0;
	transition: 0;
}
.f_navbox li a:hover:before{
	width: 0px;
	height: 0px;
	border: 0px;
	border-top: 0px;
	border-right: 0px;
}

/* footer
------------------------------------------------------------*/	
footer {
    padding: 30px 0 20px;
    font-size: 1.3rem;
	text-align: center;
}
footer p:first-child {
    margin-bottom: 5px;
}
footer ul {
    text-align: left;
    font-size: 1.2rem;
	margin-top: 20px;
}
footer li:last-child {
    border-left: 0px;
	margin-left: 0em;
}
footer li {
    display: block;
    padding-left: 0em;
}
footer li:before {
    content: '\f138';
    font-family: 'Font Awesome 5 Free';
    padding-right: 8px;
}
small {
    padding-top: 20px;
}
}