@charset "utf-8";

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

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

header {
    border-top: solid 4px #1A509D;
    background-color: #F8F8F8;
    height: 60px;
    line-height: 60px;
}
header h1 {
    padding-top: 16px;
    padding-right: 20px;
    text-align: center;
}
@media only screen and (max-width:767px) {
    header {
        border-top: solid 3px #1A509D;
        height: 50px;
        line-height: 50px;
    }
    header h1 {
        padding-top: 14px;
    }
    header h1 img {
        width: 110px;
    }
}

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

------------------------------------------------------------------------
フッター
***********************************************************************/

footer {
    margin-top: 100px;
    background-color: #1A509D;
    height: 40px;
    line-height: 40px;
}
footer p {
    text-align: center;
    color: #fff;
    font-size: 12px;
}
@media only screen and (max-width:767px) {
    footer {
        margin-top: 50px;
    }
}

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

------------------------------------------------------------------------
共通
***********************************************************************/

/* 全体ラップ
========================================== */

#wrap {
	overflow-x: hidden;
	margin-left: auto;
	margin-right: auto;
	padding-left: 10px;
	padding-right: 10px;
	position: relative;
	box-sizing: content-box;
}
#wrap:after {
	content:"."; display:block; clear:both; height:0; visibility:hidden; font-size:0;
}

/* 実行ボタン
========================================== */

input[type="submit"] {
	-webkit-appearance: none;
	text-align: center;
	display: inline-block;
    height: 80px;
    line-height: 80px;
    padding: 0;
	width: 300px;
	background-color: #23ABDD;
	color: #FFF;
    margin-top: 50px;
    letter-spacing: .3em;
}
input[type="submit"] + input[type="submit"] {
	width: 120px;
	background-color:#a2afb7;
	margin-left:15px;
}
@media screen and (max-width: 767px) {
    input[type="submit"] {
        height: 66px;
        line-height: 66px;
        margin-top: 30px;
        width: 200px;
    }
    input[type="submit"] + input[type="submit"] {
        width: 80px;
        margin-left:10px;
    }
}

/* グレー背景の囲いと900pxの囲い
========================================== */

.bg_gray {
    border: solid 1px #E6E6E6;
    border-radius: 3px;
    background-color: #F8F8F8;
    padding: 40px 25px;
    max-width: 900px;
    margin: 50px auto 0;
}
@media screen and (max-width: 767px) {
    .bg_gray {
        padding: 30px 15px;
        margin: 30px auto 0;
        background-color: #F0F0F0;
    }
}
.wrap900 + .bg_gray {
    margin-top: 30px;
}
.wrap900 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* 入力欄の下の注意書き
========================================== */

p.memo {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    line-height: 1.6;
}
p.memo em {
    color: red;
}

/* H2
========================================== */

#apply h2 {
    font-weight: 700;
    font-size: 26px;
    letter-spacing: .2em;
    position: relative;
    padding: 40px 0 10px;
    margin: 40px 0 10px;
    text-align: center;
    border-top: solid 1px #ccc;
}
#apply.conf h2 {
    margin: 0 0 10px;
    border-top: none;
}
#apply h2:before {
    position: absolute;
    bottom: -6px;
    left: calc(50% - 30px);
    width: 60px;
    height: 5px;
    content: '';
    border-radius: 3px;
    background: #1A509D;
}
@media only screen and (max-width:767px) {
    #wrap h2 {
        font-size: 22px;
    }
}

/* H3
========================================== */

#apply h3 {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .2em;
    padding-left: 20px;
    border-left: solid 3px #1A509D;
    line-height: 1.4;
}

/* ステップ
========================================== */

.steps {
    position: relative;
    margin: 40px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 600px;
}
.steps li {
    position: relative;
    list-style-type: none;
    text-align: center;
    text-transform: uppercase;
    width: 33.333%;
    color: #999;
    counter-increment: steps;
}
.steps li:before {
    display: block;
    width: 56px;
    height: 56px;
    line-height: 56px;
    margin: 7px auto 12px;
    font-size: 24px;
    text-align: center;
    border-radius: 50%;
    background-color: #F5F5F5;
    content: counter(steps);
}
.steps li:after {
    position: absolute;
    z-index: -1;
    top: 28px;
    left: -50%;
    width: 100%;
    height: 10px;
    content: '';
    background-color: #F5F5F5;
}
.steps li:first-child:after {
    content: none;
}
.steps li.active,
.steps li.complete {
    color: #1A509D;
}
.steps li.active:before,
.steps li.complete:before {
    background-color: #1A509D;
    color: #FFF;
}
.steps li.active:after,
.steps li.complete:after {
    background-color: #1A509D;
}