*:focus {
    outline: none;
}

html {
    font-size: 62.5%;
    font-family: Avenir, "Open Sans", "Helvetica Neue", Helvetica, Arial, Verdana, Roboto, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 0;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

#bodyIn {
    background: #FFF;

    @media (width >=770px) {
        margin-top: 62px;
    }
}

main {
    font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", MeiRyo, sans-serif;
    padding-top: 55px;
}

.breadcrumb_inner {
    margin: 0 auto;
}

@media (width < 770px) {

    /* shindan_gem_top ページかつ #screenQuiz に is-active がある時だけ消す */
    body.shindan_gem_top:has(main#screenQuiz.is-active) .page_top_btn {
        display: none !important;
    }
}

/* ボタン */
button {
    border: none;
    outline: none;
    background-clip: padding-box;
}

.js_startBtn,
.restartBtn {
    width: 271px;
    height: 54px;
    background: linear-gradient(90deg, #FB468F 0%, #C026D3 100%);
    border-radius: 99px;
    margin: 20px 0;
    box-shadow: 0px 10px 24px -6px #FB468F4D;
    color: #FFF;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all .3s;
    position: relative;
    overflow: hidden;

    @media (width >=770px) {
        width: 400px;
        height: 62px;
        font-size: 24px;
        margin: 30px 0;
    }
}

.js_startBtn:hover,
.restartBtn:hover {
    transition: all .3s;
    filter: brightness(1.2);
}

.btn_shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) calc(50% - 30px),
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0) calc(50% + 30px));
    transform: translateX(-100%) skewX(-25deg);
    transition: transform 0.6s ease-in-out;
}

.js_startBtn:hover .btn_shine,
.restartBtn:hover .btn_shine {
    transform: translateX(100%) skewX(-25deg);
}

.js_startBtn a,
.restartBtn a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

a.restartBtn {
    text-decoration: none;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

/* 診断を開始する・左側の画像 */
.js_startBtn .btn_text::before,
.restartBtn .btn_text::before {
    content: "";
    display: inline-block;
    width: 33px;
    height: 14px;
    background-image: url('/shindan/gem/images/btn_deco_left.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin-right: 15px;

    @media (width >=770px) {
        width: 51px;
        height: 22px;
    }
}

/* 診断を開始する・右側の画像 */
.js_startBtn .btn_text::after,
.restartBtn .btn_text::after {
    content: "";
    display: inline-block;
    width: 33px;
    height: 14px;
    background-image: url('/shindan/gem/images/btn_deco_right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin-left: 15px;

    @media (width >=770px) {
        width: 51px;
        height: 22px;
    }
}

ul li {
    list-style: none;
}

/* 見出し */
.heading_h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 400;
    text-align: center;
    color: #FC1B79;
    padding: 20px 0 15px;

    @media (width >=770px) {
        font-size: 32px;
        margin: 15px 0 30px;
    }
}

/* 見出し・左側の画像 */
.heading_h2::before {
    content: "";
    display: inline-block;
    width: 41px;
    height: 65px;
    background-image: url('/shindan/gem/images/deco_left.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;

    @media (width >=770px) {
        width: 67px;
        height: 105px;
    }
}

/* 見出し・右側の画像 */
.heading_h2::after {
    content: "";
    display: inline-block;
    width: 41px;
    height: 65px;
    background-image: url('/shindan/gem/images/deco_right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;

    @media (width >=770px) {
        width: 67px;
        height: 105px;
    }
}

.screen {
    display: none;

    &.is-active {
        display: block;
    }
}

/* TOP画面・レイアウト（is-active時のみ表示） */
#screenTop.is-active {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
}

.mv_cover {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    padding-top: 35px;

    @media (width >=770px) {
        justify-content: space-between;
        gap: 20px;
        flex-flow: row;
        padding-top: 0;
        padding-left: 5%;
        padding-right: 5%;
    }
}

.mv_top {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
}

.feature_list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    gap: 20px;

    @media (width >=770px) {
        flex-flow: row;
        justify-content: center;
        align-items: flex-start;
        gap: clamp(10px, 1.5vw, 25px);
        /* 画面幅に応じて隙間を自動微調整 */
    }
}

.feature_list li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    margin: 0 5%;
    width: 100%;

    @media (width >=770px) {
        flex: 1 1 340px;
        /* 3等分ベースで自動伸縮 */
        max-width: 380px;
        /* ★大きくなりすぎ防止 */
        min-width: 270px;
        /* ★小さくなりすぎ防止 */
        margin: 0;
    }
}

.feature_img {
    width: 100%;
    height: auto;
}

/* SP用の画像幅調整 */
.feature_img.--img01 {
    max-width: 157px;
}

.feature_img.--img02 {
    max-width: 177px;
}

.feature_img.--img03 {
    max-width: 222px;
}

/* PC用の画像幅調整（最大サイズを保ちつつ画面に応じて縮小） */
@media (width >=770px) {
    .feature_img.--img01 {
        max-width: min(100%, 206px);
    }

    .feature_img.--img02 {
        max-width: min(100%, 231px);
    }

    .feature_img.--img03 {
        max-width: min(100%, 289px);
    }
}

.feature_item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    width: 100%;
    /* 親(li)の幅いっぱいに可変 */
    max-width: 340px;
    height: 100px;
    padding: 12px 18px;
    border-radius: 120px;
    background: #FFFFFF66;
    box-shadow: 0px 0px 30px 0px rgba(255, 105, 180, 0.5);
    margin: 15px 0;
    box-sizing: border-box;

    @media (width >=770px) {
        max-width: 380px;
        /* ★PC時のカプセル最大幅 */
        height: auto;
        aspect-ratio: 380 / 125;
        /* カプセル型の縦横比を維持して拡大縮小 */
        padding: 4% 5%;
    }
}

.feature_item h3 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 6px;
    color: #D15528;

    @media (width >=770px) {
        font-size: clamp(16px, 1.4vw, 22px);
        /* カプセルの縮小に合わせて文字も可変 */
        margin-bottom: 8px;
    }
}

.feature_item p {
    text-align: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: #374151;

    @media (width >=770px) {
        font-size: clamp(13px, 1.1vw, 16px);
        /* カプセルの縮小に合わせて文字も可変 */
    }
}

.feature_ex {
    position: relative;
    text-align: left;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 10px;
    padding-left: 60px;
    width: 100%;
    box-sizing: border-box;

    @media (width >=770px) {
        font-size: clamp(13px, 1.1vw, 15px);
        padding-left: 55px;
    }
}

.feature_ex::before {
    content: "";
    display: inline-block;
    width: 42px;
    height: 42px;
    background-image: url('/shindan/gem/images/feature_ex_icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    position: absolute;
    top: 5px;
    left: 5px;
}

.recommend_cover {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    padding-bottom: 30px;
    position: relative;
    overflow: hidden;
    background-color: #FFF;
}

.recommend_cover>* {
    position: relative;
    z-index: 2;
}

.recommend_cover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 1;
    background: url("/shindan/gem/images/bg_sp.png") center / cover no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 30%);

    @media (width >=770px) {
        background-image: url("/shindan/gem/images/bg_pc.png");
    }
}

.recommend_list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 25px;

    @media (width >=770px) {
        justify-content: center;
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: clamp(15px, 2.5vw, 35px);
        /* ★画面が狭いときは隙間も自動で詰めてサイズを確保 */
        padding-bottom: 20px;
        width: 100%;
    }
}

.recommend_list li {
    color: #111827;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    background: radial-gradient(48.94% 56.09% at 51.43% 49.96%, rgba(255, 229, 229, 0.7) 0%, rgba(255, 224, 218, 0.42) 46.63%, rgba(239, 131, 218, 0.63) 100%);
    border-radius: 190px;

    /* SPサイズ用 */
    width: 272px;
    height: 180px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;

    @media (width >=770px) {
        flex: 1 1 340px;
        /* 340pxをベースに伸縮 */
        max-width: 340px;
        /* 最大で元の340px */
        min-width: 270px;
        /* ★これ以上は小さくさせない（潰れ防止） */
        height: auto;
        aspect-ratio: 340 / 280;
        /* 元の横長楕円の比率を維持 */
        padding: 20px;
        font-size: clamp(14px, 1.3vw, 18px);
    }
}

/* 設問画面・レイアウト */
.quiz_mv_cover {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;

    @media (width >=770px) {
        margin-top: -40px;
    }
}

.quiz_content {
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    background-color: #FFF;
    width: 100%;
    padding-bottom: 30px;
    position: relative;
    overflow: hidden;

    @media (width >=770px) {
        padding-top: 0;
    }
}

.quiz_content>* {
    position: relative;
    z-index: 2;
}

.quiz_content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    z-index: 1;
    background: url("/shindan/gem/images/bg_sp.png") center / cover no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 30%);

    @media (width >=770px) {
        background-image: url("/shindan/gem/images/bg_pc.png");
    }
}

.quiz_question {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-flow: column;
    margin: 4%;
    border-radius: 20px;
    padding: 28px 20px;
    box-shadow: 0px 0px 30px 10px #D027C533;
    background: #FFF;

    @media (width >=770px) {
        width: 800px;
        height: 170px;
        margin: 40px auto 10px;
    }
}

.quiz_question p {
    color: #333333;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    text-align: center;

    @media (width >=770px) {
        font-size: 22px;
    }
}

.quiz_num_wrap {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    color: #DD457F;
    display: block;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;

    @media (width >=770px) {
        font-size: 24px;
    }
}

.quiz_separator {
    margin: 0 5px;

    @media (width >=770px) {
        margin: 0 10px;
    }
}

/* 枠内のQ番号と質問文のみアニメーションを設定 */
.quiz_question .quiz_num_wrap,
.quiz_question p {
    transition: opacity 0.25s ease-in-out;
    opacity: 1;
}

/* フェードアウト時 */
.quiz_question.is-fading .quiz_num_wrap,
.quiz_question.is-fading p {
    opacity: 0;
}

.quiz_answer {
    padding: 20px 4%;

    @media (width >=770px) {
        padding: 30px 4%;
    }
}

.quiz_answer_list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    @media (width >=770px) {
        gap: 20px;
    }
}

.quiz_answer_list li {
    color: #DE4681;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    border-radius: 99px;
    box-shadow: 0px 0px 30px 8px #D027C540;
    background: #FFF;
    padding: 0;

    @media (width >=770px) {
        font-size: 18px;
        width: 250px;
        height: 83px;
    }
}

.quiz_answer_list button {
    background: transparent;
    border: none;
    outline: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
    width: 100%;
    height: 100%;
    padding: 10px 22px;
    border-radius: 99px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
}

/* PC（マウス操作）のときだけ hover を有効にする */
@media (hover: hover) {
    .quiz_answer_list li:hover {
        background: #F55996;
        color: #FFF;
    }
}

/* クリックして .is-selected がついたときだけピンクにする */
.quiz_answer_list li.is-selected {
    background: #F55996;
    color: #FFF;
}

.quiz_answer_list li span {
    display: block;
    font-size: 16px;
    font-weight: 800;

    @media (width >=770px) {
        font-size: 20px;
    }
}

/* ローディング画像 */
.quiz_loading {
    text-align: center;
    padding: 40px 0;
}

.quiz_loading img {
    width: 300px;
    height: auto;
    margin-bottom: 12px;

    @media (width >=770px) {
        width: 500px;
    }
}

.quiz_loading p {
    font-size: 14px;
    color: #333;
}

/* 診断結果画面・レイアウト */
#wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;

    @media (width >=770px) {
        padding-left: 5%;
        padding-right: 5%;
    }
}

.result_header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    padding: 25px;
    position: relative;

    @media (width >=770px) {
        padding: 0;
        width: 100%;
        margin-bottom: 20px;
        padding-left: 5%;
        padding-right: 5%;
    }
}

.result_header p {
    font-weight: 400;
    font-size: 22px;
    line-height: 1.3;
    color: #FB468F;

    @media (width >=770px) {
        font-size: 30px;
        line-height: 1.2;
    }
}

.result_type {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    @media (width >=770px) {
        gap: 20px;
    }
}

.result_type span {
    font-weight: 400;
    font-size: 13px;
    line-height: 1.1;
    letter-spacing: 10%;
    color: #D1925B;

    @media (width >=770px) {
        font-size: 18px;
    }
}

.result_header h1 {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
    color: #FB468F;

    @media (width >=770px) {
        font-size: 24px;
    }
}

.header_img_left {
    position: absolute;
    top: -10px;
    left: -8px;
    width: 45px;
    height: auto;

    @media (width >=770px) {
        width: 120px;
        top: -70px;
        left: -50px;
    }
}

.header_img_center {
    width: 55px;
    height: auto;
    padding: 12px 0;

    @media (width >=770px) {
        width: 100px;
        padding: 20px 0;
    }
}

.header_img_right {
    position: absolute;
    top: -30px;
    right: -50px;
    width: 115px;
    height: 101px;
}

.result_tags {
    display: flex;
    justify-content: center;
    gap: 10px;

    @media (width >=770px) {
        gap: 20px;
    }
}

.result_tags li {
    color: #DE4681;
    font-weight: 400;
    font-size: 11px;

    @media (width >=770px) {
        font-size: 12px;
    }
}

.result_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px;

    @media (width >=770px) {
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        gap: 20px;
        max-width: 1000px;
        width: 100%;
        padding: 45px 0 0 0;

        &>* {
            width: 100%;
            box-sizing: border-box;
        }

        /* 1行目：基本の性格（60%） */
        &>.result_section:nth-of-type(1) {
            grid-column: 1 / 7;
            align-self: start;
        }

        /* 1行目：PC用画像（40%） */
        &>.section_img.pc {
            grid-column: 7 / 11;
            align-self: start;
            height: auto;
        }

        /* 2行目以降（項目8個すべて）：自動で2列（50%ずつ）に並べて高さを揃える */
        &>.result_section:nth-of-type(n+2) {
            grid-column: span 5;
            height: 100%;
            /* ← これで自動生成された行の高さいっぱい（高い方）にカードが伸びます！ */
        }
    }
}

.result_section {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-flow: column;
    padding: 20px;
    width: 100%;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0px 0px 40px -10px #d027c554;
}

.result_section h2 {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: 5%;
    color: #D1925B;
    padding-left: 35px;
    padding-bottom: 15px;
    position: relative;
}

.result_section h2::before {
    content: '';
    position: absolute;
    width: 26px;
    height: 17px;
    left: 0;
    top: 0;
    background-image: url('/shindan/gem/images/sec_icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.result_section p {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #333;

    @media (width >=770px) {
        font-size: 16px;
    }
}

.section_img {
    width: 254px;
    height: 220px;
    margin-bottom: 15px;

    @media (width >=770px) {
        width: 397px;
        height: 362px;
        margin-bottom: 0;
    }
}

.good_match {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.good_match li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    margin-top: 35px;
}

.good_match li img {
    width: auto;
    height: 85px;
}

.good_match li span {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    color: #D1925B;
    margin-top: 12px;
}

.good_match li p {
    font-size: 14px;
    margin-top: 10px;
    width: 140px;
    text-align: center;
}

.note {
    font-weight: 400;
    font-size: 12px;
    color: #000;
    line-height: 1.3;
    padding: 0 25px;

    @media (width >=770px) {
        font-size: 14px;
        width: 1000px;
        padding: 10px 20px 0;
    }
}

.about_agent {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    border-radius: 30px;
    margin: 20px;
    padding: 25px 10px;
    box-shadow: 0px 0px 20px -10px #d027c5e0;
    background: radial-gradient(70% 70% at 50% 50%, rgb(255 182 207 / 42%) 30%, #FFFFFF 100%);

    @media (width >=770px) {
        box-shadow: 0px 0px 40px -10px #D027C51A;
        background: radial-gradient(70% 70% at 50% 50%, rgba(255, 182, 207, 0.4) 30%, #FFFFFF 100%);
        width: 1026px;
        margin: 30px 0;
        padding: 30px;
    }
}

.about_agent h3 {
    font-weight: 400;
    font-size: 22px;
    line-height: 1.4;
    color: #D64476;
    width: 100%;
    text-align: center;

    @media (width >=770px) {
        font-size: 30px;
    }
}

.about_agent_ul {
    background: #FFF;
    box-shadow: 0px 6px 8px 0px #E3407E1A;
    border-radius: 99px;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-flow: column;
    margin: 20px 0;

    @media (width >=770px) {
        padding: 40px;
        align-items: center;
        flex-flow: row;
        gap: 45px;
    }
}

.about_agent_ul li {
    font-weight: 400;
    font-size: 14px;
    color: #000;
    position: relative;
    padding-left: 40px;

    @media (width >=770px) {
        padding-left: 25px;
    }
}

.about_agent_ul li::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-image: url('/shindan/gem/images/about_icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 22px;
    height: 22px;
    left: 10px;
    top: 5px;

    @media (width >=770px) {
        width: 24px;
        height: 24px;
        left: -5px;
        top: 3px;
    }
}

.about_agent_ul li span {
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    color: #D64476;
    padding: 0 5px;
}

.about_agent_text {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    color: #333;
    margin: 20px 0;

    @media (width >=770px) {
        font-size: 16px;
        width: 798px;
    }
}

.entry_text {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    margin: 10px 0 25px;
    color: #D64476;

    @media (width >=770px) {
        font-size: 18px;
    }
}

.entryBtn {
    width: 271px;
    height: 54px;
    border-radius: 99px;
    box-shadow: 0px 2px 12px 0px #E3407E73;
    background: linear-gradient(180deg, #FB468F 0%, #EA005E 100%);
    position: relative;
    cursor: pointer;
    transition: opacity 0.5s;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: #fff;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;

    @media (width >=770px) {
        width: 400px;
        height: 62px;
    }
}

.entryBtn:hover {
    opacity: 0.5;
}

.entryBtn::after {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 0.3em;
    height: 0.3em;
    transform: translateY(-50%) rotate(45deg);
    border-right: 1.5px solid #fff;
    border-top: 1.5px solid #fff;
    content: "";

    @media (width >=770px) {
        right: 22px;
        width: 0.4em;
        height: 0.4em;
    }
}

.share_ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding-bottom: 10px;

    @media (width >=770px) {
        gap: 45px;
        padding-bottom: 15px;
    }
}

.share_ul li {
    border-radius: 35px;
    width: 50px;
    height: 50px;
    background: #FFF;
    box-shadow: 0px 0px 22px -8px #C9C9C933;
}

.share_ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.restart_cover {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    padding-top: 20px;
    padding-bottom: 50px;
    position: relative;
    overflow: hidden;
    background-color: #FFF;

    @media (width >=770px) {
        padding-bottom: 80px;
    }
}

.restart_cover>* {
    position: relative;
    z-index: 2;
}

.restart_cover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: url("/shindan/gem/images/bg_sp.png") center / cover no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 30%);

    @media (width >=770px) {
        background-image: url("/shindan/gem/images/bg_pc.png");
    }
}