@charset "utf-8";
/* ヒーローセクション */
.tp-hero {
  position: relative;
}

.tp-hero__pic {
}

.tp-hero__pic img {
  width: 100%;
  min-height: 640px;
  object-fit: cover;
  aspect-ratio: 1440 / 640;
}

.tp-hero__catch {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
}

.tp-hero__heading {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding-top: 70px;
  padding-bottom: 60px;
  padding-left: 64px;
}

.tp-hero__heading span[lang="en"] {
  padding-left: 0.5em;
  font-family: var(--ff-bebas);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.2em;
}

.tp-hero__heading span[lang="ja"] {
  font-family: var(--ff-serif);
  font-size: 80px;
  font-weight: 500;
  letter-spacing: 0.17em;
}

.tp-hero__heading::after,
.tp-hero__heading::before {
  --base-width: 70%;
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 0;
  width: var(--base-width);
  height: 100%;
  background-color: var(--c-main);
  clip-path: polygon(0 0, calc(100% - var(--clip-path-gutter)) 0, 100% 100%, 0 100%);
  opacity: 0.35;
}

.tp-hero__heading::after {
  --clip-path-gutter: 160px;
}

.tp-hero__heading::before {
  --clip-path-gutter: 180px;
  width: calc(var(--base-width) - 40px);
  height: calc(100% + 40px);
}

@media (max-width: 768px) {
  .tp-hero__pic img {
    min-height: 0;
    height: 448px;
    aspect-ratio: 375 / 448;
  }

  .tp-hero__catch {
    bottom: 48px;
  }

  .tp-hero__heading {
    padding-top: 24px;
    padding-bottom: 36px;
    padding-left: 16px;
  }

  .tp-hero__heading span[lang="en"] {
    font-size: 17px;
  }

  .tp-hero__heading span[lang="ja"] {
    font-size: 40px;
    line-height: 1;
  }

  .tp-hero__heading::after,
  .tp-hero__heading::before {
    --base-width: 66%;
  }

  .tp-hero__heading::after {
    --clip-path-gutter: 70px;
  }

  .tp-hero__heading::before {
    --clip-path-gutter: 80px;
    width: calc(var(--base-width) - 20px);
    height: calc(100% + 20px);
  }
}

.tp-scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: absolute;
  right: 46px;
  bottom: 0;
  color: #fff;
}

.tp-scroll-down__text {
  font-family: var(--ff-bebas);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.15em;
  line-height: 1;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.tp-scroll-down__line {
  position: relative;
  overflow: hidden;
  height: 152px;
  width: 1px;
}

.tp-scroll-down__line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;

  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateY(-100%);
  }
  80% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@media (max-width: 768px) {
  .tp-scroll-down {
    right: 16px;
  }

  .tp-scroll-down__line {
    height: 112px;
  }
}

/* イントロセクション */
.tp-intro {
  overflow: hidden;
  position: relative;
  padding: 100px var(--inner-gutter) 140px;
}

.tp-intro__bg {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.tp-intro__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tp-intro__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row-reverse;
}

.tp-intro__heading {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin-left: -120px;
  color: var(--c-accent);
  font-family: var(--ff-serif);
  font-size: 52px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.9;
}
.tp-intro__heading .-line {
  padding-bottom: 4px;
  padding-left: 16px;
  box-decoration-break: clone;
  background-color: #fff;
}

.tp-intro__pic {
  --clip-path: polygon(30% 0, 100% 0, calc(100% - 30%) 100%, 0 100%);
  position: relative;
  z-index: 1;
}

.tp-intro__pic::after,
.tp-intro__pic::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  inset: 0;
  background-color: #aaa282;
  clip-path: var(--clip-path);
}

.tp-intro__pic::after {
  translate: -40px 20px;
}

.tp-intro__pic::before {
  translate: -80px 40px;
  opacity: 0.3;
}

.tp-intro__pic img {
  clip-path: var(--clip-path);
}

@media (max-width: 1024px) {
  .tp-intro__wrap {
    flex-direction: column;
    align-items: flex-start;
    max-width: fit-content;
    margin-right: auto;
    margin-left: auto;
  }

  .tp-intro__heading {
    margin-bottom: -1em;
    margin-left: 12px;
  }
}

@media (max-width: 768px) {
  .tp-intro {
    padding-top: 50px;
    padding-bottom: 68px;
  }

  .tp-intro__heading {
    font-size: clamp(22px, 5vw, 36px);
    letter-spacing: 0.26em;
    line-height: 2;
  }

  .tp-intro__heading .-line {
    padding-bottom: 2px;
    padding-left: 8px;
  }

  .tp-intro__pic {
    margin-right: calc(var(--inner-gutter) * -1);
    margin-left: -12vw;
  }

  .tp-intro__pic::after {
    translate: -20px 12px;
  }

  .tp-intro__pic::before {
    translate: -40px 24px;
  }
}

/* NEWS&TOPICSセクション */
.tp-topics {
  padding-top: 140px;
  padding-bottom: 180px;
}

@media (max-width: 768px) {
  .tp-topics {
    padding-top: 72px;
    padding-bottom: 88px;
  }
}

/* SERVICEセクション全体 */
.tp-service {
  padding-top: 100px;
  padding-bottom: 170px; /* 下部セクションとの区切り */
  background-color: #f8f8f8;
}

@media (max-width: 768px) {
  .tp-service {
    padding-top: 70px;
    padding-bottom: 80px;
  }
}

.tp-service-cards-container {
  --service-cards-row-gap: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: var(--service-cards-row-gap);
}

.tp-service-cards {
  display: grid;
  grid-template-columns: repeat(var(--cards-col, 3), minmax(0, 1fr));
  gap: var(--service-cards-row-gap) var(--col-gap, 56px);
}

.tp-service-card__header {
  margin-bottom: var(--card-header-mb, 20px);
}

.tp-service-card__title {
  display: flex;
  flex-direction: column;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.tp-service-card__title::before {
  content: attr(data-en);
  padding-left: 0.1em;
  color: var(--c-accent);
  font-family: var(--ff-bebas);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.15em;
  line-height: 1;
}

.tp-service-card__thumb {
  position: relative;
  max-width: fit-content;
  margin-right: auto;
  margin-left: auto;
}

.tp-service-card__thumb::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-image: linear-gradient(90deg, var(--c-accent) 0, var(--c-accent) 20%, #bababa 20%, #bababa 100%);
}

.p-service-card__btn {
  margin-top: var(--card-btn-mt, 24px);
  text-align: center;
}

@media not all and (max-width: 1024px) {
  .tp-service-cards.tp-service-cards--col2 {
    --cards-col: 2;
    --col-gap: 64px;
    --card-header-mb: 28px;
    --card-btn-mt: 32px;
  }
}

@media (max-width: 1024px) {
  .tp-service-cards {
    --cards-col: 2;
  }
}

@media (max-width: 768px) {
  .tp-service-cards {
    --cards-col: 1;
    place-items: center;
  }
}

/* 選ばれる理由と納入事例 */
.tp-feature-cases {
  position: relative;
  padding-top: 96px;
  padding-bottom: 110px;
}

.tp-feature-cases__bg {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.tp-feature-cases__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tp-feature-cases__bnrs {
  display: grid;
  place-items: baseline;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 54px;
}

.tp-feature-cases__bnr {
  transition: filter 0.3s ease-in-out;
}

.tp-feature-cases__bnr:hover {
  filter: brightness(0.4);
}

@media (max-width: 768px) {
  .tp-feature-cases {
    padding-top: 64px;
    padding-bottom: 48vw;
  }

  .tp-feature-cases__bnrs {
    place-items: center;
    row-gap: 32px;
  }
}
