@charset "utf-8";

div#contents div.item {
	width: auto;
	padding: 10px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-bottom-width: 1px;
	border-bottom-color: #B9DAEC;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

div#contents form#myForm {
	margin-bottom: 30px;
	margin-top: 10px;
}

div#contents table#age {
	margin-bottom: 10px;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 0px;
	font-size: 116%;
	color: #FFFFFF;
	background-color: #db8287;
	width: 100%;
}

div#contents table#age th {
	padding: 5px;
	width: 230px;
}

div#contents table#age td {
	padding: 5px;
	width: 50px;
	text-align: center;
}

div#contents table#age td#ageResult {
	color: #FF0000;
	background-color: #ffffff;
	width: auto;
	text-align: left;
}

/* 住宅ローン試算表 */

#contents input.right {
	padding-right:1px;
	text-align: right;
}

/* 計算ボタン領域 */
div#calc_button {
	width: 700px;
	text-align: center;
	margin-bottom: 20px;
}

/* 入力用テーブル */
table#input_data {
	width: 710px;
	margin-bottom: 20px;
	margin-left: 0px;
	font-size: 116%;
}

table#input_data caption {
	text-align: left;
	margin: 0px;
	padding: 0px;
}

table#input_data td {
	width: 130px;
	font-size: 100%;
	font-weight: normal;
	text-align: right;
	vertical-align: middle;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #B9DAEC;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #B9DAEC;
	padding: 5px;
	white-space: normal;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #B9DAEC;
}

table#input_data td.left {
	text-align: left;
}

table#input_data th {
	width: auto;
	font-size: 100%;
	font-weight: normal;
	text-align: center;
	vertical-align: middle;
	padding: 5px;
	background-color: #ecf5fa;
	white-space: nowrap;
	border: 1px solid #B9DAEC;
}

table#input_data th.head {
	font-size: 100%;
	font-weight: normal;
	text-align: center;
	vertical-align: middle;
	padding: 5px;
	background-color: #ecf5fa;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #B9DAEC;
	border-bottom-color: #B9DAEC;
	white-space: nowrap;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #B9DAEC;
}

p.arrow-result {
	text-align: center;
}

/* 計算結果用テーブル */
table#result {
	width: 710px;
	margin-bottom: 10px;
	margin-left: 0px;
	font-size: 116%;
}

table#result caption {
	text-align: left;
	margin: 0px;
	padding: 0px;
}

table#result td {
	width: 220px;
	font-size: 100%;
	font-weight: normal;
	text-align: right;
	vertical-align: middle;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #B9DAEC;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #B9DAEC;
	padding-top: 25px;
	padding-right: 15px;
	padding-bottom: 25px;
	padding-left: 15px;
	white-space: normal;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #B9DAEC;
}

table#result th {
	font-size: 100%;
	font-weight: normal;
	text-align: center;
	vertical-align: middle;
	padding: 5px;
	background-color: #ecf5fa;
	white-space: nowrap;
	border: 1px solid #B9DAEC;
}

table#result th.head {
	width: auto;
}

table#result td span.value {
	font-weight: bold;
	font-size: 153.9%;
}

/* ボタン基本 開始 */
.button {
	display: inline-block;
	width: 200px;
	height: 54px;
	text-align: center;
	text-decoration: none;
	line-height: 54px;
	outline: none;
}
.button::before,
.button::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
}
.button,
.button::before,
.button::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}
/* ボタン基本 終了 */

/* ボタン拡張 開始 */
.button {
	width: 400px;
	height: 65px;
	font-size: 161.6%;
	font-weight: bold;
	position: relative;
	background-color: #70c9ef;
	border-radius: 4px;
	color: #ffffff;
	line-height: 65px;
	-webkit-transition: none;
	transition: none;
	box-shadow: 0 3px 0 #42b2dd;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
	background-image: url(../images/calculator.png);
	background-repeat: no-repeat;
	background-position: 20px center;
	text-indent: 40px;
}

.button:hover {
	background-color: #7fceef;
	box-shadow: 0 3px 0 #42b2dd;
}

.button:active {
	top: 3px;
	box-shadow: none;
}
/* ボタン拡張 終了 */

/*リンクされた文字*/
a.button {
    color: #ffffff;
    font-style: normal;
    text-decoration: none;
}

/*未訪問のリンク*/
a.button:link {
    color: #ffffff;
    font-style: normal;
    text-decoration: none;
}

/*訪問後のリンク*/
a.button:visited {
    color: #ffffff;
    font-style: normal;
    text-decoration: none;
}

/*マウスをのせたとき*/
a.button:hover {
    color: #ffffff;
    font-style: normal;
    text-decoration: none;
}

/*クリック中*/
a.button:active {
    color: #ffffff;
    font-style: normal;
    text-decoration: none;
}
/* ボタン 終了 */

/* ボタン拡張(LINK) 開始 */
.link-loan {
	width: 300px;
	height: 50px;
	background-color: #ffffff;
	background-image: url(../images/btn_link_loan.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	box-shadow: 3px 3px 2px #CCC;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
	color: #ffffff;
	font-style: normal;
	text-decoration: none;
	text-indent: -9999px;
}

.link-loan:hover {
	background-color: #CCCCCC;
	box-shadow: 3px 3px 2px #aaa;
}

.link-loan:active {
	top: 3px;
	left: 3px;
	box-shadow: none;
}
/* ボタン拡張(LINK) 終了 */
