/* ============================
   BowLink index.css - 2025 Modern Design
   ============================ */

/* base */
body{
  font-family: "Outfit","Noto Sans JP",sans-serif;
  margin: 0;
  padding: 0 0 40px 0;
  text-align: center;
  color:#fff;
  background: linear-gradient(180deg, #0a0a0f 0%, #12121a 50%, #0f0f15 100%);
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 720px) {
  body {
    padding: 0 0 20px 0;
  }
}



/* map wrapper */
#map-wrapper {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 60px 40px;
  background: transparent !important;
  background-image: none !important;
  background-size: auto !important;
  position: relative;
  overflow: visible !important;
}
#map-container { position: relative; display: inline-block; }
img.map { width: 100%; max-width: 560px; display: block; margin: 0 auto; }


.main-heading{
  max-width: 640px;
  margin: 28px auto;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.8;
  color: #fff5f5;
}

/* footer */
.site-footer{
  max-width: 1000px;
  margin: 100px auto 60px;
  padding: 48px 40px;
  box-sizing: border-box;
  border-radius: 24px;
  color: rgba(255,255,255,0.9);
  text-align: center;
  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}
.site-footer-nav{
  display: inline-block;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}
.site-footer-nav a{
  color: rgba(220,220,220,0.9);
  text-decoration: none;
  margin: 0 12px;
  padding: 10px 16px;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  font-weight: 500;
}
.site-footer-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

.site-footer-nav a + a::before{
  content: "｜";
  color: rgba(200,200,200,0.28);
  margin-right: 8px;
  margin-left: -10px;
}
.site-footer-copy{ 
  font-size: 14px; 
  color: rgba(255,255,255,0.4); 
  margin-top: 24px; 
  font-weight: 400;
}
@media (max-width:720px){
  .site-footer{ 
    padding: 32px 24px; 
    margin: 60px 20px 40px; 
    border-radius: 20px;
  }
  .site-footer-nav{ 
    font-size: 14px; 
    margin-bottom: 16px;
  }
  .site-footer-nav a{ 
    margin: 0 8px; 
    padding: 8px 12px; 
  }
}
#map svg {
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
  transition: filter 0.3s ease;
}


#map svg g.prefecture path,
#map svg g.prefecture polygon {
  fill: #f9f9f9;       /* 真っ白に近いグレーで柔らかく */
  stroke: #fff5f5;        /* 線の色（濃いグレー） */
  stroke-width: 4;   /* 太すぎない程度に */
  transition: all .3s ease;
}

#map svg rect#highlight {
  fill: rgba(30, 144, 255, 0.35); /* 濃いブルー透過 */
  stroke: #007bff;                /* 輪郭はビビッドブルー */
  stroke-width: 3;
  rx: 6;
  pointer-events: none;
}

/* 地方ごとの色分け */
#map svg g.hokkaido path,
#map svg g.hokkaido polygon { fill: #00a1ff; }

#map svg g.tohoku path,
#map svg g.tohoku polygon { fill: #0373d7; }

#map svg g.kanto path,
#map svg g.kanto polygon { fill: #ffa700; }

#map svg g.chubu path,
#map svg g.chubu polygon { fill: #ff31a1; }

#map svg g.kinki path,
#map svg g.kinki polygon { fill: #18ed00; }

#map svg g.chugoku path,
#map svg g.chugoku polygon { fill: #2231ff; }

#map svg g.shikoku path,
#map svg g.shikoku polygon { fill: #fb58c8; }

#map svg g.kyushu path,
#map svg g.kyushu polygon { fill: #f51e1e; }

#map svg g.okinawa path,
#map svg g.okinawa polygon { fill: #ff7300; }



#map svg{ overflow: visible !important; }
#map-wrapper{ overflow: visible !important; }
#map-wrapper::before,#map-wrapper::after,#map::before,#map::after{ content:none !important; display:none !important; }
#map-wrapper,#map,#map>svg{ background:transparent !important; border:none !important; box-shadow:none !important; }


/* ============================
   roller (moved to bottom)
   ============================ */

/* container */
.roller-container{
  max-width: 900px;
  margin: 0 auto 60px;
  height: 280px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
}

/* list scaffold */
.roller-list{
  list-style:none;
  margin:0; padding:0;
  position:absolute; width:100%;
  top:0px; left:0;
  will-change: transform;
}
.roller-list li:hover{
  transform: translateY(-6px);
  box-shadow:0 24px 46px rgba(2,6,10,0.6);
}
.roller-list li a{
  display:block; text-decoration:none; color:inherit;
}

/* li全体をグリッドレイアウトに変更 */
.roller-list li{
  display:grid;
  grid-template-columns: 80px 1fr auto; /* 左:画像 | 中央:テキスト | 右:NEW */
  grid-template-rows: auto auto;        /* 1行目 店舗名 / 2行目 イベント */
  align-items:center;
  column-gap: 20px;
  padding: 20px; 
  height: 88px;
  border-radius: 16px; 
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.roller-list li:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

/* サムネイル画像は2行分を占有 */
.roller-list li img{
  grid-column:1; grid-row:1 / span 2;
  width: 80px; 
  height: 80px; 
  object-fit:cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}
.roller-list li:hover img {
  transform: scale(1.05);
}

/* 店舗名（1行目） */
.store-name{
  grid-column:2; grid-row:1;
  color: #ffb84d;
  font-weight: 700; 
  font-size: 22px;
  white-space:nowrap; 
  overflow:hidden; 
  text-overflow:ellipsis;
  letter-spacing: -0.01em;
}

/* イベントタイトル（2行目） */
.event-title{
  grid-column:2; grid-row:2;
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  white-space:nowrap; 
  overflow:hidden; 
  text-overflow:ellipsis;
  font-weight: 400;
  margin-top: 4px;
}

/* NEWバッジは右列で縦中央 */
.new-mark{
  grid-column:3; grid-row:1 / span 2;
  align-self:center;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  color: #fff; 
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px; 
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
}


@media (max-width:720px){
  .roller-container{ 
    max-width: 95%; 
    height: 240px; 
    padding: 20px; 
    border-radius: 20px;
    margin-bottom: 40px;
  }
  .roller-header{ 
    max-width: 95%; 
    margin-top: 40px; 
    padding: 16px 20px; 
  }
  .roller-list li{ 
    height: 76px; 
    padding: 16px; 
    margin-bottom: 10px;
    grid-template-columns: 64px 1fr auto;
    column-gap: 16px;
  }
  .roller-list li img{ 
    width: 64px; 
    height: 64px; 
    border-radius: 10px;
  }
  .store-name{ 
    font-size: 18px; 
  }
  .event-title{ 
    font-size: 14px; 
  }
  .new-mark {
    font-size: 11px;
    padding: 6px 12px;
  }
}

#map svg {
  overflow: visible !important;
}
#map-wrapper {
  overflow: visible !important;
}
#map-wrapper {
  margin-bottom: 60px;
}
@media (max-width: 720px) {
  #map-wrapper {
    margin-bottom: 50px;
    padding: 40px 20px;
  }
}
#map {
  margin-top: 60px;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
  white-space: nowrap; /* 1行に収める用 */
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  margin: 80px auto 40px;
  border-left: 5px solid transparent;
  border-image: linear-gradient(180deg, #60a5fa, #3b82f6, #2563eb) 1;
  padding: 20px 32px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  text-align: left;
  display: block;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.02em;
}

/* スマホ用 */
@media (max-width: 720px) {
  .section-title {
    font-size: 22px;
    max-width: 90%;
    padding: 16px 24px;
    margin: 60px auto 32px;
    border-left-width: 4px;
    border-radius: 12px;
  }
}
@media (max-width: 768px) {
  h2.section-title:first-of-type {
    margin-top: 80px !important;
  }
}

/* ============================= */
/* ニュース一覧デザイン */
/* ============================= */
.news-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto 80px;
  padding: 0 40px;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-decoration: none;
  color: #E5E7EB;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  padding: 20px 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.news-thumb {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.news-item:hover .news-thumb {
  transform: scale(1.05);
}

.news-text {
  flex: 1;
  min-width: 0;
}

.news-title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.news-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

/* スマホ用調整 */
@media (max-width: 720px) {
  .news-item {
    padding: 16px;
    gap: 16px;
    border-radius: 14px;
  }

  .news-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
  }

  .news-title {
    font-size: 15px;
    white-space: normal;
    line-height: 1.4;
    margin-bottom: 6px;
  }

  .news-meta {
    font-size: 12px;
  }

  .news-block {
    padding: 0 20px;
    gap: 12px;
    margin-bottom: 60px;
  }
}