.site-footer-copyright p:nth-child(2) {
    display:none;
}




/* ===== パンくず：コンテナ ===== */
#breadcrumb.breadcrumb {
  margin: 10px 0 24px;
  text-align: left;
}

/* ===== カプセル型の背景 ===== */
#breadcrumb .breadcrumb-list {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px; /* 丸カプセル */
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  background: rgba(255, 255, 255, 0.8);         /* 大理石の上の白ガラスっぽく */
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(201, 160, 99, 0.5);    /* くすんだゴールド */
  list-style: none;
}

/* ===== 各項目 ===== */
#breadcrumb .breadcrumb-list__item {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

/* 区切り「›」をカスタムで表示 */
#breadcrumb .breadcrumb-list__item + .breadcrumb-list__item::before {
  content: "›";
  margin: 0 4px;
  color: #bba57a;
  font-size: 11px;
}

/* リンク部分 */
#breadcrumb .breadcrumb-list__item a {
  color: #444;
  text-decoration: none;
  position: relative;
  padding-bottom: 1px;
}

#breadcrumb .breadcrumb-list__item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #00514a, #c9a063); /* 深緑→ゴールド */
  transition: width 0.25s ease;
}

#breadcrumb .breadcrumb-list__item a:hover::after {
  width: 100%;
}

/* 最後の要素（現在位置）を強調 */
#breadcrumb .breadcrumb-list__item:last-child span {
  color: #00514a;      /* 深緑 */
  font-weight: 600;
}

/* ===== スマホ調整 ===== */
@media (max-width: 767px) {
  #breadcrumb .breadcrumb-list {
    font-size: 10px;
    padding: 5px 10px;
    max-width: 100%;
    flex-wrap: wrap;
    row-gap: 4px;
  }
}


/* ===== パンくず：コンテナ ===== */
#breadcrumb.breadcrumb {
  margin: 10px 0 24px;
  text-align: left;
}

/* ===== カプセル型の背景 ===== */
#breadcrumb .breadcrumb-list {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px; /* 丸カプセル */
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  background: rgba(255, 255, 255, 0.8);         /* 大理石の上の白ガラスっぽく */
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(201, 160, 99, 0.5);    /* くすんだゴールド */
  list-style: none;
}

/* ===== 各項目 ===== */
#breadcrumb .breadcrumb-list__item {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

/* 区切り「›」をカスタムで表示 */
#breadcrumb .breadcrumb-list__item + .breadcrumb-list__item::before {
  content: "›";
  margin: 0 4px;
  color: #bba57a;
  font-size: 11px;
}

/* リンク部分 */
#breadcrumb .breadcrumb-list__item a {
  color: #444;
  text-decoration: none;
  position: relative;
  padding-bottom: 1px;
}

#breadcrumb .breadcrumb-list__item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #00514a, #c9a063); /* 深緑→ゴールド */
  transition: width 0.25s ease;
}

#breadcrumb .breadcrumb-list__item a:hover::after {
  width: 100%;
}

/* 最後の要素（現在位置）を強調 */
#breadcrumb .breadcrumb-list__item:last-child span {
  color: #00514a;      /* 深緑 */
  font-weight: 600;
}

/* ===== スマホ調整 ===== */
@media (max-width: 767px) {
  #breadcrumb .breadcrumb-list {
    font-size: 10px;
    padding: 5px 10px;
    max-width: 100%;
    flex-wrap: wrap;
    row-gap: 4px;
  }
}
/* パンくずの 2 番目だけ非表示にする */
#breadcrumb .breadcrumb-list li:nth-of-type(2),
#breadcrumb ol li:nth-of-type(2) {
  display: none !important;
}




/* ページヘッダーを非表示 */
.page-header { display:none; }




a:link {
  color: #1111CC;
　text-decoration: none;
}

a:visited {
  color: #810081;
　text-decoration: none;
}



/* フッターの背景色 */
.site-footer {
  background-color: #1E3A3A;

  color: #FFFFFF; /* 明示的に文字色を白に設定 */
}

.site-footer .social-media a {
  color: #FFFFFF;
}

.site-footer .social-media a:hover {
  color: #FFD700;
}






.site-footer {
  border-top: 3px solid #B69460; /* 上部に金のラインで高級感 */
}




.site-footer a:link {
  color: #FFFFFF;
  text-decoration: none;
}

.site-footer a:visited {
  color: #E0CDA9;
  text-decoration: none;
}

.site-footer a:hover {
  color: #D9BD64;
  text-decoration: underline;
}



/************************************
** お問い合わせフォームの入力
************************************/
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea,
.field {
  display: block;
  width: 100%;
  height: 45px;
  margin-bottom: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  background-color: #eff1f5;
  box-shadow: none;
  color: #5c6b80;
  font-size: 1em;
  vertical-align: middle;
  line-height: 45px;
  transition: background-color 0.24s ease-in-out;
}
textarea {
  max-width: 100%;
  min-height: 120px;
  line-height: 1.5em;
  padding: 0.5em;
  overflow: auto;
}
@media(max-width:500px) {
    .inquiry td,
    .inquiry th {
        display: block !important;
        width: 100% !important;
        border-top: none !important;
        -webkit-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        box-sizing: border-box !important
    }
    .inquiry tr:first-child th {
        border-top: 1px solid #d7d7d7 !important
    }
    .inquiry .any,
    .inquiry .haveto {
        font-size: 10px
    }
}
.inquiry th {
    text-align: left;
    font-size: 14px;
    color: #444;
    padding-right: 5px;
    width: 30%;
    background: #f7f7f7;
    border: solid 1px #d7d7d7
}
.inquiry td {
    font-size: 13px;
    border: solid 1px #d7d7d7
}
.entry-content .inquiry tr,
.entry-content table {
    border: solid 1px #d7d7d7
}
.haveto {
    font-size: 7px;
    padding: 5px;
    background: #ff9393;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px
}
.any {
    font-size: 7px;
    padding: 5px;
    background: #93c9ff;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px
}
.verticallist .wpcf7-list-item {
    display: block
}
#formbtn {
    display: block;
    padding: 15px;
    width: 350px;
    background: #0067C0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 2px;
    margin: 25px auto 0
}
#formbtn:hover {
    background: #fff;
    color: #0067C0;
    border: 2px solid #0067C0
}
th {
    font-weight: 700;
    text-transform: uppercase;
    padding: 13px
}
td {
    border-top: 1px solid #ededed;
    padding: 12px
}
input,
select,
textarea {
    border: 1px solid #dfdfdf;
    letter-spacing: 1px;
    margin: 0;
    max-width: 100%;
    resize: none
}



/* pc */
@media screen and (min-width: 769px) {
/*ここにpc用スタイルを記述*/
}
 
/* tablet  */
@media only screen and (min-width: 641px) and (max-width: 960px) {
/*ここにtablet用スタイルを記述*/
}
 
/* smartPhone */
@media screen and (max-width: 640px) {
/*ここにスマホ用スタイルを記述*/
}



.scroll{
overflow: auto;
height: 200px;
width: 100%;
}




.no-deco-heading {
  border: none !important;
  padding: 0 !important;
  margin-bottom: 0.5em;
  background: none !important;
  font-weight: 600; /* お好みで調整 */
}



幅調整
.my-heading, .my-block {
  width: 400px;
  margin: 0 auto;
}


/* 下のドットだけ非表示にして、矢印は残す */
.swiper-pagination {
    display: none !important;
}





/* 全体のフォント設定 */
body {
  font-family: "游ゴシック体", "YuGothic", "Noto Sans JP", sans-serif;
  color: #3F4A62;
  font-size: 16px;
  line-height: 1.8;
  background-color: #FFFFFF;
}

/* スマホ調整 */
@media screen and (max-width: 768px) {
  body {
    font-size: 15px;
    line-height: 1.9;
  }
}

/* 見出し（h1〜h6） */
h1, h2, h3, h4, h5, h6 {
  color: #2E2E2E;
  font-weight: 600;
  line-height: 1.5;
  font-family: "游明朝", "YuMincho", serif;
}

/* 太字のフォント崩れ対策 */
strong, b {
  font-family: "游ゴシック体", "YuGothic", "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: inherit;
}

/* リンク */
a {
  color: #195D9E;
  text-decoration: underline;
  transition: 0.3s ease;
}

a:hover {
  color: #B69460; /* ゴールド風アクセント */
  text-decoration: none;
}

/* 段落と余白設定 */
p {
  margin-bottom: 1.5em;
}

/* リスト要素の間隔 */
ul, ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

/* ボタンデザイン（VK Blocksなど） */
button,
.wp-block-button__link {
  background-color: #195D9E;
  color: #fff;
  border-radius: 4px;
  padding: 10px 20px;
  font-weight: bold;
  transition: 0.2s ease;
}

button:hover,
.wp-block-button__link:hover {
  background-color: #B69460;
}




/* インライン画像の背景を透明＆サイズ調整 */
.inline-icon {
  background-color: transparent !important;
  width: 1em;
  height: auto;
  vertical-align: middle;
  margin-left: 0.2em;
}





html, body {
  background: none !important;
  background-color: transparent !important;
}

/* 最上位に大理石背景を敷く */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: url('https://tus-o-takahashi.jp/wp-content/uploads/2025/07/大理石＿HP背景＿制作20250707-e1751871625492.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
}

/* スマホ表示の特殊設定（iOS対応） */
@media screen and (max-width: 768px) {
  body::before {
    background-attachment: scroll;
  }
}








.fixed-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.fixed-cta img {
  width: 240px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.fixed-cta img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.8));
}



/* モバイル左下＆サイズ縮小 */
@media screen and (max-width: 768px) {
  .fixed-cta {
    bottom: 12px;
    left: 8px;
    right: auto;
  }

  .fixed-cta img {
    width: 140px;
    opacity: 0.9;
  }

  .fixed-cta img:hover {
    transform: scale(1.03);
    opacity: 1;
  }
}


.site-logo img {
  max-height: 100px; /* お好みのサイズに変更（初期値は40〜60pxが多い） */
  height: auto;
  width: auto;
}




.badge-link {
  width: 300px;
  height: 100px;
  display: block;
  overflow: hidden;
}

.badge-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}



.footer-disaster {
  background: rgba(20,30,40,0.9);
  color: #f0f0f0;
  padding: 12px;
  font-family: "Yu Mincho", serif;
  font-size: 14px;
  border-top: 2px solid #D9A441;
}
.footer-disaster h4 {
  color: #FFD700;
  margin-bottom: 8px;
}
.footer-disaster p {
  margin: 4px 0;
}





.footer-disaster {
  background: #0e1a1a;
  padding: 16px;
  color: #f9f9f9;
  font-family: "Noto Serif JP", "游明朝", serif;
  position: relative;
  margin-bottom: 24px;
  border: 4px solid transparent;
  border-image: linear-gradient(135deg, #d4af37, #f5e8b2) 1;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.footer-disaster h4 {
  font-size: 16px;
  color: #ffd700;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.footer-disaster p {
  font-size: 13px;
  margin: 6px 0;
  line-height: 1.6;
}



.scroll-box {
  border-top: 1px dashed #B19567;
  border-bottom: 1px dashed #B19567;
  padding: 6px 0;
  background: linear-gradient(to right, #1a1a1a, #222);
  position: relative;
  overflow: hidden;
}

.scroll-text {
  text-shadow: 0 0 6px rgba(255,255,255,0.2);
  font-style: italic;
}



/* Instagram埋め込み共通ラッパ */
.insta-wrapper {
  display: flex;
  justify-content: center; /* 中央寄せ */
  margin: 20px auto;       /* 上下に余白 */
  width: 100%;             /* 横幅いっぱい */
  max-width: 800px;        /* 最大幅を設定（お好みで調整） */
}

/* Instagramのiframeや埋め込み要素に適用 */
.insta-wrapper iframe,
.insta-wrapper blockquote,
.insta-wrapper div {
  width: 100% !important;   /* 横幅100% */
  max-width: 100% !important;
  margin: 0 auto !important;
}


/*製品画像ホバー化*/
.product-image img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}



html, body {
  -webkit-text-size-adjust: 100%; /* iOS Safari, Chrome for iOS */
  -ms-text-size-adjust: 100%;     /* 古いIE/Edge */
  text-size-adjust: 100%;         /* 標準対応ブラウザ (Firefox, 新Edge, Android系) */
}





/* ===== Works Cards（安全版） ===== */

/* カードの共通装飾 */
.works-cards figure.wp-block-image {
  margin: 0 !important;
  line-height: 0 !important;
}
.works-cards figure.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;   /* aspect-ratio は使わない */
}
.works-cards > .wp-block-group__inner-container > .wp-block-group,
.works-cards > .is-layout-constrained > .wp-block-group {
  background: #0b0f14;
  color: #e9eef5;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  box-sizing: border-box;
}
.works-cards > .wp-block-group__inner-container > .wp-block-group > *,
.works-cards > .is-layout-constrained > .wp-block-group > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* 緑帯キャプション */
.works-cards .card-caption {
  margin: 0 !important;
  padding: 12px 16px;
  background: #203734;
  color: #fff;
}
.works-cards .card-caption > * {
  margin: 0 !important;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* PC：2列レイアウト */
@media (min-width:768px){
  .works-cards > .wp-block-group__inner-container,
  .works-cards > .is-layout-constrained {
    display: flex;
    flex-wrap: wrap;
    max-width: 1240px;
    width: calc(100% - 64px);
    margin: 0 auto;
    justify-content: space-between;
  }
  .works-cards > .wp-block-group__inner-container > .wp-block-group,
  .works-cards > .is-layout-constrained > .wp-block-group {
    width: 48%;
    margin-bottom: 24px;
    transition: all .2s ease;
  }
  .works-cards > .wp-block-group__inner-container > .wp-block-group:hover,
  .works-cards > .is-layout-constrained > .wp-block-group:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,.16);
    filter: saturate(1.04);
    cursor: pointer;
  }
}

/* SP：横スクロール */
@media (max-width:767px){
  .works-cards {
    position: relative;
  }
  .works-cards > .wp-block-group__inner-container,
  .works-cards > .is-layout-constrained {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 12px 14px;
  }
  .works-cards > .wp-block-group__inner-container > .wp-block-group,
  .works-cards > .is-layout-constrained > .wp-block-group {
    flex: 0 0 90%;
    min-width: 90%;
    margin-right: 16px;
  }
  .works-cards > .wp-block-group__inner-container > .wp-block-group:last-child,
  .works-cards > .is-layout-constrained > .wp-block-group:last-child {
    margin-right: 12px;
  }
}

/* --- SP専用：横スクロールのUIガイド --- */
@media (max-width:767px){
  .works-cards {
    position: relative;
  }

  /* 右下チップ「↔ 横にスライド」 */
  .works-cards::after {
    content: "↔ 横にスライド";
    position: absolute;
    right: 14px;
    bottom: 12px;
    padding: 6px 10px;
    font-size: 10px;
    line-height: 1;
    color: #fff;
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    pointer-events: none;
    opacity: 1;
    transform: translateY(0);
    animation: wc-slide-hint 3s ease forwards;
    z-index: 5;
  }

/* タイトル */
.works-cards .card-caption > :nth-child(1){
  font-weight:700;
  line-height:1.35;
  font-size:16px;
  min-height:calc(1.35em * 2); /* 必ず2行分確保 */
}

/* サブタイトル */
.works-cards .card-caption > :nth-child(2){
  font-weight:500;
  font-size:14px;
  line-height:1.4;
  min-height:calc(1.4em * 1); /* 必ず1行分確保 */
}

/* 補足文 */
.works-cards .card-caption > :nth-child(3){
  font-weight:400;
  font-size:13.5px;
  line-height:1.4;
  min-height:calc(1.4em * 2); /* 必ず2行分確保 */
}
	
/* スマホ時：横スクロールのカードを同じ高さに揃える */
@media (max-width:767px){
  .works-cards > .wp-block-group__inner-container,
  .works-cards > .is-layout-constrained {
    align-items: stretch; /* flex 子要素の高さを揃える */
  }

  .works-cards > .wp-block-group__inner-container > .wp-block-group,
  .works-cards > .is-layout-constrained > .wp-block-group {
    display: flex;
    flex-direction: column;  /* 縦並びで中を揃える */
    height: 100%;            /* 親の高さにフィット */
  }

  /* 画像は上で固定比率を維持 */
  .works-cards figure.wp-block-image {
    flex-shrink: 0;
  }

  /* キャプションを下に押しつける */
  .works-cards .card-caption {
    margin-top: auto;   /* 下側に寄せる */
  }
}
	
	
	
/* 設計実績ページだけ白黒→カラー */
.works-page img {
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.works-page img:hover,
.works-page img:active {
  filter: grayscale(0%);
  transform: scale(1.02);
}


	
	

/* ===== Instagram / Facebook 埋め込み共通 ===== */
.insta-wrapper, .fb-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin: 30px auto;
  padding: 20px;
  max-width: 95%;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

/* 埋め込み本体のセンター固定と幅制限 */
.insta-wrapper iframe,
.insta-wrapper blockquote,
.fb-wrapper iframe,
.fb-wrapper .fb-post {
  display: block !important;
  margin: 0 auto !important;
  float: none !important;
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
}

/* スマホで下が詰まる場合にゆとりを確保 */
@media (max-width: 768px) {
  .insta-wrapper, .fb-wrapper {
    padding: 25px 10px;
    margin-bottom: 40px;
  }
}
	
	
	
	
/* --- Lightningスライダーで次の画像を見せる完全版 --- */
.wp-block-vk-blocks-slider,
.wp-block-vk-blocks-slider .vk_slider,
.wp-block-vk-blocks-slider .vk_slider_outer,
.wp-block-vk-blocks-slider .swiper,
.wp-block-vk-blocks-slider .swiper-wrapper {
  overflow: visible !important; /* はみ出しをすべて表示 */
}

.wp-block-vk-blocks-slider .swiper-slide {
  width: 85% !important;         /* スライド幅を少し小さく */
  margin-right: 20px !important; /* 次のスライドとの間隔 */
  transition: transform 0.4s ease;
}

.wp-block-vk-blocks-slider .swiper-wrapper {
  padding-left: 3% !important;   /* 左側に余白を作る */
}

	
	
	

	
	

	
/* =========================================
  タブを“原型のまま美しく”：横一列＋横スクロール
  - 1文字縦折れを強制的に防止
  - 余計な装飾は入れない（上品に整えるだけ）
========================================= */

/* タブナビ（tablist想定） */
.tabs-scroll [role="tablist"]{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  gap:14px !important;
  justify-content:flex-start !important;
}

/* タブ本体：折れない・縦書きにならない・幅が潰れない */
.tabs-scroll [role="tab"],
.tabs-scroll [role="tablist"] a,
.tabs-scroll [role="tablist"] button{
  display:inline-flex !important;
  align-items:center !important;

  /* ★これが本丸：縦折れ対策 */
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  writing-mode: horizontal-tb !important;

  line-height: 1.2 !important;
  min-width: max-content !important;

  /* “整えるだけ”の最低限 */
  padding: 10px 14px !important;
  border-radius: 999px !important;
}

/* モバイル：横スクロールだけ有効化（影切れ・重なり回避） */
@media (max-width: 768px){
  .tabs-scroll [role="tablist"]{
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 6px 0 10px !important;
  }

  /* 端ベタ付きを防ぐ（上品） */
  .tabs-scroll [role="tablist"] > *:first-child{ margin-left: 12px !important; }
  .tabs-scroll [role="tablist"] > *:last-child{ margin-right: 12px !important; }

  /* スクロール案内は一旦“全部消す”（上下に出る問題を止める） */
  .tabs-scroll::before{ content:none !important; }
  .tabs-scroll [role="tablist"]::before,
  .tabs-scroll [role="tablist"]::after{ content:none !important; }
}

/* もしテーマ/プラグイン側が「タブを縦並び」にしている場合の保険 */
.tabs-scroll [role="tablist"] > li{
  display:flex !important;
  flex: 0 0 auto !important;
}
@media (max-width: 768px){

  /* 親を基準にする */
  .tabs-scroll{
    position: relative;
  }

  /* タブ列：横スクロールはそのまま */
  .tabs-scroll [role="tablist"]{
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 6px 0 14px !important; /* 下にUI分の余白を確保 */
  }

  /* 下の“ガイドライン”（控えめに高級感） */
  .tabs-scroll::after{
    content:"";
    position:absolute;
    left:12px;
    right:12px;
    bottom:6px;
    height:2px;
    border-radius:999px;
    background: linear-gradient(90deg,
      rgba(214,179,90,0),
      rgba(214,179,90,.28),
      rgba(214,179,90,0)
    );
    pointer-events:none;
    opacity:.9;
  }

  /* 左右フェード（続きがあることを示す） */
  .tabs-scroll::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:0;
    height: calc(100% - 8px); /* 下のラインと被らない */
    pointer-events:none;
    background: linear-gradient(90deg,
      rgba(255,255,255,.0) 0%,
      rgba(255,255,255,.0) 8%,
      rgba(255,255,255,.0) 92%,
      rgba(255,255,255,.0) 100%
    );
  }

  /* ここが重要：フェードはmaskでやる（背景色に依存しない） */
  .tabs-scroll [role="tablist"]{
    -webkit-mask-image: linear-gradient(90deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,1) 10%,
      rgba(0,0,0,1) 90%,
      rgba(0,0,0,0) 100%
    ) !important;
            mask-image: linear-gradient(90deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,1) 10%,
      rgba(0,0,0,1) 90%,
      rgba(0,0,0,0) 100%
    ) !important;
  }

  /* 端ベタ付きを防ぐ（既存のまま） */
  .tabs-scroll [role="tablist"] > *:first-child{ margin-left: 12px !important; }
  .tabs-scroll [role="tablist"] > *:last-child{ margin-right: 12px !important; }
}