/* plan.twig 専用スタイル */

/* タイトル下説明文：bl_sect_title の font-size(30px) 継承を上書き */
.bl_sect__plan .bl_sect_title .f_black,
.bl_sect_title .f_black {
  font-size: 18px !important;
  font-weight: normal !important;
  line-height: 1.8;
  margin-top: 8px;
}

.bl_sect_title .f_black strong {
  font-weight: bold;
}

/* プラン推奨リスト */
.bl_flow_content .value_card .sub_title {
  margin-top: 20px;
}
.plan_recommend_list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.plan_recommend_list li {
  position: relative;
  padding: 5px 0 5px 22px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: bold;
  text-align: left;
}
.plan_recommend_list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #CCB300;
  font-weight: bold;
}

.bar > div {
  height: auto !important;
  line-height: normal !important;
  border-radius: 15px !important;
}
.bar > div p {
  padding: 5px;
}

/* プランカード内の放映時間帯 */
.plan_time_section {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #ddd;
}
.plan_time_label {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}
.plan_time_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 10px;
}
.plan_time_item {
  text-align: center;
}
.plan_time_item.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.plan_time_item img {
  width: 100%;
  max-height: 140px;
  display: block;
  margin: 0 auto;
}
.plan_time_item.disabled img {
  opacity: 0.2;
}
.plan_time_item p {
  font-size: 16px;
  font-weight: bold;
  margin-top: 6px;
  color: #666;
}
.plan_time_item.disabled p,
.plan_time_item.disabled p span {
  color: #999;
}

/* プランカード内のボタン */
.bl_flow_content .design-link-area {
  margin-top: 25px;
}

/* 放映時間帯についてセクション */
.bl_sect__plan_time {
  background-color: #f1ede5;
  padding: 60px 0;
}

/* 放映の流れセクション */
.bl_sect__plan_flow {
  background-color: #fff;
}
.bl_flow_steps {
  display: flex;
  flex-direction: column;
  width: 450px;
  max-width: 100%;
  margin: 40px auto;
}
.bl_flow_step {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  border: 2px solid #CCB300;
  border-radius: 10px;
  padding: 20px 40px;
  position: relative;
  margin-bottom: 44px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  width: 100%;
}
.bl_flow_step:not(.bl_flow_step--last)::after {
  content: "▼";
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  color: #CCB300;
  font-size: 22px;
  line-height: 1;
}
.bl_flow_step--last {
  border-color: #CCB300;
  background-color: #CCB300;
  margin-bottom: 0;
  box-shadow: 0 4px 16px rgba(204, 179, 0, 0.4);
}
.bl_flow_step__icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #CCB300;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  margin: 0;
}
.bl_flow_step--last .bl_flow_step__icon {
  background-color: #fff;
  color: #CCB300;
}
.bl_flow_step--last .step_title {
  color: #fff;
}
.step_title {
  font-weight: bold;
  font-size: 24px;
  color: #333;
  margin: 0;
  line-height: 1.4;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .bl_sect__plan .bl_sect_title .f_black,
  .bl_sect_title .f_black {
    display: inline-block;
    text-align: left !important;
    font-size: 14px !important;
  }
  .value_wrapper .bl_sect_card {
    margin-top: 30px !important;
  }
  .bar {
    margin-bottom: 15px !important;
  }
  .card_item_text .text {
    font-size: 14px !important;
  }
  .value_card .sub_title {
    font-size: 22px !important;
  }
  .plan_recommend_list li {
    font-size: 16px;
  }
  .bl_sect__plan .ly_cont .value_wrapper .bl_flow_content .value_card div img {
    width: auto;
    height: 120px;
  }
  .plan_time_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bl_flow_steps {
    width: 300px;
  }
  .bl_flow_step {
    padding: 14px 18px;
    gap: 15px;
    margin-bottom: 38px;
  }
  .bl_flow_step__icon {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  .step_title {
    font-size: 18px !important;
  }
  .bl_flow_step:not(.bl_flow_step--last)::after {
    bottom: -30px;
    font-size: 18px;
  }
  .step_title {
    font-size: 16px;
  }
}
@media (max-width: 400px) {
  .plan_time_grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* 固定ヘッダー分のアンカー位置調整（放映の流れ #flow） */
.bl_sect__plan_flow {
  scroll-margin-top: 110px;
}
