body {
  margin: 0;

}
@media screen and (max-width: 769px) {
	/* 本文の既定を細めに統一 */
body { 
  font-weight: 300 !important;  }
	p{line-height: 1.8;}

}
.header {
  position: fixed;
  width: 100%;
  background: #fff;
  z-index: 1000;
  transition: top 0.3s;
}
.header.UpMove {
  top: -70px;
}
.header.DownMove {
  top: 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
.menu-btn {
  position: relative;
  width: 30px;
  height: 22px;
  border: none;
  background: none;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 9px; }
.menu-btn span:nth-child(3) { top: 18px; }
.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg); top: 9px;
}
.menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg); top: 9px;
}
body.noscroll {
  overflow: hidden;
  height: 100%;
  position: fixed;
  width: 100%;
}
.slide-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100%;
  background: white;
  transition: right 0.3s ease;
  z-index: 999;
  padding: 60px 20px;
}
.slide-menu {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.slide-menu.open {
  right: 0;
}
.slide-nav_lower {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  display: block;
}
#include-header{
background-color: #F6F1EE;
}
/*****タブメニュー*****/

.area-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 3;
}
.area-list li a {
  display: block;
  padding: 4px 0;
  text-decoration: none;
  color: #0073e6;
}
@media screen and (max-width: 769px) {
  .area-list{
    /* 既存のマルチカラムを確実に無効化 */
    columns: auto !important;
    column-count: 1 !important;
    column-width: auto !important;
    column-gap: 0 !important;

    /* Gridで2列・等幅 */
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px; /* 行間 / 列間 */
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .area-list > li { margin: 0; }
  .area-list > li a{
    display: block;
    text-decoration: none;
    line-height: 1.4;
    /* 1行で揃えたい場合は↓をONに */
    /* white-space: nowrap; overflow: hidden; text-overflow: ellipsis; */
  }
}

.tab_wrap{
	max-width: 1300px;
	margin: 0px auto 0;
}


@media screen and (max-width: 767px){
.tab_wrap{
	margin: 0px auto 0;
	}
}

.tab_title{
		margin:0 3% 10px;
	display:inline-block;
	max-width: calc(100% - 6%);
	width:100%;
	padding-bottom:3px;
	border-bottom:1px solid #E6D7CD;
}
.tab_set {
    display: flex;
    flex-wrap: wrap;
	margin:0 3%;
}

/* タブの名前のところだよ */
.tab_label {
color: #000;
    background: #EEE6E0;
    padding: 15px 20px;
    margin-right: 10px;
    order: -1;
    position: relative;
    line-height: 1;
    cursor: pointer;
    width: auto;
}

.tab_label:hover{background: #BD967C;color:#fff;}


/* 本文をいれるところだよ */
.tab_content {
    width: 100%;
    display: none;
    /*padding: 20px;*/
    border: 1px solid #BD967C;
    background: #fff;
}

/* タブをクリックした時のCSSだよ */
.tab_switch:checked+.tab_label {
    background: #BD967C;
color:#fff;
}

.tab_switch:checked+.tab_label+.tab_content {
    display: block;
}

/* ラジオボタンだよ */
.tab_switch {
    display: none;
}

/*ウィンドウサイズが769px以下になった時のCSSだよ*/
@media print,screen and (max-width:768px) {
    .tab_set {
        display: block;
    }

    .tab_label {
        display: block;
        margin-right: 0;
    }

    .travelclinic .tab_label.last {
        border-bottom: none;
    }

    .travelclinic .tab_switch:checked+.tab_label {
        border-bottom: 1px solid #59A8B7;
    }
}

/* PC用タブ切り替え */
@media screen and (min-width: 768px) {
  .tab_content {
    display: none;
    padding: 20px;
    border: 1px solid #BD967C;
    background: #fff;
  }

  .tab_switch:checked + .tab_label + .tab_content {
    display: block;
  }
}

/* スマホアコーディオン */
@media screen and (max-width: 767px) {
  .tab_content {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    box-sizing: border-box;
    will-change: max-height;
  }

  .tab_content .tab_inner {
    padding: 20px;              /* ← 常時余白を確保する */
    border: 1px solid transparent;
    background: #fff;
    box-sizing: border-box;
  }

  .tab_label.active {
    background: #BD967C;
    color: #fff;
  }

  .tab_label.active + .tab_content .tab_inner {
    /* border-color: #BD967C; */
  }

  .tab_switch:checked + .tab_label + .tab_content {
    display: none !important;
  }
}
/* スマホだけ */
@media screen and (max-width: 767px) {
  /* 見出しラベルに右側のアイコン用スペースを確保 */
  .tab_label {
    position: relative;
    padding-right: 2.2em; /* 右端に余白を足す（お好みで調整） */
  }

  /* ＋（閉）をデフォルト表示 */
  .tab_label::after {
    content: "＋";
    position: absolute;
    right: 0.8em;  /* 右端からの位置（お好みで） */
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    line-height: 1;
    font-size: 1.2em; /* お好みで */
  }

  /* 開いている時は － に変える（現在運用の .active を利用） */
  .tab_label.active::after {
    content: "－";
  }

  /* もし .active を使わず aria-expanded を使っている場合のフォールバック */
  .tab_label[aria-expanded="true"]::after {
    content: "－";
  }
}



/* ========= 親アコーディオン（スマホだけ） ========= */
@media screen and (max-width: 767px) {
  /* 既存：.area_toggle / .tab_master_label のスタイルはそのまま利用 */

  /* ▼ 変更：たたむ対象を .area_group に限定 */
  .area_group {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    will-change: max-height;
    margin-top: 0px; /* お好みで */
  }

  /* チェック時のみ展開 */
  .area_toggle:checked ~ .area_group {
    max-height: 5000px; /* 中身が収まる十分な値 */
  }
}

/* ========= PCは常に展開・影響なし ========= */
@media screen and (min-width: 768px) {
  .area_group {
    max-height: none;
    overflow: visible;
    margin-top: 0px;
  }
}
/* 親アコーディオン：スマホだけバーUI化 */
@media screen and (max-width: 767px) {
  /* タイトルを“押せるバー”に */
  .tab_master_label{
    width: auto;
    margin: 0 3%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: 14px 10px;
    background: #f6f4f2;
    border: 1px solid rgba(189,150,124,.35); /* #BD967C の薄い枠 */
    /* border-radius: 10px; */
    cursor: pointer;
    user-select: none;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  /* 右端の＋/−バッジ（丸） */
  .tab_master_label::after{
    content: "＋";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid #BD967C;
    border-radius: 9999px;
    background: #fff;
    color: #BD967C;
    font-weight: 700;
    line-height: 1;
    font-size: 1rem;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  }

  /* ホバー/押下の視覚フィードバック */
  .tab_master_label:hover{
    /* background: #efe6df; */
    /* border-color: #BD967C; */
  }
  .tab_master_label:active{
    transform: translateY(1px);
  }

  /* キーボード操作のフォーカスリング */
  .tab_master_label:focus-visible{
    outline: 2px solid #BD967C;
    outline-offset: 3px;
  }

  /* 開いた時の見た目（バーとバッジ） */
  .area_toggle:checked + .tab_master_label{
    /* background: #eee3dc; */
    /* border-color: #BD967C; */
  }
  .area_toggle:checked + .tab_master_label::after{
    content: "－";
    background: #BD967C;
    color: #fff;
    border-color: #BD967C;
  }
}

/* PC はそのまま（既存の見出し風） */
@media screen and (min-width: 768px){
  .tab_master_label{
    /* 既存PCスタイルのままでOK。必要なら軽く調整 */
    margin: 0 3% 10px;
    display: inline-block;
    max-width: calc(100% - 6%);
    width: 100%;
    padding-bottom: 3px;
    border-bottom: 1px solid #E6D7CD;
  }
}

/* スマホのみ（slickが有効な幅） */
@media (max-width: 768px){
  /* スライドの可視領域に左右パディング＝白い余白を作る */

  /* 矢印を内側へ（デフォは -25px で外側に出る） */
  .jichitai-photo .slick-prev{ left: 8px;  }
  .jichitai-photo .slick-next{ right: 8px; }
  .jichitai-photo .slick-arrow{ z-index: 2; }
}

/* 念のため、画像のはみ出し防止 */
.jichitai-photo img{ display:block; width:100%; height:auto; }