@charset "utf-8";

body {
  width: 100%;
  position: relative;
  font-size: 16px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #222222;
  line-height: 1.8;
  background-image: url(../img/bg.jpg);
  background-repeat: repeat-y;
  background-size: 100% 100%;
  box-sizing: border-box;
  background-color: #faf8ec;
  scroll-behavior: smooth;
}
body.open {
  overflow: hidden;
}
body::before {
  content: "";
  width: 3px;
  height: 100%;
  position: fixed;
  background-color: #6e5729;
  display: block;
  top: 0;
  left: 5px;
  z-index: 2;
}
@media screen and (max-width: 768px) {
  body::before {
    left: 3px;
  }
}
body::after {
  content: "";
  width: 3px;
  height: 100%;
  position: fixed;
  background-color: #6e5729;
  display: block;
  top: 0;
  right: 5px;
  z-index: 2;
}
@media screen and (max-width: 768px) {
  body::after {
    right: 3px;
  }
}

/* utility */
.pc-only {
  display: block;
}
.sp-only {
  display: none;
}
@media screen and (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
}

/* ヘッダー */
.header {
  position: absolute;
  width: 98%;
  top: 20px;
  left: 1%;
  height: 100px;
  background-color: #faf8ec;
  border: 2px solid #6e5729;
  border-radius: 4px;
  display: flex;
  z-index: 10;
}

.header a:hover {
  opacity: 0.6;
}

.header__logo {
  width: 10%;
  padding: 23px 0 23px 25px;
}

.header__logo a {
  transition: all 0.4s;
}

.header__nav {
  width: 90%;
  padding: 17px 25px 17px 0;
}

.header__nav ul {
  display: flex;
  justify-content: space-around;
  text-align: center;
  vertical-align: middle;
}
.header__nav ul li {
  width: 18%;
  border-right: 1px solid #6e5729;
}
.header__nav ul a {
  display: block;
  width: 100%;
  padding-top: 18px;
  padding-bottom: 18px;
  color: #6e5729;
  font-weight: 700;
  transition: all 0.4s;
}

.header__nav ul li:last-child,
.header__nav ul li:nth-last-child(2) {
  border-right: none;
}
.header__nav ul li:last-child a {
  background-color: #6e5729;
  color: #faf8ec;
  border-radius: 2px;
}

.sp-menu {
  display: none;
}

@media screen and (max-width: 1024px) {
  .header {
    width: 100%;
    top: 0;
    left: 0;
    height: 100px;
    background-color: #faf8ec;
    border-right: none;
    border-left: none;
    border-radius: 0px;
    display: block;
  }

  .header__logo {
    width: 50%;
    padding: 22px 25px;
  }

  .header__nav {
    width: 100%;
    padding: 0 15px 30px;
    display: none;
    background-color: #faf8ec;
  }

  .header__nav ul {
    display: block;
  }
  .header__nav ul li {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #6e5729;
  }
  .header__nav ul li:nth-last-child(2) {
    border-bottom: none;
  }
  .header__nav ul a {
    display: block;
    width: 100%;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  #sp-menu {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 30px;
    right: 30px;
    display: block;
    content: "";
  }

  .sp-menu-line {
    width: 40px;
    height: 2px;
    background-color: #6e5729;
    display: block;
    position: absolute;
    left: 0;
    margin-top: 10px;
    border-radius: 1px;
    cursor: pointer;
    transition: all 0.6s;
  }
  .sp-menu-line:nth-child(2) {
    margin-top: 20px;
  }
  .sp-menu-line:nth-child(3) {
    margin-top: 30px;
  }

  #sp-menu.open .sp-menu-line:first-child {
    transform: rotate(-135deg) translate(-6px, -8px);
  }
  #sp-menu.open .sp-menu-line:nth-child(2) {
    opacity: 0;
  }
  #sp-menu.open .sp-menu-line:nth-child(3) {
    transform: rotate(135deg) translate(-6px, 8px);
  }
}

@media screen and (max-width: 768px) {
  main {
    padding-top: 100px;
  }
}

/* セクション見出し */
.sec-title {
  text-align: center;
  color: #d63737;
  font-size: 30px;
  width: 120px;
  margin: 0 auto;
}
.sec-title::before {
  content: "";
  width: 120px;
  height: 3px;
  background-color: #d63737;
  display: block;
}
.sec-title::after {
  content: "";
  width: 120px;
  height: 3px;
  background-color: #d63737;
  display: block;
}

/* ボタン */
.btn {
  width: 250px;
  padding: 14px;
  display: block;
  margin: 0 auto;
  text-align: center;
}

.btn_pr {
  background-color: #d63737;
  border-radius: 50px;
  color: #faf8ec;
  transition: all 0.3s;
  cursor: pointer;
}
.btn_pr:hover {
  background-color: #faf8ec;
  color: #d63737;
}
.btn_sc {
  background-color: #faf8ec;
  border: 2px solid #6e5729;
  border-radius: 50px;
  color: #6e5729;
  transition: all 0.3s;
  cursor: pointer;
}
.btn_sc:hover {
  background-color: #6e5729;
  color: #faf8ec;
}

@media screen and (max-width: 768px) {
  .btn {
    width: 320;
    padding: 20px;
  }
}

/* sticky */
.sticky {
  width: 100%;
  padding: 15px 0;
  background-color: #6e5729;
  position: fixed;
  bottom: 0;
  left: 0;
  text-align: center;
  color: #faf8ec;
  z-index: 10;
  font-size: 14px;
}

/* footer */
.footer {
  background-image: url(../img/bg.jpg);
  width: 100%;
  padding: 90px 50px 100px;
}
.footer__inner {
  display: flex;
}
.footer__link {
  width: 30%;
}
.footer__logo {
  display: block;
  width: 100%;
  min-width: 250px;
  margin: 0 auto;
}
.footer__logo img {
  display: block;
  width: 60%;
  margin: 0 auto 20px;
}
.footer__logo:hover img {
  opacity: 0.7;
  cursor: pointer;
}

.footer__main-menu {
  width: 20%;
}
.footer__main-menu > ul > li {
  margin-bottom: 40px;
}
.footer__main-menu > ul > li::before {
  content: "";
  width: 4px;
  height: 24px;
  background-color: #6e5729;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}
.footer__main-menu > ul > li > a {
  color: #6e5729;
  font-weight: 700;
  vertical-align: middle;
  transition: all 0.3s;
}
.footer__main-menu > ul > li > a:hover {
  text-decoration: underline;
}
.footer__main-menu > ul > li > ul > li > a {
  color: #6e5729;
  padding-left: 1em;
  font-weight: 300;
}
.footer__main-menu > ul > li > ul > li > a:hover {
  text-decoration: underline;
}
.footer__ex-menu {
  width: 20%;
}
.footer__ex-menu ul li {
  margin-bottom: 10px;
}
.footer__ex-menu ul a {
  color: #6e5729;
  transition: all 0.3s;
  font-size: 14px;
  font-weight: 300;
}
.footer__ex-menu ul a:hover {
  text-decoration: underline;
}
.footer__map {
  width: 30%;
  border-left: 1px solid #c2bfb2;
  padding: 20px 30px;
}

@media screen and (max-width: 768px) {
  .footer {
    background-image: url(../img/bg.jpg);
    width: 100%;
    padding: 40px 15px 80px;
  }
  .footer__inner {
    /* display: block; */
    flex-wrap: wrap;
  }
  .footer__link {
    width: 100%;
    margin-bottom: 70px;
  }
  .footer__logo img {
    width: 90%;
  }
  .footer__main-menu {
    width: 50%;
  }
  .footer__ex-menu {
    width: 50%;
  }
  .footer__ex-menu ul li {
    margin-bottom: 10px;
  }
  .footer__map {
    width: 100%;
    border-left: none;
    border-top: 1px solid #c2bfb2;
    padding: 20px 0px;
  }
}

/* アニメーション */
.target.anm {
  transform: scale(100%);
}

.target {
  transform: scale(0%);
  transition: all 0.3s;
}
