/*****************************************
*
* HOME
*
******************************************/

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

.topmain {
  position: relative;
}

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

/* テキスト --------------------------------*/
.topmain-copy {
  text-align: left;
  width: calc(100% - 40px);
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.topmain-copy .en {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
}

.topmain-copy .jp {
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 20px;
}

@media screen and (min-width: 834px), print {
  .topmain-copy {
    width: calc(100% - 120px);
  }

  .topmain-copy .en {
    font-size: calc(calc(64 / 1500) * 100vw);
  }

  .topmain-copy .jp {
    font-size: calc(calc(18 / 1500) * 100vw);
    margin-top: 40px;
  }
}

@media screen and (min-width: 1300px), print {
  .topmain-copy {
    width: 1100px;
  }

  .topmain-copy .en {
    font-size: 5rem;
  }

  .topmain-copy .jp {
    font-size: 1.1rem;
    margin-top: 40px;
  }
}


/* 画像 --------------------------------*/
.topmain figure img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  aspect-ratio: 28/16;
}

.topmain figure {
  position: relative;
  overflow: hidden;
  height: 50vh;
}
/*/
.topmain figure::before {
  content: '';
  display: inline-block;
  background: url('img/dot_black.svg');
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
*/
@media screen and (min-width: 834px), print {
  .topmain figure {
    height: 100vh;
  }
}


/*------------------------------------------*/
/* HOME 企業情報
/*------------------------------------------*/

/* 見出し --------------------------------*/
.top-company .heading {
  font-size: 1.4rem;
  font-weight: bold;
}

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

/* キャッチコピー --------------------------------*/
.top-company .copy {
  display: inline-block;
  text-align: left;
  font-size: 1rem;
  font-weight: bold;
  line-height: 2;
  margin-top: 40px;
}

.top-company .copy span {
  color: var(--color-red);
}

@media screen and (min-width: 834px), print {
  .top-company .copy {
    font-size: 1.4rem;
    margin-top: 60px;
  }
}

/* テキスト --------------------------------*/
.top-company .text {
  margin-top: 40px;
}

@media screen and (min-width: 834px), print {
  .top-company .text {
    max-width: 720px;
    margin: 0 auto;
    margin-top: 60px;
  }
}

/* ボタン --------------------------------*/
.top-company .btn {
  margin-top: 40px;
}

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


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

.top-contents {
  padding: 0 20px;
  margin-top: 80px;
}

.top-business.top-contents {
  background: url('img/dot_2_blue.svg');
  color: var(--color-white);
  padding: 80px 20px;
}

.top-recruit.top-contents {
  background: url('img/dot_2_gray.svg');
  padding: 80px 20px;
}

@media screen and (min-width: 768px), print {
  .top-contents {
    padding: 0 40px;
  }

  .top-business.top-contents,
  .top-recruit.top-contents {
    padding: 80px 40px;
  }
}

@media screen and (min-width: 834px), print {
  .top-contents {
    padding: 0 60px;
    margin-top: 160px;
  }

  .top-business.top-contents,
  .top-recruit.top-contents {
    padding: 160px 60px;
  }

  .top-contents .box {
    display: flex;
    margin: 0 auto;
  }

  .top-contents.reverse .box {
    flex-direction: row-reverse;
  }
}

@media screen and (min-width: 1400px), print {
  .top-contents .box {
    width: 1300px;
  }
}


/* 画像 --------------------------------*/
.top-contents figure img {
  width: 100%;
}

@media screen and (max-width: 833px) {
  .top-contents figure {
    margin-top: 40px;
  }
}

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

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


/* cont --------------------------------*/

@media screen and (min-width: 834px), print {
  .top-contents .cont {
    width: 60%;
    margin-right: 60px;
  }

  .top-contents.reverse .cont {
    margin-right: 0;
    margin-left: 100px;
  }
}

@media screen and (min-width: 1200px), print {
  .top-contents .cont {
    width: 50%;
    margin-right: 100px;
  }
}


/* 見出し --------------------------------*/
.top-contents .heading-en {
  text-align: left;
  color: var(--color-main);
  font-size: 1.6rem;
  font-weight: bold;
}

.top-contents .heading-jp {
  text-align: left;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 40px;
}

.top-business.top-contents .heading-en {
  color: white;
}

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

  .top-contents .heading-jp {
    font-size: 1.1rem;
    margin-bottom: 60px;
  }
}

/* 小見出し --------------------------------*/
.top-contents .sub-heading {
  text-align: left;
}

.top-contents .sub-heading.second {
  margin-top: 40px;
}

.top-contents .sub-heading .en {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: bold;
  border-bottom: solid 2px var(--color-text);
  padding-bottom: 10px;
}

.top-business.top-contents .sub-heading .en {
  border-color: var(--color-white);
}

.top-contents .sub-heading .jp {
  font-size: 1rem;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 20px;
}

@media screen and (min-width: 834px), print {
  .top-contents .sub-heading .en {
    font-size: 1.5rem;
  }

  .top-contents .sub-heading .jp {
    font-size: 1.1rem;
  }
}

/* copy --------------------------------*/
.top-contents .copy {
  text-align: left;
  font-size: 1rem;
  font-weight: bold;
  line-height: 3;
}

/* ボタン --------------------------------*/
.top-contents .btn {
  margin-top: 40px;
}

.top-contents .btn .btn-type-rounded-line {
  width: 250px;
}

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


/*------------------------------------------*/
/* HOME リンク
/*------------------------------------------*/

.top-links .list li a {
  display: inline-block;
  border: solid 1px var(--color-light-gray);
  border-radius: 10px;
  overflow: hidden;
  transition: all .5s ease;
}

.top-links .list li a:hover {
  text-decoration: none;
  box-shadow: var(--box-shadow);
}

@media screen and (min-width: 768px), print {
  .top-links .list {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: space-around;
  }

  .top-links .list li+li {
    margin-left: 100px;
  }

  .top-links .list li {
    width: 300px;
  }
}

/* 画像 --------------------------------*/
.top-links .list li img {
  width: 100%;
}