@charset "utf-8";
/*

============================================================*/
html {
  font-size: 62.5%;
}
body {
  font-size: 1.3rem;
  line-height: 1.85;
  font-family: 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;

  color: #000;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-font-feature-settings : "palt" 1;
  font-feature-settings : "palt" 1;

  background: url(../../images/main_bg.jpg);
  background-color: #EEEBDA;
}

h2 { font-size: 1.8rem;}
h3 { font-size: 1.6rem;}
h4 { font-size: 1.4rem;}

iframe{
  border: none;
  width: 100%;
  max-width: 100%;
}

hr{
  border: none;
  height: 1px;
  background: #fff;
  background: rgba(255,255,255,0);
  float: none;
  clear: both;
}

img{
  vertical-align: baseline;
  line-height: 1;
  max-width: 100%;
  height: auto;
  opacity: 1;
}

@media print, screen and (max-width: 880px) {
  img{
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
  }
}

/*____*/
a{
  color: #000;
  text-decoration: none;
}
a:visited[],
a:hover{
  color: #961414;
  text-decoration: underline;
}

a:hover,
a:hover div {
  -moz-opacity: 0.7;
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
  zoom: 1;
}

a:hover img {
  -moz-opacity: 0.8;
  opacity: 0.8;
  filter: alpha(opacity=80);
  -ms-filter: "alpha(opacity=80)";
  zoom: 1;
}

a:active{}

a {
  text-decoration: none;
}

a[href^="http"]:empty::before {
  content: attr(href);
}

ul li{
  list-style: none;
}
@media print, screen and (min-width: 769px) {
  .row{
    display: table;
  }
  .row .col{
    display: table-cell;
    vertical-align: top;
  }
}

.clearfix::after {
  clear: both;
  content: '';
  display: block;
  height: 0;
}

.text-center{
  text-align: center;
}
.text-left{
  text-align: left;
}
.text-right{
  text-align: right;
}

@media print, screen and (min-width:769px) {
  .pull-left{
    float: left;
  }
  .pull-right{
    float: right;
  }
}

/**/
.sns-block{
  text-align: center;
  float: none;
  clear: both;
  margin-top: -20px;
}

h1 + .sns-block{
  margin-top: 0;
  padding-top: 15px;
}

.sns-block .sns-link{
  display: table;
  margin: 0 auto;
}
.sns-block .sns-link li{
  display: table-cell;
  vertical-align: top;
  padding: 0 10px;
  line-height: 1;
}

@media print{
  .sns-block{
    display: none;
  }
}

/****************トップへ戻る****************/

#page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 77%;
  z-index: 101;
}

#page-top a {
  background: #666;
  text-decoration: none;
  color: #fff;
  font-size: 13px;
  padding: 12px 8px;
  text-align: center;
  display: block;

  border-radius: 5px;
  opacity: 0.60;
  filter: alpha(opacity=60);
  -ms-filter: "alpha( opacity=60 )";
}

#page-top a:hover {
  text-decoration: none;
  background: #999;
}

#page-top a span{}

@media only screen and (max-width: 768px) {
  #page-top {
    bottom: 20px;
    right: 5px;
  }
  #page-top a {
    padding: 0;
    width: 40px;
    height: 40px;
    position: relative;
  }
  #page-top a::after{
    display: block;
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    top: 50%;
    left: 50%;
    margin: -4px 0 0 -7px;
    border: solid 4px #fff;
    border-color: #fff transparent transparent #fff ;

    transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
  }
  #page-top a span{
    display: none;

  }
}

@media print{
  #page-top{
    display: none !important;
  }
}

/**************** ナビ固定****************/

.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

/*
==========================================================*/
#wrap_header {
  position: relative;
  /*background: url(../../images/head_bg.jpg);*/
  background: url(../../images/head_bg2.jpg);
  padding-top: 80px;
  width: 100%;
}

#top #wrap_header {
  background: url(../../images/head_bg.jpg);
}

@media print{
  #top #wrap_header,
  #wrap_header {
    padding-top: 5px;
    background: white !important;
  }
}

#top_header {
  position: relative;
  max-width: 928px;
  margin-left: auto;
  margin-right: auto;
  z-index: 20;
}

.wrap_logo {
  position: absolute;
  left: 0;
  top: -9px;
}

.wrap_logo a {
  height: 100px;
  width: 112px;
  display: block;
}
.wrap_logo img{
  max-width: 100%;
  background: #fff;
}

.btn_top {
  position: absolute;
  display: inline-block;
  text-align: center;
  color: #fff;
  font-size: 1.2rem;
  border-radius: 5px;
  background-color: #840309;
  right: 5px;
  top: 13px;
  padding: 2px 10px 2px 15px;
  white-space: nowrap;
}
.btn_top::after{
  display: block;
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  left: 5px;
  top: 50%;
  margin-top: -3px;
  border: solid 3px transparent;
  border-left:solid 5px #fff;
}

@media only screen and (max-width: 768px) {
  #wrap_header {
    padding-top: 45px;
    text-align: center;
  }
  body:not(#top) #wrap_header{
    background: url(../../images/head_bg2.jpg);
  }
  .wrap_logo {
    left: 5px;
  }
  .wrap_logo img{
    max-height: 70px;
    max-width: 70px;
  }

  #top_header {
    text-align: right;
  }
}
@media only screen and (max-width: 480px) {
  .btn_top {
    top: 10px;
    right: 10px;
    position: relative;
  }
}

/*____*/
#container {
  max-width: 928px;
  /*overflow: hidden;*/
  position: relative;
  margin: 0 auto;
  padding: 20px 0 0;
}

/*____*/
#container.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 0 0;
}

@media only screen and (max-width: 768px) {
  #container.page-container,
  #container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/*__ 著作権・リンクについて __*/
#footer_common {
  clear: both;
  padding-bottom: 40px;
  background: url(../../images/footer_img.png) no-repeat bottom right;
  padding-top: 30px;
  border-top: 1px solid #d1c6ab;
}

#footer_common .notice {
  font-size: 10px;
  font-size: 9px\9;
  font-family: Arial, 'ＭＳＰゴシック', sans-serif\9;
  color: #666;
  zoom: 1;
  display: none;
}


/* 今昔物語ページ 共通パーツ
==========================================================*/

/*__ リンクボタン・アイコン __*/
a.iframe {
  background: #840309;
  color: #fff;
  display: inline-block;
  padding: 3px 8px 3px 18px;
  font-size: 13px;
  line-height: 1;
  border-radius: 4px;
  margin-left: 7px;
  position: relative;
  font-family: Arial, 'ＭＳＰゴシック', sans-serif;
}
a.iframe::after {
  display: block;
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  left: 5px;
  top: 50%;
  margin-top: -3px;
  border: solid 3px transparent;
  border-left:solid 5px #fff;
}

@media only screen and (max-width: 768px) {
  a.iframe {
    padding: 5px 5px 5px 18px;
    margin-top: 4px;
  }
}

/*__ ナビゲーション・共通 __*/
.navi ul li {
  display: inline-block;
  text-decoration: none;
  padding: 0 15px 10px;
}

.nav-content {
  text-align: center;
}

.nav-content .nav {
  text-align: center;
  margin: 0 auto;
}

.nav-content .nav ul {}
.nav-content .nav ul li {}

#header-nav {
  padding: 20px 0 10px;
  margin: 0 auto;
  max-width: 850px;
}

#header-nav .fix-nav-title {
  display: none;
}

.fix-nav-title h3 {
  display: inline-block;
  border-left: solid 3px #840309;
  margin: 0 0 0 10px;
  padding: 0 0 0 10px;
  line-height: 1;
}

.fix-nav-title h3 span {
  font-size: 12px;
  font-weight: bold !important;
}

.fix-nav-title h3 strong {
  font-size: 15px;
  display: block;
  font-weight: bold !important;
}


/* transition */
#nav-fix.fixed {
  z-index: 68 !important;
  -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  transition: 0.5s ease;

  -webkit-transition: 0.5s ease;
  -moz-transition: 0.5s ease;
  -ms-transition: 0.5s ease;
  -o-transition: 0.5s ease;
}

#nav-fix.fixed {
  animation: fadeIn 0.9s ease 0s 1 normal;
  -webkit-animation: fadeIn 0.9s ease 0s 1 normal;
}

@keyframes fadeIn {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}

#nav-fix.fixed #header-nav {
  max-width: 940px;
  text-align: left;
  margin: 44px auto 0;
  padding: 0 0 2px;
  display: table;
  opacity: 1;
}

#nav-fix.fixed .fix-nav-title {
  display: block;
  display: table-cell;
  padding: 0 8px 0 0;
  vertical-align: middle;
  white-space: nowrap;
}

#nav-fix.fixed #header-nav .nav {
  display: table-cell;
  padding: 5px 0 5px 5px;
  vertical-align: middle;
}
#nav-fix.fixed #header-nav .navi ul{
  display: block ;
}
#nav-fix.fixed .navi ul li {
  padding: 0 8px;
}

#nav-fix.fixed .navi ul li a {
  padding: 0 1px;
  font-size: 13px !important;
  line-height: 1 !important;
}

#mobile-nav-btn,
#mobile-close-btn{
  display: none;
}

@media only screen and (max-width: 768px) {
  #nav-fix.fixed #header-nav{
    width:100%;
  }
  #nav-fix.fixed #header-nav .navi{
    position: relative;
    display: block;

  }
  #nav-fix.fixed #header-nav .navi ul{
    position: absolute;
    display: none;
    background: url(../../images/head_bg2.jpg);
    -webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    z-index: 8;
    padding-left: 15px;
  }

  #nav-fix.fixed #header-nav .navi ul li{
    padding: 3px 8px;
  }
  #nav-fix.fixed .fix-nav-title {
    vertical-align: top;
    position: relative;
    display: block;
  }
  .fix-nav-title h3 span,
  .fix-nav-title h3 strong {
    display: inline-block;
    font-size: 1.3rem;
  }

  #nav-fix.fixed #header-nav #mobile-nav-btn{
    position: absolute;
    margin-top: -2px;
    right: -2px;
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
    background: #840309;
    color: #fff;
    padding:8px 24px 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 10;
  }
  #nav-fix.fixed #header-nav #mobile-nav-btn::after{
    display: block;
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    right: 10px;
    top: 50%;
    margin-top: -5px;
    border: solid 3px #fff;
    border-color:  transparent #fff #fff transparent;
    transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
  }
  #nav-fix.fixed #header-nav #mobile-nav-btn.open::after{
    border-color: #fff transparent transparent #fff;
    margin-top: 0;
  }

  #nav-fix.fixed #header-nav #mobile-close-btn{}

}
@media only screen and (max-width: 320px) {
  #nav-fix.fixed #header-nav{
    display: none;
  }
}

@media print{
  #nav-fix.fixed,
  #nav-fix.fixed #header-nav{
    display: none;
  }
}

/*____*/
#footer-nav {
  margin-bottom: 20px;
  padding-top: 20px;
  padding-bottom: 10px;
  max-width: 870px;
  text-align: left;
  border-top: 1px solid #d1c6ab;
  border-bottom: 1px solid #d1c6ab;
}

#footer-nav .fix-nav-title {
  display: none;
}

#footer-nav .nav,
#footer-nav .nav ul {
  text-align: left;
}

#footer-nav .nav ul li {}

.navi ul li a {
  color: #1A1A1A;
}

.p12 .nav-p12 a,
.p11 .nav-p11 a,
.p10 .nav-p10 a,
.p09 .nav-p09 a,
.p08 .nav-p08 a,
.p07 .nav-p07 a,
.p06 .nav-p06 a,
.p05 .nav-p05 a,
.p04 .nav-p04 a,
.p03 .nav-p03 a,
.p02 .nav-p02 a,
.p01 .nav-p01 a,
.navi ul li a:hover {
  color: #840309;
  padding-bottom: 10px;
  text-decoration: underline;
}

#footer-nav .navi ul li a:hover {
  text-decoration: underline !important;
}

#footer #ftr-nav {
  /*-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);*/
}

/*
==========================================================*/
#cboxClose {
  position: absolute;
  top: -19px !important;
  right: 10px !important;
  display: block;
  background: url(../img/controls_custom.png) no-repeat top center !important;
  width: 38px;
  height: 19px;
  text-indent: -9999px;
}
#cboxClose:hover {
  background-position: bottom center;
}

#cboxOverlay{
  background:#000;
  opacity: 0.75 !important;
  filter: alpha(opacity=75);
  -ms-filter: "alpha(opacity=75)";
  zoom: 1;
}

