﻿@charset "utf-8";

/*フォント指定*/
html {
  /* ルートのフォントサイズを10pxに設定しておく */
  font-size: 62.5%;
}

body {
  /* ルートのフォントサイズを1.8em（18pxと同等のサイズ）に設定 */
  font-size: 1.8em;
  /*メイリオ、ゴシック体*/
  font-family: "Meiryo", sans-serif;
}

h1 {
  font-size: 3.0rem;
  color: #4E2613;
  font-weight: normal;
}

h2 {
  font-size: 2.8rem;
  color: #4E2613;
  text-align: center;
  font-weight: normal;
  line-height: 2.5;
}

h3 {
  font-size: 2.4rem;
  font-weight: normal;
  line-height: 2;
}

h4 {
  font-size: 2.2rem;
  font-weight: normal;
  line-height: 2;
}

p {
  font-size: 1.8rem;
  color: #313131;
}

.smallfont {
  font-size: 1.4rem;
}

.header_copy {
  color: #AF7E4F;
}

.morelink {
  text-align: center;
  line-height: 3;
}

a {
  font-size: 2rem;
  color: #AF7E4F;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/*ラッパー、インナー、配置*/
.wrapper {
  margin-right: auto;
  margin-left: auto;
  padding-right: 10px;
  padding-left: 10px;
}

.inner {
  margin-right: auto;
  margin-left: auto;
  max-width: 100%;
}

.news_inner {
  margin-right: auto;
  margin-left: auto;
  width: 1030px;
  max-width: 100%;
}

.sns_inner {
  margin-right: auto;
  margin-left: auto;
  width: 900px;
  max-width: 100%;
  display: flex;
}

.ins {
  margin-left: auto;
}

.map_inner {
  display: block;
  margin-right: auto;
  margin-left: auto;
  width: 970px;
  max-width: 100%;
}

.footer_inner {
  margin-right: auto;
  margin-left: auto;
  width: 1170px;
  max-width: 100%;
}

.mainvis,
section {
  margin-bottom: 200px;
}

/*ヘッダー*/
.header_nav {
  display: flex;
  height: 100px;
  align-items: center;
}

.header_logo a img {
  height: 50px;
}

.header_logo {
  margin-right: 30px;
}

.header_copy {
  display: block;
}

.mainvis {
  width: 970px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.mainvis > p {
  text-align: center;
  font-size: 2rem;
  line-height: 3;
  color: #4E2613;
}

/*リスト、画像*/

ul {
  display: flex;
  justify-content: space-between;
}

ul.list {
  display: block;
  margin: 1em 0;
  padding-left: 40px;
  list-style-type: circle;
}

.news_inner ul li a img {
  padding-right: 1px;
  max-width: 100%;
  height: auto;
}

/*フッター*/

footer {
  padding: 30px 0;
  background-color: #FEFDF4;
}

.subnav,
.footer_copy {
  margin-bottom: 80px;
}

.footer_copy,
.copyright {
  text-align: center;
}

.copyright small img {
  height: 30px;
  vertical-align: text-bottom;
}

/*top戻るボタン*/
#pageTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

#pageTop a:hover {
  text-decoration: none;
  opacity: 0.7;
}

/*スライダー*/
.swiper-my-pagination .swiper-pagination-bullet {
  width: auto;
  height: auto;
  border-radius: 0;
}

.swiper-container-horizontal > .swiper-my-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  margin-right: 14px;
}

.swiper-my-pagination img {
  box-shadow: none;
  margin-right: 14px;
  vertical-align: bottom;
}

.swiper-my-pagination {
  display: table;
}

.swiper-my-pagination {
  display: table;
  table-layout: fixed;
}

.swiper-my-pagination .swiper-pagination-bullet {
  display: table-cell;
  background: transparent;
  opacity: 1;
}

.swiper-my-pagination .swiper-pagination-bullet-active {
  background: transparent;
  opacity: 0.7;
}


/*下層ページ*/
/*共通　タイトル、インナー*/
.title img {
  display: block;
  height: 28px;
  margin: 20px auto 10px;
}

.subs_inner {
  margin-right: auto;
  margin-left: auto;
  width: 1170px;
  max-width: 100%;
}

/*aboutページ*/
.about > .subs_inner {
  display: flex;
}

.about > .subs_inner .text {
  width: calc(100% - 450px);
  margin: 0 25px 0 0;
  text-align: justify;
}

.about > .subs_inner:nth-child(2n) {
  flex-direction: row-reverse;
}

.about > .subs_inner:nth-child(2n) .text {
  margin: 0 0 0 25px;
}

/*systemページ*/
.system > .subs_inner,
.value {
  display: flex;
}

.system > .subs_inner:last-of-type {
  display: block;
}

.system > .subs_inner .text {
  width: calc(100% - 480px);
  margin: 0 25px 0 0;
  text-align: justify;
}

.value_t {
  text-align: center;
}

p.value_t {
  margin-bottom: 20px;
}

.v_child {
  width: 290px;
}

/*メディアクエリ用*/

.sp,
.br-sp {
  display: none;
}

/*スライダーバレットサイズ対策用含む,一部タブレット用930px~768px*/
@media (max-width: 930px) {

  /*スライダーバレット*/
  .swiper-pagination-fraction,
  .swiper-pagination-custom,
  .swiper-container-horizontal > .swiper-pagination-bullets {
    width: 100%;
  }

  /*地図*/
  .liquid {
    position: relative;
    width: 100%;
    padding-top: 41.24%;
    /* 高さ ÷ 横幅 × 100 */
  }

  .liquid iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  /*930px~768pxここまで*/
}

/*小型タブレットおよびスマホ用767px以下*/
@media (max-width: 767px) {

  /*ラッパー画面いっぱい*/
  .wrapper {
    padding-right: 0;
    padding-left: 0;
  }

  /*pc用、フッターサブナビ非表示*/
  .pc,
  .subnav {
    display: none;
  }

  /*スマホ画像および改行表示*/
  .sp {
    display: block;
  }

  .sp img {
    max-width: 100%;
  }

  .br-sp {
    display: inline-block;
  }

  /*マージン変更*/

  .mainvis,
  section {
    margin-bottom: 80px;
  }

  /*ヘッダー改変*/

  .header_nav {
    display: block;
    height: 60px;
    align-items: center;
  }

  .header_logo a img {
    height: 35px;
  }

  .header_logo {
    margin-right: none;
    margin-top: 5px;
    margin-left: 5px;
    vertical-align: bottom;
  }

  .header_copy {
    display: inline;
    font-size: 80%;
    margin-left: 5px;
    vertical-align: middle;
  }

  /*ハンバーガーメニュー*/

  .hamburger {
    top: 10px;
    right: 0;
  }

  /*リスト*/

  ul {
    display: block;
  }

  li {
    text-align: center;
    margin-bottom: 10px;
  }

  ul.list li {
    text-align: left;
  }

  /*SNS*/
  .sns_inner {
    margin-right: none;
    margin-left: none;
    width: none;
    max-width: 100%;
    display: block;
  }

  .twi,
  .ins {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  /*フォント*/
  html {
    font-size: 50%;
  }

  .morelink {
    line-height: 2;
  }

  .mainvis > p {
    line-height: 1.5;
  }

  /*下層ページ*/

  .title img {
    height: 20px;
    margin: 15px auto 5px;
  }

  .about > .subs_inner,
  .system > .subs_inner,
  .value {
    display: block;
  }

  /*aboutページ*/

  .about > .subs_inner .text {
    width: 90%;
    margin: 0 auto;
  }

  .about > .subs_inner:nth-child(2n) .text {
    margin: 0 auto;
  }

  .img_about img {
    display: block;
    width: 90%;
    max-width: 100%;
    margin: 10px auto 0;
  }

  /*systemページ*/
  .system > .subs_inner .text {
    width: 90%;
    margin: 0 auto;
  }

  .img_system img {
    display: block;
    width: 90%;
    max-width: 100%;
    margin: 10px auto 0;
  }

  .v_child {
    margin: 0 auto 20px;
  }

  /*767px以下ここまで*/
}
