@charset "UTF-8";
/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Web Fonts
 *
 * Google Fonts の読み込みを一箇所に集約する。
 * - Heading: BIZ UDPGothic Bold
 * - Text/UI: BIZ UDPGothic Regular
 */
@import url("https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&display=swap");
/**
 * Variables
 *
 * 神社参り 共通変数
 */
/**
 * Mixins
 *
 * 神社参り 共通mixin
 */
/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Heading Typography
 *
 * 見出し専用タイポグラフィ。
 * BIZ UDPGothic Bold を使用する。
 * 本文と同じフォントファミリーでも、見出し側の指定はここで独立管理する。
 */
h1,
h2,
h3,
h4,
h5,
h6,
.jm-shrine-hero__title,
.jm-shrine-section__title,
.jm-shrine-info-card__title,
.jm-shrine-term-block__title,
.jm-shrine-hotels__title,
.jm-hotel-card__title,
.jm-shrine-sidebar__title,
.jm-sidebar-hotel__title,
.jm-sidebar-history__title,
.jm-sidebar-related__title {
  font-family: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-weight: 700;
}

/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Text Typography
 *
 * 本文・フォーム・UIテキスト専用タイポグラフィ。
 * BIZ UDPGothic Regular を基本とする。
 */
body,
button,
input,
select,
textarea {
  font-family: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

body {
  font-weight: 400;
}

button,
input,
select,
textarea {
  font-size: inherit;
}

/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Base
 *
 * 神社参り 共通ベース
 */
body {
  color: #2f2b28;
  background: #ffffff;
  scroll-behavior: smooth;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Content Layout
 *
 * 神社参り コンテンツ領域の共通調整
 */
body.single-shrine .l-content {
  max-width: none;
}
body.single-shrine .l-mainContent {
  width: 100%;
  max-width: none;
}
body.single-shrine .l-sidebar {
  display: none;
}
body.single-shrine .c-pageTitle {
  display: none;
}

/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Shrine Layout
 *
 * 神社詳細ページの2カラムレイアウト
 */
.jm-shrine-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
  width: 100%;
}

.jm-shrine-main {
  min-width: 0;
}

@media screen and (max-width: 1100px) {
  .jm-shrine-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 28px;
  }
}
@media screen and (max-width: 959px) {
  .jm-shrine-layout {
    display: block;
  }
}
/*
 * =========================================================
 * Hero image / figure
 * =========================================================
 *
 * 既存 .jm-shrine-hero__image の margin-bottom は 0 に変更。
 * 余白は figure 側で管理する。
 */
.jm-shrine-hero__figure {
  margin: 0 0 32px;
}

.jm-shrine-hero__image {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .jm-shrine-hero__figure {
    margin-bottom: 24px;
  }
  .jm-shrine-hero__image {
    margin-bottom: 0;
  }
}
/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Tag
 */
.jm-shrine-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid #d4ccc1;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  color: #6f6963;
  background: #ffffff;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.jm-shrine-tag:hover {
  border-color: #7a2f2f;
  color: #7a2f2f;
  background: #f8eeee;
  transform: translateY(-1px);
}
@media (max-width: 767px) {
  .jm-shrine-tag {
    min-height: 30px;
    padding: 5px 10px;
    font-size: 12px;
  }
}

.jm-shrine-tag--benefit {
  border-color: #e4cf9c;
  color: #75591f;
  background: #fbf5e7;
}
.jm-shrine-tag--benefit:hover {
  border-color: #b88a3b;
  color: #75591f;
  background: #fbf6ea;
}

.jm-shrine-tag--feature {
  border-color: #cddbcf;
  color: #49604d;
  background: #f1f6f2;
}
.jm-shrine-tag--feature:hover {
  border-color: #49604d;
  color: #49604d;
  background: #f1f6f2;
}

/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Section
 */
.jm-shrine-section {
  margin-top: 56px;
}
.jm-shrine-section .jm-shrine-section__title {
  position: relative;
  margin: 0 0 24px;
  padding: 0 0 14px 18px;
  border-bottom: 1px solid #e4dfd8;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #2f2b28;
}
.jm-shrine-section .jm-shrine-section__title::before {
  position: absolute;
  top: 4px;
  bottom: 16px;
  left: 0;
  width: 4px;
  content: "";
  border-radius: 999px;
  background: #7a2f2f;
}
.jm-shrine-section .jm-shrine-section__body {
  font-size: 15px;
  line-height: 1.9;
  color: #6f6963;
}
.jm-shrine-section .jm-shrine-section__body p {
  margin: 0 0 1em;
}
.jm-shrine-section .jm-shrine-section__body p:last-child {
  margin-bottom: 0;
}
.jm-shrine-section .jm-shrine-section__body--content {
  margin-top: 24px;
}
@media (max-width: 767px) {
  .jm-shrine-section {
    margin-top: 42px;
  }
  .jm-shrine-section .jm-shrine-section__title {
    margin-bottom: 18px;
    padding: 0 0 11px 14px;
    font-size: 21px;
  }
  .jm-shrine-section .jm-shrine-section__title::before {
    top: 3px;
    bottom: 13px;
    width: 3px;
  }
  .jm-shrine-section .jm-shrine-section__body {
    font-size: 14px;
  }
}

/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Info Card
 */
.jm-shrine-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 767px) {
  .jm-shrine-info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.jm-shrine-info-card {
  padding: 22px 24px;
  border: 1px solid #e4dfd8;
  border-radius: 8px;
  background: #faf8f5;
}
.jm-shrine-info-card .jm-shrine-info-card__title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #2f2b28;
}
.jm-shrine-info-card .jm-shrine-info-card__body {
  font-size: 14px;
  line-height: 1.9;
  color: #6f6963;
}
.jm-shrine-info-card .jm-shrine-info-card__body p {
  margin: 0 0 0.8em;
}
.jm-shrine-info-card .jm-shrine-info-card__body p:last-child {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .jm-shrine-info-card {
    padding: 18px 16px;
  }
  .jm-shrine-info-card .jm-shrine-info-card__title {
    margin-bottom: 10px;
    font-size: 15px;
  }
  .jm-shrine-info-card .jm-shrine-info-card__body {
    font-size: 13px;
  }
}

/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Details
 */
.jm-shrine-details {
  border-top: 1px solid #e4dfd8;
}
.jm-shrine-details .jm-shrine-details__row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  border-bottom: 1px solid #e4dfd8;
}
.jm-shrine-details .jm-shrine-details__label {
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  color: #2f2b28;
  background: #f5f1eb;
}
.jm-shrine-details .jm-shrine-details__value {
  min-width: 0;
  padding: 18px 22px;
  font-size: 14px;
  line-height: 1.9;
  color: #6f6963;
  background: #ffffff;
}
.jm-shrine-details .jm-shrine-details__value p {
  margin: 0 0 0.8em;
}
.jm-shrine-details .jm-shrine-details__value p:last-child {
  margin-bottom: 0;
}
.jm-shrine-details .jm-shrine-details__value a {
  color: #7a2f2f;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}
.jm-shrine-details .jm-shrine-details__value a:hover {
  opacity: 0.72;
}
@media (max-width: 767px) {
  .jm-shrine-details .jm-shrine-details__row {
    grid-template-columns: 1fr;
  }
  .jm-shrine-details .jm-shrine-details__label {
    padding: 10px 14px;
    font-size: 13px;
  }
  .jm-shrine-details .jm-shrine-details__value {
    padding: 14px;
    font-size: 14px;
  }
}

/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Hotel Card
 *
 * 神社詳細ページなどで再利用するホテルカード
 */
.jm-hotel-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e7e3da;
  background: #fff;
}
.jm-hotel-card .jm-hotel-card__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f4f1eb;
}
.jm-hotel-card .jm-hotel-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jm-hotel-card .jm-hotel-card__image--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.jm-hotel-card .jm-hotel-card__image-placeholder {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #aaa;
}
.jm-hotel-card .jm-hotel-card__recommend {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.jm-hotel-card .jm-hotel-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}
.jm-hotel-card .jm-hotel-card__distance {
  margin: 0 0 7px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  color: #8a7a5c;
}
.jm-hotel-card .jm-hotel-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}
.jm-hotel-card .jm-hotel-card__review {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  margin-top: 10px;
}
.jm-hotel-card .jm-hotel-card__rating {
  font-size: 13px;
  font-weight: 700;
}
.jm-hotel-card .jm-hotel-card__star {
  margin-right: 2px;
  color: #c58b26;
}
.jm-hotel-card .jm-hotel-card__review-count {
  font-size: 11px;
  color: #777;
}
.jm-hotel-card .jm-hotel-card__access {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.65;
  color: #666;
}
.jm-hotel-card .jm-hotel-card__footer {
  margin-top: auto;
  padding-top: 16px;
}
.jm-hotel-card .jm-hotel-card__price {
  margin: 0 0 12px;
}
.jm-hotel-card .jm-hotel-card__price-label {
  display: block;
  margin-bottom: 2px;
  font-size: 10px;
  color: #777;
}
.jm-hotel-card .jm-hotel-card__price-value {
  font-size: 18px;
  font-weight: 700;
}
.jm-hotel-card .jm-hotel-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid #b76747;
  background: #b76747;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.jm-hotel-card .jm-hotel-card__button:hover {
  background: #fff;
  color: #b76747;
}

@media screen and (max-width: 599px) {
  .jm-hotel-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
  }
  .jm-hotel-card .jm-hotel-card__image {
    height: 100%;
    min-height: 180px;
    aspect-ratio: auto;
  }
  .jm-hotel-card .jm-hotel-card__body {
    padding: 13px;
  }
  .jm-hotel-card .jm-hotel-card__title {
    font-size: 14px;
  }
  .jm-hotel-card .jm-hotel-card__price-value {
    font-size: 16px;
  }
}
/**
 * Shrine Image Credit
 *
 * アイキャッチ画像の出典・ライセンス表示
 */
.jm-image-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.6;
  color: #8b857f;
}

.jm-image-credit__label {
  flex: 0 0 auto;
  color: #9a948e;
}

.jm-image-credit__creator {
  min-width: 0;
  word-break: break-word;
}

.jm-image-credit__separator {
  color: #bbb5af;
}

.jm-image-credit__license,
.jm-image-credit__source {
  color: #77716b;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}

.jm-image-credit__license:hover,
.jm-image-credit__source:hover {
  opacity: 0.68;
}

@media screen and (max-width: 767px) {
  .jm-image-credit {
    margin-top: 7px;
    font-size: 9px;
    line-height: 1.65;
  }
}
/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Shrine Sidebar
 *
 * 神社詳細ページ サイドバー外枠
 */
.jm-shrine-sidebar {
  min-width: 0;
}
.jm-shrine-sidebar .jm-shrine-sidebar__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.jm-shrine-sidebar .jm-shrine-sidebar__section {
  overflow: hidden;
  border: 1px solid #e5e1dc;
  background: #fff;
}
.jm-shrine-sidebar .jm-shrine-sidebar__title {
  margin: 0;
  padding: 13px 15px;
  border-bottom: 1px solid #e5e1dc;
  background: #faf9f7;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  color: #2f2925;
}
.jm-shrine-sidebar .jm-shrine-sidebar__body {
  padding: 15px;
}
.jm-shrine-sidebar .jm-shrine-sidebar__more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid #8f2f2d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  color: #8f2f2d;
  background: #fff;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.jm-shrine-sidebar .jm-shrine-sidebar__more:hover {
  color: #fff;
  background: #8f2f2d;
}
.jm-shrine-sidebar .jm-shrine-sidebar__placeholder {
  padding: 20px 10px;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
  color: #999;
  background: #f8f8f8;
}

@media screen and (max-width: 959px) {
  .jm-shrine-sidebar {
    margin-top: 40px;
  }
  .jm-shrine-sidebar .jm-shrine-sidebar__inner {
    gap: 16px;
  }
  .jm-shrine-sidebar .jm-shrine-sidebar__title {
    padding: 13px 14px;
    font-size: 14px;
  }
  .jm-shrine-sidebar .jm-shrine-sidebar__body {
    padding: 14px;
  }
}
@media screen and (max-width: 599px) {
  .jm-shrine-sidebar {
    margin-top: 32px;
  }
}
/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Shrine Sidebar Info
 *
 * サイドバー 基本情報
 */
.jm-shrine-sidebar-info {
  margin: 0;
}
.jm-shrine-sidebar-info .jm-shrine-sidebar-info__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eeeae6;
}
.jm-shrine-sidebar-info .jm-shrine-sidebar-info__row:first-child {
  padding-top: 0;
}
.jm-shrine-sidebar-info .jm-shrine-sidebar-info__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.jm-shrine-sidebar-info .jm-shrine-sidebar-info__label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
  color: #77706b;
}
.jm-shrine-sidebar-info .jm-shrine-sidebar-info__value {
  min-width: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
  color: #38322e;
  word-break: break-word;
}
.jm-shrine-sidebar-info .jm-shrine-sidebar-info__postal {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  color: #77706b;
}

@media screen and (max-width: 599px) {
  .jm-shrine-sidebar-info .jm-shrine-sidebar-info__row {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 9px;
  }
}
/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Sidebar Hotel
 *
 * サイドバー 周辺ホテル
 */
.jm-sidebar-hotels {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.jm-sidebar-hotel {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid #eeeae6;
}
.jm-sidebar-hotel:first-child {
  padding-top: 0;
}
.jm-sidebar-hotel:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.jm-sidebar-hotel .jm-sidebar-hotel__image {
  min-width: 0;
}
.jm-sidebar-hotel .jm-sidebar-hotel__image-link {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4/3;
  background: #f3f1ee;
}
.jm-sidebar-hotel .jm-sidebar-hotel__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.jm-sidebar-hotel .jm-sidebar-hotel__image-link:hover .jm-sidebar-hotel__img {
  transform: scale(1.03);
}
.jm-sidebar-hotel .jm-sidebar-hotel__content {
  min-width: 0;
}
.jm-sidebar-hotel .jm-sidebar-hotel__distance {
  margin: 0 0 3px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
  color: #857b74;
}
.jm-sidebar-hotel .jm-sidebar-hotel__title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.jm-sidebar-hotel .jm-sidebar-hotel__title a {
  color: #2f2925;
  text-decoration: none;
}
.jm-sidebar-hotel .jm-sidebar-hotel__title a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.jm-sidebar-hotel .jm-sidebar-hotel__review {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.4;
}
.jm-sidebar-hotel .jm-sidebar-hotel__rating {
  font-weight: 700;
  color: #6b5241;
}
.jm-sidebar-hotel .jm-sidebar-hotel__star {
  margin-right: 2px;
  color: #c89b45;
}
.jm-sidebar-hotel .jm-sidebar-hotel__reviews {
  color: #8a827c;
}
.jm-sidebar-hotel .jm-sidebar-hotel__price {
  margin: 5px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #8f2f2d;
}
.jm-sidebar-hotel .jm-sidebar-hotel__price strong {
  font-size: 13px;
  font-weight: 700;
}

@media screen and (max-width: 1100px) {
  .jm-sidebar-hotel {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 9px;
  }
}
@media screen and (max-width: 959px) {
  .jm-sidebar-hotels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .jm-sidebar-hotel {
    display: block;
    padding: 0;
    border: 0;
  }
  .jm-sidebar-hotel .jm-sidebar-hotel__image-link {
    margin-bottom: 8px;
    aspect-ratio: 4/3;
  }
  .jm-sidebar-hotel .jm-sidebar-hotel__title {
    font-size: 12px;
  }
  .jm-sidebar-hotel .jm-sidebar-hotel__distance {
    font-size: 10px;
  }
  .jm-sidebar-hotel .jm-sidebar-hotel__price strong {
    font-size: 13px;
  }
}
@media screen and (max-width: 599px) {
  .jm-sidebar-hotels {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .jm-sidebar-hotel {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 11px;
    padding: 12px 0;
    border-bottom: 1px solid #eeeae6;
  }
  .jm-sidebar-hotel:first-child {
    padding-top: 0;
  }
  .jm-sidebar-hotel:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .jm-sidebar-hotel .jm-sidebar-hotel__image-link {
    margin-bottom: 0;
  }
}
/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Sidebar History
 *
 * 最近見た神社 / 最近チェックしたホテル
 */
.jm-sidebar-history {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.jm-sidebar-history__item {
  padding: 10px 0;
  border-bottom: 1px solid #eeeae6;
}
.jm-sidebar-history__item:first-child {
  padding-top: 0;
}
.jm-sidebar-history__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.jm-sidebar-history__link {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: inherit;
  text-decoration: none;
}
.jm-sidebar-history__link:hover .jm-sidebar-history__title {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.jm-sidebar-history__link:hover .jm-sidebar-history__img {
  transform: scale(1.03);
}

.jm-sidebar-history__image {
  overflow: hidden;
  width: 76px;
  aspect-ratio: 4/3;
  background: #f3f1ee;
}

.jm-sidebar-history__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.jm-sidebar-history__content {
  min-width: 0;
}

.jm-sidebar-history__title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: #2f2925;
}

.jm-sidebar-history__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 7px;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.45;
  color: #857b74;
}

.jm-sidebar-history__price {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  color: #8f2f2d;
}

@media screen and (max-width: 599px) {
  .jm-sidebar-history__link {
    grid-template-columns: 88px minmax(0, 1fr);
  }
  .jm-sidebar-history__image {
    width: 88px;
  }
}
/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Sidebar Related Shrines
 *
 * 同じエリアの神社
 */
.jm-sidebar-related {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.jm-sidebar-related .jm-sidebar-related__item {
  padding: 10px 0;
  border-bottom: 1px solid #eeeae6;
}
.jm-sidebar-related .jm-sidebar-related__item:first-child {
  padding-top: 0;
}
.jm-sidebar-related .jm-sidebar-related__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.jm-sidebar-related .jm-sidebar-related__link {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.jm-sidebar-related .jm-sidebar-related__link:hover .jm-sidebar-related__title {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.jm-sidebar-related .jm-sidebar-related__link:hover .jm-sidebar-related__img {
  transform: scale(1.03);
}
.jm-sidebar-related .jm-sidebar-related__image {
  overflow: hidden;
  width: 76px;
  aspect-ratio: 4/3;
  background: #f3f1ee;
}
.jm-sidebar-related .jm-sidebar-related__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.jm-sidebar-related .jm-sidebar-related__content {
  min-width: 0;
}
.jm-sidebar-related .jm-sidebar-related__title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  color: #2f2925;
}

@media screen and (max-width: 599px) {
  .jm-sidebar-related .jm-sidebar-related__link {
    grid-template-columns: 88px minmax(0, 1fr);
  }
  .jm-sidebar-related .jm-sidebar-related__image {
    width: 88px;
  }
}
/**
 * Shrine Card
 */
.jm-shrine-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.jm-shrine-card:hover {
  transform: translateY(-2px);
  border-color: #d5d5d5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.jm-shrine-card__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.jm-shrine-card__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #f4f4f2;
}

.jm-shrine-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.jm-shrine-card:hover .jm-shrine-card__image {
  transform: scale(1.025);
}

.jm-shrine-card__image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #8a8a8a;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.jm-shrine-card__body {
  padding: 16px;
}

.jm-shrine-card__area {
  margin: 0 0 5px;
  color: #777;
  font-size: 12px;
  line-height: 1.5;
}

.jm-shrine-card__title {
  margin: 0;
  color: #222;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}

.jm-shrine-card__address {
  margin: 8px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.7;
}

.jm-shrine-card__meta {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
}

.jm-shrine-card__meta-label {
  flex-shrink: 0;
  color: #777;
  font-weight: 600;
}

.jm-shrine-card__meta-value {
  color: #444;
}

.jm-shrine-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.jm-shrine-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: #f6f3ed;
  border-radius: 999px;
  color: #665b4d;
  font-size: 11px;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .jm-shrine-card__body {
    padding: 14px;
  }
  .jm-shrine-card__title {
    font-size: 17px;
  }
  .jm-shrine-card__address {
    font-size: 12px;
  }
  .jm-shrine-card__meta {
    font-size: 12px;
  }
}
/**
 * Prefecture Navigation
 */
.jm-prefecture-nav {
  margin: 0 0 48px;
  padding: 28px;
  background: #faf9f7;
  border: 1px solid #e8e5df;
  border-radius: 14px;
}

.jm-prefecture-nav__header {
  margin-bottom: 24px;
}

.jm-prefecture-nav__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
}

.jm-prefecture-nav__lead {
  margin: 8px 0 0;
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

.jm-prefecture-nav__regions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
}

.jm-prefecture-nav__region {
  min-width: 0;
}

.jm-prefecture-nav__region-title {
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ddd8cf;
  color: #444;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.jm-prefecture-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jm-prefecture-nav__item {
  margin: 0;
  padding: 0;
}

.jm-prefecture-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid #ddd8cf;
  border-radius: 999px;
  color: #333;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.jm-prefecture-nav__link:hover {
  background: #f2efe9;
  border-color: #cfc8bd;
  color: #222;
  transform: translateY(-1px);
}

.jm-prefecture-nav__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

@media (max-width: 800px) {
  .jm-prefecture-nav {
    padding: 22px;
  }
  .jm-prefecture-nav__regions {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .jm-prefecture-nav {
    margin-bottom: 32px;
    padding: 18px 16px;
    border-radius: 12px;
  }
  .jm-prefecture-nav__header {
    margin-bottom: 20px;
  }
  .jm-prefecture-nav__title {
    font-size: 20px;
  }
  .jm-prefecture-nav__lead {
    font-size: 13px;
  }
  .jm-prefecture-nav__regions {
    gap: 18px;
  }
  .jm-prefecture-nav__region-title {
    font-size: 14px;
  }
  .jm-prefecture-nav__list {
    gap: 7px;
  }
  .jm-prefecture-nav__link {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
  }
}
/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Single Shrine
 *
 * 神社詳細ページ
 */
.jm-shrine {
  padding: 36px 24px 80px;
  background: #ffffff;
}
.jm-shrine .jm-shrine__inner {
  width: 100%;
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}
.jm-shrine .jm-shrine__content {
  margin-top: 48px;
}
.jm-shrine .jm-shrine__main {
  width: 100%;
}
@media (max-width: 767px) {
  .jm-shrine {
    padding: 20px 16px 56px;
  }
  .jm-shrine .jm-shrine__content {
    margin-top: 38px;
  }
}

.jm-shrine-hero {
  width: 100%;
}
.jm-shrine-hero .jm-shrine-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 42px;
  align-items: start;
}
.jm-shrine-hero .jm-shrine-hero__visual {
  min-width: 0;
}
.jm-shrine-hero .jm-shrine-hero__image {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: 14px;
  background: #f5f1eb;
  box-shadow: 0 10px 30px rgba(47, 43, 40, 0.06);
}
.jm-shrine-hero .jm-shrine-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jm-shrine-hero .jm-shrine-hero__info {
  min-width: 0;
  padding-top: 6px;
}
.jm-shrine-hero .jm-shrine-hero__kana {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #8b857f;
}
.jm-shrine-hero .jm-shrine-hero__title {
  margin: 0;
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: #2f2b28;
}
.jm-shrine-hero .jm-shrine-hero__former-name {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #8b857f;
}
.jm-shrine-hero .jm-shrine-hero__area {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
  color: #6f6963;
}
.jm-shrine-hero .jm-shrine-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}
.jm-shrine-hero .jm-shrine-hero__meta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.jm-shrine-hero .jm-shrine-hero__meta-label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid #e4dfd8;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: #6f6963;
  background: #f5f1eb;
}
.jm-shrine-hero .jm-shrine-hero__meta-values {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.jm-shrine-hero .jm-shrine-hero__meta-value {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  color: #2f2b28;
}
.jm-shrine-hero .jm-shrine-hero__meta-link {
  color: inherit;
  text-decoration: none;
}
.jm-shrine-hero .jm-shrine-hero__meta-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.jm-shrine-hero .jm-shrine-hero__meta-link:focus-visible {
  border-radius: 2px;
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.jm-shrine-hero .jm-shrine-hero__meta-link:visited {
  color: inherit;
}
.jm-shrine-hero .jm-shrine-hero__benefits,
.jm-shrine-hero .jm-shrine-hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.jm-shrine-hero .jm-shrine-hero__benefits {
  margin-top: 20px;
}
.jm-shrine-hero .jm-shrine-hero__features {
  margin-top: 8px;
}
.jm-shrine-hero .jm-shrine-hero__summary {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #e4dfd8;
}
.jm-shrine-hero .jm-shrine-hero__summary p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #6f6963;
}
.jm-shrine-hero .jm-shrine-hero__summary-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #7a2f2f;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}
.jm-shrine-hero .jm-shrine-hero__summary-link:hover {
  opacity: 0.72;
}
.jm-shrine-hero .jm-shrine-hero__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
@media (max-width: 1023px) {
  .jm-shrine-hero .jm-shrine-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 30px;
  }
}
@media (max-width: 767px) {
  .jm-shrine-hero .jm-shrine-hero__grid {
    display: block;
  }
  .jm-shrine-hero .jm-shrine-hero__image {
    width: calc(100% + 32px);
    margin-right: -16px;
    margin-left: -16px;
    aspect-ratio: 4/3;
    border-radius: 0;
  }
  .jm-shrine-hero .jm-shrine-hero__info {
    padding-top: 24px;
  }
  .jm-shrine-hero .jm-shrine-hero__kana {
    font-size: 12px;
  }
  .jm-shrine-hero .jm-shrine-hero__title {
    font-size: 30px;
  }
  .jm-shrine-hero .jm-shrine-hero__area {
    margin-top: 10px;
    font-size: 14px;
  }
  .jm-shrine-hero .jm-shrine-hero__meta {
    margin-top: 16px;
  }
  .jm-shrine-hero .jm-shrine-hero__benefits {
    margin-top: 18px;
  }
  .jm-shrine-hero .jm-shrine-hero__summary {
    margin-top: 18px;
    padding-top: 18px;
  }
  .jm-shrine-hero .jm-shrine-hero__actions {
    margin-top: 18px;
  }
}

.jm-shrine-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.jm-shrine-button:hover {
  transform: translateY(-1px);
}

.jm-shrine-button--primary {
  border-color: #7a2f2f;
  color: #ffffff;
  background: #7a2f2f;
}
.jm-shrine-button--primary:hover {
  color: #ffffff;
  background: #5f2323;
  border-color: #5f2323;
}

.jm-shrine-button--outline {
  border-color: #7a2f2f;
  color: #7a2f2f;
  background: #ffffff;
}
.jm-shrine-button--outline:hover {
  color: #7a2f2f;
  background: #f8eeee;
}

.jm-shrine-anchor {
  margin-top: 40px;
  border-top: 1px solid #e4dfd8;
  border-bottom: 1px solid #e4dfd8;
  background: #ffffff;
}
.jm-shrine-anchor .jm-shrine-anchor__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
.jm-shrine-anchor .jm-shrine-anchor__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 10px 12px;
  border-right: 1px solid #e4dfd8;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  color: #2f2b28;
  background: #ffffff;
  transition: background 0.2s ease, color 0.2s ease;
}
.jm-shrine-anchor .jm-shrine-anchor__link:last-child {
  border-right: 0;
}
.jm-shrine-anchor .jm-shrine-anchor__link::after {
  display: inline-block;
  margin-left: 7px;
  content: "↓";
  font-size: 11px;
  color: #7a2f2f;
}
.jm-shrine-anchor .jm-shrine-anchor__link:hover {
  color: #7a2f2f;
  background: #f8eeee;
}
@media (max-width: 767px) {
  .jm-shrine-anchor {
    margin-top: 30px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .jm-shrine-anchor .jm-shrine-anchor__inner {
    display: flex;
    width: max-content;
    min-width: 100%;
  }
  .jm-shrine-anchor .jm-shrine-anchor__link {
    flex: 0 0 auto;
    min-width: 132px;
    min-height: 48px;
    padding: 8px 12px;
    font-size: 12px;
  }
}

.jm-shrine-section {
  scroll-margin-top: 100px;
}

.jm-shrine-term-block + .jm-shrine-term-block {
  margin-top: 28px;
}
.jm-shrine-term-block .jm-shrine-term-block__title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #2f2b28;
}
.jm-shrine-term-block .jm-shrine-term-block__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jm-shrine-map-link {
  margin-top: 18px;
}
.jm-shrine-map-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid #7a2f2f;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  color: #ffffff;
  background: #7a2f2f;
  transition: background 0.2s ease, color 0.2s ease;
}
.jm-shrine-map-link a:hover {
  color: #7a2f2f;
  background: #ffffff;
}
@media (max-width: 767px) {
  .jm-shrine-map-link a {
    width: 100%;
  }
}

.jm-shrine-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.jm-shrine-socials a {
  font-weight: 600;
  color: #7a2f2f;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}
.jm-shrine-socials a:hover {
  opacity: 0.72;
}

/*
 * =========================================================
 * Phase 03-7-3｜Related Shrine
 * =========================================================
 */
.jm-shrine__related {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #e4dfd8;
}

.jm-shrine-related__header {
  margin-bottom: 24px;
}

.jm-shrine-related__title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.45;
  color: #2f2b28;
}

.jm-shrine-related__lead {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: #6f6963;
}

.jm-shrine-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 960px) {
  .jm-shrine-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .jm-shrine__related {
    margin-top: 40px;
    padding-top: 32px;
  }
  .jm-shrine-related__header {
    margin-bottom: 20px;
  }
  .jm-shrine-related__title {
    font-size: 22px;
  }
  .jm-shrine-related__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}
/**
 * 神社参り SCSS Entry
 *
 * Sass module system
 */
/**
 * Shrine Hotels
 *
 * 神社詳細ページ 周辺ホテルセクション
 */
.jm-shrine-hotels {
  margin-top: 64px;
}
.jm-shrine-hotels .jm-shrine-hotels__inner {
  width: 100%;
}
.jm-shrine-hotels .jm-shrine-hotels__header {
  margin-bottom: 28px;
}
.jm-shrine-hotels .jm-shrine-hotels__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #8a7a5c;
}
.jm-shrine-hotels .jm-shrine-hotels__title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
}
.jm-shrine-hotels .jm-shrine-hotels__lead {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: #666;
}
.jm-shrine-hotels .jm-shrine-hotels__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 18px;
}
.jm-shrine-hotels .jm-shrine-hotels__note {
  margin: 18px 0 0;
  font-size: 11px;
  line-height: 1.7;
  color: #888;
}

@media screen and (max-width: 959px) {
  .jm-shrine-hotels .jm-shrine-hotels__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 599px) {
  .jm-shrine-hotels {
    margin-top: 48px;
  }
  .jm-shrine-hotels .jm-shrine-hotels__header {
    margin-bottom: 20px;
  }
  .jm-shrine-hotels .jm-shrine-hotels__title {
    font-size: 21px;
  }
  .jm-shrine-hotels .jm-shrine-hotels__lead {
    font-size: 13px;
  }
  .jm-shrine-hotels .jm-shrine-hotels__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
/**
 * Shrine Archive
 */
.jm-shrine-archive {
  padding: 48px 20px 64px;
}

.jm-shrine-archive__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.jm-shrine-archive__header {
  margin-bottom: 32px;
}

.jm-shrine-archive__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.35;
}

.jm-shrine-archive__lead {
  max-width: 720px;
  margin: 12px 0 0;
  color: #555;
  font-size: 15px;
  line-height: 1.9;
}

.jm-shrine-archive__count {
  margin: 12px 0 0;
  color: #777;
  font-size: 13px;
}

.jm-shrine-archive__count strong {
  color: #333;
  font-size: 16px;
}

.jm-shrine-archive__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.jm-shrine-archive__pagination {
  margin-top: 48px;
}

.jm-shrine-archive__pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.jm-shrine-archive__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
}

.jm-shrine-archive__pagination .page-numbers.current {
  background: #333;
  border-color: #333;
  color: #fff;
}

.jm-shrine-archive__pagination a.page-numbers:hover {
  border-color: #aaa;
}

.jm-shrine-archive__empty {
  padding: 40px 0;
  color: #777;
  text-align: center;
}

@media (max-width: 900px) {
  .jm-shrine-archive__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .jm-shrine-archive {
    padding: 32px 16px 48px;
  }
  .jm-shrine-archive__header {
    margin-bottom: 24px;
  }
  .jm-shrine-archive__lead {
    font-size: 14px;
  }
  .jm-shrine-archive__list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .jm-shrine-archive__pagination {
    margin-top: 32px;
  }
}
/**
 * Shrine archive list heading
 */
.jm-shrine-archive__list-header {
  margin: 0 0 20px;
}

.jm-shrine-archive__list-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .jm-shrine-archive__list-header {
    margin-bottom: 16px;
  }
  .jm-shrine-archive__list-title {
    font-size: 20px;
  }
}
/**
 * Shrine taxonomy archive
 *
 * deity / benefit / shrine_rank
 *
 * Phase 03-3-5
 */
.jm-shrine-taxonomy__header {
  position: relative;
}

.jm-shrine-taxonomy__eyebrow {
  margin: 0 0 8px;
  color: #777;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.jm-shrine-taxonomy__lead {
  max-width: 760px;
}

.jm-shrine-taxonomy__region-nav {
  margin: 0 0 40px;
  padding: 24px;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  background: #fff;
}

.jm-shrine-taxonomy__region-header {
  margin: 0 0 18px;
}

.jm-shrine-taxonomy__region-title {
  margin: 0;
  color: #222;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.5;
}

.jm-shrine-taxonomy__region-description {
  margin: 6px 0 0;
  color: #777;
  font-size: 13px;
  line-height: 1.7;
}

.jm-shrine-taxonomy__region-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jm-shrine-taxonomy__region-item {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.jm-shrine-taxonomy__region-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fafafa;
  color: #333;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jm-shrine-taxonomy__region-link:hover {
  border-color: #bbb;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.jm-shrine-taxonomy__region-link.is-current {
  border-color: #555;
  background: #333;
  color: #fff;
}

.jm-shrine-taxonomy__region-name {
  min-width: 0;
  font-weight: 700;
}

.jm-shrine-taxonomy__region-count {
  flex: 0 0 auto;
  color: #777;
  font-size: 12px;
  white-space: nowrap;
}

.jm-shrine-taxonomy__region-link.is-current .jm-shrine-taxonomy__region-count {
  color: #fff;
}

.jm-shrine-taxonomy__list-header {
  margin-top: 0;
}

.jm-shrine-taxonomy__seo {
  margin-top: 56px;
}

.jm-shrine-taxonomy__seo-body {
  padding: 28px;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  background: #fafafa;
}

.jm-shrine-taxonomy__seo-title {
  margin: 0 0 14px;
  color: #222;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.5;
}

.jm-shrine-taxonomy__seo-description {
  margin: 0 0 14px;
  color: #444;
  font-size: 15px;
  line-height: 1.9;
}

.jm-shrine-taxonomy__seo-description > :first-child {
  margin-top: 0;
}

.jm-shrine-taxonomy__seo-description > :last-child {
  margin-bottom: 0;
}

.jm-shrine-taxonomy__seo-text {
  margin: 0;
  color: #444;
  font-size: 15px;
  line-height: 1.9;
}

.jm-shrine-taxonomy__seo-back {
  margin: 18px 0 0;
}

.jm-shrine-taxonomy__seo-back-link {
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jm-shrine-taxonomy__related {
  margin-top: 32px;
}

.jm-shrine-taxonomy__related-heading {
  margin: 0 0 18px;
  color: #222;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.5;
}

.jm-shrine-taxonomy__related-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.jm-shrine-taxonomy__related-group {
  min-width: 0;
  padding: 22px;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  background: #fff;
}

.jm-shrine-taxonomy__related-title {
  margin: 0 0 14px;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.jm-shrine-taxonomy__related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jm-shrine-taxonomy__related-item {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.jm-shrine-taxonomy__related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fafafa;
  color: #333;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jm-shrine-taxonomy__related-link:hover {
  border-color: #bbb;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.jm-shrine-taxonomy__related-name {
  min-width: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.jm-shrine-taxonomy__related-count {
  flex: 0 0 auto;
  color: #777;
  font-size: 11px;
  white-space: nowrap;
}

.jm-shrine-taxonomy__footer-nav {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.jm-shrine-taxonomy__archive-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jm-shrine-taxonomy__archive-link:hover {
  border-color: #aaa;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .jm-shrine-taxonomy__region-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .jm-shrine-taxonomy__related-groups {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .jm-shrine-taxonomy__region-nav {
    padding: 18px;
  }
  .jm-shrine-taxonomy__region-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .jm-shrine-taxonomy__seo-body {
    padding: 22px;
  }
}
@media (max-width: 600px) {
  .jm-shrine-taxonomy__eyebrow {
    font-size: 12px;
  }
  .jm-shrine-taxonomy__region-nav {
    margin-bottom: 32px;
    padding: 16px;
    border-radius: 10px;
  }
  .jm-shrine-taxonomy__region-header {
    margin-bottom: 14px;
  }
  .jm-shrine-taxonomy__region-description {
    font-size: 12px;
  }
  .jm-shrine-taxonomy__region-link {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 12px;
  }
  .jm-shrine-taxonomy__region-count {
    font-size: 11px;
  }
  .jm-shrine-taxonomy__seo {
    margin-top: 44px;
  }
  .jm-shrine-taxonomy__seo-body {
    padding: 18px;
    border-radius: 10px;
  }
  .jm-shrine-taxonomy__seo-description,
  .jm-shrine-taxonomy__seo-text {
    font-size: 14px;
  }
  .jm-shrine-taxonomy__related-group {
    padding: 18px;
    border-radius: 10px;
  }
  .jm-shrine-taxonomy__related-list {
    grid-template-columns: 1fr;
  }
  .jm-shrine-taxonomy__footer-nav {
    margin-top: 36px;
  }
  .jm-shrine-taxonomy__archive-link {
    width: 100%;
  }
}
/**
 * Shrine Area
 *
 * 都道府県・市区町村ページ。
 * 神社一覧グリッドとページネーションは
 * _shrine-archive.scss の既存スタイルを再利用する。
 */
.jm-shrine-area__breadcrumb {
  margin: 0 0 24px;
}

.jm-shrine-area__breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: #777;
  font-size: 13px;
  line-height: 1.6;
  list-style: none;
}

.jm-shrine-area__breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.jm-shrine-area__breadcrumb-item:not(:last-child)::after {
  content: "/";
  color: #bbb;
}

.jm-shrine-area__breadcrumb-link {
  color: #555;
  text-decoration: none;
}

.jm-shrine-area__breadcrumb-link:hover {
  text-decoration: underline;
}

.jm-shrine-area__lead p {
  margin: 12px 0 0;
}

.jm-shrine-area__lead p:first-child {
  margin-top: 0;
}

.jm-shrine-area__area-nav {
  margin: 0 0 48px;
}

.jm-shrine-area__area-nav--siblings {
  margin: 56px 0 0;
}

.jm-shrine-area__section-header {
  margin: 0 0 20px;
}

.jm-shrine-area__section-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
}

.jm-shrine-area__area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.jm-shrine-area__area-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  color: #333;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jm-shrine-area__area-link:hover {
  border-color: #aaa;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.jm-shrine-area__area-name {
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.jm-shrine-area__area-count {
  flex: 0 0 auto;
  color: #777;
  font-size: 12px;
  white-space: nowrap;
}

.jm-shrine-area__area-count strong {
  color: #333;
  font-size: 14px;
}

.jm-shrine-area__list-header {
  margin-top: 0;
}

@media (max-width: 900px) {
  .jm-shrine-area__area-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .jm-shrine-area__area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .jm-shrine-area__breadcrumb {
    margin-bottom: 18px;
  }
  .jm-shrine-area__breadcrumb-list {
    font-size: 12px;
  }
  .jm-shrine-area__area-nav {
    margin-bottom: 36px;
  }
  .jm-shrine-area__area-nav--siblings {
    margin-top: 40px;
  }
  .jm-shrine-area__section-header {
    margin-bottom: 16px;
  }
  .jm-shrine-area__section-title {
    font-size: 20px;
  }
  .jm-shrine-area__area-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .jm-shrine-area__area-link {
    min-height: 54px;
    padding: 12px 14px;
  }
}
/* ==========================================================
 * Phase 03-2-7｜SEO本文・内部リンク
 * ========================================================== */
.jm-shrine-area__seo-content {
  margin: 56px 0 0;
  padding: 30px 32px;
  background: #faf9f6;
  border: 1px solid #e6e1d8;
  border-radius: 14px;
}

.jm-shrine-area__seo-header {
  margin: 0 0 18px;
}

.jm-shrine-area__seo-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #2f2f2f;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
}

.jm-shrine-area__seo-title::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 4px;
  height: 26px;
  background: #8d6f47;
  border-radius: 999px;
}

.jm-shrine-area__seo-body {
  max-width: 860px;
}

.jm-shrine-area__seo-text {
  margin: 0;
  color: #454545;
  font-size: 15px;
  line-height: 1.95;
}

.jm-shrine-area__seo-text + .jm-shrine-area__seo-text {
  margin-top: 14px;
}

.jm-shrine-area__seo-links {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e6e1d8;
}

.jm-shrine-area__seo-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jm-shrine-area__seo-link-item {
  margin: 0;
  padding: 0;
}

.jm-shrine-area__seo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 15px;
  background: #fff;
  border: 1px solid #dcd6cc;
  border-radius: 8px;
  color: #3c3c3c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jm-shrine-area__seo-link::after {
  content: "→";
  flex: 0 0 auto;
  color: #8d6f47;
  font-size: 13px;
  line-height: 1;
}

.jm-shrine-area__seo-link:hover {
  background: #fffdf9;
  border-color: #bdae9a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .jm-shrine-area__seo-content {
    margin-top: 40px;
    padding: 24px 20px;
    border-radius: 12px;
  }
  .jm-shrine-area__seo-header {
    margin-bottom: 16px;
  }
  .jm-shrine-area__seo-title {
    gap: 10px;
    font-size: 20px;
  }
  .jm-shrine-area__seo-title::before {
    width: 3px;
    height: 23px;
  }
  .jm-shrine-area__seo-text {
    font-size: 14px;
    line-height: 1.9;
  }
  .jm-shrine-area__seo-text + .jm-shrine-area__seo-text {
    margin-top: 12px;
  }
  .jm-shrine-area__seo-links {
    margin-top: 20px;
    padding-top: 18px;
  }
  .jm-shrine-area__seo-link-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .jm-shrine-area__seo-link {
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
  }
}
/*
 * =========================================================
 * Phase 03-2-8-4｜御祭神facet UI
 * =========================================================
 *
 * 地域SEO本文の中で、御祭神リンクを読みやすく表示する。
 * 神社参り既存UIに合わせて、えんじ色＋薄いベージュ系罫線で統一。
 */
.jm-shrine-area__facet-groups {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #ebe7e2;
}

.jm-shrine-area__facet {
  margin: 0;
}

.jm-shrine-area__facet-title {
  position: relative;
  margin: 0;
  padding-left: 13px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: #332d29;
}

.jm-shrine-area__facet-title::before {
  position: absolute;
  top: 0.28em;
  bottom: 0.28em;
  left: 0;
  width: 3px;
  background: #8f2f2d;
  content: "";
}

.jm-shrine-area__facet-note {
  margin: 7px 0 15px;
  font-size: 11px;
  line-height: 1.7;
  color: #817a74;
}

.jm-shrine-area__facet-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jm-shrine-area__facet-item {
  min-width: 0;
  margin: 0;
}

.jm-shrine-area__facet-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #e7e2dc;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.jm-shrine-area__facet-link:hover {
  border-color: #c9bbb3;
  background: #fdfbf9;
  box-shadow: 0 2px 8px rgba(57, 42, 34, 0.06);
}

.jm-shrine-area__facet-link:focus-visible {
  outline: 2px solid #8f2f2d;
  outline-offset: 2px;
}

.jm-shrine-area__facet-link--static:hover {
  border-color: #e7e2dc;
  background: #fff;
  box-shadow: none;
}

.jm-shrine-area__facet-name {
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  color: #38312d;
  word-break: break-word;
}

.jm-shrine-area__facet-link:hover .jm-shrine-area__facet-name {
  color: #8f2f2d;
}

.jm-shrine-area__facet-link--static:hover .jm-shrine-area__facet-name {
  color: #38312d;
}

.jm-shrine-area__facet-count {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 2px;
  font-size: 10px;
  line-height: 1;
  color: #928a83;
  white-space: nowrap;
}

.jm-shrine-area__facet-count strong {
  font-size: 12px;
  font-weight: 700;
  color: #665d56;
}

@media screen and (max-width: 959px) {
  .jm-shrine-area__facet-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 599px) {
  .jm-shrine-area__facet-groups {
    margin-top: 24px;
    padding-top: 22px;
  }
  .jm-shrine-area__facet-title {
    padding-left: 11px;
    font-size: 15px;
  }
  .jm-shrine-area__facet-title::before {
    width: 3px;
  }
  .jm-shrine-area__facet-note {
    margin-top: 6px;
    margin-bottom: 12px;
    font-size: 10px;
  }
  .jm-shrine-area__facet-list {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .jm-shrine-area__facet-link {
    min-height: 44px;
    padding: 9px 11px;
  }
  .jm-shrine-area__facet-name {
    font-size: 12px;
  }
  .jm-shrine-area__facet-count {
    font-size: 9px;
  }
  .jm-shrine-area__facet-count strong {
    font-size: 11px;
  }
}
