/*
Theme Name: affinger-child
Template: affinger
Description: AFFINGER6 対応
Version: 20240601
*/

/*media Queries PC
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 770px) {
#leftnav {
  width: 260px;
  background: #FFFFFF;
  float: left;
  text-align: left;
  margin-top: 10px;
}
#leftnav .leftnav_title {
  font-family: A-OTF UD Shin Go Pro, sans-serif;
  font-size: 15px;
  font-weight: bold;
  margin: 40px 0 15px;
}
#leftnav .leftnav_title:first-of-type {
  margin-top: 0;
}
#leftnav .banner_list > li {
  margin-bottom: 10px;
}
#leftnav .banner_list > li::marker {
  font-size: 0;
}
#leftnav .banner_list > li:last-child {
  margin-bottom: 0;
}
.leftnav_wp_wrapper {
  background: #F5F5F5;
  border-radius: 15px;
  padding: 40px 15px 20px;
  box-sizing: border-box;
  margin-top: 40px;
  position: relative;
}
.leftnav_wp_wrapper_label {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #87B828;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 3px;
  margin-bottom: 18px;
  position: absolute;
  top: -6px;
  left: 10px;
  width: 110px;
  height: 24px;
}
.leftnav_wp_title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.0;
}
.leftnav_category_list li {
  position: relative;
}
.leftnav_category_list li::after {
  content: "";
  background: url(https://xn--jckte8ayb1fw150a2i3e.com/portal/shared/images/common/arrow.png);
  position: absolute;
  bottom: 13px;
  right: 6px;
  width: 12px;
  height: 15px;
}
.leftnav_category_list li::marker {
  font-size: 0;
}
.leftnav_category_list li:hover {
  opacity: 0.75;
}
.leftnav_category_list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: #222;
  font-size: 15px;
  line-height: 1.3;
  padding: 15px 30px 10px 0;
  border-bottom: 1px solid #333333;
}
.leftnav_category_list li:first-of-type a {
  padding: 0 30px 10px 0;
}
.leftnav_category_list li:last-of-type a {
  margin-bottom: 30px;
}

/* 関連記事 */
.leftnav_related_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.leftnav_related_item::marker {
  font-size: 0;
}
.leftnav_related_link {
  display: flex;
  align-items: center;
  gap: 0;
}
.leftnav_related_thumb {
  width: 100px;
  height: 100px;
  border-radius: 15px 0 0 15px;
  background: #D9D9D9;
}
.leftnav_related_thumb img {
  width: 100%;
  height: 100%;
  border-radius: 15px 0 0 15px;
}
.leftnav_related_item_txt {
  flex: 1 1 auto;
  background: #FFFFFF;
  padding: 12px 10px 15px;
  min-width: 0;
  box-sizing: border-box;
  width: 130px;
  height: 100px;
  border-radius: 0 15px 15px 0;
}
.leftnav_related_item_date {
  display: block;
  font-size: 10px;
  line-height: 1.0;
  color: #333333;
  margin-bottom: 3px;
}

.leftnav_related-text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: #333333;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* PC用で少しだけ抑える */
@media (min-width: 769px) {
  .kh-side-heading {
    font-size: 22px;
  }

  .kh-side-category-link {
    font-size: 16px;
  }

  .kh-side-related-card__thumb {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
  }

  .kh-side-related-card__title {
    font-size: 14px;
  }
}

/* SPでサイドバー非表示ならこれ */
@media (max-width: 768px) {
  .l-sidebar,
  .sidebar,
  .p-sidebar {
    display: none;
  }
}

#leftnav .leftnav_kaiin {
  text-align: center;
  width: 260px;
  position: relative;
  font-weight: bold;
}

#leftnav .leftnav_kaiin a {
  display: block;
  text-decoration: none;
  background-color: #87B828;
  color: #FFFFFF;
  font-size: 20px;
  width: 100%;
  height: 70px;
  box-sizing: border-box;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#leftnav .leftnav_kaiin a span {
  margin-right: 5px;
}

#leftnav .leftnav_kaiin a img {
  width: 30px;
}

#leftnav .leftnav_kaiin a:hover {
  opacity: 0.7;
}

#leftnav .leftnav_lists {
  display: flex;
  flex-wrap: wrap;
}

#leftnav .leftnav_lists li {
  border: 1px solid #CCCCCC;
}

#leftnav .leftnav_lists li:not(:last-child) {
  border-bottom: none;
}

#leftnav .leftnav_lists .leftnav_list_subtitle {
  background-color: #F5F5F5;
  width: 260px;
  height: 32px;
  line-height: 32px;
  padding-left: 15px;
  font-size: 15px;
}
#leftnav .leftnav_lists .leftnav_list_subtitle::marker {
  font-size: 0;
}
#leftnav .leftnav_lists .leftnav_list {
  width: 260px;
  height: 45px;
}
#leftnav .leftnav_lists .leftnav_list::marker {
  font-size: 0;
}
#leftnav .leftnav_lists .leftnav_list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0 10px;
  width: 100%;
  height: 100%;
  padding: 4px 0 0 15px;
  box-sizing: border-box;
  color: #333333;
  font-size: 15px;
  line-height: 1.2;
}

#leftnav .leftnav_lists .leftnav_list a .maker {
  width: 80px;
}

#leftnav .leftnav_lists .leftnav_list a span {
  position: absolute;
  right: 15px;
}

#leftnav .leftnav_products {
  display: flex;
  gap: 15px 10px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

#leftnav .leftnav_products .leftnav_product {
  width: 80px;
  height: auto;
}
#leftnav .leftnav_products .leftnav_product::marker {
  font-size: 0;
}
#leftnav .leftnav_products .leftnav_product img {
  width: 100%;
  height: 80px;
}

#leftnav .leftnav_products .leftnav_product:hover {
  opacity: 0.5;
}

#leftnav .leftnav_products .leftnav_product_title {
  font-size: 10px;
  margin-top: 5px;
  color: #333333;
  line-height: 1.3;
}

}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 769px) {
 
}

