@charset "UTF-8";
/* CSS Document */
h1 {
    display: block;
    width: calc(100vw * (1200 / 1440));
    height: auto;
    aspect-ratio: 1200/155;
    background: url("../images/horoscope/h1.png") no-repeat center center;
    background-size: cover;
    margin: 1em 0 0.5em;
    padding: 0;
    border: none;
    text-indent: -999em;
    position: relative;
}
h2 {
    display: block;
    width: 100%;
    height: 125px;
    margin: 0 auto !important;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    text-indent: -999em;
}
#RankingArea {
    width: calc( 100vw * ( 1200 / 1440));
    max-width: 1200px;
    margin: 0 auto;
}
#RankingArea h2 {
    width: 100%;
    background-image: url("../images/horoscope/ranking/h2_ranking.png");
}
#Top3 {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    gap:2.5vw;
    margin-bottom: 2rem
}
#Top3 a {
    display: block;
    width: calc(100vw * (250 / 1440));
    padding-top: calc(100vw * (55 / 1440));
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
}
#Top3 a:nth-of-type(1) {
    background-image: url("../images/horoscope/ranking/title_01.png");
}
#Top3 a:nth-of-type(2) {
    background-image: url("../images/horoscope/ranking/title_02.png");
}
#Top3 a:nth-of-type(3) {
    background-image: url("../images/horoscope/ranking/title_03.png");
}
#OtherRanking {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
    gap:2vw 1.6vw;
}
#OtherRanking a {
    display: block;
    width: calc(100vw * (200 / 1440));
    padding-top: calc(100vw * (30 / 1440));
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
}
#OtherRanking a:nth-of-type(1) {
    background-image: url("../images/horoscope/ranking/title_04.png");
}
#OtherRanking a:nth-of-type(2) {
    background-image: url("../images/horoscope/ranking/title_05.png");
}
#OtherRanking a:nth-of-type(3) {
    background-image: url("../images/horoscope/ranking/title_06.png");
}
#OtherRanking a:nth-of-type(4) {
    background-image: url("../images/horoscope/ranking/title_07.png");
}
#OtherRanking a:nth-of-type(5) {
    background-image: url("../images/horoscope/ranking/title_08.png");
}
#OtherRanking a:nth-of-type(6) {
    background-image: url("../images/horoscope/ranking/title_09.png");
}
#OtherRanking a:nth-of-type(7) {
    background-image: url("../images/horoscope/ranking/title_10.png");
}
#OtherRanking a:nth-of-type(8) {
    background-image: url("../images/horoscope/ranking/title_11.png");
}
#OtherRanking a:nth-of-type(9) {
    background-image: url("../images/horoscope/ranking/title_12.png");
}
#TodayFortune {
    display: grid;
    grid-template-columns: 1fr 220px;
    grid-template-rows: 100%;
    grid-template-areas: "DailyHoroscope Side";
    width: calc(100vw * (1200 / 1440));
    max-width: 1200px;
    margin: 0 auto;
}
#DailyHoroscope {
    grid-area: DailyHoroscope;
    margin-right: 20px;
    position: relative;
}
#SideArea {
    grid-area: Side;
    position: relative;
}
#DailyHoroscope #Main {
    display: grid;
    grid-template-columns: auto 32.6%;
    grid-template-rows: 150px 150px;
    grid-template-areas: "SignName Img""Sougou Img";
    width: 100%;
    height: 300px;
    margin: 0 auto;
}
#DailyHoroscope #Main #SignName {
    grid-area: SignName;
}
#DailyHoroscope #Main #SignName img {
    height: 100%;
    width: auto;
    object-fit: contain;
}
#DailyHoroscope #Main #SignImg {
    grid-area: Img;
}
#DailyHoroscope #Main #SignImg img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
#DailyHoroscope #Main #Sougou {
    grid-area: Sougou;
    display: flex;
    flex-flow: column;
    align-items: center;
}
#DailyHoroscope #Main #Sougou #Rank {
    display: block;
    font-size: 200%;
    margin-bottom: 1em;
}
#DailyHoroscope #Main #Sougou #Rank span {
    font-size: 150%;
    font-weight: 700;
    color: var(--color-Orange);
    padding: 0 0.25em;
}
#DailyHoroscope h2 {
    display: block;
    position: relative;
    width: auto;
    height: 2.5rem;
    margin-left: 0 !important;
    aspect-ratio: 15 / 2;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    text-indent: -999em;
}
#DailyHoroscope #Sougou h2 {
    background-image: url("../images/horoscope/daily_horoscope/h2_1.png");
    margin: 0 auto!important;
}
#DailyHoroscope #LoveLuck h2 {
    background-image: url("../images/horoscope/daily_horoscope/h2_2.png");
}
#DailyHoroscope #LoveLuck h2 {
    background-image: url("../images/horoscope/daily_horoscope/h2_2.png");
}
#DailyHoroscope #MoneyLuck h2 {
    background-image: url("../images/horoscope/daily_horoscope/h2_3.png");
}
#DailyHoroscope #CareerLuck h2 {
    background-image: url("../images/horoscope/daily_horoscope/h2_4.png");
}
#DailyHoroscope #HealthLuck h2 {
    background-image: url("../images/horoscope/daily_horoscope/h2_5.png");
}
#DailyHoroscope h2::after {
    content: "";
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
    height: 2.5rem;
    aspect-ratio: 18 / 4;
}
#DailyHoroscope h2.Star1::after {
    background: url("../images/horoscope/daily_horoscope/star_1.png") no-repeat center center;
    background-size: contain;
}
#DailyHoroscope h2.Star2::after {
    background: url("../images/horoscope/daily_horoscope/star_2.png") no-repeat center center;
    background-size: contain;
}
#DailyHoroscope h2.Star3::after {
    background: url("../images/horoscope/daily_horoscope/star_3.png") no-repeat center center;
    background-size: contain;
}
#DailyHoroscope h2.Star4::after {
    background: url("../images/horoscope/daily_horoscope/star_4.png") no-repeat center center;
    background-size: contain;
}
#DailyHoroscope h2.Star5::after {
    background: url("../images/horoscope/daily_horoscope/star_5.png") no-repeat center center;
    background-size: contain;
}
#DailyHoroscope p {
    margin-top: 1em;
}
.BlueLineBox {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-flow: column;
    border: solid 3px var(--color-Blue);
    border-radius: 20px;
    padding: 20px;
    margin-top: 2em;
}
#SideArea h2 {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: 220 / 120;
    background-image: url("../images/horoscope/daily_horoscope/side_title.png");
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    text-indent: -999em;
}
#SideArea ul {
    display: flex;
    flex-flow: column;
    align-items: center;
}
#SideArea ul li {
    display: block;
    position: relative;
    list-style: none;
    width: 100%;
    height: auto;
    aspect-ratio: 220 / 90;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    text-indent: -999em;
    border-bottom: dotted 3px var(--color-Blue);
}
#SideArea ul li:nth-of-type(1) {
    background-image: url("../images/horoscope/daily_horoscope/side_text_1.png");
}
#SideArea ul li:nth-of-type(2) {
    background-image: url("../images/horoscope/daily_horoscope/side_text_2.png");
}
#SideArea ul li:nth-of-type(3) {
    background-image: url("../images/horoscope/daily_horoscope/side_text_3.png");
}
#SideArea ul li:nth-of-type(4) {
    background-image: url("../images/horoscope/daily_horoscope/side_text_4.png");
}
#SideArea ul li:nth-of-type(5) {
    background-image: url("../images/horoscope/daily_horoscope/side_text_5.png");
}
#SideArea ul li:nth-of-type(6) {
    background-image: url("../images/horoscope/daily_horoscope/side_text_6.png");
}
#SideArea ul li:nth-of-type(7) {
    background-image: url("../images/horoscope/daily_horoscope/side_text_7.png");
}
#SideArea ul li:nth-of-type(8) {
    background-image: url("../images/horoscope/daily_horoscope/side_text_8.png");
}
#SideArea ul li:nth-of-type(9) {
    background-image: url("../images/horoscope/daily_horoscope/side_text_9.png");
}
#SideArea ul li:nth-of-type(10) {
    background-image: url("../images/horoscope/daily_horoscope/side_text_10.png");
}
#SideArea ul li:nth-of-type(11) {
    background-image: url("../images/horoscope/daily_horoscope/side_text_11.png");
}
#SideArea ul li:nth-of-type(12) {
    background-image: url("../images/horoscope/daily_horoscope/side_text_12.png");
}
#SideArea ul li a {
    display: block;
    width: 100%;
    height: auto;
    text-indent: 0;
    position: absolute;
    top: 0;
    left: 0;
}
/*スマホ*/
@media screen and (max-width: 767px) {
    h1 {
        height: auto;
        width: calc( 100vw * ( 312 / 360));
        max-width: calc( 100vw * ( 312 / 360));
    }
    #OtherRanking a {
        width: 16.66vw;
        margin: 1.25vw 0.83vw;
        padding-top: 2.5vw;
    }
    #TodayFortune {
        grid-template-columns: 1fr 18vw;
    }
    #DailyHoroscope {
        margin-right: 1.66vw;
        font-size: 80%;
        line-height: 125%;
    }
    #DailyHoroscope #Main {
        grid-template-rows: 50% 50%;
        height: 25vw;
    }
    h2 {
        height: 15vw;
    }
    #RankingArea {
        width: calc( 100vw * ( 312 / 360));
        max-width: calc( 100vw * ( 312 / 360));
    }
    #RankingArea p{
        font-size: 80%;
        line-height: 125%;
    }
    #Top3 {
        justify-content: space-evenly;
    }
    #Top3 a {
        width: 30vw;
        padding-top: 4.6vw;
        margin: auto;
    }
    #TodayFortune {
        grid-template-columns: 1fr 20vw;
    }
    #DailyHoroscope #Main #Sougou #Rank {
        font-size: 100%;
        line-height: 100%;
        margin-bottom: 0.5em;
    }
    #DailyHoroscope h2{
        height: 1.5rem;
    }
    #DailyHoroscope h2::after {
        height: 1.5rem;
    }
    .BlueLineBox {
        border-radius: 10px;
        padding: 10px;
    }
    @media screen and (max-aspect-ratio: 11/10) {
        /* 縦向きの場合のスタイル */
    }
}