@charset "utf-8";

/*hamburger
***************************************************************/

.hamburger {
  position: fixed;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background-color: #2b2b2b;
  z-index: 1000;
  display: none;
  cursor: pointer;
}

.hamburger__line:nth-of-type(1) {
  position: absolute;
  top: 17px;
  left: 14px;
  width: 26px;
  height: 1.5px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.hamburger__line:nth-of-type(2) {
  position: absolute;
  top: 25px;
  left: 14px;
  width: 21px;
  height: 1.5px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.hamburger__line:nth-of-type(3) {
  position: absolute;
  top: 33px;
  left: 14px;
  width: 18.5px;
  height: 1.5px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.hamburger.active .hamburger__line:nth-of-type(1) {
  top: 25px;
  width: 21px;
  transform: rotate(-45deg);
}

.hamburger.active .hamburger__line:nth-of-type(2) {
  display: none;
}

.hamburger.active .hamburger__line:nth-of-type(3) {
  top: 25px;
  width: 21px;
  transform: rotate(45deg);
}

.mask {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../../images/img_hamburger_mask.jpg);
  background-size: cover;
  background-position: center;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 100;
}

.mask.active {
  top: 0;
  overflow-y: scroll;
}

.hamburger__logo {
  width: 103px;
  margin-top: 12px;
  margin-left: 30px;
}

.hamburger__wrapper {
  padding: 40px 48px 50px;
}

.hamburger__item {
  padding: 0;
}

.hamburger__list__wrapper {
  padding: 13px 0 7px 9px;
  border-bottom: 0.5px solid #ffffff;
}

.hamburger__list {
  color: #fff;
  line-height: 1.5;
  font-weight: 500;
}

.hamburger__list__wrapper:first-of-type {
  padding: 0 0 7px 9px;
}

.hamburger__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid #fff;
  height: 77px;
  position: relative;
}

.hamburger__link__w {
  margin-top: 30px;
}

.hamburger__link__w:hover {
  background-color: transparent;
  color: #fff;
}

.hamburger__link__g {
  margin-top: 20px;
  color: #fff;
}

.hamburger__link__g:hover {
  background-color: #fff;
  color: #0c401f;
}

.hamburger__link__img__wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
}

.hamburger__link__img,
.hamburger__link__img__hover {
  position: absolute;
  width: 100%;
  transition: opacity 0.3s ease;
}

.hamburger__link__img__hover {
  opacity: 0;
}

.hamburger__link:hover .hamburger__link__img {
  opacity: 0;
}

.hamburger__link:hover .hamburger__link__img__hover {
  opacity: 1;
}

.hamburger__link__w {
  color: #0c401f;
  background-color: #fff;
}

.hamburger__sns__wrapper {
  text-align: center;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.hamburger__sns {
  margin: 0 12.5px;
  font-size: 35px;
  color: #fff;
}

.hamburger__sns__img {
  width: 35px;
  height: 35px;
}

/* header
***************************************************************/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.header.show {
  background-color: #fff;
}

.header__logo {
  padding: 10px 30px;
}

.header.show .header__logo {
  background-color: var(--logo-bg-color);
}

.header__logo__img {
  width: 163px;
}

.gnav__wrapper {
  display: flex;
  align-items: center;
  text-align: center;
}

.gnav__list {
  margin-right: 50px;
  display: flex;
}

.gnav__list__link {
  color: var(--font-main-color);
  font-size: 18px;
  line-height: 200%;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gnav__list__link::after {
  content: "";
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  position: absolute;
  background-color: #187015;
  transition: all 0.3s ease;
}

.gnav__list__link:hover::after {
  left: 0;
}

.gnav__wrapper__link__img {
  width: 25px;
  height: 25px;
}

.gnav__list__link__full {
  width: 150px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
}

.gnav__list__link__full:hover {
  opacity: 0.7;
}

.gnav__list__consultant,
.gnav__list__operator {
  margin: 0;
}

.gnav__list__consultant .gnav__list__link__full {
  color: #fff;
  background-color: var(--consultant-bg-color);
}

.gnav__list__operator .gnav__list__link__full {
  color: #fff;
  background-color: var(--operator-bg-color);
}

.gnav__wrapper__link__text {
  margin-top: 3px;
  line-height: 100%;
}

.gnav__list__consultant .gnav__wrapper__link__text {
  font-size: 16px;
}

@media screen and (max-width: 1480px) {
  .gnav__list__consultant,
  .gnav__list__operator {
    display: none;
  }
}

@media screen and (max-width: 1060px) {
  .gnav__list {
    margin-right: 14px;
  }

  .gnav__list__link {
    font-size: 16px;
  }

  .fv__textbox {
    padding-left: 90px;
  }
}

/*
　レスポンシブ（sp）
========================================================================== */

@media (max-width: 767px) {
  /*hamburger
***************************************************************/

  .hamburger {
    display: block;
  }

  /* header
***************************************************************/

  .header {
    height: 50px;
  }

  .header__logo {
    padding: 6px 20px;
  }

  .header__logo__img {
    width: 103px;
  }

  .gnav {
    display: none;
  }
}
