#gnavi_re {
  padding: 0;
}

#gnavi_re * {
  box-sizing: border-box;
}

#gnavi_re .flex {
  display: none;
  height: 100vh;
  padding: 0;
}

@media screen and (max-width: 780px) {
  #gnavi_re .flex {
    flex-direction: column;
  }
}

@media screen and (max-width: 540px) {
  #gnavi_re .flex {
    height: inherit;
  }
}

#gnavi_re .flex .flex-left {
  width: 34%;
  background: url(../img/be_a_tochigist.png), linear-gradient(to bottom, #34aaaf 0%, #8fc5c8 44%, #dddddd 100%);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% auto;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 780px) {
  #gnavi_re .flex .flex-left {
    width: 100%;
    padding: 30px 0 60px;
    order: 2;
    background: url(../img/be_a_tochigist-sp.png), linear-gradient(to bottom, #34aaaf 0%, #8fc5c8 44%, #dddddd 100%);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
  }
}

#gnavi_re .flex .flex-right {
  width: 66%;
  padding: 3.3vw 6.6vw;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media screen and (max-width: 780px) {
  #gnavi_re .flex .flex-right {
    width: 100%;
    height: calc(100vh - 140px);
    order: 1;
  }
}

@media screen and (max-width: 780px) {
  #gnavi_re .flex .flex-right {
    height: auto;
  }
}

@media screen and (max-width: 540px) {
  #gnavi_re .flex .flex-right {
    padding: 4vw 4vw 8vw;
  }
}

#gnavi_re .flex .flex-right .nav-list {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

@media screen and (max-width: 540px) {
  #gnavi_re .flex .flex-right .nav-list {
    padding: 20px 0;
  }
}

#gnavi_re .flex .flex-right .nav-list li {
  padding: 0 50px 30px 0;
  /*a{
						span{
							position: relative;
							display: inline-block;
							font-size: 18px;
							@media screen and (max-width: 780px){
								font-size: 14px;
							}
							&:before,
							&:after{
								position: absolute;
								content: "";
								width: 100%;
								height: 1px;
								bottom: 0;
								left: 0;
								background: #333;
								transform-origin: right top;
								transform: scale(0, 1);
								transition: transform .5s;
							}
							&:before{
								transform-origin: left top;
								transform: scale(1, 1);
							}
						}
						&:hover{
                            color: #333;
							span:before{
								display: none;
							}
							span:after{
								transform-origin: left top;
								transform: scale(1, 1);
							}
						}*/
  /*&:hover{
							span:after{
								animation: line 0.3s;
							}
						}
						@keyframes line {
							0% {
								transform-origin: right top;
								transform: scale(1, 1);
							}
							100% {
								transform-origin: left top;
								transform: scale(0, 1);
							}
						}*/
  /*}*/
}

#gnavi_re .flex .flex-right .nav-list li:nth-child(odd) {
  width: 410px;
}

#gnavi_re .flex .flex-right .nav-list li:nth-child(even) {
  width: calc(100% - 410px);
}

@media screen and (max-width: 1500px) {
  #gnavi_re .flex .flex-right .nav-list li {
    padding: 0 3.3vw 30px 0;
  }
}

@media screen and (max-width: 1200px) {
  #gnavi_re .flex .flex-right .nav-list li:nth-child(odd) {
    width: 56%;
  }
  #gnavi_re .flex .flex-right .nav-list li:nth-child(even) {
    width: 44%;
  }
}

@media screen and (max-width: 640px) {
  #gnavi_re .flex .flex-right .nav-list li {
    width: 100%;
    padding: 10px 0;
    text-align: center;
  }
  #gnavi_re .flex .flex-right .nav-list li:nth-child(odd), #gnavi_re .flex .flex-right .nav-list li:nth-child(even) {
    width: 100%;
  }
}

#gnavi_re .flex .flex-right .nav-list li a {
  text-decoration: none;
}

#gnavi_re .flex .flex-right .nav-list li a:hover, #gnavi_re .flex .flex-right .nav-list li a:focus-visible {
  color: #3c3c3c;
}

#gnavi_re .flex .flex-right .nav-list li a:hover span .jp::after, #gnavi_re .flex .flex-right .nav-list li a:focus-visible span .jp::after {
  transform: scaleX(1);
}

#gnavi_re .flex .flex-right .nav-list li a span .en {
  font-size: 11px;
  line-height: 1;
  display: block;
}

#gnavi_re .flex .flex-right .nav-list li a span .jp {
  font-size: 17px;
  position: relative;
  display: inline-block;
}

#gnavi_re .flex .flex-right .nav-list li a span .jp::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.05em;
  width: 100%;
  height: 1px;
  background-color: #000;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms ease;
}

@media screen and (max-width: 780px) {
  #gnavi_re .flex .flex-right .nav-list li a span .en {
    font-size: 10px;
  }
  #gnavi_re .flex .flex-right .nav-list li a span .jp {
    font-size: 14px;
  }
}

#gnavi_re .flex .flex-right .nav-recruit {
  position: relative;
  margin: 5.3vw 0 0;
}

#gnavi_re .flex .flex-right .nav-recruit .ttl {
  position: absolute;
  top: -13px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 1;
}

#gnavi_re .flex .flex-right .nav-recruit .nav-recruit-bnr {
  padding: 35px 1.6vw 25px;
  border-radius: 15px;
  background: #EAF3F4;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-wrap: wrap;
}

#gnavi_re .flex .flex-right .nav-recruit .nav-recruit-bnr li {
  width: 33.3%;
  padding: 0.6vw 1vw;
}

@media screen and (max-width: 780px) {
  #gnavi_re .flex .flex-right .nav-recruit .nav-recruit-bnr li {
    padding: 5px;
  }
}

@media screen and (max-width: 540px) {
  #gnavi_re .flex .flex-right .nav-recruit .nav-recruit-bnr li {
    width: 50%;
  }
}

#gnavi_re .flex .flex-right .nav-recruit .nav-recruit-bnr li a img {
  border-radius: 10px;
}

#gnavi_re .flex .flex-right .nav-recruit .nav-recruit-bnr li a p {
  font-size: 12px;
  line-height: 1.4;
}

@media screen and (max-width: 780px) {
  #gnavi_re .flex .flex-right .nav-recruit .nav-recruit-bnr li a p {
    font-size: 10px;
  }
}

#gnavi_re.open {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: #fff;
  top: 0;
  left: 0;
  z-index: 9999999;
}

@media screen and (max-width: 540px) {
  #gnavi_re.open {
    height: 100%;
    overflow-y: scroll;
  }
}

#gnavi_re.open .flex {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}

@media screen and (max-width: 540px) {
  #gnavi_re.open .flex {
    height: 100%;
  }
}

#gnavi_re.open #menu_btn {
  color: #fff;
  /*background: #333;*/
}

@media screen and (min-width: 781px) {
  #gnavi_re.open #menu_btn:hover {
    color: #3C3C3C;
    background: #fff;
  }
  #gnavi_re.open #menu_btn:hover .line:before, #gnavi_re.open #menu_btn:hover .line:after {
    background: #3C3C3C;
  }
}

#gnavi_re.open #menu_btn .ttl {
  display: none;
}

#gnavi_re.open #menu_btn .menu {
  display: none;
}

#gnavi_re.open #menu_btn .close {
  display: block;
}

#gnavi_re.open #menu_btn .line:before, #gnavi_re.open #menu_btn .line:after {
  /*background: #333;*/
}

#gnavi_re.open #menu_btn .line:before {
  top: 4px;
  transform: rotate(-45deg);
}

#gnavi_re.open #menu_btn .line:after {
  bottom: 4px;
  transform: rotate(45deg);
}

@media screen and (max-width: 780px) {
  #gnavi_re.open #menu_btn {
    color: #fff;
    border: none;
    background: #3C3C3C;
  }
  #gnavi_re.open #menu_btn .line:before, #gnavi_re.open #menu_btn .line:after {
    background: #fff;
  }
}

#gnavi_re #menu_btn {
  position: fixed;
  top: 40px;
  right: 40px;
  padding: 5px 25px;
  color: #fff;
  border-radius: 60px;
  border: 1px solid #3C3C3C;
  background: #333;
  cursor: pointer;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999999;
  transition: 0.5s;
}

@media screen and (max-width: 780px) {
  #gnavi_re #menu_btn {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 7px 10px;
    border-radius: 0;
    height: 40px;
  }
}

@media screen and (min-width: 781px) {
  #gnavi_re #menu_btn:hover {
    color: #3C3C3C;
    background: #fff;
  }
  #gnavi_re #menu_btn:hover .line:before, #gnavi_re #menu_btn:hover .line:after {
    background: #3C3C3C;
  }
  #gnavi_re #menu_btn:hover .ttl:after {
    background: #3C3C3C;
  }
  #gnavi_re #menu_btn:hover .menu:after {
    background: #3C3C3C;
  }
}

#gnavi_re #menu_btn .ttl {
  font-size: 14px;
}

#gnavi_re #menu_btn .line {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
  margin-right: 8px;
}

#gnavi_re #menu_btn .line:before, #gnavi_re #menu_btn .line:after {
  width: 16px;
  height: 2px;
  content: "";
  position: absolute;
  left: 0;
  display: block;
  background: #fff;
  transform-origin: center;
  transition: all 0.2s linear;
}

#gnavi_re #menu_btn .line:before {
  top: 0;
}

#gnavi_re #menu_btn .line:after {
  bottom: 0;
}

#gnavi_re #menu_btn .menu {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
}

#gnavi_re #menu_btn .menu:after {
  content: "";
  display: block;
  margin: 0 10px;
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.54);
  transform: rotate(20deg);
}

#gnavi_re #menu_btn .menu, #gnavi_re #menu_btn .close {
  font-size: 12px;
  font-weight: bold;
}

#gnavi_re #menu_btn .open {
  display: block;
}

#gnavi_re #menu_btn .close {
  display: none;
}
