/*
----------------------------------------
check
----------------------------------------
*/

#check .topic-path button {
    display: inline;
    background: none;
    border: none;
    color: #fff;
    font-size: 100%;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.check-main {
    background: #ebf7ff;
    padding: 40px 0 100px;
}

.check-box {
    width: 100%;
    background: #1da1f2;
    padding: 0 0 20px;
}

.check-box__head {
    width: 100%;
    text-align: center;
}

.check-box__ttl {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 0;
}

.check-box__ttl .small {
    font-size: 28px;
}

.check-box__ttl .deco {
    position: relative;
}

.check-box__ttl .deco::after {
    content: '';
    position: absolute;
    top: -21px;
    right: -50px;
    display: block;
    width: 49px;
    height: 41px;
    background: url(../img/check/ttl-deco.png) center / contain no-repeat;
}

.check-box__body {
    background: url(../img/check/bg.png) center / 100% auto repeat-y;
}


/* start */
.check-start {
    padding: 60px 50px 33px; 
}

.check-start__ttl {
    position: relative;
    background: url(../img/check/start-bg.png) center top / 283px 283px no-repeat;
    padding: 60px 25px 0 ;
}

.check-start__ttl h1 {
    text-align: center;
}

.check-start__ttl::before {
    content: '';
    position: absolute;
    left: 0;
    top: -34px;
    display: block;
    width: 27%;
    height: 46px;
    background: url(../img/check/start-lt.png) center / contain no-repeat;
}

.check-start__ttl::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -39px;
    display: block;
    width: 27.3%;
    height: 63px;
    background: url(../img/check/start-rb.png) center / contain no-repeat;
}

.check-start__start {
    margin-top: 31px;
    text-align: center;
}

.check-start__start a {
    display: inline-block;
    transition: .3s;
}

.check-start__start a:hover {
    scale: 1.05;
}


/* question */
.check-question {
    padding: 52px 20px 38px
}

.check-question__ttl-sub {
    color: #8fc31f;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1;
    margin-bottom: 11px;
    text-align: center;
}

.check-question__ttl-sub span::before,
.check-question__ttl-sub span::after {
    content: '';
    display: inline-block;
    width: 55px;
    height: 20px;
    background: url(../img/check/q-deco.png) center / contain no-repeat;
    vertical-align: -2px;
}

.check-question__ttl-sub span::before {
    margin-right: 20px;
}

.check-question__ttl-sub span::after {
    margin-left: 20px;
    transform: rotate(180deg);
}

.check-question__ttl {
    color: #222;
    font-size: 43px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.6;
    text-align: center;
}

.check-question__choice-list {
    margin-top: 34px;
}

.check-question__choice-list > li > button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 380px;
    max-width: 100%;
    height: 64px;
    background: #fff url(../img/check/btn-arrow.png) right 32px center / 12px 22px no-repeat;
    border: solid 2px #1da1f2;
    border-radius: 32px;
    color: #1da1f2;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 auto;
    transition: .2s;
    cursor: pointer;
}

.check-question__choice-list > li > button:hover {
    background-color: #1da1f2;
    background-image: url(../img/check/btn-arrow_h.png);
    background-position: right 27px center;
    color: #fff;
}

.check-question__choice-list > li + li {
    margin-top: 24px;
}

.check-question__steps {
    display: flex;
    justify-content: center;
    gap: 0 19px;
    max-width: 1100px;
    margin: 60px auto 0;
}

.check-question__steps li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 40px;
    color: #fff;
    background: #ffe799;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: .02em;
}

.check-question__steps li::after {
    content: '';
    position: absolute;
    left: calc(100% - 1px);
    top: calc(50% - 10px);
    border-left: solid 12px #ffe799;
    border-top: solid 10px transparent;
    border-bottom: solid 10px transparent;
}

.check-question__steps li:last-child:after {
    content: none;
}

.check-question__steps li.current {
    background: #ed6c00;
}

.check-question__steps li.current::after {
    border-left-color: #ed6c00;
}


/* result */
.check-result {
    display: flex;
    width: 100%;
    max-width: 1074px;
    margin: 0 auto;
    padding: 60px 20px 64px
}

.check-result__img {
    position: relative;
    flex: 0 0 50.9%; 
    z-index: 0;
}

.check-result__img::before,
.check-result__img::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    display: block;
    width: 120px;
    height: 120px;
}


.check-result__img::before {
    background: #557511;
    z-index: -1;
}

.check-result__img:after {
    background: url(../img/check/result-img-deco.png) center / cover no-repeat;
    z-index: 1;
}

.check-result__txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.check-result__img + .check-result__txt {
    flex: 1;
    padding-left: 5.8%;
}

.check-result__ttl {
    position: relative;
    border-left: solid 5px #8fc31f;
    color: #222;
    line-height: 1.6;
    padding-left: 27px;
}

.check-result__ttl::before {
    content: '';
    position: absolute;
    left: -1px;
    top: calc(50% - 10px);
    border-left: solid 11px #8fc31f;
    border-top: solid 10px transparent;
    border-bottom: solid 10px transparent;
}

.check-result__ttl .l1 {
    font-size: 23px;
    letter-spacing: .02em;
}

.check-result__ttl .l2 {
    font-size: 33px;
    letter-spacing: .02em;
}

.check-result__detail {
    letter-spacing: .08em;
    margin-top: 16px;
}

.check-result__btn {
    margin-top: 30px
}

.check-result__btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 390px;
    height: 50px;
    background: #ed6c00 url(../img/check/btn-arrow_h.png) right 21px center / 9px 14px no-repeat;
    border-radius: 25px;
    color: #fff;
    font-weight: 700;
    letter-spacing: .045em;
    transition: .2s;
}

.check-result__btn a:hover {
    background-color: #fd7200;
    background-position: right 16px center;
}


/*
----------------------------------------
1000
----------------------------------------
*/
@media screen and ( max-width: 1000px ) {
    .check-box__ttl {
        font-size: 28px;
    }
    
    .check-box__ttl .small {
        font-size: 18px;
    }

    .check-start {
        padding: 60px 25px 33px;
    }

    .check-start__ttl {
        background-size: auto 100%;
    }

    .check-start__ttl h1 img {
        width: 564px;
    }

    .check-start__start a img {
        width: 294px;
    }


    .check-question__ttl-sub {
        font-size: 18px;
    }


    .check-question__ttl {
        font-size: 35px;
    }

    .check-question__choice-list > li > button {
        width: 320px;
        height: 54px;
        font-size: 22px;
    }

    .check-question__steps li {
        font-size: 20px;
    }

    .check-result__ttl .l1 {
        font-size: 25px;
    }
    
    .check-result__ttl .l2 {
        font-size: 35px;
    }

    .check-result__img {
        flex: 0 0 40%;
    }
 
    .check-result__img::before,
    .check-result__img::after {
        width: 80px;
        height: 80px;
    }
}


/*
----------------------------------------
768
----------------------------------------
*/

@media screen and ( max-width: 768px ) {
    .check-main {
        padding: 40px 0;
    }

    .check-box__ttl {
        font-size: 20px;
        line-height: 1.6;
        padding: 10px 0;
    }

    .check-box__ttl .deco::after {
        top: 26px;
        right: -25px;
        width: 25px;
        height: 20px;
    }

    .check-start {
        padding: 50px 10px 20px; 
    }
    
    .check-start__ttl::before {
        top: -30px;
        width: 208px;
        height: 31px;
    }
    
    .check-start__ttl::after {
        bottom: -40px;
        width: 219px;
        height: 42px;
    }

    .check-start__start {
        margin-top: 60px;
    }

    .check-start__start a img {
        width: 80%;
    }

    .check-question {
        padding: 30px 10px 20px;
    }
    
    .check-question__ttl-sub {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .check-question__ttl-sub span::before,
    .check-question__ttl-sub span::after {
        width: 44px;
        height: 16px;
    }
    
    .check-question__ttl-sub span::before {
        margin-right: 10px;
    }
    
    .check-question__ttl-sub span::after {
        margin-left: 10px;
    }
    
    .check-question__ttl {
        font-size: 26px;
    }
    
    .check-question__choice-list {
        margin-top: 30px;
    }
    
    .check-question__choice-list > li > button {
        width: 280px;
        height: 48px;
        background-position: right 25px center;
        background-size: 8px 15px;
        font-size: 20px;
    }
    
    .check-question__choice-list > li > button:hover {
        background-position: right 20px center;
    }
    
    .check-question__choice-list > li + li {
        margin-top: 16px;
    }
    
    .check-question__steps {
        gap: 0 9px;
        margin-top: 30px;
    }
    
    .check-question__steps li {
        height: 28px;
        font-size: 12px;
    }
    
    .check-question__steps li::after {
        top: calc(50% - 7px);
        border-left: solid 8px #ffe799;
        border-top: solid 7px transparent;
        border-bottom: solid 7px transparent;
    }

    .check-result {
        flex-direction: column;
        padding: 30px 20px;
    }
    
    .check-result__img {
        flex: 0 0 100%;
    }

    .check-result__img img {
        display: block;
        width: 100%;
        /*height: 160px;*/
        object-fit: cover;
    }
    
    .check-result__img::before,
    .check-result__img::after {
        top: -5px;
        left: -5px;
        width: 60px;
        height: 60px;
    }
    
    .check-result__img + .check-result__txt {
        flex: 0 0 100%;
        padding-left: 0;
        margin-top: 10px;
    }
    
    .check-result__ttl {
        border-left: solid 3px #8fc31f;
        padding-left: 13px;
    }
    
    .check-result__ttl::before {
        top: calc(50% - 7px);
        border-left: solid 7px #8fc31f;
        border-top: solid 6px transparent;
        border-bottom: solid 6px transparent;
    }
    
    .check-result__ttl .l1 {
        font-size: 20px;
    }
    
    .check-result__ttl .l2 {
        font-size: 26px;
    }
    
    .check-result__detail {
        margin-top: 10px;
    }
    
    .check-result__btn a {
        max-width: 280px;
        height: 40px;
        background-position: right 15px center;
        background-size: 6px 10px;
        margin: 0 auto;
    }
    
    .check-result__btn a:hover {
        background-position: right 10px center;
    }
}
