@charset "UTF-8";

/*共通*/


/*ダミー*/
.dummy {
    position: relative;
}
.dummy::after {
    position: absolute;
    content: "ダミー";
    display: grid;
    padding: 8px 25px;
    place-items: center;
    background: #c00d0d;
    color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dummy.will_change::after {
    content: "差し替え予定";
    padding: 8px 20px;
}

.flex { display: flex; }


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

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

picture {
    position: relative;
}

picture img {
    display: block;
}

/*個別*/

.intro {
    text-align: center;
    padding: 150px 0;
}

.intro h1,.sec_ttl {
    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;
    margin-bottom: 40px;
}

.sec_ttl {
    font-size:clamp(26px,2.57vw,36px);
    margin-bottom: 40px;
}

.sec_lead {
    font-size:clamp(20px,1.71vw,24px);
    line-height: 1.8;
    letter-spacing: 0.13em;
}

.txt_box .sec_lead {
    margin-bottom: 40px;
}

.txt_box p {
    margin-top: 4%;
    line-height: 2;
    font-size:clamp(14px,1.14vw,16px);
}

.sec01,.sec02,.sec03 {
    text-align: center;
    padding: 70px 0 120px 0;
}

.sec_img {
    margin-bottom: 60px;
}

.bg_gray {
    background: #f2f2f2;
}

.bg_img {
    background: url('../img/design/sec02_bg.jpg') no-repeat center / cover;
}

/* sec03
-----------------------------------------------*/

.sec03 .sec_lead {
    margin-bottom: 40px;
}

.sec03 .txt_box p {
    margin-top: 0;
    letter-spacing: 0.05em;
}


.sec03 .flex {
    text-align: left;
    flex-wrap: wrap;
    gap: 50px 14px;
}

.sec03 .flex .flex_c,
.sec03 .img_box,.sec03 .txt_box {
    width: calc(50% - 7px);
}

.sec03 .flex .flex_c:last-child {
    width: 100%;
}

.sec03 .flex .flex_c:last-child .txt_box{
    width: calc(30% - 10px);
}

.sec03 .flex .flex_c:last-child .img_box {
    position: relative;
    width: calc(70% - 10px);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sec03 .flex .flex_c:last-child .img_box .block {
    width: calc(25% - 6px);
}

.sec03 .flex .flex_c h4 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
    letter-spacing: 0.1em;
}


.num_box {
    display: inline-block;
    width: 1.3em;
    height: 1.3em;
    background: url('../img/design/sec03_num.png') no-repeat center/ cover;
    text-align: center;
    line-height: 1.2em;
    color: #fff;
    font-size: 1.2em;
    margin-right: .4em
}

.sec03 .flex .flex_c:last-child .img_box .num_box {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 1.2em;
    height: 1.2em;
    line-height: 1.2em;
    font-size: 1em;
}

.cap_btm {
    bottom: -14px;
    right: 0;
}


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

}

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

.intro {
    text-align: center;
    padding: 90px 0;
}

.intro h1,.sec_ttl {
    line-height: 1.2;
    font-size:clamp(24px,7.2vw,40px);
    margin-bottom: 8%;
}

.sec_lead {
    line-height: 1.8;
    letter-spacing: 0.13em;
    font-size:clamp(20px,4.53vw,26px);
}

.sec_ttl {
    font-size:clamp(18px,6vw,32px);
    line-height: 1.2;
}

.sec01,.sec02 {
    padding: 60px 0 90px 0;
}
.sec03 {
    padding: 60px 0 40px 0;
}

.sec_img {
    margin-bottom: 40px;
}

.txt_box .sec_lead {
    margin-bottom: 20px;
}

.sec03 .flex {
    text-align: left;
    flex-wrap: wrap;
    gap: 20px;
}

.sec03 .flex .flex_c .flex {
    gap: 0;
}

.sec03 .txt_box p {
    margin: 10px 0;
}


.sec03 .flex .flex_c,
.sec03 .img_box,.sec03 .txt_box {
    width: 100%;
}

.sec03 .flex .flex_c:last-child .txt_box {
    width: 100%;
}

.sec03 .flex .flex_c:last-child h4 {
    margin: 0;
}


.sec03 .flex .flex_c:last-child .img_box  {
    width: 100%;
    gap: 10px;
}

.sec03 .flex .flex_c:last-child .img_box .block {
    width: calc(50% - 5px);
}



}






/* 詳細 */

.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(10px,0.86vw,12px);
    display: block;
    margin: 10px 0 0 10px;
}

.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(14px,1.14vw,16px);
}

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




}

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

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

.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;
    font-size:clamp(32px,7.2vw,52px);
    line-height: 1.2;
}

.txt-box p{
    margin-top: 4%;
    margin-bottom: 8%;
    line-height: 2;
    font-size:clamp(13px,3.2vw,24px);
}
}






/* マップ */


.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 {
    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: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 12px 10px 0 10px;
    border-style: solid;
    border-color: transparent;
    border-top-color: #d8d5ce;
    opacity: 0;
}

.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:80%;
    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-park { background-color: #008000; }
.pin-color-culture { background-color: #0000ff; }
.pin-color-education { background-color: #ffa500; }
.pin-color-medical { background-color: #800080; }
.pin-color-finance { background-color: #8b4513; }

.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%);
}

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

.gmap-Btn a {
  position: relative; /* ← これ必須 */
  display: inline-block;
  width: 200px;
  padding: 10px 0;
  text-align: center;

  font-size: 0.925em;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: .3s;
}

.gmap-Btn a::before,
.gmap-Btn a::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #b49a83,
    #e7d6ac,
    transparent
  );
}

.gmap-Btn a::before {
  top: 0;        /* ← 上の線 */
}

.gmap-Btn a::after {
  bottom: 0;     /* ← 下の線 */
}

.gmap-Btn a:hover {
  opacity: .5;
}


.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;
}
.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: baseline;
    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% 50% 50% 0;
    transform: rotate(-45deg);
    margin-right: 15px;
    font-size: 0.85em;
    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%) rotate(45deg);
    color: #fff;
}


.facility-name {
    flex-grow: 1;
    font-weight: normal;
    color: #333;
    font-size: 0.95em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.facility-time-distance {
    flex-shrink: 0;
    font-size: 0.9em;
    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) {

  .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 {

      width: 48.5%;
      margin-bottom: 5px;
  }


  .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;
      z-index: 10;
  }


  .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;
    flex-wrap: wrap;
  }
  .facility-box ul.img li {
    width: calc((100% - 6%) / 2);
    margin-bottom: 20px;
  }

  .facility-list ul {
      flex-direction: column;
  }
  .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;
  }

}




