@charset "shift-jis";

.step ol{ counter-reset: step 0;}
.step ol > li{
    background: #fff;
    border: 1px solid #ea5520;
    border-radius: 8px;
    margin-top: 80px;
    padding: 60px 50px;
    font-size: 18px;
    text-align: center;
    position: relative;
}
.step ol > li::before{
    content: "";
    padding: 50px;
    background: url(/images/afi/bg_step_or.svg) center center/contain no-repeat;
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
}
.step ol > li::after{
    counter-increment: step;
    content: counter(step);
    font-family: 'Josefin Slab', serif;
    font-size: 3.5em;
    font-weight: bold;
    color: #ea5520;
    position: absolute;
    top: -38px;
    left: 0;
    right: 0;
}
.step ol > li h3{
    font-size: 36px;
    color: #ea5520;
    margin-bottom: 30px;
}
/*.step ol > li img{ padding-top: 60px;}*/
.step ol > li p{
    margin-bottom: 40px;
    text-align: left;
}
.step ol > li > ul{
    font-size: 27px;
    font-weight: bold;
    margin-left: 16%;
    color: #1eb4dc;
    margin-bottom: 30px;
    text-align: left;
}
.step ol > li > ul li::before{
    content: "\025cb";
    font-weight: normal;
}

.timeline{
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    table-layout: fixed;
}
.timeline .tabs div{
    text-align: center;
    font-weight: normal;
}
.timeline .tabs .ex{
    width: 23%;
    vertical-align: bottom;
    color: #1db4dc;
}
.timeline .tabs div:not(.ex){
    font-size: 25px;
    background: #1db4dc;
    color: #fff;
    letter-spacing: .1em;
    position: relative;
}
.timeline .tabs div:not(.ex)::after{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    bottom: -20px;
    left: 0;
    padding: 10px 50%;
    background: url(/introduce/images/arw_timeline.png) center top/contain no-repeat;
    z-index: 1;
}
.timeline .conts div{ font-size: 16px;}
.timeline .conts div.ex{
    padding: 30px 40px 15px;
    position: relative;
    z-index: 0;
}
.timeline .conts div.ex::after{
    content: "";
    position: absolute;
    padding: 1px;
    width: 2px;
    height: 80%;
    background: #1db4dc;
    top: 110px;
    left: 50%;
    z-index: -1;
}
.timeline .conts.confirm div.ex::after{ content: none;}
.timeline .ex > img{ width: 100px;}
.timeline .title{
    font-size: 27px;
    margin-bottom: 1em;
    display: block;
    color: #1db4dc;
    line-height: 1.1;
}
.timeline .confirm .title{ color: #ea5520;}
.timeline .title .sub{
    font-size: 24px;
    font-weight: bold;
}
/*.timeline .title .txt_s{ font-size: 1rem;}*/
.timeline .conts div:not(.ex){ padding-top: 50px;}



.faq .wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.faq .wrap dl{
    width: 47%;
    border-top: 1px solid #1eb4dc;
    position: relative;
    margin-top: 75px;
    padding-top: 25px;
    font-size: 17px;
}
.faq .wrap dt{
    font-size: 22px;
    color: #1db4dc;
    line-height: 1.5;
    padding-bottom: .8em;
}
.faq .wrap dt::before{
    content: "Question";
    font-family: 'Josefin Slab', serif;
    color: #1eb4dc;
    background: #fff;
    position: absolute;
    top: -1em;
    font-size: 26px;
    padding-right: 8px;
}



/* sp */
@media screen and (max-width: 599px) {
    .step ol{
        width: 92%;
        margin: 0 auto;
    }
    .step ol > li::before{ padding: 42px;}
    .step ol > li::after{
        font-size: 2.8em;
        top: -30px;
    }
    .step ol > li{
        padding: 60px 15px 30px;
        font-size: 15px;
    }
    .step ol > li h3{
        font-size: 27px;
        line-height: 1.5;
    }
    .step ol > li img { padding-top: 30px;}
    .step ol > li > ul{
        margin-left: 0;
        font-size: 18px;
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .timeline .table-row{
        display: flex;
        justify-content: center;
    }
    .timeline .tabs div:not(.ex){
        font-size: 20px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        padding: 10px;
        line-height: 1.2;
    }
    .timeline .tabs .ex{ display: none;}
    .timeline .tabs div.off{
        background: #fff;
        border: 1px solid #1cb3dc;
        color: #1cb3dc;
    }
    .timeline .tabs div.off::after{ content: none;}
    .timeline .tabs div:first-child{ margin-right: 6px;}
    .timeline .tabs div:last-child{ margin-left: 6px;}

    .timeline .conts div{ font-size: 14px;}
    .timeline .conts div.off{ display: none;}
    .timeline .conts div:not(.ex){ width: 70%;}
    .timeline .conts div.ex{
        width: 30%;
        padding: 0 3%;
    }

    .timeline .app .ex img{ padding-top: 10px;}
    .timeline .app .ex::before{
        content: "y̗z";
        color: #1fb3dc;
        font-size: .85em;
        margin-top: .5em;
        display: block;
    }

    .timeline .title{ font-size: 24px;}
    .timeline .title .txt_s{ font-size: 14px !important;}


    #bunners .inner{ padding-bottom: 0;}

    .faq .wrap{ padding: 0 5%;}
    .faq .wrap dl{
        width: 100%;
        margin-top: 60px;
        padding-top: 20px;
    }
    .faq .wrap dt{ font-size: 18px;}
    .faq .wrap dd{ font-size: 15px;}
}

#bunners .list h3::after{
    content: initial;
}
#bunners .list .ttl-wrap h3{
    justify-content: center;
    width: calc(100% - 260px);
}
#bunners .list h3 span{
    color: #ffffff;
    width: 100%;
}
@media screen and (max-width: 599px) {
    #bunners .list .ttl-wrap {
        flex-direction: column;
    }
    #bunners .list .ttl-wrap h3 {
        height: auto;
        padding: 15px 0;
    }
    #bunners .list .ttl-wrap h3,
    #bunners .list .ttl-wrap .photo {
        width: 100%;
    }
    #bunners .list .ttl-wrap .photo img {
        width: 100%;
    }
}

/* -----------------------------
# kiyaku
-------------------------------- */
.policy {
    max-height: 200px;
}
.kiyaku-area p,
.kiyaku-area ul,
.kiyaku-area .heading-01 {
  font-size: 12px;
}
.kiyaku-area .heading-01 {
    margin-bottom: 1em;
}
#start .kiyaku-area p + p {
    margin-bottom: 1em;
}
.policy iframe {
    width: 100%;
    margin-top: 2em;
    border: none;
}