@charset "UTF-8";

html{
    min-height: 100vh;
}

body {
	margin: 0px;
    padding: 0px;
	background-color: #FFFFFF;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 12px;
	line-height: 14px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/*幅と背景*/
#wrapper {
	padding: 0px 10px 0px 10px;
	text-align: center;
    width:80%;
	max-width: 780px;
	background: #FFFFFF;
    margin: 0px auto auto auto;
        box-shadow: 0 0 8px #CCC;
flex: 1 1 auto;}
.error {
	background-color: #FFF4F4;
	color: #F00;
	margin: 15px 0px;
	padding: 0px 0px 0px 10px;
	text-align: left;
    box-sizing: border-box;
    line-height: 1.8;
    font-size: 13px;
}


table.base1 {
	border-collapse: separate;
    border-spacing: 5px;
	border: none;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	padding: 0px;
	text-align: left;
    margin: 0px 0px;
}

table.base1 td {
	padding: 6px;
    border: none;
	margin: 0px;
    box-sizing: border-box;
}
table.base1 td.komoku {
	text-align: left;
	width: 30%;
    border: 1px solid #D8D8D8;
    background-color: #f8f8f8;
    color: #00175A;
    font-weight: thin;
}

.midashi1 {
	background-color: #EBEBEB;
	font-size: 12pt;
	font-weight: bold;
	text-align: left;
	margin: 0px;
	height: 20px;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 3px;
}
.setsumei {
	font-size: 13px;
	text-align: left;
    line-height: 1.4;
	padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;
    margin: 20px 0px 0px;
}

.setsumei a{
    color: #005CB2;
}

.setsumei a:hover{
    color: #333;
    transition-duration: 500ms;
}

.c-red{
    color: #F00;
}

.center {
	text-align: center;
	margin: 0px;
	padding: 0px;
}
/*span設定*/
.eg {
	color: #930;
	font-size: 9pt;
}

.eg2{
    display: inline-block;
    margin-bottom: 3px;
}
.red {
	color: #F00;
    float: right;
}
.underline {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #0B2C89;
}

/*スペース*/
.space_tb1 { /* 使い方   class="space_tb1" */
	/*上下に各1文字分のマージン（スペース）*/
	margin-top: 1em;
	margin-bottom: 1em;
	margin-left: 0em;
	margin-right: 0em;
}
.space_tb2 { /* 使い方   class="space_tb2" */
	/*上下に各2文字分のマージン（スペース）*/
	margin-top: 2em;
	margin-bottom: 2em;
	margin-left: 0em;
	margin-right: 0em;
}
.space_tb3 { /* 使い方   class="space_tb3" */
	/*上下に各3文字分のマージン（スペース）*/
	margin-top: 3em;
	margin-bottom: 3em;
	margin-left: 0em;
	margin-right: 0em;
}
.space_lr1 { /* 使い方   class="space_lr1" */
	/*左右に各1文字分のマージン（スペース）*/
	margin-top: 0em;
	margin-bottom: 0em;
	margin-left: 1em;
	margin-right: 1em;
}.space_lr2 { /* 使い方   class="space_lr2" */
	/*左右に各2文字分のマージン（スペース）*/
	margin-top: 0em;
	margin-bottom: 0em;
	margin-left: 2em;
	margin-right: 2em;
}



header{
    width: 80%;
        max-width: 780px;
    margin: 0px auto;
    z-index: 100;
    box-shadow: 0 0 8px #CCC;
}

h1 {
	color: #FFF;
	background-color: #005CB2;
	font-size: 20px;
	text-align: center;
	margin: 0px;
	padding: 15px 0px;
    width: 100%;
    font-weight: bold;
    line-height: 1.5;
}

h2{
    font-size: 17px;
    margin: 20px 0px -20px 20px;
    text-align: left;
}
.center {
	text-align: center;
}


/*input欄の設定*/

input[type=text], select {
    font-size: 14px;
    background-color: #fff;
    border: solid 1px #777;
    padding: 2px;
    padding-bottom: 3px;
    vertical-align: middle;
    border-radius: 3px;
    -moz-box-shadow: inset 1px 2px 7px -3px rgba(0,0,0,0.5);
    -webkit-box-shadow: inset 1px 2px 7px -3px rgba(0,0,0,0.5);
    box-shadow: inset 1px 2px 7px -3px rgba(0,0,0,0.5);
    outline: none;
}

/*inputをフォーカスした際にふわっと色をかえる*/
input[type="text"]:focus,textarea:focus{
    box-shadow: 0 0 7px #3498db;
    border: 1px solid #3498db;
    transition-duration: 1000ms;
    background-color: aliceblue;
}
select {
	margin-right: 3px;
}


/*戻る、進むボタンの設定*/

.btn-control{
    text-align: left;
}

button{
    
    /*ボタン要素のデフォをリセット*/
         background-color: transparent;
        border: none;
        cursor: pointer;
        outline: none;
        padding: 0;
        appearance: none;
    /*新たに設定したスタイル*/
        width: 30%;
        height: 35px;
        margin: 10px;
        max-width: 350px;
        min-width: 150px;
        font-size: 13px;
        background-color: #FDFDFD;
        color: #333;
        border: 1px solid #333;
        border-bottom: 5px solid #575757;
        border-radius: 2px;
        letter-spacing: 1px;
}

button:hover{
    border-bottom: 5px solid #FC8B46;;
    transition-duration: 500ms;
}


/*フッターの設定*/


footer{
    background-color: #172028;
    width: 80%;
    max-width: 780px;
    margin: 0px auto;
    padding: 10px 0px;
    font-size: 13px;
    box-shadow: 0 0 8px #CCC;
}

footer p{
    color: #fff;
}

footer a:link{
    text-decoration: underline;
    color: #fff;
}

    
footer a:hover{
    color: #CCC;
    transition-duration: 500ms;
}

br.br_sp{
    display: none;
}

@media screen and (max-width: 480px){
    
    #wrapper {
        width: 100%;
    }
    header{
        width: 100%;
    }
    
    header h1{
        font-size: 15px;
    }
    
    footer{
        width: 100%;
    }
    
    table.base1{
        width: 94%;
    }
    table.base1 td {
    display: block;
    width: 100%;
}
table.base1 td.komoku {
    display: block;
    width: 100%;
}
    
    br.br_sp{
    display: block;
}

    input[type="text"]{
        width: 100%;
    }
    
        .btn-control{
    text-align:center;
}
    
}
