/*
 * theme-general.css
 * 汎用コンテンツ系デザイン 共通スタイル
 *
 * ヘッダー・フッター・ボタン・カード・セクション見出し等、
 * 複数テンプレートで再利用できるコンポーネントを定義する。
 * すべてのスタイルは .top-page スコープまたは .tp-* クラスで
 * Astra グローバルスタイルとの競合を防ぐ。
 *
 * 読み込み順：このファイルを先に読み込み、ページ固有 CSS を後から読み込む。
 */

/* ============================================================
   CSS カスタムプロパティ（デザイントークン）
   ============================================================ */
:root {
  --top-primary:       #2e7d32;       /* メインカラー（深緑） */
  --top-primary-dark:  #1b5e20;       /* ホバー用・濃い緑 */
  --top-primary-light: #e8f5e9;       /* 薄い緑・背景に使用 */
  --top-accent:        #f9a825;       /* アクセント（琥珀色） */
  --top-accent-dark:   #f57f17;       /* アクセントホバー */
  --top-bg:            #fafafa;       /* ページ背景 */
  --top-bg-alt:        #f1f8e9;       /* 交互セクション背景 */
  --top-text:          #333333;       /* 基本テキスト */
  --top-text-muted:    #666666;       /* 補足テキスト */
  --top-text-light:    #ffffff;       /* 白テキスト */
  --top-border:        #e0e0e0;       /* ボーダー */
  --top-font:          'Noto Sans JP', sans-serif;
  --top-header-h:      68px;          /* ヘッダー高さ */
  --top-radius:        8px;           /* 基本ボーダーラジアス */
  --top-shadow:        0 2px 12px rgba(0, 0, 0, 0.08);
  --top-transition:    0.25s ease;
}


/* ============================================================
   リセット・ベース（.top-page スコープ）
   ============================================================ */
.top-page *,
.top-page *::before,
.top-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.top-page {
  font-family: var(--top-font);
  color: var(--top-text);
  background-color: var(--top-bg);
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

.top-page a {
  color: var(--top-primary);
  text-decoration: none;
  transition: color var(--top-transition), opacity var(--top-transition);
}

.top-page a:hover,
.top-page a:focus-visible {
  color: var(--top-primary-dark);
}

.top-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.top-page ul {
  list-style: none;
}


/* ============================================================
   レイアウト共通
   ============================================================ */
.tp-container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}

.top-page .yc-woocommerce-main {
  width: 100%;
  padding-block: 124px 80px;
}

.top-page .yc-woocommerce-container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}


/* ============================================================
   ボタン
   ============================================================ */
.tp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--top-font);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color var(--top-transition),
    color var(--top-transition),
    border-color var(--top-transition),
    transform var(--top-transition),
    box-shadow var(--top-transition);
  text-decoration: none;
  white-space: nowrap;
}

.tp-btn:hover,
.tp-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* プライマリボタン */
.top-page .tp-btn--primary {
  background-color: var(--top-accent);
  color: #ffffff !important;
  border: 2px solid transparent;
}

.top-page .tp-btn--primary:hover,
.top-page .tp-btn--primary:focus-visible {
  background-color: var(--top-accent-dark);
  color: #ffffff !important;
}

/* セカンダリボタン */
.top-page .tp-btn--secondary {
  background-color: transparent;
  color: var(--top-text-light);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.top-page .tp-btn--secondary:hover,
.top-page .tp-btn--secondary:focus-visible {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--top-text-light);
  border-color: #ffffff;
}

/* アウトラインボタン */
.top-page .tp-btn--outline {
  background-color: transparent;
  color: var(--top-primary);
  border: 2px solid var(--top-primary);
}

.top-page .tp-btn--outline:hover,
.top-page .tp-btn--outline:focus-visible {
  background-color: var(--top-primary);
  color: var(--top-text-light);
}

/* 小さいボタン */
.top-page .tp-btn--sm {
  padding: 8px 24px;
  font-size: 0.85rem;
}


/* ============================================================
   スクロールアニメーション（Intersection Observer 用）
   ============================================================ */
.tp-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.tp-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   ヘッダー
   ============================================================ */
.tp-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--top-header-h);
  background-color: transparent;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

/* スクロール後・下位ページ：白背景ヘッダー（JS または tp-header--solid） */
.tp-header.is-scrolled,
.tp-header.tp-header--solid {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.tp-header.is-scrolled .tp-header__site-name,
.tp-header.tp-header--solid .tp-header__site-name {
  color: var(--top-primary);
}

.tp-header.is-scrolled .tp-nav__list a,
.tp-header.tp-header--solid .tp-nav__list a {
  color: var(--top-text);
}

.tp-header.is-scrolled .tp-hamburger__bar,
.tp-header.tp-header--solid .tp-hamburger__bar {
  background-color: var(--top-text);
}

.tp-header__inner {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 40px);
  padding-block: 10px;
  min-height: var(--top-header-h);
  box-sizing: border-box;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ロゴ */
.tp-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-inline-end: 8px;
}

/* 総合トップ：暗い Hero 上ではロゴを白表示（スクロール後は通常色） */
.top-page--home .tp-header:not(.is-scrolled):not(.tp-header--solid) .tp-header__logo .site-logo,
.top-page--home .tp-header:not(.is-scrolled):not(.tp-header--solid) .tp-header__logo .custom-logo {
  filter: brightness(0) invert(1);
}

/* Logo sizing: see assets/css/site-logo.css (global) */

.tp-header__site-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--top-text-light);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: color var(--top-transition);
}

/* グローバルナビ */
.tp-header__nav {
  margin-left: auto;
}

.tp-nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tp-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tp-nav__actions {
  display: flex;
  align-items: center;
}

.tp-header__auth-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tp-header__logout {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  transition: color var(--top-transition);
}

.tp-header__logout:hover,
.tp-header__logout:focus-visible {
  color: #ffffff;
}

.tp-header.is-scrolled .tp-header__logout,
.tp-header.tp-header--solid .tp-header__logout {
  color: var(--top-text-muted);
}

.tp-header.is-scrolled .tp-header__logout:hover,
.tp-header.is-scrolled .tp-header__logout:focus-visible,
.tp-header.tp-header--solid .tp-header__logout:hover,
.tp-header.tp-header--solid .tp-header__logout:focus-visible {
  color: var(--top-primary);
}

.tp-nav__list a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  transition: background-color var(--top-transition), color var(--top-transition);
}

.tp-nav__list a:hover,
.tp-nav__list .current-menu-item > a {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* ハンバーガーボタン */
.tp-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 6px;
  margin-left: auto;
  border: none;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.tp-hamburger:hover,
.tp-hamburger:focus,
.tp-hamburger:focus-visible,
.tp-hamburger:active {
  background: transparent;
  background-color: transparent;
  box-shadow: none;
  outline: none;
}

.tp-hamburger__icon {
  display: block;
  position: relative;
  width: 100%;
  height: 18px;
}

.tp-hamburger__bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: #ffffff;
  transform-origin: center center;
  transition:
    top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.2s ease;
}

.tp-hamburger__bar:nth-child(1) {
  top: 0;
}

.tp-hamburger__bar:nth-child(2) {
  top: 8px;
}

.tp-hamburger__bar:nth-child(3) {
  top: 16px;
}

.tp-hamburger:not(.is-open):hover .tp-hamburger__bar:nth-child(1),
.tp-hamburger:not(.is-open):focus-visible .tp-hamburger__bar:nth-child(1) {
  top: -2px;
}

.tp-hamburger:not(.is-open):hover .tp-hamburger__bar:nth-child(3),
.tp-hamburger:not(.is-open):focus-visible .tp-hamburger__bar:nth-child(3) {
  top: 18px;
}

.tp-hamburger.is-open .tp-hamburger__bar:nth-child(1),
.tp-hamburger.is-open .tp-hamburger__bar:nth-child(3) {
  top: 8px;
}

.tp-hamburger.is-open .tp-hamburger__bar:nth-child(1) {
  transform: rotate(45deg);
}

.tp-hamburger.is-open .tp-hamburger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.tp-hamburger.is-open .tp-hamburger__bar:nth-child(3) {
  transform: rotate(-45deg);
}

/* ドロワー表示中は白背景のため × を常に濃色に */
.tp-hamburger.is-open .tp-hamburger__bar {
  background-color: var(--top-text);
}

/* モバイルナビオーバーレイ */
.tp-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tp-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}


/* ============================================================
   セクション共通
   ============================================================ */
.tp-section {
  padding-block: 80px;
}

.tp-section--alt {
  background-color: var(--top-bg-alt);
}

.tp-section__header {
  text-align: center;
  margin-bottom: 48px;
}

.tp-section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--top-text);
  letter-spacing: 0.04em;
}

.tp-section__line {
  width: 40px;
  height: 3px;
  background-color: var(--top-primary);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* リード文は左寄せ（日本語の複数行中央寄せを避ける） */
.tp-section__lead {
  max-width: 680px;
  margin: 16px auto 0;
  font-size: 0.95rem;
  color: var(--top-text-muted);
  text-align: left;
}

.tp-section__footer {
  text-align: center;
  margin-top: 40px;
}

.yc-notices {
  padding-block: 40px;
  background: #fff;
}

.yc-notices__inner {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.yc-notices__header {
  margin-bottom: 18px;
  text-align: center;
}

.yc-notices__header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--top-text);
}

.yc-notices__list {
  display: grid;
  width: min(760px, 66.666%);
  margin-inline: auto;
  border-top: 1px solid rgba(36, 40, 48, 0.12);
}

.yc-notices__item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 18px 1em;
  border-bottom: 1px solid rgba(36, 40, 48, 0.12);
  background: #fff;
}

.yc-notices__item time {
  color: var(--top-text-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.yc-notices__item h3 {
  margin: 0;
  color: var(--top-text);
  font-size: 1rem;
  line-height: 1.5;
}

.yc-notices__item h3 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--top-transition);
}

.yc-notices__item h3 a:hover {
  color: var(--top-primary);
}

.yc-notice-single {
  padding-top: var(--top-header-height);
  background: #fff;
}

.yc-notice-single__title-section {
  background: #f6f7f5;
}

.yc-notice-single__content-section {
  background: #fff;
}

.yc-notice-single__header {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.yc-notice-single__date {
  margin: 0 0 12px;
  color: var(--top-text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.yc-notice-single__body {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  color: var(--top-text);
  font-size: 1rem;
  line-height: 1.9;
}

.yc-notice-single__body > *:first-child {
  margin-top: 0;
}

.yc-notice-single__body > *:last-child {
  margin-bottom: 0;
}

.yc-notice-single__back {
  margin: 32px 0 0;
  text-align: center;
}

.yc-notice-single__back a {
  color: var(--top-primary);
  font-weight: 700;
  text-decoration: none;
}

.yc-notice-single__back a:hover {
  text-decoration: underline;
}


/* ============================================================
   ニュースカード
   ============================================================ */
.tp-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tp-news__card {
  background: #ffffff;
  border-radius: var(--top-radius);
  overflow: hidden;
  box-shadow: var(--top-shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--top-transition), transform var(--top-transition);
}

.tp-news__card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.tp-news__thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--top-primary-light);
}

.tp-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tp-news__card:hover .tp-news__thumb img {
  transform: scale(1.04);
}

.tp-news__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tp-news__date {
  font-size: 0.78rem;
  color: var(--top-text-muted);
  margin-bottom: 8px;
}

.tp-news__title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 10px;
}

.tp-news__title a {
  color: var(--top-text);
}

.tp-news__title a:hover {
  color: var(--top-primary);
}

.tp-news__excerpt {
  font-size: 0.85rem;
  color: var(--top-text-muted);
  line-height: 1.7;
  text-align: left;
  flex: 1;
  margin-bottom: 14px;
}

.tp-news__more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--top-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
}

.tp-news__more:hover {
  color: var(--top-primary-dark);
  gap: 8px;
}

.tp-news__empty {
  text-align: center;
  color: var(--top-text-muted);
  padding: 40px 0;
}

/* stagger アニメーション（nth-child） */
.tp-news__grid .tp-fade-in:nth-child(1) { transition-delay: 0s; }
.tp-news__grid .tp-fade-in:nth-child(2) { transition-delay: 0.1s; }
.tp-news__grid .tp-fade-in:nth-child(3) { transition-delay: 0.2s; }


/* ============================================================
   キャンペーンバナー
   ============================================================ */
.tp-banners {
  background-color: #ffffff;
}

.tp-banners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.tp-banners__item {
  position: relative;
  border-radius: var(--top-radius);
  overflow: hidden;
  box-shadow: var(--top-shadow);
}

.tp-banners__link {
  display: block;
  position: relative;
  overflow: hidden;
}

.tp-banners__img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tp-banners__item:hover .tp-banners__img {
  transform: scale(1.04);
}

.tp-banners__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background-color: var(--top-accent);
  color: var(--top-text);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

.tp-banners__text {
  display: block;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--top-text);
  background-color: #ffffff;
}


/* ============================================================
   特徴紹介カード（Features）
   ============================================================ */
.tp-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tp-features__card {
  background: #ffffff;
  border-radius: var(--top-radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--top-shadow);
  transition: box-shadow var(--top-transition), transform var(--top-transition);
}

.tp-features__card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.tp-features__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--top-primary-light);
  color: var(--top-primary);
  font-size: 1.5rem;
  margin-inline: auto;
  margin-bottom: 20px;
}

.tp-features__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--top-text);
}

.tp-features__desc {
  font-size: 0.875rem;
  color: var(--top-text-muted);
  line-height: 1.8;
  text-align: left;       /* 日本語複数行は左寄せ */
}


/* ============================================================
   フッター
   ============================================================ */
.tp-footer {
  background-color: var(--top-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 48px 32px;
}

.tp-footer__inner {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.tp-footer__site-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.tp-footer__logo img {
  filter: brightness(0) invert(1);
}

.tp-footer__nav .tp-footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-footer__nav .tp-footer-nav__list--extra {
  margin-top: 12px;
}

.tp-footer__nav .tp-footer-nav__list a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  padding: 4px 8px;
  border-radius: 4px;
  transition: color var(--top-transition);
}

.tp-footer__nav .tp-footer-nav__list a:hover {
  color: #ffffff;
}

/* SNS */
.tp-footer__sns {
  display: flex;
  gap: 12px;
}

.tp-footer__sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  transition: background-color var(--top-transition), color var(--top-transition);
}

.tp-footer__sns-link:hover {
  background-color: var(--top-accent);
  color: var(--top-text);
}

/* コピーライト */
.tp-footer__copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}


/* ============================================================
   レスポンシブ：タブレット（768px〜1023px）
   ============================================================ */
@media (max-width: 1023px) {

  .tp-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 3要素が2カラムになる場合の右下空白防止 */
  .tp-features__grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

}


/* ============================================================
   レスポンシブ：モバイル（〜767px）
   ============================================================ */
@media (max-width: 767px) {

  /* ヘッダー：ナビをドロワー化 */
  .tp-header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background-color: #ffffff;
    z-index: 999;
    padding: calc(var(--top-header-h) + 16px) 24px 40px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  }

  .tp-header__nav.is-open {
    right: 0;
  }

  .tp-nav__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .tp-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .tp-nav__actions {
    width: 100%;
  }

  .tp-header__auth-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .tp-header__logout {
    color: var(--top-text-muted);
    padding: 8px 0;
  }

  .tp-nav__actions .tp-btn {
    width: 100%;
    justify-content: center;
  }

  .tp-nav__list a {
    color: var(--top-text);
    padding: 14px 16px;
    width: 100%;
    border-bottom: 1px solid var(--top-border);
    border-radius: 4px;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, padding-left 0.3s ease, color 0.3s ease;
  }

  .tp-nav__list a:hover {
    background-color: rgba(0, 0, 0, 0.04);
    color: var(--top-text);
    padding-left: 24px;
  }

  .tp-hamburger {
    display: flex;
    position: relative;
    z-index: 1001;
    flex-shrink: 0;
  }

  .tp-nav-overlay {
    display: block;
  }

  /* ボタン：全幅 */
  .tp-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* セクション余白 */
  .tp-section {
    padding-block: 56px;
  }

  /* ニュース：1カラム */
  .tp-news__grid {
    grid-template-columns: 1fr;
  }

  .yc-notices__item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 1em;
  }

  .yc-notices__list {
    width: 100%;
  }

  /* バナー：1カラム */
  .tp-banners__grid {
    grid-template-columns: 1fr;
  }

  /* 特徴：1カラム（3要素の右下空白防止） */
  .tp-features__grid {
    grid-template-columns: 1fr;
  }

  .tp-features__grid > :last-child:nth-child(odd) {
    grid-column: auto;
  }

  .tp-features__card {
    text-align: left;
    padding: 28px 20px;
  }

  .tp-features__icon {
    margin-inline: 0;
  }

}

/* ============================================================
   ユーティリティクラス
   ============================================================ */
/* PC表示でのみ改行（767px以下のモバイルでは改行を無効化） */
.u-br-pc {
  display: inline;
}
@media (max-width: 767px) {
  .u-br-pc {
    display: none !important;
  }
}

/* モバイル表示でのみ改行（768px以上のPCでは改行を無効化） */
.u-br-sp {
  display: none !important;
}
@media (max-width: 767px) {
  .u-br-sp {
    display: inline !important;
  }
}
