@charset "utf-8";

#wrapper {
  background: url(../../images/main/common/bg.jpg) top center / cover no-repeat;
  padding: 50px 0 0;
}

[data-bg="2"] #wrapper { background-image: url(../../images/main/common/bg_2.jpg); }
[data-bg="3"] #wrapper { background-image: url(../../images/main/common/bg_3.jpg); }
[data-bg="4"] #wrapper { background-image: url(../../images/main/common/bg_4.jpg); }

@media screen and (min-width: 900px){
  #wrapper {
    padding-top: 0;
  }

  #contents_inner {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    max-width: 1920px;
    margin: 0 auto;
  }

  #contents_main {
    flex-basis: 70%;
    flex-grow: 1;
  }

  #side {
    flex-basis: 30%;
    max-width: 360px;
    padding: 25px;
    background: #000;
  }

  #main_inner,
  #side_inner,
  #right_side_inner {
    position: sticky;
    top: 20px;
  }

  #footer {
    background: #000;
    padding: 5px;
  }
}

/* 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;
  font-family: YakuHanJPs, "Roboto Condensed", "Noto Sans JP", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
}

/* 件数表示 */
.page {
  display: none;
}

/* 件数件表示（数字） */
.page>.nom {
}

/* ページネーション（リスト） */
.page_navi>ul {
  margin: 0;
  display: flex;
  justify-content: center;
  font-weight: 700;
}

/* ページネーション（ページ数、前、次） */
.page_navi li {
}

/* ページネーション（前、次のみ） */
.page_navi li.nb_pre,
.page_navi li.nb_nex {
  margin: 0 1em;
  color: #bdaa8a;
}

/* ページネーション（ページ数のみ） */
.page_navi li.nb_crt,
.page_navi li.nb_link {
  margin: 0 .5em;
  color: #555;
}

/* ページネーション（ページ数 カレント） */
.page_navi li.nb_crt {
  color: #bdaa8a;
}

/* ページネーション（リンク） */
.page_navi a {
  text-decoration: none;
}

.page_navi a:hover {
}

/* ページネーション リンクなし */
.page_navi li>span {
  color: #555;
}

/* バナーユニット
========================================== */

[id^="bnu_001_"] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 30px 0 0;
}

[id^="bnu_001_"]>p {
  width: 100%;
  max-width: 350px;
  margin: 0 10px 10px;
}

/* ==========================================
*
*  linkButton 
*
========================================== */

.linkButton {
  text-align: center;
  margin: 10px 0 0;
  font-size: 1.6rem;
  line-height: 1;
}

.linkButton--small {
  font-size: 1.2rem
}

.linkButton a{
  display: inline-block;
  align-items: center;
  background: #bdaa8a;
  color: #000;
  text-decoration: none;
  padding: 8px 20px;
  position: relative;
  outline: none;
  min-width: 120px;
}

.linkButton a::before,
.linkButton a::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2em;
  border: 1em solid transparent;
  transition: .5s;
  transform: scale(.8,1);
}

.linkButton a::before {
  left: -2em;
  border-right-color: #bdaa8a;
  transform-origin: right;
}

.linkButton a::after {
  right: -2em;
  border-left-color: #bdaa8a;
  transform-origin: left;
}

/* ==========================================
*
*  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;
}