.yosakoinet-common {
  overflow-x: hidden;
}
.yosakoinet-common .related-pages{
  display: none;
}

.yosakoinet-common .block-spot-detail .original-contents {
  margin-top: 0;
}

.yosakoinet-common .main-block.block-spot-detail {
  /* background-color: #FBF2DF; */
  margin: 0;
  padding: 0;
  border-radius: 0;
}

.yosakoinet-common .main-block .block-title {
  display: none;
}

.yosakoinet-common main {
  max-width: 100%;
  padding: 20px 0 100px;
}

.yosakoinet-common .main-block.block-spot-detail {
  margin-top: 20px;
}



/** slick 設定 **/
.slick-dots {
  bottom: 35px !important;
}

.slick-dots li button:before {
  font-size: 12px !important;
  color: #fff !important;
}

.slick-dots li.slick-active button:before {
  color: #fff !important;
  opacity: 1 !important;
}

.slick-dotted.slick-slider {
  margin-bottom: 0 !important;
}

.s-service-modal .slick-dots {
  bottom: 0px !important;
}

.s-service-modal .slick-dots li.slick-active button:before,
.s-service-modal .slick-dots li button:before {
  color: #000 !important;
}




.tabihiro {
  position: relative;
}

.tabihiro__kv {
  position: relative;
  overflow: hidden;
  max-height: 800px;
}

.tabihiro .tabihiro__kv ul {
  max-height: 800px;
}

.tabihiro ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tabihiro ul img {
  width: 100%;
  height: 100%;
  vertical-align: top;
  object-fit: cover;
}

.tabihiro__kv .tabihiro__kv-deco {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 50%;
  max-width: 550px;
  height: fit-content;
}

.tabihiro .slider_tabihiro-modal .image{

  position: relative;
}
.tabihiro .tabihiro__kv .slider_tabihiro .image {
  position: relative;
  height: 800px;

}

.tabihiro .slider_tabihiro-modal .image>p,
.tabihiro .tabihiro__kv .slider_tabihiro .image>p {
  position: absolute;
  bottom: 0;
  margin: 0;
  background-color: rgba(0, 0, 0, .5);
  border-top-right-radius: 10px;
  padding: 5px 15px;
  color: #fff;
}

.tabihiro .slider_tabihiro-modal {
  border-radius: 10px;
  overflow: hidden;
}



.tabihiro .news__wrapper {
  background-color: #FBF2DF;
  padding: 40px 0;
}

.tabihiro .news {
  display: grid;
  grid-template-columns: 300px 1fr;
  width: 90%;
  background-color: #fff;
  margin: 0 auto 0;
  border-radius: 20px;
  overflow: hidden;
  padding: 25px 30px 25px 0;
  max-width: 1200px;
}

.tabihiro .news .news__title p {
  font-weight: bold;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.tabihiro .news p {
  margin: 0;
}

.tabihiro .news .news__date {
  color: #E8384A;
  margin-right: 15px;
}

.yosakoinet-common .block-spot-detail .original-contents .tabihiro .news a {
  /* text-decoration: none; */
  color: #000;
}

.tabihiro .news .news__list {
  max-height: 225px;
  overflow: auto;
}

.tabihiro .news .news__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  border-bottom: 1px solid #D7D7D7;
  padding: 20px 0;
}

.tabihiro .news .news__item>*:first-child {
  color: #E8384A;
}


.tabihiro .section {
  /* background-color: #fff; */
}

.tabihiro .section .section__inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.tabihiro .section__inner>div {
  margin-top: 60px;
}

.tabihiro .section__title {
  font-weight: bold;
  font-size: 24px;
  border-top: dashed 2px #ACACAC;
  border-bottom: dashed 2px #ACACAC;
}

.tabihiro .section__title p {
  margin: 13px 0;
}

.tabihiro .section__desc p {
  line-height: calc(30 / 16);
}

/** 旅広場とは？ **/
.tabihiro .section__btn-link {
  min-width: 350px;
  width: 30%;
  max-width: 500px;
  /* width: 30%;
  max-width: 350px; */
  margin: 30px auto 0;
}

.tabihiro .section__btn-link--ryoma {
  max-width: 550px;
  width: 50%;
}

/** 観光案内所 **/
.tabihiro .section__mv {
  width: 90%;
  max-width: 1000px;
  /* height: 650px; */
  height: fit-content;
  margin: 30px auto 0;
  border-radius: 10px;
  overflow: hidden;
}
.tabihiro .section__mv.section__mv--yosakoi{
  height: auto;
}
.tabihiro .ryoma .section__mv img{
    width: 100%;
    height: 100%;
    vertical-align: top;
    object-fit: cover;
}

.slick-dotted.slick-slider{
  height: 100%;
}

/** 主なサービス **/
.tabihiro .selection__item.sitem {
  margin-top: 40px;

}

.tabihiro .selection__title {
  font-weight: bold;
  font-size: 24px;
}


.tabihiro .s-service {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tabihiro .s-service .s-s-item {
  border: 1px solid #ACACAC;
  border-radius: 10px;
  /* padding: 20px 0; */
  overflow: hidden;
  cursor: pointer;
}

.tabihiro .s-service .s-s-item .s-s-item-image {
  height: 80px;
  background-color: #FBF2DF;
  padding: 20px 0;

}

.tabihiro .s-service .s-s-item .s-s-item-image img {
  height: 100%;
  width: auto;
  margin: auto;
  display: block;
  /* vertical-align: top; */
}

.tabihiro .s-service .s-s-item .s-s-item-txt {
  /* width: fit-content; */
  margin: 15px 0;
  /* padding: 0 25px 0 10px; */
  /* position: relative; */
}

.tabihiro .s-service .s-s-item .s-s-item-txt p {
  font-weight: bold;
  margin: 0;
  text-align: center;
  position: relative;
}


.tabihiro .s-service .s-s-item .s-s-item-txt p::after {
  content: "";
  /* display: inline-block; */
  width: 8px;
  height: 8px;
  border-top: 3px solid #E8384A;
  border-right: 3px solid #E8384A;
  margin: auto 0 auto 15px;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 16px;

}

/** modal **/
.tabihiro .s-service .s-m-item {
  display: none;
}

/* モーダル背景 */
/* .s-service-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
} */

/* モーダル背景が開いた状態 */
/* .s-service-modal.is-open {
  display: flex;
} */

body.active {
  overflow: hidden;
}

.floor__mask,
.s-service-modal__mask {
  background: rgba(0, 0, 0, 0.5);
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  display: none;
  z-index: 10000;
}
.floor__mask.is-active,
.s-service-modal__mask.is-active {
  display: block;
}

/* 初期状態：非表示だが幅は保持する */
.floor__item,
.s-m-item {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 85%;
  max-width: 1000px;
  max-height: 70vh;
  background: #fff;
  padding: 50px 60px;
  border-radius: 8px;
  /* overflow: auto; */
  right: 0;
  margin: auto;
  height: fit-content;
  z-index: 10000;
}

/* 表示状態 */
.floor__item.is-active,
.s-m-item.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  /* position: relative; */
}

.floor__item .close,
.s-m-item .close {
  position: absolute;
  top: -30px;
  right: -20px;
  width: 60px;
}

.floor__item .floor__inner,
.s-m-item .s-m-item__inner {
  max-height: 70vh;
  overflow: auto;
}

.s-m-item .s-m-item__block {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
}

.s-m-item .s-m-item__block.s-m-item__block--one {
  grid-template-columns: 1fr;

}

.s-m-item .s-m-item__image {
  /* width: 420px; */
  width: 100%;
  height: fit-content;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  padding-bottom: 10px;
}
.s-m-item .s-m-item__image  img{
    border-radius: 10px;
}


.place{margin-top: 50px;}

.s-m-item .s-m-item__info.info {}



.info.info--baseinfo {
  width: 85%;
  margin: 40px auto 0;
}

.info p {
  font-weight: 500;
}

.info .info__title p {
  font-weight: bold;
  font-size: 20px;
  display: flex;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: dashed 2px #ACACAC;
  gap:10px;
}

.info .info__title p::before {
  content: "";
  width: 30px;
  background-image: url(/images/page-image/tabihiroba/icon_tour.png);
  background-size: contain;
  height: 30px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
}

.info .info__title.info__title--tenimotsu p::before {
  background-image: url(/images/page-image/tabihiroba/icon_tenimotu.png);
}

.info .info__title.info__title--renta p::before {
  background-image: url(/images/page-image/tabihiroba/icon_cycle.png);
}

.info .info__title.info__title--ticket p::before {
  background-image: url(/images/page-image/tabihiroba/icon_ticket.png);
}

.info .info__subtitle {
  margin-top: 15px;
}

.info .info__subtitle p {
  margin: 0;
}

.info .info__subtitle p:first-child {
  font-weight: bold;
  font-size: 18px;
}

.info .info__list {
  margin-top: 10px;
}

.info__list>li:not(:first-child) {
  margin-top: 5px;
}

.info__list>li.li-margin-tb {
  margin: 10px 0;
}


.info .info__desc p {
  font-weight: 500;
  line-height: calc(30 / 16);
}

.info .info__detail {
  margin-top: 25px;
}

.info .info__detail .info__detail-link{
  color: #F5A200 !important;
}

.info .info__detail-image {
  width: 440px;
  margin-top: 30px;
}

.info .info__detail-image img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

.info .info__detail p {
  margin: 0;
}

.info .info__detail>div {
  display: grid;
  grid-template-columns: 100px 1fr;
  border-bottom: 1px solid #ACACAC;
}

.info .info__detail.info__detail--l>div {
  grid-template-columns: 160px 1fr;
}
.rest .info .info__detail.info__detail--l>div{
  grid-template-columns: 210px 1fr;

}

.info .info__detail>div:first-child {
  border-top: 1px solid #ACACAC;
}

.info .info__detail.info__detail--dot>div {
  border-bottom: 1px dotted #7F7C7C;
}


.info .info__detail.info__detail--dot>div:first-child {
  border-top: 1px dotted #7F7C7C;
}
.info .info__detail.info__detail--dot>div p:last-child
{
  font-weight: 500;
  line-height: 26px;
}
.info .info__detail.info__detail--dot>div p a{
    color: #F5A200 !important;
}

.info .info__detail>div>* {
  padding: 25px 20px;
}
.s-m-item .info .info__detail>div>* {
  padding: 10px 20px;
}


.info .info__detail.info__detail--modal>div>* {
  padding: 10px 20px;
}

.info .info__detail>div>*:first-child {
  background-color: #FBF2DF;
  font-weight: bold;
  padding: 20px 15px;
  /* text-align: center; */
}

.info .info__detail.info__detail--modal>div>*:first-child {
  padding: 10px 15px;
}

.info__detail--attention {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
}

.price-block {
  display: flex;
  border: 1px solid #E8384A;
  border-radius: 5px;
  width: fit-content;
  margin-top: 20px;
}

.price-block p {
  padding: 5px 14px;
  margin: 0;
}

.price-block p:first-child {
  background-color: #E8384A;
  color: #fff;
}

.link-pdf {
  margin-top: 15px;
}

.link-pdf p {
  margin: 0;
  line-height: 1;
  font-weight: normal;
}

.link-pdf>div {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.yosakoinet-common .original-contents a[href$=".pdf"]:after {
  background-size: contain;
  width: 20px;
  height: 18px;
}


/* .link-pdf > div > p:nth-of-type(2)::before{
  content: "";
  background-image: url("/images/page-image/tabihiroba/icon_pdf.png");
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-size: cover;
  display: inline-block;
} */




/** こうち旅広場の基本情報 **/
.tabihiro .baseinfo__wrapper {
  background-color: #FBF2DF;
  margin-top: 70px;
  padding: 50px 0;
}

.tabihiro .baseinfo {
  background-color: #fff;
  border-radius: 20px;
  max-width: 1080px;
  width: 80%;
  margin: 0 auto;
  padding: 50px 0;
}

.tabihiro .baseinfo__title p {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  position: relative;
  margin: 0;
  padding-top: 35px;
}

.tabihiro .baseinfo__title p::before {
  content: "";
  background: url("/images/page-image/tabihiroba/icon_map.png");
  width: 20px;
  height: 28px;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: auto;
}


.tabihiro .icon_bf-list {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 5px;
}

.tabihiro .icon_bf-list .icon_bf img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

.tabihiro .icon-rest-list {
  display: flex;
  gap: 30px;
}

.tabihiro .icon-rest__image {
  height: 70px;
  width: fit-content;
  margin: auto;
}

.tabihiro .icon-rest__image img {
  height: 100%;
  width: auto;
  vertical-align: top;
}

.tabihiro .icon-rest__image+p {
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
}


.tabihiro .baseinfo__map {
  width: 85%;
  height: 400px;
  margin: 50px auto 0;
}

.tabihiro .baseinfo__map iframe {
  width: 100%;
  height: 100%;
}

.tabihiro .g-map-link {
  width: fit-content;
  margin: 30px auto 0;
}

.tabihiro .g-map-link .g-map-link__block {
  border: 2px solid #A9A9A9;
  border-radius: 5px;
  display: flex;
  gap: 20px;
  padding: 5px 30px;
}

.g-map-link .g-map-link--icon {
  width: 20px;
  height: auto;
}

.g-map-link .g-map-link--icon img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

.g-map-link .g-map-link__block>p {
  margin: 0;
}

.g-map-link .g-map-link__block>p>a {
  font-size: 20px;
  color: #000 !important;
  font-weight: bold;
  margin: 0;
  display: flex;
  height: 23px;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}


/** リンクブロック **/
.tabihiro .link-block {
  margin: 70px auto 0;
  width: fit-content;
  display: flex;
  gap: 30px;
  max-width: 90%;
}

.tabihiro .link-block .link-item {
  width: 400px;
}

.tabihiro .link-block .link-item img {
  width: 100%;
  height: 100%;
  vertical-align: top;
}



/* スクロールバー全体 */
.s-m-item::-webkit-scrollbar {
  width: 8px;
  /* 横幅 */
}

/* 背景（トラック部分） */
.s-m-item::-webkit-scrollbar-track {
  background: #f0f0f0;
  /* 背景色 */
  border-radius: 4px;
}

/* つまみ（サム部分） */
.s-m-item::-webkit-scrollbar-thumb {
  background: #bbb;
  /* 色 */
  border-radius: 4px;
}

/* ホバー時 */
.s-m-item::-webkit-scrollbar-thumb:hover {
  background: #999;
}


.info .info__detail .info__detail--grid{
  display: grid;
  grid-template-columns: 2em 1fr;
  gap: 20px;
}


/** プレビュー：モーダル用 **/

.preview.yosakoinet-common .floor__item.is-active,
.preview.yosakoinet-common .s-m-item.is-active {
  width: 40%;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 40%;
}

.preview.yosakoinet-common .s-m-item.is-active .s-m-item__block {
  grid-template-columns: 200px 1fr;
}

.preview.yosakoinet-common .s-m-item.is-active .s-m-item__block.s-m-item__block--one {
  grid-template-columns: 1fr;
}

.preview.yosakoinet-common .s-service-modal__mask.is-active {
  width: 60%;
  right: 0;
  left: 40%;
}

/* yosakoinet-common-sp */

.yosakoinet-common-sp .tabihiro .news {
  grid-template-columns: 1fr;
  width: 90%;
  padding: 0;
  border-radius: 10px;
  padding: 30px 0;
}

.yosakoinet-common-sp .tabihiro .news .news__list {
  padding: 0 20px;
}

.yosakoinet-common-sp .tabihiro .s-service {
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.yosakoinet-common-sp .tabihiro .selection__title {
  text-align: center;
}
.yosakoinet-common-sp .tabihiro .selection__title p{
  margin: 0;
}

.yosakoinet-common-sp .info .info__detail.info__detail--l>div,
.yosakoinet-common-sp .info .info__detail>div {
  grid-template-columns: 1fr;
  border: none;
}

.yosakoinet-common-sp .info .info__detail.info__detail--dot>div:first-child {
  border: none;
}

.yosakoinet-common-sp .tabihiro .icon_bf-list {
  grid-template-columns: repeat(6, 1fr);
}

.yosakoinet-common-sp .info .info__detail>div>*:first-child {
  padding: 13px 15px;
   border-radius: 5px;
}

.yosakoinet-common-sp .tabihiro .link-block {
  flex-direction: column;
}

.yosakoinet-common-sp .info .info__detail-image {
  width: 95%;
  margin: 10px auto 0;
}

.yosakoinet-common-sp .tabihiro .selection__title {
  font-size: 20px;
}

.yosakoinet-common-sp .tabihiro .link-block .link-item {
  width: 90%;
  margin: 0 auto;
}

.yosakoinet-common-sp .tabihiro .section__btn-link--ryoma {
  min-width: none;
}


.yosakoinet-common-sp .tabihiro .section__title {
  font-size: 20px;
}

.yosakoinet-common-sp .tabihiro .baseinfo,
.yosakoinet-common-sp .tabihiro .section .section__inner {
  width: 90%;
}

.yosakoinet-common-sp .tabihiro .baseinfo {
  border-radius: 10px;
  padding-top: 30px;
}

.yosakoinet-common-sp .tabihiro .section__btn-link {
  min-width: auto;
  width: 100%;
}

.yosakoinet-common-sp .tabihiro .section__mv {
  width: 100%;
  border-radius: 8px;
  height: 200px;
}
.yosakoinet-common-sp .tabihiro .section__mv.section__mv--yosakoi{
  height: auto;
}
.yosakoinet-common-sp .tabihiro .selection__item.sitem {
  margin-top: 20px;
}

.yosakoinet-common-sp .tabihiro .s-service {
  margin-top: 20px;
}

.yosakoinet-common-sp .info .info__detail>div>* {
  padding: 10px 0;
  width: 90%;
    margin: auto;
}

.yosakoinet-common-sp .tabihiro .icon-rest__image {
  height: 45px;
}

.yosakoinet-common-sp .tabihiro .icon-rest__image img {
  object-fit: contain;
}

.yosakoinet-common-sp .tabihiro .icon-rest-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.yosakoinet-common-sp .info .info__detail>div>* {
  line-height: calc(26 / 14);
  font-size: 14px;
}

.yosakoinet-common-sp .info.info--baseinfo {
  width: 95%;
}

.yosakoinet-common-sp .tabihiro .baseinfo__map {
  width: 95%;
  height: 250px;
  margin-top: 30px;
}

.yosakoinet-common-sp .pc-only {
  display: none !important;
}

.yosakoinet-common-sp .sp-only {
  display: block !important;
}




.yosakoinet-common-sp .floor__item ,
.yosakoinet-common-sp .s-m-item {
  padding: 30px 15px;
}

.yosakoinet-common-sp .s-m-item .s-m-item__block {
  grid-template-columns: 1fr;
  width: 95%;
  margin: 0 auto;
  gap: 15px;
}


.yosakoinet-common-sp .tabihiro .news .news__title p {
  font-size: 24px;
}

/* .yosakoinet-common-sp .tabihiro .news__title {
  margin: 30px 0 15px;
} */

.yosakoinet-common-sp .tabihiro .tabihiro__kv ul:not(.slick-dots),
.yosakoinet-common-sp .tabihiro .tabihiro__kv .slider_tabihiro .image,
.yosakoinet-common-sp .tabihiro__kv {
  height: 460px;
}

.yosakoinet-common-sp .tabihiro__kv .slick-dots {
  bottom: 53px !important;
}

.yosakoinet-common-sp .floor__item .close,
.yosakoinet-common-sp .s-m-item .close {
  position: absolute;
  top: -22px;
  right: 0px;
  width: 45px;
}
.yosakoinet-common-sp .slick-dots li button:before{
  font-size: 8px !important;
}
.yosakoinet-common-sp .slick-dots li{
  width: 8px;
  height: 8px;
}
.yosakoinet-common-sp .tabihiro .news .news__item{
  grid-template-columns: 1fr;
  gap: 5px;
}
.yosakoinet-common-sp .tabihiro .news .news__item{
  padding: 10px 0;
}

.yosakoinet-common-sp .place .slick-dots{
  bottom: 10px !important;
}
.yosakoinet-common-sp .tabihiro .s-service .s-s-item .s-s-item-image{
  height: 70px;
}
.yosakoinet-common-sp .tabihiro .s-service .s-s-item .s-s-item-txt p{
  text-align: center;
  line-height: 1.2;
    position: relative;
    width: 70%;
    margin: auto;
    padding-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.yosakoinet-common-sp .tabihiro .s-service .s-s-item:nth-child(2) .s-s-item-txt p{
  text-align: left;
}

.yosakoinet-common-sp .tabihiro .s-service .s-s-item .s-s-item-txt p::after{
  right: 0;
}
.yosakoinet-common-sp .tabihiro .s-service .s-s-item{
  display: grid;
  grid-template-rows: 1fr 60px;
}
.yosakoinet-common-sp .rest .slick-dots{
  bottom: 10px !important;
}
.yosakoinet-common-sp .tabihiro .icon-rest__image+p{
  line-height: 1.3;
}
.yosakoinet-common-sp .tabihiro .link-block{
  margin-top: 50px;
  gap: 25px;
}