/**
 * ページ全体のスタイル指定
 *
 * 注意:
 * 「PCファースト」の方針で記述しています。
 * はじめにPC、モバイル共通のスタイルを記述し、モバイル専用は後から上書きする形で記述しています。
 * 原則として、PC専用のメディアクエリは設けないでください。
 */
/*************************************
 * PC、モバイル共通
 *************************************/
html {
  height: 100%; /* footerを下部に固定するために必要 */
}
body {
  color: #222;
  font-family: Meiryo, 'Hiragino Kaku Gothic Pro', Osaka, sans-serif;
  height: 100%; /* footerを下部に固定するために必要 */
  position: relative; /* footerを下部に固定するために必要 */
  word-wrap: break-word;
}
.wrap-for-fixedfooter {
  min-height: 100%;
  /* footerを下部に固定するための要素 */
  position: relative;
  top: 0;
  width: 100%;
}
.contents {
  margin: 0 auto;
  max-width: 960px;
  padding-bottom: 250px; /* 下余白はfooterの高さと同じに */
}
/**
 * ヒーロー2
 */
.hero2 {
  background: #eee;
  height: 300px;
}
.hero2-inner {
  background: #dfebff;
  color: #7999b8;
  height: 100%;
  margin: 0 auto;
  max-width: 960px;
  text-align: center;
}
.hero2-inner p {
  color: #333;
  padding-top: 16px;
}
.hero2-text-wrapper {
  background-color: inherit;
  height: 100%;
  width: 340px;
}
.hero2-text-wrapper span {
  display: block;
}
.page-title {
  font-size: 45px;
  font-weight: normal;
  line-height: 1.5;
  padding-top: 64px;
}
.page-title small {
  display: block;
  font-family: Century, serif;
  font-size: 20px;
  letter-spacing: 1px;
}
/**
 * 見出し
 */
.section-title {
  /* h3 */
  background: #999; /* 各ページで上書きされる */
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin: 30px 0 20px;
  padding: 15px 15px;
}
.subheading {
  font-size: 25px;
  /* h4 */
  font-weight: bold;
  margin: 0.7em 0;
}
.caption-img {
  font-size: 15px;
  /* h6 */
  margin-top: 4px;
  text-align: center;
}
/**
 * アンカー
 */
a,
img {
  transition: all 0.3s ease;
}
a {
  color: #28a;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a i {
  font-size: 120%;
  line-height: 1;
  margin-left: 5px;
}
.tel-link,
.tel-link:hover {
  color: inherit;
  cursor: default;
  text-decoration: none;
}
a:hover img {
  opacity: 0.6;
}
section {
  margin-bottom: 50px;
}
p {
  line-height: 1.4;
  margin-bottom: 1em;
}
/**
 * リスト
 */
.list-normal,
.list-normal ol,
.list-normal ul {
  margin-left: 2em;
}
.list-normal li {
  line-height: 1.4;
}
ol.list-normal li,
.list-normal ol li {
  list-style-type: decimal;
}
ul.list-normal li,
.list-normal ul li {
  list-style-type: disc;
}
.list-big li {
  margin-bottom: 1em;
}
/**
 * dl (説明用)
 */
.dl-explain {
  margin-bottom: 20px;
}
.dl-explain dt {
  font-size: 25px;
  font-weight: bold;
  margin: 1.5em 0 0.2em;
}
.dl-explain dt,
.dl-explain dd {
  line-height: 1.4;
}
.dl-explain dd {
  margin-left: 35px;
}
th,
td,
caption {
  text-align: left;
}
/**
 * カラム表示
 */
.img-row-container {
  overflow: hidden;
}
.img-row-wrapper {
  float: left;
}
.img-single-wrapper {
  margin: 0 auto 1em;
}
.img-row-wrapper img,
.img-single-wrapper img {
  height: auto;
  width: 100%;
}
.img-300-wrapper {
  /* 30 / 960 * 100 */
  margin-left: -3.125%;
}
.img-300 {
  /* 30 / 990 * 100 */
  margin-bottom: 3.03030303030303%;
  /* 30 / 990 * 100 */
  margin-left: 3.03030303030303%;
  /* 300 / 990 * 100 */
  width: 30.3030303030303%;
}
.img-462-wrapper {
  margin-left: -3.75%;
}
.img-462 {
  margin-bottom: 3.614457831325301%;
  margin-left: 3.614457831325301%;
  width: 46.3855421686747%;
}
.img-640 {
  /* 1列に1枚のみ */
  max-width: 640px;
}
/**
 * clearfix
 */
.clearfix:after {
  clear: both;
  content: '';
  display: block;
}
/**
 * ヘッダ
 */
header {
  background: #fff;
  color: #222;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 10;
}
.header-inner {
  margin: 0 auto;
  max-width: 960px;
  overflow: hidden;
  padding: 16px 0;
}
.site-title {
  float: left;
  max-width: 504px;
}
.site-title img {
  height: auto;
  vertical-align: bottom;
  width: 100%;
}
.header-address {
  float: right;
  font-size: 17px;
  padding: 10px 0;
}
.header-address a,
.header-address a:hover {
  color: #d90000;
  display: block;
  font-size: 22px;
  font-weight: bold;
  margin-top: 8px;
}
.header-address a small {
  font-size: 0.8em;
  padding-right: 0.2em;
}
.globalnavi {
  background: #ffb062;
  color: #fff;
  display: block;
}
.globalnavi > ul {
  list-style-type: none;
  margin: 0 auto;
  max-width: 960px;
  padding: 0;
  position: relative;
}
.globalnavi > ul > li {
  display: block;
  float: left;
  position: relative;
  width: 14.66666666666667%;
}
.globalnavi > ul > li:nth-child(1),
.globalnavi > ul > li:nth-child(5) {
  width: 16%;
}
.globalnavi > ul > li:nth-child(6) {
  width: 24%;
}
.globalnavi > ul > li > a {
  color: inherit;
  display: block;
  font-size: 1em;
  padding: 20px 0;
  text-align: center;
}
.globalnavi .fa-angle-right,
.toggle-menu {
  /* モバイル向け要素は、PC向けでは非表示にする */
  display: none;
}
.globalnavi > ul > li > a:hover,
.globalnavi > ul > .on > a {
  background-color: #ff7f00;
  text-decoration: none;
}
/**
 * フッタ
 */
footer {
  background-color: #ffe9d2;
  border-top: 5px solid #ff8000;
  bottom: 0;
  height: 245px;
  margin-top: 30px;
  overflow: hidden;
  position: absolute;
  text-align: center;
  width: 100%;
}
.footer-inner {
  margin-left: auto;
  margin-right: auto;
  max-width: calc(960px - 12px);
  padding-left: 6px;
  padding-right: 6px;
  position: relative;
}
.footer-logo-wrapper {
  padding-top: 24px;
}
.footer-logo {
  height: auto;
  max-width: 347px;
  width: 100%;
}
.footer-inner a {
  color: inherit;
  text-decoration: none;
}
footer address {
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 0.8em;
}
.footer-address-list {
  font-size: 16px;
  margin-top: 0.4em;
}
.footer-address-list li {
  display: inline;
  padding-left: 1em;
}
.footer-address-list li:nth-child(1) {
  padding-left: 0;
}
.footer-note {
  color: #00008c;
  font-size: 14px;
}
.copyright {
  background: #ffb468;
  bottom: 0;
  color: #fff;
  position: absolute;
  width: 100%;
}
.copyright-inner {
  font-size: 14px;
  margin: 0 auto;
  max-width: 960px;
  padding: 18px 0;
}
/*************************************
 * モバイル専用
 *************************************/
@media screen and (max-width: 767px) {
  .contents {
    padding: 0 6px 300px; /* 下余白はfooterの高さと同じに */
    width: calc(100% - 6px - 6px);
  }
  /**
   * ヒーロー2
   */
  .hero2 {
    height: auto;
    padding-top: 60px;
  }
  .hero2-inner {
    height: auto;
    padding: 6px;
    text-align: left;
  }
  .hero2-text-wrapper {
    height: auto;
    width: auto;
  }
  .hero2-text-wrapper span {
    display: inline;
  }
  .page-title {
    font-size: 24px;
    padding-top: 0;
  }
  .page-title small {
    font-size: 16px;
  }
  .hero2-inner p {
    font-size: 14px;
    padding-top: 0;
  }
  /**
   * 見出し
   */
  .section-title {
    font-size: 18px;
  }
  .subheading {
    font-size: 20px;
  }
  /**
   * dl (説明用)
   */
  .dl-explain dt {
    font-size: 20px;
  }
  .dl-explain dd {
    margin-left: 28px;
  }
  /**
   * カラム表示
   */
  .img-row-wrapper {
    float: none;
    margin: 1em auto;
  }
  .img-single-wrapper {
    margin: 0;
  }
  .img-300-wrapper {
    margin-left: 0;
  }
  .img-300 {
    margin-bottom: 1em;
    margin-left: auto;
    max-width: 300px;
    width: auto;
  }
  .img-462-wrapper {
    margin-left: auto;
  }
  .img-462 {
    margin-bottom: 1em;
    margin-left: auto;
    max-width: 462px;
    width: auto;
  }
  /**
   * ヘッダ
   */
  header {
    border-bottom: 1px solid #ccc;
    max-height: 60px;
    position: fixed;
  }
  .header-inner {
    margin: 0;
    padding: 0;
    width: calc(100% - 42px);
  }
  .site-title {
    float: none;
    height: calc(60px - 10px - 10px);
    line-height: 40px;
    max-width: 301px;
    padding: 10px 0 10px 6px;
    width: calc(100% - 6px);
  }
  .site-title img {
    vertical-align: middle;
  }
  .header-address {
    display: none;
  }
  /* トグルボタン */
  .toggle-menu {
    background: inherit;
    color: #444;
    display: block;
    height: 60px;
    position: absolute;
    right: 0;
    text-decoration: none;
    top: 0;
    transition-delay: 0s;
  }
  .toggle-menu:hover,
  .toggle-menu-open:hover {
    text-decoration: none;
  }
  .toggle-menu > .fa {
    display: block;
    font-size: 22px;
    line-height: 1;
    margin: 0;
    padding: 19px 0;
    text-align: center;
    width: 42px;
  }
  .globalnavi {
    display: none;
    position: relative;
  }
  .globalnavi > ul {
    background: #ffb062;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
    margin: 0;
    position: absolute;
    width: 100%;
  }
  .globalnavi > ul > li {
    border-top: 1px dashed #888;
    float: none;
    list-style-type: none;
    width: auto;
  }
  .globalnavi > ul > li:nth-child(1),
  .globalnavi > ul > li:nth-child(5),
  .globalnavi > ul > li:nth-child(6) {
    width: auto;
  }
  .globalnavi > ul > li > a {
    color: inherit;
    display: block;
    padding: 8px 12px;
    text-align: left;
  }
  .globalnavi .fa-angle-right {
    display: inline-block;
    margin-right: 5px;
  }
  /**
   * フッター
   */
  footer {
    height: 295px;
  }
  .footer-address-list li {
    display: block;
    padding-left: 0;
  }
  .copyright-inner {
    font-size: 14px;
    margin: 0 auto;
    max-width: 960px;
    padding: 12px 0;
  }
}
