@charset "UTF-8";

/* ============================================
   Scope: Global Header & Footer (.l-header, .l-footer)
   Theme: Breathing Ink
   Type: FRAME / STRUCTURE
   Status: MIGRATED (extracted)
   MovedTo: /assets/css/frame.css
   Date: 2026-01-02
   Notes:
   - migrates.cssより、全ページ共通の「枠」として分離
   - サイト全体のZ-index（重なり順）の基準となる重要なレイヤー
   - ハンバーガーメニューや追従挙動などJS依存を含むため、クラス変更時は注意
   ============================================ */

/* ============================================
   Scope: Street Layout
   Type: LAYOUT
   Date: 2026-01-10
   ============================================ */

.l-street-layout {
  position: fixed;
  inset: 0;
  z-index: -1; /* コンテンツの最背面 */
  pointer-events: none;
  overflow: hidden;
  opacity: 0.6; /* 全体の存在感を調整 */
  mix-blend-mode: multiply; /* 背景色に馴染ませる */
}

.c-ink-street {
  width: 100%;
  height: 100%;
  /* 縦に少し引き伸ばして配置 */
  transform: scaleY(1.1);
}

/* --- Echo Path (背景のゆらぎ) --- */
.c-ink-street__echo {
  fill: none;
  stroke: url(#street-grad); /* グラデーション適用 */
  stroke-width: 40; /* かなり太く、面として見せる */
  opacity: 0.3;
  vector-effect: non-scaling-stroke;
  /* ゆらぎアニメーション */
  animation: ink-breathe 20s ease-in-out infinite alternate;
}

/* --- Main Path (描画される道) --- */
.c-ink-street__main {
  fill: none;
  stroke: #e0dcd0; /* ほんのり濃いグレージュ */
  stroke-width: 18;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;

  /* Scroll Drawing Setup */
  stroke-dasharray: 1000; /* JSで正確な長さに上書き */
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 0.1s linear; /* スクロール追従を滑らかに */
}

/* Breathing Animation (微細な変形) */
@keyframes ink-breathe {
  0% {
    transform: translateX(-2%) scaleX(1);
  }
  100% {
    transform: translateX(2%) scaleX(1.05);
  }
}

/* SP調整: スマホでは道を少し細く、中央寄りに */
@media (max-width: 768px) {
  .c-ink-street__echo {
    stroke-width: 60;
    opacity: 0.2;
  }
  .c-ink-street__main {
    stroke-width: 12;
  }
}

/* ============================================
   Scope: .l-header
   Type: LAYOUT
   Date: 2025-01-02
   ============================================ */

.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0; /* Wrapper height remains 0 to not block clicks outside capsule */
  z-index: 9000;
  pointer-events: none;
  display: flex; /* New: Use flexbox for centering */
  justify-content: center; /* New: Center horizontally */
}

/* Glass Capsule (PC) */
.c-glass-capsule {
  pointer-events: auto;
  /* Removed: position: fixed, top, left, transform */
  /* New: Use margin for positioning */
  margin-top: 24px;

  width: 94%;
  max-width: 1280px;
  height: 72px;

  /* 初期状態: 透明度高め (Hero内) */
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Scrolled State: 不透明度アップ (Hero外) */
.l-header.is-scrolled .c-glass-capsule {
  margin-top: 12px; /* Changed from top: 12px */
  height: 64px;
  background: rgba(255, 255, 255, 0.95); /* ほぼ不透明 */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Logo */
.c-glass-capsule__brand img {
  display: block;
  width: 140px;
  height: auto;
  transition: opacity 0.3s;
}
.c-glass-capsule__brand:hover img {
  opacity: 0.7;
}
@media (min-width: 1024px) {
  .c-glass-capsule__brand img {
    width: 180px;
  }
}

/* PC Nav */
.c-glass-capsule__nav {
  display: none;
  @media (min-width: 1024px) {
    display: block;
    margin: 0 auto;
  }
}
.c-capsule-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.c-capsule-menu a {
  text-decoration: none;
  color: var(--c-ink, #141311);
  font-family: var(--ff-serif, serif);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.3s;
  padding: 4px 0;
  /* 透明度が高い時でも文字が読めるように極薄のシャドウを入れる */
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}
.c-capsule-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-accent, #b33a2b);
  transition: transform 0.3s;
}
.c-capsule-menu a:hover {
  color: var(--c-accent, #b33a2b);
}
.c-capsule-menu a:hover::after {
  transform: translateX(-50%) scale(1);
}

/* Tools */
.c-glass-capsule__tools {
  display: flex;
  align-items: center;
  gap: 16px;
}
.c-capsule-cta {
  display: none;
  @media (min-width: 1024px) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-ink, #141311);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: all 0.3s;
  }
}
.c-capsule-cta:hover {
  background: var(--c-accent, #b33a2b);
  transform: translateY(-1px);
}

/* SP Trigger */
.c-kamon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 11000;
  @media (min-width: 1024px) {
    display: none;
  }
}
.c-kamon-btn__box {
  width: 24px;
  height: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.c-kamon-btn__line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--c-ink, #141311);
  transition: all 0.4s;
  border-radius: 2px;
}
.c-kamon-btn[aria-expanded="true"] .c-kamon-btn__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.c-kamon-btn[aria-expanded="true"] .c-kamon-btn__line:nth-child(2) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- SP Menu (Style from v3) --- */

.c-sp-menu {
  position: fixed;
  inset: 0;
  z-index: 10000;
  visibility: hidden;
  transition: visibility 0s 0.3s;
  pointer-events: none;
}
.c-sp-menu[aria-hidden="false"] {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s 0s;
}
.c-sp-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.c-sp-menu[aria-hidden="false"] .c-sp-menu__backdrop {
  opacity: 1;
}
.c-sp-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 400px;
  background: #fbfaf7;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}
.c-sp-menu[aria-hidden="false"] .c-sp-menu__panel {
  transform: translateX(0);
}

.c-sp-menu__header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}
.c-sp-close-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}
.c-sp-close-btn__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
}
.c-sp-close-btn__icon::before,
.c-sp-close-btn__icon::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-ink, #141311);
  transform: rotate(45deg);
}
.c-sp-close-btn__icon::after {
  transform: rotate(-45deg);
}
.c-sp-menu__scroll {
  flex: 1;
  overflow-y: auto;
}
.c-sp-menu__inner {
  padding: 32px 24px 60px;
}
.c-sp-heading {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 16px;
  font-weight: 700;
}
.c-sp-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}
.c-sp-list li {
  margin-bottom: 16px;
}
.c-sp-list a {
  display: block;
  font-family: var(--ff-serif, serif);
  font-size: 1.5rem;
  color: var(--c-ink, #141311);
  text-decoration: none;
  font-weight: 500;
}
.c-sp-banner-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.c-sp-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: var(--c-ink);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}
.c-sp-banner__icon {
  font-size: 1.5rem;
}
.c-sp-banner__text strong {
  font-size: 0.9375rem;
  display: block;
}
.c-sp-banner__text small {
  font-size: 0.75rem;
  color: #888;
}
.c-sp-util-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.c-sp-util-list a {
  font-size: 0.875rem;
  color: #666;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 8px 0;
  display: block;
}
.c-sp-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: var(--c-ink);
  color: #fff;
  text-decoration: none;
  border-radius: 9999px;
  font-weight: 600;
}
.c-sp-cta-note {
  text-align: center;
  margin-top: 12px;
  font-size: 0.75rem;
  color: #888;
}

/* ============================================
   Scope: Breadcrumbs Fusion (カプセル型パンくず)
   Type: COMPONENT
   Date: 2026-01-17
   Notes:
   - ヒーロー直下に配置するカプセル型パンくず
   - 左端から伸びるラインとカプセルの融合デザイン
   ============================================ */

.c-breadcrumbs-fusion {
  position: relative;
  width: 100%;
  z-index: 20;
  margin-top: -30px;
  pointer-events: none;
  overflow: hidden;
}

.c-breadcrumbs-fusion__container {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 20px;
}

.c-breadcrumbs-fusion__container::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 100vw;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--c-gold, #c5a059) 40%
  );
  opacity: 0.6;
  margin-right: -30px;
  z-index: -1;
}

.c-breadcrumbs-fusion__capsule {
  position: relative;
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.98);
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.12);
  padding: 8px 24px;
  pointer-events: auto;
}

.c-breadcrumbs-fusion__capsule::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background-color: var(--c-gold, #c5a059);
  border-radius: 50%;
  opacity: 0.8;
}

.c-breadcrumbs-fusion__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8em;
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding-left: 8px;
}

.c-breadcrumbs-fusion__item {
  display: flex;
  align-items: center;
  color: var(--c-muted, #999);
}

.c-breadcrumbs-fusion__item:not(:last-child)::after {
  content: ">";
  margin-left: 0.8em;
  color: var(--c-gold, #c5a059);
  opacity: 0.7;
  font-size: 0.9em;
}

.c-breadcrumbs-fusion__link {
  color: var(--c-muted, #777);
  text-decoration: none;
  transition: color 0.3s;
}

.c-breadcrumbs-fusion__link:hover {
  color: var(--c-gold, #c5a059);
}

.c-breadcrumbs-fusion__current {
  color: var(--c-text, #333);
  font-weight: 500;
}

/* --- SP対応（PC非表示、フッター前に別表示） --- */
@media (max-width: 768px) {
  .c-breadcrumbs-fusion {
    display: none;
  }
}

/* ============================================
   Hero Split Section (.s-hero-split--lowpage)
   下層ページ共通ヒーロー
   Date: 2026-01-18
   ============================================ */

.s-hero-split--lowpage {
  position: relative;
  width: 100%;
  min-height: 520px;
  padding-top: 120px;
  padding-bottom: 100px;
  display: flex;
  align-items: center;
  overflow: visible;
  background: linear-gradient(180deg, #faf9f7 0%, var(--c-bg) 100%);
  margin-bottom: var(--s-8);
}

/* --- 流線SVG --- */
.s-hero-split--lowpage .s-hero-split__flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}

.s-hero-split--lowpage .s-hero-split__flow-path {
  opacity: 0.8;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: heroFlowDraw 2.5s ease-out forwards;
}

.s-hero-split--lowpage .s-hero-split__flow-path--2 {
  animation-delay: 0.3s;
}

@keyframes heroFlowDraw {
  from {
    stroke-dashoffset: 2000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* --- 蝶 --- */
.s-hero-split--lowpage .s-hero-split__butterfly {
  position: absolute;
  top: 80px;
  left: 5%;
  z-index: 5;
  pointer-events: none;
}

.s-hero-split--lowpage .s-hero-split__butterfly-img {
  width: 250px;
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
  animation: heroButterfly 1.5s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes heroButterfly {
  from {
    opacity: 0;
    transform: translate(0px, -50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

/* --- コンテナ --- */
.s-hero-split--lowpage .s-hero-split__container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 50fr 50fr;
  gap: var(--s-8);
  align-items: center;
}

/* --- テキスト --- */
.s-hero-split--lowpage .s-hero-split__text {
  position: relative;
  padding-top: 160px;
  padding-left: 20px;
  opacity: 0;
  animation: heroFadeIn 0.8s ease-out forwards;
  animation-delay: 0.6s;
}

.s-hero-split--lowpage .s-hero-split__title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: var(--s-4);
}

.s-hero-split--lowpage .s-hero-split__title-line {
  display: block;
}

.s-hero-split--lowpage .s-hero-split__lead {
  font-size: 1rem;
  color: var(--c-muted);
  line-height: 2;
  padding-left: var(--s-4);
  border-left: 2px solid var(--c-gold);
}

/* --- ビジュアル --- */
.s-hero-split--lowpage .s-hero-split__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: heroSlideUp 1s ease-out forwards;
  animation-delay: 0.3s;
}

.s-hero-split--lowpage .s-hero-split__ink {
  width: 85%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
  z-index: 5;
}

.s-hero-split--lowpage .s-hero-split__stamp {
  position: absolute;
  bottom: 5%;
  right: 15%;
  width: 50px;
  height: auto;
  z-index: 6;
  opacity: 0.9;
}

/* --- Footer --- */
.s-hero-split--lowpage .s-hero-split__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 15;
  pointer-events: none;
}

.s-hero-split--lowpage .s-hero-split__horizon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--s-6);
}

.s-hero-split--lowpage .s-hero-split__horizon-line {
  flex-grow: 0.1;
  height: 1px;
  background: var(--c-gold);
  opacity: 0.3;
}

.s-hero-split--lowpage .s-hero-split__horizon-diamond {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--c-gold);
  transform: rotate(45deg);
  margin: 0 var(--s-4);
}

/* --- アニメーション定義 --- */
@keyframes heroFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* ============================================
   SP向けレスポンシブ（2コンテナレイアウト）
   - コンテナA: 筆文字+ハンコ
   - コンテナB: 蝶+H1+リード（40svhから開始）
   ============================================ */
@media (max-width: 768px) {
  .s-hero-split--lowpage {
    min-height: 70vh;
    min-height: 70svh;
    padding-top: 60px;
    padding-bottom: 0;
    overflow: hidden;
  }

  .s-hero-split--lowpage .s-hero-split__container {
    display: block;
    position: relative;
    min-height: calc(70vh - 60px);
    min-height: calc(70svh - 60px);
  }

  .s-hero-split--lowpage .s-hero-split__flow {
    opacity: 0.6;
  }

  /* コンテナA: 筆文字 + ハンコ */
  .s-hero-split--lowpage .s-hero-split__visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: auto;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 15px;
    padding-right: 0;
    opacity: 0;
    animation: heroSlideInSP 1.2s ease-out forwards;
    animation-delay: 0.2s;
    z-index: 5;
  }

  .s-hero-split--lowpage .s-hero-split__ink {
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
    opacity: 1;
  }

  .s-hero-split--lowpage .s-hero-split__stamp {
    display: none;
  }

  /* コンテナB: 蝶 + H1 + リード */
  .s-hero-split--lowpage .s-hero-split__text {
    position: absolute;
    top: 30vh;
    top: 30svh;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0 20px;
    animation: heroFadeIn 0.8s ease-out forwards;
    animation-delay: 0.4s;
  }

  .s-hero-split--lowpage .s-hero-split__butterfly {
    top: calc(30vh - 70px);
    top: calc(30svh - 70px);
    left: 5%;
    right: auto;
    bottom: auto;
    z-index: 15;
  }

  .s-hero-split--lowpage .s-hero-split__butterfly-img {
    width: 110px;
    animation: heroButterflySP 1.5s ease-out forwards;
    animation-delay: 0.3s;
  }

  .s-hero-split--lowpage .s-hero-split__title {
    font-size: 1.4rem;
    line-height: 1.45;
    margin-bottom: 0.8rem;
    text-shadow:
      -1px -1px 0 rgba(255, 255, 255, 0.95),
      1px -1px 0 rgba(255, 255, 255, 0.95),
      -1px 1px 0 rgba(255, 255, 255, 0.95),
      1px 1px 0 rgba(255, 255, 255, 0.95),
      -2px 0 0 rgba(255, 255, 255, 0.9),
      2px 0 0 rgba(255, 255, 255, 0.9),
      0 -2px 0 rgba(255, 255, 255, 0.9),
      0 2px 0 rgba(255, 255, 255, 0.9),
      0 0 6px rgba(255, 255, 255, 1),
      0 0 12px rgba(255, 255, 255, 0.8);
  }

  .s-hero-split--lowpage .s-hero-split__title-line {
    display: block;
  }

  .s-hero-split--lowpage .s-hero-split__lead {
    font-size: 0.85rem;
    line-height: 1.65;
    max-width: 85%;
    background: none;
    padding: 0 0 0 12px;
    border-radius: 0;
    border-left: 2px solid var(--c-gold);
    text-shadow:
      0 0 3px rgba(255, 255, 255, 1),
      0 0 6px rgba(255, 255, 255, 0.95),
      0 0 10px rgba(255, 255, 255, 0.9);
  }

  .s-hero-split--lowpage .s-hero-split__lead br {
    display: none;
  }

  @keyframes heroButterflySP {
    from {
      opacity: 0;
      transform: translate(-20px, -20px) scale(0.8);
    }
    to {
      opacity: 1;
      transform: translate(0, 0) scale(1);
    }
  }

  @keyframes heroSlideInSP {
    from {
      opacity: 0;
      transform: translateX(30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
}

/* --- アクセシビリティ --- */
@media (prefers-reduced-motion: reduce) {
  .s-hero-split--lowpage .s-hero-split__flow-path,
  .s-hero-split--lowpage .s-hero-split__butterfly-img,
  .s-hero-split--lowpage .s-hero-split__text,
  .s-hero-split--lowpage .s-hero-split__visual {
    animation: none;
    opacity: 1;
  }

  .s-hero-split--lowpage .s-hero-split__butterfly-img {
    opacity: 0.85;
  }

  .s-hero-split--lowpage .s-hero-split__flow-path {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}

/* ============================================
   Column Page Styles
   - コンパクトヒーロー
   - 記事一覧カード
   - 個別記事 + サイドバー（2カラム）
   - 前後記事ナビゲーション
   ============================================ */

/* ============================================
   Compact Hero (hero-compact.php)
   ============================================ */

.s-hero-compact {
  position: relative;
  width: 100%;
  padding-top: clamp(80px, 10vw, 100px);
  padding-bottom: clamp(16px, 3vw, 24px);
  overflow: hidden;
  min-height: 140px;
}

/* ベース背景 */
.s-hero-compact__bg-base {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(250, 249, 247, 1) 0%,
    var(--c-bg) 100%
  );
  z-index: 0;
}

/* ウェーブSVG背景 */
.s-hero-compact__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.s-hero-compact__flow {
  position: absolute;
  bottom: -40%; /* viewBox拡張に合わせて波の位置を上げるため微調整 */
  left: 0;
  width: 100%;
  height: 160%; /* viewBoxのY幅が増えた分、高さを広げて比率を相殺 */
  transform: scaleY(0.7);
}

.s-hero-compact__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  align-items: center;
  position: relative;
  z-index: 10;
}

/* PC：6:4の2カラム分割 */
@media (min-width: 900px) {
  .s-hero-compact__layout {
    grid-template-columns: 3fr 2fr;
    gap: var(--s-6);
  }
}

/* テキストエリア */
.s-hero-compact__text {
  opacity: 0;
  animation: heroCompactFadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.s-hero-compact__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.3;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.s-hero-compact__title-line {
  display: block;
}

/* アンダーライン装飾 */
.s-hero-compact__underline {
  width: 50px;
  height: 2px;
  background: var(--c-gold);
  margin: var(--s-2) 0 var(--s-3);
  border-radius: 2px;
  position: relative;
}
.s-hero-compact__underline::after {
  content: "";
  position: absolute;
  top: 0;
  left: 55px;
  width: 12px;
  height: 2px;
  background: var(--c-gold);
  border-radius: 2px;
  opacity: 0.6;
}

.s-hero-compact__lead {
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.6;
  letter-spacing: 0.05em;
  max-width: 500px;
  margin-bottom: 0;
}

/* ビジュアルエリア（墨画像＋スタンプ） */
.s-hero-compact__visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: heroCompactFadeInRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s
    forwards;
}

/* 筆文字画像 (通常表示) */
.s-hero-compact__ink {
  width: 100%;
  max-width: 140px;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
}

/* 角印スタンプ (傾き解除) */
.s-hero-compact__stamp {
  position: absolute;
  bottom: -5px;
  right: 15%;
  width: 35px;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(1px 1px 2px rgba(160, 58, 53, 0.1));
}

/* SPでのビジュアル縮小調整 */
@media (max-width: 899px) {
  .s-hero-compact {
    padding-top: clamp(100px, 15vw, 130px);
  }
  .s-hero-compact__layout {
    grid-template-columns: 1fr;
    gap: var(--s-2);
  }
  .s-hero-compact__visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3 !important; /* SPではうっすら背景として残す */
    z-index: -1;
  }
  .s-hero-compact__text {
    position: relative;
    z-index: 2;
  }
  .s-hero-compact__ink {
    max-width: 100px;
  }
  .s-hero-compact__stamp {
    width: 25px;
    right: 5%;
    bottom: -5px;
  }
}

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

@keyframes heroCompactFadeInRight {
  from {
    opacity: 0;
    transform: translateX(15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================================
   Global Footer & CTA Styles 
   Integrated from v10 components
   ========================================= */

/* =========================================
   v10 Footer CTA — Typography & Spacing Polish
   ========================================= */

/* ============================================
   1) Trust Marquee
   ============================================ */

.s-cta-closing__trust {
  background: #f0ebe5;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 12px 0;
  margin-bottom: var(--s-7);
  overflow: hidden;
}

.c-marquee {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-4);
}

.c-marquee__label {
  position: relative;
  flex: 0 0 auto;
  white-space: nowrap;

  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--c-ink);
}

.c-marquee__label::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: var(--s-4);
  vertical-align: middle;
  background: var(--c-border);
}

.c-marquee__track {
  position: relative;
  flex: 1;
  overflow: hidden;

  /* fade edges (Safari含む) */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}

.c-marquee__content {
  display: flex;
  gap: var(--s-6);
  white-space: nowrap;
  animation: marquee-scroll 40s linear infinite;
}

.c-marquee__content span {
  font-family: var(--ff-serif);
  font-size: 0.9375rem;
  color: var(--c-muted);
}

.c-marquee__link {
  flex: 0 0 auto;
  white-space: nowrap;

  font-size: 0.75rem;
  color: var(--c-link);
  text-decoration: none;
}

.c-marquee__link:focus-visible {
  outline: 2px solid rgba(197, 160, 89, 0.7);
  outline-offset: 4px;
  border-radius: 6px;
}

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

.s-footer-cta {
  position: relative;
  overflow: hidden; /* 横スクロールを完全に防ぐ */
}

/* ★ v10: ダイナミックな巨大筆文字透かし */
/* CTAカード（l-container 中央寄せ）の左端に半分かかる位置を維持 */
/* calc(50% - コンテナ半幅 - ウォーターマーク幅の半分) で常に相対位置を保つ */
.s-footer-cta__huge-ink {
  position: absolute;
  top: 80px;
  left: calc(
    50% - 600px - 50px
  ); /* 50%=中央, 600px=コンテナ半幅, 50px=カード左端からのオフセット */
  width: 500px;
  height: 500px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left top;
  opacity: 0.08; /* 薄い墨の色 */
  mix-blend-mode: multiply; /* 白背景に対して自然な墨の乗算ブレンド */
  pointer-events: none;
  z-index: 100; /* コンテンツの下 */
}

/* --- Trust Bar Wrapper --- */
.s-footer-cta__trust-wrap {
  position: relative;
  z-index: 10;
  padding-bottom: var(--s-10);
}

.s-footer-cta__trust {
  background: linear-gradient(
    to right,
    rgba(197, 160, 89, 0.08),
    rgba(197, 160, 89, 0.02)
  );
  border-top: 2px solid var(--c-gold);
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  padding: var(--s-4) 0;
  /* margin: 0 calc(var(--l-gutter) * -1); コンテナ内にないため不要（横スクロール原因を排除） */
}

.s-footer-cta__trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-4);
  display: flex;
  align-items: center;
  gap: var(--s-6);
}

.s-footer-cta__trust-label {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-gold-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.s-footer-cta__trust-label i {
  color: var(--c-gold);
  font-size: 1.2rem;
}

.s-footer-cta__trust .c-marquee {
  flex: 1;
  min-width: 0;
}

.s-footer-cta__trust .c-marquee__content span {
  color: var(--c-text-main);
  font-size: 0.85rem;
  font-weight: 500;
}

.s-footer-cta__trust-link {
  font-size: 0.82rem;
  color: var(--c-gold-dark);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  padding: var(--s-2) var(--s-4);
  background: #fff;
  border: 1px solid var(--c-gold);
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.15);
  transition: all 0.2s;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--s-1);
}

.s-footer-cta__trust-link i {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.s-footer-cta__trust-link:hover {
  background: var(--c-gold);
  color: #fff;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

.s-footer-cta__trust-link:hover i {
  transform: translateX(3px);
}

/* --- Floating CTA Card (Light Mode) --- */
.s-footer-cta__card {
  position: relative;
  /* 白をベースにほんのり温かみのある背景 */
  background: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.2); /* 薄いゴールドの枠線 */
  color: var(--c-text-main); /* 濃い文字色に変更 */
  border-radius: clamp(16px, 3vw, 24px);
  padding: clamp(40px, 8vw, 80px) clamp(24px, 5vw, 64px);
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.05),
    0 4px 15px rgba(197, 160, 89, 0.05); /* 柔らかい影 */
}

/* 和紙テクスチャ（少しだけ） */
.s-footer-cta__tex {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

/* 新規画像ブレンド（白背景への透過） */
.s-footer-cta__img {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 55%; /* カードの左半分ちょっとを覆う */
  background-size: cover;
  background-position: center;

  /* 左から右へ透過させるマスクグラデーション */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 80%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 80%
  );

  /* 明るい印象を重視し、透明度は自然な程度に */
  opacity: 0.85;

  pointer-events: none;
  z-index: 1;
}

/* --- コンテンツエリア --- */
.s-footer-cta__inner {
  position: relative;
  z-index: 5; /* テクスチャ等より上に */
}

.s-footer-cta__box {
  display: flex;
  align-items: center; /* 縦方向の中央揃え */
  justify-content: space-between; /* 左右に広げる */
  gap: clamp(40px, 6vw, 80px);
  max-width: 960px; /* 塊全体が間延びしないように最大幅を設定 */
  margin: 0 auto; /* カード内で中央揃え */
}

/* テキスト（左） */
.s-footer-cta__text {
  flex: 1; /* 余白を埋めつつ、不自然な改行を防ぐ余裕をもたせる */
  min-width: 0;
}

.s-footer-cta__title {
  font-family: var(--ff-serif);
  font-size: 2.6rem; /* 少し大きくし、威厳を出す */
  margin-bottom: var(--s-5);
  letter-spacing: 0.1em;
  color: var(--c-ink); /* 濃い色（墨色） */
}

.s-footer-cta__lead {
  font-size: 1.05rem;
  line-height: 2.2;
  color: var(--c-text-main);
  opacity: 0.9;
}

/* アクション（右） */
.s-footer-cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  width: 100%;
  max-width: 360px; /* ボタンが太りすぎないように制限 */
  flex-shrink: 0; /* 縮まないようにする */
}

.s-footer-cta__btn-gold {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: calc(var(--s-5) + 4px) var(--s-6);
  border-radius: var(--r-md);
  text-decoration: none;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #d4b06a 0%,
    #c5a059 30%,
    #b8924a 70%,
    #d4b06a 100%
  );
  color: #fff;
  box-shadow:
    0 8px 24px rgba(197, 160, 89, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition:
    transform 0.3s cubic-bezier(0.2, 0, 0, 1),
    box-shadow 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.s-footer-cta__btn-gold:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(197, 160, 89, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ホバー時のシマー（光沢アニメ） */
.s-footer-cta__btn-gold-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
}

.s-footer-cta__btn-gold:hover .s-footer-cta__btn-gold-shine {
  left: 120%;
}

.s-footer-cta__btn-gold i {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.s-footer-cta__btn-gold-main {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.s-footer-cta__btn-gold-sub {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Phone (Light Mode) */
.s-footer-cta__phone {
  text-align: center;
  padding: calc(var(--s-4) + 2px) var(--s-6);
  background: #faf8f4; /* ほんのりベージュ */
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: var(--r-md);
}

.s-footer-cta__phone-label {
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-bottom: var(--s-1);
}

.s-footer-cta__phone-number {
  font-family: var(--ff-serif);
  font-size: 2.3rem;
  color: var(--c-ink);
  text-decoration: none;
  display: block;
  line-height: 1;
  margin-bottom: var(--s-1);
}

.s-footer-cta__phone-meta {
  font-size: 0.8rem;
  color: var(--c-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .s-footer-cta__box {
    flex-direction: column;
    text-align: left;
  }
  .s-footer-cta__actions {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .s-footer-cta__card {
    padding: clamp(32px, 6vw, 40px) clamp(20px, 4vw, 32px);
  }
  .s-footer-cta__img {
    width: 60%;
    opacity: 0.3; /* SPでは少し薄くしてテキストの可読性を上げる */
  }
  .s-footer-cta__title {
    font-size: 1.8rem;
    margin-bottom: var(--s-3);
  }
  .s-footer-cta__lead {
    font-size: 0.95rem;
    line-height: 1.8;
  }
  .s-footer-cta__phone-number {
    font-size: 1.8rem;
  }
  .s-footer-cta__trust-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--s-2) var(--s-3);
  }
  /* ラベルとリンクを1行目に、マーキーを2行目全幅に */
  .s-footer-cta__trust-label {
    font-size: 0.8rem;
  }
  .s-footer-cta__trust .c-marquee {
    order: 3;
    flex: 0 0 100%;
    min-width: 0;
  }
  .s-footer-cta__trust-wrap {
    padding-bottom: var(--s-6);
  }
  .s-footer-cta__trust {
    border-top: 1px solid var(--c-gold);
  }
  /* スマホ時は可読性を優先し、巨大透かしを非表示にする */
  .s-footer-cta__huge-ink {
    display: none;
  }
}

/* =========================================
   v10 Footer — Sumi (Ink) Base & Polished Details
   ========================================= */

/* ===== Layer B: Info (cards) ===== */
.l-footer__info {
  background: #faf8f4;
  padding: var(--s-10) 0;
}

.l-footer__info-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
}

.l-footer__card {
  border-radius: var(--r-md);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: var(--s-6) var(--s-8) var(--s-6);
  position: relative;
  overflow: hidden;
}

/* 差分: お知らせはクリーンな白 */
.l-footer__card--news {
  background: #fff;
}

/* 差分: コラムはほんのり温かい和紙色とテクスチャ */
.l-footer__card--column {
  background: #fdfbf7;
}

.l-footer__card-tex {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.l-footer__card-inner {
  position: relative;
  z-index: 2;
}

.l-footer__card-title {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  color: var(--c-ink);
  margin-bottom: var(--s-4);
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding-bottom: var(--s-3);
  border-bottom: 3px solid var(--c-gold);
}

.l-footer__card-icon {
  color: var(--c-gold);
  font-size: 1rem;
}

.l-footer__card-title small {
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  color: var(--c-muted);
  letter-spacing: 0.12em;
  margin-left: auto;
}

.c-news {
  display: flex;
  flex-direction: column;
}

.c-news__item {
  display: flex;
  gap: var(--s-4);
  align-items: baseline;
  padding: var(--s-3) 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.c-news__item:last-child {
  border-bottom: none;
}

.c-news__date {
  font-family: var(--ff-serif);
  font-size: 0.78rem;
  color: var(--c-gold-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.c-news__text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--c-text-main);
}

.c-more {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-3);
  font-size: 0.82rem;
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.c-more:hover {
  color: var(--c-gold-dark);
}

/* --- NEWバッジ（グローバル：フッターlatest_news.phpでも使用） --- */
.c-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 3px 8px;
  border-radius: 9999px;
}

.c-badge--new {
  background: var(--c-accent);
  color: #fff;
}

.l-footer__column-wrap .c-latest-articles__heading {
  display: none;
}

/* ===== Layer C: Sitemap ===== */
.l-footer__sitemap {
  background: #fdfcfa;
  padding: var(--s-10) 0 var(--s-8);
  border-top: 1px solid var(--c-gold-light-2); /* メリハリのボーダー追加 */
}

.l-footer__sitemap-heading {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  color: var(--c-ink);
  padding-bottom: var(--s-3);
  border-bottom: 3px solid var(--c-gold);
  margin-bottom: var(--s-6);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.l-footer__sitemap-heading small {
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  color: var(--c-muted);
  letter-spacing: 0.12em;
}

.c-sitemap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s-8);
}

.c-sitemap__group-title {
  font-size: 0.85rem;
  color: var(--c-muted);
  padding-bottom: var(--s-2);
  margin-bottom: var(--s-3);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.c-sitemap__links {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.c-sitemap__links--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-1) var(--s-6);
}

.c-sitemap__col {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.c-sitemap__link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-1) 0;
  color: var(--c-ink);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.8;
  position: relative;
  transition: color 0.2s;
  width: fit-content;
}

.c-sitemap__link i {
  color: var(--c-gold);
  width: 18px;
  text-align: center;
  font-size: 0.85rem;
  transition: transform 0.2s;
}

.c-sitemap__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--c-gold);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.c-sitemap__link:hover {
  color: var(--c-gold-dark);
}

.c-sitemap__link:hover::after {
  width: 100%;
}

.c-sitemap__link:hover i {
  transform: scale(1.15);
}

.c-sitemap__link.is-highlight {
  font-weight: 600;
  color: var(--c-gold-dark);
}
.c-sitemap__link.is-highlight::after {
  width: 100%;
}

/* ===== Layer D: Base (Sumi) ===== */
.l-footer__base {
  position: relative;
  background: linear-gradient(180deg, #1f1d1b 0%, #111111 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--s-10) 0 0;
  border-top: 1px solid rgba(197, 160, 89, 0.4);
}

.l-footer__base-tex {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.l-footer__base-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-8);
}

.l-footer__identity {
  display: flex;
  flex-direction: column;
  gap: var(--s-5); /* 少しだけ余白を広げる */
}

.l-footer__logo {
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* DL List for Address Semantics */
.l-footer__address {
  font-size: 0.82rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: var(--s-2); /* user request margin-bottom converted to gap */
}

.l-footer__address-row {
  display: flex;
  align-items: flex-start;
}

.l-footer__address dt {
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  width: 68px;
  font-weight: normal;
}

.l-footer__address dd {
  margin: 0;
}

/* Banners */
.l-footer__banners {
  flex-shrink: 0;
  width: 100%;
  max-width: 460px;
}

.c-banner-pair {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.c-banner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: var(--r-sm);
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.3s;
}

.c-banner:hover {
  background: rgba(255, 255, 255, 0.05);
}

.c-banner__bg {
  width: 130px;
  height: 90px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  position: relative;
}

.c-banner__bg::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 30px;
  background: linear-gradient(to right, transparent, rgba(31, 29, 27, 1));
}

.c-banner__label {
  padding: var(--s-3) var(--s-4) var(--s-3) var(--s-3);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  position: relative;
}

.c-banner__cat {
  font-size: 0.65rem;
  color: var(--c-gold);
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 2px;
}

.c-banner__title {
  font-size: 0.95rem;
  font-family: var(--ff-serif);
  margin-bottom: 4px;
}

.c-banner__desc {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

.c-banner__label i {
  position: absolute;
  top: var(--s-3);
  right: var(--s-4);
  font-size: 0.65rem;
  opacity: 0.4;
}

/* Bottom / Legal */
.l-footer__bottom {
  position: relative;
  z-index: 2;
  margin-top: var(--s-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--s-4) 0;
}

.l-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.l-footer__legal {
  display: flex;
  gap: var(--s-3);
  align-items: center;
}

.l-footer__legal a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.l-footer__legal a:hover {
  color: var(--c-gold);
}

.l-footer__sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
}

.l-footer__copyright {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--ff-serif);
}

/* Page Top */
.c-pagetop-ink {
  position: absolute;
  top: -24px;
  right: 5%;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #d4b06a, #c5a059);
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  z-index: 100;
}

.c-pagetop-ink:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .c-sitemap {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6) var(--s-8);
  }
  .c-sitemap__group--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  /* Layer B: Info & Column Cards */
  .l-footer__info {
    padding: var(--s-6) 0;
  }
  .l-footer__info-inner {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .l-footer__card {
    padding: var(--s-5) var(--s-5); /* reduce padding */
  }
  .l-footer__card-title {
    font-size: 1.05rem;
    padding-bottom: var(--s-2);
  }
  /* News items vertical stacking for better mobile readability */
  .c-news__item {
    flex-direction: column;
    gap: 4px; /* small gap between date and text */
    align-items: flex-start;
  }
  .c-news__date {
    font-size: 0.72rem;
  }

  /* Layer C: Sitemap */
  .l-footer__sitemap {
    padding: var(--s-6) 0;
  }
  .c-sitemap {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .c-sitemap__group--wide {
    grid-column: auto;
  }
  .c-sitemap__group-title {
    background: #f4eadf; /* ほんのり色をつけてセクションを区切る */
    padding: var(--s-2) var(--s-3);
    border-radius: var(--r-sm);
    margin-bottom: var(--s-3);
    color: var(--c-gold-dark);
  }

  /* Make all sitemap links 2 columns on mobile for compactness */
  .c-sitemap__links,
  .c-sitemap__links--2col {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-2) var(--s-3);
  }
  .c-sitemap__link {
    font-size: 0.85rem;
    line-height: 1.4;
    align-items: flex-start; /* in case it wraps */
  }
  .c-sitemap__link i {
    margin-top: 3px; /* align icon with first line if wrapped */
  }

  /* Layer D: Base */
  .l-footer__base {
    padding: var(--s-8) 0 0;
  }
  .l-footer__base-inner {
    flex-direction: column;
    gap: var(--s-6);
  }
  .l-footer__banners {
    max-width: 100%;
  }
  .c-banner__bg {
    width: 100px;
    height: 80px;
  }
  .c-banner__title {
    font-size: 0.9rem;
  }
  .c-banner__desc {
    font-size: 0.7rem;
    line-height: 1.3;
  }
  .l-footer__bottom-inner {
    flex-direction: column;
    gap: var(--s-3);
    text-align: center;
  }
  .l-footer__legal {
    flex-wrap: wrap; /* allow wrapping on very small screens */
    justify-content: center;
    gap: var(--s-2) var(--s-4);
  }
  .l-footer__sep {
    display: none; /* hide separators on mobile since items wrap */
  }
}
