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

body.modal-open {
  overflow: hidden;
}

.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: 25px;
  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;
  font-size: 20px;
}

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


/*詳細ページ*/
/* 全体 */
.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(#7c6f64, #dadada);
  overflow: hidden;
}

.back-02 {
  position: relative;
  background: linear-gradient(#5d5d5d, #dadada);
  overflow: hidden;
}

.back-03 {
  position: relative;
  background: linear-gradient(#57813a, #dbf3ca);
  overflow: hidden;
}

.back-04 {
  position: relative;
  background: linear-gradient(#ad7946, #ffe4c8);
  overflow: hidden;
}

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

.back-06 {
  position: relative;
  background: linear-gradient(#c30806, #ffdfdf);
  overflow: hidden;
}

.back-07 {
  position: relative;
  background: linear-gradient(#5a9434, #e1ffce);
  overflow: hidden;
}

.back-08 {
  position: relative;
  background: linear-gradient(#c39d28, #fff8e3);
  overflow: hidden;
}

.back-09 {
  position: relative;
  background: linear-gradient(#951010, #ffbcbc);
  overflow: hidden;
}

.back-10 {
  position: relative;
  background: linear-gradient(#087108, #e1ffce);
  overflow: hidden;
}

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

.back-12 {
  position: relative;
  background: linear-gradient(#e7ba2f, #fff8e3);
  overflow: hidden;
}

.back-13 {
  position: relative;
  background: linear-gradient(#1d94e9, #cbe9ff);
  overflow: hidden;
}

.back-14 {
  position: relative;
  background: linear-gradient(#a80e0e, #ffcece);
  overflow: hidden;
}

.back-15 {
  position: relative;
  background: linear-gradient(#585858, #c9c9c9);
  overflow: hidden;
}

.back-16 {
  position: relative;
  background: linear-gradient(#959595, #e5e5e5);
  overflow: hidden;
}

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

.back-18 {
  position: relative;
  background: linear-gradient(#52728f, #e6f4ff);
  overflow: hidden;
}

.back-19 {
  position: relative;
  background: linear-gradient(#0a7c12, #c1f1d7);
  overflow: hidden;
}

.back-20 {
  position: relative;
  background: linear-gradient(#a14505, #d3b5a1);
  overflow: hidden;
}

.back-21 {
  position: relative;
  background: linear-gradient(#eab71b, #bab39e);
  overflow: hidden;
}

.back-22 {
  position: relative;
  background: linear-gradient(#9f49df, #edd5ff);
  overflow: hidden;
}

/* タイトル */
.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;
}

/* ==================================================
   地域ストーリー
   Mobile First
================================================== */

.region-story {
  width: 100%;
  max-width: 800px;
  margin: 30px auto 0;
  border-radius: 28px;
  box-shadow:
    0 15px 15px rgba(0, 0, 0, 0.20);
}


/* スマホでは画像 → 文章 */

.story-image {
  width: 100%;
}

.story-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}


/* 文章 */

.story-text {
  padding: 35px 25px 40px;
}

.story-number {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.55);
  font-family:
    "Cormorant Garamond",
    serif;
  font-size: 28px;
}

.story-text h2 {
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1.4;
}

.story-text p {
  font-size: 16px;
}

.highlight {
  margin-top: 30px;
  padding: 20px;
  border-left: 5px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.10);
  font-size: 18px;
  font-weight: 700;
}

/* 画像（スマホは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-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 5px 5px 5px #000;
}

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

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

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

.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;
  margin: 5px;
}

.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(#E5E2DD, #dadada);
}

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

.asset-modal-03 {
  background: linear-gradient(#9dbf85, #dbf3ca);
}

.asset-modal-04 {
  background: linear-gradient(#d4b697, #ffe4c8);
}

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

.asset-modal-06 {
  background: linear-gradient(#d76f6d, #ffdfdf);
}

.asset-modal-07 {
  background: linear-gradient(#99c07f, #e1ffce);
}

.asset-modal-08 {
  background: linear-gradient(#d7c181, #fff8e3);
}

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

.asset-modal-10 {
  background: linear-gradient(#5fb35f, #e1ffce);
}

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

.asset-modal-12 {
  background: linear-gradient(#efd893, #fff8e3);
}

.asset-modal-13 {
  background: linear-gradient(#88c3ed, #cbe9ff);
}

.asset-modal-14 {
  background: linear-gradient(#bd6767, #ffcece);
}

.asset-modal-15 {
  background: linear-gradient(#a1a0a0, #c9c9c9);
}

.asset-modal-16 {
  background: linear-gradient(#d2d1d1, #e5e5e5);
}

.asset-modal-17 {
  background: linear-gradient(#8fafe7, #a0c3ff);
}

.asset-modal-18 {
  background: linear-gradient(#9db4ca, #e6f4ff);
}

.asset-modal-19 {
  background: linear-gradient(#68c26e, #c1f1d7);
}

.asset-modal-20 {
  background: linear-gradient(#d0956b, #d3b5a1);
}

.asset-modal-21 {
  background: linear-gradient(#efd486, #bab39e);
}

.asset-modal-22 {
  background: linear-gradient(#c89beb, #edd5ff);
}

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

.footer-inner {
  max-width: 800px;
  margin: auto;
}

.footer-sitemap {
  display: block;
}

.site-link.home {
  display: block;
  margin-bottom: 15px;
  padding: 10px;
  text-align: center;
}

.sitemap-group {
  margin-bottom: 15px;
}

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 15px;
  padding: 10px 5px;
}


/* ホバー */
.site-link:hover {
  opacity: .65;
}


/* 現在のページ */
.site-link.current {
  position: relative;
  pointer-events: none;
  background-color: #e1f9ff;
}

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

  /* =======================
   アイコン（スマホ）
   ↓ 地図の上に重ねたまま下部配置
======================= */
  .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(5, 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
      /* ナビ分の余白 */
  }

  .top-p {
    text-align: left;
  }

}

/*タブレット版*/
@media (min-width: 580px) {
  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 26px;
  }

  .region-story {
    display: grid;
    grid-template-columns:
      1fr 1fr;
    min-height: 500px;
    border-radius: 35px;
  }

  .story-image {
    height: 100%;
  }

  .story-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .story-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
  }

  /* 2つ目と４つ目を左右反転 */

  .story-02 .story-image {
    order: 2;
  }

  .story-02 .story-text {
    order: 1;
  }

  .story-04 .story-image {
    order: 2;
  }

  .story-04 .story-text {
    order: 1;
  }

  .story-text h2 {
    font-size: 38px;
  }

  .story-text p {
    font-size: 17px;
  }

  .sitemap-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

/*デスクトップ版*/
@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-copy {
    font-size: 26px;
  }

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


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

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

  .proposal-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }

  /*⇩詳細ページ*/
  .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;
  }


  /*構成資産*/
  .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;
  }

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