@-webkit-keyframes mini_mov_maru_yaji {
  0% {
    background-color: #00979b;
    background-position: 50% 50%;
  }

  50% {
    background-position: 150% 50%;
  }

  51% {
    background-position: 0% 50%;
    background-image: url("../../images/ico_yaji06_green.svg");
  }

  100% {
    background-color: #fff;
    background-position: 50% 50%;
    background-image: url("../../images/ico_yaji06_green.svg");
  }
}

@keyframes mini_mov_maru_yaji {
  0% {
    background-color: #00979b;
    background-position: 50% 50%;
  }

  50% {
    background-position: 150% 50%;
  }

  51% {
    background-position: 0% 50%;
    background-image: url("../../images/ico_yaji06_green.svg");
  }

  100% {
    background-color: #fff;
    background-position: 50% 50%;
    background-image: url("../../images/ico_yaji06_green.svg");
  }
}

#top_contents {
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.6;
  padding-bottom: min(100px, 10vw);
}

#top_contents .sec_header {
  margin-bottom: min(50px, 5vw);
}

#top_contents .sec_header h2 {
  font-size: clamp(1.375rem, 0.9141221374rem + 1.7811704835vw, 2.25rem);
  font-weight: 900;
  text-align: center;
  color: #151515;
  line-height: 1.1;
  margin: 0 0 22px;
  position: relative;
}

#top_contents .sec_header h2:before {
  content: "";
  position: absolute;
  left: calc(50% - 20px);
  bottom: -12px;
  width: 40px;
  height: 2px;
  background-color: #00979b;
}

#top_contents .sec_header .jp_txt {
  font-size: clamp(0.875rem, 0.8420801527rem + 0.1272264631vw, 0.9375rem);
  font-weight: bold;
  text-align: center;
  margin-top: 8px;
  color: #00979b;
}

#top_contents h3 {
  font-size: clamp(1rem, 0.703721374rem + 1.1450381679vw, 1.5625rem);
  font-weight: bold;
  margin: 0 0 min(35px, 3.5vw);
}

#top_contents .btn_link {
  line-height: 1.2;
  margin-top: min(50px, 5vw);
}

#top_contents .btn_link a {
  min-width: 200px;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1.2;
  display: inline-block;
  padding: 14px 30px 14px 30px;
  text-align: center;
  color: #fff;
  border: 1px solid #00979b;
  border-radius: 50px;
  background: -webkit-gradient(linear, left top, right top, from(#fff), color-stop(50%, #fff), color-stop(50%, #00979b), to(#00979b));
  background: linear-gradient(to right, #fff 0%, #fff 50%, #00979b 50%, #00979b 100%);
  background-size: 210% 100%;
  background-position: 100% 0;
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
  position: relative;
}

#top_contents .btn_link a:hover {
  text-decoration: none;
  color: #00979b;
  background-position: 0 0;
}

#top_contents .btn_link a:hover:after {
  background-image: url("../../images/ico_yaji05_red.svg");
}

#top_contents .btn_link a:after {
  content: "";
  position: absolute;
  right: 16px;
  top: 0;
  width: 10px;
  height: 100%;
  background-repeat: no-repeat;
  background-position: 95% 50%;
  background-image: url("../../images/ico_yaji05_wh.svg");
  background-size: 10px auto;
}

@media screen and (max-width: 768px) {
  #top_contents .btn_link {
    text-align: center;
  }
}

#top_contents .link_arrow {
  margin-top: min(50px, 5vw);
}

#top_contents .link_arrow a {
  font-size: clamp(0.9375rem, 0.838740458rem + 0.3816793893vw, 1.125rem);
  font-weight: bold;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-right: 100px;
  height: 40px;
  color: #00979b;
  position: relative;
}

#top_contents .link_arrow a:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0px;
  width: 88px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-image: url("../../images/ico_yaji06_white.svg");
  background-size: 27px auto;
  background-color: #00979b;
  border: 1px solid #00979b;
  border-radius: 20px;
}

#top_contents .link_arrow a:hover {
  text-decoration: none;
}

#top_contents .link_arrow a:hover:before {
  -webkit-animation: mini_mov_maru_yaji 0.5s ease;
  animation: mini_mov_maru_yaji 0.5s ease;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  text-decoration: none;
  color: #00979b;
}

@media screen and (max-width: 768px) {
  #top_contents {
    font-size: 14px;
    font-size: 0.875rem;
  }
}

#top_main_img_container {
  margin-top: -8px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  #top_main_img_container {
    margin-top: 0;
  }
}

#topsec_tokucho {
  padding: min(90px, 9vw) 1em;
  position: relative;
}

#topsec_tokucho .sec_row {
  max-width: 1232px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

#topsec_tokucho .sec_row .sec_col {
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
  width: 48%;
}

#topsec_tokucho .sec_row .sec_col .sec_inner {
  padding: min(60px, 6vw) min(30px, 3vw);
}

#topsec_tokucho .sec_row .sec_col .sec_imgs .sec_img01 img {
  width: 90%;
}

#topsec_tokucho .sec_row .sec_col .sec_imgs .sec_img02 {
  position: relative;
  margin-top: 20px;
  text-align: right;
}

@media screen and (max-width: 768px) {
  #topsec_tokucho .sec_row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  #topsec_tokucho .sec_row .sec_col {
    width: 100%;
  }

  #topsec_tokucho .sec_row .sec_col .sec_imgs .sec_img02 {
    margin-top: 10px;
  }

  #topsec_tokucho .sec_row .sec_col .sec_imgs .sec_img02 img {
    width: 36%;
    max-width: 290px;
  }
}

#topsec_service {
  padding: min(90px, 9vw) 1em;
  position: relative;
  background-color: #f6f6f6;
}

#topsec_service h3 {
  text-align: center;
}

#topsec_service ul.btn_ul {
  max-width: 1232px;
  margin: 0 auto;
  padding: 0;
  list-style-type: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px 1%;
}

#topsec_service ul.btn_ul li {
  margin: 0;
  padding: 0;
  -webkit-box-flex: 0;
  -ms-flex: 0 1 49%;
  flex: 0 1 49%;
}

#topsec_service ul.btn_ul li a {
  display: block;
  aspect-ratio: 1/0.389;
  padding: 1em 0.5em 1em 2.5em;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  color: #151515;
  text-decoration: none;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#topsec_service ul.btn_ul li a h4 {
  font-size: clamp(1rem, 0.6708015267rem + 1.272264631vw, 1.625rem);
  font-weight: bold;
}

#topsec_service ul.btn_ul li a:hover {
  opacity: 0.75;
}

#topsec_service ul.btn_ul li:nth-child(1) a {
  background-image: url("../../images/top_bgimg2001.webp");
}

#topsec_service ul.btn_ul li:nth-child(2) a {
  background-image: url("../../images/top_bgimg2002.webp");
}

#topsec_service ul.btn_ul li:nth-child(3) a {
  color: #fff;
  background-image: url("../../images/top_bgimg2003.webp");
}

#topsec_service ul.btn_ul li:nth-child(4) a {
  background-image: url("../../images/top_bgimg2004.webp");
}

@media screen and (max-width: 768px) {
  #topsec_service ul.btn_ul {
    gap: 10px 0;
  }

  #topsec_service ul.btn_ul li {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 100%;
    flex: 0 1 100%;
  }
}

#topsec_news {
  padding: min(90px, 9vw) 1em;
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

#topsec_news .link_arrow {
  text-align: center;
}

#topsec_recruit a {
  display: block;
  max-width: 1232px;
  margin: 0 auto;
  padding: min(30px, 3vw) min(50px, 5vw);
  color: #151515;
  text-decoration: none;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  background-image: url("../../images/top_bgimg_recruit.webp?ver=202509005");
  aspect-ratio: 1/0.356;
}

#topsec_recruit a .sec_header {
  text-align: left;
}

#topsec_recruit a .sec_header h2 {
  text-align: left;
}

#topsec_recruit a .sec_header h2:before {
  left: 0;
}

#topsec_recruit a .sec_header .jp_txt {
  text-align: left;
}

#topsec_recruit a:hover {
  text-decoration: none;
}

#topsec_recruit a:hover .a_arrow:before {
  -webkit-animation: mini_mov_maru_yaji 0.5s ease;
  animation: mini_mov_maru_yaji 0.5s ease;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  text-decoration: none;
  color: #00979b;
}

#topsec_recruit a .a_arrow {
  margin-top: min(50px, 5vw);
  font-size: clamp(0.9375rem, 0.838740458rem + 0.3816793893vw, 1.125rem);
  font-weight: bold;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-right: 88px;
  height: 40px;
  color: #00979b;
  position: relative;
}

#topsec_recruit a .a_arrow:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0px;
  width: 88px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-image: url("../../images/ico_yaji06_white.svg");
  background-size: 27px auto;
  background-color: #00979b;
  border: 1px solid #00979b;
  border-radius: 20px;
}