/*******************************
/*  リセットCSS
*******************************/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    vertical-align: middle;
    max-width: 100%;    /* レスポンシブ用に追記*/
    height: auto;    /* レスポンシブ用に追記*/
}
/*******************************
/*  リセットCSS ここまで
*******************************/
/* ClearFix */
.cf:after {
    content: "";
    display: block;
    clear: both;
}
/*******************************
/*  全体
*******************************/
/* 大画面ディスプレイ用に最大1348pxまで */
html {
    max-width: 1348px;
    margin: 0 auto;
}

body {
    background-color: #f2f3f9;
    font-family: "Sawarabi Mincho", "ＭＳ Ｐ明朝", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", serif;
}
p {
    line-height: 150%;
}
p a {
    color: brown;
    text-decoration: none;
/*    border-bottom: 1px solid;*/
}



/*******************************
/*  ヘッダー
*******************************/
header {
    font-family: sans-serif;
    height: 78px;   /* ここを変えたら↓の#dummy_hbottomのheightも変える必要あり */
    background: url(../img/blue.jpg) repeat-x;
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
}

#dummy_hbottom {    /* headerがfixedの為に下に来るものがヘッダーに隠れてしまうのを防止するだけのdiv */
    height: 78px;   /* headerのheightと同じ値にする */
}
header h1 {
    font-size: 50px;
    font-size: 3.125rem;
    color: white;
    float: left;
    margin-top: 13px;
    /*    margin-left: 20px;*/
    margin-left: 1.48367%;
    padding-bottom: 8px;
}

/*nakai 追加 ここから*/
.top_header{
    color: white;
    text-decoration: none;
}

@media (hover: hover) {
    .top_header:hover{
        opacity: 0.8;
    }
}   

@media (hover: none) {
    /* hoverが使えないタッチ端末を想定した装飾 */
    .top_header:active{
        opacity: 0.8;
    }
}

/*nakai 追加 ここまで*/
/*******************************
/*  ヘッダー:ナビ
*******************************/
#gNav {
    float: right;
    margin-top: 35px;
    /*    margin-right: 70px;*/
    margin-right: 5.19287%;
    /* nakai ↓　コメントアウト
    width: 572px; */
}

#gMenu {
    font-family: sans-serif;
    position: relative; /* sub-navの親に指定 */
    margin-top: 20px;
}

/* サブメニューを除くli */
#gMenu > li {
    margin-right: 16px;
    display: inline-block;
}
/* サブメニューを除くliの最後 */
#gMenu > li:last-child {
    margin-right: 0;    /* 最後のメニューの右余白は無し */
}

/* サブメニューを含む全てのli */
#gMenu li {
    text-align: center;
    vertical-align: top;
}

#gNav #gMenu li a { /* ←先頭の「#gNav」を消すとmeanmenuで表示が崩れるので注意 */
    display: block;
    font-size: 0.8em;
    color: white;
    text-decoration: none;  /* 改行しない */
    text-transform: uppercase;  /* 大文字に */
    white-space: nowrap;
}

/*nakai 追加 ここから*/
#gNav #gMenu li a:hover { /* ←先頭の「#gNav」を消すとmeanmenuで表示が崩れるので注意 */
    opacity: 0.8;
}
/*nakai 追加 ここまで*/

.fab {
    color: white;
    font-size: 32px;
    font-size: 2rem;
    margin-top: -20px;
}

/*******************************
/*  ヘッダー:サブナビ
*******************************/
/* サブナビ（共通）*/
#gMenu li:hover .sub-nav {
    display: block;
}

.sub-nav {
    display: none;
    position: absolute; /* ※meanmenu表示ではstaticに戻す */
}

.sub-nav li a {
/*    display: block;*/
    background: burlywood !important;
    color: #2d3d77 !important;
    border-bottom: 1px solid #2d3d77 !important;
    line-height: 250% !important;
    width: 98% !important;
    padding: 5px 10px !important;
}

.sub-nav li:last-child a {
    border-bottom: none !important;
}

/* サブナビ:作品 */
#sub-nav-sakuhin {
    left: 0px;  /* 一番最初のメニュー(TOP)からの表示位置 */
}


/*******************************
/*  コンテンツ
*******************************/
#contents {
    padding: 0 10px;
}

h2 {
    font-family: "Sawarabi Mincho", "ＭＳ Ｐ明朝", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", serif;
    font-size: 25px;
    font-size: 1.5625rem;
    color: #2d3d77;
    margin-top: 72px;
    margin-bottom: 72px;
    text-align: center;
}

/* 白背景ボックス */
article {
    margin: 0 auto;
    background-color: #fff;
    color: #5f370b;
    width: 600px;
/*    width: 44.51038%;*/
    padding: 50px 100px 70px 100px;
}

article h1 {
    font-size: 20px;
    font-size: 1.25rem;
    font-family: sans-serif;
    font-weight: bold;
    color: #6a3906;
    text-align: center;
    margin-bottom: 40px;
}
article h2 {
    font-family: sans-serif;
    font-weight: bold;
    font-size: 1rem;
    color: #6a3906;
    margin: 15px 0;
}

article .this {
    font-size: 14px;
    font-size: 0.875rem;
}

.btn_shou {
    text-align: center;
    margin: 0 auto;
    display: block;
    width: 186px;
    height: 76px;
    background: url(../img/contact/shou02.jpg) no-repeat;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    font-family: "Hiragino kaku Gothic Pro", "san-serif";
    font-size: 25px;
    font-size: 1.5625rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    line-height: 76px;
    margin-top: 50px;
}

.btn_shou:hover {
    opacity: 0.5;
}

/*---------------------*/
/*nakai ここから*/
/*---------------------*/
.font-weight{
    font-weight: bold;
  }
  .center{
    text-align: center;
  }
  .left{
    text-align: left;
  }
  
  .right{
    text-align: right;
  }
  
  .m_b40{
    margin-bottom: 40px;
  }
  .m_b50{
    margin-bottom: 50px;
  }

.h2_comment_box{
    text-align: center;
    margin-bottom: 10px;
    width: 800px;
    width: 67.34006734006734%;  /* 800/1188 */
    margin: 0 auto;
}
.h2_comment_big {
    color: #2d3d77;
    font-size: 16px;
    font-size: 100%;
    text-align: center;
    margin-bottom: 45px;
}
  
  .flex_cecnter{
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items:center;
  }
  
  .story_box{
    display: flex;
    flex-direction: column;
    gap:20px;
  }
  
  .animebox{
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items:center;
    gap:5px;
  }
  
  .animebox-movie-video{
    aspect-ratio: 4 / 3;
    object-fit: contain;
    width: 100%; 
  }
  .youtube-channel{
    margin-top: 40px;
    width: 100%; 
    display: flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:40px;
  }
  
  .youtube-channel img{
    width: 183px;
  }
  
  animecomment{
    margin-top: 40px;
  }
  
  .animebox a:hover,.animecomment a:hover{
    opacity: 0.5 ;
  }
  /*---------------------*/
  /*nakai ここまで*/
  /*---------------------*/
  



/*******************************
/*  フッター
*******************************/
footer {
    /*    background-color: #2d3d77;*/
    background: url(../img/blue.jpg) repeat-x;
/*    position: relative;*/
    margin-top: 60px;
    padding: 20px 0;
}
footer p {
    color: white;
    font-family: sans-serif !important;
    font-weight: normal;
    font-size: 16px;
    text-align: center;
}

.fas {
    color: skyblue;
    font-size: 45px;
}

.pagetop {
    position: fixed;
    right: 15px;
    bottom: 5px;
    z-index: 9999;
}
/*******************************
/*  レスポンシブ
*******************************/
@media screen and (max-width:900px) {
    article {
        width: auto;
    }
}

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

@media screen and (max-width:480px) {
    article {
        padding-left: 20px;
        padding-right: 20px;
    }
}