@charset "utf-8";
/* CSS Document */

/*ステップ*/
.step {
    max-width: 1036px;
    width: 90%;
    margin: 50px auto;
}
.step ol.count {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.step ol.count li {
    height: 60px;
    max-width: 300px;
    width: 30%;
    line-height: 58px;
    text-align: center;
    border: 1px solid #DBDBDB;
    box-sizing: border-box;
    font-size: 18px;
    position: relative;
}
.step ol.count li.current {
    border-color: #444444;
    background: #444444;
    color: #fff;
}
.step ol.count li:not(:last-of-type)::after {
    content: "";
    width: 0.5em;
    height: 0.5em;
    border-top: 2px solid #444444;
    border-right: 2px solid #444444;
    position: absolute;
    right: -12%;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(45deg);
}


@media screen and (max-width: 768px) {
.step ol.count {
    display: block;
}
.step ol.count li {
    height: auto;
    max-width: 100%;
    width: 100%;
    line-height: initial;
    margin-bottom: 2em;
    padding: 0.5em 0;
}
.step ol.count li:not(:last-of-type)::after {
    right: 0;
    left: 0;
    top: auto;
    bottom: -1.25em;
    transform: rotate(135deg);
}

}

@media screen and (max-width: 480px) {
.step {
    margin: 8vw auto;
}
.step ol.count li {
    font-size: 3.8vw;
}
}


/*フォーム入力*/
#contact {
    margin: 0 auto 100px;
    max-width: 1522px;
    width: 90%;
    border: 1px solid #DBDBDB;
    padding: 30px 50px;
    box-sizing: border-box;
}
p.required_text {
    margin-left: 282px;
    font-size: 16px;
    color: #E81F2F;
}
#contact dl {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 1.5em 0;
}
#contact dl dt {
    font-size: 20px;
    width: 19%;
    min-width: 14em;
}
#contact dl dt .required {
    font-size: 70%;
    margin: 0 0 0 0.2em;
    color: #E81F2F;
}
#contact dl dd {
    width: 79%;
    font-size: 18px;
}
#contact dl dd input, 
#contact dl dd textarea,
#contact dl dd select {
    font-size: 16px;
    background: #FCFCFC;
    border: 1px solid #D1D1D1;
    padding: 0.35em 0.5em;
    margin: 0 0.5%;
    box-sizing: border-box;
	font-family: 'Noto Serif JP', serif;
}
#contact dl dd input.middle-input {
    width: 48%;
    display: inline-block;
}
#contact dl dd input.big-input {
    width: 100%;
}
#contact dl dd textarea {
    width: 100%;
    height: 10em;
}
#contact dl dd span.error {
    color: #E81F2F;
    margin: 0.25em;
    display: block;
    font-size: 16px;
}
#contact dl dd .tel_block {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
#contact dl dd .tel_block input {
    width: 7em;
}

/*確認・送信ボタン*/
.btn_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px auto 150px;
}
.btn_wrap .btn {
    max-width: 400px;
    width: 80%;
    height: 60px;
    line-height: 60px;
    background: #444444;
    color: #fff;
    font-size: 18px;
    text-align: center;
    margin: 0 0.5em;
}


@media screen and (max-width: 768px) {
#contact {
    margin: 0 auto 9vw;
    padding: 5vw;
}
p.required_text {
    margin: 0 auto 1em;
    font-size: 2.8vw;
}
#contact dl {
    display: block;
    margin: 0 0 5vw;
    width: 100%;
}
#contact dl dt {
    font-size: 3.4vw;
    width: 100%;
}
#contact dl dd {
    width: 100%;
    margin: 1.5vw 0 0;
    font-size: 4vw;
}
#contact dl dd input, #contact dl dd textarea,
#contact dl dd select {
    font-size: 4vw;
}
#contact dl dd span.error {
    font-size: 2.8vw;
}
#contact dl dd .tel_block input {
    width: 18vw;
}
/*確認・送信ボタン*/
.btn_wrap {
    margin: 5vw auto 24vw;
}
.btn_wrap .btn {
    height: auto;
    line-height: inherit;
    font-size: 3.4vw;
    padding: 0.75em 0;
    box-sizing: border-box;
}
}

@media screen and (max-width: 480px) {
}


/*完了画面*/
.thanks #contact p {
    text-align: center;
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 3em;
}
@media screen and (max-width: 768px) {
.thanks #contact p {
    font-size: 3.2vw;
}
}
@media screen and (max-width: 480px) {
.thanks #contact p {
    font-size: 3.2vw;
}
}
