@charset "utf-8";

/* main-visual */
.main-visual {
  background-image: url(../images/mainvisual_bg.jpg);
  background-size: cover;
  position: relative;
  padding-bottom: 15rem;
}

.main-visual::after {
  position: absolute;
  content: "";
  width: calc(100% - 10rem);
  height: calc(100% - 15rem);
  background-image: url(../images/mainvisual_img.jpg);
  background-size: cover;
  background-position: center center;

  top: 0;
  right: 0;
}

/* main-cp */
#main-cp {
  padding: 15rem 0 30rem;
  position: relative;
  z-index: 5;
  color: #fff;
}

#main-cp .title {
  text-align: left;
  font-size: 6.5rem;
  line-height: calc(101 / 75);
  letter-spacing: .075em;
  font-weight: 700;
}

#main-cp .sub_title {
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: .075em;
  margin-top: 4rem;
  line-height: 1.75;
}

/* about */
#about {
  padding: 7rem 0 12.8rem;
}

.about_wrapper {
  display: flex;
  justify-content: space-between;
}

.about_wrapper_content {
  padding-top: 3rem;
  margin-right: 4rem;
  width: calc(460 / 1000 * 100%);
}

.about_title {
  font-weight: 600;
  font-size: 1.8rem;
  line-height: calc(50 / 18);
  letter-spacing: .075em;
  color: #24386a;
}

.about_subtitle {
  font-weight: 700;
  font-size: 2.8rem;
  line-height: calc(40 / 28);
  letter-spacing: .075em;
  margin-top: 1rem;
}

.about_text {
  font-weight: 500;
  line-height: calc(33 / 16);
  letter-spacing: .075em;
  margin-top: 2rem;
}

.about_img {
  width: calc(800 / 1000 * 100%);
  margin-right: calc(50% - 50vw + 11rem);
  margin-top: -13rem;
  position: relative;
  z-index: 10;
}

/* products */
#products {
  background-image: url(../images/products_bg.jpg);
  background-size: cover;
  padding-top: 11rem;
}

#products .section_title {
  text-align: center;
}

#products .title_wrapper span {
  text-align: center;
}

.products_text {
  text-align: center;
  margin-top: 5rem;
  letter-spacing: .075em;
  font-weight: 700;
}

.products_list {
  display: flex;
  justify-content: space-between;
  margin-top: 6rem;
}

.products_list_item {
  width: calc(100% / 3 - 100px / 3);
}

.products_list_item a {
  transition: .3s;
}
.products_list_item a:hover .top_img_content img{
  transform: scale(1.02);
}

.products_list_item .top_img_content{
  display: block;
  width: 100%;
  height: 300px;
  overflow: hidden;
}
.products_list_item .top_img_content img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .3s;
}

@media screen and (max-width: 768px) {
  .products_list_item .top_img_content {
    height: 120px !important;
  }
}

.products_list_item figcaption {
  text-align: center;
  font-weight: 700;
  font-size: 1.7rem;
  line-height: calc(30 / 17);
  letter-spacing: .075em;
  margin-top: 2rem;
}
@media screen and (min-width: 768px) {
.products_list_item a:hover img {
	opacity: 0.8
}
}
.products_list_item a {
	color: #010101;
}

#products .btn_more a {
  margin: 8rem auto 0;
}

/* facility */
#facility {
  overflow: hidden;
  background-color: #24386a;
  position: relative;
}

#facility::after {
  position: absolute;
  content: "";
  width: calc(100% - 10rem);
  height: calc(100% - 10rem);
  background-color: #eceff7;
  top: 0;
  left: 0;
}

.facility_wrapper {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  position: relative;
  z-index: 10;
}

.facility_wrapper_content {
  width: calc(436 / 1000 * 100%);
  padding-top: 10rem;
  padding-bottom: 5rem;
  margin-left: 4rem;
}

#facility .title_wrapper span {
  margin-top: 0;
  padding-left: 0.5rem;
}

.facility_text {
  color: #262626;
  margin-top: 3rem;
  line-height: calc(33 / 16);
  letter-spacing: .075em;
}

.facility_img {
  width: calc(905 / 1000 * 100%);
  margin-left: calc(50% - 50vw);
}

#facility .btn_more a {
  margin-top: 10.5rem;
  margin-left: 1rem;
}

/* recruit */
#recruit {
  background-image: url(../images/recruit_bg.jpg);
  background-size: cover;
  background-position: right bottom;
  padding-bottom: 14rem;
}

.recruit_wrapper {
  display: flex;
  justify-content: space-between;
}

.recruit_title_wrapper {
  padding-top: 8rem;
}

.recruit_title {
  font-weight: 700;
  font-size: 9rem;
  letter-spacing: .075em;
  color: #fff;
  margin-left: -0.5rem;
}

#recruit .btn_more a {
  margin-top: 4rem;
}

.recruit_text p {
  font-weight: 700;
  font-size: 4.8rem;
  line-height: calc(80 / 48);
  letter-spacing: .15em;
  color: #fff;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  padding-top: 2.7rem;
  padding-right: 6.5rem;
}



/* link */
#link {
  padding: 12.9rem 0 12rem;
}

.link_list {
  display: flex;
  justify-content: space-between;
}

.link_list_item {
  width: calc(100% / 2 - 60px / 2);
  background: #eceff7;
}

.link_list_item a {
  width: 100%;
  height: 18rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 2.7rem;
  padding-right: 2rem;
}

.link_list_item_img {
  width: 6.9rem;
}

.link_list_item_img img {
  object-fit: contain;
}

#link .title_wrapper {
  color: #24386a;
}

.link_title {
  font-size: 3.8rem;
  line-height: calc(50 / 38);
  letter-spacing: .05em;
  font-weight: 700;
  text-transform: uppercase;
}

#link .title_wrapper span {
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: .1em;
  font-weight: 700;
  margin-top: 0.5rem;
}

.link_arrow {
  position: absolute;
  right: 1rem;
  bottom: -1rem;
  width: 5rem;
  height: 5rem;
  transition: all .3s;
}

.link_list_item.item_service a {
  padding-right: 3rem;
}

.link_list_item:hover .link_arrow {
  right: .5rem;
}

@media screen and (max-width: 1366px) {

  /* about */
  .about_wrapper_content {
    padding-top: 0;
    margin-right: 2rem;
  }

  .about_img {
    width: calc(650 / 1000 * 100%);
  }

  .about_subtitle {
    font-size: 2.4rem;
  }

  .about_img {
    margin-right: calc(50% - 50vw + 4rem);
    margin-top: -10rem;
  }

  /* facility */
  #facility::after {
    width: calc(100% - 2.5%);
    height: calc(100% - 5rem);
  }
}

@media screen and (max-width: 1024px) {

  /* about */
  .about_wrapper {
    align-items: center;
  }

  .about_subtitle {
    font-size: 2rem;
  }

  .about_img {
    margin-top: 0;
  }

  /* products */
  .products_list_item figcaption br.is_sp {
    display: block;
  }

  /* facility */
  .facility_wrapper_content {
    padding-top: 0rem;
    padding-right: 0.5rem;
    margin-left: 2rem;
    width: 50%;
  }

  #facility .btn_more a {
    margin: 2.5rem auto 0;
  }

  /* recruit */
  .recruit_title {
    font-size: 7rem;
  }
}

@media screen and (max-width: 767px) {

  /* main-visual */
  .main-visual::after {
    width: calc(100% - 5rem);
    height: calc(100% - 5rem);
  }

  /* main-cp */
  #main-cp {
    padding: 7rem 0 0;
  }

  #main-cp .title {
    font-size: 4rem;
  }

  #main-cp .sub_title {
    font-size: 1.4rem;
  }

  /* about */
  #about {
    padding: 5rem 0;
  }

  .about_wrapper {
    flex-wrap: wrap;
  }

  .about_wrapper_content {
    padding-top: 0;
    margin-right: 0;
    width: 100%;
  }

  .about_title {
    line-height: calc(37 / 18);
  }

  .about_text {
    line-height: 1.75;
  }

  .about_img {
    width: 90%;
    max-width: 55rem;
    margin: 3rem auto 0;
  }

  /* products */
  #products {
    padding: 5rem 0;
    overflow: hidden;
  }

  .products_list_item {
    width: calc(100% / 3 - 2rem / 3);
  }

  .products_list_item figcaption {
    font-size: 1.2rem;
    letter-spacing: 0;
    margin-top: 1rem;
  }

  #products .btn_more a {
    margin: 5rem auto 0;
  }

  .facility_wrapper {
    display: block;
  }

  .facility_wrapper_content {
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .facility_img {
    width: 102.5%;
    margin-top: 3rem;
  }

  /* recruit */
  #recruit {
    padding-bottom: 7rem;
    background-position: right 20% bottom;
  }

  .recruit_title_wrapper {
    padding-top: 0;
  }

  .recruit_title {
    font-size: 4rem;
    text-align: center;
  }

  .recruit_wrapper {
    display: block;
  }

  .recruit_text {
    display: none;
  }

  .recruit_title_wrapper p {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
  }

  #recruit .btn_more a {
    margin: 3rem auto 0;
  }

  /* link */
  #link {
    padding: 5rem 0;
  }

  .link_list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
  }

  .link_list_item {
    width: 90%;
  }

  .link_list_item a {
    height: 13rem;
  }

  .link_title {
    font-size: 2.4rem;
  }
}