@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
}
body {
  color: #333; /* RGB */
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ",
    sans-serif;
  font-weight: 500;
  font-size: 1.6em;
  line-height: 2.4rem;
  text-align: center;
}
section h2 {
  font-size: 3rem;
}
a {
  text-decoration: none;
  color: #333;
}
a:hover {
  opacity: 1;
}
.none {
  display: none;
}
* {
  box-sizing: border-box;
}
img {
  max-width: 100%;
}
.inner {
  margin: 0 auto;
  max-width: 1040px;
  width: 100%;
}
/*レスポンシブ対応のため、pcの時は改行を機能させない。*/
.br-sp,
.br-sp2,
.br-sp3,
.br-sp4,
.br-sp5 {
  display: none;
}
.br-pc {
  display: block;
}
h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1em;
  line-height: 1.2;
  text-align: center;
}
h2 span {
  font-size: 1.6rem;
  padding: 0 10px;
  line-height: 1.2;
}
h2:before {
  content: "";
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #8cc11e;
  border-radius: 2px;
}

/*詳しく見るボタンのスタイル*/
a.btn,
a.sub-btn {
  border: 2px solid #8cc11e;
  color: #8cc11e;
  background: #fff;
  border-radius: 100vh;
  text-decoration: none;
  font-weight: 600;
}
a.btn {
  padding: 10px 40px;
}
a.sub-btn {
  padding: 10px 20px;
}
a.btn:hover {
  color: #fff;
  background: #8cc11e;
}
@media screen and (max-width: 768px) {
  .br-sp {
    display: block;
  }
  section h2 {
    font-size: 2.4rem;
  }
}
/*-----------------------------------*/
@media screen and (max-width: 480px) {
  .inner {
    width: 92%;
  }
}
@media screen and (max-width: 400px) {
  .br-pc {
    display: none;
  }
  .br-sp2 {
    display: block;
  }
}
/*-----------------------------------------------------------------
 header
------------------------------------------------------------------*/
header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  width: 90%;
  margin: 0 auto;
}
header h1 {
  display: flex;
  flex-wrap: wrap;
  font-family: "M PLUS Rounded 1c", sans-serif;
}
header h1 img {
  margin: 10px 0;
}
header h1 span {
  font-size: 2.2rem;
  display: block;
  height: 70px;
  line-height: 70px;
  margin-left: 10px;
  color: #333;
}
.header_ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
.header_li,
.has-child {
  padding: 0 24px;
  font-size: 1.8rem;
  font-weight: bold;
}
.header_li a,
.has-child a {
  color: #333;
}
.header_li span,
.has-child span {
  display: block;
  font-size: 1.1rem;
}
nav ul ul {
  display: block;
}
nav ul li {
  position: relative;
}
nav ul li a {
  display: block;
  transition: all 0.3s;
}
nav ul li a:hover {
  opacity: 0.5;
}
/*==プルダウン矢印の設定*/
nav ul li.has-child::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #999;
  border-right: 2px solid #999;
  transform: rotate(135deg);
}
nav li.has-child ul {
  position: absolute;
  left: 0;
  top: 60px;
  z-index: 4;
  background: #fff;
  color: #333;
  width: 160px;
  visibility: hidden; /*はじめは非表示*/
  opacity: 0;
  transition: all 0.3s; /*アニメーション設定*/
}
/*hoverしたら表示*/
nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul {
  visibility: visible;
  opacity: 1;
}
/*ナビゲーションaタグの形状*/
nav li.has-child ul li a {
  color: #333;
  font-size: 1.3rem;
  padding: 10px 20px;
  text-align: left;
}
.menu__second-level a:hover {
  opacity: 0.5;
}
.header_li-member {
  line-height: 1.2;
}
.header_li-member img {
  width: 40px;
}
@media (max-width: 1124px) {
  /* ハンバーガーアイコン */
  #nav-drawer {
    text-align: right;
    position: relative;
  }
  #nav-open {
    display: inline-block;
    vertical-align: middle;
    width: 26px;
    height: 18px;
  }
  #nav-open span,
  #nav-open span:before,
  #nav-open span:after {
    position: absolute;
    height: 2px;
    width: 26px;
    background-color: #777;
    display: block;
    content: "";
  }
  #nav-open span:before {
    bottom: -8px;
  }
  #nav-open span:after {
    bottom: -16px;
  }
  #nav-close {
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
  }
  header nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
    width: 70%;
    height: 100%;
    background-color: #fff;
    text-align: left;
    padding: 30px 30px 0 20px;
    transform: translateX(-105%); /*画面から消す*/
    transition: 0.3s ease-in-out;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
  }
  header h1 {
    flex-wrap: nowrap;
  }
  .header_ul {
    display: block;
  }
  header nav ul li a {
    display: block;
    margin-top: 20px;
  }
  .header_li-member a {
    margin-top: 10px;
  }
  .has-child ul li a:first-child {
    margin-top: 0;
  }
  #nav-input:checked ~ #nav-close {
    display: block;
  }
  #nav-input:checked ~ nav {
    transform: translateX(0%);
  }
  nav li.has-child ul {
    /*プルダウン*/
    position: absolute;
    left: 130px;
    top: 0;
    z-index: 4;
    background: #f5f5f5;
    color: #333;
    width: 160px;
    visibility: hidden; /*はじめは非表示*/
    opacity: 0;
    transition: all 0.3s; /*アニメーション設定*/
  }
}
@media screen and (max-width: 519px) {
  header .inner {
    margin: 0 15px;
    padding: 0;
  }
  header h1 img {
    width: 50px;
    height: 100%;
    margin-top: 15px;
  }
}
/*--contact-----------------------------------------------------------*/
.contact {
  margin-top: 100px;
  padding: 50px 0;
  background: url("../image/common/ctct.jpg") no-repeat 0 0;
  background-size: cover;
}
.contact ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 50px;
}
.contact ul li {
  width: 400px;
  height: 90px;
  border: 1px solid #5f5f5f;
  margin: 0 10px 30px;
}
.contact ul li:hover {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.1);
}
.contact h3 {
  font-size: 1.8rem;
  margin-top: 20px;
}
.contact p {
  font-size: 1.8rem;
  font-weight: bold;
}
.contact span {
  font-size: 1.2rem;
}
.container2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  margin: 0 10%;
  padding: 10px 0;
}
.contact ul li a {
  text-decoration: none;
  color: #333;
}
@media screen and (max-width: 417px) {
  .contact img {
    width: 30px;
  }
  .contact h3 {
    font-size: 1.6rem;
  }
  .contact p {
    font-size: 1.5rem;
  }
}
/*--footer---------------------------------------------------------*/
footer {
  background-color: #f8f4f2;
  min-height: 200px;
  padding: 20px 0;
}
footer .inner {
  padding-top: 30px;
}
footer nav ul li {
  display: inline-block;
  margin: 0 20px;
  text-align: left;
}
.footer__site-map {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav ul li a {
  text-decoration: none;
  color: #333;
  margin: 10px auto;
}
.parent {
  margin-bottom: 10px;
}
.parent a {
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.parent a:hover {
  opacity: 0.5;
}
.sns-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.sns-links ul li {
  margin: 20px 30px;
  list-style: none;
}
.top-page__link {
  text-align: right;
  margin-right: 5%;
}
small {
  color: #9b9b9b;
}
@media screen and (max-width: 519px) {
  .footer__site-map ul {
    display: grid;
  }
}
@media screen and (max-width: 480px) {
  .footer__site-map {
    justify-content: center;
  }
  .footer__site-map ul {
    display: grid;
  }
  footer nav ul {
    margin-left: 0;
  }
  .logo {
    margin: 50px auto 20px;
    width: 130px;
  }
  .top-page__link a img {
    width: 35px;
    margin: 15px auto;
  }
  small {
    font-size: 1.2rem;
  }
}
