

#program_title { min-height: 5em;}
:root {
    --white: #ffffff;
    --white_75per: #ffffffbf;
    --text-color: #444444;
    --orange: #ff4729;
    --orange_75per: #ff4729bf;
    --orange_50per: #ff472980;
}

body {
    background-image: url("/nihokura/img/bg_1st_view.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 3300px auto;
    background-position: center top;
}

@media screen and (min-width: 3301px) {
    body {
        background-size: cover;
    }
}

@media screen and (max-width: 992px) {
    body {
        background-size: auto 100vh;
    }
}

@media screen and (max-width: 767px) {
    body {
        background-image: url("/nihokura/img/bg_1st_view_mobile.jpg");
    }
}

#program_name h1, 
#program_name a {
    color: var(--text-color);
}

#archive_nav #mn_archive a,
#enter_nav #mn_enter a,
#present_nav #mn_present a,
#data_nav #mn_data a,
#form_nav #mn_form a {
    background-color: var(--orange);
}

h2 {
    color: var(--white) !important;
    text-shadow: 0.1em 0.1em #0000000d;
}

h2::before,
h2::after {
    content: "";
    width: 42px;
    height: 42px;
    aspect-ratio: 1 / 1;
    display: inline-block;
}

h2::before {
    background: url("/nihokura/img/icon_daruma.png") no-repeat center center / cover;
    transform: translate(0, 0.15em);
    margin-right: 0.2em;
}

h2::after {
    background: url("/nihokura/img/icon_hyottoko.png") no-repeat center center / cover;
    transform: translate(0, 0.15em);
    margin-left: 0.2em;
}

@media screen and (max-width: 767px) {

    h2::before,
    h2::after {
        width: 24px;
        height: 24px;
    }
}

h3 {
    border-left: 3px solid var(--orange);
    padding: 0 0 .2rem 1.25rem;
}

h4 span {
    border-bottom: 1px solid var(--orange_50per);
}

#program_nav .ind_mn span::after,
#program_nav .ind_mn-p span::after {
    border-top: 2px solid var(--orange);
    border-right: 2px solid var(--orange);
}

#container {
    div:nth-child(5n+1 of .unit) {
        background: url("/nihokura/img/bg_pink.png") repeat top left / 2000px;
    }

    div:nth-child(5n+2 of .unit) {
        background: url("/nihokura/img/bg_purple.png") repeat top left / 2000px;
    }

    div:nth-child(5n+3 of .unit) {
        background: url("/nihokura/img/bg_blue.png") repeat top left / 2000px;
    }

    div:nth-child(5n+4 of .unit) {
        background: url("/nihokura/img/bg_green.png") repeat top left / 2000px;
    }

    div:nth-child(5n+5 of .unit) {
        background: url("/nihokura/img/bg_orange.png") repeat top left / 2000px;
    }
}

.info_sub {
    background: var(--white_75per) !important;
    color: var(--text-color);
}

:nth-child(1 of .info_sub) {
    padding-top: 2em !important;
    border-radius: 5px 5px 0 0;
}

.info_sub:nth-last-child(1 of .info_sub) {
    border-radius: 0 0 5px 5px;
}

:nth-child(1 of .info_sub):nth-last-child(1 of .info_sub) {
    border-radius: 5px;
}

.unit_con .btm_sp {
    border-top: 1px solid var(--orange_50per);
}

.unit_con .anc_list li a {
    color: var(--orange);
}

.unit_con .anc_list {
    border-bottom: 1px solid var(--orange_50per);
}

/* ----------
#next_onair
---------- */

#next_onair #onair_date {
    background: var(--white);
    color: var(--orange);
    border-radius: 5px;
}

article.wrap nav.nav_onair_date ul li a {
    color: var(--white);
    background-color: none;
    border: solid 1px var(--white);
}

article.wrap nav.nav_onair_date ul li a:hover {
    color: var(--white);
    background-color: var(--orange);
}

article.wrap nav.nav_onair_date ul li a.btn-on {
    color: var(--white);
    background-color: var(--orange);
}

nav.yt-playlist-btn ul {
    background-color: var(--orange_75per);
}

nav.yt-playlist-btn ul li a {
    color: var(--white);
    background-color: none;
    border: solid 1px var(--white);
    position: relative;
}

nav.yt-playlist-btn ul li a:hover {
    color: var(--text-color);
    background-color: var(--white);
}

nav.yt-playlist-btn ul li a.yt-playing {
    color: var(--text-color);
    background-color: var(--white);
}

nav.yt-playlist-btn ul li a.yt-playing:after {
    font-size: 1.2rem;
    content: "Now Playing";
    background-color: #cbf070;
    color: var(--text-color);
    display: inline-block;
    line-height: 1;
    padding: 0.2em 0.25em;
    position: absolute;
    top: -4px;
    right: -4px;
}

@media screen and (max-width: 992px) {
    nav.yt-playlist-btn ul li a.yt-playing:after {
        font-size: 0.8rem;
    }
}

/* ----------
#archive_onair
---------- */

#archive_onair li {
    border-radius: 5px;
    background: var(--white_75per);
}

/* ----------
#official_sns
---------- */

#official_sns ul {
    width: 100%;
    background: var(--white_75per);
    border-radius: 5px 5px 0 0;
    padding: 1em 2% 0;
}

#official_sns #sns_caution {
    background: var(--white_75per);
    border-radius: 0 0 5px 5px;
    padding: 0.5em 2% 1.5em;
}

@media screen and (min-width: 992px) {
    #official_sns ul {
        width: 100%;
    }
}

@media screen and (min-width: 1200px) {
    #official_sns ul {
        width: 100%;
        margin-left: 0;
    }
}

/* ----------
#about
---------- */

#about #program_info-set {
    background: var(--white_75per);
    border-radius: 5px;
    padding: 1em;
    color: var(--text-color);
    margin-bottom: 1em;
}
