@charset "UTF-8";

/*****************************
top
*****************************/
.topsec {
  padding: 10rem 0;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .topsec {
    padding: 6rem 0;
  }
}

/*****************************
topsec-fv
*****************************/
.topsec-fv {
  margin-top: 83px;
  padding: 0;
}
.topsec-fv .splide .splide__slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: calc(100vh - 83px);
}
.topsec-fv .catch {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: absolute;
  bottom: 10%;
  left: 3%;
  z-index: 2;
}
.topsec-fv .catch .catchttl,
.topsec-fv .catch .catchttl > span,
.topsec-fv .catch .catchsub,
.topsec-fv .catch .catchsub > span {
  line-height: 1;
}
.topsec-fv .catch .catchttl span,
.topsec-fv .catch .catchsub span {
  display: inline-block;
}
.topsec-fv .catch .leftover-box-in {
  background: rgba(35, 59, 108, .8);
  font-size: 3.2vw;
  line-height: 1.8;
  padding: 0 2rem;
}
.topsec-fv .catch .catchsub .leftover-box-in {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5vw;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.2;
  padding: 1rem 2rem;
}
@media only screen and (max-width: 1180px) {
  .topsec-fv .catch .leftover-box-in {
    font-size: 3.5vw;
  }
  .topsec-fv .catch .catchsub .leftover-box-in {
    font-size: 2.5vw;
  }
}
@media only screen and (max-width: 1024px) {
  .topsec-fv {
    margin-top: 68px;
  }
  .topsec-fv .splide .splide__slide {
    height: calc(100vh - 68px);
  }
}
@media only screen and (max-width: 820px) {
  .topsec-fv .catch {
    gap: 1rem;
  }
  .topsec-fv .catch .leftover-box-in {
    font-size: 4.6vw;
    padding: 0 1rem;
  }
  .topsec-fv .catch .catchsub .leftover-box-in {
    font-size: 3.6vw;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .topsec-fv .catch {
    gap: 0;
  }
  .topsec-fv .catch .catchttl span,
  .topsec-fv .catch .catchsub span {
    line-height: 1.4;
  }
  .topsec-fv .catch .leftover-box-in {
    font-size: 2.5rem;
    padding: 1rem;
  }
  .topsec-fv .catch .catchsub .leftover-box-in {
    font-size: 1.3rem;
    padding: 1rem;
  }
}

/*****************************
topsec-greeting
*****************************/
.topsec-greeting::before {
  background: linear-gradient(90deg, #4c5d83, #233b6c);
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 50%;
  width: 100%;
}
.topsec-greeting .ttlbox1 {
  position: absolute;
  top: 12rem;
  left: 0;
  text-shadow: 1px 1px 0px #fff,
  -2px 1px 0px #fff,
  1px -2px 0px #fff,
  -2px -2px 0px #fff,
  1px -1px 0px #fff,
  -1px 1px 0px #fff,
  -2px -1px 0px #fff,
  -1px -2px 0px #fff,
  2px 2px 1px #fff,
  -2px 2px 1px #fff,
  2px -2px 1px #fff,
  -2px -2px 1px #fff,
  2px 0px 1px #fff,
  -1px 2px 1px #fff,
  -2px -1px 1px #fff,
  -1px -2px 1px #fff;
  z-index: 1;
}
.topsec-greeting .ftxtbox {
  background: rgba(0, 0, 0, .5);
  box-shadow: -6px 6px #fff;
  color: #fff;
  padding: 4rem;
  position: absolute;
  bottom: -5rem;
  left: -2rem;
  width: 70%;
  z-index: 1;
}
.topsec-greeting .ftxtbox p {
  font-size: 1.8rem;
}
.topsec-greeting .fimgbox {
  margin-left: auto;
  width: 75%;
}
.topsec-greeting .morebtn1 {
  margin-top: 2rem;
  text-align: right;
}
.topsec-greeting .morebtn1 a {
  color: #fff;
  border: 1px solid #fff;
}
.topsec-greeting .morebtn1 a:hover {
  background: #fff;
  color: #233b6c;
}
@media only screen and (max-width: 1180px) {
  .topsec-greeting .ttlbox1 {
    left: 2rem;
  }
  .topsec-greeting .ftxtbox {
    padding: 3rem;
    left: 0;
  }
  .topsec-greeting .ftxtbox p {
    font-size: 1.6rem;
  }
}
@media only screen and (max-width: 1024px) {
  .topsec-greeting .ttlbox1 {
    top: 7rem;
  }
}
@media only screen and (max-width: 820px) {
  .topsec-greeting .ttlbox1 {
    top: -5rem;
  }
  .topsec-greeting .ftxtbox {
    padding: 2rem;
    width: 90%;
  }
  .topsec-greeting .fimgbox {
    width: 90%;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .topsec-greeting::before {
    height: 70%;
  }
  .topsec-greeting .ttlbox1 {
    position: static;
  }
  .topsec-greeting .ftxtbox {
    position: static;
    width: 100%;
  }
  .topsec-greeting .fimgbox {
    box-shadow: 6px 6px #fff;
    margin: 3rem 0;
    width: 100%;
  }
}

/*****************************
topsec-service
*****************************/
.topsec.topsec-service {
  padding: 10rem 0;
}
.topsec-service .ttlbox1 {
  margin-bottom: 3rem;
}
.servicesplide {
  display: flex;
  align-items: center;
  position: relative;
}
/* メイン */
.servicesplide #main-carousel .splide__slide {
  display: block;
  position: relative;
  width: 70vw !important;
}
.servicesplide #main-carousel .splide__slide:hover {
  opacity: 1;
}
.servicesplide #main-carousel .splide__slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  border-radius: 0 50px 50px 0;
  opacity: .5;
  transition: .5s;
  height: 100%;
  width: 100%;
}

.servicesplide #main-carousel .splide__slide img {
  border-radius: 0 50px 50px 0;
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.servicesplide #main-carousel .txtbox {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10vw;
  max-width: 700px;
}
.servicesplide #main-carousel .txtbox .ttlen {
  color: #fff;
  margin-bottom: 0;
}
.servicesplide #main-carousel .txtbox .ttl {
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
}
.servicesplide #main-carousel .txtbox .txt1 {
  color: #fff;
}
.servicesplide #main-carousel .txtbox .morebtn1 a {
  border: 1px solid #fff;
  color: #fff;
  display: inline-block;
  min-width: 200px;
  padding: .5rem 2rem;
  position: relative;
  transition: .5s;
}
.servicesplide #main-carousel .txtbox .morebtn1 a:hover {
  background: #fff;
  color: #181818;
}
.servicesplide #main-carousel .splide__slide:has(.morebtn1 a:hover)::before {
  opacity: 0;
}

/* サムネイル */
.servicesplide #thumbnail-carousel {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 35vw;
}
.servicesplide #thumbnail-carousel .splide__slide {
  border: 0 !important;
  user-select: none;
}
.servicesplide #thumbnail-carousel .splide__slide .imgbox {
  height: 100%;
  position: relative;
}
.servicesplide #thumbnail-carousel .splide__slide:not(.is-active) .imgbox::before {
  background: #000;
  content: '';
  opacity: .5;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.servicesplide #thumbnail-carousel .splide__slide.is-active .imgbox::before {
  opacity: 1;
}
.servicesplide #thumbnail-carousel .splide__slide img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.servicesplide #thumbnail-carousel .splide__slide .txtbox {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 2vw;
}
.servicesplide #thumbnail-carousel .splide__slide .txtbox p {
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
}
@media only screen and (max-width: 1300px) {
  .servicesplide #main-carousel .txtbox {
    left: 5vw;
    max-width: 400px;
  }
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .servicesplide {
    display: block;
  }
  .servicesplide #main-carousel {
    margin-bottom: 1rem;
  }
  .servicesplide #main-carousel .splide__slide {
    height: 400px;
    width: 100vw !important;
  }
  .servicesplide #main-carousel .splide__slide img {
    border-radius: 0;
  }
  .servicesplide #main-carousel .splide__slide::before {
    border-radius: 0;
  }
  .servicesplide #main-carousel .splide__slide:hover::before {
    opacity: .5;
  }
  .servicesplide #main-carousel .imgbox {
    height: 100%;
  }
  .servicesplide #main-carousel .txtbox {
    left: 0;
    padding: 0 2rem;
  }
  .servicesplide #main-carousel .txtbox .ttl {
    font-size: 1.8rem;
  }
  .servicesplide #thumbnail-carousel {
    position: static;
    transform: initial;
    width: 100vw;
  }
  .servicesplide #thumbnail-carousel .splide__slide .txtbox .txt1 {
    font-size: 1.4rem;
    font-weight: bold;
  }
  .servicesplide #thumbnail-carousel .splide__slide .txtbox .txt2 {
    font-size: 1.6rem;
    line-height: 1.5;
  }
}

/*****************************
topsec-recruit
*****************************/
.topsec-recruit .ttlbox1 {
  margin-bottom: 5rem;
}
.recruitlist {
  margin-bottom: 10rem;
}
.recruitlist ul {
  display: flex;
  gap: 2rem;
}
.recruitlist li {
  width: calc(100% / 3 - 1.4rem);
}
.recruitlist .imgbox {
  margin-bottom: 2rem;
}
.recruitlist .txtbox h3 {
  color: #233b6c;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 2rem;
}
.recruitbnr {
  background: url(../images/top/bg_recruit.webp) no-repeat center / cover;
  height: 300px;
  position: relative;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  width: 100vw;
}
.recruitbnr::before {
  background: rgba(0,0,0,.5);
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.recruitbnr a {
  border: 1px solid #fff;
  color: #fff;
  display: block;
  font-size: 3rem;
  padding: 1rem 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  opacity: 1;
  transition: .5s;
  width: 30%;
}
.recruitbnr a:hover {
  background: #fff;
  color: #181818;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .recruitlist ul {
    flex-wrap: wrap;
    gap: 5rem;
  }
  .recruitlist li {
    width: 100%;
  }
  .recruitlist .imgbox {
    margin: 0 auto 2rem;
    width: 80%;
  }
  .recruitlist .txtbox h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  .recruitbnr {
    height: 200px;
  }
  .recruitbnr a {
    font-size: 1.6rem;
    padding: .5rem 0;
    width: 50%;
  }
}


/*****************************
topsec-news
*****************************/
.topsec-news {
  background: #fafafa;
}
.topsec-news .topnewsbox {
  box-shadow: 2px 2px #ccc;
  box-shadow: 4px 4px 10px #bcbcbc;
}
.topsec-news .fttl {
  background: linear-gradient(#4c5d83, #233b6c);
  color: #fff;
  font-family: "Noto Serif JP", serif;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 20%;
}
.topsec-news .fttl .enttl {
  font-family: "Newsreader", serif;
  font-size: 4rem;
  font-weight: bold;
  line-height: 1;
}
.topsec-news .fttl .ttl {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
}
.topsec-news .fbox {
  background: #fff;
  padding: 2rem;
  width: 80%;
}
.topsec-news .newslist {
  max-width: 100%;
}
.topsec-news .morebtn1 {
  margin-top: 3rem;
  text-align: right;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
  .topsec-news .fttl,
  .topsec-news .fbox {
    width: 100%;
  }
  .topsec-news .fttl{
    padding: 2rem 0;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .topsec-news .fbox {
    padding: 1rem 2rem 2rem;
  }
  .topsec-news .fttl .enttl {
    font-size: 3.4rem;
  }
}
