@charset "UTF-8";

/* 旅行アプリ風の共通余白設定 */
.page-container {
  padding: 0 16px;
  max-width: 680px;      /* スマホ用の黄金幅 */
  margin: 0 auto;
  box-sizing: border-box;
}

/*タイトルのフォントなど*/
#daimei{
	font-family: 'Kaisei Decol', serif;
	text-align:center;
	font-size:60px;
	padding-top: 30px;
	padding-bottom: 30px;
}

.slider {
  width: 90%;
  height: 90%;
  margin: auto;
}
.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slick-dots{
  position: unset;
  width: auto;
  margin: 0 0 0 40%;
  display: inline;
}

.slick-dots li{
  margin: 0;
}

.start-stop-button{
  display: inline-block;
}

.slick-prev:before,
.slick-next:before {
  color: black;
}

.slick-dots li button:before {
  font-size: 10px;
  top: 6px;
  line-height: 0;
}

.slider .slider-item {
  max-width: 600px;
  margin: 0.4% 0.4%;
  text-align: center;
}

.slider .slider-item .text{
  margin: 2%;
}


/*モーダル内部の大きさと位置の調整*/
.modal{
  height: 88%;
  text-align: center;
}

.img_size{
  width: 100%;
  position: relative;
}


/* 個別ページ観光地名　*/
.destination_title{
  font-family: 'Kaisei Decol', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  text-align: left;
  margin: 32px 0 12px;
  padding-left: 4px;
}

/*個別ページのスライダー内部のコンテンツの大きさの調整*/
.sub_slider {
  width: 100%;
  margin: 0 auto;
}
.sub_slider img {
  border-radius: 10px;
}

/* スライド1枚ぶん */
.sub_slider .slider-item {
  padding-bottom: 4px;
}

/* スライダー全体のカード */
.slider-card {
  background: #fff;
  border-radius: 16px;
  padding: 12px 12px 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  margin-bottom: 32px;
}

/* 写真 */
.sub_slider .slider-item img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* キャプション（ああ） */
.slider-item .text {
  font-size: 0.85rem;
  color: #666;
  margin-top: 8px;
  text-align: center;
}

/*個別ページの画像の下のドットの位置調整*/
.sub_slider .slick-dots{
  margin-top: 6px;
}


/* slick ドットをアプリ風に */
.slick-dots li button:before {
  font-size: 12px;
  color: #aaa;
}

.slick-dots li.slick-active button:before {
  color: #555;
}

/* 矢印を少し内側 & 小さめに */
.sub_slider .slick-prev,
.sub_slider .slick-next {
  z-index: 2;
}
.sub_slider .slick-prev {
  left: -6px;
}
.sub_slider .slick-next {
  right: -6px;
}

/* 矢印をアプリ風の半透明丸型に */
.slick-prev:before,
.slick-next:before {
  font-size: 18px;
  color: #333;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  padding: 6px 9px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.slick-prev { left: -6px; }
.slick-next { right: -6px; }

/*写真カードリスト*/
.contents_list{
  list-style: none;
  padding: 0;
  margin: 0;
}

/* スマホ最適化 */
@media (max-width: 480px) {
  .destination_title {
    font-size: 1.3rem;
    margin-top: 24px;
  }
}

@media screen and (min-width: 1025px) {
  /* スライダーはカード幅いっぱい＆高さは自動 */
  .sub_slider {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
  .sub_slider img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .slick-dots{
    position: unset;
    width: auto;
    margin: 0 0 0 40%;
    display: inline-block;
  }
  
  .start-stop-button{
    display: inline-block;
  }
  
  .slick-prev:before,
  .slick-next:before {
    color: black;
  }
  
  .slick-dots li button:before {
    font-size: 18px;
    top: 6px;
    line-height: 0;
  }
  
  .slider .slider-item {
    max-width: 400px;
    margin: 0.4% 0.4%;
    text-align: center;
  }
  
  /*モーダル内部の大きさと位置の調整*/
  .modal{
    height: 88%;
    text-align: center;
  }
  
  .img_size{
    height: 99.9%;
    position: relative;
  }
  
  /*個別ページのスライダー内部のコンテンツの大きさの調整*/
  .sub_slider {
    width: 80%;
    height: 80%;
    margin: auto;
  }
  .sub_slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* 画像グリッドはやめて、普通のリスト表示に戻す */
  .contents_list{
    display: block;
  }

}


/* CSSリセット */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,  figure, figcaption, footer, header, hgroup,  menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers  */ article, aside, details, figcaption, figure,  footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0;
}

body {
  font-family: "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", sans-serif;
	font-size: 16px;
	line-height: 1.5em;
	color: #000000;   /*黒色 */
	background-color: #ffffff;   /*白色 */
}
img {
	vertical-align: bottom;
}
a:hover img {
	opacity: 0.85;
		-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 80);
		filter: alpha(opacity = 80);
	transition: all 0.4s;
}
a {
	text-decoration: none;
	color: #435ea9;
}
a:hover {
	text-decoration: none;
	color: #0E2D96;
	transition: 0.3s all;
}
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

/******* 地図成形 *******/
#japan-map div div.area div {
	border: 1px #ffffff solid;
	text-align: center;
	font-size: 14px;
 	display: flex;
		display: -webkit-flex;
 	align-items: center; /* 縦方向中央揃え */
 		-webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
 	justify-content: center; /* 横方向中央揃え */
 		-webkit-justify-content: center; /* 横方向中央揃え（Safari用） */
	border-radius: 6px;
		-webkit-border-radius: 6px;
	position: absolute;
	box-sizing: border-box;
	transition: 0.2s;
}


#japan-map div div.area div:hover {
	opacity: 0.5;
	transition: 0.2s;
}

#japan-map {
	display: block;
	width: 777px;
	height: 482px;
	background-color: none;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}
#japan-map p.area-title {
	display: none;
}

/* 北海道・東北 */

#hokkaido-touhoku {
	width: 136px;
	display: block;
	height: 265px;
	position: absolute;
	left: 638px;
}
#hokkaido-touhoku div.area div {
	background-color: #7478c2;
	color: #ffffff;
}

#hokkaido {
	width: 133px;
	height: 70px;
  opacity: 0.5;
}
#aomori {
	width: 93px;
	height: 43px;
	left: 21px;
	top: 96px;
  opacity: 0.5;
}
#akita {
	width: 67px;
	height: 42px;
	left: 3px;
	top: 139px;
  opacity: 0.5;
}
#iwate {
	width: 67px;
	height: 42px;
	left: 70px;
	top: 139px;
  opacity: 0.5;
}
#yamagata {
	width: 67px;
	height: 42px;
	top: 181px;
	left: 3px;
  opacity: 0.5;
}
#miyagi {
	width: 67px;
	height: 42px;
	top: 181px;
	left: 70px;
  opacity: 0.5;
}
#fukushima {
	width: 67px;
	height: 42px;
	top: 223px;
	left: 70px;
  opacity: 0.5;
}

/* 関東 */

#kantou {
	width: 158px;
	display: block;
	height: 174px;
	position: absolute;
	top: 265px;
	left: 623px;
	z-index: 2;
}
#kantou div.area div {
	background-color: #31beca;
	color: #ffffff;
}
#ibaraki {
	width: 52px;
	height: 85px;
	top: 0px;
	left: 100px;
  opacity: 0.5;
}
#tochigi {
	width: 50px;
	height: 42px;
	top: 0px;
	left: 50px;
  opacity: 0.5;
}
#gunma {
	width: 50px;
	height: 42px;
	top: 0px;
	left: 0px;
  opacity: 0.5;
}
#saitama {
	width: 100px;
	height: 43px;
	top: 42px;
	left: 0px;
  opacity: 0.5;
}
#chiba {
	width: 52px;
	height: 84px;
	top: 85px;
	left: 100px;
  opacity: 0.5;
}
#tokyo {
	width: 100px;
	height: 42px;
	top: 85px;
	left: 0px;
  opacity: 0.5;
}
#kanagawa {
	width: 67px;
	height: 42px;
	top: 127px;
	left: 0px;
  opacity: 0.5;
}

/* 中部 */

#tyubu {
	width: 270px;
	height: 211px;
	position: absolute;
	left: 438px;
	top: 223px;
}
#tyubu div.area div {
	background-color: #4ab969;
	color: #ffffff;
}

#nigata {
	width: 85px;
	height: 42px;
	left: 185px;
  opacity: 0.5;
}
#toyama {
	width: 67px;
	height: 42px;
	left: 118px;
}
#ishikawa {
	width: 50px;
	height: 57px;
	left: 68px;
}
#fukui {
	width: 68px;
	height: 42px;
	left: 0px;
	z-index: 2;
}
#nagano {
	width: 67px;
	height: 85px;
	left: 118px;
	top: 42px;
}
#yamanashi {
	width: 67px;
	height: 42px;
	left: 118px;
	top: 127px;
  opacity: 0.5;
}
#gifu {
	width: 50px;
	height: 55px;
	left: 68px;
	top: 57px;
}
#shizuoka {
	width: 67px;
	height: 42px;
	left: 118px;
	top: 169px;
  opacity: 0.5;
}
#aichi {
	width: 50px;
	height: 57px;
	top: 112px;
	left: 68px;
}

/* 近畿 */

#kinki {
	width: 186px;
	height: 211px;
	position: absolute;
	left: 320px;
	top: 223px;
}
#kinki div.area div {
	background-color: #b0b72f;
	color: #ffffff;
}

#kyoto {
	width: 67px;
	height: 84px;
	left: 51px;
}
#shiga {
	width: 68px;
	height: 42px;
	top: 42px;
	left: 118px;
  opacity: 0.5;
}
#osaka {
	width: 67px;
	height: 85px;
	top: 84px;
	left: 51px;
}
#nara {
	width: 34px;
	height: 85px;
	top: 84px;
	left: 118px;
}
#mie {
	width: 34px;
	height: 85px;
	top: 84px;
	left: 152px;
}
#wakayama {
	width: 113px;
	height: 42px;
	top: 169px;
	left: 61px;
}
#hyougo {
	width: 51px;
	height: 98px;
	left: 0px;
}

/* 中国 */

#tyugoku {
	width: 151px;
	height: 98px;
	position: absolute;
	left: 169px;
	top: 223px;
}
#tyugoku div.area div {
	background-color: #ef9f27;
	color: #ffffff;
}
#tottori {
	width: 50px;
	height: 49px;
	left: 101px;
}
#okayama {
	width: 50px;
	height: 49px;
	top: 49px;
	left: 101px;
}
#shimane {
	width: 51px;
	height: 49px;
	left: 50px;
}
#hiroshima {
	width: 51px;
	height: 49px;
	top: 49px;
	left: 50px;
}
#yamaguchi {
	width: 50px;
	height: 98px;
	left: 0px;
}

/* 四国 */

#shikoku {
	width: 184px;
	height: 84px;
	position: absolute;
	left: 169px;
	top: 350px;
}
#shikoku div.area div {
	background-color: #d08f68;
	color: #ffffff;
}
#kagawa {
	width: 92px;
	height: 42px;
	right: 0px;
  opacity: 0.5;
}
#ehime {
	width: 92px;
	height: 42px;
	left: 0px;
  opacity: 0.5;
}
#tokushima {
	width: 92px;
	height: 42px;
	right: 0px;
	top: 42px;
  opacity: 0.5;
}
#kouchi {
	width: 92px;
	height: 42px;
	left: 0px;
	top: 42px;
  opacity: 0.5;
}

/* 九州・沖縄 */

#kyusyu {
	width: 152px;
	height: 247px;
	position: absolute;
	left: 0px;
	top: 235px;
}
#kyusyu div.area div {
	background-color: #ff7575;
	color: #ffffff;
}
#fukuoka {
	width: 50px;
	height: 50px;
	left: 101px;
	top: 0px;
}
#saga {
	width: 50px;
	height: 50px;
	left: 51px;
	top: 0px;
}
#nagasaki {
	width: 50px;
	height: 50px;
	left: 1px;
	top: 0px;
}
#oita {
	width: 50px;
	height: 50px;
	left: 101px;
	top: 50px;
}
#kumamoto {
	width: 50px;
	height: 100px;
	left: 51px;
	top: 50px;
}
#miyazaki {
	width: 50px;
	height: 50px;
	left: 101px;
	top: 100px;
}
#kagoshima {
	width: 68px;
	height: 49px;
	left: 83px;
	top: 150px;
}
#okinawa {
	width: 50px;
	height: 50px;
	left: 1px;
	top: 197px;
  opacity: 0.5;
}


/****************************************
	レスポンシブ

****************************************/
@media screen and (max-width: 776px) {
#japan-map {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	justify-content: space-around;
}
#japan-map p.area-title {
	display: inline-block;
	width: 100%;
	font-size: 15px;
	text-align: center;
	margin-top: 1.5em;
	margin-bottom: 1em;
	color: #000000;
}
#hokkaido-touhoku, #kantou, #tyubu, #kinki, #tyugoku, #shikoku, #kyusyu {
	display: block;
	position: static;
	margin: 0 1em 0 1em;
}
#japan-map div div.area {
	display: block;
	position: relative;
}

#hokkaido-touhoku {
	height: calc(265px + 4.5em);
}
#kantou {
	height: calc(174px + 4.5em);
}
#tyubu {
	height: calc(211px + 4.5em);
}
#kinki {
	height: calc(211px + 4.5em);
}
#tyugoku {
	height: calc(98px + 4.5em);
}
#shikoku {
	height: calc(84px + 4.5em);
}
#kyusyu {
	height: calc(247px + 4.5em);
}

} /* レスポンシブ max-776px */



@media screen and (max-width: 500px) {
#japan-map {
	display: block;
	width: 100%;
	height: auto;
}
#hokkaido-touhoku, #kantou, #tyubu, #kinki, #tyugoku, #shikoku, #kyusyu {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	height: auto;
	position: static;
	margin-left: 0px;
	margin-right: 0px;
}
#japan-map div div.area {
	font-size: 14px;
 	display: flex;
	flex-wrap: wrap;
	width: 100%;
}
#japan-map div div.area a {
	height: auto;
	width: 25%;
}
#japan-map div div.area div {
 	display: block;
	border-radius: 0px;
	position: static;
	height: auto;
	font-size: 16px;
	width: 100%;
	padding: 0.5em 0.3em 0.5em 0.3em;
}


} /* レスポンシブ max-500px */



/* ===== 県ページ（/yamaguchi など）のレイアウト調整 ===== */

#prefPage {
  background: #fff;
}

/* 県名のタイトルブロック */
.prefecture {
  max-width: 1100px;
  margin: 24px auto 8px;
  padding: 0 16px;
}

/* 観光地タイトル */
.destination_title {
  max-width: 1100px;
  margin: 40px auto 8px;
  padding: 0 16px;
  font-size: 1.4rem;
  text-align: left;   /* もし中央が良ければ center に */
}

/* カード全体（スライダーの箱） */
.superBody {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 16px 40px;
}

.slider-card {
  width: 100%;
  margin: 0 auto 40px;
}

/* 余計な箇条書きのスタイルを消す */
.contents_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Slick スライダー本体を横幅いっぱいに */
.sub_slider {
  width: 100%;
}

.sub_slider .slider-item {
  outline: none;
}

/* 画像をカード幅いっぱいに表示 */
.sub_slider img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* 地図とコンテンツの間に少し余白 */
#map {
  max-width: 1100px;
  margin: 16px auto 24px;
  border-radius: 16px;
  overflow: hidden;
}

/* ===== Leaflet ポップアップ内のカード風レイアウト ===== */

.map-popup {
  max-width: 220px;
}

.map-popup-title {
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.map-popup-thumb-wrap {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.map-popup-thumb {
  display: block;
  width: 100%;
  height: auto;
}

/* ========== 地図 / リスト タブ ========== */

#view-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 8px auto 0;
  max-width: 1100px;
  padding: 0 16px;
}

#view-tabs button {
  flex: 1;
  padding: 8px 0;
  border: none;
  border-bottom: 2px solid transparent;
  background: #f5f5f5;
  border-radius: 8px 8px 0 0;
  font-size: 0.9rem;
}

#view-tabs button.active {
  background: #ffffff;
  border-bottom-color: #26c6da;
  font-weight: bold;
}

/* ========== ビュー切り替え ========== */

#map-view {
  display: block;
}

#list-view {
  display: none;
}

/* ========== 地図の高さ（スマホ前提） ========== */

#map {
  width: 100%;
  height: calc(100vh - 160px); /* ヘッダー＋タブ＋少しの余白を引く */
}

/* ========== ボトムシート ========== */

#bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -60%;
  height: 60%;
  background: #ffffff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
  padding: 12px 16px;
  overflow-y: auto;
  transition: bottom 0.3s ease;
  z-index: 1000;
}

#bottom-sheet.open {
  bottom: 0;
}

.sheet-inner {
  max-width: 640px;
  margin: 0 auto;
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sheet-title {
  font-size: 1.1rem;
  font-weight: bold;
}

.sheet-close {
  border: none;
  background: none;
  font-size: 1.4rem;
  line-height: 1;
}

.sheet-image-wrap {
  margin-bottom: 8px;
}

.sheet-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.sheet-tags {
  font-size: 0.85rem;
  color: #555;
}

/* PC のときは少し余白広めにしてもOK */
@media (min-width: 900px) {
  #map {
    height: 480px;
  }
}



/* ===== Swiper 用スタイル（prefecture ページ専用） ===== */

/* リスト側のスライダー（カード内）とボトムシート側のスライダー */
.sub_slider.swiper,
.sheet-slider.swiper {
  width: 100%;
  margin: 0 auto;
}

/* Swiper のラッパー */
.sub_slider .swiper-wrapper,
.sheet-slider .swiper-wrapper {
  overflow: hidden;
}

/* 1スライド分 */
.sub_slider .swiper-slide,
.sheet-slider .swiper-slide {
  display: flex;
  flex-direction: column;
}

/* 画像の表示 */
.sub_slider .swiper-slide img,
.sheet-slider .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

/* ドットナビゲーション */
.sub_slider .swiper-pagination,
.sheet-slider .swiper-pagination {
  margin-top: 8px;
  text-align: center;
}

/* ボトムシート画像周り */
.sheet-image-wrap {
  margin-top: 8px;
}

.sheet-image {
  width: 100%;
  border-radius: 12px;
}

/* ========================= */
/* 都道府県ヘッダーのデザイン */
/* ========================= */

.prefecture {
  max-width: 960px;
  margin: 0 auto;
  padding: 8px 16px 0;
  box-sizing: border-box;
}

.pref-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.pref-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
}

.pref-name {
  font-family: 'Kaisei Decol', serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #222;
  border-left: 4px solid #26c6da;
  padding-left: 12px;
  margin: 0 0 8px;
}

/* =====================
   トップページ共通レイアウト
===================== */

.top-header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

.top-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: 'Kaisei Decol', serif;
  font-size: 20px;
  letter-spacing: 0.15em;
}

.menu-button {
  border: none;
  background: none;
  font-size: 12px;
  letter-spacing: 0.18em;
}

/* ① ヒーロースライダー */

.hero-section {
  position: relative;
}

.hero-slider {
  width: 100%;
}

.hero-slider .slider-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.hero-copy {
  max-width: 960px;
  margin: 12px auto 24px;
  padding: 0 16px;
  font-size: 14px;
  color: #555;
}

/* ② PICK UP セクション */

.section-title {
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.18em;
  margin-top: 24px;
}

.section-sub {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-bottom: 12px;
}

.pickup-section {
  padding: 0 16px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.pickup-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pickup-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

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

.pickup-body {
  padding: 12px 14px 14px;
}

.pickup-label {
  font-size: 11px;
  color: #26c6da;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.pickup-title {
  font-size: 15px;
  margin-bottom: 6px;
}

.pickup-text {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.pickup-link {
  font-size: 13px;
}

/* ③ 地図セクション（上下の余白だけ調整） */

.map-section {
  max-width: 960px;
  margin: 0 auto 40px;
  padding: 0 16px;
}

.map-section .section-title,
.map-section .section-sub {
  padding: 0;
}

/* PC 時は少し高さ＆幅を広めに */
@media (min-width: 768px) {
  .hero-slider .slider-item img {
    height: 340px;
  }

  .pickup-list {
    flex-direction: row;
  }

  .pickup-card {
    flex: 1;
  }
}
/* ========== MENU パネル ========== */

.global-nav {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100%;
  background: #ffffff;
  box-shadow: -4px 0 12px rgba(0,0,0,0.15);
  padding-top: 60px;
  transition: right 0.3s ease;
  z-index: 999;
}

.global-nav.open {
  right: 0;
}

.global-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.global-nav li {
  border-bottom: 1px solid #f0f0f0;
}

.global-nav a {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  color: #333;
  text-decoration: none;
}

.global-nav a:hover {
  background: #f5f5f5;
}




/* ========== トップページ専用スタイル ========== */

#topPage {
  background: #fafafa;
}

/* ヘッダー */
.top-header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
}
.top-header-inner {
  padding: 12px 0 8px;
}
.site-title {
  font-family: 'Kaisei Decol', serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.12em;
}
.site-subtitle {
  font-size: 0.9rem;
  color: #777;
}

/* 共通セクション */
.home-section {
  padding: 24px 0 32px;
}
.home-section-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.home-section-lead {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 16px;
}

/* ヒーロースライダー */
.hero-section {
  background: linear-gradient(135deg, #e0f7fa, #ffffff);
}
.hero-slider {
  margin-top: 8px;
}
.hero-slider .slider-item img {
  border-radius: 16px;
}
.hero-slider .text {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #555;
}

/* 訪れた都道府県チップ */
.visited-pref-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pref-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
}
.pref-chip.is-visited {
  border-color: #26c6da;
  background: #e0f7fa;
  color: #007c91;
}

/* 新着フォトカード */
.photo-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.photo-card a {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.photo-thumb-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.photo-card-body {
  padding: 8px 10px 10px;
}
.photo-card-pref {
  font-size: 0.75rem;
  color: #26c6da;
  margin-bottom: 2px;
}
.photo-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.photo-card-meta {
  font-size: 0.8rem;
  color: #777;
}

@media (min-width: 900px) {
  .home-section {
    padding: 32px 0 40px;
  }
  .photo-card-list {
    gap: 16px;
  }
}


/* トップページヘッダーまわり */
/* 共通ヘッダー */
.top-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #eee;
}
.top-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 8px;
}
.top-header-left {
  display: flex;
  flex-direction: column;
}
.site-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.12em;
}

/* ナビ本体 */
.top-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

/* ハンバーガーボタン */
.top-nav-menu {
  border: none;
  background: transparent;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ハンバーガー3本線 */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 18px;
  position: relative;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #333;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease, bottom 0.2s ease;
  position: absolute;
}
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger span:nth-child(3) {
  bottom: 0;
}

/* メニューオープン時：×に変形 */
.top-nav-menu.is-open .hamburger span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.top-nav-menu.is-open .hamburger span:nth-child(2) {
  opacity: 0;
}
.top-nav-menu.is-open .hamburger span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}


/* PCデフォルト：右上に横並び */
.top-nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}
.top-nav-links a {
  text-decoration: none;
  color: #555;
}
.top-nav-links a:hover {
  text-decoration: underline;
}

/* スマホ時：右寄せ・細めメニュー＋縦に大きく開く */
@media (max-width: 768px) {

  .top-nav-links {
    position: fixed;
    top: 56px;                     /* ヘッダー高さに合わせて調整 */
    right: 0;                    /* ★ 右寄せの基準 */
    left: auto;                    /* ★ left を無効化して右寄せに */
    
    width: 40%;                    /* ★ メニュー幅を細めに（70〜85%推奨） */

    background: #fff;
    border-radius: 16px 0 0 16px;         /* 右寄せの場合の見た目調整 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);

    padding: 16px 16px;
    display: none;
    flex-direction: column;
    gap: 12px;

    max-height: calc(100vh - 56px); /* 画面いっぱい（縦） */
    overflow-y: auto;               /* 多いときは中だけスクロール */

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

  .top-nav-links.is-open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }
}



/* PC時は常に表示（JSの is-open クラスは無視される） */
@media (min-width: 769px) {
  .top-nav-links {
    position: static;
    max-height: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border-radius: 0;
  }
}


/* =========================================
   県ページ（pref.php）見た目ブラッシュアップ
   ========================================= */
   #prefPage {
    background: #f7f7f7;
  }
  
  /* 県名ヘッダーまわり */
  #prefPage .prefecture {
    max-width: 1100px;
    margin: 16px auto 8px;
    padding: 0 16px;
  }
  
  #prefPage .pref-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0 8px;
    border-bottom: 1px solid #e0e0e0;
  }
  
  #prefPage .pref-label {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #999;
  }
  
  #prefPage .pref-name {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
  }
  
  /* タブ（地図 / リスト）を“セグメントコントロール”風に */
  #view-tabs {
    max-width: 1100px;
    margin: 16px auto 0;
    padding: 0 16px;
    display: flex;
    gap: 8px;
    background: transparent;
  }
  
  #view-tabs button {
    flex: 1;
    padding: 8px 0;
    border-radius: 999px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }
  
  #view-tabs button.active {
    background: #26c6da;
    color: #fff;
    border-color: #26c6da;
  }
  
  /* 地図ビュー / リストビューのコンテナ */
  #map-view,
  #list-view {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8px 16px 40px;
  }
  
  /* 地図はヘッダー＋タブを除いたほぼ全画面に */
  #prefPage #map {
    width: 100%;
    height: calc(100vh - 180px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }
  
  /* 観光地タイトル */
  #prefPage .destination_title {
    max-width: 1100px;
    margin: 40px auto 8px;
    padding: 0 16px;
    font-family: 'Kaisei Decol', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
  }
  
  /* スポットごとのカード（スライダー） */
  #prefPage .slider-card {
    width: 100%;
    margin: 0 auto 28px;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }
  
  #prefPage .sub_slider img {
    border-radius: 12px;
  }
  
  /* slick の矢印を少し内側＆控えめに */
  #prefPage .sub_slider .slick-prev,
  #prefPage .sub_slider .slick-next {
    width: 28px;
    height: 28px;
  }
  #prefPage .sub_slider .slick-prev:before,
  #prefPage .sub_slider .slick-next:before {
    font-size: 18px;
    color: #555;
  }
  
  /* ボトムシートの微調整 */
/* ボトムシートの背景オーバーレイ */
/* ボトムシートの背景オーバーレイ */
#sheet-overlay {
  position: fixed;
  /* ヘッダー分(例: 56px)だけ上を空ける */
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;

  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1900;
}
#sheet-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}


/* ボトムシート本体 */
#bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  /* ★ 高さを 75% にアップ＋隠れる位置も -75% に */
  bottom: -75%;
  height: 75vh;
  background: #ffffff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  padding: 12px 16px;
  overflow-y: auto;
  transition: bottom 0.3s ease;
  z-index: 2000;
}

#bottom-sheet.open {
  bottom: 0;
}

/* 中身の幅 */
#bottom-sheet .sheet-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* 縦写真対応：シート内で収まるように */
#bottom-sheet .sheet-image-wrap {
  max-height: calc(75vh - 120px); /* ヘッダー＋ボタン分を引いた高さ */
}
#bottom-sheet .sheet-image {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

/* 「地図で見る」「リストで見る」などアクション部 */
#bottom-sheet .sheet-actions {
  margin-top: 8px;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

#bottom-sheet .sheet-to-map,
#bottom-sheet .sheet-to-list {
  border-radius: 999px;
  border: 1px solid #26c6da;
  background: #e0f7fa;
  padding: 6px 12px;
  font-size: 0.85rem;
  color: #007c91;
  cursor: pointer;
}

/* スマホ用微調整（必要なら） */
@media (max-width: 768px) {
  #bottom-sheet {
    height: 80vh;
    bottom: -80vh;
  }
  #bottom-sheet.open {
    bottom: 0;
  }
  #bottom-sheet .sheet-image-wrap {
    max-height: calc(80vh - 120px);
  }
}

  
  /* スマホ時に少し余白を広げる */
  @media (max-width: 768px) {
    #prefPage .prefecture {
      margin-top: 12px;
    }
    #prefPage .pref-name {
      font-size: 1.4rem;
    }
    #prefPage #map {
      height: calc(100vh - 200px);
    }
  }
  
/* 県ページのリストビューで右の写真が少し見えてしまう対策 */
#prefPage .slider-card {
  overflow: hidden; /* カードの外にはみ出さないように */
}

#prefPage .sub_slider .slick-list {
  overflow: hidden !important; /* 念のため slick のデフォルトを上書き */
}

/* slick-theme.css 側の margin をリセットして 1枚だけ表示させる */
#prefPage .sub_slider .slick-slide {
  margin: 0 !important;
}

/* 新着フォト用のタグ表示 */
.photo-card-tags {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* 管理画面風のミニタグチップ（フロント用） */
.tag-chip-mini {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.4;
  background: #e3f2fd;
  color: #1565c0;
  white-space: nowrap;
}

/* 小さな丸アイコンっぽいドット */
.tag-chip-mini::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #1565c0;
}

/* 県ページ：観光地一覧（目次） */
#prefPage .spot-toc {
  max-width: 1100px;
  margin: 24px auto 8px;
  padding: 8px 16px 10px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

#prefPage .spot-toc-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 4px;
}

#prefPage .spot-toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#prefPage .spot-toc-item {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f8ff;
  color: #1565c0;
  font-size: 0.8rem;
  text-decoration: none;
  line-height: 1.4;
}

#prefPage .spot-toc-item:hover {
  background: #e1f0ff;
}

/* スマホでは余白と文字サイズを少しだけ大きく */
@media (max-width: 768px) {
  #prefPage .spot-toc {
    margin-top: 16px;
  }
  #prefPage .spot-toc-item {
    font-size: 0.9rem;
    padding: 5px 12px;
  }
}







/* 県ページ：カード型リストビュー */
#prefPage .spot-card-new {
  max-width: 1100px;
  margin: 16px auto;
  padding: 12px 16px 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

#prefPage .spot-card-header {
  margin-bottom: 8px;
}

#prefPage .spot-card-pref {
  font-size: 0.75rem;
  color: #999;
}

#prefPage .spot-card-name {
  font-size: 1.2rem;
  margin: 2px 0 4px;
  color: #333;
}

#prefPage .spot-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

#prefPage .spot-card-body {
  display: flex;
  gap: 8px;
}

#prefPage .spot-card-main {
  flex: 1;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}

#prefPage .spot-card-main img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

#prefPage .spot-card-thumbs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 80px;
}

/* 県ページ：カードフッターのレイアウト */
#prefPage .spot-card-footer {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}

#prefPage .spot-card-comment {
  flex: 1;
  font-size: 0.85rem;
  color: #555;
}

/* ボタンをまとめるコンテナ */
#prefPage .spot-card-actions {
  display: flex;
  flex-shrink: 0;
  gap: 6px;
}

/* 共通ボタンスタイル */
#prefPage .spot-card-detail,
#prefPage .spot-card-map {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid #26c6da;
  background: #e0f7fa;
  color: #007c91;
}

/* 違いを出したければ色を少し変えてもOK */
#prefPage .spot-card-map {
  background: #fff;
}


#prefPage .spot-thumb {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}

#prefPage .spot-thumb img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

#prefPage .spot-card-footer {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

#prefPage .spot-card-comment {
  flex: 1;
  font-size: 0.85rem;
  color: #555;
}

#prefPage .spot-card-detail {
  border-radius: 999px;
  border: 1px solid #26c6da;
  background: #e0f7fa;
  padding: 4px 10px;
  font-size: 0.85rem;
  color: #007c91;
  cursor: pointer;
}

/* スマホ時はサムネを下に回すレイアウトもアリ */
@media (max-width: 768px) {
  #prefPage .spot-card-body {
    flex-direction: row;
  }
}

/* サムネに「+N」バッジを表示 */
#prefPage .spot-thumb {
  position: relative;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

#prefPage .spot-thumb-more {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
}


/* 県ページ下部の「トップへ」ボタン */
#prefPage .pref-footer {
  max-width: 1100px;
  margin: 24px auto 32px;
  padding: 0 16px;
  box-sizing: border-box;
}

#prefPage .pref-footer-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: #26c6da;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  box-sizing: border-box;
}

#prefPage .pref-footer-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}


/* ボトムシート内のコメント表示 */
#bottom-sheet .sheet-slide {
  padding-bottom: 8px;
}

#bottom-sheet .sheet-comment {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  padding: 0 4px;
}





