/* Spot content, media, cards, and map controls. */

/* =============== 4) Content（タイトル/バッジ/説明/メタ） =============== */
  .spot-title-heading{
    margin:0 0 6px;
    font-family:'Noto Sans JP',sans-serif;
    font-weight:800;
    font-size:2rem;
    line-height:1.25;
    color:var(--iks-card-meta-title);
    background: transparent;
    border-radius:0;
    padding:.30rem var(--title-pad-x) .20rem;
    border-left:0;
    padding-left:var(--title-pad-x);
    min-width:0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    cursor: pointer;
  }
  .spot-title-heading__text{
    display:inline;
    background-image: linear-gradient(180deg, transparent 55%, var(--iks-card-meta-title-mark) 0);
    background-repeat:no-repeat;
    background-size: 100% 0.6em;
    background-position: 0 calc(100% - 0.1em);
    box-decoration-break: clone;
    padding:0 .02em;
  }
  .spot-title-heading.is-expanded{ white-space:normal; overflow:visible; text-overflow:clip; display:block; }
  .spot-title-heading:hover{ overflow:visible; white-space:normal; }
  .spot-title-heading a{
    color:inherit;
    text-decoration:none;
    display:block;
  }
  .spot-title-heading a:hover{ opacity:.85; }
  body.tax-location .spot-title-heading{ margin-bottom:0; }

  .spot-header{
    display:flex;
    flex-direction:column;
  }

  /* タイトル行 */
  .spot-title-row{
    display:flex; align-items:center;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: clamp(18px, 3vw, 32px);
  }
  .spot-title-row .spot-title-heading{
    flex:1 1 auto; min-width:0; margin:0; line-height:1.25;
    padding-left: 0;
    text-align: left;
  }
  .spot-title-row .fav-btn{
    order: 2;
    margin-left: auto;
    align-self: center;
    --fav-nudge-y: -2px;
    /* subtract the inner spot-body padding so the button aligns with floating UI */
    margin-right: max(
      0px,
      calc(
        env(safe-area-inset-right, 0px)
        + var(--fav-edge-gap, clamp(14px, 3.6vw, 22px))
        - var(--spot-title-row-edge-offset, 0px)
      )
    );
  }

  .spot-category-row .fav-btn{
    flex-shrink: 0;
  }

  .cards-layout .spot-category-row .fav-btn{
    position: absolute;
    top: calc(var(--card-pad, 16px) + 3px);
    right: var(--card-pad, 16px);
  }
  .cards-layout .spot-header .spot-category-row:has(.fav-btn){
    padding-right: calc(var(--fav-size, 48px) + 8px);
  }

  /* Category label (major type) */
  .spot-category-row{
    display:flex;
    align-items:center;
    gap:10px;
    margin: 0 0 clamp(8px, 1.2vw, 14px);
    padding-left: var(--title-pad-x);
    padding-right: var(--title-pad-x);
    min-width: 0;
  }
  .spot-category-pill{
    --cat-fg:var(--iks-spot-category-text, var(--iks-spot-category-badge-text));
    --cat-bg:var(--iks-spot-category-bg, var(--iks-spot-category-badge-bg));
    --cat-bd:var(--iks-spot-category-border, var(--iks-spot-category-badge-border));
    display:inline-flex;
    align-items:center;
    gap:.35rem;
    border-radius:var(--iks-spot-category-badge-radius);
    border:1px solid var(--cat-bd);
    background:var(--cat-bg);
    color:var(--cat-fg);
    font-size:.8rem;
    font-weight:700;
    line-height:1.1;
    padding:5px 10px;
    letter-spacing:.02em;
    white-space:nowrap;
    max-width:100%;
    box-shadow:0 6px 18px var(--iks-spot-category-shadow, rgba(29,78,216,.22));
  }
  .spot-category-pill__label{ display:block; }

  /* Category row: location chip */
  .spot-location-chip{
    display:inline-flex;
    align-items:center;
    gap:.35rem;
    min-width: 0;
    color:var(--iks-card-meta-meta);
    font-size:.78rem;
    font-weight:600;
    line-height:1.1;
    letter-spacing:.01em;
  }
  .spot-location-chip__icon{
    width:1rem;
    height:1rem;
    display:grid;
    place-items:center;
    color:var(--iks-card-meta-icon);
    flex:0 0 auto;
  }
  .spot-location-chip__icon svg{
    width:1rem;
    height:1rem;
    display:block;
  }
  .ikuspot-simple-pin{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:1rem;
    height:1rem;
    color:var(--iks-card-meta-icon);
    flex:0 0 auto;
  }
  .ikuspot-simple-pin svg{
    display:block;
    width:1rem;
    height:1rem;
  }
  .spot-location-chip__text{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width: clamp(120px, 45vw, 360px);
  }
  .spot-about{
    margin-top: clamp(1.1rem, 2.8vw, 1.5rem);
    padding: clamp(14px, 2.2vw, 20px);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-base);
  }
  .spot-about__header{
    display:flex;
    align-items:center;
    gap:.55rem;
    margin-bottom:.65rem;
  }
  .spot-about__divider{
    width:3px;
    height:1.2rem;
    border-radius:999px;
    background: linear-gradient(180deg, #a78bfa, #60a5fa);
  }
  .spot-about__title{
    margin:0;
    font-size:clamp(1rem, 2.2vw, 1.12rem);
    font-weight:700;
    line-height:1.35;
    letter-spacing:.01em;
    color:var(--iks-card-meta-title);
  }
  .spot-about__text{
    color:var(--iks-card-meta-meta);
    font-size:.98rem;
    line-height:1.7;
  }
  .spot-about__text p{ margin:0; }
  .spot-about__text p + p{ margin-top:.7rem; }
  .spot-about__content{
    position:relative;
  }
  .spot-about.is-collapsible .spot-about__content{
    overflow:hidden;
  }
  .spot-about.is-collapsible.is-collapsed .spot-about__content{
    max-height: clamp(180px, 28vw, 260px);
  }
  .spot-about.is-collapsible.is-expanded .spot-about__content{
    max-height:none;
    overflow:visible;
  }
  .spot-about__fade{
    position:absolute;
    right:0;
    bottom:0;
    left:0;
    height:72px;
    background: linear-gradient(180deg, rgba(255,255,255,0), #fff 78%);
    pointer-events:none;
    opacity:0;
    transition: opacity .2s ease;
  }
  .spot-about.is-collapsible.is-collapsed .spot-about__fade{
    opacity:1;
  }
  .spot-about.is-collapsible.is-expanded .spot-about__fade{
    display:none;
  }
  .spot-about__toggle{
    appearance:none;
    -webkit-appearance:none;
    margin-top:.95rem;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.4rem;
    min-height:42px;
    padding:0 16px;
    border:1px solid rgba(59,130,246,.18);
    border-radius:999px;
    background:#f8fbff;
    color:#2563eb;
    font-size:.93rem;
    font-weight:700;
    line-height:1;
    cursor:pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  }
  .spot-about__toggle:hover,
  .spot-about__toggle:focus-visible{
    background:#eff6ff;
    border-color:rgba(37,99,235,.28);
    box-shadow:0 10px 18px rgba(37,99,235,.1);
    transform:translateY(-1px);
    outline:none;
  }
  .spot-about__toggle-label{
    display:inline-flex;
    align-items:center;
  }
  .spot-about__text > *{
    max-width:none;
    margin-right:0;
    margin-left:0;
  }
  .spot-about__text :is(h1,h2,h3,h4,h5,h6){
    margin:0 0 .85rem;
    color:var(--iks-card-meta-title);
    line-height:1.45;
    font-weight:700;
    max-width:none;
  }
  .spot-about__text h1{ font-size:clamp(1.35rem, 2.8vw, 2rem); }
  .spot-about__text h2{ font-size:clamp(1.26rem, 2.5vw, 1.76rem); }
  .spot-about__text h3{ font-size:clamp(1.16rem, 2.2vw, 1.46rem); }
  .spot-about__text h4,
  .spot-about__text h5,
  .spot-about__text h6{ font-size:clamp(1.04rem, 2vw, 1.22rem); }
  .spot-about__text :is(ul,ol){
    padding-left:1.2rem;
  }
  .spot-about__text li + li{
    margin-top:.45rem;
  }
  /* 一覧・詳細・下部フィルターで共有するカテゴリ配色。 */
  :is(.spot-category-pill, .location-archive-header__tag[data-spot-category]){
    --iks-spot-category-text:var(--iks-spot-category-badge-text);
    --iks-spot-category-bg:var(--iks-spot-category-badge-bg);
    --iks-spot-category-border:var(--iks-spot-category-badge-border);
    --iks-spot-category-shadow:rgba(29,78,216,.22);
  }
  .location-archive-header__tag[data-spot-category]{
    --iks-mobile-shell-tag-accent:var(--iks-spot-category-bg);
    --iks-mobile-shell-tag-ink:var(--iks-spot-category-text);
  }
  :is(.spot-category-pill[data-cat-label="公園"], .location-archive-header__tag[data-spot-category-label="公園"]){ --iks-spot-category-text:#ffffff; --iks-spot-category-bg:#22c55e; --iks-spot-category-border:#22c55e; --iks-spot-category-shadow:rgba(34,197,94,.24); }
  :is(.spot-category-pill[data-cat-label="キッズパーク"], .location-archive-header__tag[data-spot-category-label="キッズパーク"]){ --iks-spot-category-text:#111827; --iks-spot-category-bg:#f59e0b; --iks-spot-category-border:#f59e0b; --iks-spot-category-shadow:rgba(245,158,11,.26); }
  :is(.spot-category-pill[data-cat-label="公共施設"], .location-archive-header__tag[data-spot-category-label="公共施設"]){ --iks-spot-category-text:#ffffff; --iks-spot-category-bg:#14b8a6; --iks-spot-category-border:#14b8a6; --iks-spot-category-shadow:rgba(20,184,166,.24); }
  :is(.spot-category-pill[data-cat-label="ホテル"], .spot-category-pill[data-cat-label="宿泊"], .location-archive-header__tag[data-spot-category-label="ホテル"], .location-archive-header__tag[data-spot-category-label="宿泊"]){ --iks-spot-category-text:#ffffff; --iks-spot-category-bg:#db2777; --iks-spot-category-border:#db2777; --iks-spot-category-shadow:rgba(219,39,119,.24); }
  :is(.spot-category-pill[data-cat-label="動物園"], .location-archive-header__tag[data-spot-category-label="動物園"]){ --iks-spot-category-text:#111827; --iks-spot-category-bg:#84cc16; --iks-spot-category-border:#84cc16; --iks-spot-category-shadow:rgba(132,204,22,.26); }
  :is(.spot-category-pill[data-cat-label="水族館"], .location-archive-header__tag[data-spot-category-label="水族館"]){ --iks-spot-category-text:#ffffff; --iks-spot-category-bg:#0891b2; --iks-spot-category-border:#0891b2; --iks-spot-category-shadow:rgba(8,145,178,.24); }
  :is(.spot-category-pill[data-cat-label="アウトドア"], .location-archive-header__tag[data-spot-category-label="アウトドア"]){ --iks-spot-category-text:#ffffff; --iks-spot-category-bg:#a16207; --iks-spot-category-border:#a16207; --iks-spot-category-shadow:rgba(161,98,7,.24); }
  :is(.spot-category-pill[data-cat-label="商業施設"], .location-archive-header__tag[data-spot-category-label="商業施設"]){ --iks-spot-category-text:#ffffff; --iks-spot-category-bg:#64748b; --iks-spot-category-border:#64748b; --iks-spot-category-shadow:rgba(100,116,139,.24); }
  :is(.spot-category-pill[data-cat-label="室内遊び場"], .location-archive-header__tag[data-spot-category-label="室内遊び場"]){ --iks-spot-category-text:#ffffff; --iks-spot-category-bg:#2563eb; --iks-spot-category-border:#2563eb; --iks-spot-category-shadow:rgba(37,99,235,.24); }
  :is(.spot-category-pill[data-cat-label="テーマパーク"], .location-archive-header__tag[data-spot-category-label="テーマパーク"]){ --iks-spot-category-text:#ffffff; --iks-spot-category-bg:#dc2626; --iks-spot-category-border:#dc2626; --iks-spot-category-shadow:rgba(220,38,38,.24); }
  :is(.spot-category-pill[data-cat-label="体験施設"], .location-archive-header__tag[data-spot-category-label="体験施設"]){ --iks-spot-category-text:#ffffff; --iks-spot-category-bg:#7c3aed; --iks-spot-category-border:#7c3aed; --iks-spot-category-shadow:rgba(124,58,237,.24); }
  :is(.spot-category-pill[data-cat-label="乗り物"], .location-archive-header__tag[data-spot-category-label="乗り物"]){ --iks-spot-category-text:#ffffff; --iks-spot-category-bg:#ea580c; --iks-spot-category-border:#ea580c; --iks-spot-category-shadow:rgba(234,88,12,.24); }
  :is(.spot-category-pill[data-cat-label="科学／博物館"], .spot-category-pill[data-cat-label="科学/博物館"], .location-archive-header__tag[data-spot-category-label="科学／博物館"], .location-archive-header__tag[data-spot-category-label="科学/博物館"]){ --iks-spot-category-text:#ffffff; --iks-spot-category-bg:#4f46e5; --iks-spot-category-border:#4f46e5; --iks-spot-category-shadow:rgba(79,70,229,.24); }
  :is(.spot-category-pill[data-cat-label="植物園"], .location-archive-header__tag[data-spot-category-label="植物園"]){ --iks-spot-category-text:#ffffff; --iks-spot-category-bg:#16a34a; --iks-spot-category-border:#16a34a; --iks-spot-category-shadow:rgba(22,163,74,.24); }
  :is(.spot-category-pill[data-cat-label="キャンプ場"], .location-archive-header__tag[data-spot-category-label="キャンプ場"]){ --iks-spot-category-text:#111827; --iks-spot-category-bg:#f97316; --iks-spot-category-border:#f97316; --iks-spot-category-shadow:rgba(249,115,22,.26); }
  :is(.spot-category-pill[data-cat-label="スポーツ"], .location-archive-header__tag[data-spot-category-label="スポーツ"]){ --iks-spot-category-text:#ffffff; --iks-spot-category-bg:#e11d48; --iks-spot-category-border:#e11d48; --iks-spot-category-shadow:rgba(225,29,72,.24); }
  :is(.spot-category-pill[data-cat-label="温浴施設"], .location-archive-header__tag[data-spot-category-label="温浴施設"]){ --iks-spot-category-text:#ffffff; --iks-spot-category-bg:#0ea5e9; --iks-spot-category-border:#0ea5e9; --iks-spot-category-shadow:rgba(14,165,233,.24); }
  :is(.spot-category-pill[data-cat-label="観光"], .location-archive-header__tag[data-spot-category-label="観光"]){ --iks-spot-category-text:#111827; --iks-spot-category-bg:#facc15; --iks-spot-category-border:#facc15; --iks-spot-category-shadow:rgba(250,204,21,.28); }
  :is(.spot-category-pill[data-cat-label="グルメ"], .location-archive-header__tag[data-spot-category-label="グルメ"]){ --iks-spot-category-text:#ffffff; --iks-spot-category-bg:#ef4444; --iks-spot-category-border:#ef4444; --iks-spot-category-shadow:rgba(239,68,68,.24); }
  .spot-category-pill::before{
    content:none;
    display:none;
  }

  /* お気に入りボタン（機能維持） */
  .fav-btn{
    appearance:none; -webkit-appearance:none;
    width:var(--fav-size, clamp(36px, 4.4vw, 44px));
    height:var(--fav-size, clamp(36px, 4.4vw, 44px));
    padding:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:transparent;
    border:0;
    color:#666;
    box-shadow: none;
    cursor:pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color .15s ease, border-color .15s ease, box-shadow .15s ease,
              transform .15s ease, background-color .15s ease;
    transform: translateY(var(--fav-nudge-y, 0));
    flex:0 0 auto;
    line-height:1;
    aspect-ratio:1/1;
  }
  .fav-btn .fav-label{
    position:absolute;
    width:1px; height:1px;
    padding:0; margin:-1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
    clip-path: inset(50%);
    white-space:nowrap;
    border:0;
  }
  .fav-btn svg{ display:block; width:62%; height:62%; }
  .fav-btn .fav-icon{
    width:60%;
    height:60%;
    display:block;
    margin:auto;
    transform-origin: 50% 50%;
    transform: translate(
      var(--fav-icon-shift-x, 0.5px),
      var(--fav-icon-shift-y, 0.5px)
    ); /* optical centering within circular button */
  }
  .fav-btn svg path{
    fill:#fff;
    stroke: currentColor;
    stroke-width:1.6;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  .fav-btn:not(:has(svg))::before{
    content:"?"; font-size: calc(var(--fav-size) * 0.52); line-height:1;
    display:block; transform: translateY(0);
    color: currentColor;
  }
  @media (hover:hover){
    .fav-btn:hover{ transform: translateY(calc(var(--fav-nudge-y, 0) - 1px)); }
  }
  .fav-btn.is-active{ color:#e11d48; }
  .fav-btn.is-active svg path{ fill: currentColor; stroke: none; }
  .fav-btn:active{ transform:translateY(var(--fav-nudge-y, 0)); }
  .fav-btn:focus-visible{ outline:2px solid rgba(225,29,72,.35); outline-offset:2px; }

/* Book Your Stay (single spot) */
.spot-booking{
  margin: clamp(18px, 2.4vw, 28px) 0 0;
  padding: clamp(12px, 2.2vw, 18px);
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}
.spot-booking__inner{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}
.spot-booking__meta{
  flex: 1 1 auto;
  min-width: 0;
}
.spot-booking__eyebrow{
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .10em;
  color: #c2410c;
  text-transform: uppercase;
}
.spot-booking__title{
  margin: .35rem 0 .85rem;
  font-size: clamp(1.02rem, 2.3vw, 1.2rem);
  font-weight: 900;
  line-height: 1.25;
  color: #0f172a;
}
.spot-booking__actions{
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.spot-booking__btn{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .62rem .95rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 900;
  font-size: .92rem;
  line-height: 1;
  border: 1px solid transparent;
  box-shadow: 0 8px 18px rgba(15,23,42,.12);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  -webkit-tap-highlight-color: transparent;
}
@media (hover:hover){
  .spot-booking__btn:hover{
    transform: translateY(-1px);
    filter: brightness(1.02);
  }
}
.spot-booking__btn:active{
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(15,23,42,.12);
}
.spot-booking__btn--rakuten{
  background: #d7000f;
}
.spot-booking__btn--jalan{
  background: #ff8a00;
}
.spot-booking__icon{
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(15,23,42,.08);
  display: grid;
  place-items: center;
  color: rgba(15,23,42,.28);
}
.spot-booking__icon svg{
  width: 44px;
  height: 44px;
  display: block;
}
@media (max-width:768px){
  .spot-booking{
    border-radius: 16px;
    padding: 12px;
  }
  .spot-booking__title{
    margin-bottom: .75rem;
    font-size: 1rem;
  }
  .spot-booking__btn{
    font-size: .9rem;
    padding: .6rem .9rem;
  }
  .spot-booking__icon{
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }
  .spot-booking__icon svg{
    width: 38px;
    height: 38px;
  }
}

  /* Equipment check (detail view) */
  .spot-equipment{
    margin: clamp(18px, 2.4vw, 28px) 0 clamp(14px, 2vw, 22px);
    padding: clamp(12px, 2.2vw, 18px);
    background: #f4f6ff;
    border: 1px solid #d7e0ff;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15,23,42,.06);
  }
  .spot-equipment__title{
    margin: 0 0 10px;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: .01em;
  }
  .spot-equipment__list{
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .spot-equipment__row{
    --equip-fg: #0f172a;
    --equip-bg: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid #e5e7eb;
  }
  .spot-equipment__row:first-child{
    border-top: 0;
    padding-top: 6px;
  }
  .spot-equipment__label{
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
    font-weight: 700;
    color: #0f172a;
  }
  .spot-equipment__icon{
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--equip-bg);
    color: var(--equip-fg);
    flex: 0 0 auto;
  }
  .spot-equipment__icon svg{
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
  }
  .spot-equipment__text{
    font-size: .98rem;
    white-space: nowrap;
  }
  .spot-equipment__status{
    flex: 0 0 auto;
    margin-left: auto;
    font-weight: 800;
    color: var(--equip-fg);
    font-size: .95rem;
    white-space: nowrap;
  }
  .spot-equipment__row--green{ --equip-fg:#16a34a; --equip-bg:#eafaf1; }
  .spot-equipment__row--blue{ --equip-fg:#2563eb; --equip-bg:#e7f0ff; }
  .spot-equipment__row--pink{ --equip-fg:#ec4899; --equip-bg:#fce7f3; }
  .spot-equipment__row--purple{ --equip-fg:#7c3aed; --equip-bg:#ede9fe; }
  .spot-equipment__row.is-inactive{ --equip-fg:#94a3b8; --equip-bg:#f1f5f9; }
  @media (max-width:768px){
    .spot-equipment{
      border-radius: 16px;
      padding: 12px;
    }
    .spot-equipment__title{
      font-size: 1rem;
    }
    .spot-equipment__row{
      padding: 8px 0;
    }
    .spot-equipment__icon{
      width: 28px;
      height: 28px;
    }
    .spot-equipment__icon svg{
      width: 16px;
      height: 16px;
    }
    .spot-equipment__text{
      font-size: .94rem;
    }
    .spot-equipment__status{
      font-size: .92rem;
    }
  }

  /* モバイル微調整（タイトル控えめ） */
  @media (max-width:768px){
    .tax-location .spot-card .spot-title,
    .spot-title-heading{
      font-size: clamp(22px, 6.8vw, 32px);
      line-height: 1.20;
      margin: clamp(18px, 4vw, 24px) 0 0;
      padding: 0;
      letter-spacing: .01em;
      font-weight: 800;
      color:var(--iks-card-meta-title);
      white-space: normal;
      overflow: visible;
      text-overflow: clip;
      cursor: pointer;
    }
    .spot-title-row{
      min-height: var(--fav-size, 42px);
      margin-bottom: clamp(28px, 6vw, 42px);
      padding-top: clamp(12px, 4vw, 24px);
      padding-left: 0;
      padding-right: 0;
    }
    .spot-title-row .fav-btn{ --fav-nudge-y: -2px; }
  }
  @media (max-width:360px){
    .spot-title-heading{
      font-size: clamp(19px, 6.5vw, 26px);
      letter-spacing:.01em;
    }
  }

  /* =============== 5) Media（Instagram / Google Map） =============== */

  /* Instagram 横スクロール（一覧時） */
  .insta-scroll{
    display:flex; gap:1rem; overflow-x:auto; overscroll-behavior-x:contain;
    padding-bottom:.75rem; scrollbar-width:thin; background:#f1f5f9;
  }
  .insta-scroll::-webkit-scrollbar{ height:8px; }
  .insta-scroll::-webkit-scrollbar-thumb{ background:#bbb; border-radius:4px; }
  .insta-card{ flex:0 0 320px; max-width:100%; }
  .insta-card blockquote.instagram-media{ width:100%; max-width:100%; margin:0; }

  /* Map（単体） */
  .map-wrap{
    position:relative; width:100%;
    padding-top:0;
    height: clamp(var(--map-min), var(--map-wrap-current), var(--map-max));
    border-radius: var(--card-radius) var(--card-radius) 0 0;
    overflow:hidden;
    line-height:0;
    background:#dde6f2;
  }
  .map-wrap iframe,
  .map-wrap .gmap{
    position:absolute; top:0; right:0; bottom:0; left:0;
    width:100%; border:0; border-radius:inherit;
    z-index: 1;
  }
  @supports (height:1svh){
    .map-wrap{ height: clamp(var(--map-min), var(--map-wrap-svh), var(--map-max)); }
  }

  .map-slider-wrap{ position:relative; }
  .map-reload-btn{
    z-index:12;
    display:none;
    align-items:center;
    justify-content:center;
    width:32px;
    height:32px;
    padding:0;
    border-radius:999px;
    border:1px solid rgba(15,23,42,.18);
    background:rgba(255,255,255,.92);
    color:#0f172a;
    line-height:1;
    cursor:pointer;
    box-shadow:0 6px 16px rgba(15,23,42,.18);
    pointer-events:auto;
  }
  .map-reload-btn__icon{ display:inline-flex; }
  .map-reload-btn__icon svg{
    width:18px;
    height:18px;
    display:block;
  }
  .map-reload-btn__icon svg path{
    fill:currentColor;
    stroke:none;
  }
  .map-reload-btn:hover{ background:#fff; border-color:rgba(15,23,42,.28); }
  .map-reload-btn:focus-visible{ outline:2px solid rgba(59,130,246,.8); outline-offset:2px; }
  .map-reload-btn--grid{
    position:absolute;
    left:8px;
    bottom:8px;
    box-shadow:0 4px 10px rgba(15,23,42,.2);
  }
  .map-reload-btn--grid .map-reload-btn__icon svg{ width:18px; height:18px; }

  /* 画像・動画なしのプレースホルダー */
  .map-wrap .spot-media-placeholder,
  .map-slide .spot-media-placeholder,
  .spot-media.spot-image .spot-media-placeholder,
  .spot-grid-card__media--empty .spot-media-placeholder{
    position:absolute; inset:0;
    display:grid; place-items:center;
    text-align:center; padding:0 1rem;
    background-color:#1e293b;
    background-image: var(--placeholder-image, none);
    background-size: cover;
    background-position: center;
    color:#fff;
    line-height:1.5; font-weight:800;
    font-size:clamp(1rem, 2.4vw, 1.4rem);
    border-radius:inherit; z-index:2;
    overflow:hidden;
  }
  .spot-media-placeholder::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(15, 23, 42, 0.35);
  }
  .spot-media-placeholder__label{
    position:relative;
    z-index:1;
    padding:.3em .85em;
    border-radius:999px;
    background:rgba(15, 23, 42, 0.55);
    letter-spacing:.12em;
  }

  /* Media Switcher（Map / Insta 切替） */
  .media-switcher{ position:relative; width:100%; height:100%; overflow: visible; }
  .media-pane{ position:absolute; inset:0; z-index:0; }
  .media-pane[hidden]{ display:none; }
  .spot-card .media-pane[data-pane="insta"]:not([hidden]){ background:#000; }

  /* ▼ Cardsレイアウト内：Instaを全画面化（制限解除） */
  .cards-layout .spot-card .media-switcher .insta-media{
    padding-inline: 0;
    height: 100%;
    max-height: none;
    overflow: hidden;
    background: #000;
  }

  /* Insta 横スライダー（縦ページャ内の1件表示用） */
  .cards-layout .spot-card .media-switcher [data-pane="insta"] .insta-scroll{
    height: 100%;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    background: #000;
  }
  .cards-layout .spot-card .media-switcher [data-pane="insta"] .insta-card{
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    scroll-snap-align: start;
    overflow: hidden;
    background:#000;
  }

  /* ▼ Instaカードを“縮小して枠に収める”ためのラッパ */
  .cards-layout .spot-card .media-switcher [data-pane="insta"] .insta-card .insta-fit,
  .cards-layout .spot-card .media-switcher [data-pane="insta"] .insta-card .insta-fitter{
    position: static;
    transform: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
  /* 埋め込みの位置を通常フローに戻す */
  .cards-layout .spot-card .media-switcher [data-pane="insta"] .insta-card .insta-fit > iframe,
  .cards-layout .spot-card .media-switcher [data-pane="insta"] .insta-card .insta-fitter > iframe,
  .cards-layout .spot-card .media-switcher [data-pane="insta"] .insta-card .insta-fit > blockquote.instagram-media,
  .cards-layout .spot-card .media-switcher [data-pane="insta"] .insta-card .insta-fitter > blockquote.instagram-media{
    position: static;
    top: auto; left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    border: 0;
  }

  /* メディア切替トグル */
  .media-switcher .media-toggle{
    position:absolute;
    left: var(--media-toggle-left);
    bottom: calc(var(--media-toggle-bottom) + 56px);
    display:inline-flex;
    align-items:center;
    gap:2px;
    padding:3px 4px;
    border-radius:999px;
    background: var(--media-toggle-bg);
    box-shadow: var(--media-toggle-shadow);
    font-size:.78rem;
    line-height:1.2;
    font-weight:700;
    color: var(--media-toggle-inactive-fg);
    z-index:1000;
    user-select:none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .media-toggle__btn{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:68px;
    padding:5px 11px;
    border:0;
    border-radius:999px;
    background: var(--media-toggle-pill-bg);
    color: var(--media-toggle-inactive-fg);
    font:inherit;
    font-weight:700;
    line-height:1.1;
    cursor:pointer;
    transition:
      background-color .15s ease,
      color .15s ease,
      box-shadow .15s ease,
      transform .15s ease;
  }
  .media-toggle__btn.is-active{
    background: var(--media-toggle-active-bg);
    color: var(--media-toggle-active-fg);
    box-shadow: 0 6px 14px rgba(24,62,132,.32);
    transform: translateY(-1px);
  }
  @media (hover:hover){
    .media-toggle__btn:not(.is-active):hover{ background: rgba(255,255,255,.92); }
  }
  .media-toggle__btn:focus-visible{
    outline:2px solid rgba(47,116,255,.9);
    outline-offset:2px;
  }
  .media-toggle__btn:active{ transform:translateY(0); }
  .media-toggle__btn.is-active:active{ transform:translateY(0); }
  @media (max-width:480px){
    .media-toggle__btn{
      min-width:0;
      padding:4px 9px;
      font-size:.72rem;
    }
  }

  /* =============== 6) Cards Layout（1画面に押し込まない） =============== */
  .cards-layout{
    --card-pad: clamp(14px, 2vw, 22px);
    --map-h: 72svh;
    --insta-max: 26svh;
  }
  .cards-layout .spot-card{
    --spot-card-right-overhang: 0px;
    box-sizing:border-box; position:relative; width:100%; max-width:none; height:auto;
    margin-block: var(--card-gap-y); margin-inline:0;
    display:grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: var(--map-h) auto auto;
    grid-template-areas:
      "media"
      "header"
      "body";
    align-content:start; background: var(--iks-card-meta-bg);
    border: 1px solid var(--iks-card-meta-border); border-left: 0; border-right: 0; border-top: 0;
    border-radius: var(--card-radius); box-shadow: var(--card-shadow);
    overflow:hidden; min-height: var(--card-min-h); min-width: 0;
  }
  .cards-layout .spot-card[data-has-map="0"][data-has-insta="1"]{
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "media"
      "header"
      "body";
  }
  .cards-layout .spot-card > .spot-media{ grid-area: media; min-width: 0; }
  .cards-layout .spot-card > .spot-header{ grid-area: header; min-width: 0; }
  .cards-layout .spot-card > .spot-body{ grid-area: body; min-width: 0; }
  .cards-layout .spot-media{ position:relative; background:#dde6f2; }

  .cards-layout .spot-card > :where(.spot-header,
                                    .spot-title-heading,
                                    .spot-body){
    max-width:none; margin:0; padding-inline: var(--card-pad); text-align:left;
  }
  .cards-layout .spot-header{
    --spot-title-row-edge-offset: max(0px, calc(var(--card-pad) - var(--spot-card-right-overhang, 0px)));
    --spot-header-gap: clamp(6px, 1.2vw, 14px);
    padding-top: calc(var(--card-pad) + 3px);
    padding-bottom: 0;
    background: var(--iks-card-meta-bg);
    color: var(--iks-card-meta-title);
    display:flex;
    flex-direction:column;
    gap: var(--spot-header-gap);
    position: relative;
    min-width: 0;
  }
  .cards-layout .spot-header::before{
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a78bfa 0%, #60a5fa 50%, #34d399 100%);
  }
  .cards-layout .spot-body{
    /* expose real distance to the viewport edge for descendants (header already exposes it) */
    padding: 0 var(--card-pad) var(--card-pad);
    position: relative;
    z-index: 2;
    background: var(--iks-card-meta-bg);
    color: var(--iks-card-meta-meta);
    min-width: 0;
  }

  .cards-layout .spot-card > .spot-body:empty{ display:none; }
  .cards-layout .spot-card > .spot-media{ padding-inline:0; }

  .cards-layout .spot-card .spot-media.spot-image{
    border-bottom-left-radius:0; border-bottom-right-radius:0;
    height: var(--map-h); overflow:hidden;
  }
  .cards-layout .spot-card .map-wrap,
  .cards-layout .spot-card .map-slide{ height:100%; border-radius: var(--card-radius) var(--card-radius) 0 0; overflow:hidden; }
  .cards-layout .spot-card .map-wrap iframe,
  .cards-layout .spot-card .map-slide iframe,
  .cards-layout .spot-card .map-wrap .gmap,
  .cards-layout .spot-card .map-slide .gmap{ width:100%; height:100%; border-radius:inherit; }

  /* Instagram は過伸長を抑える（一覧のデフォルト） */
  .cards-layout .spot-card .insta-media{
    padding-inline: var(--card-pad); background:transparent;
    max-height: var(--insta-max); overflow:auto;
  }
  .cards-layout .spot-card .media-switcher[data-state="insta"] .insta-media{
    max-height: none;
    overflow: hidden;
  }
  .cards-layout .spot-card .media-switcher[data-state="insta"] .insta-scroll{
    height: auto;
    overflow-x: auto;
    overflow-y: visible;
  }
  .cards-layout .spot-card .media-switcher[data-state="insta"] .insta-card{
    height: auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
  }
  .cards-layout .spot-card .media-switcher[data-state="insta"] .insta-card iframe,
  .cards-layout .spot-card .media-switcher[data-state="insta"] .insta-card blockquote.instagram-media{
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
  }

  /* Insta active: allow natural (portrait) embed height without :has() */
  .cards-layout .spot-card.is-insta-active .spot-media.spot-image{
    height: auto;
    min-height: 0;
    overflow: visible;
    background: #000;
  }
  .cards-layout .spot-card.is-insta-active .media-switcher{
    height: auto;
  }
  .cards-layout .spot-card.is-insta-active .media-pane[data-pane="insta"]{
    position: static;
    height: auto;
  }
  .cards-layout .spot-card.is-insta-active .insta-media{
    padding-inline: 0;
    height: auto;
    max-height: none;
    overflow: hidden;
    background: #000;
  }
  .cards-layout .spot-card.is-insta-active .media-switcher [data-pane="insta"] .insta-scroll{
    height: auto;
    overflow-x: auto;
    overflow-y: visible;
    padding: 12px 0 16px;
    background: #000;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .cards-layout .spot-card.is-insta-active .media-switcher [data-pane="insta"] .insta-card{
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: #000;
    scroll-snap-align: start;
  }

  /* Insta only cards: same auto-height treatment without relying on JS */
  .cards-layout .spot-card[data-has-map="0"][data-has-insta="1"] .spot-media.spot-image{
    height: auto;
    min-height: 0;
    overflow: visible;
    background: #000;
  }
  .cards-layout .spot-card[data-has-map="0"][data-has-insta="1"] .media-switcher{
    height: auto;
  }
  .cards-layout .spot-card[data-has-map="0"][data-has-insta="1"] .media-pane[data-pane="insta"]{
    position: static;
    height: auto;
  }
  .cards-layout .spot-card[data-has-map="0"][data-has-insta="1"] .insta-media{
    padding-inline: 0;
    height: auto;
    max-height: none;
    overflow: hidden;
    background: #000;
  }
  .cards-layout .spot-card[data-has-map="0"][data-has-insta="1"] .media-switcher [data-pane="insta"] .insta-scroll{
    height: auto;
    overflow-x: auto;
    overflow-y: visible;
    padding: 12px 0 16px;
    background: #000;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .cards-layout .spot-card[data-has-map="0"][data-has-insta="1"] .media-switcher [data-pane="insta"] .insta-card{
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: #000;
    scroll-snap-align: start;
  }

  /* 長文化ガード */
  .cards-layout .spot-card .spot-body{ overflow:hidden; text-overflow:ellipsis; word-break:break-word; }
  /* 詳細系は末尾のセクションが切れないようにする */
  body.single-spot .cards-layout .spot-card .spot-body,
  .location-archive.is-detail-open .spot-card .spot-body{ overflow: visible; }

  .spot-contact{
    padding: 1.1rem 1rem 1.2rem;
    margin-top: clamp(1.2rem, 3vw, 1.6rem);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-base);
  }
  .spot-contact__header{
    display:flex;
    align-items:center;
    gap:.6rem;
    margin-bottom:.65rem;
  }
  .spot-contact__divider{
    width:3px;
    height:1.6rem;
    border-radius:999px;
    background: linear-gradient(180deg, #60a5fa, #34d399);
  }
  .spot-contact__title{
    margin:0;
    font-size:clamp(1.1rem, 3vw, 1.35rem);
    font-weight:800;
    color:#0f172a;
  }
  .spot-contact__rows{
    display:flex;
    flex-direction:column;
    gap:.9rem;
  }
  .spot-contact__row{
    display:flex;
    gap:.9rem;
    align-items:flex-start;
  }
  .spot-contact__row--access .spot-contact__icon{
    background:#dbeafe;
    color:#1d4ed8;
  }
  .spot-contact__row--address .spot-contact__icon{
    background:#ede9fe;
    color:#7c3aed;
  }
  .spot-contact__icon{
    width:44px;
    min-width:44px;
    height:44px;
    border-radius:14px;
    background:#f8fafc;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#475569;
  }
  .spot-contact__icon svg{
    width:1.25rem;
    height:1.25rem;
  }
  .spot-contact__content{
    flex:1;
  }
  .spot-contact__label{
    margin:0;
    font-size:.78rem;
    font-weight:700;
    color:#94a3b8;
    letter-spacing:.02em;
  }
  .spot-contact__text{
    margin:4px 0 0;
    font-size:.98rem;
    color:#0f172a;
    line-height:1.6;
  }


  .spot-business{
    margin-top: clamp(1.2rem, 3vw, 1.6rem);
    padding: 1.25rem 1rem 1.4rem;
    border-radius: 18px;
    border: 1px solid rgba(15,23,42,.08);
    background: #fff;
    box-shadow: var(--shadow-base);
  }
  .spot-business__rows{
    display:flex;
    flex-direction:column;
    gap:1rem;
  }
  .spot-business__row{
    display:flex;
    gap:.85rem;
    align-items:flex-start;
  }
  .spot-business__row--hours .spot-business__icon{
    background:#eef2ff;
    color:#4338ca;
  }
  .spot-business__row--holiday .spot-business__icon{
    background:#fee2e2;
    color:#dc2626;
  }
  .spot-business__icon{
    width:44px;
    min-width:44px;
    height:44px;
    border-radius:14px;
    background:#eef2ff;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#4338ca;
  }
  .spot-business__icon svg{
    width:1.25rem;
    height:1.25rem;
  }
  .spot-business__content{
    flex:1;
  }
  .spot-business__label{
    margin:0;
    font-size:.78rem;
    font-weight:700;
    color:#94a3b8;
    letter-spacing:.02em;
  }
  .spot-business__text{
    margin:4px 0 0;
    font-size:.98rem;
    color:#0f172a;
    line-height:1.5;
  }
  .spot-business__button{
    margin-top:1.15rem;
    width:100%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.5rem;
    padding:.65rem 1.1rem;
    border-radius:999px;
    border:0;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color:#fff;
    font-size:.95rem;
    font-weight:700;
    text-decoration:none;
    box-shadow:0 8px 20px rgba(99,102,241,.35);
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .spot-business__button:hover{
    transform: translateY(-1px);
    box-shadow:0 12px 26px rgba(99,102,241,.45);
  }
  .spot-business__button:focus-visible{
    outline:2px solid rgba(79,70,229,.6);
    outline-offset:2px;
  }
  .spot-business__button-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  .spot-business__button.is-disabled{
    background:#e2e8f0;
    color:#94a3b8;
    box-shadow:none;
    cursor:not-allowed;
  }

  /* Description は全カード同一の扱い */
  /* どんな埋め込みでも最低高さは維持 */
  .cards-layout .spot-card .spot-media.spot-image{
    min-height: clamp(var(--map-min), var(--map-h), var(--map-max));
  }

  /* Insta表示時は高さ制限を解除して全表示 */
  .cards-layout .spot-card:has(.media-switcher[data-state="insta"]),
  .cards-layout .spot-card.is-insta-active{
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "media"
      "header"
      "body";
  }
  .cards-layout .spot-card .spot-media.spot-image:has(.media-switcher[data-state="insta"]){
    height: auto;
    min-height: 0;
    overflow: visible;
    background: #000;
  }
  .cards-layout .spot-card .media-switcher[data-state="insta"]{
    height: auto;
  }
  .cards-layout .spot-card .media-switcher[data-state="insta"] .media-pane[data-pane="insta"]{
    position: static;
    height: auto;
  }

  @media (max-width:768px){
    .spot-contact{
      padding: 1rem .9rem 1.05rem;
    }
    .spot-contact__row{
      gap:.65rem;
    }
    .spot-contact__icon{
      width:38px;
      height:38px;
    }
    .spot-contact__text{
      font-size:.92rem;
    }
    .spot-business__icon{
      width:36px;
      height:36px;
    }
    .spot-business__button{
      padding:.55rem 1rem;
    }
  }

  @media (max-width:768px){
    .cards-layout{
      --map-h: var(--map-mobile-clamp, clamp(360px, 66vh, 520px));
    }
  }

  @media (max-width:480px){
    .cards-layout{
      --map-h: var(--map-mobile-clamp, clamp(320px, 70vh, 460px));
    }
  }

  /* Spot grid picker (taxonomy-location) */
  .spot-grid{
    display:flex;
    flex-direction:column;
    gap:16px;
    padding: 0 12px 18px;
  }
  /* JSで hidden 属性を付与しても、.spot-grid側で display を指定しているため明示的に非表示化 */
  .spot-grid[hidden]{
    display:none;
  }
  .spot-grid__cards{
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:16px;
  }
  @media (max-width:720px){
    .spot-grid__cards{ grid-template-columns: repeat(1, minmax(0, 1fr)); }
  }
  .spot-grid-card{
    --grid-pad: 16px;
    --grid-radius: 14px;
    --grid-google-map-h: clamp(300px, 36vw, 460px);
    position:relative;
    display:flex;
    flex-direction:column;
    gap:14px;
    padding:var(--grid-pad);
    min-height:260px;
    border-radius: var(--grid-radius);
    background:var(--iks-card-meta-bg);
    border:1px solid var(--iks-card-meta-border);
    box-shadow: var(--grid-card-shadow, 0 14px 36px rgba(0,0,0,.08));
    cursor:pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  }
  @media (max-width:768px){
    .spot-grid-card{
      --grid-google-map-h: var(--map-mobile-clamp, clamp(360px, 66vh, 520px));
    }
  }
  @media (max-width:480px){
    .spot-grid-card{
      --grid-google-map-h: var(--map-mobile-clamp, clamp(320px, 70vh, 460px));
    }
  }
  .spot-grid-card:focus-visible{
    outline:2px solid var(--brand, #fb7185);
    outline-offset:3px;
  }
  .spot-grid-card:hover{
    transform: translateY(-2px);
    box-shadow: var(--grid-card-shadow-hover, 0 18px 44px rgba(0,0,0,.12));
  }
  .spot-grid-card.is-active{
    border-color: rgba(58,44,42,.22);
    box-shadow: var(--grid-card-shadow-active, 0 18px 44px rgba(58,44,42,.18));
    background: linear-gradient(180deg, rgba(255,255,255,.42), var(--iks-card-meta-bg));
  }
  .spot-grid-card__eyebrow{
    display:flex;
    align-items:flex-start;
    min-height:45px;
    padding-right:var(--grid-fav-space, 56px);
  }
  .spot-grid-card__title-row{
    display:flex;
    min-width:0;
  }
  .spot-grid-card__heading{
    display:flex;
    flex-direction:column;
    gap:6px;
    flex:1 1 auto;
    min-width:0;
  }

  /* Grid card: category badge + location row */
  .spot-grid-card .spot-category-row{
    margin:0;
    padding-left:0;
    padding-right:0;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  .spot-grid-card .spot-location-chip__text{
    max-width: clamp(120px, 42vw, 260px);
  }

  .spot-grid-card__heading .spot-category-pill{
    align-self:flex-start;
  }
  .spot-grid-card .spot-category-pill::before,
  .spot-grid-card__heading .spot-category-pill::before{
    content:none;
    display:none;
  }
  .spot-grid-card__spot{
    font-size:clamp(1.2rem, 2.4vw, 1.6rem);
    font-weight:800;
    color:var(--iks-card-meta-title);

    text-decoration:none;
    line-height:1.3;
    display:-webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
    overflow:hidden;
    text-overflow: ellipsis;
    cursor:pointer;
    flex:1 1 auto;
    min-width:0;
    word-break:break-word;
  }
  .spot-grid-card__spot.is-expanded{
    display:block;
    white-space:normal;
    -webkit-line-clamp:unset;
    -webkit-box-orient:unset;
    overflow:visible;
    text-overflow:clip;
  }
  .spot-grid-card .fav-btn{
    --fav-size: 45px;
    --fav-nudge-y: 0;
    box-shadow:none;
    position: relative;
    transform: translateY(0);
  }
  .spot-grid-card__actions{
    position:absolute;
    right:var(--grid-pad, 16px);
    bottom:var(--grid-pad, 16px);
    z-index:4;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    margin:0;
    min-height:0;
    pointer-events:none;
  }
  .spot-grid-card__actions .fav-btn{
    pointer-events:auto;
  }
  @media (hover:hover){
    .spot-grid-card .fav-btn:hover{
      transform: translateY(-1px);
    }
  }
  .spot-grid-card .fav-btn:active{
    transform: translateY(0);
  }
  .spot-grid-card__media{
    --caption-top-pc: clamp(28px, 10%, 96px);
    --caption-top-tab: clamp(28px, 10%, 88px);
    --caption-top-sp: clamp(36px, 16%, 96px);
    --grid-media-ratio: 16 / 9;
    position:relative;
    background:#dde6f2;
    touch-action: pan-y; /* allow page scroll when starting on media */

    /* Full-bleed media between the title and footer rows. */
    margin: 0 calc(var(--grid-pad) * -1);

    border-radius:0;

    padding:0;
    overflow:hidden;
    min-height:140px;
    aspect-ratio: var(--grid-media-ratio);
  }
  .spot-grid-card__overlay-caption{
    padding-inline: clamp(.75rem, 2.4vw, 1rem);
  }
  .spot-grid-card__overlay-caption .caption-reveal{
    display:block;
  }
  .spot-grid-card__overlay-caption .caption-text{
    display:block;
    width:min(100%, 30ch);
    margin-inline:auto;
    white-space:normal;
    line-height:1.45;
    max-height:calc(1em * 1.45 * 3);
    overflow:hidden;
  }
  .spot-grid-card__media-frame{
    position:relative;
    width:100%;
    aspect-ratio: 16 / 9;
    overflow:hidden;
    touch-action: pan-y;

    /* Media wrapper already clips corners */
    border-radius:0;

    background:#dde6f2;
  }
  .spot-grid-card[data-has-google-map="1"] .spot-grid-card__media,
  .spot-grid-card__media--google-map{
    aspect-ratio:auto;
    height:var(--grid-google-map-h);
    min-height:var(--grid-google-map-h);
  }
  .spot-grid-card[data-has-google-map="1"] .spot-grid-card__media-frame,
  .spot-grid-card__media-frame--google-map{
    aspect-ratio:auto;
    height:100%;
    min-height:100%;
  }
  .spot-grid-card__media-frame iframe,
  .spot-grid-card__media-frame blockquote.instagram-media{
    position:absolute;
    top:0; left:0;
    width:100%;
    height:100%;
    border:0;
    touch-action: pan-y;
  }
  .spot-grid-card__media--instagram,
  .spot-grid-card__media-frame--instagram{
    aspect-ratio: auto;
    height: auto;
    max-height: none;
    border-radius: 0;
    overflow: hidden;
  }
  .spot-grid-card__media-frame--instagram iframe,
  .spot-grid-card__media-frame--instagram blockquote.instagram-media{
    position: static;
    inset: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }
  .spot-grid-card__media-click-catcher{
    position:absolute;
    inset:0;
    z-index:3;
    display:block;
    background:transparent;
    pointer-events:auto;
    cursor:pointer;
    touch-action:pan-y;
  }
  body.is-location-panel-open #locationArchive .spot-grid-card__media-click-catcher{
    pointer-events:none;
  }
  .spot-grid-card[data-has-map="0"][data-has-insta="1"] .spot-grid-card__media{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0 calc(var(--grid-pad) * -1);
    aspect-ratio: auto;
    height: auto;
    min-height: clamp(240px, 34vw, 380px);
    border-radius: 0;
    overflow: hidden;
    background: #000;
  }
  .spot-grid-card[data-has-map="0"][data-has-insta="1"] .spot-grid-card__media-frame{
    position: static;
    aspect-ratio: auto;
    width: min(320px, 100%);
    margin-left: auto;
    margin-right: auto;
    min-height: clamp(240px, 34vw, 380px);
    height: auto;
    border-radius: 0;
    overflow: hidden;
    padding-bottom: 0;
    background: #000;
  }
  .spot-grid-card[data-has-map="0"][data-has-insta="1"] .spot-grid-card__media-frame iframe{
    position: static;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    max-width: 100%;
    margin: 0;
    aspect-ratio: auto;
    vertical-align: top;
  }
  .spot-grid-card[data-has-map="0"][data-has-insta="1"] .spot-grid-card__media-frame blockquote.instagram-media{
    position: static;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    max-width: 100%;
    margin: 0;
    aspect-ratio: auto;
  }
  /* List-view Google Maps are previews: page scroll/card tap must win over iframe gestures. */
  .spot-grid .spot-grid-card[data-has-google-map="1"] .spot-grid-card__media-frame,
  .spot-grid .spot-grid-card__media-frame--google-map{
    touch-action:pan-y;
  }
  .spot-grid .spot-grid-card[data-has-google-map="1"] .spot-grid-card__media-frame::after,
  .spot-grid .spot-grid-card__media-frame--google-map::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:4;
    display:block;
    background:transparent;
    pointer-events:auto;
    touch-action:pan-y;
  }
  .spot-grid .spot-grid-card[data-has-google-map="1"] .spot-grid-card__media-frame iframe,
  .spot-grid .spot-grid-card__media-frame--google-map iframe,
  .spot-grid .spot-grid-card__media-frame:not(.insta) iframe{
    pointer-events:none;
  }
  .spot-grid-card__media--empty{
    position:relative;
    overflow:hidden;
    padding:0;
    background:#dde6f2;
  }
  .spot-grid__hint{
    margin:0;
    padding:0 4px 8px;
    color:#6b7280;
    font-size:.92rem;
  }
  .location-archive-results{
    margin: clamp(16px, 3vw, 24px) clamp(12px, 2vw, 18px) clamp(8px, 1.6vw, 14px);
    display:flex;
    align-items:center;
    gap:6px;
    font-size:.95rem;
    color:#475569;
    font-weight:600;
  }
  /* Results bar: sort (near) button */
  body.tax-location .location-archive-results button.location-archive-results__sort{
    --sort-bg:#ffffff;
    --sort-bd:#e2e8f0;
    --sort-fg:#0f172a;
    --sort-shadow: 0 1px 0 rgba(15,23,42,.05), 0 6px 12px rgba(15,23,42,.08);

    margin-left: 10px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--sort-bd);
    background: linear-gradient(180deg, var(--sort-bg), #f8fafc);
    color: var(--sort-fg);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--sort-shadow);
    user-select: none;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
    letter-spacing: .02em;
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease, color .12s ease, opacity .12s ease;
  }
  body.tax-location .location-archive-results .location-archive-results__sort-text{
    display: block;
    white-space: nowrap;
  }
  @media (hover:hover){
    body.tax-location .location-archive-results button.location-archive-results__sort:hover{
      border-color: #cbd5e1;
      background: linear-gradient(180deg, #ffffff, #eef2ff);
      transform: translateY(-1px);
      box-shadow: 0 2px 0 rgba(15,23,42,.04), 0 12px 22px rgba(15,23,42,.10);
    }
  }
  body.tax-location .location-archive-results button.location-archive-results__sort:active{
    transform: translateY(0);
    box-shadow: 0 1px 0 rgba(15,23,42,.05), 0 6px 14px rgba(15,23,42,.08);
  }
  body.tax-location .location-archive-results button.location-archive-results__sort:focus-visible{
    outline: 2px solid rgba(59,130,246,.35);
    outline-offset: 2px;
  }
  body.tax-location .location-archive-results button.location-archive-results__sort.is-active{
    --sort-bg: var(--badge4-bg);
    --sort-bd: var(--badge4-bd);
    --sort-fg: var(--badge4-fg);
    background: linear-gradient(180deg, var(--sort-bg), rgba(236,253,245,.65));
  }
  body.tax-location .location-archive-results button.location-archive-results__sort:disabled{
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 1px 0 rgba(15,23,42,.04);
  }
  body.tax-location .location-archive-results button.location-archive-results__sort.is-loading::after{
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    display: inline-block;
    animation: iksSpin 0.8s linear infinite;
  }

  body.tax-location .location-archive-results button.location-archive-results__sort.is-hidden{
    display:none;
  }
  #iksViewSliderBtn,
  #iksViewSliderBtnHeaderMobileShell,
  [data-slider-view-toggle-button]{
    display:none;
    pointer-events:none;
    visibility:hidden;
  }
  /* Distance CTA placed under H1 */
  .location-archive-distance{
    margin: clamp(18px, 3vw, 28px) clamp(12px, 2vw, 18px) clamp(14px, 2.4vw, 24px);
    display: flex;
    justify-content: flex-start;
  }
  .location-archive-distance .location-archive-results__sort{
    margin-left: 0;
  }
  @keyframes iksSpin{
    0%{ transform: rotate(0deg); }
    100%{ transform: rotate(360deg); }
  }
  .location-archive.is-detail-open .location-archive-results{
    display:none;
  }
  .spot-grid__loader{
    width:100%;
    height:48px;
    border-radius:12px;
    background: linear-gradient(90deg, rgba(226,232,240,.4), rgba(203,213,225,.6), rgba(226,232,240,.4));
    background-size:200% 100%;
    animation: gridShimmer 1.2s ease-in-out infinite;
  }
  @keyframes gridShimmer{
    0%{ background-position:0 0; }
    100%{ background-position:200% 0; }
  }

  /* =============== 7) Utilities =============== */
  .location-archive{ display:block; }
  .location-archive.spot-one>.spot-card-box{ width:100%; margin:0; }
  .spot-card-box .spot-image{ width:100%; }
  .location-archive.spot-one{ grid-template-columns:none; }
  .location-archive.spot-one>.spot-card-box{ grid-column:auto; }
  .location-archive.is-detail-open{
    width: 100%;
    max-width: none;
    margin: 0;
    padding: var(--iks-topbar-offset, 0px) 0 0;
  }
  .location-archive.is-detail-open .spot-card{
    width: 100%;
    max-width: none;
    margin: 0;
  }
/* 詳細ビュー（taxonomy）＋single spot：Instaを1枚ずつ“縦長＋小さめ”で中央表示（左右に余白）
   - 小さめ表示は維持しつつ、モバイル極小幅では「縮め過ぎ」で切れないように下限を調整
   - Instagram側が inline style で幅を入れるケースがあるため、幅だけ で上書き（例外） */
.location-archive.is-detail-open,
body.single-spot{
  --insta-detail-maxw: min(420px, 92vw);
  --insta-detail-gutter: clamp(12px, 3.2vw, 24px);
  --insta-detail-pad-y: clamp(12px, 2.4vw, 18px);
  --insta-detail-edge-offset: max(
    var(--insta-detail-gutter),
    calc((100% - var(--insta-detail-maxw)) / 2)
  );
}

/* 画面が小さいときは “小さめ” を少し緩めて切れを防ぐ */
@media (max-width:480px){
  .location-archive.is-detail-open,
  body.single-spot{
    --insta-detail-maxw: min(360px, 94vw);
  }
}
@media (max-width:360px){
  .location-archive.is-detail-open,
  body.single-spot{
    --insta-detail-maxw: 100%;
    --insta-detail-gutter: 0px;
  }
}

.location-archive.is-detail-open .spot-card .media-switcher [data-pane="insta"] .insta-scroll,
body.single-spot .spot-card .media-switcher [data-pane="insta"] .insta-scroll{
  width: 100%;
  max-width: none;
  gap: 0;
  scroll-snap-type: x mandatory;
  padding: var(--insta-detail-pad-y) 0;
  background: #000;
  align-items: flex-start;
}

/* 詳細ビュー（Instaの横スクロールバー非表示） */
.location-archive.is-detail-open .spot-card .media-switcher [data-pane="insta"] .insta-scroll,
body.single-spot .spot-card .media-switcher [data-pane="insta"] .insta-scroll{
  scrollbar-width: none;
}
.location-archive.is-detail-open .spot-card .media-switcher [data-pane="insta"] .insta-scroll::-webkit-scrollbar,
body.single-spot .spot-card .media-switcher [data-pane="insta"] .insta-scroll::-webkit-scrollbar{
  display: none;
}

.location-archive.is-detail-open .spot-card .media-switcher [data-pane="insta"] .insta-card,
body.single-spot .spot-card .media-switcher [data-pane="insta"] .insta-card{
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #000;
  padding-inline: var(--insta-detail-gutter);
  box-sizing: border-box;
  overflow: hidden;
}

/* Detail media is an explicit outbound link to the original Instagram post. */
.location-archive.is-detail-open .spot-card .media-switcher [data-pane="insta"] .insta-card,
body.single-spot .spot-card .media-switcher [data-pane="insta"] .insta-card{
  position: relative;
}
.location-archive.is-detail-open .spot-card .media-switcher [data-pane="insta"] .insta-card__hit,
body.single-spot .spot-card .media-switcher [data-pane="insta"] .insta-card__hit{
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  pointer-events: auto;
  touch-action: pan-x pan-y;
  -webkit-tap-highlight-color: transparent;
}
.location-archive.is-detail-open .spot-card .media-switcher [data-pane="insta"] .insta-card__hit:focus-visible,
body.single-spot .spot-card .media-switcher [data-pane="insta"] .insta-card__hit:focus-visible{
  outline: 3px solid #fff;
  outline-offset: -5px;
}

.location-archive.is-detail-open .spot-card .media-switcher [data-pane="insta"] .insta-card iframe,
.location-archive.is-detail-open .spot-card .media-switcher [data-pane="insta"] .insta-card blockquote.instagram-media,
body.single-spot .spot-card .media-switcher [data-pane="insta"] .insta-card iframe,
body.single-spot .spot-card .media-switcher [data-pane="insta"] .insta-card blockquote.instagram-media{
  display: block;
  width: min(100%, var(--insta-detail-maxw));
  max-width: min(100%, var(--insta-detail-maxw));
  min-width: 0;
  margin-inline: auto;
  box-sizing: border-box;
}

/* 詳細ビュー：Insta side arrows */
.location-archive.is-detail-open .spot-card .insta-media,
body.single-spot .spot-card .insta-media{
  position: relative;
  overflow: hidden;
}
.location-archive.is-detail-open .spot-card .insta-slider-controls,
body.single-spot .spot-card .insta-slider-controls{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--insta-detail-edge-offset);
  box-sizing: border-box;
  pointer-events: none;
  z-index: 6;
}
.location-archive.is-detail-open .spot-card .insta-slider-nav__btn,
body.single-spot .spot-card .insta-slider-nav__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  pointer-events: auto;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(26px, 6vw, 46px);
  font-weight: 700;
  line-height: .85;
  padding: 6px 12px;
  cursor: pointer;
  text-shadow: 0 0 8px rgba(0,0,0,.55);
  transform: scaleY(1.7);
  transition: transform .2s ease, opacity .2s ease;
}
.location-archive.is-detail-open .spot-card .insta-slider-nav__btn:hover,
.location-archive.is-detail-open .spot-card .insta-slider-nav__btn:focus-visible,
body.single-spot .spot-card .insta-slider-nav__btn:hover,
body.single-spot .spot-card .insta-slider-nav__btn:focus-visible{
  transform: translateY(-1px) scaleY(1.7);
}
.location-archive.is-detail-open .spot-card .insta-slider-nav__btn:focus-visible,
body.single-spot .spot-card .insta-slider-nav__btn:focus-visible{
  outline: 2px solid rgba(255,255,255,.85);
  outline-offset: 2px;
}
.location-archive.is-detail-open .spot-card .insta-slider-nav__btn[disabled],
body.single-spot .spot-card .insta-slider-nav__btn[disabled]{
  opacity: .3;
  cursor: not-allowed;
  transform: scaleY(1.7);
}

/* 詳細ビュー：Instagram 埋め込みの描画領域をカード内に正規化 */
.location-archive.is-detail-open .spot-card .media-switcher[data-state="insta"],
body.single-spot .spot-card .media-switcher[data-state="insta"]{
  overflow: hidden;
}
.location-archive.is-detail-open .spot-card .media-switcher[data-state="insta"] .insta-media,
.location-archive.is-detail-open .spot-card .media-switcher[data-state="insta"] .insta-card,
body.single-spot .spot-card .media-switcher[data-state="insta"] .insta-media,
body.single-spot .spot-card .media-switcher[data-state="insta"] .insta-card{
  overflow-x: hidden;
  overflow-y: visible;
}
.location-archive.is-detail-open .spot-card .media-switcher[data-state="insta"] .insta-scroll,
body.single-spot .spot-card .media-switcher[data-state="insta"] .insta-scroll{
  overflow-x: auto;
  overflow-y: visible;
}

/* /spots view switch: hitokoto keeps the existing card chrome and removes only media. */
.iks-spots-view-switch{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-width:0;
  min-height:28px;
  padding:0 8px;
  border:1.5px solid rgba(61,188,210,.78);
  border-radius:999px;
  color:#3dbcd2;
  font-size:.76rem;
  font-weight:800;
  line-height:1;
  letter-spacing:0;
  white-space:nowrap;
}
.iks-spots-view-switch__link{
  display:inline-flex;
  align-items:center;
  min-width:0;
  padding:6px 3px;
  border-radius:999px;
  color:inherit;
  text-decoration:none;
}
.iks-spots-view-switch__link.is-active{ color:#0f172a; }
.iks-spots-view-switch__separator{
  flex:0 0 auto;
  margin:0 3px;
  color:rgba(15,23,42,.42);
}
body:not(.tax-location):not(.page-spots) .iks-spots-view-switch{ display:none; }
body:is(.tax-location, .page-spots) .iks-spots-view-switch__link:not(.is-active):hover,
body:is(.tax-location, .page-spots) .iks-spots-view-switch__link:not(.is-active):focus-visible{
  color:#0f172a;
  outline:none;
}
.iks-spots-view-switch__link:focus-visible{
  outline:2px solid #3dbcd2;
  outline-offset:2px;
}
.iks-mobile-shell__spot-shell .iks-spots-view-switch{
  min-height:30px;
  padding:0 7px;
  border-color:#d7dde5;
  background:rgba(255,255,255,.86);
  color:#64748b;
  font-size:.62rem;
  box-shadow:none;
}
.iks-mobile-shell__spot-shell .iks-spots-view-switch__link{ padding:6px 2px; }
.iks-mobile-shell__spot-shell .iks-spots-view-switch__link.is-active{ color:#0f172a; }
.iks-mobile-shell__spot-shell .iks-spots-view-switch__separator{ color:#94a3b8; }
@media (max-width:480px){
  .iks-spots-view-switch{
    min-height:30px;
    padding-left:6px;
    padding-right:6px;
    font-size:.68rem;
  }
  .iks-mobile-shell__spot-shell .iks-spots-view-switch{
    padding-left:5px;
    padding-right:5px;
    font-size:.58rem;
  }
  .iks-spots-view-switch__separator{
    margin-left:2px;
    margin-right:2px;
  }
}

body:not(.iks-detail-open) #site-content.ikuspot-spots-view-list,
#locationArchive[data-iks-spots-view="list"]:not(.is-detail-open){
  background:#f6f3ef;
}
body:is(.page-spots, .tax-location):not(.iks-detail-open) #site-content.ikuspot-spots-view-list,
body:is(.page-spots, .tax-location) #locationArchive[data-iks-spots-view="list"]:not(.is-detail-open){
  background:#f6f3ef;
  background-image:none;
}
#locationArchive[data-iks-spots-view="list"] .location-archive-header,
#locationArchive[data-iks-spots-view="list"] .location-archive-search,
#locationArchive[data-iks-spots-view="list"] .location-archive-heading{
  background:transparent;
}
#locationArchive[data-iks-spots-view="list"] .spot-grid{
  background:transparent;
}
#locationArchive[data-iks-spots-view="list"] .spot-grid__hint{
  display:none;
}
#locationArchive[data-iks-spots-view="list"] .spot-grid-card--no-media .spot-grid-card__overlay-caption--list{
  position:static;
  inset:auto;
  transform:none;
  width:auto;
  max-width:none;
  margin:0;
  padding:0;
  background:transparent;
  border:0;
  color:var(--iks-card-meta-meta);
  text-align:left;
  text-shadow:none;
  font-size:.95rem;
  font-weight:700;
  line-height:1.55;
  pointer-events:none;
}
#locationArchive[data-iks-spots-view="list"] .spot-grid-card--no-media .spot-grid-card__overlay-caption--list :where(p, ul, ol){
  margin:.25rem 0 0;
}
#locationArchive[data-iks-spots-view="list"] .spot-grid-card--no-media .spot-grid-card__overlay-caption--list a{
  color:inherit;
}
#locationArchive[data-iks-spots-view="list"] .spot-grid__loader{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:1px;
  min-height:1px;
  margin:2px 0 10px;
  border-radius:0;
  background:transparent;
  background-size:auto;
  animation:none;
  color:#64748b;
  font-size:.82rem;
  font-weight:800;
  line-height:1.3;
}
#locationArchive[data-iks-spots-view="list"] .spot-grid__loader.is-loading{
  height:34px;
  min-height:34px;
}

/* --------------------------------------
 * Ikukore article detected content blocks
 * ----------------------------------- */
.ikukore-article-summary,
.entry-content .ikukore-article-summary,
.iks-article-prose .ikukore-article-summary{
  box-sizing: border-box;
  display: flex;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  margin: 28px 0;
  padding: 22px 24px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #f8f8f8;
  color: #111827;
  overflow: hidden;
}

.ikukore-article-summary__side,
.entry-content .ikukore-article-summary__side,
.iks-article-prose .ikukore-article-summary__side{
  box-sizing: border-box;
  flex: 0 0 44px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 7px;
  padding-right: 16px;
  border-right: 1px solid #bdbdbd;
  color: #777;
}

.ikukore-article-summary__side::before,
.entry-content .ikukore-article-summary__side::before,
.iks-article-prose .ikukore-article-summary__side::before{
  content: "";
  width: 21px;
  height: 21px;
  opacity: .78;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm0 2.8L17.2 8H14zM8 13h8v2H8zm0 4h6v2H8z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm0 2.8L17.2 8H14zM8 13h8v2H8zm0 4h6v2H8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ikukore-article-summary__body,
.entry-content .ikukore-article-summary__body,
.iks-article-prose .ikukore-article-summary__body{
  flex: 1 1 auto;
  min-width: 0;
}

.ikukore-article-summary__title,
.entry-content .ikukore-article-summary__title,
.iks-article-prose .ikukore-article-summary__title{
  margin: 0 0 10px;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0;
}

.ikukore-article-summary ul.ikukore-article-summary__list,
.entry-content .ikukore-article-summary ul.ikukore-article-summary__list,
.iks-article-prose .ikukore-article-summary ul.ikukore-article-summary__list{
  display: block;
  margin: 0;
  padding: 0 0 0 1.2em;
  list-style: disc outside;
}

.ikukore-article-summary ul.ikukore-article-summary__list::before,
.ikukore-article-summary ul.ikukore-article-summary__list::after,
.entry-content .ikukore-article-summary ul.ikukore-article-summary__list::before,
.entry-content .ikukore-article-summary ul.ikukore-article-summary__list::after,
.iks-article-prose .ikukore-article-summary ul.ikukore-article-summary__list::before,
.iks-article-prose .ikukore-article-summary ul.ikukore-article-summary__list::after{
  content: none;
}

.ikukore-article-summary .ikukore-article-summary__item,
.entry-content .ikukore-article-summary .ikukore-article-summary__item,
.iks-article-prose .ikukore-article-summary .ikukore-article-summary__item{
  margin: 0;
  padding: 8px 0 10px;
  border-bottom: 1px dotted #d6d6d6;
  color: #111827;
  font-size: 16px;
  line-height: 1.8;
}

.ikukore-article-summary .ikukore-article-summary__item::before,
.entry-content .ikukore-article-summary .ikukore-article-summary__item::before,
.iks-article-prose .ikukore-article-summary .ikukore-article-summary__item::before{
  content: none;
}

.ikukore-article-summary .ikukore-article-summary__item:last-child,
.entry-content .ikukore-article-summary .ikukore-article-summary__item:last-child,
.iks-article-prose .ikukore-article-summary .ikukore-article-summary__item:last-child{
  border-bottom: 0;
}

.ikukore-family-check,
.entry-content .ikukore-family-check,
.iks-article-prose .ikukore-family-check{
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 30px 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 20px;
  background: #f9ebe8;
  color: #111827;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .06);
  overflow: hidden;
}

.ikukore-family-check__title,
.entry-content .ikukore-family-check__title,
.iks-article-prose .ikukore-family-check__title{
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #3b2f2f;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
}

.ikukore-family-check__title::before,
.entry-content .ikukore-family-check__title::before,
.iks-article-prose .ikukore-family-check__title::before{
  content: "\2713";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  color: #d2746b;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.ikukore-family-check__grid,
.entry-content .ikukore-family-check__grid,
.iks-article-prose .ikukore-family-check__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.ikukore-family-check__item,
.entry-content .ikukore-family-check__item,
.iks-article-prose .ikukore-family-check__item,
.ikukore-family-check__note,
.entry-content .ikukore-family-check__note,
.iks-article-prose .ikukore-family-check__note{
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 13px 14px;
  border-radius: 15px;
}

.ikukore-family-check__item,
.entry-content .ikukore-family-check__item,
.iks-article-prose .ikukore-family-check__item{
  border: 1px solid rgba(255, 255, 255, .8);
  background: #fff;
  box-shadow: 0 4px 12px rgba(17, 24, 39, .04);
}

.ikukore-family-check__note,
.entry-content .ikukore-family-check__note,
.iks-article-prose .ikukore-family-check__note{
  grid-column: 1 / -1;
  margin-top: 2px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
}

.ikukore-family-check__content,
.entry-content .ikukore-family-check__content,
.iks-article-prose .ikukore-family-check__content{
  min-width: 0;
}

.ikukore-family-check__icon,
.entry-content .ikukore-family-check__icon,
.iks-article-prose .ikukore-family-check__icon{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff3ef;
  color: #c95f56;
  font-size: 18px;
  line-height: 1;
}

.ikukore-family-check__icon::before,
.entry-content .ikukore-family-check__icon::before,
.iks-article-prose .ikukore-family-check__icon::before{
  content: "\2713";
}

.ikukore-family-check__icon--stroller::before{ content: "\1F476"; }
.ikukore-family-check__icon--diaper::before{ content: "\1F9F7"; }
.ikukore-family-check__icon--milk::before{ content: "\1F37C"; }
.ikukore-family-check__icon--rain::before{ content: "\2614"; }
.ikukore-family-check__icon--parking::before{ content: "\1F697"; }
.ikukore-family-check__icon--age::before{ content: "\1F392"; }
.ikukore-family-check__icon--note::before{ content: "\26A0"; }

.ikukore-family-check__note .ikukore-family-check__icon,
.entry-content .ikukore-family-check__note .ikukore-family-check__icon,
.iks-article-prose .ikukore-family-check__note .ikukore-family-check__icon{
  background: #ffedd5;
  color: #c2410c;
}

.ikukore-family-check__label,
.entry-content .ikukore-family-check__label,
.iks-article-prose .ikukore-family-check__label{
  margin: 0 0 3px;
  padding: 0;
  color: #2f2f2f;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
}

.ikukore-family-check__text,
.entry-content .ikukore-family-check__text,
.iks-article-prose .ikukore-family-check__text{
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.65;
}

@media (min-width: 700px){
  .ikukore-family-check__grid,
  .entry-content .ikukore-family-check__grid,
  .iks-article-prose .ikukore-family-check__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .ikukore-article-summary,
  .entry-content .ikukore-article-summary,
  .iks-article-prose .ikukore-article-summary{
    gap: 12px;
    margin: 24px 0;
    padding: 16px 14px;
  }

  .ikukore-article-summary__side,
  .entry-content .ikukore-article-summary__side,
  .iks-article-prose .ikukore-article-summary__side{
    flex-basis: 36px;
    padding-right: 10px;
  }

  .ikukore-article-summary__side::before,
  .entry-content .ikukore-article-summary__side::before,
  .iks-article-prose .ikukore-article-summary__side::before{
    width: 19px;
    height: 19px;
  }

  .ikukore-article-summary__title,
  .entry-content .ikukore-article-summary__title,
  .iks-article-prose .ikukore-article-summary__title{
    font-size: 15px;
  }

  .ikukore-article-summary .ikukore-article-summary__item,
  .entry-content .ikukore-article-summary .ikukore-article-summary__item,
  .iks-article-prose .ikukore-article-summary .ikukore-article-summary__item{
    font-size: 15px;
    line-height: 1.75;
  }

  .ikukore-family-check,
  .entry-content .ikukore-family-check,
  .iks-article-prose .ikukore-family-check{
    margin: 26px 0;
    padding: 16px;
    border-radius: 18px;
  }

  .ikukore-family-check__title,
  .entry-content .ikukore-family-check__title,
  .iks-article-prose .ikukore-family-check__title{
    margin-bottom: 14px;
    font-size: 18px;
  }

  .ikukore-family-check__item,
  .entry-content .ikukore-family-check__item,
  .iks-article-prose .ikukore-family-check__item,
  .ikukore-family-check__note,
  .entry-content .ikukore-family-check__note,
  .iks-article-prose .ikukore-family-check__note{
    padding: 12px;
    border-radius: 14px;
  }

  .ikukore-family-check__label,
  .entry-content .ikukore-family-check__label,
  .iks-article-prose .ikukore-family-check__label{
    font-size: 14.5px;
  }

  .ikukore-family-check__text,
  .entry-content .ikukore-family-check__text,
  .iks-article-prose .ikukore-family-check__text{
    font-size: 13.5px;
  }
}


  /* PCで “カードごと” フルブリード */
  @media (min-width:1024px){
    .location-archive.container{ max-width:none; width:100%; padding-left:0; padding-right:0; }
    .location-archive .spot-card{
      --spot-card-right-overhang: calc(var(--map-bleed-fix, 0px) / 2);
      width: calc(100vw + var(--map-bleed-fix, 2px));
      max-width: none;
      margin-left:  calc(50% - 50vw - (var(--map-bleed-fix, 2px) / 2) + (100vw - 100%) / 2);
      margin-right: calc(50% - 50vw - (var(--map-bleed-fix, 2px) / 2) + (100vw - 100%) / 2);
      overflow: visible;
    }
    .location-archive .spot-card .spot-media.spot-image{ overflow:visible; }
    .location-archive .spot-card .map-wrap{ width:100%; max-width:none; margin-left:0; margin-right:0; }
    .location-archive .spot-card .map-slider{
      width:100%; max-width:none; margin-left:0; margin-right:0; gap:0; scrollbar-width:none; padding-bottom:0;
    }
    body.tax-location .map-slide{ min-width:100%; flex-basis:100%; }
    .location-archive .spot-card .media-switcher [data-pane="insta"] .insta-scroll{
      width:100%; max-width:none; margin-left:0; margin-right:0; gap:0; padding-bottom:0;
    }
    .location-archive .spot-card .media-switcher [data-pane="insta"] .insta-card{
      min-width:100%; flex-basis:100%; height:100%;
    }
    .location-archive.is-detail-open{
      width: 100%;
      margin: 0;
    }
    .location-archive.is-detail-open .spot-card{
      width: 100%;
      margin-left: 0;
      margin-right: 0;
    }
  }

  /* =============== 8) Google Map ? 横スクロール（スライダー） =============== */
  body.tax-location .map-slider,
  body.single-spot .map-slider{
    position:relative; display:flex; gap:12px;
    overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
    touch-action: pan-x pan-y; /* allow vertical scroll when dragging over map media */
    overscroll-behavior-x: contain;
    padding-bottom:.25rem; cursor:grab; scrollbar-width:auto;
    scrollbar-color: rgba(0,0,0,.45) rgba(0,0,0,.08); line-height:0;
  }
  /* single-spot: hide map slider scrollbar to remove the black band */
  body.single-spot .map-slider{
    padding-bottom: 0;
    scrollbar-width: none;
  }
  body.single-spot .map-slider::-webkit-scrollbar{
    height: 0;
    display: none;
  }
  body.tax-location .map-slider-wrap,
  body.single-spot .map-slider-wrap{ position:relative; }

  body.tax-location .map-slider::-webkit-scrollbar,
  body.single-spot .map-slider::-webkit-scrollbar{ height:20px; }
  body.tax-location .map-slider::-webkit-scrollbar-track,
  body.single-spot .map-slider::-webkit-scrollbar-track{ background:rgba(0,0,0,.08); border-radius:999px; }
  body.tax-location .map-slider::-webkit-scrollbar-thumb,
  body.single-spot .map-slider::-webkit-scrollbar-thumb{
    background:rgba(0,0,0,.45); border-radius:999px; border:4px solid transparent; background-clip:padding-box;
  }
  body.tax-location .map-slider:active,
  body.single-spot .map-slider:active{ cursor:grabbing; }

  body.tax-location .map-slider-nav__btn,
  body.single-spot .map-slider-nav__btn{
    width:auto;
    height:auto;
    border:none;
    border-radius:0;
    background:transparent;
    color:#fff;
    font-size:26px;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    pointer-events:auto;
    text-shadow:0 0 6px rgba(0,0,0,.5);
    transition:transform .2s ease, opacity .2s ease;
  }
  body.tax-location .map-slider-nav__btn:hover,
  body.single-spot .map-slider-nav__btn:hover,
  body.tax-location .map-slider-nav__btn:focus-visible,
  body.single-spot .map-slider-nav__btn:focus-visible{
    transform:translateY(-1px);
  }
  body.tax-location .map-slider-nav__btn:focus-visible,
  body.single-spot .map-slider-nav__btn:focus-visible{
    outline:2px solid rgba(255,255,255,.85);
    outline-offset:2px;
  }
  @media (max-width:480px){
    body.tax-location .map-slider-nav__btn,
    body.single-spot .map-slider-nav__btn{
      font-size:20px;
    }
  }

  body.tax-location .map-slide,
  body.single-spot .map-slide{
    flex:0 0 100%; min-width:100%;
    scroll-snap-align:start;
    position:relative;
    height: clamp(var(--map-min), var(--map-slide-current), var(--map-max));
    border-radius: var(--card-radius) var(--card-radius) 0 0;
    overflow:hidden;
    background:#dde6f2;
    line-height:0;
  }
  body.tax-location .map-slide iframe,
  body.single-spot .map-slide iframe,
  body.tax-location .map-slide .gmap,
  body.single-spot .map-slide .gmap{
    position:absolute; top:0; right:0; bottom:0; left:0;
    width:100%; border-radius:inherit; border:0; z-index: 1;
  }

  @supports (height:1svh){
    body.tax-location .map-slide,
    body.single-spot .map-slide{ height: clamp(var(--map-min), var(--map-slide-svh), var(--map-max)); }
  }

  /* ナビ（矢印/ドット） */
  body.tax-location .map-dots,
  body.single-spot .map-dots{
    position:absolute; left:50%; transform:translateX(-50%);
    bottom: var(--map-dots-bottom);
    display:flex; gap:6px; padding:6px 8px;
    background:rgba(0,0,0,.35); border-radius:999px; z-index:4;
  }
  body.tax-location .map-dot,
  body.single-spot .map-dot{
    appearance:none;
    display:block;
    flex:0 0 auto;
    width:10px;
    min-width:0;
    height:10px;
    min-height:0;
    padding:0;
    border:0;
    border-radius:999px;
    background:rgba(255,255,255,.55);
    cursor:pointer;
  }
  body.tax-location .map-dot.is-active,
  body.single-spot .map-dot.is-active{ background:#fff; }
  body.tax-location .map-dot:focus-visible,
  body.single-spot .map-dot:focus-visible{
    outline:2px solid #fff;
    outline-offset:2px;
    box-shadow:0 0 0 2px rgba(15,23,42,.78);
  }

  body.tax-location .map-slider-controls,
  body.single-spot .map-slider-controls{
    position:absolute;
    left:50%;
    bottom: clamp(22px, 4vw, 42px);
    transform:translateX(-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    z-index:11;
    pointer-events:none;
  }
  body.tax-location .map-slider-controls .map-slider-nav__btn,
  body.single-spot .map-slider-controls .map-slider-nav__btn{
    pointer-events:auto;
  }
  body.tax-location .map-slider-controls .map-dots,
  body.single-spot .map-slider-controls .map-dots{
    position:static;
    transform:none;
    bottom:auto;
    pointer-events:auto;
  }
