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

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

.topmain {
  position: relative;
  z-index: 1;
  animation-name: fadeinImg;
  animation-duration: 3s;
}

@keyframes fadeinImg {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* テキスト --------------------------------*/
.topmain .catchcopy {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0;
  display: inline-block;
  background: url('../img/top/topmain_sp.png') no-repeat;
  background-size: 100%;
  aspect-ratio: 4/7;
  width: 100%;
  height: auto;
}

@media screen and (min-width: 834px), print {
  .topmain .catchcopy {
    background: url('../img/top/topmain.png') no-repeat;
    background-size: 100%;
    aspect-ratio: 14/10;
  }
}


/*------------------------------------------*/
/* intro
/*------------------------------------------*/

.top-intro {
  position: relative;
  z-index: 2;
  margin-top: calc(calc(300 / 833) * -100vw);
}

@media screen and (min-width: 834px), print {
  .top-intro {
    margin-top: calc(calc(200 / 1240) * -100vw);
  }
}

/* catchcopy --------------------------------*/
.top-intro__catchcopy {
  text-align: left;
  color: var(--color-main);
  margin-bottom: 40px;
}

.top-intro__catchcopy .jp {
  font-size: 1.6rem;
  font-weight: bold;
}

.top-intro__catchcopy .jp .kerning {
  margin-left: -0.5em;
}

.top-intro__catchcopy .en {
  font-family: var(--font-vollkorn);
  font-size: 1rem;
  font-weight: 500;
  margin-top: 1em;
}

.top-intro__catchcopy .jp,
.top-intro__catchcopy .en {
  --color-fuchidori: var(--color-back);
  text-shadow:
    var(--color-fuchidori) 2px 0px 0px, var(--color-fuchidori) -2px 0px 0px,
    var(--color-fuchidori) 0px -2px 0px, var(--color-fuchidori) 0px 2px 0px,
    var(--color-fuchidori) 2px 2px 0px, var(--color-fuchidori) -2px 2px 0px,
    var(--color-fuchidori) 2px -2px 0px, var(--color-fuchidori) -2px -2px 0px,
    var(--color-fuchidori) 1px 2px 0px, var(--color-fuchidori) -1px 2px 0px,
    var(--color-fuchidori) 1px -2px 0px, var(--color-fuchidori) -1px -2px 0px,
    var(--color-fuchidori) 2px 1px 0px, var(--color-fuchidori) -2px 1px 0px,
    var(--color-fuchidori) 2px -1px 0px, var(--color-fuchidori) -2px -1px 0px,
    var(--color-fuchidori) 1px 1px 0px, var(--color-fuchidori) -1px 1px 0px,
    var(--color-fuchidori) 1px -1px 0px, var(--color-fuchidori) -1px -1px 0px;
}

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

  .top-intro__catchcopy .jp {
    font-size: calc(calc(48 / 1240) * 100vw);
  }

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

@media screen and (min-width: 1240px), print {
  .top-intro__catchcopy .jp {
    font-size: 3rem;
  }

  .top-intro__catchcopy .en {
    font-size: 1.1rem;
  }
}


/* box --------------------------------*/

@media screen and (max-width: 833px) {
  .top-intro .box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
}

@media screen and (min-width: 834px), print {
  .top-intro .box {
    display: grid;
    grid-template-columns: 1fr calc(calc(480 / 1240) * 100vw);
    column-gap: calc(calc(100 / 1240) * 100vw);
  }
}

@media screen and (min-width: 1240px), print {
  .top-intro .box {
    grid-template-columns: 1fr 480px;
    column-gap: 100px;
  }
}


/* テキスト --------------------------------*/
.top-intro .text {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
}

.top-intro .text-en {
  font-family: var(--font-vollkorn);
  color: var(--color-blue-green);
  font-size: 0.8ren;
  font-weight: 500;
  margin-top: 3em;
}

@media screen and (min-width: 834px), print {
  .top-intro .text {
    font-size: 1rem;
  }

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

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

@media screen and (max-width: 833px) {
  .top-intro figure {
    max-width: 300px;
    margin: 0 auto;
    margin-bottom: 30px;
  }
}


/*------------------------------------------*/
/* about
/*------------------------------------------*/


/* 大見出し --------------------------------*/
.top-about .top-heading-wrap {
  background: url('../img/top/top_heading_about_back.svg');
}

.top-about .top-heading {
  background: url('../img/top/top_heading_about.svg') no-repeat;
  background-size: 100%;
  aspect-ratio: 50/18;
}

.top-about .top-heading-wrap,
.top-about .top-heading {
  height: 80px;
}


/* box --------------------------------*/
.top-about .box {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 20px;
}

@media screen and (min-width: 768px), print {
  .top-about .box {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 0;
    column-gap: 20px;
  }
}

@media screen and (min-width: 834px), print {
  .top-about .box {
    column-gap: 40px;
  }
}

/* 画像 --------------------------------*/
.top-about .box .cont figure img {
  width: 100%;
  transition: all .3s ease;
  z-index: 1;
}

/* 矢印 --------------------------------*/
.top-about .box .cont a {
  position: relative;
  display: inline-block;
  border-radius: 20px;
  overflow: hidden;
  z-index: 3;
}

.top-about .box .cont a::before {
  content: '';
  display: inline-block;
  background: var(--color-text);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all .3s ease;
  z-index: 1;
}

.top-about .box .cont a::after {
  content: '';
  display: inline-block;
  background: url('../img/common/icon_arrow_half_circle_white.svg') no-repeat;
  background-size: 100%;
  aspect-ratio: 1/1;
  width: 90px;
  height: auto;
  position: absolute;
  bottom: -10px;
  right: -10px;
  transition: all .3s ease;
  z-index: 2;
}

.top-about .box .cont a:hover::before {
  opacity: 0.3;
}

.top-about .box .cont a:hover::after {
  bottom: 0;
  right: 0;
}

.top-about .box .cont a:hover figure img {
  transform: scale(1.1);
}


/* 見出し --------------------------------*/
.top-about .box .cont .heading-wrap {
  text-align: left;
  color: white;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
}

.top-about .box .cont .heading-wrap .en {
  font-family: var(--font-oswald);
  font-size: 0.9rem;
  font-weight: 300;
}

.top-about .box .cont .heading-wrap .jp {
  font-size: 1.2rem;
  font-weight: 500;
}


@media screen and (min-width: 834px), print {
  .top-about .box .cont .heading-wrap {
    top: 40px;
    left: 40px;
  }

  .top-about .box .cont .heading-wrap .en {
    font-size: 1rem;
  }

  .top-about .box .cont .heading-wrap .jp {
    font-size: 1.6rem;
  }
}


/*------------------------------------------*/
/* company
/*------------------------------------------*/

.top-company {
  position: relative;
  text-align: center;
  background: var(--color-main);
  color: white;
  margin: 0 auto;
  padding: 40px 20px;
  margin-top: 80px;
}

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

@media screen and (min-width: 834px), print {
  .top-company {
    border-radius: 20px;
    padding: 80px 60px;
    margin-top: 160px;
  }
}

@media screen and (min-width: 1400px), print {
  .top-company {
    padding: 90px;
  }
}


/* 見出し --------------------------------*/
.top-company .top-heading {
  font-family: var(--font-oswald);
  color: var(--color-light-main);
  font-size: 4rem;
  position: absolute;
  top: -50px;
  left: 20px;
}

@media screen and (min-width: 768px), print {
  .top-company .top-heading {
    font-size: 6rem;
    top: -80px;
    left: 40px;
  }
}

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

@media screen and (min-width: 1400px), print {
  .top-company .top-heading {
    left: 90px;
  }
}

/* box --------------------------------*/

@media screen and (min-width: 834px), print {
  .top-company .box {
    display: grid;
    grid-template-columns: calc(calc(440 / 1400) * 100vw) 1fr;
    column-gap: calc(calc(80 / 1400) * 100vw);
  }
}

@media screen and (min-width: 1400px), print {
  .top-company .box {
    grid-template-columns: 440px 1fr;
    column-gap: 80px;
  }
}

/* 画像 --------------------------------*/
.top-company .box .image {
  max-width: 440px;
  margin: 0 auto;
}

.top-company .box .image figure img {
  width: 100%;
  border-radius: 10px;
}

/* name --------------------------------*/
.top-company .box .image .caption {
  text-align: right;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.5em;
}


/* テキスト --------------------------------*/
.top-company .text {
  font-size: 0.8rem;
  font-weight: 500;
}

.top-company .text-en {
  font-family: var(--font-vollkorn);
  font-size: 0.7rem;
  margin-top: 2em;
}

@media screen and (max-width: 833px) {
  .top-company .text {
    margin-top: 2em;
  }
}

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

  .top-company .text-en {
    font-size: 0.8rem;
    margin-top: 3em;
  }
}


/* ボタン --------------------------------*/
.top-company .btn-box {
  text-align: center;
  margin-top: 30px;
}

@media screen and (max-width: 767px) {
  .top-company .btn-box .btn-wrap+.btn-wrap {
    margin-top: 30px;
  }
}

@media screen and (min-width: 768px), print {
  .top-company .btn-box {
    display: flex;
    justify-content: center;
  }

  .top-company .btn-box .btn-wrap+.btn-wrap {
    margin-left: 100px;
  }
}

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