/**
 * File: featured.css
 * Usage: メディア掲載セクション共通スタイル
 * 使用ページ: front-page, single-symptoms, single-shop
 * ※ single-symptoms.css から抽出
 */

/* ========================================
   メディア掲載
   ※ CSS変数は base.css で一元管理
   ======================================== */
.ly_featured {
  position: relative;
  background-color: #F2F4F5;
}
@media (max-width: 768px) {
  .ly_featured {
    padding: 60px 0 40px ;
  }
}
.bl_featured_inner {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 15px;
}
.bl_featured_h2_sub {
  text-align: center;
  margin-bottom: 25px; 
}

.bl_featured_h2_sub span {
  color: #1a2c4d;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap; 
  position: relative;
  padding: 8px 15px;
  border: 2px solid #001E3C;
}

.bl_featured_h2_sub span::before {
  content: "";
  position: absolute;
  bottom: -17px;
  left: 20px;
  border-style: solid;
  border-width: 17px 0 0 17px;
  border-color: #001E3C transparent transparent transparent;
}

.bl_featured_h2_sub span::after {
  content: "";
  position: absolute;
  bottom: -15px; 
  left: 22px;
  border-style: solid;
  border-width: 15px 0 0 15px;
  border-color: #F2F4F5 transparent transparent transparent;
}

.ly_featured h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 40px;
  text-align: center;
}
@media (max-width: 768px) {
  .ly_featured h2 {
    font-size: 24px;
  }
}

.ly_featured .bl_featured_item{
  width: calc((100% - 48px) / 3);
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ly_featured .bl_featured_item img{
  border-radius: 8px;
}
.ly_featured .bl_featured_item .bl_featured_item_title{
  font-weight: 700;
  font-size: 18px;
  color: #001E3C;
  margin-bottom: 18px;
}
.ly_featured .bl_featured_item.wide{
  width: 100%;
  flex-direction: row;
  gap: 28px;
  margin-top: 80px;
  align-items: center;
}
.ly_featured .bl_featured_item.wide .bl_featured_item_title{
  font-size: 24px;
}
@media screen and (max-width: 767px) {
  .ly_featured .bl_featured_item.wide .bl_featured_item_title{
    font-size: 20px;
  }
}
.ly_featured .bl_featured_item.wide .bl_featured_item_imgWrap{
  display: flex;
  gap: 8px;
  width: 50%;
}

.ly_featured .bl_featured_item.wide img{
  width: calc((100% - 16px) / 3 );

}
@media screen and (max-width: 768px) {
  .bl_featured_inner{
    padding: 0 15px;
  }
  .ly_featured .bl_featured_item.wide .bl_featured_item_imgWrap{
    width: 100%;
  }

/* 各アイテムのスタイル（元々のスタイルを維持しつつ調整） */
.bl_featured_item {
    height: auto; /* 高さを自動調整 */
    display: flex;
    flex-direction: column;
}

.bl_featured_item img {
    width: 100%;
    height: auto;
}
.ly_featured .bl_featured_item.wide{
  flex-direction: column;
  padding: 15px;
}

  
}
/* ----------------------------------------
   タブレット (768px以上)
   ---------------------------------------- */
@media screen and (min-width: 768px) {
  .ly_featured {
    padding: 100px 0;
  }
  .ly_featured .bl_featured_wrapper{
    display: flex; 
    gap: 24px;
  }
  .ly_featured .bl_featured_item.wide .bl_featured_item_content{
    flex: 1;
    padding-left: 24px;
  }  
}

/* ----------------------------------------
   PC (1024px以上)
   ---------------------------------------- */
@media screen and (min-width: 1024px) {
  .ly_featured h2 {
    font-size: 40px;
    margin-bottom: 80px;
  }

}
