/* レイアウト */
.global-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
}

.global-layout p {
    text-align: center;	/*文字を中央に*/
	font-size: 30px;	/*文字サイズ(下の英語)*/
	font-weight: bold;
	color: #ed1c24;		/*文字色*/
}


.global-map {
  width: 100%;
  height: auto;
  display: block;

  margin: 0 15px 0 15px;  /* 上 右 下 左 */

  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
}

}

/* ピン */
.pin circle {
  fill: #D32F2F;
}

.pin path {
  stroke: #B71C1C;
  stroke-width: 3;
}

/* ピン＋文字セット */
.pin-group {
  cursor: pointer;
}

/* 初期アニメーション（フェードイン＋下から） */
.pin,
.pin-label {
  opacity: 0;
  transform: translateY(80px);
  animation: fadeUp 2.0s forwards;
}

.pin-label {
  animation-delay: 1.3s;
}

/* 都市名 */
.pin-label {
  font-size: 20px;
  fill: #222;
  font-weight: bold;
  text-decoration: underline;
  dominant-baseline: middle;
  transition: fill 0.3s, transform 0.3s, opacity 0.3s;
}

/* ホバー＆同期時 */
.pin-group.active .pin,
.pin-group:hover .pin {
  transform: scale(1.2);
}

.pin-group.active .pin-label,
.pin-group:hover .pin-label {
  fill: #D32F2F;
  transform: translateX(4px);
  opacity: 1;
}

/* フェードアップ */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* リスト */
.location-list .list-title {
  font-size: 14px;
  font-weight: bold;
  color: #ed1c24;
  margin-bottom: 14px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 12px;
}



.location-list li {
  padding: 6px 0;
  font-size: 11px;
  font-weight: bold;
}

.location-list li.active a {
  color: #D32F2F;
}

/* タブレット以下ではMAPのみ表示（ピンの都市名は残す） */
@media screen and (max-width: 1024px) {

  /* レイアウトを1カラム */
  .global-layout {
    grid-template-columns: 1fr;
  }

  /* 右側リストのみ非表示 */
  .about-hero__content2 {
    display: none;
  }

  /* ピンの都市名は表示させる（重要） */
  .pin-label {
    display: block;
    opacity: 1;
  }
}

