@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
a,
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent; /* スマホの青いハイライトを消す */
  outline: none; /* フォーカス枠を消す */
}

.grecaptcha-badge {
  visibility: hidden;
}

:root {
  --sbc-bg: #fff;
  --sbc-bg-soft: #f7f5f2;
  --sbc-text: #111;
  --sbc-gold: #c6a24c;
}
body {
  color: var(--sbc-text);
  background: var(--sbc-bg);
}
a {
  color: var(--sbc-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a:hover {
}
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", "Noto Serif JP", "Hiragino Mincho ProN",
    "Yu Mincho", serif;
}
body,
p,
li {
  font-family: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    sans-serif;
}
/* セクション切替の薄い帯 */
.section-soft {
  background: var(--sbc-bg-soft);
}
/* スライド見出し */
.p-mainVisual__slideTitle {
  font-family: "Cormorant Garamond", "Noto Serif JP", "Hiragino Mincho ProN",
    "Yu Mincho", serif;
  letter-spacing: 0.3em;
  font-size: 22px;
  margin-left: 20%;
}

/* トップページだけヘッダーを透過 */
body.home .l-header {
  background: transparent !important;
  position: absolute;
  width: 100%;
}
body.home .l-header .c-gnav a,
body.home .l-header .c-logo {
  color: #fff !important; /* ナビとロゴを白に */
}
/* 見出しの雰囲気（英字をトラッキング広めに） */
.home h2,
.home .section-title {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(22px, 3.2vw, 28px);
}

/* ボタン（ゴールド基調） */
.home a.wp-block-button__link,
.home .c-btn {
  background: #b08d57;
  border-radius: 2rem;
  padding: 0.9rem 1.6rem;
  color: #fff !important;
}
.home a.wp-block-button__link:hover,
.home .c-btn:hover {
  filter: brightness(0.9);
}

/* CTA黒帯 内のテキスト色調整 */
.sbc-cta {
  color: #fff;
}
.sbc-cta .wp-block-button__link {
  background: #b08d57;
}

/* ギャラリーの余白調整 */
.sbc-gallery .wp-block-gallery {
  gap: 24px;
}

/* ===== セクション見出し（英字・トラッキング広め）===== */
.sbc-secTitle {
}

/* 見出しの細いベースライン（お好みで） */
.sbc-secTitle::after {
}
/* --- News Swiper cards --- */
/* --- News Swiper: 見本通りのベージュカード --- */
.sa-news-card {
  background: #c7bfb3; /* 見本に近いベージュ */
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  color: #111;
}

.sa-news-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.sa-news-card__meta {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #222;
}
.sa-news-card__date {
  font-weight: 700;
}

.sa-news-card__title {
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0 0 6px;
  line-height: 1.5;
}

.sa-news-card__excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 12px;
  color: #222;
}

/* ===== News Swiper レイアウト調整 ===== */
:root {
  --site-container: 1200px; /* 本文最大幅に合わせる（例: 1200〜1240px） */
  --site-gutter: 24px; /* 本文の左右余白 */
  --edge-pad: 16px; /* 右端からの余白 */
}
/* ===== 矢印：右だけ表示 ===== */
/* A) 左右の矢印を“右端に2つ並べる” */
.sa-news-swiper .swiper-button-prev {
  display: block;
  left: auto;
  right: 56px; /* next の左側に配置（お好みで 48~64px） */
  top: 50%;
  transform: translateY(-50%);
}
.sa-news-swiper .swiper-button-next {
  right: 16px; /* 右端 */
  top: 50%;
  transform: translateY(-50%);
  display: block;
}
.sa-news-card__cat {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}
.sa-news-card__cat > span {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(2px);
}
.sa-news-card__cat a {
  pointer-events: none;
  color: inherit;
}
@media (min-width: 960px) {
  .sa-news-swiper-wrap {
    width: 101vw;
    margin-left: calc(51% - 50vw);
    margin-right: calc(50% - 50vw);

    /* 左は本文に揃える、右は端まで */
    padding-left: max(
      var(--site-gutter),
      calc((100vw - var(--site-container)) / 2)
    );
    padding-right: 0;
  }

  .sa-news-swiper {
    padding-left: 0;
    padding-right: 0;
    position: relative;
    padding-bottom: 40px; /* 下に“ドット＆矢印レーン”を確保 */
  }

  /* ドット＝左下寄せ */
  .sa-news-swiper .swiper-pagination {
    position: absolute;
    left: max(var(--site-gutter), calc((100vw - var(--site-container)) / 2));
    bottom: 6px;
    width: auto;
    text-align: left;
  }

  /* 矢印＝右端固定 */
  .sa-news-swiper .swiper-button-next {
    right: var(--edge-pad);
    top: 50%;
    transform: translateY(-50%);
  }
  .sa-news-swiper .swiper-button-prev {
    right: calc(var(--edge-pad) + 40px);
    top: 50%;
    transform: translateY(-50%);
    left: auto;
  }

  /* 右側をクリップするためラッパーはoverflow:hidden に */
  .sa-news-swiper-wrap {
    overflow: hidden;
  }
  /* スライダー本体を少し右に突き出させる */
  .sa-news-swiper {
    /* どれだけ突き出すか：値を増やすとより見切れる */
    --overhang: 32px; /* お好みで 24~64px くらい */
    margin-right: calc(-1 * var(--overhang));
    padding-right: 0; /* 余計な内側余白はゼロに */
  }
  /* ドットは左下に（既出の指定を使う想定） */
  .sa-news-swiper .swiper-pagination {
    left: max(
      var(--site-gutter, 24px),
      calc((100vw - var(--site-container, 1200px)) / 2)
    );
    bottom: 6px;
    width: auto;
    text-align: left;
  }
}
/* D) SPの“左右の隙間”を消す（フルブリード） */
@media (max-width: 767.98px) {
  .sa-news-swiper-wrap {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .sa-news-swiper {
    padding: 0 16px;
  }
}
/* ドット見た目 */
.sa-news-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 6px;
  opacity: 0.45;
  background: #4e4d4d !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background-clip: padding-box !important;
}
.sa-news-swiper .swiper-pagination-bullet-active {
  background: #c8a64b !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background-clip: padding-box !important;
}
/* ===== Hero Section (main_visual) ===== */

/* 文字スタイル：PC横書き */
#main_visual h2 {
  position: absolute;
  left: 6vw;
  bottom: 10vh;
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.2;
  letter-spacing: 0.02em;

  opacity: 0; /* ふわっと用初期状態 */
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* SPでは縦書き */
@media (max-width: 768px) {
  #main_visual .p-mainVisual__slideTitle {
    right: 6vw;
    left: auto;
    bottom: 8vh;
    font-size: 22px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
  .p-mainVisual__textLayer {
    display: block;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    left: 35%;
    position: absolute;
    top: 28%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%;
    z-index: 3;
  }
}

/* Swiperドット（通常） */
#main_visual .swiper-pagination-bullet {
  background: #4e4d4d !important;
  opacity: 1; /* デフォルトの薄さ解除 */
}

/* Swiperドット（アクティブ時：金色） */
#main_visual .swiper-pagination-bullet-active {
  background: #c8a64b !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* ヒーロー（画像の外に出した pagination） */
#main_visual .swiper-pagination {
  margin-top: clamp(12px, 2vw, 18px);
  display: flex;
  justify-content: center;
  /* gap: 10px; */
  margin-bottom: 20px;
}

/* ドット：通常=金、アクティブ=黒、少し大きめ */
#main_visual .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--sbc-gold, #6d6d6d);
  border: 1px solid #6d6d6d;
  border-radius: 50%;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  /* 外枠・影を完全に無効化 */
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background-clip: padding-box !important;
}
#main_visual .swiper-pagination-bullet:hover {
  transform: scale(1.05);
}
#main_visual .swiper-pagination-bullet-active {
  background: #c7bfb3;
  border-color: #c7bfb3;
  opacity: 1;
}
/* ニュースセクション */
/* 矢印の色・サイズ調整 */
.sa-news-swiper .swiper-button-prev,
.sa-news-swiper .swiper-button-next {
  color: #111;
  font-weight: bold;
  transition: 0.2s;
  top: auto !important; /* 中央寄せを打ち消し */
  bottom: 10px; /* ドットの高さに合わせる（微調整OK） */
  transform: none !important;
  z-index: 2;
  position: initial;
  float: right;
  background: none;
}

.sa-news-swiper .swiper-button-next {
  right: 16px;
  margin-right: 100px;
}
.sa-news-swiper .swiper-button-prev {
  right: 56px;
  left: auto;
  margin-right: 30px;
}

.sa-news-swiper .swiper-button-prev:hover,
.sa-news-swiper .swiper-button-next:hover {
  opacity: 0.65;
}
/* ==== News: すべて読む（黒ベタ白文字） ==== */
.sbc-news__footer {
  margin-top: clamp(20px, 3vw, 28px);
  display: flex;
  justify-content: center;
}

/* ==== News: ページネーションをヒーローと同じ雰囲気に ==== */

/* 見た目：ヒーローのドットと同テイスト */
/* ドット行が矢印とかぶらないよう右側に余白を確保 */
.sa-news-swiper .swiper-pagination {
  padding-right: 96px; /* 矢印2個ぶんの逃げ（80〜112px目安） */
}

.sa-news-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--sbc-gold, #6d6d6d);
  border: 1px solid var(--sbc-gold, #6d6d6d);
  border-radius: 50%;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.sa-news-swiper .swiper-pagination-bullet:hover {
  transform: scale(1.05);
}
.sa-news-swiper .swiper-pagination-bullet-active {
  background: #c7bfb3; /* ヒーローに合わせる（＝アクティブはベージュ） */
  border-color: #c7bfb3;
  opacity: 1;
}

/* 以前の“左下寄せ”用レイアウトを無効化（必要なら上書き） */
.sa-news-swiper-wrap {
  overflow: visible;
}
@media (min-width: 960px) {
  .sa-news-swiper .swiper-pagination {
    left: auto;
    bottom: auto;
    width: auto;
    text-align: center;
  }
  .sa-news-swiper .swiper-button-prev,
  .sa-news-swiper .swiper-button-next {
    bottom: 6px;
  }
}

.sa-news-swiper .swiper-button-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #111;
  transition: color 0.2s ease;
}
.sa-news-swiper .swiper-button-next:hover {
  color: #000;
}
/* 3) “太めの山カッコ(>)”をCSSで描く（背景なし） */
.sa-news-swiper .swiper-button-next::before,
.sa-news-swiper .swiper-button-prev::before {
  content: "";
  display: block;
  width: var(--news-icon-size);
  height: var(--news-icon-size);
  margin: auto;
  border-top: var(--news-stroke) solid var(--news-color);
  border-right: var(--news-stroke) solid var(--news-color);
  /* 背景は一切つけない */
}

/* 右向き ＞ */
.sa-news-swiper .swiper-button-next::before {
  transform: rotate(45deg);
}

/* 左向き ＜ */
.sa-news-swiper .swiper-button-prev::before {
  transform: rotate(-135deg);
}

/* 4) ドットと重ならないよう、右側に“矢印ぶん”の逃げを作る */
.sa-news-swiper .swiper-pagination {
  padding-right: 96px; /* 矢印2個ぶんの余白（80〜112pxで調整） */
  margin-top: clamp(12px, 2vw, 18px);
  display: flex;
  justify-content: flex-start; /* 左寄せのまま */
  align-items: center; /* 矢印と高さ感を合わせやすく */
}
/* ==== News セクション: すべて見るボタン ==== */
.sbc-news__footer {
  margin-top: clamp(20px, 3vw, 28px);
  display: flex;
  justify-content: flex-start; /* 左寄せ */
}
.sbc-news__more {
  display: inline-block;
  background: #000;
  color: #fff !important;
  text-decoration: none !important;
  border: 0 !important;
  padding: 14px 28px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease, transform 0.03s ease;
}
.sbc-news__more:hover {
  opacity: 0.65;
}
.sbc-news__more:active {
  transform: translateY(1px);
}

/* ==== News pagination 左寄せ ==== */
.sa-news-swiper .swiper-pagination {
  position: static; /* 固定解除 */
  display: flex;
  justify-content: flex-start; /* 左寄せ */
  gap: 10px;
  margin-top: clamp(12px, 2vw, 18px);
  margin-top: 30px;
}
/* ==== Newsカード：ホバーで白地＋黒枠 ==== */
.sa-news-card {
  background: #fff; /* ← 最初から白に */
  border: 1px solid #111; /* 黒枠に固定 */
  border-radius: 16px;
  transition: none; /* アニメーション不要ならこれで */
}

/* hover時の差分を打ち消す */
.sa-news-card:hover {
  background: #fff;
  border-color: #111;
  box-shadow: none;
  transform: none;
  opacity: 0.65;
}

/* テキストは既に #111 / #222 指定済みなので色はそのままでOK
   念のためホバー時の読みやすさを少し強めるなら以下を有効化
.sa-news-card:hover .sa-news-card__meta,
.sa-news-card:hover .sa-news-card__excerpt { color:#222; }
*/

/* ==== Read more：黒ベタ×白文字（サイズは現状維持・0.8rem） ==== */
.sa-news-card__more {
  display: inline-block;
  padding: 8px 14px; /* ボタンっぽく */
  line-height: 1;
  border-radius: 999px;
  background: #111;
  color: #fff !important;
  border: 1px solid #111;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.sa-news-card__more:hover {
  opacity: 0.65;
}
.sa-news-card__more:active {
  transform: translateY(1px);
}
.sa-news-card__more:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}
/* Swiperカードの高さ揃え */
.sa-news-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch; /* 子要素を同じ高さに */
}

.sa-news-swiper .swiper-slide {
  height: auto; /* 高さはカードに合わせる */
}

.sa-news-card {
  height: 100%; /* 各カードをスライドいっぱいに */
  display: flex;
  flex-direction: column;
}
/* イベントセクション */
.sbc-event {
  /* 既存の .sbc-event__inner を統合：1イベント=1ブロック */
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr; /* テキスト / 画像 */
  align-items: center; /* 縦中央 */
  gap: clamp(16px, 4vw, 48px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid #ccc;
}
/* 中央の縦ライン */
.sbc-event::before {
  content: "";
  position: absolute;
  inset: 0;
  margin-inline: auto;
  width: 1px;
  background: none;
  height: 70%;
  top: 15%;
}
/* 交互（2件目、4件目…は左右反転） */
.sbc-event.is-alt {
  direction: rtl; /* 手数少なく左右入れ替え */
}
.sbc-event.is-alt > * {
  direction: ltr; /* 子は通常方向に戻す */
}
.sbc-event__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  width: 70%;
  margin: auto;
}
/* ===== 共通：黒ベタ白文字の丸ボタン（NEWS/Eventsで共用） ===== */
.sbc-btn--pill-black {
  display: inline-block;
  background: #000;
  color: #fff !important;
  text-decoration: none !important;
  border: 0;
  padding: 14px 28px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease, transform 0.06s ease;
}
.sbc-btn--pill-black:hover {
  opacity: 0.65;
}
.sbc-btn--pill-black:active {
  transform: translateY(1px);
}

/* ===== Events: View All（NEWS と同じ／左寄せ）===== */
.sbc-events__footer {
  margin-top: clamp(20px, 3vw, 28px);
  display: flex;
  justify-content: flex-start; /* NEWS と合わせて左寄せ */
}
.sbc-eventList .sbc-events__footer {
  margin-top: clamp(20px, 3vw, 28px);
}
/* ===== Events: 中身（タイトル/開催日/文章）を中央へ“ぎゅっ” ===== */
/* ===== Events: 左揃えに変更 ===== */
.sbc-event__text {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.6rem;
  padding-left: 150px;
}

/* ===== イベントタイトルだけゴシックに ===== */
.sbc-event__title {
  font-family: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  letter-spacing: 0.06em;
}
.sbc-event__date {
  margin: 0 0 0.2rem;
  opacity: 0.8;
}
.sbc-event__excerpt {
  margin: 0 0 0.4rem;
}

.sbc-event__date {
  margin: 0 0 0.9rem;
  opacity: 0.8;
}
.sbc-event__excerpt {
  margin: 0 0 1.2rem;
  line-height: 1.7;
}

/* ===== Events: 「詳しくみる」→ Read more（NEWSのRead moreと同デザイン） ===== */
.sbc-readmore {
  display: inline-block;
  padding: 8px 14px; /* NEWSのRead moreと同等 */
  line-height: 1;
  border-radius: 999px;
  background: #111;
  color: #fff !important;
  border: 1px solid #111;
  text-decoration: none !important;
  transition: opacity 0.2s ease, transform 0.06s ease;
  font-size: 0.8rem; /* NEWSと同じくらいのサイズ感 */
}
.sbc-readmore:hover {
  opacity: 0.65;
}
.sbc-readmore:active {
  transform: translateY(1px);
}
.sbc-readmore:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

/* 画面端まで背景を広げるユーティリティ */
.sbc--fullbleed > .sbc-entry__band,
.sbc--fullbleed > .sbc-gallery__band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-clip: initial;
  border-radius: 0 !important; /* 親テーマの角丸を無効化 */
}

/* 中身は中央寄せのまま */
.sbc-entry__inner,
.sbc-gallery__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 20px; /* 余白はここで */
}

/* 念のため：親がoverflow:hiddenだとハミ出せない */
.sbc-sec {
  overflow: visible;
}

/* Entryセクション */
.sbc-entry__band {
  background: #c7bfb3;
  color: #111;
  text-align: left;
  padding: 80px 20px;
}

.sbc-entry__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.sbc-entry__title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  margin: 0 0 1.2rem;
  letter-spacing: 0.08em;
}

.sbc-entry__lead {
  font-size: 1.1rem;
  margin: 0 0 1.8rem;
  line-height: 1.8;
  max-width: 48ch;
}

.sbc-entry__btn {
  display: inline-block;
  background: transparent;
  color: #111 !important;
  border: 2px solid #111;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 1rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.sbc-entry__btn:hover {
  background: #111;
  color: #fff !important;
}

/* ==== Gallery: 黒背景・タイトル左寄せ ==== */
.sbc-gallery__band--dark {
  background: #000; /* 黒 */
  color: #fff;
  padding: 56px 0;
}

/* グリッド（既存スタイルを踏襲しつつ、黒地で締まるトーン） */
.sbc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (min-width: 900px) {
  .sbc-gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.sbc-gallery__item {
  display: block;
  aspect-ratio: 1/1;
  background: #111;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.sbc-gallery__item:hover {
  transform: translateY(-2px);
  border-color: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.sbc-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* View all ボタン（黒地に馴染む白地） */
.sbc-gallery__more {
  margin-top: 24px;
}
.sbc-gallery__btn:hover {
  background: #fff;
  color: #000;
}
/* === ギャラリー：タイトルは内側、画像はフルブリード === */
.sbc-gallery__band--dark {
  background: #000;
  color: #fff;
}
.sbc-gallery__title {
  color: #fff;
  margin: 0 0 16px;
  text-align: left;
  margin-top: 30px;
  margin-bottom: 30px;
}

/* タイトルは中央幅、画像は画面端まで（full-bleed） */
.sbc--edge {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* 縦に“ドーン”と1列で全幅 */
.sbc-gallery__flow {
  display: grid;
  gap: 16px;
}

/* 画像リンクはブロック化して角丸など最低限 */
.sbc-gallery__link {
  display: block;
  line-height: 0;
}
.sbc-gallery__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ふわっと表示（全ページで使い回し） */
.js-fadein {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-fadein.is-in {
  opacity: 1;
  transform: none;
}

/* VIEW ALL ボタン（黒地に合わせて） */
.sbc-gallery__btn {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.2s;
  margin-top: 20px;
}
.sbc-gallery__btn:hover {
  background: #fff;
  color: #000;
}
/* グリッドを画面端まで広げる */
.sbc-gallery__edge {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 20px; /* 左右に少し余白欲しければ */
}

/* 既存のグリッド指定をそのまま利用 */
.sbc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
/* ギャラリー帯は黒＆はみ出し抑制（既にあればそのまま） */
.sbc-gallery__band--dark {
  background: #000;
  color: #fff;
  overflow: hidden;
}

/* 端ピタで横幅100%にしているラッパー */
.sbc-gallery__edge {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  /* ▼左右端を黒へフェード（マスク） */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 6%,
    rgba(0, 0, 0, 1) 94%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 6%,
    rgba(0, 0, 0, 1) 94%,
    rgba(0, 0, 0, 0) 100%
  );
  /* 調整用：フェード幅を変えるなら 6% / 94% を好みで */
}

@media (min-width: 900px) {
  .sbc-gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Footer */
.sbc-footer__band {
  background-color: #000;
  color: #fff;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 60px 20px;
}

.sbc-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.sbc-footer__logo {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
}

/* ナビ */
.sbc-footer__navlist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.sbc-footer__navlist a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}
.sbc-footer__navlist a:hover {
  opacity: 0.6;
}

/* SNS */
.sbc-footer__sns-list {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.sbc-footer__sns-list img {
  width: 28px;
  height: 28px;
  display: block;
}
.sbc-footer__sns {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  padding: 0;
}
.sbc-footer__sns a {
  color: #fff;
  font-size: 1.4rem;
  transition: opacity 0.3s ease;
}
.sbc-footer__sns a:hover {
  opacity: 0.6;
}

/* 主催情報 */
.sbc-footer__org {
  margin: 20px 0;
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.85;
}

.sbc-footer__copy {
  width: 100%;
  margin-top: 30px;
  text-align: center;
  font-size: 12px;
  opacity: 0.7;
}
/* コピーライト */
.sbc-footer__copy {
  font-size: 0.8rem;
  opacity: 0.6;
  display: block;
  margin-top: 20px;
}
/* ==== Footer SNS サンドイッチライン ==== */
.sbc-footer__snsbar {
  padding: 32px 0; /* 余白を大きめに */
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 40px; /* 下のロゴやコピーと区別 */
}

.sbc-footer__sns {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.sbc-footer__sns a {
  color: #fff;
  font-size: 1.8rem; /* アイコン少し大きめ */
  line-height: 1;
  transition: opacity 0.3s ease, transform 0.2s ease;
}
.sbc-footer__sns a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

/* モバイル少し小さく */
@media (max-width: 480px) {
  .sbc-snsbtn {
    width: 38px;
    height: 38px;
  }
  .sbc-snsbtn__icon {
    width: 16px;
    height: 16px;
  }
}
/* ==== Footer Nav: 横並び ==== */
.sbc-footer__nav {
  margin: 24px 0 8px;
}

.sbc-footer__navlist {
  display: flex;
  flex-wrap: wrap; /* 画面が狭いときは折り返し */
  gap: 12px 24px; /* 行・列の間隔 */
  justify-content: center; /* 中央寄せ */
  list-style: none;
  margin: 0;
  padding: 0;
}

.sbc-footer__navlist li {
  margin: 0;
}

.sbc-footer__navlist a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent; /* 既存リンクと調和 */
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.sbc-footer__navlist a:hover {
  opacity: 0.75;
  border-color: rgba(255, 255, 255, 0.35); /* うっすら下線 */
}

/* モバイルは少し詰める */
@media (max-width: 480px) {
  .sbc-footer__navlist {
    gap: 10px 18px;
  }
  .sbc-footer__navlist a {
    font-size: 0.95rem;
  }
}
.sbc-event__text {
  flex: 1;
  min-width: 0;
}
.sbc-event__title {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}
.sbc-event__date {
  font-size: 0.95rem;
  opacity: 0.75;
  margin-bottom: 1rem;
  font-weight: 800;
}
.sbc-event__excerpt {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.sbc-event__link {
  /*font-size: 0.9rem;*/
  text-decoration: none;
  color: #111;
  /*font-weight: 600;*/
}
/* 画像 */
.sbc-event__image {
  text-align: right;
}
.sbc-event__image img {
  max-width: 520px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin-left: auto;
}
@media (max-width: 960px) {
  .sbc-event__text {
    padding-left: 80px;
  }
}
@media (max-width: 768px) {
  .sbc-event {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0;
  }
  .sbc-event::before {
    display: none;
  } /* 縦ラインは非表示 */
  .sbc-event__image {
    order: -1;
    text-align: left;
  }
  .sbc-event__image img {
    margin: 0;
    border-radius: 10px;
  }
  .sbc-event__text {
    padding-inline: 0;
  }
}

@media (min-width: 767px) {
  .sbc-event__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
}
/* 画像だけクリックにする用 */
.sbc-event__image {
  position: relative;
}
.sbc-event__imgLink {
  display: block;
  line-height: 0;
}
.sbc-event__imgLink img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover; /* 縦横比差があっても綺麗に */
}

/* フォーカス見やすく（アクセシブル） */
.sbc-event__imgLink:focus-visible {
  outline: 2px solid var(--sbc-gold, #c6a24c);
  outline-offset: 3px;
}

/* 任意：ホバー時のわずかな動き（PCのみ） */
@media (hover: hover) and (pointer: fine) {
  .sbc-event__imgLink img {
    transition: transform 0.3s ease;
  }
  .sbc-event__imgLink:hover img {
    transform: scale(1.01);
  }
}
/* ========== SBC Entry Form Base ========== */
.sbc-entry-form {
  --max: 1080px;
  --gap: 20px;
  --gap-lg: 32px;
  --pad: clamp(16px, 3vw, 32px);
  --radius: 14px;
  --border: 1px solid rgba(0, 0, 0, 0.12);
  max-width: var(--max);
  margin: 4rem auto;
  padding: var(--pad);
  max-width: var(--site-container, 1120px);
  margin: 2rem auto 0;
  padding-left: clamp(12px, 2.5vw, 24px);
  padding-right: clamp(12px, 2.5vw, 24px);
}

.sbc-entry-form h3 {
  margin: 3rem 0 1rem;
  font-size: clamp(18px, 2.2vw, 22px);
  letter-spacing: 0.02em;
  font-weight: 600;
}

.sbc-entry-form .grid {
  display: grid;
  gap: var(--gap, 20px);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}

/* 各ラベルはセル幅いっぱい。span指定は不要 */
.sbc-entry-form .grid > label {
  grid-column: auto;
}
/* ひと続きで横いっぱいにしたい行があれば、.grid--full を付ける */
.sbc-entry-form .grid.grid--full > label {
  grid-column: 1 / -1;
}

/* 2カラム化（広い画面）。住所などは自然に改行される */
@media (min-width: 900px) {
  .sbc-entry-form .grid > label {
    grid-column: span 6;
  }
}

/* 入力UIの統一感 */
.sbc-entry-form input[type="text"],
.sbc-entry-form input[type="tel"],
.sbc-entry-form input[type="email"],
.sbc-entry-form input[type="number"],
.sbc-entry-form input[type="date"],
.sbc-entry-form textarea,
.sbc-entry-form select {
  width: 100%;
  border: var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.sbc-entry-form textarea {
  min-height: 140px;
}

.sbc-entry-form input:focus,
.sbc-entry-form textarea:focus,
.sbc-entry-form select:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

/* details の開閉 */
.sbc-entry-form details {
  margin: 0.75rem 0 0.25rem;
  padding: 1rem 1.25rem;
  border: var(--border);
  border-radius: var(--radius);
  background: #fafafa;
}
.sbc-entry-form details > summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.sbc-entry-form details[open] {
  background: #fff;
}

/* 同意と送信ボタン周り */
.sbc-entry-form .accept {
  margin-top: var(--gap-lg);
  line-height: 1.8;
}

.sbc-entry-form .submit {
  margin-top: calc(var(--gap-lg) * 1.25);
}
.sbc-entry-form input[type="submit"] {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  border: 0;
  background: #111;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.06s ease, opacity 0.2s ease;
}
.sbc-entry-form input[type="submit"]:hover {
  opacity: 0.65;
}
.sbc-entry-form input[type="submit"]:active {
  transform: translateY(1px);
}

/* 余白感の最適化：SWELLなどのテーマ余白と干渉しにくい */
.sbc-entry-form :is(input, textarea, select)::placeholder {
  color: #9aa1a8;
}

/* 確認ボタン＆送信ボタン */
/* 確認するボタン（金色ベース） */
.sbc-preview-btn {
  background-color: #000;
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 0 auto;
  letter-spacing: 0.1em;
}

.sbc-preview-btn:hover {
  opacity: 0.65; /* ホバーで少し濃く */
}

.sbc-entry-form .sbc-submit {
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  background: #111;
  color: #fff;
  cursor: pointer;
}
.sbc-entry-form h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 -1rem 1rem; /* 左右は枠一杯に */
  padding: 0.8rem 1rem;
  color: #fff;
  background: #333; /* デフォルト背景色 */
  border-radius: 4px 4px 0 0;
}

/* 小見出し（任意で使う場合） */
.sbc-entry-form h4 {
  font-size: 1.1rem;
  margin: 1.2rem 0 0.5rem;
  font-weight: 500;
  color: #444;
}
/* ▼ フォーム専用に限定 */
.sbc-entry-form .sbc-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 2rem 0;
}

/* 交互カラー */
.sbc-entry-form .sbc-section:nth-of-type(odd) {
  background: #ffffff;
}
.sbc-entry-form .sbc-section:nth-of-type(even) {
  background: #f7f7f7;
}

/* 中身を SWELL のコンテンツ幅に揃える */
.sbc-entry-form .sbc-section > * {
  max-width: var(--swell-content-width, 1100px); /* SWELL標準の本文幅 */
  margin-inline: auto; /* 中央寄せ */
  padding-inline: clamp(12px, 2.5vw, 24px); /* 端の余白はパディングで */
}

/* 見出し */
.sbc-entry-form .sbc-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  border-left: 4px solid #333;
  padding-left: 0.5rem;
  color: #fff;
  letter-spacing: 0.1em;
}

/* 入力欄 */
.sbc-entry-form .grid label {
  display: block;
  margin-bottom: 1rem;
}

.sbc-entry-form input,
.sbc-entry-form select,
.sbc-entry-form textarea {
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.sbc-help {
  font-size: 0.9em;
  color: #555;
  margin: 0.5em 0 1.5em;
}
.sbc-entry-form input:focus,
.sbc-entry-form select:focus,
.sbc-entry-form textarea:focus {
  outline: none; /* デフォルトの青枠を消す */
  border-color: #c7bfb3;
  box-shadow: 0 0 4px 2px rgba(199, 191, 179, 0.8);
  transition: all 0.2s ease;
}
/* 見出しラベル（演技時間など） */
.sbc-fieldtitle {
  margin: 0.2em 0 0.4em;
  font-weight: 600;
}

/* 分・秒を横並びに */
.sbc-time-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.sbc-time-row .sbc-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* ===== エントリーフォーム全体のラベル統一 ===== */
.sbc-entry-form .sbc-section label {
  font-weight: 500; /* 標準より少し太め */
  font-size: 1rem; /* サイズを揃える */
  line-height: 1.6; /* 行間で読みやすさ確保 */
  display: block; /* 入力欄の上に配置 */
  margin-bottom: 0.5em; /* ラベル下に余白 */
}

/* ===== 入力欄の基本スタイル ===== */
.sbc-entry-form .sbc-section input,
.sbc-entry-form .sbc-section select,
.sbc-entry-form .sbc-section textarea {
  width: 100%;
  padding: 0.6em;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 1.2em; /* 入力欄ごとの間隔 */
}
/* レスポンシブで詰まりにくく */
.sbc-time-row .sbc-inline select {
  min-width: 120px;
}

.accept {
  text-align: center;
  margin: 20px 0;
  font-size: 16px;
}
.accept input[type="checkbox"] {
  transform: scale(1.3); /* チェックボックス少し大きく */
  margin-right: 6px;
}

.accept input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #c7bfb3; /* ブランドカラー */
  cursor: pointer;
  margin-right: 6px;
  vertical-align: middle;
}

.accept label {
  font-size: 16px;
  line-height: 1.6;
  cursor: pointer;
}
.accept a {
  color: #c7bfb3;
  text-decoration: underline;
}
/* CF7の送信ボタンを視覚的に隠す（必須） */
.wpcf7 .sbc-submit {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}
.grid.time-input {
  display: flex;
  gap: 10px; /* 分と秒の間隔 */
  align-items: center;
}
.grid.time-input label {
  display: flex;
  align-items: center;
  gap: 4px; /* inputと単位の間隔 */
}

/* モーダル */
.sbc-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
}
.sbc-modal[hidden] {
  display: none;
}
.sbc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.sbc-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 92vw);
  background: #fff;
  border-radius: 16px;
  padding: clamp(16px, 3vw, 28px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.sbc-modal__dialog h3 {
  margin: 0 0 1rem;
  font-size: clamp(18px, 2.2vw, 22px);
}
.sbc-preview {
  max-height: min(60vh, 640px);
  overflow: auto;
  padding-right: 6px;
}
.sbc-dl {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px 16px;
}
.sbc-dl dt {
  font-weight: 600;
  color: #333;
}
.sbc-dl dd {
  margin: 0;
  color: #111;
  word-break: break-word;
}
.sbc-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}
.sbc-modal__close {
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #111;
  background: #fff;
  cursor: pointer;
  margin-bottom: 20px;
}
.sbc-modal__send {
  padding: 12px 18px;
  border-radius: 10px;
  border: 0;
  background: #ff8282;
  color: #fff;
  cursor: pointer;
}
.sbc-modal__send:hover {
  opacity: 0.65;
}

/* 追加分だけ追記 */
.sbc-modal .modal-message {
  color: #b40000;
  margin: 10px 0 4px;
  font-weight: 600;
}
.sbc-modal .modal-errors {
  color: #b40000;
  margin: 0 0 12px 18px;
}
/* モーダル全体は固定＋背面だけ止める */
.sbc-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
}

/* ダイアログを画面内に収め、中身だけスクロール */
.sbc-modal__dialog {
  max-height: 92vh; /* 画面より背が高くならない */
  width: min(920px, 92vw);
  display: flex; /* 上:見出し 中:プレビュー 下:ボタン */
  flex-direction: column;
}

/* 内容部分をスクロール領域に */
.sbc-preview {
  flex: 1 1 auto; /* 余白を全部ここに */
  min-height: 0; /* flex子のoverflow有効化のため */
  overflow: auto;
  -webkit-overflow-scrolling: touch; /* iOSで滑らかスクロール */
}

/* アクションは常に下に見えるよう固定高 */
.sbc-modal__actions {
  flex: 0 0 auto;
}

/* 送信中オーバーレイ */
.sbc-sending {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.sbc-sending.is-active {
  display: flex;
}
.sbc-sending__box {
  background: #fff;
  padding: 20px 28px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  text-align: center;
}
.sbc-sending__spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #ccc;
  border-top-color: #111;
  margin: 0 auto 10px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== Sticky Footer（全ページ共通）===== */
/* 親(html)に高さを持たせる */
html {
  height: 100%;
}

/* body を縦フレックスにして、画面高まで伸ばす */
body {
  min-height: 100svh; /* Safari対策で svh/dvh のどちらかが効く */
  min-height: 100dvh;

  flex-direction: column;
}

/* メインコンテンツ領域を伸縮させる（名称の違いに対応）*/
main,
.l-main,
#content,
.l-contents {
  flex: 1 0 auto;
}

/* フッターは自動で最下部へ押し下げる */
.l-footer,
footer {
  margin-top: auto;
}
/* 固定ヘッダー全体の背景を白に */
.l-fixHeader {
  background-color: #fff !important;
  box-shadow: none !important; /* 影を消す */
  border-bottom: 1px solid #eee;
}
.l-fixHeader:before {
  background-color: #fff !important;
}
/* 固定ヘッダー（スクロール時）だけ白背景に */
.l-fixHeader__inner {
  background: #fff !important;
  /* 影が欲しければコメントアウト解除 */
  /* box-shadow: 0 2px 12px rgba(0,0,0,.06); */
  box-shadow: none !important; /* 影を消す */
  border-bottom: 1px solid #eee;
}

/* 文字色を“濃い”#111で統一（ロゴ周辺・リンク・アイコン） */
.l-fixHeader,
.l-fixHeader a,
.l-fixHeader .c-gnav > li > a,
.l-fixHeader .c-hamburgerBtn,
.l-fixHeader .c-icon,
.l-fixHeader svg {
  color: #111 !important;
  fill: #111 !important;
  stroke: #111 !important;
}

/* ===== ロゴを“固定ヘッダーのときだけ”横長版に差し替える =====
   1) /wp-content/uploads/ 等に横長ロゴ（例: logo-wide.svg）をアップ
   2) URLを下の background に指定
*/
.l-fixHeader .c-headLogo img {
  opacity: 0; /* 通常ロゴは隠す */
  visibility: hidden;
}
.l-fixHeader .c-headLogo a {
  display: block;
  max-height: 60px;
  height: auto;
  width: auto;
  background: url("https://sparkleballetcompetition.com/wp-content/uploads/2025/08/sbc-logo-bh.png")
    no-repeat left / contain;
  background-position-y: -8px;
}

/* スマホ時のロゴサイズ微調整 */
@media (max-width: 768px) {
  .l-fixHeader .c-headLogo a {
    width: 180px;
    height: 36px;
  }
  .l-fixHeader .c-gnav a {
    /* モバイルのドロワー色が暗背景なら白などに変更 */
    /* color: #fff !important; */
  }
}

.l-header__inner .c-gnav a {
  position: relative;
}

/* 初期状態：SP専用ロゴは隠す。既存カスタマイザーロゴは表示 */
.l-header__logo .logo-sp-only {
  display: none;
}
.l-header__logo .custom-logo-link {
  display: inline-block;
}

/* 960px以下（スマホ等）：SP専用ロゴを表示、既存ロゴを隠す */
@media (max-width: 960px) {
  .c-headLogo img {
    display: none;
  }
  .l-header__logo .logo-sp-only {
    display: inline-block;
  }
  .l-header__logo .custom-logo-link {
    display: none;
  }

  /* 横長ロゴの見た目（高さだけ好みで調整） */
  .l-header__logo .logo-sp-only img {
    max-height: 60px;
    height: auto;
    width: auto;
    /* vertical-align: middle; */
    /* display: inline-block; */
    position: absolute;
  }
}
.c-gnav > .menu-item > a .ttl {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
.l-header__inner .c-gnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 80px;
  width: 0;
  height: 3px;
  background: #c7bfb3;
  transition: width 0.3s ease;
}

.l-header__inner .c-gnav a:hover::after {
  width: 75%;
  margin: 0 10px;
}
.l-fixHeader .c-gnav a {
  position: relative;
}

.l-fixHeader .c-gnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 25px;
  width: 0;
  height: 3px;
  background: #c7bfb3;
  transition: width 0.3s ease;
}

.l-fixHeader .c-gnav a:hover::after {
  width: 75%;
  margin: 0 10px;
}
/* =========================
   TOP専用（#sbc-top配下のみ）— フォームの余白リズムを踏襲
   ========================= */
#sbc-top {
  /* フォームページと同じスケール感（調整点はここだけ） */
  --sbcx-space-2xs: 8px;
  --sbcx-space-xs: 12px;
  --sbcx-space-sm: 16px;
  --sbcx-space-md: 24px; /* 段落間 */
  --sbcx-space-lg: 32px; /* ブロック間 */
  --sbcx-space-xl: 48px; /* セクション基本 */
  --sbcx-space-2xl: 72px; /* 大きい帯・ヒーロー */
}

/* コンテナ（テーマと衝突しない独自名） */
#sbc-top .sbcx-container {
  width: min(100% - 32px, var(--sbcx-max));
  margin-inline: auto;
}

/* セクション上下 */
#sbc-top .sbcx-sec {
  padding-block: var(--sbcx-space-xl);
}
#sbc-top .sbcx-sec--tight {
  padding-block: var(--sbcx-space-lg);
}
#sbc-top .sbcx-sec--loose {
  padding-block: var(--sbcx-space-2xl);
}
#sbc-top .sbcx-sec--band {
  background: #f7f7f7;
}
#sbc-top .sbcx-sec--dark {
  background: #111;
  color: #fff;
}

/* 見出し・段落の“段差”をフォームと同じに */
#sbc-top .sbcx-h2 {
  font-size: clamp(22px, 3.2vw, 28px);
  line-height: 1.35;
  margin: 0 0 var(--sbcx-space-md);
}
#sbc-top .sbcx-h3 {
  font-size: clamp(18px, 2.6vw, 22px);
  line-height: 1.5;
  margin: var(--sbcx-space-lg) 0 var(--sbcx-space-sm);
}
#sbc-top .sbcx-lead {
  font-size: clamp(16px, 2.3vw, 18px);
  line-height: 1.9;
  margin: 0 0 var(--sbcx-space-lg);
}
#sbc-top .sbcx-text p {
  line-height: 1.9;
  margin: 0 0 var(--sbcx-space-md);
}
#sbc-top .sbcx-text p:last-child {
  margin-bottom: 0;
}

/* WPブロック互換（フォームと同じノリに寄せる） */
#sbc-top .wp-block-heading {
  margin: 0 0 var(--sbcx-space-md);
}
#sbc-top .wp-block-paragraph {
  margin: 0 0 var(--sbcx-space-md);
  line-height: 1.9;
}

/* グリッド／カード（フォームのフィールド感に近い間隔） */
#sbc-top .sbcx-grid {
  display: grid;
  gap: var(--sbcx-space-lg);
}
#sbc-top .sbcx-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
#sbc-top .sbcx-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
#sbc-top .sbcx-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: var(--sbcx-space-lg);
}

/* ボタン群の間隔 */
#sbc-top .sbcx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sbcx-space-sm) var(--sbcx-space-md);
}

/* 余白ダブり防止（先頭/末尾要素） */
#sbc-top .sbcx-sec > *:first-child {
  margin-top: 0;
}
#sbc-top .sbcx-sec > *:last-child {
  margin-bottom: 0;
}

/* ヒーロー帯（フォームの“見出し＋リード＋ボタン”と同じ間） */
#sbc-top .sbcx-hero {
  padding-block: var(--sbcx-space-2xl);
}
#sbc-top .sbcx-hero .sbcx-lead {
  margin: var(--sbcx-space-sm) 0 0;
}

/* レスポンシブ（フォーム同様にやや詰める） */
@media (max-width: 960px) {
  #sbc-top .sbcx-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  #sbc-top {
    --sbcx-space-xl: 40px;
    --sbcx-space-2xl: 56px;
  }
}
@media (max-width: 640px) {
  #sbc-top .sbcx-grid {
    grid-template-columns: 1fr;
  }
}
.p-spMenu {
  z-index: 301;
}
.p-spMenu__inner {
  width: 88vw;
}

/***** SPメニュー最小リデザイン *******************************************/
/* パネルの余白と幅（必要なら） */

.c-widget__title {
  display: none;
}

#sp_menu.p-spMenu {
}
#sp_menu .p-spMenu__inner {
}

/* 見出し “MENU” をすっきり（下の飾り線を消す） */
#sp_menu .p-spMenu__title,
#sp_menu .p-spMenu__title::after {
  border: none !important;
  box-shadow: none !important;
}
#sp_menu .p-spMenu__title {
  letter-spacing: 0.08em;
  padding-bottom: 8px;
}

/* リスト項目：下線・区切り線・背景ハイライトを撤去してフラットに */
#sp_menu .p-spMenu__body a {
  display: block;
  padding: 14px 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* 左の矢印・アイコン類を非表示（SWELLの矢印/アイコン想定を一掃） */
#sp_menu .p-spMenu__body a::before,
#sp_menu .p-spMenu__body .c-icon,
#sp_menu .p-spMenu__body .c-svg,
#sp_menu .p-spMenu__body .c-arrow,
#sp_menu .p-spMenu__body .menu-item > a > svg {
  display: none !important;
}

/* 文字を主役に（サイズと行間を少しゆったり） */
#sp_menu .p-spMenu__body a {
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: #000;
}

/* 閉じるボタン（×）を強調：大きく・押しやすく・視認性UP */
#sp_menu .p-spMenu__closeBtn {
  position: absolute;
  top: 10px;
  right: 10px;
}
#sp_menu .p-spMenu__closeBtn button,
#sp_menu .p-spMenu__closeBtn a {
}
#sp_menu .p-spMenu__closeBtn svg,
#sp_menu .p-spMenu__closeBtn .c-icon {
  width: 44px;
  height: 44px;
  stroke: currentColor;
  fill: none;
  stroke-width: 3.4; /* × を太く */
}
#sp_menu .p-spMenu__closeBtn button:hover,
#sp_menu .p-spMenu__closeBtn a:hover {
  transform: translateY(-1px);
}

/* オーバーレイを少しだけ濃く（任意） */
#sp_menu_overlay,
#sp_menu .p-spMenu__overlay {
  background: rgba(0, 0, 0, 0.35) !important;
}
/* ── SPメニュー下フッター（SNSあり＋下にも線＋ロゴ）──────── */
#sp_menu .sbc-spmenu-footer {
  padding: 12px 0 20px;
}

#sp_menu .sbc-spmenu-sep {
  height: 1px;
  background: #e5e5e5;
  margin: 8px 0 18px;
}

/* SNSアイコン行 */
#sp_menu .sbc-spmenu-sns {
}
#sp_menu .sbc-spmenu-sns a {
}
#sp_menu .sbc-spmenu-sns a:hover {
  transform: translateY(-1px);
  opacity: 0.9;
  border-color: #bbb;
}
#sp_menu .sbc-spmenu-sns img {
  width: 30px;
  height: 30px;
  display: block;
}

/* 縦ロゴ */
#sp_menu .sbc-spmenu-logo img {
  display: block;
  margin: 0 auto;
  max-height: 111px; /* 好みで調整 (36〜52pxあたり) */
  height: auto;
  width: auto;
  opacity: 0.9;
}

/* 初期状態 */
[data-fade] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 表示状態（JSが付与） */
[data-fade].is-inview {
  opacity: 1;
  transform: none;
}
.sbc-footer_sbclogo {
  width: 160px;
  /* text-align: center; */
  margin: 0 auto;
}
.sbc-footer__organizer {
  width: 160px;
  margin: 0 auto;
}
.sbc-footer__organizer img {
  margin-top: 20px;
}
/* アニメ苦手設定の人には動かさない */
@media (prefers-reduced-motion: reduce) {
  [data-fade] {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 960px) {
  .sa-news-swiper .swiper-pagination {
    margin-left: 20px;
  }
  .sa-news-swiper .swiper-button-next {
    margin-right: 25px;
  }
  .sbc-news__more {
    margin: 0 auto;
  }
  .sbc-btn--pill-black {
    margin: 0 auto;
  }
  .sbc-entry__band {
    padding: 60px 20px;
  }
  .sbc-entry__inner {
    padding: 0 20px;
  }
  .sbc-gallery__innerd {
  }
  .sbc-gallery__title {
    margin: 0 0 16px 20px;
  }
  .sbc-gallery__more {
    margin: 40px auto 0;
    text-align: center;
  }
  .sbc-gallery__inner {
    text-align: center;
    padding: 10px 20px;
  }
  .sbc-footer_sbclogo {
    width: 100px;
  }
  .sbc-event__title {
    margin: 0 0 0.5rem;
  }
}
/* === TopのENTRYボタン：自動キラリン === */
.sbc-entry__band .sbc-entry__btn {
  position: relative;
  overflow: hidden; /* 光をボタン内に閉じ込める */
  will-change: transform; /* ちらつき防止の軽い最適化 */
}

/* 光の筋（白いシャイン） */
.sbc-entry__band .sbc-entry__btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  transform: skewX(-20deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.7) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  opacity: 0;
  animation: sbc-cta-shine 4.8s ease-in-out infinite; /* 周期はお好みで */
}

/* 動きのキーフレーム：一瞬だけ通り抜ける */
@keyframes sbc-cta-shine {
  0% {
    left: -130%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  20% {
    left: 140%;
    opacity: 0;
  } /* ここで光が抜け切る */
  100% {
    left: 140%;
    opacity: 0;
  } /* 残りは休止時間 */
}

/* 動きが苦手なユーザー設定に配慮して停止 */
@media (prefers-reduced-motion: reduce) {
  .sbc-entry__band .sbc-entry__btn::after {
    animation: none;
    display: none;
  }
}
.c-pageTitle__inner {
  font-size: clamp(22px, 3.2vw, 28px);
}
.l-mainContent__inner > .post_content {
  margin: 2em 0;
  padding: 0;
}

.l-mainContent__inner > .post_content {
}
@media (max-width: 960px) {
  .sbc-entry-form .sbc-section > * {
    margin-left: 1rem;
    margin-right: 1rem;
    padding-right: 0rem;
  }
}
/* === 支払いブロックをPC2列 / SP1列で綺麗に === */
.sbc-entry-form .sbc-pay .grid {
  display: grid;
  gap: clamp(14px, 2.2vw, 22px);
}

/* PCは2カラム。labelの幅を崩さず整列 */
@media (min-width: 960px) {
  .sbc-entry-form .sbc-pay .grid {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    align-items: start;
  }
  /* 合計金額だけ横幅いっぱい（見せたいので） */
  .sbc-entry-form .sbc-pay .sbc-totalbox {
    grid-column: 1 / -1;
  }
}

/* アドバイスのチェックは行内で整える */
.sbc-entry-form .sbc-pay .sbc-option .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* 合計の見せ方（読み取り専用でも“ボックス”感を出す） */
.sbc-entry-form .sbc-total {
  background: #f8f8f8;
  border: 1px dashed #bbb;
  border-radius: 10px;
  font-weight: 700;
  font-size: clamp(18px, 2.6vw, 22px);
  text-align: right;
  padding: 14px 16px;
  letter-spacing: 0.02em;
}

/* セクション内コンテンツを中央寄せ（左寄りの原因を打ち消し） */
.sbc-entry-form .sbc-section > * {
  max-width: var(--swell-content-width, 1100px);
  margin-inline: auto; /* 中央寄せ */
  padding-inline: clamp(12px, 2.5vw, 24px);
}

/* 分・秒の行も整列（すでにあるならOK。念のため） */
.sbc-time-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.sbc-time-row .sbc-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* ===== オプション・お支払い 行そろえ ===== */
:root {
  --sbc-field-h: 46px;
} /* 右側フォームの高さ目安 */

.sbc-entry-form .sbc-pay .grid {
  display: grid;
  gap: clamp(14px, 2.2vw, 22px);
}
@media (min-width: 960px) {
  .sbc-entry-form .sbc-pay .grid {
    grid-template-columns: 1fr 1fr; /* 左右2列 */
    align-items: start; /* 行の開始高さを揃える */
  }
}

/* アドバイス行：タイトル＋チェックを横並び、右フォームと高さ合わせ */
.sbc-entry-form .sbc-pay .sbc-option {
  display: inline-block;
  align-items: center;
  gap: 12px;
  min-height: var(--sbc-field-h);
  margin-bottom: 0px;
  margin-top: -30px;
}

/* タイトルは左寄せのまま・上下の無駄な余白を抑える */
.sbc-entry-form .sbc-pay .sbc-option .sbc-fieldtitle {
  margin: 0;
  line-height: 1.4;
  white-space: nowrap; /* 折り返さずキレイに */
}

/* CF7のチェックボックス要素を横一列・中央揃えに */
.sbc-entry-form .sbc-pay .sbc-option .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  height: var(--sbc-field-h); /* 右フォームの高さに合わせる */
}

/* ボックス自体を少し大きくして押しやすく */
.sbc-entry-form .sbc-pay .sbc-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

/* 「希望する（＋2000円）」は左寄せ・読みやすい字間に */
.sbc-entry-form .sbc-pay .sbc-option .wpcf7-list-item-label {
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: left; /* 念のため左寄せを保証 */
}

/* 合計ボックスは2列時は横幅いっぱいに見せる（任意） */
@media (min-width: 960px) {
  .sbc-entry-form .sbc-pay .sbc-totalbox {
    grid-column: 1 / -1;
  }
}
/* ===== チェックボックスとラベルの縦位置をまっすぐに ===== */
.sbc-entry-form .sbc-pay .sbc-option .wpcf7-list-item {
  display: inline-flex;
  align-items: center; /* 垂直中央で揃える */
  gap: 8px;
  margin: 0;
  padding: 0;
}

.sbc-entry-form .sbc-pay .sbc-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0; /* デフォルト余白を削除 */
  vertical-align: middle;
}

.sbc-entry-form .sbc-pay .sbc-option .wpcf7-list-item-label {
  margin: 0;
  line-height: 1.4;
}
.c-pageTitle__subTitle {
  font-style: normal;
}

/* ============================
   CONTACT：黒ボックス（共通）
============================ */
/* 黒ボックス本体（中央・最大幅） */
.sbc-contact-form--dark {
  background: #111;
  color: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  margin: 3rem auto;
  max-width: 1200px; /* ← PCでの横幅を統一 */
  display: flow-root;
}

/* 交互背景は無効化（このフォームだけ） */
.sbc-entry-form.sbc-contact-form--dark .sbc-section:nth-of-type(odd),
.sbc-entry-form.sbc-contact-form--dark .sbc-section:nth-of-type(even) {
  background: none !important;
}

/* 見出しバーは透明に */
.sbc-contact-form--dark h3 {
  background: transparent !important;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.4;
}

/* ラベル体裁 */
.sbc-contact-form--dark label {
  display: block;
}
.sbc-contact-form--dark .sbc-fieldtitle {
  display: inline-block;
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* ===== レイアウト：SP1カラム / PC2カラム ===== */
.sbc-contact-form--dark .grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr; /* SP: 1カラム */
}
@media (min-width: 960px) {
  .sbc-contact-form--dark .grid {
  }
}

/* 入力欄はすべて薄グレーで統一 */
.sbc-contact-form--dark input[type="text"],
.sbc-contact-form--dark input[type="email"],
.sbc-contact-form--dark input[type="tel"],
.sbc-contact-form--dark textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.6em;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f5f5f5; /* ← 薄いグレー */
  color: #111;
  font-size: 16px;
}
.sbc-contact-form--dark textarea {
  min-height: 180px;
  resize: vertical;
}
.sbc-contact-form--dark ::placeholder {
  color: #777;
}

/* チェックボックス中央寄せ */
.sbc-contact-form--dark .sbc-privacy {
  margin-top: 1.2rem;
  text-align: center;
}
.sbc-contact-form--dark .sbc-accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.sbc-contact-form--dark .sbc-accept input[type="checkbox"] {
  accent-color: #111;
  width: 18px;
  height: 18px;
}
.sbc-contact-form--dark .sbc-privacy-note a {
  color: #c7bfb3;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

/* 送信ボタン：中央＆細め */
.sbc-contact-form--dark .sbc-actions {
  margin-top: 1.5rem;
  text-align: center;
}
.sbc-contact-form--dark input[type="submit"] {
  display: inline-block;
  width: auto;
  min-width: 160px;
  padding: 0.7rem 1.8rem;
  background: #fff;
  color: #111;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: 0.25s;
  cursor: pointer;
}
.sbc-contact-form--dark input[type="submit"]:hover {
  background: #f0f0f0;
}
/* 送信ボタン中央寄せ（SPで適用） */
@media (max-width: 768px) {
  /* CF7のスピナーを非表示 or ボタンの下に移動 */
  .sbc-contact-form--dark .wpcf7-spinner {
    display: none; /* ← 完全に消す場合 */
    /* position: absolute;
       margin-top: 8px;   ← ボタンの下に出したいならこちら */
  }
}

/* --- GALLERY grid --- */
#sbc-gallery {
  background: #fff;
}
.sbc-gList {
  list-style: none;
  margin: 0 auto;
  padding: 0 16px;
  max-width: 1240px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.sbc-gItem {
}
.sbc-gLink {
  display: block;
  position: relative;
}
.sbc-gLink img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
}
.sbc-gCap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.85);
  padding: 0.35em 0.6em;
  font-size: 0.82rem;
  border-radius: 6px;
}

@media (min-width: 768px) {
  .sbc-gList {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 0 24px;
  }
}
@media (min-width: 1200px) {
  .sbc-gList {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 0;
  }
}

/* --- Pager --- */
.sbc-pager {
  margin: 36px auto 0;
  max-width: 1080px;
}
.sbc-pager .page-numbers {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.sbc-pager li {
  display: inline-block;
  margin: 0 4px;
}
.sbc-pager a,
.sbc-pager span {
  display: inline-block;
  padding: 0.5em 0.85em;
  border: 1.5px solid #c7d0d7;
  border-radius: 6px;
}
.sbc-pager .current {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* ==== NEWS 一覧 ==== */
.sbc-newsList {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  list-style: none;
}
.sbc-newsItem {
  border-top: 2px solid var(--sbc-line);
  padding: 32px 0;
}
.sbc-newsItem:last-child {
  border-bottom: 2px solid var(--sbc-line);
}

.sbc-newsLink {
  display: grid;
  gap: 28px; /* ← サムネとテキストの間隔を広めに */
  text-decoration: none;
  color: inherit;
}
@media (min-width: 960px) {
  .sbc-newsLink {
    grid-template-columns: 360px 1fr; /* 左サムネ / 右テキスト */
    align-items: stretch;
  }
}

/* サムネ */
.sbc-newsMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  display: block;
}

/* 右カラム */
.sbc-newsBody {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* 日付（本文の最上部） */
.sbc-date2 {
  display: inline-grid;
  gap: 4px;
  line-height: 1.2;
  margin-bottom: 12px;
}

/* カテゴリ（右上） */
.sbc-newsCat {
  position: absolute;
  top: 0;
  right: 0;
}
.sbc-newsCat > span {
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 0.06em;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 9999px; /* ← pill に */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(2px);
}

/* タイトル／抜粋 */
.sbc-newsTitle {
  font-size: clamp(18px, 3.2vw, 28px);
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 8px;
}
.sbc-newsExcerpt {
  opacity: 0.8;
  font-size: clamp(14px, 2.4vw, 16px);
  line-height: 1.7;
  margin: 0 0 12px;
}

/* Read more（本文直下・pill型） */
.sbc-newsMore {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.8rem;
  line-height: 1.3;
  background: #111;
  color: #fff !important;
  border-radius: 9999px; /* ← pill */
  letter-spacing: 0.03em;
  width: fit-content;
  transition: opacity 0.2s ease, transform 0.06s ease;
}
.sbc-newsMore:hover {
  opacity: 0.65;
}
.sbc-newsMore:active {
  transform: translateY(1px);
}

/* モバイル調整 */
@media (max-width: 959.98px) {
  .sbc-newsLink {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sbc-newsCat {
    position: static;
    margin-bottom: 8px;
  }
  .sbc-date2 .y {
    font-size: 18px;
  }
  .sbc-date2 .md {
    font-size: 14px;
  }
}
.sbc-newsItem {
  border-top: 2px solid var(--sbc-line);
  border-bottom: 2px solid var(--sbc-line); /* ← 下も常につける */
  padding: 32px 0;
}
.sbc-newsItem:first-child {
  border-top: 2px solid var(--sbc-line);
}
.sbc-newsItem:last-child {
  border-bottom: 2px solid var(--sbc-line);
}
.sbc-newsItem {
  border-top: none;
  border-bottom: 2px solid var(--sbc-line);
}
/* ==== NEWS 一覧：区切り線を追加 ==== */
.sbc-newsItem {
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
  list-style: none;
}

/* ==== 日付の大小を逆にする ==== */
.sbc-date2 .y {
  display: block;
  font-size: 14px; /* ← 年は小さめ */
  font-weight: 700;
  letter-spacing: 0.18em;
}
.sbc-date2 .md {
  display: block;
  font-size: 20px; /* ← 月日を大きく */
  font-weight: 700;
}
/* ==== NEWS 一覧：左右余白を他セクションと統一 ==== */
.sbc-archive.container {
  max-width: 1200px; /* セクションの最大幅 */
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(12px, 2.5vw, 24px);
  padding-right: clamp(12px, 2.5vw, 24px);
}

/* ==== NEWS 一覧：モバイル調整（≤960px）==== */
@media (max-width: 960px) {
  /* ページ左右余白：他ページと同じスケール感に */
  .sbc-archive.container {
    padding-left: clamp(12px, 2.5vw, 24px);
    padding-right: clamp(12px, 2.5vw, 24px);
  }

  /* 1件レイアウトは縦並び＆余白を少し詰める */
  .sbc-newsLink {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 0; /* 上下の区切り線が見やすいように */
  }

  /* サムネ：トリミングせず“全体を縮小”して見せる */
  .sbc-newsMedia {
    height: auto; /* 固定高さを解除 */
  }
  /* テキスト側：読みやすく少し詰める */
  .sbc-newsTitle {
    line-height: 1.35;
  }
  .sbc-newsExcerpt {
    line-height: 1.8;
  }

  /* Read more は詰め＆小さめを維持 */
  .sbc-newsMore {
    margin-top: 8px; /* タイトル/抜粋のすぐ下に寄せる */
    padding: 6px 10px;
    font-size: 0.75rem;
    border-radius: 999px;
  }

  /* 区切り線（上下）を確実に表示 */
  .sbc-newsList {
  }
  .sbc-newsItem {
    border-bottom: 1.5px solid #111;
  }
  .sbc-newsLink {
    background: transparent;
  }
}
/* === SP(≤960px)：サムネ上下の余白を圧縮 & レターボックス色を消す === */
@media (max-width: 960px) {
  /* アイテム全体の上下余白を抑える（線はそのまま） */
  .sbc-newsItem {
    padding: 18px 0;
  }

  /* サムネとテキストの間隔も少しだけ詰める */
  .sbc-newsLink {
    gap: 12px;
    padding: 0;
  }

  /* 画像の周囲に勝手な行間/余白が入らないように */
  .sbc-newsMedia {
    line-height: 0;
  }
  .sbc-newsMedia img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    aspect-ratio: auto;
    background: transparent;
    border-radius: 8px;
    display: block;
    margin: 0;
  }

  /* WP側でfigure等に余白が入っている場合の保険 */
  .sbc-newsMedia figure {
    margin: 0;
  }
}
/* === SP: カテゴリをサムネ右上に重ねる（画像あり）=== */
@media (max-width: 960px) {
  .sbc-newsMedia {
    position: relative;
  }

  .sbc-newsCat {
    position: absolute;
    top: -300px;
    right: 8px;
    z-index: 2;
    margin: 0;
  }
  .sbc-newsCat > span {
    padding: 4px 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    margin-bottom: 10px;
    /* position: relative; */
    display: inline-block;
  }

  /* 画像が無い場合は本文カラムの右上に通常配置 */
  .sbc-newsMedia:not(:has(img)) + .sbc-newsBody .sbc-newsCat {
    position: static;
    align-self: flex-end; /* 右寄せ */
    margin-top: -2px;
  }
}
/* 投稿ヘッダー */
.sbc-post-header {
  position: relative;
  margin-bottom: 2em;
}
.sbc-post-title {
  margin: 0;
}
.sbc-post-meta {
  margin-top: 0.5em;
  font-size: 0.9em;
  color: #666;
}

/* カテゴリ右上（白ラベル/黒枠） */
.sbc-post-cat {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 0.4em;
  flex-wrap: wrap;
  max-width: 70%;
  justify-content: flex-end;
}
.sbc-post-cat a {
  display: inline-block;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  padding: 0.2em 0.6em;
  font-size: 0.75em;
  line-height: 1;
  border-radius: 0;
  text-decoration: none;
}
.post_content a {
  text-decoration: underline;
  border-bottom: 1px solid;
  color: #c7b481;
}
.post_content a:hover {
  opacity: 0.65;
}

/* SPで詰まりすぎる場合の微調整 */
@media (max-width: 599px) {
  .sbc-post-cat {
    top: 0.25rem;
    right: 0.25rem;
    gap: 0.3em;
  }
  .sbc-post-header .c-pageTitle__inner {
    margin-top: 35px;
    position: relative;
    display: inline-block;
  }
}
/* 投稿ヘッダー骨格（固定ページ見た目に準拠） */
.sbc-post-header {
  position: relative;
  margin-bottom: 2em;
}
.c-pageTitle__ttl {
  margin: 0;
}

/* 日付（タイトル直下） */
.sbc-post-meta {
  margin-top: 0.5em;
  font-size: 0.9em;
  color: #666;
}

/* カテゴリ：右上配置 ＆ 丸Pill（白×黒枠） */
.sbc-post-cat {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 0.4em;
  flex-wrap: wrap;
  max-width: 70%;
  justify-content: flex-end;
}
.sbc-post-cat a {
  display: inline-block;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  padding: 0.25em 0.75em;
  font-size: 0.75em;
  line-height: 1;
  border-radius: 9999px; /* ← 丸Pill */
  text-decoration: none;
}

/* スマホ微調整 */
@media (max-width: 599px) {
  .sbc-post-cat {
    top: 0.25rem;
    right: 0.25rem;
    gap: 0.3em;
  }
}

/* SWELLのアイキャッチ囲いを強制で消す（最終保険） */
.single .p-articleThumb,
.single .p-articleThumbWrap,
.single .c-postThumb,
.single .p-article__thumb {
  display: none !important;
}
/* 下部メタのカテゴリだけ隠す（他の要素は残す） */
.p-articleMetas__termList {
  display: none;
}

/* 万一クラス差異がある場合の最終手段：下部メタ自体を非表示
.p-articleMetas.-bottom { display: none !important; }
*/

/* 最終保険としてSWELL側のサムネ容器を消す */
.single .p-articleThumb,
.single .p-articleThumbWrap,
.single .c-postThumb,
.single .p-article__thumb {
  display: none !important;
}
.c-pageTitle[data-style="b_bottom"] .c-pageTitle__inner {
  border-bottom: none;
  padding: 0;
}
.c-pageTitle[data-style="b_bottom"] {
  border-bottom: none;
}
/* ===== サムネホバー：opacity 0.65 ===== */
.archive a:hover img,
.archive .c-postThumb:hover img,
.archive .p-postList__thumb a:hover img {
  opacity: 0.65;
  transition: opacity 0.25s ease;
}
.p-postList__thumb:before {
  background: none;
}
/* ===== サムネ上のカテゴリを白Pillに（右上） ===== */
/* SWELLの出し方に合わせて広めに当てる */
.c-postThumb__cat {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 1;
  display: inline-block;
  white-space: nowrap;
  background-color: #fff; /* 白ベース */
  color: #111; /* 文字色：黒系 */
  border: none; /* 黒枠 */
  font-size: 10px;
  line-height: 1.6;
  padding: 0.2em 0.8em;
  border-radius: 9999px; /* 丸pill */
  overflow: visible; /* 角丸内に収める */
}
/* カテゴリラベルのアイコン（フォルダ）を非表示に */
.c-postThumb__cat::before,
.c-catLabel::before {
  content: none !important;
  display: none !important;
}
/* ===== 抜粋の量を少なめに見せる（見た目側でも） ===== */
.archive .c-postList__excerpt,
.archive .p-postList__excerpt,
.archive .c-entrySummary {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 行数で制御。2〜3で調整 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== ページャー：白い丸＋うっすら縁 ===== */
.archive .c-pagination,
.archive .p-pagination {
  text-align: center;
  margin-top: 28px;
}

.archive .c-pagination a,
.archive .c-pagination span,
.archive .p-pagination a,
.archive .p-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 4px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 9999px;
  color: #111;
  text-decoration: none;
  font-size: 0.9rem;
}

.archive .c-pagination .current,
.archive .p-pagination .current {
  border-color: rgba(0, 0, 0, 0.5);
  font-weight: 600;
}

/* 「前へ/次へ」テキストをアイコン風に小さくしたい場合 */
.archive .c-pagination .prev,
.archive .c-pagination .next,
.archive .p-pagination .prev,
.archive .p-pagination .next {
  width: 32px;
  height: 32px;
}

/* ===== 画像の比率を整える（カード崩れ対策） ===== */
.archive .c-postThumb img,
.archive .p-postList__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sbc-gallery__w {
  background-color: #fff;
  overflow: hidden;
  padding: 56px 0;
}
#gallery-list .sbc-gallery__edge {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  -webkit-mask-image: unset;
  mask-image: unset;
}
/* ===== GUIDE ===== */
.sbc-guide__hero {
}
.sbc-guide__title {
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: 0.06em;
}
.sbc-guide__lead {
  margin-top: 0.75rem;
  color: var(--sbc-text, #111);
  opacity: 0.85;
}

.sbc-guide__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 1.25rem 0 0;
}
.sbc-guide__toc a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 14px;
}
.sbc-guide__toc a:hover {
  border-color: #bbb;
}

.sbc-guide__section {
  margin: 3rem auto;
}
.sbc-guide__h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e6e2da;
  letter-spacing: 0.06em;
}

/* steps */
.sbc-guide__steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 1rem;
}
.sbc-guide__step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 16px;
  background: #fff;
}
.sbc-guide__stepNum {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sbc-gold, #c6a24c);
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.sbc-guide__step h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: 18px;
}
.sbc-guide__cta {
  margin: 0.5rem 0 0;
}
.sbc-guide__btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.sbc-guide__btn:hover {
  opacity: 0.9;
}
.sbc-guide__btn--ghost {
  background: transparent;
  color: #111;
  border: 1px solid #111;
}
.sbc-guide__link {
  text-underline-offset: 2px;
}

/* alerts */
.sbc-guide__alerts {
  margin: 1rem 0 0;
  padding-left: 1.2em;
}
.sbc-guide__alerts li {
  margin: 0.25rem 0;
}
.sbc-guide__note {
  font-size: 13px;
  opacity: 0.8;
}
.sbc-guide__small {
  font-size: 13px;
  opacity: 0.85;
}
.sbc-guide__mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* card */
.sbc-guide__card {
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  background: #fff;
}

/* FAQ */
.sbc-guide__faq {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}
.sbc-guide__qa {
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  padding: 0.25rem 0.75rem;
}
.sbc-guide__q {
  cursor: pointer;
  padding: 0.75rem 0;
  font-weight: 600;
  list-style: none;
}
.sbc-guide__q::-webkit-details-marker {
  display: none;
}
.sbc-guide__qa[open] .sbc-guide__q {
  opacity: 0.9;
}
.sbc-guide__a {
  padding: 0 0 1rem;
  line-height: 1.8;
}

/* contact */
.sbc-guide__contact {
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  background: #fff;
  display: grid;
  gap: 0.5rem;
}

/* responsive */
@media (max-width: 640px) {
  .sbc-guide__step {
    grid-template-columns: 40px 1fr;
    border-radius: 12px;
  }
  .sbc-guide__stepNum {
    width: 40px;
    height: 40px;
  }
}
.recaptcha-notice {
  font-size: 10px;
  color: #999;
  text-align: center;
  margin-top: 1em;
}
.recaptcha-notice a {
  color: #222;
  text-decoration: none;
}
.recaptcha-notice a:hover {
  text-decoration: underline;
}

/* 投稿ページ本文だけ適用 */
.single-post .post_content h3 {
  font-family: inherit;
  font-weight: 700;
  margin: 2em 0 1em;
  padding-bottom: 0.25em;
  font-size: 1.05em;
  line-height: 1.4;
  margin: 3em 0 1.5em;
  position: relative;
  text-decoration: underline;
  text-decoration-thickness: 1px; /* 線の太さ（好みで調整可） */
  text-underline-offset: 4px; /* 文字と線の隙間 */
}
/* fo-mu-advice-no */
.sbc-advice-free-note {
  display: block;
  /* margin-top: 5px; */
  border: none;
  font-size: 0.85em;
  font-weight: 700;
}
.sbc-hidden {
  display: none !important;
}
/* 2部門アドバイスは hidden を最優先で隠す */
label.sbc-option--adv2[hidden],
.sbc-option--adv2.sbc-hidden {
  display: none !important;
}
/* 念のため：行(label)にも強制適用 */
label.sbc-option.sbc-hidden {
  display: none !important;
}
/* プレ時：アドバイスの入力部と金額表示だけ隠す */
label.sbc-option.sbc-adv-included .sbc-adv-wrap {
}
label.sbc-option.sbc-adv-included .sbc-adv-price {
  display: none !important;
}
