/*==================================================
	設定部
----------------------------------------------------
  WEBフォント指定
--------------------------------------------------*/
/* TOPページコーディング時に修正 使用しないフォントは削除すること (削除し終えたらこのコメントも削除すること) */
#menu a,
#navi a,
#container h2.sub,
#container h3.sub2,
#container h3.sub3 {
	font-family: 'M PLUS 1p', sans-serif;
}
/*
#faq dt:before,
h3.sub2,
.contact_here span,
#container .mp {
	font-family: 'M PLUS 1p', sans-serif;
}
#container .mpr {
	font-family: 'M PLUS Rounded 1c', sans-serif;
}
#container .sans {
	font-family: 'Noto Sans JP', sans-serif;
}
#facility .other span,
#page_title .title_left .title_caption h2,
#dream_match .txt5,
#container .serif {
	font-family: 'Noto Serif JP', serif;
}
/*--------------------------------------------------
  フォント色指定
--------------------------------------------------*/
.red { color: #FF0000; }	/* 赤 */
.pick { color: #946136; }	/* 注目色 */
.thin { color: #666666; }	/* 薄い色 */
.red2 { color: #A9204A; }
.green { color: #006837; }
.yellow { color: #946136; }
.blue { color: #2E317E; }
/*--------------------------------------------------
  背景・ボーダー色指定
--------------------------------------------------*/
/* メニュー */
#menu li.on a,
#menu li a:hover {
	border-color: #0200FF;
}
/* メールボタン */
#header .contact .btn {
	background: #0200FF;
}
/* 見出し下ボーダー */
#container h3.sub:before {
	background: #e5e5e5;
}
#container h3.sub:after {
	background: #012847;
}
/*-- タブレット・スマホに適応 --*/
@media only screen and (max-width: 768px) {
	/* ハンバーガーメニュー */
	#switchBtnArea #switchBtn {
		background: #012847;
	}
	/* 電話ボタン */
	#header .contact .tel {
		background: #FF00F5;
	}
}
/*==================================================
  ヘッダ
--------------------------------------------------*/
#header {
	padding: 15px;
	text-align: left;
}
/* 上部テキスト */
#header h1 {
	color: #CCCCCC;
	font-size: 12px;
	font-weight: normal;
	text-align: right;
	line-height: 15px;
}
/* タイトル */
#header p.title {
	float: left;
	width: auto;
}
#header .box {
	float: right;
	width: 300px;
	padding-top: 6px;
	display:-webkit-box;
	display:-moz-box;
	display:-ms-flexbox;
	display:-webkit-flex;
	display:-moz-flex;
	display:flex;
	-webkit-box-lines:multiple;
	-moz-box-lines:multiple;
	-webkit-flex-wrap:wrap;
	-moz-flex-wrap:wrap;
	-ms-flex-wrap:wrap;
	flex-wrap:wrap;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}
#header .search {
	width: calc(100% - 50px);
	margin-right: 10px;
	padding: 6px 10px;
	background: #e8e8e8;
	box-sizing: border-box;
}
#header .search input {
	border: none;
	background: none;
	box-sizing: border-box;
	vertical-align: middle;
}
#header .search input[type="text"] {
	width: calc(100% - 20px);
	margin-right: 6px
}
#header .search input[type="submit"] {
	width: 14px;
}
#header .twitter a {
	display: block;
	width: 40px;
	height: 40px;
	border: 1px solid #CCCCCC;
	border-radius: 50%;
	box-sizing: border-box;
	/* 縦方向中央揃え */
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
}
/*--------------------------------------------------
  メニュー
--------------------------------------------------*/
#menu {
	position: relative;
	height: 60px;
	background :#f2f2f2;
	border-top: 1px solid #012847;
	border-bottom: 1px solid #012847;
	z-index:91;
}
#menu::before {
	position: absolute;
	left: 0;
	bottom: -15px;
	display: block;
	width: 100%;
	height: 15px;
	background-image: linear-gradient(rgba(0,0,0,0.1) 0px, rgba(0,0,0,0)14px);
	background-repeat: no-repeat;
	content: "";
}
#menu ul.mainmenu {
	width: 1100px;
	margin: 0 auto;
	height: 60px;
	display: -webkit-box;
	display: -ms-flexbox;
	display:flex;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	list-style: none;
}
#menu ul.mainmenu li {
	flex: 1 0 auto;
	text-align: center;
	height: 60px;
	line-height: 60px;
	background-image: url(../img/menu/line.png) ;
	background-repeat: no-repeat;
	background-position: center right 1px;
}
#menu ul.mainmenu li a {
	display: block;
	color: #333;
	font-size: 15px;
}
#menu ul.mainmenu> li.current-menu-item> a,
#menu ul.mainmenu> li> a:hover {
	background: #012847;
	color: #fff;
	opacity: 1;
}
/**/
#menu li {
	position:relative;
	list-style: none;
}
#menu ul.mainmenu li ul {
	position: absolute;
	top: 100%;
	left: 0;
	margin: 0;
	display: none;
	width: 210px;
	padding: 15px;
	background: rgba(1,40,71,0.8);
}
#menu ul.mainmenu li ul li {
	height: auto;
	line-height: 30px;
}
#menu ul.mainmenu li:hover ul {
	display: block;
}
#menu ul.mainmenu li:hover ul li a {
	display: block;
	padding-left: 20px;
	color: #fff;
	text-align: left;
}
#menu ul.mainmenu li:hover ul li a:hover {
	color:rgba(255,255,255,0.8);
	opacity: 1;
}
/*--------------------------------------------------
  コンテナ
--------------------------------------------------*/
#container {
	overflow: hidden;
	text-align: left;
	line-height: 1.6;
}
#container p {
	margin-bottom: 1em;
}
#container p.nm {
	margin-bottom: 0;
}
#container h2.sub {
	position: relative;
	margin-bottom: 30px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e5e5e5;
	font-size: 29px;
	font-weight: normal;
	line-height: 1.3;
}
#container h2.sub::before {
	position: absolute;
	left: 0;
	bottom: -2px;
	display: block;
	width: 100px;
	border-bottom: 2px solid #012847;
	content: "";
}
#container h3.sub2 {
	position: relative;
	margin-bottom: 20px;
	padding-left: 10px;
	border-left: 7px solid #012847;
	color: #333;
	font-size: 23px;
	font-weight: normal;
	line-height: 1.3;
}
#container .post h3.sub2 {
	margin-bottom: 10px;
}
#container h3.sub3 {
	margin-bottom: 20px;
	padding: 10px 12px;
	background: #012847;
	color: #FFF;
	font-size: 22px;
	font-weight: normal;
	line-height: 1.3;
}
/*--------------------------------------------------
	メイン
--------------------------------------------------*/
#main {
	float: left;
	width: calc(100% - 275px);
}
/*--------------------------------------------------
	ナビ
--------------------------------------------------*/
#navi {
	float: right;
	width: 250px;
}
#navi p.link {
	margin-bottom: 20px;
}
#navi p.link a {
	display: block;
	border: 1px solid #012847;
}
#navi p.link a span {
	display: block;
	padding: 8px 10px;
}
#navi p.link a span.fs {
	color: #333;
	padding-top: 5px;
	padding-bottom: 0;
}
/**/
#navi p.link_offer {
	margin-bottom: 20px;
}
#navi p.link_offer a {
	display: block;
	padding: 15px;
	background: rgba(51, 51, 51, 0.50);
	border: 1px solid #012847;
	color: #fff;
	font-size: 16px;
}
/**/
#navi .list_link {
	margin-bottom: 20px;
	padding: 20px 25px 5px;
	background: #F2F2F2;
	text-align: center;
}
#navi .list_link li {
	margin-bottom: 15px;
	list-style: none;
}
#navi .list_link .channel {
	padding: 10px 10px 1px;
	background: #D0BAA7;
}
#navi .list_link .channel li {
	margin-bottom: 10px;
}
#navi .list_link .channel li:nth-child(2) {
	float: left;
	width: 48%;
}
#navi .list_link .channel li:nth-child(3) {
	float: right;
	width: 48%;
}
#navi .list_link .channel li:nth-child(4) {
	clear: both;
}
/*--------------------------------------------------
  フッタ
--------------------------------------------------*/
#footer {
	clear: both;
	width: 100%;
	background: #012847;
	box-shadow: 0px -3px 10px rgba(0,0,0,0.1);
	color: #FFFFFF;
	font-size: 12px;
	line-height: 20px;
}
#footer p {
	text-align: center;
}
/* リンク */
#footer ul {
	padding: 30px 0;
	border-bottom: 1px solid #999;
}
#footer ul li {
	display: inline;
	margin-right: 20px;
	padding-left: 20px;
	list-style: none;
}
#footer ul li a {
	color: #FFFFFF;
	font-size: 14px;
	text-decoration: none;
}
#footer ul li a:hover {
	text-decoration: underline;
}
/* コピーライト */
#copyright {
	padding: 20px 0;
}
/*--------------------------------------------------
  共通
--------------------------------------------------*/
/* パンくずリスト */
#page_navi {
	clear: both;
	margin-bottom: 40px;
	color: #999;
	font-size: 12px;
	background: #E5E5E5 ;
	box-sizing: border-box;
	height:33px;
	padding-left:10px;
}
#page_navi li {
	display: inline;
    line-height: 33px;
}
#page_navi li+li {
	margin-left: 6px;
}
#page_navi li+li:before {
	content: ">";
	margin-right: 6px;
}
#page_navi a { text-decoration: none; color: #888888; }
/* テーブル */
.tbl {
	width: 100%;
}
.tbl th,
.tbl td {
	padding: 10px;
	border: 1px solid #BBBBBB;
}
.tbl th {
	white-space: nowrap;
	background: #EEEEEE;
}
/* 注意書き */
p.attention {
	margin-left: 1em;
	text-indent: -1em;
}
