@charset "UTF-8";
/* ==========================================================================
    Components (FLOCSS: Object > Component)
    ========================================================================== */
.c-labs-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.c-labs-card {
  background-color: #FFFFFF;
  border: 1px solid #E2DCD2;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(48, 25, 52, 0.02);
}
.c-labs-card__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
}
.c-labs-card__meta-box {
  background-color: #F9F7F3;
  padding: 20px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.c-labs-card__meta-text {
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}
.c-labs-card__logo img {
  width: 100%;
}
.c-labs-card__text {
  line-height: 1.75;
}
.c-labs-card__btn {
  margin-top: 20px;
  display: block;
  width: 100%;
  text-align: center;
  padding: 1em;
  border: 1px solid #DF1514;
  color: #DF1514;
  border-radius: 50px;
  font-weight: 700;
  position: relative;
  z-index: 0;
  overflow: hidden;
  transition-duration: 0.3s;
}
.c-labs-card__btn:after {
  background-color: #DF1514;
  border-radius: 50%;
  content: "";
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  z-index: -1;
  transform: scale(0);
  transform-origin: center;
  transition-duration: 0.3s;
}
@media (hover: none) {
  .c-labs-card__btn:active {
    color: #fff;
  }
  .c-labs-card__btn:active:after {
    transform: scale(1);
  }
}
@media (hover: hover) {
  .c-labs-card__btn:hover {
    color: #fff;
  }
  .c-labs-card__btn:hover:after {
    transform: scale(1);
  }
}
@media screen and (min-width: 768px) {
  .c-labs-list {
    grid-template-columns: repeat(2, 1fr); /* 768px以上で2カラム化 */
    gap: 40px;
  }
  .c-labs-card {
    padding: 30px;
  }
  .c-labs-card__title {
    font-size: 2.4rem;
  }
  .c-labs-card__meta-box {
    flex-direction: row;
  }
  .c-labs-card__meta-text {
    font-size: 1.6rem;
  }
  .c-labs-card__logo {
    width: 33%;
  }
}

/* ==========================================================================
    Project (FLOCSS: Object > Project)
    ========================================================================== */
.p-fv {
  background-color: #F5F1EA;
  background-image: url(../image/top/bg_post.png);
  background-position: top;
  background-repeat: no-repeat;
  background-size: 200%;
  background-blend-mode: multiply;
  padding: clamp(80px, 10.42vw, 150px) 0 clamp(30px, 3.47vw, 50px);
}
.p-fv .l-container {
  padding-top: 0;
  padding-bottom: 0;
}
.p-fv__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 3.47vw, 50px);
}
.p-fv__body {
  width: 100%;
}
.p-fv__image-area {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.p-fv__image-area img {
  width: 100%;
  opacity: 0.8;
}
.p-fv__label {
  font-size: 2.4rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 20px;
}
.p-fv__title {
  font-size: clamp(3.6rem, 3.47vw, 5rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 1em;
  letter-spacing: 0.12em;
}
.p-fv__summary {
  font-size: clamp(2rem, 1.81vw, 2.6rem);
  font-weight: 700;
  line-height: 1.75;
  margin-bottom: 1em;
  border-left: 3px solid #DF1514;
  padding-left: 20px;
}
.p-fv__detail {
  color: rgba(48, 25, 52, 0.85);
}
@media screen and (max-width: 767px) {
  .p-fv {
    padding-top: 150px;
  }
  .p-fv__inner {
    position: relative;
    z-index: 0;
  }
  .p-fv__image-area {
    width: 50%;
    position: absolute;
    top: -8%;
    right: 0;
    z-index: -1;
  }
  .p-fv__title {
    letter-spacing: 0.1em;
  }
}
@media screen and (min-width: 768px) {
  .p-fv {
    background-size: 100%;
  }
  .p-fv__inner {
    flex-direction: row;
    align-items: center;
  }
  .p-fv__body {
    flex: 1;
  }
  .p-fv__image-area {
    width: 33%;
    max-width: 500px;
    margin: 0;
  }
}

/* Labs Section */
.p-labs-section {
  background-image: linear-gradient(0deg, #fff 30%, #F5F1EA 100%);
}