@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  color: #121212;
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}
a {
  color: #121212;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  opacity: 0.7;
}

.wrapper {
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto;
}

.section-title {
  margin-bottom: 60px;
  text-align: center;
}
.section-title .text {
  font-size: 36px;
  font-weight: bold;
  display: inline-block;
  position: relative;
}
.section-title .text::before,
.section-title .text::after {
  content: "";
  width: 50px;
  height: 100%;
  position: absolute;
  top: -3px;
}
.section-title .text::before {
  background-image: url(../img/icon-tree-l.png);
  background-size: contain;
  left: -60px;
}
.section-title .text::after {
  background-image: url(../img/icon-tree-r.png);
  background-size: contain;
  right: -60px;
}
.section-title .img {
  max-width: 80px;
  display: block;
  margin: -10px auto 0;
}

/*-------------------------------------------
Header
-------------------------------------------*/
#header .logo {
  width: 100%;
  max-width: 130px;
  position: fixed;
  top: 15px;
  left: 20px;
  z-index: 30;
}
#header .logo a {
  display: block;
}
#header .logo img {
  width: 100%;
}
/*-------------------------------------------
Mainvisual
-------------------------------------------*/
.mainvisual {
  position: relative;
}
/*-------------------------------------------
Benefits
-------------------------------------------*/
.benefits {
  background-color: #f2f9fd;
}
/*-------------------------------------------
Bottom-img
-------------------------------------------*/
.bottom-img img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  object-position: bottom;
}

/*-------------------------------------------
Fixed-btn
-------------------------------------------*/
#fixed-btn {
  width: 120px;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10;
}

/*-------------------------------------------
Footer
-------------------------------------------*/
#footer {
  background-color: #f2f9fd;
  padding: 0 20px 40px;
}
#footer .content {
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  background-color: #f8da99;
  border-radius: 30px;
  padding: 5%;
  margin: 0 auto 30px;
  position: relative;
  top: 20px;
}
#footer .content .info-area {
  width: 50%;
  font-size: 18px;
}
#footer .content .info-area .address {
  margin-bottom: 5px;
}
#footer .content .info-area .sp-phone-link {
  margin-bottom: 30px;
  @media(min-width: 768px){
    pointer-events: none;
  }
}
#footer .content .info-area .menu {
  display: flex;
  flex-wrap: wrap;
}
#footer .content .btn-area {
  width: 45%;
  max-width: 380px;
  margin-left: 5%;
}
#footer .content .btn-area .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffef00;
  border-radius: 20px;
  font-weight: bold;
  padding: 25px 0;
}
#footer .content .btn-area .btn .arrow {
  width: 20px;
  margin-right: 10px;
}
#footer .copyright {
  font-size: 10px;
  text-align: center;
}

/*-------------------------------------------
スマートフォン
-------------------------------------------*/
@media screen and (max-width: 767px) {
  .section-title {
    margin-bottom: 30px;
  }
  .section-title .text {
    font-size: 26px;
  }
  .section-title .text::before,
  .section-title .text::after {
    width: 25px;
    top: 3px;
  }
  .section-title .text::before {
    left: -35px;
  }
  .section-title .text::after {
    right: -35px;
  }

  /*-------------------------------------------
  Header
  -------------------------------------------*/
  #header .logo {
    max-width: 100px;
    top: 23px;
  }
  #header .navi .menu-area .menu {
    flex-direction: column;
    padding: 20px;
  }
  #header .navi .menu-area .menu li {
    width: 100%;
    margin: 0;
  }
  #header .navi .menu-area .menu li::after {
    top: 30px;
  }
  #header .navi .menu-area .menu li:nth-child(-n+2) {
    border-top: none;
  }
  #header .navi .menu-area .menu li a {
    padding: 20px 0;
  }
  #header .navi .menu-area .btn {
    flex-direction: column;
    padding: 20px;
  }
  #header .navi .menu-area .btn li {
    width: 100%;
    margin: 0 0 20px;
  }
  /*-------------------------------------------
  Bottom-img
  -------------------------------------------*/
  .bottom-img img {
    height: 300px;
  }

  /*-------------------------------------------
  Fixed-btn
  -------------------------------------------*/
  #fixed-btn {
    width: 80px;
    bottom: 10px;
    right: 10px;
  }

  /*-------------------------------------------
  Footer
  -------------------------------------------*/
  #footer .content {
    flex-direction: column;
    padding: 40px 20px;
    margin: 0 auto;
    margin-bottom: 30px;
  }
  #footer .content .info-area {
    width: 100%;
    margin-bottom: 30px;
    font-size: 13px;
  }
  #footer .content .btn-area {
    width: 100%;
    margin: 0 auto;
  }
}