@charset "UTF-8";
/* ==========================================================================
   about (What is TOSA KURO-USHI?)  design canvas: 1500 × 3733
   ========================================================================== */

/* ---------------------------------------------------------------- hero --- */
/* デザイン: 1500 × 901 (60.07vw) */
.page-hero {
  position: relative;
  height: clamp(480px, 60.07vw, 901px);
  overflow: hidden;
  background: #000;
  color: var(--c-white);
}
.page-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.page-hero-title {
  position: absolute;
  top: 22%;
  left: 0;
  width: 100%;
  padding-inline: var(--gutter);
  margin: 0;
  font-weight: 400;
  font-size: clamp(2rem, 4.13vw, 3.875rem); /* 62px */
  line-height: 1.34; /* 83 / 62 */
  text-align: center;
}
/* デザイン: 高さ 325 / 黒 54.9% */
.page-hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 55px 0 40px;
  background: rgba(0, 0, 0, 0.549);
  text-align: center;
}
.page-hero-sub {
  font-weight: 400;
  font-size: clamp(1.25rem, 2.27vw, 2.125rem); /* 34px */
  line-height: 1.4;
  margin-bottom: 14px;
}
.page-hero-lead {
  max-width: 660px;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.75;
}

/* ------------------------------------------------------------ sections --- */
.sec-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.sec-straw {
  padding-top: 90px;
  text-align: center;
}
.sec-straw .sec-title {
  margin-top: 46px;
}
.sec-straw .sec-lead {
  max-width: 650px;
  margin-inline: auto;
  margin-top: 9px;
}
.sec-people {
  padding-top: 73px;
  text-align: center;
}
.sec-people .sec-title {
  margin-top: 46px;
}
.sec-btn {
  margin-top: 8px;
}

/* ----------------------------------------------------------------- map --- */
.sec-map {
  padding-top: 58px;
  padding-bottom: 42px;
}
/* デザイン: 地図 / 凡例 / 写真 / テキストの相対配置（1500 × 788.4） */
.map-area {
  position: relative;
  max-width: 1500px;
  margin-inline: auto;
  aspect-ratio: 1500 / 788.4;
}
.map-area figure {
  position: absolute;
  margin: 0;
}
.map-area img {
  width: 100%;
  height: auto;
  display: block;
}
.map-fig {
  left: 16.67%; /* 250 */
  top: 0;
  width: 45.41%; /* 681.1 */
}
.map-caption {
  left: 65.01%; /* 975.2 */
  top: 10.39%; /* 81.9 */
  width: 12.38%; /* 185.7 */
}
.map-photo {
  left: 50%; /* 750 */
  top: 42.03%; /* 331.4 */
  width: 50%; /* 750 */
}
.map-text {
  position: absolute;
  left: 19.33%; /* 290 */
  top: 78.9%; /* 622 */
  width: 30%;
  margin: 0;
  font-size: clamp(1rem, 2.07vw, 1.9375rem); /* 31px */
  line-height: 1.52; /* 47 / 31 */
}

/* ---------------------------------------------------------- responsive --- */
@media (max-width: 991.98px) {
  /* ヒーローは画像 + その下に説明ブロックを流し込む */
  .page-hero {
    height: auto;
  }
  .page-hero-bg {
    height: clamp(260px, 62vw, 460px);
  }
  /* タイトルは画像エリアの中央に重ねる */
  .page-hero-title {
    top: 0;
    height: clamp(260px, 62vw, 460px);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .page-hero-overlay {
    position: static;
    background: #101010;
    padding: 26px var(--gutter) 30px;
  }
  .page-hero-overlay .l-container {
    padding-inline: 0;
  }
  .page-hero-lead {
    font-size: 0.875rem;
    line-height: 1.7;
    text-align: left;
  }

  .sec-straw {
    padding-top: 50px;
  }
  .sec-straw .sec-title,
  .sec-people .sec-title {
    margin-top: 28px;
  }
  .sec-people {
    padding-top: 50px;
  }

  .sec-map {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .map-area {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-inline: var(--gutter);
  }
  .map-area figure,
  .map-area .map-text {
    position: static;
    width: 100%;
    max-width: 560px;
  }
  .map-area figure.map-caption {
    max-width: 220px;
    align-self: flex-start;
  }
  .map-area .map-text {
    font-size: 1.25rem;
    text-align: center;
  }
  .map-area figure.map-photo {
    max-width: none;
    width: calc(100% + var(--gutter) * 2);
    margin-inline: calc(var(--gutter) * -1);
  }
}

/* --------------------------------------------------------------- SP --- */
/* SP デザイン（375 × 2826）に合わせた調整 */
@media (max-width: 767.98px) {
  /* ヒーロー: 375 × 815。説明ブロックは画像に重ねる */
  .page-hero {
    height: auto;
    aspect-ratio: 375 / 815;
    max-height: 880px;
  }
  .page-hero-bg {
    position: absolute;
    inset: 0;
    height: 100%;
  }
  /* タイトル: 39px / 3 行 / 中央 */
  .page-hero-title {
    top: 14%;
    height: auto;
    display: block;
    font-size: 2.4375rem;
    line-height: 1.21;
  }
  /* 説明: 下端に重なる帯（デザイン: 高さ 408 = 50%） */
  .page-hero-overlay {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 50%;
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.549);
  }
  .page-hero-overlay .l-container {
    padding-inline: var(--gutter);
  }
  .page-hero-sub {
    font-size: 1.375rem; /* 22px */
    margin-bottom: 10px;
  }
  .page-hero-lead {
    font-size: 0.9375rem; /* 15px */
    line-height: 1.667; /* 25 / 15 */
  }

  /* 本文は左揃え（見出し・地図まわりの文は中央のまま） */
  .sec-straw .sec-lead {
    text-align: left;
  }
  .sec-straw .sec-title,
  .sec-people .sec-title {
    margin-top: 24px;
  }
  /* 地図まわり（デザイン: 文 → 地図 → 凡例 → 写真。凡例は地図の右下に重なる） */
  .map-area {
    padding-inline: 0;
  }
  .map-area .map-text {
    order: -1;
    padding-inline: var(--gutter);
    font-size: 1.4375rem; /* 23px */
    max-width: none;
  }
  /* 地図: left 28 / 幅 319 */
  .map-area figure.map-fig {
    width: calc(100% - var(--gutter) * 2);
    max-width: none;
  }
  /* 凡例: 幅 173.3（46.21%）/ 地図の上端 + 130.7（34.85%）に重ねる */
  .map-area figure.map-caption {
    position: relative;
    left: auto; /* PC 用の left / top を打ち消す */
    top: auto;
    z-index: 2;
    align-self: flex-end;
    width: 46.21%;
    max-width: none;
    margin-top: calc(-34.85% - 24px); /* -24px は .map-area の gap 分 */
    margin-right: 14px;
  }
  /* 写真: 全幅 375 */
  .map-area figure.map-photo {
    width: 100%;
    margin-inline: 0;
  }
}
