@charset "UTF-8";

/*共通*/
.flex { display: flex; }

h1,h2,h3{
    letter-spacing: 0.08em;
    font-feature-settings: "palt";
}

.inner_1100{
    width:90%;
    max-width: 1100px;
    margin: 0 auto;
}


.sp2{
        display: none;
    }

    @media only screen and (max-width: 768px) {

        .sp2{
        display: none;
    }

    }


@media only screen and (max-width: 470px){
    .sp2{
        display: block;
    }
}


/*個別*/

/* メインビジュアル */
.sec-Mv {
    background-image: url(../img/location/MV-bk.png);
    background-size: cover;
    position: relative;
}

.MV-text{
    text-align: center;
    padding: 8% 0;
}

.MV-text h2{
    display: inline-block;
    background: linear-gradient(0deg, #998770 0%, #e4cbac 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Cinzel', serif;
    font-size:clamp(34px,4.14vw,58px);
    line-height: 1.2;
}

.MV-text h3{
    font-size:clamp(20px,1.71vw,24px);
    line-height: 1.8;
    margin-top: 5%;
    letter-spacing: 0.13em;
}

.MV-text p{
    margin-top: 2%;
    line-height: 3;
    letter-spacing: 0.08em;
    font-size:clamp(14px,1.14vw,16px);
}

.MV-img{
    position: absolute;
    inset: 0
}

.MV-img img{
    position: absolute;
}

.MV-img img:nth-child(1){
    top: 14%;
    left: 2%;
    width: 24%;
    /*max-width: 360px;*/
    max-width: 328px;
}

.MV-img img:nth-child(2){
    top: 8%;
    right: 1%;
    width: 27%;
    /*max-width: 420px;*/
    max-width: 353px;
}

.MV-img img:nth-child(3){
    /*width: 300px;
    top: 65%;
    right: 1%;*/
    top: 63%;
    right: 5%;
    width: 20%;
    max-width: 228px;
}


/*---------------------------
Tab
---------------------------*/
@media screen and (max-width: 1024px) {


.MV-img img:nth-child(1){
    top: 38%;
    left: 2%;
    width: 18%;
}

.MV-img img:nth-child(2){
    top: 10%;
    right: 1%;
    width: 22%;
    max-width: 380px;
}

.MV-img img:nth-child(3){
    width: 280px;
    top: 68%;
    right: 1%;
    width: 18%;
}


}

/*---------------------------
sp
---------------------------*/
@media only screen and (max-width: 768px) {

    .sec-Mv {
    background-image: url(../img/location/MV-bk-sp.png);
}

.MV-text{
    text-align: center;
    padding: 30% 0 60%;
}

.MV-text h2{
    line-height: 1.2;
}

.MV-text h3{
    line-height: 1.8;
    margin-top: 15%;
    letter-spacing: 0.13em;
}

.MV-text p{
    margin-top: 4%;
    line-height: 2.5;
}

.MV-img img{
    position: absolute;
}

.MV-img img:nth-child(1){
    top: 85%;
    left: 5%;
    width: 35%;
    max-width: 360px;
}

.MV-img img:nth-child(2){
    /*top: 75%;*/
    top: 71%;
    right: 4%;
    width: 50%;
    max-width: 380px;
}

.MV-img img:nth-child(3){
    width: 280px;
    /*top: 98%;*/
    top: 90%;
    right: 5%;
    width: 40%;
}

}






/* 詳細 */

.syosai-area{
    background-image: url(../img/location/bk.png);
    background-size: cover;
}

.syosai-contents {
  overflow: hidden;
  padding: 150px 0 130px;
}

.syosai-contents article{
    display: flex;
    align-items: center; 
    margin-top: 30px;
}

.syosai-contents article:first-child{
    margin-top: 0;
}

.syosai-contents article:nth-of-type(even) {
  flex-direction: row-reverse;
}

.img-box{
    width: 60%;
}

.img-box span{
    font-size: clamp(9px,0.86vw,12px);
    display: block;
    margin: 10px 0 0 10px;
    letter-spacing: 0.03em;
}

.syosai-contents article:nth-of-type(even) .img-box span{
    margin: 10px 10px 0 0;
    display: block;
  text-align: right;
    
}

.txt-box{
    width: 40%;
    text-align: right;
    padding: 0 5% 0 1%;
}

.syosai-contents article:nth-of-type(even) .txt-box{
    text-align: left;
    padding: 0 1% 0 5%;
}

.txt-box h2{
    display: inline-block;
    background: linear-gradient(0deg, #998770 0%, #e4cbac 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Cinzel', serif;
    font-size:clamp(26px,2.57vw,36px);
    line-height: 1.2;
}

.txt-box p{
    margin-top: 4%;
    line-height: 2;
    font-size:clamp(13px,1.14vw,16px);
    letter-spacing: 0.08em;
}

/*---------------------------
Tab
---------------------------*/
@media screen and (max-width: 1024px) {




}

/*---------------------------
sp
---------------------------*/
@media only screen and (max-width: 768px) {

.syosai-contents {
  overflow: hidden;
  /*padding: 60% 0 50px;*/
  padding: 45% 0 50px;
}

.syosai-contents article{
    flex-direction: column-reverse;
    align-items: center; 
    margin-top: 110px;
}


.syosai-contents article:nth-of-type(even) {
  flex-direction: column-reverse;
}

.img-box{
    width: 100%;
}

.img-box span{
    line-height: 1.5em;
    display: block;
    margin: 5px 0 0 5px;
}

.syosai-contents article:nth-of-type(even) .img-box span{
    line-height: 1.5em;
    display: block;
    margin: 5px 0 0 5px;
    text-align: left;
    
}

.txt-box{
    width: 100%;
    text-align: center;
    padding: unset;
}

.syosai-contents article:nth-of-type(even) .txt-box{
    text-align: center;
    padding: unset;
}

.txt-box h2{
    display: inline-block;
    background: linear-gradient(0deg, #998770 0%, #e4cbac 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Cinzel', serif;
    line-height: 1.2;
}

.txt-box p{
    margin-top: 4%;
    margin-bottom: 8%;
    line-height: 2;
}
}






/* マップ */


.map-area{
    margin-top: 80px;
}

.map-box {
    width: 100%;
    /* max-width: 1100px; */
    margin: 0 auto 80px;
    overflow: hidden;
    box-sizing: border-box;
}

/* タブボタン */

.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 25px;
    list-style: none;
    padding: 0;
}

.tab-button {
    position: relative;
    padding: 18px 0;
    width: 200px;
    border: none;
    background-color: #d8d5ce;
    color: #000000;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 0.8656em;
    letter-spacing: 0.06em;
    white-space: nowrap;
    text-align: center;
}

.tab-button::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 10px;
    background-color: #b49a83;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}


.tab-button:hover {
    background-color: #b49a83;
    color: #fff;
}

.tab-button:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    border-top-color: #b49a83;
}

/* アクティブ時 */
.tab-button.active {
    background-color: #b49a83;
    color: #fff;
}

.tab-button.active::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    border-top-color: #b49a83;
}

.tab-button[data-category="all"] {
    display: none;
}

.tab-button:hover {
    background-color: #b49a83;
}

.tab-button.active {
    background-color: #b49a83;
    color: #fff;
}

/* ーーーーーーーーー */

.map-container {
    position: relative;
    width: 100%;
    height: auto;
    padding-bottom: 85.90909091%;
    overflow: hidden;
    margin-bottom: 20px;
}

.map-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.map-pin {
    position: absolute;
    width: 25px;
    height: 25px;
    cursor: pointer;
    background-color: #000; /* デフォルトの色 */
    border-radius: 50% 50% 50% 0; /* ピンの形 */
    transform: translate(-50%, -100%) rotate(-45deg); /* 位置と回転 */
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #fff;
    font-size: 0.8em;
    z-index: 10;
}
.map-pin:hover {
    opacity: .7;
}

.map-pin .pin-number {
    position: absolute;
    z-index: 11;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg); /* ピンの回転を打ち消す */
    color: #fff;
}

/* ピンの色クラス */
/*.pin-color-shopping { background-color: #8b291c; }*/
.pin-color-shopping { background-color: #07999e; }
/*.pin-color-park { background-color: #b49a83; }*/
.pin-color-park { background-color: #1c533e; }
.pin-color-culture { background-color: #0000ff; }
/*.pin-color-education { background-color: #ffa500; }*/
.pin-color-education { background-color: #dfa300; }
.pin-color-medical { background-color: #800080; }
/*.pin-color-finance { background-color: #8b4513; }*/
.pin-color-finance { background-color: #24138b; }

/*.pin-popup {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -110%);

    text-align: center;
    font-size: 13px;
    line-height: 1.3;
    color: #333;

    display: none;
}

.pin-popup::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(255, 255, 255, 0.95);
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}*/

.pin-popup {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid #ccc;
  padding: 8px 12px;
  border-radius: 5px;
  white-space: nowrap;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

  text-align: center;
  font-size: 13px;
  line-height: 1.3;
  color: #333;

  display: none;

  /*transform: none;*/
}

/* デフォは従来通り「上（top）」 */
/*.pin-popup.pos-top {
  transform: translate(-50%, -110%);
}*/
.pin-popup.pos-top::after{
  content: '';
  position: absolute;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(255, 255, 255, 0.95);
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}

/* 下に出す（bottom）：吹き出しは下、矢印は上向き */
/*.pin-popup.pos-bottom{
  transform: translate(-50%, 20%);
}*/
.pin-popup.pos-bottom::after{
  content: '';
  position: absolute;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid rgba(255, 255, 255, 0.95);
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
}

/* 左に出す（left） */
/*.pin-popup.pos-left{
  transform: translate(-110%, -50%);
}*/
.pin-popup.pos-left::after{
  content: '';
  position: absolute;
  width: 0; height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid rgba(255, 255, 255, 0.95);
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
}

/* 右に出す（right） */
/*.pin-popup.pos-right{
  transform: translate(10%, -50%);
}*/
.pin-popup.pos-right::after{
  content: '';
  position: absolute;
  width: 0; height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid rgba(255, 255, 255, 0.95);
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
}


/* Google Map Button */
.gmap-Btn {
  margin: 30px auto 50px;
  text-align: center;
}

.gmap-Btn a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* 文字と矢印の間 */
  width: 200px;
  padding: 10px 0;
  text-align: center;

  font-size: 0.925em;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #000;
  text-decoration: none;
  transition: opacity .3s;
}

/* 上下のグラデ線 */
.gmap-Btn a::before,
.gmap-Btn a::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    #b49a83 0%,
    #e7d6ac 50%,
    #b49a83 100%
  );
}

.gmap-Btn a::before { top: 0; }
.gmap-Btn a::after  { bottom: 0; }

.gmap-Btn a span::after {
      content: "";
    display: block;
    width: 0.6em;
    aspect-ratio: 1 / 1;
    border-top: 1px solid #b89f8a;
    border-right: 1px solid #b89f8a;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%) rotate(45deg);
    transition: all ease 0.3s;
}
.gmap-Btn a:hover {
  opacity: .7;
}
.gmap-Btn a:hover span::after {
  right: 5px;
}


.facility-box {

}
.facility-box .ttl {
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0.2em;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  color: #b49a83;
  
}

.facility-box ul.img {
  display: flex;
  /*justify-content: space-between;*/
justify-content: flex-start;
gap: 2%;
}
.facility-box ul.img li {
  width: calc((100% - 6%) / 4);
}
.facility-box ul.img li figure {
  margin-bottom: 10px;
}

.facility-box ul.img li .pin-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  align-items:flex-start;
}

.facility-box ul.img li .store-name {
  margin-left: 0px;
  color: #666;
  font-size: 12px;
  line-height: 1.3;
}
/* .facility-box ul.img li .map-pin {
  position: relative;
  width: 20px;
  height: 20px;
  background-color: #000;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: inline-block;
  margin-right: 0.5em;
}
.facility-box.shop ul.img  .map-pin { background-color: #8b291c; }

.facility-box ul.img map-pin-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  color: #fff;
  font-size: 12px;
  z-index: 1;
} */


.facility-list {
    margin-top: 50px;
}

.facility-list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 80px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.facility-list li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e3e8ea;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 48%;
    margin-bottom: 5px;
    box-sizing: border-box;
    --pin-color: #000; /* デフォルト値 */
}

.facility-list li:nth-child(odd) {
    margin-right: 2%;
}

.facility-list li:nth-last-child(1),
.facility-list li:nth-last-child(2) {
    border-bottom: none;
}

.facility-list li.active {
    opacity: .7;
    /* background-color: #f0f8ff; */
}

.facility-list li .pin-number-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    background-color: var(--pin-color, #666);
    color: #fff;
    border-radius: 50%; 
    transform: none; 
    margin-right: 5px;
    /*font-size: 0.85em;*/
    font-size: clamp(10px, 1.0vw, 14px);
    flex-shrink: 0;
    position: relative;
}

.facility-list li .pin-number-badge::before {
    content: attr(data-display-number);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}


@media screen and (min-width: 769px) {
  .facility-list ul {
    position: relative; /* 念のため */
  }

  .facility-list ul::after {
    content: "";
    position: absolute;
    top: 10px;                 /* 上下に余白 */
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background-color: #e3e8ea;
    pointer-events: none;
  }
}

.facility-name {
    flex-grow: 1;
    font-weight: normal;
    color: #333;
    /*font-size: 0.95em;*/
    font-size: clamp(10px, 1.0vw, 14px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.facility-time-distance {
    flex-shrink: 0;
    /*font-size: 0.9em;*/
    font-size: clamp(10px, 1.0vw, 14px);
    color: #555;
    margin-left: 10px;
    text-align: right;
}

.facility-details {
    display: none !important;
}



/*---------------------------
PC・TABのみ
---------------------------*/
@media only screen and (min-width: 769px) and (max-width: 1024px) {



}

/*---------------------------
Tab
---------------------------*/
@media screen and (max-width: 1024px) {




}

/*---------------------------
sp
---------------------------*/
@media only screen and (max-width: 768px) {

    .map-area {
    margin-top: 50px;
}

  .container {
      padding: 0;
      margin: 0;
      max-width: 100%;
  }
  .tabs {
    display: flex;
    justify-content:space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 5px;
      /* flex-direction: column;
      align-items: stretch; */
  }
  .tab-button {
    padding: 14px 0;
      width: 48.5%;
      margin-bottom: 5px;
  }

  .tab-button::after {
        bottom: -7px;
        border-width: 7px 6px 0 6px;
    }


  .map-pin {
      position: absolute;
      width: 18px;
      height: 18px;
      cursor: pointer;
      border-radius: 50% 50% 50% 0; /* ピンの形 */
      transform: translate(-50%, -100%) rotate(-45deg); /* 位置と回転 */
      display: flex;
      justify-content: center;
      align-items: center;
      font-weight: bold;
      color: #fff;
      /*font-size: 0.8em;*/
      font-size: 11px;
      z-index: 10;
  }
    .pin-popup {
      padding: 8px 12px;
      border-radius: 5px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      font-size: 10px;

      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
    }

  .gmap-Btn {
      text-align: center;
  }
  .gmap-Btn a {
      padding: 10px 20px;
      font-size: 1em;
  }

  .facility-box .ttl {
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
  }

  .facility-box ul.img {
    display: flex;
    /*justify-content: space-between;*/
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px 6%;
  }
  .facility-box ul.img li {
    width: calc((100% - 6%) / 2);
    /*margin-bottom: 20px;*/
  }

  .facility-list ul {
      flex-direction: column;
      margin-bottom: 50px;
  }
  .facility-list li {
      width: 100%;
      margin-right: 0;
      border-bottom: 1px dashed #eee;
  }
  .facility-list li:last-child {
      border-bottom: none;
  }
  .facility-list li:nth-last-child(1),
  .facility-list li:nth-last-child(2) {
      border-bottom: 1px dashed #eee;
  }
  .facility-list li:last-child {
      border-bottom: none;
  }
  .facility-name {
      font-size: 0.85em;
      line-height: 1.3;
      white-space: normal;
      overflow: visible;
      text-overflow: clip;
  }
  .facility-time-distance {
  font-size: 0.8em;
  }

}




