@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

.jost{
  font-family: "Jost", sans-serif;
}
.w8{
  font-family:'Hiragino Kaku Gothic StdN', sans-serif;
}

/*---------------------------------

  共通

---------------------------------*/

main {
  overflow: hidden;
  margin: 105px 0 0;
  position: relative;
}

/* タブレットサイズ------------------------------- */
@media screen and (max-width:1140px) {
  main{
    margin-top: 55px;
  }
}

/*
  ヘッダー
--------------------------*/

#header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 3;
  background: #fff;
  min-height: 105px;
  height: 105px;
  box-sizing: border-box;
  border-top: solid 2px #03a864;
  border-bottom: solid 1px #f1f1f1;
}
#header .header_menu{
  display: none;
}
#header .header_in {
  width: 98%;
  max-width: 1300px;
  margin: 0 auto;
  overflow: hidden;
  height: 103px;
}
#header .sub {
  overflow: hidden;
  padding: 12px 0 18px;
}
#header .sub > span {
  font-size: 13px;
}
#header .sub > h1 {
  display: inline;
  font-size: 13px;
}
#header .sub p {
  font-size: 13px;
  float: right;
  display: inline-block;
}
#header .sub p span {
  display: inline-block;
  color: #03a864;
  width: 70px;
  line-height: 18px;
  border: solid 1px #03a864;
  box-sizing: border-box;
  margin: 0 12px 0 0;
  text-align: center;
  border-radius: 5px;
}
#header .sub .tel {
  font-size: 14px;
  float: right;
  display: inline-block;
  color: #03a864;
  font-weight: bold;
  margin: 0 20px 0 0;
  padding: 0 0 0 24px;
  background: url(../img/common/tel_icon.png) left center no-repeat;
  background-size: 16px;
  line-height: 20px;
}
#header .sub .tel:hover {
  opacity: 0.8;
}
#header .logo {
  float: left;
  line-height: 1;
  display: inline-block;
}
#header .logo:hover {
  opacity: 0.8;
}
#header .logo img {
  width: 248px;
  height: 41px;
}
#header .login_btn {
  width: 150px;
  line-height: 40px;
  text-align: center;
  padding: 0 0 0 20px;
  background: #a6be29 url(../img/common/login_header.png) left 18px center no-repeat;
  background-size: 20px;
  display: block;
  color: #fff;
  font-weight: bold;
  float: right;
  border-radius: 6px;
}
#header .login_btn:hover {
  opacity: 0.8;
}
nav {
  overflow: hidden;
  float: right;
}
nav ul {
  overflow: hidden;
}
nav .menu {
  margin-right: 15px;
  float: left;
}
nav li a:hover {
  text-decoration: none;
}
/*ナビのアニメーション*/
nav .text {
  position: relative;
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  padding: 15px 4px 0;
  height: 53px;
  position: relative;
  letter-spacing: 0;
}
nav .text.now,
nav .text:hover {
  color: #03a864;
}
nav .text:before,
nav .text:after {
  position: absolute;
  bottom: 10px;
  content: "";
  display: inline-block;
  width: 0;
  height: 2px;
  background: #03a864;
  transition: 1s;
}
nav .text:before {
  left: 50%;
}
nav .text:after {
  right: 50%;
}
nav .text:hover:before,
nav .text:hover:after,
nav .text.now:before,
nav .text.now:after {
  width: 50%;
}
/*サブメニューアニメーション*/
.menu_dropdown {
  width: auto;
  min-width: 150px;
  padding: 10px 0;
  position: absolute;
  background: #fff;
  z-index: 100;
  box-shadow: 0px 0px 2px rgba(0,0,0,0.2);
  transition:
    0.5s padding,
    0.5s background;
}
.menu:nth-child(2) .menu_dropdown,
.menu:nth-child(5) .menu_dropdown {
  margin-left: -43px;
}
.menu:nth-child(4) .menu_dropdown {
  margin-left: -95px;
}
.menu_dropdown:after {
  content: "";
  display: block;
  height: 0;
  border-top: 5px solid #ebebeb;
  border-left: ($menu_WIDTH / 2) solid transparent;
  border-right: ($menu_WIDTH / 2) solid transparent;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 101;
  transition: 0.5s border-top;
}
.menu:not(:hover) > .menu_dropdown {
  padding: 0;
  background: #fff;
  z-index: 99;
  box-sizing: border-box;
}
.menu:not(:hover) > .menu_dropdown:after {
  border-top-color: #dddddd;
}
.menu:not(:hover) > .menu_title:after {
  border-bottom-color: #dddddd;
}
.menu_dropdown > * {
  overflow: hidden;
  padding: 0;
  background: #fff;
  white-space: nowrap;
  transition:
    0.5s height cubic-bezier(.73,.32,.34,1.5),
    0.5s padding cubic-bezier(.73,.32,.34,1.5),
    0.5s margin cubic-bezier(.73,.32,.34,1.5),
    0.5s 0.2s color,
    0.2s background-color;
}
.menu_dropdown a {
  padding: 5px 0 5px 15px;
  display: block;
  font-size: 14px;
  position: relative;
  margin: 5px 20px;
  line-height: 1;
}
.menu_dropdown a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #03a864;
  left: 0;
  top: 50%;
  margin-top: -4px;
}
.menu_dropdown a:hover {
  color: #03a864;
}
.menu:not(:hover) > .menu_dropdown > * {
  visibility: hidden;
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  color: rgba(25,25,25,0);
  transition:
    0.5s 0.1s height,
    0.5s 0.1s padding,
    0.5s 0.1s margin,
    0.3s color,
    0.6s visibility;
  z-index: 99;
}

/* タブレットサイズ------------------------------- */
@media screen and (max-width:1140px) {

  #header {
    width: 100%;
    position: fixed;
    top: 0;
    min-height: 55px;
    height: 55px;
    z-index: 5;
  }
  #header .header_menu{
    display: block;
  }
  #header .header_in {
    width: 100%;
    height: 100%;
    padding: 0 0 55px;
    background: #fff;
    box-sizing: border-box;
    display: none;
    position: fixed;
    z-index: -1;
  }
  #header .header_in > div {
    -webkit-overflow-scrolling: touch;
    overflow: auto;
    height: 100%;
  }
  #header .header_in .nav {
    padding: 10px 3% 0;
  }
  .header_in .nav a {
    padding: 15px 3% 15px 10px;
    color: #000;
    font-size: 14px;
    box-sizing: border-box;
    display: block;
    border-bottom: solid 1px #ccc;
    background: url(../img/common/cv_g.png) right 10px center no-repeat;
    background-size: 17px;
  }
  .header_in .nav:nth-child(4) {
    letter-spacing: -.4em;
    text-align: center;
  }
  .header_in .nav:nth-child(4) li {
    width: 32%;
    margin: 0 2% 0 0;
    display: inline-block;
    text-align: left;
  }
  .header_in .nav:nth-child(4) li:nth-child(3n) {
    margin: 0;
  }
  .header_in .nav:nth-child(4) a {
    padding: 17px 3% 17px 10px;
    font-size: 12px;
  }
  .header_in .contact_fix {
    padding: 25px 3% 0;
    overflow: hidden;
  }
  .header_in .contact_fix a {
    display: block;
    width: 48.5%;
    margin: 0 3% 15px 0;
    background: #03a864 url(../img/common/cv_w.png) right 10px center no-repeat;
    background-size: 17px;
    padding: 15px;
    font-size: 15px;
    color: #fff;
    float: left;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
  }
  .header_in .contact_fix a:last-child {
    background: #017540 url(../img/common/cv_w.png) right 10px center no-repeat;
    background-size: 17px;
    margin: 0 0 15px;
  }
  .header_in .menu_tel {
    padding: 20px 3%;
    background: #f2f2f2;
    text-align: center;
  }
  .header_in .menu_tel .tel {
    color: #03a864;
    font-weight: bold;
    display: inline-block;
    font-size: 17px;
    padding: 0 0 0 30px;
    background: url(../img/common/tel_icon.png) left center no-repeat;
    background-size: 20px;
    margin: 0 0 7px;
  }
  .header_in .menu_tel p {
    font-size: 12px;
  }
  .header_in .menu_tel span {
    display: inline-block;
    color: #03a864;
    width: 60px;
    line-height: 18px;
    border: solid 1px #03a864;
    box-sizing: border-box;
    margin: 0 10px 0 0;
    text-align: center;
    border-radius: 5px;
    background: #fff;
  }
  .header_in .tool_banner {
    padding: 30px 3% 10px;
    overflow: hidden;
  }
  .header_in .tool_banner li {
    width: 32%;
    margin: 0 2% 20px 0;
    float: left;
  }
  .header_in .tool_banner li:last-child {
    margin: 0 0 20px 0;
  }
  .header_menu {
    overflow: hidden;
    line-height: 1;
    background: #fff;
    overflow: hidden;
    height: 55px;
    box-shadow: 0px 0px 3px rgba(0,0,0,0.2);
  }
  .menu_trigger,
  .menu_trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
    cursor :pointer;
  }
  .menu_trigger {
    position: relative;
    width: 55px;
    height: 55px;
    background: #03a864;
    z-index: 6;
    float: right;
  }
  .menu_trigger span {
    position: absolute;
    background: #fff;
    width: 28px;
    height: 2px;
    left: 0;
    right: 0;
    margin: auto;
  }
  .menu_trigger span:nth-of-type(1) {
    top: 18px;
  }
  .menu_trigger span:nth-of-type(2) {
    top: 0;
    bottom: 0;
  }
  .menu_trigger span:nth-of-type(3) {
    bottom: 18px;
  }
  .menu_trigger.active span:nth-of-type(1){
    -webkit-transform: translateY(9px) rotate(-45deg);
    transform: translateY(9px) rotate(-45deg);
  }
  .menu_trigger.active span:nth-of-type(2){
    opacity: 0;
  }
  .menu_trigger.active span:nth-of-type(3){
    -webkit-transform: translateY(-8px) rotate(45deg);
    transform: translateY(-8px) rotate(45deg);
  }
  #header h1 {
    padding: 0;
    background: none;
  }
  #header .header_menu > .logo,
  #header h1 {
    margin: 17px 0 0 3%;
    float: left;
    width: 140px;
  }
  #header h1 .logo {
    display: block;
  }
  #header .login_btn {
    width: 120px;
    line-height: 35px;
    text-align: center;
    padding: 0 0 0 15px;
    background: #a6be29 url(../img/common/login_header.png) left 13px center no-repeat;
    background-size: 15px;
    display: block;
    color: #fff;
    font-weight: bold;
    float: right;
    border-radius: 6px;
    font-size: 12px;
    margin: 10px 10px 0 0;
  }
  
}

/* スマートフォン以下サイズ------------------------------- */
@media screen and (max-width:767px) {
  
  #header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 5;
  }
  #header .header_in {
    width: 100%;
    height: 100%;
    padding: 0 0 55px;
    background: #fff;
    box-sizing: border-box;
    display: none;
    position: fixed;
    z-index: -1;
  }
  #header .header_in > div {
    -webkit-overflow-scrolling: touch;
    overflow: auto;
    height: 100%;
  }
  #header .header_in .nav {
    padding: 10px 4% 0;
  }
  .header_in .nav a {
    padding: 15px 4% 15px 10px;
    color: #000;
    font-size: 14px;
    box-sizing: border-box;
    display: block;
    border-bottom: solid 1px #ccc;
    background: url(../img/common/cv_g.png) right 10px center no-repeat;
    background-size: 17px;
  }
  .header_in .nav:nth-child(4) {
    letter-spacing: -.4em;
    text-align: center;
  }
  .header_in .nav:nth-child(4) li {
    width: 48.5%;
    margin: 0;
    display: inline-block;
    text-align: left;
  }
  .header_in .nav:nth-child(4) li:nth-child(2n) {
    margin: 0 0 0 3%;
  }
  .header_in .nav:nth-child(4) a {
    padding: 17px 4% 17px 10px;
    font-size: 12px;
  }
  .header_in .contact_fix {
    padding: 25px 4% 0;
    overflow: hidden;
  }
  .header_in .contact_fix a {
    display: block;
    width: 100%;
    margin: 0 0 15px 0;
    background: #03a864 url(../img/common/cv_w.png) right 10px center no-repeat;
    background-size: 17px;
    padding: 15px;
    font-size: 15px;
    color: #fff;
    float: left;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
  }
  .header_in .contact_fix a:last-child {
    background: #017540 url(../img/common/cv_w.png) right 10px center no-repeat;
    background-size: 17px;
  }
  .header_in .menu_tel {
    padding: 20px 4%;
    background: #f2f2f2;
    text-align: center;
  }
  .header_in .menu_tel .tel {
    color: #03a864;
    font-weight: bold;
    display: inline-block;
    font-size: 17px;
    padding: 0 0 0 30px;
    background: url(../img/common/tel_icon.png) left center no-repeat;
    background-size: 20px;
    margin: 0 0 7px;
  }
  .header_in .menu_tel p {
    font-size: 12px;
  }
  .header_in .menu_tel span {
    display: inline-block;
    color: #03a864;
    width: 60px;
    line-height: 18px;
    border: solid 1px #03a864;
    box-sizing: border-box;
    margin: 0 10px 0 0;
    text-align: center;
    border-radius: 5px;
    background: #fff;
  }
  .header_in .tool_banner {
    padding: 30px 4% 10px;
    overflow: hidden;
  }
  .header_in .tool_banner li {
    margin: 0 0 20px 0;
  }
  .header_menu {
    overflow: hidden;
    line-height: 1;
    background: #fff;
    overflow: hidden;
    height: 55px;
    box-shadow: 0px 0px 3px rgba(0,0,0,0.2);
  }
  .menu_trigger,
  .menu_trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
    cursor :pointer;
  }
  .menu_trigger {
    position: relative;
    width: 55px;
    height: 55px;
    background: #03a864;
    z-index: 6;
    float: right;
  }
  .menu_trigger span {
    position: absolute;
    background: #fff;
    width: 28px;
    height: 2px;
    left: 0;
    right: 0;
    margin: auto;
  }
  .menu_trigger span:nth-of-type(1) {
    top: 18px;
  }
  .menu_trigger span:nth-of-type(2) {
    top: 0;
    bottom: 0;
  }
  .menu_trigger span:nth-of-type(3) {
    bottom: 18px;
  }
  .menu_trigger.active span:nth-of-type(1){
    -webkit-transform: translateY(9px) rotate(-45deg);
    transform: translateY(9px) rotate(-45deg);
  }
  .menu_trigger.active span:nth-of-type(2){
    opacity: 0;
  }
  .menu_trigger.active span:nth-of-type(3){
    -webkit-transform: translateY(-8px) rotate(45deg);
    transform: translateY(-8px) rotate(45deg);
  }
  #header h1 {
    padding: 0;
    background: none;
  }
  #header .header_menu > .logo,
  #header h1 {
    margin: 17px 0 0 4%;
    float: left;
    width: 140px;
  }
  #header h1 .logo {
    display: block;
  }
  #header .login_btn {
    width: 120px;
    line-height: 35px;
    text-align: center;
    padding: 0 0 0 15px;
    background: #a6be29 url(../img/common/login_header.png) left 13px center no-repeat;
    background-size: 15px;
    display: block;
    color: #fff;
    font-weight: bold;
    float: right;
    border-radius: 6px;
    font-size: 12px;
    margin: 10px 10px 0 0;
  }

}