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

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

/* 特徴バッジ（丸投げOK / 相談ベースOK） */
.cs_feature_list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 30px 0 0;
  padding: 0;
}
.cs_feature_list li {
  position: relative;
  background-color: #fff;
  border: 2px solid #CCB300;
  border-radius: 300px;
  color: #CCB300;
  font-size: 20px;
  font-weight: bold;
  padding: 10px 35px 10px 55px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.cs_feature_list li::before {
  content: "\f058"; /* Font Awesome check-circle */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
}

/* 制作プランカード（3カラム横並び） */
.cs_plan_grid {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  max-width: 1200px;
  margin: 40px auto 0;
}
.cs_plan_card {
  display: flex;
  flex-direction: column;
  width: calc(100% / 3 - 15px * 2 / 3);
  max-width: 100%;
  margin: 0 !important;
  
}
.bl_sect__cs_plan .bar {
  margin-bottom: 20px;
  margin-left: 0;
  margin-right: 0;
}
.bl_sect__cs_plan .bar > div {
  height: auto !important;
  line-height: normal !important;
  border-radius: 15px !important;
}
.bl_sect__cs_plan .bar > div p {
  padding: 5px;
  font-size: 20px;
}
.cs_plan_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.cs_plan_icon img {
  width: 70px;
}
.cs_plan_card .card_item_text .text {
  font-size: 16px;
  text-align: left;
}
.cs_plan_card .card_item_text .sub_title {
  display: block;
  font-size: 20px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
}

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

/* 制作事例セクション（左：メインvideo／右：切り替えリスト） */
.bl_sect__cs_works {
  background-color: #f1ede5;
  padding: 50px 0 55px;
  margin-top: 50px;
}
.cs_works_player {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 10px;
  max-width: 1200px;
  align-items: stretch;
  margin: 30px auto 0;
}
.cs_works_main {
  width: 100%;
  height: 500px;
}
.cs_works_main video {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #000;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
/* リストはメインvideoと同じ高さに固定し、あふれた分は縦スクロール */
.cs_works_list_wrap {
  position: relative;
  width: 100%;
}
.cs_works_list {
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 2px 6px 2px 2px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  scrollbar-width: thin;
  scrollbar-color: #cfc7ae transparent;
}
.cs_works_list::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.cs_works_list::-webkit-scrollbar-track {
  background: transparent;
}
.cs_works_list::-webkit-scrollbar-thumb {
  background: #cfc7ae;
  border-radius: 3px;
}
.cs_works_list li {
  margin: 0;
  flex-shrink: 0;
}
.cs_works_item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 7px;
  background-color: #fff;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.07);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.cs_works_item:hover {
  border-color: #CCB300;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}
.cs_works_item.is_active {
  border-color: #CCB300;
  background-color: #fffbe6;
  pointer-events: none;
}
.cs_works_thumb {
  position: relative;
  width: 106px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background-color: #000;
}
.cs_works_thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 566 / 304;
  object-fit: cover;
}
.cs_works_thumb .fa-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
  background-color: rgba(0, 0, 0, 0.55);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  transition: background-color 0.2s ease;
}
.cs_works_item:hover .fa-play {
  background-color: rgba(204, 179, 0, 0.9);
}
.cs_works_item.is_active .fa-play {
  display: none;
}
.cs_works_item.is_active .cs_works_thumb::after {
  content: "再生中";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.15em;
  text-indent: 0.15em;
}
.cs_works_item_meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cs_works_item_num {
  font-size: 11px;
  font-weight: bold;
  color: #CCB300;
  letter-spacing: 0.12em;
  font-family: OpenSans, sans-serif;
}
.cs_works_item_title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
  font-family: OpenSans, sans-serif;
}

/* よくある質問セクション（デザインは共通の bl_faq に準拠） */
.bl_sect__cs_faq .design-link-area {
  margin-top: 50px;
}

/* レスポンシブ */
/* 制作事例：1024px以下で縦積み（メインvideoの下に横スクロールのサムネイルカルーセル） */
@media (max-width: 1024px) {
  .cs_plan_card {
    width: calc(50% - 15px / 2);
    min-height: 300px;
  }
  .cs_works_player {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }
  .cs_works_main {
    height: 400px;
  }
  .cs_works_main video {
    border-radius: 10px;
  }
  .cs_works_list_wrap {
    position: static;
    max-width: 100%;
    overflow: scroll;
  }
  .cs_works_list {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
    scroll-padding: 0 15px;
    -webkit-overflow-scrolling: touch;
  }
  .cs_works_list::-webkit-scrollbar {
    height: 4px;
  }
  .cs_works_list li {
    scroll-snap-align: center;
  }
  /* カード型（サムネ上・ラベル下）に切り替え */
  .cs_works_item {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 150px;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
  }
  .cs_works_thumb {
    width: 100%;
    border-radius: 0;
  }
  .cs_works_item_meta {
    gap: 1px;
    padding: 7px 10px 8px;
  }
  .cs_works_item_num {
    font-size: 10px;
  }
  .cs_works_item_title {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .bl_sect__cs .bl_sect_title .f_black {
    display: inline-block;
    text-align: left !important;
    font-size: 14px !important;
  }
  .cs_feature_list {
    gap: 12px;
    margin-top: 20px;
  }
  .cs_feature_list li {
    font-size: 16px;
    padding: 8px 25px 8px 45px;
  }
  .cs_feature_list li::before {
    left: 20px;
  }
  .cs_plan_grid {
    gap: 20px;
    margin-top: 25px;
  }
  .bl_sect__cs_plan .bar {
    margin-bottom: 15px !important;
  }
  .bl_sect__cs_plan .bar > div p {
    font-size: 18px;
  }
  .cs_plan_card {
    width: 100%;
    max-width: 450px;
  }
  .cs_plan_card .card_item_text .text {
    font-size: 14px;
  }
  .cs_plan_card .card_item_text .sub_title {
    font-size: 18px;
  }
  .cs_recommend_list li {
    font-size: 16px;
  }
  .cs_plan_icon img {
    width: 60px;
  }
  /* 制作事例：セクション余白を圧縮（縦積み切り替えは1024px以下のブロックで実施） */
  .bl_sect__cs_works {
    padding: 40px 0 45px;
    margin-top: 40px;
  }
  .cs_works_main {
    height: 300px;
  }
  .cs_works_item {
    width: 120px;
  }
  .bl_sect__cs_faq .design-link-area {
    margin-top: 30px;
  }
}

@media (max-width: 500px) {
  .cs_works_main {
    height: 200px;
  }
  .cs_works_list {
    gap: 5px;
  }
  .cs_works_item {
    width: 100px;
  }
  .cs_works_item_meta {
    padding: 5px;
  }
}