@charset "utf-8";

/*-------------カスタムプロパティ------------*/
:root {
    --color-base: #731214;
}

html {
    margin: 0;
    padding: 0;
    border: 0;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

* {
    border: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #aaa;
    line-height: 1;
    -webkit-text-size-adjust: 100%;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
table,
a,
img,
dl,
dt,
dd,
ul,
li,
ol,
iframe,
nav,
small {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font-weight: normal;
    background: transparent;
    vertical-align: baseline;
    border: none;
}

img {
    vertical-align: top;
}

ol,
ul {
    list-style: none;
    list-style-type: none;
}

button {
    appearance: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
}

/*-------------------------*/
.visually-hidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
}

a:link {
    color: #fff;
    text-decoration: none;
}

a:visited {
    color: #fff;
    text-decoration: none;
}

a:hover {
    color: #f00;
    text-decoration: none;
}

/*パンくずリスト----------------------------------*/
nav.panlist {
    background-color: #000;
    padding: 4px 0;
    width: 100%;
}

nav.panlist strong {
    font-weight: normal;
}

nav.panlist ol {
    color: white;
    display: flex;
    font-size: min(0.7em, 2.4vw);
    list-style: none;
    line-height: 1.5;
    margin: 0 auto;
    padding: 0;
    white-space: nowrap;
    max-width: 1270px;
    width: 98%;
}

nav.panlist ol a {
    color: white;
}

nav.panlist li + li::before {
    color: white;
    content: ">";
    margin: 0 0.5em;
}

main {
    /*background: #eee;*/
    margin: 0 auto;
}

.inner {
    background: url(../img/bg_all.webp);
    background-size: cover;
}

#wrapper {
    /*    background: #fff;*/
    color: #6a5656;
    /*    font-family: Arial, Helvetica, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "sans-serif";*/
    font-family: "Noto Serif JP", "Zen Antique", serif;
    font-weight: 400;
    display: flex;
    margin: 0 auto;
    align-items: flex-start;
}

#left_box {
    padding-bottom: 30px;
    text-align: center;
    width: 320px;
}

h1 {
    margin: 0 auto;
    padding: 2em 0;
    width: 95%;
}

h1 a {
    display: block;
    width: 100%;
}

h1 img {
    height: auto;
    width: 100%;
}

.oa-info {
    background: url(../img/bg_oatime.webp);
    background-size: cover;
    border: 0.08rem solid #ccc;
    border-radius: 0.5rem;
    box-sizing: border-box;
    color: #000;
    padding: 1rem;
}

.oa-main {
    text-align: center;
}

/* MX1 or MX2 */
.oa-station {
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 0 0 0.50rem;
}

/* 曜日＋時間 */
.oa-schedule {
    font-size: 1.4rem;
    line-height: 1.4;
    margin: 0.25rem 0;
}

/* 毎週 */
.oa-every {
    font-size: 0.85em;
    margin-right: 0.25em;
    opacity: 0.8;
}

/* 木・金 など */
.oa-weekdays {
    font-weight: 700;
    margin-right: 0.2em;
    color: var(--color-base);
    font-size: 1.25em;
}

/* 曜日 */
.oa-week-suffix {
    font-size: 0.85em;
    opacity: 0.8;
}

/* 時刻 */
.oa-time {
    display: block;
    font-size: 1.25em;
    font-weight: 700;
    margin-top: 0.25rem;
    color: var(--color-base);
}

.oa-schedule small {
    font-size: min(2.4vw, 0.65em);
    word-break: auto-phrase;
}

/* メタ情報（制作年・話数） */
.oa-meta {
    margin-top: 0.50rem;
    font-size: 0.90rem;
    color: #555;
}

.oa-meta span + span {
    margin-left: 0.75rem;
}

/* 放送開始告知 */
.start_oa {
    border-top: 0.08rem solid #ddd;
    color: #c2185b;
    font-weight: 700;
    margin: 0.75rem 0 0;
    padding-top: 0.50rem;
    text-align: center;
}

/*-- ガイドラ他 -----------------------*/
.gdora img,
.bnrTVer img,
.bnrRCh img {
    height: auto;
    width: 100%;
}

.gdora a:hover,
.bnrTVer a:hover,
.bnrRCh a:hover {
    opacity: 0.6;
}

/*-- Menu ----------------------*/
.menu {
    background: #000;
}

.menu li {
    background: #111;
}

.menu li a {
    font-size: 1.2rem;
    padding: 1em;
    text-decoration: none;
}

.menu li a:hover {
    /*    background: white;*/
    opacity: 0.8;
}

/*
.menu li img{
height: auto;
width: 100%;
}
*/
.t_num {
    font-weight: bold;
    font-size: 1.0em;
}

.t_subtitle {
    font-weight: bold;
}

.t_text {
    margin-top: 12px;
}

.more {
    border: var(--color-base) solid 2px;
    margin: 10px auto 0;
    text-align: center;
    text-decoration: none;
    width: 85%;
}

.more a {
    background: var(--color-base);
    border: solid 1px #fff;
    color: #fff;
    display: block;
    font-weight: bold;
    padding: 12px 0;
}

.more a:hover {
    opacity: 0.8;
}

#contents {
    background: url(../img/bg_oatime.webp);
    background-size: cover;
    line-height: 1.5;
}

#index #contents {
    background: none;
}

#kv {
    width: 100%;
}

#kv img {
    height: auto;
    width: 100%;
}

/*-- Sub page all ----------------------*/
#contents h2 {
    border-bottom: solid 2px var(--color-base);
    color: var(--color-base);
    font-size: min(5vw, 32px);
    font-weight: bold;
    padding: 0.5em 1em 0.15em;
    font-family: "Zen Antique";
    font-weight: bold;
}

/*#contents h2 span {
font-size: 0.5em;
}*/

/*-- Intro page ----------------------*/
.intro_text {
    line-height: 2;
    margin: 0 auto;
    padding: 2em;
}

.intro_text span {
    color: #992938;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 0.5em;
    display: block;
}

.intro_text img {
    display: block;
    width: 100%;
    margin-bottom: 0.5em;
}

.story_text {
    width: calc(100% - 4em);
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 0 4px #ccc;
    background: #fff;
    padding: 1em;
    margin-bottom: 1em;
    line-height: 1.8;
}

.story_text::before {
    content: "▼ STORY";
    display: block;
    border-bottom: 1px dotted #ccc;
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
}

/*
.diagram {
margin: 30px auto;
text-align: center;
width: 200px;
}
.diagram a {
background: #9e5962;
border-radius: 18px;
display: block;
line-height: 36px;
}
.diagram a:hover {
background: #854a52;
color: #fff;
}
*/
/*-- Story page ----------------------*/
#epi_box {
    /*    padding: 20px 20px 0px;*/
    padding: 2em 2em 0;
}

#epi_box h3 {
    border-bottom: dotted 1px #666;
}

.num {
    background: var(--color-base);
    border-radius: 4px;
    color: #fff;
    margin: 0 0 0.5em;
    padding: 0.5em 0;
    text-align: center;
    width: 100px;
    font-weight: bold;
}

.time {
    line-height: 3em;
    padding: 0 0 0 0.5em;
}

.sub_tit {
    font-size: min(1.5em, 5.0vw);
    font-weight: bold;
    line-height: 1.5;
}

.epitxt {
    line-height: 1.8;
}

#epi_box .img {
    display: flex;
    /* flex-wrap: wrap;改行あり */
    flex-wrap: nowrap;
    /*改行なし*/
    gap: 8px;
    margin: 0 0 1em;
}

#epi_box .img img {
    display: block;
    flex: 1 1 0;
    height: auto;
    min-width: 0;
    max-width: 100%;
    /* width: calc((100% - 8px) / 2);改行あり */
}

/*-- #epi_list -------------------*/
#epi_list {
    padding: 0 12px;
    margin: 2em auto;
}

#epi_list h4 {
    border-bottom: solid 1px #6a5656;
    margin-bottom: 10px;
}

/*-- 話数のみのボタン式エピソードリスト --*/
#epi_list ol {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5em;
}

#epi_list li {
    font-size: min(1.1em, 4.0vw);
    line-height: 2;
    text-align: center;
}

#epi_list li a {
    border-radius: 4px;
    color: #fff;
    display: block;
    padding: 0.2em 0;
}

#epi_list .link_on a {
    background: #ddd;
    color: #333;
}

#epi_list .link_on a:hover {
    opacity: 0.6;
}

/*#epi_list .link_on a:active{ color:#fff; background:#666;}*/
#epi_list .link_off a {
    background: #8f3637;
    color: #fff;
    outline: 1px solid rgba(255, 255, 255, 0.5);
    outline-offset: -2px;
}

/* 選択中 */
/*-- もっと見る -------------------*/
.js-load {
    display: none;
}

.js-load.active {
    display: block;
}

#js-btn-wrap {
    line-height: 36px;
    margin: 30px auto;
    text-align: center;
    width: 200px;
}

#js-btn-wrap .btn {
    background: #484848;
    border-radius: 8px;
    color: #fff;
    display: block;
    padding: 1em 0;
    width: 100%;
}

#js-btn-wrap .btn:hover {
    background: #d00;
}

/*-- Cast page -----------------*/
.cast_box {
    align-items: start;
    /*    border-bottom: solid 1px var(--color-base);*/
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 2rem;
    margin: 0 auto;
    padding: 1.5em;
    width: 95%;
}

.cast_img {
    grid-row: 1 / 3;
}

.cast_img img {
    border: solid 4px #ccc;
    display: block;
    height: auto;
    width: 100%;
}

.cast_name {
    grid-column: 2;
    font-size: min(1.25em, 4.0vw);
    line-height: 1.4;
    margin: 0 0 1em;
}

.cast_name span {
    display: block;
    font-size: min(1.25em, 4.0vw);
    font-weight: normal;
    margin-top: 0.4rem;
}

.cast_name ruby {
    margin-right: 0.25em;
}

.cast_text {
    grid-column: 2;
    line-height: 2;
    margin: 0;
}

#cast .staffBox {
    margin: 1em 0;
    padding: 1.5em 2.5em;
    border-top: 1px solid #999;
}

#cast .staffBox h3 {
    font-size: 125%;
    margin-bottom: 1em;
}

#cast .staff {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

#cast .staff dt {
    width: 8em;
    text-align: center;
    background: #efefef;
    color: #333;
    border-radius: 8px;
    margin-bottom: 0.75em;
}

#cast .staff dd {
    width: calc(100% - 8em);
    margin-bottom: 0.75em;
    padding-left: 0.5em;
}

#cast .chart {
    width: calc(100% - 5em);
    margin: 1em auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    padding: 1em;
}

#cast .chart img {
    display: block;
    width: 100%;
    cursor: pointer;
}

#cast .chart span {
    display: flex;
    justify-content: center;
    font-weight: bold;
    text-align: center;
    line-height: 2;
    font-size: 1.2em;
    align-items: center;
    letter-spacing: 0.1em;
}

#cast .chart span::before,
#cast .chart span::after {
    content: "◆";
    display: block;
    font-size: 0.5em;
    padding: 0 0.5em;
}

/*-- Copyright  -------------------*/
.copy {
    color: #333;
    font-size: 12px;
    line-height: 1.4em;
    padding: 5px 16px 0;
    text-align: left;
}

/*-- right side  -------------------*/
#right_side {
    margin-left: 10px;
}

/*-- 緊急テキスト ----------------------*/
#rp_textbox {
    background: rgba(255, 255, 255, 0.7);
    border: #928484 solid 1px;
    font-size: 0.9em;
    margin: 20px auto;
    padding: 8px;
    line-height: 1.6em;
    text-align: left;
    max-width: 960px;
    width: 90%;
}

#rp_textbox .pop_text {
    background: #fff;
    border-radius: 2px;
    border: #c9c9c9 solid 1px;
    font-size: 0.9em;
    line-height: 1.5em;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
    max-width: 900px;
    word-break: break-all;
    width: 75%;
}

#rp_textbox .pop_text .popup_title {
    border-bottom: #999 dotted 1px;
    font-size: 1.1em;
    line-height: 1.5em;
    font-weight: bold;
    margin: 0 0 15px 0;
    padding-bottom: 5px;
    text-align: center;
    width: 100%;
}

#rp_textbox .ema_img {
    display: block;
    text-align: center;
    width: 100%;
}

#rp_textbox .ema_img img {
    margin: 0 auto 10px;
    max-width: 100%;
}

#rp_textbox a {
    color: #d00;
    text-decoration: underline;
}

/*-- google翻訳 ----------------------*/
.skiptranslate.goog-te-gadget,
a.goog-logo-link {
    color: #fff !important;
}

/*-- ローディング ----------------------*/
#loader {
    align-items: center;
    background: linear-gradient(to bottom, #f8e3cc, #f7f4e9);
    display: flex;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 9999;
}

#loader.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.loader,
.loader:before,
.loader:after {
    background: #fff;
    animation: load1 1s infinite ease-in-out;
    height: 4em;
    width: 1em;
}

.loader {
    color: #fff;
    text-indent: -9999em;
    margin: auto;
    position: relative;
    font-size: 11px;
    transform: translateZ(0);
    animation-delay: -0.16s;
}

.loader:before,
.loader:after {
    position: absolute;
    top: 0;
    content: '';
}

.loader:before {
    left: -1.5em;
    animation-delay: -0.32s;
}

.loader:after {
    left: 1.5em;
}

@keyframes load1 {

    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

/*--------------------------------------------------------*/
/*--------------------------------------------------------*/

/* PCのみ */
@media (min-width: 901px) {
    main {
        display: flex;
        width: 1300px;
    }

    #wrapper {
        width: 1000px;
    }

    /*-- left side ----------------------*/
    #opPC {
        background: url(../img/bg_base.webp);
        background-size: cover;
    }

    #otboxP {
        margin: 0 auto;
        width: 90%;
    }

    /*-- ガイドラ ----------------------*/
    .gdora,
    .bnrTVer,
    .bnrRCh {
        margin: 10px auto 0;
        width: 280px;
    }

    .menu {
        border-top: solid 0.1px #ccc;
        margin: 20px auto 30px;
    }

    .menu li {
        border-bottom: solid 0.1px #ccc;
        display: block;
        width: 100%;
    }

    .menu li a {
        display: block;
        width: 100%;
        background: linear-gradient(to right, #731214, #8f3637, #731214);
        color: #fff;
        -webkit-text-stroke: 0.2em #731214;
        text-stroke: 0.2em #731214;
        paint-order: stroke;
        font-weight: bold;
        font-family: "Zen Antique";
        letter-spacing: 0.1em;
        border: 2px solid #e3d491;
        border-bottom: 0;
        box-sizing: border-box;
        box-shadow: inset 0 0 1em rgba(0, 0, 0, 0.5);
    }

    .menu li:last-of-type a {
        border-bottom: 2px solid #e3d491;
    }

    .oa-info {
        min-height: 180px;
    }

    /*-------------------------*/
    #sns_button_pc {
        margin: 15px auto;
        min-height: 40px;
    }

    #sns_button_pc .btn_sns img {
        height: 40px;
        width: 40px;
        margin: 0 5px;
    }

    /*-- SNS --------------------
	.sns{
	width:30%;
	height:40px;
	margin: 20px auto;
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap;
	}
	.sns a{
	display:block;
	width:40px;
	height:40px;
	margin:0 !important;
	}
	.sns img{
	width:40px !important;
	height:40px !important;
	margin:0 !important;
	}--*/
    /*-- Top Episode ----------------------*/
    #top_story_box {
        padding-bottom: 10px;
    }

    #topStrP {
        background: #fff;
        background: linear-gradient(to bottom, #fff 0%, #ddd 100%);
        box-sizing: border-box;
        border: #b7aa97 solid 1px;
        /*border-radius: 8px;*/
        color: #333;
        line-height: 1.5;
        font-size: 0.9em;
        text-align: left;
        margin: 0 auto;
        padding: 10px 12px 15px;
        width: 90%;
    }

    #topStrP h2 {
        border-bottom: solid 1px #333;
        color: var(--color-base);
        font-size: 1.1em;
        font-weight: bold;
        letter-spacing: 3px;
        margin-bottom: 10px;
        padding: 4px 0 6px;
        text-align: center;
    }

    /*-- Contents all ----------------------*/
    #contents {
        width: 680px;
    }
}

/* Tablet */
@media (max-width: 900px) {
    #wrapper {
        display: block;
        width: 100%;
    }

    /*-- Top header ----------------------*/
    #top #contents h1 {
        width: 100%;
    }

    #top #contents h1 img {
        height: auto;
        width: 100%;
    }

    #otboxS {
        padding: 0;
        margin: 20px auto;
        text-align: center;
        width: 90%;
    }

    /*-- ガイドラ ----------------------*/
    .gdora,
    .bnrTVer,
    .bnrRCh {
        margin: 10px auto 0;
        max-width: 460px;
        width: 90%;
    }

    .oa-info {
        padding: 10px 12px 15px;
    }

    .menu {
        box-sizing: border-box;
        margin: 0 auto 5px;
        width: 100%;
    }

    .menu ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        /*gap: 5%;*/
    }

    .menu li {
        text-align: center;
        width: 50%;
    }

    .menu li a {
        display: block;
        width: 100%;
        background: linear-gradient(to right, #731214, #8f3637, #731214);
        color: #fff;
        -webkit-text-stroke: 0.2em #731214;
        text-stroke: 0.2em #731214;
        paint-order: stroke;
        font-weight: bold;
        font-family: "Zen Antique";
        letter-spacing: 0.1em;
        border: 2px solid #e3d491;
        border-bottom: 0;
        box-sizing: border-box;
        box-shadow: inset 0 0 1em rgba(0, 0, 0, 0.5);
    }

    .menu li:last-of-type a {
        border-bottom: 2px solid #e7d491;
    }

    /*-- SNS -----------------------*/
    #sns_button_sp {
        padding: 15px 0;
        text-align: center;
    }

    #sns_button_sp .btn_sns {
        margin: 0 2px;
    }

    #sns_button_sp .btn_sns img {
        height: 50px;
        width: 50px;
    }

    /*-- Top Episode -----------------------*/
    #top_story_box_sp {
        margin: 25px auto;
    }

    #topStrS {
        box-sizing: border-box;
        border: #b7aa97 solid 1px;
        background: #fff;
        background: linear-gradient(to bottom, #fff 0%, #ddd 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff', endColorstr='#ddd', GradientType=0);
        color: #333;
        font-size: 1.0em;
        line-height: 1.5;
        text-align: left;
        margin: 0 auto;
        padding: 10px 12px 15px;
        width: 90%;
    }

    #topStrS h2 {
        border-bottom: solid 1px #333;
        color: var(--color-base);
        font-size: 1.3em;
        font-weight: bold;
        letter-spacing: 3px;
        margin-bottom: 10px;
        padding: 4px 0 6px;
        text-align: center;
    }

    #epi_list li a {
        padding: 0.4em 0;
    }

    .cast_box {
        gap: 1rem;
        grid-template-columns: 40% 1fr;
        padding: 1.0em 0.5em;
    }

    main #right_side {
        display: none;
        padding: 0;
        margin: 0;
    }

    .copy {
        text-align: center;
        color: #000;
    }
}

/* スマホ */
@media (max-width: 767px) {
    .menu li {
        text-align: center;
        width: 50%;
    }
    
    .menu li a{
        font-size: 1em;
    }

    nav.panlist {
        overflow-x: scroll;
    }

    #epi_list ol {
        grid-template-columns: repeat(3, 1fr);
    }

    .cast_box {
        display: block;
        padding: 2em 1em;
    }

    .cast_img {
        max-width: 400px;
        width: 70%;
        margin: 0 auto;
    }

    .cast_text {
        text-align: center;
    }

    #cast .staffBox {
        padding: 1.0em;
    }

    .cast_name {
        margin: 1em 0;
        text-align: center;
    }
}
