@charset "utf-8";

#topMenu,
.pc_mode{
	display:none !important;
}

html, body, div, span, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,abbr, address, cite, code,del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,b, i,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin:0;
	padding:0;
	border:0;
	vertical-align:baseline;
	background:transparent;
	list-style-type:none;
	font-size: 16px;
	color: #333;
	font-family: "ヒラギノ角ゴ Pro W3",Hiragino Kaku Gothic Pro,"メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
	line-height: 1.8em;
}

*{
	outline:none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.alignleft{
	text-align:left;
}

.aligncenter{
	text-align:center;
}

.alignright{
	text-align:right;
}

a{
	color:#333;
	text-decoration: none;
}

a:visited {
}

a:link {
}

a:hover{
}
body{
	background: #fafbf4;
}

.notice{
	font-size: 0.8em;
	color: #ff0000;
}
#wrapper{
	box-sizing: border-box;
	width: 100%;
	margin: 0 auto;
}
main{
	box-sizing: border-box;
	border: solid 10px #59a459;
	border-radius: 10px;
	background: #fff;
}

/* ************************************************** */
/* ヘッダー */
/* ************************************************** */

#keisanki_header{
	background-size:100%;
	position: relative;
}
#keisanki_header ul{
	box-sizing: border-box;
	width: 100%;
}
#keisanki_header li{
	box-sizing: border-box;
	text-align: left;
}
#keisanki_header_left{
	position: relative;
	width: 100%;
}
#keisanki_header_right{
	position: relative;
	border:solid 2px #e8d290;
	width:93%;
	margin:10px auto;
	padding:2%;
	border-radius:6px;
}
#keisanki_header_right:before{
	content:"";
	width: 0;
	border-left: solid 2px #ccc;
	position: absolute;
	top: 0;
	left: -14px;
}
#keisanki_header_left p{
	font-size: 12px;
	text-align:center;
}
#keisanki_header_right p{
	font-size: 14px;
	line-height: 2em;
}
#keisanki_header_right span{
	font-size: 18px;
	font-weight: bold;
	letter-spacing: 0.1em;
	padding: 2px 0;
	background: #127d12;
	color: #fff;
	display:block;
	width:auto;
	text-align:center;
	border-radius:5px;
}

#g_title{
	font-size: 33px !important;
	font-weight: bold !important;
	color: #127d12;
	letter-spacing: 0.1em;
	text-align:center;
	
}

/* ************************************************** */
/* 結果表示・入力フォーム共通 */
/* ************************************************** */
.section_result, .section_keisan{
	width:95%;
	margin:5px auto;
}
.section_result h1, .section_keisan h1{
	font-size: 24px;
	color: #127d12;
}
.keisan_inner{
	border: solid 2px #ccc;
	border-radius: 10px;
}


/* ************************************************** */
/* 結果表示 */
/* ************************************************** */
.section_result h2{
	font-size: 16px;
	color: #d20000;
	background: #f7eeee;
	border-radius: 12px;
	padding-left: 20px;
}
.section_result h3{
	color: #10b05b;
	margin: 10px 0 0 0;
}
#result{
	vertical-align: middle;
	width: 100%;
	height: 100px;
	background: #feffe8;
	border-radius: 12px;
	border: solid 1px #ccc;
}
#result p{
	width: 100%;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
}

/* ************************************************** */
/* 入力フォーム */
/* ************************************************** */
.sub_header{
	position: relative;
	width: 100%;
/*
	background:url(../img/sub_header_bg.png) 0 0 no-repeat transparent;
*/
}
.sub_header p{
	position: relative;
}
.sub_header_01{
	text-align:center;
	font-size: 24px;
	font-weight: bold;
	color: #fff !important;
	transform: rotate(-2.5deg);
	-moz-transform: rotate(-2.5deg);
	-webkit-transform: rotate(-2.5deg);
	display: block;
	width:95%;
	margin:20px auto 10px;
	background:#DFCD26;
	z-index:2;
}

.sub_header_01:before{
	content:"";
	width:100%;
	height:44px;
	transform: rotate(-2.5deg);
	-moz-transform: rotate(-2.5deg);
	-webkit-transform: rotate(-2.5deg);
	position:absolute;
	z-index:-2;
	left:0;
	background:#D20000;
}

.sub_header_02{
	font-size: 18px;
	font-weight: bold;
	width:95%;
	margin:10px auto;
}

.division_title{
	font-size: 20px;
	font-weight: bold;
	color: #127d12;
	margin: 10px 0;
	border-bottom: solid 1px #127d12;
}

/* ************************************************** */
/* 慰謝料計算機・入力フォーム */
/* ************************************************** */
#isyaryou_calc ul{
	position: relative;
	margin-bottom:30px;
}

#isyaryou_calc ul li{
	text-align: center;
	padding: 4% 2%;
	width: 100%;
	box-sizing:border-box;
}

#isyaryou_calc select{
	height: 50px;
	background: #feffe8;
	border: solid 2px #555;
	width: 80%;
	padding:0 15px;
	box-sizing:border-box;
	display:block;
	margin:auto;
}

#isyaryou_calc select:focus{
	border: solid 2px #c22;
	background: #fff;
}

#isyaryou_calc p{
	color: #127d12;
	font-size: 24px;
	font-weight: bold;
}

/* ************************************************** */
/* 養育費／婚姻費用・入力フォーム */
/* ************************************************** */
#form_calc select{
	padding:10px 15px;
	background: #feffe8;
	border: solid 2px #555;
}

#form_calc input[type="number"]{
	background: #feffe8;
	border: solid 2px #555;
	padding:10px 15px;
	box-sizing:border-box;
	width:60%;
}
#husband_salary, #wife_salary{
}
#form_calc table{
	width: 100%;
	border-collapse:separate;
	border-spacing: 20px;
}

#form_calc table{
}

#form_calc table th{
	width:100%;
	display:inline-block;
	font-size:24px;
	color:#575;
}

#form_calc table td{
	position: relative;
	border-bottom: dotted 2px #ccc;
	width:100%;
	display:inline-block;
	text-align:center;
	padding-bottom:20px;
}

.err_mes li{
	color: #f22;
}

#form_calc .job_category{
	overflow:hidden;
	padding:10px;
	box-sizing:border-box;
}

#form_calc .job_category li{
	display: block;
	text-align:center;
	width:50%;
	float:left;
}

#form_calc .child_num li{
	margin-bottom:10px;
}

#form_calc p{
	color: #127d12;
	font-size: 24px;
	font-weight: bold;
}


/* ************************************************** */
/* サブミット */
/* ************************************************** */
#keisan_submit{
}

#submit_area{
	position: relative;
	width: 90%;
	margin:20px auto;
}

.submit_button{
	position:relative;
	color: #fff;
	font-size: 24px;
	font-weight: bold;
	height: 70px;
	width:100%;
	background: #10b05b;
	-webkit-box-shadow: 5px 5px 0px 0px rgba(168,168,168,1);
	-moz-box-shadow: 5px 5px 0px 0px rgba(168,168,168,1);
	box-shadow: 5px 5px 0px 0px rgba(168,168,168,1);
	margin:auto;
}
#submit_area:after{
	position: absolute;
	content: "";
	width:12px;
	height:12px;
	border-top:solid 4px #fff;
	border-right:solid 4px #fff;
	transform:rotate(45deg);
	top: 28px;
	right: 15px;
	
}

/* ************************************************** */
/* 免責事項 */
/* ************************************************** */
#menseki{
	font-size: 0.8em;
	margin: 20px 0;
	color: #127d12;
}

/* ************************************************** */
/* フッター */
/* ************************************************** */
footer{
	width: 100%;
	min-height: 100px;
	background: #127d12;
	padding: 10px 0;
}
#footer_inner{
	width: 100%;
	margin: 20px auto;
}
#footer_left{
	width: 100%;
	display: inline-block;
	vertical-align: top;
}

#footer_right{
	position: relative;
	width: 290px;
	margin: 10px auto;
	text-align:center;
}

#footer_right li{
	color: #fff;
}

#footer_text li{
	display: inline-block;
	font-size: 0.9em;
	color: #fff;
	letter-spacing: 0.2em;
	padding: 0 0 0 10px;
}
#footer_text li:first-child{
	font-size: 0.9em;
	font-weight: bold;
	color: #127d12;
	background:#fff;
	border-radius: 10px;
	padding: 0 20px;
}
#footer_tel{
	margin: 10px auto;
	width:95%;
}
#footer_tel>li{
	position: relative;
	display: inline-block;
	color: #fff;
}
#telnumber{
	font-size: 50px;
	line-height: 1em;
}
#telnumber:before{
	content: url(../img/icon_tel.png);
}
#uketsuke li{
	line-height: 1.5em;
	font-size: 0.8em;
	color: #fff;
}
#uketsuke{
	display: inline-block;
}
#soudan_muryo{
	position: relative;
	display: inline-block;
	font-size: 14px;
	line-height: 1.3em;
	border-radius: 50%;
	margin: 0 20px;
	color: #fff;
	top: -2px;
}
#soudan_muryo:after{
	position: absolute;
	width: 50px;
	height: 50px;
	content:'';
	border: solid 2px #ccc;
	border-radius: 50%;
	top: -10px;
	left: -12px;
}

.toi_btn{
	font-size: 14px;
	line-height: 50px;
	font-weight: bold;
	text-align: center;
	letter-spacing: 0.2em;
	color: #fff;
	height: 50px;
	border-radius: 4px;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.50, #025302), color-stop(0.50, #004300));
	background: -webkit-linear-gradient(top, #025302 50%, #004300 50%);
	background: -moz-linear-gradient(top, #025302 50%, #004300 50%);
	background: -o-linear-gradient(top, #025302 50%, #004300 50%);
	background: -ms-linear-gradient(top, #025302 50%, #004300 50%);
	background: linear-gradient(to bottom, #025302 50%, #004300 50%);
}
.toi_btn:hover{
	opacity: 0.8;
}
#toi_form li a{
	display: block;
}

#about{
	font-size: 0.8em;
	text-align: center;
}
#about a{
	letter-spacing: 0.1em;
	text-decoration: underline;
}
#about a:link{ color: #0000ff; }
#about a:hover{ color: #d20000; }
#about a:active{ color: #d20000; }
#about a:visited{ color: #990099; }

.copyright{
	font-size: 0.8em;
	font-style: normal;
	color: #fff;
	text-align: center;
	padding: 10px 0;
	background: #127d12;
}

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

input[type=radio]{
	display: inline-block;
	margin-right: 6px;
}
input[type=radio] + label{
	position: relative;
	display: inline-block;
	margin-right: 12px;
	line-height: 1.5px;
	cursor: pointer;
}
 
@media (min-width: 1px) {
	input[type=radio]{
		display: none;
		margin: 0;
	}
	input[type=radio] + label{
		padding: 0 0 0 40px;
	}
	input[type=radio] + label::before{
		content: "";
		position: absolute;
		top: 50%;
		left: 0;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		display: block;
		width: 31px;
		height: 31px;
		margin-top: -19px;
		background-color: white;
	}
	input[type=radio] + label::before {
		border: 2px solid #ccc;
		border-radius: 30px;
	}
	input[type=radio]:checked + label::after{
		content: "";
		position: absolute;
		top: 50%;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		display: block;
	}
	input[type=radio]:checked + label::after {
		left: 8px;
		width: 15px;
		height: 15px;
		margin-top: -11px; 
		background: #b70707;
		border-radius: 10px;
	}
}

