@charset "UTF-8";

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
}

/*レイアウト*/
.wrapper {
  max-width: 1100px;
  margin: auto;
  padding: 0 1.5rem;
}

.align-center {
  text-align: center;
}

/*ヘッダーとホーム*/
header {
  margin-bottom: 0;
}

.page-header {
  padding-top: .5rem;
}

.site-title {
  position: absolute;
  top: 15px;
  left: 20px;
}

.syosai-title {
  top: 15px;
  left: 20px;
}

.logo {
  width: 50%;
  max-width: 350px;
  ;
  border-style: outset;
  border-color: #b5b5b5;
  border-width: 5px;
}

.logo:hover {
  opacity: 0.5;
}

.lang-select {
  position: absolute;
  top: 15px;
  right: 20px;
  text-decoration: underline;
  font-size: xx-small;
  font-family: "Cormorant Garamond", serif;
  font-style: normal;
}

.lang-select-en {
  position: absolute;
  top: 15px;
  right: 20px;
  text-decoration: underline;
  font-size: small;
  font-family: "Kiwi Maru", serif;
  font-style: normal;
}

body {
  background-color: #c3f2ff;
  margin: 0;
  padding: 0;
  line-height: 1.8;
  font-size: 16px;
}

.backwhite {
  background-color: #fff;
  border-radius: 16px;
  opacity: 0.9;
}

.news {
  height: 300px;
  background-color: #c3f2ff;
  overflow-y: scroll;
  border-style: double;
  padding-left: 20px;
}

.news time {
  text-align: left;
}

/*文字*/
h1 {
  margin: 0;
}

h2 {
  font-size: 30px;
  text-align: left;
  font-weight: 500;
  margin: 60px 0 0;
  padding-left: 12px;
  border-left: 5px solid #000;
}

h3 {
  margin: 30px 10px 0;
  font-family: "Kiwi Maru", serif;
  font-weight: 500;
  font-style: normal;
  display: inline-block;
}

h4,
h5,
p,
th,
td,
summary,
li,
div {
  font-family: "Kiwi Maru", serif;
  font-weight: 500;
  font-style: normal;
}

h5 {
  margin-bottom: 0;
}

a {
  font-family: "Kiwi Maru", serif;
  font-weight: 500;
  font-style: normal;
  text-decoration: none;
  color: #007da0;
}

a:hover {
  color: #00254d;
}

.font-en {
  font-family: "Cormorant Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.sites-title {
  text-align: end;
  font-size: small;
  opacity: 0.6;
}

.sites {
  font-size: small;
  opacity: 0.6;
}

hr {
  margin-top: 0;
  height: 2px;
  background-color: #000;
}

.pconly {
  display: none;
}

.sponly {
  display: inline;
}

.menu {
  text-decoration: underline;
  color: #000000;
}

.ul {
  text-align: left;
  background-color: #eef6ff;
  border: 2px #4dcaff dashed;
  margin: 30px auto;
}

.back-top {
  margin-bottom: 50px;
  margin-top: 0;
  text-align: center;
}

.back-top a {
  color: #4dcaff;
}

.back-top a:hover {
  color: #90e7ff;
}

.hukudai {
  border: #000 solid 2px;
  border-radius: 5px;
  display: inline-block;
  padding: 0 10px
}

.hukudai-copy {
  display: inline;
  background: linear-gradient(transparent 60%, #d8f3ff 60%);
  padding: 2px 4px;
}

.hukudai-copy-wrap {
  display: block;
  /* ← 改行担当 */
  margin-top: 6px;
  margin-bottom: 12px;
}

/*indexトップ*/
.map-hero {
  height: 100vh;
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, #a8d8e8, #e6f3f7);
  border-radius: 20px;
}

.map-area {
  position: relative;
  flex: 1;
}

.map {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* =======================
   コピー（スマホ）
======================= */

.map-copy {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(5, 139, 148, 0.5);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  z-index: 10;
  opacity: 1;
  transition: opacity 1s ease;
}

.map-copy.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* =======================
   アイコン（スマホ）
======================= */
.icons {
  position: static;
  /* ← absolute解除（超重要） */
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /* ←6列 */
  gap: 8px;
  padding: 10px;
}

.icon {
  width: 100%;
  pointer-events: none;
  cursor: pointer;
}

.icon img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 50%;
}

.icon:hover img {
  transform: scale(1.1);
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(0, 180, 255, 0.6),
    0 0 30px rgba(0, 180, 255, 0.4);
}

.icon.active {
  pointer-events: auto;
}

.icon::after {
  content: attr(data-text);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  opacity: 0;
  transition: 0.3s;
  white-space: nowrap;
}

.icon.active:hover::after {
  opacity: 1;
}

/*カード*/
/* 導入 */
.intro {
  text-align: center;
  padding: 80px 20px;
  font-size: 22px;
}

/* タブ */
.tab-wrapper {
  position: relative;
}

.tab-menu {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  border-bottom: 1px solid #ccc;
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #fff;
  overflow-x: auto;
  white-space: nowrap;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 15px 5px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: 0.3s;
  white-space: nowrap;
  font-size: 0.9rem;
}

.tab.active {
  border-bottom: 3px solid #333;
  font-weight: bold;
}

/* コンテンツ */
.tab-content {
  display: none;
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.4s;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* セクションタイトル */
.section-title {
  font-size: 26px;
  margin-bottom: 10px;
}

.section-sub {
  font-size: 16px;
  opacity: 0.7;
  margin-bottom: 40px;
}

/* 左右レイアウト */
.row-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.row-block {
  margin-bottom: 80px;
}

.main-head {
  color: #c0392b;
  font-weight: bold;
}

.sub-head {
  color: #666;
}

.row {
  display: flex;
  flex-direction: column;
  /* 縦並び */
  gap: 20px;
  position: relative;
}

.row::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
  display: none;
}

/* メインカード */
.main-card {
  border-left: 6px solid #c0392b;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}

.main-card img {
  width: 100%;
  border-radius: 8px;
}

.card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
}

.card img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card-cta {
  position: absolute;
  bottom: 2px;
  right: 14px;
  color: #fff;
  font-size: 16px;
  background: rgba(0, 0, 0, 0.5);
  padding: 1px 8px;
  border-radius: 6px;
}

/* サブカード */
.sub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.sub-card {
  background: #f7f7f7;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  opacity: 0.85;
  transition: 0.3s;
  cursor: pointer;
}

.sub-card:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.sub-card img {
  width: 100%;
  border-radius: 5px;
}

/* 特別（原爆ドームなど） */
.special {
  text-align: center;
  margin: 20px 0;
}

.special img {
  width: 40%;
  max-width: 400px;
}

/*色変化*/
/* タブ共通 */
.tab-menu .tab {
  padding: 10px 20px;
  cursor: pointer;
  color: white;
  font-weight: bold;
}

/* アクティブタブの強調 */
.tab-menu .tab.active {
  filter: brightness(85%);
  border-bottom: 3px solid white;
}

/* コンテンツの基本スタイル */
.tab-content {
  display: none;
  padding: 20px;
}

.tab-content.active {
  display: block;
  transition: background-color 0.3s;
}

/*作成者について*/
.creator-info {
  text-align: center;
  padding: 20px;
  color: #000000;
  /* 明るい水色 */
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  /* 背景に映える */
  font-family: "Kiwi Maru", sans-serif;
}

.creator-info a {
  color: #000000;
  text-decoration: none;
  margin: 0 10px;
  transition: 0.3s;
}

.creator-info a:hover {
  color: #313131;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.creator-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.creator-name-large {
  font-size: 3rem;
  font-weight: bold;
}

.creator-profile {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 12px;
}

.creator-contact {
  margin-bottom: 8px;
}

/*リンクタブ*/
.btn-yoko {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1rem;
  width: 90%;
  margin: 1rem auto;
}

.btn-yoko li {
  list-style: none;
  box-shadow: 0 2px 0 #777777;
  border: #000 1px solid;
}

.btn-yoko li:hover {
  transform: translateY(2px);
  box-shadow: none;
}

.btn-box {
  display: block;
  list-style: none;
  padding: 0px;
}

.btn-box-inside {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-yajirusi {
  width: 32px;
  margin-top: 11px;
  color: #000;
}

.btn-img {
  height: 60px;
}

.btn-image {
  height: 100%;
}

.btn-p {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  margin-top: 11px;
  text-shadow: none;
}




/*詳細ページ*/
/* 全体 */
.syosai-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 15px;
  border-radius: 16px;
  position: relative;
  z-index: 0;
}

.back-01 {
  position: relative;
  background: linear-gradient(#074e8f, #a6d2ff);
  overflow: hidden;
}

/* 背景画像（スマホは1枚だけ） */
.back-01::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/01.png");
  /* ←スマホ用メイン */
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* コンテンツを前面に */
.back-01>* {
  position: relative;
  z-index: 1;
}

.back-02 {
  position: relative;
  background: linear-gradient(#d0b339, #ffeba6);
  overflow: hidden;
}

/* 背景画像（スマホは1枚だけ） */
.back-02::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/02.png");
  /* ←スマホ用メイン */
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* コンテンツを前面に */
.back-02>* {
  position: relative;
  z-index: 1;
}

.back-03 {
  position: relative;
  background: linear-gradient(#831818, #c38383);
  overflow: hidden;
}

/* 背景画像（スマホは1枚だけ） */
.back-03::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/03.png");
  /* ←スマホ用メイン */
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* コンテンツを前面に */
.back-03>* {
  position: relative;
  z-index: 1;
}

.back-04 {
  position: relative;
  background: linear-gradient(#9c0505, #ffa4a4);
  overflow: hidden;
}

/* 背景画像（スマホは1枚だけ） */
.back-04::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/04.png");
  /* ←スマホ用メイン */
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* コンテンツを前面に */
.back-04>* {
  position: relative;
  z-index: 1;
}

.back-05 {
  position: relative;
  background: linear-gradient(#757575, #dedede);
  overflow: hidden;
}

/* 背景画像（スマホは1枚だけ） */
.back-05::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/05.png");
  /* ←スマホ用メイン */
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* コンテンツを前面に */
.back-05>* {
  position: relative;
  z-index: 1;
}

.back-06 {
  position: relative;
  background: linear-gradient(#4b902d, #c8ffb0);
  overflow: hidden;
}

/* 背景画像（スマホは1枚だけ） */
.back-06::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/06.png");
  /* ←スマホ用メイン */
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* コンテンツを前面に */
.back-06>* {
  position: relative;
  z-index: 1;
}

.back-07 {
  position: relative;
  background: linear-gradient(#86d7ff, #ebf8ff);
  overflow: hidden;
}

/* 背景画像（スマホは1枚だけ） */
.back-07::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/07.png");
  /* ←スマホ用メイン */
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* コンテンツを前面に */
.back-07>* {
  position: relative;
  z-index: 1;
}

.back-08 {
  position: relative;
  background: linear-gradient(#9a67ff, #ece2ff);
  overflow: hidden;
}

/* 背景画像（スマホは1枚だけ） */
.back-08::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/08.png");
  /* ←スマホ用メイン */
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* コンテンツを前面に */
.back-08>* {
  position: relative;
  z-index: 1;
}

.back-09 {
  position: relative;
  background: linear-gradient(#19d7f9, #ffffff);
  overflow: hidden;
}

/* 背景画像（スマホは1枚だけ） */
.back-09::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/09.png");
  /* ←スマホ用メイン */
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* コンテンツを前面に */
.back-09>* {
  position: relative;
  z-index: 1;
}

.back-10 {
  position: relative;
  background: linear-gradient(#366fd2, #a0c3ff);
  overflow: hidden;
}

/* 背景画像（スマホは1枚だけ） */
.back-10::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/10.png");
  /* ←スマホ用メイン */
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* コンテンツを前面に */
.back-10>* {
  position: relative;
  z-index: 1;
}

.back-11 {
  position: relative;
  background: linear-gradient(#ffcc7f, #fff4d5);
  overflow: hidden;
}

/* 背景画像（スマホは1枚だけ） */
.back-11::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/11.png");
  /* ←スマホ用メイン */
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* コンテンツを前面に */
.back-11>* {
  position: relative;
  z-index: 1;
}

/* タイトル */
.syosai-header {
  text-align: center;
  margin-bottom: 30px;
}

.syosai-header h1 {
  font-size: 30px;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 500;
}

.catch {
  font-size: 16px;
  opacity: 0.8;
  color: #fff;
}

/* デフォルト＝スマホ（縦） */
.syosai-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

/* 画像（スマホは1列） */
.zoom-wrap {
  overflow: hidden;
  height: auto;
  position: relative;
}

.zoom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomLoop 15s ease-in-out infinite alternate;
}

@keyframes zoomLoop {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

.syosai-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.syosai-images img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 5px 5px 5px #000;
}

/* 右カラム */
.syosai-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 基本情報 */
/* セクション共通 */
.info-section {
  display: flex;
  flex-direction: column;
}

/* タイトル（統一） */
.section-title {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.08em;
  opacity: 0.7;
  border-left: 3px solid rgba(255, 255, 255, 0.4);
  padding-left: 8px;
}

/* 基本情報ボックス */
.info-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 0;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  position: relative;
  z-index: 0;
}

.info-box p {
  display: grid;
  grid-template-columns: 120px 1fr;
  margin-bottom: 8px;
}

.info-span {
  font-weight: bold;
  flex-shrink: 0;
}

/* キーワード */
.keywords-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keywords-list span {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 13px;
}

/* 概要 */
.lead {
  font-size: 14px;
  line-height: 1.7;
}

/*地図表示*/
.map-link {
  cursor: pointer;
  text-decoration: underline;
  color: #000000;
}

/* モーダル全体 */
.map-modal {
  display: none;
  position: fixed;
  z-index: 1500;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* 中身 */
.map-content {
  position: relative;
  width: 90%;
  max-width: 700px;
  margin: 80px auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.custom-map {
  width: 100%;
  display: block;
}

.timeline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 20px;
}

.era {
  text-align: center;
  flex: 1;
}

.era h4 {
  font-size: 14px;
  margin-bottom: 5px;
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 5px;
  right: 15px;
  font-size: 40px;
  cursor: pointer;
}

/*詳細展開カード*/
.card {
  max-width: 800px;
  margin: 0 auto;
}

/* 画像 */
.js-toggle {
  cursor: pointer;
}

.img-yohaku {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.img-hiraku {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.img-yohaku:hover .img-hiraku {
  transform: scale(1.05);
}

/* コピー全体 */
.card-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  width: 70%;
  transition: background-color 0.4s ease, padding 0.4s ease;
}

/* 開いたときだけ背景 */
.card.open .card-copy {
  background-color: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
}

/* メインコピー */
.copy-main {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
}

/* サブコピー（最初は完全非表示） */
.copy-sub {
  display: none;
  font-size: 11px;
  margin-top: 8px;
}

/* 開いたら表示 */
.card.open .copy-sub {
  display: block;
}

/* 展開時にCTAを消す */
.card.open .card-cta-toggle {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

label {
  display: block;
  cursor: pointer;
}

/* 詳細 */
.detail-box {
  display: none;
  max-height: 3000px;
  overflow: hidden;
  transition: max-height 0.6s ease, opacity 0.6s ease;
  opacity: 0;
  margin-top: 0;
  position: relative;
  margin-top: 20px;
  padding-top: 30px;
  padding-bottom: 30px;
  border-radius: 12px;
}

.card.open .detail-box {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* 上フェード */
.detail-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 24px;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.18),
      rgba(0, 0, 0, 0));
}

/* 下フェード */
.detail-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 24px;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.18),
      rgba(0, 0, 0, 0));
}

/* テキスト */
.detail-box p {
  font-size: 16px;
  line-height: 2;
  color: #545454;
  margin-bottom: 1em;
}

.syousai-img-flex {
  display: flex;
  flex-direction: column;
  gap: 10px 10px;
}

.detail-box img {
  transform: none !important;
  border-radius: 5px;
}

.detail-img.illust {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 40px;
}

.image-switch {
  position: relative;
  width: 100%;
  max-width: 1408px;
  aspect-ratio: 1698 / 926;
  cursor: pointer;
  overflow: hidden;
}

.image-switch .img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 1枚目 */
.img1 {
  animation: fade1 2s infinite;
}

/* 2枚目 */
.img2 {
  animation: fade2 2s infinite;
}

@keyframes fade1 {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fade2 {

  0%,
  45% {
    opacity: 0;
  }

  50%,
  99% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* 停止状態 */
.image-switch.stop .img1,
.image-switch.stop .img2 {
  animation: none;
}

/* 停止時の表示状態 */
.image-switch.stop .img1 {
  opacity: 1;
}

.image-switch.stop .img2 {
  opacity: 0;
}

/*似ている世界遺産グリッド*/
.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.compare-img img {
  border-radius: 12px;
}

.compare-item.active {
  transform: scale(1.03);
}

/* スマホでも閉じる */
.compare-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  padding: 6px;
  border-radius: 15px;
}

/* 開いたとき */
.compare-item.active .compare-detail {
  max-height: 500px;
  opacity: 1;
  margin-top: 10px;
}

.world-back {
  background-color: #e4f9ff;
}

.japan-back {
  background-color: #ffd6d2;
}

/*比較表*/
.compare-section {
  padding: 16px 16px 0;
  font-family: sans-serif;
}

.compare-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

/* グリッド */
.why-grid-js {
  display: grid;
  gap: 16px;
}

/* カード */
.why-card-js {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

/* ヘッダー（クリック部分） */
.why-head-js {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  cursor: pointer;
  user-select: none;
  font-weight: bold;
}

/* アイコン */
.why-icon-js {
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* ラベル */
.why-label-js {
  font-size: 16px;
}

/* 本文 */
.why-body-js {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  opacity: 0;
  transition: all 0.35s ease;
  line-height: 1.8;
  font-size: 14px;
  color: #444;
}

/* 開いた状態 */
.why-card-js.active .why-body-js {
  max-height: 400px;
  padding: 0 18px 18px;
  opacity: 1;
}

/* フッター */
.why-footer {
  margin-top: 30px;
  text-align: center;
  font-weight: bold;
}


/* =====================
   タブ（モバイル基準）
===================== */
.region-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}

.region-tab {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid #333;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  font-size: 14px;
  background: #fff;
}

.region-tab.active {
  background: #2b3a4a;
  color: #d7e3f2;
}

/* =====================
   テーブル（モバイル）
===================== */
.table-title {
  font-size: large;
  margin-top: 40px;
  margin-bottom: 16px;
  padding: 0 40px 0 40px;
  border: solid 2px #000;
  border-radius: 10px;
  display: inline-block;
}

.compare-table {
  border-top: 2px solid #000;
  font-size: 13px;
}

.table-back01 {
  background-image: url("img/1-古代山陰/06.png");
  background-color: rgba(247, 249, 252, 0.01);
  background-size: cover;
}

.table-back02 {
  background-image: url("img/2-金沢高岡/05.png");
  background-color: rgba(255, 251, 237, 0.01);
  background-size: cover;
}

.table-back02-2 {
  background-image: url("img/2-金沢高岡/06.png");
  background-color: rgba(255, 251, 237, 0.01);
  background-size: cover;
}

.table-back03 {
  background-color: rgba(195, 131, 131, 0.308);
}

.table-back04 {
  background-color: rgba(255, 162, 162, 0.308);
}

.table-back05 {
  background-color: rgba(82, 82, 82, 0.308);
}

.table-back06 {
  background-color: rgba(148, 255, 159, 0.308);
}

.table-back07 {
  background-color: rgba(165, 246, 255, 0.308);
}

.table-back08 {
  background-color: rgba(192, 125, 255, 0.308);
}

.table-back09 {
  background-color: rgba(94, 231, 255, 0.308);
}

.table-back10 {
  background-color: rgba(0, 94, 255, 0.308);
}

.table-back11 {
  background-image: url("img/11-弥生/05.png");
  background-color: rgba(255, 251, 223, 0.01);
  background-size: cover;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  border-bottom: 1px solid #ddd;
  padding: 0;
  align-items: center;
}

.compare-header {
  font-weight: bold;
  border-bottom: 2px solid #000;
}

.cell {
  padding: 2px 4px;
  font-size: 13px;
  line-height: 1.3;
  justify-content: center;
}

/* 項目 */
.cell.label {
  font-weight: 600;
  letter-spacing: 0.02rem;
}

/* 評価 */
.cell.sanin,
.cell.other,
.cell.yayoi,
.cell.othery {
  text-align: center;
  font-size: 13px;
}

.cell.sanin {
  color: #0b4f8d;
  font-weight: bold;
}

.cell.kanazawa {
  color: #be8f00;
  font-weight: bold;
}

.cell.takaoka {
  color: #c0392b;
  font-weight: bold;
}

.cell.other {
  color: #2b3a4a;
  font-weight: bold;
}

.cell.yayoi {
  color: #a08000;
  font-weight: bold;
}

.cell.othery {
  color: #382e00;
  font-weight: bold;
}

.compare-table .cell.other.col-highlight,
.compare-table .cell.othery.col-highlight {
  animation: flashCol 0.8s ease;
}

@keyframes flashCol {
  0% {
    background: rgba(144, 240, 255, 0.75);
  }

  50% {
    background: rgba(144, 240, 255, 0.35);
  }

  100% {
    background: transparent;
  }
}



/* =====================
   タップ領域強化
===================== */
.compare-row .cell {
  min-height: 28px;
  display: flex;
  align-items: center;
}

/* 吹き出しの土台 */
.has-note {
  position: relative;
}

.has-note::after,
.has-note::before {
  display: none;
}

/* 表示 */
.has-note:hover::after {
  opacity: 1;
}

.note-box {
  margin-top: 12px;
  padding: 10px 12px;
  /* ←これが重要 */
  background: #505050 !important;
  color: #fff;
  border-radius: 6px;
  display: none;
}


/*
=================
構成資産
=================
*/
.asset-sction-01 {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(#0b4f8d, #d6ecff);
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  position: relative;
}

/* 背景画像（スマホは1枚だけ） */
.asset-sction-01::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/1-古代山陰/雲２.png");
  /* ←スマホ用メイン */
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

/* コンテンツを前面に */
.asset-sction-01>* {
  position: relative;
  z-index: 1;
}

.asset-sction-02 {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(#d0b339, #ffeba6);
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  position: relative;
}

/* 背景画像（スマホは1枚だけ） */
.asset-sction-02::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/2-金沢高岡/yuzen.png");
  /* ←スマホ用メイン */
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

/* コンテンツを前面に */
.asset-sction-02>* {
  position: relative;
  z-index: 1;
}

.asset-sction-03 {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(#831818, #c38383);
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  position: relative;
}

.asset-sction-04 {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(#9c0505, #ffa4a4);
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  position: relative;
}

/* 背景画像（スマホは1枚だけ） */
.asset-sction-04::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/4-近代東京/renga.jpg");
  /* ←スマホ用メイン */
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

/* コンテンツを前面に */
.asset-sction-04>* {
  position: relative;
  z-index: 1;
}

.asset-sction-05 {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(#757575, #dedede);
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  position: relative;
}

.asset-sction-06 {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(#4b902d, #c8ffb0);
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  position: relative;
}

.asset-sction-07 {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(#86d7ff, #ebf8ff);
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  position: relative;
}

/* 背景画像（スマホは1枚だけ） */
.asset-sction-07::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/7-アイヌ/ainugara.png");
  /* ←スマホ用メイン */
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* コンテンツを前面に */
.asset-sction-07>* {
  position: relative;
  z-index: 1;
}

.asset-sction-08 {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(#9a67ff, #ece2ff);
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  position: relative;
}

.asset-sction-09 {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(#19d7f9, #c6f6ff);
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  position: relative;
}

.asset-sction-10 {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(#366fd2, #a0c3ff);
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  position: relative;
}

/* 背景画像（スマホは1枚だけ） */
.asset-sction-10::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/10-瀬戸内/yurameki.png");
  /* ←スマホ用メイン */
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.asset-sction-11 {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(#ffcc7f, #fff4d5);
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  position: relative;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.asset-item {
  background: #fff;
  color: #333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: 0.2s;
}

.asset-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.asset-thumb {
  height: 120px;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid #fff;
  cursor: pointer;
}

.asset-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* オーバーレイ */
.asset-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  /* ← 常時うっすら黒 */
  display: flex;
  align-items: flex-end;
  padding: 8px;
  transition: 0.3s;
}

/* タイトル */
.asset-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.3;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.asset-category {
  text-align: center;
  color: #000;
}

/* モーダル */
.asset-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  overflow-y: auto;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
  max-width: 100vw;
  box-sizing: border-box;
}

.asset-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.asset-modal-content {
  margin: 40px auto;
  padding: 20px;
  width: min(98%, 900px);
  border-radius: 20px;
  transform: translateY(30px) scale(0.98);
  transition: transform 0.3s ease;
  max-width: 100vw;
  box-sizing: border-box;
}

.asset-modal-01 {
  background: linear-gradient(#469df0, #c6e2ff);
}

.asset-modal-02 {
  background: linear-gradient(#ebce5a, #fff6d3);
}

.asset-modal-03 {
  background: linear-gradient(#c16565, #d7bbbb);
}

.asset-modal-04 {
  background: linear-gradient(#9c0505, #ffa4a4);
}

.asset-modal-05 {
  background: linear-gradient(#757575, #dedede);
}

.asset-modal-06 {
  background: linear-gradient(#4b902d, #c8ffb0);
}

.asset-modal-07 {
  background: linear-gradient(#86d7ff, #ebf8ff);
}

.asset-modal-08 {
  background: linear-gradient(#9a67ff, #ece2ff);
}

.asset-modal-09 {
  background: linear-gradient(#19d7f9, #ffffff);
}

.asset-modal-10 {
  background: linear-gradient(#366fd2, #a0c3ff);
}

.asset-modal-11 {
  background: linear-gradient(#ffcc7f, #fff4d5);
}

.asset-modal.active .asset-modal-content {
  transform: translateY(0) scale(1);
}

.asset-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.asset-counter {
  text-align: center;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
}

.asset-modal-left {
  flex: 1;
  min-width: 0;
  text-align: center;
  width: 100%;
  overflow: hidden;
}

.asset-modal-right {
  flex: 1;
  min-width: 0;
  text-align: center;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.asset-modal-left img {
  display: block;
  width: 100%;
  border-radius: 20px;
  box-sizing: border-box;
  padding: 8px;
  background: #333;
}

.asset-modal-img {
  width: 100%;
}

.asset-modal-right h2 {
  margin-bottom: 10px;
  margin-top: 0;
  border-left: none;
}

.asset-meta {
  margin-bottom: 15px;
  display: inline-block;
  text-align: left;
}

.sisan-en {
  font-size: 5px;
}

.meta-item span {
  display: inline-block;
  width: 60px;
  background: rgba(255, 255, 255, 0.5);
  padding: 2px 8px;
  margin-right: 6px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
}

#asset-modal-map {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  border: none;
}

.meta-item {
  margin-top: 6px;
  margin-bottom: 6px;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.asset-modal-map {
  width: 100%;
  max-width: 100%;
  height: 200px;
  border: none;
  display: block;
  border-radius: 20px;
}

.asset-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.asset-nav button {
  border-radius: 20px;
  background: #c3f2ff;
  /* 背景色 */
  color: #000000;
  /* 文字色 */
}

.asset-nav button:hover:not(:disabled) {
  background: #7ce3ff;
}

.asset-nav button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.asset-close {
  position: absolute;
  top: 1px;
  right: 20px;
  font-size: 40px;
}


/*
=======================
登録基準
=======================
*/
.criteria {
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.criteria-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* 各ブロック */
.criteria-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-left: 2px solid #333;

  background: linear-gradient(to right,
      rgba(195, 242, 255, 0.5),
      rgba(195, 242, 255, 0.2),
      rgba(100, 180, 255, 0));

  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

/* 表示時 */
.criteria-item.show {
  opacity: 1;
  transform: translateY(0);
}

/* 番号 */
.criteria-num {
  font-size: 1.4rem;
  font-weight: bold;
  min-width: 40px;
}

/* 内容 */
.criteria-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.criteria-lead {
  font-weight: bold;
  margin-bottom: 10px;
}

.criteria-content p {
  line-height: 1.7;
  font-size: 0.95rem;
}

/*
=========================
最後に
=========================
*/
.final-summary {
  list-style: none;
  padding: 20px 24px;
  margin: 40px 0;
  background: linear-gradient(to right, rgba(120, 200, 255, 0.18), rgba(120, 200, 255, 0));
  border-left: 4px solid #78c8ff;
  border-radius: 8px;
}

.final-summary li {
  position: relative;
  padding-left: 28px;
  margin: 14px 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

/* ドットを少し印象的に */
.final-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 10px;
  background-color: #78c8ff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(120, 200, 255, 0.6);
}

/* 最後の一文 */
.final-line {
  text-align: center;
  font-size: 1.4rem;
  margin: 100px 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.final-line.show {
  opacity: 1;
}

/* 画像 */
.final-image {
  text-align: center;
  margin: 40px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

.final-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.js-open-izumo-modal {
  cursor: pointer;
}

.final-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #666;
  text-decoration: underline;
  text-align: center;
}

/* ========================
   空中神殿モーダル
   モバイルファースト
======================== */
.izumo-box {
  width: 92%;
  max-width: 700px;

  max-height: 85vh;
  /* 画面内に収める */
  overflow-y: auto;
  /* 内容が長い時は中だけスクロール */

  padding: 24px 18px;
  line-height: 1.9;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  /* iPhone慣性スクロール */
}

.izumo-box h3 {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.izumo-box p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.izumo-last {
  text-align: center;
  font-weight: bold;
  margin-top: 24px;
  margin-bottom: 0;
}

.final-caption {
  font-size: x-small;
}

/* 閉じるボタンが埋もれないように */
.izumo-box .close-btn {
  position: sticky;
  top: 0;
  float: right;
  background: #fff;
  padding-left: 8px;
  z-index: 2;
}

/* フェードイン後 */
.final-image.show {
  opacity: 1;
  transform: translateY(0);
}

/* 遅延（じわっと出す） */
.fade-in-delay {
  transition-delay: 0.4s;
}

.final-catchback {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 32px 0 18px;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

/* 最後だけちょっと演出強め */
.closing-item.final {
  transition-delay: 0.3s;
  font-style: italic;
  letter-spacing: 0.05em;
}

/*2カラム*/
.yokonarabi {
  margin-top: 50px;
}

.sticky {
  background-color: #c3f2ff;
  width: 240px;
  /* ← 固定幅 */
  flex-shrink: 0;
  /* ← レイアウト崩れ防止 */
}

.side-menu {
  list-style: none;
  padding-left: 0;
}

.side-menu li {
  border-bottom: 1px solid #c9c2bc;
}

.side-menu a {
  color: #0077b2;
  display: block;
  padding: 5px;
}

.side-menu a:hover {
  color: #00334d;
}

.side-menu a.active {
  color: #000000;
  background-color: #fff;
  border-left: 4px solid #000000;
}

.side-menu summary {
  color: #0077b2;
  font-size: x-small;
  padding-left: 20px;
}

.side-side {
  list-style: disc;
  padding-left: 25px;
  color: #0077b2;
}

.side-side li {
  padding-left: 0;
}

.side-side-side {
  font-size: x-small;
  list-style: none;
  padding-left: 10px;
}

.post {
  margin-top: 50px;
}

/* =========================
   フッター
========================= */
.footer-inner {
  max-width: 700px;
  margin: 16px auto 0;
}

/* =========================
   sitemap
========================= */


.footer-sitemap {
  columns: 2;
  column-gap: 40px;
}

.site-link {
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;

  display: flex;
  align-items: center;
  z-index: 0;
  min-height: 46px;

  padding-left: 0;

  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.site-link.sub {
  padding-left: 18px;
}

.site-link.home:hover {
  background-color: #fff;
  color: #000;
}

.site-link.sub::before {
  content: "";

  position: absolute;
  left: 0;
  top: 50%;

  width: 8px;
  height: 2px;
  color: #000;

  background: currentColor;

  opacity: 0.45;
}

.site-link.current {
  pointer-events: none;
  background-color: #e1f9ff;
}

.home {
  color: #000;
}

.yayoi {
  color: #ffbd59;
}

.yayoi:hover {
  background-color: #ffffff;
  color: #ffbd59;
}

.sannin {
  color: #0b4f8d
}

.sannin:hover {
  background-color: #ffffff;
  color: #0b4f8d;
}

.ritsuryo {
  color: #8c52ff;
}

.ritsuryo:hover {
  background-color: #ffffff;
  color: #8c52ff;
}

.kamakura {
  color: #38761d;
}

.kamakura:hover {
  background-color: #ffffff;
  color: #38761d;
}

.ainu {
  color: #53c6ff;
}

.ainu:hover {
  background-color: #ffffff;
  color: #53c6ff;
}

.sengoku {
  color: #666666;
}

.sengoku:hover {
  background-color: #ffffff;
  color: #666666;
}

.kanataka {
  color: #be8f00;
}

.kanataka:hover {
  background-color: #ffffff;
  color: #be8f00;
}

.kaidou {
  color: #660000;
}

.kaidou:hover {
  background-color: #ffffff;
  color: #660000;
}

.setouchi {
  color: #0043d8;
}

.setouchi:hover {
  background-color: #ffffff;
  color: #0043d8;
}

.ryukyu {
  color: #00b7d8;
}

.ryukyu:hover {
  background-color: #ffffff;
  color: #00b7d8;
}

.tokyo {
  color: #980000;
}

.tokyo:hover {
  background-color: #ffffff;
  color: #980000;
}





/*デスクトップ版*/
@media(min-width:820px) {
  .sponly {
    display: none;
  }

  .pconly {
    display: inline;
  }

  /*ヘッダーとフッター*/
  .page-header {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
  }

  .logo {
    width: 500px;
  }

  .lang-select {
    font-size: medium;
  }

  .main-nav {
    margin-top: 80px;
  }

  .news {
    width: 800px;
    margin: auto;
  }

  .map-hero {
    display: block;
  }

  .map-area {
    height: 100vh;
  }

  /* コピー中央 */
  .map-copy {
    font-size: 26px;
  }

  .map-copy p {
    top: 80%;
  }

  /* アイコンを地図上に戻す */
  .icons {
    position: absolute;
    inset: 0;
    display: block;
    background: none;
  }

  .icon {
    position: absolute;
    z-index: 1;
    width: 100px;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    animation: float 4s ease-in-out infinite;
  }

  .icon:hover {
    z-index: 100;
  }

  .icon:nth-child(2) {
    animation-delay: 0.3s;
  }

  .icon:nth-child(3) {
    animation-delay: 0.75s;
  }

  .icon:nth-child(4) {
    animation-delay: 0.1s;
  }

  .icon:nth-child(5) {
    animation-delay: 0.5s;
  }

  .icon:nth-child(6) {
    animation-delay: 1s;
  }

  .icon:nth-child(7) {
    animation-delay: 0.7s;
  }

  .icon:nth-child(8) {
    animation-delay: 0.4s;
  }

  .icon:nth-child(9) {
    animation-delay: 0.8s;
  }

  .icon:nth-child(10) {
    animation-delay: 0.2s;
  }

  .icon:nth-child(11) {
    animation-delay: 0.9s;
  }

  @keyframes float {

    0%,
    100% {
      transform: translate(-50%, -50%);
    }

    50% {
      transform: translate(-50%, -60%);
    }
  }

  .page-header {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
  }

  .lang-select {
    font-size: medium;
  }

  .main-nav {
    margin-top: 80px;
  }

  .honbun {
    width: 100%;
    margin: auto;
  }

  .news {
    width: 800px;
    margin: auto;
  }

  .ul {
    margin-left: 20%;
    margin-right: 20%;
  }

  /*タブ*/
  .row {
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
  }

  .row::after {
    display: block;
  }

  .main-card {
    flex: 1 1 50%;
  }

  .card-cta {
    font-size: 16px;
  }

  .copy-main {
    font-size: 25px;
  }

  .copy-sub {
    font-size: 15px;
  }

  .sub-grid {
    flex: 1 1 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .row::after {
    display: none;
  }

  .special img {
    width: 20%;
  }

  /*詳細の背景画像*/
  /* 左 */
  .back-01::before {
    width: 50%;
    height: 100%;
    left: 0;
    right: auto;
    background-image: url("img/1-古代山陰/izumotaisha-irasutoya.png");
    background-size: cover;
    background-position: center;
    opacity: 0.5;
  }

  /* 右 */
  .back-01::after {
    content: "";
    position: absolute;
    top: 0;
    right: -10%;
    width: 50%;
    height: 100%;
    background-image: url("img/1-古代山陰/seidouki_kane-irasutoya.png");
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
    /* 画像傾け */
    transform: rotate(21deg) scale(0.9);
    transform-origin: center;
  }

  .back-02::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(img/2-金沢高岡/yuzen.png) center / cover no-repeat;
    opacity: 0.2;
    z-index: 0;
  }

  .back-03::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(img/3-東海中山/ishidatami.jpg) center / cover no-repeat;
    opacity: 0.2;
    z-index: 0;
  }

  .back-04::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(img/4-近代東京/renga.jpg) center / cover no-repeat;
    opacity: 0.1;
    z-index: 0;
  }

  .back-05::before {
    background-image: none;
  }

  .back-05::after {
    content: "";
    position: absolute;
    top: 0;
    right: -10%;
    width: 50%;
    height: 100%;
    background-image: url("img/5-戦国日本/oshiro_aduchijou.png");
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
  }

  .back-06::before {
    background-image: none;
  }

  .back-06::after {
    content: "";
    position: absolute;
    top: 0;
    right: -10%;
    width: 50%;
    height: 100%;
    background-image: url("img/6-鎌倉/kamakura_daibutsu.png");
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
  }

  .back-07::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(img/7-アイヌ/ainugara.png) center / cover no-repeat;
    opacity: 0.2;
    z-index: 0;
  }

  .back-08::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(img/8-律令/ishigaki.jpg) center / cover no-repeat;
    opacity: 0.15;
    z-index: 0;
  }

  .back-09::before {
    background-image: none;
  }

  .back-09::after {
    content: "";
    position: absolute;
    top: 0;
    right: -10%;
    width: 50%;
    height: 100%;
    background-image: url("img/9-琉球/shiisa_one.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
  }

  .back-10::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(img/10-瀬戸内/yurameki.png) center / cover no-repeat;
    opacity: 0.2;
    z-index: 0;
  }

  .back-11::before {
    background-image: none;
  }

  .back-11::after {
    content: "";
    position: absolute;
    top: 0;
    right: -10%;
    width: 50%;
    height: 100%;
    background-image: url("img/11-弥生/doki_yayoi.png");
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
    /* 画像傾け */
    transform: rotate(21deg) scale(0.9);
    transform-origin: center;
  }

  /*⇩詳細ページ*/
  .syosai-header h1 {
    font-size: 40px;
  }

  .catch {
    font-size: 18px;
  }

  .syousai-img-flex {
    flex-direction: row;
    margin: 40px auto;
  }

  .detail-img.single {
    max-width: 400px;
    display: block;
    margin: 40px auto;
  }

  .detail-img.illust {
    margin-bottom: 0px;
  }

  /* 2カラム化 */
  .syosai-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  /* 画像を2×2に */
  .syosai-images {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .syosai-images img {
    border-radius: 15px;
  }

  .info-box p {
    font-size: 16px;
  }

  .keywords span {
    font-size: 14px;
  }

  .lead {
    font-size: 16px;
  }

  /*似ている世界遺産グリッド*/
  .compare-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-item {
    position: relative;
  }

  .compare-img {
    cursor: pointer;
    overflow: hidden;
  }

  .compare-img img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
  }

  /* ホバーで少し拡大 */
  .compare-img:hover img {
    transform: scale(1.05);
  }

  /* 詳細 */
  .compare-detail {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
  }

  /* 開いた状態 */
  .compare-item.active .compare-detail {
    max-height: 500px;
    opacity: 1;
    margin-top: 10px;
  }

  /*=================
        比較表
=====================*/
  .compare-section {
    padding: 24px 24px 0;
  }

  .table-title {
    text-align: center;
  }

  .region-tabs {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .region-tab {
    font-size: 15px;
    padding: 10px 16px;
    flex: 0 1 auto;
    /* ←縮められるように */
  }

  .compare-row {
    grid-template-columns: 2fr 1fr 1fr;
    padding: 0;
  }

  .compare-row:hover {
    background: #f7f7f7;
  }

  .cell {
    font-size: 15px;
    padding: 4px 6px;
  }

  .has-note::after {
    opacity: 0;
  }

  .has-note:hover::before {
    opacity: 1;
  }

  .has-note:hover::after {
    opacity: 1;
  }

  .why-grid-js {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-card-js,
  .compare-item {
    align-self: start;
    will-change: max-height;
  }

  .why-head-js {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 24px 18px 10px;
  }

  .why-head-js:hover {
    transform: scale(1.05);
  }

  .why-icon-js {
    font-size: 100px;
    /* ←重要：存在感UP */
  }

  .why-label-js {
    font-size: 18px;
    font-weight: bold;
  }

  .why-icon-img {
    width: 150px;
    height: 150px;
  }

  /*構成資産*/
  .asset-sction-01::before {
    background-image: url("img/1-古代山陰/雲.png");
  }

  .asset-item:hover .asset-overlay {
    background: rgba(0, 0, 0, 0.2);
  }


  /*構成資産モーダル*/
  .asset-modal-body {
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
  }

  .asset-modal-left,
  .asset-modal-right {
    width: 50%;
    display: flex;
    flex-direction: column;
  }

  .asset-modal-left img {
    height: 100%;
    object-fit: cover;
  }

  .asset-modal-right {
    justify-content: space-between;
    /* ←これが効く */
  }

  .asset-meta {
    gap: 10px;
    flex-wrap: wrap;
  }

  #asset-modal-map {
    flex-shrink: 0;
    height: 160px;
    /* 少し抑える */
  }

  .asset-close {
    top: 10px;
    right: 20px;
    font-size: 40px;
  }

  .final-note {
    font-size: 0.9rem;
  }

  .izumo-box {
    width: 88%;
    padding: 34px 28px;
    max-height: 88vh;
  }

  .izumo-box h3 {
    font-size: 1.35rem;
  }

  .izumo-box p {
    font-size: 1rem;
  }

  /*２カラム*/
  .yokonarabi {
    display: flex;
    justify-content: space-around;
    gap: 2%;
  }

  .post {
    width: 80%;
  }

  .sidebar {
    width: 18%;
  }

  .side-menu {
    font-size: small;
    height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
  }

  .bottom-nav {
    display: none;
  }

  .bottom-nav-en {
    display: none;
  }

  .img-yohaku {
    width: 80%;
    margin: auto;
  }

  /*フッター*/
  .footer-sitemap {
    columns: 3;
    gap: 14px 28px;
  }

  .site-link.current {
    opacity: 0.7;
  }

  .site-link.current::after {
    content: "🚫";

    position: absolute;
    right: -8px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 0.9rem;

    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .site-link.current:hover::after {
    opacity: 1;
  }
}

/*スマホ版*/
@media(max-width:820px) {

  /* =======================
   アイコン（スマホ）
   ↓ 地図の上に重ねたまま下部配置
======================= */
  .map-wrapper {
    position: relative;
    height: auto;
  }

  .map {
    position: absolute;
    top: 30px;
    /* ←上にくっつける */
    left: 50%;
    transform: translateX(-50%);
    object-position: top;
  }

  .map {
    object-position: top;
  }

  .map-copy {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .map-copy p {
    font-size: 25px;
    text-align: left;
    padding-left: 10px;
  }

  .icons {
    position: absolute;
    /* ←ここ絶対消さない */
    bottom: 50px;
    /* ←地図の下に配置 */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px;
    border-radius: 10px;
  }

  /* スマホ時はabsolute座標を無効化 */
  .icon {
    position: static;
  }

  .icon img {
    width: 100%;
    border-radius: 50%;
  }

  .icon::after {
    display: none;
  }

  .icon.tapped img {
    transform: scale(1.15);
    box-shadow:
      0 0 12px rgba(0, 180, 255, 0.8),
      0 0 25px rgba(0, 180, 255, 0.5);
    transition: 0.3s ease;
  }

  .tooltip-box {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    /* ←超重要 */
    z-index: 999;
  }

  .tooltip-box-en {
    position: fixed;
    left: 50%;
    bottom: 5%;
    transform: translateX(-50%);
    max-width: 80%;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 9999;
    text-align: center;
    font-size: small;
  }

  /*詳細ページ*/
  .info-box {
    text-align: left;
  }

  .info-span {
    width: 100px;
    text-align: left;
  }

  /*リンクタブ*/
  .btn-yoko {
    display: block;
    list-style: none;
    padding: 0;
    margin: auto;
  }

  .btn-yoko li {
    border-bottom: 1.5px solid #111;
    padding: 5px 10px;
  }

  .btn-box {
    display: block;
    list-style: none;
    padding: 0px;
  }

  .btn-box-inside {
    display: flex;
    align-items: stretch;
    gap: 10px;
  }

  aside {
    display: none;
  }

  .asset-modal-map {
    height: 180px;
  }

  .bottom-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 28px);
    grid-auto-flow: column;
    grid-auto-rows: 28px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: rgba(207, 246, 255, 0.95);
    border-top: 1px solid #ddd;
    z-index: 9999;
    transition: transform 0.25s ease;
    will-change: transform;
  }

  .teian-detail {
    display: flex;
    justify-content: center;
  }

  .teian-detail a {
    padding-right: 20px;
  }

  /* 隠す状態 */
  .bottom-nav.is-hidden {
    transform: translateY(100%);
  }

  .bottom-nav a {
    display: flex;
    text-align: center;
    font-size: 11px;
    color: #666;
    padding-top: 2px;
    padding-left: 20px;
  }

  .bottom-nav a.active {
    color: #0077b2;
    font-weight: bold;
  }

  .bottom-nav-en {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    background: rgba(207, 246, 255, 0.95);
    border-top: 1px solid #ddd;
    z-index: 9999;
    transition: transform 0.25s ease;
    will-change: transform;
  }

  /* 隠す状態 */
  .bottom-nav-en.is-hidden {
    transform: translateY(100%);
  }

  .bottom-nav-en a {
    display: flex;
    text-align: center;
    font-size: 11px;
    color: #666;
    padding-top: 2px;
    padding-left: 30px;
  }

  .bottom-nav-en a.active {
    color: #0077b2;
    font-weight: bold;
  }

  body {
    padding-bottom: 150px
      /* ナビ分の余白 */
  }

}

/* hoverできる端末だけ有効化 */
@media (hover: hover) {

  .has-note::after {
    display: block;
    content: attr(data-note);
    position: absolute;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);

    background: #333;
    color: #fff;
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 4px;
    width: 160px;

    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
    z-index: 10;
  }

  .has-note:hover::after {
    opacity: 1;
  }

  .has-note:hover::before {
    opacity: 1;
  }

  .site-link:hover {
    transform: translateX(4px);
  }
}