@charset "UTF-8";

/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
  /* Unified palette: white base, light orange sections, deep green accent */
  --color-bg: #FFF8F3;
  /* 薄いオレンジ（セクション交互背景） */
  --color-page-bg: #ffffff;
  /* 白背景 */
  --color-text: #555555;
  --color-text-light: #888888;
  --color-accent: #1B4D3E;
  /* 深いグリーン（アクセント） */
  --color-accent-hover: #256354;
  --color-sub: #2D6A5A;
  --color-border: #E8E4E0;
  --color-white: #ffffff;
  --color-shadow: rgba(27, 77, 62, 0.08);
  --color-shadow-hover: rgba(27, 77, 62, 0.18);
  --color-btn-shadow: rgba(27, 77, 62, 0.3);
  --color-primary: #1B4D3E;
  /* 他ページ互換（アクセントと同じ） */

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Noto Serif JP', serif;
  --font-sub: 'Noto Serif JP', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  /* ヒーロー見出し：Yu Gothic 優先（細めウェイトと併用）／Mac 等はフォールバック */
  --font-hero-yu: "Yu Gothic UI", "Yu Gothic", Meiryo, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  /* トップヒーロー「防災クリエイター / 歌う防災士 しほママ」の文字サイズ（大きく: 1.1rem など／小さく: 0.85rem など） */
  --hero-description-font-size: clamp(1.6rem, 2.1vw, 1.68rem);
  /* モバイル：ヒーロー上段（文字エリア）のオレンジ背景 */
  --hero-mobile-bar-bg: linear-gradient(165deg, #f4b078 0%, #e88f4a 45%, #d97832 100%);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
  background-color: var(--color-page-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 60px;
  background-color: transparent;
  min-height: 100vh;
  box-shadow: none;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  text-align: center;
  padding: 60px 30px 40px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 40px;
  position: relative;
}

.site-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin: 20px auto 0;
}

.site-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-text);
  margin-bottom: 8px;
}

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

.site-subtitle-en {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--color-text-light);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.site-description {
  font-size: 0.85rem;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Accordion (Details / Summary)
   ========================================================================== */
details {
  border-top: 1px solid var(--color-border);
  margin-bottom: 0;
  overflow: hidden;
}

details:last-of-type {
  border-bottom: 1px solid var(--color-border);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-sub);
  font-size: 1.1em;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--color-accent);
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

details[open]>summary::after {
  content: '−';
  transform: rotate(0deg);
}

summary:hover {
  background-color: rgba(176, 141, 122, 0.12);
  color: var(--color-accent);
}

details[open]>summary {
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(176, 141, 122, 0.07);
}

/* 「はじめまして」アコーディオン専用 */
.about-details>summary {
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 22px 24px;
}

.about-details>summary::after {
  color: var(--color-white);
  opacity: 0.8;
}

.about-details>summary:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
}

details[open].about-details>summary {
  background: var(--color-accent-hover);
  color: var(--color-white);
  border-bottom: none;
}

.content-body {
  padding: 28px 32px 32px;
  animation: fadeIn 0.35s ease-out;
  line-height: 2;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Buttons（各セクション：大きめ・ホバーアニメーション）
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border: 2px solid var(--color-accent);
  color: var(--color-white);
  background: var(--color-accent);
  border-radius: 8px;
  font-family: var(--font-sub);
  font-size: 1rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, background 0.3s ease, border-color 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 4px 16px var(--color-btn-shadow);
}

.btn:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-white);
  text-decoration: none;
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 32px var(--color-shadow-hover);
}

.btn-fill {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-fill:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
}

/* ==========================================================================
   Main Navigation Grid
   ========================================================================== */
.main-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 28px 0 20px;
  margin-bottom: 8px;
}

.main-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 12px;
  background: var(--color-accent);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 3px 12px var(--color-btn-shadow);
  border: none;
  min-height: 80px;
  word-break: break-all;
}

.main-nav-btn:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--color-shadow-hover);
}

.main-nav-btn-en {
  font-family: var(--font-heading);
  font-size: 1.2em;
  letter-spacing: 0.2em;
  font-weight: 600;
  opacity: 0.9;
}

.main-nav-btn-ja {
  font-family: var(--font-sub);
  font-size: 1.05em;
  letter-spacing: 0.06em;
  font-weight: 400;
}

.main-nav-btn--contact {
  background: var(--color-accent);
  box-shadow: 0 3px 12px var(--color-btn-shadow);
}

.main-nav-btn--contact:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 8px 24px var(--color-shadow-hover);
}

@media (max-width: 600px) {
  .main-nav-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .main-nav-btn {
    padding: 16px 10px;
    min-height: 70px;
  }

  .main-nav-btn-en {
    font-size: 1em;
  }

  .main-nav-btn-ja {
    font-size: 0.9em;
  }
}

/* ==========================================================================
   News Section
   ========================================================================== */
.news-section {
  padding: 32px 0;
}

.news-section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: var(--color-text);
  margin-bottom: 6px;
}

.news-section-title-en {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--color-text-light);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.news-list {
  list-style: none;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s;
}

.news-item:first-child {
  border-top: 1px solid var(--color-border);
}

.news-date {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  flex-shrink: 0;
}

.news-title {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
}

.news-title a {
  color: inherit;
}

.news-title a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* ==========================================================================
   Icon Navigation (Bottom)
   ========================================================================== */
.icon-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 50px 20px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: 40px 0;
}

.icon-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.3s;
}

.icon-nav-item:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.icon-nav-icon {
  width: 64px;
  height: 64px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--color-white);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px var(--color-shadow);
}

.icon-nav-item:hover .icon-nav-icon {
  border-color: var(--color-accent);
  background-color: rgba(176, 141, 122, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px var(--color-shadow-hover);
}

.icon-nav-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  text-align: center;
}

.icon-nav-item:hover .icon-nav-label {
  color: var(--color-accent);
}

/* ==========================================================================
   Sub-page content
   ========================================================================== */
.sub-page-content {
  padding: 40px 10px;
}

/* ==========================================================================
   Profile page: spacing / readable sections
   ========================================================================== */
.profile-page .sub-page-content {
  padding: 32px 0 48px;
}

.profile-page .profile-hero {
  max-width: 720px;
  margin: 0 auto 34px;
  padding: 22px 22px 26px;
  background: rgba(255, 248, 243, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.profile-page .profile-hero-photo {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 14px;
}

.profile-page .profile-hero-photo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(58vh, 520px);
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 32px var(--color-shadow);
}

.profile-page .profile-hero-role {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.profile-page .profile-hero-name {
  text-align: center;
  font-family: var(--font-heading);
  color: var(--color-text);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.profile-page .profile-hero-name span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
}

.profile-page .profile-hero-meta {
  text-align: center;
  color: var(--color-text);
  margin-bottom: 10px;
}

.profile-page .profile-hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.profile-page .profile-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
}

.profile-page .profile-section--framed {
  padding: 18px 18px 20px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: rgba(255, 248, 243, 0.6);
  box-shadow: 0 10px 30px rgba(27, 77, 62, 0.06);
}

.profile-page .profile-section--framed h3 {
  margin-top: 0;
}

.profile-page .profile-section + .profile-section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

.profile-page .profile-intro p {
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 2;
  letter-spacing: 0.04em;
  margin: 0 0 1em;
}

.profile-page .profile-intro p:last-child {
  margin-bottom: 0;
}

.profile-page .profile-section-lead {
  color: var(--color-text-light);
  margin-bottom: 14px;
}

.profile-page .profile-life-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.profile-page .profile-life-row a {
  font-weight: 700;
}

.profile-page .profile-life-date {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
  text-align: right;
}

.profile-page .profile-cta {
  text-align: center;
  margin-top: 24px;
}

.profile-page .profile-cta .btn {
  display: inline-block;
}

.profile-page .profile-note {
  text-align: center;
  font-weight: 700;
  margin-top: 18px;
}

.profile-page .profile-media-card {
  display: block;
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px var(--color-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-page .profile-media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--color-shadow-hover);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tag {
  background: rgba(27, 77, 62, 0.06);
  border: 1px solid rgba(27, 77, 62, 0.14);
  color: var(--color-text);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Yotei page: align with index + selectable slideshow
   ========================================================================== */
.yotei-page .sub-page-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* 講演ページ：中間キャッチ（h1相当をやめ、導入カードとトーンを揃える） */
.yotei-page .yotei-promise-bridge {
  max-width: 820px;
  margin: 28px auto 8px;
  padding: 16px 22px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.55;
  color: var(--color-accent);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: rgba(255, 248, 243, 0.55);
  box-shadow: 0 4px 18px rgba(27, 77, 62, 0.06);
}

/* 講演ページ：h3 セクション見出しを h2 と同じ「下線アクセント」で統一 */
.yotei-page .sub-page-content h3.yotei-section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.12rem, 2.6vw, 1.32rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-text);
  border-bottom: 3px solid var(--color-accent);
  padding-bottom: 10px;
  margin-top: 36px;
  margin-bottom: 16px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.yotei-page .sub-page-content h3.yotei-section-heading#concerns {
  margin-top: 32px;
}

.yotei-page .sub-page-content h3.yotei-section-heading#features {
  margin-top: 36px;
}

.yotei-pillar-num {
  display: block;
  font-size: 1.55em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.yotei-intro {
  max-width: 820px;
  margin: 0 auto 34px;
  padding: 22px 22px 24px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: rgba(255, 248, 243, 0.55);
}

.yotei-intro-kicker {
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-sub);
  margin-bottom: 4px;
}

.yotei-intro-title {
  text-align: center;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: #e03454;
  margin-bottom: 14px;
}

/* 講演ページ冒頭：横長の自動スライドショー
 * 高さは aspect-ratio では決めない（幅÷比率になり max-height を上げても伸びないため）。
 * 高さを変えたいときは --yotei-slideshow-h を上書きするか、下の clamp の数値を変更。 */
.yotei-intro-slideshow {
  margin: 18px 0 16px;
  width: 100%;
  max-width: 100%;
  /* 例: 固定400pxにしたい → var(--yotei-slideshow-h, 400px); を lecture.html の style で指定 */
  --yotei-slideshow-h: clamp(200px, 32vw, 420px);
}

.yotei-intro-slideshow__viewport {
  position: relative;
  width: 100%;
  height: var(--yotei-slideshow-h);
  min-height: 400px;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1512;
  box-shadow: 0 8px 28px rgba(42, 36, 28, 0.15);
}

@media (max-width: 640px) {
  .yotei-intro-slideshow {
    --yotei-slideshow-h: clamp(168px, 48vw, 320px);
  }
}

.yotei-intro-slideshow__slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.yotei-intro-slideshow__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s ease-in-out, visibility 0.75s;
}

.yotei-intro-slideshow__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.yotei-intro-slideshow__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* アニメーションを減らす設定では1枚のみ表示・自動切替なし */
.yotei-intro-slideshow--static .yotei-intro-slideshow__slide {
  transition: none;
}

.yotei-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 14px auto 18px;
  max-width: 860px;
  align-items: stretch;
}

.yotei-pillar-item {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  align-content: start;
  height: 100%;
  padding: 16px 14px 18px;
  border: 1px solid rgba(27, 77, 62, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 20px rgba(27, 77, 62, 0.08);
}

.yotei-pillar {
  width: auto;
  height: auto;
  min-height: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  display: block;
  padding: 0;
}

.yotei-pillar-label {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  font-family: var(--font-sub);
  font-weight: 700;
  color: #ff7a00;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.3;
  font-size: 1.45rem;
  min-height: 4.8em;
  text-shadow: none;
}

.yotei-pillar-num {
  color: #ff7a00;
  text-shadow: none;
}

.yotei-pillar-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--color-text);
  max-width: 320px;
  text-align: center;
}

/* 講演ページ：課題サンプル（画像＋文言）横3×縦2 */
.yotei-page .lecture-sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 16px;
  margin: 18px auto 20px;
  padding: 0;
  list-style: none;
  max-width: 860px;
}

.yotei-page .lecture-sample-cell {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}

.yotei-page .lecture-sample-img {
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 240;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  display: block;
}

.yotei-page .lecture-sample-cell figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: var(--color-text);
  text-align: left;
}

@media (max-width: 900px) {
  .yotei-page .lecture-sample-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .yotei-page .lecture-sample-grid {
    grid-template-columns: 1fr;
  }
}

/* 講演ページ：メディア掲載（フレーム＋カード） */
.yotei-page .lecture-media-frame {
  scroll-margin-top: 155px;
  position: relative;
  max-width: 720px;
  margin: 28px auto 32px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(255, 252, 248, 0.98) 0%, rgba(255, 248, 243, 0.92) 50%, rgba(255, 255, 255, 0.96) 100%);
  box-shadow: 0 8px 28px var(--color-shadow);
  overflow: hidden;
}

.yotei-page .lecture-media-frame::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-accent) 0%,
    rgba(45, 106, 90, 0.85) 35%,
    rgba(201, 160, 32, 0.55) 100%
  );
}

.yotei-page .lecture-media-frame__inner {
  padding: clamp(18px, 3.5vw, 26px) clamp(16px, 3vw, 24px) clamp(20px, 3.5vw, 26px);
  text-align: center;
}

.yotei-page .lecture-media-frame__kicker {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-sub);
}

.yotei-page .lecture-media-frame__title {
  margin: 0 auto 10px;
  padding-bottom: 10px;
  max-width: none;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  border-bottom: 2px solid rgba(27, 77, 62, 0.2);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .yotei-page .lecture-media-frame__title {
    white-space: normal;
    font-size: clamp(0.95rem, 3.8vw, 1.15rem);
    letter-spacing: 0.06em;
  }
}

.yotei-page .lecture-media-frame__lead {
  margin: 0 0 18px;
  font-size: 0.82rem;
  line-height: 1.65;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
}

.yotei-page .lecture-media-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto;
  max-width: 100%;
  align-items: stretch;
}

.yotei-page .lecture-media-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 14px 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(27, 77, 62, 0.12);
  background: radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.98), rgba(255, 248, 243, 0.88));
  box-shadow: 0 4px 16px rgba(27, 77, 62, 0.07);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.yotei-page .lecture-media-card:hover {
  box-shadow: 0 10px 26px rgba(27, 77, 62, 0.12);
  transform: translateY(-2px);
}

.yotei-page .lecture-media-card__label {
  margin-bottom: 12px;
}

.yotei-page .lecture-media-card__title {
  margin: 0;
  font-family: var(--font-sub);
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: var(--color-text);
}

.yotei-page .lecture-media-card__body {
  margin-top: auto;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(27, 77, 62, 0.08);
}

.yotei-page .lecture-media-link {
  display: block;
  line-height: 0;
  border-radius: 6px;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.yotei-page .lecture-media-link:hover {
  opacity: 0.92;
}

.yotei-page .lecture-media-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.yotei-page .lecture-media-thumb {
  width: 100%;
  max-height: 200px;
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(27, 77, 62, 0.06);
  background: var(--color-bg);
  vertical-align: middle;
}

@media (max-width: 520px) {
  .yotei-page .lecture-media-row {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .yotei-page .lecture-media-thumb {
    max-height: 200px;
  }
}

/* 講演ページ：活動実績（サイト共通カード＋ゴールドのアクセント） */
.yotei-page .lecture-activity-showcase {
  scroll-margin-top: 155px;
  position: relative;
  max-width: 820px;
  margin: 28px auto 32px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(255, 252, 248, 0.98) 0%, rgba(255, 248, 243, 0.88) 50%, rgba(255, 255, 255, 0.96) 100%);
  box-shadow: 0 8px 28px var(--color-shadow);
  overflow: hidden;
}

.yotei-page .lecture-activity-showcase::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-accent) 0%,
    #c9a020 38%,
    #e8d48a 50%,
    #c9a020 62%,
    var(--color-accent) 100%
  );
  opacity: 0.95;
}

.yotei-page .lecture-activity-showcase__inner {
  text-align: center;
  padding: clamp(20px, 4vw, 30px) clamp(18px, 4vw, 28px) clamp(22px, 4vw, 28px);
}

.yotei-page .lecture-activity-showcase__kicker {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-sub);
}

.yotei-page .lecture-activity-showcase__title {
  margin: 0 auto 20px;
  padding-bottom: 12px;
  max-width: 18em;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3.8vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.45;
  color: var(--color-accent);
  border-bottom: 3px solid var(--color-accent);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 12px rgba(201, 160, 32, 0.18);
}

.yotei-page .lecture-activity-showcase__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 12px 14px;
  margin: 0 0 18px;
}

.yotei-page .lecture-activity-showcase__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: min(160px, 42vw);
  padding: 16px 18px 18px;
  border-radius: 12px;
  border: 1px solid rgba(27, 77, 62, 0.14);
  background: radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.98), rgba(255, 248, 243, 0.88));
  box-shadow: 0 6px 20px rgba(27, 77, 62, 0.08);
}

.yotei-page .lecture-activity-showcase__num {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 6.5vw, 2.85rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #a67c00;
  background: linear-gradient(185deg, #fffef8 0%, #f0d878 32%, #c9a020 58%, #8b6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.85));
}

.yotei-page .lecture-activity-showcase__num-suffix {
  font-size: 0.55em;
  margin-left: 0.05em;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .yotei-page .lecture-activity-showcase__num {
    -webkit-text-fill-color: unset;
    color: #b8860b;
  }
}

.yotei-page .lecture-activity-showcase__unit {
  font-family: var(--font-sub);
  font-size: clamp(0.78rem, 1.9vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.yotei-page .lecture-activity-showcase__ornament {
  align-self: center;
  color: #c9a020;
  font-size: 1.05rem;
  line-height: 1;
  padding-bottom: 0.25em;
  opacity: 0.85;
  text-shadow: 0 0 10px rgba(201, 160, 32, 0.35);
}

.yotei-page .lecture-activity-showcase__lead {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.yotei-page .lecture-activity-showcase__note {
  margin: 0 0 6px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
}

.yotei-page .lecture-activity-showcase__voice {
  position: relative;
  margin: 0;
  padding: 14px 16px;
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid rgba(201, 160, 32, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.8;
  letter-spacing: 0.03em;
  text-align: left;
  box-shadow: 0 6px 18px rgba(42, 36, 28, 0.07);
}

.yotei-page .lecture-activity-showcase__voice-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px auto 0;
  max-width: 860px;
}

.yotei-page .lecture-activity-showcase__voice::before {
  content: "“";
  position: absolute;
  top: -0.4em;
  left: 10px;
  font-size: 2rem;
  line-height: 1;
  color: rgba(201, 160, 32, 0.7);
}

@media (max-width: 700px) {
  .yotei-page .lecture-activity-showcase__voice-row {
    grid-template-columns: 1fr;
  }
}

.yotei-page .lecture-activity-showcase__cta {
  margin: 12px 0 0;
}

.yotei-page .lecture-activity-showcase__btn {
  margin-top: 0;
  padding: 14px 36px;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
}

/* 講演ページ：講演テーマ例・グリッドレイアウト */
.yotei-page .lecture-theme-section {
  scroll-margin-top: 155px;
  max-width: 860px;
  margin: 0 auto 48px;
}
.yotei-page .lecture-theme-target-box > .lecture-theme-grid {
  margin-top: 4px;
}

.yotei-page .lecture-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 20px);
  margin: 0 auto;
}

@media (max-width: 600px) {
  .yotei-page .lecture-theme-grid {
    grid-template-columns: 1fr;
  }
}

.yotei-page .lecture-theme-card {
  background: #fff;
  border-radius: 12px;
  padding: clamp(18px, 3.5vw, 24px);
  border: 1px solid rgba(74, 60, 42, 0.12);
  box-shadow: 0 4px 18px rgba(42, 36, 28, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.yotei-page .lecture-theme-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(42, 36, 28, 0.1);
}

.yotei-page .lecture-theme-card__cat {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.yotei-page .lecture-theme-card__titles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yotei-page .lecture-theme-card__titles li {
  position: relative;
  padding-left: 1em;
  line-height: 1.6;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 600;
}

.yotei-page .lecture-theme-card__titles li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* 講演ページ：講演テーマ例・対象 */
.yotei-page .lecture-theme-target-box {
  margin: 32px auto 0;
  padding: 24px clamp(20px, 4vw, 32px);
  background: rgba(255, 248, 243, 0.55);
  border: 1px solid rgba(201, 160, 32, 0.15);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(42, 36, 28, 0.04);
}

.yotei-page .lecture-theme-target-heading {
  font-family: var(--font-sub);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(201, 160, 32, 0.3);
  text-align: center;
}

.yotei-page .lecture-theme-target-body {
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.95;
  color: var(--color-text-light);
  text-align: center;
}

/* 講演ページ：学べる内容（実績ブロックとテーマ例のあいだ） */
.yotei-page .lecture-learnable-section {
  scroll-margin-top: 155px;
  max-width: 860px;
  margin: 0 auto 40px;
}

.yotei-page .lecture-theme-target-box .lecture-learnable-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px clamp(16px, 3vw, 28px);
  text-align: left;
}

.yotei-page .lecture-learnable-list li {
  position: relative;
  padding-left: 1em;
  line-height: 1.65;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 600;
}

.yotei-page .lecture-learnable-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

@media (max-width: 600px) {
  .yotei-page .lecture-theme-target-box .lecture-learnable-list {
    grid-template-columns: 1fr;
  }
}

.yotei-intro p {
  margin-bottom: 10px;
}

.yotei-intro .yotei-intro-list {
  margin: 6px 0 12px;
  padding-left: 1.4em;
  line-height: 1.85;
  list-style: disc;
}

.yotei-intro .yotei-intro-list li {
  margin-bottom: 4px;
}

.yotei-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.yotei-media-card {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 8px 28px var(--color-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.yotei-media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--color-shadow-hover);
  border-color: rgba(27, 77, 62, 0.35);
  text-decoration: none;
}

.yotei-media-title {
  padding: 14px 16px 10px;
  font-family: var(--font-sub);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.yotei-media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.yotei-point-title {
  font-family: var(--font-sub);
  font-weight: 700;
  color: var(--color-accent);
  font-size: 1.05rem;
  margin-top: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.yotei-photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.yotei-photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px var(--color-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yotei-photo-grid img:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px var(--color-shadow-hover);
}

@media (max-width: 900px) {
  .yotei-media-grid {
    grid-template-columns: 1fr;
  }
  .yotei-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yotei-pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 720px;
  }
  .yotei-pillar-label {
    font-size: 1.3rem;
  }
  .yotei-pillar {
    width: auto;
    height: auto;
  }
  .yotei-pillar-desc {
    max-width: 320px;
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .yotei-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .yotei-pillars {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
  .yotei-pillar {
    width: auto;
    height: auto;
    padding: 0;
  }
  .yotei-pillar-desc {
    max-width: 320px;
  }
}

/* Selectable slider (CSS-only via radios) */
.select-slider {
  max-width: 860px;
  margin: 14px auto 0;
}

.select-slider-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.select-slider-frame {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-white);
  box-shadow: 0 10px 34px var(--color-shadow);
  overflow: hidden;
}

.select-slider-slides {
  position: relative;
}

.select-slide {
  display: none;
  margin: 0;
}

.select-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(255, 248, 243, 0.7), rgba(255, 255, 255, 0.9));
}

.select-slide figcaption {
  padding: 14px 16px 16px;
  font-family: var(--font-sub);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  background: rgba(255, 248, 243, 0.6);
}

.select-slide-note {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
  line-height: 1.8;
}

#pickup-1:checked ~ .select-slider-frame .select-slide-1,
#pickup-2:checked ~ .select-slider-frame .select-slide-2,
#pickup-3:checked ~ .select-slider-frame .select-slide-3,
#pickup-4:checked ~ .select-slider-frame .select-slide-4 {
  display: block;
}

.select-slider-thumbs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.select-thumb {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(27, 77, 62, 0.22);
  box-shadow: 0 6px 16px rgba(27, 77, 62, 0.12);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.select-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.select-thumb:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 77, 62, 0.55);
  box-shadow: 0 12px 26px rgba(27, 77, 62, 0.18);
}

#pickup-1:checked ~ .select-slider-thumbs label[for="pickup-1"],
#pickup-2:checked ~ .select-slider-thumbs label[for="pickup-2"],
#pickup-3:checked ~ .select-slider-thumbs label[for="pickup-3"],
#pickup-4:checked ~ .select-slider-thumbs label[for="pickup-4"] {
  border-color: rgba(27, 77, 62, 0.9);
  box-shadow: 0 14px 32px rgba(27, 77, 62, 0.22);
  transform: translateY(-2px) scale(1.02);
}

@media (max-width: 600px) {
  .select-thumb {
    width: 58px;
    height: 58px;
  }
  .select-slide figcaption {
    padding: 12px 14px 14px;
  }
}

.page-header {
  text-align: center;
  padding: 30px 0 40px;
  margin-bottom: 40px;
}

.page-title-en {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.page-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin: 16px auto 0;
}

.sub-page-content h2 {
  font-family: var(--font-sub);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 10px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.sub-page-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 24px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Reading Page (reason.html)
   ========================================================================== */
.reading-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 10px;
}

.reading-page h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  margin-bottom: 8px;
}

.reading-page .chapter {
  margin-bottom: 50px;
}

.reading-page .chapter-number {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.reading-page .chapter-title {
  font-family: var(--font-sub);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
}

.reading-page p {
  font-size: 0.95rem;
  line-height: 2.2;
  margin-bottom: 18px;
  color: var(--color-text);
}

.reading-page .chapter-img {
  width: 100%;
  max-width: 480px;
  margin: 24px auto;
  border-radius: 2px;
  box-shadow: 0 4px 20px var(--color-shadow);
}

/* reason.html など：章あたりの写真（本文より小さめ・角丸・影） */
.reading-page .chapter-image {
  max-width: min(420px, 92%);
  margin: 12px auto 36px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-page-bg);
  box-shadow:
    0 12px 36px rgba(27, 77, 62, 0.14),
    0 4px 14px rgba(0, 0, 0, 0.07);
}

.reading-page .chapter-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* profile.html など：本文中の挿入写真（横並び・キャプション付き・角丸・影） */
.profile-page .chapter-image {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 14px 18px;
  max-width: min(720px, 100%);
  margin: 12px auto 36px;
  padding: 18px 16px 20px;
  border-radius: 14px;
  background: var(--color-page-bg);
  box-shadow:
    0 12px 36px rgba(27, 77, 62, 0.14),
    0 4px 14px rgba(0, 0, 0, 0.07);
  box-sizing: border-box;
}

.profile-page .chapter-image__item {
  flex: 1 1 calc(33.333% - 14px);
  min-width: 0;
  max-width: 220px;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-page .chapter-image__item img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(27, 77, 62, 0.12);
  display: block;
}

.profile-page .chapter-image__caption {
  margin-top: 10px;
  width: 100%;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-text-light);
  text-align: center;
  letter-spacing: 0.02em;
}

@media (max-width: 520px) {
  .profile-page .chapter-image {
    gap: 12px;
    padding: 14px 12px 16px;
  }

  .profile-page .chapter-image__item {
    max-width: none;
    flex: 1 1 calc(33.333% - 10px);
  }

  .profile-page .chapter-image__item img {
    max-height: 100px;
  }

  .profile-page .chapter-image__caption {
    font-size: 0.72rem;
    margin-top: 6px;
  }
}

/* ==========================================================================
   Link Card (Anshin House)
   ========================================================================== */
.link-card {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 24px 28px;
  margin: 30px 0;
  text-decoration: none;
  transition: all 0.3s ease;
  background: var(--color-white);
}

.link-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px var(--color-shadow-hover);
  text-decoration: none;
  transform: translateY(-2px);
}

.link-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.link-card-title {
  font-family: var(--font-sub);
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 6px;
}

.link-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.link-card-arrow {
  float: right;
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-top: -36px;
}

/* ==========================================================================
   Tables
   ========================================================================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

th {
  font-weight: 700;
  color: var(--color-text-light);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  background: transparent;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--color-border);
  font-size: 0.78rem;
  color: var(--color-text-light);
  letter-spacing: 0.08em;
}

.site-footer a {
  color: var(--color-text-light);
}

.site-footer a:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   Floating Navigation
   ========================================================================== */
.floating-nav {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
}

.btn-float {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  background: var(--color-accent);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  font-size: 1.6rem;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(176, 141, 122, 0.45);
  transition: all 0.3s ease;
}

.btn-float:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(176, 141, 122, 0.55);
}

/* ==========================================================================
   Text Size Switcher
   ========================================================================== */
.font-size-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 8px 16px;
  background: var(--color-page-bg);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

.font-size-bar span {
  margin-right: 4px;
  font-size: 0.72rem;
}

.font-size-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  cursor: pointer;
  color: var(--color-text-light);
  font-family: var(--font-body);
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.font-size-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.font-size-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

/* Font size levels applied to body and html */
html.font-size-medium {
  font-size: 110%;
  /* remの基準を10%拡大 */
}

html.font-size-large {
  font-size: 125%;
  /* remの基準を25%拡大 */
}

body.font-size-medium {
  font-size: 17px;
}

body.font-size-large {
  font-size: 20px;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--color-text-light);
}

.text-accent {
  color: var(--color-accent);
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 32px 0;
}

.divider-ornament {
  text-align: center;
  color: var(--color-sub);
  font-size: 0.9rem;
  letter-spacing: 0.5em;
  margin: 32px 0;
}

/* ==========================================================================
   Hero Image
   ========================================================================== */
.hero-image {
  overflow: hidden;
  margin-bottom: 40px;
}

.hero-image img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: top;
  border-radius: 2px;
}

/* ==========================================================================
   Profile section
   ========================================================================== */
.profile-img-wrap {
  text-align: center;
  margin-bottom: 28px;
}

.profile-img-wrap img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-border);
  margin: 0 auto;
  box-shadow: 0 4px 16px var(--color-shadow);
}

/* ==========================================================================
   goods.html 写真タイル一覧（約4列×2行）→ 各商品セクションへジャンプ
   ========================================================================== */
.goods-page .goods-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 10px;
  margin: 20px 0 32px;
  padding: 0;
  max-width: 100%;
}

.goods-page .goods-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 8px 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(27, 77, 62, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
  min-width: 0;
}

.goods-page .goods-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(27, 77, 62, 0.12);
  border-color: rgba(27, 77, 62, 0.28);
}

.goods-page .goods-tile:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.goods-page .goods-tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.goods-page .goods-tile span {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--color-text);
  word-break: keep-all;
}

@media (max-width: 900px) {
  .goods-page .goods-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 400px) {
  .goods-page .goods-tile span {
    font-size: 0.68rem;
  }
}

.goods-page [id^="product-"] {
  scroll-margin-top: 155px;
}

/* ==========================================================================
   goods.html 冒頭リード（タイトル＋説明）
   ========================================================================== */
.goods-intro {
  margin: 0 0 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-border);
}

/* リード：4分野を独立した枠で強調 */
.goods-page .goods-intro-highlight-grid {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.goods-page .goods-intro-highlight-item {
  margin: 0;
  padding: 14px 10px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 2.1vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.45;
  color: var(--color-text);
  border: 2px solid var(--color-accent);
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 4px 16px var(--color-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.goods-page .goods-intro-highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--color-shadow-hover);
}

.goods-page .goods-intro-lead-line {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--color-text);
  margin: 0 0 16px;
}

@media (max-width: 720px) {
  .goods-page .goods-intro-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .goods-page .goods-intro-highlight-grid {
    grid-template-columns: 1fr;
  }
}

.goods-intro-desc {
  font-size: 0.95rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
  margin: 0;
}

/* 防災イベント / 共同開発 / おすすめグッズ：統一カテゴリーパネル */
.goods-page .goods-category-panel {
  margin: 0 auto 40px;
  max-width: 820px;
  scroll-margin-top: 155px;
  background: linear-gradient(180deg, #fdfcfa 0%, #f7f5f0 100%);
  border-radius: 14px;
  border: 1px solid rgba(74, 60, 42, 0.1);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.85) inset,
    0 12px 36px rgba(42, 36, 28, 0.08);
  overflow: hidden;
  box-sizing: border-box;
}

.goods-page .goods-category-panel__bar {
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--color-accent, #c9a020) 0%,
    #e8d48a 45%,
    var(--color-accent, #c9a020) 100%
  );
}

.goods-page .goods-category-panel__inner {
  padding: clamp(22px, 4.5vw, 34px) clamp(20px, 4vw, 32px) clamp(26px, 4.5vw, 36px);
}

.goods-page .goods-category-panel__title {
  margin: 0 0 18px;
  padding: 0 0 14px;
  border: none;
  border-bottom: 2px solid rgba(201, 160, 32, 0.4);
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.8vw, 1.42rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-align: center;
  color: var(--color-text);
  scroll-margin-top: 155px;
}

.goods-page .goods-category-panel__lead {
  margin: 0 auto;
  max-width: 48em;
  font-size: 1rem;
  line-height: 1.95;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
  text-align: center;
}

.goods-page .goods-category-panel__lead + .goods-category-panel__lead {
  margin-top: 1.1em;
}

.goods-page .goods-category-panel__note {
  font-size: 0.92em;
  line-height: 1.75;
  color: rgba(74, 60, 42, 0.78);
}

.goods-page .goods-category-panel__lead--left {
  text-align: left;
}

.goods-page .goods-category-panel__lead--featured {
  margin-top: 0.35em;
  padding: clamp(16px, 2.5vw, 22px) clamp(18px, 3vw, 26px);
  padding-left: clamp(20px, 3vw, 28px);
  border-left: 4px solid var(--color-accent, #c9a020);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(105deg, rgba(255, 248, 243, 0.98) 0%, rgba(255, 255, 255, 0.55) 100%);
  box-shadow: 0 4px 22px rgba(42, 36, 28, 0.07);
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: var(--color-text);
}

.goods-page .goods-category-panel__lead-accent {
  color: var(--color-accent, #c9a020);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.goods-page .goods-category-panel__subhead {
  margin: 1.15em auto 0.45em;
  max-width: 48em;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text);
  text-align: left;
}

.goods-page .goods-category-panel__checklist {
  margin: 0 auto 1em;
  padding: 0;
  max-width: 48em;
  list-style: none;
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
  text-align: left;
}

.goods-page .goods-category-panel__checklist li {
  margin: 0.35em 0 0;
  padding-left: 0.15em;
}

/* 防災イベント：備品紹介画像＋キャプション */
.goods-page .goods-works-supply-figure {
  margin: 28px auto 0;
  max-width: min(100%, 720px);
}

.goods-page .goods-works-supply-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(42, 36, 28, 0.08);
}

.goods-page .goods-works-supply-figure__caption {
  margin-top: 12px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.5em;
  font-size: 0.95rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
}

.goods-page .goods-works-supply-figure__title {
  font-weight: 700;
  color: var(--color-text);
}

.goods-page .goods-works-supply-figure__note {
  flex-shrink: 0;
  font-size: 0.88em;
  color: rgba(74, 60, 42, 0.78);
}

/* 防災コンテンツ：画像＋テキスト＋リンク（4カード） */
.goods-page .goods-content-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
  margin-top: 28px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.goods-page .goods-content-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(74, 60, 42, 0.12);
  box-shadow: 0 8px 28px rgba(42, 36, 28, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.goods-page .goods-content-card:hover {
  box-shadow: 0 14px 40px rgba(42, 36, 28, 0.12);
  transform: translateY(-3px);
}

.goods-page .goods-content-card__thumb {
  display: block;
  line-height: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f0ebe3;
}

.goods-page .goods-content-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.goods-page .goods-content-card:hover .goods-content-card__thumb img {
  transform: scale(1.04);
}

.goods-page .goods-content-card__body {
  padding: clamp(16px, 3vw, 20px) clamp(18px, 3vw, 22px) clamp(20px, 3vw, 24px);
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.goods-page .goods-content-card__title {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: clamp(1.02rem, 2.2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text);
  line-height: 1.4;
}

.goods-page .goods-content-card__text {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: var(--color-text-light);
  flex: 1;
}

.goods-page .goods-content-card__link {
  align-self: flex-start;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #fff;
  background: var(--color-primary);
  transition: background 0.25s ease, color 0.25s ease;
}

.goods-page .goods-content-card__link:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

@media (max-width: 640px) {
  .goods-page .goods-content-card-grid {
    grid-template-columns: 1fr;
  }
}

/* 防災コンテンツ：メディア記事サムネイル（横4～5列など小さく） */
.goods-page .goods-content-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 10px;
  margin-top: 26px;
  max-width: 100%;
}

.goods-page .goods-content-media-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(74, 60, 42, 0.12);
  box-shadow: 0 4px 10px rgba(42, 36, 28, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.goods-page .goods-content-media-tile--wide {
  grid-column: span 2;
}

.goods-page .goods-content-media-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(42, 36, 28, 0.08);
}

.goods-page .goods-content-media-tile:focus-visible {
  outline: 3px solid var(--color-accent, #c9a020);
  outline-offset: 2px;
}

.goods-page .goods-content-media-tile__img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0ebe3;
}

.goods-page .goods-content-media-tile__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.goods-page .goods-content-media-tile__img-wrap--more {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-accent, #c9a020);
  background: linear-gradient(145deg, #fdfcfa, #f0ebe3);
}

.goods-page .goods-content-media-tile--more .goods-content-media-tile__label {
  color: var(--color-primary);
}

.goods-page .goods-content-media-tile__label {
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--color-text);
  padding: 8px 8px 10px;
  font-weight: 600;
  text-align: left;
}

.goods-page .goods-content-media-note {
  margin: 18px 0 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--color-text-light);
  text-align: center;
}

.goods-page .goods-content-media-note a {
  font-weight: 700;
  color: var(--color-primary);
}

.goods-page .goods-content-media-note a:hover {
  color: var(--color-accent-hover);
}

/* 共有：サブページでも同じサムネイルサイズに揃える（movie.html 等） */
.sub-page .goods-content-media-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(74, 60, 42, 0.12);
  box-shadow: 0 4px 10px rgba(42, 36, 28, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sub-page .goods-content-media-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(42, 36, 28, 0.08);
}

.sub-page .goods-content-media-tile:focus-visible {
  outline: 3px solid var(--color-accent, #c9a020);
  outline-offset: 2px;
}

.sub-page .goods-content-media-tile__img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0ebe3;
}

.sub-page .goods-content-media-tile__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sub-page .goods-content-media-tile__label {
  font-size: 0.9rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-text);
  padding: 10px 10px 12px;
  font-weight: 600;
  text-align: left;
}

@media (max-width: 900px) {
  .goods-page .goods-content-media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .goods-page .goods-content-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* パネル内の共同開発ブロック：外枠の二重化をやめる */
.goods-page .goods-partner-block--in-panel {
  background: transparent;
  margin: 22px 0 0;
  padding: 22px 0 0;
  border-radius: 0;
  border-top: 1px solid rgba(74, 60, 42, 0.12);
}

/* goods-partner / おすすめグッズ：同じ水色パネル */
.goods-page .goods-partner-block {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
  border-radius: 10px;
  background: #f0f8ff;
  box-sizing: border-box;
}

.goods-page .goods-partner-lead {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--color-text);
}

.goods-page .goods-partner-heading {
  margin: 0 0 12px;
  padding: 0;
  border: none;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  color: var(--color-text);
}

.goods-page .goods-partner-body {
  margin: 0 auto;
  max-width: 52em;
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
  text-align: left;
}

.goods-page .goods-tile-grid--in-partner {
  margin: 22px auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
}

@media (max-width: 900px) {
  .goods-page .goods-tile-grid--in-partner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .goods-page .goods-tile-grid--in-partner {
    grid-template-columns: 1fr;
  }
}

.goods-page .goods-events-list {
  margin: 16px 0 0;
  padding-left: 1.35em;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--color-text);
  text-align: left;
}

.goods-page .goods-events-list li {
  margin: 0.45em 0;
}

.goods-page .goods-events-cta {
  margin: 22px 0 0;
  text-align: center;
}

/* 共同開発パートナー：ロゴ等を小さく横並び */
.goods-page .goods-partner-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 3vw, 24px);
  margin-top: 18px;
}

.goods-page .goods-partner-images a {
  display: block;
  flex: 0 1 auto;
  max-width: min(200px, 46vw);
  line-height: 0;
}

.goods-page .goods-partner-images img {
  width: 100%;
  max-height: 120px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  vertical-align: middle;
}

/* 受賞ライン：赤い角丸枠＋金色文字 */
.goods-page .goods-award-highlight {
  display: inline-block;
  margin: 14px auto 10px;
  padding: 12px 22px;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #c9a020;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45),
    0 -1px 0 rgba(0, 0, 0, 0.12);
  border: 3px solid #7f1d1d;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 248, 220, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
  box-sizing: border-box;
}

/* ==========================================================================
   Product card (goods.html など)
   ========================================================================== */
.product-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--color-shadow-hover);
}

.product-card .product-image {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover .product-image {
  transform: scale(1.02);
  box-shadow: 0 8px 24px var(--color-shadow-hover);
}

/* goods ページ：商品写真の最大幅（はみ出し・巨大化を防止） */
.goods-page .product-card .product-image {
  display: block;
  width: auto;
  max-width: min(100%, 400px);
  height: auto;
  margin: 10px auto;
  object-fit: contain;
}

.goods-page .product-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin: 12px auto 0;
  align-items: start;
  justify-items: center;
}

.goods-page .product-image-grid .product-image {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.goods-page .product-image-figure {
  margin: 0;
  width: 100%;
}

.goods-page .product-image-caption {
  margin-top: 6px;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: var(--color-text-light);
}

.goods-page .product-image-grid--quad {
  max-width: 560px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 480px) {
  .goods-page .product-image-grid:not(.product-image-grid--quad) {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .goods-page .product-image-grid--quad {
    max-width: 100%;
    gap: 8px;
  }
}

.product-link {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.product-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--color-btn-shadow);
}

/* ==========================================================================
   Form (enquiry)
   ========================================================================== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s;
  outline: none;
}

.form-control:focus {
  border-color: var(--color-accent);
  background: var(--color-white);
}

textarea.form-control {
  min-height: 160px;
  resize: vertical;
}

/* ==========================================================================
   Top Page: Hitokotosha-style (hero + sticky header + sections)
   ========================================================================== */
.page-top {
  background: var(--color-bg);
}

.page-top .font-size-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}

/* Global Header: 固定・最初から白背景（トップ・下層共通） */
.global-header {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-page-bg);
  box-shadow: 0 2px 20px var(--color-shadow);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.global-header.is-scrolled {
  background: var(--color-page-bg);
  box-shadow: 0 2px 20px var(--color-shadow);
}

.page-top .font-size-bar ~ .global-header {
  top: 40px;
}

.global-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  position: relative;
}

.global-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s;
}

.global-logo:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* グローバルヘッダー：横並びメイン＋サブメニュー */
.global-nav-mobile-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 12px;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(27, 77, 62, 0.22);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.global-nav-mobile-toggle:hover {
  border-color: rgba(27, 77, 62, 0.4);
  color: var(--color-accent);
}

.global-nav-mobile-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.global-nav-mobile-toggle__bars {
  position: relative;
  width: 18px;
  height: 14px;
  flex-shrink: 0;
}

.global-nav-mobile-toggle__bars::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
  transition: transform 0.2s ease, box-shadow 0.2s ease, top 0.2s ease;
}

.global-nav-mobile-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  opacity: 0;
  transform: rotate(0deg);
  transition: opacity 0.15s ease, transform 0.2s ease;
}

.global-header.is-open .global-nav-mobile-toggle__bars::before {
  top: 6px;
  box-shadow: none;
  transform: rotate(45deg);
}

.global-header.is-open .global-nav-mobile-toggle__bars::after {
  opacity: 1;
  transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {

  .global-nav-mobile-toggle__bars::before,
  .global-nav-mobile-toggle__bars::after {
    transition: none;
  }
}

.global-nav-mobile-toggle__label {
  white-space: nowrap;
}

.global-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 2px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-sub);
}

.global-nav-item {
  position: relative;
  margin: 0;
  padding: 0;
}

.global-nav-link,
.global-nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--color-text);
  text-decoration: none;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}

.global-nav-link:hover,
.global-nav-trigger:hover {
  color: var(--color-accent);
  background: rgba(27, 77, 62, 0.06);
}

.global-nav-link:focus-visible,
.global-nav-trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.global-nav-item--has-sub .global-nav-trigger::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.65;
  vertical-align: middle;
  transform-origin: 50% 40%;
  transition: transform 0.2s ease;
}

.global-nav-item--open > .global-nav-trigger::after {
  transform: rotate(180deg);
}

.global-nav-submenu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  max-width: min(92vw, 320px);
  padding: 8px 0;
  margin: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(27, 77, 62, 0.14);
  z-index: 1002;
  box-sizing: border-box;
}

.global-nav-submenu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  word-break: keep-all;
}

.global-nav-submenu a:hover {
  background: rgba(27, 77, 62, 0.08);
  color: var(--color-accent);
}

.global-nav-submenu a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

.global-nav-submenu__external::after {
  content: " ↗";
  font-size: 0.85em;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .global-nav-mobile-toggle {
    display: inline-flex;
  }

  .global-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 0 14px;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 12px 28px rgba(27, 77, 62, 0.12);
    max-height: min(72vh, 520px);
    overflow-y: auto;
    z-index: 1001;
  }

  .global-header.is-open .global-nav {
    display: flex;
  }

  .global-nav-item {
    border-bottom: 1px solid rgba(27, 77, 62, 0.08);
  }

  .global-nav-item:last-child {
    border-bottom: none;
  }

  .global-nav-link,
  .global-nav-trigger {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 0;
    font-size: 0.85rem;
    white-space: normal;
  }

  .global-nav-submenu {
    position: static;
    transform: none;
    left: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0 0 8px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: rgba(27, 77, 62, 0.04);
  }

  .global-nav-submenu a {
    padding: 12px 22px 12px 28px;
    font-size: 0.82rem;
  }
}

/* 旧ハンバーガー（削除済みHTML向けに無効化） */
.global-nav-toggle {
  display: none !important;
}

/* Hero: 大きな画像の上にテキスト */
.hero {
  position: relative;
  --hero-text-offset-y: clamp(20px, 4vh, 42px);
  /* ヒーローの最大拡大（縦方向）を制御 */
  height: clamp(420px, 68vh, 760px);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* 上下同じ余白＝画像エリアの縦方向の中心にコピーが乗る */
  padding: clamp(56px, 7vh, 84px) 24px;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 人物を左側かつ下詰めで固定 */
  object-position: 22% 88%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* ヒーロー画像は通常の明るさで表示（オーバーレイなし） */
  background: transparent;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* コピーとジャンプボタンを同じ幅の列にし、横方向のセンターを揃える */
.hero-copy-group {
  margin-left: auto;
  margin-right: 0;
  max-width: min(560px, 46vw);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 文字ブロックを下げて、人物の顎ラインと文字中心の水平を合わせやすくする */
  transform: translateY(var(--hero-text-offset-y));
}

@media (min-width: 1200px) {
  .hero {
    --hero-text-offset-y: clamp(28px, 3.8vw, 72px);
  }
}

@media (min-width: 1600px) {
  .hero {
    --hero-text-offset-y: clamp(36px, 3.2vw, 90px);
  }
}

@media (max-width: 900px) {
  .hero-bg img {
    object-position: 28% 100%;
  }

  .hero {
    --hero-text-offset-y: clamp(22px, 4.8vh, 46px);
  }

  .hero-copy-group {
    max-width: min(560px, 94vw);
  }
}

@media (max-width: 600px) {
  /* モバイルは画像の見える高さを増やし、文字の下に顔が来るようにする */
  .hero-bg img {
    /* 人物をさらに下側に配置して、文字との重なりを避ける */
    object-position: 30% 118%;
  }

  .hero {
    height: clamp(520px, 78vh, 860px);
    justify-content: flex-start;
    padding-top: clamp(72px, 11vh, 112px);
    padding-bottom: 64px;
    --hero-text-offset-y: 0px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-copy-group {
    transform: translateY(0);
  }

  /* モバイル時：キャッチ2行の間隔をなくす */
  .hero-copy .hero-sub-line {
    margin: 0;
    line-height: 1.05;
  }

  .hero-copy .hero-description {
    margin: 0;
    line-height: 1.15;
  }

  .hero-copy .hero-sub-line rt {
    line-height: 1;
  }
}

.hero-copy {
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
  text-align: center;
}

/* ジャンプボタンがあるときだけ、コピー下に余白 */
.hero-copy-group:has(.hero-jump) .hero-copy {
  margin-bottom: 40px;
}

/* ヒーローコピー：白文字・影なし */
.hero-copy .hero-main-line,
.hero-copy .hero-sub-line,
.hero-copy .hero-description {
  color: #ffffff;
  text-shadow: none;
}

.hero-copy rt {
  text-shadow: none;
}

/* ヒーローコピー：全体的にやや小さめ */
.hero-copy .hero-main-line:not(.hero-main-line--name) {
  font-size: clamp(3rem, 6vw, 4.5rem);
  text-indent: 0.28em;
}

.hero-copy .hero-main-line--name {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  text-indent: 0.24em;
  /* 肩書き行との行間を詰める */
  margin-top: 0;
  line-height: 1.3;
}

.hero-copy .hero-sub-line {
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  text-indent: 0.18em;
  margin-bottom: clamp(70px, 4vw, 80px);
}

.hero-copy .hero-description {
  font-size: var(--hero-description-font-size);
  margin-bottom: 1px;
}

.hero-main-line {
  font-family: var(--font-hero-yu);
  font-weight: 500;
  font-size: clamp(5rem, 9vw, 6.4rem);
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(-50px);
  animation: heroMainIn 1.2s ease-out 0.15s forwards;
}

/* 「防災」と同じ書体・サイズの2行目（名前など） */
.hero-main-line--name {
  margin-top: 4px;
  margin-bottom: 22px;
  line-height: 1.55;
  animation-delay: 1.15s;
  /* 「防災」行より少し小さく（同じ書体のまま） */
  font-size: clamp(3rem, 7vw, 4.8rem);
  letter-spacing: 0.24em;
  text-indent: 0.24em;
}

/* 名前のルビ：親文字の下段・読みやすい大きさ */
.hero-main-line--name ruby {
  ruby-position: under;
  ruby-align: center;
}

.hero-main-line--name rt {
  font-size: 0.34em;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: none;
}

@supports (-webkit-ruby-position: after) {
  .hero-main-line--name ruby {
    -webkit-ruby-position: after;
  }
}

.hero-sub-line {
  font-family: var(--font-hero-yu);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  opacity: 0;
  transform: translateY(-40px);
  animation: heroSubIn 0.9s ease-out 0.95s forwards;
}

.hero-copy .hero-sub-line rt {
  color: rgba(255, 255, 255, 0.95);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-white);
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(22, 22, 22, 0.35);
}

.hero-description {
  font-family: var(--font-hero-yu);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

.hero-catch {
  font-family: var(--font-sub);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.08em;
  line-height: 1.8;
}

/* ヒーロー下：丸い緑枠のジャンプボタン（.hero-copy-group 内で上の文字列と同じ中央軸に） */
.hero-jump {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 48px;
  /* ヒーローのコピー位置はそのまま、ボタンだけを下に配置 */
  margin-top: 120px;
  margin-bottom: 32px;
  padding: 0;
  width: 100%;
  max-width: 420px;
  z-index: 2;
  opacity: 0;
  transform: translateY(60px);
  animation: heroJumpIn 0.9s ease-out 1.6s forwards;
}

@keyframes heroMainIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSubIn {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroJumpIn {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-jump a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  padding: 12px;
  color: var(--color-white);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-decoration: none;
  border-radius: 50%;
  background: var(--color-accent);
  border: 2px solid var(--color-accent);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.35s ease;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 4px 16px var(--color-btn-shadow);
}

.hero-jump a:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-white);
  text-decoration: none;
  transform: scale(1.05);
  box-shadow: 0 12px 32px var(--color-shadow-hover);
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  z-index: 2;
}

/* Sections common: 白（#ffffff）と薄いオレンジの交互 */
.section {
  padding: 72px 20px;
  background: #ffffff;
}

.section:nth-child(even) {
  background: var(--color-bg);
}

/* メッセージ：やわらかなトーン（背景・カード・タイポ） */
.section.section-message {
  background: linear-gradient(168deg, #fffefc 0%, #fff7f1 38%, #fffcf9 72%, #fff8f4 100%);
  padding: 80px 20px 90px;
}

.section-message .section-heading {
  border-bottom-color: rgba(27, 77, 62, 0.22);
  margin-bottom: 28px;
}

.section-message .section-heading .section-title {
  font-weight: 500;
  color: #4e4c4a;
}

.section-message .section-heading .section-title-en {
  color: rgba(100, 95, 90, 0.75);
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* セクション見出し：左に日本語（大）、右に英語（現サイズ） */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--color-accent);
}

.section-heading .section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-text);
  margin: 0;
  padding: 0;
  border: none;
}

.section-heading .section-title-en {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin: 0;
  flex-shrink: 0;
}

/* ラッパーなしの従来形（後方互換） */
.section-title-en {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-text);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--color-accent);
}

.section-lead {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 32px;
}

.section-typing .typing-catch {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-cta {
  text-align: center;
  margin-top: 32px;
}

/* メッセージ同様レイアウト：ライン下に写真左・テキスト右 */
.section-content-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 0;
}

.section-content-block .section-photo {
  position: sticky;
  top: 100px;
}

.section-content-block .section-photo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px var(--color-shadow);
  display: block;
  transition: opacity 0.85s ease-out, filter 0.85s ease-out, transform 0.3s ease, box-shadow 0.3s ease;
}

.section-content-block .section-photo:not(.img-visible) img {
  opacity: 0.78;
  filter: brightness(1.4) saturate(0.7);
}

.section-content-block .section-photo.img-visible img {
  opacity: 1;
  filter: none;
}

.section-content-block .section-photo:hover img {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px var(--color-shadow-hover);
}

.section-content-block .section-body .section-lead {
  margin-bottom: 1.2em;
}

.section-content-block .section-cta {
  text-align: left;
  margin-top: 24px;
}

.section-contact .section-content-block .section-body .contact-actions {
  margin-top: 24px;
}

/* Message section */
.section-message .message-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 28px 38px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(235, 215, 200, 0.5);
  box-shadow:
    0 4px 32px rgba(140, 100, 80, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.section-message .message-text {
  font-size: 1.02rem;
  color: #5c5855;
  letter-spacing: 0.03em;
  text-align: center;
}

.section-message .message-photo {
  position: sticky;
  top: 100px;
}

.section-message .message-photo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px var(--color-shadow);
  transition: opacity 0.85s ease-out, filter 0.85s ease-out, transform 0.3s ease, box-shadow 0.3s ease;
}

/* 画像：現れた時は白っぽく、見え始めたらはっきり映す */
.section-message .message-photo:not(.img-visible) img {
  opacity: 0.78;
  filter: brightness(1.4) saturate(0.7);
}

.section-message .message-photo.img-visible img {
  opacity: 1;
  filter: none;
}

.section-message .message-photo:hover img {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px var(--color-shadow-hover);
}

.section-message .message-text p {
  margin-bottom: 0.45em;
  line-height: 1;
}

.section-message .message-text .text-accent {
  font-weight: 600;
  color: var(--color-sub);
}

/* 締めの一文：少し大きめ・行間広め */
.section-message .message-text p.message-text-lead {
  font-size: 1.14rem;
  line-height: 1.85;
  margin-bottom: 0.75em;
}

.section-message .message-text p.message-text-lead .text-accent {
  font-size: inherit;
}

.section-message .message-text > img[alt="たね"] {
  display: block;
  margin: 1.3em auto 0.6em;
  max-width: min(450px, 100%);
  opacity: 0.94;
  filter: drop-shadow(0 4px 12px rgba(120, 90, 70, 0.08));
}

.message-photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 1.2em 0 0.4em;
  max-width: 100%;
}

.section-message .message-photo-pair {
  gap: 16px;
  margin: 1.5em 0 1em;
}

/* 横長枠に合わせてクロップ（元画像の縦横比は維持＝cover） */
.message-photo-pair__crop {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 18px var(--color-shadow);
  background: var(--color-bg);
}

.section-message .message-photo-pair__crop {
  border-radius: 18px;
  box-shadow:
    0 10px 32px rgba(120, 85, 65, 0.09),
    0 2px 10px rgba(120, 85, 65, 0.05);
  background: rgba(255, 252, 248, 0.9);
}

.message-photo-pair__crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 560px) {
  .message-photo-pair {
    grid-template-columns: 1fr;
  }
}

.section-message .message-sign {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: 24px;
  text-align: right;
}

.section-message .message-cta {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.section-message .btn-story {
  border-radius: 999px;
  border-color: rgba(27, 77, 62, 0.38);
  box-shadow:
    0 8px 26px rgba(120, 85, 65, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.section-message .btn-story::after {
  opacity: 0.65;
}

/* Message CTA: premium outline button */
.btn-story {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 243, 0.92));
  color: var(--color-accent);
  border-color: rgba(27, 77, 62, 0.55);
  box-shadow:
    0 10px 30px rgba(27, 77, 62, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  position: relative;
}

.btn-story::after {
  content: "→";
  margin-left: 10px;
  opacity: 0.85;
}

.btn-story:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 248, 243, 1));
  border-color: rgba(27, 77, 62, 0.8);
  color: var(--color-accent-hover);
  box-shadow:
    0 16px 44px rgba(27, 77, 62, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@media (max-width: 600px) {
  .section.section-message {
    padding: 64px 16px 72px;
  }

  .section-message .message-content {
    padding: 22px 18px 28px;
    border-radius: 18px;
  }

  .section-message .message-cta {
    justify-content: center;
  }
  .btn-story {
    width: 100%;
    max-width: 420px;
    text-align: center;
  }
}

/* ==========================================================================
   Anshin page: top hero image size
   ========================================================================== */
.anshin-hero-photo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.anshin-hero-photo img {
  width: 100%;
  max-width: 360px;
  border-radius: 12px;
  box-shadow: 0 10px 34px var(--color-shadow);
}

@media (max-width: 600px) {
  .anshin-hero-photo img {
    max-width: 100%;
  }
}

/* ==========================================================================
   Anshin page: align with index card style
   ========================================================================== */
.anshin-page .anshin-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 22px 22px 24px;
  margin-bottom: 22px;
  box-shadow: 0 8px 28px var(--color-shadow);
}

.anshin-page .anshin-card p {
  margin-bottom: 12px;
}

.anshin-page .anshin-card-title {
  font-family: var(--font-sub);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent);
}

.anshin-page .anshin-intro-heading {
  font-family: var(--font-sub);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent);
}

.anshin-page .anshin-intro-main-image {
  width: 100%;
  max-height: 340px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 18px var(--color-shadow);
  margin-bottom: 14px;
}

.anshin-page .anshin-intro-flow {
  display: block;
  margin-bottom: 14px;
}

.anshin-page .anshin-intro-text::after {
  content: "";
  display: block;
  clear: both;
}

.anshin-page .anshin-intro-text + .anshin-intro-text {
  margin-top: 12px;
}

.anshin-page .anshin-intro-para {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-align: justify;
  text-justify: inter-ideograph;
}

.anshin-page .anshin-intro-para:last-child {
  margin-bottom: 0;
}

.anshin-page .anshin-intro-para--emphasis {
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.anshin-page .anshin-intro-para--closing {
  font-weight: 600;
  color: var(--color-text);
}

.anshin-page .anshin-intro-float {
  width: min(42%, 260px);
  max-width: 260px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 18px var(--color-shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  margin-bottom: 8px;
}

.anshin-page .anshin-intro-float--left {
  float: left;
  margin-right: 16px;
}

.anshin-page .anshin-intro-float--right {
  float: right;
  margin-left: 16px;
}

.anshin-page .anshin-lightbox-trigger {
  cursor: zoom-in;
}

.anshin-page .anshin-lightbox-trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.anshin-page .anshin-intro-text p:last-child {
  margin-bottom: 0;
}

.anshin-page .anshin-thumb-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 18px;
}

.anshin-page .anshin-thumb-row img {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 14px var(--color-shadow);
  border: 1px solid var(--color-border);
}

.anshin-page .anshin-thumb-row--gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.anshin-page .anshin-thumb-row--gallery img {
  max-height: 90px;
  cursor: zoom-in;
}

/* 施設説明：画像2枚＋本文（真面目なトーン） */
.anshin-page .anshin-facility-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.anshin-page .anshin-facility-images img {
  width: 100%;
  height: 230px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.anshin-page .anshin-facility-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-align: justify;
  text-justify: inter-ideograph;
}

.anshin-page .anshin-facility-body .anshin-facility-text {
  margin-bottom: 14px;
}

.anshin-page .anshin-facility-body .anshin-facility-text:last-child {
  margin-bottom: 0;
}

.anshin-page .anshin-facility-text--emphasis {
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.anshin-page .anshin-facility-text--note {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-text-light);
  text-align: left;
}

.anshin-page .anshin-facility-text--closing {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.anshin-page .anshin-nagomi-examples {
  margin: 0 0 14px;
  padding-left: 1.35em;
  list-style: disc;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text);
}

.anshin-page .anshin-nagomi-examples li:last-child {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .anshin-page .anshin-facility-images {
    grid-template-columns: 1fr;
  }
}

.anshin-page .anshin-subhead {
  font-family: var(--font-sub);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.anshin-page .anshin-list {
  padding-left: 1.2em;
}

.anshin-page .anshin-list li {
  margin-bottom: 10px;
}

.anshin-page .anshin-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.anshin-page .anshin-image-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px var(--color-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.anshin-page .anshin-image-grid img:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 28px var(--color-shadow-hover);
}

@media (max-width: 600px) {
  .anshin-page .anshin-card {
    padding: 18px 16px 20px;
  }
  .anshin-page .anshin-image-grid {
    grid-template-columns: 1fr;
  }

  .anshin-page .anshin-intro-float,
  .anshin-page .anshin-intro-float--left,
  .anshin-page .anshin-intro-float--right {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 10px;
  }

  .anshin-page .anshin-thumb-row {
    gap: 8px;
    margin: 12px 0 14px;
  }

  .anshin-page .anshin-thumb-row img {
    max-height: 96px;
    border-radius: 8px;
  }

  .anshin-page .anshin-thumb-row--gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* YouTube section */
.youtube-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.youtube-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 28px var(--color-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.youtube-embed:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--color-shadow-hover);
}

.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.youtube-caption {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
  line-height: 1.75;
}

.youtube-caption + .youtube-caption {
  margin-top: 12px;
}

.youtube-caption:last-of-type {
  margin-bottom: 20px;
}

.youtube-caption--tv {
  font-weight: 600;
  color: var(--color-text);
}

.youtube-caption--media {
  font-size: 0.88rem;
}

/* 防災術：2カラム内は講演・企画などと同じく左基準 */
.section-youtube .section-body .bousai-links {
  justify-content: flex-start;
}

.bousai-links {
  margin-top: 8px;
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  justify-content: center;
}

.bousai-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bousai-links .btn {
  min-width: 210px;
}

.bousai-link-caption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.7;
  max-width: 100%;
}

@media (max-width: 600px) {
  .bousai-links {
    flex-direction: column;
    align-items: center;
  }

  .bousai-link-item {
    width: 100%;
    max-width: 420px;
  }

  .bousai-links .btn {
    width: 100%;
    min-width: 0;
  }
}

/* Activities grid */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.activity-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--color-shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section-activities:nth-child(even) .activity-card {
  background: var(--color-white);
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px var(--color-shadow-hover);
}

.activity-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.activity-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-card:hover .activity-card-img img {
  transform: scale(1.08);
}

.activity-card h3 {
  font-family: var(--font-sub);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 18px 8px;
  color: var(--color-text);
}

.activity-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.7;
  padding: 0 18px 20px;
}

/* 活動サブセクション（ジャンプ先） */
.activity-subsection {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}

.activity-subsection:last-of-type {
  border-bottom: none;
  margin-bottom: 24px;
}

.activity-subsection-title {
  font-family: var(--font-sub);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent);
}

.activity-subsection-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.activity-subsection-body > div:first-child.activity-subsection-photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px var(--color-shadow);
}

.activity-subsection-photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.85s ease-out, filter 0.85s ease-out, transform 0.4s ease;
}

.activity-subsection-photo:not(.img-visible) img {
  opacity: 0.78;
  filter: brightness(1.4) saturate(0.7);
}

.activity-subsection-photo.img-visible img {
  opacity: 1;
  filter: none;
}

.activity-subsection:hover .activity-subsection-photo img {
  transform: scale(1.03);
}

.activity-subsection-body p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 1em;
}

.activity-subsection-body--no-photo {
  grid-template-columns: 1fr;
}

.activity-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 24px;
  margin-top: 1.5em;
  margin-bottom: 0;
}

.activity-buttons .btn {
  min-width: 230px;
  padding: 16px 32px;
  font-size: 1rem;
  white-space: nowrap;
}

.schedule-sub-title {
  font-family: var(--font-sub);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.schedule-activities {
  margin-top: 32px;
}

/* Works gallery */
.works-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.works-photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.works-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.works-photo:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px var(--color-shadow-hover);
}

.works-photo:hover img {
  transform: scale(1.06);
}

/* ギャラリー画像：クリックで拡大（button.works-photo） */
button.works-photo {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  display: block;
  width: 100%;
  text-align: inherit;
}

button.works-photo:focus-visible {
  outline: 3px solid var(--color-accent, #c9a020);
  outline-offset: 4px;
}

/* Works / goods：画像ライトボックス */
.works-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  box-sizing: border-box;
  background: rgba(20, 18, 14, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.works-image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.works-image-lightbox__frame {
  position: relative;
  margin: 0;
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.works-image-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.works-image-lightbox__close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--color-accent, #c9a020);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.works-image-lightbox__close:hover {
  background: var(--color-accent-hover, #a68518);
  transform: scale(1.05);
}

.works-image-lightbox__close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .works-image-lightbox__close {
    top: 8px;
    right: 8px;
  }
}

body.works-lightbox-open {
  overflow: hidden;
}

/* Profile section */
.profile-block {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.profile-photo {
  transition: transform 0.4s ease;
}

.profile-photo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px var(--color-shadow);
  transition: opacity 0.85s ease-out, filter 0.85s ease-out, transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo:not(.img-visible) img {
  opacity: 0.78;
  filter: brightness(1.4) saturate(0.7);
}

.profile-photo.img-visible img {
  opacity: 1;
  filter: none;
}

.profile-photo:hover img {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--color-shadow-hover);
}

.profile-role {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.profile-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
}

.profile-name span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.profile-body p {
  margin-bottom: 1em;
  line-height: 1.9;
}

.profile-body .btn {
  margin-top: 8px;
}

/* Schedule section */
.schedule-content {
  max-width: 640px;
}

.schedule-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 28px;
}

.schedule-photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.schedule-photos img:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 28px var(--color-shadow-hover);
}

/* Contact section */
.contact-actions {
  text-align: center;
  margin: 24px 0 16px;
}

.btn-large {
  padding: 20px 52px;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  border-width: 2px;
  box-shadow: 0 6px 20px var(--color-btn-shadow);
}

.btn-large:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 16px 40px var(--color-shadow-hover);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  padding: 16px 40px;
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, background 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
  text-decoration: none;
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 32px var(--color-shadow-hover);
}

.contact-note {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Section News (top page) */
.section-news {
  background: var(--color-white);
}

.section-news .news-list {
  max-width: 640px;
  margin: 0 auto;
}

.page-top .site-footer {
  background: var(--color-bg);
}

/* Scroll margin for anchor jump (header + font-size bar) */
.page-top [id] {
  scroll-margin-top: 100px;
}

/* ==========================================================================
   Scroll Reveal: スクロールで浮き上がるアニメーション
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-delay-1 { transition-delay: 0.1s; }
.scroll-reveal-delay-2 { transition-delay: 0.2s; }
.scroll-reveal-delay-3 { transition-delay: 0.3s; }
.scroll-reveal-delay-4 { transition-delay: 0.4s; }

.scroll-reveal-scale {
  opacity: 0;
  transform: scale(0.96) translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ==========================================================================
   Sub-pages: トップページと同じデザイン（ヘッダー・セクション風・配色）
   ========================================================================== */
body.sub-page {
  background: var(--color-page-bg);
}

.sub-page .font-size-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--color-page-bg);
}

/* 下層ページも .global-header の共通スタイルをそのまま利用 */

.sub-page .container {
  max-width: 900px;
  margin: 0 auto;
  /* 文字サイズバー + メインヘッダー + ページ内ナビぶん（ナビの高さは可変のため余裕あり） */
  padding: 172px 24px 60px;
  min-height: 100vh;
  background: transparent;
  box-shadow: none;
}

.sub-page .site-header {
  padding: 40px 0 32px;
  margin-bottom: 0;
  border-bottom: none;
  text-align: left;
}

.sub-page .site-header::after {
  display: none;
}

.sub-page .site-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.sub-page .site-title a {
  color: var(--color-text);
}

.sub-page .site-title a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.sub-page .site-description {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
}

/* 下層：ドロップダウンが .sub-page-local-nav より手前に来るよう、ヘッダー全体の積層を一段上げる
   （サブメニューは header 内のため、header が 1000 のままだと local-nav 1001 に負ける） */
.sub-page .global-header {
  z-index: 1002;
}

/* サブページ：ヘッダー直下「このページ内」メニュー（トップのセクション一覧ではない）
   ※ top は実測より余裕を持たせてヘッダー帯の下に置く */
.sub-page .sub-page-local-nav {
  position: fixed;
  top: calc(40px + 58px);
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px 4px;
  margin: 0;
  padding: 8px 16px 10px;
  font-family: var(--font-sub);
  background: rgba(250, 248, 245, 0.96);
  border-bottom: 1px solid rgba(27, 77, 62, 0.08);
  box-shadow: none;
  box-sizing: border-box;
}

.sub-page .global-header.is-open ~ .sub-page-local-nav {
  visibility: hidden;
  pointer-events: none;
}

.sub-page .sub-page-local-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--color-text);
  text-decoration: none;
  border: none;
  border-radius: 6px;
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
}

.sub-page .sub-page-local-nav a:hover {
  color: var(--color-accent);
  background: rgba(27, 77, 62, 0.06);
}

.sub-page .sub-page-local-nav a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* スマホ：横スクロールせず、画面幅に収まるグリッド（折り返し） */
@media (max-width: 700px) {
  .sub-page .sub-page-local-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 6px;
    justify-content: stretch;
    align-items: stretch;
    padding: 8px max(12px, env(safe-area-inset-left)) 10px max(12px, env(safe-area-inset-right));
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: visible;
    box-sizing: border-box;
  }

  /* リンクが奇数個のとき最後の1つを全幅に（バランス用） */
  .sub-page .sub-page-local-nav a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .sub-page .sub-page-local-nav a {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-align: center;
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    padding: 8px 8px;
    line-height: 1.3;
    min-height: 44px;
    border: none;
    background: transparent;
  }
}

/* 狭い画面は1列で確実に収める */
@media (max-width: 380px) {
  .sub-page .sub-page-local-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .sub-page .sub-page-local-nav a:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

.sub-page [id] {
  scroll-margin-top: 165px;
}

.sub-page .sub-page-content {
  padding: 32px 0 48px;
  border-top: 1px solid var(--color-border);
}

.sub-page .sub-page-content h2:first-child {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text);
  border-bottom: 3px solid var(--color-accent);
  padding-bottom: 12px;
  margin-bottom: 24px;
  margin-top: 0;
}

/* movie.html：セクション見出しの強調 */
.sub-page .movie-section-title--emphasis {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin: 3rem 0 1.35rem;
  padding: 1rem 1.25rem 1rem 1.15rem;
  background: linear-gradient(105deg, rgba(27, 77, 62, 0.1) 0%, rgba(201, 160, 32, 0.12) 100%);
  border-left: 5px solid var(--color-accent);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 4px 18px rgba(27, 77, 62, 0.08);
}

/* movie.html：index のセクション幅（.section-inner 相当）と動画グリッド（1行最大3件） */
.sub-page.movie-page .movie-page-section {
  margin: 0;
  padding: 48px 0 0;
  border-top: 1px solid var(--color-border);
  background: transparent;
}

.sub-page.movie-page .movie-page-section-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.sub-page.movie-page .movie-page-section .movie-section-title--emphasis {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.sub-page.movie-page .movie-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.sub-page.movie-page .movie-video-grid > * {
  min-width: 0;
}

@media (min-width: 640px) {
  .sub-page.movie-page .movie-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (min-width: 900px) {
  .sub-page.movie-page .movie-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
}

.sub-page.movie-page .movie-video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 28px var(--color-shadow);
  background: #0a0a0a;
}

.sub-page.movie-page .movie-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sub-page .site-footer {
  padding: 40px 20px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-content-block {
    grid-template-columns: 1fr;
  }

  .section-content-block .section-photo {
    position: static;
    max-width: 320px;
    margin: 0 auto 24px;
  }

  .section-content-block .section-cta {
    text-align: center;
  }

  .section-contact .section-content-block .section-body .contact-actions {
    text-align: center;
  }

  .profile-block {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .site-title {
    font-size: 2rem;
  }

  .container {
    padding: 0 14px 40px;
  }

  .content-body {
    padding: 22px 18px 24px;
  }

  .icon-nav {
    gap: 20px;
  }

  .icon-nav-icon {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .reading-page h1 {
    font-size: 1.4rem;
  }

  /* トップヒーロー：スマホでもPC同様に画像の上に文字を重ねるため、モバイル特有の分離レイアウトを削除 */
  /* .hero, .hero-content, .hero-bg, .hero-scroll等の再定義をなくす */
  
  .hero-bg img {
    object-position: left bottom;
  }

  .hero-title {
    letter-spacing: 0.12em;
  }

  .hero-jump {
    gap: 28px 32px;
    margin-top: 40px;
    max-width: 360px;
  }

  .hero-jump a {
    width: 104px;
    height: 104px;
    padding: 12px;
    font-size: 20px;
  }

  .activity-subsection-body {
    grid-template-columns: 1fr;
  }

  .activity-subsection-photo {
    max-width: 320px;
    margin: 0 auto;
  }

  .section {
    padding: 48px 16px;
  }

  .section-title,
  .section-heading .section-title {
    font-size: 1.6rem;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }

  .schedule-photos {
    grid-template-columns: 1fr;
  }

  .profile-body .btn {
    display: block;
    margin: 8px 0 0;
  }

  .profile-body .btn-outline {
    margin-left: 0;
  }

  .sub-page .container {
    padding-top: 162px;
    padding-left: 16px;
    padding-right: 16px;
  }
}