@charset "UTF-8";

/* =================================
 category page scoped header tweak
================================= */
.l-category-page ul.g-3column {
  grid-template-columns: repeat(5, 1fr);
}

.l-category-page ul.g-3column a {
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .l-category-page ul.g-3column {
    display: none;
  }
}

/* タイトル行: パンくずと左端を常に揃える */
.l-category-page .c_mv_child .c_mv_child_inner_s {
  box-sizing: border-box;
}

.l-category-page .c_mv_child .c_mv_child_info,
.l-category-page .c_mv_child .c-breadcrumb_wrap,
.l-category-page .c_mv_child .c-breadcrumb {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.l-category-page .c_mv_child .u-disp-flex-pc {
  width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.l-category-page .c_mv_child .u-disp-flex-pc .c_mv_child_ttl_2s {
  margin-left: 0;
  padding-left: 0;
}

/* 900px以下: タイトル(h1)とリード文を縦積み */
@media screen and (max-width: 900px) {
  .l-category-page .c_mv_child .c_mv_child_inner_s,
  .l-category-page .c_mv_child_category_nav .c_mv_child_inner_s {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .l-category-page .c_mv_child .u-disp-flex-pc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .l-category-page .c_mv_child .u-disp-flex-pc .c_mv_child_ttl_2s {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0.8rem;
    padding-right: 0;
  }

  .l-category-page .c_mv_child .u-disp-flex-pc .c-text.notes {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0;
    padding-right: 0;
  }
}

/* =================================
 child category nav (pill tags)
================================= */
.l-category-page .c_mv_child_category_nav {
  background: #fff;
  border-bottom: 2px solid #f7f0e6;
}

.l-category-page .c_mv_child_category_nav .c_mv_child_inner_s {
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}

.l-category-page .c_mv_child_category_list {
  margin-top: 0;
  gap: 1.2rem;
}

.l-category-page .c_mv_child_category_list .c_label_list_item {
  margin-right: 0;
  margin-bottom: 0;
}

.l-category-page .c_mv_child_category_list .c_label_1 {
  background-color: #fff;
  border: 1px solid #c8c7c6;
  border-radius: 999px;
  color: #4c4948;
  font-size: 1.4rem;
  line-height: 1.4;
  padding: 0.6rem 1.6rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.l-category-page .c_mv_child_category_list .c_label_1.is-current {
  background-color: #1f2c5c;
  border-color: #1f2c5c;
  color: #fff;
}

.hover .l-category-page .c_mv_child_category_list .c_label_1:hover {
  background-color: #1f2c5c;
  border-color: #1f2c5c;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .l-category-page .c_mv_child_category_nav .c_mv_child_inner_s {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .l-category-page .c_mv_child_category_list {
    gap: 0.8rem;
  }

  .l-category-page .c_mv_child_category_list .c_label_1 {
    font-size: 1.2rem;
    padding: 0.5rem 1.2rem;
  }
}

/* =================================
 category segment list
================================= */
#new .segment_list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9rem 7rem;
  margin: 2rem 0 12rem;
  padding: 0;
}

#new .segment_list li {
  padding-top: 2rem;
}

#new .seg-l-label_wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid #4c4948;
}

#new .seg-l-label {
  font-family: "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "Times New Roman",
    serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  flex: 1;
  min-width: 0;
  color: #1f2c5c;
}

#new .seg-l-link {
  flex-shrink: 0;
  border: 1px solid #a5a4a3;
  padding: 0.8rem 1.6rem;
  padding-right: 4.8rem;
  color: #4c4948;
  font-size: 1.4rem;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  position: relative;
  background: #fff;
  transition: all 0.2s ease-in-out;
}

#new .seg-l-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: #1f2c5c;
  width: 0;
  height: 100%;
  z-index: -1;
  transition: all 0.2s ease-in-out;
}

#new .seg-l-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.6rem;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 1.8rem;
  background-image: url("../img/ico_arrow_1.svg");
  background-size: cover;
  background-repeat: no-repeat;
  transition: all 0.2s ease-in-out;
}

.hover #new .seg-l-link:hover {
  color: #fff;
  border: 1px solid #1f2c5c;
  background: transparent;
}

.hover #new .seg-l-link:hover::before {
  width: 100%;
}

.hover #new .seg-l-link:hover::after {
  transform: translate(3px, -50%);
  background-image: url("../img/ico_arrow_1_white.svg");
}

#new .seg-l-img {
  margin-bottom: 1.6rem;
}

#new .seg-l-img img {
  width: 100%;
  height: auto;
  display: block;
}

#new .seg-l-exp-ttl {
  margin: 0 0 0.8rem;
  font-size: 3rem;
  line-height: 1.6;
  font-weight: 700;
  color: #1f2c5c;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

#new .seg-l-exp-txt {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  color: #4c4948;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  #new .segment_list {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    margin: 1.2rem 0 3rem;
  }

  #new .seg-l-label {
    font-size: 2.4rem;
  }

  #new .seg-l-link {
    font-size: 1.2rem;
    padding: 0.6rem 1.2rem;
    padding-right: 3.6rem;
  }

  #new .seg-l-link::after {
    right: 1.2rem;
    width: 1rem;
    height: 1rem;
  }

  #new .seg-l-exp-ttl,
  #new .seg-l-exp-txt {
    font-size: 1.6rem;
  }
}
