@charset "UTF-8";

/* firstview */
.firstview {
  position: relative;
}
.firstview .video-wrap video {
  height: 100vh;
  width: 100%;
  object-fit: cover;
}
.firstview .txt-wrap {
  position: absolute;
  bottom: 10%;
  right: 5%;
  background: rgba(255,255,255,.3);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
}
.firstview .txt-wrap p {
  color: #fff;
  font-size: 3rem;
  text-shadow: 2px 2px #181818;
}
@media screen and (max-width: 1024px) {
  .firstview .video-wrap video {
    height: 500px;
  }
}
@media screen and (max-width: 767px) {
  .firstview .txt-wrap p {
    font-size: 1.8rem;
  }
}

/* top-greeting-sec */
.sec.top-greeting-sec {
  padding: 8rem 0;
}
.top-greeting-eles p {
  text-align: center;
}
@media screen and (max-width: 767px) {
  .sec.top-greeting-sec {
    padding: 5rem 0;
  }
}

/* top-bnr-sec */
.ul-top-bnr1 {
  display: flex;
}
.ul-top-bnr1 li {
  position: relative;
  width: calc(100% / 3);
}
.ul-top-bnr1 li .txt-wrap {
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
  left: 50%;
  background: rgba(255,255,255,.3);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  text-align: center;
}
.ul-top-bnr1 li .txt-wrap p {
  color: #fff;
  font-size: 2rem;
  text-shadow: 2px 2px #181818;
}
@media screen and (max-width: 767px) {
  .ul-top-bnr1 {
    flex-wrap: wrap;
  }
  .ul-top-bnr1 li {
    width: 100%;
  }
  .ul-top-bnr1 li .txt-wrap p {
    font-size: 1.8rem;
  }
}

/* top-company-sec */
.sec.top-company-sec {
  background: url(../images/top/top-company-sec.webp) no-repeat center / cover;
  padding: 10rem 0;
}
.top-company-wrap {
  position: relative;
}
.top-company-wrap .ttl-wrap {
  background: rgba(255,255,255,.3);
  backdrop-filter: blur(10px);
  display: inline-block;
  margin-bottom: 3rem;
  padding: 1rem 2rem;
  text-align: center;
}
.top-company-wrap .ttl-wrap h2 {
  color: #fff;
  font-size: 3rem;
  line-height: 1;
}
.top-company-wrap .ttl-wrap p {
  color: #fff;
}
.ul-top-bnr2 {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}
.ul-top-bnr2 li {
  box-shadow: 2px 2px 3px #181818;
  width: calc(100% / 3 - 2.7rem);
}
.ul-top-bnr2 a {
  background: #fff;
  color: #005495;
  display: block;
  font-weight: 600;
  padding: 1rem 2rem;
  position: relative;
  text-align: center;
}
.ul-top-bnr2 a::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 25px;
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #005495;
  border-right: 0;
  transition: .5s;
}
.ul-top-bnr2 a:hover {
  opacity: 1;
}
.ul-top-bnr2 a:hover::after {
  right: 20px;
}
@media screen and (max-width: 767px) {
  .top-company-wrap .ttl-wrap h2 {
    font-size: 2rem;
  }
  .ul-top-bnr2 {
    gap: 1rem;
  }
  .ul-top-bnr2 li {
    width: calc(100% / 2 - .5rem);
  }
  .ul-top-bnr2 a::after {
    top: 18px;
    right: 25px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid #005495;
  }
}

/* top-news-sec */
.sec.top-news-sec {
  padding: 8rem 0;
}
.top-news-wrap {
  display: flex;
  max-width: 800px;
  margin: 0 auto;
}
.top-news-wrap .sec-head {
  width: 20%;
}
.top-news-wrap .sec-head h2 {
  font-size: 5rem;
  writing-mode: vertical-lr;
}
.top-news-wrap .top-news-eles {
  width: 80%;
}
/* タブ切り替え */
.ul-tab-change {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}
.ul-tab-change li {
  width: calc(100% / 3);
  text-align: center;
}
.ul-tab-change input {
  display: none;
}
.ul-tab-change label {
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  display: block;
  padding: .5rem 2rem;
}
.ul-tab-change label.all {
  background: #6F7070;
}
.ul-tab-change label.news {
  background: #AC1C21;
}
.ul-tab-change label.blog {
  background: #005495;
}
.ul-news-wrap {
  display: none;
}
.top-news-eles:has(.ul-tab-change li:nth-of-type(1) input:checked) .ul-news-wrap:nth-of-type(1),
.top-news-eles:has(.ul-tab-change li:nth-of-type(2) input:checked) .ul-news-wrap:nth-of-type(2),
.top-news-eles:has(.ul-tab-change li:nth-of-type(3) input:checked) .ul-news-wrap:nth-of-type(3) {
  display: block;
}
@media screen and (max-width: 767px) {
  .top-news-wrap .sec-head h2 {
    font-size: 2.5rem;
  }
  .top-news-wrap .sec-head {
    width: 15%;
  }
  .top-news-wrap .top-news-eles {
    width: 85%;
  }
  .ul-tab-change label {
    padding: .5rem 1rem;
  }
}

/* top-recruit-sec */
.sec.top-recruit-sec {
  padding: 8rem 0;
}
.top-recruit-eles .flex {
  gap: 4rem;
}
.top-recruit-eles .flex-img-wrap {
  position: relative;
}
.top-recruit-eles .flex-img-wrap::before {
  background: #005495;
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  top: 20px;
  left: -20px;
  z-index: -1;
}
.top-recruit-eles .flex-ele-wrap h2 {
  font-size: 4rem;
}
.top-recruit-eles .flex-ele-wrap ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}
.top-recruit-eles .flex-ele-wrap ul li {
  box-shadow: 2px 2px 3px #181818;
  width: calc(100% / 2 - 2rem);
}
.top-recruit-eles .flex-ele-wrap ul a {
  background: #005495;
  color: #fff;
  display: block;
  font-weight: 600;
  padding: 1rem 2rem;
  position: relative;
  text-align: center;
}
.top-recruit-eles .flex-ele-wrap ul a::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 25px;
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  border-right: 0;
  transition: .5s;
}
.top-recruit-eles .flex-ele-wrap ul a:hover {
  opacity: 1;
}
.top-recruit-eles .flex-ele-wrap ul a:hover::after {
  right: 20px;
}
@media screen and (max-width: 820px) {
  .top-recruit-eles .flex-img-wrap {
    margin: 0 auto;
    width: 60%;
  }
}
@media screen and (max-width: 767px) {
  .sec.top-recruit-sec {
    padding: 0 0 5rem;
  }
  .top-recruit-eles .flex-img-wrap {
    width: 80%;
  }
  .top-recruit-eles .flex-img-wrap::before {
    top: 10px;
    left: -10px;
  }
  .top-recruit-eles .flex-ele-wrap h2 {
    font-size: 3rem;
  }
  .top-recruit-eles .flex-ele-wrap ul {
    gap: 2rem;
  }
  .top-recruit-eles .flex-ele-wrap ul a::after {
    top: 18px;
    right: 25px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid #fff;
  }
}