/*
 * トップページ専用スタイル
 * top-page.css
 */

/* ============================
  ヒーローセクション
   ============================ */
.top-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    #ff6b9e 50%,
    var(--primary-color-hover) 100%
  );
  padding: 0;
  position: relative;
  overflow: hidden;
}

.top-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.top-hero-inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.top-hero-content {
  width: 100%;
  text-align: center;
  color: #fff;
}
.top-hero-image {
  width: 100%;
  max-height: 900px;
  overflow: hidden;
}
.top-hero-image img {
  width: 100%;
  height: auto;
  max-height: 900px;
  object-fit: cover;
  display: block;
}
.top-hero-title {
  margin: 0;
}
.top-hero-title .title-sub {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}
.top-hero-title .title-main {
  display: block;
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
}
.top-hero-desc {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}
.top-hero-desc .count-highlight {
  font-size: 28px;
  font-weight: 700;
  color: #ffc107;
  margin: 0 4px;
}

/* ============================
  ストーリー風 セラピスト一覧 (おすすめのセラピスト)
   ============================ */
.story-feed {
  padding: 30px 0 20px;
  background: transparent;
}
.story-feed-inner {
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.story-feed-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 30px;
  padding: 0 16px;
  font-family: "Outfit", sans-serif;
  color: var(--text-main);
  text-align: center;
}
.story-feed-title .title-ja {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff529a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.story-feed-title .title-en {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.25em;
}
.story-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 8px 0 24px; /* 下部余白を最適化 */
}

/* 線路背景（アースブラウン統一・SVGによるギザギザ・にじみ対策済「＃」デザイン） */
.story-carousel-wrapper::before {
  content: "";
  position: absolute;
  top: 88px; /* 中心位置を維持 */
  left: 0;
  width: 100%;
  height: 32px; /* 突き出し分を含む高さ */
  /* インラインSVGを使用することで、ブラウザのベクターアンチエイリアシングが効き、ギザギザや滲みが100%解消されます */
  /* サブピクセル描画時のピクセル丸めによる「見かけ上の傾きズレ」を防ぐため、座標を整数 (x1='14', x2='6') に最適化 */
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='32' viewBox='0 0 20 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='14' y1='0' x2='6' y2='32' stroke='%23997d66' stroke-width='4' stroke-linecap='square'/%3E%3Cline x1='0' y1='9' x2='20' y2='9' stroke='%23997d66' stroke-width='2'/%3E%3Cline x1='0' y1='23' x2='20' y2='23' stroke='%23997d66' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  opacity: 0.25; /* 主張しすぎない本物の木と鉄の錆びた線路のようなマイルドな薄さ */
  pointer-events: none;
  z-index: 1; /* トラックの下に配置 */
}

.story-carousel-track {
  display: flex;
  gap: 20px;
  animation: story-scroll-loop 90s linear infinite;
  width: max-content;
  position: relative;
  z-index: 2; /* これで線路（z-index: 1）の上に確実に重なります */
}
.story-carousel-track:hover {
  animation-play-state: paused;
}
@keyframes story-scroll-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.story-item {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.25s ease;
  position: relative; /* 影を絶対配置するため */
}

/* 線路の上に落ちるリアルな楕円形の影（正面寄り角度への変更に合わせて微調整） */
.story-item::before {
  content: "";
  position: absolute;
  top: 102px; /* 正面寄り角度に調整したレールの中心に影が落ちるように微調整 */
  left: 20px;
  width: 70px;
  height: 5px;
  background: rgba(15, 23, 42, 0.16);
  border-radius: 50%;
  filter: blur(1.5px);
  z-index: 2; /* 線路(z-index: 1)の直上、カードの下 */
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease, filter 0.25s ease;
}

/* ホバー時に丸型カードが浮き上がるのに連動して、影が広がって薄くなる効果 */
.story-item:hover::before {
  transform: scale(1.15) translateY(1.5px);
  opacity: 0.4;
  filter: blur(2.5px);
}

.story-item:hover {
  transform: translateY(-4px); /* 浮き上がり量を増やして影の変化を目立たせる */
}
.story-ring {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-color), #ff75a0, #ffb3cd);
  padding: 3px;
  /* 接地する影と喧嘩しないように本体のシャドウは少しソフトに */
  box-shadow: 0 4px 12px rgba(255, 42, 122, 0.12);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
  z-index: 3; /* 影や線路より前に出す */
}
.story-area-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff529a 100%);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  border: 2px solid var(--card-bg);
  box-shadow: 0 4px 10px rgba(255, 42, 122, 0.25);
  white-space: nowrap;
  letter-spacing: -0.02em;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.story-item:hover .story-area-badge {
  transform: translateX(-50%) scale(1.03);
}
.story-item:hover .story-ring {
  transform: scale(1.03);
  box-shadow: 0 10px 24px rgba(255, 42, 122, 0.22);
}
.story-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--card-bg);
  object-fit: cover;
  background-color: var(--border-color);
}
.story-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  width: 100%;
}
.story-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  transition: color 0.2s ease;
}
.story-shop {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  transition: color 0.2s ease;
}
.story-item:hover .story-name {
  color: var(--primary-color);
}
.story-item:hover .story-shop {
  color: var(--text-main);
}

/* ============================
   エリア選択ボタン（4列×2行）
   ============================ */
.top-area-select {
  background: transparent;
  padding: 30px 16px;
}
.area-select-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.area-btn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.area-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  background: linear-gradient(
    135deg,
    rgba(255, 42, 122, 0.95) 0%,
    rgba(224, 27, 101, 0.95) 100%
  );
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow:
    0 6px 20px rgba(255, 42, 122, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    background-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.area-btn::before {
  display: none;
}
.area-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(255, 42, 122, 0.25);
  background: linear-gradient(
    135deg,
    rgba(224, 27, 101, 0.95) 0%,
    rgba(255, 42, 122, 0.95) 100%
  );
  border-color: rgba(255, 255, 255, 0.4);
}
.area-btn-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.area-btn-en {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ============================
   お知らせセクション
   ============================ */
.top-news {
  background: transparent;
  padding: 20px 16px 40px;
}
.news-inner {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #fce4ec;
}
.news-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
}
.news-title-ja {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}
.news-title-en {
  font-size: 12px;
  font-weight: 500;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.news-more {
  font-size: 13px;
  color: #e91e63;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.news-more:hover {
  color: #c2185b;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.news-item:last-child {
  border-bottom: none;
}
.news-date {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.news-link {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s;
}
.news-link:hover {
  color: #e91e63;
}

/* ============================
   バナーエリア（2カラム）
   ============================ */
.top-banners {
  padding: 10px 16px 40px;
  background: transparent;
}
.banners-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.banner-item {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.banner-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.banner-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================
   都道府県エリア
   ============================ */
.top-prefecture {
  background: #fff;
  padding: 50px 20px;
}
.prefecture-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.prefecture-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  padding-bottom: 12px;
  border-bottom: 3px solid #e91e63;
}
.prefecture-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.prefecture-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #e0e0e0;
}
.prefecture-row:last-child {
  border-bottom: none;
}
.prefecture-region {
  flex-shrink: 0;
  width: 110px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  padding: 6px 12px;
  background: #e91e63;
  border-radius: 4px;
  text-align: center;
}
.prefecture-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.prefecture-links a {
  font-size: 14px;
  color: #555;
  text-decoration: none;
  padding: 4px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  transition: all 0.2s;
}
.prefecture-links a:hover {
  background: #e91e63;
  border-color: #e91e63;
  color: #fff;
}

/* ============================
   レスポンシブ
   ============================ */
@media (max-width: 992px) {
  .top-hero-title .title-main {
    font-size: 36px;
  }
  .area-btn-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .story-feed-title .title-ja {
    font-size: 22px;
  }
  .story-feed-title .title-en {
    display: none;
  }
  .top-hero {
    padding: 0;
  }
  .top-hero-title .title-sub {
    font-size: 14px;
  }
  .top-hero-title .title-main {
    font-size: 28px;
  }
  .top-hero-desc .count-highlight {
    font-size: 22px;
  }
  .area-btn-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .area-btn {
    padding: 14px 10px;
  }
  .area-btn-name {
    font-size: 20px;
  }
  .area-btn-en {
    font-size: 11px;
  }
  .news-inner {
    padding: 20px 15px;
  }
  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .news-item {
    flex-direction: column;
    gap: 4px;
  }
  .prefecture-row {
    flex-direction: column;
    gap: 10px;
  }
  .prefecture-region {
    width: auto;
  }
}

/* ============================
  ストーリー（エリア別テーマカラー）
   ============================ */
.story-ring.pink-theme {
  background: linear-gradient(45deg, #eb6ea0, #ff94c2, #ffb3cd);
  box-shadow: 0 8px 20px rgba(235, 110, 160, 0.15);
}
.story-ring.pink-theme .story-img {
  border-color: var(--card-bg);
}
.story-area-badge.pink-theme {
  background: linear-gradient(135deg, #eb6ea0 0%, #ff94c2 100%);
  box-shadow: 0 4px 10px rgba(235, 110, 160, 0.25);
}

.story-ring.purple-theme {
  background: linear-gradient(45deg, #9C27B0, #ba68c8, #e1bee7);
  box-shadow: 0 8px 20px rgba(156, 39, 176, 0.15);
}
.story-ring.purple-theme .story-img {
  border-color: var(--card-bg);
}
.story-area-badge.purple-theme {
  background: linear-gradient(135deg, #9C27B0 0%, #ba68c8 100%);
  box-shadow: 0 4px 10px rgba(156, 39, 176, 0.25);
}

.story-ring.brown-theme {
  background: linear-gradient(45deg, #4E342E, #8d6e63, #d7ccc8);
  box-shadow: 0 8px 20px rgba(78, 52, 46, 0.15);
}
.story-ring.brown-theme .story-img {
  border-color: var(--card-bg);
}
.story-area-badge.brown-theme {
  background: linear-gradient(135deg, #4E342E 0%, #8d6e63 100%);
  box-shadow: 0 4px 10px rgba(78, 52, 46, 0.25);
}

.story-ring.red-theme {
  background: linear-gradient(45deg, #D32F2F, #ef5350, #ffcdd2);
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.15);
}
.story-ring.red-theme .story-img {
  border-color: var(--card-bg);
}
.story-area-badge.red-theme {
  background: linear-gradient(135deg, #D32F2F 0%, #ef5350 100%);
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.25);
}

.story-ring.green-theme {
  background: linear-gradient(45deg, #007e58, #26a69a, #b2dfdb);
  box-shadow: 0 8px 20px rgba(0, 126, 88, 0.15);
}
.story-ring.green-theme .story-img {
  border-color: var(--card-bg);
}
.story-area-badge.green-theme {
  background: linear-gradient(135deg, #007e58 0%, #26a69a 100%);
  box-shadow: 0 4px 10px rgba(0, 126, 88, 0.25);
}

.story-ring.green-light-theme {
  background: linear-gradient(45deg, #558b2f, #8bc34a, #dcedc8);
  box-shadow: 0 8px 20px rgba(85, 139, 47, 0.15);
}
.story-ring.green-light-theme .story-img {
  border-color: var(--card-bg);
}
.story-area-badge.green-light-theme {
  background: linear-gradient(135deg, #558b2f 0%, #8bc34a 100%);
  box-shadow: 0 4px 10px rgba(85, 139, 47, 0.25);
}


.story-ring.orange-theme {
  background: linear-gradient(45deg, #F57C00, #ffa726, #ffe0b2);
  box-shadow: 0 8px 20px rgba(245, 124, 0, 0.15);
}
.story-ring.orange-theme .story-img {
  border-color: var(--card-bg);
}
.story-area-badge.orange-theme {
  background: linear-gradient(135deg, #F57C00 0%, #ffa726 100%);
  box-shadow: 0 4px 10px rgba(245, 124, 0, 0.25);
}

.story-ring.blue-theme {
  background: linear-gradient(45deg, #1976D2, #4fc3f7, #b3e5fc);
  box-shadow: 0 8px 20px rgba(25, 118, 210, 0.15);
}
.story-ring.blue-theme .story-img {
  border-color: var(--card-bg);
}
.story-area-badge.blue-theme {
  background: linear-gradient(135deg, #1976D2 0%, #4fc3f7 100%);
  box-shadow: 0 4px 10px rgba(25, 118, 210, 0.25);
}

/* ============================
   駅名標（駅看板）風エリア選択グリッド
   ============================ */
.station-sign-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
@media (max-width: 991px) {
  .station-sign-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}
@media (max-width: 576px) {
  .station-sign-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ============================
   駅名標（駅看板）風エリアボタン（立体・リッチ版）
   ============================ */
.station-sign-btn {
  display: block;
  text-decoration: none;
  color: #1a1a1a;
  border-radius: var(--radius-md);
  /* 外枠の金属・電照フレーム風グラデーション */
  background: linear-gradient(135deg, #3a3b3e 0%, #1e1f21 50%, #0c0d0e 100%);
  padding: 4px; /* フレームの幅（細くしました） */
  box-shadow: 
    0 10px 24px rgba(15, 23, 42, 0.15), /* 全体の影 */
    0 2px 4px rgba(15, 23, 42, 0.1),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.35), /* 上部フレームのハイライト */
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.6);       /* 下部フレームのディープシャドウ */
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  box-sizing: border-box;
}

/* アクリル板の光沢反射エフェクト */
.station-sign-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.18) 40%,
    rgba(255, 255, 255, 0) 45%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(-15deg);
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.3s ease;
}

/* ホバーで少し反射光の印象を変える */
.station-sign-btn:hover::after {
  opacity: 0.8;
}

/* ホバーで少し浮き上がり、影を強く */
.station-sign-btn:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 16px 32px rgba(255, 42, 122, 0.22),
    0 4px 8px rgba(0, 0, 0, 0.12),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.45);
}

/* クリック時に押し込まれる立体感 */
.station-sign-btn:active {
  transform: translateY(-1px);
  box-shadow: 
    0 4px 8px rgba(15, 23, 42, 0.2),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.15);
}

/* 看板内側の表示プレート */
.station-sign-btn .sign-content {
  background: linear-gradient(to bottom, #ffffff 0%, #fcfcfc 40%, #f0f0f0 100%);
  border-radius: 12px; /* 内枠の角丸（枠が細くなったので少し角丸を大きく調整） */
  padding: 12px 10px 28px 10px; /* 余白を微調整 */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
  /* 内側に影を落としてフレームからの奥行き（立体感）を表現 */
  box-shadow: 
    inset 0 3px 6px rgba(0, 0, 0, 0.18),
    inset 0 0 10px rgba(255, 255, 255, 0.8); /* アクリルの内照感 */
}

/* ひらがな */
.station-sign-btn .sign-kana {
  font-size: 12px; /* 11px -> 12px */
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.15em;
  margin-bottom: 2px;
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  opacity: 0.9;
}

/* 漢字（メイン） */
.station-sign-btn .sign-kanji {
  font-size: 25px; /* 22px -> 25px */
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin-bottom: 2px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* ローマ字 / サブテキスト */
.station-sign-btn .sign-romaji {
  font-size: 12px; /* 10px -> 12px */
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.03em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  opacity: 0.85;
}

/* 看板下部のコーポレートカラー帯（ストライプ） */
.station-sign-btn .sign-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 18px; /* 20px -> 18px */
  background: #e11d48; /* 初期値は赤 */
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.15),
    inset 0 -1px 1px rgba(255, 255, 255, 0.2);
}

/* テーマカラー分岐 */
.station-sign-btn.theme-red .sign-line {
  background: linear-gradient(to right, #e11d48, #be123c);
}
.station-sign-btn.theme-purple .sign-line {
  background: linear-gradient(to right, #a855f7, #7e22ce);
}
.station-sign-btn.theme-brown .sign-line {
  background: linear-gradient(to right, #854d0e, #713f12);
}
.station-sign-btn.theme-pink .sign-line {
  background: linear-gradient(to right, #ec4899, #be185d);
}
.station-sign-btn.theme-orange .sign-line {
  background: linear-gradient(to right, #f97316, #c2410c);
}
.station-sign-btn.theme-blue .sign-line {
  background: linear-gradient(to right, #3b82f6, #1d4ed8);
}
.station-sign-btn.theme-green .sign-line {
  background: linear-gradient(to right, #10b981, #047857);
}
.station-sign-btn.theme-green-light .sign-line {
  background: linear-gradient(to right, #84cc16, #4d7c0f);
}

/* 駅看板風ボタンのレスポンシブ対応 */
@media (max-width: 768px) {
  .station-sign-btn {
    padding: 3px; /* フレームをさらに細くしました */
    border-radius: var(--radius-sm);
  }
  .station-sign-btn .sign-content {
    border-radius: 6px;
    padding: 6px 4px 16px 4px; /* 余白を微調整 */
  }
  .station-sign-btn .sign-kana {
    font-size: 9px; /* 8px -> 9px */
    margin-bottom: 1px;
  }
  .station-sign-btn .sign-kanji {
    font-size: 18px; /* 15px -> 18px */
    margin-bottom: 2px;
  }
  .station-sign-btn .sign-romaji {
    font-size: 9px; /* 7px -> 9px */
  }
  .station-sign-btn .sign-line {
    height: 11px; /* 12px -> 11px */
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
  }
}



