/**
 * index.html 専用
 *
 * 注意:
 * 「PCファースト」の方針で記述しています。
 * はじめにPC、モバイル共通のスタイルを記述し、モバイル専用は後から上書きする形で記述しています。
 * 原則として、PC専用のメディアクエリは設けないようにしてください。
 */
html,
body {
  /*
    パララックス用プラグイン使用時、IEでマウスホイールによる画面スクロールをした時に画面がちらつくのを防ぐため、必ず「static」にしなければならない。
    パララックス用要素を包むものは全て、staticにしなければならない。
    このため、必然的にフッターを下部に固定するテクニックと併用できないということになる。
    しかし、パララックス効果を使うページは総じて縦長であり、画面の高さ以上になることは間違いないので問題ない。
  */
  position: static;
}
.contents {
  border: none;
  margin: 0 auto;
  max-width: 960px;
}
/**
 * ヘッダー
 */
.header {
  background-image: url(../img/index-hero1.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  height: auto;
  position: static;
}
.header .contents {
  padding: 20px 0;
}
.header-text {
  color: white;
  font-size: 140%;
  margin: 12em 0 10em;
  text-shadow: 1px 1px 1px gray;
}
.header-text-inner {
  max-width: 493px;
}
.header-text-inner img {
  height: auto;
  width: 100%;
}
.globalnavi {
  display: none;
}
/**
 * 序文
 */
.outline-wrapper {
  border-bottom: 1px solid #066;
}
.outline {
  color: #066;
  font-size: 120%;
  padding: 2.5em 0;
  text-align: center;
}
.outline-title {
  font-size: 120%;
  font-weight: normal;
}
.outline p {
  font-size: inherit;
}
.outline strong {
  font-size: 160%;
  font-weight: normal;
}
.outline small {
  font-size: 80%;
}
/**
 * パネル
 */
.panel-contents {
  padding-bottom: 0;
}
.panel-contents-inner {
  background-position: left;
  background-repeat: no-repeat;
  background-size: 50%;
  box-sizing: border-box;
  padding-left: 50%;
  text-align: center;
}
.panel-title-wrapper {
  border-bottom: 1px solid #066;
  box-sizing: border-box;
  color: #066;
  height: 176px;
}
.panel-title {
  padding-top: 2.2em;
}
.panel-title {
  font-size: 200%;
}
.panel-title small {
  display: block;
  font-size: 45%;
  letter-spacing: 0.3em;
  margin-top: 0.5em;
}
.panel-text-wrapper {
  font-size: 85%;
  height: 176px;
}
.panel-text-wrapper p {
  font-size: inherit;
  padding: 1.5em 0 3em;
}
.panel-text-wrapper a {
  border: 1px solid black;
  color: black;
  display: inline-block;
  font-size: inherit;
  padding: 1em 3em;
}
/**
 * 各パネルごとの設定
 */
.panel1 .panel-contents-inner {
  background-image: url(../img/index-panel1-side.png);
}
.panel2 .panel-contents-inner {
  background-image: url(../img/index-panel2-side.png);
}
.panel3 .panel-contents-inner {
  background-image: url(../img/index-panel3-side.png);
}
.panel4 .panel-contents-inner {
  background-image: url(../img/index-panel4-side.png);
}
.panel5 .panel-contents-inner {
  background-image: url(../img/index-panel5-side.png);
}
/**
 * パララックス効果用背景
 * 参照: http://pixelcog.github.io/parallax.js/
 */
.parallax-window {
  background: transparent; /* パララックスに必須 */
  height: 230px;
}
/**
 * その他のリンク
 */
.other-row-wrapper {
  background-color: #eee;
  border-bottom: 1px solid #066;
  padding: 2em 0;
}
.other-row {
  padding: 0;
}
.other {
  border-left: 1px solid #066;
  box-sizing: border-box;
  float: left;
  height: 330px;
  text-align: center;
  width: 50%;
}
.other.first-item {
  border-left: none;
}
.other-single {
  background-image: url(../img/index-building.jpg);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 50%;
}
.other-title-wrapper {
  border-bottom: 1px solid #066;
  box-sizing: border-box;
  color: #066;
  height: 50%;
  margin: 0 auto;
  max-width: 240px;
}
.other-title {
  font-size: 200%;
  padding-top: 25%;
}
.other-title small {
  display: block;
  font-size: 45%;
  letter-spacing: 0.3em;
  margin-top: 0.5em;
}
.other-text-wrapper {
  box-sizing: border-box;
  font-size: 85%;
  height: 50%;
}
.other-text-wrapper p {
  font-size: inherit;
  padding: 1.5em 0 3em;
}
.other-text-wrapper a {
  border: 1px solid black;
  color: black;
  display: inline-block;
  font-size: inherit;
  padding: 1em 3em;
}
/**
 * 新着情報
 */
.news {
  background-color: #eee;
  min-height: 300px;
}
.news-title-wrapper {
  border-bottom: 3px solid #066;
  padding: 4em 0 0.5em;
  position: relative;
}
.news-title {
  font-weight: bold;
  margin: 0;
}
.news-title-wrapper a {
  bottom: 0.5em;
  color: inherit;
  display: block;
  font-size: 80%;
  position: absolute;
  right: 0;
}
.news-title-wrapper a i {
  color: #269fd0;
}
.news-list {
  font-size: 100%;
  margin-top: 1em;
}
.news-list time {
  margin-right: 1em;
}
/**
 * フッター
 */
.footer {
  background-color: #333;
  position: static;
}
.footer-navi {
  box-shadow: none;
}
.footer-navi a {
  background-color: inherit;
}
.footer-navi a:hover {
  background-color: inherit;
}
/*******************************
 * モバイル専用
 *******************************/
@media screen and (max-width: 767px) {
  .contents,
  .header .contents,
  .other {
    padding-left: 0.8em;
    padding-right: 0.8em;
  }
  /**
   * ヘッダー
   */
  .header .site-title-wrapper {
    padding: 0 0.8em;
  }
  .site-title {
    height: 60px;
    padding: 0 52px 0 0;
  }
  .header-text {
    font-size: 100%;
    margin: 3em 0 2em;
  }
  .header-text-title {
    font-size: 280%;
  }
  /**
   * グローバルナビ
   */
  .toggle-menu,
  .toggle-menu:link,
  .toggle-menu:visited,
  .toggle-menu:hover,
  .toggle-menu:active {
    background: transparent;
    border: none;
    color: white;
    text-shadow: 1px 1px 1px gray;
  }
  .globalnavi ul li a:hover {
    background-color: #066;
    color: white;
  }
  /**
   * 序文
   */
  .outline {
    font-size: 100%;
  }
  .outline small {
    display: block;
  }
  /**
   * パネル
   */
  .panel {
    padding-bottom: 4em;
  }
  .panel .panel-contents-inner {
    background-image: none;
    padding-left: 0;
  }
  .panel-title-wrapper {
    height: auto;
    margin: 0 auto;
    max-width: 300px;
    padding: 2em 0;
  }
  .panel-text-wrapper p {
    padding: 0 0 1.5em;
    margin-bottom: 0;
  }
  /**
   * パネルと、その他のリンクの共通部分
   */
  .panel-title,
  .other-title {
    font-size: 160%;
    margin-bottom: 0;
    padding-top: 0;
  }
  .panel-text-wrapper,
  .other-text-wrapper {
    height: auto;
    padding: 1.5em 0 2em;
  }
  /**
   * パララックス効果用背景
   */
  .parallax-window {
    display: none; /* モバイル向けでは非表示にして、代わりに下記を表示する */
  }
  .panel-contents-wrapper:before {
    content: "";
    display: block;
    background-repeat: no-repeat;
    background-size: 100% auto;
    height: 200px;
    width: 100%;
    background-position: center center;
  }
  .panel1 .panel-contents-wrapper:before {
    background-image: url(../img/index-panel1-side-01.png);
  }
  .panel2 .panel-contents-wrapper:before {
    background-image: url(../img/index-panel2-side-02.png);
  }
  .panel3 .panel-contents-wrapper:before {
    background-image: url(../img/index-panel3-side-03.png);
  }
  .panel4 .panel-contents-wrapper:before {
    background-image: url(../img/index-panel4-side-04.png);
  }
  .panel5 .panel-contents-wrapper:before {
    background-image: url(../img/index-panel5-side-05.png);
  }
  /**
   *その他のリンク
   */
  .other-title-wrapper {
    height: auto;
    margin: 0 auto;
    max-width: 300px;
    padding: 2.5em 0;
  }
  .other-row-wrapper {
    border-bottom: none;
    padding: 0;
  }
  .other-row {
    padding: 0;
  }
  .other-single {
    background-image: none;
  }
  .other {
    border-bottom: 1px solid #066;
    border-left: none;
    float: none;
    height: auto;
    width: 100%;
  }
  .other-text-wrapper p {
    padding: 0 0 1.5em;
  }
}
