	h1.taiotol-king{
		font-size:27px;
		text-align: center;
		color: #514f4f;
		letter-spacing: 1px;
		margin:120px 0 30px 0;
		line-height: 1.2;
	}
	.taiotol-king span{
		font-size:22px;
		text-align: center;
		color: #514f4f;
		letter-spacing: 3px;
	}
  #suraida { overflow: visible; }

  /* Main */
  #main-splide { width: 100%; }
  #main-splide .splide__track { overflow: visible; } /* チラ見せ用 */

#main-splide .splide__slide img{
  width: 100%;
  height: 100%;
  object-fit: contain;    /* ← ここを contain に */
  object-position: center;
  display: block;
}

  /* Thumbs */
  #thumb-splide { margin-top: 14px; }
  #thumb-splide .splide__track { overflow: hidden; }
  #thumb-splide .splide__list { align-items: center; }
  #thumb-splide .splide__slide{
    height: 80px; cursor: pointer; opacity: .5;
  }
  #thumb-splide .splide__slide.is-active{ opacity: 1; }
  #thumb-splide .splide__slide img{
    width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px;
  }
.splide__arrow--prev {
    left: 18% !important;
}
.splide__arrow--next {
    right: 18% !important;
}
.splide__arrow {
    background: transparent !important;
}
.splide__arrow svg {
    height: 3.2em !important;
    width: 3.2em !important;
}

  /* 覗き幅は padding で安全に演出 */
  @media (min-width: 768px){
    #main-splide.splide { padding: 0 10vw; } /* 左右に余白 → 次/前が見える */
  }
  @media (max-width: 767px){
    #main-splide.splide { padding: 0; }
    #thumb-splide .splide__slide{ height: 64px; }
  }

	h2.infotaitorudayon{
	background: #dcdcc7;
	text-align: center;
	font-size:26px;
	color: #bb2228;
	padding:20px;
	margin:110px 0 50px 0;
	}
	
	.manaka-mono{
	text-align: center;
	max-width: 980px;
	margin:0 auto;
	}
	
	#sonohoka{
	background: #f5f5ef;
	padding:80px 0;
	margin:0px auto;
	}
	#infome{
		margin:0px auto 120px auto;
	}

	
.tabs{ position: static; }
.tablist{
  position: static; /* ← 重要 */
  display:flex; gap:10px; align-items:center; justify-content:center;
  background:#fff; border-bottom:1px solid #e6e6e6;
  overflow-x:auto; overflow-y:hidden; white-space:nowrap;
  -webkit-overflow-scrolling:touch; scrollbar-width:none;
}
.tablist::-webkit-scrollbar{ display:none; }

/* スクロールでONにする固定クラス */
.tablist.is-fixed{
  position: fixed; left:0; right:0; top:0px; z-index:1000;
  background:#fff; border-bottom:1px solid #e6e6e6;
}
body.admin-bar .tablist.is-fixed{ top:32px; }
@media (max-width:782px){
  body.admin-bar .tablist.is-fixed{ top:46px; }
}
/* レイアウト保持用のダミー */
.tabs-placeholder{ height:0; }
.tabs-placeholder.active{ height: var(--tablist-h, 48px); }
	.tab {
	  -webkit-tap-highlight-color: transparent;
	  appearance: none;
	  background: #fff;
	  padding: 10px 14px;
	  font-size: 14px;
	  line-height: 1;
	  color: var(--text);
	  display: inline-flex;
	  align-items: center;
	  justify-content: center;
	  flex: 1;  
	  gap: 8px;
	  cursor: pointer;
	  white-space: nowrap;
	  transition: background .15s, border-color .15s, box-shadow .15s;
	  border-radius: 8px 8px 0 0;
	  border: 1px solid #ccc;
	  border-bottom: none;
	  position: relative;
	  top: 2px;
		max-width: 195px;
	    -ms-overflow-style: none;
	}

	.tab:hover {
	  border-color: #d8d8d2;
	}

	.tab[aria-selected="true"] {
	  background: var(--accent-weak);
	  border-color: var(--accent);
	  border-bottom: 1px solid #fff;
	  box-shadow: 0 0 0 2px color-mix(in oklab, var(--accent) 25%, transparent);
	  padding-bottom: 16px;
	  margin-bottom: -4px;
	  top: 0;
	  z-index: 2;
	}

    .tab:focus-visible{
      outline:3px solid color-mix(in oklab, var(--accent) 40%, transparent);
      outline-offset:2px;
    }
    .tab .icon2,.tab .icon3,.tab .icon4,.tab .icon5{
      width:16px;
	  height:16px;
	  display:
	  inline-block;
	  flex:none;
	  position: relative;
    }
    .tab .icon2:before,.tab .icon3:before,.tab .icon4:before,.tab .icon6:before{
		position: relative;
       content: '';
		display: inline-block;
		  width: 20px;
		  height: 20px;
		top:-2px;
		left:-35px;
		  background-size: contain;
		  vertical-align: middle;
		background-repeat: no-repeat;
    }
    .tab .icon5:before,.tab .icon4:before{
		position: relative;
       content: '';
		display: inline-block;
		  width: 20px;
		  height: 20px;
		top:-2px;
		left:-5px;
		  background-size: contain;
		  vertical-align: middle;
		background-repeat: no-repeat;
    }
	.tab .icon2:before{
background-image: url(https://iwakura-g-h.co.jp/wp-content/themes/iwakura/assets/img/kodate_list/dd1.svg);
    }
	.tab .icon3:before{
background-image: url(https://iwakura-g-h.co.jp/wp-content/themes/iwakura/assets/img/kodate_list/dd2.svg);
    }
	.tab .icon4:before{
background-image: url(https://iwakura-g-h.co.jp/wp-content/themes/iwakura/assets/img/kodate_list/dd3.svg);
    }
	.tab .icon5:before{
background-image: url(https://iwakura-g-h.co.jp/wp-content/themes/iwakura/assets/img/kodate_list/dd4.svg);
    }
	.tab .icon6:before{
background-image: url(https://iwakura-g-h.co.jp/wp-content/themes/iwakura/assets/img/kodate_list/dd5.svg);
    }

#panel-madori .plan-swiper-container .swiper-slide .pic,
#panel-madori .btn-modal-sw{
  position: relative; /* 疑似要素の基準 */
  display: block;
}

#panel-madori .plan-swiper-container .swiper-slide .pic::after,
#panel-madori .btn-modal-sw::after{
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 42px;
  height: 42px;
  background: url("https://iwakura-g-h.co.jp/wp-content/uploads/2025/11/ｊｊ.webp")
              no-repeat center / contain;
  pointer-events: none;           /* クリックを邪魔しない */
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.25));
  opacity: .95;
  transition: transform .15s ease;
}

/* ホバー時の軽い反応（PCだけ） */
@media (hover:hover){
  #panel-madori .plan-swiper-container .swiper-slide .pic:hover::after,
  #panel-madori .btn-modal-sw:hover::after{
    transform: scale(1.05);
  }
}

/* モバイルは少し小さめ */
@media (max-width:768px){
  #panel-madori .plan-swiper-container .swiper-slide .pic::after,
  #panel-madori .btn-modal-sw::after{
    width: 34px;
    height: 34px;
    right: 6px;
    bottom: 6px;
  }
}

/* パネル */
    .panels{
      background:var(--panel-bg);
      border:1px solid var(--border);
      border-radius:var(--radius);
      padding:22px;
      margin-top:16px;
      box-shadow:0 2px 10px rgba(0,0,0,.03);
    }
    .tabpanel[hidden]{display:none}
    .section-title{
      text-align:center; letter-spacing:.2em;
      margin:2px auto 18px; color:var(--muted);
      position:relative;
	  border-bottom: dotted 3px #c69665;
		max-width: 250px;
		color: #c69665;
		font-size:24px;
    }
    .section-title::after{
      content:""; display:block; width:120px; height:2px;
      background: var(--accent);
      margin:10px auto 0; opacity:.35;
    }

/* デモ用の画像風カード */
    .mock{
      display:grid; place-items:center;
      min-height:360px; background:#f5f5ef; border-radius:10px;
      color:#888; font-size:14px;
    }
	
	.teburunubu{
	text-align: center;
	font-size:12px;
	}
	.teburunubu th{
	background: #c69665;
	border: solid 1px #fff;
	color: #fff;
	}
	.teburunubu td{
	border-bottom: solid 1px #c69665;
	border-right: solid 1px #c69665;
	padding: 8px 0;
	}
	.teburunubu td:last-child{
	border-right: solid 0px #fff;
	}
	.teburunubu a{
	background: #d37127;
	color: #fff !important;
	padding:3px 5px;
	border-radius: 15px;
	}
	.yoko1{
	min-width: 100px;	
	}
	.yoko2{
	min-width: 250px;
	}
	.yoko3{
	min-width: 50px;	
	}
	.nakatyonpe{
	display: flex;
	justify-content: center;
	align-items: center;	
	}
    @media (max-width:768px){
      .container{padding:18px}
      .panels{padding:16px}
      .tab{font-size:12px}
    }
.single-swiper_plan {
  max-width: 780px;
  margin: auto;
}
	
/* 画像＋キャプションの普通の2列グリッド */
.setubi-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:32px 28px;
  margin:24px 0 40px;
}

.setubi-item{
  margin:0;
  overflow:hidden;
}

.setubi-thumb{
  aspect-ratio: 4 / 3;
  overflow:hidden;
}
.setubi-thumb img{
  width:100%; height:100%;
  display:block;
  object-fit:cover;
}

.setubi-cap{
  padding:12px 14px;
  font-size:14px;
  line-height:1.7;
  color:#333;
}
	.img img{
	width:100%;	
	}	

.setubi-cap p{margin:0 0 .6em}
.setubi-cap p:last-child{margin-bottom:0}


#panel-madori .plan-swiper-pagination{
  display: flex !important;
  justify-content: center;
  position: relative;  /* z-index を効かせるため */
  z-index: 70;         /* .swiper-btn-wrap が 60 ならこれで上に来る */
  margin-top: 40px;
}

/* 念のため “1枚しかない時に隠す”Swperのロックも無効化しておく */
#panel-madori .plan-swiper-pagination.swiper-pagination-lock{
  display: none !important; /* 1枚のときは消す（複数ならこのclassは付かない） */
}

/* 四角い“■”風の見た目（すでに入れているなら不要） */
#panel-madori .plan-swiper-pagination .swiper-pagination-bullet{
  width: 14px; height: 6px; border-radius: 2px;
  background: #c9c9c9; opacity: 1; margin: 0 4px !important;
}
#panel-madori .plan-swiper-pagination .swiper-pagination-bullet-active{
  background: #c69665;
}

@media (max-width:768px){
  #panel-madori .plan-swiper-pagination .swiper-pagination-bullet{
    width: 12px;
    height: 5px;
    margin: 0 3px !important;
  }
}


/* レスポンシブ：狭い画面は1列、広いなら3列にしてもOK */
@media (max-width: 768px){
  .setubi-grid{ grid-template-columns:1fr; gap:20px; }
}
@media (min-width: 1200px){
  /* 3列にしたい場合は有効化 */
  /* .setubi-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); } */
}

	.contei{
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
		margin:0px auto 50px auto;
	}
	.moji-yokoni2 {
		text-align: center !important;
		margin:50px auto 0 auto;
	}

.btn-gmap {
    margin: auto;
    background: #958c5d;
    max-width: 370px;
    height: 53px;
    border-radius: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
	margin:15px auto;
}
	.btn-gmap:hover {
    background: #ccc;
}
.content_location9 {
    display: grid;
    grid-template-columns: 1fr 1fr;
	gap: 30px;
    }
.content_location9> ul li dt {
    background: #958c5d;
	color: #fff;
}
.content_location9 > ul li dd ul li {
    padding-left: 12px;
    position: relative;
    letter-spacing: 0;
    line-height: 1.3;
    margin: 13px 0;
	text-align: left;
	font-size:13px;
}
.content_location9 > ul li dd ul{
    margin: 13px 0 45px 0;
}
.content_location9 > ul li dd ul li::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 0;
}
.spstabul {
    width: 100%;
}
.spstabul th{
   background: #7eaab0;
	color: #fff;
	font-size:12px;
	padding:5px 15px;
	border-bottom: solid 1px #fff;
	width:25%;
}	
.spstabul td {
  background: #fff;
  font-size: 12px;
  padding: 5px 15px;
  border-bottom: solid 1px #7eaab0;
  text-align: left;
}

.spstabul tr:nth-child(2n) td {
  background: #e7eff0;
}
	
p.korokorookoro{
	margin:50px 0 0 0;
	text-align: left;
	color: #7eaab0;
	font-size:18px;
	font-weight: 700;
	}
	.ao-momoji{
		color: #7eaab0 !important;
		border-bottom: dotted 3px #7eaab0 !important;
	}
	.chyairo-momoji{
		color: #958c5d !important;
		border-bottom: dotted 3px #958c5d !important;
	}
	.murasaki-momoji{
		color: #926d93 !important;
		border-bottom: dotted 3px #926d93 !important;
	}
	.ao-momoji{
		color: #6987ab !important;
		border-bottom: dotted 3px #6987ab !important;
	}
	

@media screen and (max-width: 768px) {	
h1.taiotol-king {
    font-size: 20px;
}
.taiotol-king span {
    font-size: 16px;
}
h2.infotaitorudayon {
    font-size: 18px;
	margin: 30px 0 50px 0;
}
.manaka-mono {
    margin: 0 15px;
}

.tablist {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    overflow-x: auto;      /* 横スクロール */
    overflow-y: hidden;    /* 縦スクロール隠す */
    white-space: nowrap;   /* 折り返し禁止 */
    scrollbar-width: thin; /* Firefox用 */
    -ms-overflow-style: auto; /* IE用 */
}
.tablist > * {
    flex: 0 0 auto; /* 子要素を縮ませない */
}
  .tablist{ justify-content:flex-start; gap:5px; }
  .tab{ min-width:170px; }
  .tablist{ position: static; } /* 念押しでstickyを殺す */
  .tablist::after{
    content:''; position:absolute; right:0; top:50%; transform:translateY(-50%);
    width:28px; height:100%; background:linear-gradient(to right, transparent, #fff);
    pointer-events:none;
  }
	
	
 .tab {
      min-width: 170px;
    }
.teburunubu th {
  min-width: 150px;
}
.contei {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 0px auto 50px auto;
}
.spstabul th {
    width: 30%;
}
.tab[aria-selected="true"] {
    margin-bottom: -9px;
}
.splide__arrow--prev {
    left: 0% !important;
}
.splide__arrow--next {
    right: 0% !important;
}
.tablist-wrapper {
  position: relative;
}

.tablist {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tablist::-webkit-scrollbar { display: none; }

.fake-scrollbar {
  height: 6px;
  background: #eee;
  border-radius: 3px;
  margin-top: 4px;
  position: relative;
}
.fake-scrollbar .thumb {
  height: 100%;
  width: 40px;
  background: #999;
  border-radius: 3px;
  position: absolute;
  left: 0;
  top: 0;
  transition: left 0.1s linear;
}

	
/* 横スクロールの親 */
.plan-swiper-container {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

/* 横並び & 1画面1枚 */
.plan-swiper-container .swiper-wrapper {
  display: flex;
  gap: 0;
}
.plan-swiper-container .swiper-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
}
.plan-swiper-container .swiper-slide .pic {
  display: block;
  width: 100%;
  height: auto;
}
.tablist.is-fixed{
  position: fixed; left:0; right:0; top:55px; z-index:1000;
}

/* 矢印を前面に（ラッパーは透過、ボタンだけ受ける） */
.single-swiper.single-swiper_plan { position: relative; }
.swiper-btn-wrap {
  position: absolute; inset: 0;
  z-index: 60;
  pointer-events: none;
}
.swiper-btn-wrap .swiper-btn {
  pointer-events: auto;
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; cursor: pointer;
}
.swiper-btn2_prev { left: 8px; }
.swiper-btn2_next { right: 8px; }

/* モーダルが非表示のときはクリックを下に通す */
.modal-contents { pointer-events: none; }
.modal-contents.active { pointer-events: auto; }
}

/* タブの直上ラッパーが fixed/sticky を壊すのを防止 */
.tablist-wrapper{
  position: static !important;     /* 相対配置を解除（必要なら残してOK） */
  overflow: visible !important;    /* クリップ無効化 */
  transform: none !important;      /* 含む 3D/translateZ も無効化 */
  filter: none !important;
  perspective: none !important;
  contain: none !important;
  will-change: auto !important;
}