/***********************
 front-main-bg
************************/
.front-bg-slide {
  width: 100%;
  height: calc(100vh - 87.5px);
  height: -webkit-calc(100vh - 87.5px);
  overflow: hidden;
  position: relative;
}
.front-bg-slide .slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 87.5px);
  height: -webkit-calc(100vh - 87.5px);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 10;
  opacity: 0;
  animation-name: fade;
  animation-duration: 12s;
  animation-iteration-count: infinite;
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    z-index: 0;
  }
}
.front-bg-slide .slide-img:nth-of-type(1) {
  background-image: url("../../images/top/top_main01.JPG");
}
.front-bg-slide .slide-img:nth-of-type(2) {
  background-image: url("../../images/top/kaitai.jpg");
  animation-delay: 4s;
}
.front-bg-slide .slide-img:nth-of-type(3) {
  background-image: url("../../images/top/main3.JPG");
  animation-delay: 8s;
}
@media (max-width: 991px) {
  .front-bg-slide {
    height: calc(100vh - 72.91px);
    height: -webkit-calc(100vh - 72.91px);
  }
  .front-bg-slide .slide-img {
    height: calc(100vh - 72.91px);
    height: -webkit-calc(100vh - 72.91px);
  }
}
/**************************
 front-vision
***************************/
#front-vision {
  padding-top: 80px;
  padding-bottom: 10px;
  background: #e8f2f1;
}
#front-vision h2 {
  color: #479d9b;
  text-align: center;
  margin-bottom: 50px;
}
#front-vision h2 span:nth-of-type(1) {
  font-size: 62px;
  display: block;
  margin-bottom: 5px;
}
#front-vision h2 span:nth-of-type(2) {
  font-size: 24px;
  display: block;
}
#front-vision .flex {
  display: flex;
  flex-wrap: wrap;
}
#front-vision .flex .text-area {
  width: calc(100% - 200px);
  width: -webkit-calc(100% - 200px);
}
#front-vision .flex .img-area {
  width: 200px;
}
#front-vision .flex .img-area img {
  width: 100%;
}
#front-vision .flex .text-area .main-catch {
  font-size: 58px;
  margin-bottom: 10px;
  font-weight: bold;
}
#front-vision .flex .text-area .sub-catch {
  font-size: 32px;
  text-indent: 2em;
}
@media (max-width: 1399px) {
  #front-vision .flex .text-area .main-catch {
    font-size: 52px;
  }
}
@media (max-width: 1199px) {
  #front-vision .flex .text-area .main-catch {
    font-size: 42px;
  }
  #front-vision .flex .text-area .sub-catch {
    font-size: 24px;
  }
}
@media (max-width: 991px) {
  #front-vision .flex .text-area {
    width: 100%;
    margin-bottom: 50px;
  }
  #front-vision .flex .img-area {
    width: 240px;
    margin: 0 auto;
  }
  #front-vision .flex .text-area .main-catch {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
  }
  #front-vision .flex .text-area .sub-catch {
    font-size: 24px;
    text-indent: 1em;
    text-align: center;
  }
}
@media (max-width: 767px) {
  #front-vision .flex .img-area {
    width: 120px;
    margin: 0 auto;
  }
  #front-vision .flex .text-area .main-catch {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
  }
  #front-vision .flex .text-area .sub-catch {
    font-size: 14px;
    text-indent: 1em;
    text-align: center;
  }
}
/***************************************
 front-service
***************************************/
#front-service {
  padding-top: 80px;
  padding-bottom: 80px;
}
#front-service h2 {
  color: #000;
  text-align: center;
  margin-bottom: 50px;
}
#front-service h2 span:nth-of-type(1) {
  font-size: 62px;
  display: block;
  margin-bottom: 5px;
}
#front-service h2 span:nth-of-type(2) {
  font-size: 24px;
  display: block;
}
#front-service .catch-box span {
  display: block;
  margin-bottom: 15px;
}
#front-service .catch-box {
  text-align: center;
  margin-bottom: 100px;
}
#front-service .service-box {
  position: relative;
}
#front-service .service-box.s1 {
  margin-bottom: 200px;
}
#front-service .service-box.s1 .thumb {
  max-width: 800px;
  width: 100%;
  height: 500px;
  background: url("../../images/top/top_service01.jpg");
  background-size: cover;
  background-position: center;
  margin-left: auto;
  margin-right: 0;
}
#front-service .service-box.s1 .box {
  position: absolute;
  max-width: 400px;
  padding: 50px;
  border: 1px solid #000;
  top: -30px;
  left: 130px;
  z-index: 1;
}
#front-service .service-box.s2 {
  margin-bottom: 100px;
}
#front-service .service-box.s2 .thumb {
  max-width: 800px;
  width: 100%;
  height: 500px;
  background: url("../../images/top/top_service02.jpg");
  background-size: cover;
  background-position: center;
  margin-left: 0;
  margin-right: auto;
}
#front-service .service-box.s2 .box {
  position: absolute;
  max-width: 400px;
  padding: 50px;
  border: 1px solid #000;
  top: -30px;
  right: 130px;
  z-index: 1;
}
#front-service .service-box .title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
}
#front-service .service-box .catch {
  margin-bottom: 30px;
}
#front-service .service-box .link a {
  color: #000;
  text-decoration: none;
  position: relative;
}
#front-service .service-box .link a:before {
  position: absolute;
  content: "";
  display: inline-block;
  position: absolute;
  top: 10px;
  right: -50px;
  width: 30px;
  height: 1px;
  background: #000;
  animation: arrows 2s infinite;
}
@keyframes arrows {
  0% {
    right: -50px;
  }
  50% {
    right: -60px;
  }
  100% {
    right: -50px;
  }
}
#front-service .service-box .link a:after {
  position: absolute;
  content: "";
  display: inline-block;
  position: absolute;
  top: 8px;
  right: -50px;
  width: 5px;
  height: 5px;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  transform: rotate(-45deg);
  animation: move-arrows 2s infinite;
}
@keyframes move-arrows {
  0% {
    right: -50px;
  }
  50% {
    right: -60px;
  }
  100% {
    right: -50px;
  }
}
@media (max-width: 1399px) {
  #front-service .service-box.s1 .box {
    left: 0;
  }
  #front-service .service-box.s2 .box {
    right: 0;
  }
  #front-service .service-box.s1 .thumb {
    max-width: 750px;
  }
  #front-service .service-box.s2 .thumb {
    max-width: 750px;
  }
}
@media (max-width: 1199px) {
  #front-service .service-box.s1 .thumb {
    max-width: 570px;
  }
  #front-service .service-box.s2 .thumb {
    max-width: 570px;
  }
}
@media (max-width: 991px) {
  #front-service .service-box.s1 {
    margin-bottom: 100px;
  }
  #front-service .service-box.s1 .box {
    position: static;
    border: none;
  }
  #front-service .service-box.s1 .thumb {
    height: 300px;
    width: 100%;
    max-width: 100%;
  }
  #front-service .service-box.s2 .box {
    position: static;
    border: none;
  }
  #front-service .service-box.s2 .thumb {
    height: 300px;
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  #front-service .catch-box {
    text-align: left;
  }
}
/**********************************
 front-news
**********************************/
#front-news {
  padding-top: 100px;
  padding-bottom: 100px;
  background: #e8f2f1;
}
#front-news .flex {
  display: flex;
  flex-wrap: wrap;
}
#front-news .flex .title-box {
  width: 400px;
  align-content: center;
}
#front-news .flex .title-box h2 span {
  display: block;
  color: #479d9b;
}
#front-news .flex .title-box h2 span:nth-of-type(1) {
  font-size: 62px;
  margin-bottom: 5px;
}
#front-news .flex .title-box h2 span:nth-of-type(2) {
  font-size: 28px;
}
#front-news .flex .news-box {
  width: calc(100% - 400px);
  width: -webkit-calc(100% - 400px);
}
#front-news .flex .news-box .news-area {
  padding: 50px;
  background: #fff;
  border-radius: 15px;
}
#front-news ul li {
  display: flex;
  border: 1px solid #000;
  margin-bottom: 30px;
  border-radius: 30px;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-right: 30px;
  align-items: center;
}
#front-news ul li .display_new {
  min-width: 100px;
  text-align: center;
  color: red;
}
#front-news ul li .news_time {
  width: 150px;
}
#front-news ul li .news_link {
  width: calc(100% - 250px);
  width: -webkit-calc(100% - 250px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#front-news ul li .news_link a {
  color: #000;
  text-decoration: none;
}
#front-news .link {
  text-align: right;
}
#front-news a {
  text-decoration: underline;
}
#front-news .link span:nth-of-type(1) {
  display: inline-block;
  color: #000;
  margin-right: 15px;
}
#front-news .link span:nth-of-type(2) {
  content: "";
  display: inline-block;
  width: 30px;
  height: 1px;
  background: #000;
  vertical-align: 4px;
  position: relative;
  animation: arrow-transform 2s infinite;
}
@keyframes arrow-transform {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}
#front-news .link span:nth-of-type(2):after {
  content: "";
  display: inline-block;
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  transform: rotate(-45deg);
}
.pc #front-news ul li:hover {
  background: #e8f2f1;
}
@media (max-width: 1199px) {
  #front-news .flex {
    display: block;
  }
  #front-news h2 {
    text-align: center;
    margin-bottom: 50px;
  }
  #front-news .flex .news-box {
    width: 100%;
  }
  #front-news .flex .title-box {
    width: 100%;
  }
}
@media (max-width: 767px) {
  #front-news ul {
    padding: 0;
  }
  #front-news ul li {
    display: block;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  #front-news ul li .display_new {
    width: auto;
    display: block;
    text-align: left;
  }
  #front-news ul li .news_link {
    width: auto;
    display: block;
  }
}
/**************************
 front-about
**************************/
#front-about {
  padding-top: 100px;
  padding-bottom: 100px;
}
#front-about h2 {
  text-align: center;
  margin-bottom: 80px;
}
#front-about h2 span:nth-of-type(1) {
  font-size: 62px;
  margin-bottom: 5px;
  display: block;
}
#front-about h2 span:nth-of-type(2) {
  font-size: 28px;
  display: block;
}
#front-about .addr_area {
  margin-bottom: 50px;
  font-size: 18px;
}
#front-about .flex {
  display: flex;
}
#front-about .flex .icon {
  width: 45px;
  margin-right: 15px;
}
#front-about .flex .icon img {
  width: 100%;
}
#front-about .flex .addr_title,
#front-about .flex .tel_title {
  font-size: 20px;
  color: #479d9b;
  margin-top: 5px;
  margin-bottom: 15px;
  font-weight: bold;
}
#front-about .flex .tel_title span:nth-of-type(2) {
  margin-left: 50px;
  margin-right: 15px;
}

#front-about .addr_cnt {
  margin-bottom: 30px;
}
#front-about .en_addr p {
  margin-bottom: 0;
}
#front-about .tel_cnt {
  margin-bottom: 15px;
  font-size: 18px;
}
#front-about .tel_cnt span:nth-of-type(2) {
  margin-left: 15px;
  margin-right: 15px;
}
#front-about .gmap {
  position: relative;
  overflow-y: hidden;
  width: 100%;
  padding-top: 75%;
}
#front-about .gmap iframe {
  position: absolute;
  top: -150px;
  left: 0;
  width: 100%;
  height: calc(100% + (150px * 2));
}
@media (max-width: 991px) {
  #front-about .addr_area {
    margin-top: 30px;
  }
}
