.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;
}

.story-carousel-wrapper::before {
  content: "";
  position: absolute;
  top: 88px;
  left: 0;
  width: 100%;
  height: 32px;

  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;
}
.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;
  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);
}

.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;
}

.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;
  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;
  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;
  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;
  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;
    margin-bottom: 1px;
  }
  .station-sign-btn .sign-kanji {
    font-size: 18px;
    margin-bottom: 2px;
  }
  .station-sign-btn .sign-romaji {
    font-size: 9px;
  }
  .station-sign-btn .sign-line {
    height: 11px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
  }
}

