
.address-break {
  display: none;
}
.post-code {
  margin-right: 1em;
}

.individual_top_title_row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.individual_top_title_row h2 {
  margin: 0;
}

.individual_name_kana {
  margin: 0;
  margin-bottom: 6px;
  font-size: 0.8rem;
  color: #777;
}

.bookmark-btn-show {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #bbb;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}

.bookmark-btn-show.bookmarked {
  color: #f0a500;
}

.bookmark-btn-show:hover {
  color: #f0a500;
}

  /* トップ部分 */
.individual_top_box {
  max-width: 100%;
  margin:10px;
  margin-bottom: 0px;
  padding: 10px;
}

.individual_top_box ul{
  margin:0px 0px;
  padding:0;
}

.individual_top_box li{
  list-style: none;
  margin:0px;
  padding:0px;
}


.lightbox-trigger {
  cursor: zoom-in;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.share-buttons {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.share-icon svg {
  width: 11px;
  height: 11px;
}

.share-icon:hover {
  opacity: 0.8;
  color: #fff;
}

.share-line     { background-color: #06C755; }
.share-facebook { background-color: #1877F2; }
.share-x        { background-color: #000000; }

@media (max-width: 768px) {
  .share-buttons {
    gap: 5px;
  }

  .share-icon {
    width: 24px;
    height: 24px;
  }

  .share-icon svg {
    width: 12px;
    height: 12px;
  }
}

  /* ミドル部分 */
.individual_middle_box {
  display: flex;
  max-width: 100%;
  background-color: #fff;;
  border-radius: 4px;
  margin:10px;
  margin-bottom: 50px;
  padding: 15px;
}


.individual_img {
  width: 40%;
  height:300px;
  margin-right: 20px;
}

.show_img_none {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #efefef;
  color: #bbb;
  font-size: 0.8rem;
  border-radius: 4px;
}

.individual_img img {
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
}

.thumbnail_box {
    display: flex;
    justify-content: flex-start; /* 画像が3枚未満のときは左に詰める */
    gap: 5px;                       /* 画像間の隙間 */
    margin-top: 10px;
}

.thumb_img {
    /* 3枚の合計 ＋ 隙間2つ分が100%になるよう計算 */
    width: calc((100% - 10px) / 3);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
}


.individual_description {
    max-width: 50%;
}

.individual_description p {
    margin-top: 0;
    margin-bottom: 0.8em;
    padding-top: 0;
    line-height: 1.6;
}

.individual_description p:last-child {
    margin-bottom: 0;
}

.desc-short,
.desc-full {
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.indivisdual_shop_title {
  border-top: 1px solid #ddd;
  max-width: 100%;
  margin:10px 20px;
  padding-top:20px;
}

.individual_history_description {
   margin:0px 20px;
}

.individual_history_description p {
  margin-top: 0;
  margin-bottom: 0.8em;
  line-height: 1.6;
}

.individual_history_description p:last-child {
  margin-bottom: 0;
}

.individual_shop_box {
  display:flex;
  flex-wrap: wrap;
}


.individual_shop_link {
  text-decoration: none;
  color: inherit;
  padding:0px;
  margin:10px 30px;
  border:1px solid #eeee;
  box-shadow: 2px 2px 4px #bebebe, 
             -2px -2px 4px #ffffff;
  border-radius:4px;
}


.individual_shop_exp_box {
 margin:15px 10px;
 width:400px;
}


.individual_shop_exp_box h4 {
  text-decoration: none;
  color: inherit;
  padding:0px 0px;
  margin:5px;
}


.individual_shop_exp_box ul {
  margin:0px 15px;
  padding:0px;
}


.individual_shop_exp_box li {
  list-style: none;
  margin:0px;
  padding:0px;
}


.individual_shop_link:hover {
  color: #2d2d2d;
}


.individual_shop_recommend_box {
  border-top: 1px solid #ddd;
  margin:10px 0px;
  max-width: 100%;
}


.list_card {
  position: relative;
}

.bookmark-btn,
.culture-bookmark-btn,
.nature-bookmark-btn,
.market-bookmark-btn,
.food-bookmark-btn,
.craft-bookmark-btn,
.stay-bookmark-btn,
.souvenir-bookmark-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #bbb;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
  z-index: 1;
}

.bookmark-btn.bookmarked,
.culture-bookmark-btn.bookmarked,
.nature-bookmark-btn.bookmarked,
.market-bookmark-btn.bookmarked,
.food-bookmark-btn.bookmarked,
.craft-bookmark-btn.bookmarked,
.stay-bookmark-btn.bookmarked,
.souvenir-bookmark-btn.bookmarked {
  color: #f0a500;
}

.bookmark-btn:hover,
.culture-bookmark-btn:hover,
.nature-bookmark-btn:hover,
.market-bookmark-btn:hover,
.food-bookmark-btn:hover,
.craft-bookmark-btn:hover,
.stay-bookmark-btn:hover,
.souvenir-bookmark-btn:hover {
  color: #f0a500;
}

.info_table {
  width: 100%;
  border-collapse: collapse; /* 枠線を1本にまとめる */
  margin-bottom: 20px;
}

.individual_history_description .info-table-note {
  margin: -16px 0 20px;
  font-size: 0.85rem;
  color: #888;
}

.indivisdual_shop_title + .individual_ticket {
  margin-top: -6px;
}

.individual_ticket img:not([width="0"]) {
  width: 220px;
  height: auto;
  border-radius: 10px;
  display: block;
  transition: filter 0.15s;
}

.individual_ticket a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.individual_ticket a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44%;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.individual_ticket a::after {
  content: "チケットを見る ›";
  position: absolute;
  left: 10px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.78rem;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.individual_ticket a:hover img:not([width="0"]) {
  filter: brightness(0.92);
}

/* ラベル列（左側）の調整 */
.info_table th {
  width: 15%;                /* ラベル幅の指定 */
  text-align: left;
  padding: 12px 15px;
  background-color: #f8f9fa; /* 薄いグレーの背景 */
  border: 1px solid #ddd;    /* 枠線の色 */
  white-space: nowrap;       /* 改行させない */
}

/* データ列（右側）の調整 */
.info_table td {
  width: 70%;
  white-space: pre-wrap;
  padding: 12px 15px;
  border: 1px solid #ddd;
  line-height: 1.6;
}

/* 公式サイトリンクの色 */
.individual_official_link {
  color: #2d2d2d;
  text-decoration: underline;
}

/* マップの高さ比率（もしiframeなら） */
.individual_map iframe {
  width: 100% !important;
  aspect-ratio: 16 / 9; /* マップも一定比率に */
  margin-top:20px;
  border: 0;
}

/* 地図の下に表示する紐づけホテル候補リスト */
.individual_hotel_candidates {
  border-top: 1px solid #ddd;
  margin-top: 20px;
  padding-top: 20px;
}
.individual_hotel_candidates h3 {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 10px;
}
.individual_hotel_candidates ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px 16px;
}
.individual_hotel_candidates li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 0 1 calc(50% - 8px);
  min-width: 260px;
  padding: 10px;
  margin: -10px;
  border-radius: 8px;
  transition: background 0.15s, box-shadow 0.15s;
}
.individual_hotel_candidates li:hover {
  background: #f5f8fc;
  box-shadow: 0 0 0 1px #d7e3f2;
}
@media (max-width: 768px) {
  .individual_hotel_candidates li {
    flex: 1 1 100%;
  }
}
.individual_hotel_candidate_photo {
  width: 100%;
}
.individual_hotel_candidate_photo_main {
  position: relative;
  width: 100%;
  height: 315px;
  flex-shrink: 0;
  flex-grow: 0;
}
.individual_hotel_candidate_photo_item {
  display: none;
  width: 100%;
  height: 100%;
}
.individual_hotel_candidate_photo_item.active {
  display: block;
}
.individual_hotel_candidate_photo_item a {
  display: block;
  width: 100%;
  height: 100%;
}
.individual_hotel_candidate_photo_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
/* バリューコマースの計測用1pxトラッキング画像はレイアウトに含めない */
.individual_hotel_candidate_photo_item img[width="0"] {
  display: none;
}
.individual_hotel_candidate_photo_thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.individual_hotel_candidate_photo_thumb {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  box-sizing: border-box;
}
.individual_hotel_candidate_photo_thumb.active {
  opacity: 1;
  border-color: #1a73c7;
}
.individual_hotel_candidate_photo_dots {
  display: none;
}
@media (max-width: 768px) {
  .individual_hotel_candidate_photo_thumbs {
    display: none;
  }
  .individual_hotel_candidate_photo_dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
  }
  .individual_hotel_candidate_photo_dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ccc;
  }
  .individual_hotel_candidate_photo_dot.active {
    background: #1a73c7;
  }
}
.individual_hotel_candidate_info {
  flex: 1;
  min-width: 0;
  width: 100%;
}
.individual_hotel_candidate_name {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.individual_hotel_candidate_name_link {
  color: #1a73c7;
  text-decoration: none;
}
.individual_hotel_candidate_name_link:hover,
.individual_hotel_candidate_name_link.is-photo-hover {
  text-decoration: underline;
}
.individual_hotel_candidate_area {
  font-size: 0.95rem;
  color: #666;
  margin-top: 6px;
}

.slider-wrapper {
  display: none;
}
.slider-track {
  display: flex;
  gap: 0;
}
.slider-slide {
  width: 33%;
}
.slider-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
}

/* PC では短縮版を非表示・全文を表示 */
.desc-short {
  display: none;
}

.description-toggle {
  display: none;
}

@media (max-width: 768px) {
  .desc-short {
    display: block;
  }

  .desc-full {
    display: none;
  }

  .description-text.expanded .desc-short {
    display: none;
  }

  .description-text.expanded .desc-full {
    display: block;
  }

  .description-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 4px;
    padding: 4px 0;
    background: none;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    font-size: 1.6rem;
    color: #888;
    cursor: pointer;
    transform: rotate(90deg);
  }

  .description-toggle.expanded {
    transform: rotate(-90deg);
  }
}

@media (max-width: 768px) {
  /* SNSシェアアイコン(.share-buttons、position: absolute; top:12px; right:12px;)が
     ページ右上に固定表示されるため、文字数の多い名前がその下に回り込んで重なるのを防ぐ。 */
  .individual_top_box {
    padding-right: 86px;
  }

  .individual_middle_box {
    flex-direction: column;
  }

  .individual_img {
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: transparent;
  }

  .show_img_none {
    height: 160px;
  }

  .individual_description {
    max-width: 100%;
  }

  .individual_img .list_img {
    display: none;
  }

  .individual_img .thumbnail_box {
    display: none !important;
  }

  .slider-wrapper {
    display: block;
    overflow: hidden;
    width: 100%;
    position: relative;
  }

  .slider-track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    transition: transform 0.3s ease;
    will-change: transform;
  }

  .slider-slide {
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    overflow: hidden;
  }

  .slider-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
  }
  .slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
}

  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
  }

  .dot.active {
    background-color: #333;
  }

  .info_table,
  .info_table tbody,
  .info_table tr,
  .info_table th,
  .info_table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .address-break {
    display: inline;
  }

  .info_table {
    border: 1px solid #ddd;
    border-bottom: none;
  }

  .info_table tr {
    margin-bottom: 0;
    border: none;
    border-bottom: 1px solid #ddd;
  }

  .info_table th {
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 8px 12px;
    white-space: normal;
  }

  .info_table td {
    border: none;
    padding: 8px 12px;
  }
}

/* ---------- 四国遍路 特設ページへのリンクタブ（寺の詳細ページ内） ---------- */
/* SNSシェアアイコン（.share-buttons、position: absolute; top:12px; right:12px;）の
   すぐ下に、同じ右上エリア内で固定表示する。 */
.shikoku88-cta-tab {
  position: absolute;
  top: 44px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: #4a7c59;
  color: #fff;
  font-size: 0.72rem;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  z-index: 1;
}

.shikoku88-cta-tab:hover {
  background-color: #3c6749;
}

.shikoku88-cta-tab .arrow {
  font-size: 0.7rem;
}

@media (max-width: 600px) {
  .shikoku88-cta-tab {
    top: 48px;
    font-size: 0.64rem;
    padding: 5px 10px;
  }
}

/* ---------- 四国遍路 特設ページ：ヒーロー見出し ---------- */
.shikoku88-page.individual_main {
  overflow: hidden;
}

.shikoku88-hero {
  position: relative;
  padding: 36px 28px 32px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(135deg, #1f4a37 0%, #3a6e52 55%, #4a8b5c 100%);
  color: #fff;
  text-align: center;
}

.shikoku88-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 25%, rgba(255,255,255,.14) 0, transparent 40%),
                     radial-gradient(circle at 85% 75%, rgba(255,255,255,.12) 0, transparent 45%);
  pointer-events: none;
}

.shikoku88-hero-eyebrow {
  position: relative;
  margin: 0 0 8px;
  letter-spacing: .15em;
  font-size: .72rem;
  font-weight: bold;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
}

.shikoku88-hero-title {
  position: relative;
  margin: 0 0 14px;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.shikoku88-hero-lead {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  font-size: .85rem;
  line-height: 1.9;
  color: rgba(255,255,255,.95);
}

@media (max-width: 600px) {
  .shikoku88-hero {
    padding: 28px 18px 24px;
  }

  .shikoku88-hero-title {
    font-size: 1.3rem;
  }
}

/* ---------- 四国遍路 特設ページ：巡礼ルートの進捗バー ---------- */
.shikoku88-journey {
  margin: 4px 24px 0;
}

.shikoku88-journey-bar {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.15);
}

.shikoku88-journey-segment {
  display: block;
  height: 100%;
  background-color: var(--dojo-color, #4a7c59);
  border-right: 2px solid #fff;
}

.shikoku88-journey-segment:last-child {
  border-right: none;
}

.shikoku88-journey-segment:hover {
  filter: brightness(1.1);
}

/* ---------- 四国遍路 特設ページ：道場（県）ごとのインデックス ---------- */
.shikoku88-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 24px;
}

.shikoku88-index-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background-color: #fff;
  border: 1px solid #e3e3e3;
  box-shadow: 1px 1px 3px rgba(0,0,0,.06);
  color: var(--color-base);
  font-size: .78rem;
  font-weight: bold;
  text-decoration: none;
  transition: box-shadow .15s, transform .15s;
}

.shikoku88-index-link:hover {
  box-shadow: 2px 3px 8px rgba(0,0,0,.12);
  transform: translateY(-1px);
}

.shikoku88-index-range {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background-color: var(--dojo-color, #4a7c59);
  color: #fff;
  font-size: .68rem;
}

/* ---------- 四国遍路 特設ページ：道場ごとの見出し ---------- */
.shikoku88-dojo {
  margin: 0 24px;
  scroll-margin-top: 16px;
}

.shikoku88-dojo-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--dojo-color, #4a7c59);
}

.shikoku88-dojo-range-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--dojo-color, #4a7c59);
  color: #fff;
  font-size: .72rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.3;
}

.shikoku88-dojo-heading {
  flex: 1;
  min-width: 0;
}

.shikoku88-dojo-heading h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  color: var(--dojo-color, #4a7c59);
}

.shikoku88-dojo-tagline {
  margin: 0;
  font-size: .8rem;
  color: #777;
}

.shikoku88-dojo-stat {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: .76rem;
  font-weight: bold;
  color: var(--dojo-color, #4a7c59);
}

@media (max-width: 600px) {
  .shikoku88-index {
    margin: 0 16px;
  }

  .shikoku88-dojo {
    margin: 0 16px;
  }

  .shikoku88-dojo-range-badge {
    width: 52px;
    height: 52px;
    font-size: .64rem;
  }
}

/* ---------- 四国遍路 特設ページ：札所カードを1列に並べ、カードの左の
   線（border-left）の上に札所番号のラベルを乗せる ---------- */
.shikoku88-route {
  display: flex;
  flex-direction: column;
}

.shikoku88-stop {
  display: flex;
  flex-direction: column;
}

.shikoku88-card-link {
  display: block;
}

.shikoku88-card {
  border-left: 4px solid var(--dojo-color, #4a7c59);
  transition: box-shadow .15s, transform .15s;
}

.shikoku88-card:hover {
  transform: translateX(2px);
}

.shikoku88-stop-label {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background-color: #f2f2f2;
  background-color: color-mix(in srgb, var(--dojo-color, #4a7c59) 12%, #fff);
  color: var(--dojo-color, #4a7c59);
  font-size: .68rem;
  font-weight: bold;
}

/* カードとカードの「間」に挟む、道のりの区間表示 */
.shikoku88-next {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 2px 0;
  padding: 8px 0;
  color: #777;
  font-size: .76rem;
  line-height: 1.5;
}

.shikoku88-next::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    to bottom,
    var(--dojo-color, #4a7c59) 0 4px,
    transparent 4px 8px
  );
  opacity: .5;
}

.shikoku88-next-icon,
.shikoku88-next-text {
  position: relative;
  background-color: var(--background-color-base, #fff);
  padding: 2px 3px;
}

.shikoku88-next-icon {
  flex-shrink: 0;
  font-size: .95rem;
}

.shikoku88-next strong {
  color: var(--dojo-color, #4a7c59);
}

/* ---------- 100名城・続100名城 特設ページ：CTAタブ ---------- */
.castles100-cta-tab {
  position: absolute;
  top: 44px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: #39506b;
  color: #fff;
  font-size: 0.72rem;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  z-index: 1;
}

.castles100-cta-tab:hover {
  background-color: #2c3e50;
}

.castles100-cta-tab .arrow {
  font-size: 0.7rem;
}

@media (max-width: 600px) {
  .castles100-cta-tab {
    top: 48px;
    font-size: 0.64rem;
    padding: 5px 10px;
  }
}

/* ---------- 100名城・続100名城 特設ページ：ヒーロー見出し ---------- */
.castles100-page.individual_main {
  overflow: hidden;
}

.castles100-hero {
  position: relative;
  padding: 36px 28px 32px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(135deg, #1b2733 0%, #2c3e50 55%, #3f5468 100%);
  color: #fff;
  text-align: center;
}

.castles100-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 25%, rgba(255,255,255,.14) 0, transparent 40%),
                     radial-gradient(circle at 85% 75%, rgba(255,255,255,.12) 0, transparent 45%);
  pointer-events: none;
}

.castles100-hero-eyebrow {
  position: relative;
  margin: 0 0 8px;
  letter-spacing: .15em;
  font-size: .72rem;
  font-weight: bold;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
}

.castles100-hero-title {
  position: relative;
  margin: 0 0 14px;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.castles100-hero-lead {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  font-size: .85rem;
  line-height: 1.9;
  color: rgba(255,255,255,.95);
}

@media (max-width: 600px) {
  .castles100-hero {
    padding: 28px 18px 24px;
  }

  .castles100-hero-title {
    font-size: 1.3rem;
  }
}

/* ---------- 100名城・続100名城 特設ページ：100名城／続100名城の切り替えタブ ---------- */
.castles100-tabs {
  display: flex;
  gap: 10px;
  margin: 24px 24px 0;
  border-bottom: 2px solid #e8e8e8;
}

.castles100-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-bottom: 3px solid transparent;
  background: none;
  color: #999;
  font-size: .88rem;
  font-weight: bold;
  font-family: inherit;
  cursor: pointer;
  transition: color .15s, border-color .15s;
  margin-bottom: -2px;
}

.castles100-tab:hover {
  color: var(--group-color, #39506b);
}

.castles100-tab.active {
  color: var(--group-color, #39506b);
  border-bottom-color: var(--group-color, #39506b);
}

.castles100-tab-count {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background-color: #eee;
  color: #999;
  font-size: .68rem;
  transition: background-color .15s, color .15s;
}

.castles100-tab.active .castles100-tab-count,
.castles100-tab:hover .castles100-tab-count {
  background-color: var(--group-color, #39506b);
  color: #fff;
}

/* ---------- 100名城・続100名城 特設ページ：タブで切り替わるパネル ---------- */
.castles100-panel {
  display: none;
  margin: 0 24px;
}

.castles100-panel.active {
  display: block;
  margin-top: 28px;
}

.castles100-panel-intro {
  margin: 0 0 24px;
  padding: 14px 18px;
  border-radius: 4px;
  background-color: color-mix(in srgb, var(--group-color, #39506b) 6%, #fff);
  color: #555;
  font-size: .82rem;
  line-height: 1.8;
}

/* ---------- 100名城・続100名城 特設ページ：冒頭に戻るボタン ---------- */
.castles100-top-btn {
  display: block;
  width: fit-content;
  margin: 24px auto 0;
  padding: 10px 22px;
  border-radius: 999px;
  background-color: #f2f2f2;
  color: #666;
  font-size: .8rem;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background-color .15s;
}

.castles100-top-btn:hover {
  background-color: #e3e3e3;
}

/* ---------- 100名城・続100名城 特設ページ：地方ごとの見出しとカード ---------- */
.castles100-area {
  margin-bottom: 28px;
}

.castles100-area-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: .95rem;
  color: #555;
}

.castles100-route {
  display: flex;
  flex-direction: column;
}

.castles100-card-link {
  display: block;
}

.castles100-card {
  border-left: 4px solid var(--group-color, #39506b);
  transition: box-shadow .15s, transform .15s;
}

.castles100-card:hover {
  transform: translateX(2px);
}

@media (max-width: 600px) {
  .castles100-tabs {
    margin: 20px 16px 0;
  }

  .castles100-tab {
    padding: 10px 14px;
    font-size: .78rem;
  }

  .castles100-panel {
    margin: 0 16px;
  }
}