@charset "UTF-8";
/* ==========================================================================
   NANMO NANMO 帯広 特設ページ
   ※ このファイルは単独でコンパイルして css/nanmo.css を生成する
      （base-style.scss には import しない）
   コンパイル: npx sass scss/nanmo.scss css/nanmo.css --no-source-map
   ========================================================================== */
/* mixin */
/* Palette -------------------------------------------------------------- */
/* Base ------------------------------------------------------------------- */
.nanmo {
  font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
  color: #241f1a;
  background: #fffdf9;
  /* overflow-x/overflow-y の一方だけが visible だと、CSS の仕様上 visible 側が
     auto に解決されてしまい二重スクロールバーの原因になる。
     縦方向をクリップしても実害はない（.nanmo は高さ auto の通常フローのため）
     ので両軸とも hidden にして auto 化を避ける。 */
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.nanmo a {
  color: #c8283a;
}

.nanmo a:hover {
  color: #9c1f2e;
}

.nanmo img {
  max-width: 100%;
  height: auto;
}

.nanmo-section {
  position: relative;
  padding: 60px 0;
}

.nanmo-section--alt {
  background: #faf5eb;
}

@media (min-width: 768px) {
  .nanmo-section {
    padding: 90px 0;
  }
}
.nanmo-container {
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}

/* Bootstrap の .container-fluid 相当：横幅いっぱいに使いつつ、
   超ワイド画面で間延びしないよう上限だけは緩く設定する。 */
.nanmo-container--fluid {
  max-width: 1680px;
}

/* 経緯セクション: 背景右半分に帯広駅南口の写真、テキストは左70%に収める
   .nanmo-background の高さは本文の分量に応じた auto なので、写真(replaced element)を
   position:absolute + height:100%（や top/bottom 指定、あるいは CSS Grid の同一セル重ね）で
   伸ばそうとしても、containing block の高さが「auto 由来」である限り画像自身の
   アスペクト比が優先されてしまい解決できない（実機検証済み）。
   そのため高さは js/nanmo.js 側で .nanmo-container の実測高さを写真に反映している。 */
.nanmo-background {
  position: relative;
  overflow: hidden;
  background: #fffdf9;
}

.nanmo-background__photo {
  display: none;
  pointer-events: none;
}

/* 写真自体の焼き込みフェードだけでは、ビューポート幅やテキストの折り返し方次第で
   本文が写真の濃い部分にかかって読みにくくなることがあるため、
   本文側にも独立したスクリムを重ねて可読性を確保する。 */
.nanmo-background__scrim {
  display: none;
  pointer-events: none;
}

.nanmo-background__content {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .nanmo-background__photo {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 62%;
    /* height は js/nanmo.js が .nanmo-container の実測高さ(px)を代入する。
       JS 実行前の一瞬だけ自然な比率で表示されるフォールバック。 */
    height: auto;
    object-fit: cover;
    object-position: right center;
  }
  .nanmo-background__scrim {
    /* .nanmo-background__photo（画像=replaced element）は intrinsic ratio が
       優先されて top:0;bottom:0; だけでは伸びなかったが、この scrim はただの div
       （非 replaced element）なので、top/bottom 指定で親の実高さに正しく追従する。 */
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    display: block;
    width: 100%;
    background: linear-gradient(to right, #fffdf9 0%, rgba(255, 253, 249, 0.94) 42%, rgba(255, 253, 249, 0.6) 58%, rgba(255, 253, 249, 0) 74%);
  }
  .nanmo-background__content {
    width: 70%;
    max-width: 70%;
  }
}
.nanmo-eyebrow {
  display: inline-block;
  margin-bottom: 1.6rem;
  padding: 4px 16px;
  border: 1px solid #c8283a;
  border-radius: 999px;
  color: #c8283a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nanmo-heading {
  /* サイト共通の h2 { margin: 1.5em 0 1em; } の margin-top が上の
     .nanmo-eyebrow との余白に効いて広くなってしまうため、
     このページ内でのみ 0 に打ち消す。 */
  margin-top: 0;
  margin-bottom: 24px;
  font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .nanmo-heading {
    font-size: 32px;
  }
}
.nanmo-lead {
  margin-bottom: 1.4em;
  font-size: 16px;
  font-weight: bold;
  line-height: 2;
}

@media (min-width: 768px) {
  .nanmo-lead {
    font-size: 21px;
  }
}
.nanmo-text {
  margin-bottom: 1.4em;
  font-size: 16px;
  line-height: 2;
}

.nanmo-text:last-child {
  margin-bottom: 0;
}

.nanmo-note {
  color: rgba(36, 31, 26, 0.6);
  font-size: 12px;
  line-height: 1.8;
}

/* Hero --------------------------------------------------------------------- */
.nanmo-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  /* 横幅基準のvwだけだと、ノートPCのように幅の割に高さが低い画面で
     タイトルが画面外にはみ出すため、vhでも上限を設けて両者の小さい方を採用する。 */
  min-height: min(128vw, 92vh);
  max-height: 760px;
  overflow: hidden;
  background-color: #bfe3f7;
}

@media (min-width: 576px) {
  .nanmo-hero {
    min-height: min(104vw, 90vh);
  }
}
@media (min-width: 768px) {
  .nanmo-hero {
    min-height: min(52vw, 86vh);
  }
}
.nanmo-hero__heading {
  /* h1 でラップしても見た目や .nanmo-hero の flex レイアウトに影響しないよう
     既定のマージン/フォントサイズをリセット（中の picture/img は絶対配置のまま） */
  margin: 0;
  font-size: 0;
  line-height: 0;
}

.nanmo-hero__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* スマホは contain（写真全体を見せる）、PC は cover。
     写真内のテキストが画面外に切れないよう中央基準で配置する。 */
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  will-change: transform, opacity;
}

@media (min-width: 768px) {
  .nanmo-hero__media {
    object-fit: cover;
    object-position: center;
  }
}
.nanmo-hero__media.is-visible {
  opacity: 1;
}

.nanmo-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 下部のみ軽くトーンを落として文字を読みやすくする。写真全体を暗くしない。 */
  background: linear-gradient(0deg, rgba(20, 16, 12, 0.6) 0%, rgba(20, 16, 12, 0.22) 32%, rgba(20, 16, 12, 0) 58%);
  opacity: 0;
  transition: opacity 0.9s ease;
}

.nanmo-hero__overlay.is-visible {
  opacity: 1;
}

/* Hero logo: NANMO NANMO をテキストの赤文字で表示し、登場時にインパクトのある演出を付ける */
.nanmo-hero__logo {
  margin: 0;
  position: absolute;
  top: 33%;
  left: 50%;
  z-index: 1;
  width: 64%;
  max-width: 340px;
  color: #c8283a;
  font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.02em;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 3px rgba(0, 0, 0, 0.2));
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg) scale(3.6);
  pointer-events: none;
}

@media (min-width: 768px) {
  .nanmo-hero__logo {
    top: 42%;
    width: 50%;
    max-width: 620px;
    font-size: 44px;
  }
}
.nanmo-hero__logo::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  padding-top: 45.35%;
  border: 2px solid rgba(200, 40, 58, 0.55);
  border-radius: 50%;
  content: "";
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
}

.nanmo-hero__logo.is-revealed {
  animation: nanmoLogoSlam 1s cubic-bezier(0.2, 1.5, 0.4, 1) forwards;
}

.nanmo-hero__logo.is-revealed::after {
  animation: nanmoLogoRing 0.9s ease-out 0.32s forwards;
}

.nanmo-hero__logo.is-revealed-static {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(15deg) scale(1);
}

@keyframes nanmoLogoSlam {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.6) rotate(0deg);
  }
  45% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.92) rotate(20deg);
  }
  65% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06) rotate(11deg);
  }
  82% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.98) rotate(17deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(15deg);
  }
}
@keyframes nanmoLogoRing {
  0% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.4);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5);
  }
}
.nanmo-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 32px 20px 44px;
  color: #fff;
}

@media (min-width: 768px) {
  .nanmo-hero__inner {
    padding: 0 40px 72px;
  }
}
.nanmo-hero__eyebrow,
.nanmo-hero__title,
.nanmo-hero__lead {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.nanmo-hero__inner.is-revealed .nanmo-hero__eyebrow {
  transition-delay: 0s;
}

.nanmo-hero__inner.is-revealed .nanmo-hero__title {
  transition-delay: 0.12s;
}

.nanmo-hero__inner.is-revealed .nanmo-hero__lead {
  transition-delay: 0.24s;
}

.nanmo-hero__inner.is-revealed .nanmo-hero__eyebrow,
.nanmo-hero__inner.is-revealed .nanmo-hero__title,
.nanmo-hero__inner.is-revealed .nanmo-hero__lead {
  opacity: 1;
  transform: none;
}

.nanmo-hero__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nanmo-hero__title {
  margin-bottom: 14px;
  font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .nanmo-hero__title {
    font-size: 42px;
  }
}
.nanmo-hero__lead {
  font-size: 16px;
  line-height: 1.9;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.nanmo-hero__scroll {
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-align: center;
  opacity: 0.85;
}

.nanmo-hero__scroll::after {
  display: block;
  margin: 6px auto 0;
  width: 1px;
  height: 26px;
  background: currentColor;
  content: "";
  animation: nanmoScrollLine 1.8s ease-in-out infinite;
}

@keyframes nanmoScrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }
  40% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
  60% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 1;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}
/* Splash movie: 吹き出し(huki01-04) → イイデスヨ → (フェードアウトしてMV写真+ロゴへ) --- */
.nanmo-splash {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  background: #fffdf9;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease;
}

.nanmo-splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s 0.5s;
  pointer-events: none;
}

.nanmo-splash__bubble,
.nanmo-splash__answer {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  pointer-events: none;
}

.nanmo-splash__bubble {
  width: 44vw;
  max-width: 220px;
  aspect-ratio: 253/276.79;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nanmo-splash__bubble.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.nanmo-splash__bubble img {
  display: block;
  width: 100%;
  height: 100%;
}

.nanmo-splash__answer {
  width: min(80%, 480px);
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nanmo-splash__answer.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.nanmo-splash__answer img {
  display: block;
  width: 100%;
  height: auto;
}

/* Intro / Background sections --------------------------------------------- */
.nanmo-intro {
  background: #fffdf9;
}

/* Two-up figures (正面イメージ + 街区マップ) --------------------------------- */
.nanmo-media-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0 0;
}

.nanmo-media-row__item {
  flex: 1 1 100%;
}

@media (min-width: 768px) {
  .nanmo-media-row__item {
    flex: 1 1 calc(50% - 10px);
  }
}
.nanmo-figure {
  margin: 0;
}

.nanmo-figure img {
  display: block;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(36, 31, 26, 0.12);
}

.nanmo-figure figcaption {
  margin-top: 10px;
  color: rgba(36, 31, 26, 0.65);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-align: center;
}

/* Facility cards ------------------------------------------------------------ */
.nanmo-facilities {
  position: relative;
  background-image: url("../images/nanmo/bg_kukaku.svg");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 70vw auto;
}

.nanmo-facilities__intro {
  max-width: 640px;
}

/* Bootstrap の .row は flex で左右カラムの高さを揃える(stretch)ため、
   高さが余ったほうを中央寄せして、マップと一覧のどちらが長くても
   バランスよく収まるようにする。 */
@media (min-width: 768px) {
  .nanmo-facilities__map-col {
    display: flex;
    align-items: center;
  }
  .nanmo-facilities__map-col .nanmo-figure {
    width: 100%;
  }
}
/* 縦並びの一覧。PC では隣接する街区内マップと高さを揃えて中央に収める。 */
.nanmo-facilities__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  gap: 14px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .nanmo-facilities__list {
    margin-top: 0;
  }
}
.nanmo-facility-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px 16px 24px;
  border-radius: 12px;
  background: #fffdf9;
  box-shadow: 0 6px 18px rgba(36, 31, 26, 0.07);
  overflow: hidden;
}

.nanmo-facility-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #5c86a8;
  content: "";
}

.nanmo-facility-card--pink::before {
  background: #c8283a;
}

.nanmo-facility-card--gray::before {
  background: rgb(67.825311943%, 64.4385026738%, 57.6648841355%);
}

.nanmo-facility-card--featured {
  background: #c8283a;
  color: #fff;
}

.nanmo-facility-card--featured::before {
  background: rgba(255, 255, 255, 0.35);
}

.nanmo-facility-card--featured .nanmo-facility-card__number {
  color: rgba(255, 255, 255, 0.85);
}

.nanmo-facility-card--featured .nanmo-facility-card__icon {
  color: #c8283a;
  background: #fff;
}

.nanmo-facility-card--featured .nanmo-facility-card__meta {
  color: rgba(255, 255, 255, 0.75);
}

.nanmo-facility-card__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(92, 134, 168, 0.1);
  color: #5c86a8;
  font-size: 20px !important;
}

.nanmo-facility-card--pink .nanmo-facility-card__icon {
  background: rgba(200, 40, 58, 0.1);
  color: #c8283a;
}

.nanmo-facility-card--gray .nanmo-facility-card__icon {
  background: rgba(67.825311943%, 64.4385026738%, 57.6648841355%, 0.15);
  color: rgb(59.1889483066%, 54.8930481283%, 46.3012477718%);
}

.nanmo-facility-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  min-width: 0;
}

.nanmo-facility-card__number {
  margin-right: 8px;
  color: #5c86a8;
  font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.nanmo-facility-card--gray .nanmo-facility-card__number {
  color: rgb(59.1889483066%, 54.8930481283%, 46.3012477718%);
}

.nanmo-facility-card__title {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.nanmo-facility-card__meta {
  display: block;
  color: rgba(36, 31, 26, 0.55);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.nanmo-facility-card a.nanmo-facility-card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  margin-top: 4px;
  padding: 6px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nanmo-facility-card a.nanmo-facility-card__link:hover {
  background: #c8283a;
  border-color: #c8283a;
  color: #fff;
}

.nanmo-facility-card--featured a.nanmo-facility-card__link:hover {
  background: #fff;
  color: #241f1a;
}

/* Concept visual (施設カットモデル) ------------------------------------------ */
.nanmo-concept-visual {
  margin: 48px 0;
  overflow: hidden;
}

.nanmo-concept-visual__inner {
  overflow: hidden;
  border-radius: 6px;
}

.nanmo-concept-visual img {
  display: block;
  width: 100%;
  transform: scale(1.04);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nanmo-concept-visual.is-in-view img {
  transform: scale(1);
}

.nanmo-concept-visual figcaption {
  margin-top: 10px;
  color: rgba(36, 31, 26, 0.55);
  font-size: 12px;
  text-align: center;
}

/* 4棟・エリア紹介（パブリックスペース／フードホール＆マーケット棟／教育＆生活サービス棟／クリニック棟） --- */
.nanmo-zones {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 8px 0 56px;
}

@media (min-width: 576px) {
  .nanmo-zones {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .nanmo-zones {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}
.nanmo-zone {
  display: flex;
  flex-direction: column;
}

.nanmo-zone__media {
  margin: 0 0 16px;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 10px;
  background: #faf5eb;
}

.nanmo-zone__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nanmo-zone:hover .nanmo-zone__media img {
  transform: scale(1.06);
}

.nanmo-zone__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #c8283a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nanmo-zone__title {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.nanmo-zone__desc {
  margin-bottom: 0;
  color: rgba(36, 31, 26, 0.8);
  font-size: 14px;
  line-height: 1.9;
}

.nanmo-concept__body {
  max-width: 720px;
  margin: 0 auto;
}

.nanmo-concept__media {
  /* .nanmo-container いっぱいに広げる（900px 上限を撤廃） */
  width: 100%;
  max-width: none;
  margin: 32px auto 0;
}

/* Stats / count-up ---------------------------------------------------------- */
.nanmo-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 40px 0;
  padding: 32px 12px;
  border-top: 1px solid rgba(36, 31, 26, 0.1);
  border-bottom: 1px solid rgba(36, 31, 26, 0.1);
}

.nanmo-stat {
  flex: 1 1 100%;
  text-align: center;
}

@media (min-width: 576px) {
  .nanmo-stat {
    flex: 1 1 calc(33.333% - 16px);
  }
}
.nanmo-stat__number {
  display: inline-flex;
  align-items: baseline;
  color: #c8283a;
  font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

@media (min-width: 768px) {
  .nanmo-stat__number {
    font-size: 52px;
  }
}
.nanmo-stat__suffix {
  margin-left: 2px;
  font-size: 18px;
  font-weight: 700;
}

.nanmo-stat__label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
}

/* Photo grid (交流会) -------------------------------------------------------- */
.nanmo-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 40px 0;
}

@media (min-width: 768px) {
  .nanmo-photo-grid {
    gap: 24px;
  }
}
.nanmo-photo-grid__item img {
  display: block;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(36, 31, 26, 0.1);
}

.nanmo-photo-grid__item figcaption {
  margin-top: 8px;
  color: rgba(36, 31, 26, 0.65);
  font-size: 11px;
  text-align: center;
}

@media (min-width: 768px) {
  .nanmo-photo-grid__item figcaption {
    font-size: 12px;
  }
}
/* Triptych images (img_4 / img_5) ------------------------------------------- */
.nanmo-triptych {
  margin: 32px 0;
}

.nanmo-triptych img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.nanmo-triptych figcaption {
  margin-top: 10px;
  color: rgba(36, 31, 26, 0.55);
  font-size: 12px;
  text-align: center;
}

/* Overview tables ------------------------------------------------------------ */
.nanmo-tables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 8px;
}

@media (min-width: 992px) {
  .nanmo-tables {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}
.nanmo-table-title {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c8283a;
  font-size: 16px;
  font-weight: 700;
}

.nanmo-table {
  width: 100%;
  font-size: 16px;
}

/* スマートフォンでは tr を崩し、th/td を縦積みの1列カード表示にする。
   タブレット以降（min-width:768px）は通常の2カラムテーブル表示に戻す。 */
.nanmo-table tr {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid rgba(36, 31, 26, 0.12);
}

.nanmo-table tr:first-child {
  padding-top: 0;
}

.nanmo-table th,
.nanmo-table td {
  display: block;
  width: 100%;
  padding: 0;
  border-bottom: 0;
  text-align: left;
}

.nanmo-table th {
  margin-bottom: 6px;
  color: #c8283a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: normal;
}

.nanmo-table td {
  font-size: 16px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .nanmo-table tr {
    display: table-row;
    padding: 0;
    border-bottom: 0;
  }
  .nanmo-table th,
  .nanmo-table td {
    display: table-cell;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(36, 31, 26, 0.12);
    vertical-align: top;
  }
  .nanmo-table th {
    width: 38%;
    margin-bottom: 0;
    padding-right: 12px;
    color: rgba(36, 31, 26, 0.6);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: normal;
    white-space: nowrap;
  }
  .nanmo-table td {
    font-size: 16px;
    line-height: inherit;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .nanmo-table th {
    white-space: normal;
  }
}
/* Closing CTA ----------------------------------------------------------------- */
.nanmo-cta {
  padding: 56px 0;
  background: #241f1a;
  color: #fff;
  text-align: center;
}

.nanmo-cta__title {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
}

.nanmo-cta__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.nanmo-cta a.nanmo-cta__link {
  display: inline-flex;
  align-items: center;
  padding: 14px 40px;
  border-radius: 999px;
  background: #c8283a;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nanmo-cta a.nanmo-cta__link:hover {
  background: #9c1f2e;
  color: #fff;
  transform: translateY(-2px);
}

/* Reduced motion --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .nanmo-hero__scroll::after {
    animation: none;
  }
  .nanmo-hero__logo.is-revealed,
  .nanmo-hero__logo.is-revealed::after {
    animation: none;
  }
  .nanmo-hero__logo.is-revealed {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(15deg) scale(1);
  }
  .nanmo-splash,
  .nanmo-splash__bubble,
  .nanmo-splash__answer,
  .nanmo-hero__media,
  .nanmo-hero__overlay,
  .nanmo-hero__eyebrow,
  .nanmo-hero__title,
  .nanmo-hero__lead {
    transition: none !important;
  }
  .nanmo-concept-visual img {
    transition: none;
    transform: none;
  }
  .nanmo-zone__media img {
    transition: none;
  }
  .nanmo-zone:hover .nanmo-zone__media img {
    transform: none;
  }
  .nanmo-cta a.nanmo-cta__link:hover {
    transform: none;
  }
}
