.shop-list {
  position: relative;
  margin: 19.8rem 0 12rem
}

.shop-list__title {
  margin: 0 0 3rem;
  font-size: 4.8rem;
  font-family: 'Righteous', sans-serif;
  font-weight: 400;
  color: #D0E2E6;
  text-align: center
}

.area-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 28px;
  padding: 0;
  list-style: none
}

.area-nav__item {
  flex: 1 1 0%;
  min-width: 120px
}

.area-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 1.5rem;
  width: 100%;
  height: 40px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1D2086;
  background: #fff;
  border-radius: 25px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s, transform .06s
}

.area-nav__btn:is(:hover, :focus-visible) {
  transform: translateY(-1px)
}

.area-nav__btn.is-active {
  background: #D0E2E6
}

.area-panel[hidden] {
  display: none !important
}

.shopdetail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px
}

.shopdetail-card {
  padding: 24px 20px 28px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  /* 固定ヘッダーに隠れないための保険 */
  scroll-margin-top: 100px;
}

.shopdetail-card__head {
  display: flex;
  justify-content: center;
  margin: 0 0 16px;
  padding: 0 2rem 0
}

.shopdetail-card__title {
  font-size: 1.8rem;
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  color: #1D2086
}

.shopdetail-card__cols {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
  margin: 0 0 18px
}

.shopdetail-card__col--media,
.shopdetail-card__col--info {
  min-width: 0
}

.shopdetail-gallery {
  --peek: 48px;
  width: 100%;
  max-width: none;
  margin: 0
}

.shopdetail-swiper {
  width: 100%;
  overflow: hidden;
  padding-inline: var(--peek);
  height: auto !important
}

.shopdetail-swiper .swiper-wrapper {
  align-items: stretch;
  height: auto !important
}

.shopdetail-swiper .swiper-slide {
  width: calc(100% - (var(--peek) * 2)) !important;
  flex-shrink: 0;
  opacity: .35;
  transition: opacity .25s ease, filter .25s ease
}

.shopdetail-swiper .swiper-slide.swiper-slide-active,
.shopdetail-swiper .swiper-slide.swiper-slide-duplicate-active {
  opacity: 1
}

.shopdetail-swiper .swiper-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 16px
}

.shopdetail-swiper,
.shopdetail-swiper * {
  box-sizing: border-box
}

.gallery-thumbs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  overflow-x: auto
}

.gallery-thumbs__item {
  flex: 0 0 auto
}

.thumb {
  border: 0;
  background: none;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  opacity: .55;
  transition: opacity .15s, outline .15s
}

.thumb:is(:hover, :focus-visible) {
  opacity: .8
}

.thumb img {
  display: block;
  width: 92px;
  height: 62px;
  object-fit: cover
}

.thumb.is-current {
  opacity: 1;
  outline: 2px solid rgba(29, 32, 134, .3)
}

.thumb.is-current img {
  filter: brightness(1.08) contrast(1.02)
}

.shop-detail__info {
  margin: 0;
  padding: 0
}

.shop-detail__info .row {
  display: grid;
  grid-template-columns: 125px 1fr;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #D0E2E6
}

.shop-detail__info .row:first-child {
  padding-top: 0
}

.shop-detail__info dt {
  font-size: 1.3rem;
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  color: #1D2087
}

.shop-detail__info dd {
  margin: 0;
  font-size: 1.2rem;
  font-family: "LINE Seed JP", sans-serif
}

.map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0 0;
  padding: .6rem;
  width: 86px;
  height: 24px;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  border: 1px solid #D0D0D0;
  border-radius: 25px;
  text-decoration: none;
  transition: transform .06s, box-shadow .2s
}

.map-btn:is(:hover, :focus-visible) {
  transform: translateY(-1px)
}

.shop-detail__foot {
  display: grid;
  row-gap: 12px;
  justify-items: center
}

.reserve-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 2.9rem 2rem;
  width: 320px;
  height: 80px;
  font-size: 1.6rem;
  font-family: "LINE Seed JP";
  font-weight: 700;
  color: #fff;
  background: #E75297;
  border-radius: 45px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease
}

.reserve-btn::after {
  content: "";
  position: absolute;
  right: 30px;
  width: 0;
  height: 0;
  border-left: 9px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent
}

.reserve-btn:hover {
  background: #EB4994;
  transform: translateY(-1px);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .04), 0 10px 26px rgba(0, 0, 0, .12)
}

.payicons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 0;
  margin: 0;
  list-style: none
}

.payicons__item img {
  width: 40px;
  height: auto;
  display: block
}

.shop-detail__sns {
  margin: 6px 0 0;
  padding: 0
}

.snsicons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none
}

.snsicons__item {
  flex: 0 0 auto
}

.snsicons__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: transform .06s, box-shadow .2s
}

.snsicons__link:is(:hover, :focus-visible) {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .08)
}

.snsicons__link img {
  display: block;
  width: 32px;
  height: 32px
}

@media (min-width:981px) {
  .shopdetail-gallery {
    width: 490px;
    max-width: 490px
  }

  .shopdetail-swiper {
    padding-inline: 0
  }

  .shopdetail-swiper .swiper-slide {
    width: 490px !important
  }

  .shopdetail-swiper .swiper-slide img {
    height: 312px;
    aspect-ratio: auto
  }

  .gallery-thumbs {
    gap: 16px;
    margin-top: 16px;
    overflow-x: visible
  }

  .thumb img {
    width: 153px;
    height: 96px
  }
}

@media (max-width:1100px) {
  .shopdetail-card__cols {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:980px) {
  .shopdetail-card {
    padding: 24px 0 28px
  }

  .shopdetail-card__cols {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .shopdetail-gallery {
    --peek: 36px
  }

  .shopdetail-swiper {
    padding-inline: var(--peek)
  }

  .shopdetail-swiper .swiper-slide img {
    aspect-ratio: 490 / 312;
    height: auto
  }

  .gallery-thumbs {
    justify-content: center
  }

  .shop-detail__info {
    padding: 0 2rem 0
  }
}

@media (max-width:769px) {
  .shop-list {
    margin: 10.5rem 0 9.4rem
  }

  .shop-list__title {
    font-size: 3rem
  }

  .area-nav__list {
    justify-content: flex-start;
    flex-wrap: wrap
  }

  .area-nav__item {
    flex: 0 0 calc(50% - 5px);
    min-width: 0
  }

  .reserve-btn {
    padding: 1rem 1rem;
    width: 200px;
    height: 48px;
    font-size: 1.3rem
  }
}

/* 500px以下はヘッダー61px想定 → 余白込みで76px */
@media (max-width:500px) {
  .shopdetail-card {
    scroll-margin-top: 76px;
  }
}

@media (max-width:430px) {
  .shop-detail__info .row {
    grid-template-columns: 90px 1fr
  }

  .shopdetail-gallery {
    --peek: max(10px, calc((100% - 296px) / 2))
  }

  .shopdetail-swiper .swiper-slide {
    width: max(296px, calc(100% - (var(--peek) * 2))) !important
  }

  .gallery-thumbs {
    justify-content: center;
    gap: 6px
  }

  .thumb img {
    width: 72px;
    height: 46px
  }
}
