@charset "utf-8";

/* 共通設定 */

*{
    margin:0;
    padding:0;
    line-height:normal;
}


h1,h2,h3,h4,h5,h6{
	font-size:16px;
	font-weight:normal;
}
img{
	border:0;
}
a{
	color:#b07b39;
	text-decoration:underline;
}
a:hover{
	color:blue;
	text-decoration:underline;
}
#footer{
    clear: both;
    width: 100%;
    border-top: 1px solid #aaaaaa;
    text-align: center;
    background-color: #d8d8d8;
    padding: 20px 0 20px 0;
}
.center {
    text-align: center;
    padding: 15px 0;
}
.clear{
    clear:both;
}

/* ここからヘッダー */

.logo{
	width: 100%;
    margin: auto;
    padding-top: 5px;
    text-align: center;
}
.logo{
    margin: 17px 0 10px 0;
	width: 120px;
	float: left;
}
.logo_coment{
    margin: 24px 0 10px 20px;
	width: 250px;
	float: left;
    text-align: left;
}
.logo_coment h1{
	font-size: 12px;
	line-height: 160%;
}
.logo_coment p{
	font-size: 12px;
	line-height: 160%;
}
#gnavi{
	margin: 0 0 0 0;
}
#gnavi ul{
	width: 970px;
	height: 46px;
	background: url("../img/gnavi.gif") no-repeat 0 0;
	clear: both;
}
#gnavi ul li{
	width: 95px;
	height: 46px;
	float: left;
	list-style: none;
	text-indent: -9999px;
}
#gnavi ul li a{
	display: block;
	width: 95px;
	height: 46px;
}
#gnavi ul li.gmenu01 a:hover, #gnavi ul li.gmenu01 a#current{
	background: url("../img/gnavi.gif") no-repeat 0% -46px;
}
#gnavi ul li.gmenu02 a:hover, #gnavi ul li.gmenu02 a#current{
	background: url("../img/gnavi.gif") no-repeat -95px -46px;
}
#gnavi ul li.gmenu03 a:hover, #gnavi ul li.gmenu03 a#current{
	background: url("../img/gnavi.gif") no-repeat -190px -46px;
}
#gnavi ul li.gmenu04 a:hover, #gnavi ul li.gmenu04 a#current{
	background: url("../img/gnavi.gif") no-repeat -285px -46px;
}
#gnavi ul li.gmenu05 a:hover, #gnavi ul li.gmenu05 a#current{
	background: url("../img/gnavi.gif") no-repeat -380px -46px;
}


#headerpost{
    background-color: #333333;
    background: #ede8e8;
    background: linear-gradient(#d7d1d8, #f3f2f6);
    overflow: hidden;
}
#headerpost img{
	float: left;
    height: 200px;
    width: 670px;
    background-position: left bottom;
    vertical-align: bottom; 
}
#headerpost #lead{
    float: left; 
    width: 380px;
    color: #333;    
}
#headerpost h2{
    margin: 10px 0 0 10px;
    font-size: 20px;
    font-weight: bold;
    color:#000;
}
#headerpost p{
    margin: 0 10px 10px 10px;
    font-size: 14px;
}
.pankuzu{
	padding: 10px 0 0 0;
}
.pankuzu p{
	font-size: 11px;
	margin: 0px;
}
.pankuzu p a{
	font-size: 11px;
	margin: 0px;
}
.sp_ad {
    widht: 100%;
    margin: 10px 0;
}

/* ここからコンテナ */

/* ここからメイン */

.post{
    float: left;
    width: 345px;
    margin-right: 10px;
    margin-bottom: 15px;
	background: white;
    border: solid 1px #aaaaaa;
}
.post:nth-child(even){
    margin-right: 0;
}
.post + .post + .post +.post{
    margin-right: 0;
}
.head{
    float: left;
    background-color: #b07b39;
    width: 5px;
    height: 37px;
    margin: 0 10px 5px 0;
}
.post h2{
    font-size: 18px;
    border-bottom: solid 1px #aaaaaa;
    margin: 6px 0 15px;
    padding: 0 0 3px;
}
.post p img{
    float: left;
    margin-right: 10px;
    clear: left;
}
.post p{
	font-size: 14px;
    line-height: 1.6;
    margin: 0;
    clear: left;
}
.post .more{
    text-align: right;
    color: #888888;
    clear: none;
}
.post a{
    display: block;
    padding: 10px;
    overflow: hidden;
    color: #000000;
    text-decoration: none;
}
.post a:hover{
    background-color: #f0f0f0;
}
.ad_index_main{
	width: 704px;
    height: 300px;
	padding: 10px;
	margin-bottom: 15px;
	background-color: #ffffff;
	text-align: center;
	border: 1px solid #aaaaaa;
    float: left;
    box-sizing: border-box;
}
.image{
	width: 336px;
	height: 280px;
	float: left;
	margin-right: 10px;
}
.image:nth-child(even){
    margin-right: 0;
}

.link{
	width: 200px;
    margin-left: 25px;
	float: left;
}
.link ul li{
    margin-bottom:15px;
    list-style:none;
}
table.link td{
    padding-bottom: 15px;
}
.news{
	width: 658px;
	border: 1px solid #aaaaaa;
	float: left;
	margin-bottom: 15px;;
}
.news_container{
	padding: 1px 5px 5px 5px;
}
table.news_container{

}
table.news_container td{
	width: 628px;
}

.jiten{
	width: 100%;
	margin-bottom: 15px;
}
.jiten h3{
    font-size:20px;
    border-left:5px solid #b07b39;
    padding-left:10px;
    
}
.jiten_container{
    width:100%;
}
table.jiten_container{
	border-collapse:collapse;
    margin-top:5px;
    width:100%;
}
.jiten_container th{
	padding: 6px;
	border-width: 1px;
	border: 1px solid #cccccc;
	border-collapse: cllapse;
	border-spacing: 0px;
	background-color: #f0f0f0;
    width:80px;
}
.jiten_container td{
	font-size: 14px;
	padding: 6px;
	border-width: 1px;
	border: 1px solid #cccccc;
	border-collapse: cllapse;
	border-spacing: 0px;
}


/* ここからサブ */

.ad{
    width: 336px;
    height: 280px;
    margin-bottom: 10px;
}
.ad_bottom{
	padding: 15px;
    background-color: #ffffff;
    margin-bottom: 10px;
    border: 1px solid #aaaaaa;
}
.menu{
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #aaaaaa;
}
.menu h3{
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px;
    color: #b07b39;
}
.menu ul{
    margin: 0;
    padding: 0;
    border-top: dotted 1px #aaaaaa;
}
.menu li{
    margin-bottom: 0;
    list-style-type: none;
    background: url("../img/menu_list.gif") 5px 17px;
    background-repeat: no-repeat;
    border-bottom: dotted 1px #aaaaaa;
    text-indent: 20px;
}
.menu li a{
    display: block;
    font-size: 14px;
    text-decoration: none;
    color: #484848;
	padding: 10px 0 10px 0;
    background: url("../img/menu_list.gif") 5px 17px;
    background-repeat: no-repeat;
}
.menu li a:hover{
    background-color: #f0f0f0;
}

/* ここからフッター */

.footer_menu{
    font-size: 12px;
    margin: 0 0 20px 0;
}
.footer_menu li{
    display: inline;
    border-right: 1px solid #aaaaaa;
    padding: 0 10px 0 10px;
}
.footer_menu li:last-child{
    border-right: none;
}
.copy{
	font-size: 11px;  
}



/* ここからページごとのメイン */

.pages_head{
    background: url("../img/pages_menu.gif");
    background-repeat: no-repeat;
	width: 704px;
    height: 134px;
    padding: 0 0 15px 0;
}
.pages_head h2{
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    padding: 45px 0 0 30px;
}
.pages_head p{
	font-size: 12px;
	padding: 2px 0 0 32px;
}
.pages_content{
	padding: 20px;
	background-color: #ffffff;
	border: solid 1px #a1a1a1;
}
.pages_content h3{
	font-weight: bold;
	font-size: 20px;
    border-bottom: solid 1px #aaaaaa;
    border-left: 3px solid #b07b39;
    margin: 6px 0 5px;
    padding: 5px 0 5px 10px;
}
.pages_content h4{
	font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    margin-top: 5px;
}

.update{
    text-align:right;
    margin:0 0 10px 0;
}
.update p{
    font-size:80%;
    color:#666;
}
.simulation{
    width:100%;
    padding:10px;
    font-size:85%;
    background:#fff5ef;
    box-sizing:border-box;
}
.pages_content p{
    line-height: 200%;
}
.pages_content span{
    font-weight: bold;
	color:red;
}
.ad_main{
	margin: 0 auto;
	margin-top: 30px;
    margin-bottom: 30px;

}
.ad_main_link{
    width: 100%;
    margin-bottom: 20px;
}
table.pages_content_coment{
	margin: 20px 0 20px 0;
	width: 100%;
	border: 1px solid #cccccc;
	border-collapse: cllapse;
	border-spacing: 0px;
	border-width: 1px;
    background:#f7f7f7;
}
table.pages_content_coment td{
	padding: 8px;
    line-height: 200%;
    border: 1px solid #cccccc;
	border-collapse: cllapse;
	border-spacing: 0px;
	border-width: 1px;
    font-size: 12px;
}

table.tiiki_table, table.taisyoku_table {
    border: 1px solid #a1a1a1;
    border-collapse: collapse;
    margin: 0 0 20px 0;
    width: 100%;
}
table.tiiki_table tr:nth-child(2n), table.taisyoku_table tr:nth-child(2n) {
    background: #f7f7f7;
}
table.tiiki_table th, table.taisyoku_table th {
    padding: 15px;
    border-bottom: 1px solid #a1a1a1;
    width: 120px;
    font-size: 90%;
}
table.tiiki_table td, table.taisyoku_table td {
	padding: 15px;
    border-bottom: 1px solid #a1a1a1;
    border-left: 1px solid #a1a1a1;
    font-size: 90%;
}





/* 国保の計算テーブル */
.tablenews{
	border: 1px solid #cccccc;
	border-collapse: collapse;
}
.tablenews th{
	border: 1px solid #cccccc;
	border-collapse: collapse;
	padding: 8px;
	background-color: #eeeeee;
}
.tablenews td{
	border: 1px solid #cccccc;
	border-collapse: collapse;
	padding: 8px;
    line-height: 200%;
}

/* 計算フォーム内 */
#keisan{
    overflow: hidden;
}
.keisan_section {
	border-top: 3px solid #8dc63f;   
    padding: 20px 0 10px 0;
    overflow:hidden;
}

.keisan_section h5 {
	float: left;
    font-weight: bold;
    font-size: 110%;
}
.keisan_section span {
    float: right;
    color: #666;
    font-size: 70%;
    font-weight: normal;
    cursor:pointer;
}
#help_1_close, #help_2_close, #help_3_close, #help_4_close {
	color: #666;
    font-size: 70%;
    font-weight: normal;
    cursor: pointer;
}


#keisan h6 {
	margin-top: 10px;
    background: #999;
    color: #fff;
    padding: 5px;
    font-size:14px;
}
#keisan input[type=text], #keisan select{
    margin: 10px 0 5px 0;
    padding: 3px;
    font-size: 16px;
    text-align: right;
    background: #ffffcc;
}
#keisan label{
	font-size: 14px;
    cursor: pointer;
    display: inline-block;
}
#keisan label input[type="radio"]{
    margin: 10px 0 10px 10px;
}
.comment {
    font-size: 80%;
}

.help_div {
    display:none;
    margin-top:10px;
}
table.help_table{
}
table.help_table tr:nth-child(odd) {
    background: #f7f7f7;
}
table.help_table th{
	font-size: 75%;
    font-weight: bold;
    width: 120px;
    padding: 5px;
    vertical-align:top;
}
table.help_table td {
	font-size: 75%;
    padding: 5px;
}

/* 計算入力フォーム（form2 = form td 内のtable） */
table.form, table.form2{
	margin: 10px 0;
    padding: 3px;
    font-size: 100%;
    border-collapse:collapse;
    border:1px solid #a1a1a1;
    width: 100%;
    margin-bottom: 30px;
}
table.form2 {
	margin-bottom: 10px;
}
table.form tr:nth-child(2n) , table.form2 tr:nth-child(2n){
    background : #f7f7f7;
}
table.form th, table.form2 th {
	width: 150px;
    font-size: 75%;	
    padding: 15px 5px;
    border-bottom: 1px solid #a1a1a1;
    font-weight: bold;
}
table.form2 th {
	font-size:90%;
    width:50%;
}
table.form td, table.form2 td {
	padding: 15px 10px;
    border-bottom: 1px solid #a1a1a1;
    border-left: 1px solid #a1a1a1;
    font-size: 75%;;
}
table.form td p {
	font-size: 85%;
}
table.form2 td {
	font-size: 90%;
    text-align: right;
}
table.form td input[type=text], table.form2 td input[type=text]{
    margin: 0 !important;
}
.unit{
    display:inline;
    font-size:12px;
}
.link_a{
    width:100%;
    text-align:center;
    margin:20px 0 30px 0;
}
.link_a a{
    display:block;
    width:220px;
    padding:5px 10px;
    border:1px solid #aaa;
    text-decoration:none;
    margin:0 auto;
    border-bottom:3px solid #aaa;
}
.link_a a:hover{
    text-decoration:none;
    color:#b07b39;
    opacity:0.7;
}

/* 計算ボタン */
.keisan_button{
    margin-top:20px;
}
.send_button {
    margin: 0 auto;
    display: block;
    width: 320px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    position: relative;
    background: #66cf5a;
    background: -moz-linear-gradient(top,#66cf5a 0,#48ae3a 100%);
    background: -webkit-linear-gradient(top,#66cf5a 0,#48ae3a 100%);
    background: linear-gradient(to bottom,#66cf5a 0,#48ae3a 100%);
    border: 1px solid #4ba82f;
    border-radius: 6px;
    -moz-box-shadow: 0 -1px 0 #478d36 inset;
    -webkit-box-shadow: 0 -1px 0 #478d36 inset;
    box-shadow: 0 -1px 0 #478d36 inset;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    font-size: 18px;
}

/* 計算結果（result） */
table.result {
    border: 3px solid #eb8909;
    width: 100%;
    margin: 20px 0;
}
table.result th {
	width: 70px;
	font-size: 100%;
    background: #ffefdb;
    padding: 10px;
    font-weight: bold;
}
table.result td {
	font-size: 120%;
	padding: 10px;
    text-align: right;
}
table.result td span {
    font-size: 140%;
    font-weight: bold;
}


/* 試算結果（detail） */
p.keisan_detail_head {
	margin: 3px 0;
	padding: 0 3px 0 10px;
    border-left: 2px solid #005db5;
    font-weight: bold;
}
table.detail {
    margin-bottom: 20px;
    border: 1px solid #a1a1a1;
    border-collapse: collapse;
    width: 100%;
}
.goukei {
    background: #daedf2;
    font-weight: bold;
}
table.detail th {
	width: 120px;
    padding: 3px;
    font-size: 70%;
    border-bottom: 1px solid #a1a1a1;
}
table.detail td {
	padding: 3px;
    font-size: 70%;
    border-bottom: 1px solid #a1a1a1;
    border-left: 1px solid #a1a1a1;
    text-align: right;
}
.reference{
	position: relative;
    margin: 46px 0 30px;
    padding: 10px 10px;
    border: 2px solid #df8182;
    background-color: #fffbf5;
}
.reference:before{
	position: absolute;
    bottom: 100%;
    left: -2px;
    padding: 2px 6px;
    content: "こちらもおススメ";
    background-color: #df8182;
    color: #fff;
    font-weight: bold;
    font-size: 80%;
}
