@charset "utf-8";
/* CSS Document */


body {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
#footer p a {
	color: #333;
	text-decoration: underline;
}
.bg-top #footer p a:visited {
	color: #066;
}


#header {
	background-color: #016A8A;
	margin-top: 0px;
	padding-top: 0px;
	text-align: center;
}

/* 新ヘッダー */
#header .wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 960px;
    height: 100px;
    margin: auto;
    color: white;
}
#header .wrap .hd_left{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 80px;
    border: 3px solid white;
    border-radius: 50%;
}
#header .wrap img{
    height: 46px;
}
#header .wrap .hd_center{
    margin-top: 1.5em;
    font-size: 24px;
	font-weight: bold;
}
#header .wrap .hd_center .limited{
    font-size: 18px;
    margin-right: 0.5em;
}
#header .wrap .hd_right{
    text-align: right;
}
#header .wrap .hd_right .catch{
    text-align: left;
	font-size: 14px;
}
#header .wrap .hd_right .hd_tel{
    font-family: "Arial Black";
    font-size: 24px;
}

#nav ul {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: solid;
	list-style-type: none;
	margin-right: auto;
	margin-left: auto;
	border-left-color: #CCC;
	border-left-width: 1px;
	overflow: hidden;
	height: 30px;
	background-color: #E6F5FD;
	padding: 5px;
	margin-top: 5px;
	margin-bottom: 5px;
	width: 960px;
}
#contents {
	padding: 5px;
	width: 960px;
	margin-right: auto;
	margin-left: auto;
	border: 1px solid #116158;
}
.bg-top #footer table {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}
#footer table tr td img {
	text-align: center;
}
#footer {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}
#footer3 {
	background-color: #016A8A;
}

/* 新foot1 */
#foot1{
    background-color: #79CBCB;
    padding: 10px 0px;
}
#foot1 .wrap{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    width: 960px;
    margin: 0 auto;
}
#foot1 .wrap div{
    width: fit-content;
    margin: 0 auto;
}
#foot1 .wrap .caption{
    color: white;
    font-size: 20px;
    margin-bottom: 5px;
}
#foot1 .wrap .ft_center{
    margin: auto;
}
#foot1 .wrap .ft_tel span{
    font-size: 24px;
}

#foot1 .wrap .ft_bt{
    all: initial;
    display: block;
    width: fit-content;
    margin: 10px auto;
    padding: 5px 15px 9px 15px;
    background-color: #016A8A;
    color: white;
    border-radius: 50px;
    user-select: none;
    cursor: pointer;
    transition: 0.3s;
}
#foot1 .wrap .ft_bt:hover{
    background-color: #016A8A55;
}

#nav ul li {
	float: left;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #666;
	text-align: center;
	padding-right: 15px;
	padding-left: 15px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}
ul li a:hover {
	color: #6CC;
	text-decoration: underline;
	background-color: #FFC;
	background-repeat: repeat-y;
}
#nav ul li a {
	line-height: 28px;
	text-decoration: none;
	color: #036;
}
#contents h2 {
	font-size: 20px;
	line-height: 35px;
	background-image: url(image/f2.jpg);
	background-repeat: no-repeat;
	background-position: center;
	text-align: center;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #036;
	font-weight: bold;
}
#nav ul a:active {
	color: #FFC;
	background-color: #69C;
}
.td-under {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #999;
}
#contents .table-line {
	border: 1px solid #999;
}
#contents #re-content {
	width: 700px;
}

.bg-top #nav {
	background-color: #E6F5FD;
}
#contents ul #sub {
	margin-bottom: 15px;
	margin-left: 0px;
	list-style-type: none;
	padding-left: 20px;
	float: right;
	clear: both;
	width: 220px;
	background-color: #FFC;
	position: static;
	height: auto;
	padding-bottom: 10px;
	border: 1px solid #999;
	line-height: 30px;
}
.bg-top #contents ul #sub h3 {
	font-size: 16px;
	color: #066;
	padding-bottom: 5px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #066;
	padding-top: 0px;
	margin-left: 0px;
	padding-left: 0px;
}
.bg-top #contents #re-content h3 {
	color: #066;
}
#contents h5 {
	font-size: 18px;
}
#re-content .table-line tr td p {
	font-size: 14px;
	line-height: 16px;
}
#re-content .table-line tr td h4 {
	font-size: 16px;
	color: #36C;
}


/* 新footer3 */
#footer3 {
    background-color: #016A8A;
    margin-top: 0px;
    padding-top: 0px;
    color: white;
    font-size: 18px;
}

#footer3 .wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 960px;
    height: 100px;
    margin: auto;
    color: white;
}
#footer3 .wrap .ft3_center{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 60px;
    border: 3px solid white;
    border-radius: 50%;
}
#footer3 .wrap .ft3_center img{
    height: 36px;
}