/*layout*/
.sp {
  display: none;
}

@media screen and (max-width: 750px) {
  .sp {
    display: block;
  }
}

/*t-main_func_tab_switch_block*/
.t-main_func_tab_switch_block {
  font-size: 15px;
}
@media screen and (max-width: 750px) {
  .t-main_func_tab_switch_block {
    font-size: 18px;
  }
}
.t-main_func_tab_switch_block:after {
  bottom: -2.6rem;
}
.t-main_func_tab_list .t-main_func_tab_list_item .new {
  position: relative;
}
.t-main_func_tab_list .t-main_func_tab_list_item .new::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 15px;
  width: 40px;
  height: 40px;
  background: url("../../img/template/new.png") no-repeat;
  background-size: contain;
}
.tab_island
  .t-main_func_tab_switch_link.active
  .t-main_func_tab_switch_block_in,
.tab_island
  .t-main_func_tab_switch_block_wrap:hover
  .t-main_func_tab_switch_block_in {
  background-color: #008755 !important;
}
.tab_island .t-main_func_tab_switch_link.active .t-main_func_tab_switch_block {
  border-bottom-color: #008755 !important;
}
.tab_island
  .t-main_func_tab_switch_link.active
  .t-main_func_tab_switch_block:after {
  border-color: #008755 transparent transparent transparent !important;
}
.tab_island
  .t-main_func_tab_switch_link.active
  .t-main_func_tab_switch_block_in,
.tab_island
  .t-main_func_tab_switch_block_wrap:hover
  .t-main_func_tab_switch_block_in
  .t-main_func_tab_obj {
  color: #fff !important;
}
.t-main_func_tab_switch_block:hover {
  border-bottom: 0.6rem solid #008755 !important;
}

/*s-system_contact*/
.s-system_contact.green a {
  border: 2px solid #008755;
  color: #008755;
}
.s-system_contact.green a:after {
  background-image: url(../../img/template/gr_arrow.png);
}
.s-system_contact.green a span {
  padding: 0;
  line-height: 1.5;
}
.s-system_contact.green a span:before {
  content: none;
}
@media screen and (max-width: 750px) {
  .s-system_contact.green a {
    padding: 15px 0;
  }
}

#example_block .s-system_contact.green {
  margin-top: 0;
  margin-bottom: 50px;
}
#example_block .s-system_contact.green a {
  margin-top: 0;
}
@media screen and (max-width: 750px) {
  /* #example_block .s-system_contact.green {
    margin-bottom: 0;
  } */
}

@media screen and (max-width: 450px) {
  #example_block .s-system_contact.green {
    margin-bottom: 0;
  }
}

/* 離島のタブだけ青にする */
.ritou
  .tab_island
  .t-main_func_tab_switch_link.active
  .t-main_func_tab_switch_block {
  border-bottom-color: #007dc8 !important;
}
.ritou
  .tab_island
  .t-main_func_tab_switch_link.active
  .t-main_func_tab_switch_block_in,
.ritou
  .tab_corporate
  .t-main_func_tab_switch_block_wrap:hover
  .t-main_func_tab_switch_block_in,
.ritou
  .tab_island
  .t-main_func_tab_switch_block_wrap:hover
  .t-main_func_tab_switch_block_in {
  background-color: #007dc8 !important;
}
.ritou
  .tab_island
  .t-main_func_tab_switch_link.active
  .t-main_func_tab_switch_block:after {
  border-color: #007dc8 transparent transparent transparent !important;
}
.ritou .t-main_func_tab_switch_block:hover {
  border-bottom: 0.6rem solid #007dc8 !important;
}

/*-----------------------------------

	pagetop

-----------------------------------*/
#pagetop_button {
  position: fixed;
  right: 375px;
  bottom: 100px;
  cursor: pointer;
  z-index: 999;
  width: 40px;
  height: 40px;
  background: #008755;
  border-radius: 50%;
  transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -ms-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  -webkit-transition-duration: 0.3s;
}
#pagetop_button:after {
  font-size: 20px;
  color: #fff;
  font-family: "Font Awesome 5 Free";
  content: "\f077";
  font-weight: bold;
  text-align: center;
  line-height: 40px;
  display: block;
  pointer-events: none;
}
#pagetop_button:hover {
  opacity: 0.7;
}
/* #pagetop_button:hover:before {
  background: #3c83ba;
} */
/* #pagetop_sp {
  display: none;
} */
@media screen and (max-width: 1500px) {
  #pagetop_button {
    right: 2%;
  }
}
@media screen and (max-width: 640px) {
  /* #pagetop_button {
    display: none !important;
  } */
  /* #pagetop_sp {
    height: 50px;
    background: #3c83ba;
    transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -ms-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    padding-top: 15px;
    cursor: pointer;
    display: block;
    box-sizing: border-box;
  }
  #pagetop_sp:hover {
    background: #3c83ba;
  }
  #pagetop_sp:after {
    font-size: 24px;
    color: #fff;
    font-family: "Font Awesome 5 Free";
    content: "\f077";
    font-weight: bold;
    text-align: center;
    display: block;
    transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -ms-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
  } */
}
