/*------------------------------------------*/
/* メイン
/*------------------------------------------*/

.main {
  position: relative;
}

/* 画像 --------------------------------*/
.main .swiper-wrapper img {
  width: 100%;
}

.main .swiper-wrapper {
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  width: 100%;
  height: 50vh;
}

/*トリミング*/
.main .swiper-wrapper img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: auto;
}

@media screen and (min-width: 834px), print {
  .main .swiper-wrapper {
    height: 100vh;
  }

  .main .swiper-wrapper img {
    width: 160%;
  }
}

@media screen and (min-width: 900px), print {
  .main .swiper-wrapper img {
    width: 150%;
  }
}

@media screen and (min-width: 1000px), print {
  .main .swiper-wrapper img {
    width: 130%;
  }
}

@media screen and (min-width: 1300px), print {
  .main .swiper-wrapper img {
    width: 100%;
  }
}

/* スライダー --------------------------------*/
.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #ccc;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  width: 100%;
}

/* テキスト --------------------------------*/
.main-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  z-index: 10;
}

.main-text p {
  text-align: left;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.3em;
}

@media screen and (max-width: 767px) {
  .main-text p {
    font-size: 1.1rem;
  }
}

@media screen and (min-width: 834px), print {
  .main-text {
    left: 40px;
  }

  .main-text p {
    font-weight: 500;
    font-size: 2.6rem;
  }
}

@media screen and (min-width: 1000px), print {
  .main-text {
    left: 0;
    display: inline-block;
    width: 100%;
  }

  .main-text p {
    display: inline-block;
    width: 960px;
  }
}

/*------------------------------------------*/
/* 共通
/*------------------------------------------*/

/* 見出し --------------------------------*/
.top-heading {
  position: relative;
  font-size: 1.4rem;
}

.top-en {
  color: #2457a3;
  font-size: 0.9rem;
  font-weight: 600;
}

@media screen and (min-width: 834px), print {
  .top-heading {
    font-size: 2rem;
    margin-top: 40px;
  }

  .top-waste .top-heading {
    font-size: 1.4rem;
  }

  .top-en {
    font-size: 1rem;
  }
}

@media screen and (min-width: 1200px), print {
  .top-waste .top-heading {
    font-size: 2rem;
    margin-top: 0;
  }
}

/* 企業情報 SDGs --------------------------------*/
.top-sdgs {
  margin-top: 60px;
}

.sdgs-logo {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0;
  display: inline-block;
  background: url(img/sdgs.png) no-repeat;
  background-size: 100%;
  width: calc(300px / 2.5);
  height: calc(300px / 2.5);
}

.top-sdgs .text1 {
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-top: 20px;
}

@media screen and (max-width: 833px) {
  .top-sdgs .text1 {
    padding: 0 20px;
  }
}

@media screen and (min-width: 834px), print {
  .top-sdgs {
    margin-top: 100px;
  }

  .top-sdgs .text1 {
    font-size: 1.4rem;
    margin-top: 40px;
  }

  .sdgs-logo {
    width: calc(300px / 2);
    height: calc(300px / 2);
  }
}

/* テキスト --------------------------------*/
.top-text {
  margin-top: 2em;
}

/* 背景文字 --------------------------------*/
.top-business,
.top-recruit {
  position: relative;
}

.top-company::before,
.top-business::before,
.top-works::before,
.top-recruit::before {
  content: 'COMPANY';
  display: inline-block;
  color: #e7eef3;
  font-size: 6rem;
  font-weight: 600;
  line-height: 1.1;
  position: absolute;
  top: 50%;
  left: 0;
}

.top-recruit::before {
  color: #f7fafc;
}

.top-company::before {
  content: 'COMPANY';
}

.top-business::before {
  content: 'BUSINESS';
}

.top-works::before {
  content: 'WORKS';
}

.top-recruit::before {
  content: 'RECRUIT';
}

@media screen and (min-width: 768px), print {

  .top-company::before,
  .top-business::before,
  .top-works::before,
  .top-recruit::before {
    font-size: 15rem;
  }
}

@media screen and (min-width: 834px), print {

  .top-company::before,
  .top-business::before,
  .top-works::before,
  .top-recruit::before {
    font-size: 24rem;
    top: 50%;
    transform: translateY(-50%);
    left: 50%;
  }

  .top-business::before {
    top: 200px;
    left: 0;
  }

  .top-recruit::before {
    top: 250px;
    left: 0;
    z-index: -1;
  }
}

/*------------------------------------------*/
/* コンテンツ
/*------------------------------------------*/

.top-company,
.top-works {
  position: relative;
  background: #f0f5f8;
}

.top-company,
.top-works {
  margin-top: 60px;
}

@media screen and (min-width: 834px), print {

  .top-company,
  .top-business,
  .top-works {
    margin-top: 100px;
  }

  .top-company::after,
  .top-works::after {
    content: '';
    display: inline-block;
    background: #f0f5f8;
    width: 80%;
    height: 100px;
    position: absolute;
    bottom: -100px;
    right: 0;
  }

  .top-contents .top-box {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
  }

  .top-business .top-box {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
  }
}

/* 画像 --------------------------------*/

@media screen and (max-width: 833px) {
  .top-contents figure {
    position: relative;
    overflow: hidden;
    vertical-align: bottom;
    width: 100%;
    height: 240px;
  }

  /*トリミング*/
  .top-contents figure img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
  }
}

@media screen and (min-width: 834px), print {
  .top-contents figure {
    width: 50%;
  }

  .top-contents figure img {
    width: 100%;
  }
}

/* コンテンツ --------------------------------*/

@media screen and (max-width: 833px) {
  .top-contents .top-cont {
    position: relative;
    padding: 40px 20px;
  }
}

@media screen and (min-width: 834px), print {
  .top-contents .top-cont {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-content: space-between;
    -ms-flex-line-pack: justify;
    align-content: space-between;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-negative: 0;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    text-align: left;
    width: 50%;
  }

  .top-company .top-cont,
  .top-works .top-cont {
    padding-left: 80px;
    padding-right: 60px;
  }

  .top-business .top-cont {
    padding-right: 80px;
    padding-left: 60px;
  }
}

@media screen and (min-width: 1200px), print {
  .top-contents .top-cont {
    width: 550px;
  }

  .top-company .top-cont,
  .top-works .top-cont {
    padding-right: 0;
  }

  .top-business .top-cont {
    padding-left: 0;
  }
}

/* ボタン --------------------------------*/

@media screen and (max-width: 833px) {
  .top-contents .btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    margin-top: 20px;
  }
}

@media screen and (min-width: 834px), print {
  .top-contents .btn {
    margin-top: 40px;
  }
}

/*------------------------------------------*/
/* 事業内容のコンテンツ
/*------------------------------------------*/

.top-business__contents {
  text-align: left;
  padding: 0 40px;
}

@media screen and (max-width: 833px) {
  .top-business__contents li:not(:first-child) {
    margin-top: 20px;
  }
}

@media screen and (min-width: 834px), print {
  .top-business__contents {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0 60px;
    margin: 0 auto;
    margin-top: 60px;
  }

  .top-business__contents li {
    width: 32%;
  }
}

@media screen and (min-width: 1000px), print {
  .top-business__contents li {
    width: 30%;
  }
}

@media screen and (min-width: 1200px), print {
  .top-business__contents {
    width: 1100px;
    padding: 0;
  }
}

/* ボタン --------------------------------*/
.top-business__contents a {
  position: relative;
  display: inline-block;
  width: 100%;
  border: solid 1px #2457a3;
  padding: 10px 20px;
  transition: all .5s ease;
}

.top-business__contents a:before {
  content: '';
  display: inline-block;
  background: url(img/icon_link.svg) no-repeat;
  background-size: 100%;
  width: calc(50px / 2);
  height: calc(50px / 2);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  transition: all .5s ease;
}

@media screen and (min-width: 834px), print {
  .top-business__contents a:before {
    width: calc(50px / 1);
    height: calc(50px / 1);
  }
}

.top-business__contents a:hover:before {
  transform: scale(0.9) translateY(-50%);
}

.top-business__contents a:hover {
  text-decoration: none;
  background: #e3edfa;
}

/* 見出し --------------------------------*/
.top-business__contents .heading {
  color: #12151a;
  font-size: 1.1rem;
}

@media screen and (min-width: 834px), print {
  .top-business__contents .en {
    font-size: 0.9rem;
  }

  .top-business__contents .heading {
    font-size: 0.9rem;
  }
}

@media screen and (min-width: 1000px), print {
  .top-business__contents .en {
    font-size: 1rem;
  }

  .top-business__contents .heading {
    font-size: 1.1rem;
  }
}

@media screen and (min-width: 1200px), print {
  .top-business__contents .heading {
    font-size: 1.2rem;
  }
}



/*------------------------------------------*/
/* 採用情報
/*------------------------------------------*/

@media screen and (max-width: 833px) {
  .top-recruit {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
}

@media screen and (min-width: 834px), print {
  .top-recruit {
    margin-top: 100px;
    padding-top: 100px;
  }
}

/* レイアウト --------------------------------*/

@media screen and (max-width: 833px) {
  .top-recruit .top-box {
    position: relative;
    padding: 20px 20px 80px 20px;
  }
}

@media screen and (min-width: 834px), print {
  .top-recruit .top-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    text-align: left;
    padding: 0 40px;
  }

  .top-recruit .top-box .top-cont {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

@media screen and (min-width: 1200px), print {
  .top-recruit .top-box {
    width: 1100px;
    margin: 0 auto;
  }
}


/* 見出し --------------------------------*/

@media screen and (min-width: 834px), print {
  .top-recruit .top-heading {
    white-space: nowrap;
    margin-right: 40px;
  }

  .top-recruit .top-en {
    line-height: 1.1;
  }
}

/* テキスト --------------------------------*/

@media screen and (min-width: 834px), print {
  .top-recruit .top-text {
    margin-top: 0;
    margin-right: 100px;
  }
}

/* ボタン --------------------------------*/

@media screen and (max-width: 833px) {
  .top-recruit .btn {
    position: absolute;
    bottom: 20px;
    right: 0;
  }
}

@media screen and (min-width: 834px), print {
  .top-recruit .btn {
    -ms-flex-negative: 0;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
  }
}

/* 画像 --------------------------------*/

@media screen and (max-width: 833px) {
  .top-recruit figure {
    position: relative;
    overflow: hidden;
    vertical-align: bottom;
    width: 100%;
    height: 180px;
  }

  /*トリミング*/
  .top-recruit figure img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 580px) {
  .top-recruit figure {
    height: 160px;
  }

  /*トリミング*/
  .top-recruit figure img {
    width: auto;
    height: 100%;
  }
}

@media screen and (min-width: 834px), print {
  .top-recruit figure img {
    width: 100%;
  }

  .top-recruit figure {
    margin-top: 80px;
    padding: 0 40px;
  }
}

@media screen and (min-width: 1200px), print {
  .top-recruit figure {
    display: inline-block;
    width: 1100px;
    padding: 0;
  }
}