/* ==========================================
   MY HOROSCOPE
========================================== */

.meguri-my-horoscope {
    position: relative;

    width: 100%;
    max-width: 720px;

    margin: 0 auto 64px;
    padding: 42px 20px 0;

    box-sizing: border-box;

    text-align: center;
}


/* ==========================================
   CARD
========================================== */

.meguri-my-horoscope-card {
    position: relative;

    width: min(100%, 620px);

    margin: 30px auto 0;
    padding: 34px 30px 30px;

    box-sizing: border-box;
    overflow: hidden;

    border:
        1px solid rgba(247,215,116,.24);

    border-radius: 22px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(247,215,116,.09),
            transparent 42%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(126,88,190,.16),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 20px 48px rgba(0,0,0,.14);

    text-align: center;
}


/* 上部の光 */

.meguri-my-horoscope-card::before {
    content: "";

    position: absolute;

    top: -90px;
    left: 50%;

    width: 250px;
    height: 180px;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        rgba(247,215,116,.10);

    filter: blur(55px);

    pointer-events: none;
}


/* ==========================================
   SYMBOL
========================================== */

.meguri-my-horoscope-symbol {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 78px;
    height: 78px;

    margin: 0 auto 19px;

    border:
        1px solid rgba(247,215,116,.28);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(126,88,190,.24),
            rgba(18,12,35,.32) 70%
        );

    color: #f7d774;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 35px;

    box-shadow:
        inset 0 0 20px rgba(247,215,116,.04),
        0 0 26px rgba(126,88,190,.12);

    text-shadow:
        0 0 12px rgba(247,215,116,.45);
}


/* ==========================================
   COPY
========================================== */

.meguri-my-horoscope-copy {
    position: relative;
    z-index: 1;
}


.meguri-my-horoscope-label {
    margin: 0 0 8px;

    color:
        rgba(247,215,116,.55);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .26em;
}


.meguri-my-horoscope-copy h3 {
    margin: 0;

    color: #fff;

    font-size: 20px;
    font-weight: 600;

    line-height: 1.55;

    letter-spacing: .055em;
}


.meguri-my-horoscope-copy > p:last-child {
    max-width: 410px;

    margin: 12px auto 0;

    color:
        rgba(255,255,255,.60);

    font-size: 15px;

    line-height: 1.9;

    letter-spacing: .025em;
    color: #FFFFFF;

text-shadow:
  0 1px 2px rgba(0, 0, 0, 1),
  0 2px 4px rgba(0, 0, 0, 0.85),
  0 0 5px rgba(0, 0, 0, 0.6);
}


/* ==========================================
   BUTTON
========================================== */

.meguri-my-horoscope-btn {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width: 240px;

    margin: 25px auto 0;
    padding: 12px 24px;

    border:
        1px solid rgba(247,215,116,.52);

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            rgba(111,75,158,.92),
            rgba(48,31,77,.96)
        );

    color: #fff3bd !important;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: .07em;

    cursor: pointer;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.14),
        0 0 18px rgba(247,215,116,.08),
        0 10px 24px rgba(0,0,0,.18);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;

    -webkit-tap-highlight-color: transparent;
}


.meguri-my-horoscope-btn span {
    color: #f7d774;

    transition:
        transform .25s ease;
}


@media (hover: hover) {

    .meguri-my-horoscope-btn:hover {
        transform:
            translateY(-2px);

        border-color:
            rgba(247,215,116,.80);

        color: #fff3bd !important;

        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.18),
            0 0 24px rgba(247,215,116,.15),
            0 14px 28px rgba(0,0,0,.23);
    }

    .meguri-my-horoscope-btn:hover span {
        transform:
            translateX(4px);
    }
}


/* WordPress / Elementor の状態色を無効化 */

.meguri-my-horoscope-btn:focus,
.meguri-my-horoscope-btn:focus-visible,
.meguri-my-horoscope-btn:active {
    outline: none !important;

    color: #fff3bd !important;

    border-color:
        rgba(247,215,116,.52) !important;

    background:
        linear-gradient(
            135deg,
            rgba(111,75,158,.92),
            rgba(48,31,77,.96)
        ) !important;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .meguri-my-horoscope {
        margin-bottom: 52px;

        padding:
            34px
            0
            0;
    }


    .meguri-my-horoscope-card {
        margin-top: 25px;

        padding:
            29px
            17px
            25px;

        border-radius: 18px;
    }


    .meguri-my-horoscope-symbol {
        width: 68px;
        height: 68px;

        margin-bottom: 17px;

        font-size: 30px;
    }


    .meguri-my-horoscope-copy h3 {
        font-size: 17px;
    }


    .meguri-my-horoscope-copy > p:last-child {
        max-width: 300px;

        font-size: 15px;
        color: #FFFFFF;

text-shadow:
  0 1px 2px rgba(0, 0, 0, 1),
  0 2px 4px rgba(0, 0, 0, 0.85),
  0 0 5px rgba(0, 0, 0, 0.6);
    }


    .meguri-my-horoscope-btn {
        width: min(100%, 270px);
        min-width: 0;

        margin-top: 22px;

        font-size: 11px;
    }

}
.meguri-my-horoscope-card {
    position: relative;

    width: min(100%, 620px);

    margin: 30px auto 0;
    padding: 34px 30px 30px;

    box-sizing: border-box;
    overflow: hidden;

    border:
        1px solid rgba(247,215,116,.30);

    border-radius: 22px;

    background:
        linear-gradient(
            rgba(13, 8, 30, .38),
            rgba(13, 8, 30, .52)
        ),
        url("/wp-content/uploads/horoscope_tittle.png")
        center center / cover
        no-repeat;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 20px 48px rgba(0,0,0,.20);

    text-align: center;
}

/* ==========================================
   MY HOROSCOPE VIEW
========================================== */

.meguri-horoscope-view {
    position: relative;

    width: 100%;
    max-width: 720px;

    margin: 0 auto 64px;
    padding: 42px 20px 0;

    box-sizing: border-box;

    border-top:
        1px solid rgba(247,215,116,.10);

    text-align: center;
}


/* ==========================================
   PROFILE SELECT
========================================== */

.meguri-horoscope-profile {
    width: min(100%, 520px);

    margin: 30px auto 28px;
    padding: 22px 24px;

    box-sizing: border-box;

    border:
        1px solid rgba(247,215,116,.18);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 12px 30px rgba(0,0,0,.12);
}


.meguri-horoscope-profile-label {
    display: block;

    margin-bottom: 10px;

    color:
        rgba(247,215,116,.72);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: .12em;
}


.meguri-horoscope-profile-select {
    width: 100%;
    height: 46px;

    padding: 0 42px 0 16px;

    box-sizing: border-box;

    border:
        1px solid rgba(247,215,116,.26);

    border-radius: 12px;

    background-color:
        rgba(17,11,32,.88);

    color: #fff;

    font-size: 12px;

    outline: none;

    cursor: pointer;
}


.meguri-horoscope-profile-select:focus {
    border-color:
        rgba(247,215,116,.65);

    box-shadow:
        0 0 0 3px
        rgba(247,215,116,.06);
}


.meguri-horoscope-profile-select option {
    background: #171023;
    color: #fff;
}


/* ==========================================
   TABS
========================================== */

.meguri-horoscope-tabs {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    width: min(100%, 620px);

    margin: 0 auto 28px;
    padding: 5px;

    box-sizing: border-box;

    border:
        1px solid rgba(247,215,116,.16);

    border-radius: 14px;

    background:
        rgba(12,8,25,.50);
}


.meguri-horoscope-tab {
    position: relative;

    min-width: 0;

    padding: 11px 7px;

    border: 0 !important;
    border-radius: 10px;

    background: transparent !important;

    color:
        rgba(255,255,255,.48) !important;

    font-size: 10px;
    font-weight: 600;

    line-height: 1.4;

    letter-spacing: .035em;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        box-shadow .25s ease;

    -webkit-tap-highlight-color:
        transparent;
}


.meguri-horoscope-tab.is-active {
    background:
        linear-gradient(
            135deg,
            rgba(112,76,160,.82),
            rgba(58,37,89,.92)
        ) !important;

    color:
        #fff0b3 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 4px 14px rgba(0,0,0,.16);
}


@media (hover: hover) {

    .meguri-horoscope-tab:not(.is-active):hover {
        background:
            rgba(255,255,255,.045) !important;

        color:
            rgba(255,255,255,.82) !important;
    }

}


.meguri-horoscope-tab:focus,
.meguri-horoscope-tab:focus-visible,
.meguri-horoscope-tab:active {
    outline: none !important;
}


/* ==========================================
   PANEL
========================================== */

.meguri-horoscope-panel {
    display: none;

    width: min(100%, 650px);

    margin: 0 auto;

    box-sizing: border-box;
}


.meguri-horoscope-panel.is-active {
    display: block;
}


/* ==========================================
   CHART AREA
========================================== */

.meguri-horoscope-chart {
    position: relative;

    width: 100%;

    min-height: 300px;

    box-sizing: border-box;

    border:
        1px solid rgba(247,215,116,.16);

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(105,72,150,.13),
            transparent 55%
        ),
        rgba(12,8,25,.34);

    overflow: visible;
}

/* ホロスコープ描画後のSVG / canvas */

.meguri-horoscope-chart svg,
.meguri-horoscope-chart canvas {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 0 auto;
}
