@charset "UTF-8";

body#home {
  background: url(../img/bg01_pc.png) no-repeat right 2em top;
  background-size: auto;
  background-attachment: fixed;
  transition: all 0.2s linear;
}
body#home.move {
  background: url(../img/bg00_pc.png) no-repeat right 2em top;
  background-size: auto;
  background-attachment: fixed;
  transition: all 0.5s linear;
}

.main_visual {
  margin-bottom: 12em;
}
.main_visual .inner {
  height: 320px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-bottom: 3em;
}
.main_visual .htag {
  font-size: 3rem;
  font-weight: 900;
}
.main_visual .p {
  font-size: 1.7rem;
  font-weight: 400;
  margin: 1em 0 0;
}
.main_visual .mv-img img {
  width:100%;
  object-fit: cover;
  height:300px;
}

.home-s01 {
  margin: 0 0 12em;
}
.home-s01 .greeting {
  background-color: #62ad79;
  color:#fff;
  padding-top:3em;
  padding-bottom:4em;
}
@media screen and ( min-width:1089px ) {
  .home-s01 .greeting {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    margin-left: calc(((100vw - 100%) / 2) * -1);
    margin-right: calc((100vw * 0.046) * -1);
    padding-left: calc((100vw - 100%) / 2);
  }
}
@media screen and ( max-width:1088px ) {
  .home-s01 .inner {
    padding-left: 0;
    padding-right: 0;
  }
  .home-s01 .greeting {
    width:auto;
    margin:0 auto;
    padding:4em 4.6%;
    position:relative;
  }
}
.home-s01 .greeting .htag,
.home-s02 .htag,
.home-s03 .htag,
.home-s04 .htag {
  font-weight: 700;
  font-size: 3.6rem;
  margin-bottom: 0.8em;
}
.home-s01 .greeting .p,
.home-s02 .p,
.home-s03 .p,
.home-s04 .p {
  font-size: 1.6rem;
  line-height: 2.2;
}

.home-s02 {
  margin: 0 0 12em;
}
div.for {
  display: flex;
  justify-content: space-between;
  margin:4em 0 0;
}
.for-box {
  padding: 12em 0 0;
  width:calc(100% / 3);
  text-decoration: none;
  display: flex;
  position: relative;
  overflow: hidden;
}
.for-box::after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  -webkit-transition: all .5s ease-out;
  -moz-transition: all .5s ease-out;
  -ms-transition: all .5s ease-out;
  transition: all .5s ease-out;
  z-index: -1;
}
.for-box:hover:after {
opacity: .8;
-moz-transform: scale(1.1);
-webkit-transform: scale(1.1);
-ms-transform: scale(1.1);
transform: scale(1.1);
}
.for-box01::after {
  background: url(../img/img02_pc.png) no-repeat 0 0;
  background-size: cover;
}
.for-box02::after {
  background: url(../img/img03_pc.png) no-repeat 0 0;
  background-size: cover;
}
.for-box03::after {
  background: url(../img/img04_pc.png) no-repeat 0 0;
  background-size: cover;
}
.for-box dl {
  border-left: 10px solid #62ad79;
  padding: 1em 2em 1.5em 1.5em;
}
.for-box dt {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 2.4rem;
  font-weight: 700;
}
.for-box dt::after {
  content: "";
  background: url(../img/icon02.png) no-repeat 0 0;
  background-size: 99%;
  display: block;
  width:1.3em;
  height:1.3em;
  margin-left: 0.4em;
}
.for-box dd {
  color: #fff;
  font-size:1.5rem;
  line-height: 1.8;
  margin-top:0.5em;
}

.home-s03 {
  margin: 0 0 12em;
}
.news {
  margin:4em 0 0;
}
.news dl {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-top: 1px solid #d1d1d1;
  padding:1.5em 2em;
}
.news dl:last-of-type {
  border-bottom: 1px solid #d1d1d1;
}
.news dt {
  display: flex;
  align-items: center;
  min-width: 14.5em;
}
.news dt span {
  color: #4b9361;
  font-size: 1rem;
  display: inline-block;
  min-width: 8em;
  padding:0.1em 1em;
  border: 1px solid #62ad79;
  text-align: center;
  margin-left: auto;
}
.news dd {
  margin-left: 3em;
  width: 100%;
}
.news dd a {
  text-decoration: none;
  font-weight: 700;
  color: #373332;
  font-size: 1.6rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  transition: all 0.2s linear;
}
.news dd a:hover {
  color: #4b9361;
}
.news dd a::after {
  content: "";
  background: url(../img/icon01.png) no-repeat 0 0;
  background-size: 99%;
  display: block;
  width:2em;
  height:2em;
  margin-left: auto;
}

.home-s04 {
  margin: 0;
  background-color: #62ad79;
  color: #fff;
  padding: 4em 0 7em;
}
.home-s04 .inquiry {
  padding:0 15%;
}
.home-s04 .p {
  text-align: center;
  margin: 2.5em 0 1.5em;
}
.home-s04 .inquiry dl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:0.8em 0;
}
.home-s04 .inquiry dl:last-of-type {
  align-items:flex-start;
}
.home-s04 .inquiry dt {
  width:30%;
  font-weight: 700;
  font-size: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.home-s04 .inquiry dt.req:after {
  content: "必須";
  display: inline-block;
  background-color: #fff;
  border: 1px solid #f00;
  color:#f00;
  font-weight: 700;
  font-size: 1.4rem;
  padding:0 0.5em;
}
.home-s04 .inquiry dl:last-of-type dt {
  padding-top:0.5em;
}
.home-s04 .inquiry dd {
  width:67.5%;
}
.home-s04 .inquiry dd input,
.home-s04 .inquiry dd textarea {
  width:100%;
}
.home-s04 .inquiry dd textarea {
  height:10em;
}
.home-s04 .inquiry .btn-wrap {
  text-align: center;
  margin: 2em 0 0;
}
.home-s04 .inquiry .btn-wrap .btn01 {
  background-color: #4299c9;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  border: 2px solid #fff;
  color:#fff;
  padding: 0.7em 2.5em;
  font-weight: 700;
  font-size: 1.6rem;
}


@media screen and ( max-width:640px ) {

  body#home {
    background: url(../img/bg01_pc.png) no-repeat right top;
    background-size: 90%;
    background-attachment: fixed;
    transition: all 0.2s linear;
  }
  body#home.move {
    background: url(../img/bg00_pc.png) no-repeat right top;
    background-size: 90%;
    background-attachment: fixed;
    transition: all 0.5s linear;
  }

  .main_visual {
    margin-bottom: 6em;
  }
  .main_visual .inner {
    height: 40vh;
    min-height: 240px;
    padding-bottom: 0;
  }
  .main_visual .htag {
    font-size: 1.9rem;
  }
  .main_visual .p {
    font-size: 1.3rem;
    margin: 1em 0 0;
  }
  .main_visual .mv-img img {
    height:160px;
  }

  .home-s01 {
    margin: 0 0 6em;
  }
  .home-s01 .greeting {
    padding-top:3em;
    padding-bottom:4em;
  }
  .home-s01 .inner {
    padding-left: 0;
    padding-right: 4.6%;
  }
  .home-s01 .greeting {
    width:auto;
    margin:0 auto;
    padding:3em 1.5em 4em calc(4.6% + 0.5em);
    position:relative;
  }
  .home-s01 .greeting .htag,
  .home-s02 .htag,
  .home-s03 .htag,
  .home-s04 .htag {
    font-size: 3rem;
    margin-bottom: 0.8em;
  }
  .home-s01 .greeting .p,
  .home-s02 .p,
  .home-s03 .p,
  .home-s04 .p {
    font-size: 1.4rem;
    line-height: 2.2;
  }

  .home-s02 {
    margin: 0 0 6em;
  }
  div.for {
    margin:4em auto 0;
    width: 90%;
    flex-direction: column;
  }
  .for-box {
    width:100%;
  }

  .home-s03 {
    margin: 0 0 6em;
  }
  .news {
    margin:2em 0 0;
  }
  .news dl {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding:1.2em 0.3em;
    flex-wrap: wrap;
  }
  .news dd {
    margin:0.4em 0 0;
    width: 100%;
  }
  .news dd a {
    font-size: 1.6rem;
    display: block;
    transition: all 0.2s linear;
    position: relative;
    padding-right: 2em;
  }
  .news dd a::after {
    width:1.5em;
    height:1.5em;
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
  }

  .home-s04 {
    margin: 0;
    padding: 4em 0 7em;
  }
  .home-s04 .inquiry {
    padding:0 1em;
  }
  .home-s04 .p {
    margin: 1em 0 2em;
    font-size: 1.5rem;
    text-align: left;
    line-height: 1.5;
  }
  .home-s04 .inquiry dl {
    display: block;
    padding:0.8em 0;
  }
  .home-s04 .inquiry dt {
    width:100%;
  }
  .home-s04 .inquiry dl:last-of-type dt {
    padding-top:0;
  }
  .home-s04 .inquiry dd {
    width:100%;
    margin-top: 0.5em;
  }

  
}
