/* ==========================================================================
  サンゴの最新状況
========================================================================== */
.situation-icon{
  color: #005CAC;
  padding: 1rem 2.5rem;
  border-radius: 1.6rem;
  background: #f4f4f4;
  text-align: center;
  line-height: 1;
  display: inline-block;
  margin-bottom: 2rem;
}

/*　地図　*/
.map-section {
  display: grid;
  grid-template-columns: 1fr 47.5rem;
  gap: 2rem;
  max-width: 1440px;
  margin: 3rem auto 0;
}

/* マップエリア */
.map-visual {
  width: 100%;
  display: none;
}
.map-visual iframe {
  width: 100%;
  height: 100%;
  border-radius: 0 clamp(4rem, 6vw, 6.25rem) clamp(4rem, 6vw, 6.25rem) 0;
}

/* 右側のサイドバー全体 */
.map-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.list-filter {
  width: 100%;
}
.list-filter select {
  padding: 0.75rem 2rem 0.75rem 0;
  font-size: 14px;
  color: #005CAC;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #005CAC;
  cursor: pointer;
  appearance: none;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="7" viewBox="0 0 12 7" fill="none"%3E%3Cpath d="M0.5 0.5L5.54609 5.54609L10.5922 0.5" stroke="%23005CAC" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right .2rem center;
  background-size: 12px 7px;
}
.list-filter select:focus {
  outline: none;
  border-color: #005CAC;
  background-color: #fff;
}

/* 住所リスト（スクロール部分） */
.address-list {
  flex: 1;
  max-height: 70rem;
  border-radius: 2.5rem;
  background: #f4f4f4;
  padding: 0 2.5rem;
  border-right: 2.5rem solid #f4f4f4;
  border-top: 2.5rem solid #f4f4f4;
  border-bottom: 2.5rem solid #f4f4f4;
  overflow-y: auto;
  scrollbar-gutter: stable;
  box-sizing: border-box;
}

/* 各住所アイテム */
.address-item {
  padding: 1.5rem 4.2rem 1.5rem 1.5rem;
  cursor: pointer;
  border-radius: 1.5rem;
  background: #fff;
  transition: background-color 0.3s ease;
  margin-bottom: 8px;
  margin-left: 1rem;
  position: relative;
  display: block;
}
.address-item::after {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-left: 2px solid #51A2D6;
  border-bottom: 2px solid #51A2D6;
  transform: rotate(-135deg);
  position: absolute;
  right: 2rem;
  top: 50%;
}
.address-item.is-current {
  border: 1px solid #A2CDF3;
  background-color: #CDE7FF;
}
.address-item:hover:not(.is-current) {
  background-color: #f9f9f9;
}

.icon-pin{
  position: absolute;
  width: 39px;
  height: 50px;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="39" height="50" viewBox="0 0 39 50" fill="none"%3E%3Cpath d="M39 19.3878C39 30.0953 19.5 50 19.5 50C19.5 50 0 30.0953 0 19.3878C0 8.68019 8.73045 0 19.5 0C30.2696 0 39 8.68019 39 19.3878Z" fill="%23FF75B1"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: auto;
  text-align: center;
  top: calc(50% - 25px);
  left: -20px;
  display: none;
}

.sit-pin__inner{
  width: 39px;
  height: 50px;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="39" height="50" viewBox="0 0 39 50" fill="none"%3E%3Cpath d="M39 19.3878C39 30.0953 19.5 50 19.5 50C19.5 50 0 30.0953 0 19.3878C0 8.68019 8.73045 0 19.5 0C30.2696 0 39 8.68019 39 19.3878Z" fill="%23FF75B1"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: auto;	
      position: relative;
}

.sit-pin__inner::after{
    content: "";
    display: block;
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 1rem;
    background-color: #fff;
    left: calc(50% - 12.5px);
    top: .5rem;
}

.sit-pin__inner .sit-pin__label {
    color: #FF75B1;
    font-family: Outfit;
    font-size: 15px;
    font-weight: 700;
    line-height: 100%;
    display: inline-block;
    margin-top: .8rem;
    z-index: 1;
    position: relative;
    left: 36%;
}

.icon-pin::after{
  content: "";
  display: block;
  position: absolute;
  width: 25px;
  height: 25px;
  border-radius: 1rem;
  background-color: #fff;
  left: calc(50% - 12.5px);
  top: .5rem;
}
.icon-pin span{
  color: #FF75B1;
  font-family: Outfit;
  font-size: 15px;
  font-weight: 700;
  line-height: 100%;
  display: inline-block;
  margin-top: .8rem;
  z-index: 1;
  position: relative;
}
.icon-new{
  color: #FF75B1;
  font-family: Outfit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  line-height: 1;
  position: absolute;
  right: 1rem;
  top: .75rem;
}
.address-item-box {
  display: flex;
  gap: 1.5rem;
}
.address-item-box .img {
  min-width: 125px;
  width: 30%;
}
.address-item-box .img img {
  border-radius: 1rem;
}
.address-item-box .text dl div {
  display: flex;
  gap: .3rem;
  font-size: 14px;
}
.address-item-box .text dl div dt{
  width: 22%;
  color: #51A2D6;
  text-align: left;
}
.address-item-box .text dl div dd{
  width: 78%;
  text-align: left;
  color: #2A3742;
}
.address-item-box .text {
    width: 70%;
}
div#sitMap {
	z-index: 0;
	height:100%;
    border-radius: 0 clamp(4rem, 6vw, 6.25rem) clamp(4rem, 6vw, 6.25rem) 0;
}
.address-list::-webkit-scrollbar {
  width: 6px;
}
.address-list::-webkit-scrollbar-track {
  background: #fff;
}
.address-list::-webkit-scrollbar-thumb {
  background: #005CAC;
  border-radius: 20px;
}

/* スマホ対応：縦並びにする */
@media (max-width: 1199px) {
.map-section {
        grid-template-columns: auto 1fr;
}

.address-item-box .img img {
    width: 100%;
}

.address-list {
    border-radius: 2.5rem;
    padding: 0 0.8rem;
	        border-right: 1.5rem solid #f4f4f4;
}

.address-item-box {
    display: flex;
    gap: 0rem;
    flex-wrap: wrap;
}

.address-item {
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
}

.address-item-box .img {
    width: 100%;
}

.address-item-box .text {
    width: 100%;
}

.address-item::after {
	content: none;
}

.map-sidebar {
    min-width: 20rem;
}

}

@media (max-width: 768px) {
  .map-section {
    width: 100%;
    grid-template-columns: 1fr;
  }
  .address-item-box .img img {
    width: 100%;
}
  .map-visual {
    height: calc(18.75rem + 40vw);;
    overflow: hidden;
  }
  .map-visual iframe {
    width: 100%;
    border-radius: 1.5rem;
  }
  .map-sidebar{
    width: 100%;
  }
  .address-list {
    border-radius: 1.5rem;
    padding: 0 1.5rem;
    border-right: 1.5rem solid #f4f4f4;
    border-top: 1.5rem solid #f4f4f4;
    border-bottom: 1.5rem solid #f4f4f4;
  }
  .address-item-box .text dl div {
    display: block;
  }
  .address-item-box .text dl div dt,
  .address-item-box .text dl div dd{
    width: 100%;
  }
  .address-item {
    padding-right: 2rem;
}
.address-item-box {
    display: block;
}
.address-item-box .img {
    min-width: 125px;
    width: 100%;
}
}


/* ==========================================================================
  スライダー
========================================================================== */
/* サムネイルの並び */
.situation-tabs{
  margin-top: clamp(3rem, 5vw, 5rem);
}
.situation-tabs .grid{
  display: grid;
  grid-template-columns: 800px 1fr;
  column-gap: 40px;
  width: 100%;
}
.tab-menu {
    display: flex;
    gap: 1rem;
    justify-content: left;
    flex-wrap: wrap;
    max-width: 53rem;
    margin-top: -10rem;
}

.tab-thumb {
  width: clamp(4rem, 8vw, 5.54rem);
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s ease;
  text-align: center;
}

/* アクティブ時のスタイル */
.tab-thumb.active {
  opacity: 1;
}

.tab-thumb img {
  width: 100%;
  border-radius: 1rem 0;
}

.tab-thumb span {
  display: block;
  font-size: 0.75rem;
  text-align: center;
  font-family: Outfit;
  letter-spacing: 0.6px;
}

/* パネル制御 */
.tab-panel,.tab-comment { display: none; }
.tab-panel.active,.tab-comment.active { display: block; }

.slick-target img {
  width: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

/* スライダー */
.slick-slider {
  width: auto;
}
.slick-slider img {
  width: 100%;
  border-radius: clamp(4rem, 6vw, 6.25rem) 0;
}
.slick-list{
  margin-bottom: 1.5rem !important;
}
/* ドットの親要素 */
.slick-dots {
  display: flex !important;
  justify-content: center;
  list-style: none;
  padding: 0;
  gap: 0.75rem; /* ドット同士の間隔 */
  bottom: auto !important;
}

.slick-dots li {
  width: 20px; /* SVGの幅に合わせて調整 */
  height: 7px;  /* SVGの高さに合わせて調整 */
}

.slick-dots li button {
  font-size: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  cursor: pointer;
  
  /* --- 非アクティブ時の色 --- */
  background-color: #BBB !important;
  
  /* SVGをマスクとして指定 */
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="7" viewBox="0 0 20 7" fill="none"%3E%3Cpath d="M4.66623 4.77733C11.7149 8.87752 17.0491 5.73084 19.2544 3.75242C19.4612 3.56693 19.4612 3.24886 19.2544 3.06336C17.0491 1.08491 11.7149 -2.06209 4.66623 2.0381C4.46738 2.15377 4.21224 2.12623 4.04273 1.97071C3.09965 1.10548 1.85442 0.290505 0.551383 0.0103418C0.16009 -0.0737892 -0.113053 0.375232 0.0462476 0.742399C0.411622 1.58454 0.796588 2.75383 0.796588 3.40771C0.796588 4.0616 0.411622 5.23089 0.0462476 6.07303C-0.113053 6.4402 0.16009 6.88922 0.551383 6.80509C1.85442 6.52492 3.09965 5.70995 4.04273 4.84472C4.21224 4.6892 4.46738 4.66166 4.66623 4.77733Z" fill="black"/%3E%3C/svg%3E');
  mask-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="7" viewBox="0 0 20 7" fill="none"%3E%3Cpath d="M4.66623 4.77733C11.7149 8.87752 17.0491 5.73084 19.2544 3.75242C19.4612 3.56693 19.4612 3.24886 19.2544 3.06336C17.0491 1.08491 11.7149 -2.06209 4.66623 2.0381C4.46738 2.15377 4.21224 2.12623 4.04273 1.97071C3.09965 1.10548 1.85442 0.290505 0.551383 0.0103418C0.16009 -0.0737892 -0.113053 0.375232 0.0462476 0.742399C0.411622 1.58454 0.796588 2.75383 0.796588 3.40771C0.796588 4.0616 0.411622 5.23089 0.0462476 6.07303C-0.113053 6.4402 0.16009 6.88922 0.551383 6.80509C1.85442 6.52492 3.09965 5.70995 4.04273 4.84472C4.21224 4.6892 4.46738 4.66166 4.66623 4.77733Z" fill="black"/%3E%3C/svg%3E');
  
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* --- アクティブ時の色 --- */
.slick-dots li.slick-active button {
  background-color: #005CAC !important;
  transform: scale(1.1); /* わずかに強調 */
}

.situation-detail .item-l{
  padding: clamp(1.75rem, 4vw, 2.5rem);
  gap: 10px;
  border-radius: 20px;
  background-color: #f4f4f4;
}
.situation-detail div{
  display: flex;
  align-items: center;
  column-gap: 30px;
  margin-bottom: 1rem;
  width: 100%;
}
.situation-detail div dt{
  color: #51A2D6;
  width: 5rem;
  flex-shrink: 0;
  padding-left: 2rem;
  background-repeat: no-repeat;
  background-position: left center;
}
.situation-detail div.n01 dt{
  background-image: url(../img/situation/ico_camera.png);
  background-size: 20px 14px;
}
.situation-detail div.n02 dt{
  background-image: url(../img/situation/ico_temperature.png);
  background-size: 20px 16px;
}
.situation-detail div.n03 dt{
  background-image: url(../img/situation/ico_weather.png);
  background-size: 20px 15px;
}
.situation-detail div.n04 dt{
  background-image: url(../img/situation/ico_water.png);
  background-size: 18px 18px;
}
.situation-detail div.n05 dt{
  background-image: url(../img/situation/ico_transpar.png);
  background-size: 20px 15px;
}
.situation-detail div dd{
  flex-grow: 1;
}
.situation-detail .item-r{
  padding: clamp(1.5rem, 2.5vw, 1.75rem);
  gap: 10px;
  border-radius: 20px;
  background-color: #fff;
  border: 1px solid #CDE7FF;
}

.situation-detail .item-r div{
  align-items: flex-start;
}
.situation-detail .item-r div dt{
  padding-left: 0;
}

.tab-comment{
  margin-top: 4rem;
  border-radius: 1.5rem;
  background: #CDE7FF;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  position: relative;
}
.tab-comment a{
  color: #FF75B1;
  text-decoration: underline;
}
.tab-comment::before{
  content: "";
  position: absolute;
  top: -18px;       /* 吹き出しの底に配置 */
  left: clamp(1.75rem, 4vw, 2.5rem);      /* 三角の位置 */
  border-width: 25px 15px 0 15px;
  border-style: solid;
  border-color: #CDE7FF transparent transparent transparent;
  transform: rotate(60deg);
}

@media (max-width: 75rem) {
  .situation-tabs{
    margin-top: 2rem;
  }
  .situation-tabs .grid,
  .situation-detail div{
    display: block;
  }
  .situation-detail{
    display: flex;
    column-gap: 1rem;
    margin-top: 3.5rem;
  }
  .situation-detail .item-l,
  .situation-detail .item-r{
    padding: 1rem !important;
  }
  .tab-menu {
    max-width: 100%;
        margin-top: 2rem;
}
}








/* layout */
.maps{

}
.maps__inner{
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

/* map stage */
.map{
  margin: 0;
}
.map__stage{
  position: relative;
  border: 6px solid #eaf5fd;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.map__img{
  display: block;
  width: 100%;
  height: auto;
}

/* pins */
.pin{
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 700;
    font-size: 1.125rem;
  line-height: 1;
  color: #fe75b2;
  /*background: #fe75b2;
  border: 2px solid rgba(255,255,255,.9);*/
}

/* hover / focus */
.pin:hover{
  transform: translate(-50%, -50%) scale(1.06);
}
.map.narrow .map__stage::after {
    content: "";
    position: absolute;
    top: 0%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -100%);
    margin: 0;
    padding: 0;
    display: block;
    border-top: none;

    border-left: clamp(28px, 15vw, 70px) solid transparent;
    border-right: clamp(28px, 15vw, 70px) solid transparent;
    border-bottom: clamp(116px, 27vw, 210px) solid #dfe8ef;
}

/* touch devices: slightly bigger */
@media (max-width: 768px){
  .maps__inner{
    width: min(720px, 94vw);
    gap: 20px;
  }
  .pin{
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
}

.address-item-box .text .ttl {
    font-weight: 600;
}