@charset "utf-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  height: 100%;
  font-size: 62.5%;
}
body{
  font-size: 14px;
  height: 100%;
  position: relative;
  color: #222;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.7;
}
img {
  width: 100%;
  height: auto;
}
address {
  font-style: normal;
}

/* common */
.nowrap {
  white-space: nowrap;
}

/* header */
header {
  width: 100%;
}
.header {
  padding: 0 24px;
  width: 100%;
  height: 70px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: fixed;
  background: #ffffff;
  z-index: 2;
}
.header h1 {
  width: 120px;
}

/* navigation */
#nav {
  position: absolute;
  height: 100vh;
  width: calc(100% - 24px);
  right: -100%;
  top: 0;
  background: #ffffff;
  box-shadow: 0px 0px 20px 20px rgba(0, 0, 0, 0.25);
  transition: .3s;
}
#nav ul {
  padding-top: 80px;
}
#nav ul li {
  list-style-type: none;
  font-size: 18px;
}
#nav a {
  display: block;
  text-decoration: none;
  color: #222222;
  font-weight: bold;
  margin: 0 15px;
  padding: 20px;
  transition: .3s;
}
#nav li a:hover {
  color: #ffffff;
  background: #008F00;
  border-bottom: none;
}

/* hamburger */
#hamburger {
  display: block;
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 20px;
  cursor: pointer;
  transition: .3s;
  z-index: 1;
}
.inner_line {
  display: block;
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: #222;
  transition: .3s;
  border-radius: 4px;
}
#line1 {
  top: 0;
}
#line2 {
  top: 9px;
}
#line3 {
  bottom: 0px;
}
#nav.in {
  transform: translateX(-100%);
}
.line_1,
.line_2,
.line_3 {
  background: #222;
}
.line_1 {
  transform: translateY(9px) rotate(-45deg);
  top: 0;
}
.line_2 {
  opacity: 0;
}
.line_3 {
  transform: translateY(-9px) rotate(45deg);
  bottom: 0;
}

/* key visual section */
.key {
  width: 100%;
  height: 80vh;
  padding: 70px 24px 32px;
  background: url(../../assets/images/top-kv.jpg);
  background-size: 400%;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.key::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
}
.key__inner {
  display: flex;
  align-items: center;
  height: 100%;
}
.key__inner h1 {
  font-size: 32px;
  font-weight: bold;
  line-height: 150%;
  color: #ffffff;
  z-index: 1;
}

/* key visual section */
.key {
  width: 100%;
  height: 80vh;
  padding: 70px 24px 32px;
  background: url(../../assets/images/top-kv.jpg);
  background-size: 400%;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.key::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
}
.key__inner {
  display: flex;
  align-items: center;
  height: 100%;
}
.key__inner h1 {
  font-size: 32px;
  font-weight: bold;
  line-height: 150%;
  color: #ffffff;
  z-index: 1;
}

/* headline visual section */
.headline {
  width: 100%;
  height: 170px;
  padding: 70px 24px 0;
  background: url(../../assets/images/top-kv.jpg);
  background-size: 400%;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.headline::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
}
.headline__inner {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.headline__inner h1 {
  font-size: 24px;
  font-weight: bold;
  line-height: 150%;
  color: #ffffff;
  z-index: 1;
}

/* main section */
.main {
  padding: 0 24px 90px;
}
.main__block {
  margin-top: 90px;
}
.main__block__text {
  /* margin-top: 36px; */
}
.main__block__text__lead {
  color: #008F00;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
}
.main__block__text h2 {
  margin-top: 18px;
  font-size: 26px;
  font-weight: bold;
}
.main__block__text p {
  margin-top: 24px;
  font-size: 14px;
  line-height: 170%;
}
.main__block__text__button {
  margin-top: 30px;
}
.main__block__text__button a {
  display: flex;
  height: 50px;
  font-size: 14px;
  align-items: center;
  text-decoration:  none;
  font-weight: bold;
  color: #222222;
  position: relative;
  padding-left: 74px;
  transition: .3s;
}
.main__block__text__button a::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background-color: #008F00;
  border-radius: 30px;
  background-image: url(../../assets/images/icon-right-arrow-white.svg);
  background-repeat: no-repeat;
  background-position: center;
}
.main__block__text__button a.blank::after {
  background-image: url(../../assets/images/icon-another-window.svg);
}
.main__block__text__button a:hover {
  opacity: .7;
}
.main__block figure {
  margin-top: 24px;
}

/* about section */
.about {
  padding: 0 24px 90px;
}
.about__inner {
  padding: 0;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.about__block {
  margin-top: 90px;
}
.about__block__lead {
  color: #008F00;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
}
.about__block h2 {
  margin-top: 18px;
  font-size: 26px;
  font-weight: bold;
}
.about__block p {
  margin-top: 24px;
  font-size: 14px;
  line-height: 170%;
}
.about__block__table {
  margin-top: 48px;
}
.about__block__table dl {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: solid 1px #eeeeee;
}
.about__block__table dl dt {
  width: 85px;
  font-size: 14px;
  font-weight: bold;
}
.about__block__table dl dd {
  width: calc(100% - 133px);
  font-size: 14px;
}

/* inquiry section */
.inquiry {
  padding: 60px 24px;
  background: linear-gradient(122.99deg, #E0E0E0 26.69%, rgba(242, 242, 242, 0) 93.36%);
  text-align: center;
}
.inquiry__button {
  margin: 48px auto 0;
  width: 100%;
  max-width: 330px;
  height: 50px;
}
.inquiry__button a {
  display: flex;
  align-items: center;
  font-size: 14px;
  height: 50px;
  text-align: center;
  justify-content: center;
  text-decoration:  none;
  font-weight: bold;
  color: #ffffff;
  position: relative;
  transition: .3s;
  background-color: #008F00;
  border-radius: 30px;
}
.inquiry__button a span {
  display: inline-block;
  padding-left: 20px;
  position: relative;
}
.inquiry__button a span::after {
  position: absolute;
  content: "";
  top: 3px;
  left: 0;
  width: 10px;
  height: 18px;
  background-image: url(../../assets/images/icon-right-arrow-white.svg);
  background-repeat: no-repeat;
  background-position: center;
}
.inquiry__button a:hover {
  opacity: .7;
}

/* footer */
footer {
  padding: 60px 24px 90px;
  background-color: #222;
}
.footer__inner__upper {
  display: flex;
  flex-wrap: wrap;
}
.footer__inner__logo {
  width: 100%;
  text-align: center;
}
.footer__inner__logo a {
  display: inline-block;
  width: 182px;
  height: auto;
  margin: auto;
}
footer ul {
  padding-left: 0;
  list-style: none;
  width: 100%;
  text-align: center;
  margin-top: 32px;
}
footer ul li {
  line-height: 36px;
}
footer ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}
footer address {
  margin-top: 32px;
  color: #fff;
  font-weight: bold;
  text-align: center;
}

/* privacy policy */
.privacy__inner {
  padding: 120px 24px;
  word-wrap: break-word;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.privacy h2 {
  font-size: 16px;
  font-weight: bold;
  margin: 32px 0 0;
}
.privacy__inner div {
  margin-top: 12px;
  font-size: 14px;
}
.privacy ul {
  padding-left: 20px;
  margin-top: 14px;
  font-size: 14px;
}
.text-at {
  position: relative;
  display: inline-block;
  padding-left: 14px;
}
.text-at::after {
  position: absolute;
  content: "@";
  left: 0;
}

/* contact page */
.contact {
  padding: 0 24px 90px;
}
.contact__inner {
  padding: 0;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.contact__inner__thanks {
  margin-top: 90px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}
.contact__inner__totop {
  margin-top: 50px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}

@media only screen and (min-width: 768px) {
  header {
    position: fixed;
    top: 0;
    height: 70px;
    background-color: #fff;
    z-index: 2;
  }
  .header {
    max-width: 1280px;
    justify-content: space-between;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;
  }

  #hamburger {
    display:  none;
  }

  #nav {
    position: relative;
    width: auto;
    height: auto;
    right: auto;
    display: block;
    box-shadow: none;
    background-color: transparent;
  }
  #nav ul {
    padding: 0;
    display: flex;
  }
  #nav ul li {
    font-size: 14px;
  }
  #nav a {
    margin: 0;
  }

  .key {
    background-size: 170%;
  }
  .key__inner {
    margin: auto;
    width: 100%;
    max-width: 1280px;
  }
  .key__inner h1 {
    font-size: 48px;
    padding-left: 40px;
    line-height: 170%;
  }

  .headline {
    background-size: 200%;
    height: 270px;
  }
  .headline__inner h1 {
    font-size: 36px;
  }
  .main {
    padding-bottom: 120px;
  }
  .main__block {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    margin: 120px auto 0;
  }
  .main__block.reverse {
    flex-direction: row-reverse;
  }
  .main__block__text {
    width: 48%;
  }
  .main__block__text__lead {
    font-size: 16px;
  }
  .main__block__text h2 {
    font-size: 40px;
  }
  .main__block__text p {
    font-size: 18px;
    line-height: 180%;
    margin-top: 36px;
  }
  .main__block figure {
    width: 43%;
    margin: 0;
  }
  .main__block__text__button a {
    font-size: 18px;
  }

  .about__block__lead {
    font-size: 16px;
  }
  .about__block h2 {
    font-size: 40px;
  }
  .about__block p {
    font-size: 18px;
    line-height: 180%;
    margin-top: 36px;
  }
  .inquiry {
    padding: 120px 24px 128px;
  }
  .inquiry h2 {
    font-size: 40px;
  }
  .inquiry__button {
    margin-top: 40px;
  }
  .inquiry__button a {
    font-size: 18px;
  }
  .inquiry__button a span {
    line-height: 200%;
  }
  .inquiry__button a span::after {
    top: 9px;
  }
  .contact__inner__thanks,
  .contact__inner__totop {
    font-size: 24px;
  }

  footer {
    padding-top: 90px;
  }
  .footer__inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
  }
  .footer__inner__upper {
    flex-direction: row-reverse;
    justify-content: space-between;
  }
  .footer__inner__logo {
    width: 192px;
  }
  .footer__inner__logo a {
    width: 100%;
  }
  footer ul {
    display: flex;
    width: auto;
    margin-top: 0;
  }
  footer ul li {
    margin-right: 32px;
  }
  footer ul li a {
    font-size: 16px;
  }
  footer address {
    margin-top: 14px;
    font-size: 16px;
    text-align: left;
  }
}
