@charset "UTF-8";
@import url("contents.css");
/*========================================
header
========================================*/
.gl-hr_ar {
  padding: 10px 0;
  border-top: 5px solid #2c9215;
}
.gl-hr_ar .main-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.hr-title-box h1 {
  margin-bottom: 5px;
  font-size: 2rem;
  font-weight: 600;
}
a .hr-title-box {
  color: #000;
}
a .hr-title-box:hover {
  opacity: 0.7;
  cursor: pointer;
}
.hr-title-box h2 {
  margin-bottom: 5px;
  text-align: left
}
.gl-hr_nav {
  margin-right: 20%;
}
.gl-hr_nav ul {
  display: flex;
}
.gl-hr_nav ul li {
  position: relative;
  margin-right: 35px;
}
.gl-hr_nav ul li a {
  color: #333;
  font-size: 1.1rem;
}
.gl-hr_nav ul li:not(:last-child):after {
  content: "/";
  position: absolute;
  right: -20px
}
.sp-contact_box {
  background: #2c9215;
}
.hr-contact_box a, .fr-contact_box a, .sp-contact_box a {
  display: block;
  color: #fff;
}
.hr-contact_box {
  position: absolute;
  top: -10px;
  right: 0;
}
.hr-contact_box a {
  padding: 10px;
  background: #2c9215;
  border: 2px solid #2c9215;
  border-top: none;
  transition: 0.4s;
  opacity: 1;
}
.hr-contact_box img:last-child {
  display: none;
}
.hr-contact_box a:hover {
  background: #fff;
  color: #2c9215;
  opacity: 1;
}
.hr-contact_box a:hover img:first-child {
  display: none;
}
.hr-contact_box a:hover img:last-child {
  display: block;
}
.sp-contact_box p,.hr-contact_box p,.fr-contact_box p {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hr-contact_box img, .fr-contact_box img, .sp-contact_box img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
.wrapper {
  overflow-x: hidden;
}
.header-menu_btn {
  cursor: pointer;
  text-align: center;
}
.header-menu_btn img {
  width: 40px;
  height: auto;
}
/* サイドメニュー ※リストのスタイルは省略 */
.nav-sp_link {
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  margin-right: -300px;
  background: #fff;
  z-index: 2;
}
.nav-sp_link > div:nth-child(2) {
  width: 65px;
  background: #65c121;
}
.nav-sp_link ul {
  width: 215px;
}
.nav-sp_link ul li {
  border-top: 1px solid #aaa;
}
.nav-sp_link ul li:nth-child(1) {
  border-top: none;
}
.nav-sp_link ul li:last-child {
  border-bottom: 1px solid #aaa;
}
.nav-sp_link ul li a {
  display: block;
  padding: 25px 0;
  color: #555;
}
.nav-sp_link ul li span {
  margin-right: 5px;
  color: #2c9215;
}
.sp-contact_box {
  width: 180px;
  margin: 20px auto 20px 0;
}
.sp-contact_box a {
  padding: 10px;
  background: #2c9215;
  border: 2px solid #2c9215;
  transition: 0.4s;
  opacity: 1;
}
.sp-contact_box img:last-child {
  display: none;
}
.sp-contact_box a:hover {
  background: #fff;
  color: #2c9215;
  opacity: 1;
}
.sp-contact_box a:hover img:first-child {
  display: none;
}
.sp-contact_box a:hover img:last-child {
  display: block;
}
.sp-contact_box p {
  font-size: 0.8rem;
}
.gl-hr_nav li a {
  position: relative;
}
.gl-hr_nav li a:hover:before, .gl-hr_nav li a:hover:after {
  width: 50%;
  opacity: 1;
}
.gl-hr_nav li a:before {
  position: absolute;
  left: 50%;
  bottom: 0px;
  width: 0;
}
.gl-hr_nav li a:after {
  position: absolute;
  right: 50%;
  bottom: 0px;
  width: 0;
}
.gl-hr_nav li a:before, .gl-hr_nav li a:after {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 0;
  height: 2px;
  background: #65c121;
  opacity: 0;
  transition: all 0.6s;
}

@media (max-width:960px) {
.hr-title-box h1 {
  font-size: 1.8rem;
}
.hr-title-box h2, .hr-title-box p {
  font-size: 0.8rem;
}
.header-menu_btn p {
  font-size: 0.8rem;
}
.header-menu_btn img {
  width: 35px;
  height: auto;
}
}
/*========================================
footer
========================================*/
footer {
  position: relative;
  margin-top: 150px;
  border-bottom: 5px solid #2c9215; 
  background: #f5f5f5;
}
#topBtn {
  position: absolute;
  top: -30%;
  right: 0;
}
#topBtn:hover {
  opacity: 0.7;
  cursor: pointer;
}
footer .main-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.copyright {
  margin-right: 100px;
}
.fr-contact_box {
  text-align: center;
}
.fr-contact_box a {
  padding: 20px 10px;
  background: #2c9215;
  border: 2px solid #2c9215;
  border-bottom: none;
  transition: 0.4s;
  opacity: 1;
}
.fr-contact_box img:last-child {
  display: none;
}
.fr-contact_box a:hover {
  background: #fff;
  color: #2c9215;
  opacity: 1;
}
.fr-contact_box a:hover img:first-child {
  display: none;
}
.fr-contact_box a:hover img:last-child {
  display: block;
}
@media(max-width: 960px) {
footer .main-wrapper {
  display: flex;
  flex-direction: column-reverse;
}
.copyright {
  margin-right: 0;
  padding: 10px 0;
}
.fr-contact_box {
  padding: 0;
}
}

@media(max-width: 767px) {
.copyright {
  font-size: 12px;
}
#topBtn {
  position: absolute;
  top: -65%;
  right: 0;
}
footer {
  margin-top: 70px;
}
}
