/* ==========================================================
   wc-about.css — スコープ管理ルール
   ─────────────────────────────────────────────────────────
   【スコープの原則】
   ・.wc-page-section 系（タイポ・レイアウト）
       → 必ず body.wc-page--about-us でスコープする
       → グローバルに定義すると wc_event 等の他ページを壊す

   ・sidebar / footer 系（.wc-page-layout__sidebar, .wc-sidebar__section, #footer 等）
       → 全下層ページ共通として意図的にグローバルで定義
       → 変更時は全テンプレートで確認すること

   ・新規ルール追加時
       → .wc-page-section / .wc-page-layout__inner / .wc-page-article に
          触れる場合は必ず body.wc-page--about-us スコープを付ける
   ─────────────────────────────────────────────────────────
   About Us page-specific styling
========================================================== */

body.wc-page--about-us {
  background: #f5f1eb;
  color: #211c18;
}

body.wc-page--about-us .wc-main {
  display: block;
}

body.wc-page--about-us .wc-page-main {
  display: block;
  padding-bottom: 0;
}

body.wc-page--about-us .wc-page-main > .wc-page-hero.wc-page-hero--compact {
  position: relative;
  min-height: auto;
  padding: 92px 0 34px;
  background: linear-gradient(180deg, rgba(247,244,238,0.96) 0%, #f7f4ee 100%);
  overflow: visible;
}

body.wc-page--about-us .wc-page-main > .wc-page-hero.wc-page-hero--compact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(140,110,70,0.08), transparent 52%),
    radial-gradient(circle at top right, rgba(120,25,32,0.06), transparent 32%);
  pointer-events: none;
}

body.wc-page--about-us .wc-page-main > .wc-page-hero.wc-page-hero--compact .wc-page-hero__inner {
  position: relative;
  z-index: 1;
  min-height: auto;
  display: block;
  color: #1c1917;
}

body.wc-page--about-us .wc-page-main > .wc-page-hero.wc-page-hero--compact .wc-page-hero__eyebrow {
  margin: 0 0 14px;
  color: rgba(123,90,43,0.88);
}

body.wc-page--about-us .wc-page-main > .wc-page-hero.wc-page-hero--compact .wc-page-hero__title {
  max-width: 14em;
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: #171411;
}

body.wc-page--about-us .wc-page-main > .wc-page-hero.wc-page-hero--compact .wc-page-hero__lead {
  color: rgba(41,34,28,0.84);
}

body.wc-page--about-us .wc-page-main > .wc-breadcrumb.wc-breadcrumb--page {
  background: #f7f4ee;
}

body.wc-page--about-us .wc-page-main > .wc-page-layout .wc-page-layout__sidebar {
  align-self: start;
}

/* =========================================================
   About Us 微調整：breadcrumb以降の文字サイズ引き上げ
   ※ About Us ページ限定スコープ（event等他の下層ページには影響させない）
   ========================================================= */

body.wc-page--about-us .wc-breadcrumb {
  font-size: 1rem;
}

body.wc-page--about-us .wc-page-summary {
  font-size: 1.08rem;
  line-height: 1.95;
}

body.wc-page--about-us .wc-page-summary p {
  font-size: 1.08rem;
  line-height: 1.95;
}

body.wc-page--about-us .wc-page-layout__main {
  font-size: 1.02rem;
  line-height: 1.9;
}

body.wc-page--about-us .wc-page-section {
  font-size: 1.02rem;
  line-height: 1.9;
}

body.wc-page--about-us .wc-page-section h3 {
  font-size: 1.18rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

body.wc-page--about-us .wc-page-section p,
body.wc-page--about-us .wc-page-section li {
  font-size: 1.02rem;
  line-height: 1.9;
}

body.wc-page--about-us .wc-card {
  font-size: 1rem;
}

body.wc-page--about-us .wc-card__title,
body.wc-page--about-us .wc-card h3 {
  font-size: 1.16rem;
  line-height: 1.5;
}

body.wc-page--about-us .wc-card p,
body.wc-page--about-us .wc-card li {
  font-size: 1rem;
  line-height: 1.85;
}

body.wc-page--about-us .wc-page-layout__sidebar {
  font-size: 0.96rem;
}

body.wc-page--about-us .wc-sidebar__section-title,
body.wc-page--about-us .wc-sidebar__section h3 {
  font-size: 1.02rem;
  line-height: 1.5;
}

body.wc-page--about-us .wc-sidebar__section p,
body.wc-page--about-us .wc-sidebar__section li,
body.wc-page--about-us .wc-sidebar__section a {
  font-size: 0.95rem;
  line-height: 1.75;
}

body.wc-page--about-us .wc-cta-block {
  font-size: 1rem;
}

body.wc-page--about-us .wc-cta-block__title,
body.wc-page--about-us .wc-cta-block h2 {
  font-size: 1.36rem;
  line-height: 1.45;
}

body.wc-page--about-us .wc-cta-block p {
  font-size: 1rem;
  line-height: 1.85;
}

body.wc-page--about-us .wc-btn {
  font-size: 0.98rem;
  line-height: 1.2;
}

/* 英文ブロックがある場合の補正 */
body.wc-page--about-us .wc-page-section--en,
body.wc-page--about-us .wc-page-section--english,
body.wc-page--about-us .wc-page-section.is-english {
  font-size: 0.98rem;
  line-height: 1.85;
}

body.wc-page--about-us .wc-page-section--en p,
body.wc-page--about-us .wc-page-section--english p,
body.wc-page--about-us .wc-page-section.is-english p,
body.wc-page--about-us .wc-page-section--en li,
body.wc-page--about-us .wc-page-section--english li,
body.wc-page--about-us .wc-page-section.is-english li {
  font-size: 0.98rem;
  line-height: 1.85;
}

/* タブレット */
@media (max-width: 1024px) {
  body.wc-page--about-us .wc-page-summary,
  body.wc-page--about-us .wc-page-summary p {
    font-size: 1.02rem;
  }

  body.wc-page--about-us .wc-page-layout__main,
  body.wc-page--about-us .wc-page-section,
  body.wc-page--about-us .wc-page-section p,
  body.wc-page--about-us .wc-page-section li {
    font-size: 1rem;
  }

  body.wc-page--about-us .wc-page-section h3,
  body.wc-page--about-us .wc-card__title,
  body.wc-page--about-us .wc-card h3 {
    font-size: 1.08rem;
  }
}

/* スマホ */
@media (max-width: 767px) {
  body.wc-page--about-us .wc-breadcrumb {
    font-size: 0.92rem;
  }

  body.wc-page--about-us .wc-page-summary,
  body.wc-page--about-us .wc-page-summary p,
  body.wc-page--about-us .wc-page-layout__main,
  body.wc-page--about-us .wc-page-section,
  body.wc-page--about-us .wc-page-section p,
  body.wc-page--about-us .wc-page-section li,
  body.wc-page--about-us .wc-card p,
  body.wc-page--about-us .wc-card li,
  body.wc-page--about-us .wc-cta-block p {
    font-size: 0.98rem;
    line-height: 1.82;
  }

  body.wc-page--about-us .wc-page-section h3,
  body.wc-page--about-us .wc-card__title,
  body.wc-page--about-us .wc-card h3 {
    font-size: 1.04rem;
  }

  body.wc-page--about-us .wc-sidebar__section-title,
  body.wc-page--about-us .wc-sidebar__section h3 {
    font-size: 1rem;
  }

  body.wc-page--about-us .wc-sidebar__section p,
  body.wc-page--about-us .wc-sidebar__section li,
  body.wc-page--about-us .wc-sidebar__section a,
  body.wc-page--about-us .wc-btn {
    font-size: 0.94rem;
  }
}

/* =========================================================
   全下層ページ共通：sidebar / footer 文字サイズ補正
   ※ wc-layout.css / wc-base.css にデフォルトがないため、
      ここでサイト全体の統一値として定義する。
   ※ このブロックは意図的にグローバルスコープ。
      .wc-page-section 系のように page ごとに差異を生む
      ルールを追加する場合は必ず body.wc-page--* でスコープすること。
   ========================================================= */

/* Sidebar ─ 全ページ共通 */
.wc-page-layout__sidebar {
  font-size: 1rem;
}

.wc-sidebar__section-title,
.wc-sidebar__section h3 {
  font-size: 1.08rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.wc-sidebar__section p,
.wc-sidebar__section li,
.wc-sidebar__section a {
  font-size: 1rem;
  line-height: 1.82;
}

/* Footer */
.wc-site-footer,
.wc-footer {
  font-size: 1rem;
}

.wc-site-footer__title,
.wc-footer__title,
.wc-site-footer h2,
.wc-site-footer h3,
.wc-footer h2,
.wc-footer h3 {
  font-size: 1.08rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.wc-site-footer p,
.wc-site-footer li,
.wc-site-footer a,
.wc-footer p,
.wc-footer li,
.wc-footer a {
  font-size: 0.98rem;
  line-height: 1.8;
}

.wc-site-footer small,
.wc-footer small,
.wc-site-footer__copy,
.wc-footer__copy {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* タブレット */
@media (max-width: 1024px) {
  .wc-sidebar__section-title,
  .wc-sidebar__section h3,
  .wc-site-footer__title,
  .wc-footer__title,
  .wc-site-footer h2,
  .wc-site-footer h3,
  .wc-footer h2,
  .wc-footer h3 {
    font-size: 1.04rem;
  }

  .wc-sidebar__section p,
  .wc-sidebar__section li,
  .wc-sidebar__section a,
  .wc-site-footer p,
  .wc-site-footer li,
  .wc-site-footer a,
  .wc-footer p,
  .wc-footer li,
  .wc-footer a {
    font-size: 0.96rem;
  }
}

/* スマホ */
@media (max-width: 767px) {
  .wc-page-layout__sidebar,
  .wc-site-footer,
  .wc-footer {
    font-size: 0.96rem;
  }

  .wc-sidebar__section-title,
  .wc-sidebar__section h3,
  .wc-site-footer__title,
  .wc-footer__title,
  .wc-site-footer h2,
  .wc-site-footer h3,
  .wc-footer h2,
  .wc-footer h3 {
    font-size: 1rem;
  }

  .wc-sidebar__section p,
  .wc-sidebar__section li,
  .wc-sidebar__section a,
  .wc-site-footer p,
  .wc-site-footer li,
  .wc-site-footer a,
  .wc-footer p,
  .wc-footer li,
  .wc-footer a {
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .wc-site-footer small,
  .wc-footer small,
  .wc-site-footer__copy,
  .wc-footer__copy {
    font-size: 0.86rem;
  }
}

/* =========================================================
   About Us 微調整：sidebar 幅を親テンプレート寄りに拡大
   ※ About Us ページ限定スコープ
   ========================================================= */

body.wc-page--about-us .wc-page-layout__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  column-gap: 48px;
  align-items: start;
}

body.wc-page--about-us .wc-page-layout__main {
  min-width: 0;
}

body.wc-page--about-us .wc-page-layout__sidebar {
  width: 100%;
  max-width: 348px;
  justify-self: end;
}

body.wc-page--about-us .wc-sidebar__section {
  padding: 24px 22px;
}

/* 少し広くしたことで sticky の見え方も整える */
body.wc-page--about-us .wc-page-layout__sidebar .wc-sidebar__sticky,
body.wc-page--about-us .wc-page-layout__sidebar .is-sticky,
body.wc-page--about-us .wc-page-layout__sidebar > * {
  width: 100%;
}

/* タブレット */
@media (max-width: 1180px) {
  body.wc-page--about-us .wc-page-layout__inner {
    grid-template-columns: minmax(0, 1fr) 320px;
    column-gap: 36px;
  }

  body.wc-page--about-us .wc-page-layout__sidebar {
    max-width: 320px;
  }
}

/* 1カラム化直前 */
@media (max-width: 1024px) {
  body.wc-page--about-us .wc-page-layout__inner {
    grid-template-columns: 1fr 300px;
    column-gap: 28px;
  }

  body.wc-page--about-us .wc-page-layout__sidebar {
    max-width: 300px;
  }
}

/* スマホ */
@media (max-width: 767px) {
  body.wc-page--about-us .wc-page-layout__inner {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  body.wc-page--about-us .wc-page-layout__sidebar {
    max-width: none;
    justify-self: stretch;
  }
}

/* =========================================================
   About Us 微調整：Latest Events の文字サイズ補正
   ========================================================= */

.wc-sidebar__section--events,
.wc-sidebar__section.latest-events {
  font-size: 1rem;
}

.wc-sidebar__section--events .wc-clickable-banner,
.wc-sidebar__section.latest-events .wc-clickable-banner {
  font-size: 1rem;
}

.wc-sidebar__section--events .wc-clickable-banner__meta,
.wc-sidebar__section.latest-events .wc-clickable-banner__meta {
  font-size: 0.92rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.wc-sidebar__section--events .wc-clickable-banner__title,
.wc-sidebar__section.latest-events .wc-clickable-banner__title {
  font-size: 1.04rem;
  line-height: 1.55;
}

.wc-sidebar__section--events .wc-clickable-banner__excerpt,
.wc-sidebar__section.latest-events .wc-clickable-banner__excerpt {
  font-size: 0.98rem;
  line-height: 1.75;
}

/* 3件目以降も縮ませない */
.wc-sidebar__section--events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__meta,
.wc-sidebar__section.latest-events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__meta,
.wc-sidebar__section--events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__title,
.wc-sidebar__section.latest-events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__title,
.wc-sidebar__section--events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__excerpt,
.wc-sidebar__section.latest-events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__excerpt {
  font-size: inherit;
}

.wc-sidebar__section--events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__title,
.wc-sidebar__section.latest-events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__title {
  font-size: 1.04rem;
}

.wc-sidebar__section--events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__excerpt,
.wc-sidebar__section.latest-events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__excerpt {
  font-size: 0.98rem;
}

.wc-sidebar__section--events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__meta,
.wc-sidebar__section.latest-events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__meta {
  font-size: 0.92rem;
}

/* =========================================================
   About Us 微調整：Latest Events 3件目以降の縮み解消
   ========================================================= */

/* セクション全体 */
.wc-sidebar__section--events,
.wc-sidebar__section.latest-events {
  font-size: 1.02rem;
}

/* 各イベント項目 */
.wc-sidebar__section--events .wc-clickable-banner,
.wc-sidebar__section.latest-events .wc-clickable-banner {
  display: block;
  padding: 0 0 20px;
  margin: 0 0 20px;
}

.wc-sidebar__section--events .wc-clickable-banner:not(:last-child),
.wc-sidebar__section.latest-events .wc-clickable-banner:not(:last-child) {
  border-bottom: 1px solid rgba(31, 31, 31, 0.1);
}

/* 日付 */
.wc-sidebar__section--events .wc-clickable-banner__meta,
.wc-sidebar__section.latest-events .wc-clickable-banner__meta {
  display: block;
  margin: 0 0 8px;
  font-size: 0.96rem;
  line-height: 1.55;
  letter-spacing: 0.06em;
}

/* タイトル */
.wc-sidebar__section--events .wc-clickable-banner__title,
.wc-sidebar__section.latest-events .wc-clickable-banner__title {
  display: block;
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* 本文 */
.wc-sidebar__section--events .wc-clickable-banner__excerpt,
.wc-sidebar__section.latest-events .wc-clickable-banner__excerpt {
  display: block;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
}

/* 3件目以降も同じサイズ・余白に固定 */
.wc-sidebar__section--events .wc-clickable-banner:nth-of-type(n + 3),
.wc-sidebar__section.latest-events .wc-clickable-banner:nth-of-type(n + 3) {
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.wc-sidebar__section--events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__meta,
.wc-sidebar__section.latest-events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__meta {
  margin-bottom: 8px;
  font-size: 0.96rem;
  line-height: 1.55;
}

.wc-sidebar__section--events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__title,
.wc-sidebar__section.latest-events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__title {
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.wc-sidebar__section--events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__excerpt,
.wc-sidebar__section.latest-events .wc-clickable-banner:nth-of-type(n + 3) .wc-clickable-banner__excerpt {
  font-size: 1.02rem;
  line-height: 1.8;
}

/* small や compact 指定を無効化 */
.wc-sidebar__section--events small,
.wc-sidebar__section.latest-events small,
.wc-sidebar__section--events .is-compact,
.wc-sidebar__section.latest-events .is-compact {
  font-size: inherit;
  line-height: inherit;
}

/* 項目リスト側の gap が効いている場合の保険 */
.wc-sidebar__section--events .wc-clickable-banner-list,
.wc-sidebar__section.latest-events .wc-clickable-banner-list,
.wc-sidebar__section--events .wc-sidebar__links,
.wc-sidebar__section.latest-events .wc-sidebar__links {
  display: grid;
  gap: 0;
}

/* タブレット */
@media (max-width: 1024px) {
  .wc-sidebar__section--events .wc-clickable-banner__title,
  .wc-sidebar__section.latest-events .wc-clickable-banner__title {
    font-size: 1.06rem;
  }

  .wc-sidebar__section--events .wc-clickable-banner__excerpt,
  .wc-sidebar__section.latest-events .wc-clickable-banner__excerpt {
    font-size: 1rem;
  }
}

/* スマホ */
@media (max-width: 767px) {
  .wc-sidebar__section--events .wc-clickable-banner,
  .wc-sidebar__section.latest-events .wc-clickable-banner {
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .wc-sidebar__section--events .wc-clickable-banner__meta,
  .wc-sidebar__section.latest-events .wc-clickable-banner__meta {
    font-size: 0.92rem;
  }

  .wc-sidebar__section--events .wc-clickable-banner__title,
  .wc-sidebar__section.latest-events .wc-clickable-banner__title {
    font-size: 1.02rem;
  }

  .wc-sidebar__section--events .wc-clickable-banner__excerpt,
  .wc-sidebar__section.latest-events .wc-clickable-banner__excerpt {
    font-size: 0.98rem;
    line-height: 1.75;
  }
}

/* =========================================================
   About Us 微調整：Latest Events 下部リストの文字サイズ統一
   ========================================================= */

.wc-sidebar__list--events {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wc-sidebar__list--events li {
  margin: 0;
  padding: 0 0 18px;
}

.wc-sidebar__list--events li:not(:last-child) {
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(31, 31, 31, 0.1);
}

.wc-sidebar__list--events a {
  display: block;
  text-decoration: none;
}

.wc-sidebar__event-meta {
  display: block;
  margin: 0 0 8px;
  font-size: 0.96rem;
  line-height: 1.55;
  letter-spacing: 0.06em;
}

.wc-sidebar__event-title {
  display: block;
  font-size: 1.1rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.wc-sidebar__event-meta {
  font-size: 0.98rem;
}

.wc-sidebar__event-title {
  font-size: 1.12rem;
}

.wc-sidebar__list--events li {
  padding-bottom: 20px;
}

.wc-sidebar__list--events li:not(:last-child) {
  margin-bottom: 20px;
}