@import url("./variables.css");



/* hero */
.hero {
  height: 100svh;
}

.hero-inner img {
  width: 100%;
  height: 100svh;
  object-fit: cover;
}

.hero-head {
  position: absolute;
  bottom: 40px;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  height: auto;
  color: var(--color-white);
  padding-inline: var(--padding-x);
}

.hero-head h3 {
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
}

.hero-head h2 {
  font-size: clamp(46px, 7.99999vw, 120px);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.1;
  letter-spacing: -0.1em;
}

/* about */

.about-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .about-inner {
    flex-direction: column;
  }
}

.about-box-Lg {
  width: 41.999%;
}

.about-box-Rg {
  width: 49.9999%;
  margin-top: 200px;
}

@media screen and (max-width: 768px) {
  .about-box-Lg {
    width: 100%;
  }

  .about-box-Rg {
    width: 100%;
    margin-top: 72px;
  }
}

.about-head2 {
  margin-bottom: 160px;
}

.about-textWrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 8rem;
}

@media screen and (max-width: 768px) {
  .about-head2 {
    margin-bottom: 72px;
  }

  .about-textWrap {
    margin-bottom: 5rem;
  }
}

/* reason */
.reason-box {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.reason-box-wrap {
  width: 42%;
}

.reason-box.box1 {
  margin-bottom: 6rem;
}

.reason-box.box2 {
  justify-content: flex-end;
  margin-bottom: 8rem;
}

.reason-box.box2 .reason-box-wrap {
  width: 40%;
  align-items: center;
  padding-top: 40px;
}

@media screen and (max-width: 768px) {
  .reason-box {
    flex-direction: column;
    gap: 2rem;
  }

  .reason-box.box1 {
    margin-bottom: 6rem;
    flex-direction: column-reverse;
  }

  .reason-box.box1 img {
    width: 100%;
  }

  .reason-box-wrap {
    width: 100%;
  }

  .reason-box.box2 {
    margin-bottom: 6rem;
  }

  .reason-box.box2 img {
    max-width: 70%;
  }

  .reason-box.box2 .reason-box-wrap {
    padding-top: 0px;
    width: 100%;
  }

  .reason-box.box3 {
    flex-direction: column-reverse;
  }
}

/* works */
.works.c-section,
.works-inner.c-section-inner,
.works-box {
  overflow: visible !important;
  transform: none !important;
}

.works {
  overflow: visible;
}

.works-inner {
  overflow: visible !important;
}

.works-subCatch {
  margin-bottom: 8px;
}

.works-box {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 80px);
  overflow: visible;
  /* min-height: 300vh; */
}

.works-box-inner {
  min-width: 0;
}

.works-box-inner.lg {
  width: 45%;
  position: sticky;
  top: 80px;
  align-self: flex-start;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.works-box-inner.rg {
  width: 52%;
  padding-bottom: 60px;
}

.works-box-inner.lg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  clip-path: inset(100% 0 0 0);
}

.works-box-inner.lg img:first-child {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

@media screen and (max-width: 768px) {
  .works-box {
    flex-direction: column-reverse;
  }

  .works-box-inner.rg {
    width: 100%;
    padding-bottom: 24px;
  }

  .works-box-inner.lg {
    display: none;
  }

}

.works-head {
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding-bottom: 0.75em;
  margin-bottom: 1em;
  border-bottom: 1px solid var(--color-green-light2);
}

.works-head img {
  width: 54px;
  height: 54px;
  aspect-ratio: 1 / 1;
}

.works-head3 {
  font-size: 1.35rem;
  font-family: serif;
}

.works-item {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media screen and (max-width: 960px) {
  .works-item {
    min-height: auto;
    margin-bottom: var(--div-mb-sp);
  }

  .works-item:last-child {
    min-height: inherit;
    margin-bottom: 0;
  }
}

/* .works-item:not(:last-child) {
    margin-bottom: 7rem;
} */
/* works-sticky-animation */




@media screen and (max-width: 480px) {
  .works-txt {
    text-align: justify;
  }
}

/* img-separate */

.img-separate {
  position: relative;
  height: clamp(240px, 40vw, 520px);
  overflow: hidden;
}

.img-separate-bg {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}

/* column */
.column-inner {
  display: flex;
  gap: clamp(40px, 4.5vw, 100px);
  align-items: flex-start;
  padding-left: var(--padding-x);
}

@media screen and (max-width: 960px) {
  .column-inner {
    flex-direction: column;
    padding-left: var(--padding-x-sp);
    padding-right: var(--padding-x-sp);
    gap: 0;
  }
}

.column-wrap.lg {
  width: 29%;
}

.column-wrap.rg {
  overflow: hidden;
  width: 73%;
  padding-right: 4%;
}

@media screen and (max-width: 960px) {
  .column-wrap.lg {
    width: 100%;
  }

  .column-wrap.rg {
    width: 100%;
    overflow: hidden;
    padding-right: 0;
  }

}

.column-list {
  display: flex;
  gap: 24px;
  will-change: transform;
  margin-bottom: 2rem;
  touch-action: pan-y;
}
.column-item img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.column-item a {
  pointer-events: none;
  display: block;
}
.column-item {
  flex: 0 0 calc((100% - 48px) / 3);
}
@media screen and (max-width: 960px) {


  .column-list {
    display: flex;
    gap: 24px;
    margin-bottom: 2rem;
    will-change: transform;
    touch-action: pan-y;
  }

  .column-item {
    flex: 0 0 80%;
  }

  .column-item img {
    width: 100%;
  }
}

.column-txt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* 2行まで */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* controls */
.column-controls {
  display: flex;
  justify-content: end;
  gap: 12px;
}

.column-controls button {
  cursor: pointer;
}

.controls-btn {
  background: initial;
  border: none;
}

/* progress bar */
.column-progress {
  width: 100%;
  height: 4px;
  background: #eee;
  overflow: hidden;
}

.column-progress .bar {
  height: 100%;
  width: 0%;
  background: var(--color-green);
  transition: width 0.4s ease;
  border-radius: 100px;
}

.column-head2 {
  font-size: 2.25rem;
}

@media screen and (max-width: 960px) {
  .column-head2 {
    font-size: 1.65rem;
  }
}


.column-txt {
  font-size: 0.875rem;
}

.column-head {
  font-size: 1rem;
  margin-bottom: 1em;
}

.column-bottom {
  display: flex;
  align-items: center;
  gap: 5%;
}

@media screen and (max-width: 960px) {
  .column-bottom {
    gap: 20px;
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}



/* voice */
.voice-list {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
}

@media screen and (max-width: 960px) {
  .voice-list {
    flex-direction: column;
    margin-inline: var(--padding-x);
  }
}

.voice-item {
  background: var(--color-white);
  width: calc(90% / 3);
  padding: 24px 32px;
}

.voice-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-green-light2);
  margin-bottom: 1.7em;
  padding-bottom: 1.7em;
}

@media screen and (max-width: 960px) {
  .voice-item {
    width: 100%;
  }
}

.voice-img {
  aspect-ratio: 1 / 1;
  width: 32%;
}

.voice-item-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-item-top-txtBox {
  width: 60%;
}

.voice-persona {
  font-size: 14px;
  line-height: 1.7;
}

.voice-item-bottom-txtBox {
  font-size: 0.875rem;
}

/* access */
.access-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: var(--column-padding);
}

@media screen and (max-width: 960px) {
  .access-inner {
    flex-direction: column-reverse;
    gap: var(--div-mb-sp);
  }
}

.access-head2 {
  border-bottom: 1px solid var(--color-green-light2);
  margin-bottom: 32px;
  padding-bottom: 16px;
  line-height: 1;
}

.access-head3 {
  background: var(--color-green);
  color: var(--color-white);
  padding: 0.05em 0.4em;
  font-family: serif;
  font-size: 1.25rem;
  width: fit-content;
  margin-bottom: 24px;
}

.access-Lg {
  width: 60%;
}

.access-Lg iframe {
  width: 100%;
}

.access-Rg {
  width: 40%;
}

@media screen and (max-width: 960px) {
  .access-Lg {
    width: 100%;
  }

  .access-Rg {
    width: 100%;
  }
}

.access-txt {
  margin-bottom: 16px;
}

/* faq */
.faq-inner {
  display: flex;
  gap: var(--column-padding);
}

@media screen and (max-width: 960px) {
  .faq-inner {
    flex-direction: column;
    padding-block: 0 6.5rem !important;
  }

}

.faq-wrap.lg {
  width: 29%;
}

.faq-wrap.rg {
  width: 70%;
}

@media screen and (max-width: 960px) {
  .faq-wrap.lg {
    width: 100%;
  }

  .faq-wrap.rg {
    width: 100%;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media screen and (max-width: 960px) {
  .faq-list {
    gap: 2rem;
  }
}

.faq-item-top {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 0.5em;
}

.faq-item-top img {
  width: 54px;
  height: 54px;
  aspect-ratio: 1 / 1;
}

.faq-item {
  background: var(--color-green-light);
  padding: 1.5rem 2rem;
}

.faq-item-top {
  border-bottom: 1px solid var(--color-green);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.faq-item-txt {
  font-size: 1.185rem;
  letter-spacing: 0.01em;
  line-height: 1.75;
}

@media screen and (max-width: 960px) {
  .faq-item {
    padding: 1.5rem 1rem;
  }

  .faq-item-top img {
    margin-bottom: auto;
  }

  .faq-item-txt {
    font-size: 1.125rem;
  }
}