@charset "UTF-8";
/* for FreeHMTL Discover Komatsu */

.pb_60 {
  padding-bottom: 60px;
}

.pb_100 {
  padding-bottom: clamp(50px, 8.06vw, 100px);
}

.mt_100 {
  margin-top: clamp(50px, 8.06vw, 100px);
}

/* タイトル非表示 */
.cp_PageTitle {
  display: none;
}

/* Featured Content */
.lp_html.featuredContent {
  background: var(--cp-light-gray);
  padding: clamp(50px, 8.06vw, 100px) 0;
  margin-bottom: clamp(50px, 8.06vw, 100px);
}

.lp_html.featuredContent .cp_common {
  margin-bottom: 0;
}

.lp_html.featuredContent h2 {
  font-size: clamp(2.4rem, 3.9vw, 3rem);
  font-weight: normal;
  letter-spacing: normal;
  line-height: 1.2;
  text-align: center;
  padding-bottom: 28px;
}

.lp_html.featuredContent hgroup {
  padding-bottom: 30px;
}

.lp_html.featuredContent hgroup h2 {
  padding-bottom: clamp(10px, 2vw, 16px);
}

.lp_html.featuredContent hgroup p {
  text-align: center;
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  letter-spacing: 0.95px;
}

.lp_html.featuredContent .common_txt {
  text-align: center;
  padding-bottom: var(--pd60);
  padding-bottom: clamp(50px, 4.83vw, 60px);
}

.lp_html.featuredContent .contentList {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 1%;
  justify-content: space-between;

  @media not screen and (min-width: 768px) {
    flex-wrap: unset;
    flex-direction: column;
    row-gap: 50px;
  }
}

.lp_html.featuredContent .item {
  position: relative;
  width: 22%;  /* 277px */

  @media screen and (min-width: 768px) {
    &:nth-child(2) {
      order: 6;
    }

    /* 5個並び用 */
    &.grow-img {
      flex-grow: 1;
    }
  }


  @media not screen and (min-width: 768px) {
    width: 100%;
    display: grid;
    row-gap: 24px;
  }
}


.lp_html.featuredContent .item-img {
  overflow: hidden;
  height: min(25.8vw, 320px);

  @media not screen and (min-width: 768px) {
    height: auto;
    margin: 0 -8vw;
  }
}

.lp_html.featuredContent .item-img img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition-duration: .45s;

  @media not screen and (min-width: 768px) {
    aspect-ratio: 3 / 2;
  }
}

@media (any-hover: hover) {
  .lp_html.featuredContent .item:hover .item-img img {
    transform: scale(1.05);
    transition-timing-function:
      cubic-bezier(0.45, 0, 0.55, 1);
  }
}

.lp_html.featuredContent .item:nth-child(-n+2) {
  width: 53%;

  @media not screen and (min-width: 768px) {
    width: 100%;

    & .item-img img {
      aspect-ratio: 1 / 1;
    }
  }
}

@media screen and (min-width: 768px) {
  .lp_html.featuredContent .item-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(to top, rgba(36, 36, 36, 0.6), transparent);
  }
}

@media screen and (min-width: 768px) {
  .lp_html.featuredContent .item-txt {
    position: absolute;
    bottom: 0;
    font-size: 1.4rem;
    line-height: 1.4;
    color: white;
    padding: 10px;
  }
}

@media not screen and (min-width: 768px) {
  .lp_html.featuredContent .item-txt {
    font-size: 1.4rem;
    letter-spacing: 1.43px;
    line-height: normal;
  }
}

@media screen and (min-width: 768px) {
  .lp_html.featuredContent .item-link a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    & span {
      display: none;
    }
  }
}

@media not screen and (min-width: 768px) {
  .lp_html.featuredContent .item-link a {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    padding: 0 30px;
    border: solid 2px #140a9a;
    border-radius: 6px;
    font-size: 1.3rem;
    line-height: 1.2;
    font-weight: bold;
    letter-spacing: 2px;
    text-decoration: none !important;
    background: var(--cp-blue);
    color: white;
    word-break: break-word !important;
  }
}

/* FreeHTML TopHeroSlider 上書き */
@media not screen and (min-width: 768px) {
  .lp_html .TopHeroSlider {
    margin-top: -5px;
  }
}

/* 記事一覧 */
.cp_TabContents.brand_contents .tab_content_wrap {
  padding-top: 30px;
}

