/* ===============================
   タイトル画像
=============================== */
/*タイトル背景画像*/
.title-area{
  
  height:20vh;   /*画面の20% */
  min-height:180px; /*小さくなりすぎ防止*/


  background-image:url("../pic2026/access1.png");
  background-size:cover;
  background-position:center;

  display:flex;
  align-items:center;
  padding-left:10%;

  margin-top:80px;
}

/*タイトルの文字*/
.title-area h1{
  color:#008080;
  font-size:clamp(22px, 5vw, 32px);
  font-family: "Noto Serif JP", serif;
}

/* ===============================
   スマホ対応タイトル画像
=============================== */

@media (max-width: 1024px){

  /* タイトル画像縮小 */
  .title-area{
    height:13vh;
    min-height:100px;

    background-image:url("../pic2026/access2.png"); /* スマホ用画像 */
    background-position:center;/* 中央に */

    justify-content:center;
    padding-left:0;           /* 左余白消す */
    text-align:center;        /* 文字中央 */

  }
}
/* ===============================
   メインコンテンツ
=============================== */
/* メインコンテンツ */
.content{
  flex:1;
  padding:40px;
}

/* タイトル */
h2{
  color:#0D716E;
  font-size:clamp(22px, 5vw, 32px);
  margin:20px 0;
  text-align: center;
  font-family: "Noto Serif JP", serif;
}

/* タイトル内タイトル */
h3{
  color:#5C2408;
  font-size: clamp(18px, 4vw, 26px);
  margin-bottom:10px;
  text-align: center;
}

/*アコーディオンタイトルテキスト追加*/
.access-text{
  color:#5C2408;
  font-weight: bold; 
  font-size: clamp(16px, 4vw, 26px);
  font-family: "M PLUS Rounded 1c", sans-serif;
}

/* テキスト */
p{
  color:#5C2408;
  font-size:clamp(14px, 2.5vw, 18px);
  text-align: center;
}

/* 黄色のボックス */
.content-box{
  background: rgba(255, 246, 133, 0.3);/* #FFF685を30%透過 */
  border:4px double #FFF685;/* 二重線 */
  border-radius:12px;
  padding:20px;
  margin:20px auto;
  width:min(90%, 800px);
  
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  .content-box{
  max-width:100%;
  width:100%;
  }
  
}

/*ボタン*/
button {
  color:#5C2408;
  background: none;
  border: none;
  font-size: clamp(16px, 4vw, 26px);
  cursor: pointer;
}

/*ボタンのホバー*/
button:hover {
  color:#69C4D0;  
}

/* =====================
   スライドショー共通
   ===================== */

/* スライダー全体 */
.slider {
  max-width: 100%;
  text-align: center;
}

/* 画像＋ボタンのラップ */
.slide-wrapper {
  position: relative;
  width: 100%;
  }

/* 画像 */
.slide {
  display: block;
  margin: 0 auto 20px;
  border-radius: 10px;
  width: 100%;
  }

/* キャプション */
.caption {
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: break-word;
  }

/* 矢印ボタン共通 */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px;
  cursor: pointer;
}

.ev {
  top: 50%;
  left: 50%;
}

.entrance {
  top: 55%;
  left: 36.8%;
}

.refresh {
  top: 85%;
  left: 50%;
}

.kitchen {
  top: 85%;
  left: 29%;
}

/* =====================
   PC版スライドショー
===================== */
@media (min-width: 769px) {

.slide-wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 60px; /* ボタンのスペース */
  }

/* 画像 */
.slide {
  max-width: 50%;
 }

/* ボタン */
.prev, .next {
  color: #5C2408;
  font-size: 26px;
  padding: 12px;
  }

/* 外側に配置 */
.prev {
  left: 0;
  }

.next {
  right: 0;
  }
}

/* =====================
   スマホ版スライドショー
===================== */
@media (max-width: 768px) {

/* 画像 */
.slide {
  width: 100%;
}

/* ボタン（画像の上） */
.prev, .next {
  top: 50%;
  color: #F07F0F;
  text-shadow:
    0 0 8px rgba(0,0,0,0.8),
    0 0 16px rgba(0,0,0,0.6),
    0 0 24px rgba(0,0,0,0.4);
  }

.prev:hover{
  color:#F07F0F;
  }
  
.next:hover{
  color:#F07F0F;
  }

.prev {
  left: 5px;
  }

.next {
  right: 5px;
  }

}



/*アコーディオン追加*/
.accordion {
  margin: 15px 0;
  background: rgba(255, 246, 133, 0.3);/* 背景は#FFF685を30%透過 */
  border:4px double #FFF685;/* 二重線 */
  border-radius:12px;
  margin:20px auto;
  width:min(90%, 800px);
  overflow: hidden;
  scroll-margin-top: 100px;/*ヘッダーに被らない*/
}

/* アコーディオンのヘッダー追加*/
.accordion-header {
  position: relative;
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 25px;
  font-size: 18px;
  cursor: pointer;
  display:block;
  text-align: center;
}

.accordion-header span:first-child {
  display: inline-block;
}

/*アイコン追加*/
.icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;

}

.accordion-content {
  display: none;
  padding: 0 25px 20px; /* 上の余白を減らすのがポイント */
}

.map-container {
  position: relative;
  width: 100%;
}

.map {
  max-width: 50%;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {

.map{
   max-width:100%;
   width:100%;
}

  .ev {
    top: 50%;
    left: 50%;
  }

  .entrance {
    top: 56%;
    left: 23.5%;
  }

  .refresh {
    top: 83%;
    left: 50%;
  }

  .kitchen {
    top: 83%;
    left: 8%;
  }

}

/* ★ */

.marker {
  position: absolute;
  color: #F07F0F;
  font-size: clamp(20px, 2.5vw, 24px);
  text-decoration: none;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.marker:hover{
  opacity: 0.6;
}

/* モーダル(ポップアップのグレー背景) */
#imgModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  
  z-index:9999;
}

/* 画像と×の親 */
#imgModalContent {
  position: relative;
}

#imgModal img {
  max-width: 80%;
  max-height:80%;
  display: block;
  border-radius: 10px;
}

/* ×ボタン */
#closeBtn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}


/* ===============================
   スクロール調整
=============================== */
html{
  scroll-behavior:smooth;
}

h2,h3,.content-box{
  scroll-margin-top:100px;
}

