/*
Theme Name: 日環
Version: 1
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* Reset ----- */
html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}
article,aside,footer,header,nav,section,figcaption,figure,main {display: block;}
h1,h2,h3,h4,h5,h6 {font-size:100%;font-weight:normal;}
ul {list-style:none;}
button,input,select,textarea {margin:0;background-color: transparent;color: inherit;font-size: inherit;line-height: inherit;}
button,input {overflow: visible;vertical-align:middle;}
button,select {text-transform: none;}
input,button,select {font-family: inherit;font-weight: inherit;}
input[type="submit"],input[type="button"],button[type="submit"] {border-radius: 0;-webkit-box-sizing: content-box;-webkit-appearance: button;appearance: button;border: none;box-sizing: border-box;cursor: pointer;}
input[type="submit"]:-webkit-search-decoration,input[type="button"]:-webkit-search-decoration,button[type="submit"]:-webkit-search-decoration {display: none;}
input[type="submit"]:focus,input[type="button"]:focus,button[type="submit"]:focus {outline: none;}
/* IE 10+ ----- */
:-ms-input-placeholder {color: #999;}
html {box-sizing:border-box;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;}
body {-webkit-text-size-adjust: 100%;}
*,*:before,*:after {background-repeat: no-repeat;box-sizing:inherit;}
:before,:after {text-decoration: inherit;vertical-align: inherit;}
img,embed,object,audio,video {height:auto;max-width:100%;}
img,iframe {border:0;}
img {vertical-align: bottom;}
svg {fill: currentColor;}
table {border-collapse:collapse;border-spacing:0;}
td,th {padding:0;text-align:left;font-weight: normal;}
a {background-color: transparent;-webkit-text-decoration-skip: objects;}

/*++++++++++++++++++*/
html {
  font:10px/1.6 "Noto Sans JP", sans-serif;
  color: #444;
}
body {
  font-size: 1.6rem;
  /* background: #eee; */
}
a:hover {
  opacity: .7;
}
.sp-only {
  display: none;
}

.p4 {
  padding: 4rem;
}
.mt5 {
  margin-top: 5rem;
}
.mt-7 {
  margin-top: -7rem;
}
.h1.mt0 {
  margin-top: 0;
}
.h1.mt8 {
  margin-top: 8rem;
}
.tar {
  text-align: right;
}
.fw6 {
  font-weight: 600;
}
.lh4 {
  line-height: 4rem;
}
.center {
  text-align: center;
}
.header {
  z-index: 200;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  width: 100%;
  background: #fff;
  h1 {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-left: 30px;
    .logo1 {
      width: 170px;
    }
  }
  .right {
    display: flex;
    align-items: center;
    }
    .sp {
      display: none;
    }
    .btn1 {
      margin-left: 20px;
    }
    .btn2 {
      margin-left: 5px;
    }
  }
.g-nav {
  display: flex;
  align-items: center;
  .a {
    position: relative;
    padding: 0 30px;
    line-height: 100px;
    color: #000;
    text-decoration: none;
    white-space: nowrap;

    &.bdn::after {
      content: none;
    }
    &::after {
      content: "";
      position: absolute;
      top: 20px;
      left: 0;
      background: #C6C7C7;
      height: 60px;
      width: 1px;
    }
    &:hover::before {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: #5E9A19;
      height: 5px;
      width: 100%;
    }
  }
  .drawer-nav {
    position: relative;
    white-space: nowrap;
    .drawer-open {
      /* padding-left: 10px; */
      line-height: 100px;
      cursor: pointer;
    }
    .d-nav {
      display: none;
      position: absolute;
      top: 100px;
      width: 250px;
      background: #000;
      li {
        border-top: 1px solid #fff;
        &:first-child {
          border: none;
        }
      }
      a {
        display: block;
        padding: 10px 20px;
        color: #fff;
        text-decoration: none;
        &::before {
          content: "";
          display: inline-block;
          /* transform: rotate(90deg); */
          /* margin-right: 1em; */
        }
      }
    }
  }
  .burger {
    display: none;
  }
} /* [end] .header */

.sp-nav {
  display: none;
}

@media (max-width: 1350px) {
  .header {
    h1 {
      .logo1 {
        width: 140px;
      }
    }
    .right {
      .pc {
        display: none;
      }
      .sp {
        display: block;
      }
      .btn1 {
        margin-left: 0;
      }
    }
    .g-nav,
    .drawer-nav {
      display: none;
    }
    .burger {
      display: block;
      width: 110px;
      height: 90px;
      background: url(img/burger.png) center center no-repeat;
      cursor: pointer;
      margin-left: 5px;
      &.opened {
        background: url(img/burger2.png) center center no-repeat;
      }
    }
  } /* [end] .header */

  .sp-nav {
    overflow-y: scroll;
    z-index: 100;
    display: none;
    position: fixed;
    top: 100px;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .9);
    /* font-size: 2rem; */
    font-size: 24px;
    .a,
    a {
      padding: 4rem 4rem;
      color: #fff;
    }
    .a {
      cursor: pointer;
      border-bottom: 1px solid #535353;
    }
    a {
      display: block;
      text-decoration: none;
    }
    .bdt {
      border-top: 1px solid #535353;
    }
    .accordion-open {
      background: url(img/accordio1.png) center right 4rem no-repeat;
      background-size: 30px;
    }
    .opened .accordion-open {
      background-image: url(img/accordio2.png);
    }
    .a-nav {
      display: none;
      padding-left: 1em;
    }
  }

} /* [end] max-width: 1350px */

@media (max-width: 1180px) {
  html {
    font-size: calc( 1vw * 100 / 118);
  }

} /* [end] max-width: 1180px */

@media (max-width: 780px) {
  html {
    font-size: calc( 1vw * 100 / 78);
  }
  .header {
    height: 10rem;
    h1 {
      padding-left: 3rem;
      .logo1 {
        width: 14rem;
      }
    }
    .right {
      .btn1 {
        width: 20rem;
      }
      .btn2 {
        width: 20rem;
        margin-left: .5rem;
      }
    }
    .burger {
      width: 11rem;
      height: 9rem;
      margin-left: .5rem;
      background-size: 7rem;
      &.opened {
        background-size: 5rem;
      }
    }
  } /* [end] .header */
  .sp-nav {
    top: 10rem;
    font-size: 3.4rem;
    .accordion-open {
      background-size: 4.5rem;
    }
  }
} /* [end] max-width: 780px */

.to_top {
  cursor: pointer;
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 66px;
  height: 66px;
  background: url(img/to_top.png) center center / cover no-repeat;
}
.footer {
  background: #EEF3E8;
  padding: 1em;
  margin: 10rem auto 0;
  .sp-f-nav {
    display: none;
  }
  .inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    padding: 25px 50px;
    a {
      color: #444444;
      text-decoration: none;
    }
    .left {
      font-size: 12px;
      img {
        width: 163px;
      }
      p {
        margin-top: 20px;
      }
    }
    .right {
      display: flex;
      /* gap: 50px; */
      padding-top: 30px;
      font-size: 16px;
      ul {
        width: 170px;
        white-space: nowrap;
        font-weight: 600;
      }
    }
    .sp-btn {
      display: none;
    }
  }
  small {
    display: block;
    width: 100%;
    margin-top: 70px;
    text-align: center;
    color: #C6C7C7;
    font-size: 14px;
  }
}
@media (max-width: 780px) {
  .footer {
    padding: 0;
    margin-top: 8rem;
    .sp-f-nav {
      display: flex;
      flex-wrap: wrap;
      background: #fff;
      li {
        width: 100%;
        border-top: 1px solid #707070;
      }
      a {
        display: block;
        padding: 4rem 2rem 4rem 6rem;
        font-size: 3.6rem;
        font-weight: 600;
        color: #444;
        text-decoration: none;
      }
    }
    .inner {
      padding: 4rem;
      a {
      }
      .left {
        font-size: 2rem;
        img {
          width: 28rem;
        }
        p {
          display: block;
          width: 28rem;
          margin-top: 1.2rem;
          text-align: center;
        }
        .pc {
          display: none;
        }
      }
      .right {
        display: none;
      }
      .sp-btn {
        display: flex;
        flex-wrap: wrap;
        gap: 1.6rem;
        width: 37rem;
        padding-top: .75rem;
      }
    }
    small {
      padding: 1rem 0;
      margin-top: 0;
      background: #fff;
      font-size: 2.6rem;
    }
  }
}

article {
  padding-top: 100px;
  min-height: 80rem;
  overflow: hidden;
  font-size: 2rem;
}
section {
  padding: 2rem;
}
section+section {
  /* margin-top: 6rem; */
}
.bg_green {
  background: url(img/bg_green.png) center center / cover no-repeat;
  margin-top: 10rem;
  padding: 7rem 2rem 5rem;
  color: #fff;
}
.bg_green2 {
  background: url(img/bg_green2.jpg) no-repeat;
  background-size: 100% 100%;
  margin-top: -7rem;
  margin-bottom: 10rem;
  padding: 7rem 2rem 5rem;
}
.bg_green3 {
  background: #F5F9F1;
  padding: 7rem 2rem 5rem;
}
.bg_gray {
  background: #F3F3F3;
  margin-top: 0;
}
.inner {
  width: 100%;
  max-width: 1080px;
  margin: auto;
}

@media (max-width: 1350px) {
  article {
    padding-top: 100px;
    font-size: 2.4rem;
  }
}
@media (max-width: 780px) {
  .sp-only {
    display: inline-block;
  }
  .pc-only {
    display: none;
  }
  article {
    padding-top: 10rem;
  }
  .bg_green,.bg_green2 {
    padding: 4rem 2rem 6rem;
  }
}

input[type="date"],
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="url"],
textarea,
select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  height: 50px;
  border: none;
  background: #FFFFFF;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 0.8em;
  border-radius: 5px;
}
input[type="date"]::placeholder,
input[type="text"]::placeholder,
input[type="tel"]::placeholder,
input[type="email"]::placeholder,
input[type="url"]::placeholder,
textarea::placeholder{
  color: #9F9F9F;
}
input[type=checkbox]{
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28px;
  width: 28px;
  vertical-align: -0.8rem;
  transition:all .15s ease-out 0s;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  margin: .3rem .5rem .3rem 0;
  outline: none;
  background: #ffffff;
  border: 1px solid #DEDEDE;
  border-radius: 4px;
}
input[type=checkbox]:before,
input[type=checkbox]:after {
  position: absolute;
  content: "";
  background: #168CE3;
  transition: all .2s ease-in-out;
}
input[type=checkbox]:before {
  left: 3px;
  top: 16px;
  width: 0;
  height: 2px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}
input[type=checkbox]:after {
  right: 9px;
  bottom: 5px;
  width: 2px;
  height: 0;
  transform: rotate(40deg);
  -webkit-transform: rotate(40deg);
  -moz-transform: rotate(40deg);
  -ms-transform: rotate(40deg);
  -o-transform: rotate(40deg);
  transition-delay: .2s;
}
input[type=checkbox]:checked:before {
  left: 3px;
  top: 16px;
  width: 10px;
  height: 2px;
}
input[type=checkbox]:checked:after {
  right: 9px;
  bottom: 5px;
  width: 2px;
  height: 15px;
}