/* =============================================
   第34回 日本介護福祉学会大会 公式Webサイト
   メインスタイルシート
   カラーパレット：やわらかいオレンジ・ライトグリーン・スカイブルー・ナチュラルホワイト
   ============================================= */

/* ── Google Fonts 読み込み ── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;800&family=Noto+Serif+JP:wght@400;600;700&display=swap');

/* ── CSS カスタムプロパティ（カラーパレット） ── */
:root {
  /* メインカラー */
  --color-orange:        #F5832A;   /* やわらかいオレンジ */
  --color-orange-light:  #FDF0E4;   /* オレンジ極薄 */
  --color-orange-mid:    #FBBF6E;   /* オレンジミドル */
  --color-orange-dark:   #D9621A;   /* オレンジ濃 */

  /* アクセントカラー */
  --color-green:         #5BAA6A;   /* ライトグリーン */
  --color-green-light:   #E8F5EB;   /* グリーン極薄 */
  --color-green-mid:     #8DC99A;   /* グリーンミドル */
  --color-green-dark:    #3C7A4A;   /* グリーン濃 */

  --color-blue:          #4EA8CE;   /* スカイブルー */
  --color-blue-light:    #E4F4FB;   /* ブルー極薄 */
  --color-blue-mid:      #87CEEA;   /* ブルーミドル */
  --color-blue-dark:     #2B7FA8;   /* ブルー濃 */

  /* ベースカラー */
  --color-white:         #FFFFFF;
  --color-bg:            #FAFAF7;   /* ナチュラルホワイト */
  --color-bg-section:    #F5F2ED;   /* セクション背景 */
  --color-cream:         #FFF8F0;   /* クリーム */

  /* テキスト（濃い色に変更） */
  --color-text-main:     #111111;   /* メインテキスト：ほぼ黒 */
  --color-text-body:     #1E1E1E;   /* ボディテキスト：濃いグレー */
  --color-text-sub:      #4A4A4A;   /* サブテキスト */
  --color-text-light:    #666666;   /* 薄いテキスト */

  /* ボーダー */
  --color-border:        #E0DBCE;
  --color-border-light:  #F0EDE6;

  /* シャドウ */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.08);

  /* フォント */
  --font-sans:  'Noto Sans JP', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, sans-serif;
  --font-serif: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 Pro', serif;

  /* スペーシング */
  --section-padding: 80px 0;
  --container-width: 1140px;

  /* ボーダーラジウス */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* トランジション */
  --transition: 0.25s ease;
}

/* ── リセット＆ベース ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 19px;  /* 一回り大きく（旧17px→19px） */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 500;  /* 標準ウェイトを少し太く */
  color: var(--color-text-body);
  background-color: var(--color-bg);
  line-height: 1.9;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-blue-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-orange);
}

ul, ol {
  list-style: none;
}

/* ── コンテナ ── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── セクション共通 ── */
.section {
  padding: var(--section-padding);
}

.section--gray {
  background-color: var(--color-bg-section);
}

.section--cream {
  background-color: var(--color-cream);
}

.section--orange {
  background: linear-gradient(135deg, #FDF0E4 0%, #FFF8F0 100%);
}

.section--green {
  background: linear-gradient(135deg, #E8F5EB 0%, #F0FAF2 100%);
}

.section--blue {
  background: linear-gradient(135deg, #E4F4FB 0%, #EDF8FF 100%);
}

/* ── セクションタイトル共通 ── */
.section-title {
  font-family: var(--font-sans);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.section-title-en {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-sub);
  font-size: 0.95rem;
  margin-bottom: 52px;
  line-height: 1.7;
}

.section-divider {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-orange-mid));
  border-radius: var(--radius-full);
  margin: 12px auto 48px;
}

/* ── ヘッダー ── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-mid));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-white);
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-logo-main {
  font-size: 1rem;/* 旧0.8rem 新1rem */
  font-weight: 700;
  color: var(--color-text-main);
  white-space: nowrap;
}

.header-logo-sub {
  font-size: 0.65rem;
  color: var(--color-text-sub);
  white-space: nowrap;
}

/* ── グローバルナビ ── */
.global-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-body);
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--color-orange);
  background-color: var(--color-orange-light);
}

.nav-link.active {
  color: var(--color-orange);
  background-color: var(--color-orange-light);
}

/* ドロップダウン */
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px); /* 隙間を8px→4pxに縮小 */
  /* ナビ項目の左端に揃える（translateX不使用で位置ずれを防ぐ） */
  left: 0;
  transform: translateY(-8px);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 200;
  white-space: nowrap;
}

/* 右端メニュー（最後・最後から2番目）はパネルを右端基準で表示 */
.nav-list .nav-item:last-child .nav-dropdown,
.nav-list .nav-item:nth-last-child(2) .nav-dropdown,
.nav-list .nav-item:nth-last-child(3) .nav-dropdown {
  left: auto;
  right: 0;
}

/* ナビ項目とパネルの隙間を透明ブリッジで埋めてホバーが切れないようにする */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -12px;       /* パネル上部から隙間分だけ上に伸ばす */
  left: 0;
  right: 0;
  height: 12px;     /* 隙間と同じ高さ */
  background: transparent;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  transform: rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  z-index: -1;
}

/* 右寄せパネルの矢印は右端に揃える */
.nav-list .nav-item:last-child .nav-dropdown::before,
.nav-list .nav-item:nth-last-child(2) .nav-dropdown::before,
.nav-list .nav-item:nth-last-child(3) .nav-dropdown::before {
  left: auto;
  right: 16px;
}

.nav-dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--color-text-body);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background-color: var(--color-orange-light);
  color: var(--color-orange-dark);
}

/* ヘッダーCTA */
.header-cta {
  flex-shrink: 0;
}

.btn-header-register {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  color: var(--color-white) !important;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--transition);
  box-shadow: 0 3px 12px rgba(245,131,42,0.4);
}

.btn-header-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,131,42,0.5);
  color: var(--color-white) !important;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover {
  background: var(--color-orange-light);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-main);
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* モバイルナビ */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 999;
  overflow-y: auto;
  padding: 16px 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav-list {
  padding: 0 16px;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.mobile-nav-link:hover {
  color: var(--color-orange);
}

.mobile-nav-sub {
  padding: 0 0 12px 16px;
}

.mobile-nav-sub a {
  display: block;
  padding: 8px 8px;
  font-size: 0.88rem;
  color: var(--color-text-sub);
  border-left: 2px solid var(--color-border);
  padding-left: 12px;
  margin-bottom: 4px;
}

.mobile-nav-sub a:hover {
  color: var(--color-orange);
  border-color: var(--color-orange);
}

.mobile-nav-cta {
  padding: 24px 16px;
}

/* ── ボタン共通 ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-sans);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(245,131,42,0.45);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(245,131,42,0.55);
  color: var(--color-white);
}

.btn--primary:active {
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--color-white);
  color: var(--color-orange);
  border: 2px solid var(--color-orange);
}

.btn--secondary:hover {
  background: var(--color-orange-light);
  transform: translateY(-2px);
  color: var(--color-orange-dark);
}

.btn--green {
  background: linear-gradient(135deg, var(--color-green), var(--color-green-dark));
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(91,170,106,0.4);
}

.btn--green:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(91,170,106,0.5);
  color: var(--color-white);
}

.btn--blue {
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(78,168,206,0.4);
}

.btn--blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(78,168,206,0.5);
  color: var(--color-white);
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.7);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
}

.btn--lg {
  padding: 18px 44px;
  font-size: 1.1rem;
}

.btn--sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn--full {
  width: 100%;
}

/* ── カード共通 ── */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--color-border-light);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-body {
  padding: 24px;
}

/* ── バッジ・タグ ── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  line-height: 1.4;
}

.badge--orange {
  background: var(--color-orange-light);
  color: var(--color-orange-dark);
}

.badge--green {
  background: var(--color-green-light);
  color: var(--color-green-dark);
}

.badge--blue {
  background: var(--color-blue-light);
  color: var(--color-blue-dark);
}

.badge--new {
  background: #FF4757;
  color: var(--color-white);
}

/* ── フォーム ── */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text-main);
  background: var(--color-white);
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(245,131,42,0.12);
}

/* ── アニメーション ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes pulse-ring {
  0%   { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

@keyframes draw-circle {
  from { stroke-dashoffset: 300; }
  to   { stroke-dashoffset: 0; }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── フッター ── */
#site-footer {
  background: #2A2520;
  color: rgba(255,255,255,0.85);
  padding-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-logo-area {
  grid-column: span 1;
}

.footer-logo-mark {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-mid));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer-org-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-org-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer-nav-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-orange-mid);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-nav-list li {
  margin-bottom: 8px;
}

.footer-nav-list a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-nav-list a:hover {
  color: var(--color-orange-mid);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.footer-links a:hover {
  color: rgba(255,255,255,0.7);
}

/* ── 告知バー ── */
.info-bar {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  color: var(--color-white);
  padding: 10px 0;
  text-align: center;
}

.info-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.info-bar-label {
  background: rgba(255,255,255,0.25);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.info-bar-text {
  font-size: 0.85rem;
  font-weight: 500;
}

.info-bar a {
  color: var(--color-white);
  text-decoration: underline;
  font-weight: 600;
}

/* ── ページトップボタン ── */
.page-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(245,131,42,0.5);
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 500;
  border: none;
  font-size: 1.1rem;
}

.page-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
}

.page-top-btn:hover {
  background: var(--color-orange-dark);
  transform: translateY(-3px);
}

/* ── レスポンシブ ── */
@media (max-width: 1100px) {
  :root {
    --container-width: 960px;
  }

  .nav-link {
    padding: 8px 9px;
    font-size: 0.78rem;
  }
}

@media (max-width: 900px) {
  html {
    font-size: 17px;  /* タブレット（旧16px→17px） */
  }

  .global-nav,
  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-logo-area {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 18px;  /* モバイル：見やすさ優先（16px→18px） */
  }

  :root {
    --section-padding: 56px 0;
  }

  .container {
    padding: 0 16px;
  }

  .section-title {
    font-size: 1.45rem;
  }

  /* ボタン */
  .btn {
    font-size: 0.95rem;
  }
  .btn--lg {
    font-size: 1rem;
    padding: 14px 28px;
  }

  /* 告知バー */
  .info-bar-text {
    font-size: 0.85rem;
  }

  /* フッター */
  .footer-nav-title {
    font-size: 0.9rem;
  }
  .footer-nav-list a {
    font-size: 0.88rem;
  }
  .footer-org-desc {
    font-size: 0.85rem;
  }
  .footer-copyright {
    font-size: 0.82rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-logo-area {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .page-top-btn {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ── アクセシビリティ ── */
:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── ユーティリティ ── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }

.w-full { width: 100%; }



/* =====================================================
   Responsive Scroll Table cgbs260226
   横スクロール対応テーブル（全ページ共通）
===================================================== */

.table-scroll{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  background: var(--color-white);
}

.table-scroll table{
  min-width: 720px;
  width: 100%;
  border-collapse: collapse;
}

/* スクロール可能ヒント（モバイルのみ） */
@media (max-width:768px){
  .table-scroll::after{
    content:"横にスクロールできます";
    display:block;
    font-size:0.8rem;
    color:var(--color-text-sub);
    padding:6px 10px;
  }
}


/* ===== 大会長メッセージ：モバイルは縦並び cgbs260226===== */
@media (max-width: 768px){
  .message-inner{
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 20px !important;
  }

  /* アイコン/写真を中央寄せ */
  .message-inner > div:first-child{
    justify-self: center;
  }

  /* 本文の行間を少し詰めて読みやすく */
  .message-inner p{
    line-height: 1.9 !important;
  }

  /* 20260319 */
  body.menu-open .info-bar {
    display: none;
  }

  body.menu-open .mobile-nav {
    top: 72px;
  }
}

  /* 20260319 */
@media (max-width: 900px) {
  body.menu-open .info-bar {
    display: none;
  }

  body.menu-open .mobile-nav {
    top: 72px;
  }
}



.btn--orange{
  background:#f39c12;
  color:#fff;
  border:2px solid #f39c12;
}

.btn--orange:hover{
  background:#e67e22;
  border-color:#e67e22;
  color:#fff;
}




/*20260325*/
/* =========================
   footer social
========================= */
.footer-social {
  text-align: center;
  margin-top: 36px;
  padding-bottom: 10px;
  border-top: 0px solid rgba(255,255,255,0.12);
}

.footer-social-title {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
}

.footer-social-list {
  display: flex;              /* ← gridやめる */
  justify-content: center;    /* ← 中央寄せの本体 */
  gap: 20px;
  flex-wrap: wrap;            /* ← スマホ対応 */
  max-width: 520px;           /* ← 横幅制御で“まとまり感” */
  margin: 0 auto;             /* ← ブロック自体も中央 */
}

.footer-social-link {
  width: 220px;               /* ← 幅を固定すると美しく並ぶ */
  justify-content: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 68px;
  padding: 16px 18px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-link:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

.footer-social-link i {
  font-size: 1.9rem;
  /*flex-shrink: 0;*/
}

.footer-social-link span {
  display: inline-block;
  white-space: nowrap;
}

/* 各サービスの視認性 */
.footer-social-link--youtube i {
  color: #ff4d4f;
}

.footer-social-link--instagram i {
  color: #ff9a3c;
}

.footer-social-link--line i {
  color: #39c95a;
}

.footer-social-link--peatix i {
  color: #8ddf62;
}

/* タブレット */
@media (max-width: 991px) {
  .footer-social-list {
    grid-template-columns: repeat(2, minmax(0, 220px));
    justify-content: center;
  }

  .footer-social-link {
    min-height: 62px;
    padding: 13px 14px;
    font-size: 0.92rem;
  }

  .footer-social-link i {
    font-size: 1.7rem;
  }
}

/* スマホ */
@media (max-width: 575px) {
  .footer-social {
    margin-top: 28px;
    padding-top: 20px;
  }

  .footer-social-title {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }

  .footer-social-list {
    gap: 12px;
  }

  .footer-social-link {
    width: 48%;
    min-width: 140px;
    padding: 12px 10px;
    gap: 8px;
    border-radius: 12px;
    font-size: 0.84rem;
  }

  .footer-social-link i {
    font-size: 1.5rem;
  }

  .footer-social-link span {
    white-space: normal;
    text-align: center;
  }
}