/* 2026年改修時追記 */
.hero-main img{
  max-width: 1280px;
  height: auto;
  margin: 0 auto -150px;
}
.hero-no-lightbox a {
  pointer-events: none;
  cursor: default;
}
@media (max-width: 767px) {
  .alignfull+.alignfull{
    margin: 120px auto 0 !important;
  }
}

/* 必要なら .swap-title-subtitle を先頭に付けて対象限定 */
.smb-section__header {
  display: flex;
  flex-direction: column;
}

.swap-title-subtitle .smb-section__header .smb-section__subtitle { order: 2; } /* サブタイトル */
.swap-title-subtitle .smb-section__header .smb-section__title { order: 1; }    /* タイトル */
.swap-title-subtitle .smb-section__header .smb-section__lede-wrapper,
.swap-title-subtitle .smb-section__header .smb-section__lede { order: 3; }     /* リード文を最後へ */


/* ===== 生活支援セクション ===== */
.life-help-section {
  background: #efefef;
  padding: 0 16px 56px;
}

.life-help-card {
  max-width: 1020px !important;
  margin: -84px auto 0 !important;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  padding: 52px 44px 34px;
  position: relative;
}

/* ドット装飾（簡易） */
.life-help-card::before,
.life-help-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: 30px;
}
.life-help-card::before {
  left: 38px;
  background: #f4c400;
  box-shadow:
    28px 106px 0 #ff5fa8,
    108px 12px 0 #ddd;
}
.life-help-card::after {
  right: 38px;
  background: #63cbe8;
  box-shadow:
    -84px 28px 0 #52d38e,
    -30px 80px 0 #8f7cf2;
}

/* 見出しまわり */
.life-help-card h2 {
}
.life-help-card p {
  text-align: center;
}

/* タブ */
.life-help-tabs {
  margin-top: 26px;
	max-width: 780px;
}
.life-help-tabs .smb-tabs__tab {
  font-weight: 700;
}
.life-help-tabs .smb-tabs__tab[aria-selected="true"] {
  border-bottom: 3px solid #c68f6a;
}

/* 投稿行（recent posts） */
.life-help-tabs .smb-recent-posts {
  margin-top: 6px;
}
.life-help-tabs .smb-recent-posts .c-entry-summary {
  border-bottom: 1px solid #e5e5e5;
  padding: 0;
}

/* SNS */
.life-help-sns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.life-help-sns a {
  display: block;
  text-align: center;
  background: #f2f2f2;
  border-radius: 8px;
  padding: 12px 8px;
  text-decoration: none;
  color: #555;
  font-weight: 600;
}

/* レスポンシブ */
@media (max-width: 767px) {
  .life-help-card {
    margin-top: -34px;
    padding: 34px 16px 24px;
    border-radius: 10px;
  }
  .life-help-card h2 {
    font-size: 20px;
    z-index: 10;
  }
  .life-help-sns {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .smb-section__lede{
    text-align: left;
    z-index: 10;
  }
  .smb-section__lede br{
    display: none
  }

  /* ドット装飾（簡易） */
  .life-help-card::before,
  .life-help-card::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    top: 30px;
  }
  .life-help-card::before {
    left: 18px;
    background: #f4c400;
    box-shadow:
      28px 66px 0 #ff5fa8,
      88px 44px 0 #ddd;
  }
  .life-help-card::after {
    right: 18px;
    background: #63cbe8;
    box-shadow:
      -84px 38px 0 #52d38e,
      -30px 60px 0 #8f7cf2;
  }

}

/* ===== ヒーローに重ねる ===== */
.life-help-section {
  background: #efefef;
  padding: 0 0 56px;
  position: relative;
  z-index: 2;
}

.life-help-card {
  max-width: 1020px !important;
  margin: -120px auto 0 !important;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 52px 44px 34px;
  position: relative;
  z-index: 3;
}

/* スマホは重なりを浅く */
@media (max-width: 767px) {
  .life-help-card {
    margin: 120px auto 0 !important;
    padding: 28px 12px 24px;
  }
  .smb-section__inner .c-container{
    padding: 0 10px;
  }
  .c-meta__item--published{
    margin-bottom: 10px;
  }
}

/* ===== タブデザイン再現（Snow Monkey Tabs） ===== */
.life-help-tabs .smb-tabs__tabs {
  border-bottom: 1px solid #dedede;
  gap: 0;
}

.life-help-tabs .smb-tabs__tab {
  margin: 0 !important;
  padding: 12px 22px !important;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  background: transparent;
  font-weight: 700;
  line-height: 1.2;
}

/* アクティブタブ */
.life-help-tabs .smb-tabs__tab[aria-selected="true"],
.life-help-tabs .smb-tabs__tab.is-active {
  background: #FFF;
  color: #333;
  border: none;
  position: relative;
}

/* アクティブ下のアクセント線 */
.life-help-tabs .smb-tabs__tab[aria-selected="true"]::after,
.life-help-tabs .smb-tabs__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0px;
  height: 3px;
  background: #E6814D;
}

/* タブコンテンツ枠 */
.life-help-tabs .smb-tabs__body,
.life-help-tabs .smb-tabs__panel {
  border: none;
  border-top: none;
  padding: 18px 20px;
  background: #fff;
}

/* 外枠は残しつつ、余計な線を消す */
.life-help-tabs .smb-tabs__body,
.life-help-tabs .smb-tabs__panel {
  border: none;
  border-top: none;
}

/* タブ見出し行の余計な線を消す */
.life-help-tabs {
  border-bottom: none;
}

/* タブ内側の二重枠を消す（ここが主原因） */
.life-help-tabs .smb-recent-posts,
.life-help-tabs .smb-recent-posts__list,
.life-help-tabs .smb-recent-posts .c-entries {
  border: none !important;
  box-shadow: none !important;
  background: transparent;
}

/* 行の区切りだけ残す */
.life-help-tabs .smb-recent-posts .c-entry-summary,
.life-help-tabs .smb-recent-posts .c-entries__item {
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

.smb-tab-panel,
.life-help-tabs,
.smb-tabs__body{
	border: none;
	border-bottom: none !important;
	padding: 0 !important;
}

.smb-section__title{
	--_font-size-level: 3.2;
}

/* タブ全体を中央配置 */
.life-help-tabs .smb-tabs__tabs {
  display: flex;
  justify-content: center !important;
  align-items: flex-end;
  gap: 0;
	margin-bottom: 30px;
}

/* 念のためタブアイテムのfloat/余計な余白を無効化 */
.life-help-tabs .smb-tabs__tab {
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.c-entries__item>a{
	border-bottom: solid 1px #EEE;
}

.smb-tabs .c-input-group{
	margin:40px  40px 80px;
}


/* まず、タブ本文は左揃えを明示 */
.life-help-tabs .smb-tabs__panel,
.life-help-tabs .smb-tabs__body {
  text-align: left !important;
}

/* 既存の広すぎる指定を打ち消し */
.life-help-tabs a {
  overflow: visible;
  text-overflow: clip;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}

/* 省略は投稿タイトルリンクだけに限定 */
.life-help-tabs .c-entry-summary__title a,
.life-help-tabs .c-entry__title a {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
  text-align: left;
}

/* イベントタブ: 日付とタイトルを上揃え */
.life-help-tabs .c-entry-summary,
.life-help-tabs .c-entry-summary--text,
.life-help-tabs .c-entry-summary--text2 {
  align-items: flex-start !important;
}

/* 日付・タイトル側の余計な上マージンを消す */
.life-help-tabs .c-entry-summary__meta,
.life-help-tabs .c-entry-summary__body,
.life-help-tabs .c-entry-summary__header,
.life-help-tabs .c-entry-summary__title {
  margin-top: 0 !important;
  align-self: flex-start;
}

/* 日付の行高を詰めて先頭基準をそろえる */
.life-help-tabs .c-meta,
.life-help-tabs .c-meta__item--published {
  line-height: 1.4;
}

/* 更新情報一覧のタイトル前にラベルを出す */
.life-help-tabs .c-entry-summary__title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.life-help-tabs .c-entry-summary__title::before {
  display: inline-block;
  min-width: 72px;
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  box-sizing: border-box;
  flex: 0 0 auto;
}

/* Posts */
html[lang^="ja"] .life-help-tabs .c-entry-summary--type-post .c-entry-summary__title::before {
  content: "News";
  background: #F9DD79;

}
/* イベント */
html[lang^="ja"] .life-help-tabs .c-entry-summary--type-event .c-entry-summary__title::before {
  content: "イベント";
  background: #C5E37B;
}
/* ブログ */
html[lang^="ja"] .life-help-tabs .c-entry-summary--type-article_ja .c-entry-summary__title::before {
  content: "ブログ";
  background: #7FD6DF;
}

/* Posts */
html[lang^="en"] .life-help-tabs .c-entry-summary--type-post .c-entry-summary__title::before {
  content: "News";
  background: #F9DD79;

}
/* イベント */
html[lang^="en"] .life-help-tabs .c-entry-summary--type-event .c-entry-summary__title::before {
  content: "Events";
  background: #C5E37B;
}
/* ブログ */
html[lang^="en"] .life-help-tabs .c-entry-summary--type-article_ja .c-entry-summary__title::before {
  content: "Blog";
  background: #7FD6DF;
}

/* Posts */
html[lang^="ne"] .life-help-tabs .c-entry-summary--type-post .c-entry-summary__title::before {
  content: "समाचार";
  background: #F9DD79;

}
/* イベント */
html[lang^="ne"] .life-help-tabs .c-entry-summary--type-event .c-entry-summary__title::before {
  content: "कार्यक्रमहरू";
  background: #C5E37B;
}
/* ブログ */
html[lang^="ne"] .life-help-tabs .c-entry-summary--type-article_ja .c-entry-summary__title::before {
  content: "ब्लग";
  background: #7FD6DF;
}




.swap-title-subtitle .smb-section__subtitle{
	color: #FB5B56;
	font-weight: normal;
}




/* =========================
   OFP links card grid
   class: secton-ofp
   ========================= */

/* 3列（PC） */
.secton-ofp .is-layout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* カード */
.secton-ofp .is-layout-grid > * {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  padding: 18px 14px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* 画像 */
.secton-ofp .is-layout-grid > * .wp-block-image {
  margin: 0 0 12px;
}
.secton-ofp .is-layout-grid > * .wp-block-image img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  display: block;
}

/* タイトル（段落/見出しどちらでも） */
.secton-ofp .is-layout-grid > * p,
.secton-ofp .is-layout-grid > * h3,
.secton-ofp .is-layout-grid > * h4 {
  margin: 0;
  text-align: center;
  font-weight: 700;
  color: #222;
  line-height: 1.45;
  font-size: 31px;
}

/* リンク見た目 */
.secton-ofp .is-layout-grid > * a {
  color: inherit;
  text-decoration: none;
}
.secton-ofp .is-layout-grid > *:hover,
.secton-ofp .is-layout-grid > *:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* スマホ: 2列 */
@media (max-width: 767px) {

  .secton-ofp .is-layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .secton-ofp .is-layout-grid > * {
    padding: 12px 10px 12px;
    border-radius: 10px;
  }

  .secton-ofp .is-layout-grid > * .wp-block-image img {
    height: 96px;
  }

  .secton-ofp .is-layout-grid > * p,
  .secton-ofp .is-layout-grid > * h3,
  .secton-ofp .is-layout-grid > * h4 {
    font-size: 30px;
  }
}
.secton-ofp .wp-block-image :where(figcaption){
	text-align: center;
	--_font-size-level: 0;
}

/* カード全体をクリック可能にする */
.secton-ofp .is-layout-grid > * {
  position: relative;
}

.secton-ofp .is-layout-grid > * a:first-of-type::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
}

/* 下のテキストリンクは重複クリック防止（同じURL前提） */
.secton-ofp .is-layout-grid > * p a,
.secton-ofp .is-layout-grid > * h3 a,
.secton-ofp .is-layout-grid > * h4 a {
  pointer-events: none;
}


/* ===== title dots: secton-ofp + swap-title-subtitle ===== */
.secton-ofp .smb-section__title,
.swap-title-subtitle .smb-section__title {
  position: relative !important;
  display: inline-block !important;
  margin: 0 auto !important;
  padding: 0 72px !important;
  overflow: visible !important;
}

/* 左右の基点ドット */
.secton-ofp .smb-section__title::before,
.swap-title-subtitle .smb-section__title::before,
.secton-ofp .smb-section__title::after,
.swap-title-subtitle .smb-section__title::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 2 !important;
}

/* 左: ピンク + 水色 */
.secton-ofp .smb-section__title::before,
.swap-title-subtitle .smb-section__title::before {
  left: 0 !important;
  background: #f36aa5 !important;
  box-shadow: 40px 4px 0 #58b7e6 !important;
}

/* 右: グレー + 緑 */
.secton-ofp .smb-section__title::after,
.swap-title-subtitle .smb-section__title::after {
  right: 0 !important;
  background: #d7d7d7 !important;
  box-shadow: 30px -8px 0 #45c07b !important;
}

/* 見出し中央維持 */
.secton-ofp .smb-section__header,
.swap-title-subtitle .smb-section__header {
  text-align: center !important;
}

/* モバイル */
@media (max-width: 767px) {
  .secton-ofp .smb-section__title,
  .swap-title-subtitle .smb-section__title {
    padding: 0 !important;
  }
  .secton-ofp .smb-section__title::before,
  .swap-title-subtitle .smb-section__title::before{
    left: -20px
  }
  .secton-ofp .smb-section__title::before,
  .swap-title-subtitle .smb-section__title::before,
  .secton-ofp .smb-section__title::after,
  .swap-title-subtitle .smb-section__title::after {
    width: 8px !important;
    height: 8px !important;
  }
  .secton-ofp .smb-section__title::before,
  .swap-title-subtitle .smb-section__title::before {
    left: -20px !important;
    box-shadow: 14px 10px 0 #58b7e6 !important;
  }
  .secton-ofp .smb-section__title::after,
  .swap-title-subtitle .smb-section__title::after {
    box-shadow: 26px -10px 0 #45c07b !important;
  }
}

.secton-ofp .smb-section__header,
.swap-title-subtitle .smb-section__header {
  overflow: visible !important;
}



/* ===== セクション見出しデザイン再現（dot付き） ===== */
/* 対象: secton-ofp / swap-title-subtitle */
.secton-ofp .smb-section__header,
.swap-title-subtitle .smb-section__header {
  text-align: center;
}

.secton-ofp .smb-section__title,
.swap-title-subtitle .smb-section__title {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 8px !important;
  line-height: 1.2;
  font-weight: 700;
}

/* SP調整 */
@media (max-width: 767px) {
  .secton-ofp .smb-section__title::before,
  .swap-title-subtitle .smb-section__title::before,
  .secton-ofp .smb-section__title::after,
  .swap-title-subtitle .smb-section__title::after {
    width: 8px;
    height: 8px;
  }

  .secton-ofp .smb-section__title::before,
  .swap-title-subtitle .smb-section__title::before {
    box-shadow: 26px 0 0 #59b8e6;
    margin-right: 36px;
  }

  .secton-ofp .smb-section__title::after,
  .swap-title-subtitle .smb-section__title::after {
    box-shadow: 26px 10px 0 #45c07b;
    margin-left: 36px;
  }
}


/* 旧absolute指定をリセット */
.secton-ofp .smb-section__title::before,
.secton-ofp .smb-section__title::after,
.swap-title-subtitle .smb-section__title::before,
.swap-title-subtitle .smb-section__title::after {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}

/* 左2ドット */
.secton-ofp .smb-section__title::before,
.swap-title-subtitle .smb-section__title::before {
  margin-right: 64px;
}

/* 右2ドット（タイトルに近づける） */
.secton-ofp .smb-section__title::after,
.swap-title-subtitle .smb-section__title::after {
  margin-left: 26px;
}

/* OFPカード下 2ボタン */
.ofp-actions {
  max-width: 540px;
  margin: 60px auto 0 !important;
}

.ofp-actions .wp-block-buttons,
.ofp-actions .wp-block-column {
  display: flex;
  justify-content: center;
}

.ofp-actions .wp-block-button__link {
  min-width: 260px;
  padding: 0 36px;
  border-radius: 9999px;
  text-align: center;
  text-decoration: none;
	font-weight: bold;
}

/* 左ボタン（白地＋枠） */
.ofp-actions .wp-block-column:first-child .wp-block-button__link {
  background: #fff;
  color: #FD5C56;
  border: 2px solid #FD5C56;
}

/* 右ボタン（塗り） */
.ofp-actions .wp-block-column:last-child .wp-block-button__link {
  background: #FD5C56;
  color: #fff;
  border: 2px solid #FD5C56;
}

@media (max-width: 767px) {
  .ofp-actions {
    max-width: 360px;
    margin-top: 18px;
  }

  .ofp-actions .wp-block-column {
    margin-bottom: 10px;
  }

  .ofp-actions .wp-block-button__link {
    min-width: 100%;
  }

  /* 左2ドット */
  .secton-ofp .smb-section__title::before,
  .swap-title-subtitle .smb-section__title::before {
    margin-right: 28px;
  }
  
  /* 右2ドット（タイトルに近づける） */
  .secton-ofp .smb-section__title::after,
  .swap-title-subtitle .smb-section__title::after {
    margin-left: 24px;
  }

}

.spot-pill-row{
	margin: -20px 0 30px !important;
}
.spot-pill-row strong{
  display: inline-block;
	padding: 4px 12px;
  border-radius: 8px;
  background: #FFE3E2;
	margin: 0 10px 15px;
}

h3.top-sub-headding{
	border: none;
	margin-bottom: 0 !important;
}
h3.top-sub-headding.about{
	color: #FD5C56;
}

.btn-detail a{
	color: #FD5C56;
	border: 2px solid #FD5C56;
	padding: 10px 36px;
	border-radius:50px;
	text-decoration: none;
	font-weight: bold;
	background: white;
}

.ev-section{
	margin-bottom: 80px !important;
}
.wp-block-columns{
	margin-bottom: 60px !important;
}

/* 画像リンク無効化（汎用） */
.no-image-link a,
a.no-image-link {
  pointer-events: none !important;
  cursor: default !important;
}

/* 見た目を通常画像に戻す（任意） */
.no-image-link a img,
a.no-image-link img {
  opacity: 1 !important;
}

/* =========================
   ボランティア / 法人カード
   Columns block class: support-cards
   ========================= */

.support-cards.wp-block-columns {
  gap: 34px;
  margin-top: 18px;
}

/* 各カード */
.support-cards > .wp-block-column {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 300px;
  padding: 28px 28px 24px 200px; /* 左に画像分の余白 */
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* 左カード（ピンク系） */
.support-cards > .wp-block-column:nth-child(1) {
  background: #f9eded url(/wp-content/uploads/2026/06/bg-volunteer.png) no-repeat center center;
}

/* 右カード（グリーン系） */
.support-cards > .wp-block-column:nth-child(2) {
  background: #eaf7ee url(/wp-content/uploads/2026/06/bg-corporate.png) no-repeat center center;
}

/* 画像（各カラム内の画像ブロック） */
.support-cards > .wp-block-column .wp-block-image {
  position: absolute;
  left: 18px;
  top: 15%;
  margin: 0;
  width: 165px;
}
.support-cards > .wp-block-column.corporate .wp-block-image {
  position: absolute;
  left: 0px;
  top: 15%;
  margin: 0;
  width: 200px;
}

.support-cards > .wp-block-column .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 見出し */
.support-cards > .wp-block-column h2,
.support-cards > .wp-block-column h3 {
  margin: 0 0 12px;
  line-height: 1.35;
  font-weight: 700;
}

/* 左右で見出し色を変える */
.support-cards > .wp-block-column:nth-child(1) h2,
.support-cards > .wp-block-column:nth-child(1) h3 {
  color: #FD5C56;
}
.support-cards > .wp-block-column:nth-child(2) h2,
.support-cards > .wp-block-column:nth-child(2) h3 {
  color: #2f8e4a;
}

/* 本文 */
.support-cards > .wp-block-column p {
  margin: 0 0 15px;
  line-height: 1.9;
  color: #222;
}

/* ボタン位置 */
.support-cards > .wp-block-column .wp-block-buttons {
  margin-top: 18px;
}

/* ボタン共通 */
.support-cards > .wp-block-column .wp-block-button__link {
  min-width: 180px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  line-height: 48px;
  text-decoration: none;
  box-sizing: border-box;
}

/* 左右ボタン色 */
.support-cards > .wp-block-column:nth-child(1) .wp-block-button__link {
  color: #FD5C56;
  border: 2px solid #FD5C56;
}
.support-cards > .wp-block-column:nth-child(2) .wp-block-button__link {
  color: #2f8e4a;
  border: 2px solid #2f8e4a;
}

/* SP */
@media (max-width: 767px) {
  .support-cards.wp-block-columns {
    gap: 14px;
  }

  .support-cards > .wp-block-column {
    min-height: 240px;
    padding: 20px 16px 16px 132px;
  }

  .support-cards > .wp-block-column .wp-block-image {
    left: 8px;
    width: 110px;
  }
  .support-cards > .wp-block-column.corporate .wp-block-image{
    top: 20%;
  }
  .support-cards > .wp-block-column.corporate .wp-block-image img {
    display: block;
    width: 64%;
    height: auto;
    object-fit: contain;
  }
  .support-cards > .wp-block-column h2,
  .support-cards > .wp-block-column h3 {
  }

  .support-cards > .wp-block-column p {
    line-height: 1.7;
  }

  .support-cards > .wp-block-column .wp-block-button__link {
    min-width: 150px;
    height: 44px;
    line-height: 40px;
  }
}

/* 法人カード（右）の「詳しく見る」ボタン */
.support-cards .corporate .btn-detail a {
  background: #ffffff;
  color: #2f8e4a;
  border: 2px solid #2f8e4a;
}



/* スマホ時のタブ崩れ対策 */
@media (max-width: 767px) {
  .life-help-tabs .smb-tabs__tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 8px;
    justify-content: initial !important;
    border-bottom: none;
  }

  .life-help-tabs .smb-tabs__tab {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 8px 6px !important;
    text-align: center;
    font-size: 14px;
    line-height: 1.3;
    white-space: normal;      /* 折り返し許可 */
    word-break: keep-all;
  }

  /* アクティブ下線の位置ズレ防止 */
  .life-help-tabs .smb-tabs__tab::after {
    left: 8px;
    right: 8px;
  }
}

/* サイト内検索タブ内の入力欄をスマホでも表示 */
@media (max-width: 767px) {
  .life-help-tabs .wp-block-search,
  .life-help-tabs .widget_search,
  .life-help-tabs .footer-search {
    display: block !important;
    width: 100% !important;
  }

  .life-help-tabs .wp-block-search__inside-wrapper,
  .life-help-tabs .c-input-group {
    display: flex !important;
    width: 100% !important;
  }

  .life-help-tabs input[type="search"],
  .life-help-tabs .c-input-group__field input[type="search"] {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .life-help-tabs .wp-block-search__button,
  .life-help-tabs .c-input-group__btn,
  .life-help-tabs .c-input-group__btn button {
    display: inline-flex !important;
    flex: 0 0 auto;
  }
  .smb-tabs .c-input-group{
    margin: 60px 0;
  }
}

.c-container{
  padding: 0 15px;
}

.c-container .c-container{
  padding: 0;
}
@media (max-width: 767px) {
  .ev-section .smb-section__body{
    padding: 0 30px !important;
  }
}


/* 全幅横スクロール（自動） */
.sponsor-marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.sponsor-marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  transform: translate3d(0,0,0);
  animation: sponsor-marquee-scroll 36s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.sponsor-marquee__list {
  display: flex;
  flex-shrink: 0;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: max-content;
}

.sponsor-marquee__list img {
  display: block;
  height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 767px) {
  .sponsor-marquee__track {
    animation-duration: 26s;
  }
  .sponsor-marquee__list img {
    height: 78px; /* 1.5倍設定を反映 */
    max-width: 220px;
  }
}

@keyframes sponsor-marquee-scroll {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-33.333%,0,0); }
}

/* スマホ */
@media (max-width: 767px) {
  .sponsor-marquee__list img {
    height: 64px;
    max-width: 240px;
  }
  .sponsor-marquee__track {
    animation-duration: 28s;
  }
}

.sponsor-marquee__track {
  animation: none; /* 初期停止 */
}
.sponsor-marquee.is-ready .sponsor-marquee__track {
  animation: sponsor-marquee-scroll 26s linear infinite;
}

.SDGs-area{
  padding: 20px !important;
  margin: 0;
}