/* ==========================================================================
   products.css - 紹介アーカイブ・商品ページスタイル
   ========================================================================== */

/* --------------------------------------------------------------------------
   メインレイアウト・サイドバー（2カラム・サイド右）
   -------------------------------------------------------------------------- */
.main_col_inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2rem;
  align-items: flex-start;
}

.main_col_content {
  flex: 1 1 0;
  min-width: 0;
}

.introduce_sidebar {
  flex: 0 0 280px;
  order: 2;
}

@media (max-width: 768px) {
  .main_col_inner {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .main_col_content {
    order: 1;
  }

  .introduce_sidebar {
    flex: 0 0 100%;
    order: 2;
    margin-top: 0.5rem;
  }
}

.introduce_sidebar_banner {
  display: block;
  margin-bottom: 1rem;
}
.introduce_sidebar_banner:hover {
  opacity: 0.8;
}
.introduce_sidebar_banner img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

/* --------------------------------------------------------------------------
   人気ランキング
   -------------------------------------------------------------------------- */
.popular_ranking {
  margin-bottom: 2rem;
}

.popular_ranking_heading,
.list-section-heading {
  font-size: 32px;
  font-weight: bold;
  border-bottom: 1px dotted #aaa;
  margin: 0 0 40px;
  padding: 0.9em 0 0.8em;
  color: #0186d1;
  line-height: 1.3;
}

.popular_ranking_row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0 auto;
}

.popular_ranking_col {
  padding: 0;
}
.popular_ranking_col_1 {
  width: 100%;
  max-width: 100%;
}
.popular_ranking_col_2,
.popular_ranking_col_3 {
  width: calc(50% - 0.75rem);
}

.popular_ranking_card {
  position: relative;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.popular_ranking_badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background: #2271b1;
  color: #fff;
  font-weight: bold;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border-radius: 0 0 8px 0;
}

.popular_ranking_row > .popular_ranking_col:nth-child(1) .popular_ranking_badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b); /* ゴールド */
}

.popular_ranking_row > .popular_ranking_col:nth-child(2) .popular_ranking_badge {
  background: linear-gradient(135deg, #e5e7eb, #9ca3af); /* シルバー */
}

.popular_ranking_row > .popular_ranking_col:nth-child(3) .popular_ranking_badge {
  background: linear-gradient(135deg, #f97316, #92400e); /* ブロンズ */
}

.popular_card_head {

}
.popular_ranking_card_inner {
  padding: 1rem;
  padding-top: 2.5rem;
  display: flex;
  flex: 1;
  gap: 20px;
}

.popular_ranking_title {
  font-weight: bold;
  margin: 0.5rem 0;
  font-size: 20px;
  line-height: 1.4;
}

.popular_ranking_desc {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #555;
  flex: 1;
}

.popular_ranking_img {
  margin-top: auto;
  order: -1;
  flex-shrink: 0;
  width: 30%;
}

.popular_ranking_img img {
  width: 100%;
  height: auto;
  vertical-align: top;
  display: block;
}

.popular_ranking_card a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.popular_ranking_card a:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .popular_ranking {
    margin-bottom: 1.5rem;
  }

  .popular_ranking_heading,
  .list-section-heading {
    font-size: 1.5rem;
    margin: 0 0 1.25rem;
    padding: 0.6em 0 0.5em;
  }

  .popular_ranking_row {
    gap: 1rem;
  }

  .popular_ranking_col_1,
  .popular_ranking_col_2,
  .popular_ranking_col_3 {
    width: 100%;
    max-width: 100%;
  }

  .popular_ranking_card_inner {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.875rem;
    padding-top: 2.25rem;
  }

  .popular_ranking_img {
    order: 0;
    width: 100%;
    max-width: 120px;
    margin: 0 auto 0 0;
  }

  .popular_ranking_title {
    font-size: 1.0625rem;
    margin: 0.25rem 0;
  }

  .popular_ranking_desc {
    font-size: 0.8125rem;
    margin: 0 0 0.5rem;
  }

  .popular_ranking_badge {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   印刷サイズから探すケース（ランキングと同じデザイン）
   -------------------------------------------------------------------------- */
.size_cases {
  margin-bottom: 2rem;
}

.size_cases_heading {
  font-size: 32px;
  font-weight: bold;
  border-bottom: 1px dotted #aaa;
  margin: 0 0 40px;
  padding: 0.9em 0 0.8em;
  color: #0186d1;
  line-height: 1.3;
}

.size_cases_row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.size_cases_col {
  flex: 1 1 300px;
  min-width: 0;
  padding: 0;
}

@media (min-width: 769px) {
  .size_cases_col {
    flex: 1 1 calc(33.333% - 1.5rem);
    max-width: calc(33.333% - 1rem);
  }
}

.size_cases_card {
  position: relative;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.size_cases_badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background: #2271b1;
  color: #fff;
  font-weight: bold;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border-radius: 0 0 8px 0;
}

.size_cases_row > .size_cases_col:nth-child(1) .size_cases_badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b); /* ゴールド */
}

.size_cases_row > .size_cases_col:nth-child(2) .size_cases_badge {
  background: linear-gradient(135deg, #e5e7eb, #9ca3af); /* シルバー */
}

.size_cases_row > .size_cases_col:nth-child(3) .size_cases_badge {
  background: linear-gradient(135deg, #f97316, #92400e); /* ブロンズ */
}

.size_cases_card_inner {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.size_cases_img {
  margin: -1rem -1rem 1rem -1rem;
  overflow: hidden;
  line-height: 0;
}

.size_cases_img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.size_cases_title {
  font-weight: bold;
  margin: 0.5rem 0;
  font-size: 1rem;
  line-height: 1.4;
}

.size_cases_desc {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #555;
  flex: 1;
}

@media (max-width: 768px) {
  .size_cases {
    margin-bottom: 1.5rem;
  }

  .size_cases_heading {
    font-size: 1.5rem;
    margin: 0 0 1.25rem;
    padding: 0.6em 0 0.5em;
  }

  .size_cases_row {
    flex-direction: column;
    gap: 1rem;
  }

  .size_cases_card_inner {
    padding: 0.875rem;
  }

  .size_cases_img {
    margin: -0.875rem -0.875rem 0.75rem -0.875rem;
  }

  .size_cases_title {
    font-size: 0.9375rem;
  }

  .size_cases_desc {
    font-size: 0.8125rem;
  }
}

/* --------------------------------------------------------------------------
   事例・お客様の声
   -------------------------------------------------------------------------- */
.testimonials_section {
  margin: 2.5rem 0;
}
.style4b a {
  font-weight: bold;
  font-size: 32px;
  color: #0186d1 !important;
}
.testimonials_heading,
.introduce_section_heading {
  font-size: 32px;
  font-weight: bold;
  border-bottom: 1px dotted #aaa;
  margin: 0 0 40px;
  padding: 0.9em 0 0.8em;
  color: #0186d1;
  line-height: 1.3;
}
.introduce_section_sub_headline {
  color: #0186d1;
  font-size: 22px;
  margin-bottom: 20px;
}

.testimonials_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonials_item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.testimonials_item:hover {
  box-shadow: 0 4px 12px rgba(34, 113, 177, 0.12);
  border-color: #2271b1;
}

.testimonials_item a {
  display: block;
  padding: 2rem 1.5rem 1.25rem;
  text-decoration: none;
  color: inherit;
}

.testimonials_excerpt {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #374151;
  position: relative;
  padding-left: 1.25rem;
}

.testimonials_excerpt::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.1em;
  font-size: 1.5em;
  line-height: 1;
  color: #2271b1;
  font-family: Georgia, serif;
}

.testimonials_link_wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.testimonials_link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2271b1;
}

.testimonials_link::after {
  content: '';
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  margin-left: 0.35em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  vertical-align: 0.15em;
}

.testimonials_item a:hover .testimonials_link {
  text-decoration: underline;
}

.testimonials_item_inner {
  display: block;
  padding: 1.25rem 1.5rem;
}

@media (max-width: 768px) {
  .testimonials_section {
    margin: 1.5rem 0;
  }

  .testimonials_heading,
  .introduce_section_heading {
    font-size: 1.5rem;
    margin: 0 0 1.25rem;
    padding: 0.6em 0 0.5em;
  }

  .introduce_section_sub_headline {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }

  .testimonials_item a {
    padding: 1rem 1rem;
  }

  .testimonials_item_inner {
    padding: 0.875rem 1rem;
  }

  .testimonials_excerpt {
    font-size: 0.875rem;
    padding-left: 1rem;
    line-height: 1.65;
  }

  .testimonials_link {
    font-size: 0.8125rem;
  }
}

/* --------------------------------------------------------------------------
   ご提案対応可能エリア（左：テキスト / 右：地図）
   -------------------------------------------------------------------------- */
.area_section {
  margin-bottom: 2.5rem;
}

.area_section_inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 769px) {
  .area_section_inner {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .area_section_text {
    flex: 1;
    min-width: 0;
  }

  .area_section_map {
    flex: 0 0 48%;
    max-width: 48%;
  }
}

.area_heading {
  font-size: 40px;
  font-weight: bold;
  line-height: 1.4;
  margin: 0 0 0.5rem;
  color: #1e1e1e;
}

.area_heading_line {
  display: block;
  color: #1e1e1e;
}

.area_heading_accent {
  display: block;
}
.area_heading_accent span {
  font-size: 32px;
}
.area_heading_accent em {
  color: #0186d1;
  display: block;
  font-style: normal;
  font-size: 32px;
}

.area_label {
  font-size: 20px;
  color: #6b7280;
  margin: 0 0 1rem;
  letter-spacing: 0.05em;
}

.area_text {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: #374151;
}

.area_text p {
  margin: 0 0 0.75em;
}

.area_text p:last-child {
  margin-bottom: 0;
}

.area_map_wrap {
  width: 100%;
}

.area_map_wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  object-fit: contain;
}

@media (max-width: 768px) {
  .area_section {
    margin-bottom: 1.5rem;
  }

  .area_section_inner {
    gap: 1.25rem;
  }

  .area_heading {
    font-size: 1.5rem;
  }

  .area_heading_accent span,
  .area_heading_accent em {
    font-size: 1.25rem;
  }

  .area_label {
    font-size: 1rem;
    margin: 0 0 0.75rem;
  }

  .area_text {
    font-size: 0.875rem;
  }

  .area_map_wrap img {
    max-width: 100%;
    border-radius: 6px;
  }
}

/* --------------------------------------------------------------------------
   よくある質問＆回答（アコーディオン）
   -------------------------------------------------------------------------- */
.faq_section {
  margin-bottom: 2.5rem;
}

.faq_heading {
  font-size: 32px;
  font-weight: bold;
  border-bottom: 1px dotted #aaa;
  margin: 0 0 40px;
  padding: 0.9em 0 0.8em;
  color: #0186d1;
}

.faq_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.faq_item {
  border-bottom: 1px solid #e5e7eb;
}

.faq_item:last-child {
  border-bottom: none;
}

.faq_item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1e1e1e;
  cursor: pointer;
  list-style: none;
  background: #fff;
  transition: background 0.2s;
}

.faq_item summary::-webkit-details-marker {
  display: none;
}

.faq_item summary::after {
  content: '';
  flex-shrink: 0;
  width: 0.5em;
  height: 0.5em;
  border-right: 2px solid #2271b1;
  border-bottom: 2px solid #2271b1;
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.faq_item[open] summary::after {
  transform: rotate(-135deg);
}

.faq_item summary:hover {
  background: #f8fafc;
}

.faq_question_text {
  flex: 1;
  min-width: 0;
}

.faq_answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #374151;
}

.faq_answer p:first-child {
  margin-top: 0;
}

.faq_answer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .faq_section {
    margin-bottom: 1.5rem;
  }

  .faq_heading {
    font-size: 1.5rem;
    margin: 0 0 1.25rem;
    padding: 0.6em 0 0.5em;
  }

  .faq_list {
    border-radius: 8px;
  }

  .faq_item summary {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    min-height: 44px;
    align-items: center;
  }

  .faq_answer {
    padding: 0 1rem 1rem;
    font-size: 0.875rem;
    line-height: 1.65;
  }
}

/* --------------------------------------------------------------------------
   シミュレーションバナー・価格満足度バナー
   -------------------------------------------------------------------------- */
.simulation_banner_section,
.price_satisfaction_banner_section {
  margin-bottom: 2rem;
}

.simulation_banner_link,
.price_satisfaction_banner_link {
  display: block;
  line-height: 0;
  &:hover {
    opacity: 0.8;
  }
}

.simulation_banner_img,
.price_satisfaction_banner_img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .simulation_banner_section,
  .price_satisfaction_banner_section {
    margin-bottom: 1.25rem;
  }

  .simulation_banner_img,
  .price_satisfaction_banner_img {
    border-radius: 6px;
  }
}

/* --------------------------------------------------------------------------
   FV ロゴ
   -------------------------------------------------------------------------- */
.fv_logo {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fv_logo img {
  min-width: auto !important;
  width: auto !important;
  height: 70px !important;
  position: static !important;
}

@media (max-width: 768px) {
  .fv_logo img {
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   紹介アーカイブ FV キャッチコピー（ヘッダー画像）
   -------------------------------------------------------------------------- */
.archive.post-type-archive-introduce #header_image {
  position: relative;
  overflow: hidden;
}

.archive.post-type-archive-introduce #header_image .caption_bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1em 1.5em;
  line-height: 1.2;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.45);
}

.archive.post-type-archive-introduce #header_image .fv_bottom_wrap .caption_bar {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
}

/* キャッチコピー：KVの下に配置（背景なし・テキスト色指定） */
.fv_catch_below {
  margin: 0;
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .fv_catch_below {
    font-size: 1.4rem;
    letter-spacing: 0.12em;
    padding: 1rem 1.25rem 0;
  }
}

.archive.post-type-archive-introduce #header_image .caption_bar_bg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.archive.post-type-archive-introduce #header_image .caption_bar_text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  box-sizing: border-box;
  padding: 0.8em 1.2em;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .archive.post-type-archive-introduce #header_image .caption_bar {
    font-size: 1.4rem;
    letter-spacing: 0.12em;
  }

  .archive.post-type-archive-introduce #header_image .caption_bar_text {
    padding: 0.6em 0.8em;
    white-space: normal;
  }
}

/* --------------------------------------------------------------------------
   紹介アーカイブ FV 下部ラップ（キャッチ＋フリー入力・背景色・不透明度適用）
   -------------------------------------------------------------------------- */
.header_image_fv_separate .fv_bottom_wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  z-index: 2;
}

/* --------------------------------------------------------------------------
   紹介アーカイブ FV フリーテキスト（ヘッダー画像上に配置）
   -------------------------------------------------------------------------- */
.fv_bottom_wrap .fv_free_text {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  width: 100%;
  margin: 0;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
  font-size: 36px;
  line-height: 1.2;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
}

.fv_free_text {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  margin: 0;
  padding: 1.25rem 1.5rem;
  /* background はキャッチ背景色・不透明度でインライン指定 */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  font-size: 30px;
  line-height: 1.2;
  color: #fff;
  text-align: center;
  z-index: 2;
}

.fv_free_text p {
  margin: 0 0 1em;
}

.fv_free_text p:last-child {
  margin-bottom: 0;
}

.fv_free_text h1,
.fv_free_text h2,
.fv_free_text h3,
.fv_free_text h4 {
  margin: 0 0 0.75em;
  font-weight: 700;
  line-height: 1.4;
  color: #2271b1;
  letter-spacing: 0.05em;
}

.fv_free_text h1 {
  font-size: 1.75rem;
}

.fv_free_text h2 {
  font-size: 1.5rem;
}

.fv_free_text h3 {
  font-size: 1.25rem;
}

.fv_free_text h4 {
  font-size: 1.125rem;
}

.fv_free_text a {
  color: #2271b1;
  text-decoration: underline;
  transition: color 0.2s;
}

.fv_free_text a:hover {
  color: #1a5a8f;
}

.fv_free_text strong {
  font-weight: 700;
  color: #1e1e1e;
}

.fv_free_text ul,
.fv_free_text ol {
  margin: 0 0 1em;
  padding-left: 1.5em;
  text-align: left;
}

.fv_free_text li {
  margin: 0 0 0.5em;
}

@media (max-width: 768px) {
  .fv_bottom_wrap .fv_free_text {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }

  .fv_free_text {
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
  }

  .fv_free_text h1,
  .fv_bottom_wrap .fv_free_text h1 {
    font-size: 1.5rem;
  }

  .fv_free_text h2,
  .fv_bottom_wrap .fv_free_text h2 {
    font-size: 1.25rem;
  }

  .fv_free_text h3,
  .fv_bottom_wrap .fv_free_text h3 {
    font-size: 1.125rem;
  }

  .fv_free_text h4,
  .fv_bottom_wrap .fv_free_text h4 {
    font-size: 1rem;
  }
}

.testimonials_headline {
  font-size: 20px;
}

@media (max-width: 768px) {
  .style4b a {
    font-size: 1.5rem;
  }

  .testimonials_headline {
    font-size: 1.125rem;
  }
}

.follow_cta {
  z-index: 3;
}

.p-simulator__title {
  font-size: 32px;
  font-weight: bold;
  border-bottom: 1px dotted #aaa;
  margin: 0 0 40px;
  padding: 0.9em 0 0.8em;
  color: #0186d1;
}
.p-simulator__text__wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .p-simulator__title {
    font-size: 1.5rem;
    margin: 0 0 1.25rem;
    padding: 0.6em 0 0.5em;
  }
}