/* やまなし文化学習協会 トップページ */

:root {
  --color-text: #2a2a2a;
  --color-muted: #5c5c5c;
  --color-white: #ffffff;
  --color-line: #e6e6e6;
  --bg-page: #ffffff;
  --bg-section-gray: #f6f6f8;
  --bg-section-lavender: #f4f5fb;
  --footer-bg: #2b2321;
  --header-border: #ebebeb;
  --cat-blue: #2e6fb1;
  /* モックのアクセントオレンジ（ホール帯・イベントタグ等） */
  --accent-orange: #ebb700;
  --cat-yellow: #f7931e;
  --cat-teal: #2ea0a0;
  --cat-pink: #e60044;
  /* ぴゅあ総合バッジ・イベントタグ（生涯学習帯の --cat-pink とは別） */
  --pure-sogo-brand-pink: #f0789f;
  --cat-green: #00a63e;
  /* ぴゅあ富士カード右バッジ（ライトブルー） */
  --facility-pure-badge-fuji: #4a9fd9;
  /* ヘッダーお問い合わせ（モック近似 #2b2321） */
  --btn-header: #2b2321;
  --hamburger-bg: #222222;
  /* SP ドロワー：見出し下線アクセント（モックの青に近い色） */
  --nav-drawer-accent: #2e6fb1;
  /* モックのメインカラム幅（1000px前後）に寄せる */
  --container-max: 1040px;
  /* 左右ガター：狭い画面は約5%、広い画面はカラム外の余白を確保 */
  --layout-gutter: clamp(16px, 5vw, 48px);
  /* セクション縦リズム（骨格） */
  --section-pad-top: clamp(52px, 11vw, 76px);
  --section-pad-bottom: clamp(60px, 12vw, 92px);
  --block-after-title: clamp(14px, 2.8vw, 22px);
  --block-after-title-center: clamp(22px, 4.5vw, 36px);
  --block-after-lead: clamp(26px, 5vw, 40px);
  /* イベントカード：サムネ列と本文列の間のギャップ */
  --event-col-gap: clamp(14px, 3.2vw, 24px);
  --radius-card: 8px;
  --shadow-card: 0 2px 14px rgba(0, 0, 0, 0.07);
  --shadow-card-hover: 0 4px 22px rgba(0, 0, 0, 0.1);
  /* Adobe Fonts: zen-maru-gothic（本文） / shippori-mincho（見出し） */
  --font-body: "zen-maru-gothic", sans-serif;
  --font-display: "shippori-mincho", sans-serif;
  --font: var(--font-body);
  --font-size-base: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--bg-page);
}

/* セクション見出し：モックに合わせ丸ゴシック太め */
.section__title,
.section__title--center,
.section__title--with-icon,
.section__title--inline {
  font-family: var(--font-body);
  font-weight: 700;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  box-sizing: border-box;
}

/* 協会トップ PC：運営施設紹介・イベント情報のコンテナのみ 1100px（テンプレで container--assoc-top-1100 を付与） */
@media (min-width: 768px) {
  .container.container--assoc-top-1100 {
    max-width: 1100px;
  }
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--header-border);
  /* モバイルオーバーレイ nav の top 合わせ（ロゴ行の最小高） */
  --site-header-top-h: 60px;
}

/* 上段：ロゴ（コンテナ左）＋ SPは右端フル高メニュー／PCは右端ハーフピルお問い合わせ */
.site-header__top {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: var(--site-header-top-h);
}

.site-header__brand-wrap {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.site-header__brand-inner {
  width: 100%;
  display: flex;
  align-items: center;
  padding-block: 10px;
}

/* SP：ヘッダー左右にもパディングを確保（PC は .container の max-width 中央寄せで余白生成） */
@media (max-width: 767px) {
  .site-header__brand-inner {
    padding-inline: var(--layout-gutter);
  }
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-header__brand:hover {
  text-decoration: none;
  opacity: 0.88;
}

/* ロゴマーク幅：SP 35px / PC 66px（.site-header__brand 配下で詳細度を上げる） */
.site-header__brand .site-header__mark {
  flex-shrink: 0;
  width: 35px;
  max-width: none;
  height: auto;
  object-fit: contain;
}

.site-header__name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  font-family: var(--font-body);
  line-height: 1.35;
}

/* スマホ：上段 11px / 下段 16px */
.site-header__name-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-text);
}

.site-header__name-main {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-text);
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-contact:hover {
  text-decoration: none;
  opacity: 0.94;
}

/* PC：左だけ丸いハーフピル・右は画面端フラット */
.btn-contact--header.site-header__contact {
  display: none;
  flex-shrink: 0;
  align-self: center;
  margin: 0;
  padding: 10px 24px 10px 30px;
  border-radius: 999px 0 0 999px;
  box-shadow: none;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.btn-contact--header.site-header__contact img {
  flex-shrink: 0;
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.site-header__menu-toggle {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 56px;
  min-height: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
  background: var(--hamburger-bg);
  cursor: pointer;
  box-shadow: none;
}

.site-header__menu-toggle-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.site-header__menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--color-white);
  border-radius: 1px;
}

@media (min-width: 768px) {
  /* PC：ロゴ上段 20px / 下段 29px */
  .site-header__name-sub {
    font-size: 20px;
  }

  .site-header__name-main {
    font-size: 29px;
  }

  .site-header__brand .site-header__mark {
    width: 66px;
  }

  .site-header__menu-toggle {
    display: none;
  }

  .site-header__top {
    align-items: center;
    min-height: 0;
    padding-block: 14px 10px;
  }

  .site-header__brand-inner {
    padding-block: 0;
  }

  .btn-contact--header.site-header__contact {
    display: inline-flex;
    background: var(--btn-header);
    color: var(--color-white);
    font-size: 20px;
    padding: 12px 28px 12px 36px;
  }

  .btn-contact--header.site-header__contact img {
    width: 24px;
    height: 24px;
  }
}

/* ----- Global nav ----- */
.global-nav {
  border-top: 1px solid var(--header-border);
}

.global-nav a:hover,
.global-nav a:focus-visible {
  text-decoration: none;
}

/* ドロワー先頭バーは SP のみ表示（スタイルは @media max-width 767px） */
.global-nav__drawer-head {
  display: none;
}

.global-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav__list > li > a {
  display: block;
  padding: 14px 0;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid var(--header-border);
}

.global-nav__list > li:last-child > a {
  border-bottom: none;
}

.global-nav__item--has-sub {
  position: relative;
  border-bottom: 1px solid var(--header-border);
}

.global-nav__facilities-row {
  position: relative;
}

.global-nav__item--has-sub .global-nav__facilities-link {
  display: inline-block;
  padding: 14px 0;
  border-bottom: none;
}

.global-nav__sub-toggle {
  position: absolute;
  right: 0;
  top: 8px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.global-nav__sub-toggle::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-right: 2px solid var(--color-text);
  border-bottom: 2px solid var(--color-text);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.global-nav__item--has-sub.is-open .global-nav__sub-toggle::after {
  transform: rotate(-135deg);
  top: 16px;
}

.global-nav__sub {
  list-style: none;
  margin: 0;
  padding: 0 0 12px 12px;
  display: none;
}

.global-nav__item--has-sub.is-open .global-nav__sub {
  display: block;
}

.global-nav__sub a {
  display: block;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-muted);
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  /* お知らせ・外部リンクはドロワー内サブへ集約／お問い合わせは SP のみ */
  .global-nav__item--desktop-only {
    display: none;
  }

  .global-nav__item--mobile-only {
    display: list-item;
  }

  .global-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    flex-direction: column;
    background-color: #fff;
    background-image: url("../images/common/bg_pattern1.jpg");
    background-repeat: repeat;
    background-size: 80px 82px;
    overflow-y: auto;
    border-top: none;
    padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
    -webkit-overflow-scrolling: touch;
  }

  body.nav-open .global-nav {
    display: flex;
  }

  .global-nav__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px var(--layout-gutter);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(46, 111, 177, 0.35);
    flex-shrink: 0;
  }

  .global-nav__drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
  }

  .global-nav__drawer-mark {
    flex-shrink: 0;
    width: 35px;
    height: auto;
    display: block;
  }

  .global-nav__drawer-name {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.25;
    min-width: 0;
  }

  .global-nav__drawer-name-sub {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.02em;
  }

  .global-nav__drawer-name-main {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  .global-nav__drawer-close {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: #2a2420;
    cursor: pointer;
    display: grid;
    place-items: center;
  }

  .global-nav__drawer-close:focus-visible {
    outline: 2px solid var(--nav-drawer-accent);
    outline-offset: 2px;
  }

  .global-nav__drawer-close-icon {
    position: relative;
    width: 18px;
    height: 18px;
    display: block;
  }

  .global-nav__drawer-close-icon::before,
  .global-nav__drawer-close-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    background: #fff;
  }

  .global-nav__drawer-close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .global-nav__drawer-close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .global-nav__inner.container {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding-inline: var(--layout-gutter);
    flex: 1 1 auto;
    min-height: 0;
  }

  /* ページ別 CSS のカレント（inset box-shadow）がドロワー見出しと重ならないよう解除 */
  .global-nav__list a {
    box-shadow: none !important;
  }

  .global-nav__list > li > a {
    border-bottom: none;
  }

  .global-nav__item--about,
  .global-nav__item--has-sub {
    border-bottom: none;
  }

  .global-nav__about-row,
  .global-nav__facilities-row {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 0;
    border-bottom: 4px solid var(--nav-drawer-accent);
  }

  .global-nav__about-link,
  .global-nav__facilities-link {
    flex: 1;
    min-width: 0;
    padding: 14px 48px 14px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-text);
    border-bottom: none;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .global-nav__about-toggle {
    position: absolute;
    right: 0;
    top: 8px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .global-nav__about-toggle::before,
  .global-nav__about-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: var(--color-text);
    transform: translate(-50%, -50%);
  }

  .global-nav__about-toggle::before {
    width: 14px;
    height: 2px;
  }

  .global-nav__about-toggle::after {
    width: 2px;
    height: 14px;
    transition: opacity 0.2s ease;
  }

  .global-nav__item--about.is-open .global-nav__about-toggle::after {
    opacity: 0;
  }

  /* SP：施設一覧は常時表示（モックの点線リスト）／トグル非表示 */
  .global-nav__item--has-sub .global-nav__sub-toggle {
    display: none;
  }

  .global-nav__item--has-sub .global-nav__sub.global-nav__sub--facilities {
    display: block;
  }

  .global-nav__item--about .global-nav__sub--about {
    display: none;
    margin-top: 12px;
    margin-bottom: 8px;
    list-style: none;
    padding: 0;
  }

  .global-nav__item--about.is-open .global-nav__sub--about {
    display: block;
  }

  .global-nav__sub--about a {
    display: block;
    padding: 14px 12px;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    margin-top: -1px;
  }

  .global-nav__sub--about li:first-child a {
    margin-top: 0;
  }

  .global-nav__sub--facilities {
    margin-top: 0;
    padding: 0 0 12px;
  }

  .global-nav__sub--facilities li {
    border-bottom: 1px dotted #555;
  }

  .global-nav__sub--facilities li:last-child {
    border-bottom: none;
  }

  /* PC 用の改行 br は SP では無効化（テキストは一行または幅に応じて折り返し） */
  .global-nav__sub--facilities br.global-nav__facility-br--pc {
    display: none;
  }

  .global-nav__sub--facilities a {
    padding: 16px 2px 16px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-text);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .global-nav__item--contact .global-nav__contact-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 20px 0 8px;
    font-size: 16px;
    font-weight: 700;
    border-bottom: none;
  }

  .global-nav__contact-icon {
    flex-shrink: 0;
    display: block;
  }
}

@media (min-width: 768px) {
  .global-nav {
    border-top: 1px solid var(--header-border);
  }

  .global-nav__drawer-head {
    display: none;
  }

  .global-nav__item--desktop-only {
    display: list-item;
  }

  .global-nav__item--mobile-only {
    display: none;
  }

  /* ラッパーで flex 中央寄せ（ul に container を付けると width:100% で見た目がずれるのを防ぐ） */
  .global-nav__inner.container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .global-nav__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: clamp(20px, 3vw, 36px);
    row-gap: 4px;
    width: auto;
    max-width: 100%;
  }

  .global-nav__list > li {
    border: none;
  }

  .global-nav__list > li > a {
    border: none;
    padding: 12px 0 14px;
    position: relative;
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text);
  }

  .global-nav__about-row,
  .global-nav__facilities-row {
    display: inline-flex;
    align-items: center;
  }

  .global-nav__item--about,
  .global-nav__item--has-sub {
    position: relative;
  }

  .global-nav__about-link,
  .global-nav__facilities-link {
    border: none;
    padding: 12px 0 14px;
    position: relative;
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text);
    display: inline-block;
  }

  /* 下向きシェブロン（ドロップダウン） */
  .global-nav__item--about .global-nav__about-link::after,
  .global-nav__item--has-sub .global-nav__facilities-link::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: 0.15em;
    opacity: 0.85;
  }

  .global-nav__about-toggle {
    display: none;
  }

  .global-nav__sub-toggle {
    display: none;
  }

  .global-nav__sub {
    display: none;
    position: absolute;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    top: 100%;
    min-width: 220px;
    padding: 12px 16px;
    background: var(--color-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    z-index: 10;
  }

  .global-nav__item--about:hover .global-nav__sub--about,
  .global-nav__item--about:focus-within .global-nav__sub--about,
  .global-nav__item--has-sub:hover .global-nav__sub,
  .global-nav__item--has-sub:focus-within .global-nav__sub {
    display: block;
  }

  .global-nav__sub a {
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
  }

  /* 運営施設ドロップダウン：改行はマークアップの br.pc に任せ、単語途中での自動折り返しを抑える */
  .global-nav__sub--facilities a {
    overflow-wrap: normal;
    word-break: normal;
    line-break: strict;
  }

  .global-nav__item--has-sub.is-open .global-nav__sub {
    display: block;
  }

  .global-nav__item--about.is-open .global-nav__sub--about {
    display: block;
  }
}

/* ----- Hero（position で写真＋青帯＋白ボックスを重ねる） ----- */
.hero {
  --hero-ink: #2a2420;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #fff;
  background-image: url("../images/common/bg_pattern1.jpg");
  background-repeat: repeat;
  background-size: 80px 82px;
}

/* SP：下〜2/3に写真、上に白＋青帯が写真へ重なる */
.hero__photo {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  top: 34%;
  background: #1a1a1a;
}

.hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero__copy {
  position: absolute;
  z-index: 3;
  left: var(--layout-gutter);
  top: var(--layout-gutter);
  box-sizing: border-box;
  width: min(400px, calc(100vw - 2 * var(--layout-gutter)));
  height: min(400px, calc(100vw - 2 * var(--layout-gutter)));
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__catch {
  margin: 0;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  padding: clamp(16px, 4vw, 24px) clamp(16px, 4vw, 28px);
  font-family: var(--font-display);
  font-size: clamp(21px, 5vw, 27px);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.12em;
  writing-mode: horizontal-tb;
  color: var(--hero-ink);
}

/* デフォルト（PC）：PC 用の改行を表示し、SP 用の改行は非表示 */
.hero__catch .hero__br--pc {
  display: inline;
}

.hero__catch .hero__br--sp {
  display: none;
}

/* SP：上部に白い柄背景、下部に写真を敷き、白いコピー枠は左上で境界に被せる */
@media (max-width: 767px) {
  .hero {
    height: clamp(320px, 88vw, 440px);
  }

  .hero__copy {
    width: auto;
    max-width: clamp(210px, 58vw, 260px);
    height: auto;
    min-height: clamp(140px, 38vw, 170px);
  }

  .hero__catch {
    padding: 14px 18px;
    font-size: clamp(19px, 4.8vw, 22px);
    line-height: 1.65;
    letter-spacing: 0.08em;
  }

  /* PC 用の改行は SP では無効化し、SP 用の改行のみ有効に */
  .hero__catch .hero__br--pc {
    display: none;
  }

  .hero__catch .hero__br--sp {
    display: inline;
  }
}

@media (min-width: 768px) {
  .hero {
    min-height: 500px;
    height: 500px;
    max-height: 500px;
  }

  .hero__photo {
    left: 15%;
    right: 0;
    top: 0;
    bottom: 0;
  }

  .hero__copy {
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
  }

  .hero__catch {
    font-size: clamp(26px, 2.5vw, 34px);
    line-height: 1.85;
    padding: clamp(20px, 3vh, 36px) clamp(20px, 2.5vw, 32px);
  }
}

/* ----- Sections ----- */
.section {
  position: relative;
  padding-block: var(--section-pad-top) var(--section-pad-bottom);
}

@media (min-width: 768px) {
  .section {
    padding-block: 72px 96px;
  }
}

.section__title {
  margin: 0 0 var(--block-after-title);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 40px;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .section__title {
    font-size: 40px;
  }
}

/* 施設トップ本欄：見出しは協会トップと同じ .section__title + .section__title--with-icon を使用（上書きしない） */
.pure-sogo-main .section__title.section__title--with-icon.section__title--inline {
  margin-bottom: 0;
}

.section__title--center {
  text-align: center;
  margin-bottom: var(--block-after-title-center);
}

.about__title,
.about .section__title--center {
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
  text-wrap: balance;
}

/* タイトル内 SP 用改行：PC 非表示／SP のみ表示 */
.about__title-br--sp {
  display: none;
}

@media (max-width: 767px) {
  .about__title-br--sp {
    display: inline;
  }
}

.section__title--with-icon {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  text-align: left;
}

.facilities .section__title--with-icon,
.events .section__title--with-icon {
  margin-bottom: var(--block-after-title);
}

.facilities .section__lead,
.events .section__lead {
  text-align: left;
  margin-top: 0;
  margin-bottom: var(--block-after-lead);
}

.section__title-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  margin-top: 4px;
}

.section__lead {
  margin: 0 0 var(--block-after-lead);
  color: var(--color-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.85;
}

@media (min-width: 768px) {
  .section__lead {
    font-size: 16px;
  }
}

.facilities .section__lead {
  max-width: none;
}

/* About */
.about {
  overflow: hidden;
}

.about__bg {
  position: absolute;
  inset: 0;
  background: url("../images/yamanashibunka_top/bg_logo.jpg") center center no-repeat;
  background-size: 247px 250px;
  pointer-events: none;
}

.about__inner {
  position: relative;
  z-index: 1;
}

/* SP：ヒーロー以下の各セクションのコンテナにも左右パディング */
@media (max-width: 767px) {
  .about__inner,
  .facilities .container,
  .events .container,
  .news .news__layout {
    padding-inline: var(--layout-gutter);
  }
}

.about__text {
  margin: 0 auto;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .about__text {
    font-size: 17px;
  }
}

/* Facilities */
.facilities__pattern {
  position: absolute;
  inset: 0;
  background: url("../images/common/bg_pattern2.jpg") center / 425px repeat;
  pointer-events: none;
}

.facilities .container {
  position: relative;
  z-index: 1;
}

/* SP：2列・フラット寄り／PC：3列・軽いシャドウ（添付モック準拠） */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 10px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .facility-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 20px;
  }
}

.facility-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

@media (min-width: 768px) {
  .facility-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-card);
  }
}

.facility-card:hover {
  box-shadow: var(--shadow-card-hover);
}

@media (max-width: 767px) {
  .facility-card:hover {
    box-shadow: none;
  }
}

.facility-card--whole-link {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.facility-card__box {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
}

.facility-card__box:hover {
  text-decoration: none;
}

.facility-card__box:focus-visible {
  outline: 2px solid var(--cat-blue);
  outline-offset: 2px;
}

.facility-card__box--external {
  position: relative;
}

.facility-card--whole-link .facility-card__box:hover > .facility-card__body,
.facility-card--whole-link .facility-card__box:focus-visible > .facility-card__body {
  background: #fafafa;
}

.facility-card__category {
  margin: 0;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-align: left;
}

/* SP：カード幅縮小に合わせてヘッダーバーを 1 行に収める */
@media (max-width: 767px) {
  .facility-card__category {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 11px;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
}

@media (min-width: 768px) {
  .facility-card__category {
    font-size: 20px;
    min-height: 48px;
    padding: 12px 14px;
  }
}

.facility-card__category--blue {
  background: var(--cat-blue);
}
.facility-card__category--yellow {
  background: var(--accent-orange);
}
.facility-card__category--teal {
  background: var(--cat-teal);
}
.facility-card__category--pink {
  background: var(--cat-pink);
}

.facility-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 118px;
  padding: 14px 12px 16px;
  background: var(--color-white);
}

@media (min-width: 768px) {
  .facility-card__body {
    min-height: 132px;
    padding: 18px 16px 20px;
  }
}

/* ぴゅあ：ロゴ左・バッジ右 */
.facility-card__body--pure {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-height: 104px;
  padding: 12px 12px 14px;
}

@media (min-width: 768px) {
  .facility-card__body--pure {
    min-height: 118px;
    padding: 16px 16px 18px;
    gap: 12px;
  }
}

.facility-card__body--pure .facility-card__logo {
  flex: 0 1 auto;
  max-width: 52%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .facility-card__body--pure .facility-card__logo {
    max-height: 58px;
  }
}

.facility-card__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75em;
  padding: 7px 10px;
  font-size: 20px;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* SP：バッジは小さなピル型に */
@media (max-width: 767px) {
  .facility-card__badge {
    min-width: 0;
    padding: 3px 9px;
    font-size: 13px;
    letter-spacing: 0.08em;
  }
}

.facility-card__badge--sogo {
  background: var(--pure-sogo-brand-pink);
}

.facility-card__badge--kyonan {
  background: var(--cat-green);
}

.facility-card__badge--fuji {
  background: var(--facility-pure-badge-fuji);
}

/* 中央2行スタック（双葉・ことぶき等） */
.facility-card__body--text {
  min-height: 118px;
}

@media (min-width: 768px) {
  .facility-card__body--text {
    min-height: 132px;
  }
}

.facility-card__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  max-width: 100%;
}

.facility-card__stack-line {
  display: block;
  line-height: 1.4;
}

.facility-card__stack-line--sm {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.facility-card__stack-line--lg {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .facility-card__stack-line--sm {
    font-size: 18px;
  }

  .facility-card__stack-line--lg {
    font-size: 30px;
  }
}

.facility-card__logo {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

.facility-card__logo--mori {
  max-height: 48px;
  margin-block: 2px;
}

@media (min-width: 768px) {
  .facility-card__logo--mori {
    max-height: 52px;
  }
}

.facility-card__name {
  text-align: center;
  line-height: 1.5;
}

.facility-card__name--mori-main {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .facility-card__name--mori-main {
    font-size: 30px;
  }
}

.facility-card__name-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.facility-card__name-link:hover {
  text-decoration: underline;
}

.facility-card__ext {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  display: block;
  width: 18px;
  height: 18px;
  line-height: 0;
  color: var(--color-muted);
  opacity: 0.85;
  pointer-events: none;
}

.facility-card__ext svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {
  .facility-card__ext {
    right: 12px;
    bottom: 12px;
    width: 20px;
    height: 20px;
  }
}

.facility-card__body--mori {
  gap: 4px;
  text-align: center;
}

.facility-card__mori-line {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .facility-card__mori-line {
    font-size: 18px;
  }
}

.facility-card__mascot {
  max-height: 33px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .facility-card__mascot {
    max-height: 65px;
  }
}

/* 生涯学習推進センター：マスコット左・文言右（外部アイコン用に余白） */
.facility-card__body--lifelong-split {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding-right: 32px;
  padding-bottom: 26px;
}

/* SP：マスコット非表示・文言は中央2行（PC はマスコット左＋文言右のまま） */
@media (max-width: 767px) {
  .facility-card__body--lifelong-split {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
    padding-right: 32px;
    padding-bottom: 26px;
  }

  .facility-card__body--lifelong-split .facility-card__mascot {
    display: none;
  }

  .facility-card__body--lifelong-split .facility-card__lifelong-copy {
    align-items: center;
    text-align: center;
    flex: 0 1 auto;
  }

  .facility-card__body--lifelong-split .facility-card__stack-line--sm {
    font-size: 14px;
  }

  .facility-card__body--lifelong-split .facility-card__stack-line--lg {
    font-size: 18px;
  }
}

@media (min-width: 768px) {
  .facility-card__body--lifelong-split {
    gap: 14px;
    padding-right: 36px;
    padding-bottom: 28px;
  }
}

.facility-card__lifelong-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  flex: 1;
  text-align: left;
}

.facility-card__body--lifelong-split .facility-card__mascot {
  margin: 0;
}

.facility-card__box--external .facility-card__body--text {
  padding-right: 32px;
  padding-bottom: 26px;
}

@media (min-width: 768px) {
  .facility-card__box--external .facility-card__body--text {
    padding-right: 36px;
    padding-bottom: 28px;
  }
}

/* Events（モックはメインカラム白ベース。帯色で骨格がずれるため背景はページと同じ） */
.events {
  background: var(--bg-page);
}

.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 768px) {
  .event-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    column-gap: 20px;
    row-gap: 18px;
  }
}

/* 左：サムネ列 / 右：タイトル＋メタ（横幅 4:6）。カード全体は .event-card__link */
.event-card {
  margin: 0;
}

.event-card__link {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  column-gap: var(--event-col-gap);
  align-items: stretch;
  box-sizing: border-box;
  height: 100%;
  padding: 16px 18px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 768px) {
  .event-card__link {
    padding: 18px 22px;
  }
}

.event-card__link:hover {
  box-shadow: var(--shadow-card-hover);
}

.event-card__link:focus-visible {
  outline: 2px solid var(--cat-blue);
  outline-offset: 2px;
}

.event-card--empty {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  padding: 16px 18px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .event-card--empty {
    padding: 18px 22px;
  }
}

.event-card--empty .event-card__content {
  grid-column: 1;
  min-height: 0;
}

.event-card__thumb {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1.32 / 1;
  align-self: start;
  flex-shrink: 0;
  background: #e4e4e8;
  border-radius: 6px;
  overflow: hidden;
}

.event-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.event-card__content {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.event-card__title {
  margin: 0;
  font-size: clamp(14px, 3.6vw, 16px);
  font-weight: 700;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .event-card__title {
    -webkit-line-clamp: 3;
  }
}

.event-card__meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  width: 100%;
}

.event-card__meta .event-card__tag {
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .event-card__meta .event-card__tag {
    min-width: 160px;
    flex: 0 0 auto;
  }
}

.event-card__tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.03em;
  color: var(--color-white);
}

/* SP：タグは省略されないようサイズ調整（コンテナ縮小に合わせる） */
@media (max-width: 767px) {
  .event-card__tag {
    padding: 5px 10px;
    font-size: 13px;
    letter-spacing: 0.02em;
  }
}

.event-card__link:hover .event-card__tag {
  filter: brightness(1.06);
}

.event-card__tag--pink {
  background: var(--pure-sogo-brand-pink);
}
.event-card__tag--green {
  background: var(--cat-green);
}
.event-card__tag--teal {
  background: var(--cat-teal);
}
.event-card__tag--blue {
  background: var(--cat-blue);
}
.event-card__tag--yellow {
  background: var(--accent-orange);
}

.event-card__date {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

@media (min-width: 768px) {
  .event-card__date {
    font-size: 16px;
  }
}

/* News（トップ：PC 縦「お知らせ」＋3列行／SP 見出し上・メタ行＋改行タイトル） */
.news {
  --news-ink: #221815;
  --news-tag-bg: #221815;
  --news-rule: rgba(34, 24, 21, 0.22);
  --news-tag-pill-width: 160px;
  --news-title-font: "zen-maru-gothic", sans-serif;
  background: #f2f2f2;
}

.news__layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 768px) {
  .news__layout {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: clamp(48px, 7vw, 88px);
    row-gap: 0;
    align-items: center;
  }
}

/* 白カードをやめ、背景＋罫線のみ（モック） */
.news__panel {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

/* SP：大きめ見出し・下に余白。PC：縦書き・リスト高さに対して中央寄せ */
.news__heading {
  margin: 0 0 24px;
  font-family: var(--news-title-font);
  font-size: clamp(24px, 6vw, 28px);
  font-weight: 700;
  letter-spacing: 0.06em;
  writing-mode: horizontal-tb;
  line-height: 1.3;
  text-align: left;
  color: var(--news-ink);
}

@media (min-width: 768px) {
  .news__heading {
    margin: 0;
    justify-self: start;
    font-family: var(--news-title-font);
    font-weight: 700;
    writing-mode: vertical-rl;
    font-size: clamp(32px, 3.4vw, 38px);
    line-height: 1.2;
    max-height: 300px;
    text-align: start;
  }
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list li {
  border-bottom: 1px solid var(--news-rule);
}

.news-list li:first-child {
  border-top: 1px solid var(--news-rule);
}

.news-list__empty {
  margin: 0;
  padding: 20px 0;
  font-size: 16px;
  color: var(--news-ink);
}

/* SP：1行目タグ+日付、2行目タイトル（最大2行 …） */
.news-list__link {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 16px 0;
  text-decoration: none;
  color: var(--news-ink);
}

.news-list__meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 18px;
  row-gap: 8px;
}

@media (min-width: 768px) {
  .news-list__link {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 0;
    padding: 18px 0;
  }

  .news-list__meta {
    display: contents;
  }

  .news-list__tag {
    margin-inline-end: 18px;
  }

  .news-list__date {
    margin-inline-end: 32px;
  }
}

.news-list__link:hover .news-list__title {
  text-decoration: underline;
}

.news-list__tag {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--news-tag-pill-width);
  min-width: var(--news-tag-pill-width);
  max-width: var(--news-tag-pill-width);
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--news-title-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: center;
  background: var(--news-tag-bg);
  color: var(--color-white);
  flex-shrink: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list__date {
  font-family: var(--news-title-font);
  font-size: 13px;
  color: var(--news-ink);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.news-list__date:empty {
  display: none;
}

@media (min-width: 768px) {
  .news-list__date {
    font-size: 16px;
  }

  .news-list__date:empty {
    display: block;
    margin-inline-end: 0;
    width: 0;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    pointer-events: none;
  }
}

.news-list__title {
  min-width: 0;
  width: 100%;
  font-family: var(--news-title-font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--news-ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

@media (min-width: 768px) {
  .news-list__title {
    display: block;
    -webkit-line-clamp: unset;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
  }
}

.news__more-wrap {
  margin: 14px 0 0;
  text-align: right;
}

@media (min-width: 768px) {
  .news__more-wrap {
    margin: 18px 0 0;
  }
}

.news__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--news-title-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--news-ink);
}

.news__more span[aria-hidden='true'] {
  font-size: 0.92em;
  font-weight: 500;
  line-height: 1;
  transform: translateY(1px);
}

.news__more:hover {
  text-decoration: underline;
}

/* Footer（モック：PCカンバス1200px / SP 400px想定のタイポ・余白） */
.site-footer {
  background: var(--footer-bg);
  color: var(--color-white);
  padding: clamp(40px, 10vw, 56px) 0 28px;
}

.site-footer a:hover {
  color: var(--color-white);
  opacity: 0.88;
}

/* フッター内コンテナのみ幅1200px（本文1040pxとは独立） */
.site-footer .site-footer__inner.container {
  max-width: 1200px;
}

.site-footer__grid {
  display: grid;
  gap: clamp(28px, 7vw, 40px);
  align-items: start;
}

@media (min-width: 768px) {
  /* 1fr 均等列だと短文列に余白が乗り、列間が広く見える → ナビ3列は max-content で詰める */
  .site-footer__grid {
    grid-template-columns: minmax(200px, 1fr) repeat(3, max-content);
    column-gap: 30px;
    row-gap: 24px;
    justify-items: start;
  }

  .site-footer__grid > .site-footer__brand-block {
    justify-self: start;
    max-width: 100%;
  }
}

.site-footer__brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0;
}

/* SP：お問い合わせのみ中央（ロゴブロックは左） */
@media (max-width: 767px) {
  /* フッター内コンテナにも左右パディング（PC は max-width 中央寄せで余白生成） */
  .site-footer .site-footer__inner.container {
    padding-inline: var(--layout-gutter);
  }

  .site-footer__brand-block {
    align-items: center;
  }

  .site-footer__brand {
    align-self: flex-start;
  }

  .btn-contact--footer {
    align-self: center;
  }
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  max-width: 100%;
}

.site-footer__brand:hover {
  text-decoration: none;
}

.site-footer__brand .site-footer__mark {
  flex-shrink: 0;
  width: 35px;
  max-width: none;
  height: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .site-footer__brand .site-footer__mark {
    width: 66px;
  }

  .site-footer__brand {
    gap: 12px;
  }
}

/* ロゴ横テキスト：常に2行。SP 16px/23px、PC 20px/29px */
.site-footer__name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-family: var(--font-body);
  color: var(--color-white);
}

.site-footer__name-sub {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.site-footer__name-main {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .site-footer__name-sub {
    font-size: 20px;
  }

  .site-footer__name-main {
    font-size: 29px;
  }
}

/* お問い合わせ：モック指定 W240×H50（SP/PC共通） */
.btn-contact--footer {
  box-sizing: border-box;
  width: 240px;
  height: 50px;
  min-height: 50px;
  background: var(--color-white);
  color: var(--color-text);
  margin-top: 20px;
  justify-content: center;
  padding: 0 12px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.btn-contact--footer:hover {
  text-decoration: none;
  opacity: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.btn-contact--footer img {
  flex-shrink: 0;
  width: 26px;
  height: auto;
  max-height: 28px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .btn-contact--footer {
    align-self: flex-start;
    margin-top: 50px;
  }
}

.footer-col__heading {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--color-white);
}

.footer-col__heading--about {
  line-height: 1.4;
}

.footer-col__heading--events {
  margin-bottom: 12px;
}

.footer-col__heading--events a {
  color: var(--color-white);
  font-weight: 700;
  font-size: inherit;
  text-decoration: none;
  opacity: 1;
}

.footer-col__heading--events a:hover,
.footer-col__heading--events a:focus-visible {
  text-decoration: none;
  opacity: 0.88;
}

@media (min-width: 768px) {
  .footer-col__heading {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .footer-col__heading--events {
    margin-bottom: 14px;
  }
}

.footer-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col__list > li > a {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-white);
  opacity: 0.95;
  text-decoration: none;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  text-decoration: none;
  opacity: 1;
}

/* SP：「について」下リンクは横並び（列間はモック約30px） */
.footer-col--about .footer-col__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 30px;
}

.footer-col--about .footer-col__list li {
  margin: 0;
}

@media (min-width: 768px) {
  .footer-col--about .footer-col__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .footer-col--about .footer-col__list > li {
    margin-bottom: 6px;
  }

  .footer-col--about .footer-col__list > li:last-child {
    margin-bottom: 0;
  }

  .footer-col--about .footer-col__list > li > a {
    font-size: 16px;
    line-height: 1.4;
  }
}

/* SP：施設 3列（列間はモック約30px、行は詰める） */
.footer-col--facilities .footer-col__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 30px;
}

.footer-col--facilities .footer-col__list li {
  margin: 0;
}

.footer-col--facilities .footer-col__list > li > a {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  word-break: break-word;
}

@media (min-width: 768px) {
  .footer-col--facilities .footer-col__list {
    display: block;
  }

  .footer-col--facilities .footer-col__list > li {
    margin-bottom: 6px;
  }

  .footer-col--facilities .footer-col__list > li:last-child {
    margin-bottom: 0;
  }

  .footer-col--facilities .footer-col__list > li > a {
    font-size: 16px;
    line-height: 1.4;
  }
}

/* イベント列：見出し＋リンクは同一トーン、行間はモックに合わせて詰める */
.footer-col--other .footer-col__list--other {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col--other .footer-col__list--other li {
  margin: 0;
}

.footer-col--other .footer-col__list--other a {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .footer-col--other .footer-col__list--other {
    gap: 10px;
  }

  .footer-col--other .footer-col__list--other a {
    font-size: 16px;
    line-height: 1.35;
  }
}

/* プライバシーは「ご挨拶」等（について列）と同じサイズ・ウェイト */
.footer-col--other .footer-col__list--other li:last-child > a {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .footer-col--other .footer-col__list--other li:last-child > a {
    font-size: 16px;
    line-height: 1.4;
  }
}

.site-footer__copy {
  margin: clamp(36px, 8vw, 52px) var(--layout-gutter) 0;
  padding-top: clamp(22px, 4vw, 28px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: 0.02em;
  opacity: 0.78;
}
