/*================================================
  Home
================================================*/


/*------------------------------------------------
  main-visual
------------------------------------------------*/

.main-visual {
  background-image: url(../../image/home/main_img.jpg);
  background-size: cover;
  background-position: center right 30%;
  /* height: calc(100vh - var(--header-size-sp)); */
}
.main-visual-container {
  padding: calc(var(--layout-gap) *1.5) calc(var(--layout-gap) / 1.5);
  min-height: calc(100dvh - var(--header-size-sp));
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
}


@media print, screen and (min-width: 769px) {
  .main-visual-container {
    padding: calc(var(--layout-gap) * 2.5);
    min-height: calc(100dvh - var(--header-size-pc));
  }
}



@media print, screen and (min-width: 1600px) {
  .main-visual {
    min-height: calc(100vh - var(--header-size-pc));
    background-position: center right;
    display: flex;
    align-items: center;
    background-size: 110%;
  }
  .main-visual-container {
    min-height: 100%;
    margin-left: calc(50% - 790px);
    padding: calc(var(--layout-gap) * 2) calc(var(--layout-gap) * 1.5);
  }
}


/* main-visual Content */

.main-visual-heading {
  font-size: clamp(1.8rem, 1.28rem + 2.6vw, 4.4rem);
  /* margin-bottom: calc(var(--layout-gap) /1.25); */
  margin-bottom: 1em;
  line-height: 1.5;
}
.main-visual-text {
  font-size: clamp(1.3rem, 1.16rem + 0.7vw, 2rem);
  font-weight: 700;
  width: 88%;
  /* max-width: 675px; */
  max-width: 630px;
  text-shadow: 0 0 10px var(--color-white), 0 0 10px var(--color-white), 0 0 10px var(--color-white);
  line-height: 1.75;
}
.main-visual-text + .main-visual-text {
  margin-top: 0.75em;
}


@media print, screen and (min-width: 1600px) {
  .main-visual-heading {
    font-size: 5.1rem;
  }
  .main-visual-text {
    font-size: 2.2rem;
    width: 100%;
    max-width: 640px;
    line-height: 2;
  }
}

/*------------------------------------------------
business
------------------------------------------------*/
.business {
  padding: calc(var(--layout-gap) * 1.5) calc(var(--layout-gap) / 1.25);
}
.business-inner {
  margin: 0 auto;
  max-width: 1500px;
  box-shadow: 10px 10px 30px rgba(var(--color-black-rgb), 0.1);
}
.business-inner-text {
  padding: var(--layout-gap);
  background-color: var(--secondary-bg-color);
}
.business-heading {
  color: var(--primary-color);
  font-size: clamp(1.8rem, 1.28rem + 2.6vw, 4.4rem);
  text-align: center;
  margin: 0 auto 1em;
  max-width: 1500px;
}

.business-title {
  text-align: center;
  font-size: clamp(1.8rem, 1.28rem + 2.6vw, 4.4rem);
  line-height: 1.5;
  margin-bottom: 1em;
}
.business-title > span {
  display: block;
  font-size: 80%;
  font-weight: 400;
}

.business-text {
  font-size: clamp(1.6rem, 1.48rem + 0.6vw, 2.2rem);
}

.business-inner-text .btn.card-link {
  margin-top: 2em;
  color: var(--primary-color);
  display: inline-block;
}
.business-inner-text .btn.card-link::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url(../../image/common/arrow_bg_w.svg);
  background-size: contain;
  margin-left: 5px;
}

@media print, screen and (min-width: 769px) {
  .business-heading {
    margin-top: 1em;
  }
  .business-inner {
    display: flex;
    flex-wrap: wrap;
  }
  .business-inner-pic {
    width: 50%;
    background-image: url(../../image/home/contents_business_pic.jpg);
    background-size: cover;
    background-position: center center;
  }
  .business-inner-pic > img {
    visibility: hidden;
  }
  .business-inner-text {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: calc(var(--layout-gap) * 1.25) calc(var(--layout-gap) / 2);
  }
}

@media print, screen and (min-width: 960px) {
  .business-heading {
    text-align: left;
  }
  /* .business-title {
    margin-bottom: calc(var(--layout-gap) *1.5);
  } */
  .business-inner-pic {
    width: 60%;
  }
  .business-inner-text {
    width: 40%;
  }
}

/*------------------------------------------------
each
------------------------------------------------*/
.each-heading {
  color: var(--primary-color);
  font-size: clamp(1.8rem, 1.28rem + 2.6vw, 4.4rem);
  text-align: center;
  margin: 0 auto 1em;
  max-width: 1500px;
  width: calc(100% - calc(var(--layout-gap) *1.5));
}
.each-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.each-item {
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.each-item-link {
  color: var(--color-white);
  display: block;
  /* display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center; */
  width: 100%;
  /* height: 120px; */
  position: relative;
  text-align: center;
  position: relative;
}

.each-item-link-img {
  overflow: hidden;
  position: relative;
}
.each-item-link-img::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(var(--color-black-rgb),0.75);
  mix-blend-mode: multiply;
  position: absolute;
  top: 0;
  left: 0;
}

.each-item-link-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.each-item-label {
  font-size: 2.4rem;
  font-weight: 900;
  display: block;
  margin-bottom:0.8em;
}
.each-item-button {
  color: var(--color-white);
  border: 2px solid var(--color-white);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
  font-weight: 500;
  line-height: 1;
  width: 150px;
  height:100%;
  transition: all .3s linear;
  position: relative;
  opacity: 1;
  box-sizing: border-box;
  padding:1em 2.25em;
  margin: auto;
}
.each-item-button::after {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background-image: url(../../image/common/arrow_bg_w.svg);
  /* background-size: contain; */
  background-size: 99%;
  background-position: center center;
  margin-left: 5px;
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
}
@media print, screen and (min-width: 480px) {
  .each-item-label {
    font-size: clamp(1rem, 0.56rem + 2.2vw, 3.2rem);
    margin-bottom:0.5em;
  }
  .each-item {
    width: calc(100% / 3);
  }
  .each-item-button {
    width: 130px;
  }
}
@media print, screen and (min-width: 769px) {
  .each-heading {
    margin-top: 1em;
  }
}
@media print, screen and (min-width: 960px) {
  .each-heading {
    text-align: left;
  }
  .each-item-label {
    margin-bottom:1em;
  }
  /* Hover Style */
  .each-item-link:hover {
    opacity: 1;
  }

  .each-item-link img {
    transition: transform 0.3s linear;
  }

  .each-item-link:hover img {
    transform: scale(1.1);
    transition: transform 0.3s linear;
  }
  .each-item-link:hover .each-item-link-img::after {
    background-color: rgba(var(--color-black-rgb),0.5);
    transition: background-color 0.3s linear;
  }
  .each-item-button {
    width: 174px;
  }
}
