/* ---------
  Layout & base typography
--------- */
/* Featured image（アイキャッチ）: 特集テンプレでは表示しない
   ※本文内に画像ブロックで同じ画像を置いている場合の「二重表示」を防ぎます */
body.iks-feature-article-page .featured-image.page-header-image{
  display: none;
}


body.iks-feature-article-page .site-content{
  /* GeneratePress 側のコンテナ幅・サイドバー配置を壊さないため、幅/float/clear は触りません */
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}

/* Article card */
body.iks-feature-article-page .inside-article{
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  background: var(--iks-bg);
  border: 1px solid var(--iks-border);
  border-radius: calc(var(--iks-radius) + 2px);
  box-shadow: var(--iks-shadow);
  padding: var(--iks-pad);
}

@media (min-width: 768px){
  body.iks-feature-article-page .inside-article{
    padding: var(--iks-pad-lg);
  }
}

/* Keep text measure comfortable */
body.iks-feature-article-page .entry-header,
body.iks-feature-article-page .entry-content{
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

body.iks-feature-article-page .entry-content{
  font-family: var(--iks-font);
  font-size: 18px;
  line-height: 30px;
  letter-spacing: var(--iks-letter);
  color: var(--iks-text);
}

/* Let “wide” blocks breathe */
body.iks-feature-article-page .entry-content .alignwide,
body.iks-feature-article-page .entry-content .alignfull,
body.iks-feature-article-page .entry-content .wp-block-image,
body.iks-feature-article-page .entry-content .wp-block-gallery,
body.iks-feature-article-page .entry-content .wp-block-table,
body.iks-feature-article-page .entry-content .wp-block-columns,
body.iks-feature-article-page .entry-content .wp-block-cover,
body.iks-feature-article-page .entry-content .wp-block-group.has-background,
body.iks-feature-article-page .entry-content .wp-block-media-text{
  max-width: 100%;
}

/* Paragraph spacing */
body.iks-feature-article-page .entry-content p{
  margin: var(--iks-para-gap) 0;
  color: var(--iks-text);
}
/* Marker emphasis for bold text (本文の太字をマーカー表示：表示時に“ピーッ”と線が引かれる) */
/*
  body class 依存だと「特集判定のズレ」で効かないことがあるため、
  特集テンプレが必ず持つ .iks-feature-article ラッパでスコープします。
*/
/* 初期状態：マーカー幅 0%（見えない） */
.iks-feature-article .entry-content strong{
  font-weight: 800;
  /* マーカー色（デフォルト：オレンジ系） */
  --iks-marker-color: rgba(245,158,11,.35);

  background-image: linear-gradient(transparent 62%, var(--iks-marker-color) 0);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 0% 100%;

  padding: 0 .12em;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;

  transition: background-size 720ms cubic-bezier(.2,.7,.2,1);
  will-change: background-size;
}

/* リンク内：色だけ控えめに（リンク色はそのまま） */
.iks-feature-article .entry-content a strong{
  --iks-marker-color: rgba(14,165,233,.22);
}

/* 画面内に入ったらマーカー幅を 100% にして“引く” */
.iks-feature-article .entry-content strong.iks-marker-inview{
  background-size: 100% 100%;
}

/* 動きが苦手な方にはアニメ無しで即表示 */
@media (prefers-reduced-motion: reduce){
  .iks-feature-article .entry-content strong{
    transition: none;
    background-size: 100% 100%;
  }
}

/* ---------
  Speech bubble（斜体=吹き出し） v4
  - Gutenbergの斜体は主に <em>（エディタで「斜体」を使うとこれが出ます）
  - 念のため <i> も対応
  - 斜体を「吹き出し表示のトリガー」として使う運用を想定
  - 背景は“単色”固定（グラデーション/縁取り無し）
--------- */
body.iks-feature-article-page .entry-content em,
body.iks-feature-article-page .entry-content i{
  /* 吹き出しの背景色（単色） */
  --iks-bubble-bg-solid: #eef8f2; /* 淡いミント */

  display: block;
  margin: 14px 0;
  margin-left: 66px;            /* 左のアイコン分の余白 */
  padding: 14px 16px;
  border-radius: 16px;

  border: 0;
  background: var(--iks-bubble-bg-solid);
  background-image: none;

  /* “背景がグラデっぽく見える”原因になりやすいので影は無し（必要なら後で薄く戻せます） */
  box-shadow: none;

  font-style: normal;           /* 斜体は解除して読みやすく */
  color: var(--iks-text);

  position: relative;
}

/* 吹き出しの「＜」(しっぽ) — 枠線/縁取り無し（clip-pathで作成） */
body.iks-feature-article-page .entry-content em::after,
body.iks-feature-article-page .entry-content i::after{
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);

  width: 18px;
  height: 18px;

  background: var(--iks-bubble-bg-solid);
  background-image: none;

  clip-path: polygon(100% 0, 0 50%, 100% 100%);

  /* 不自然な縁が出る原因を全て無効化 */
  filter: none;
  box-shadow: none;
}

/* 左のアイコン（指定画像） */
body.iks-feature-article-page .entry-content em::before,
body.iks-feature-article-page .entry-content i::before{
  content: "";
  position: absolute;
  left: -66px;
  top: 50%;
  transform: translateY(-50%);

  width: 48px;
  height: 48px;

  background-image: url("https://ikukore.jp/wp-content/uploads/2026/02/コメント.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  border: 0;
  box-shadow: none;
}

@media (max-width: 640px){
  body.iks-feature-article-page .entry-content em,
  body.iks-feature-article-page .entry-content i{
    margin-left: 58px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  body.iks-feature-article-page .entry-content em::before,
  body.iks-feature-article-page .entry-content i::before{
    left: -58px;
    width: 42px;
    height: 42px;
  }

  body.iks-feature-article-page .entry-content em::after,
  body.iks-feature-article-page .entry-content i::after{
    left: -12px;
    width: 16px;
    height: 16px;
  }
}
/* ---------
  Title area（WPのH1も“記事っぽく”）
--------- */
body.iks-feature-article-page .entry-header{
  margin-bottom: 14px;
}

body.iks-feature-article-page .entry-title{
  font-family: var(--iks-font);
  font-size: clamp(24px, 3.1vw, 34px);
  line-height: 1.25;
  letter-spacing: .01em;
  margin: 0 0 10px;
  padding: 16px 16px;
  border: 1px solid var(--iks-border);
  border-radius: var(--iks-radius);
  background:
    radial-gradient(900px 240px at 8% 0%, rgba(14,165,233,.14), rgba(255,255,255,0)),
    radial-gradient(700px 240px at 92% 10%, rgba(22,163,74,.14), rgba(255,255,255,0));
}

body.iks-feature-article-page .entry-meta{
  color: var(--iks-muted-2);
  font-size: 13px;
}

/* ---------
  Headings（H2の“ブログ感”）
--------- */
body.iks-feature-article-page .entry-content h2,
body.iks-feature-article-page .entry-content h3,
body.iks-feature-article-page .entry-content h4{
  font-family: var(--iks-font);
  color: var(--iks-text);
  letter-spacing: .01em;
}

body.iks-feature-article-page .entry-content h2{
  margin: 46px 0 16px;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;

  padding: 12px 14px 12px 18px;
  border-left: 6px solid var(--iks-accent);
  border-radius: var(--iks-radius-sm);
  background:
    linear-gradient(90deg,
      rgba(22,163,74,.12) 0%,
      rgba(14,165,233,.08) 52%,
      rgba(255,255,255,0) 100%);
  box-shadow: 0 10px 20px rgba(15, 23, 42, .06);
}

body.iks-feature-article-page .entry-content > h2:first-child{
  margin-top: 24px;
}

body.iks-feature-article-page .entry-content h3{
  margin: 28px 0 14px;
  font-size: clamp(18px, 2.0vw, 22px);
  line-height: 1.4;
  letter-spacing: .01em;

  /* 添付②のような“黒帯＋チェック” */
  padding: 12px 16px 12px 48px;
  background: #2b2b2b;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, .10);

  position: relative;
}

body.iks-feature-article-page .entry-content h3::before{
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
  color: #ffffff;
}

body.iks-feature-article-page .entry-content h3 a{
  color: inherit;
  text-decoration: none;
}

body.iks-feature-article-page .entry-content h4{
  margin: 22px 0 10px;
  font-size: 16px;
  line-height: 1.45;
  position: relative;
  padding-left: 14px;
}
body.iks-feature-article-page .entry-content h4::before{
  content:"";
  position:absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(245,158,11,.85);
}

/* ---------
  Lists（読みやすく・気持ちよく）
--------- */
body.iks-feature-article-page .entry-content ul,
body.iks-feature-article-page .entry-content ol{
  margin: 12px 0 16px;
  padding-left: 1.35em;
}

body.iks-feature-article-page .entry-content li{
  margin: 8px 0;
}

/* Custom bullets (UL only) : 既存の見た目（クラシックHTML / ネスト）用 */
body.iks-feature-article-page .entry-content ul:not(.wp-block-list){
  list-style: none;
  padding-left: 1.1em;
}
body.iks-feature-article-page .entry-content ul:not(.wp-block-list) > li{
  position: relative;
  padding-left: .65em;
}
body.iks-feature-article-page .entry-content ul:not(.wp-block-list) > li::before{
  content:"";
  position:absolute;
  left: -1.05em;
  top: .85em;
  width: .42em;
  height: .42em;
  border-radius: 999px;
  background: rgba(22,163,74,.75);
}

/* Note-style list（Gutenberg: Listブロック） */
body.iks-feature-article-page .entry-content ul.wp-block-list{
  list-style: none;
  margin: 16px 0 20px;
  padding: 16px 18px 16px 64px;
  border-radius: calc(var(--iks-radius) - 2px);
  border: 1px solid var(--iks-border);
  background: linear-gradient(135deg, rgba(22,163,74,.07), rgba(59,130,246,.06));
  position: relative;
}

/* メモ帳アイコン */
body.iks-feature-article-page .entry-content ul.wp-block-list::before{
  content:"";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: .9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M8 13h8'/%3E%3Cpath d='M8 17h6'/%3E%3C/svg%3E");
}

/* 左の区切り線 */
body.iks-feature-article-page .entry-content ul.wp-block-list::after{
  content:"";
  position: absolute;
  left: 52px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: rgba(107,114,128,.45);
}

/* 各行（点線で区切る） */
body.iks-feature-article-page .entry-content ul.wp-block-list > li{
  margin: 0;
  padding: 10px 0 10px 1.25em;
  position: relative;
}
body.iks-feature-article-page .entry-content ul.wp-block-list > li + li{
  border-top: 1px dotted rgba(107,114,128,.45);
}

/* 行頭の黒丸 */
body.iks-feature-article-page .entry-content ul.wp-block-list > li::before{
  content:"";
  position: absolute;
  left: 0;
  top: 1.0em;
  width: .46em;
  height: .46em;
  border-radius: 999px;
  background: rgba(17,24,39,.55);
}

/* Noteリスト内のネストULは通常の箇条書きに戻す */
body.iks-feature-article-page .entry-content ul.wp-block-list ul{
  list-style: disc;
  margin: 8px 0 0;
  padding-left: 1.15em;
}
body.iks-feature-article-page .entry-content ul.wp-block-list ul > li{
  padding-left: 0;
}
body.iks-feature-article-page .entry-content ul.wp-block-list ul > li::before{
  content: none;
}

@media (max-width: 480px){
  body.iks-feature-article-page .entry-content ul.wp-block-list{
    padding-left: 58px;
  }
  body.iks-feature-article-page .entry-content ul.wp-block-list::before{
    left: 14px;
    width: 22px;
    height: 22px;
  }
  body.iks-feature-article-page .entry-content ul.wp-block-list::after{
    left: 46px;
  }
}

/* ---------
  Images / figures
--------- */
body.iks-feature-article-page .entry-content img{
  border-radius: var(--iks-radius);
}

body.iks-feature-article-page figure,
body.iks-feature-article-page .wp-block-image{
  margin: 18px 0 20px;
}

body.iks-feature-article-page .wp-block-image img{
  border: 1px solid var(--iks-border);
  box-shadow: 0 10px 20px rgba(15, 23, 42, .06);
}

body.iks-feature-article-page figcaption,
body.iks-feature-article-page .wp-element-caption{
  margin-top: 10px;
  color: var(--iks-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* ---------
  Group / cover blocks with background
--------- */
body.iks-feature-article-page .entry-content .wp-block-group.has-background,
body.iks-feature-article-page .entry-content .wp-block-cover{
  border-radius: var(--iks-radius);
  padding: 18px;
  margin: 18px 0 22px;
}

@media (min-width: 768px){
  body.iks-feature-article-page .entry-content .wp-block-group.has-background,
  body.iks-feature-article-page .entry-content .wp-block-cover{
    padding: 22px;
  }
}

body.iks-feature-article-page .entry-content .wp-block-group.has-background{
  border: 1px solid rgba(226,232,240,.85);
  box-shadow: 0 10px 18px rgba(15, 23, 42, .05);
}

/* ---------
  Quote / Callout
--------- */
body.iks-feature-article-page .wp-block-quote{
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--iks-accent-2);
  background: rgba(14,165,233,.08);
  border-radius: var(--iks-radius-sm);
  color: var(--iks-text);
}
body.iks-feature-article-page .wp-block-quote p{
  margin: 0;
}
body.iks-feature-article-page .wp-block-quote cite{
  display:block;
  margin-top: 8px;
  color: var(--iks-muted);
  font-size: 13px;
}

/* Pullquote */
body.iks-feature-article-page .wp-block-pullquote{
  border-top: 2px solid rgba(22,163,74,.25);
  border-bottom: 2px solid rgba(22,163,74,.25);
  padding: 18px 0;
  margin: 22px 0;
}
body.iks-feature-article-page .wp-block-pullquote blockquote{
  margin: 0;
}
body.iks-feature-article-page .wp-block-pullquote p{
  font-size: 18px;
  line-height: 1.7;
}

/* ---------
  Tables（スマホは横スクロール可）
--------- */
body.iks-feature-article-page .entry-content figure.wp-block-table{
  margin: 14px 0 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--iks-radius);
}
body.iks-feature-article-page .entry-content table{
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--iks-border);
  border-radius: var(--iks-radius);
  overflow: hidden;
  background: #fff;
}

body.iks-feature-article-page .entry-content th,
body.iks-feature-article-page .entry-content td{
  padding: 12px 12px;
  border-bottom: 1px solid var(--iks-border);
  vertical-align: top;
}

body.iks-feature-article-page .entry-content th{
  text-align: left;
  background: var(--iks-soft);
  color: var(--iks-muted);
  font-weight: 800;
  font-size: 13px;
}

body.iks-feature-article-page .entry-content tr:nth-child(even) td{
  background: rgba(241,245,249,.55);
}
body.iks-feature-article-page .entry-content tr:last-child td{
  border-bottom: 0;
}

/* ---------
  Code / preformatted
--------- */
body.iks-feature-article-page .entry-content code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .92em;
  padding: .15em .35em;
  border: 1px solid rgba(226,232,240,.85);
  border-radius: 10px;
  background: rgba(241,245,249,.65);
}

body.iks-feature-article-page .entry-content pre,
body.iks-feature-article-page .wp-block-code{
  margin: 18px 0 22px;
  padding: 14px 16px;
  border: 1px solid var(--iks-border);
  border-radius: var(--iks-radius);
  background: #0b1220;
  color: #e5e7eb;
  overflow: auto;
  line-height: 1.65;
}
body.iks-feature-article-page .entry-content pre code{
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}

/* ---------
  Buttons
--------- */
body.iks-feature-article-page .wp-block-button__link,
body.iks-feature-article-page .wp-block-file__button{
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  border: 1px solid rgba(22,163,74,.28);
  background: rgba(22,163,74,.10);
  color: var(--iks-text);
  box-shadow: 0 10px 18px rgba(15, 23, 42, .06);
  text-decoration: none;
}
body.iks-feature-article-page .wp-block-button__link:hover,
body.iks-feature-article-page .wp-block-file__button:hover{
  background: rgba(22,163,74,.16);
  border-color: rgba(22,163,74,.38);
}

/* ---------
  Separators
--------- */
body.iks-feature-article-page .entry-content hr,
body.iks-feature-article-page .wp-block-separator{
  border: 0;
  height: 1px;
  margin: 26px 0;
  background: linear-gradient(90deg, rgba(226,232,240,0), rgba(226,232,240,1), rgba(226,232,240,0));
}

/* ---------
  Internal links（特集記事 下部）
  - location × spot_category（3〜6件）
  - 関連カテゴリ（2〜4件）
--------- */
body.iks-feature-article-page .iks-feature-links{
  margin-top: 26px;
  padding-top: 6px;
}

body.iks-feature-article-page .iks-feature-links__inner{
  border-top: 1px solid var(--iks-border);
  padding-top: 18px;
}

body.iks-feature-article-page .iks-feature-links__title{
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: .02em;
}

@media (min-width: 768px){
  body.iks-feature-article-page .iks-feature-links__title{
    font-size: 20px;
  }
}

body.iks-feature-article-page .iks-feature-links__cardlist{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 680px){
  body.iks-feature-article-page .iks-feature-links__cardlist{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.iks-feature-article-page .iks-feature-links__carditem{
  margin: 0;
}

body.iks-feature-article-page .iks-feature-links__card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  border: 1px solid var(--iks-border);
  border-radius: var(--iks-radius);
  background: #fff;
  box-shadow: 0 10px 18px rgba(15, 23, 42, .06);
  text-decoration: none;
  color: var(--iks-text);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

body.iks-feature-article-page .iks-feature-links__card:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, .10);
  border-color: rgba(22,163,74,.30);
}

body.iks-feature-article-page .iks-feature-links__cardlabel{
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.35;
}

body.iks-feature-article-page .iks-feature-links__cardarrow{
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  color: var(--iks-muted);
}

body.iks-feature-article-page .iks-feature-links__related{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(226,232,240,.95);
}

body.iks-feature-article-page .iks-feature-links__subtitle{
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 900;
  color: var(--iks-muted);
  letter-spacing: .03em;
}

body.iks-feature-article-page .iks-feature-links__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.iks-feature-article-page .iks-feature-links__chip{
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(22,163,74,.26);
  background: rgba(22,163,74,.08);
  color: var(--iks-text);
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  transition: background .14s ease, border-color .14s ease, transform .14s ease;
}

body.iks-feature-article-page .iks-feature-links__chip:hover{
  background: rgba(22,163,74,.14);
  border-color: rgba(22,163,74,.36);
  transform: translateY(-1px);
}

/* ---------
  Internal links（特集記事 下部：横スライダー版）
  - single-spot 下部の「関連スポット」モジュールと同等のUI
--------- */
body.iks-feature-article-page .spot-related{
  margin-top: 18px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(0,0,0,.08);
}
body.iks-feature-article-page .spot-related__title{
  font-size: 1.05rem;
  margin: 0 0 12px;
}
body.iks-feature-article-page .spot-related__block{
  margin: 16px 0 0;
}

/* 特集スライダー（feature-slider）と同じUIを特集記事内で使う */
body.iks-feature-article-page .spot-related .feature-slider{
  margin: 10px 0 18px;
}

body.iks-feature-article-page .spot-related .feature-slider--related{
  /* relatedはMap/Mediaの可読性を優先して大きく */
  --feature-slide-size: clamp(220px, 34vw, 420px);
  --feature-slide-gap: clamp(6px, 1.8vw, 12px);
  --feature-slide-peek: clamp(8px, 4vw, 18px);
  --feature-arrow-size: clamp(28px, 6.5vw, 40px);
  --feature-slide-adjacent-scale: .78;
  --feature-slide-small-scale: .62;
}

/* related：横スワイプを維持しつつ、縦スクロールが止まらないようにする */
body.iks-feature-article-page .spot-related .feature-slider__track{
  /* 縦スクロールはページに任せ、横ドラッグはJS側で制御（iOSのラバーバンド戻り対策） */
  touch-action: pan-x pan-y;
  /* Instaカード（縦長）混在時に、後続スライドが縦方向に引き伸ばされるのを防ぎつつ、
     正方形カード（Map等）は縦方向中央に置く */
  align-items: center;
}
body.iks-feature-article-page .spot-related .feature-slider__inner{
  max-width: 100%;
  margin: 0;
  padding: 0;
}
body.iks-feature-article-page .spot-related .feature-slider__head{
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
body.iks-feature-article-page .spot-related .feature-slider__title{
  grid-column: 2;
  text-align: center;
  font-size: clamp(24px, 3.1vw, 34px);
  line-height: 1.25;
  letter-spacing: .01em;
}
body.iks-feature-article-page .spot-related .feature-slider__more{
  grid-column: 3;
  justify-self: end;
  font-size: .92rem;
  text-decoration: underline;
}
body.iks-feature-article-page .spot-related .feature-slider__title{
  display: inline-flex;
  align-items: center;
  justify-self: center;
}
body.iks-feature-article-page .spot-related .feature-slider__title-deco{
  margin: 0 .25em;
  font-weight: 900;
  line-height: 1;
  color: inherit;
}
body.iks-feature-article-page .spot-related .feature-slider__title-text{
  display: inline;
  text-align: center;
}
body.iks-feature-article-page .spot-related .feature-slider__title-loc{
  color: #000000;
}
body.iks-feature-article-page .spot-related .feature-slider__title-cat{
  color: #ff0000;
}
body.iks-feature-article-page .spot-related .feature-slider__title-sep{
  display: inline-block;
  margin: 0 .3em;
  color: inherit;
}

/* ===== related：メタ（タイトル＋距離）を"画像の上"に確保して、Insta/Mapに被せない ===== */
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__meta{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 2px 12px;
  justify-content: center;
  background: rgba(255,255,255,.96);
  color: #0f172a;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__tag{
  /* 以前の"画像上オーバーレイ"は廃止（規約配慮：埋め込みに被せない） */
  position: absolute;
  top: 8px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end; /* 距離バッジを右上に寄せる */
  font-size: .76rem;
  line-height: 1;
  padding: .34rem .6rem;
  border-radius: 999px;
  background: rgba(15,23,42,.88);
  color: #fff;
}
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__caption{
  position: static;
  padding: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
}
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__caption-text{
  font-size: clamp(24px, 3.4vw, 30px);
  font-weight: 900;
  line-height: 1.4;
  padding: 6px 0 2px;
  text-shadow: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-align: center;
  transform: none;
}

/* related：下部メタ（住所 左 / 距離 右） */
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__footer{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 10px;
  background: rgba(255,255,255,.96);
  color: #0f172a;
  border-top: 1px solid rgba(0,0,0,.06);
}
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__address{
  flex: 1 1 auto;
  min-width: 0;
  font-size: .78rem;
  font-weight: 700;
  color: #64748b;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__distance{
  flex: 0 0 auto;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1;
  padding: .34rem .6rem;
  border-radius: 999px;
  background: rgba(15,23,42,.88);
  color: #fff;
  white-space: nowrap;
}

/* Insta embedをスライド内にフィット */
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__insta{
  position: absolute;
  inset: 0;
  display: block;
}
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__insta iframe,
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__insta blockquote.instagram-media{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

/* related slider: spotのMap/Mediaをカード同様に表示するため、iframeをフィットさせ、クリックはカードリンクに集約 */
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__media{ position: relative; }
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__media iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

/* Instaカードだけ縦長（9:16）を優先して"切れ"を防ぐ */
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__slide--insta .feature-slider__media{
  aspect-ratio: 9 / 16;
  background: #fff;
}

/* related：見えたらロード用のプレースホルダー（Map/Instagram） */
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__placeholder{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  pointer-events: none;
  transition: opacity .2s ease;
}
body.iks-feature-article-page .spot-related .feature-slider--related iframe.feature-slider__lazy,
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__insta{
  opacity: 0;
  transition: opacity .2s ease;
}
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__media.is-loaded iframe.feature-slider__lazy,
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__media.is-loaded .feature-slider__insta{
  opacity: 1;
}
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__media.is-loaded .feature-slider__placeholder{
  opacity: 0;
}
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__hit{
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  border-radius: inherit;
}
body.iks-feature-article-page .spot-related .feature-slider--related .feature-slider__hit:focus-visible{
  outline: 3px solid rgba(59,130,246,.45);
  outline-offset: 2px;
}
@media (max-width: 768px){
  body.iks-feature-article-page .spot-related .feature-slider--related{
    --feature-slide-size: clamp(260px, 82vw, 360px);
    --feature-slide-gap: clamp(6px, 4vw, 12px);
    --feature-slide-peek: clamp(10px, 12vw, 18px);
    --feature-arrow-size: 34px;
  }
}

/* ---------
  Compatibility
--------- */
.iks-usj-guide{
  color: var(--iks-text);
}


/* ikuSpot: Feature Article (feature_article) */

/* 旧: ページヘッダーのアイキャッチが二重になる場合があるので非表示 */
body.iks-feature-article-page .featured-image.page-header-image {
  display: none;
}

/* 読みやすい幅に揃える（GeneratePress のレイアウト自体は触らない） */
body.iks-feature-article-page .entry-header,
body.iks-feature-article-page .entry-content,
body.iks-feature-article-page .entry-footer {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

body.iks-feature-article-page .inside-article {
  padding: 24px 16px;
}

@media (min-width: 768px) {
  body.iks-feature-article-page .inside-article {
    padding: 32px 24px;
  }
}

/* 記事下の関連ブロックは少し余白を確保 */
body.iks-feature-article-page .spot-related {
  margin-top: 40px;
}
