@charset "UTF-8";

/* ==========================================================================
   事故報告ページ用固有スタイル (page-accident-report.css)
   ========================================================================== */

.sub-main {
  width: 100%;
  background-color: #fff;
  padding-bottom: 120px;
}

.sub-fv {
  width: 100%;
  background: linear-gradient(135deg, #0098ff 0%, #0056b3 100%);
  padding: 80px 0;
  text-align: center;
}

.sub-fv-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sub-fv-title-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-fv-eng {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  opacity: 0.8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sub-fv-jp {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin: 0;
}

.breadcrumb-container {
  margin: 0 auto;
  padding: 50px 200px;
}

.breadcrumbs {
  max-width: 1200px;
  font-size: 0.85rem;
  color: #888888;
}

.breadcrumbs a {
  color: #00031e;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: #0098ff;
}

.breadcrumbs span {
  color: #888888;
  font-weight: 500;
}

.sub-section {
  width: 100%;
  padding: 50px 200px;
  background-color: #fff;
}

.sub-section:nth-of-type(even) {
  background-color: #fcfdfe;
}

.sub-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sub-section-header {
  line-height: 1.2;
  margin-bottom: 40px;
  padding-bottom: 15px;
}

.sub-section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00031e;
  letter-spacing: 0.05em;
  margin: 0;
}

.sub-section-eng {
  font-size: 1rem;
  font-weight: 400;
  color: #0098ff;
  display: block;
  margin-bottom: 15px;
  letter-spacing: 0.03em;
}

.accident-intro-content p {
  font-size: 1rem;
  color: #00031e;
  line-height: 1.8;
  margin: 0;
}

.accident-list {
  border-top: 1px solid #e0e0e0;
}

.accident-item {
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: flex-start;
  padding: 24px 0;
  gap: 40px;
}

.accident-date {
  font-size: 1rem;
  font-weight: 500;
  color: #0098ff;
  white-space: nowrap;
  line-height: 1.6;
}

.accident-title {
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.6;
}

.accident-link {
  color: #00031e;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
}

.accident-link:hover {
  color: #0098ff;
  text-decoration: underline;
}

.accident-link::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  vertical-align: -1px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230098ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/><polyline points='15 3 21 3 21 9'/><line x1='10' y1='14' x2='21' y2='3'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  transition: opacity 0.2s;
}

.accident-link:hover::after {
  opacity: 0.8;
}

/* ==========================================================================
   その他下層ページ リスト・詳細 レスポンシブ
   ========================================================================== */

@media (max-width: 768px) {
  /* 【重要】左右200pxの余白をスマホ用に20pxへリセット */
  .breadcrumb-container,
  .sub-section {
    padding: 30px 20px !important;
  }

  /* リストアイテムを縦並びに */
  .accident-item,
  .news-item a,
  .member-news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 0;
  }

  .accident-date,
  .news-date,
  .entry-date {
    font-size: 0.85rem;
  }

  .accident-title,
  .news-title,
  .member-news-title,
  .entry-content {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* 記事詳細（single.php） */
  .entry-title {
    font-size: 1.3rem;
  }

  .entry-content h2 {
    font-size: 1.15rem;
    margin: 30px 0 15px 0;
    padding-left: 10px;
  }

  .btn-back-list {
    width: 100%;
    padding: 12px 0;
    box-sizing: border-box;
  }

  /* 会員限定パスワードフォーム */
  .post-password-form {
    padding: 20px;
  }

  .post-password-form input[type="password"] {
    max-width: 100%;
  }

  .post-password-form input[type="submit"] {
    width: 100%;
  }
}

/* ==========================================================================
   事故報告ページ レスポンシブ (page-accident-report.css 末尾用)
   ========================================================================== */

@media (max-width: 768px) {
  /* 左右200pxの余白をスマホ用に20pxへリセット */
  .breadcrumb-container,
  .sub-section {
    padding: 30px 20px !important;
  }

  /* 事故報告リストアイテムを縦並びに変更 */
  .accident-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 0;
  }

  .accident-date {
    font-size: 0.85rem;
  }

  .accident-title,
  .accident-link {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}
