@charset "UTF-8";

/* ==========================================================================
   記録映画保存センター 公式サイト リニューアル共通CSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. デザインシステム・変数定義
   -------------------------------------------------------------------------- */
:root {
  /* カラーパレット */
  --color-primary: #1a365d;       /* 信頼感のある藍色・群青（ヘッダー、見出し、主要ボタン） */
  --color-primary-light: #2b6cb0; /* プライマリのホバー用・少し明るい青 */
  --color-accent: #c53030;        /* フィルムや朱印を想起させるアクセントカラー（深朱・赤） */
  --color-accent-light: #e53e3e;  /* アクセントのホバー用 */
  --color-text-dark: #2d3748;     /* 本文：視認性の高いダークグレー */
  --color-text-muted: #718096;    /* 補足テキスト：ミディアムグレー */
  --color-bg-white: #ffffff;      /* メイン背景：白 */
  --color-bg-light: #f7fafc;      /* セクション背景：ごく薄いグレー */
  --color-border: #e2e8f0;        /* 境界線・グリッド線 */
  --color-focus: #3182ce;         /* フォーカスリング色 */

  /* タイポグラフィ */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --font-serif: "Noto Serif JP", "BIZ UDPMincho", "Hiragino Mincho ProN", "MS Mincho", serif;

  /* レイアウト・余白 */
  --container-max-width: 1200px;
  --header-height: 80px;
  --header-height-mobile: 60px;
  --transition-speed: 0.3s;
  --border-radius: 4px;
  --scroll-offset: calc(var(--header-height) + 60px);
}

/* --------------------------------------------------------------------------
   2. リセット & ベーススタイル
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px; /* Offset for sticky header */
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button {
  cursor: pointer;
}

/* アクセシビリティ：フォーカス時の明示 */
*:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   3. 共通レイアウト & コンポーネント
   -------------------------------------------------------------------------- */
.l-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}

/* ボタン */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-weight: 700;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  transition: all var(--transition-speed) ease;
  text-decoration: none !important;
}

.c-btn--large {
  padding: 16px 48px;
  font-size: 1.15rem;
}

.c-btn--primary {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
}

.c-btn--primary:hover {
  background-color: var(--color-primary-light);
  color: var(--color-bg-white);
}

.p-home-intro .c-btn--primary {
  background: linear-gradient(135deg, #2b6cb0 0%, #1a365d 100%);
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
}

.p-home-intro .c-btn--primary:hover {
  background: linear-gradient(135deg, #3182ce 0%, #22467b 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.p-home-preservation .c-btn--primary {
  background: linear-gradient(135deg, #8c6239 0%, #5d4037 100%);
  border: none;
  box-shadow: 0 2px 5px rgba(140, 98, 57, 0.15);
  transition: all var(--transition-speed) ease;
}

.p-home-preservation .c-btn--primary:hover {
  background: linear-gradient(135deg, #a67c52 0%, #8c6239 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(140, 98, 57, 0.25);
}

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

.c-btn--accent:hover {
  background-color: var(--color-accent-light);
  color: var(--color-bg-white);
}

.c-btn--outline {
  border-width: 2px;
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: transparent;
}

.c-btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
}

.c-btn--green {
  background-color: #2f855a;
  color: var(--color-bg-white);
}

.c-btn--green:hover {
  background-color: #276749;
  color: var(--color-bg-white);
}

.c-btn--brown {
  background-color: #5d4037;
  color: var(--color-bg-white);
}

.c-btn--brown:hover {
  background-color: #8d6e63;
  color: var(--color-bg-white);
}

.c-btn--gradient-brown {
  background: linear-gradient(135deg, #8d6e63, #5d4037);
  color: var(--color-bg-white) !important;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(93, 64, 55, 0.2);
}

.c-btn--gradient-brown:hover {
  background: linear-gradient(135deg, #a1887f, #6b4c40);
  color: var(--color-bg-white) !important;
  box-shadow: 0 6px 15px rgba(93, 64, 55, 0.3);
  transform: translateY(-1px);
}

.c-btn--orange {
  background-color: #ed8936;
  color: var(--color-bg-white);
}

.c-btn--orange:hover {
  background-color: #dd6b20;
  color: var(--color-bg-white);
}

/* セクションの見出し */
.c-section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 auto 40px;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.c-section-title__text {
  position: relative;
  padding-bottom: 8px;
  display: inline-block;
}

.c-section-title__text a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.c-section-title__text a::after {
  content: "↗";
  font-size: 0.6em;
  margin-left: 0.3em;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
  display: inline-block;
}

.c-section-title__text a:hover {
  color: var(--color-primary-light);
  text-decoration: none;
}

.c-section-title__text a:hover::after {
  color: var(--color-primary-light);
  transform: translate(2px, -2px);
}

.c-section-title__text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 1.5px; /* 左右の端を丸める */
}

.c-section-title__icon {
  height: 1.45em; /* Increased size for icon1 */
  width: auto;
  position: absolute;
  right: calc(100% + 16px);
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
}

.c-section-title__icon--large {
  height: 1.7em;
}




/* パンくずリスト */
.c-breadcrumbs {
  padding: 15px 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.c-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
}

.c-breadcrumbs li:not(:last-child)::after {
  content: ">";
  margin: 0 10px;
  color: var(--color-text-muted);
}

.c-breadcrumbs a {
  color: var(--color-text-muted);
}

.c-breadcrumbs a:hover {
  color: var(--color-primary);
}

/* セクションごとのパンくずリスト（迷子防止用・右上） */
.c-section-breadcrumb {
  text-align: right;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.c-section-breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.c-section-breadcrumb a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ページ見出し（下層ページ用） */
.c-page-header {
  background: linear-gradient(135deg, #2a528c 0%, #0f1f38 100%);
  color: var(--color-bg-white);
  padding: 115px 0;
  text-align: center;
}

.c-page-header__title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  margin-bottom: 10px;
  font-weight: 700;
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.7);
}

.c-page-header__subtitle {
  font-size: 1rem;
  opacity: 0.8;
  letter-spacing: 0.05em;
  text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.7);
}

/* --------------------------------------------------------------------------
   4. ヘッダー（ナビゲーション）
   -------------------------------------------------------------------------- */
.l-header {
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.l-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴエリア */
.l-header__logo {
  display: flex;
  align-items: center;
  font-family: var(--font-serif);
}

.l-header__logo-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  color: var(--color-primary);
  text-decoration: none !important;
}

.l-header__logo-link:hover {
  color: #802020;
}

.l-header__logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
}

.l-header__logo-text {
  display: flex;
  flex-direction: column;
}

.l-header__logo-main {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.l-header__logo-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  .l-header__logo-link {
    gap: 8px;
  }
  .l-header__logo-img {
    height: 30px;
  }
  .l-header__logo-main {
    font-size: 1.1rem;
  }
  .l-header__logo-sub {
    font-size: 0.65rem;
  }
}

/* PCナビゲーション */
.l-header__nav {
  height: 100%;
}

.l-header__nav-list {
  display: flex;
  height: 100%;
}

.l-header__nav-item {
  height: 100%;
}

.l-header__nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 15px;
  color: var(--color-text-dark);
  font-size: 0.95rem;
  font-weight: 700;
  position: relative;
  text-decoration: none !important;
}

.l-header__nav-link::after {
  content: "";
  position: absolute;
  bottom: 24px;
  left: 15px;
  right: 15px;
  height: 3px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--transition-speed) ease;
  border-radius: 1.5px; /* 左右の端を丸める */
}

.l-header__nav-link:hover {
  color: var(--color-primary);
}

.l-header__nav-link:hover::after,
.l-header__nav-link.is-active::after {
  transform: scaleX(1);
}

.l-header__nav-link.is-active {
  color: var(--color-primary);
}

@media (min-width: 992px) and (max-width: 1200px) {
  .l-header__nav-link {
    padding: 0 8px;
    font-size: 0.82rem;
  }
  .l-header__nav-link::after {
    left: 8px;
    right: 8px;
  }
}

/* ==========================================================================
   共通ドロップダウン（ボタン・矢印）定義
   ========================================================================== */
.l-header__dropdown-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  color: var(--color-text-dark);
  cursor: pointer;
  width: auto;
  text-align: center;
  padding: 0 15px;
}

.l-header__dropdown-arrow {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
  margin-top: -3px;
  transition: transform var(--transition-speed) ease;
}

/* 開いている時、またはPCでホバーしている時は矢印を上向きに回転 */
@media (min-width: 992px) {
  .l-header__nav-item--dropdown:hover .l-header__dropdown-arrow {
    transform: rotate(-135deg);
    margin-top: 3px;
  }
}
.l-header__nav-item--dropdown.is-active-dropdown .l-header__dropdown-arrow {
  transform: rotate(-135deg);
  margin-top: 3px;
}

/* PC用ドロップダウンメニュー */
@media (min-width: 992px) {
  .l-header__nav-item--dropdown {
    position: relative;
  }

  .l-header__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 320px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease, transform var(--transition-speed) ease;
    z-index: 1000;
  }

  /* ドロップダウン開状態 */
  .l-header__nav-item--dropdown:hover .l-header__dropdown-menu,
  .l-header__nav-item--dropdown.is-active-dropdown .l-header__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .l-header__dropdown-item {
    display: block;
  }

  .l-header__dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--color-text-dark);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
    text-align: left;
  }

  .l-header__dropdown-item[style*="padding-left"] > .l-header__dropdown-link {
    font-weight: 500;
  }

  .l-header__dropdown-link:hover,
  .l-header__dropdown-link:focus,
  .l-header__dropdown-link.is-active {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
  }
  
  .l-header__dropdown-link.is-active {
    font-weight: 700;
  }
}


/* スマホ用ハンバーガーボタン */
.l-header__hamburger {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
  padding: 0;
}

.l-header__hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  position: absolute;
  left: 10px;
  transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
}

.l-header__hamburger-bar:nth-child(1) { top: 15px; }
.l-header__hamburger-bar:nth-child(2) { top: 21px; }
.l-header__hamburger-bar:nth-child(3) { top: 27px; }

/* スマホメニュー開状態のバー変形 */
.l-header__hamburger.is-active .l-header__hamburger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.l-header__hamburger.is-active .l-header__hamburger-bar:nth-child(2) {
  opacity: 0;
}
.l-header__hamburger.is-active .l-header__hamburger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. フッター
   -------------------------------------------------------------------------- */
.l-footer {
  background-color: #1a202c; /* フッターは引き締まったダークグレー背景 */
  color: #e2e8f0;
  padding: 60px 0 20px;
  border-top: 4px solid var(--color-accent);
}

.l-footer__inner {
  text-align: center;
  margin-bottom: 20px;
}

/* フッター情報エリア */
.l-footer__info-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-bg-white);
  margin-bottom: 0;
}

.l-footer__logo-corp {
  font-size: 0.75em; /* 25% smaller than the main logo text */
  font-weight: 500;  /* Slightly lighter weight for styling contrast */
}


@media (max-width: 767px) {
  .l-footer__info-logo {
    font-size: 1.25rem;
  }
}

.l-footer__info-address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #a0aec0;
}

.l-footer__info-contact {
  margin-top: 15px;
  font-size: 0.9rem;
}

.l-footer__info-contact a {
  color: #e2e8f0;
  font-weight: 600;
}

/* フッターナビゲーション */
.l-footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.l-footer__nav-title {
  color: var(--color-bg-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #4a5568;
}

.l-footer__nav-link {
  color: #cbd5e0;
  font-size: 0.9rem;
  display: block;
  padding: 5px 0;
  text-decoration: none !important;
}

.l-footer__nav-link:hover {
  color: var(--color-bg-white);
}

/* コピーライト */
.l-footer__copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #718096;
  border-top: 1px solid #2d3748;
  padding-top: 20px;
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   6. トップページ個別スタイル (index.html)
   -------------------------------------------------------------------------- */
/* ヒーローエリア */
.p-home-hero {
  color: var(--color-bg-white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  background-color: #0c111d;
}

.p-home-hero__inner {
  position: relative;
  z-index: 10;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* 背景ループアニメーション */
.p-home-hero__slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.p-home-hero__slider-track {
  display: flex;
  height: 100%;
  width: max-content;
  animation: hero-scroll 80s linear infinite;
}

.p-home-hero__slider-track img {
  height: 100%;
  width: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes hero-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.p-home-hero__tagline {
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.p-home-hero__title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  line-height: 1.4;
  margin-bottom: 30px;
  font-weight: 700;
}

.p-home-hero__desc {
  font-size: 1.1rem;
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #ffffff;
  line-height: 1.8;
}


/* イントロダクション */
.p-home-intro {
  padding: 80px 0;
  background-color: var(--color-bg-white);
}

.p-home-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .p-home-intro__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.p-home-intro__text-lead {
  font-family: var(--font-serif);
  font-size: 2.0rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .p-home-intro__text-lead {
    font-size: 1.6rem;
  }
}

.p-home-intro__text-body {
  margin-bottom: 30px;
  color: var(--color-text-dark);
}

.p-home-intro__image {
  height: auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.p-home-intro__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Keywordsセクション */
.p-home-keywords {
  position: relative;
  padding: 40px 0;
  background-color: #faf6f0;
}

.p-home-keywords::before,
.p-home-keywords::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  background-color: #8d6e63;
  /* フィルムの穴（パーフォレーション）模様をグラデーションで表現 */
  background-image: linear-gradient(90deg, #faf6f0 6px, transparent 6px);
  background-size: 16px 6px;
  background-repeat: repeat-x;
  background-position: center;
}

.p-home-keywords::before {
  top: 0;
}

.p-home-keywords::after {
  bottom: 0;
}

.p-home-keywords__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.p-home-keywords__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #5d4037;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.p-home-keywords__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
}

.p-home-keywords__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 16px;
  width: 100%;
  margin: 0;
  list-style: none;
  padding: 0;
}

.p-home-keywords__item {
  margin: 0;
}

.p-home-keywords__link {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #5d4037;
  background-color: var(--color-bg-white);
  border: 1px solid #bcaaa4;
  border-radius: 30px;
  text-decoration: none !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.p-home-keywords__link:hover {
  color: var(--color-bg-white);
  background-color: #8d6e63;
  border-color: #8d6e63;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(141, 110, 99, 0.25);
}

.p-home-keywords__link--external::after {
  content: " ↗";
  font-size: 0.75em;
  margin-left: 4px;
  font-weight: normal;
}

/* フィルムの保存方法セクション */
.p-home-preservation {
  padding: 80px 0;
  background-color: #faf6f0;
  scroll-margin-top: var(--scroll-offset);
}

.p-home-preservation__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .p-home-preservation__grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.p-home-preservation__text-lead {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.6;
  font-weight: 700;
}

.p-home-preservation__text-body {
  color: var(--color-text-dark);
  line-height: 1.8;
}

.p-home-preservation__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-home-preservation__card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: var(--border-radius);
  border: 1px solid #ebdcd0;
  border-left: 4px solid #8c6239;
  box-shadow: 0 4px 12px rgba(140, 98, 57, 0.03);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.p-home-preservation__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(140, 98, 57, 0.08);
}

.p-home-preservation__card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.p-home-preservation__card-icon {
  font-size: 1.5rem;
}

.p-home-preservation__card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #8c6239;
  margin: 0;
}

.p-home-preservation__card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ナビゲーションカード（各コンテンツへの導線） */
.p-home-nav {
  padding: 80px 0;
  background-color: var(--color-bg-white);
}

.p-home-nav__subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: -25px;
  margin-bottom: 40px;
}

.p-home-nav__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .p-home-nav__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-home-nav__card {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  background-color: var(--color-bg-white);
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none !important;
}

.p-home-nav__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  text-decoration: none !important;
  color: inherit;
}

/* カード内のすべての要素でアンダーラインが出ないように指定 */
.p-home-nav__card *,
.p-home-nav__card *:hover {
  text-decoration: none !important;
}

.p-home-nav__card-image {
  height: 220px;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg-white);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  padding: 20px;
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.85);
}

.p-home-nav__card-image--jp { background: linear-gradient(rgba(26, 54, 93, 0.6), rgba(43, 108, 176, 0.6)), url('../search/search-jp.jpg') center/cover no-repeat; }
.p-home-nav__card-image--dento { background: linear-gradient(rgba(45, 55, 72, 0.6), rgba(197, 48, 48, 0.6)), url('../search/search-bunka.jpg') center/cover no-repeat; }
.p-home-nav__card-image--chirashi { background: linear-gradient(rgba(183, 121, 31, 0.6), rgba(116, 66, 16, 0.6)), url('../search/search-chirashi.jpg') center/cover no-repeat; }
.p-home-nav__card-image--shisetsu { background: linear-gradient(rgba(74, 85, 104, 0.6), rgba(26, 32, 44, 0.6)), url('../search/search-shisetsu.jpg') center/cover no-repeat; }
.p-home-nav__card-image--iwanami { background: linear-gradient(rgba(26, 73, 74, 0.25), rgba(20, 57, 39, 0.25)), url('../search/search-card.jpg') center/cover no-repeat; }
.p-home-nav__card-image--sakura { background: linear-gradient(rgba(244, 114, 182, 0.4), rgba(190, 24, 93, 0.4)), url('../search/search-sakura.jpg') center/cover no-repeat; }

.p-home-nav__card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.p-home-nav__card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.p-home-nav__card-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 15px;
  flex-grow: 1;
}

.p-home-nav__card-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
}

.p-home-nav__card-link::after {
  content: "→";
  margin-left: 5px;
  transition: transform var(--transition-speed) ease;
}

.p-home-nav__card-link:hover::after {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   7. センターについて個別スタイル (about.html)
   -------------------------------------------------------------------------- */
.p-about-section {
  padding: 60px 0;
  scroll-margin-top: var(--scroll-offset);
}

.p-about-section:nth-of-type(even) {
  background-color: var(--color-bg-light);
}

.p-about-concept {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.p-about-concept__lead {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.p-about-concept__body {
  text-align: left;
}

.p-about-concept__image {
  margin-top: 40px;
  text-align: center;
}

.p-about-concept__image img {
  max-width: 480px;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.p-about-concept__caption {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 8px;
  text-align: center;
}


/* 活動内容グリッド */
.p-about-activity__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .p-about-activity__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.p-about-activity__card {
  background-color: var(--color-bg-white);
  padding: 30px;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.p-about-activity__card-title {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-about-activity__card-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background-color: var(--color-accent);
}

/* 沿革 */
.p-about-history__timeline {
  max-width: 800px;
  margin: 40px auto 0;
  position: relative;
  padding-left: 30px;
}

.p-about-history__timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 2px;
  background-color: var(--color-border);
}

.p-about-history__item {
  position: relative;
  margin-bottom: 30px;
}

.p-about-history__item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-accent);
  border: 2px solid var(--color-bg-white);
}

.p-about-history__year {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 5px;
}

.p-about-workshop__images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 950px;
  margin: 40px auto 0;
}

.p-about-workshop__images-item {
  display: flex;
  flex-direction: column;
}

.p-about-workshop__image-wrap {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: var(--color-bg-light);
}

.p-about-workshop__image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.p-about-workshop__images-item:hover .p-about-workshop__image-wrap img {
  transform: scale(1.04);
}

.p-about-workshop__image-caption {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 10px;
  text-align: center;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .p-about-workshop__images {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }
}

/* 研究上映会 リンクカード */
.p-about-workshop__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 950px;
  margin: 50px auto 0;
}

.p-about-workshop__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 18px 24px;
  text-decoration: none !important;
  color: var(--color-text-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
  position: relative;
  text-align: center;
  min-height: 130px;
}

.p-about-workshop__card::after {
  content: "→";
  position: absolute;
  right: 24px;
  bottom: 20px;
  font-size: 1.2rem;
  color: var(--color-primary);
  transition: transform var(--transition-speed) ease, color var(--transition-speed) ease;
  font-weight: bold;
}

.p-about-workshop__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(26, 54, 147, 0.12);
  border-color: var(--color-primary-light);
}

.p-about-workshop__card:hover::after {
  transform: translateX(5px);
  color: var(--color-primary-light);
}

.p-about-workshop__card-org {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  font-weight: 600;
  line-height: 1.4;
  transition: color var(--transition-speed) ease;
}

.p-about-workshop__card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.p-about-workshop__card-year {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

@media (max-width: 768px) {
  .p-about-workshop__links {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
  }
  
  .p-about-workshop__card {
    padding: 20px 24px;
    min-height: auto;
  }
}

/* 研究上映会 リンクカード カラーバリエーション */
.p-about-workshop__card--brown {
  background-color: #faf6f0;
  border-color: #e8dfd8;
}
.p-about-workshop__card--brown .p-about-workshop__card-org {
  color: #8d6e63;
}
.p-about-workshop__card--brown .p-about-workshop__card-title {
  color: #5d4037;
}
.p-about-workshop__card--brown::after {
  color: #8d6e63;
}
.p-about-workshop__card--brown:hover {
  background-color: #f1eae2;
  border-color: #8d6e63;
  box-shadow: 0 12px 24px rgba(93, 64, 55, 0.12);
}
.p-about-workshop__card--brown:hover .p-about-workshop__card-org {
  color: #5d4037;
}
.p-about-workshop__card--brown:hover::after {
  color: #5d4037;
}

.p-about-workshop__card--green {
  background-color: #f0f7f3;
  border-color: #cbdcd0;
}
.p-about-workshop__card--green .p-about-workshop__card-org {
  color: #38a169;
}
.p-about-workshop__card--green .p-about-workshop__card-title {
  color: #22543d;
}
.p-about-workshop__card--green::after {
  color: #38a169;
}
.p-about-workshop__card--green:hover {
  background-color: #e2ede6;
  border-color: #2f855a;
  box-shadow: 0 12px 24px rgba(34, 84, 61, 0.12);
}
.p-about-workshop__card--green:hover .p-about-workshop__card-org {
  color: #22543d;
}
.p-about-workshop__card--green:hover::after {
  color: #2f855a;
}

.p-about-workshop__card--orange {
  background-color: #fffaf0;
  border-color: #eedbc5;
}
.p-about-workshop__card--orange .p-about-workshop__card-org {
  color: #dd6b20;
}
.p-about-workshop__card--orange .p-about-workshop__card-title {
  color: #c05621;
}
.p-about-workshop__card--orange::after {
  color: #dd6b20;
}
.p-about-workshop__card--orange:hover {
  background-color: #f7e6d2;
  border-color: #c05621;
  box-shadow: 0 12px 24px rgba(192, 86, 33, 0.12);
}
.p-about-workshop__card--orange:hover .p-about-workshop__card-org {
  color: #c05621;
}
.p-about-workshop__card--orange:hover::after {
  color: #c05621;
}


/* 概要テーブル */
.p-about-summary__table {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
}

.p-about-summary__table th,
.p-about-summary__table td {
  padding: 15px 20px;
  border: 1px solid var(--color-border);
  text-align: left;
}

.p-about-summary__table th {
  width: 250px;
  font-weight: 700;
  color: var(--color-primary);
  background-color: var(--color-bg-light);
}

@media (max-width: 767px) {
  .p-about-summary__table {
    border: none;
  }
  .p-about-summary__table th,
  .p-about-summary__table td {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--color-border);
  }
  .p-about-summary__table th {
    background-color: transparent;
    padding-bottom: 5px;
    border-bottom: none;
  }
  .p-about-summary__table td {
    padding-top: 5px;
  }
}

/* --------------------------------------------------------------------------
   8. 作品紹介・上映個別スタイル (movie/index.html)
   -------------------------------------------------------------------------- */
.p-movie-list {
  padding: 60px 0;
}

.p-movie-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.p-movie-card {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--color-bg-white);
}

@media (min-width: 768px) {
  .p-movie-card {
    grid-template-columns: 1fr 1.5fr;
  }
}

.p-movie-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background-color: #000;
  display: block;
}

@media (min-width: 768px) {
  .p-movie-card__image {
    height: 100%;
  }
}

.p-movie-card__body {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.p-movie-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.p-movie-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color-border);
}

.p-movie-card__desc {
  margin-bottom: 25px;
  flex-grow: 1;
}

.p-movie-card .c-btn--primary {
  background: linear-gradient(135deg, #2e5894 0%, #1c3b6b 100%);
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
}

.p-movie-card .c-btn--primary:hover {
  background: linear-gradient(135deg, #3a6cb4 0%, #254d8a 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* 各映画作品専用の配色設定（落ち着いた暗めのトーン） */
#movie-suzu .p-movie-card__title {
  color: #5c3c24;
}
#movie-suzu .c-btn--primary {
  background: linear-gradient(135deg, #8a5a36, #5c3d24);
}
#movie-suzu .c-btn--primary:hover {
  background: linear-gradient(135deg, #a06b43, #6f4e37);
}

#movie-haha .p-movie-card__title {
  color: #9c440c;
}
#movie-haha .c-btn--primary {
  background: linear-gradient(135deg, #cc6620, #9c440c);
}
#movie-haha .c-btn--primary:hover {
  background: linear-gradient(135deg, #e07b34, #b25314);
}

#movie-hyogen .p-movie-card__title {
  color: #1e4d36;
}
#movie-hyogen .c-btn--primary {
  background: linear-gradient(135deg, #2e7a54, #1c4d34);
}
#movie-hyogen .c-btn--primary:hover {
  background: linear-gradient(135deg, #3c9c6c, #276947);
}

#movie-yume .p-movie-card__title {
  color: #7a1d1d;
}
#movie-yume .c-btn--primary {
  background: linear-gradient(135deg, #ac3232, #7a1d1d);
}
#movie-yume .c-btn--primary:hover {
  background: linear-gradient(135deg, #c24646, #912727);
}

/* 各映画詳細ページ（下層ページ）専用の配色設定 */
#movie-haha-page .c-page-header {
  background: linear-gradient(135deg, #cc6620, #9c440c);
}
#movie-haha-page .p-detail-main__title,
#movie-haha-page .p-detail-header__title {
  color: #9c440c;
}
#movie-haha-page .c-btn--primary {
  background: linear-gradient(135deg, #cc6620, #9c440c);
}
#movie-haha-page .c-btn--primary:hover {
  background: linear-gradient(135deg, #e07b34, #b25314);
}

#movie-hyogen-page .c-page-header {
  background: linear-gradient(135deg, #2e7a54, #1c4d34);
}
#movie-hyogen-page .p-detail-main__title,
#movie-hyogen-page .p-detail-header__title {
  color: #1e4d36;
}
#movie-hyogen-page .c-btn--primary {
  background: linear-gradient(135deg, #2e7a54, #1c4d34);
}
#movie-hyogen-page .c-btn--primary:hover {
  background: linear-gradient(135deg, #3c9c6c, #276947);
}

#movie-yume-page .c-page-header {
  background: linear-gradient(135deg, #ac3232, #7a1d1d);
}
#movie-yume-page .p-detail-main__title,
#movie-yume-page .p-detail-header__title {
  color: #7a1d1d;
}
#movie-yume-page .c-btn--primary {
  background: linear-gradient(135deg, #ac3232, #7a1d1d);
}
#movie-yume-page .c-btn--primary:hover {
  background: linear-gradient(135deg, #c24646, #912727);
}

#movie-yume-page .p-detail-section__title {
  color: #7a1d1d;
  border-bottom-color: #7a1d1d;
}
#movie-yume-page .p-detail-credits__title {
  color: #7a1d1d;
  border-bottom-color: #7a1d1d;
}
#movie-yume-page .p-detail-credits__box,
#movie-yume-page .p-detail-flyer-box {
  border-color: #7a1d1d;
}
#movie-yume-page .c-btn--outline {
  color: #7a1d1d;
  border: 1px solid #7a1d1d;
  background-color: #fffaf0;
}
#movie-yume-page .c-btn--outline:hover {
  background-color: #7a1d1d;
  color: #ffffff;
}

#movie-yume-page .p-detail-lead {
  border-left-color: #7a1d1d;
  border-color: #7a1d1d;
}

#movie-yume-page .p-detail-interview {
  border-color: #7a1d1d;
}
#movie-yume-page .p-detail-interview__item {
  border-color: #7a1d1d;
  color: #7a1d1d;
  background-color: #fffaf0;
}



/* --------------------------------------------------------------------------
   9. データベース検索個別スタイル (search-library/ 内共通)
   -------------------------------------------------------------------------- */
/* ポータル (search-library/index.html) */
.p-search-portal {
  padding: 80px 0;
}

.p-search-portal__intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.p-search-portal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .p-search-portal__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-search-portal__card {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  background-color: var(--color-bg-white);
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.p-search-portal__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}

.p-search-portal__card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #ebf8ff;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 25px;
}

.p-search-portal__card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.p-search-portal__card-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 30px;
  line-height: 1.7;
}

/* 検索個別ページ共通レイアウト (shisetsu, chirashi, dento-bunka) */
.p-search-container {
  padding: 60px 0;
  background-color: var(--color-bg-light);
}

/* 検索フィルターエリア */
.p-search-filter {
  background-color: var(--color-bg-white);
  padding: 30px;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  margin-bottom: 40px;
}

.p-search-filter__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .p-search-filter__row--grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.p-search-filter__group {
  display: flex;
  flex-direction: column;
}

.p-search-filter__label {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

.p-search-filter__input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #cbd5e0;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color var(--transition-speed) ease;
}

.p-search-filter__input:focus {
  border-color: var(--color-focus);
  outline: none;
}

.p-search-filter__select {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #cbd5e0;
  border-radius: var(--border-radius);
  font-size: 1rem;
  background-color: var(--color-bg-white);
  transition: border-color var(--transition-speed) ease;
}

.p-search-filter__select:focus {
  border-color: var(--color-focus);
  outline: none;
}

/* チェックボックス・グループ */
.p-search-filter__checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
  padding: 5px 0;
}

.p-search-filter__checkbox-label {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  cursor: pointer;
}

.p-search-filter__checkbox {
  margin-right: 8px;
  width: 18px;
  height: 18px;
}

.p-search-filter__actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.p-search-filter__btn {
  min-width: 150px;
}

/* 検索結果・件数・ソートバー */
.p-search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.p-search-results-count {
  font-size: 1.1rem;
}

.p-search-results-count span {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 1.3rem;
}

.p-search-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-search-sort__select {
  padding: 5px 10px;
  border: 1px solid #cbd5e0;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
}

/* 検索結果グリッド */
.p-search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .p-search-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-search-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
}

.p-search-card__image {
  height: 180px;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  position: relative;
}

.p-search-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 2px;
}

.p-search-card__badge--accent {
  background-color: var(--color-accent);
}

.p-search-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.p-search-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 15px;
  line-height: 1.5;
}

.p-search-card__meta-list {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 15px;
  flex-grow: 1;
}

.p-search-card__meta-item {
  display: flex;
  margin-bottom: 6px;
}

.p-search-card__meta-label {
  font-weight: 700;
  width: 75px;
  flex-shrink: 0;
}

.p-search-card__meta-val {
  color: var(--color-text-dark);
}

.p-search-card__btn {
  width: 100%;
  text-align: center;
  padding: 8px 15px;
  font-size: 0.9rem;
}

/* メッセージエリア (結果なしの場合) */
.p-search-no-results {
  grid-column: 1 / -1;
  background-color: var(--color-bg-white);
  padding: 60px;
  text-align: center;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  display: none;
}

/* ページネーション */
.c-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.c-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
  font-weight: 600;
  border-radius: var(--border-radius);
  text-decoration: none !important;
  transition: all var(--transition-speed) ease;
}

.c-pagination__link:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  border-color: var(--color-primary);
}

.c-pagination__link.is-active {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  border-color: var(--color-primary);
  cursor: default;
  pointer-events: none;
}

.c-pagination__link.is-disabled {
  color: #cbd5e0;
  border-color: var(--color-border);
  background-color: var(--color-bg-white);
  cursor: default;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   10. お問い合わせ・アクセス個別スタイル (contact.html)
   -------------------------------------------------------------------------- */
.p-contact {
  padding: 60px 0;
}

.p-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

@media (min-width: 992px) {
  .p-contact__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.p-contact-form {
  background-color: var(--color-bg-light);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}

.p-contact-form__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 25px;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 10px;
}

.p-contact-form__note {
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.p-contact-form__group {
  margin-bottom: 20px;
}

.p-contact-form__label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.p-contact-form__label span {
  background-color: var(--color-accent);
  color: var(--color-bg-white);
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 8px;
  font-weight: 400;
}

.p-contact-form__input,
.p-contact-form__textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cbd5e0;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.p-contact-form__input:focus,
.p-contact-form__textarea:focus {
  border-color: var(--color-focus);
  outline: none;
}

.p-contact-form__textarea {
  height: 150px;
  resize: vertical;
}

.p-contact-form__submit {
  text-align: center;
  margin-top: 30px;
}

.p-contact-form__btn {
  width: 100%;
  max-width: 250px;
}

/* アクセス情報 */
.p-contact-info__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 25px;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 10px;
}

.p-contact-info__tel {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 15px 0;
  display: block;
}

.p-contact-info__email {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 15px 0;
  display: block;
  word-break: break-all;
}

.p-contact-info__email a {
  color: inherit;
  text-decoration: underline;
}

.p-contact-info__email a:hover {
  color: var(--color-primary-light);
}

.p-contact-info__address {
  font-style: normal;
  margin-bottom: 30px;
  line-height: 1.8;
}

.p-contact-info__map {
  border: 1px solid var(--color-border);
  height: 300px;
  color: var(--color-text-muted);
  border-radius: var(--border-radius);
  font-family: var(--font-serif);
  margin-top: 20px;
  overflow: hidden;
}

.p-contact-info__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* --------------------------------------------------------------------------
   11. メディアクエリ・レスポンシブ微調整 (Mobile styles)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  :root {
    --scroll-offset: calc(var(--header-height-mobile) + 40px);
  }

  /* スマホ・タブレットヘッダー */
  .l-header {
    height: var(--header-height-mobile);
  }

  .l-header__hamburger {
    display: block;
  }

  /* ドロワーナビゲーション */
  .l-header__nav {
    position: fixed;
    top: var(--header-height-mobile);
    left: 100%;
    width: 100%;
    height: calc(100vh - var(--header-height-mobile));
    background-color: var(--color-bg-white);
    transition: left var(--transition-speed) ease;
    z-index: 100;
    overflow-y: auto;
    border-top: 1px solid var(--color-border);
  }

  .l-header__nav.is-open {
    left: 0;
  }

  .l-header__nav-list {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .l-header__nav-item {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .l-header__nav-link {
    justify-content: flex-start;
    padding: 15px 10px;
    font-size: 1.1rem;
    height: auto;
  }

  .l-header__nav-link::after {
    display: none; /* スマホでは下線なし */
  }

  /* スマホ用ドロップダウンメニュー */
  .l-header__dropdown-btn {
    width: 100%;
    display: flex;
    justify-content: space-between; /* 矢印を右端に配置 */
    align-items: center;
    padding-right: 10px;
  }

  .l-header__dropdown-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height var(--transition-speed) ease, opacity var(--transition-speed) ease;
    background-color: var(--color-bg-light);
    border-left: 4px solid var(--color-primary);
    margin: 0;
    padding-left: 0;
  }

  /* スマホ用ドロップダウン開状態 */
  .l-header__nav-item--dropdown.is-active-dropdown .l-header__dropdown-menu {
    max-height: 500px; /* 十分な高さを確保 */
    opacity: 1;
    margin: 5px 0 10px;
  }

  .l-header__dropdown-item {
    display: block;
  }

  .l-header__dropdown-link {
    display: flex;
    align-items: center;
    min-height: 48px; /* 44px以上を確保して押しやすくする */
    padding: 10px 20px;
    color: var(--color-text-dark);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none !important;
    border-bottom: 1px solid var(--color-border);
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
  }

  .l-header__dropdown-item[style*="padding-left"] > .l-header__dropdown-link {
    font-weight: 500;
  }

  .l-header__dropdown-link:last-child {
    border-bottom: none;
  }

  .l-header__dropdown-link:active,
  .l-header__dropdown-link:focus,
  .l-header__dropdown-link.is-active {
    background-color: rgba(26, 54, 93, 0.05);
    color: var(--color-primary);
  }
  
  .l-header__dropdown-link.is-active {
    font-weight: 700;
  }

  /* その他スマホ調整 */
  .c-section-title {
    font-size: 1.75rem;
    margin-bottom: 30px;
  }

  .p-home-hero {
    padding: 80px 0;
  }

  .p-home-hero__title {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   11.5. 記録映画アーカイブプロジェクト・ご案内メール
   ========================================================================== */
.p-home-mail {
  padding: 80px 0;
  background-color: var(--color-bg-white);
}

.p-home-mail__inner {
  max-width: 800px;
  margin: 0 auto;
}

.p-home-mail__lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-dark);
  text-align: left;
  margin-bottom: 30px;
  padding: 0 15px;
}

.p-home-mail__note {
  background-color: var(--color-bg-white);
  border: 2px solid #c7b2a6;
  border-radius: var(--border-radius);
  padding: 24px 30px;
  margin: 0 15px 35px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.p-home-mail__note-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #5d4037;
  margin-top: 0;
  margin-bottom: 15px;
}

.p-home-mail__note-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-home-mail__note-item {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-dark);
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.p-home-mail__note-item:last-child {
  margin-bottom: 0;
}

.p-home-mail__note-item::before {
  content: "※";
  position: absolute;
  left: 0;
  color: #8d6e63;
  font-weight: bold;
}

.p-home-mail__partner {
  text-align: center;
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  padding: 0 15px;
}

.p-home-mail__partner a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

.p-home-mail__partner a:hover {
  color: var(--color-primary-light);
}

.p-home-mail__btn-wrapper {
  text-align: center;
}

.p-home-mail .c-btn--brown {
  background: linear-gradient(135deg, #7c584c 0%, #4e342e 100%);
  border: none;
  box-shadow: 0 2px 5px rgba(93, 64, 55, 0.15);
  transition: all var(--transition-speed) ease;
  border-radius: 12px;
}

.p-home-mail .c-btn--brown:hover {
  background: linear-gradient(135deg, #8d6e63 0%, #5d4037 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(93, 64, 55, 0.25);
}

@media (max-width: 768px) {
  .p-home-mail {
    padding: 60px 0;
  }
  .p-home-mail__lead {
    font-size: 1rem;
  }
  .p-home-mail__note {
    padding: 20px 24px;
  }
  .p-home-mail__note-item {
    font-size: 0.9rem;
  }
}

.p-home-mail--page {
  padding-top: 30px;
  margin-bottom: 50px;
}

.p-home-mail__link-screening {
  text-align: center;
  margin-top: 35px;
}

.p-home-mail__link-screening a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid #7c584c;
  color: #7c584c;
  background: linear-gradient(135deg, #faf6f0 0%, #ebdcd0 100%);
  transition: all var(--transition-speed) ease;
  text-decoration: none !important;
}

.p-home-mail__link-screening a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ==========================================================================
   12. ブログ更新・お知らせエリア
   ========================================================================== */
.p-home-blog-news {
  padding: 40px 0;
  background-color: var(--color-bg-white); /* 交互配置のため背景を白に設定 */
}

.p-home-blog-news__subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: -25px;
  margin-bottom: 40px;
}

.p-home-blog-news__list {
  max-width: 850px;
  margin: 0 auto 40px;
}

.p-home-blog-news__item {
  border-bottom: 1px solid var(--color-border);
}

.p-home-blog-news__item:first-child {
  border-top: 1px solid var(--color-border);
}

.p-home-blog-news__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 10px;
  color: var(--color-text-dark);
  text-decoration: none !important;
  transition: background-color var(--transition-speed) ease;
}

.p-home-blog-news__link:hover {
  background-color: var(--color-bg-white);
}

.p-home-blog-news__link:hover .p-home-blog-news__item-title {
  color: var(--color-primary);
  text-decoration: underline;
}

.p-home-blog-news__meta {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 180px;
  flex-shrink: 0;
}

.p-home-blog-news__date {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.p-home-blog-news__label {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  color: var(--color-text-dark);
  border-radius: 2px;
}

.p-home-blog-news__item-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  flex-grow: 1;
  margin: 0 20px;
  text-align: left;
}

.p-home-blog-news__more-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.p-home-blog-news__btn-wrapper {
  text-align: center;
}

/* スマホ対応のレスポンシブスタイル */
@media (max-width: 767px) {
  .p-home-blog-news__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .p-home-blog-news__meta {
    width: 100%;
  }
  
  .p-home-blog-news__item-title {
    margin: 0;
  }
  
  .p-home-blog-news__more-link {
    align-self: flex-end;
  }
}

/* ==========================================================================
   13. 注目作品紹介セクション
   ========================================================================== */
.p-home-movies {
  padding: 80px 0;
  background-color: #faf6f0; /* 交互配置のため背景を淡いベージュに設定 */
}

.p-home-movies__subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: -25px;
  margin-bottom: 40px;
}

.p-home-movies__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .p-home-movies__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-home-movies__card {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  background-color: var(--color-bg-white);
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none !important;
}

.p-home-movies__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  text-decoration: none !important;
  color: inherit;
}

/* カード内のすべての要素でアンダーラインが出ないように指定 */
.p-home-movies__card *,
.p-home-movies__card *:hover {
  text-decoration: none !important;
}

.p-home-movies__card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background-color: #000;
  display: block;
}

.p-home-movies__card-body {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.p-home-movies__card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-primary);
  text-align: center;
}

/* トップページ映画カードタイトル用の配色設定（movie.htmlと統一） */
.p-home-movies__card[href*="suzusan"] .p-home-movies__card-title {
  color: #5c3c24;
}
.p-home-movies__card[href*="haha"] .p-home-movies__card-title {
  color: #9c440c;
}
.p-home-movies__card[href*="hyougen"] .p-home-movies__card-title {
  color: #1e4d36;
}
.p-home-movies__card[href*="yume"] .p-home-movies__card-title {
  color: #7a1d1d;
}


.p-home-movies__card-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  flex-grow: 1;
  line-height: 1.6;
}

.p-home-movies__card-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
}

.p-home-movies__card-link::after {
  content: "→";
  margin-left: 5px;
  transition: transform var(--transition-speed) ease;
}

.p-home-movies__card-link:hover::after {
  transform: translateX(5px);
}

/* ==========================================================================
   16. 新しい作品の検索ポータルページ (search.html)
   ========================================================================== */
.p-search-page {
  padding: 40px 0 80px;
}

.p-search-page__intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

.p-search-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: var(--scroll-offset);
}

.p-search-item:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .p-search-item {
    grid-template-columns: 2fr 3fr;
  }
  
  .p-search-item:nth-child(even) {
    grid-template-columns: 3fr 2fr;
  }
  
  .p-search-item:nth-child(even) .p-search-item__image-wrapper {
    order: 2;
  }
}

.p-search-item__image-wrapper {
  width: 100%;
}

.p-search-item__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.p-search-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-search-item__placeholder {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.7;
}

.p-search-item__body {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.p-search-item__badge-wrapper {
  display: flex;
  gap: 10px;
}

.p-search-item__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
}

.p-search-item__badge--external {
  background-color: #ebf8ff;
  color: #2b6cb0;
}

.p-search-item__badge--internal {
  background-color: #f0fff4;
  color: #2f855a;
}

.p-search-item__badge--prepare {
  background-color: #fffaf0;
  color: #dd6b20;
}

.p-search-item__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-bg-white);
  margin: 0;
  padding: 12px 20px;
  border-radius: var(--border-radius);
  width: 100%;
  box-sizing: border-box;
}

.p-search-item__title--jp { background: linear-gradient(135deg, #1a365d, #2b6cb0); }
.p-search-item__title--dento { background: linear-gradient(135deg, #2d3748, #c53030); }
.p-search-item__title--chirashi { background: linear-gradient(135deg, #b7791f, #744210); }
.p-search-item__title--shisetsu { background: linear-gradient(135deg, #2c7a7b, #2f855a); }
.p-search-item__title--iwanami { background: linear-gradient(135deg, #4a5568, #1a202c); }
.p-search-item__title--sakura { background: linear-gradient(135deg, #b95d77, #7e1e35); }

.p-search-item__desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-dark);
  margin: 0;
}

.p-search-item .c-btn--primary {
  background: linear-gradient(135deg, #2e5894 0%, #1c3b6b 100%);
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
}

.p-search-item .c-btn--primary:hover {
  background: linear-gradient(135deg, #3a6cb4 0%, #254d8a 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.p-search-item#sakura .c-btn--primary {
  background: linear-gradient(135deg, #b95d77 0%, #7e1e35 100%);
}

.p-search-item#sakura .c-btn--primary:hover {
  background: linear-gradient(135deg, #c96d87 0%, #8f2d45 100%);
}

.p-search-item .c-btn--green {
  background: linear-gradient(135deg, #2f855a 0%, #205c3e 100%);
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
}

.p-search-item .c-btn--green:hover {
  background: linear-gradient(135deg, #389868 0%, #226b47 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* 各項目固有の背景グラデーションをリンクボタンに適用 */
#jp .c-btn {
  background: linear-gradient(135deg, #1a365d, #2b6cb0);
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#jp .c-btn:hover {
  background: linear-gradient(135deg, #2b6cb0, #1a365d);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#dento .c-btn {
  background: linear-gradient(135deg, #2d3748, #c53030);
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#dento .c-btn:hover {
  background: linear-gradient(135deg, #c53030, #2d3748);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#chirashi .c-btn {
  background: linear-gradient(135deg, #b7791f, #744210);
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#chirashi .c-btn:hover {
  background: linear-gradient(135deg, #744210, #b7791f);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#shisetsu .c-btn {
  background: linear-gradient(135deg, #4a5568, #1a202c);
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#shisetsu .c-btn:hover {
  background: linear-gradient(135deg, #5a6578, #2a303c);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#card .c-btn {
  background: transparent;
  color: #2c7a7b;
  border: 2px solid #2c7a7b;
}
#card .c-btn:hover {
  background: #2c7a7b;
  color: #ffffff;
}

#sakura .c-btn {
  background: linear-gradient(135deg, #f472b6, #be185d);
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#sakura .c-btn:hover {
  background: linear-gradient(135deg, #be185d, #f472b6);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


/* ==========================================================================
   12. 研究上映会・ワークショップ個別スタイル (screening.html)
   ========================================================================== */
.p-screening-section {
  scroll-margin-top: var(--scroll-offset);
}

/* セクションごとの背景色個別調整（区別用） */
#project-ws {
  background-color: #f2f7f4; /* 超淡いグリーン */
}

#mini-ws {
  background-color: #faf8f5; /* 超淡いベージュ */
}

#research-screenings {
  background-color: #fffaf5; /* 超淡いオレンジ/アプリコット */
}

/* 各セクションのカードヘッダー背景色とボーダー色の個別調整 */
#project-ws .p-workshop-item__header {
  background-color: #e2ede6; /* 落ち着いた淡いグリーン */
  border-bottom-color: #cbdcd0;
}

#mini-ws .p-workshop-item__header {
  background-color: #f1eae2; /* 落ち着いた淡いベージュ */
  border-bottom-color: #e8dfd8;
}

#research-screenings .p-workshop-item__header {
  background-color: #f7e6d2; /* 落ち着いた淡いオレンジ */
  border-bottom-color: #ecd0b4;
}

/* 各セクションのh2タイトル文字色と下線色の個別調整 */
#project-ws .c-section-title {
  color: #22543d; /* ワークショップのテキスト色（濃いグリーン） */
}
#project-ws .c-section-title__text::after {
  background-color: #38a169; /* グリーン系の下線 */
}

#mini-ws .c-section-title {
  color: #5d4037; /* ミニ・ワークショップのテキスト色（ダークブラウン） */
}
#mini-ws .c-section-title__text::after {
  background-color: #8d6e63; /* ブラウン系の下線 */
}

#research-screenings .c-section-title {
  color: #c05621; /* 研究上映会のテキスト色（ダークオレンジ/柿色） */
}
#research-screenings .c-section-title__text::after {
  background-color: #dd6b20; /* オレンジ系の下線 */
}


/* ワークショップ一覧カードリスト */
.p-workshop-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 40px auto 0;
}

.p-workshop-item {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.p-workshop-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.p-workshop-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-bg-light);
  padding: 12px 24px;
  border-bottom: 1px solid var(--color-border);
}

.p-workshop-item__number {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-accent);
  font-size: 1.1rem;
}

.p-workshop-item__date {
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.p-workshop-item__body {
  padding: 24px;
  position: relative;
}

.p-workshop-item__pdf {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 15px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--border-radius);
  background-color: transparent;
  text-decoration: none !important;
  transition: all var(--transition-speed) ease;
}

.p-workshop-item__pdf:hover {
  background-color: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767px) {
  .p-workshop-item__pdf {
    position: static;
    display: inline-flex;
    margin-bottom: 15px;
    width: fit-content;
  }
}


.p-workshop-item__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.4;
}

.p-workshop-item__subtitle {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-dark);
  margin-top: 4px;
  font-family: var(--font-sans);
}

.p-workshop-item__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.p-workshop-item__films,
.p-workshop-item__speakers {
  background-color: #fafafa;
  border-radius: var(--border-radius);
  padding: 16px 20px;
  border: 1px solid #f0f0f0;
}

.p-workshop-item__films h4,
.p-workshop-item__speakers h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 6px;
  letter-spacing: 0.05em;
}

.p-workshop-item__films ul,
.p-workshop-item__speakers ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-workshop-item__films li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-dark);
  margin-bottom: 8px;
  position: relative;
  padding-left: 14px;
}

.p-workshop-item__films li::before {
  content: "■";
  color: var(--color-accent);
  font-size: 0.6rem;
  position: absolute;
  left: 0;
  top: 1px;
}

.p-workshop-item__speakers li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-dark);
  margin-bottom: 8px;
  position: relative;
  padding-left: 14px;
}

.p-workshop-item__speakers li::before {
  content: "・";
  color: var(--color-primary-light);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.p-workshop-item__films li:last-child,
.p-workshop-item__speakers li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .p-workshop-item__content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .p-workshop-item__body {
    padding: 20px;
  }
}

/* ==========================================
   画像拡大モーダル (Lightbox)
   ========================================== */
.c-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.c-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.c-modal__content {
  max-width: 90%;
  max-height: 85%;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.c-modal.is-open .c-modal__content {
  transform: scale(1);
}

.c-modal__image {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.c-modal__caption {
  color: #fff;
  margin-top: 15px;
  font-size: 1rem;
  font-weight: 500;
}

.c-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2100;
}

.c-modal__close:hover {
  color: #e53e3e;
  transform: scale(1.1);
}

.p-about-workshop__image-wrap {
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   ページ内リンクナビゲーション
   -------------------------------------------------------------------------- */
.c-anchor-nav {
  background-color: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
  margin-bottom: 40px;
}

.c-anchor-nav__list {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.c-anchor-nav__item {
  margin: 0;
}

.c-anchor-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.c-anchor-nav__link::before {
  content: "↓";
  margin-right: 8px;
  font-size: 0.85rem;
  color: var(--color-accent);
  transition: transform var(--transition-speed) ease;
}

.c-anchor-nav__link:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.c-anchor-nav__link:hover::before {
  transform: translateY(2px);
}

@media (max-width: 768px) {
  .c-anchor-nav {
    padding: 15px 0;
    margin-bottom: 30px;
  }
  .c-anchor-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0 15px;
  }
  .c-anchor-nav__link {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* アンカーリンクのカラーバリエーション（通常時・ホバー時） */
.c-anchor-nav__link--green {
  background-color: #f0f7f3; /* 超淡いグリーン */
  border-color: #cbdcd0;
  color: #22543d;
}
.c-anchor-nav__link--green::before {
  color: #38a169;
}
.c-anchor-nav__link--green:hover {
  background-color: #e2ede6;
  border-color: #2f855a;
  color: #2f855a;
}

.c-anchor-nav__link--brown {
  background-color: #faf6f0; /* 超淡いブラウン/ベージュ */
  border-color: #e8dfd8;
  color: #5d4037; /* ダークブラウン */
}
.c-anchor-nav__link--brown::before {
  color: #8d6e63; /* ブラウン */
}
.c-anchor-nav__link--brown:hover {
  background-color: #f1eae2;
  border-color: #8d6e63;
  color: #5d4037;
}

.c-anchor-nav__link--orange {
  background-color: #fffaf0; /* 超淡いオレンジ/アプリコット */
  border-color: #eedbc5;
  color: #c05621; /* ダークオレンジ/柿色 */
}
.c-anchor-nav__link--orange::before {
  color: #dd6b20; /* オレンジ */
}
.c-anchor-nav__link--orange:hover {
  background-color: #f7e6d2;
  border-color: #c05621;
  color: #c05621;
}

/* --------------------------------------------------------------------------
   ページトップへ戻るリンク
   -------------------------------------------------------------------------- */
.c-pagetop-link {
  text-align: right;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

.c-pagetop-link__btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 700;
  transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.c-pagetop-link__btn:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* screening.html 冒頭の縦並びアンカーリンク用カスタムスタイル */
.c-anchor-nav--list-style {
  background: none;
  border-bottom: none;
  padding: 0;
  margin-bottom: 30px;
}
.c-anchor-nav--list-style .c-anchor-nav__list {
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  margin: 0 auto;
  gap: 12px;
}
.c-anchor-nav--list-style .c-anchor-nav__link {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  font-size: 1.05rem;
}
.c-anchor-nav--list-style .c-anchor-nav__link:hover {
  transform: none;
  box-shadow: none;
  color: var(--color-primary-light);
  text-decoration: underline;
}

/* ==========================================================================
   7. フィルムの保存方法ページ用個別スタイル (preservation.html)
   ========================================================================== */

/* 追加の保存ページ用個別スタイル */
.p-preservation-intro {
  max-width: 1000px;
  margin: 0 auto 50px;
  line-height: 1.9;
}

.p-preservation-intro p {
  margin-bottom: 20px;
  color: var(--color-text-dark);
}

.p-preservation-topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin: 40px 0;
}

@media (min-width: 768px) {
  .p-preservation-topic-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.p-preservation-topic-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.p-preservation-topic-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 15px;
  font-family: var(--font-serif);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 8px;
}

.p-preservation-topic-card__desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-dark);
}

/* 資料グリッド */
.p-survey-docs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .p-survey-docs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.p-survey-doc-card {
  background-color: var(--color-bg-white);
  border: 1px solid #ebdcd0;
  border-radius: var(--border-radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 4px solid #dd6b20;
  /* fallback */
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.p-survey-doc-card:hover {
  transform: translateY(-3px);
}

/* カラーバリエーション定義 */
.p-survey-doc-card--orange {
  border-top-color: #dd6b20;
  box-shadow: 0 4px 12px rgba(221, 107, 32, 0.03);
}

.p-survey-doc-card--orange .p-survey-doc-card__title {
  color: #c05621;
}

.p-survey-doc-card--orange:hover {
  box-shadow: 0 8px 20px rgba(221, 107, 32, 0.08);
}

.p-survey-doc-card--green {
  border-top-color: #2f855a;
  box-shadow: 0 4px 12px rgba(47, 133, 90, 0.03);
}

.p-survey-doc-card--green .p-survey-doc-card__title {
  color: #22543d;
}

.p-survey-doc-card--green:hover {
  box-shadow: 0 8px 20px rgba(47, 133, 90, 0.08);
}

.p-survey-doc-card--brown {
  border-top-color: #5d4037;
  box-shadow: 0 4px 12px rgba(93, 64, 55, 0.03);
}

.p-survey-doc-card--brown .p-survey-doc-card__title {
  color: #5d4037;
}

.p-survey-doc-card--brown:hover {
  box-shadow: 0 8px 20px rgba(93, 64, 55, 0.08);
}

.p-survey-doc-card--teal {
  border-top-color: #319795;
  box-shadow: 0 4px 12px rgba(49, 151, 149, 0.03);
}

.p-survey-doc-card--teal .p-survey-doc-card__title {
  color: #234e52;
}

.p-survey-doc-card--teal:hover {
  box-shadow: 0 8px 20px rgba(49, 151, 149, 0.08);
}

.p-survey-doc-card--amber {
  border-top-color: #d69e2e;
  box-shadow: 0 4px 12px rgba(214, 158, 46, 0.03);
}

.p-survey-doc-card--amber .p-survey-doc-card__title {
  color: #975a16;
}

.p-survey-doc-card--amber:hover {
  box-shadow: 0 8px 20px rgba(214, 158, 46, 0.08);
}

.p-survey-doc-card--red {
  border-top-color: #c53030;
  box-shadow: 0 4px 12px rgba(197, 48, 48, 0.03);
}

.p-survey-doc-card--red .p-survey-doc-card__title {
  color: #9b2c2c;
}

.p-survey-doc-card--red:hover {
  box-shadow: 0 8px 20px rgba(197, 48, 48, 0.08);
}

/* 追加の個別ボタンカラースタイル */
.c-btn--teal {
  background-color: #319795;
  color: #fff;
}

.c-btn--teal:hover {
  background-color: #234e52;
  color: #fff;
}

.c-btn--amber {
  background-color: #d69e2e;
  color: #fff;
}

.c-btn--amber:hover {
  background-color: #b7791f;
  color: #fff;
}

.c-btn--lightblue {
  background-color: #3182ce;
  color: #fff;
}

.c-btn--lightblue:hover {
  background-color: #2b6cb0;
  color: #fff;
}

.c-btn--purple {
  background-color: #805ad5;
  color: #fff;
}

.c-btn--purple:hover {
  background-color: #553c9a;
  color: #fff;
}

/* カラーバリエーション定義 */
.p-survey-doc-card--lightblue {
  border-top-color: #3182ce;
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.03);
}

.p-survey-doc-card--lightblue .p-survey-doc-card__title {
  color: #2b6cb0;
}

.p-survey-doc-card--lightblue:hover {
  box-shadow: 0 8px 20px rgba(49, 130, 206, 0.08);
}

.p-survey-doc-card--purple {
  border-top-color: #805ad5;
  box-shadow: 0 4px 12px rgba(128, 90, 213, 0.03);
}

.p-survey-doc-card--purple .p-survey-doc-card__title {
  color: #553c9a;
}

.p-survey-doc-card--purple:hover {
  box-shadow: 0 8px 20px rgba(128, 90, 213, 0.08);
}

.p-survey-doc-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.5;
}

.p-survey-doc-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-dark);
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* トップへ戻るボタン */
.p-survey-back-to-top {
  text-align: right;
  margin-top: 30px;
}

.p-survey-back-to-top a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  padding: 6px 15px;
  border-radius: 20px;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-white);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

.p-survey-back-to-top a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background-color: var(--color-bg-light);
}

/* Q&A用スタイル */
.p-faq-list {
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.p-faq-item {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  border-top: 4px solid var(--faq-color);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.p-faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.p-faq-question {
  display: flex;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-dark);
  font-family: var(--font-serif);
  margin-bottom: 15px;
}

.p-faq-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 26px;
  border-radius: 4px;
  background-color: var(--faq-color);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 0;
}

.p-faq-answer {
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #1a365d;
}

.p-faq-a-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background-color: #1a365d;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.p-faq-answer__text {
  flex-grow: 1;
  margin: 0;
}

.p-faq-answer-content {
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  width: 100%;
}
@media (min-width: 768px) {
  .p-faq-answer-content {
    display: block;
    overflow: hidden;
  }
}
.p-faq-answer-image-wrapper {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  text-align: center;
}
@media (min-width: 768px) {
  .p-faq-answer-image-wrapper {
    float: right;
    width: 260px;
    margin-left: 20px;
    margin-bottom: 10px;
  }
}
.p-faq-answer-img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
}
.p-faq-answer-img:hover {
  transform: scale(1.02);
  opacity: 0.95;
}

/* ライトボックス（画像拡大用モーダル） */
.p-lightbox-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.p-lightbox-modal.is-active {
  display: flex;
  opacity: 1;
}
.p-lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.p-lightbox-modal.is-active .p-lightbox-content {
  transform: scale(1);
}
.p-lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  border-radius: 4px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}
.p-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  background: none;
  border: none;
  outline: none;
}

/* 具体的になにができる？用スタイル */
.p-action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 40px 0;
}

.p-action-card {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--color-border);
  border-left: 6px solid var(--action-color);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.p-action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.p-action-card__header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.p-action-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--action-color);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-right: 12px;
  flex-shrink: 0;
}

.p-action-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--action-color);
  font-family: var(--font-serif);
  margin: 0;
}

.p-action-card__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-dark);
  margin: 0;
}

/* ==========================================================================
   7. 全国映画フィルム所蔵調査ページ個別スタイル (survey.html)
   ========================================================================== */
.p-survey-intro {
  max-width: 1000px;
  margin: 0 auto 50px;
  line-height: 1.9;
}

.p-survey-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 30px 0;
}

@media (min-width: 576px) {
  .p-survey-stats {
    grid-template-columns: 1fr 1fr;
  }
}

.p-survey-stat-card {
  background-color: #faf6f0;
  border: 1px solid #ebdcd0;
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
}

.p-survey-stat-card__num {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent);
  font-family: var(--font-serif);
  margin-bottom: 5px;
}

.p-survey-stat-card__label {
  font-size: 0.9rem;
  color: var(--color-text-dark);
  font-weight: 700;
}

/* タイムライン風の調査報告リスト */
.p-survey-timeline {
  position: relative;
  margin: 40px auto;
  max-width: 850px;
  padding: 0 15px;
}

.p-survey-year-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  border-left: 4px solid var(--color-primary);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.p-survey-year-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.p-survey-year-card__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
  margin-bottom: 15px;
  gap: 10px;
}

.p-survey-year-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  font-family: var(--font-serif);
}

.p-survey-year-card__date {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.p-survey-year-card__body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-dark);
  margin-bottom: 20px;
}

.p-survey-year-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* 資料グリッド */
.p-survey-docs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .p-survey-docs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.p-survey-doc-card {
  background-color: var(--color-bg-white);
  border: 1px solid #ebdcd0;
  border-radius: var(--border-radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 4px solid #dd6b20;
  /* fallback */
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.p-survey-doc-card:hover {
  transform: translateY(-3px);
}

/* カラーバリエーション定義 */
.p-survey-doc-card--orange {
  border-top-color: #dd6b20;
  box-shadow: 0 4px 12px rgba(221, 107, 32, 0.03);
}

.p-survey-doc-card--orange .p-survey-doc-card__title {
  color: #c05621;
}

.p-survey-doc-card--orange:hover {
  box-shadow: 0 8px 20px rgba(221, 107, 32, 0.08);
}

.p-survey-doc-card--green {
  border-top-color: #2f855a;
  box-shadow: 0 4px 12px rgba(47, 133, 90, 0.03);
}

.p-survey-doc-card--green .p-survey-doc-card__title {
  color: #22543d;
}

.p-survey-doc-card--green:hover {
  box-shadow: 0 8px 20px rgba(47, 133, 90, 0.08);
}

.p-survey-doc-card--brown {
  border-top-color: #5d4037;
  box-shadow: 0 4px 12px rgba(93, 64, 55, 0.03);
}

.p-survey-doc-card--brown .p-survey-doc-card__title {
  color: #5d4037;
}

.p-survey-doc-card--brown:hover {
  box-shadow: 0 8px 20px rgba(93, 64, 55, 0.08);
}

.p-survey-doc-card--teal {
  border-top-color: #319795;
  box-shadow: 0 4px 12px rgba(49, 151, 149, 0.03);
}

.p-survey-doc-card--teal .p-survey-doc-card__title {
  color: #234e52;
}

.p-survey-doc-card--teal:hover {
  box-shadow: 0 8px 20px rgba(49, 151, 149, 0.08);
}

.p-survey-doc-card--amber {
  border-top-color: #d69e2e;
  box-shadow: 0 4px 12px rgba(214, 158, 46, 0.03);
}

.p-survey-doc-card--amber .p-survey-doc-card__title {
  color: #975a16;
}

.p-survey-doc-card--amber:hover {
  box-shadow: 0 8px 20px rgba(214, 158, 46, 0.08);
}

.p-survey-doc-card--red {
  border-top-color: #c53030;
  box-shadow: 0 4px 12px rgba(197, 48, 48, 0.03);
}

.p-survey-doc-card--red .p-survey-doc-card__title {
  color: #9b2c2c;
}

.p-survey-doc-card--red:hover {
  box-shadow: 0 8px 20px rgba(197, 48, 48, 0.08);
}

/* 追加の個別ボタンカラースタイル */
.c-btn--teal {
  background-color: #319795;
  color: #fff;
}

.c-btn--teal:hover {
  background-color: #234e52;
  color: #fff;
}

.c-btn--amber {
  background-color: #d69e2e;
  color: #fff;
}

.c-btn--amber:hover {
  background-color: #b7791f;
  color: #fff;
}

.c-btn--lightblue {
  background-color: #3182ce;
  color: #fff;
}

.c-btn--lightblue:hover {
  background-color: #2b6cb0;
  color: #fff;
}

.c-btn--purple {
  background-color: #805ad5;
  color: #fff;
}

.c-btn--purple:hover {
  background-color: #553c9a;
  color: #fff;
}

/* カラーバリエーション定義 */
.p-survey-doc-card--lightblue {
  border-top-color: #3182ce;
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.03);
}

.p-survey-doc-card--lightblue .p-survey-doc-card__title {
  color: #2b6cb0;
}

.p-survey-doc-card--lightblue:hover {
  box-shadow: 0 8px 20px rgba(49, 130, 206, 0.08);
}

.p-survey-doc-card--purple {
  border-top-color: #805ad5;
  box-shadow: 0 4px 12px rgba(128, 90, 213, 0.03);
}

.p-survey-doc-card--purple .p-survey-doc-card__title {
  color: #553c9a;
}

.p-survey-doc-card--purple:hover {
  box-shadow: 0 8px 20px rgba(128, 90, 213, 0.08);
}

.p-survey-doc-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.5;
}

.p-survey-doc-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-dark);
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* 現地調査テーブル調整 */
.p-survey-table-wrapper {
  overflow-x: auto;
  margin: 30px auto;
  max-width: 900px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
}

.p-survey-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: center;
  min-width: 600px;
}

.p-survey-table th,
.p-survey-table td {
  padding: 12px 15px;
  border: 1px solid var(--color-border);
}

.p-survey-table th {
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  font-weight: 700;
}

.p-survey-table tr:nth-child(even) td {
  background-color: #fafbfc;
}

.p-survey-table td:first-child {
  text-align: left;
  font-weight: 700;
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

.p-survey-table tr:last-child td {
  font-weight: 700;
  background-color: #faf6f0;
  color: var(--color-primary);
}

/* ページ内アンカーナビゲーション */
.p-survey-anchors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 30px auto 10px;
  max-width: 900px;
  padding: 0 15px;
}

.p-survey-anchor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
  border: 1px solid var(--color-border);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.p-survey-anchor-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.p-survey-anchor-btn::before {
  content: "↓";
  margin-right: 6px;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* トップへ戻るボタン */
.p-survey-back-to-top {
  text-align: right;
  margin-top: 30px;
}

.p-survey-back-to-top a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  padding: 6px 15px;
  border-radius: 20px;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-white);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

.p-survey-back-to-top a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background-color: var(--color-bg-light);
}

/* ==========================================================================
   18. preservation.html#materials用 各色ボタンのグラデーション定義
   ========================================================================== */
#materials .c-btn {
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
}

#materials .c-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#materials .c-btn--lightblue {
  background: linear-gradient(135deg, #3182ce 0%, #1f5fa8 100%);
  color: #fff;
}
#materials .c-btn--lightblue:hover {
  background: linear-gradient(135deg, #4299e1 0%, #2b6cb0 100%);
}

#materials .c-btn--purple {
  background: linear-gradient(135deg, #805ad5 0%, #5a37a8 100%);
  color: #fff;
}
#materials .c-btn--purple:hover {
  background: linear-gradient(135deg, #9f7aea 0%, #6b46c1 100%);
}

#materials .c-btn--brown {
  background: linear-gradient(135deg, #5d4037 0%, #3b2620 100%);
  color: #fff;
}
#materials .c-btn--brown:hover {
  background: linear-gradient(135deg, #795548 0%, #4e342e 100%);
}

#materials .c-btn--amber {
  background: linear-gradient(135deg, #d69e2e 0%, #9e711b 100%);
  color: #fff;
}
#materials .c-btn--amber:hover {
  background: linear-gradient(135deg, #ecc94b 0%, #b7791f 100%);
}

#materials .c-btn--orange {
  background: linear-gradient(135deg, #ed8936 0%, #b85c14 100%);
  color: #fff;
}
#materials .c-btn--orange:hover {
  background: linear-gradient(135deg, #f6ad55 0%, #dd6b20 100%);
}

#materials .c-btn--green {
  background: linear-gradient(135deg, #2f855a 0%, #1c5237 100%);
  color: #fff;
}
#materials .c-btn--green:hover {
  background: linear-gradient(135deg, #38a169 0%, #276749 100%);
}

/* ==========================================================================
   19. 映画詳細ページ共通・個別スタイル (movie/*/*.html)
   ========================================================================== */
.p-detail-container {
  padding: 60px 0;
  background-color: #faf8f5;
}

.movie-haha-theme .p-detail-container {
  background-color: #fbfaf7;
}

.p-detail-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ヘッダーエリア */
.p-detail-header {
  text-align: center;
  margin-bottom: 40px;
}
.p-detail-header__sub {
  font-size: 1.1rem;
  color: #c53030; /* 朱赤 */
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.p-detail-header__title {
  font-size: 2.25rem;
  font-family: var(--font-serif);
  color: #1a365d;
  line-height: 1.4;
  font-weight: 700;
}
.p-detail-header__caption {
  font-size: 0.95rem;
  color: #718096;
  margin-top: 10px;
}

/* 画像プレースホルダー */
.c-image-placeholder {
  width: 100%;
  background-color: #e2e8f0;
  border: 2px dashed #cbd5e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #4a5568;
  margin-bottom: 30px;
  border-radius: 6px;
  padding: 30px;
  text-align: center;
  box-sizing: border-box;
  aspect-ratio: 16 / 9;
}
.c-image-placeholder__icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.c-image-placeholder__text {
  font-size: 1rem;
  font-weight: bold;
}
.c-image-placeholder__sub {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 6px;
}

/* teshigoto.html用のプレースホルダー微調整 */
.movie-haha-theme .c-image-placeholder {
  background-color: #eaddd3;
  border: 2px dashed #bba594;
  color: #8c7361;
  margin-bottom: 20px;
  border-radius: 4px;
  padding: 20px;
}
.movie-haha-theme .c-image-placeholder__icon {
  font-size: 2rem;
  margin-bottom: 8px;
}
.movie-haha-theme .c-image-placeholder__text {
  font-size: 0.9rem;
}
.movie-haha-theme .c-image-placeholder__sub {
  font-size: 0.75rem;
  margin-top: 5px;
}
.movie-haha-theme .c-image-placeholder--main {
  aspect-ratio: 16 / 10;
  margin-bottom: 30px;
}
.movie-haha-theme .c-image-placeholder--landscape {
  aspect-ratio: 16 / 10;
}

/* スペック表 (teshigoto.html) */
.p-detail-specs {
  background-color: #ffffff;
  padding: 20px 24px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid #eee7de;
  margin-bottom: 40px;
}

.p-detail-specs__table {
  width: 100%;
  border-collapse: collapse;
}

.p-detail-specs__table th,
.p-detail-specs__table td {
  padding: 10px 15px;
  font-size: 0.95rem;
  border-bottom: 1px solid #f5ebe0;
}

.p-detail-specs__table th {
  font-weight: bold;
  color: #5c4e43;
  text-align: left;
  width: 120px;
}

.p-detail-specs__table td {
  color: #2b2b2b;
}

.p-detail-specs__table tr:last-child th,
.p-detail-specs__table tr:last-child td {
  border-bottom: none;
}

/* メインコンテンツ (teshigoto.html) */
.p-detail-main__title-block {
  margin-bottom: 30px;
  border-bottom: 2px solid #e0d5c1;
  padding-bottom: 20px;
  text-align: center;
}

.p-detail-main__sub {
  font-size: 1rem;
  color: #8c7361;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.p-detail-main__title {
  font-size: 2rem;
  font-family: var(--font-serif);
  color: #3e2723;
  line-height: 1.4;
  font-weight: 700;
}

.p-detail-main__intro {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #3e2723;
  margin-bottom: 40px;
  font-family: var(--font-serif);
  border-left: 4px solid #8c7361;
  padding-left: 20px;
}

/* イントロ・リード文 (chikaraariya.html, yuuutsu.html) */
.p-detail-lead {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #2d3748;
  margin-bottom: 45px;
  font-family: var(--font-serif);
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #1a365d;
  padding: 25px 30px;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

/* 各種セクション */
.p-detail-section {
  margin-bottom: 50px;
}
.p-detail-section__title {
  font-size: 1.4rem;
  font-family: var(--font-serif);
  color: #1a365d;
  border-bottom: 2px solid #1a365d;
  padding-bottom: 10px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.movie-haha-theme .p-detail-section__title {
  font-size: 1.35rem;
  color: #3e2723;
  border-bottom: 1px solid #8c7361;
}

.movie-haha-theme .p-detail-section__title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 1.2em;
  background-color: #8c7361;
  margin-right: 12px;
}

.p-detail-section__text {
  font-size: 1rem;
  line-height: 1.85;
  color: #2d3748;
  margin-bottom: 20px;
  text-align: justify;
}

.movie-haha-theme .p-detail-section__text {
  font-size: 0.95rem;
}

/* 衣・食・住 のリスト紹介 (teshigoto.html) */
.p-detail-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0;
}

.p-detail-category-card {
  background-color: #ffffff;
  border: 1px solid #eee7de;
  border-radius: 6px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.p-detail-category-card__icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #8c7361;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-serif);
}

.p-detail-category-card__content {
  flex-grow: 1;
}

.p-detail-category-card__title {
  font-size: 1.05rem;
  font-weight: bold;
  color: #3e2723;
  margin-bottom: 8px;
}

.p-detail-category-card__list {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555555;
}

/* 風景画像用のレスポンシブグリッド */
.p-detail-image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

@media (min-width: 576px) {
  .p-detail-image-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* メモリアルボックス (chikaraariya.html) */
.p-detail-memorial {
  background-color: #f7f2eb;
  border: 1px solid #eee7de;
  border-radius: 6px;
  padding: 25px 30px;
  margin: 40px 0;
}
.p-detail-memorial__title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #5c4e43;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.p-detail-memorial__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #4a5568;
}

/* 受賞歴ボックス (yuuutsu.html) */
.p-detail-award {
  background-color: #fffaf0;
  border: 1px solid #feebc8;
  border-radius: 6px;
  padding: 20px 25px;
  margin: 30px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.p-detail-award__title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #dd6b20;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-detail-award__text {
  font-size: 1rem;
  line-height: 1.6;
  color: #7b341e;
  font-weight: bold;
  text-align: center;
}

/* インタビュー対象者リスト（バッジ風デザイン） */
.p-detail-interview {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.p-detail-interview__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}
.p-detail-interview__item {
  background-color: #f7fafc;
  border: 1px solid #e2e8f0;
  color: #4a5568;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* スタッフクレジット */
.p-detail-credits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 25px;
}
@media (min-width: 576px) {
  .p-detail-credits {
    grid-template-columns: 1fr 1fr;
  }
}
.p-detail-credits__box {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.p-detail-credits__title {
  font-weight: bold;
  color: #1a365d;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 8px;
  margin-bottom: 15px;
  font-size: 1.05rem;
}
.p-detail-credits__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-detail-credits__item {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 8px;
  border-bottom: 1px dotted #edf2f7;
  padding-bottom: 6px;
  display: flex;
  justify-content: space-between;
}
.p-detail-credits__item span:first-child {
  font-weight: 600;
  color: #2d3748;
}
.p-detail-credits__item--vertical {
  flex-direction: column;
  align-items: flex-start;
}
.p-detail-credits__item--vertical span:last-child {
  text-align: left;
  line-height: 1.6;
  margin-top: 4px;
}

/* スタッフリスト (teshigoto.html) */
.p-detail-staff-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background-color: #f7f2eb;
  padding: 25px;
  border-radius: 6px;
  border: 1px solid #eee7de;
}

@media (min-width: 576px) {
  .p-detail-staff-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-detail-staff-list__group {
  font-size: 0.85rem;
  line-height: 1.6;
}

.p-detail-staff-list__title {
  font-weight: bold;
  color: #3e2723;
  border-bottom: 1px solid #dcd3c5;
  padding-bottom: 4px;
  margin-bottom: 8px;
}

.p-detail-staff-list__names {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #555555;
}

/* 関連作品紹介枠 (teshigoto.html) */
.p-detail-related-box {
  border: 2px solid #decab5;
  background-color: #fcfbfa;
  border-radius: 6px;
  padding: 25px;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 576px) {
  .p-detail-related-box {
    grid-template-columns: 120px 1fr;
  }
}

.p-detail-related-box__title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #3e2723;
  margin-bottom: 10px;
}

.p-detail-related-box__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #555555;
  margin-bottom: 15px;
}

/* 上映・お問い合わせ */
.p-detail-contact {
  background-color: #eef2f7;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  padding: 35px;
  text-align: center;
  margin-top: 40px;
}
.p-detail-contact__title {
  font-size: 1.3rem;
  font-family: var(--font-serif);
  color: #1a365d;
  margin-bottom: 15px;
}
.p-detail-contact__text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 上映・問合せ (teshigoto.html) */
.p-detail-contact-box {
  background-color: #efebdf;
  border: 1px solid #decab5;
  border-radius: 6px;
  padding: 30px;
  text-align: center;
}

.p-detail-contact-box__title {
  font-size: 1.25rem;
  font-family: var(--font-serif);
  color: #3e2723;
  margin-bottom: 15px;
}

.p-detail-contact-box__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4a3c31;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.p-detail-info-banner {
  background-color: #8c7361;
  color: #ffffff;
  padding: 15px;
  font-weight: bold;
  text-align: center;
  border-radius: 4px;
  margin-bottom: 30px;
  font-size: 1rem;
  line-height: 1.6;
}

/* チラシセクションのスタイル (teshigoto.html, yuuutsu.html) */
.p-detail-flyer-box {
  display: flex;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 24px;
  gap: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  align-items: center;
  margin-top: 20px;
}

.movie-haha-theme .p-detail-flyer-box {
  border-color: #eee7de;
}

.p-detail-flyer-box__image {
  flex-shrink: 0;
  width: 140px;
  border: 1px solid #edf2f7;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-haha-theme .p-detail-flyer-box__image {
  border-color: #f5ebe0;
}

.p-detail-flyer-box__image:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.movie-haha-theme .p-detail-flyer-box__image:hover {
  box-shadow: 0 4px 12px rgba(140, 115, 97, 0.15);
}

.p-detail-flyer-img {
  width: 100%;
  height: auto;
  display: block;
}

.p-detail-flyer-box__content {
  flex-grow: 1;
}

.p-detail-flyer-box__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 15px;
}

.movie-haha-theme .p-detail-flyer-box__text {
  color: #555555;
}

@media (max-width: 576px) {
  .p-detail-flyer-box {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .p-detail-flyer-box__image {
    width: 120px;
    margin: 0 auto;
  }
}

/* メインイメージ表示用スタイル (yuuutsu.html) */
.p-detail-main-image {
  width: 100%;
  margin-bottom: 30px;
  text-align: center;
}

.p-detail-main-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* スペック簡易表示 */
.p-detail-specs-simple {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  font-size: 0.95rem;
  color: #718096;
}

.p-detail-specs-simple span {
  font-weight: 600;
  color: #4a5568;
}


