@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: #000000b3;
  font-size: 5rem;
  line-height: 1.8;
  padding: 0 2rem;
}
.topsec-fv .catch .catchsub .leftover-box-in {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.5;
  padding: 1rem 2rem;
}
@media only screen and (max-width: 1180px) {
  .topsec-fv .catch .leftover-box-in {
    font-size: 4rem;
  }
  .topsec-fv .catch .catchsub .leftover-box-in {
    font-size: 1.8rem;
  }
}
@media only screen and (max-width: 1024px) {
  .topsec-fv {
    margin-top: 76px;
  }
  .topsec-fv .splide .splide__slide {
    height: calc(100vh - 76px);
  }
  .topsec-fv .catch .catchsub {
    width: 95%;
  }
}
@media only screen and (max-width: 820px) {
  .topsec-fv .catch {
    gap: 1rem;
  }
  .topsec-fv .catch .catchsub .leftover-box-in {
    font-size: 1.6rem;
  }
}
@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 {
    padding: 1rem;
  }
}

/*****************************
topsec-greeting
*****************************/
.topsec-greeting::before {
  background: linear-gradient(90deg, #e37070, #C62828);
  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: #fffffff0;
  box-shadow: 5px 5px #C62828;
  padding: 4rem;
  position: absolute;
  bottom: -5rem;
  left: -2rem;
  width: 70%;
  z-index: 1;
}
.topsec-greeting .ftxtbox .txt1 {
  font-size: 1.8rem;
  font-weight: 600;
}
.topsec-greeting .fimgbox {
  margin-left: auto;
  width: 75%;
}
.topsec-greeting .morebtn1 {
  margin-top: 2rem;
  text-align: right;
}
@media only screen and (max-width: 1180px) {
  .topsec-greeting .ttlbox1 {
    left: 2rem;
  }
  .topsec-greeting .ftxtbox {
    padding: 3rem;
    left: 0;
  }
}
@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-service {
  padding: 20rem 0 10rem;
}
.topsec-service::before,
.topsec-service::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 800px;
  width: 100%;
}
.topsec-service::before {
  background: url(../images/top/bg_service.webp) no-repeat center / cover;
  z-index: -1;
}
.topsec-service::after {
  background: #000;
  opacity: .3;
  z-index: 0;
}
.servicebox {
  position: relative;
  z-index: 1;
}
.servicelist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5rem;
  margin-bottom: 10rem;
}
.servicelist li {
  background: #fff;
  box-shadow: 5px 5px 10px #ffffff8c;
  padding: 2rem;
  width: calc(100% / 3 - 3.4rem);
}
.servicelist .imgbox {
  margin-bottom: 2rem;
}
.servicelist .txt1 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #C62828;
  padding-left: 3rem;
  position: relative;
  line-height: 1.5;
}
.servicelist .txt1::before {
  background: #000;
  content: '';
  position: absolute;
  top: 14px;
  left: 0;
  height: 1px;
  width: 20px;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
  .topsec-service {
    padding: 10rem 0;
  }
  .topsec-service::before,
  .topsec-service::after {
    display: none;
  }
  .servicelist {
    background: #ffebeb;
    gap: 2rem;
    margin-bottom: 5rem;
    padding: 2rem;
    justify-content: flex-start;
  }
  .servicelist li {
    display: flex;
    gap: 1rem;
    padding: 0;
    width: calc(100% / 2 - 1rem);
  }
  .servicelist .imgbox {
    margin-bottom: 0;
    height: 150px;
    width: 150px;
  }
  .servicelist .imgbox img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .servicelist .txtbox {
    padding: 1rem 0;
    width: calc(100% - 150px);
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .servicelist {
    gap: 1rem;
    padding: 1rem;
  }
  .servicelist li {
    width: 100%;
  }
    .servicelist .imgbox {
    height: 90px;
    width: 90px;
  }
  .servicelist .txtbox {
    width: calc(100% - 90px);
  }
  .servicelist .txt1 {
    font-size: 1.7rem;
  }
}

/*****************************
topsec-susta
*****************************/
.topsec-susta {
  margin-top: 20rem;
  padding: 20rem 0 10rem;
}
.topsec-susta::before,
.topsec-susta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.topsec-susta::before {
  background: url(../images/top/bg_susta.webp) no-repeat center / cover;
  z-index: -1;
}
.topsec-susta::after {
  background: #fff;
  opacity: .1;
  z-index: 0;
}
.topsec-susta .ttlbox1,
.topsec-susta .txtbox {
  color: #fff;
  position: relative;
  z-index: 1;
}
.topsec-susta .txtbox {
  max-width: 500px;
}
.topsec-susta .ttlbox1 .enttl {
  color: #fff;
}
.topsec-susta .txtbox h3 {
  font-size: 2rem;
  font-weight: 600;
  padding-left: 5rem;
  position: relative;
}
.topsec-susta .txtbox h3::before {
  background: #fff;
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  height: 1px;
  width: 40px;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
  .topsec-susta {
    margin-top: 0;
    padding: 10rem 0;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .topsec-susta::after {
    background: #000;
    opacity: .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: #C62828;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.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,.2);
  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(#e37070, #C62828);
  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;
  }
}
