/***************

  目次

  01 default
  02 link
  03 headline
  04 header
  05 nav
  06 contents
  07 table
  08 footer

***************/


/***************************
  01 default
****************************/

body {
	font-family: "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 14px;
	background: #FFFFFF url() 0 0 no-repeat;
	color: #000000;
	margin: 0;
	padding: 0;
}
.wrap {
	width:800px;
	margin:0 auto;	
	overflow: hidden;
}
p {
	margin: 0 0 10px 0;
	color:555;
}
img {
	box-sizing:border-box;
}

/***************************
  02 link
****************************/

a:link    { color: #11c; } /*未訪問のリンクの色*/
a:visited { color: #66F; } /*訪問済みのリンクの色*/
a:hover   { color: #F00; } /*カーソルが乗っているリンクの色*/
a:active  {	color: #f00; } /*クリック中のリンクの色*/
a:hover img { opacity:0.5; }

/***************************
  03 headline
****************************/

h1 {
	margin-top:27px;
}

h2 {
	font-size: 22px;
	font-weight: bold;
	margin: 0 0 5px 0;
	color:#555;
}

/***************************
  04 header
****************************/

header {
	border-top:5px #036 solid;
	padding: 0;
	margin: 0 auto 20px ;
}
header #header-l {
	float: left;
	width: 300px;
	height:100px;
}
header #header-r {
	float: right;
	width: 500px;
	margin-top:40px;
}
header #header-info {
	float:left;
	text-align:right;
	font-weight:bold;
	font-size:11px;
	color:#555;
	line-height:15px;
	width:200px;
}
header #header-tel {
	float: right;
	font-size:32px;
	font-weight:bold;
	color:#b40000;
	background:url(../img/all_tel_o.png) no-repeat  ;
	padding:0 0 0 37px;
	line-height:35px;
	letter-spacing: -1px;
	text-decoration:none;
}

/***************************
  05 nav
****************************/

#gnav {
	width: 100%;
	height: 50px;
	background:#004da1;
}
#gnav ul {
	width: 800px;
	margin: 0 auto;
	padding: 0;
}
#gnav ul li {
	position: relative;
	width: 20%;
	text-align: center;
	float: left;
	list-style-type: none;
	box-sizing: border-box;
	-moz-box-sizing: border-box;

}
#gnav ul li+ li {
	border-left: 0;

}
#gnav ul li a {
	color: #fff;
	font-size: 16px;
	line-height: 50px;
	display: block;
	text-decoration: none;
}
#gnav ul li a:hover, #gnav ul li a:focus {
	background: #1484b8;
}

/***************************
  06 contents
****************************/

section {
	margin-bottom: 20px;
	overflow: hidden;
	clear: both;
}



.box-left {
	float: left;
	width: 385px;
}
.box-right {
	float: right;
	width: 385px;
}


.box-flow {
}


.box2 ul {
	margin:0;
	padding-left:0;
}
.box2 li {
	list-style:none;	
	margin:0 30px 20px 0;
	width:385px;
	float:left;
}
.box2 li:nth-child(2n) {
	margin-right:0;
}

.box3 ul {
	margin:0;
	padding-left:0;
}
.box3 li {
	list-style:none;	
	margin-right:25px;
	width:250px;
	float:left;
}
.box3 li:nth-child(3n) {
	margin-right:0;
}


.plan-info {
	background: #507ba9;
	padding:5px 10px;
	color:#FFF;
}
.img-border img {
	border: 5px solid #e0e0e0;
}
#privacy dt {
	font-size:16px;
	margin-bottom:10px;
}
#privacy dd {
	margin-bottom:30px;
}

/***************************
  07 table
****************************/

table.form-contact {
    width: 100%;
    margin: 0 auto 20px;
    border-collapse: separate;
    border-spacing: 0px 15px;
    font-size: 12px;
}
 
table.form-contact th,
table.form-contact td {
    padding: 10px;
}
 
table.form-contact th {
    background: #295890;
    vertical-align: middle;
    text-align: left;
    width: 170px;
    overflow: visible;
    position: relative;
    color: #fff;
    font-weight: normal;
    font-size: 15px;
}
 
table.form-contact th:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-left-color: #295890;
    border-width: 7px;
    margin-top: -10px;
}
/* firefox */
@-moz-document url-prefix() {
    table.company th::after {
        float: right;
        padding: 0;
        left: 30px;
        top: 10px;
        content: " ";
        height: 0;
        width: 0;
        position: relative;
        pointer-events: none;
        border: 10px solid transparent;
        border-left: #295890 10px solid;
        margin-top: -10px;
    }
}
 
table.form-contact td {
    background: #f8f8f8;
    width: 360px;
    padding-left: 20px;
}

input[type="text"], textarea {
	border:1px #CCC solid;
}
input[type="submit"] {
	padding:10px 20px;
}



/***************************
  08 footer
****************************/

footer {
	clear: both;
	background: #004da1;
	padding: 7px 0 10px;
	text-align: center;	
}
footer .copyright {
	font-size: 13px;
	color: #fff;
	margin: 0 auto;
	width: 800px;
	padding:10px 0 0 0;
}
footer ul {
	margin-bottom:0;
	padding:0;
	font-size:14px;
}
footer li {
	display:inline-block;
	padding:0 20px;
	border-right:1px #FFF solid;
}
footer li:last-child {
	border:0;
	margin-right:0;
}

#contact-area {
	background: #FFF url(../img/all_footer_bg_o.jpg) no-repeat center;
	padding:30px;
}

footer li a:link    { color:#FFF; text-decoration:none; }
footer li a:visited { color: #FFF; } 
footer li a:hover   { color: #F00; } 
footer li a:active  { color: #f00; } 