/* -------------------------------- */
/* kv
/* -------------------------------- */

.kv_wrapper {
  padding: min(17.57vw, 288px) 0 0 max(30px, 2.14vw);
}

/*ここからMVテキストアニメーション*/
.catch-text {
  overflow: hidden;
}
.catch-text span {
  font-size: clamp(3.2rem, 8vw, 12.4rem);
  font-weight: 700;
  text-align: center;
  display: block;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(100%);
  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s ease;
}

.catch-text.is-active span {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

.sub-heading {
  overflow: hidden;
  margin-top: 0.8rem;
  text-align: center;
}
.sub-heading br {
  display: none;
}

.sub-heading span {
  display: block;
  font-size: 1.7rem;
  line-height: 1.5;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s ease;
}

.sub-heading.is-active span {
  transform: none;
  opacity: 1;
  transition-delay: 0.25s;
}

.sub-heading-ja {
  margin-top: 4rem;
}
.sub-heading-ja span {
  font-size: clamp(1.5rem, 1.71vw, 2.6rem);
  text-align: center;
  line-height: 1.5;
  font-weight: 500;
}

.sub-heading-ja br {
  display: block;
}

/* ========================================
kv media
======================================== */

.kv-media {
  overflow: hidden;
  margin-top: 12.57vw;
}

/* reveal */

.kv-media .reveal-mask {
  overflow: hidden;

  clip-path: inset(100% 0 0 0);

  transition: clip-path 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* video */

.kv-video {
  width: 100%;
  height: auto;

  display: block;

  object-fit: cover;

  transform: scale(1.15) translateY(-8%);

  transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* show */

.kv-media.is-show .reveal-mask {
  clip-path: inset(0 0 0 0);
}

.kv-media.is-show .kv-video {
  transform: scale(1) translateY(0);
}

/* -------------------------------- */
/*kv-メディアクエリ
/* -------------------------------- */

@media (max-width: 1024px) {
}

@media (max-width: 768px) {
  .catch-text span {
    font-size: clamp(4.8rem, 8.2vw, 8rem);
  }
}

@media (max-width: 599px) {
  .kv_wrapper {
    padding: 6rem 0 0 2rem;
  }
  .catch-text span {
    font-size: 4.8rem;
    text-align: left;
    line-height: 1.1;
  }

  .sub-heading {
    margin-top: 3rem;
  }
  .sub-heading br {
    display: block;
  }
  .sub-heading span {
    font-size: 1.2rem;
    text-align: left;
  }

  .sub-heading-ja span {
    font-size: 1.5rem;
  }
  video {
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
  }
  .reveal picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* -------------------------------- */
/* aboutセクション
/* -------------------------------- */

.about-section {
  padding: 8.57vw max(30px, 2.14vw);
}

.about-inner {
  display: grid;
  grid-template-columns: 18vw 1fr;
  column-gap: 12vw;
}

.about-label {
  font-size: clamp(1.2rem, 1vw, 1.4rem);
  line-height: 1.5;
  font-weight: 400;
  color: rgb(0, 0, 0, 0.5);
}

.about-content {
  max-width: 52rem;
}

.about-heading {
  display: flex;
  flex-direction: column;
  row-gap: 0.2em;
  font-size: clamp(2.4rem, 2.57vw, 4rem);
  line-height: 1.5;
  font-weight: 600;
}

.about-heading span {
  display: block;
}

.about-text {
  margin-top: 5.71vw;
  display: flex;
  flex-direction: column;
  row-gap: 4rem;
}

.about-text p {
  font-size: clamp(1.6rem, 1.43vw, 2.2rem);
  line-height: 2;
}

/* -------------------------------- */
/*aboutセクション-メディアクエリ
/* -------------------------------- */

@media (max-width: 1024px) {
}

@media (max-width: 768px) {
  .about-inner {
    display: flex;
  }
  .about-label {
    font-size: 1.1rem;
  }
}

@media (max-width: 599px) {
  .about-section {
    padding: 3.6rem 3rem 6rem;
  }
  .about-inner {
    display: block;
  }
  .about-content {
    width: 100%;
    margin-top: 3rem;
  }
}

/* -------------------------------- */
/* serviceセクション
/* -------------------------------- */
.solutions {
  padding: 8.57vw max(30px, 2.14vw);
}

.solution-header {
  text-align: center;
}

.solution-label {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
/* 
.solution-main {
  position: relative;
  width: 100%;
  height: 22rem;
  margin-inline: auto;
  margin-bottom: 3.2rem;
  overflow: hidden;
}

.solution-word {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.solution-word span {
  display: block;

  font-size: clamp(4rem, 8vw, 11rem);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.solution-word.is-show {
  opacity: 1;
  transform: translateY(0);
}

.solution-word.is-hide {
  opacity: 0;
  transform: translateY(20px);
}

.solution-lead {
  margin-top: 4.8rem;

  font-size: clamp(1.6rem, 1.43vw, 2rem);
  line-height: 1.8;
} */

/* ========================================
Solution Main
======================================== */

.solution-main {
  position: relative;

  display: grid;

  width: 100%;

  min-height: clamp(16rem, 18vw, 28rem);

  margin-inline: auto;

  overflow: hidden;
}

/* word */

.solution-word {
  grid-area: 1 / 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  opacity: 0;

  transform: translateY(1.2rem);

  transition:
    opacity 0.35s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* text */

.solution-word span {
  display: block;

  font-size: clamp(5.6rem, 10vw, 12rem);

  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 700;
}

/* active */

.solution-word.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* hide */

.solution-word.is-hide {
  opacity: 0;
  transform: translateY(1.2rem);
}

/* lead */

.solution-lead {
  margin-top: 4.8rem;

  font-size: clamp(1.6rem, 1.43vw, 2rem);
  line-height: 1.8;
}

/* =================================
Visual
================================= */

.solution-visual {
  margin: 8.57vw 0;
  display: flex;
  justify-content: center;
}

.solution-visual img {
  width: 38.57vw;
  height: auto;
}

/* =================================
List
================================= */
.solution-list {
  width: 100%;

  border-top: 1px solid rgb(0, 0, 0, 0.15);
}

.solution-item {
  display: grid;

  grid-template-columns:
    34vw /* number */
    38vw /* title */
    1fr; /* text */

  padding: 4.28vw 0;
  border-bottom: 1px solid rgb(0, 0, 0, 0.15);
}

.solution-num {
  font-size: clamp(4.8rem, 5vw, 7rem);
  line-height: 1;
}

.solution-title {
  font-size: clamp(4rem, 4vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.solution-category {
  margin-top: 1.6rem;
  font-size: clamp(1.4rem, 1.14vw, 1.8rem);
  /* color: #8f8f8f; */
  line-height: 1.75;
}

.solution-text {
  width: 100%;
  max-width: 27.42vw;
  justify-self: end;
  font-size: clamp(1.4rem, 1.14vw, 1.8rem);
  line-height: 1.75;
  /* color: #8f8f8f; */
  margin-left: auto;
}

.link-wrap {
  display: flex;
  justify-content: flex-end;
}

/* -------------------------------- */
/*solutions セクション-メディアクエリ
/* -------------------------------- */

@media (max-width: 1024px) {
}

@media (max-width: 768px) {
  .solution-lead {
    margin-top: 3rem;
    font-size: 1.8rem;
  }
  .solution-visual {
    margin: 8.8rem auto;
  }
  .solution-visual img {
    width: 60%;
    min-width: 30rem;
  }
  .solution-item {
    grid-template-columns: 22vw /* number */ 38vw /* title */ 1fr;
  }
  .solution-num {
    font-size: clamp(2rem, 2.4rem + 1.56vw, 3.6rem);
  }
  .solution-title {
    font-size: 3.6rem;
  }
}

@media (max-width: 599px) {
  .solutions {
    padding: 6rem 2rem;
  }
  .solution-list {
    width: calc(100% - 2rem);
    margin: 0 auto;
  }
  .solution-label {
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }
  .solution-main {
    min-height: 6.4rem;
  }

  .solution-word span {
    font-size: 3.7rem;
  }
  .solution-lead {
    font-size: 1.6rem;
  }
  .solution-visual {
    margin-top: 4.8rem;
  }
  .solution-item {
    grid-template-columns: 1fr;
    padding: 2rem 0 2.2rem;
  }
  .solution-num {
    font-size: 2rem;
  }
  .solution-info {
    margin-top: 1.6rem;
  }
  .solution-category {
    font-size: 1.4rem;
    margin-top: 0.8rem;
  }
  .solution-text {
    max-width: 100%;
    margin-top: 2.4rem;
  }
}

/* ========================================
worksセクション
======================================== */

.works {
  padding: 8.57vw max(30px, 2.14vw);
}

.works-inner {
  display: grid;
  grid-template-columns: 34vw 1fr;
}

/* ========================================
heading
======================================== */

.works-heading-wrap {
  position: relative;
}

.works-heading {
  position: sticky;
  top: 12rem;
  font-size: clamp(2.4rem, 2.14vw, 3.6rem);
  line-height: 1;
}

/* ========================================
list
======================================== */

.works-list {
  width: 100%;
  margin-left: auto;
}
.works-item + .works-item {
  margin-top: 8rem;
}

/* ========================================
image reveal
======================================== */

.reveal {
  overflow: hidden;
}

.reveal-mask {
  overflow: hidden;

  clip-path: inset(100% 0 0 0);

  transition: clip-path 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal img {
  width: 100%;
  height: auto;
  display: block;

  transform: scale(1.2) translateY(-8%);

  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* show */

.reveal.is-show .reveal-mask {
  clip-path: inset(0 0 0 0);
}

.reveal.is-show img {
  transform: scale(1) translateY(0);
}

/* ========================================
text reveal
======================================== */

.works-category {
  margin-top: 2rem;
  overflow: hidden;
  font-size: clamp(1.5rem, 1.428vw, 2.4rem);
  line-height: 1.75;
}

.js-line {
  display: inline-block;

  transform: translateY(100%);
  opacity: 0;

  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.9s ease;
}

.js-line.is-show {
  transform: translateY(0);
  opacity: 1;
}
/* -------------------------------- */
/* works-メディアクエリ
/* -------------------------------- */

@media (max-width: 1024px) {
}

@media (max-width: 768px) {
  .works-inner {
    grid-template-columns: 26vw 1fr;
  }
}

@media (max-width: 599px) {
  .works {
    padding: 6rem 3rem;
  }
  .works-inner {
    grid-template-columns: 1fr;
  }
  .works-heading-wrap {
    margin-bottom: 4rem;
  }
  .works-item + .works-item {
    margin-top: 4.8rem;
  }
}
