/* ********************************
個人結果ページ
******************************** */

.result_header {
    padding-bottom: 30px;
}
.result_section {
    background-color: #D9EAE7;
    position: relative;
    z-index: 0;
}
.result_title_wrap {
    margin-top: -64px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}
.result_title_wrap::before {
    content: "";
    position: absolute;
    top: -0;
    left: calc(50% - 169px);
    z-index: -1;
    width: 339px;
    height: 87px;
    background-image: var(--img-result-ribbon);
    background-repeat: no-repeat;
    background-size: contain;
}
.result_title_wrap span {
    color: #fd5c5c;
}

.result_bear img {
    display: block;
    margin: 0 auto;
}

.result_card_container {
    background-color: #fff;
    border-radius: 20px;
    padding: 10px;
    margin-top: -20px;
}

.result_card_wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.result_card {
    text-align: start;
    width: 90%;
    margin: 0 auto;
}

.result_card_titleWrap {
    border-bottom: dashed 2px #77C0B3;
    padding-bottom: 10px;
    margin: 20px auto;
}

.result_card_title {
    font-size: clamp(1rem, 0.964rem + 0.18vw, 1.125rem);
    font-weight: bold;
    margin-left: 10px;
}

.result_card_container .twitter_share_button {
    display: block;
    margin-top: 40px;
}
.bear_img{
    display: flex;
    justify-content: center;
}


.get_amulet {
    width: 86%;
    margin: 120px auto 30px;
    border-radius: 30px;
    border: 5px solid #77c0b3;
    padding: 60px 45px;
    position: relative;
}
.get_amulet h2 {
    color: white;
    width: 96%;
    padding: 20px 0px 60px;
    text-align: center;
    font-weight: bold;
    font-size: clamp(14px, 2.5vw, 35px);
    background: url(https://d23h2dywmtq7mr.cloudfront.net/common/ribbon_bk.png) no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: -80px;
}
.get_amulet h2 span {
    font-size: clamp(16px, 3vw, 42px);
}
.get_amulet h2 span.yellow {
    color: #fff55b;
}
.get_amulet article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
}
.get_amulet article figure,.get_amulet article dl {
    width: 49%;
}
.get_amulet article dt {
    padding-left:13%;
    background: url(https://d23h2dywmtq7mr.cloudfront.net/common/clover_icon.png) no-repeat;
    background-size: 9%;
    background-position: left 10px;
    font-size: clamp(16px, 2.5vw, 34px);
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 8px dotted #77c0b3;
}
.get_amulet article dd p {
    font-size: 22px;
    margin: 5% 0;
}
.get_amulet article dd div {
    font-size: 40px;
    font-weight: bold;
}
.get_amulet article dd div small {
    font-size: 25px;
}

@media (max-width:768px) {
    .get_amulet {
        width: 90%;
        margin: 60px auto 30px;
        border-radius: 30px;
        border: 2px solid #77c0b3;
        padding: 20px 15px;
        position: relative;
    }
    .get_amulet h2 {
        color: white;
        width: 100%;
        padding: 0.5% 0px 8.5%;
        text-align: center;
        font-weight: bold;
        font-size: clamp(14px, 2.5vw, 35px);
        background: url(https://d23h2dywmtq7mr.cloudfront.net/common/ribbon_bk_sp.png) no-repeat;
        background-size: contain;
        background-position: center 10%;
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        top: -5%;
    }
    .get_amulet h2 span {
        font-size: clamp(16px, 3vw, 42px);
        display: block;
    }
    .get_amulet h2 span.yellow {
        color: #fff55b;
        display: inline-block;
    }
    .get_amulet article {
            display: block;
        padding-top: 8%;
    }
    .get_amulet article figure {
        width: 70%;
        margin: 5% auto 8%;
    }
    .get_amulet article figure img {
        display: block;
        margin: 0 auto;
    }
    .get_amulet article dl {
        width: 100%;
    }
    .get_amulet article dt {
        padding-left: 30px;
        background: url(https://d23h2dywmtq7mr.cloudfront.net/common/clover_icon.png) no-repeat;
        background-size: 5%;
        background-position: left top;
        font-size: clamp(16px, 2.5vw, 34px);
        font-weight: bold;
        margin-bottom: 10px;
        padding-bottom: 8px;
        border-bottom: 4px dotted #77c0b3;
    }

    .get_amulet article dd p {
        font-size: 16px;
        margin: 3% 0;
    }
    .get_amulet article dd a {
        display: block;
        margin: 0 auto;
        width: 86%;
    }
    .get_amulet article dd a img {
        width: 100%;
    }
    .get_amulet article dd div {
        font-size: 30px;
        font-weight: bold;
    }
    .get_amulet article dd div small {
        font-size: 18px;
    }
}

@media (min-width:600px) {
    .result_card_wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 30px;
    }
}

@media (min-width:1015px) {
    .result_header {
        padding-bottom: 0;
    }
    .result_title_wrap::before {
        background-image: var(--img-result-ribbon-pc);
        width: 600px;
        height: 228px;
        top: -30px;
        left: 0;
    }
    .result_wrap {
        display: grid;
        grid-template-columns: 600px 1fr;
        align-items: center;
        max-width: 1080px;
        margin: 0 auto;
        position: relative;
    }
    .result_bear {
        justify-self: end;
    }
    .result_bear img {
        width: 600px;
    }
    .result_title {
        font-size: 36px;
    }
    .result_output {
        font-size: 42px;
    }
    .result_card_container {
        grid-template-rows: 208px;
    }
    .result_card_wrap {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1014px) {
    .get_amulet article dt {
        padding-left: 13%;
        background: url(https://d23h2dywmtq7mr.cloudfront.net/common/clover_icon.png) no-repeat;
        background-size: 9%;
        background-position: left top;
        font-size: clamp(14px, 2vw, 26px);
        font-weight: bold;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 8px dotted #77c0b3;
    }
    .get_amulet {
        width: 86%;
        margin: 120px auto 30px;
        border-radius: 30px;
        border: 5px solid #77c0b3;
        padding: 30px 45px;
        position: relative;
    }
    .get_amulet article dd div {
        font-size: 30px;
        font-weight: bold;
    }
    .get_amulet article figure, .get_amulet article dl {
        width: 48%;
    }
    .get_amulet article dd div small {
        font-size: 18px;
    }
    .get_amulet article dd p {
        font-size: 16px;
    }
}

@media (max-width: 500px) {
    .get_amulet article dt {
        background-size: 9%;
    }
}
