@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: 2.4rem;
  color:#c14a36;
}
a:hover {
  opacity: 0.5;
}
.none {
  display: none;
}
/*header*/
.header {
  height: 50px;
  width: 100%;
  background-color: #fff;
}
.header-content-wrapper {
  position: relative;
}
.header-logo {
  display: flex;
  align-items: center;
  width: fit-content;
  height: 50px;
  text-decoration: none;
}
.header-logo img {
  width: 40px;
  height: 40px;
  margin-left: 8px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.header h1 {
  color: #c14a36;
  text-align: left;
  padding: 12px 8px;
  font-size: 1.8rem;
}
/* navigation */
.open-button, .close-button {
  display: none;
}



@media(max-width:1160px) {
  .open-button {
    display: block;
    position: absolute;
    right: 10px;
    top: 15px;
    width: 40px;
    height: 40px;
    cursor: pointer;
  }
  .open-button span, .open-button span:before, .open-button span:after {
    position: absolute;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #777;
    display: block;
    content: "";
  }
  .open-button span:before {
    bottom: -8px;
  }
  .open-button span:after {
    bottom: -16px;
  }
  .close-button {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    font-size: 20px;
    padding: 20px;
  }
  .header nav {
    display: none;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    width: 70%;
    height: 100%;
    padding-top: 67px;
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.4);
  }
  .header nav ul li {
    border-bottom: solid 1px rgba(255, 255, 255, 0.5)
  }
  .header nav ul li:first-child {
    border-top: solid 1px rgba(255, 255, 255, 0.5)
  }
  .header nav ul li a {
    font-weight: 600;
    line-height: 40px;
    vertical-align: middle;
    text-decoration: none;
    color: #85c1c9;
  }
}

@media (max-width: 767px) {
  .header nav ul li a {
    color: #c14a36;
  }
}



@media(min-width:1160px) {
  .header {
    height: 83px;
  }
  .header-content-wrapper {
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
  }
  .header-logo {
    position: absolute;
    left: 0;
    top: 0;
    height: 83px;
  }
  .header-logo img {
    width: 64px;
    height: 64px;
    margin-left: 0;
    margin-right: 10px;
  }
  .header-content-wrapper h1 {
    font-size: 2.4rem;
    padding: 0;
    position: static;
    font-weight: 600;
    white-space: nowrap;
  }
  .header nav {
    display: block;
    text-align: right;
  }
  .header nav ul {
    display: flex;
    justify-content: flex-end;
  }
  .header nav ul a {
    display: block;
    padding: 26px 30px 0;
    color: #333;
    font-size: 2.4rem;
    text-decoration: none;
    height: 83px;
  }
}




.footer {
  min-height: 228px;
  background-color: #888;
  padding-top: 46px;
  padding-bottom: 20px;
  font-weight: 600;
}
.footer__sitemap {
  margin-bottom: 30px;
}
.footer__sitemap h2 {
  display: none;
}
.footer__sitemap li {
  margin: 0 10px;
  display: inline-block;
}
.footer__sitemap li a {
  text-decoration: none;
  color: #CAD0D2;
}
.footer__sitemap li a:visited {
  color: #CAD0D2;
}
.footer__sns_links {
  margin-bottom: 80px;
}
.footer__sns_links li {
  display: inline-block;
  width: 20px;
  margin: 0 10px;
}
.footer__sns_links li img {
  width: 100%;
}
.footer small {
  color: #fff;
}
@media(min-width:1040px) {
  .footer {
    margin: 0;
    padding: 0;
  }
  .footer__container {
    max-width: 1040px;
    margin: 0 auto;
    padding-top: 40px;
    text-align: left;
  }
  .footer__sitemap {
    float: left;
  }
  .footer__sitemap h2 {
    display: inline-block;
    width: 120px;
    vertical-align: top;
    color: #fff;
  }
  .footer__sitemap ul {
    display: inline-block;
    margin-left: 10px;
  }
  .footer__sitemap ul li {
    margin: 0;
    display: block;
  }
  .footer__sns_links {
    float: right;
  }
  .footer small {
    clear: both;
    display: block;
    text-align: center;
  }
}



@media (max-width: 767px) {
  .footer__sitemap ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position:relative;
  }

  .footer__sitemap ul::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 0;
  bottom: 0;
  border-bottom: 1px solid #bbb;
  }

  .footer__sitemap li {
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    margin:0;
    padding:10px;
}

.footer {
  padding-top: 0;
}
}


/* return to top */
#scroll-top {
  background-color: #777;
  opacity: 0.8;
  bottom: 20px;
  padding: 10px;
  position: fixed;
  right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
#scroll-top a {
  text-decoration: none;
  color: #fff;
  font-size: 2.4rem;
}
