@charset "UTF-8";
/* リセットCSS - 全要素のボックスモデルを統一 */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Google Map コンテナ - マップの表示エリア */
#map {
  width: 100%;
  height: 800px;
	border-radius: 10px;
}

/* InfoWindow コンテンツ - マーカーをクリックした時に表示される情報ウィンドウ */
.gmap-info-content {
  width: 500px;
  max-width: 90vw;
  position: relative;
}

/* スライダーコンテナ - 写真スライダーの外枠 */
.gmap-slider {
  position: relative;
  text-align: center;
}

/* メイン画像 - スライダーのメイン写真 */
.gmap-slider-mainimg {
  width: 500px;
  height: 300px;
  object-fit: cover;
	border-radius: 8px 8px 0px 0px;
}

/* スライダーボタン - 左右の矢印ボタン */
.gmap-slider-btn {
  position: absolute;
  top: 50%;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 1;
  font-size: 1.2em;
  line-height: 1;
}

/* 左矢印ボタン */
.gmap-slider-btn.left {
  left: 0;
}

/* 右矢印ボタン */
.gmap-slider-btn.right {
  right: 0;
}

/* サムネイルコンテナ - 写真のサムネイル一覧 */
.gmap-thumbs {
  margin: 6px 0 0;
  display: flex;
  gap: 6px;
  justify-content: center;
}

/* サムネイル画像 - 個別のサムネイル */
.gmap-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid #eee;
  box-sizing: border-box;
  transition: border 0.2s;
}

/* gmap-thumb.active: アクティブなサムネイル画像の枠線色 */
.gmap-thumb.active {
  border: 2px solid #1976d2;
}

/*テキストエリア*/
.gmap_txt{
	padding: 0px 18px 18px;
	max-height: 220px;
    overflow-y: auto;
}
/* タイトル - 施設名の表示 */
.gmap-title {
  margin: 8px 0 4px;
  font-weight: bold;
  font-size: 1.7rem;
	color: #956134;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* タイトルリンク - 施設名のリンク */
.gmap-title-link {
  color: #956134;
  text-decoration: underline;
}

/* 外部リンクアイコン - タイトル横の外部リンクアイコン */
.gmap-exticon {
    display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: -0.15em;
    margin-left: 4px;
    background: url(../img/arrow.svg);
    background-size: 100%;
}

/* 住所 - 施設の住所表示 */
.gmap-address {
  font-size: 1.2rem;
  color: #34250E;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 地図ピンアイコン - 住所横の地図ピンアイコン */
.gmap-mappinicon {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: -0.15em;
  margin-right: 4px;
  background: url("../img/Map_Pin.svg");
	background-size: 100%;
}

/* 電話番号 - 施設の電話番号表示 */
.gmap-tel {
  font-size: 1.2rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 電話番号リンク - 電話番号のリンク */
.gmap-tel-link {
  color: #34250E;
  text-decoration: underline;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 電話アイコン - 電話番号横の電話アイコン */
.gmap-telicon {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: -0.15em;
  margin-right: 4px;
  background: url("../img/Phone.svg");
	background-size: 100%;
}

/* 詳細説明 - 施設の詳細情報 */
.gmap-detail {
  margin-top: 8px;
  font-size: 1.2rem;
  max-height: 20em;
	color: #34250E;
}

/* ルート表示 - 「ここに行く」ボタンのコンテナ */
.gmap-route {
  text-align: initial;
  margin: 0;
}

/* Googleマップボタン - 「ここに行く」ボタン */
.gmap-gmapbtn {
  position: absolute;
  right: 20px;
  top: 250px;
  margin: 0;
	padding: 8px 22px 8px 10px;
  background: #FFED61;
  color: #956134;
  border-radius: 20px;
	border: solid 1px #956134;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: background 0.2s;
  z-index: 2;
	font-size: 1.4rem;
	line-height: 20px;
}
.gmap-gmapbtn::after{
	content: "";
	width: 13px;
	height: 13px;
	background: url("../img/map_icon.svg");
	background-size: 100%;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(-7px,-50%);
}
.gmap-gmapbtn:hover {
  opacity: 0.8;
}

/* カスタムポップアップ - 画面上部・中央配置 */
#custom-popup {
  position: absolute;
  top: -1000px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  min-width: 500px;
  max-width: 90vw;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  /*padding: 20px 18px 18px 18px;*/
  transition: top 0.5s;
}

/* #custom-popup.is-open: ポップアップが開いている時の位置調整 */
#custom-popup.is-open {
  top: 52px;
}

#custom-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  opacity: 0.18;
  z-index: 1999;
  display: none;
}

/* #custom-popup-overlay[style*='display:block']: オーバーレイ表示時の強制表示 */
#custom-popup-overlay[style*="display:block"] {
  display: block;
}

/* #custom-popup-overlay[style*='display:none']: オーバーレイ非表示時の強制非表示 */
#custom-popup-overlay[style*="display:none"] {
  display: none;
}

/* ポップアップの閉じるボタン */
.custom-popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.8em;
    cursor: pointer;
    color: #333;
    padding: 0 6px;
    line-height: 1;
    z-index: 1;
    transition: color 0.2s;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
}

/* .custom-popup-close:hover: ポップアップ閉じるボタンのホバー時色変更 */
.custom-popup-close:hover {
  color: #956134;
}/*# sourceMappingURL=map-style.css.map */

@media screen and (max-width: 767px) {
	#map{
		height: 700px;
	}
	.gmap_txt{
		max-height: 300px;
		height: 300px;
	}
	#custom-popup{
		min-width: 300px;
	}
	.gmap-info-content{
		width: 300px;
	}
	.gmap-slider-mainimg{
		width: 300px;
		height: 170px;
	}
	.gmap-gmapbtn{
		right: 10px;
    	top: 120px;
	}
	.gmap-mappinicon{
		width: 24px;
    	height: 21px;
	}
}