@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
}
body {
  color: #453e39; /* RGB */
  font-family: "游明朝", "YuMincho",  "Yu Mincho", "Hiragino Mincho Pro", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.6em;
  line-height: 2.4rem;
  text-align: center;
}
section h2 {
  font-size: 2.4rem;
}
a:hover {
  opacity: 0.5;
}
.none{
  display: none;
}

/* header */
.header {
  height: 80px;
  background-color: #f8efe6;
  position: relative;
}
.header h1 {
  position: absolute;
  width: 140px;
  height: auto;
  padding: 17px 25px 13px;
}
.site-logo {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 0 0;
}
@media(max-width:959px) {
  .open-button {
    position: fixed;
    display: block;
    cursor: pointer;
    top: 27px;
    right: 18px;
    width: 30px;
    height: 30px;
    z-index: 1000;
  }
  .open-button span {
    position: absolute;
    display: block;
    width: 27px;
    height: 2.5px;
    border-radius: 2.5px;
    background-color: #af978b;
    content: "";
    transition: all .4s;
    cursor: pointer;
  }
  .open-button span:nth-child(2) {
    top: 10px;
  }
  .open-button span:nth-child(3) {
    top: 20px;
  }
  .open-button.active {
    transform: translateX(0);
  }
  .open-button.active span:nth-child(1) {
    top: 10px;
    transform: rotate(-45deg);
  }
  .open-button.active span:nth-child(2) {
    opacity: 0;
  }
  .open-button.active span:nth-child(3) {
    top: 10px;
    transform: rotate(45deg);
  }
  .header__navigation {
    position: fixed;
    z-index: 800;
    background-color: #f8efe6;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* フェード時に使った[visibility:hidden]は[opacity:0]とセットで使う必要がある */
    visibility: hidden; /* フェードでは display:none は使わない */
    transition: 350ms; /* transitionはfadein前のclassに入れる */
  }
  .header__navigation.active {
    opacity: 1;
    visibility: visible;
  }
  .header-nav__logo-container {
    position: absolute;
    width: 140px;
    height: auto;
    padding: 17px 25px 13px;
    z-index: 900;
  }
  .header-nav__logo {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: 0 0;
  }
  .header ul {
    padding: 120px 35px 0;
  }
  .header ul li {
    margin-bottom: 32px;
  }
  .header ul li a {
    text-decoration: none;
    color: #453e39;
    font-size: 2.0rem; 
  }
}
@media(min-width:960px) {
  .header-contents-wrapper {
    max-width: 1160px;
    margin: 0 auto;
    height: 100%;
  }
  .header-nav__logo-container {
    display: none;
  }
  .header ul {
    display: flex;
    justify-content: flex-end;
    height: 80px;
    padding-right: 35px;
  }
  .header ul li {
    padding: 38px 16px 0;
  }
  .header ul li a {
    text-decoration: none;
    color: #453e39;
    font-size: 1.8rem;
  }
}
@media(min-width:1040px) {
  .header h1 {
    position: absolute;
    width: 160px;
    height: auto;
    padding: 12px 35px 9px;
  }
}
body {
  font-family: "ten-mincho-text", serif;
  font-weight: 400;
  font-style: normal;
}
body.active {
  height: 100%; /* メニュー展開時、画面スクロールしない */
  overflow: hidden;
}
.main {
  background-color: #f8efe6;
  overflow: hidden; /* これが[common.css]にないと端までちゃんと表示されないので注意！ */
}
/* footer */
.footer {
  color: #f8efe6;
  background-color: #484c77;
  padding-top: 60px;
  padding-bottom: 15px;
}
.footer h1 {
  width: 200px;
  height: auto;
  margin: 0 auto 40px;
}
.footer h1 img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 0 0;
}
.footer__sns-links ul {
  margin-bottom: 50px;
}
.footer__sns-links li {
  display: inline-block;
  width: 22px;
  padding: 0 10px;
}
.footer__sns-links li img {
  width: 100%;
}
.footer__site-map {
  display: flex;
  text-align: center;
  justify-content: center;
  margin-bottom: 40px;
}
.footer__site-map ul {
  list-style: none;
}
.footer__site-map__list2 {
  margin-left: 45px;
}
.footer__site-map ul li {
  margin-bottom: 30px;
}
.footer__site-map ul li a {
  text-decoration: none;
  color: #f8efe6;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}
.footer small {
  font-size: 1.2rem;
}
@media(min-width:768px) {
  .footer-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1040px;
    margin: 0 auto;
  }
  .footer-box1 {
    width: 50%;
    text-align: center;
  }
  .footer h1 {
    width: 230px;
    margin: 0 0 40px;
    padding-left: 40px;
  }
  .footer__sns-links ul {
    width: 230px;
    text-align: center;
    margin-bottom: 40px;
    padding-left: 40px;
  }
  .footer__site-map {
    width: 50%;
    margin-bottom: 0;
  }
  .footer__site-map__list2 {
    margin-left: 55px;
  }
  .footer__site-map ul li {
    margin-bottom: 35px;
  }
  .footer__site-map ul li a {
    font-size: 1.8rem;
  }
  .footer small {
    width: 230px;
    text-align: center;
    margin-right: auto; /* flexboxの中で一部だけ寄せ */
    padding-left: 40px;
    margin-bottom: 40px;
  }
}