@charset "UTF-8";

/* 繝吶・繧ｹ繝ｪ繧ｻ繝・ヨ & 蜈ｨ菴楢ｨｭ螳・*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.7;
  padding: 40px 20px;
}

.safety-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* 繝倥ャ繝繝ｼ・磯ｻ・牡縺・恚譚ｿ鬚ｨ・・*/
.safety-header {
  background-color: #f7ca3a; /* 逕ｻ蜒上・魄ｮ繧・°縺ｪ鮟・牡 */
  color: #000;
  text-align: center;
  padding: 24px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 60px;
}
.txt {
  font-size: 13px;
  margin-top: 5px;
  display: block;
}
.safety-header h2 {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.safety-header p {
  font-size: 1.1rem;
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto;
}

.safety-section {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.3rem;
  color: #005bac; 
  border-bottom: 2px solid #eef2f5;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: #555;
  margin-bottom: 24px;padding-left: 20px;
}

.image-item {
  background-color: #eceff1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
  font-size: 14px;
  padding-bottom: 15px;
}

.image-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


.image-grid.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}


.image-center {
  display: flex;
  justify-content: right;
}

.max-w-sm {
  max-width: 250px;
  width: 100%;
}


.grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.image-stack .mt-4 {
  margin-top: 16px;
}

.h-full-flex {
  height: calc(100% - 170px);
}

.h-full-flex img {
  height: 100%;
  object-fit: cover;
}


.criteria-flex-container {
  display: grid;
  grid-template-columns: 2fr 1fr; 
  gap: 24px;
  align-items: start;
}

.criteria-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.criteria-table th, .criteria-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}

.criteria-table th {
  background-color: #f9f9f9;
}

.notes-list {
  list-style-type: disc;
  padding-left: 20px;
  line-height: 1.6;
}


@media (max-width:480px) {
  body {
    padding: 20px 12px;
  }
  
  .safety-header {
    padding: 20px 16px;
    margin-bottom: 40px;
  }
  
  .safety-header h2 {
    font-size: 1.4rem;
  }
  
  .safety-header p {
    font-size: 0.95rem;
  }

  .safety-section {
    padding: 24px 16px;
  }

  .image-grid.grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .h-full-flex {
    height: auto;
  }
.section-desc {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 24px;padding-left: 12px;
}

  
  .criteria-flex-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.image-item img, .criteria-flex-container img {
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.image-item img:hover, .criteria-flex-container img:hover {
  opacity: 0.85; /* 繝帙ヰ繝ｼ譎ゅ↓蟆代＠騾乗・縺ｫ縺励※繧ｯ繝ｪ繝・け縺ｧ縺阪ｋ縺薙→繧剃ｼ昴∴繧・*/
}

/* 閭梧勹縺ｮ鮟偵＞逕ｻ髱｢ */
.lightbox-overlay {
  display: none; /* 蛻晄悄迥ｶ諷九・髱櫁｡ｨ遉ｺ */
  position: fixed;
  z-index: 9999; /* 荳逡ｪ謇句燕縺ｫ陦ｨ遉ｺ */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85); /* 閭梧勹繧呈囓繧√・蜊企乗・縺ｫ */
  align-items: center;
  justify-content: center;
}

/* 諡｡螟ｧ縺輔ｌ繧狗判蜒乗悽菴・*/
.lightbox-image {
  max-width: 90%;
  max-height: 85%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.25s ease-out; /* 縺ｵ繧上▲縺ｨ髢九￥繧｢繝九Γ繝ｼ繧ｷ繝ｧ繝ｳ */
}

/* 髢峨§繧九・繧ｿ繝ｳ・亥承荳奇ｼ・*/
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}
.lightbox-close:hover {
  color: #f7ca3a; 
}

/* 繧｢繝九Γ繝ｼ繧ｷ繝ｧ繝ｳ縺ｮ螳夂ｾｩ */
@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ==================================================
   最下部・目立つテキストボタンの設定
================================================== */
.bottom-btn-container {
  text-align: center;
  margin: 60px 0 20px 0; /* 上下にゆとりを持たせる */
}

/* ボタン本体のスタイル */
.btn-primary-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #44b7c4;
  color: #ffffff;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 28px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 91, 172, 0.25);
  transition: all 0.3s ease;
}


.btn-primary-accent .btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}


.btn-primary-accent:hover {
  background-color: #f7ca3a; /* 看板と同じ鮮やかな黄色にチェンジ */
  color: #000000; /* 文字色を黒にして視認性を確保 */
  box-shadow: 0 6px 20px rgba(247, 202, 58, 0.4); /* 黄色い華やかな影に変化 */
  transform: translateY(-2px); /* ボタン自体を少し上に浮き上がらせる */
}


.btn-primary-accent:hover .btn-arrow {
  transform: translateX(6px);
}


@media (max-width: 768px) {
  .bottom-btn-container {
    margin: 40px 0 10px 0;
  }
  .btn-primary-accent {
    font-size: 1rem;
    padding: 14px 36px;
    width: 100%; /* スマホでは押しやすいように横幅いっぱいに */
    max-width: 320px;
  }
}