/* loader */

#loader {
    background-color: #fee3a4;
    background-image: url(../images/bg_loading.webp);
    background-size: cover;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100;
}

/*背景*/
.loader,
.loader:before,
.loader:after {
    background: #fff;
    -webkit-animation: load1 1s infinite ease-in-out;
    animation: load1 1s infinite ease-in-out;
    height: 4em;
    width: 1em;
    top: 50%;
}

.loader {
    color: #fff;
    text-indent: -9999em;
    margin: auto;
    position: relative;
    font-size: 11px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader:before,
.loader:after {
    position: absolute;
    top: 0;
    content: '';
}

.loader:before {
    left: -1.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.loader:after {
    left: 1.5em;
}

@-webkit-keyframes load1 {

    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

@keyframes load1 {

    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

/* loader */

.onlyPc {
    display: block;
}

.onlySp {
    display: none;
}

body {
    font-size: min(3.5vw, 16px);
    font-family: "Shippori Mincho", serif;
    color: #333;
    background: #fff;
    line-height: 1.5;
}

img {
    vertical-align: bottom;
}

.panlist {
    text-align: left;
    font-size: 12px;
    padding-left: 1em;
    color: #fff;
    background: #333;
}

#footer #f_PC,
footer #f_SP {
    margin: 0 auto !important;
}

#sns_button {
    padding: min(4vw, 40px) 0;
    text-align: center;
}

/* PC */
main {
    text-align: left;
    position: relative;
}

main img.tower {
    display: block;
    height: 200px;
    position: absolute;
    right: 7%;
    bottom: 0;
    pointer-events: none;
}

.top_main {
    background: #fff2ac;
}

.top_main img {
    display: block;
    width: min(100%, 1200px);
    margin: 0 auto;
    pointer-events: none;
}

.oa_info {
    font-size: min(6vw, 52px);
    font-weight: 900;
    background: url(../images/bg_oainfo.webp);
    background-size: cover;
    color: #fff;
    padding: 0.15em 0 0.5em;
    -webkit-text-stroke: 0.1em #d52a0a;
    paint-order: stroke;
    letter-spacing: 0.05em;
}

.oa_info p {
    background: linear-gradient(transparent 70%, transparent 70%, #ffc406 70%);
    width: 12em;
    margin: 0 auto;
}

.oa_info small {
    font-size: 0.6em;
}

.oa_info ul {
    display: flex;
    justify-content: center;
    padding-top: 0.2em;
}

.oa_info li {
    width: min(90%, 400px);
}

.oa_info ul a {
    display: block;
    width: 100%;
}

.oa_info li img {
    display: block;
    width: 100%;
}

main {
    background: url(../images/bg_main.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: min(8vw, 80px);
    box-sizing: border-box;
}

article section {
    width: min(90%, 1200px);
    padding: 2em 4em 4em;
    background: url(../images/bg_section.webp);
    background-size: cover;
    margin: 0 auto 40px;
    border-radius: min(4vw, 40px);
    box-sizing: border-box;
    filter: drop-shadow(0px 12px 0px #ef5b37);
    border: 2px solid #ef5b37;
}

article section:last-of-type {
    margin-bottom: 80px;
}

article section h2 {
    color: #d52a0a;
    text-align: center;
    font-weight: 900;
    font-size: min(6vw, 48px);
    line-height: 1;
    background: url(../images/bg_ttl.webp);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 1em 0 0.5em;
    margin-bottom: 0.5em;
}

article section h2 small {
    display: block;
    font-size: 0.4em;
    line-height: 2;
}

section.about p {
    line-height: 2;
    font-size: min(3.5vw, 20px);
    text-align: center;
}

section.cast ul li {
    display: flex;
    margin-bottom: 4em;
}

section.cast ul img {
    display: block;
    width: min(100%, 280px);
    position: relative;
    z-index: 2;
}

section.cast strong {
    display: block;
    color: #ef4020;
    line-height: 1;
    font-size: min(5vw, 24px);
    font-weight: bold;
    margin-bottom: 0.8em;
    padding-bottom: 0.8em;
    border-bottom: 1px dashed #ccc;
}

section.cast small {
    font-size: 0.6em;
}

section.cast .textbox {
    background: #fff;
    width: 100%;
    position: relative;
    z-index: 1;
    /*    padding: 2em 2em 2em calc(2em + 20px);*/
    padding: 2em 4em;
    box-sizing: border-box;
    transform: translate(-20px, 40px);
}

section.onair #inbox {
    text-align: center;
    font-size: min(5vw, 24px);
    font-weight: bold;
    margin-bottom: 2em;
    line-height: 1;
}

section.onair #inbox img {
    display: block;
    width: min(100%, 880px);
    margin: 0 auto 1em;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

section.onair #inbox .oainfo {
    display: flex;
    justify-content: center;
    align-items: center;
}

section.onair #inbox .oanum {
    display: inline-block;
    font-size: 0.75em;
    color: #fff;
    padding: 0.15em 0.5em 0.25em;
    border-radius: 8px;
    background: #ef5b37;
    margin-right: 1em;
}

section.onair #inbox .oatitle {
    font-size: 1.2em;
}

section.onair #inbox .oatitle::before {
    content: "";
    display: block;
    height: 2px;
    width: min(100%, 600px);
    background: #ffa791;
    margin: 0.5em auto;
}

select#oalist {
    width: min(100%, 860px);
    padding: 1em;
    box-sizing: border-box;
    text-align: center;
    background: #ef5b37;
    color: #fff;
    font-weight: bold;
    border: 0;
    box-sizing: border-box;
    border-radius: 1em;
    font-size: 1em;
    margin: 0 auto;
    display: block;
    font-family: "Shippori Mincho", serif;
}

/*SP*/

@media screen and (max-width:1000px) {
    #header {
        min-height: auto;
    }

    #page_all {
        overflow-x: hidden;
    }

    #pan_box {
        overflow-x: scroll;
    }

    .onlyPc {
        display: none;
    }

    .onlySp {
        display: block;
    }

    main img.tower {
        height: 120px;
    }

    .oa_info {
        padding: 0.25em 0 0.5em;
    }

    .oa_info p {
        margin: 0 auto 0.25em;
    }

    article section {
        padding: 1em 2em 2em;
    }

    section.onair #inbox {
        font-size: 1em;
    }

    section.onair #inbox .oanum {
        font-size: 1em;
    }

    section.cast ul li {
        display: block;
    }

    section.cast ul img {
        margin: 0 auto;
    }

    section.cast .textbox {
        transform: none;
        padding: 2em;
    }

    section.cast ul li:last-of-type {
        margin-bottom: 0;
    }
}
