@charset "UTF-8";

.header {
  width: 100%;
  height: 60px;
  background: #fff;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1112;
}
.header__logo {
  width: 135px;
  position: absolute;
  left: 20px;
  top: 3px;
}

.header__info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.header__info .lang {
  font-size: 2rem;
  color: #B5B5B5;
  margin-left: 15px;
  padding-top: 8px;
}
.header__info .lang .is-current {
  color: #147D70;
}

/* search form
------------------------------------------- */
.header .search-form-pc form {
  z-index: 1;
  position: absolute;
  right: 170px;
  top: 10px;
}
.header .search-form-pc .search-form-submit-keyword {
  width: 0;
  border-radius: 40px;
  transition: width .2s;
  padding: 0;
}
.header .search-form-pc:hover .search-form-submit-keyword,
.header .search-form-pc .search-form-submit-keyword:focus,
.header .search-form-pc .search-form-submit-keyword:not(:placeholder-shown) {
  width: 300px;
  border: 1px solid #147D70;
  padding: 0 20px;
  padding-right: 40px;
}
.header .search-form-btn {
  width: 39px;
  height: 39px;
  position: absolute;
  right: 170px;
  top: 10px;
  cursor: pointer;
}
.header .search-form-btn::before {
  content: "";
  display: block;
  width: 39px;
  height: 39px;
  background: url("../img/icon_search.png") no-repeat center center / 100% auto;
}
.header .search.is-open .search-form-btn {
  display: none;
}
.header .search-form-submit {
  appearance: none;
  border: none;
  outline: none;
  display: block;
  text-indent: -9999px;
  width: 39px;
  height: 39px;
  background: url("../img/icon_search.png") no-repeat center center / 100% auto;
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
}

.header .search-form-submit-keyword {
  height: 40px;
  width: 100%;
  border: none;
  outline: none;
}


/* btn-menu
------------------------------------------- */
.btn-menu {
  width: 50px;
  height: 50px;
  margin: 0 20px;
  position: relative;
  top: 5px;
  cursor: pointer;
  z-index: 1112;
}
.btn-menu i {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%;
  height: 4px;
  background-color: #147D70;
  transform: translate(-50%, -50%);
  transition: .2s;
}
.btn-menu i::before,
.btn-menu i::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background-color: #147D70;
  transition: .2s;
}
.btn-menu i::before {
  margin-top: -12px;
}
.btn-menu i::after {
  margin-top: 12px;
}

.btn-menu.is-open {
  background: transparent;
}
.btn-menu.is-open i {
  background: transparent;
}
.btn-menu.is-open i::before,
.btn-menu.is-open i::after {
  margin-top: 0;
  background-color: #147D70;
}
.btn-menu.is-open i::before {
  transform: rotate(45deg);
}
.btn-menu.is-open i::after {
  transform: rotate(-45deg);
}


/* menu
------------------------------------------- */
.menu {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1111;
  background: rgba(0, 0, 0, 0.25);
  padding-top: 60px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .4s;
}
.menu.is-open {
  visibility: inherit;
  opacity: 1;
}
.menu__inner {
  height: 100%;
  position: relative;
}
.menu__contents {
  background: #fff;
  width: 300px;
  height: 100%;
  position: absolute;
  right: -300px;
  top: 0;
  transition: right 0.4s;
  transition-delay: 0.4s;
  overflow-y: auto;
}
.menu.is-open .menu__contents {
  right: 0;
}

.menu__link-div-title {
  background: #F5F5F5;
  color: #107C70;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
  position: relative;
  border-bottom: 1px solid #DDDDDD;
}
.menu__link-div-title a {
  display: block;
  padding: 15px 20px;
}
.menu__link-div-title::after {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid #107C70;
  border-style: none solid solid none;
  display: block;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: rotate(45deg) translateY(-50%);
}
.menu__link-div-title--no-symbol::after {
  content: none;
}

.menu__link-list {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
}
.menu__link-list .item {
  color: #107C70;
  font-size: 1.4rem;
  font-weight: 500;
  width: 100%;
}
.menu__link-list .item a {
  display: inline-block;
  padding: 5px 10px;
  position: relative;
}

.menu__link-mail {
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 500;
  border-top: 1px solid #DDDDDD;
}
.menu__link-mail a {
  color: #107C70;
  width: 100%;
  height: 100%;
  padding: 20px 40px 20px 20px;
  background: #F5F5F5;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  transition: background .4s;
}
.menu__link-mail .btn-mail {
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu__link-mail .icon-mail {
  display: inline-block;
  width: 20px;
  height: 15px;
  background: url("../img/icon_mail_grm.png") no-repeat center center / 100% auto;
  margin: 0 10px 0 0;
}
.menu__link-mail .icon-arw {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("../img/icon_arw_circle_grn.png") no-repeat center center / 100% auto;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.menu__link-mail .text {
  font: inherit;
  letter-spacing: 0;
}


.menu__bottom-link-list {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  margin: 0 -15px;
}
.menu__bottom-link-list .item {
  color: #919191;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 5px 15px;
}


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

  .header__logo {
    width: 115px;
    left: 12px;
    top: 7px;
  }
  .header__info .lang {
    font-size: 1.6rem;
  }
  .header .search.is-open .search-form-sp form {
    opacity: 1;
    visibility: initial;
  }
  .header .search .search-form-sp form {
    opacity: 0;
    transition: opacity .2s;
    visibility: hidden;
    width: 100%;
    position: absolute;
    right: 0;
    top: 60px;
    z-index: 1;
    padding: 10px 20px 20px;
    background: #fff;
  }
  .header .search.is-open .search-form-btn {
    display: block;
  }
  .header .search-form-submit {
    position: absolute;
    right: 25px;
    top: 10px;
  }
  .header .search-form-btn {
    right: 140px;
  }
  .header .search-form-sp .search-form-submit-keyword {
    border: 1px solid #147D70;
    padding: 0 20px;
    padding-right: 40px;
    border-radius: 40px;
  }


  .btn-menu {
    margin: 0 15px;
  }

  .menu__contents {
    width: 100%;
    height: auto;
    max-height: 100%;
    overflow: hidden;
    overflow-y: auto;
    right: -100%;
  }
  .menu__bottom-link-list {
    padding: 10px 20px 25px;
  }
  .menu__bottom-link-list .item {
    width: 100%;
  }

}


