/* TOPページ PC */
#heroArea {
    background-color: #e8f8ea;
    background-image: url('/shindan/type_shindan/img/back.webp');
    display: block;
    min-height: 100vh;
    font-family: Hiragino Kaku Gothic ProN;
}

.heroArea-box {
    display: flex;
}

.heroArea-left {
    padding: 24px 0 0 0;
    max-width: 1575px;
    width: 100%;
    margin: 0 0 0 113px;
}

.heroArea-top-imgOuter {
    text-align: center;
}

.heroArea-body {
    background-color: #fff;
    max-width: 960px;
    height: 630px;
    margin: 24px auto 56.5px;
    border-radius: 30px;
    background-image: url('/shindan/type_shindan/img/top_body_peaple.webp');
    background-size: 100% auto;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.heroArea-body-title {
    padding: 24px 0 0 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 36px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.heroArea-body-title-line {
    background: linear-gradient(to bottom, #feffb9 50%, transparent 100%);
    background-position: 0px 159%;
    background-size: 100% 20px;
    background-repeat: no-repeat;
}

.heroArea-body-flex {
    display: flex;
    justify-content: center;
    margin: 24px 0 0 0;
    column-gap: 40px;
}

.heroArea-body-footer {
    margin: 24px 0 0 0;
    text-align: center;
    position: relative;
}

.heroArea-body-footer-imgOuter:hover {
    opacity: 0.8;
}

.heroArea-footer-imgOuter {
    margin: 0 0 0 24px;
    padding: 0 0 24px 0;
}

.heroArea-right {
    width: 354px;
    text-align: center;
    margin: 16px 0 0 -330px;
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .heroArea-left {
        width: 1575px;
    }
    .heroArea-right {
        margin: 16px 0 0 0;
    }
}

@media (max-width: 1280px) {
    .heroArea-left {
        padding: 16px 0 0 0;
    }
    .heroArea-top-imgOuter img {
        width: 240px;
        height: auto;
    }
    .heroArea-body {
        max-width: 700px;
        height: 400px;
        margin: 16px auto 16px;
    }
    .heroArea-body-title {
        padding: 16px 0 0 0;
        font-size: 16px;
        line-height: 28px;
    }
    .heroArea-body-flex {
        margin: 12px 0 0 0;
        column-gap: 24px;
    }
    .heroArea-body-imgOuter img {
        width: 172px;
        height: auto;
    }
    .heroArea-body-footer-imgOuter img {
        width: 270px;
        height: auto;
    }
    .heroArea-footer-imgOuter {
        margin: 0 0 0 48px;
        padding: 0 0 12px 0;
    }
    .heroArea-footer-imgOuter img {
        width: 180px;
        height: auto;
    }
    .heroArea-right {
        margin: 16px 0 0 -110px;
        text-align: left;
    }
    .heroArea-right-imgOuter img {
        width: 122px;
        height: auto;
    }
}

@media (max-width: 1024px) {
    .heroArea-left {
        margin: 0 0 0 48px;
    }

    .heroArea-body-title-line {
        background-size: 100% 16px;
    }
    .heroArea-body-flex {
        margin: 20px 0 0 0;
        column-gap: 12px;
    }

    .heroArea-body {
        max-width: 600px;
    }

    .heroArea-body-title {
        font-size: 14px;
        line-height: 24px;
    }

    .heroArea-right {
        margin: 16px 0 0 -10px;
    }
}

@media (max-width: 767px) {
    .heroArea-box {
        display: none;
    }
}

/* TOPページ SP */
@media (min-width: 768px) {
    .heroArea-box-sp {
        display: none;
    }
}

@media (max-width: 767px) {
    .heroArea-box-sp {
        display: block;
        position: relative;
    }

    .heroArea-body-imgOuter img {
        width: 163px;
        height: auto;
    }
}

.heroArea-top-imgOuter-sp {
    padding: 15px 0 0 0;
    text-align: center;
}

.heroArea-human-imgOuter {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
}

.heroArea-human-imgOuter img {
    width: 90px;
    height: 170px;
}

.heroArea-body-sp {
    width: 100%;
    background-color: #fff;
    margin: 20px 0 0 0;
    border-radius: 30px;
    padding: 0 16px 24px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.heroArea-body-start {
    font-size: 32px;
    font-weight: 600;
    line-height: 48px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #e56a1e;
    padding: 24px 0 0 0;
}

.heroArea-body-title-sp {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin: 30px 0 0 0;
}

.heroArea-footer-imgOuter-sp {
    text-align: center;
    margin: 20px 0 0 0;
    padding: 0 0 20px 0;
}

.heroArea-body-footer-sp {
    margin: 25px 0 0 0;
    text-align: center;
}

/* タイプ診断１問目 */
#type1 {
    background-color: #e8f8ea;
    background-image: url('/shindan/type_shindan/img/back.webp');
    display: none;
    min-height: 100vh;
}

.type-first,.type-second,.type-third,
.type-fourth,.type-fifth {
    display: flex;
}

.type-left {
    display: flex;
    max-width: 1360px;
    column-gap: 48px;
    padding: 60px 0 0;
}

.type-left-imgOuter {
    margin: 0 0 0 40px;
}

.type-left-body-imgOuter {
    margin: 0 0 0 55px;
}

.type-left-body-inner {
    background-color: #fff;
    width: 1200px;
    height: 744px;
    border-radius: 30px;
    background-image: url('/shindan/type_shindan/img/search_human.webp');
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 1150px auto;
}

.type-left-body-title {
    padding: 52px 0 0 0;
    text-align: center;
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.type-left-body-q {
    font-size: 36px;
    font-weight: 600;
    line-height: 66px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #27b442;
    padding: 0 12px 0 0;
}

.type-left-body-flex {
    display: flex;
    column-gap: 16px;
    margin: 32px 0 0 0;
    justify-content: center;
}

.type-left-body-flex-imgOuter {
    transition: opacity 0.5s ease;
}

.type-left-body-flex-imgOuter :hover {
    opacity: 0.8;
}

.type-right {
    width: 354px;
    text-align: center;
    margin: 40px 0 0 0;
}

.type-footer-imgOuter {
    padding: 55px 0 110px 24px;
}
@media (min-width: 1441px){
    #type1 {
        min-width: 1600px;
    }
}
@media (max-width: 1440px) {
    .type-left-body-title {
        font-size: 23px;
        line-height: 32px;
    }

    .type-left-body-q {
        font-size: 36px;
    }

    .type-left-body-imgOuter img {
        width: 777px;
        height: auto;
    }
    .type-left-body-inner {
        width: 887px;
        height: 720px;
        background-size: 878px auto;
    }
    .type-left-body-flex {
        column-gap: 8px;
    }
    .type-left-body-flex {
        margin: 8px 0 0 0;
    }
    .type-left-body-flex-imgOuter img {
        width: 349px;
        height: auto;
    }

    .type-right-imgOuter img {
        width: 174px;
        height: auto;
    }
}

@media (max-width: 1280px) {
    .type-left {
        padding: 30px 0 0;
    }
    .type-left-imgOuter img {
        width: 77px;
        height: auto;
    }
    .type-left-body-imgOuter img {
        width: 597px;
    }
    .type-left-body-inner {
        width: 707px;
        height: 468px;
        background-size: 655px auto;
    }
    .type-left-body-title {
        font-size: 20px;
        padding: 24px 0 0 0;
    }
    .type-left-body-flex-imgOuter img {
        width: 264px;
    }
    .type-right {
        width: 200px;
    }
    .type-right-imgOuter img {
        width: 134px;
        height: auto;
    }
    .type-footer-imgOuter {
        display: none;
    }
}

@media (max-width: 1024px) {
    .type1-pc {
        display: none;
    }
    .type-left-body-flex-imgOuter img {
        width: 264px;
        height: 258px;
    }
}

@media (max-width: 767px) {
    .type-left-body-flex {
        display: none;
    }
}


/* タイプ診断１問目 SP*/
@media (min-width: 1025px) {
    .type1-sp {
        display: none;
    }
}

@media (max-width: 1024px) {
    #type1 {
        background-image: none
    }
    
    .type1-sp {
        display: block;
        position: relative;
    }

    .type-top-imgOuter-sp {
        padding: 5px 0 0 0;
        text-align: center;
    }

    .type-top-imgOuter-sp img {
        width: 200px;
        height: auto;
    }

    .type-human-imgOuter {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 0;
    }

    .type-flex-sp {
        display: flex;
        align-items: baseline;
        justify-content: center;
        column-gap: 11px;
        font-family: Hiragino Kaku Gothic ProN;
    }

    .type-step-sp {
        font-size: 23px;
        font-weight: 600;
        line-height: 34.5px;
        text-align: center;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        color: #101010;
    }

    .type-title-sp {
        font-size: 28px;
        font-weight: 600;
        line-height: 40px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        color: #fb8050;
        z-index: 100;
    }

    .type-body-sp {
        position: relative;
    }

    .type-body-sp-imgOuter {
        padding: 0 14px;
        position: relative;
    }

    .type-body-sp-imgOuter img {
        width: 100%;
        height: 8px;
    }

    .type-body-sp-inner {
        background-color: #fff;
        width: 100%;
        padding: 22px 22px 80px;
        border-radius: 12px;
    }

    .type-body-sp-inner-imgOuter {
        text-align: center;
    }

    .type-body-sp-inner-title {
        margin: 12px 0 0 0;
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 23px;
        font-weight: 600;
        line-height: 32px;
        text-align: center;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .type-footer-imgOuter-sp {
        text-align: center;
        margin: 14px 0 0 0;
        padding: 0 0 20px 0;
    }

    .type-left-body-flex {
        margin: 24px 0 0 0;
    }
}

@media (min-width: 768px) {
    .type-body-sp-flex {
        display: none;
    }
}

@media (max-width: 767px) {
    .type-body-sp-flex {
        display: flex;
        column-gap: 12px;
        margin: 26px 0 0 0;
        justify-content: center;
    }

    .type-left-body-flex-imgOuter img {
        width: 167px;
        height: 302px;
    }

    .type-top-imgOuter-sp img {
        width: 138px;
        height: auto;
    }

    .type-human-imgOuter img {
        width: 70px;
        height: auto;
    }
}


/* タイプ診断2問目 */
#type2 {
    background-color: #e8f8ea;
    background-image: url('/shindan/type_shindan/img/back.webp');
    display: none;
    min-height: 100vh;
}

@media (min-width: 1441px){
    #type2 {
        min-width: 1600px;
    }
}
@media (max-width: 1024px) {
    .type2-pc {
        display: none;
    }
}

/* タイプ診断2問目 SP*/
@media (min-width: 1025px) {
    .type2-sp {
        display: none;
    }
}

@media (max-width: 1024px) {
    #type2 {
        background-image: none
    }
}

/* タイプ診断3問目 */
#type3 {
    background-color: #e8f8ea;
    background-image: url('/shindan/type_shindan/img/back.webp');
    display: none;
    min-height: 100vh;
}

@media (min-width: 1441px){
    #type3 {
        min-width: 1600px;
    }
}
@media (max-width: 1024px) {
    .type3-pc {
        display: none;
    }
}

/* タイプ診断3問目 SP*/
@media (min-width: 1025px) {
    .type3-sp {
        display: none;
    }
}

@media (max-width: 1024px) {
    #type3 {
        background-image: none
    }
}

/* タイプ診断4問目 */
#type4 {
    background-color: #e8f8ea;
    background-image: url('/shindan/type_shindan/img/back.webp');
    display: none;
    min-height: 100vh;
}

.type-left-body-q.flex {
    padding: 8px 12px 0 0 ;
}

.type-left-body-inner-flex {
    display: flex;
    padding: 52px 0 0 24px;
    justify-content: center;
}

.type-left-body-title.flex {
    display: block;
    padding: 8px 0 0 0;
    text-align: left;
}

.type-left-body-title-imgOuter {
    margin: 0 0 0 119px;
}

@media (min-width: 1441px){
    #type4 {
        min-width: 1600px;
    }
}
@media (max-width: 1024px) {
    .type4-pc {
        display: none;
    }
}

@media (max-width: 1440px) {
    .type-left-body-inner-flex {
        padding: 48px 0 48px 24px;
    }
    .type-left-body-title-imgOuter img {
        width: 328px;
        height: 219px;
    }
    .type-left-body-title-imgOuter {
        margin: 0 0 0 116px;
    }

    .type-left-body-title.flex {
        padding: 20px 0 0 0;
    }
}

@media (max-width: 1280px) {
    .type-left-body-q.flex {
        padding: 0 12px 0 0;
    }
    .type-left-body-inner-flex {
        padding: 24px 0 8px 24px;
    }
    .type-left-body-title-imgOuter {
        margin: 0 0 0 38px;
    }
    .type-left-body-title-imgOuter img {
        width: 264px;
        height: 156px;
    }
    .type-left-body-title.flex {
        line-height: 28px;
    }
}

/* タイプ診断4問目 SP*/
@media (min-width: 1025px) {
    .type4-sp {
        display: none;
    }
}

@media (max-width: 1024px) {
    #type4 {
        background-image: none
    }

    .type-body-sp-inner.four {
        padding: 22px 22px;
    }

    .type-left-body-title-imgOuter {
        margin: 16px 0 0 0;
        text-align: center;
    }

    .type-left-body-title-imgOuter img {
        width: 250px;
        height: auto;
    }
}

/* タイプ診断5問目 */
#type5 {
    background-color: #e8f8ea;
    background-image: url('/shindan/type_shindan/img/back.webp');
    display: none;
    min-height: 100vh;
}

@media (min-width: 1441px){
    #type5 {
        min-width: 1600px;
    }
}
@media (max-width: 1024px) {
    .type5-pc {
        display: none;
    }
}

@media (max-width: 1440px) {
    .type-fifth .type-left .type-left-body .type-left-body-inner .type-left-body-flex .type-left-body-flex-imgOuter img {
        width: 264px;
        height: auto;
    }
}

@media (max-width: 1280px) {
    .type-fifth .type-left .type-left-body .type-left-body-inner .type-left-body-flex .type-left-body-flex-imgOuter img {
        width: 204px;
    }
}

/* タイプ診断5問目 SP*/
@media (min-width: 1025px) {
    .type5-sp {
        display: none;
    }
}

@media (max-width: 1024px) {
    #type5 {
        background-image: none
    }

    .type-body-sp-inner.fifth {
        padding: 22px 22px;
    }

    .type-body-sp-flex.fifth {
        display: flex;
    }

    .type-body-sp-flex.fifth {
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 8px;
        margin: 18px 0 0 0;
    }

    .type-body-sp-flex.fifth .type-left-body-flex-imgOuter img {
        width: 360px;
        height: auto;
    }
}

@media (max-width: 1024px) {
    .type-body-sp-flex.fifth .type-left-body-flex-imgOuter img {
        width: 300px;
    }
}

/* タイプ診断完了画面 */

#type-clear {
    background-color: #e8f8ea;
    background-image: url('/shindan/type_shindan/img/back.webp');
    display: none;
    text-align: center;
    min-height: 100vh;
    font-family: Hiragino Kaku Gothic ProN;
}

.type-clear-imgOuter {
    padding: 48px 0 0 0;
}

.type-clear-head {
    font-size: 23px;
    border-bottom: 2px dotted black;
    width: 122px;
    margin: 0 auto;
    padding: 64px 0 0 0;
    line-height: 52px;
    font-weight: 600;
}

.type-clear-body {
    margin: 8px 0 0 0;
    font-size: 58px;
    color: #fb8050;
    font-weight: 600;
}

.type-clear-body-small {
    font-size: 42px;
    color: #101010;
}

.type-clear-footer {
    font-size: 40px;
    color: #fb8050;
    font-weight: 600;
    margin: 24px 0 0 0;
}

@media (max-width: 1280px) {
    .type-clear-head {
        padding: 32px 0 0 0;
    }

    .type-clear-body {
        font-size: 44px;
    }

    .type-clear-body-small {
        font-size: 33px;
    }

    .type-clear-imgOuter {
        padding: 36px 0 0 0;
    }

    .type-clear-imgOuter img {
        width: 240px;
        height: auto;
    }

    .type-clear-footer {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .type-clear-body {
        font-size: 38px;
        display: flex;
        justify-content: center;
        align-items: center;
        column-gap: 8px;
    }

    .type-clear-body-small {
        font-size: 30px;
    }
}

/* マッチング診断1問目 */

#matching1 {
    background-color: #fee9c7;
    display: none;
    background-image: url('/shindan/type_shindan/img/back.webp');
    text-align: center;
    min-height: 100vh;
    font-family: Hiragino Kaku Gothic ProN;
}

.matching-first {
    display: flex;
}

.matching-left {
    display: flex;
    max-width: 1360px;
    column-gap: 48px;
    padding: 60px 0 0;
}

.matching-left-imgOuter {
    margin: 0 0 0 40px;
}

.matching-left-body-inner {
    background-color: #fff;
    width: 1200px;
    height: 744px;
    border-radius: 30px;
    background-image: url('/shindan/type_shindan/img/search_human.webp');
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 1150px auto;
}

.matching-left-body-title {
    padding: 52px 0 0 0;
    text-align: center;
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.matching-left-body-q {
    font-size: 36px;
    font-weight: 600;
    line-height: 66px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #3bafff;
    padding: 0 12px 0 0;
}

.matching-first-box {
    position: relative;
    width: 240px;
    border: 2px solid #b4eaff;
    padding: 10px 0 10px 0;
    text-align: center;
    margin: 16px auto 0;
    cursor: pointer;
    font-family: Meiryo, sans-serif;
}

.matching-first-question {
    font-size: 18px;
    color: #808080;
    font-family: Meiryo, sans-serif;
}

.matching-first-question::after {
    content: url('/shindan/type_shindan/img/vector_black.svg');
    position: absolute;
    top: 20%;
    right: 16px;
    display: inline-block;
    vertical-align: middle;
}

#dropdownMenuFirst,#dropdownMenuSecond {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 3px solid #ebf7ff;
    background-color: #fff;
    z-index: 1;
    max-height: 600px;
    overflow-y: scroll;
    font-family: Meiryo, sans-serif;
}

#dropdownMenuFirst p ,#dropdownMenuSecond p {
    margin: 0;
    padding: 10px;
    cursor: pointer;
    font-family: Meiryo, sans-serif;
}

#dropdownMenuFirst p:hover, #dropdownMenuSecond p:hover {
    background-color: #ebf7ff;
}

.matching-first-footer {
    margin: 48px auto 0;
    display: flex;
    justify-content: center;
}

.matching-right {
    width: 354px;
    text-align: center;
    margin: 40px 0 0 0;
}

.matching-footer-imgOuter {
    padding: 55px 0 110px 24px;
}

@media (min-width: 1441px){
    #matching1 {
        min-width: 1600px;
    }
}

@media (max-width: 1024px) {
    .matching1-pc {
        display: none;
    }
}

@media (max-width: 1440px) {
    .matching-left-body-title {
        font-size: 23px;
        line-height: 32px;
    }

    .matching-left-body-q {
        font-size: 36px;
    }

    .matching-left-body-imgOuter img {
        width: 777px;
        height: auto;
    }
    .matching-left-body-inner {
        width: 887px;
        height: 720px;
        background-size: 878px auto;
    }
}

@media (max-width: 1280px) {
    .matching-left {
        padding: 30px 0 0;
    }
    .matching-left-imgOuter img {
        width: 77px;
        height: auto;
    }
    .matching-left-body-imgOuter img {
        width: 597px;
    }
    .matching-left-body-inner {
        width: 707px;
        height: 468px;
        background-size: 655px auto;
    }
    .matching-left-body-title {
        font-size: 20px;
        padding: 24px 0 0 0;
    }
    .matching-left-body-q {
        font-size: 36px;
    }
    .matching-first-box {
        margin: 16px auto 0;
    }
    .matching-first-footer {
        margin: 36px auto 0;
    }
    .matching-right {
        width: 200px;
    }
    .matching-right img {
        width: 134px;
        height: auto;
    }
    .matching-footer-imgOuter {
        display: none;
    }
    #nextBtnFirstNo img,#nextBtnFirstYes img {
        width: 280px;
        height: auto;
    }
}

/* マッチング診断1問目 SP*/

@media (min-width: 1025px) {
    .matching-top-imgOuter-sp, .matching-human-imgOuter-sp, .matching-flex-sp,
    .matching-body-sp-inner-imgOuter, .matching-footer-imgOuter-sp {
        display: none;
    }

    .matching-left-body-title br {
        display: none;
    } 
}

@media (max-width: 1280px) {
    #dropdownMenuFirst,#dropdownMenuSecond {
        max-height: 320px;
    }
}

@media (max-width: 1024px) {

    #matching1 {
        background-image: none;
    }

    .matching-first {
        display: initial;
        margin: 60px 0 0 0;
    }

    .matching-top-imgOuter-sp {
        padding: 5px 0 0 0;
        text-align: center;
    }

    .matching-top-imgOuter-sp img {
        width: 200px;
        height: auto;
    }

    .matching-human-imgOuter-sp {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 0;
    }

    .matching-flex-sp {
        display: flex;
        align-items: center;
        justify-content: center;
        column-gap: 11px;
        position: relative;
        z-index: 1;
    }

    .matching-step-sp {
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 23px;
        font-weight: 600;
        line-height: 34.5px;
        text-align: center;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        color: #101010;
    }

    .matching-title-sp {
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 28px;
        font-weight: 600;
        line-height: 40px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        color: #369fe8;
    }

    .matching-left-body {
        position: relative;
    }

    .matching-body-sp-inner-imgOuter {
        text-align: center;
    }

    .matching-left {
        display: initial;
        max-width: initial;
    }

    .matching-left-imgOuter,.matching-right,.matching-footer-imgOuter {
        display: none;
    }

    .matching-left-body-inner {
        background-image: none;
        width: 100%;
        border-radius: 12px;
        background-color: #fff;
        padding: 22px 22px 80px;
    }

    .matching-left-body-q {
        display: none;
    }

    .matching-left-body-title {
        padding: 16px 0 0 0;
        font-size: 23px;
        line-height: 32px;
    }

    .matching-first-box {
        margin: 20px auto 0;
    }

    .matching-first-footer {
        margin: 36px auto 0;
    }

    .matching-left-body-imgOuter {
        padding: 0 14px;
        position: relative;
        margin: 0;
    }

    .matching-left-body-imgOuter img {
        width: 100%;
        height: 8px;
    }

    #nextBtnFirstNo img, #nextBtnFirstYes img {
        width: 320px;
        height: auto;
    }

    .matching-footer-imgOuter-sp {
        display: block;
        text-align: center;
        padding: 14px 0 20px;
    }

    #dropdownMenuFirst,#dropdownMenuSecond {
        max-height: 355px;
    }
}

@media (max-width: 767px) {

    .matching-top-imgOuter-sp img {
        width: 138px;
        height: auto;
    }

    .matching-human-imgOuter-sp img {
        width: 70px;
        height: auto;
    }

}

/* マッチング診断2問目 */

#matching2 {
    background-color: #fee9c7;
    display: none;
    background-image: url('/shindan/type_shindan/img/back.webp');
    text-align: center;
    min-height: 100vh;
    font-family: Hiragino Kaku Gothic ProN;
}

.matching-second-box {
    position: relative;
    width: 240px;
    border: 2px solid #b4eaff;
    padding: 10px 0 10px 0;
    text-align: center;
    margin: 16px auto 0;
    cursor: pointer;
    font-family: Meiryo, sans-serif;
}

.matching-second-question {
    font-size: 18px;
    color: #808080;
    font-family: Meiryo, sans-serif;
}

.matching-second-question::after {
    content: url('/shindan/type_shindan/img/vector_black.svg');
    position: absolute;
    top: 20%;
    right: 16px;
    display: inline-block;
}

.matching-second-footer {
    margin: 48px auto 0;
    display: flex;
    justify-content: center;
    column-gap: 24px;
}

.dropdown-menu p {
    margin: 0;
    padding: 10px;
    cursor: pointer;
}

.dropdown-menu p:hover {
    background-color: #ebf7ff;
}

@media (min-width: 1441px){
    #matching2 {
        min-width: 1600px;
    }
}

@media (max-width: 1024px) {
    .matching2-pc {
        display: none;
    }
}

@media (max-width: 1280px) {
    .matching-second-box {
        margin: 16px auto 0;
    }
    .matching-second-footer {
        margin: 36px auto 0;
    }
    #nextBtnSecondNo img,#nextBtnSecondYes img {
        width: 280px;
        height: auto;
    }
}

/* マッチング診断2問目 SP*/

@media (min-width: 1025px) {
    .matching2-sp {
        display: none;
    }
}

@media (max-width: 1024px) {
    #matching2 {
        background-image: none
    }
    
    .matching2-sp {
        display: block;
        position: relative;
    }

    .matching-second-box {
        margin: 20px auto 0;
    }

    .matching-second-footer {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        row-gap: 24px;
        margin: 36px auto 0;
    }

    #nextBtnSecondNo img, #nextBtnSecondYes img {
        width: 320px;
        height: auto;
    }
}

/* マッチング診断3問目 */

#matching3 {
    background-color: #fee9c7;
    display: none;
    background-image: url('/shindan/type_shindan/img/back.webp');
    text-align: center;
    min-height: 100vh;
    font-family: Hiragino Kaku Gothic ProN;
}

.matching-left-body-inner.list {
    background-color: #fff;
    width: 1200px;
    border-radius: 30px;
    background-image: url('/shindan/type_shindan/img/search_human.webp');
    background-repeat: no-repeat;
    background-position: bottom right;
}

.matching-left-body-asterisk {
    font-family: Hiragino Kaku Gothic Pro;
    font-weight: 600;
    font-size: 16px;
    line-height: 0;
    text-align: right;
    padding: 0 270px;
}

.matching-left-body-question {
    padding: 12px 0 0 0;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    justify-content: center;
    margin: 0 auto;
    width: fit-content;
}

.myButton {
    box-sizing: border-box;
    background-color: #ebf7ff;
    color: #009de8;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 21px;
    width: 277px;
    height: 80px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 13px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: Meiryo, sans-serif;
}

.myButton:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4), 0 0 12px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.matching-third-footer {
    margin: 36px auto 0;
    display: flex;
    justify-content: center;
    column-gap: 24px;
}

@media (min-width: 1441px){
    #matching3 {
        min-width: 1600px;
    }
}

@media (max-width: 1440px) {
    .matching-left-body-inner.list {
        width: 887px;
    }
    .matching-left-body-asterisk {
        padding: 0 120px;
    }
    .matching-left-body-question {
        gap: 0;
        padding: 12px 0 0 0;
    }
    .myButton {
        width: 248px;
        height: 76px;
        font-size: 18px;
    }
}

@media (max-width: 1280px) {
    .matching-left-body-inner.list {
        width: 707px;
    }
    .matching-left-body-asterisk {
        font-size: 14px;
        padding: 0 70px;
    }
    .myButton {
        width: 204px;
        height: 58px;
        font-size: 15px;
        margin: 6px;
    }
    #nextBtnThirdNo img,#nextBtnThirdYes img {
        width: 280px;
        height: auto;
    }
    .matching-third-footer {
        margin: 16px auto 0;
    }
}

@media (max-width: 1024px) {
    .matching-third-footer {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        row-gap: 24px;
        margin: 36px auto 0;
    }
}

/* マッチング診断3問目 SP*/

@media (max-width: 1024px) {
    #matching3 {
        background-image: none
    }

    .matching-left-body-asterisk {
        padding: 0;
        text-align: center;
        margin: 12px 0 0 0;
    }

    .matching-left-body-inner.list {
        background-image: none;
        width: 100%;
        height: initial;
        border-radius: 12px;
        background-color: #fff;
        padding: 36px 11px 40px;
    }

    .matching-left-body-question {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    #nextBtnThirdNo img, #nextBtnThirdYes img {
        width: 320px;
        height: auto;
    }
}

@media (min-width: 720px) and (max-width: 1024px) {
    .matching-left-body-question {
        width: 700px;
    }
}

@media (max-width: 550px) {
    .myButton {
        width: 185px;
        height: 68px;
        font-size: 16px;
        padding: 0;
    }
}

@media (max-width: 420px) {
    .myButton {
        width: 148px;
        height: 68px;
        font-size: 13px;
    }
}

/* マッチング診断完了画面 */

#matching-clear {
    background-color: #fee9c7;
    background-image: url('/shindan/type_shindan/img/back.webp');
    display: none;
    text-align: center;
    min-height: 100vh;
    font-family: Hiragino Kaku Gothic ProN;
}

.matching-clear-imgOuter {
    padding: 40px 0 0 0;
}

.matching-clear-head {
    font-size: 23px;
    border-bottom: 2px dotted black;
    width: 122px;
    margin: 0 auto;
    padding: 64px 0 0 0;
    line-height: 52px;
    font-weight: 600;
}

.matching-clear-body {
    margin: 8px 0 0 0;
    font-size: 58px;
    color: #3bafff;
    font-weight: 600;
}

.matching-clear-body-small {
    font-size: 42px;
    color: #101010;
}

.matching-clear-footer {
    font-size: 40px;
    color: #3bafff;
    font-weight: 600;
    margin: 40px 0 0 0;
}

@media (max-width: 1280px) {
    .matching-clear-head {
        padding: 32px 0 0 0;
    }

    .matching-clear-body {
        font-size: 44px;
    }

    .matching-clear-body-small {
        font-size: 33px;
    }

    .matching-clear-imgOuter {
        padding: 36px 0 0 0;
    }

    .matching-clear-imgOuter img {
        width: 240px;
        height: auto;
    }

    .matching-clear-footer {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .matching-clear-body {
        font-size: 38px;
        display: flex;
        justify-content: center;
        align-items: center;
        column-gap: 8px;
    }

    .matching-clear-body-small {
        font-size: 30px;
    }
}


/* 結果画面 */
.result {
    background-color: #e8f8ea;
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'BIZ UDPGothic', 'Meiryo', sans-serif;
    background-image: url(/shindan/type_shindan/img/back.webp);
}

.result-header-flex {
    display: flex;
    max-width: 1024px;
    margin: 0 auto;
    column-gap: 162px;
    justify-content: space-between;
}

.result-flex {
    display: flex;
    max-width: 1024px;
    margin: 0 auto;
    column-gap: 8px;
}

.result-header-imgOuter {
    margin: 24px 0 0 0;
}

.result-header-imgOuter-text {
    margin: 8px 0 0 0;
}

.result-type {
    margin: 22px 0 0 0;
}

.result-you {
    font-weight: 600;
    font-size: 25px;
    line-height: 48px;
}

.result-sub {
    font-weight: 600;
    font-size: 20px;
}

.result-title {
    font-weight: 600;
    font-size: 25px;
    line-height: 48px;
}

.result-title-color {
    font-size: 32px;
    color: #e56a1e;
}

.result-text {
    font-size: 15px;
    line-height: 26px;
}

.result-text:nth-of-type(5) {
    margin: 12px 0 0 0;
}

.result-text-color {
    color: #0d66b0;
    background: linear-gradient(to bottom, #fff 100%, transparent 100%);
    background-repeat: no-repeat;
    font-weight: 600;
}

.result-aste {
    margin: 1px 0 0 0;
    font-size: 14px;
    float: right;
}

.result-flex-imgOuter.artist {
    margin: -170px 28px 0 0;
}

.result-flex-imgOuter.adventurer {
    margin: -190px 16px 0 0;
}

.result-flex-imgOuter.guardian {
    margin: -80px 0 0 0;
}

.result-flex-imgOuter.leader {
    margin: -80px 0 0 0;
}

.result-main {
    background-color: #fff;
    max-width: 1340px;
    margin: 0 auto 0;
    padding: 36px 14px;
}

.result-main-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.result-main-title {
    font-family: Inter,Hiragino Kaku Gothic ProN;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    text-align: center;
}

.result-main-title-color {
    font-size: 32px;
    color: #ff8b52;
}

.result-main-aste {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    max-width: 755px;
    margin: 16px auto 0;
    background: linear-gradient(to bottom, #feffb9 100%, transparent 100%);
    background-repeat: no-repeat;
}

.result-main-box {
    padding: 29px 44px 0;
}

.result-main-box-bottom {
    padding: 24px 44px 0;
}

.main-card-flex {
    display: flex;
    column-gap: 36px;
}

.main-card-outer {
    width: 385px;
}

.main-card-inner {
    background-color: #d2e4ff;
    width: 385px;
    border-radius: 20px;
    margin: 0;
    padding: 24px 16px 20px;
}

.main-card-box {
    display: flex;
}

.main-card-inner-back-imgOuter {
    margin: 8px 0 0 0;
}

.main-card-inner-human-imgOuter {
    margin: -60px 0 0 20px;
    border-radius: 50%;
    overflow: hidden;
}

.main-card-right {
    margin: 8px 0 0 -10px;
    flex: 1;
    text-align: center;
}

.main-card-right-third {
    margin: 47.5px 0 0 0px;
    width: 164px;
    text-align: center;
}

.main-card-adviser {
    font-family: Hiragino Kaku Gothic ProN;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
}

.main-card-name {
    font-family: Hiragino Kaku Gothic ProN;
    font-weight: 600;
    font-size: 19px;
    line-height: 21px;
    min-height: 42px;
    margin: 4px 0 0 0;
}

.main-card-comment {
    background-image: url(/shindan/type_shindan/img/main_card_back.webp);
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
    width: 185px;
    height: 58px;
    text-align: center;
    padding: 10px 0 0 13px;
    font-family: Hiragino Kaku Gothic ProN;
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
    color: #fff;
    margin: 0 0 0 8px;
}
.main-card-comment.non-visible {
    visibility: hidden;
}

.main-card-theme {
    margin: 16px 0 0 0;
    display: flex;
}

.main-card-theme-left {
    width: 83px;
    height: 96px;
    padding: 13px 14.5px;
    background-color: #ff4c06;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    flex-direction: column;
    box-shadow: inset 4px 4px 8px -3px #ff7038, inset 4px 4px 8px -3px #ff7038, inset 8px 8px 16px -6px #ffe9d5, inset 8px 8px 16px -6px #ffe9d5;
}

.main-card-theme-left-imgOuter {
    text-align: center;
}

.main-card-theme-left-text {
    font-family: Hiragino Kaku Gothic ProN;
    font-weight: 600;
    font-size: 18px;
    line-height: 23.47px;
    color: #fff;
    margin: 4px 0 0 0 ;
}

.main-card-theme-right {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    background-color: #fff;
    width: 270px;
    height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-card-theme-text {
    border-bottom: 1px dashed #ffa07a;
    width: 270px;
    font-family: Hiragino Kaku Gothic ProN;
    font-weight: 600;
    font-size: 16px;
    line-height: 30px;
    color: #0d66b0;
    padding: 0 0 0 8px;
}

.two-elements .main-card-theme-text {
    line-height: 44px;
}

.main-card-theme-text:last-child {
    border-bottom: none
}

.main-card-adviser-outer {
    width: 352px;
    background-color: #fff;
    margin: 12px 0 0 0;
    border-radius: 10px;
    padding: 8px 18px;
    min-height: 208px;
}

.adviser-inner {
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 15px;
    line-height: 24px;
}

.main-card-adviser-button {
    display: block;
    max-width: 319px;
    margin: 16px auto 0;
}

.main-card-adviser-button img {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.main-card-adviser-button:hover {
    opacity: 0.9;
}

.result-footer-button {
    margin: 48px 0 0 0;
    text-align: center;
}

.result-footer-human {
    position: relative;
    z-index: 10;
}

.result-footer-button-imgOuter {
    position: relative;
    z-index: 0;
    display: inline-block;
}

.result-footer-button-imgOuter {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 44px;
}

.result-footer-button-imgOuter:hover {
    opacity: 0.9;
}

.result-footer-logo {
    text-align: center;
    padding: 24px 0;
}

@media (max-width: 1024px) {
    .main-card-comment.non-visible {
        display: none;
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .result-main {
        max-width: 1024px;
    }
    .result-main-box {
        padding: 29px 0 0;
    }
    .result-main-box-bottom {
        padding: 28px 0 0;
    }
    .main-card-flex {
        column-gap: 8px;
    }
    .main-card-inner-back-imgOuter {
        margin: 12px 0 0 0;
    }
    .main-card-inner-back-imgOuter img {
        width: 60px;
        height: auto;
    }
    .main-card-inner-human-imgOuter img {
        width: 109px;
        height: auto;
    }
    .main-card-inner {
        width: 328px;
    }
    .main-card-comment {
        width: 142px;
        margin: 0 0 0 8px;
    }.main-card-theme-left-text {
        font-size: 14px;
        margin: 4px 0 0 8px;
        line-height: 20px;
    }
    .main-card-theme-text {
        width: 220px;
    }
    .main-card-adviser-outer {
        width: 296px;
        min-height: 256px;
    }
    .main-card-adviser-button {
        max-width: 270px;
    }
    .main-card-adviser-button img {
        width: 270px;
        height: auto;
    }
    .main-card-theme-left {
        width: 68px;
        height: 76px;
        padding: 6px 0 0 0;
    }
    .main-card-theme-right {
        height: 76px;
    }
    .main-card-theme-text {
        font-size: 14px;
        line-height: 25px;
    }
    .main-card-theme-left-imgOuter img {
        width: 16px;
        height: auto;
    }
    .main-card-name {
        font-size: 17px;
    }
}

/* SP版 */

@media (min-width: 1025px) {
    .result-sp {
        display: none;
    } 

    .result-main-aste-sp {
        display: none;
    }

    .result-footer-button-imgOuter-sp {
        display: none;
    }

    .result-footer-logo-imgOuter-sp {
        display: none;
    }
}


@media (max-width: 1024px) {
    .result-sp {
        display: block;
    }
    
    .result-sp-box {
        text-align: center;
        max-width: 480px;
        margin: 0 auto;
    }

    .result-you-sp {
        padding: 52px 0 0 0;
        font-weight: 600;
        font-size: 18px;
        line-height: 27px;
        color: #136c3c;
    }

    .result-sub-sp {
        font-weight: 600;
        font-size: 32px;
        line-height: 39px;
    }

    .result-title-sp {
        font-weight: 600;
        font-size: 25px;
        line-height: 27px;
        margin: 12px 0 0 0;
    }

    .result-human-imgOuter-sp {
        position: absolute;
        top: 16px;
        right: 0;
        z-index: 0;
    }

    .result-human-imgOuter-sp img {
        width: 90px;
        height: 148px;
    }

    .result-text-sp {
        margin: 18px 0 0 0;
        padding: 0 20px;
        text-align: left;
        font-size: 15px;
        line-height: 26px;
    }

    .result-aste-sp {
        font-size: 14px;
        line-height: 21px;
        text-align: right;
        padding: 0 20px 24px;
    }

    .result-header-flex {
        display: none;
    }

    .result-flex {
        display: none;
    }

    .result-main {
        width: 100%;
        border-radius: 20px;
        padding: 38px 14px;
    }

    .result-main-box {
        padding: 20px 44px 0;
    }

    .result-main-box-bottom {
        padding: 36px 0 0;
    }

    .result-main-aste {
        display: none;
    }

    .result-main-aste-sp {
        display: block;
        font-size: 16px;
        line-height: 24px;
        text-align: center;
        max-width: 348px;
        margin: 16px auto 0;
        background: linear-gradient(to bottom, #feffb9 100%, transparent 100%);
        background-repeat: no-repeat;
    }

    .result-main-aste-sp:nth-of-type(3) {
        margin: 4px auto 0;
        max-width: 440px;
    }

    .main-card-flex,.main-card-flex-bottom {
        flex-direction: column;
        align-items: center;
        row-gap: 36px;
    }

    .result-footer-button-imgOuter {
        display: none;
    }

    .result-footer-button-imgOuter-sp {
        display: block;
        margin: 0 auto 0;
        max-width: 340px;
    }

    .result-footer-logo {
        padding: 24px 0;
    }

    .result-footer-logo-imgOuter {
        display: none;
    }

    .result-footer-logo-imgOuter-sp {
        display: block;
    }

    .result-footer-human img {
        width: 362px;
        height: auto;
    }

    .main-card-inner-back-imgOuter {
        margin: 8px 0 0 0;
    }

    .main-card-inner-human-imgOuter {
        margin: -60px 0 0 22px;
    }
    
    .main-card-theme {
        flex-direction: column;
    }

    .main-card-adviser-outer {
        min-height: initial;
    }

    .main-card-theme-left {
        width: 100%;
        height: 28px;
        display: flex;
        flex-direction: initial;
        border-bottom-left-radius: initial;
        border-top-right-radius: 15px;
        justify-content: center;
        align-items: center;
        column-gap: 4px;
    }

    .main-card-theme-left-text br {
        display: none;
    }

    .main-card-theme-right {
        width: 100%;
        border-top-right-radius: initial;
        border-bottom-left-radius: 15px;
    }

    .main-card-theme-text {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .result-main-title {
        font-size: 18px;
        line-height: 28px;
    }

    .result-main-title-color {
        font-size: 18px;
    }

    .result-main-imgOuter img {
        width: 53px;
        height: auto;
    }

    .result-sub-sp {
        font-size: 28px;
    }

    .result-footer-button-imgOuter img {
        width: 340px;
        height: 80px;
    }

    .main-card-outer {
        width: 345px;
    }

    .main-card-inner {
        width: 345px;
    }

    .result-main-aste-sp {
        max-width: 345px;
    }
    
    .main-card-adviser-outer {
        width: 100%;
    }

    .main-card-theme-left-imgOuter img {
        width: 16px;
        height: 16px;
    }

    .main-card-theme-left-text {
        font-size: 14px;
    }

    .main-card-adviser-button {
        max-width: 300px;
    }

    .main-card-adviser-button img {
        width: 300px;
        height: auto;
    }

    .main-card-comment {
        width: 150px;
        margin: 10px 0 0 8px;
    }

    .result-footer-human img {
        width: 350px;
    }
}

@media (max-width: 450px) {
    .result-main-aste-sp {
        font-size: 13px;
        max-width: 290px;
    }

    .result-main-aste-sp:nth-of-type(3) {
        max-width: 345px;
    }
}

#nextBtnFirstNo, #nextBtnSecondNo, #nextBtnThirdNo {
    cursor: auto;
}

.myButton.selected {
    background-color: #ffd7d9;
    color: #e13840;
    box-shadow: '0px 0px 12px 0px #FFFFFF8C, 8px 8px 16px 0px #EF7C81 inset';
}

.strong-list-right b {
    font-family: Hiragino Kaku Gothic ProN;
    font-weight: 600;
    font-size: 17px;
    line-height: 25.5px;
    color: #fb426c;
    background: linear-gradient(to bottom, #ffff55 100%, transparent 100%);
    background-repeat: no-repeat;
}