/**
 * index.html専用のスタイル指定
 *
 * 注意:
 * 「PCファースト」の方針で記述しています。
 * はじめにPC、モバイル共通のスタイルを記述し、モバイル専用は後から上書きする形で記述しています。
 * 原則として、PC専用のメディアクエリは設けないでください。
 */
/*************************************
 * PC、モバイル共通
 *************************************/
.hero {
  background-color: #ffffd2;
}
.hero img {
  height: auto;
  vertical-align: bottom;
  width: 100%;
}
.news-headline {
  clear: both;
  margin-top: 3px;
  padding-top: 10px;
  width: 100%;
}
.news-headline > li {
  line-height: 1.4;
  margin-bottom: 0.4em;
}
.news-headline > li > time {
  display: inline-block;
  padding-right: 1em;
}
.hero-inner {
  margin: 0 auto;
  max-width: 960px;
}
/**
 * jquery.bxslider (スライダー関連)
 */
.bx-wrapper {
  border: 0; /* プラグインのデフォルトで表示される枠線を消す */
  box-shadow: 0 0 5px #ccc;
  margin-bottom: 0;
}
.bx-wrapper a:hover img {
  /* 透明度を初期値に戻す */
  filter: alpha(opacity = 100);
  opacity: 1;
}
.bx-controls-direction {
  display: none;
}
.bx-controls-direction a {
  transition: 0s;
  /* 矢印ボタンのz-indexを"9999"から初期値へ戻す */
  z-index: auto;
}
.bx-wrapper .bx-pager.bx-default-pager a {
  background: #63c984;
  -webkit-border-radius: 0;
          border-radius: 0;
  height: 15px;
  width: 15px;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active,
.bx-wrapper .bx-pager.bx-default-pager a:focus {
  background: #297642;
}
.bx-wrapper .bx-pager {
  /* ページャを画像領域内に配置する */
  bottom: 20px;
}
/**
 * 各ページヘの案内
 */
.index-menu li {
  height: 320px;
  margin-top: 2px;
}
.index-menu li:nth-child(1),
.index-menu li:nth-child(1) .index-menu-text {
  background: #e1958c;
}
.index-menu li:nth-child(2),
.index-menu li:nth-child(2) .index-menu-text {
  background: #639638;
}
.index-menu li:nth-child(3),
.index-menu li:nth-child(3) .index-menu-text {
  background: #7b99b9;
}
.index-menu-text-wrapper {
  color: #fff;
  height: 100%;
  line-height: 1.4;
  margin: 0 auto;
  max-width: 960px;
  position: relative;
}
.index-menu li:nth-child(1) .index-menu-text-wrapper {
  background-image: url(../img/index/index-menu_01.jpg);
  background-position: left;
  background-repeat: no-repeat;
}
.index-menu li:nth-child(2) .index-menu-text-wrapper {
  background-image: url(../img/index/index-menu_02.jpg);
  background-position: right;
  background-repeat: no-repeat;
}
.index-menu li:nth-child(3) .index-menu-text-wrapper {
  background-image: url(../img/index/index-menu_03.jpg);
  background-position: left;
  background-repeat: no-repeat;
}
.index-menu-title {
  font-size: 30px;
}
.index-menu-title small {
  display: block;
  font-family: Century, serif;
  font-size: 14px;
  letter-spacing: 1px;
}
.index-menu-text {
  height: calc(100% - 48px);
  padding: 48px 48px 0;
  width: calc(320px - 96px);
}
.index-menu li:nth-child(2n) .index-menu-text {
  left: 0;
  position: absolute;
}
.index-menu li:nth-child(2n+1) .index-menu-text {
  position: absolute;
  right: 0;
}
.index-menu-text a {
  border: 1px solid #fff;
  color: #fff;
  padding: 4px 16px;
}
.index-menu-text a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
}
.index-menu-text p {
  margin: 1em 0 2em;
}  .index-menu-text p span {
  display: block;
}
/**
 * インフォメーション
 */
.index-info-container {
  background-color: #ffe9d2;
  border-top: 5px solid #ff8000;
  margin-top: 30px;
  padding-bottom: 250px; /* 下余白はfooterの高さと同じに */
}
.index-info-wrapper {
  overflow: hidden;
  text-align: left;
    margin: 50px auto 40px;
    max-width: 960px;
}
  .index-info {
    float: left;
    width: 60.41666666666667%;
  }
.info-title-wrapper {
  color: #ff7f00;
  font-size: 30px;
  margin-bottom: 20px;
}
.info-title {
  float: left;
  padding-right: 15px;
}
.info-title-wrapper a {
  color: inherit;
  font-size: 16px;
}
.info-list {
  border-top: 1px solid #ff8000;
}
.info-list li {
  border-bottom: 1px solid #ff8000;
  color: #333;
  font-size: 15px;
  line-height: 1.4;
  padding: 12px 0;
}
.info-list a {
  color: inherit;
}
.info-list a:hover {
  text-decoration: underline;
}
.info-list time {
  padding-right: 20px;
}
.side-ad {
  margin: 0 auto;
  max-width: 324px;
    float: right;
    max-width: 33.4375%;
}
.side-ad li {
  background: #fff;
  margin-bottom: 12px;
}
.side-ad img {
  height: auto;
  width: 100%;
}
/**
 * フッタ
 */
footer {
  border-top: none;
}
/*************************************
 * モバイル専用
 *************************************/
@media screen and (max-width: 767px) {
  .hero {
    padding-top: 60px;
  }
  .bx-wrapper .bx-pager {
    display: none;
  }
  .index-menu li {
    height: auto;
  }
  .index-menu-text-wrapper {
    background-image: none;
  }
  .index-menu-text {
    height: auto;
    padding: 8px 6px 20px;
    width: auto;
  }
  .index-menu li:nth-child(2n) .index-menu-text,
  .index-menu li:nth-child(2n+1) .index-menu-text {
    position: static;
  }
  .index-menu-text p {
    margin: 0 0 1em;
  }  .index-menu-text p span {
    display: inline;
  }
  .index-info-container {
    padding-bottom: 300px; /* 下余白はfooterの高さと同じに */
  }
  .index-info-wrapper {
    margin: 0;
    padding: 40px 6px 30px;
  }
  .index-info {
    margin-bottom: 30px;
    float: none;
    width: auto;
  }
  .side-ad {
    float: none;
    max-width: 324px;
  }
}
