@charset "utf-8";

/* ==========================================================================
   クリアケース（clear-case）専用スタイルシート
   ヤマゲン基本デザイン（paper_bag / kamibako）に完全準拠
   ========================================================================== */

/* ヒーローエリア・FV */
.clear_hero_wrap {
  margin-bottom: 25px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
}

.clear_hero_flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.clear_hero_text {
  flex: 1 1 420px;
  padding: 24px 28px;
}

.clear_hero_title {
  font-size: 20px;
  font-weight: bold;
  color: #333333;
  line-height: 1.5;
  margin: 0 0 14px 0;
}

.clear_hero_desc {
  font-size: 13px;
  color: #555555;
  line-height: 1.75;
  margin: 0 0 20px 0;
}

.clear_hero_btn_area {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.clear_btn_contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #fe6800;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none !important;
  box-shadow: 0 2px 4px rgba(254, 104, 0, 0.2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  border: none;
  line-height: 1.4;
}

.clear_btn_contact:hover {
  background-color: #d95700;
  box-shadow: 0 4px 8px rgba(217, 87, 0, 0.3);
  color: #ffffff !important;
}

.clear_btn_contact i {
  font-size: 15px;
}

.clear_btn_sample {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ffffff;
  color: #0469D0 !important;
  font-size: 14px;
  font-weight: bold;
  padding: 11px 20px;
  border: 1px solid #0469D0;
  border-radius: 4px;
  text-decoration: none !important;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  line-height: 1.4;
}

.clear_btn_sample:hover {
  background-color: #f0f7ff;
  border-color: #034e9c;
  color: #034e9c !important;
}

.clear_btn_sample i {
  font-size: 14px;
}

@media screen and (max-width: 640px) {
  .clear_hero_btn_area {
    flex-direction: column;
    width: 100%;
  }
  .clear_btn_contact,
  .clear_btn_sample {
    width: 100%;
    text-align: center;
  }
}

.clear_hero_img_col {
  flex: 1 1 340px;
  max-width: 480px;
  line-height: 0;
}

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

/* ヤマゲン標準の選ばれる理由 (reason_box) の補正 */
.clear_case_reason_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.clear_case_reason_item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 16px;
}

.clear_case_reason_item h4 {
  font-size: 14px;
  font-weight: bold;
  color: #1e293b;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.clear_case_reason_item h4 i {
  color: #f97316;
}

.clear_case_reason_item p {
  font-size: 12px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* 形状カード一覧（Pop-trading準拠：写真を大きく見せる） */
.shape_gallery_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 18px 0 32px 0;
}

/* 2カラム表示用（蓋の形状など） */
.shape_gallery_grid.col2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.shape_gallery_card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.shape_gallery_img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #e2e8f0;
  padding: 0;
}

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

.shape_gallery_body {
  padding: 16px 18px;
  flex-grow: 1;
}

.shape_gallery_title {
  font-size: 16px;
  font-weight: bold;
  color: #1e293b;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.shape_gallery_desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* 素材徹底比較セクション */
.material_visual_banner {
  max-width: 460px;
  margin: 15px auto 8px auto;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  line-height: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.material_visual_banner img {
  width: 100%;
  height: auto;
  display: block;
}

.material_visual_caption {
  text-align: center;
  font-size: 11px;
  color: #64748b;
  margin: 0 auto 20px auto;
}

.spec_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 15px 0 25px 0;
}

.spec_table th, .spec_table td {
  border: 1px solid #cbd5e1;
  padding: 10px 12px;
  vertical-align: middle;
}

.spec_table th {
  background: #f1f5f9;
  font-weight: bold;
  color: #1e293b;
  text-align: center;
}

.spec_table td.td_name {
  background: #f8fafc;
  font-weight: bold;
  white-space: nowrap;
}

/* 印刷・加工カード */
.print_method_gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 0 25px 0;
}

.print_method_item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.print_method_item_img {
  width: 100%;
  height: 160px;
  background: #f8fafc;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}

.print_method_item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.print_method_item_body {
  padding: 16px;
  flex-grow: 1;
}

.print_method_item_title {
  font-size: 14px;
  font-weight: bold;
  color: #1e293b;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.print_method_item_title i {
  color: #f97316;
}

.print_method_item_desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 10px 0;
}

.print_method_item_spec {
  font-size: 11px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 10px;
  border-radius: 3px;
}

/* 用途・業界別事例ギャラリー */
.usage_gallery_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 16px 0 25px 0;
}

.usage_gallery_card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.usage_gallery_img {
  width: 100%;
  height: 170px;
  background: #f8fafc;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}

.usage_gallery_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.usage_gallery_body {
  padding: 14px 16px;
  flex-grow: 1;
}

.usage_gallery_title {
  font-size: 14px;
  font-weight: bold;
  color: #1e293b;
  margin: 0 0 6px 0;
}

.usage_gallery_desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* プロの知識・サイズ表記ボックス */
.pro_knowhow_box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 18px;
  margin: 20px 0;
}

.pro_knowhow_title {
  font-size: 15px;
  font-weight: bold;
  color: #1e293b;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pro_knowhow_title i {
  color: #f97316;
}

.pro_knowhow_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pro_knowhow_item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 12px;
}

.pro_knowhow_item h4 {
  font-size: 13px;
  font-weight: bold;
  color: #1e293b;
  margin: 0 0 6px 0;
}

.pro_knowhow_item p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* 納品までの流れ (flow) */
.flow_step_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.flow_step_row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 14px 18px;
}

.flow_step_badge {
  background: #334155;
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.flow_step_content h4 {
  font-size: 14px;
  font-weight: bold;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.flow_step_content p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* FAQ（ヤマゲン標準 box_type3 vari4 を利用） */
.clear_case_faq {
  margin-top: 40px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .clear_hero_text {
    padding: 18px 16px;
  }
  .clear_hero_title {
    font-size: 18px;
  }
  .clear_case_reason_list {
    grid-template-columns: 1fr;
  }
  .shape_gallery_grid,
  .shape_gallery_grid.col2 {
    grid-template-columns: 1fr;
  }
  .print_method_gallery {
    grid-template-columns: 1fr;
  }
  .usage_gallery_grid {
    grid-template-columns: 1fr;
  }
  .pro_knowhow_grid {
    grid-template-columns: 1fr;
  }
}
