html {
/* 一般的なブラウザのデフォルトフォントサイズが16pxと言われており、62.5%にすると10pxになる。
  ルートのフォントサイズが10px = 1rem となって今後のフォントサイズが指定しやすくなります */
  font-size: 62.5%;
}

body {
  background-color: #f8f4f1;
}

.inner {
  width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* header */

.site-header {
  background: #fff;
  padding: 20px 0;
}

.header-site-logo img {
  width: 290px;
}

/* main image */
.main-image img {
  display: block;
  width: 100%;
}

/* navigation */
.site-navi {
  background-color: #0cc5bc;
}

.site-navi-list {
  display: flex;
  justify-content: center;
  list-style-type: none;
  margin: 0;
  padding: 8px 0;
}

.site-navi-list li {
  width: 163.3px;
  text-align: center;
  padding: 0 8px;
  box-sizing: border-box;
  font-size: 1.4rem;
  border-right: 1px solid #fff;
}

.site-navi-list li:first-child {
  border-left: 1px solid #fff;
}

.site-navi-list li a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 10px 0;
}

.site-navi-list li a:hover {
  background-color: #fff;
  border-radius: 4px;
  color: #0e2aa5;
}


/* main */
.main-contents {
  padding: 60px 0 80px;
}

.introduction {
  background-color: #fff;
  padding: 45px 30px 30px;
  margin-bottom: 40px;
}

.introduction h2 {
  font-size: 3.6rem;
  text-align: center;
}

.introduction h2::after {
  content: "";
  display: block;
  width: 130px;
  height: 5px;
  background-color: #dfd5c5;
  margin: 18px auto 40px;
}

.introduction p{
  font-size: 1.8rem;
}


/* 編集必要*/

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ここからがページコンテンツのCSS */

h3{
  font-size: 2.6rem;
  padding-top: 15px;
}
.about_list {
  margin: 0 5%;
  font-size: 1.8rem;
}

.about_list_items {
  padding: 25px 0;
  border-bottom: 1px solid #E6E6E6;
}

.area_about_list {
  margin: 0 5%;
  font-size: 1.8rem;
}

  .area_about_list_items {
    padding: 25px 0;
    border-bottom: 1px solid #E6E6E6;
  }
/* ここまでページコンテンツ*/

.banners {
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  padding-left: 0;
}

/* 画像設定後削除*/
.banners{
  font-size: 3rem;
}
/* ここまで */

.banners li {
  width: 500px;
  color: blue;
  font-weight: 500;
}

.banners li img {
  max-width: 100%;
}

.banners a:hover img {
  opacity: .8;
}

/* footer */
.site-footer {
  background-color: #dfd5c5;
  color: #393E46;
  padding: 20px 0 35px;
}

.footer-navi {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.footer-navi li {
  display: inline-block;
  margin-right: 20px;
  font-size: 1.3rem;
}

.footer-navi li a {
  color: #393E46;
  text-decoration: none;
  background: url(images/icon_footer-navi.png) no-repeat 0 50%;
  background-size: 7px 11px;
  padding-left: 15px;
}

.footer-navi li a:hover {
  text-decoration: underline;
}

/* 公開設定後削除 */
.footer-navi{
  display: none;
}
/* ここまで */

.footer-address {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}

.footer-logo {
  width: 260px;
  margin-right: 50px;
}

.footer-address p {
  font-size: 1.4rem;
}

.copyright {
  text-align: center;
}

/* ここからメディアクエリ */

@media screen and (max-width:787px){
  .inner {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .news h2 {
    font-size: 3rem;
  }

  .banners li {
    width: 80%;
  }
  
}

@media screen and (max-width:414px) {
  .inner {
    width: 94%;
  }

  .header-site-logo img {
    width: 200px;
    margin-left: 20px;
  }

  .main-contents {
    padding: 20px 0 60px;
  }
  .news_list_item a  {
    font-size: 14px;
}
  .banners {
    flex-wrap: wrap;
  }

  .banners li {
    width: 49%;
    margin-bottom: 10px;
  }

  .footer-address {
    display: block;
    margin-bottom: 40px;
  }
  
  .footer-logo {
    width: 200px;
    margin-right: 0;
    margin-bottom: 20px;
  }
}