@charset "utf-8";

:root {
    --main-color: #009788;
    --accent-color: #FE4D11;
    --bright-comp-color: #e0f2fe;
    --section-background-color: #f6f9f7;
    --text-color: #1a1a1a;
    --white: white;
    --sub-text-color: #555555;
    --submenu-text-color: #6a6a6a;
    --background-color: #ffffff;
    --border-color: #e9ecef;
    --grey: #c2c2c2;
    --bright-grey: #e2e2e2;
    --yellow: #FEF100;
    --bright-yellow: #ffffec;
    --bright-orange: #fffaef;
    --orange: #ffab51;
    --seminar-gate-orange: #f76d3b;
    --heat-bg: #00b5e4;
    --heat-bright-bg: #e8f5f9;
    --heat-dark-bg: #0092b8;
    --kounenreisha-bg: #0050b8;
    --kounenreisha-bright-bg: #e8f5f9;
    --kounenreisha-dark-bg: #006bad;
    --accent-orange: #ff7340;
}

/* PC/SP 画像切り替え */
.sp-only { display: none; }
.pc-only { display: block; }

@media (max-width: 767px) {
    .pc-only { display: none; }
    .sp-only { display: block; }
}

/* すべてのアンカー対象に適用 */
[id] {
    scroll-margin-top: 80px; /* 固定ヘッダーの高さに合わせる */
}

body, h1, h2, h3, p, ul, li, figure, figcaption {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: var(--text-color);
    font-family: 'IBM Plex Sans JP', 'Meiryo', 'Hiragino Sans', sans-serif;
}

.container {
    margin: 0 auto;
    background-color: var(--primary-bg);
    overflow: hidden;
    width: 100%;
}

a {
    text-decoration: none;   
}

a:hover {
    text-decoration-thickness: .25px; /* 線の太さ */
    text-underline-offset: 2px; /* 文字との距離 */
}

a:link,
a:visited {
  color: var(--text-color);
}

a.disabled {
    pointer-events: none; /* マウスイベントを無効化 */
    cursor: default;      /* カーソルを普通の矢印に */
    text-decoration: none;/* 下線を消すなど見た目調整 */
  }

.hover_none {
    text-decoration: none!important;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul {
    list-style: none;
}

.bg_none {
    background-color: unset!important;
}

.content_maxwidth {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    width: 90%;
}

.maxwidth_1000 {
    max-width: 1000px;
}

.maxwidth_1200 {
    max-width: 1200px;
}

.height_auto {
    height: auto!important;
}

.max_width60 {
    max-width: 60%;
}

.max_width70 {
    max-width: 70%;
}

.max_height80 {
    max-height: 80%!important;
}

.max_height90 {
    max-height: 90%!important;
}

.max_height95 {
    max-height: 95%!important;   
}

.max_height100 {
    max-height: 100%!important;
}

.max_height_none {
    max-height: none!important;
}

.zoom_a {
    text-decoration: none!important;
}

.zoom_a:hover {
    opacity: .8;
}

.zoom {
    text-align: center;
}

.box-shadow_none {
    box-shadow: none!important;
}

.tx_center {
    text-align: center;
}

.tx_left {
    text-align: left!important;
}

.tx_right {
    text-align: right!important;
}

.mx_auto {
    margin: 0 auto;
}

.my_auto {
    margin: auto 0!important;
}

.mtb_1 {
    margin-top: 1rem!important;
    margin-bottom: 1rem!important;
}

.ml_0 {
    margin-left: 0!important;
}

.mb_0 {
    margin-bottom: 0!important;
}

.mb_05 {
    margin-bottom: .5rem!important;
}

.mb_1 {
    margin-bottom: 1rem!important;
}

.mb_3 {
    margin-bottom: 3rem!important;
}

.mb_6 {
    margin-bottom: 6rem!important;
}

.mb_none {
    margin-bottom: none!important;
}

.mt_0 {
    margin-top: 0!important;
}

.mt_6 {
    margin-top: 6rem!important;
}

.mb_1 {
    margin-bottom: 1rem!important;
}

.mb_3 {
    margin-bottom: 3rem!important;
}

.mt_3 {
    margin-top: 3rem!important;
}

.prl_25 {
    padding-right: .5rem!important;
    padding-left: .5rem!important;
}

.p_1 {
    padding: 1rem!important;
}

.ptb_1 {
    padding-top: 1rem!important;
    padding-bottom: 1rem!important;
}

.ptb_2 {
    padding-top: 2rem!important;
    padding-bottom: 2rem!important;
}

.pr_1 {
    padding-right: 1rem!important;
}

.pl_25 {
    padding-left: .25rem!important;
}

.pl_ {
    padding-left: .25rem!important;
}

.pb_3 {
    padding-bottom: 3rem!important;
}

.pt_1 {
    padding-top: 1rem!important;
}

.pt_3 {
    padding-top: 3rem!important;
}

.f_size-1 {
    font-size: 1rem!important;
}

.border-short {
    border: solid 1px var(--grey);
}

.display_none {
    display :none;
}

@media screen and (max-width:1024px) {
    .content_maxwidth {
        max-width: 90%;
    }
}

.color-text-color {
    color: var(--text-color)!important;
}

.article_title {
    line-height: 1.4;
    margin-bottom: 5px;
}


.aspect_ratio_auto {
    aspect-ratio: auto!important;
}

/* 区切り線 */
.common_border {
    border: solid 1px #aaa;
}

.border_bright_grey {
    border: solid 0.5px rgba(34,34,34,.12);
}

/* sidebar */
.sidebar_layout_container { display: flex; align-items: stretch; gap: 0; margin: 0 auto; padding: 0; }
.sidebar_area { width: 200px; flex-shrink: 0; }
.sidebar_area {
    border-left: solid 2px rgba(34,34,34,.12);
}
.sidebar_main_content_area { flex-grow: 1; height: 200vh; border-left: 1px solid var(--border-color); padding-left: 32px; }

.main_content_area {
    min-height: 85vh;
}

.sidebar_nav_section {
    position: sticky;
    top: 40px;
    /* サイドバー全体の高さを画面の高さに制限 */
    max-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    /* padding-left: 7px; */
    padding-top: 0;
}

/* スクロールバー全体のデザイン*/
.sidebar_nav_section::-webkit-scrollbar {
    width: 7px; /* スクロールバーの幅 */
}

/* スクロールバーのつまみ（ドラッグする部分）のデザイン */
.sidebar_nav_section::-webkit-scrollbar-thumb {
    background-color: #ccc; /* つまみの色 */
    border-radius: 3px;
    transition: background-color 0.2s;
}

/* つまみにホバーした時の色 */
.sidebar_nav_section::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}

.sidebar_nav_list {
    display: flex;
    flex-direction: column;
}

.sidebar_nav_item .sidebar_nav_link {
    display: block;
    padding: 12px 5px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-color);
}

.sidevar_corner_group {
    background-color: var(--bright-orange);
    padding: 25px 0;
}

.sidebar_nav_link:hover {
    text-decoration: underline;
}

/* ▼▼▼ アクティブ時のスタイルを調整 ▼▼▼ */
/* .sidebar_nav_item:not(.has_children).is_active .sidebar_nav_link {
    background-color: var(--bright-comp-color);
    color: var(--main-color);
} */

/* 親メニュー（開閉機能付き）のリンク */
.sidebar_nav_item.has_children > .sidebar_nav_link {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}

.sidebar_nav_item.has_children.is_active > .sidebar_nav_link {
    background-color: var(--bright-comp-color);
    color: var(--main-color);
}

/* 矢印アイコン */
/* .sidebar_nav_item.has_children > .sidebar_nav_link::before {
    content: '';
    display: block;
    width: 9px;
    height: 9px;
    border-bottom: 2px solid var(--sub-text-color);
    border-right: 2px solid var(--sub-text-color);
    transition: transform 0.3s ease;
    transform: translateY(-2px) rotate(-135deg);
}

.sidebar_nav_item.has_children.is_active > .sidebar_nav_link::before {
     border-color: var(--main-color);
}

.sidebar_nav_item.is_closed > .sidebar_nav_link::before {
    transform: translateY(0) rotate(45deg);
} */

/* サブメニュー */
.sidebar_submenu_list {
    padding-left: 12px;
    margin: 4px 0 12px;
    overflow: hidden;
    max-height: 500px;
    transition: max-height 0.3s ease, margin 0.3s ease;
}

.sidebar_submenu_list {
    background-color: var(--bright-orange);
    margin: 0;
}

.sidebar_submenu_link {
    display: block;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--submenu-text-color);
    border-radius: 6px;
    font-weight: 500;
}

.sidebar_submenu_link:hover {
    text-decoration: underline;
}

.sidebar_submenu_item.is_active .sidebar_submenu_link {
    color: var(--main-color);
    font-weight: 700;
}

.sidebar_nav_item.is_closed .sidebar_submenu_list {
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
}

/* リンク要素を基準点にする */
.sidebar_nav_link.has_tooltip {
    position: relative;
    display: flex; /* 横並びにする */
    justify-content: space-between; /* 両端に寄せる */
    align-items: center;
}

/* インフォメーションマーク "i" のスタイル */
/* .info_mark {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ccc;
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 14px;
    font-family: serif;
    cursor: help;
} */

/* ツールチップ本体のスタイル（最初は非表示） */
.tooltip_text {
    position: absolute;
    bottom: 110%; /* マークの上に表示 */
    left: 50%;
    transform: translateX(-50%);
    width: 220px; /* 横幅を指定 */
    background-color: #333;
    color: white;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 11px; /* 小さい文字 */
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    
    /* 非表示の状態 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 10;
}

/* ツールチップの吹き出しの矢印 */
.tooltip_text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* リンクにホバーした時にツールチップを表示 */
.sidebar_nav_link.has_tooltip:hover .tooltip_text {
    opacity: 1;
    visibility: visible;
}

.sidebar_newtab_img {
    padding-left: 5px;
    width: 14px;
}

.sidebar_title {
    border-bottom: solid 3px var(--seminar-gate-orange);
    font-size: 1.1rem!important;
    padding-left: 5px!important;
}

.sidebar_title img {
    width: 25px;
}

@media screen and (max-width: 1024px) {
    .sidebar_area { display: none; }
    .sidebar_main_content_area { border-left: none; padding-left: 0; }
    .sidebar_layout_container { padding: 0; }
}




.sb_special_corner {
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    background-color: #fffaf0; /* 薄いオレンジ背景 */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(255, 153, 0, 0.15); /* オレンジ色の薄い影 */
}

/* タイトルエリア（リボン風） */
.sb_corner_head {
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    position: relative;
}
/* タイトル横のアイコン装飾 */
.sb_corner_head::before, .sb_corner_head::after {
    content: '★';
    font-size: 0.8em;
    vertical-align: middle;
    margin: 0 5px;
    color: #fff;
    opacity: 0.8;
}

/* リンクのリスト */
.sb_corner_list {
    padding: 15px;
}

.sb_corner_item {
    margin-bottom: 10px;
}
.sb_corner_item:last-child { margin-bottom: 0; }

/* 特設コーナー内のリンク（ボタン風） */
.sb_corner_link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border: 1px solid #ffcc80; /* 薄いオレンジ枠 */
    padding: 12px 15px;
    border-radius: 4px;
    font-weight: 700;
    color: #d35400; /* 濃いオレンジ文字 */
    font-size: 0.95rem;
    transition: all 0.2s;
    box-shadow: 0 2px 0 rgba(0,0,0,0.05);
}

.sb_corner_link:hover {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 5px rgba(0,0,0,0.1);
}

.sb_corner_arrow {
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}


/* -------------------------------------------
    2. 下部リンク群（まとめて1つのバインダー）
------------------------------------------- */
.sb_binder_wrapper {
    position: relative;
    background-color: var(--binder-board-color); /* ボードの色 */
    border-radius: 6px;
    padding: 50px 10px 15px; /* 上部を広く開ける（クリップ用） */
    box-shadow: 4px 4px 10px rgba(0,0,0,0.2); /* ボード全体の影 */
}

/* ▼▼▼ 金属クリップ部分（CSSで作画） ▼▼▼ */
/* クリップの土台 */
.sb_binder_wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 35px;
    background: linear-gradient(to bottom, #ccc, #999);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 2;
}
/* クリップの可動部（銀色の部分） */
.sb_binder_wrapper::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    border: 4px solid #e0e0e0;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    z-index: 1;
}

/* 紙の部分 */
.sb_binder_paper {
    background-color: #fff;
    padding: 25px 15px 15px; /* クリップ下から書き始め */
    min-height: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 紙の影 */
    position: relative;
}

/* 紙の上部の穴（パンチ穴イメージ） */
.sb_binder_paper::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background-color: #ddd; /* 穴の色 */
    border-radius: 50%;
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.2);
}

/* 紙の中のリンクリスト */
.sb_paper_list {
    display: flex;
    flex-direction: column;
}

.sb_paper_item {
    border-bottom: 1px solid #eee; /* 罫線 */
}
.sb_paper_item:last-child {
    border-bottom: none;
}

.sb_paper_link {
    display: block;
    padding: 15px 5px;
    color: #444;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
    transition: color 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sb_paper_link:hover {
    color: var(--accent-color);
    background-color: #f9f9f9;
    padding-left: 10px; /* 少し動く */
}

/* 紙の中の矢印 */
.sb_paper_arrow {
    font-size: 10px;
    color: #ccc;
}
.sb_paper_link:hover .sb_paper_arrow {
    color: var(--accent-color);
}

#sidebar_navigation {
    width: 200px;
    flex-shrink: 0;
    position: sticky;
    top: 60px;
    max-height: 100vh; 
    overflow-y: auto; 
    padding-top: 0;
    padding-bottom: 20px;
}

/* --- レスポンシブ対応 --- */
@media screen and (max-width: 1024px) {
    .sidebar_area { display: none; }
    .sidebar_main_content_area { border-left: none; padding-left: 20px; padding-right: 20px; flex-direction: column; }
    .sidebar_layout_container { flex-direction: column; }
    #sidebar_navigation { width: 100%; border-bottom: 1px solid #eee; margin-bottom: 30px; padding-bottom: 30px; }
    .sb_binder_wrapper { max-width: 400px; margin: 0 auto; } /* スマホでも幅広になりすぎないように */
}


/* アンカーリンク */
#anchor_nav_01 {
    border: solid 1px var(--bright-grey);
    padding: 40px 0;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 60px;
}

.anchor_nav_01_container {
    text-align: center;
}

.anchor_nav_01_title {
    font-size: 16px;
    font-weight: bold;
    color: var(--comp-color);
    margin-top: 0;
    margin-bottom: 20px;
}

.anchor_nav_01_list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* リンクが増えた場合も改行して対応 */
}

.anchor_nav_01_link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 24px;
    color: var(--comp-color);
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    min-width: 280px; /* ボタンの最小幅を確保 */
    box-sizing: border-box;
}

.anchor_nav_01_link::after {
    content: '>';
    display: inline-block;
    margin-left: 10px;
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
}

.anchor_nav_01_link:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    border: solid 1px var(--main-color);
}

.anchor_nav_01_link:hover::after {
    transform: translateX(4px);
}

/* --- レスポンシブ対応 --- */
@media screen and (max-width: 768px) {
    #anchor_nav_01 {
    padding: 30px 0;
    }
    .anchor_nav_01_title {
    font-size: 14px;
    }
    .anchor_nav_01_list {
    flex-direction: column; /* 縦並びに変更 */
    gap: 16px;
    }
    .anchor_nav_01_link {
    width: 100%; /* 幅を100%に */
    min-width: auto;
    font-size: 1rem;
    padding: 14px;
    }
}



/* MV読み込みローディング */
/* ローディングのバー（シャイマー） */
.roading_mv_placeholder {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
      rgba(238,238,238,1) 0%,
      rgba(221,221,221,1) 30%,
      rgba(255,255,255,0.6) 50%,
      rgba(221,221,221,1) 70%,
      rgba(238,238,238,1) 100%);
  background-color: #eee;
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
  opacity: 1;
  transition: opacity .35s ease;
}

/* アニメーション定義は背景を移動させる方式（安定） */
@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* 読み込みが完了したら .mv に is-loaded を付ける */
.mv.is-loaded .roading_mv_placeholder {
  opacity: 0;
  pointer-events: none;
  animation-play-state: paused; /* 念のため停止 */
  /* display:none にせずフェードアウトしてから消す方が自然 */
}


/* 掲載のお問い合わせ */
.branding_card {
    background-color: #fff;
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 12px;
    margin-bottom: 30px;
    padding: 40px;
    display: flex;
    flex-direction: column; /* 要素を縦に並べる */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.branding_card_title {
    font-size: 1.5rem; /* 24px */
    font-weight: 700;
    margin: 0 0 16px!important;
    color: var(--text-color, #222);
}

.branding_card_description {
    font-size: 1rem; /* 16px */
    line-height: 1.7;
    color: var(--sub-text-color, #555);
    flex-grow: 1; /* この要素が余白を埋めるように伸びる */
}

/* --- ボタンのスタイル --- */
.branding_card_button {
    display: inline-block;
    margin-top: 24px; /* 説明文との間に余白を確保 */
    padding: 12px 28px;
    background-color: var(--main-color); /* サイトのメインカラー */
    color: #fff!important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    text-align: center;
    align-self: flex-start; /* ボタンが自身の幅になるように */
    transition: background-color 0.2s ease;
}

.branding_card_button:hover {
    text-decoration: underline;
    text-decoration-color: white;
}

.external_link_icon {
    padding-left: 3px;
    width: 16px;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    .branding_grid {
        grid-template-columns: 1fr; /* 1カラムにする */
    }
    .branding_card {
        padding: 32px;
    }
}



/* エリア全体：上のマージンを詰める */
.sidebar_curation_area {
    padding: 10px 8px 70px;
    border-top: 1px solid #eee; /* 薄い区切り線を追加 */
}

/* タイトル：極めてシンプルに */
.sidebar_curation_title {
    font-size: 0.75rem; /* 小さく */
    font-weight: 700;
    color: #888; /* グレーにして主張を抑える */
    margin: 0 0 15px;
    letter-spacing: 0.05em;
}

/* 各アイテム：隙間を詰める */
.curation_item {
    display: block;
    text-decoration: none;
    margin-bottom: 15px;
    transition: opacity 0.2s;
    position: relative;
    border-bottom: 1px dotted #f4f4f4; /* 非常に薄い区切り線 */
    padding-bottom: 15px;
}

.curation_item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.curation_item:hover {
    opacity: 0.7;
    text-decoration: none;
}

/* コンテンツ配置 */
.curation_content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

/* 文字エリア */
.curation_txt {
    flex: 1;
}

/* 分類タグ：位置を製品名の上に配置し、最小化 */
.curation_tag {
    display: inline-block;
    font-size: 10px; /* 極小 */
    line-height: 1;
    font-weight: normal;
    color: #666;
    background-color: #f5f5f5;
    padding: 3px 5px;
    border-radius: 2px;
    margin-bottom: 4px;
}
/* タグの色分け（文字色のみ変更） */
.tag_heat { color: #d0231b; } 
.tag_fire { color: #e67e22; }
.tag_caught { color: #2980b9; }

/* 製品名：サイズ調整 */
.curation_product_name {
    font-size: 12px; /* 0.8rem相当 */
    font-weight: 700;
    color: #333;
    margin: 0 0 2px;
    line-height: 1.4;
    font-feature-settings: "palt";
}

/* 企業名 */
.curation_company {
    font-size: 10px;
    color: #999;
    margin: 0;
}

/* 画像エリア：少し小さくしてバランスを取る */
.curation_img {
    flex: 0 0 45px; /* 50px -> 45px に縮小 */
    width: 45px;
    height: 45px;
    margin: 0;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f9f9f9; /* 境界が溶け込みすぎないよう微かな枠 */
}

.curation_img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media screen and (max-width: 1024px) {
    .sidebar_curation_area {
        display: none;
    }
}


/* ボトムバーの全体設定 */
.global-bottom-bar {
    display: none;
  background-color: var(--accent-orange); 
  color: #ffffff;
  padding: 8px 0;
  position: fixed; 
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, opacity 0.3s ease; /* フワッと消えるアニメーション */
}

/* JavaScriptで非表示にするためのクラス */
.global-bottom-bar.is-hidden {
  transform: translateY(100%); /* 下にスライドして隠れる */
  opacity: 0;
  pointer-events: none;
}

/* 中身のレイアウト */
.bottom-bar-content {
  position: relative; /* ×ボタンの配置基準にするため追加 */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 auto;
  padding: 0 40px 0 15px; /* 右側に「×」ボタンが被らないよう40pxの余白を確保 */
}

/* テキスト部分 */
.bottom-bar-text {
  font-size: 0.85rem;
  font-weight: bold;
}

/* ボタンのデザイン */
.bottom-bar-btn {
  background-color: #ffffff;
  color: #2c3e50;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px; 
  transition: background-color 0.2s ease;
}

.bottom-bar-btn:hover {
  background-color: #e0e0e0;
}

/* 追加：×（閉じる）ボタンのデザイン */
.bottom-bar-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  padding: 0 5px;
}

.bottom-bar-close:hover {
  opacity: 1;
}

/* スマホ閲覧時の調整 */
@media (max-width: 768px) {
  .bottom-bar-content {
    flex-direction: row; 
    justify-content: center; /* 中央寄せにしつつ、gapで少し間隔をあける */
    gap: 10px;
    padding: 0 35px 0 10px; /* スマホでも右側の×ボタン余白はキープ */
  }
  
  .bottom-bar-text {
    font-size: 0.75rem; 
    line-height: 1.2;
  }
}