*, *::before, *::after {box-sizing: border-box;border: 0;margin: 0;padding: 0;}
html {line-height: 1.5;-webkit-text-size-adjust: 100%;text-size-adjust: 100%;scrollbar-gutter: stable;scroll-behavior: smooth;}
body {background-color: #fff;color: #222;font-family: system-ui, sans-serif;}
h1, h2, h3, h4, h5, h6 {font-size: inherit;font-weight: inherit;}p, figure, blockquote, dl, dd {margin: 0;}a {color: inherit;text-decoration: none;}a:focus-visible {outline: 2px solid #000;outline-offset: 2px;}ul, ol {list-style: none;margin: 0;padding: 0;}
img, video, iframe, svg {height: auto;max-width: 100%;}button, input, select, textarea {appearance: none;background: none;border: none;color: inherit;font: inherit;}
table {border-collapse: collapse;width: 100%;}th, td {padding: 0.5em;text-align: left;}[hidden] { display: none !important;}
body{
border: 0;
color: #444;
font-family:Arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ" ,Verdana,  Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", Osaka, sans-serif;
line-height: 1.5;
margin: 0;
padding: 0;
text-align: left;
}
a{color:#3d3d3d;text-decoration:none;}
a:hover{color:#111;text-decoration:underline;}

/*パンくずリスト----------------------------------*/
nav.panlist{
background-color:#c9c9c9;
padding: 4px 0;
width: 100%;
}
nav.panlist p{
color:#484848;
display: flex;
font-size: min(0.7em,2.4vw);
flex-wrap: nowrap;
line-height:1.5;
margin: 0 auto;
/*min-width: 1300px;*/
max-width: 1300px;
}
nav.panlist a{}
nav.panlist span{
color: #999;
margin: 0 4px;
}
nav.panlist strong{
font-weight:normal;
}

.all{
background-color:#f7f7f7;
border-top:1px solid #484848;
border-bottom:1px solid #484848;
width: 100%;
}
.contents{
background-size: auto auto;
background-color: rgba(245, 245, 245, 1);
background-image: repeating-linear-gradient(90deg, transparent, transparent 4px, rgba(255, 255, 255, 1) 4px, rgba(255, 255, 255, 1) 5px ),repeating-linear-gradient(0deg, transparent, transparent 4px, rgba(255, 255, 255, 1) 4px, rgba(255, 255, 255, 1) 5px );
display: flex;
margin: 0 auto;
min-height: 900px;
width: 1300px;
}

/* メインエリア ------------------------------------*/
#main_area{
border-left: 1px solid #484848;
width:600px;
}
#main_area #kv img{
max-width: 600px;
}
#main_area .main_contents{
padding: 3% 2%;
}
#main_area .main_contents .bar_s{ /* h2 */
border-top: 3px solid #454545;
border-bottom: 1px solid #454545;
font-size: min(1.5em, 5.0vw);
font-weight: bold;
padding: 2% 3%;
}
#main_area .main_contents .box_s{
padding: 2.5% 2.5% 5%;
}
#main_area .main_contents .box_s .subtitle {
font-size: 1.25em;
line-height: 1.5;
margin: 0 0 1.5%;
}
#main_area .main_contents .box_s .subtitle strong{
font-weight: normal;
margin: 0 2% 0 0;
}
#main_area .main_contents .box_s .ep_date {
line-height: 1.3;
margin: 0 0 4%;
}
#main_area .main_contents .box_s .ep_more a {
background-color: #fff;
border: 1px solid #a3a3a3;
border-radius: 8px;
color: #5f5f5f;
display: block;
font-size: min(1.2em,3.5vw);
line-height: 1.3;
margin: 4% 0 0;
position: relative;
padding: 12px 0;
text-align: center;
text-decoration: none;
/*transition: 0.5s ease;*/
}
#main_area .main_contents .box_s .ep_more a:hover{
opacity: 0.6;
}
#main_area .main_contents .box_s .ep_more a::after {
border-top: 4px solid #aaa;
border-right: 4px solid #aaa;
content: "";
transform: rotate(45deg);
position: absolute;
top: 30%;
bottom: 0;
right: 4%;
left: auto;
height: 1.5vh;
width: 1.5vh;
}

/* サブエリア ------------------------------------*/
#sub_area{
background-color: #f7f7f7;
padding: 1.2%;
width: 350px;
}
#sub_area .logo{
margin: 0 0 5%;
}
#sub_area .logo a{
line-height: 0;
overflow: hidden;
}
#sub_area .logo img{
display: block;
height: auto;
transform: translateZ(0);
width: 100%;
}
#sub_area .logo a:hover {
opacity: 0.6;/**/
min-height: 180px;
}
#sub_area .key_area_in{
display: none;
}
#sub_area #title,
#sub_area .title {
font-weight: bold;
font-size: min(1.4em, 4.5vw);
line-height: 1.3;
margin: 2% auto;
}
#sub_area .time{
background-image: url(../img/icon_time.svg);
background-repeat: no-repeat;
background-position: 4px center;
background-size: 7%;
font-weight: normal;
font-size: min(1.1em, 4.0vw);
line-height: 1.5;
min-height: 26px;
margin: 0 0 1%;
padding: 0 0 0 10%;
}
#sub_area .bar_s {
font-size: 1.3em;
font-weight: bold;
margin: 0 auto 1%;
text-align: left;
}
#sub_area .startend_message{
margin: 0 0 5%;
}
#sub_area .startend_message span{
color: #d30111;
font-size: min(1.1em, 4.0vw);
font-style:italic;
}

/*放送情報-----------------------------*/
#sub_area .ep_s{
background-size: auto auto;
background-color: rgba(231, 231, 231, 1);
background-image: repeating-linear-gradient(135deg, transparent, transparent 2px, rgba(222, 222, 222, 1) 2px, rgba(222, 222, 222, 1) 4px);
border: 1px solid #bebebe;
margin: 0 0 4%;
padding: 1% 2%;
}
#sub_area #nextOa.ep_s{
min-height: 100px;
}
#sub_area #anime_news.ep_s{
/*min-height: 230px;*/
min-height: 150px;
}
#sub_area .ep_s h4 {
color: #333;
font-size: min(1.2em, 4.0vw);
margin: 2% 0 2.5% 1%;
text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.8), 0px 0px 5px rgba(255, 255, 255, 0.8);
}
#sub_area .ep_s a{
text-decoration:none;
}
#sub_area .ep_s ul {
margin: 0 auto 2%;
padding: 0;
}
#sub_area .ep_s ul li{
border:1px solid #bebebe;
background-color:#f7f7f7;
display:block;
min-height: 52px;
padding: 2%;
}
#sub_area .ep_s ul li:hover{
background-color: white;
border:1px solid #b5b5b5;
cursor:pointer;
}
#sub_area .ep_s ul li dl dt{
font-size:75%;
line-height:128%;
}

/*アニメ更新情報-----------------------------*/
#sub_area #anime_news {
padding: 2% 2% 0;
position: relative; 
}
#sub_area #anime_news ul li {
display: flex;
flex-wrap: nowrap;
font-size: min(0.8em, 3.8vw);
margin: 0 0 2%;
}
#sub_area #anime_news ul li:hover{cursor:pointer;}
#sub_area #anime_news .more{
position: absolute;
top: 10px;
right: 3%;
width: 30%;
}
#sub_area .more a{
background-color: #666;
border-radius: 8px;
color: white;
display: block;
font-size: min(0.7em, 3.5vw);
font-weight: bold;
padding: 2%;
text-align: center;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
width: 100%;
}
#sub_area .more a:hover{
opacity: 0.6;
}
#sub_area .more a::after{
content: "▼";
}
#sub_area #anime_news ul li p {
margin: 0;
padding: 0;
}
#sub_area #anime_news ul li .icon_news_mx,
#sub_area #anime_news ul li .icon_news_of{
width: 20%;
}
#sub_area #anime_news ul li .icon_news_mx span,
#sub_area #anime_news ul li .icon_news_of span{
border-radius: 4px;
color: white;
display: block;
font-size: min(0.55em, 2.0vw);
font-weight: 800;
margin: 2% 0 0 0;
padding: 6%;
text-align: center;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}
#sub_area #anime_news ul li .icon_news_mx span{
background-color: #b05b00;
}
#sub_area #anime_news ul li .icon_news_of span{
background-color: #2f4ec7;
}
#sub_area #anime_news ul li .news_info {
line-height: 1.45;
padding: 0 8% 0 3%;
position: relative;
width: 80%;
}
#sub_area #anime_news ul li .news_info a:hover{
text-decoration: underline;
}
#sub_area #anime_news ul li .news_info::after{
border-top: 5px solid #c9c9c9;
border-right: 5px solid #c9c9c9;
content: "";
position: absolute;
top: 0;
bottom: 0;
right: 2%;
left: auto;
margin: auto;
height: 20px;
width: 20px;
vertical-align: middle;
transform: rotate(45deg);
}
#sub_area #anime_news ul li span.news_time{
font-size: 72%;
margin: 0 0 0 2%;
}
#sub_area .ep_s #menuEpi dd {
margin: 0;
padding: 0;
}

.menu ul li{
list-style: none;
}
.menu ul li a{
border-radius: 6px;
color: white;
display: block;
font-size: min(1.2em, 4.0vw);
margin: 0 auto 2%;
padding: 1% 3%;
}
.menu ul li a:hover{
opacity: 0.6;
text-decoration: none;
}
.menu ul li.normal a{
background-color: #8a8a8a;
background: linear-gradient(to bottom, #717171 0%, #717171 49%, #6b6b6b 50%, #6e6e6e 100%);
border: 1px solid #616161;
}
.menu ul li.official a,
.menu ul li.goods a{
background-repeat: no-repeat;
background-position: left 3% center;
background-size: 8%;
overflow: auto;
padding: 2% 30px 2% 14.5%;
position: relative;
}
.menu ul li#menu_ep a span{background: url(../../template7/img/menu01.svg) no-repeat left center / 8%;}
.menu ul li#menu_story a span{background: url(../../template7/img/menu02.svg) no-repeat left center / 8%;}
.menu ul li#menu_staff a span{background: url(../../template7/img/menu03.svg) no-repeat left center / 8%;}
.menu ul li.official a {
background-image: url(../../template7/img/menu_official.svg);
background-color: #f57120;
border: 1px solid #cf6627;
}
.menu ul li.goods a {
background-image: url(../../template7/img/menu_goods.svg);
background-color: #56a51d;
border: 1px solid #4da50c;
}
.menu ul li.official a::after{
border-top: 5px solid #f1b2a2;
border-right: 5px solid #f1b2a2;
content: "";
top: 35%;
bottom: 0;
right: 10px;
left: auto;
height: 20px;
width: 20px;
transform: rotate(45deg);
position: absolute;
}
.menu ul li.goods a::after {
border-top: 5px solid #ccebb1;
border-right: 5px solid #ccebb1;
content: "";
top: 40%;
bottom: 0;
right: 10px;
left: auto;
height: 20px;
width: 20px;
transform: rotate(45deg);
position: absolute;
}
.menu ul li.official a span:nth-child(2),
.menu ul li.goods a span:nth-child(2){
display: block;
font-size: 50%;
line-height: 1.3;
}
.menu ul li.normal a span{
align-items: center;
color: white;
display: flex;
min-height: 34px;
line-height: 34px;
padding: 0 0 0 12%;
text-decoration: none;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}

/* present ------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');
#sub_area .present_box {
background: #ffc9d8;
border: 2px solid #d0d0d0;
background-image: repeating-linear-gradient(-45deg, #ffdfe8, #ffdfe8 4px, transparent 0, transparent 12px);
border-radius: 4px;
font-family: 'Noto Sans JP', sans-serif;
margin: 0 auto 4%;
padding: 0.7em;
}
.present_box_sp {
border: 1px solid #bebebe;
margin: 0 0 10px;
padding: 0.5em;
line-height: 1.5em;
}
.present_box{
color: #ef7f7f;
}
.present_box strong{
color: #666;
display: block;
font-size: min(1.1em, 4.5vw);
padding: 0 3%;
}
.present_box p{
color: #8f1d1d;
font-size: min(1.0em, 3.5vw);
padding: 1% 0 2%;
word-break: auto-phrase;
}
.present_box .bar_s ,
.present_box_sp .bar_s {
color: #410808;
font-weight: bold;
margin: 0 auto 3% !important;
text-align: center !important;
}
.present_box .bar_s img{
height: auto;
width: 275px;
}
.present_box .bar_s::before,
.present_box_sp .bar_s::before{
content: "★★★";
font-size: min(0.9em, 4.5vw);
margin: 0 1.5% 0 0;
}
.present_box .bar_s::after,
.present_box_sp .bar_s::after{
content:"★★★";
font-size: min(0.9em, 4.5vw);
margin: 0 0 0 1.5%;
}
.present_notice {
background: #fff;
border: double 4px #bba9a9;
border-radius: 0.5em;
font-weight: bold;
font-size: min(0.95em, 3.0vw);
margin: 0 0 2%;
padding: 2%;
text-align: center;
}
.present_notice img{
height: auto;
width: 100%;
}
.expansion{
background: #357ae8;
color: #fff;
padding: 2px;
text-align: center;
}
.present_box a:hover{
text-decoration: none;
}
a.btn_present {
background-color: #e90e46;
border-radius: 0.5rem;
box-shadow: 0px 4px 1px #efefef;
color: white;
display: block;
font-size: min(1.1em, 5.0vw);
margin: 3% 0 0;
text-align: center;
padding: 1% 0 1.5%;
}
.btn_present:hover {
box-shadow: none;
border-bottom: none;
color: #fff;
text-decoration: none;
transform: translateY(4px);
}
a.btn_present_off {
background-color: #ef7f7f;
border-bottom: none;
box-shadow: none;
}
a.btn_present_off::after {
color: #ffcccc;
content: '応募受付開始までお待ちください';
display: block;
font-size: 0.8em;
}
a:hover.btn_present_off {
background-color: #ef7f7f;
border-bottom: none;
color: #fff;
margin: 0.5em 0;
}
/*.yokoku {
background-color: #fffff7;
border: 0.5em #e4e45d solid;
line-height: 1.3em;
padding: 0.5em;
text-align: center;
}
.yokoku a{
text-decoration: underline;
}*/
/* present ------------------------------------------------ */

/* aside ---------------------------------------------------*/
aside.related-programs {
/*padding: 1.5rem;*/
padding: 1%;
width: 350px;
}
aside.related-programs h2 {
background-size: auto auto;
background-color: rgba(255, 155, 63, 1);
background-image: repeating-linear-gradient(135deg, transparent, transparent 3px, rgba(255, 123, 1, 1) 3px, rgba(255, 123, 1, 1) 6px );
color: white;
font-size: 1.1em;
font-weight: bold;
padding: 2% 4% 1%;
text-shadow: 0px 0px 3px rgba(0, 0, 0, 1),0px 0px 3px rgba(0, 0, 0, 1),0px 0px 3px rgba(0, 0, 0, 1);
}
/* 2列レイアウト */
.programs {
display: grid;
gap: 0;
grid-template-columns: repeat(2, 1fr);
overflow: hidden;
}
/* 各カードの共通デザイン */
.program {
box-sizing: border-box;
padding: 5%;
text-align: center;
transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.program:hover {
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
transform: translateY(-6px); /* 上にちょっと浮く */
z-index: 1; /* 浮き上がった時、前に出す */
}
/* クリック時に少し沈む（遊び心） */
.program:active {
transform: translateY(-2px);
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
.program a {
color: inherit;
display: block;
text-decoration: none;
}
.program figure {
margin: 0;
min-height: 120px;
}
.program img {
height: auto;
width: 100%;
}
.program figcaption {
color: white;
font-size: min(0.87em, 3.0vw);
line-height: 1.3;
margin-top: 0.5em;
text-align: left;
}
/* 背景を市松模様にする */
.program:nth-child(4n+1),
.program:nth-child(4n+4) {
background-color: #323030;
}
.program:nth-child(4n+2),
.program:nth-child(4n+3) {
background-color: #262525;
}
.banner300250 {
/*background: #000;*/
min-height: 300px;
margin: 5% auto;
}

/* TOP以外 ------------------------- */
#pageEpi .subtitle {
font-size: 1.25em;
line-height: 1.5;
margin: 0 0 2%;
}
#pageEpi .ep_date {
line-height: 1.2;
margin: 0 0 4%;
}
#pageEpi .ep_roll {
display: flex;
margin: 5% 0 0;
min-height: 52px;
overflow: hidden;
}
#pageEpi .ep_roll .ep_btn {
width: 50%;
}
#pageEpi .ep_roll .ep_btn a {
border: 1px solid #7a7a7a;
border-radius: 6px;
background: linear-gradient(#fefffe, #ececed);
color: #656565;
display: block;
padding: 5% 0;
position: relative;
text-align: center;
width: 40%;
min-width: 100px;
}
#pageEpi .ep_roll .ep_btn a:hover{
opacity: 0.6;
text-decoration: none;
}
#pageEpi .ep_roll .ep_btn.ep_btn_prev a {
margin: 0 auto 0 0;
}
.ep_btn_prev a::before{
position: absolute;
content: "\25C0";
left: 8%;
}
#pageEpi .ep_roll .ep_btn.ep_btn_next a {
margin: 0 0 0 auto;
}
.ep_btn_next a::after {
position: absolute;
content: "\25B6";
right: 8%;
}

.box_arc .bar {
background-color: #f0f0f0;
border: 1px solid #a7a7a7;
font-size: min(1.3em, 4.0vw);
font-weight: bold;
padding: 2% 4%;
}
.box_arc ul li {
border-bottom: 1px solid #a7a7a7;
list-style: none;
}
.box_arc ul li a{
display: block;
/*font-size: min(0.9em, 3.0vw);*/
font-size: min(1.0em, 4.0vw);
line-height: 1.3;
padding: 3% 6% 3% 2%;
position: relative;
}
.box_arc ul li a::after {
border-top: 5px solid #c9c9c9;
border-right: 5px solid #c9c9c9;
content: "";
position: absolute;
top: 0;
bottom: 0;
right: 2%;
left: auto;
margin: auto;
height: 20px;
width: 20px;
vertical-align: middle;
transform: rotate(45deg);
}
.box_arc ul li a:hover {
background-color: #e7e7e7;
}
.box_arc ul li strong {
font-weight: normal;
margin: 0 2% 0 0;
}
.box_arc ul li span {/* 放送日部分 */
display: block;
font-size: 75%;
line-height: 1.2;
margin: 0.8% 0 0 0;
}
/*.box_arc .ep_btn_more a {
background-color: #fff;
border: 1px solid #a3a3a3;
color: #5f5f5f;
}*/
.box_arc .ep_btn_more {
background-color: #fff;
border: solid 1px #aaa;
border-radius: 8px;
cursor: pointer;
display: block;
font-size: min(1.2em, 5.0vw);
margin: 3% auto;
line-height: 1.3;
padding: 3% 0;
text-align: center;
text-decoration: none;
}
.box_arc ul li.arc_list_show,
.more_show {
display: block;
}
.box_arc ul li.arc_list_hide,
.more_hide {
display: none;
}

/* アニメ情報 ---------------------------------- */
#pageNewsIn .subtitle strong {
font-weight: normal;
margin: 0 6px;
}
#pageNewsIn .nd_date {
font-size: min(1.0em, 4vw);
line-height: 1.3;
margin: 0 0 5%;
}
#pageNewsIn .nd_link {
margin: 4% auto 0;
width: 100%;
}
#pageNewsIn .nd_link a {
background: linear-gradient(#fefffe, #ececed);
border: 1px solid #7a7a7a;
border-radius: 6px;
color: #656565;
display: block;
padding: 2% 0;
text-align: center;
width: 100%;
}

/* #pageNews ------------------------------------ */
#pageNews .nd_more h4 {
border-bottom: 3px solid #111;
font-weight: bold;
font-size: min(1.2em, 4.0vw);
line-height: 1.5;
text-align: left;
margin: 0 auto 2%;
padding: 2% 3% 1%;
}
#pageNews .nd_more dl {
border-bottom: 1px solid #ccc;
display: flex;
margin: 0;
padding: 1%;
}
#pageNews .nd_more dl dt {
width: 14%;
width: clamp(70px, 14%, 120px);
}
#pageNews .nd_more dl dt p{}
#pageNews .nd_more dl dt p span {
border-radius: 4px;
color: white;
display: block;
font-size: min(0.55em, 2.0vw);
font-weight: 800;
margin: 2% 0 0 0;
padding: 6%;
text-align: center;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
width: 90%;
}
#pageNews .nd_more dl dt p.icon_news_mx span {
background-color: #b05b00;/* #e28726 */
}
#pageNews .nd_more dl dt p.icon_news_of span {
background-color: #2f4ec7;
}
#pageNews .nd_more dl dd {
font-size: min(0.9em,3.0vw);
font-size: min(1.0em, 3.5vw);
width: 86%;
}
#pageNews #pageNewsIn .subtitle {
font-size: 1.25em;
line-height: 1.5;
margin: 0 0 2%;
}
.copy{
font-size: min(0.8em, 2.5vw);
margin: 0 2% 5%;
text-align: right;
}

footer{text-align: center;}
#footer #f_PC{margin: 0 auto !important;}
.foot{margin: 0 auto;}

/* TOPにもどる・ボタンの基本スタイル ------------------------- */
.top-btn {
background: #333;
border-radius: 5px;
color: white;
font-size: min(1.2em,4.0vw);
bottom: 30px;
right: 30px;			/* 初期は見えない */
opacity: 0;
padding: 10px 15px;
position: fixed;
pointer-events: none;	/* 初期はクリック不可 */
transition: opacity 0.3s ease; /* フェードアニメーション */
text-decoration: none;
z-index: 200;
}
/* スクロールしたら見えるようにする */
body.scrolled .top-btn {
opacity: 1;
pointer-events: auto; /* スクロールしたらクリック可能に */
}
/* ホバーで少し明るく */
.top-btn:hover,
.top-btn:focus {
background: #555;
outline: none;
text-decoration: none;
}

/* 動画囲いタグ ----------------------　<div class="video-container"></div> */
.video-container {padding: 56.25% 0 0;position: relative;width: 100%;}
.video-container iframe{height: 100% !important;position: absolute;right: 0;top: 0;width: 100% !important;}
.visually-hidden {border: none !important;display: block !important;height: 4px !important;margin: 0 !important;padding: 0 !important;opacity: 0 !important;overflow: hidden !important;position: fixed !important;top: 0px !important;left: 0px !important;width: 4px !important;visibility: visible !important;}

/*-- google翻訳 ----------------------*/
.skiptranslate.goog-te-gadget,a.goog-logo-link{color:#fff !important;}

/*-- ローディング ----------------------*/
#loader{background-color: white; position:fixed; height:100%; width:100%; z-index: 21000;}/*背景*/
.loader,.loader:before,.loader:after {background: #aaa;-webkit-animation: load1 1s infinite ease-in-out;animation: load1 1s infinite ease-in-out;height: 4em;width: 1em;top: 50%;}
.loader {color: #ccc;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;}}

/*-- 緊急テキスト用補足 ----------------------*/
#rp_textbox {
background: #efefef;
border-bottom: solid 1px #484848;
}

/* PC  -------------------------------------------------- */
@media screen and (min-width:900px) {
	#sub_area .sns_box {
	background-color: rgba(0, 0, 0, 0.25);
	border-top: 1px solid white;
	border-right: 1px solid white;
	border-bottom: 1px solid white;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
	display: flex;
	flex-wrap: nowrap;
	padding: 10px;
	position: fixed;
	bottom: 20px;
	left: 0px;
	z-index: 1000;
	}
	#sub_area .sns_box #sns_button {
	display: flex;
	}
	#sub_area .sns_box #sns_button img{
	height: 36px;
	margin: 0 4px;
	padding:0;
	width: 36px;
	}
	#sub_area .sns_box a{
	margin: 0;
	padding: 0;
	}
	#menuSp {display: none;}
}
/* TAB  -------------------------------------------------- */
@media screen and (max-width:900px) {
	body{-webkit-text-size-adjust: 100%;}
	.onlyPc{display:none;}
	header{	min-height: 70px;}/**/

	/*パンくずリスト-------------------------------------------*/
	nav.panlist{
	overflow: auto;
	padding: 4px 0 2px;
	width: 100%;
	}
	nav.panlist p{
	padding: 0 2%;
	min-width: 720px;
	}
	nav.panlist span{
	font-stretch:ultra-condensed;
	}
	.all{
	background-color: white;
	min-height: 640px;
	}
	.contents{
	background: none;
	background-color: white;
	display: block;
	min-height: auto;
	width: 100%;
	}
	#sub_area {
    background-color: white;
	margin: 0 0 2%;
    padding: 0;
    width: 100%;
    }
    #sub_area h2{
    text-align: center;
    width: 100%;
    }
    #sub_area #nextOa.ep_s {
    min-height: 25vw;
	}
	#sub_area #anime_news.ep_s{
    min-height: 30vw;
	}
    #sub_area .logo {
    margin: 2% 0;
    min-height: auto;
    text-align: center;
	}
    #sub_area .logo a img {
    margin: 0 auto;
    width: 75%;
    max-width: 450px;
	}
	#sub_area .key_area_in{
	display: block;
	margin: 0 auto;
	text-align: left;
	width: 90%;
	}
	#sub_area .key_area_in img{
	height: auto;
	width: 100%;
	max-width: 600px;
	}
	#sub_area #title {
    font-weight: bold;
	margin: 0 auto;
    padding: 0;
    text-align: left;
	width: 90%;
	}
	#sub_area .time{
	background-position: left center;
	background-size: 6vw;
	margin: 0 auto 2%;
	line-height: 7vw;
	height: 7vw;
	padding: 0 0 0 8vw;
	text-align: left;
	width: 100%;
	}
	#sub_area .startend_message {
    margin: 4% auto;
    width: 90%;
	}
	#sub_area .copy { /* index用 */
	background-color: none;
    line-height: 1.5;
	margin: 2% auto 4%;
	width: 100%;
	}
	.episode .copy,
	.news .copy {
	background-color: #e0e0e0;
	line-height: 1.2;
	margin: 2% auto 5%;
	padding: 1%;
	width: 90%;
	}
	#sub_area .ep_s {
	min-height: 20vw;
	margin: 0 auto 2%;
    padding: 2%;
	width: 90%;
	}
	#sub_area .ep_s h2{
	font-size: min(1.5em, 5.0vw);
	}
	#sub_area .ep_s ul {
    margin: 0 auto;
    padding: 0;
	}
	#sub_area .more a{
    margin: 0 0 0 auto;
	max-width: 100px;
	}

	/* present ------------------------------ */
	#sub_area .present_box{
	margin: 0 auto 5%;
	width: 90%;
	}
	.present_box p{
	font-size: font-size: 4.0vw;
	}
	.present_box .bar_s img{
	height: auto;
	width: 100%;
	}
	.present_notice img{
	height: auto;
	margin: 0 auto;
	width: 80%;
	}
	.sns_box {
	min-height: 50px;
    margin: 0 auto 2%;
    text-align: center;
    width: 100%;
	}
	.sns_box img{
	height: 50px;
	margin: 0 1%;
	padding:0;
	width: 50px;
	}
	.sns_box a{
	margin: 0;
	padding: 0;
	}
	#sub_area #anime_news ul li .icon_news_mx span,
	#sub_area #anime_news ul li .icon_news_of span{
	font-size: min(1.2em, 2.0vw);
	}

	#main_area{
	border: none;
    width: 100%;
	}
	#main_area .main_contents {
	/*min-height: 35vw;*/
    margin: 0 auto;
	padding: 0;
    width: 90%;
	}
	#index #main_area .main_contents h2.bar_s {
	border-radius: 8px;
	border: 1px solid #c4c4c4;
	box-sizing: border-box;
	background: linear-gradient(to bottom, #e3e3e3 0, #e3e3e3 49%, #d7d7d7 50%, #ddd 100%);
	cursor: pointer;
	color: #484747;
	font-size: min(1.5em, 3.5vw);
	margin: 0 auto 2%;
	padding: 2.5% 3% 2%;
	text-shadow: unset;
	-webkit-text-stroke: unset;
	position: relative;
	user-select: none;
	}
	#index #main_area .main_contents h2.bar_s::after {
	content: "▼";
	color: #999;
	position: absolute;
	right: 4%;
	top: 50%;
	transform: translateY(-50%) rotate(0deg);
	transition: transform 0.3s ease;
	}
	/* 開いたときに▲になる（180度回転） */
	#index #main_area .main_contents .open > h2.bar_s::after {
	transform: translateY(-50%) rotate(180deg);
	}
	#main_area .main_contents .open .box_s{
	padding: 0 2% 5%!important;
	}
	#index #main_area .main_contents .box_s { /* index.htmlのみ閉じる */
	box-sizing: border-box;
	font-size: min(1.2em, 4.0vw);
	height: 0;
	overflow: hidden;
	padding: 0;
	transition: height 0.3s ease;
	}
	#main_area .main_contents #page_ep h2 span {background: url(../../template7/img/menu01.svg) no-repeat left center / 8%;}
	#main_area .main_contents #page_story h2 span {background: url(../../template7/img/menu02.svg) no-repeat left center / 8%;}
	#main_area .main_contents #page_staff h2 span {background: url(../../template7/img/menu03.svg) no-repeat left center / 8%;}
	.menu ul{
	display: flex;
	margin: 0 auto 4%;
	width: 90%;
	}
	.menu ul li{
	border-radius: 6px;
	display:block;
	list-style: none;
	flex-basis: 50%;
	text-decoration: none;
	}
	.menu ul li.official{
	margin: 0 1% 0 0;
	}
	.menu ul li.goods{
	margin: 0 0 0 1%;
	}
	.menu ul li a{
	height: 100%;
	}
	.menu ul li.official a::after,
	.menu ul li.goods a::after{
    /*top: 42%;*/
    top: 35%;
	}
	#pageEpi .ep_roll .ep_btn a{
	width: 50%;
	}
	.btn_back_top {
	border: 1px solid #aaa;
	border-radius: 4px;
	box-sizing: border-box;
	display: block;
	margin: 0 auto 5%;
	padding: 1.5%;
	text-align: center;
	width: 90%;
	}
	.btn_back_top:hover{
	opacity: 0.6;
	}

	/* aside ------------------------------------------------------ */
	aside.related-programs{
	background: #e3e1e1;
	border-top: 1px solid #000;
	margin: 0 auto;
	padding: 5%;
	width: 100%;
	}
	.programs{
	grid-template-columns: none;
	}
	.program {
    padding: 2%;
    text-align: left;
    transition: none;
	}
	.program:nth-child(odd){
	background-color: #eee;
	}
	.program:nth-child(even) {
	background-color: #d5d5d5;
	}
	.program figure {
	display: flex;
	margin: 0;
	min-height: auto;
	}
	.program figure img{
	height: auto;
	object-fit: contain;
	width: 30%;
	}
	.program figcaption {
	box-sizing: border-box;
	color: #222;
	margin: 0;
	padding: 3%;
	width: 70%;
	}

	/* .footer ------------------------------------------------------ */
	.footer{text-align:center;}
	#footer #f_SP{
	margin: 0 !important;
	}
}
/* SP  -------------------------------------------------- */
@media screen and (max-width:640px) {

}