/* ページ共通 */
.biotope-page { box-sizing: border-box; font-family: "BIZ UDPGothic", "BIZ UDPゴシック", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; color: #333; }
.biotope-page *, .biotope-page *::before, .biotope-page *::after { box-sizing: border-box; }
.biotope-page p, .biotope-page figure { margin-top: 0; }
.biotope-page button { font-family: inherit; }

/* TOP */

.biotope-page .biotope-top {
    max-width: 960px;
    margin: 40px auto;
    border: 1px solid #ccc;
    background: #fff;
    overflow: hidden;
  }

/* メインスライド */

.biotope-page .biotope-top .hero-section {
    position: relative;
    width: 100%;
    height: 380px;
    background-color: #333;
    overflow: hidden;
  }

.biotope-page .biotope-top .slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
    z-index: 1;
  }

.biotope-page .biotope-top .slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }

.biotope-page .biotope-top .catch-phrase {
    position: absolute;

    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    color: #005a5b;
    font-weight: bold;
    font-size: 24px;
    line-height: 1.3;
    z-index: 10;
    pointer-events: none;

    text-shadow:
      -1.5px -1.5px 0 #fff,  1.5px -1.5px 0 #fff,
      -1.5px  1.5px 0 #fff,  1.5px  1.5px 0 #fff,
      -1.5px  0px   0 #fff,  1.5px  0px   0 #fff,
       0px   -1.5px 0 #fff,  0px    1.5px 0 #fff,
       0px    3px   8px rgba(0, 0, 0, 0.4);
  }

.biotope-page .biotope-top .catch-phrase span.highlight {
    color: #00a86b;
  }

.biotope-page .biotope-top .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.2s;
  }

.biotope-page .biotope-top .nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }

.biotope-page .biotope-top .nav-btn:active {
    transform: translateY(-50%) scale(0.95);
  }

.biotope-page .biotope-top .prev-btn { left: 20px; }

.biotope-page .biotope-top .next-btn { right: 20px; }

.biotope-page .biotope-top .slide-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 15;
  }

.biotope-page .biotope-top .indicator-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }

.biotope-page .biotope-top .indicator-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
  }

.biotope-page .biotope-top .indicator-dot.active {
    background-color: #00a86b;
    transform: scale(1.1);
  }

.biotope-page .biotope-top .stats-section {
    display: flex;
    width: 100%;
    border-top: 1px solid #ccc;
    background-color: #f4f6f5;
  }

.biotope-page .biotope-top .stats-item {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
  }

.biotope-page .biotope-top .stats-item:not(:last-child) {
    border-right: 1px solid #ccc;
  }

.biotope-page .biotope-top .stats-value {
    font-size: 28px;
    font-weight: bold;
    color: #005a5b;
    margin-bottom: 2px;
    line-height: 1.2;
  }

.biotope-page .biotope-top .stats-label {
    font-size: 14px;
    color: #555;
    line-height: 1.2;
  }

/* モバイル表示 */

@media  (max-width: 640px)  {

.biotope-page .biotope-top .hero-section { height: 260px; }

.biotope-page .biotope-top .catch-phrase {
      font-size: 16px;
      bottom: 45px;
    }

.biotope-page .biotope-top .nav-btn { width: 35px; height: 35px; font-size: 16px; }

.biotope-page .biotope-top .prev-btn { left: 10px; }

.biotope-page .biotope-top .next-btn { right: 10px; }

.biotope-page .biotope-top .stats-item { padding: 8px 5px; }

.biotope-page .biotope-top .stats-value { font-size: 20px; }

.biotope-page .biotope-top .stats-label { font-size: 11px; }

.biotope-page .biotope-top .slide-indicator { bottom: 12px; gap: 8px; }

.biotope-page .biotope-top .indicator-dot { width: 8px; height: 8px; }
  }


/* TOPスライド：背景画像 */
.biotope-page .biotope-top .top-slide-1 { background-image: url("/image/sustainability/biotope_hero-image1a.jpg"); }
.biotope-page .biotope-top .top-slide-2 { background-image: url("/image/sustainability/biotope_hero-image2a.jpg"); }
.biotope-page .biotope-top .top-slide-3 { background-image: url("/image/sustainability/biotope_hero-image3a.jpg"); }
.biotope-page .biotope-top .top-slide-4 { background-image: url("/image/sustainability/biotope_hero-image4a.jpg"); }

/* Section 1～7：冒頭説明文の共通書式 */
.biotope-page .section-lead,
.biotope-page .biotope-env-section .env-lead,
.biotope-page .corporate-grid-lead,
.biotope-page .biotope-biota-section .biota-lead,
.biotope-page .biotope-conservation-section .conservation-lead,
.biotope-page .edu-lead,
.biotope-page .awards-lead {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

/* Section 1 */

.biotope-page .biotope-section {
    padding: 40px 30px;
    background-color: #fff;
  }

.biotope-page .ttl-basic {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
  }



.biotope-page .biotope-section .section-lead {
    margin-bottom: 10px !important;
  }

.biotope-page .biotope-section .concept-card p {
    margin-bottom: 0 !important;
  }

.biotope-page .biotope-modal .modal-body p {
    margin-bottom: 10px !important;
  }

.biotope-page .biotope-section .history-caption {
    margin-bottom: 0 !important;
  }

/* 造成の歴史：写真4枚 */

.biotope-page .history-grid {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
  }

.biotope-page .history-item {
    flex: 1;
    min-width: 0;
    text-align: center;
  }

.biotope-page .history-img-wrapper {
    height: 220px;
    overflow: hidden;
    border-radius: 2px;
    background-color: #eee;
  }

.biotope-page .history-img-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

/* 写真キャプション共通書式（造成の歴史・環境教育） */
.biotope-page .history-caption,
.biotope-page .edu-caption {
    font-size: 13px;
    color: #555;
    font-style: normal;
  }

.biotope-page .history-caption {
    margin-top: 10px;
  }

/* 取り組みの基本方針：3カード */

.biotope-page .concept-container {
    display: flex;
    align-items: stretch;
    gap: 20px;
  }

.biotope-page .biotope-concept-wrap {
    margin-top: 60px;
    margin-bottom: 40px;
  }

.biotope-page .concept-card {
    flex: 1;
    min-width: 0;
    background-color: #f4f6f5;
    padding: 14px 14px 6px;
    border-radius: 6px;
  }

.biotope-page .concept-card-ttl {
    font-size: 21px !important;
    color: #005a5b !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
    margin: 0 0 10px 0 !important;
  }

/* 説明文の余白指定より優先し、タイトル下に10px確保 */
.biotope-page .biotope-section .concept-card .concept-card-ttl {
    margin: 0 0 10px 0 !important;
}

.biotope-page .concept-card p {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
  }

/* 環境モニタリング画面を開くボタン */

.biotope-page .biotope-section .section-footer-link {
    text-align: center;
    margin-top: 30px;
  }

.biotope-page .biotope-section .link-underline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    background-color: #005a5b;
    border: 2px solid #005a5b;
    border-radius: 6px;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition:
      background-color 0.2s ease,
      border-color 0.2s ease;
  }

.biotope-page .biotope-section .link-underline-btn:hover {
    background-color: #007b70;
    border-color: #007b70;
    color: #fff;
  }

.biotope-page .biotope-section .link-underline-btn:focus-visible {
    outline: 3px solid #00a86b;
    outline-offset: 3px;
  }

.biotope-page .biotope-section .monitor-btn-icon {
    font-size: 19px;
    line-height: 1;
  }

.biotope-page .biotope-section .monitor-btn-arrow {
    font-size: 23px;
    line-height: 1;
  }

.biotope-page .biotope-section .monitor-btn-note {
    font-size: 12px;
    line-height: 1.5;
    color: #666;
    margin: 8px 0 0 !important;
  }

/* ポップアップ画面：基本設定 */

.biotope-page .biotope-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

.biotope-page .biotope-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

.biotope-page .biotope-modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
  }

.biotope-page .biotope-modal-content {
    position: relative;
    background-color: #fff;
    width: 92%;
    max-width: 900px;
    padding: 30px;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    max-height: 95vh;
    overflow-y: auto;

    cursor: pointer;
  }

.biotope-page .biotope-modal .iframe-wrapper, .biotope-page .biotope-modal .iframe-wrapper iframe {
    cursor: auto;
  }

.biotope-page .biotope-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    padding: 0;
    font-size: 28px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    z-index: 1002;
  }

.biotope-page .biotope-modal-close:hover {
    color: #333;
  }

.biotope-page .modal-ttl {
    font-size: 20px;
    color: #005a5b;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    padding-right: 30px;
    border-bottom: 2px solid #f4f6f5;
  }

/* 環境モニタリングシステム表示 */

.biotope-page .iframe-wrapper {
    position: relative;
    padding-bottom: 65%;
    height: 0;
    overflow: hidden;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
  }

.biotope-page .iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

.biotope-page .slide-container {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    padding: 20px 0;
  }

.biotope-page .slide-wrapper {
    display: flex;
    width: max-content;
    animation: slide-left 40s linear infinite;
  }

.biotope-page .slide {
    width: 300px;
    flex-shrink: 0;
    margin-right: 10px;
    object-fit: cover;
    border: 1px solid #ccc;
  }

@keyframes slide-left {
    from {
      transform: translateX(0%);
    }
    to {
      transform: translateX(-50%);
    }
  }

/* モバイル表示 */

@media  (max-width: 768px)  {

.biotope-page .biotope-section {
      padding: 30px 15px;
    }

.biotope-page .history-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
    }

.biotope-page .history-img-wrapper {
      height: 140px;
    }

.biotope-page .concept-container {
      flex-direction: column;
      gap: 12px;
    }

.biotope-page .biotope-concept-wrap {
      margin-top: 40px;
      margin-bottom: 30px;
    }

.biotope-page .concept-card {
      padding: 14px 12px 6px;
    }

.biotope-page .concept-card-ttl {
      font-size: 18px !important;
    }

.biotope-page .biotope-section .link-underline-btn {
      padding: 12px 14px;
      font-size: 13px;
    }

.biotope-page .biotope-modal-content {
      padding: 20px;
      width: 95%;
    }

.biotope-page .iframe-wrapper {
      padding-bottom: 75%;
    }
  }

/* Section 2 */

.biotope-page .biotope-env-section {
      padding: 40px 30px 10px;
      background-color: #fff;
      border-top: 1px solid #eee;
    }

.biotope-page .biotope-env-section .env-lead {      margin-bottom: 30px;
    }

/* 写真・マップ配置 */

.biotope-page .biotope-env-section .env-photo-layout {
      position: relative;
      width: 100%;
      max-width: 1100px;
      margin: 80px auto 0;
      aspect-ratio: 1100 / 760;
    }

.biotope-page .biotope-env-section .env-map-main {
      position: absolute;
      left: 17%;
      top: 17%;
      width: 66%;
      z-index: 1;
      text-align: center;
    }

.biotope-page .biotope-env-section .map-image {
      display: block;
      width: 100%;
      height: auto;
    }

.biotope-page .biotope-env-section .env-photo-trigger {
      position: absolute;
      display: block;
      width: 23%;
      aspect-ratio: 4 / 3;
      height: auto;
      padding: 0;
      margin: 0;
      border: 1px solid #707070;
      background-color: #e5e5e5;
      cursor: pointer;
      overflow: hidden;
      z-index: 2;
    }

.biotope-page .biotope-env-section .env-photo-trigger img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

.biotope-page .biotope-env-section .env-photo-trigger:hover img {
      transform: scale(1.05);
    }

/* 写真01〜08の配置位置 */

.biotope-page .biotope-env-section .env-photo-01 {
      top: 2%;
      left: 0;
    }

.biotope-page .biotope-env-section .env-photo-02 {
      top: -8%;
      left: 25.6%;
    }

.biotope-page .biotope-env-section .env-photo-03 {
      top: -8%;
      right: 25.6%;
    }

.biotope-page .biotope-env-section .env-photo-04 {
      top: 2%;
      right: 0;
    }

.biotope-page .biotope-env-section .env-photo-05 {
      bottom: 3%;
      left: 0;
    }

.biotope-page .biotope-env-section .env-photo-06 {
      bottom: -8%;
      left: 25.6%;
    }

.biotope-page .biotope-env-section .env-photo-07 {
      bottom: -8%;
      right: 25.6%;
    }

.biotope-page .biotope-env-section .env-photo-08 {
      bottom: 3%;
      right: 0;
    }

.biotope-page .biotope-env-section .zoom-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: rgba(0, 0, 0, 0.4);
      color: #fff;
      font-size: 13px;
      opacity: 0;
      transition: opacity 0.2s ease;
      pointer-events: none;
    }

.biotope-page .biotope-env-section
    .env-photo-trigger:hover .zoom-overlay, .biotope-page .biotope-env-section
    .env-photo-trigger:focus-visible .zoom-overlay {
      opacity: 1;
    }

.biotope-page .photo-zoom-modal {
      position: fixed;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2000;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }

.biotope-page .photo-zoom-modal.is-open {
      opacity: 1;
      pointer-events: auto;
    }

.biotope-page .photo-modal-overlay {
      position: absolute;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.75);
    }

.biotope-page .photo-modal-content {
      position: relative;
      z-index: 2001;
      width: 90%;
      max-width: 700px;
      padding: 20px;
      background-color: #fff;
      border-radius: 6px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

.biotope-page .photo-modal-close {
      position: absolute;
      top: 10px;
      right: 15px;
      background: none;
      border: none;
      color: #999;
      font-size: 32px;
      cursor: pointer;
    }

.biotope-page .photo-modal-close:hover {
      color: #333;
    }

.biotope-page .photo-modal-ttl {
      font-size: 16px;
      color: #005a5b;
      font-weight: bold;
      margin-bottom: 12px;
      padding-bottom: 6px;
      border-bottom: 1px solid #eee;
    }

.biotope-page .photo-modal-body img {
      display: block;
      width: 100%;
      height: auto;
      max-height: 70vh;
      object-fit: contain;
    }

@media  (max-width: 992px)  {

.biotope-page .biotope-env-section .env-photo-layout {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
        aspect-ratio: auto;
      }

.biotope-page .biotope-env-section .env-map-main {
        position: static;
        grid-column: 1 / -1;
        width: 100%;
        max-width: 600px;
        margin: 0 auto 15px;
      }

.biotope-page .biotope-env-section .env-photo-trigger {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
      }
    }

@media  (max-width: 600px)  {

.biotope-page .biotope-env-section {
        padding: 25px 15px 10px;
      }

.biotope-page .biotope-env-section .env-photo-layout {
        gap: 10px;
      }

.biotope-page .biotope-env-section .env-lead {
        margin-bottom: 20px;
      }
    }

.biotope-page .photo-modal-body img {
  cursor: pointer;
}


/* Section 2：拡大写真の紹介文 */
.biotope-page .photo-modal-description {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    text-align: left;
}

.biotope-page .photo-modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

/* Section 2：写真ホバー時のタイトル・操作案内 */
.biotope-page .biotope-env-section .zoom-overlay {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    padding: 8px;
}
.biotope-page .biotope-env-section .zoom-overlay-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
}
.biotope-page .biotope-env-section .zoom-overlay-action {
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
}

/* Section 2：3Dビュー・VRツアーバナー */
.biotope-page .biotope-env-section .biotope-vr-link {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 90px;
}

.biotope-page .biotope-env-section .biotope-vr-content {
    width: 280px;
    max-width: 100%;
    text-align: right;
}

.biotope-page .biotope-env-section .biotope-vr-content a {
    display: block;
    width: 240px;
    max-width: 100%;
    margin: 0 auto;
}

.biotope-page .biotope-env-section .biotope-vr-content img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    transition: opacity 0.2s ease;
}

.biotope-page .biotope-env-section .biotope-vr-content a:hover img {
    opacity: 0.85;
}

.biotope-page .biotope-env-section .biotope-vr-caption {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 992px) {
    .biotope-page .biotope-env-section .biotope-vr-link {
        margin-top: 30px;
    }
}

@media (max-width: 640px) {
    .biotope-page .biotope-env-section .biotope-vr-link {
        justify-content: center;
    }
}

/* Section 3 */

.biotope-page .biotope-corporate-grid-section {
    padding: 60px 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    text-align: center;
  }

.biotope-page .corporate-grid-lead {
    max-width: 960px;
    margin: 0 auto 50px;
    text-align: left;
  }

/* 画像配置：上段2枚・下段中央1枚 */

.biotope-page .corporate-grid-container {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 50px;
    row-gap: 40px;
    position: relative;
  }

.biotope-page .grid-node {
    width: 100%;
    position: relative;
  }

.biotope-page .grid-img-wrap {
    position: relative;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }

.biotope-page .node-investigation .grid-img-wrap, .biotope-page .node-management .grid-img-wrap, .biotope-page .node-regeneration .grid-img-wrap {
    height: 250px;
  }

.biotope-page .node-regeneration {
    grid-column: 1 / 3;
    width: calc((100% - 50px) / 2);
    justify-self: center;
  }

.biotope-page .grid-img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

/* 画像タイトル */

.biotope-page .grid-photo-title {
    position: absolute;
    left: 20px;
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.05em;
    z-index: 5;
    text-shadow:
      2px 2px 4px rgba(0,0,0,0.6),
      -1px -1px 0 rgba(0,0,0,0.4);
  }

.biotope-page .node-investigation .grid-photo-title, .biotope-page .node-management .grid-photo-title, .biotope-page .node-regeneration .grid-photo-title {
    top: 20px;
    bottom: auto;
  }

/* 矢印 */

.biotope-page .grid-arrow {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
  }

.biotope-page .arrow-right-1to2 {
    top: 105px;
    left: 50%;
    transform: translateX(-50%);
  }

.biotope-page .arrow-down-2to3 {
    top: 250px;
    right: 300px;
  }

.biotope-page .arrow-up-3to1 {
    top: 250px;
    left: 300px;
  }

/* モバイル表示 */

@media  (max-width: 768px)  {

.biotope-page .corporate-grid-container {
      grid-template-columns: 1fr;
      row-gap: 25px;
    }

.biotope-page .node-regeneration {
      grid-column: auto;
      width: 100%;
    }

.biotope-page .grid-arrow {
      display: none !important;
    }

.biotope-page .grid-img-wrap {
      height: 200px !important;
    }

.biotope-page .grid-photo-title {
      font-size: 24px;
      left: 15px;
    }

.biotope-page .node-investigation .grid-photo-title, .biotope-page .node-management .grid-photo-title, .biotope-page .node-regeneration .grid-photo-title {
      top: 15px;
      bottom: auto;
    }
  }

/* Section 4 */

.biotope-page .biotope-biota-section {
    padding: 40px 30px;
    background-color: #fff;
    border-top: 1px solid #eee;
  }

.biotope-page .biotope-biota-section .biota-lead {    margin-bottom: 25px;
  }

/* 矢印型タブ */

.biotope-page .biotope-biota-section .biota-tab-container {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 40px;
    padding: 0;
    background-color: #fff;
    border: none;
    overflow: visible;
  }

.biotope-page .biotope-biota-section .biota-tab-container .biota-tab-btn {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    height: 48px;
    padding: 0 16px 0 24px;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2;
    color: #fff;
    background-color: #5599d8;
    cursor: pointer;
    clip-path: polygon(
      0 0,
      calc(100% - 16px) 0,
      100% 50%,
      calc(100% - 16px) 100%,
      0 100%,
      16px 50%
    );
    transition: background-color 0.2s ease;
  }

.biotope-page .biotope-biota-section .biota-tab-container .biota-tab-btn:first-child {
    clip-path: polygon(
      0 0,
      calc(100% - 16px) 0,
      100% 50%,
      calc(100% - 16px) 100%,
      0 100%
    );
    padding-left: 12px;
  }

.biotope-page .biotope-biota-section .biota-tab-container .biota-tab-btn:last-child {
    clip-path: polygon(
      0 0,
      100% 0,
      100% 100%,
      0 100%,
      16px 50%
    );
    padding-right: 12px;
  }

.biotope-page .biotope-biota-section .biota-tab-container .biota-tab-btn + .biota-tab-btn {
    margin-left: -10px;
  }

.biotope-page .biotope-biota-section .biota-tab-btn:nth-child(1) { z-index: 5; }

.biotope-page .biotope-biota-section .biota-tab-btn:nth-child(2) { z-index: 4; }

.biotope-page .biotope-biota-section .biota-tab-btn:nth-child(3) { z-index: 3; }

.biotope-page .biotope-biota-section .biota-tab-btn:nth-child(4) { z-index: 2; }

.biotope-page .biotope-biota-section .biota-tab-btn:nth-child(5) { z-index: 1; }

.biotope-page .biotope-biota-section .biota-tab-btn::before, .biotope-page .biotope-biota-section .biota-tab-btn::after {
    content: none;
  }

.biotope-page .biotope-biota-section .biota-tab-btn:hover {
    background-color: #3b7bb7;
  }

.biotope-page .biotope-biota-section .biota-tab-btn.is-active, .biotope-page .biotope-biota-section .biota-tab-btn.is-active:hover {
    background-color: #00b04f;
    color: #fff;
  }

.biotope-page .biotope-biota-section .biota-tab-btn:focus-visible {
    outline: 2px solid #005a5b;
    outline-offset: 3px;
  }

/* タブ切り替えパネル */

.biotope-page .biotope-biota-section .biota-tab-panel {
    display: none;
  }

.biotope-page .biotope-biota-section .biota-tab-panel.is-active {
    display: block;
  }

.biotope-page .biotope-biota-section .biota-panel-layout {
    margin-top: 20px;
    width: 100%;
  }

/* 生物カード：PCでは横2列 */

.biotope-page .biotope-biota-section .biota-grid-col {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

.biotope-page .biotope-biota-section .biota-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    background-color: #f4f6f5;
    border-radius: 12px;
    padding: 16px;
    box-sizing: border-box;
  }

.biotope-page .biotope-biota-section .biota-img-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
  }

.biotope-page .biotope-biota-section .biota-img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    margin: 0;
  }

/* 生物名・説明文 */

.biotope-page .biotope-biota-section .biota-name {
    font-size: 15px;
    font-weight: bold;
    color: #005a5b;
    text-align: left;
    margin: 0 0 6px 0 !important;
  }

.biotope-page .biotope-biota-section .biota-card p:not(.biota-name) {
    font-size: 13px;
    line-height: 1.5;
    color: #444;
    text-align: left;
    margin: 0 !important;
  }

/* メダカ：生物名と写真注記を同じ行に配置 */

.biotope-page .biotope-biota-section .biota-name-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
  }

.biotope-page .biotope-biota-section .biota-name-row .biota-name {
    margin: 0 !important;
  }

.biotope-page .biotope-biota-section .biota-photo-note {
    font-size: 11px;
    line-height: 1.4;
    font-weight: normal;
    color: #666;
    text-align: right;
    white-space: nowrap;
    margin: 0;
  }

/* 絶滅危惧種バッジ */

.biotope-page .biotope-biota-section .rare-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    color: #c2410c;
    background-color: #fff5f5;
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid #fee2e2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

/* モバイル表示 */

@media  (max-width: 768px)  {

/* モバイル時のタブ配置 */

.biotope-page .biotope-biota-section .biota-tab-container {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 5px;
    }

.biotope-page .biotope-biota-section .biota-tab-container .biota-tab-btn {
      height: auto;
      min-height: 44px;
      padding: 10px 5px;
      margin: 0;
      border: 1px solid #ccc;
      border-radius: 4px;
      clip-path: none;
      font-size: 13px;
    }

.biotope-page .biotope-biota-section .biota-tab-container .biota-tab-btn:first-child, .biotope-page .biotope-biota-section .biota-tab-container .biota-tab-btn:last-child {
      clip-path: none;
      padding: 10px 5px;
    }

.biotope-page .biotope-biota-section .biota-tab-container .biota-tab-btn + .biota-tab-btn {
      margin-left: 0;
    }

/* モバイル時のカード配置 */

.biotope-page .biotope-biota-section .biota-grid-col {
      grid-template-columns: 1fr;
      gap: 15px;
    }

.biotope-page .biotope-biota-section .biota-card {
      max-width: 100%;
    }

.biotope-page .biotope-biota-section .biota-img-wrap {
      height: 200px;
    }
  }

/* Section 5 */

.biotope-page .biotope-conservation-section {
    padding: 40px 30px;
    background-color: #fff;
    border-top: 1px solid #eee;
  }

.biotope-page .biotope-conservation-section .conservation-lead {    margin: 0 0 25px;
  }

/* 写真：PCでは4列 */

.biotope-page .biotope-conservation-section .conservation-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 25px;
  }

.biotope-page .biotope-conservation-section .conservation-photo-item {
    min-width: 0;
    margin: 0;
  }

.biotope-page .biotope-conservation-section .conservation-photo-wrap {
    width: 100%;
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f4f6f5;
  }

.biotope-page .biotope-conservation-section .conservation-photo-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    margin: 0;
  }

.biotope-page .biotope-conservation-section .conservation-photo-caption {
    font-size: 13px;
    line-height: 1.5;
    color: #444;
    text-align: center;
    margin-top: 6px;
  }

/* 保全活動の説明カード：PCでは3列 */

.biotope-page .biotope-conservation-section .conservation-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }

.biotope-page .biotope-conservation-section .conservation-card {
    min-width: 0;
    padding: 18px;
    border-radius: 12px;
    background-color: #f4f6f5;
    box-sizing: border-box;
  }

.biotope-page .biotope-conservation-section .conservation-card-title {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
    color: #005a5b;
    margin: 0 0 8px !important;
  }

.biotope-page .biotope-conservation-section .conservation-card-text {
    font-size: 13px;
    line-height: 1.7;
    color: #444;
    text-align: left;
    margin: 0 !important;
  }

/* モバイル表示 */

@media  (max-width: 900px)  {

.biotope-page .biotope-conservation-section .conservation-photo-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 15px;
    }

.biotope-page .biotope-conservation-section .conservation-photo-wrap {
      height: 180px;
    }
  }

/* モバイル表示 */

@media  (max-width: 768px)  {

.biotope-page .biotope-conservation-section {
      padding: 30px 20px;
    }

.biotope-page .biotope-conservation-section .conservation-photo-wrap {
      height: 150px;
    }

.biotope-page .biotope-conservation-section .conservation-card-grid {
      grid-template-columns: 1fr;
      gap: 15px;
    }

.biotope-page .biotope-conservation-section .conservation-card {
      padding: 16px;
    }
  }

@media  (max-width: 480px)  {

.biotope-page .biotope-conservation-section .conservation-photo-grid {
      gap: 10px;
    }

.biotope-page .biotope-conservation-section .conservation-photo-wrap {
      height: 120px;
    }

.biotope-page .biotope-conservation-section .conservation-photo-caption {
      font-size: 12px;
    }
  }

/* Section 6 */

.biotope-page .biotope-edu-section {
    padding: 40px 30px;
    background-color: #fff;
    border-top: 1px solid #eee;
  }

.biotope-page .edu-lead {    margin-bottom: 30px;
  }

.biotope-page .edu-media-grid {
    display: flex;
    align-items: stretch;
    gap: 4px;
    margin-bottom: 40px;
  }

.biotope-page .edu-media-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

.biotope-page .edu-img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border: 1px solid #ddd;
  }

.biotope-page .edu-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.biotope-page .edu-caption {
    margin-top: 6px;
    margin-bottom: 0 !important;
  }

.biotope-page .edu-media-grid .type-character {
    flex: 1;
    justify-content: center;
    align-items: center;
  }

.biotope-page .char-catch {
    font-size: 12px;
    font-weight: bold;
    color: #00b04f;
    line-height: 1.3;
    margin: 0 0 8px 0 !important;
  }

.biotope-page .char-catch span {
    font-size: 11px;
    font-weight: normal;
  }

.biotope-page .char-img-wrap {
    width: 150px;
    height: 170px;
  }

.biotope-page .char-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

.biotope-page .char-name {
    font-size: 14px;
    font-weight: bold;
    color: #cc0000;
    margin: 6px 0 0 0 !important;
  }

.biotope-page .char-name span {
    border: 1px solid #cc0000;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 10px;
    margin-right: 2px;
  }

.biotope-page .edu-card-container {
    display: flex;
    align-items: stretch;
    gap: 20px;
  }

.biotope-page .edu-card {
    flex: 1;
    background-color: #f4f6f5;
    padding: 16px 20px;
    border-radius: 6px;
  }

.biotope-page .edu-card-ttl {
    font-size: 16px !important;
    color: #005a5b !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
    margin: 0 0 8px 0 !important;
  }

.biotope-page .edu-card p {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    margin: 0 !important;
  }

/* モバイル表示 */

@media  (max-width: 768px)  {

.biotope-page .edu-media-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
    }

.biotope-page .edu-img-wrap {
      height: 140px;
    }

.biotope-page .edu-card-container {
      flex-direction: column;
      gap: 15px;
    }
  }

/* Section 7 */

.biotope-page .biotope-awards-section {
    padding: 60px 20px;
    background-color: #fff;
    border-top: 1px solid #eee;
  }

.biotope-page .biotope-awards-section .ttl-basic {
    margin-bottom: 20px;
  }

.biotope-page .awards-lead {
    max-width: 800px;
    margin: 0 auto 35px;
    text-align: left;
  }

.biotope-page .awards-logo-container {
    max-width: 960px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-align: left;
  }

.biotope-page .logo-image-link {
    display: inline-block;
    flex-shrink: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

.biotope-page .logo-image-link:hover {
    opacity: 0.8;
    transform: scale(1.02);
  }

.biotope-page .logo-image-link img {
    height: 75px;
    width: auto;
    display: block;
  }

.biotope-page .logo-explanation-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

.biotope-page .cert-status-badge {
    font-size: 11px;
    font-weight: bold;
    color: #0050af;
    background-color: #ebf5ff;
    padding: 2px 8px;
    border-radius: 3px;
    border: 1px solid #cce4ff;
  }

.biotope-page .logo-explanation-text {
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
    margin: 0 !important;
  }

.biotope-page .env-official-link {
    font-size: 13px;
    font-weight: bold;
    color: #0050af;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid #0050af;
    transition: color 0.2s ease, border-color 0.2s ease;
  }

.biotope-page .env-official-link:hover {
    color: #00357a;
    border-color: #00357a;
  }

.biotope-page .env-official-link .external-icon {
    font-size: 11px;
    transform: translateY(-1px);
  }

/* モバイル表示 */

@media  (max-width: 768px)  {

.biotope-page .awards-logo-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 20px;
      padding: 20px 15px;
    }

.biotope-page .logo-image-link img {
      height: 60px;
    }

.biotope-page .logo-explanation-box {
      align-items: center;
    }

.biotope-page .logo-explanation-text {
      font-size: 12px;
    }

.biotope-page .env-official-link {
      font-size: 12px;
    }
  }

.biotope-page .awards-content-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

.biotope-page .biotope-table {
    width: 100% !important;
    border-collapse: collapse !important;
    line-height: 1.6 !important;
  }

.biotope-page .biotope-table th {
    background-color: #0050af !important;
    color: #fff !important;
    font-weight: bold !important;
    padding: 12px 14px !important;
    border: 1px solid #fff !important;
    text-align: left !important;
    font-size: 13px !important;
  }

.biotope-page .biotope-table td {
    font-size: 14px !important;
    padding: 12px 14px !important;
    color: #333 !important;
    border: 1px solid #fff !important;
    text-align: left !important;
    vertical-align: middle !important;
  }

.biotope-page .biotope-table tbody tr:nth-child(odd) {
    background-color: #f5f9fd !important;
  }

.biotope-page .biotope-table tbody tr:nth-child(even) {
    background-color: #deebf7 !important;
  }

.biotope-page .biotope-table .col-year { width: 15% !important; }

.biotope-page .biotope-table .col-name { width: 55% !important; }

.biotope-page .biotope-table .col-org { width: 30% !important; }

.biotope-page .biotope-table th.col-year, .biotope-page .biotope-table td.txt-center {
    text-align: center !important;
  }

.biotope-page .awards-big-image-box {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
  }

.biotope-page .awards-img-caption {
    font-size: 14px;
    font-weight: bold;
    color: #0050af;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 0.05em;
  }

.biotope-page .awards-big-image-box img {
    width: 100% !important;
    height: auto !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    border-radius: 2px;
  }

/* モバイル表示 */

@media  (max-width: 768px)  {

.biotope-page .awards-logo-wrap {
      text-align: center;
      margin-bottom: 20px;
    }

.biotope-page .awards-logo-wrap img {
      height: 50px;
    }

.biotope-page .biotope-table th, .biotope-page .biotope-table td {
      font-size: 11px !important;
      padding: 10px 8px !important;
    }

.biotope-page .awards-big-image-box {
      max-width: 100%;
    }

.biotope-page .awards-img-caption {
      font-size: 12px;
    }
  }

/* End */

/* ENDスライド：背景画像 */
.biotope-page .biotope-end .end-slide-1 { background-image: url("/image/sustainability/biotope_last1a.jpg"); }
.biotope-page .biotope-end .end-slide-2 { background-image: url("/image/sustainability/biotope_last2a.jpg"); }
.biotope-page .biotope-end .end-slide-3 { background-image: url("/image/sustainability/biotope_last3a.jpg"); }
.biotope-page .biotope-end .end-slide-4 { background-image: url("/image/sustainability/biotope_last4a.jpg"); }



/* メインスライド */

.biotope-page .biotope-end .hero-section {
    position: relative;
    width: 100%;
    height: 380px;
    background-color: #333;
    overflow: hidden;
  }

.biotope-page .biotope-end .slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
    z-index: 1;
  }

.biotope-page .biotope-end .slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }

.biotope-page .biotope-end .hero-section .closing-catch-phrase {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    color: #005a5b !important;
    font-weight: bold !important;
    font-size: 24px !important;
    line-height: 1.4 !important;
    z-index: 10;
    pointer-events: none;

    text-shadow:
      -1.5px -1.5px 0 #fff,  1.5px -1.5px 0 #fff,
      -1.5px  1.5px 0 #fff,  1.5px  1.5px 0 #fff,
      -1.5px  0px   0 #fff,  1.5px  0px   0 #fff,
       0px   -1.5px 0 #fff,  0px    1.5px 0 #fff,
       0px    3px   8px rgba(0, 0, 0, 0.4) !important;
  }

.biotope-page .biotope-end .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.2s;
  }

.biotope-page .biotope-end .nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }

.biotope-page .biotope-end .nav-btn:active {
    transform: translateY(-50%) scale(0.95);
  }

.biotope-page .biotope-end .prev-btn { left: 20px; }

.biotope-page .biotope-end .next-btn { right: 20px; }

/* スライド切り替えドット */

.biotope-page .biotope-end .slide-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 15;
  }

.biotope-page .biotope-end .indicator-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }

.biotope-page .biotope-end .indicator-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
  }

.biotope-page .biotope-end .indicator-dot.active {
    background-color: #00a86b;
    transform: scale(1.1);
  }

/* モバイル表示 */

@media  (max-width: 640px)  {

.biotope-page .biotope-end .hero-section { height: 260px; }

.biotope-page .biotope-end .hero-section .closing-catch-phrase {
      font-size: 16px !important;
      bottom: 45px !important;
    }

.biotope-page .biotope-end .nav-btn { width: 35px; height: 35px; font-size: 16px; }

.biotope-page .biotope-end .prev-btn { left: 10px; }

.biotope-page .biotope-end .next-btn { right: 10px; }

.biotope-page .biotope-end .slide-indicator { bottom: 12px; gap: 8px; }

.biotope-page .biotope-end .indicator-dot { width: 8px; height: 8px; }
  }

.biotope-page .photo-zoom-modal:not(.is-open) { visibility: hidden; }
.biotope-page .photo-zoom-modal.is-open { visibility: visible; }
.biotope-page .biotope-modal[aria-hidden="true"] { visibility: hidden; }
.biotope-page .biotope-modal.is-open { visibility: visible; }
.biotope-page .biota-tab-btn { font-family: inherit; }



