/* --- 基本設定 & 変数 --- */
:root {
  --main-green: #50B280;
  --bg-light: #EFFAF6;
  --text-color: #333;
  --container-width: 1020px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
}

.l-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 60px 15px;
}

/* --- 共通テキスト設定 --- */
p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin: 0;
  letter-spacing: 0.025em;
}

/* --- ヒーローセクション --- */
.hero-section {
  position: relative;
  background-color: #fff;
  background-image: radial-gradient(var(--main-green) 20%, transparent 20%);
  background-size: 18px 18px;
  color: white;
  padding: 80px 5% 140px;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--main-green);
  clip-path: polygon(0 0, 72% 0, 78% 100%, 0 100%);
  z-index: 1;
}

.hero-inner {
  max-width: 1020px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.sub-title {
  font-size: 0.9rem;
  margin-left: 2px;
  margin-bottom: 5px;
  color: var(--text-color);
}

.main-title {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.3;
  margin: 5px 0;
  word-break: break-all;
  letter-spacing: 0.025em;
}

/* --- 戻るボタン --- */
.back-btn-container {
  position: absolute;
  top: 15px;
  right: 0;
  z-index: 10;
}

.back-btn {
  display: flex;
  width: 120px;
  align-items: center;
  gap: 12px;
  background: white;
  color: var(--text-color);
  padding: 2px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: bold;
  border: 1.5px solid var(--main-green);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.back-btn .material-symbols-outlined {
  background-color: var(--main-green);
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 600;
  padding-right: 2px;
  flex-shrink: 0;
}

/* --- コンテンツカード --- */
.content-card {
  max-width: 900px;
  margin: -80px auto 40px;
  background: var(--bg-light);
  border-radius: 15px;
  padding: 40px 60px 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 10;
}

.report-title-box {
  text-align: center;
  margin-bottom: 30px;
}

.report-title {
  display: inline-block;
  border: 2px solid var(--main-green);
  border-radius: 50px;
  padding: 15px 80px;
  font-size: 1.5rem;
  color: var(--text-color);
  background-color: #fff;
}

/* --- セクション・詳細設定 --- */
.content-section {
  margin-bottom: 40px;
}

.section-heading {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 20px;
  letter-spacing: 0.025em;
}

.section-heading span {
  color: var(--main-green);
  margin-right: 16px;
  font-weight: 800;
}

.info-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.label {
  color: var(--main-green);
  font-weight: bold;
  min-width: 4.5em;
  flex-shrink: 0;
}

.content-section .operator-names {
  color: var(--main-green);
  font-weight: 600;
}

.report-detail-box {
  border: 2px solid var(--main-green);
  border-radius: 15px;
  padding: 20px 30px 50px 30px;
  margin-top: 50px;
  background-color: #fff;
}

/* --- ギャラリー --- */
.gallery-section {
  margin-top: 30px;
}

.gallery-heading {
  display: inline-block;
  background-color: var(--main-green);
  color: white;
  padding: 10px 30px;
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.image-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* --- パンくずリスト --- */
.breadcrumb {
  max-width: 900px;
  margin: 20px auto;
  font-size: 1rem;
  color: var(--main-green);
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

/* --- レスポンシブ対応 (768px以下)  --- */
@media screen and (max-width: 768px) {
  p {
    font-size: 0.875rem;
    line-height: 1.7;
    letter-spacing: 0.025em;
  }

  .hero-section {
    background-image: none;
    background-color: var(--main-green);
    padding: 60px 5% 80px;
  }
  
  .hero-section::before {
    clip-path: none;
  }

  .main-title {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  .back-btn-container {
    display: none;
  }

  .content-card {
    margin-top: -60px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    padding: 30px 20px;
  }

  .report-title-box {
    margin-bottom: 20px;
  }

  .report-title {
    padding: 10px 30px;
    font-size: 1.2rem;
  }

  .section-heading {
    font-size: 1.25rem;
    margin-bottom: 15px;
  }

  .image-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-section {
    margin-top: 30px;
  }

  .breadcrumb {
    margin: 20px 15px;
    font-size: 0.875rem;
  }
}

/* --- さらに小さいスマホ (480px以下) --- */
@media screen and (max-width: 480px) {
  .main-title {
    font-size: 1.25rem;
  }
}