/* ----------------------------------
  reset
---------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  ul {
    list-style: none;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  img {
    max-width: 100%;
    vertical-align: bottom;
  }

/* ----------------------------------
  custom
---------------------------------- */
:root {
  --color01:#437C25;
  --color02:#92B480;
  --color03:#7DA768;
  --fwr:400;
  --fwm:500;
  --fwsb:600;
  --fwb:700;
  --mwith:1280px;
}

/* ----------------------------------
  style
---------------------------------- */

html,
body {
  width: 100%;
  font-size: 62.5%;
  overscroll-behavior-y: none;
}

body {
  background: #F8F8F8;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: var(--fwr);
  font-style: normal;
  font-size:1.4rem;
  color: #414141;
  line-height:1.5;
  letter-spacing: 0.05em;
  font-feature-settings:"palt";
  text-align: center;
  word-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}

@media screen and (max-width: 820px){
  img {
    width: 100%;
  }
}

/* ----------------------------------
  common
---------------------------------- */
.ds-sp {
  display: none;
  @media screen and (max-width: 820px){
    display: block;
  }
}

.btn {
  transition: all 0.3s ease-in-out 0s;
  &:hover {
    opacity: 0.7;
  }
}

.link {
  &:hover {
    text-decoration: underline;
  }
}

.btnMore {
  position: relative;
  display: block;
  max-width: 190px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 15px 0;
  border-radius: 3px;
  box-shadow: 0px 3px 6px rgba(72, 72, 72, 0.16);
  background: #fff;
  color: var(--color01);
  font-weight: var(--fwsb);
  font-size: 1.8rem;
  text-align: center;
  &::after {
    position: absolute;
    top: 23px;
    right: 10px;
    content: "";
    width: 0;
    height: 0;
    border-left: 10px solid var(--color01);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
  }
}

[data-aos=fade-up]{transform:translate3d(0,30px,0)}


/* ----------------------------------
  header
---------------------------------- */
header {
  position: fixed;
  z-index: 99;
  top: 0;
  width: 100%;
  height: 80px;
  padding: 30px 0 0;
  background: #fff;
  @media screen and (max-width: 820px){
    height: 50px;
    padding: 15px 0 0;
  }
  .sitelogo {
    color: var(--color01);
    font-size: 2.4rem;
    font-weight: var(--fwb);
    line-height: 1;
    @media screen and (max-width: 820px){
      font-size: 1.8rem;
    }
  }
}
header.header__top {
  background: none;
  transition: all 0.3s ease-in-out 0s;
  @media screen and (max-width: 820px){
    background: #fff;
  }
  .sitelogo {
    opacity: 0;
    transition: all 0.3s ease-in-out 0s;
    @media screen and (max-width: 820px){
      opacity: 1;
    }
  }
}

header.header__top.is-scroll {
  background: #fff;
  .sitelogo {
    opacity: 1;
  }
}

/*  ドロワーメニュー
---------------------------------------------*/
#drawer-checkbox {
  display: none;
}
#drawer-icon {
  cursor: pointer;
  display: inline-block;
  position: fixed;
  z-index: 9998;
  top: 20px;
  left: 30px;
  width: 40px;
  height: 40px;
}
#drawer-icon span {
  background:  var(--color01);
  display: block;
  height: 2px;
  left: 0;
  right: 0;
  margin: -5% auto 0;
  position: absolute;
  top: 50%;
  width: 80%;
}
#drawer-icon span::before,
#drawer-icon span::after {
  -webkit-transform: rotate(0);
  background: var(--color01);
  border-radius: 0;
  content: "";
  display: block;
  height: 100%;
  left: 0%;
  margin: -5% 0 0 0;
  position: absolute;
  top: 50%;
  transform: rotate(0);
  width: 100%;
}
#drawer-icon span::before {
  display: none;
  margin-top: -30%;
}
#drawer-icon span::after {
  margin-top: 28%;
}
#drawer-checkbox:checked ~ #drawer-icon span {
  background: rgba(51, 51, 51, 0);
}
#drawer-checkbox:checked ~ #drawer-icon span::before,
#drawer-checkbox:checked ~ #drawer-icon span::after {
  content: "";
  display: block;
  height: 100%;
  left: 5%;
  margin: 0% 0 0 0%;
  position: absolute;
  top: 50%;
  width: 90%;
  background: #fff;
}
#drawer-checkbox:checked ~ #drawer-icon span::before {
  -webkit-transform: rotate(-30deg);
  transform: rotate(-30deg);
}
#drawer-checkbox:checked ~ #drawer-icon span::after {
  -webkit-transform: rotate(30deg);
  transform: rotate(30deg);
}
#drawer-content {
  visibility: hidden;
  overflow: auto;
  position: fixed;
  top: 0;
  left:0;
  z-index: -1;
  width: 100%;
  max-width: 100%;
  height: 100%;
  background: var(--color02);
  transition: all .2s ease-in-out 0s;
  transform: translateX(0%);
  opacity: 0;
}
#drawer-checkbox:checked ~ #drawer-content {
  visibility: visible;
  z-index: 998;
  transition: all .8s ease-in-out 0s;
  transform: translateX(0);
  opacity: 1;
}

#drawer-close {
  display: none;
  position: fixed;
  z-index: 39;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  transition: all 0.3s ease-in-out 0s;
}
#drawer-checkbox:checked ~ #drawer-close {
  display: block;
  opacity: 0.3;
}

#drawer-icon i {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  color: #fff;
  font-style: normal;
  font-size: 1.6rem;
}

@media screen and (max-width: 820px){
  #drawer-icon {
    cursor: pointer;
    display: inline-block;
    position: fixed;
    z-index: 999;
    top: 0px;
    left:inherit;
    right: 4%;
    width: 40px;
    height: 40px;
  }
  #drawer-icon span {
    display: block;
    height: 2px;
    left: 6px;
    margin: 0;
    position: absolute;
    top: 50%;
    transition: all 0.2s ease-in-out;
    width: 70%;
  }
  #drawer-icon span::before,
  #drawer-icon span::after {
    -webkit-transform: rotate(0);
    border-radius: 0;
    content: "";
    display: block;
    height: 100%;
    left: 0%;
    margin: 0 0 0 0;
    position: absolute;
    top: 50%;
    transform: rotate(0);
    transition: all 0.3s ease-in-out;
    width: 100%;
  }
  #drawer-icon span::before {
    display: none;
    margin-top: -32%;
  }
  #drawer-icon span::after {
    margin-top: 28%;
  }
  #drawer-checkbox:checked ~ #drawer-icon span {
    background: rgba(51, 51, 51, 0);
  }
  #drawer-checkbox:checked ~ #drawer-icon span::before,
  #drawer-checkbox:checked ~ #drawer-icon span::after {
    content: "";
    display: block;
    height: 100%;
    left: 0;
    margin: 0% 0 0 0%;
    position: absolute;
    top: 50%;
    width: 100%;
  }
  #drawer-checkbox:checked ~ #drawer-icon span::before {
    -webkit-transform: rotate(-30deg);
    transform: rotate(-30deg);
  }
  #drawer-checkbox:checked ~ #drawer-icon span::after {
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
  }
}

/*  メニュー
---------------------------------------------*/
.menu__content {
  position: relative;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
  .menu__inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    @media screen and (max-width: 820px){
      flex-direction: column;
      align-items: start;
      margin: 0 auto;
      padding: 80px 0;
    }
  }
  .menu__block {
    width: 50%;
    @media screen and (max-width: 820px){
      width: 100%;
      margin: 0 0 30px;
      padding: 0 4%;
    }
  }
  .menu__link {
    width: 50%;
    @media screen and (max-width: 820px){
      width: 100%;
    }
  }
  .menu__logo {
    margin: 0 0 60px;
    color: #fff;
    font-weight: var(--fwsb);
    font-size: 4rem;
    text-align: center;
    @media screen and (max-width: 820px){
      margin: 0 0 40px;
      font-size: 3rem;
    }
  }
  .menu__contact {
    display: block;
    width: 340px;
    margin: 0 auto;
    padding: 17px 0;
    border-radius: 5px;
    background: #fff;
    color: var(--color01);
    font-weight: var(--fwsb);
    font-size: 3.2rem;
    text-align: center;
    @media screen and (max-width: 820px){
      width: 100%;
      padding: 15px 0;
      font-size: 1.8rem;
    }
  }
  .menu__link {
    li {
      margin: 0 0 40px;
      font-weight: var(--fwsb);
      font-size: 2.4rem;
      text-align: left;
      @media screen and (max-width: 820px){
        padding: 0 8%;
        font-size: 1.6rem;
      }
    }
    a {
      color: #fff;
    }
  }
}

/* ----------------------------------
  contents
---------------------------------- */
.contents {
  margin: 80px 0 0;
  @media screen and (max-width: 820px){
    margin: 50px 0 0;
  }
  &.top {
    margin: 0;
    @media screen and (max-width: 820px){
      margin: 50px 0 0;
    }
  }
}

/* ----------------------------------
  pageTitle
---------------------------------- */
.pageTitle {
  background: #e2e5e4;
  .pageTitle__inner {
    max-width: var(--mwith);
    margin: 0 auto;
    padding: 60px 0 280px 60px;
    text-align: left;
    @media screen and (max-width: 820px){
      padding: 60px 0 60px 4%;
    }
  }
  .pageTitle__text {
    font-weight: var(--fwm);
    font-size: 4.8rem;
    @media screen and (max-width: 820px){
      font-size: 2.8rem;
    }
  }
  .pageTitle__text__en {
    color: var(--color01);
    font-weight: var(--fwsb);
    font-size: 2.4rem;
    @media screen and (max-width: 820px){
      font-size: 1.8rem;
    }
  }
}
.pageMv{
  display: block;
  max-width: var(--mwith);
  margin: 0 auto;
  text-align: right;
  img {
    display: block;
    max-width: 100%;
    width: 80%;
    margin: -180px 0 140px auto;
    @media screen and (max-width: 820px){
      max-width: 100%;
      width: 100%;
      margin: 0 auto 80px;
    }
  }
}

.pageHeadline {
  max-width: var(--mwith);
  margin: -60px auto 120px;
  padding: 0 0 0 60px;
  text-align: left;
  font-size: 1.6rem;
  line-height: 1.8;
  @media screen and (max-width: 820px){
    margin: -20px auto 60px;
    padding: 0 4%;
    font-size: 1.4rem;
  }
  p {
    margin: 0 0 10px;
  }
}

/* ----------------------------------
  footer
---------------------------------- */
.footer {
  background: linear-gradient(90deg, #E1E5E4 0%, #E1E5E4 50%, #F8F8F8 50%, #F8F8F8 100%);
  text-align: left;
  .footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 140px 0 80px;
    background: linear-gradient(90deg, #E1E5E4 0%, #E1E5E4 90%, #F8F8F8 90%, #F8F8F8 100%);
    color: #475540;
    @media screen and (max-width: 820px){
      width: 100%;
      padding: 60px 4% 40px;
    }
  }
  .footer__flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 110px;
    @media screen and (max-width: 820px){
      flex-direction: column-reverse;
      margin: 0 0 60px;
    }
  }
  .footer__contact {
      width: 720px;
      border-radius: 3px;
      background: #fff;
      @media screen and (max-width: 820px){
        width: 100%;
        margin: 0 0 30px;
      }
    a {
      position: relative;
      display: block;
      width: 100%;
      padding: 100px 0 120px 100px;
      border-radius: 5px;
      background: var(--color03);
      color: #fff;
      font-weight: var(--fwsb);
      font-size: 4rem;
      @media screen and (max-width: 820px){
        padding: 40px 0 40px 4%;
        font-size: 2rem;
      }
      &::after {
        position: absolute;
        top: 32%;
        right: 35px;
        content: "";
        width: 84px;
        height: 84px;
        background-image: url(../img/common/icon-contact.svg);
        @media screen and (max-width: 820px){
          width: 42px;
          height: 42px;
          background-size: cover;
        }
      }
    }
    span {
      display: block;
      margin: 10px 0 0;
      font-weight: var(--fwr);
      font-size: 2rem;
      @media screen and (max-width: 820px){
        font-size: 1.4rem;
      }
    }
  }
  .footer__nav {
    width: calc(100% - 720px);
    @media screen and (max-width: 820px){
      width: 100%;
    }
    li {
      margin: 0 0 15px;
    }
    a {
      position: relative;
      padding: 0 0 0 17px;
      color: #475540;
      &::before {
        position: absolute;
        content: "";
        top: 10px;
        left: 0;
        width: 10px;
        height: 1px;
        background: #475540;
      }
    }
  }
  .footer__company {
    margin: 0 0 10px;
    font-weight: var(--fwm);
    font-size: 2rem;
    @media screen and (max-width: 820px){
      font-size: 1.6rem;
    }
  }
  .footer__address {
    margin: 0 0 60px;
  }
  .copyright {
    font-size: 1.2rem;
  }
}



