@charset "utf-8";

/* NEWマーク
========================================== */
#nwu_001_t table, #nwu_001_t tbody, #nwu_001_t th {
    display: block;
}

#nwu_001_t tr {
  display: flex;
  flex-direction: column;
  font-size:1.4rem;
  line-height:1.5;
  border-bottom: 1px solid #d0c19f;
  margin: 0 0 0.8em;
  padding-bottom: 1em;
}
#nwu_001_t td {
  color:#8c0a3c;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
#nwu_001_t a{
  color:#553723;
  text-decoration:none;
}
.is-new td.day::after {
  content: "NEW";
  background: #8c0a3c;
  color: #fbf6ec;
  font-weight: 300;
  font-size: 1.2rem;
  padding: 0.1em 0.2em;
  margin: 0 .5em 0 0.5em;
  display: block;
  height: 1.2em;
  line-height: 1;
}
/* Youtube
========================================== */
/*
  width = ウィンドウ幅 - 左右マージンの合計
  height = width * 9/16
  ※単位vwはスクロールバーを含めた値になるため、PCの場合は少しずれる。
  　スマホは問題ない。
*/

.read iframe {
  margin: 1em 0;
  max-width: 640px;
  max-height: calc( 640px * 9 / 16 );
  width: calc( 100vw - 40px );
  height: calc( ( 100vw - 40px ) * 9 / 16 );
}


/* ページネーション（ネクストバック）
========================================== */

/* ネクストバックナビ */
.nb_navi {
  text-align: center;
  margin-top: 50px;
}

/* 件数表示 */
.page {
}

/* 件数件表示（数字） */
.page>.nom {
}

/* ページネーション（リスト） */
.page_navi>ul {
  margin: 0;
  display: flex;
  justify-content: center;
}

/* ページネーション（ページ数、前、次） */
.page_navi li {
}

/* ページネーション（前、次のみ） */
.page_navi li.nb_pre,
.page_navi li.nb_nex {
  margin: 0 1em;
}

/* ページネーション（ページ数のみ） */
.page_navi li.nb_crt,
.page_navi li.nb_link {
  margin: 0 .5em;
}

/* ページネーション（ページ数 カレント） */
.page_navi li.nb_crt {
}

/* ページネーション（リンク） */
.page_navi a {
  text-decoration: none;
}

.page_navi a:hover {
}

/* ページネーション リンクなし */
.page_navi li>span {
  opacity: .2;
}

/* バナーユニット
========================================== */

[id^="bnu_001_"] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 30px 20px 0;
}

[id^="bnu_001_"]>p {
  width: 100%;
  max-width: 350px;
  margin: 0 10px 10px;
}

/* ==========================================
*
*  mfp
*
========================================== */

.mfp-bg {
  background: rgba(0, 0, 0, .8) !important;
}

.mfp-fade.mfp-bg {
  opacity: 0;
  transition: .5s;
}

/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 1;
}

/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transition: .5s;
}

/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}

/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}
#contents {
  margin: auto;
  padding-bottom: 110px;
  position: relative;
  background: url(../../images/main/common/ribonn_top.png)center top repeat-x,
    url(../../images/main/common/ribonn_bottom.png)center bottom repeat-x;
}
#contents::before{
  content:"";
  position:absolute;
  top:0;bottom:0;
  left:0;right:0;
  background: 
    url(../../images/main/common/coner_lt.png)left top no-repeat,
    url(../../images/main/common/coner_lb.png)left bottom no-repeat,
    url(../../images/main/common/coner_rt.png)right top no-repeat,
    url(../../images/main/common/coner_rb.png)right bottom no-repeat;
  z-index:-1;
}
#contents_inner {
  display: flex;
  flex-wrap: wrap;
  flex-direction:row-reverse;
  justify-content: center;
  width: auto;
  margin: auto;
  max-width: 1920px;
}
#contents_main {
    width: calc(100% - 490px);
}

#main {
    padding: 30px 0 50px;
}
@media screen and (max-width:1500px){
  #main{margin-right:20px;}
  #side{width: 300px;margin: 0px 40px 50px 20px;}
  #contents_main{width: calc(100% - 360px);}
}
@media screen and (max-width:1200px){
  #contents::before {background-size:25%;}
  #side{width: 240px;margin: 0px 20px 50px;}
  #contents_main{width: calc(100% - 280px);}
}
@media screen and (min-width:1000px){
  #main #bnu_001_t {display: none;}
}
@media screen and (max-width:999px){
  #contents_inner{
    flex-direction:row;
    flex-wrap:wrap;
  }
  #contents_main,#side{width:100%;margin: 0 24px;position: static;height: auto!important;}
  #main{margin-right:0;padding-bottom: 0;}
  #side_inner{position: static;top: auto;filter: none;background: none;}
  .header__inner{position:relative;z-index: 2000;text-align: center;}
  ul.socialList{width: 200px;margin:auto;}
  #side #bnu_001_t_target{display:none;}
}
@media screen and (max-width:600px){
  #contents {padding-bottom: 10%;}
  #contents_main,#side{margin: 0 12px;}
}