@charset "UTF-8";

/* ----------------------------------------------- */
/* 基本レイアウト */
/* ----------------------------------------------- */


#container {
	position: relative;
}

#container header#header {
	z-index: 4;
}

#container nav#grobal-navi {
	z-index: 3;
}

#container main#contents {
	z-index: 1;
	display: block;/* IE では main 要素の display は inline なので注意する */
}

#container nav#page-navi {
	z-index: 2;
}

#container footer#footer {
	z-index: 1;
	position: relative;
	background-color: #3064bf;/* 100% */
}

/* （PC・タブ横） */

@media screen and (min-width:780px) {

header#header {
	position: absolute;
}

nav#grobal-navi {
	display: block !important;
	position: absolute;
	top: 0;
	right: 0;
	background-image: url(../images/bg-grobal-navi.svg);
	background-repeat: no-repeat;
	background-size: auto;
}

main#contents {
	box-sizing: content-box;
	border-left: 1px solid #ccc;
}

nav#page-navi {
	display: block !important;
	position: absolute;
	left: 0;
	bottom: 66px;
}

footer#footer {
	border-radius: 0px 0px 2px 2px;
}
}

/* （ PC大） */

@media screen and (min-width:992px) {

#container {
	width: 960px;
	margin: 10px auto;
}

nav#grobal-navi {
	width: 640px;
	height: 75px;
	padding-top: 10px;
}

main#contents {
	width: 820px;
	margin-left: 119px;
	margin-bottom: 30px;
	padding-top: 90px;
	padding-left: 20px;
}

nav#page-navi {
	bottom: 66px;
}

footer#footer {
	height: 36px;
}
}

/* （PC小・タブ横） */

@media screen and (max-width:991px) and (min-width:780px) {

#container {
	width: 760px;
	margin: 10px auto;
}

nav#grobal-navi {
	width: 508px;
	height: 60px;
	padding-top: 5px;
}

main#contents {
	width: 648px;
	margin-left: 99px;
	margin-bottom: 24px;
	padding-top: 72px;
	padding-left: 12px;
}

nav#page-navi {
	bottom: 54px;
}

footer#footer {
	height: 30px;
}
}

/* （タブ縦・スマホ） */

@media (max-width: 779px) {

#container {
	margin: 0 15px;
}

header#header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 60px;
	background-color: #fff;
	box-shadow: 0 4px 2px rgba(0,0,0,0.25);
	-webkit-box-shadow: 0 4px 2px rgba(0,0,0,0.25);
}

nav#grobal-navi {
	display: none;
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding-top: 60px;
	padding-bottom: 3em;
	background-color: #3064bf;/* 100% */
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

main#contents {
	margin-bottom: 60px;
	padding-top: 80px;
}

nav#page-navi {
	display: none;
	position: fixed;
	right: 15px;
	bottom: 10px;
}

footer#footer {
	height: 60px;
	margin: auto -15px;
}
}

/* ----------------------------------------------- */
/* 詳細レイアウト */
/* ----------------------------------------------- */

/* ヘッダー */

header#header h1#logo-company {
}

header#header p#icon-nas-group {
}

header#header div#hamburger {
}

/* （PC・タブレット） */

@media screen and (min-width:780px) {

header#header h1#logo-company {
	position: absolute;
	left: 140px;
	width: 240px;
}

header#header p#icon-nas-group {
	width: 100px;
}

header#header div#hamburger {
	display: none;
}
}

/* （PC小・タブ横） */

@media screen and (max-width:991px) and (min-width:780px) {

header#header h1#logo-company {
	left: 112px;
	width: 190px;
}

header#header p#icon-nas-group {
	width: 88px;
}
}

/* （タブ縦・スマホ） */

@media (max-width: 779px) {

header#header h1#logo-company {
	position: absolute;
	left: 65px;
	bottom: 10px;
	width: 185px;
}

header#header p#icon-nas-group {
	position: absolute;
	left: 15px;
	bottom: 10px;
	width: 40px;
}

header#header div#hamburger {
	display: block;
	position: absolute;
	bottom: 10px;
	right: 15px;
}
}

/* ハンバーガー */

div#hamburger {
	cursor: pointer;
	width: 40px;
	height: 40px;
	background-color: #3064bf;/* 100% */
	border-radius: 2px;
}

div#hamburger.close {
	background-image: url(../images/icon-hamburger-close.svg);
}

div#hamburger.open {
	background-image: url(../images/icon-hamburger-open.svg);
}

div#hamburger p {
	width: 100%;
	position: absolute;
	bottom: 5px;
	color: #fff;
	font-size: 0.5em;
	text-align: center;
}

div#hamburger.open p.close,
div#hamburger.close p.open {
	display: none;
}

/* ----------------------------------------------- */

/* ページナビ */

nav#page-navi ul li.home,
nav#page-navi ul li.page-top {
}

/* （PC・タブレット） */

@media screen and (min-width:780px) {

nav#page-navi ul li {
	width: 100px;
	margin-bottom: 10px;
}

nav#page-navi ul li:last-child {
	margin-bottom: 0;
}

nav#page-navi ul li a {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	font-size: 0.8em;
	line-height: 2em;
	text-decoration: none;
	border-left: 1px solid #97b1df;/* 50% */
	border-bottom: 1px solid #97b1df;/* 50% */
}

nav#page-navi ul li a:before {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 1.5em;
	height: 1.5em;
	margin: 0 0.5em;
	color: #fff;
	font-family: foundation-icons;
	background-color: #648bcf;/* 75% */
	border-radius: 50%;
	transition: 0.25s;
}

nav#page-navi ul li a:hover:before {
	background-color: #f60;
}

nav#page-navi ul li.home a:before {
	content: "\f15a";/* home */
}

nav#page-navi ul li.page-top a:before {
	content: "\f10c";/* arrow-up */
}
}

/* （PC小・タブ横） */

@media screen and (max-width:991px) and (min-width:780px) {

nav#page-navi ul li {
	width: 88px;
}
}

/* （タブ縦・スマホ） */

@media (max-width: 779px) {

nav#page-navi ul li.home {
	display: none;
}

nav#page-navi ul li.page-top a {
	display: block;
	width: 40px;
	height: 40px;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background-color: #648bcf;/* 75% */
	background-image: url(../images/icon-page-navi.svg);
	background-size: auto;
	border-radius: 50%;
}
}

/* ----------------------------------------------- */

/* フッター */

footer#footer nav#footer-navi {
}

footer#footer small.copyright {
	color: #dbe7f5;
	font-size: 0.7em;
}

/* （PC・タブレット） */

@media screen and (min-width:780px) {

footer#footer {
	display: flex;
	justify-content: space-between;
}

footer#footer nav#footer-navi {
	display: flex;
}

footer#footer nav#footer-navi h4 {
	display: flex;
	align-items: center;
	margin-left: 0.75em;
}

footer#footer nav#footer-navi ul {
	display: flex;
	align-items: center;
}

footer#footer nav#footer-navi ul li {
	margin-right: 0.5em;
	padding-right: 0.5em;
	border-right: 1px solid #dbe7f5;
}

footer#footer nav#footer-navi ul li:last-child {
	border-right: none;
}

footer#footer nav#footer-navi h4 a,
footer#footer nav#footer-navi ul li a {
	font-size: 0.8em;
	color: #dbe7f5;
	text-decoration: none;
}

footer#footer nav#footer-navi h4 a:after {
	font-family: foundation-icons;
	content: "\f198";
	margin: auto 1em;
	font-size: 0.8em;
}

footer#footer nav#footer-navi h4 a:hover,
footer#footer nav#footer-navi ul li a:hover {
	color: #b5cdea;
}

footer#footer small.copyright {
	display: flex;
	align-items: center;
	padding-right: 5px;
}
}

/* （タブ縦・スマホ） */

@media (max-width: 779px) {

footer#footer {
	display: flex;
	justify-content: center;
	align-items: center;
}

footer#footer nav#footer-navi {
	display: none;
}

footer#footer p.copyright {
}
}
