@charset "UTF-8";

body,tr,td,th {
	font-family: Meiryo, "lucida grande",'MS PGothic',sans-serif;
}

/* =======================================
共通部分
========================================== */
#header,
#nav,
#nav ul,
#container,
#content,
#footer-inner {
	width: 1060px;
}

/* お問い合わせ */
.contact_btn {
	width: 83px;
	height: 41px;
	border: 1px solid #11113C;
	border-radius: 4px;
	font-size: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
	margin-right: 8.5px;
}
.contact_us {
	width: 280px;
	font-size: 12px;
}
.contact_us span {
	font-size: 11px;
	letter-spacing: -1px;
	display: inline-block;
	line-height: 13px;
}
.contact_us div {
	font-size: 21px;
	font-weight: bold;
    line-height: 22px;
	position: relative;
}
.contact_us img.phone {
	width: 21px;
	margin-left: 6px;
}
.contact_us img.mail {
	width: 30px;
}
.contact_us a {
	color: inherit!important;
	text-decoration: none;
	display: inline!important;
}

/*==========================================
ヘッダー用
==========================================*/
#fix-header {
	position: fixed;
	width: 100%;
	background-color: #FFFFFF;
	z-index: 3;
}

#fix-header .campaign {
	background-color: #E06B1E;
	text-align: center;
	padding: 5px;
}

#fix-header .campaign a {
	color: white;
	font-size: 1.5em;
	text-decoration: none;
}

#fix-header .campaign a:hover {
	text-decoration: underline;
}

#header {
	margin: 0 auto;
	padding: 20px 0 18px;
}
#header h1 {
	display: none;
}
#header .logo {
	width: 290px;
	margin: 8px 0 4px -5px;
	padding: 0;
}
#header ul {
	display: flex;
	float: right;
}
#header li {
	margin-top: 20px;
}
.contact_us img img {
    height: 48px;
    width: 38px;
}
#header .btn_login {
	background-color: #E06B1E;
	border-radius: 4px;
}
#header .btn_login a {
	color: #FFFFFF;
	font-size: 16px;
	text-align: center;
	text-decoration: none;
	display: block;
	padding: 3px 23px;
}
#header .btn_login a.only-login {
	padding-top: 15px;
}
#header .btn_login a span {
	display: inline-block;
}
#header .btn_login a span:nth-of-type(1) {
	font-size: 10px;
}
#header .btn_login a hr {
	border: none;
	border-top: 1px solid #FFFFFF;
	margin: 3px 7px;
}
#header a:hover {
	opacity: 0.75;
}

.sp-header {
	display: flex;
}

.sp-header .contact_btn {
	background-color: #11113C;
	color: white;
	margin-left: 10.5px;
	width: 99px;
}

.sp-header .contact_us div {
	text-indent: 0;
}

/*==========================================
グローバルナビゲーション用
==========================================*/
#nav {
	margin: 0 auto;
}
#nav ul {
	display: flex;
    margin: 0 -2000px;
    padding: 0 2000px;
	list-style-type: none;
	background-color: #11113C;
}
#nav ul li {
	float:left;
	width: 100%;
	height: 42px;
	line-height:0;
    text-align: center;
}
#nav ul li {
	border-left: 2px solid #ffffff;
}
#nav ul li:last-of-type {
	border-right: 2px solid #ffffff;
}

#nav ul li a {
	text-decoration: none;
	display: block;
	font-size: 13px;
    padding: 14px 0;
    line-height: 14px;
	color: #ffffff
}
#nav ul li a:hover {
	opacity: 0.75;
}

#sp_nav {
	width: 600px;
	position: absolute;
    bottom: -8px;
    right: 0;
}
#menu-open,
#sp_nav {
	display: none;
}
#sp_nav {
	width: 460px;
	color: #ffffff;
	background-color: #005ABF;
	z-index: 6;
	position: fixed;
	right: 0;
	top: 78px;
}
img.menu {
	width: 40px;
	height: 40px;
	padding: 6px;
	border: 1px solid #E7E7E7;
	border-radius: 5px;
	background: #ffffff;
	position: fixed;
	top: 16px;
	right: 21px;
	z-index: 5;
	cursor: pointer;
}
#sp_nav ul {
	padding: 18px 0 18px 25px;
}
#sp_nav li {
	font-size: 16px;
	line-height: 26px;
	text-align: left;
}
#sp_nav a {
	color: #ffffff;
	text-decoration: none;
}
#sp_nav li:first-of-type a:last-of-type {
	float: right;
	margin-right: 24px;
}
#sp_nav li:nth-of-type(2) {
	font-size: 21px;
	font-weight: bold;
	text-align: center;
	margin: 0 0 5px -25px;
	padding: 10px 0 8px;
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
}
#sp_nav li:nth-of-type(2) a {
	margin: 0 7px 0 3px;
}

* html #nav {
margin:0 auto;
}

/*==========================================
コンテナー用(サイドとコンテンツの大枠)
==========================================*/
#container:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

#container {
	margin:0 auto 30px;
	padding: 16px 0 0;
	position:relative;
	clear:both;
	width:960px;
}


#main-img {
	margin-bottom:15px;
	text-align:center;
}

/*==========================================
パンくずリスト用
==========================================*/
.pan {
margin:0 0 15px;;
line-height:150%;
font-size:12px;
text-align:left;
clear:both;
}
.pan a {
    color: #333333;
	padding: 0 8px;
}
.pan a:first-of-type {
	padding-left: 0;
}

.pan a:link,.pan a:visited {
    text-decoration: underline;
    color: #333333;
}

.pan a:hover {
    text-decoration: none;
color:#1b79e3;
}

/* =======================================

サイド用(SSL時は外して下さい)

========================================== */

#footer {
	margin: 0 auto;
	width: 100%;
	background: #11113C;
	color: #FFF;
	font-size: 16px;
}

#footer-inner{
	padding: 50px 0 70px;
	width: 1050px;
	margin: 0 auto;
}

#footer-logo {
	float: left;
	width: 245px;
}

#footer p {
	clear: both;
	margin-bottom: 16px;
	text-align: center;
	line-height: 24px;
}

#footer a {
	color: #FFF;
	text-decoration: none;
}
#footer a:hover {
	color: #FFF;
	text-decoration: underline;
}

.footer01 {
	overflow: hidden;
	line-height: 1.7;
}

.copyright {
	color: #FFF;
	text-align: center;
}
.copyright-ja {
	margin-bottom: 8px;
	text-align: center;
	color: #FFF;
}

.pagetop {
	padding: 0 10px 10px 0;
	text-align: right;
	font-size: 12px;
}

/* =======================================
thanksページ
========================================== */
.finish {
    width:500px;
    margin:50px auto 100px auto;
    font-size:16px;
    padding:20px 0;
    text-align:center;
    border-top:1px solid #cccccc;
    border-bottom:1px solid #cccccc;
}

/* =======================================
Contents用
========================================== */

/* Contents*/
#content {
	float: right;
	position: relative;
	font-size: 13px;
	width: calc(100% - 260px);
	background-color: #ffffff;
	padding: 0;
	padding-bottom: 24px;
}
#content_l {
	position: relative;
	font-size: 13px;
	background-color: #ffffff;
	padding: 0;
	margin: 0;
	padding-bottom: 24px;
	display: contents;
}

#fullwide_content {
	width: 780px;
	margin: 10px auto;
	padding-bottom: 24px;
}
#fullwide_content_900 {
	width: 900px;
	margin: 10px auto;
	padding-bottom: 24px;
}

.mb10 { margin-bottom: 10px; }
.mb20 { margin-bottom: 20px; }
.mb30 { margin-bottom: 30px; }
.mb40 { margin-bottom: 40px; }

/*===============clear用==================*/
.clear { clear:both; }

.clearfix:after {
 content: ".";
 display: block;
 height: 0;
 clear: both;
 visibility: hidden;
}

.clearfix { display: inline-table; zoom:1; overflow:hidden;}

/* Hides from IE-mac \*/
* html .clearfix { height: 1%; overflow:visible;}
.clearfix { display: block; }
/* End hide from IE-mac */

/* ---------------------------------------------
        トップページ
--------------------------------------------- */

.position {
	position: relative;
}

dl.difference dt {
	margin: 0 0 10px;
}
dl.difference dd {
	margin: 0 0 30px;
	font-size: 14px;
	line-height: 1.4;
}

.contact_box {
	position: relative;
}
.contact_box p {
	position: absolute;
	left: 350px;
	top: 0;
}

form.register_melmaga input,
form.register_login input {
	width: 180px;
}

/* ---------------------------------------------
        コンテンツ
--------------------------------------------- */
#all {
	width:100%;
	overflow: hidden;
}

#all_inner {
	margin: 200px auto 20px;
}

#sp_nav {
	width: 100%;
	max-width: 460px;
	color: #ffffff;
	background-color: #005ABF;
	z-index: 6;
	position: fixed;
	right: 0;
	top: 72px;
}
img.menu {
	width: 40px;
	height: 40px;
	padding: 6px;
	border: 1px solid #E7E7E7;
	border-radius: 5px;
	background: #ffffff;
	position: fixed;
	top: 16px;
	right: 21px;
	z-index: 5;
	cursor: pointer;
}
#aside {
	width: 230px;
	float: left;
}
#aside h2 {
	margin: 20px 0 10px;
}
#aside .side-melmaga img {
	margin: 20px 0 10px;
}
#aside .side-melmaga div,
#aside .side-melmaga fieldset {
	padding: 0;
}
#aside + #content {
	width: calc(100% - 254px);
    float: right;
}

.top_banner {
	display: block;
	text-align: center;
}

@media (max-width: 1060px) {
	#nav ul {
		width: calc(100vw - 8px);
	}
	#nav ul li {
		font-size: 14px;
		width: calc((100vw - 8px) / 7);
	}
}

@media (max-width: 998px) {
	#all_inner,
	#nav,
	#container,
	#content{
		width: 100%;
		padding: 0 4px;
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}
	#all_inner {
		margin-top: 250px;
	}
	#nav {
		display: none;
	}
	#menu-open {
		display: block;
	}
	#header .btn_login,
	#header .btn_register {
		display: none;
	}
	#header {
		width: 100%;
		padding: 12px 8px 16px;
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}
	#header .logo {
		width: 260px;
	}
	#header .btn_login,
	#header .btn_register {
		margin-top: 18px;
		width: 100px;
	}
	#header .btn_login a,
	#header .btn_register a {
		font-size: 16px;
		padding: 14px 0;
	}
	.contact_us {
		width: 360px;
		font-size: 11px;
	}
	.contact_us span {
		font-size: 10px;
	}
	.contact_us div {
		font-size: 28px;
		line-height: 36px;
	}
	.contact_us img {
		width: 28px;
	}
	#nav ul {
		width: calc(100% - 8px);
	}
	#nav ul li {
		font-size: 14px;
		width: calc((100% - 8px) / 7);
	}
	#footer-inner {
		width: 100%;
		padding: 30px 0 20px;
	}
	.pan {
		margin-top: 5px;
		padding-top: 15px;
	}
	#fullwide_content,
	#fullwide_content_900 {
		width: 100%;
		margin: 10px 0;
	}
}

@media (max-width: 660px) {
	#sp_nav li {
		font-size: 14px;
		line-height: 24px;
	}
	#sp_nav li:nth-of-type(2) {
		font-size: 21px;
	}
	#header {
		height: 120px;
		position: relative;
	}
	#header .logo {
		width: calc(100% - 100px);
		max-width: 300px;
		margin-top: 26px;
	}
	#header ul{
		display: block;
		position: absolute;
		top: 6px;
		right: 86px;
	}
	#header li {
		margin-top: 0;
	}
	#header .contact_us {
		width: 100%;
		text-align: right;
		font-size: 10px;
	}
	#header .contact_us img {
		width: 16px;
	}
	.contact_us div {
		font-size: 16px;
		line-height: 20px;
		text-indent: 30px;
	}
}
