@charset "UTF-8";

.flow{
    width: 62.5%;
    max-width: 1000px;
    margin: 100px auto 0;
}

.flow__ttl{
    width: 310px;
}

.flow-thumb{
    margin-top: 32px;
}

.flow-thumb__list{
    display: flex;
    gap: 16px;
	justify-content: center;
}

.flow-thumb__list a{
    transition: all .2s;
}

.flow-thumb__list a:hover{
    opacity: .6;
}

.flow-thumb__list._l{
    justify-content: start;
}

.flow-thumb__list._r{
    margin-top: 32px;
    justify-content: end;
}
.flow-thumb__list._second {
	margin-top: 32px;
}

.flow-thumb__item{
    width: 22.8%;
}

.flow-thumb__item.last{
    width: 21.4%;
}

.flow__text{
    margin-top: 32px;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.02em;
}

.step{
    margin: 64px 0 100px;
    padding: 64px 0;
    background-color: #dcd5ca;
}

.step__wrapper{
    box-sizing: border-box;
    background-color: #fff;
    width: 75%;
    max-width: 1200px;
    padding: 64px 6.25%;
    margin: 0 auto;
}

.step__ttl{
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}

.step__number{
    display: inline-block;
    color: #092e65;
    font-family: 'Helvetica', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    vertical-align: middle;
    margin-right: 40px;
}

.step__number ._primary{
    display: inline-block;
    margin-left: 8px;
    font-size: 54px;
    font-weight: 400;
    letter-spacing: 0.03em;
    vertical-align: middle;
}

.step__text{
    font-size: 16px;
    letter-spacing: 0.02em;
    line-height: 2;
}

.step__text._primary{
    color: #e41c24;
}

.step__table{
    width: 100%;
    border: 1px solid #092e65;
    border-collapse: collapse;
    margin: 32px auto 20px;
}

.step__table-ttl{
    box-sizing: border-box;
    color: #092e65;
    background-color: #DEE2E7;
    border-bottom: 1px solid #092e65;
    border-right: 1px solid #092e65;
    padding: 0 24px;
    white-space: nowrap;
}

.step__table-data{
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #092e65;
}

.step__table-ttl.last, .step__table-data.last{
    border-bottom: none;
}

.step__link{
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 310px;
    padding: 22px 12px;
	margin: 40px auto;
    border-radius: 7px;
    background-color: #092e65;
    color: #fff;
    transition: all .2s;
}

.step__link:hover{
    opacity: .6;
}

.step__link-text{
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.step__link-text ._primary{
    display: inline-block;
    margin-bottom: 4px;
    font-size: 18px;
}

.step__link > img{
    width: 8px;
}

.step__table-address{
    font-size: 16px;
    letter-spacing: 0.02em;
    line-height: 1.8;
    display: inline-block;
    width: 42%;
}

.step__table-tel{
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    margin: 0 8px;
}

.step__arrow{
    display: block;
    margin: 64px auto;
    width: 60px;
}

.step__inner{
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.step__body{
    width: calc(100% - 345px);
}

.step__body._w100{
    width: 100%;
}

.step__thumb{
    width: 320px;
}

.step__inner-box{
    margin-top: 40px;
}

.step__inner-ttl{
    font-size: 18px;
    color: #092e65;
    letter-spacing: 0.02em;
    font-weight: 500;
    margin-bottom: 8px;
}

.mt16{
    margin-top: 16px;
}

.step__text .row{
    display: flex;
}

.step__link-area{
    width: fit-content;
    margin: 64px auto 0;
    display: grid;
    justify-content: center;
    gap: 20px;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
}

.step__catch{
    margin-top: 120px;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.step__catch > p{
    font-size: 24px;
    letter-spacing: 0.06em;
    line-height: 1.5;
}

.step__catch .link {
	max-width: 214px;
}

.cancel-link-area{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 100px 0;
}

.step__note{
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0.02em;
	border: 1px solid #4d4d4d;
	padding: 10px;
	margin-top: 70px;
}

@media screen and (min-width: 767px) and (max-width: 1200px){
    .flow{
        width: 88%;
        margin-top: 80px;
    }

    .flow-thumb__list._r{
        margin-top: 20px;
    }
	
	.flow-thumb__list._second {
		margin-top: 20px;
	}

    .step__wrapper{
        width: 88%;
        padding: 40px;
    }

    .step{
        margin-bottom: 0;
    }

    .step__ttl{
        margin-bottom: 20px;
    }

    .step__table{
        margin-top: 20px;
    }

    .step__table-ttl{
        padding:0 12px;
    }

    .step__table-data{
        padding: 12px;
    }

    .step__table-address{
        font-size: 14px;
        width: 30%;
    }

    .step__table-tel{
        font-size: 14px;
    }


    .step__link-text{
        font-size: 14px;
    }

    .step__link-text ._primary{
        font-size: 16px;
    }

    .step__arrow{
        margin: 40px auto;
    }

    .step__inner{
        flex-direction: column;
        gap: 20px;
    }

    .step__thumb{
        width: 80%;
        margin: 0 auto;
    }

    .step__body{
        width: 100%;
    }

    .step__link-area{
        gap: 12px;
        margin-top: 40px;
    }

    .step__link-area .link{
        width: 180px;
    }

    .step__catch{
        margin-top: 80px;
        flex-direction: column;
        gap: 12px;
    }

    .step__catch > p{
        font-size: 16px;
    }

    .cancel-link-area{
        margin: 80px auto;
    }
}

@media screen  and (max-width: 767px){
    .flow{
        margin-top: 60px;
        width: 91.467%;
    }

    .flow__ttl {
        width: 290px;
    }

    .flow-thumb{
        margin-top: 24px;
    }

    .flow-thumb__list{
        flex-direction: column;
        gap: 6px;
    }

    .flow-thumb__item{
        width: 100%;
        margin: 0 auto;
    }

    .flow-thumb__item.last{
        width: 100%;
    }

    .flow-thumb__list._r{
        margin-top: 6px;
    }
	
	.flow-thumb__list._second {
		margin-top: 6px;
	}

    .flow__text{
        letter-spacing: 0.05em;
        margin-top: 24px;
    }

    .step{
        padding: 40px 0;
        margin: 64px 0 0; 
    }

    .step__wrapper{
        width: 91.467%;
        padding: 20px 16px 40px;
    }

    .step__ttl{
        font-size: 19px;
        margin-bottom: 20px;
        letter-spacing: 0em;
    }

    .step__number{
        display: block;
        margin-right: 0;
        margin-bottom: 4px;
    }

    .step__number ._primary{
        font-size: 40px;
        margin-left: 4px;
    }

    .step__text{
        font-size: 15px;
    }

    .step__table{
        margin: 20px 0;
    }

    .step__table-ttl{
        display: block;
        border-right: 0;
        padding: 12px 0;
    }

    .step__table-data{
        flex-direction: column;
        padding: 12px;
        gap: 12px;
        align-items: start;
    }

    .step__table-address{
        font-size: 15px;
        width: 100%;
    }

    .step__table-tel{
        font-size: 16px;
    }

    .step__link{
        width: 240px;
        gap: 12px;
		padding: 12px;
    }

    .step__link-text{
        font-size: 15px;
    }

    .step__link-text ._primary{
        font-size: 18px;
    }

    .step__arrow{
        margin: 20px auto;
    }

    .step__thumb{
        width: 80%;
        margin: 0 auto;
    }

    .step__inner{
        flex-direction: column;
        gap: 20px;
    }

    .step__body{
        width: 100%;
    }

    .step__inner-ttl{
        font-size: 16px;
    }

    .step__inner-box{
        margin-top: 20px;
    }

    .step__link-area{
        margin-top: 40px;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .step__catch{
        flex-direction: column;
        margin-top: 40px;
    }

    .step__catch > p{
        font-size: 15px;
        letter-spacing: 0.03em;
    }

    .cancel-link-area{
        flex-direction: column;
        align-items: center;
        margin: 50px 0;
        gap: 12px;
    }
	
	.step__note{
		font-size: 14px;
		margin-top: 30px;
	}

}