/*
Theme Name: Kumano Hayatama
Theme URI: https://kumanohayatama.local
Author: Kumano Hayatama
Description: 熊野速玉大社 公式サイト用オリジナルテーマ。固定ページはテンプレートファイルで内容を管理する。
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kumano-hayatama
*/

body {
  overflow-x: hidden;
  padding-right: 120px;
  color: #000;
  background-color: #f7f4ef;
  font-family: "Zen Old Mincho", "YuMincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;
}

.content-narrow {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

.u-br-sp {
  display: none;
}

@media (max-width: 768px) {
  .u-br-pc {
    display: none;
  }

  .u-br-sp {
    display: inline;
  }
}

.entry-content h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.entry-content h2.has-divider {
  padding-top: 50px;
  border-top: 1px solid #bfad7e;
}

.entry-content p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 45px;
}

.section {
  padding-bottom: 150px;
}

body.category .section {
  padding-top: 80px;
  padding-bottom: 100px;
}

.page-hero-image {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.page-hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.page-hero-image .page-hero-image-sp {
  display: none;
}

.page-header {
  padding-top: 90px;
}

.page-header__icon {
  display: block;
  width: 44px;
  margin: 0 auto 20px;
}

.page-header__title {
  width: 90%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 35px;
  color: #5c5c5c;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 60px;
  border-bottom: 1px solid #bca57d;
}

.goods-notice {
  margin: 0 auto 60px;
  padding: 35px 40px;
  background: #fff;
  border: 5px solid #bca57d;
  text-align: center;
}

.goods-notice .goods-notice__text {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #bfad7e;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.8;
  color: #3c3c3c;
}

.goods-notice .goods-notice__note {
  font-size: 12px;
  font-weight: 600;
  color: #000000;
}

/* -----------------------------------------------------------
   祭礼・催事ページ: 年間行事のご案内
----------------------------------------------------------- */
.matsuri-notice {
  border: 5px solid #bfad7e;
  background: #fff;
  padding: 35px;
}

.matsuri-notice__head {
  margin: 0;
  padding: 16px 20px;
  background: #bfad7e;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.matsuri-notice__text {
  margin: 0;
  padding: 30px 20px 0;
  color: #3c3c3c;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
}

.matsuri-accordion {
  max-width: 960px;
  margin: 60px auto 0;
}

.matsuri-accordion__question h2 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.matsuri-accordion__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 24px;
  margin-top: 24px;
  margin-bottom: 0;
  background: #fff;
  border: none;
  border-bottom: 1px solid #bfad7e;
  color: #bfad7e;
  font-size: 22px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.matsuri-accordion__question::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.matsuri-accordion__item.is-expanded .matsuri-accordion__question::after {
  transform: rotate(225deg);
}

.matsuri-accordion__answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.4s ease;
}

.matsuri-accordion__item.is-expanded .matsuri-accordion__answer {
  max-height: 3000px;
}

.matsuri-event {
  padding: 30px 24px;
  background: #f8f7f4;
  border-bottom: none;
}

.matsuri-event + .matsuri-event {
  padding: 0 24px 30px 24px;
}

.matsuri-event__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #3c3c3c;
}

.matsuri-event__date {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 22px;
  font-weight: 600;
  color: #bca57d;
}

.matsuri-event__icon {
  width: 14px;
  padding-top: 9px;
}

.matsuri-event__time {
  flex-shrink: 0;
  padding-top: 5px;
  font-size: 16px;
  font-weight: 600;
  color: #3c3c3c;
}

.matsuri-event__list {
  margin: 0;
  padding: 0;
  padding-top: 3px;
  list-style: none;
}

.matsuri-event__list li {
  font-size: 18px;
  font-weight: 600;
  color: #3c3c3c;
}

.matsuri-event__list li h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.matsuri-event__empty {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #8a8a8a;
}

.matsuri-event__note {
  margin: 0;
  padding: 16px 24px;
  background: #f8f7f4;
  font-size: 18px;
  font-weight: 500;
  color: #3c3c3c;
}

/* -----------------------------------------------------------
   アクセス・駐車場ページ
----------------------------------------------------------- */
.access-head {
  margin: 60px 0 0;
  padding: 16px 20px;
  background: #bfad7e;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.access-lead {
  margin: 0;
  padding: 30px 0;
  color: #3c3c3c;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
}

.access-map {
  margin-top: 30px;
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 450px;
}

.access-info {
  padding: 30px 0;
}

.access-info__address {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  color: #3c3c3c;
}

.access-info__hours {
  margin: 0;
  padding: 0;
  list-style: none;
}

.access-info__hours li {
  position: relative;
  padding-left: 1.2em;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: #3c3c3c;
}

.access-info__hours li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.access-divider {
  margin: 0 0 40px;
  border: none;
  border-top: 1px solid #b7b7b7;
}

.access-block {
  margin-bottom: 40px;
}

.access-block__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  color: #3c3c3c;
}

.access-block__title::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bfad7e;
}

.access-block__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.access-block__list li {
  position: relative;
  padding-left: 1.2em;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: #3c3c3c;
}

.access-block__list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.access-block__text {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
  color: #3c3c3c;
}

.access-highlight {
  color: #bca57d;
  font-weight: 600;
  text-decoration: underline;
}

/* -----------------------------------------------------------
   参拝・祈祷ページ
----------------------------------------------------------- */
.worship-notice {
  border: 5px solid #bfad7e;
  background: #fff;
  padding: 35px;
}

.worship-notice__head {
  margin: 0 0 30px;
  padding: 16px 20px;
  background: #bfad7e;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.worship-notice__text {
  margin: 0;
  color: #3c3c3c;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
  text-align: center;
}

.worship-hours {
  max-width: 400px;
  margin: 30px auto 0;
  padding: 20px 24px;
  background: #f0efec;
}

.worship-hours__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.worship-hours__list li {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: #3c3c3c;
  white-space: pre;
}

.worship-notice__note {
  margin: 30px 0 0;
  padding-top: 30px;
  border-top: 1px solid #bfad7e;
  color: #3c3c3c;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.keidai-section {
  position: relative;
  padding: 200px 0 150px;
}

.keidai-section::before {
  content: "";
  position: absolute;
  top: 100px;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: #bfad7e;
}

.keidai-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.keidai-head {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.keidai-head__icon {
  width: 24px;
  margin-bottom: 16px;
}

.keidai-head__title {
  margin: 0;
  writing-mode: vertical-rl;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.15em;
  color: #bca57d;
}

.keidai-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}

.keidai-map {
  position: relative;
  flex: 0 0 710px;
  min-width: 0;
}

.keidai-map__pin {
  position: absolute;
  width: 26px;
  height: 26px;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.keidai-map img {
  display: block;
  width: 100%;
}

.keidai-list {
  flex: 0 0 260px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.keidai-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 18px;
  border-bottom: 1px solid #bfad7e;
  cursor: pointer;
}

.keidai-list__num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  color: #bfad7e;
  font-size: 18px;
  font-weight: 600;
}

.keidai-list__name {
  flex: 1;
  font-weight: 500;
  color: #3c3c3c;
}

.keidai-list__plus {
  flex-shrink: 0;
  font-size: 18px;
  color: #bfad7e;
}

.keidai-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(247, 244, 239, 0.9);
}

.keidai-modal.is-open {
  display: flex;
}

.keidai-modal__inner {
  position: relative;
  width: 100%;
  max-width: 960px;
}

.keidai-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -25px;
  right: -25px;
  width: 50px;
  height: 50px;
  background: #fff;
  border: 1px solid #bca57d;
  border-radius: 50%;
  color: #bca57d;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.keidai-modal__dialog {
  display: flex;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
}

.keidai-modal__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 45%;
  align-self: stretch;
  background: #fff;
}

.keidai-modal__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1280 / 853;
  object-fit: cover;
}

.keidai-modal__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 40px 45px;
}

.keidai-modal__head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 20px;
}

.keidai-modal__num {
  font-size: 20px;
  font-weight: 600;
  color: #bfad7e;
}

.keidai-modal__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #3c3c3c;
}

.keidai-modal__desc {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: #3c3c3c;
  white-space: pre-line;
}

.keidai-modal__link {
  display: none;
  margin-top: 16px;
  color: #bfad7e;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}

.keidai-modal__link.is-visible {
  display: inline-block;
}

.keidai-modal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 30px;
}

.keidai-modal__prev,
.keidai-modal__next {
  background: none;
  border: none;
  color: #3c3c3c;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.keidai-modal__prev:disabled,
.keidai-modal__next:disabled {
  opacity: 0.3;
  cursor: default;
}

/* -----------------------------------------------------------
   参拝・祈祷ページ: 熊野観心十界曼荼羅の絵解き
----------------------------------------------------------- */
.mandara-section {
  position: relative;
  padding: 0;
}

.mandara-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: #bfad7e;
}

.mandara-section__inner {
  display: grid;
  grid-template-columns: 450px 570px;
  grid-template-areas:
    "head photo"
    "text photo";
  gap: 0 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.mandara-head {
  grid-area: head;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}

.mandara-text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  padding-bottom: 80px;
}

.mandara-text__icon {
  align-self: center;
  width: 24px;
  margin-bottom: 10px;
}

.mandara-text__title {
  align-self: center;
  margin: 0 0 40px;
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1em;
  color: #bca57d;
}

.mandara-text__body p {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: #3c3c3c;
}

.mandara-info {
  margin-top: auto;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #bfad7e;
}

.mandara-info p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #bca57d;
}

.mandara-info p span:last-child {
  font-size: 18px;
}

.mandara-note {
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: #3c3c3c;
}

.mandara-photo {
  grid-area: photo;
  min-width: 0;
}

.mandara-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -----------------------------------------------------------
   参拝・祈祷ページ: ご祈祷
----------------------------------------------------------- */
.kigan-section {
  position: relative;
  padding-bottom: 60px;
}

.kigan-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: #bfad7e;
}

.kigan-section__inner {
  display: grid;
  grid-template-columns: 570px 450px;
  grid-template-areas:
    "photo head"
    "photo text";
  gap: 0 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.kigan-photo {
  grid-area: photo;
  min-width: 0;
}

.kigan-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kigan-head {
  grid-area: head;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}

.kigan-text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  padding-bottom: 80px;
}

.kigan-text__icon {
  align-self: center;
  width: 24px;
  margin-bottom: 10px;
}

.kigan-text__title {
  align-self: center;
  margin: 0 0 40px;
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1em;
  color: #bca57d;
}

.kigan-text__lead {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 600;
  color: #bca57d;
}

.kigan-text__body {
  margin-bottom: 60px;
}

.kigan-text__body p {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: #3c3c3c;
}

.kigan-info {
  margin-top: auto;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #bfad7e;
}

.kigan-info p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #bca57d;
}

.kigan-info p span:last-child {
  font-size: 18px;
}

/* -----------------------------------------------------------
   参拝・祈祷ページ: 神前婚礼
----------------------------------------------------------- */
.shinzen-section {
  position: relative;
  padding-bottom: 60px;
}

.shinzen-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: #bfad7e;
}

.shinzen-section__inner {
  display: grid;
  grid-template-columns: 450px 570px;
  grid-template-areas:
    "head photo"
    "text photo";
  gap: 0 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.shinzen-head {
  grid-area: head;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}

.shinzen-text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

.shinzen-text__icon {
  align-self: center;
  width: 24px;
  margin-bottom: 10px;
}

.shinzen-text__title {
  align-self: center;
  margin: 0 0 40px;
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1em;
  color: #bca57d;
}

.shinzen-text__lead {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 600;
  color: #bca57d;
}

.shinzen-text__body {
  margin-bottom: 60px;
}

.shinzen-text__body p {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: #3c3c3c;
}

.shinzen-plans {
  margin-top: auto;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #bfad7e;
}

.shinzen-plans__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.shinzen-plans__badge {
  padding: 2px 10px;
  border: 1px solid #bfad7e;
  border-radius: 5px;
  color: #bfad7e;
  font-size: 12px;
  font-weight: 600;
}

.shinzen-plans__label {
  font-size: 14px;
  font-weight: 800;
  color: #bca57d;
}

.shinzen-plans__price {
  font-size: 18px;
  font-weight: 800;
  color: #bca57d;
}

.shinzen-plans__note {
  margin: 6px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #3c3c3c;
}

.shinzen-plans__divider {
  max-width: 260px;
  margin: 14px auto;
  border: none;
  border-top: 1px dotted #bfad7e;
}

.shinzen-contact {
  margin-top: 0;
  padding: 20px;
  background: #bfad7e;
  text-align: center;
}

.shinzen-contact__divider {
  max-width: 260px;
  margin: 14px auto;
  border: none;
  border-top: 1px dotted #fff;
}

.shinzen-contact__head {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.shinzen-contact__text {
  max-width: 260px;
  margin: 0 auto 10px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

.shinzen-contact__tel {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.shinzen-photo {
  grid-area: photo;
  min-width: 0;
}

.shinzen-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -----------------------------------------------------------
   授与品ページ: 御神札カルーセル
----------------------------------------------------------- */
.ofuda-section {
  position: relative;
  padding: 60px 0;
}

.ofuda-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: #bfad7e;
}

.ofuda-section__inner {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.ofuda-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 200px;
  width: 200px;
  padding-top: 10px;
}

.ofuda-head__icon {
  width: 24px;
  margin-bottom: 16px;
}

.ofuda-head__title {
  writing-mode: vertical-rl;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.15em;
  color: #bca57d;
}

.ofuda-head__subtitle {
  writing-mode: horizontal-tb;
  margin-top: 8px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #000000;
}

.ofuda-carousel {
  flex: 1;
  min-width: 0;
}

.ofuda-carousel__track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ofuda-carousel__track::-webkit-scrollbar {
  display: none;
}

.ofuda-card {
  flex: 0 0 calc((100% - 60px) / 3);
  padding-bottom: 15px;
  background: #fff;
}

.ofuda-card__thumb {
  aspect-ratio: 1 / 1;
  margin-bottom: 20px;
  background: #ece7e0;
  overflow: hidden;
}

.ofuda-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ofuda-card__title {
  margin-bottom: 16px;
  padding: 0 15px;
  font-size: 15px;
  font-weight: 600;
  color: #3c3c3c;
}

.ofuda-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
}

.ofuda-card__badge {
  padding: 2px 9px 3px 9px;
  border: 1px solid #ae2927;
  border-radius: 0;
  color: #ae2927;
  font-size: 12px;
  font-weight: 600;
}

.ofuda-card__plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  color: #bfad7e;
}

.ofuda-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
}

.ofuda-carousel__counter {
  display: flex;
  align-items: baseline;
}

.ofuda-carousel__current {
  font-size: 24px;
  font-weight: 600;
  color: #bca57d;
}

.ofuda-carousel__total {
  font-size: 15px;
  font-weight: 600;
  color: #7e7e7e;
}

.ofuda-carousel__arrows {
  display: flex;
  gap: 10px;
}

.ofuda-carousel__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 30px;
  height: 30px;
  background: #bfad7e;
  border: none;
  border-radius: 50%;
  color: transparent;
  font-size: 0;
  cursor: pointer;
}

.ofuda-carousel__arrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.ofuda-carousel__arrow--prev::before {
  transform: rotate(-135deg);
  margin-left: 2px;
}

.ofuda-carousel__arrow--next::before {
  transform: rotate(45deg);
  margin-right: 2px;
}

.ofuda-carousel__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Text styles: S / M / L */
.text-s {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 33px;
  margin-bottom: 0;
}

.text-m {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.024em;
  line-height: 36px;
  margin-bottom: 0;
}

.text-l {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.024em;
  line-height: 36px;
  margin-bottom: 0;
}

.site-header,
.primary-navigation,
.site-footer {
  position: relative;
  overflow: hidden;
  background-image: url("assets/img/bg.png");
  background-repeat: repeat;
}

.site-footer {
  border-top: 1px solid #bfad7e;
}

.site-footer__bg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  height: 80%;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  width: 120px;
  height: 100vh;
  z-index: 100;
}

.site-header__heritage {
  display: none;
}

.site-header__en {
  display: none;
}

.site-branding {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}

.site-logo__sp {
  display: none;
}

.site-header__nav-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  color: #000;
}

.site-header__nav-state {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.site-header__nav-state--open {
  opacity: 0;
  visibility: hidden;
}

.site-header__nav-toggle.is-open .site-header__nav-state--closed {
  opacity: 0;
  visibility: hidden;
}

.site-header__nav-toggle.is-open .site-header__nav-state--open {
  opacity: 1;
  visibility: visible;
}

.site-header__nav-label {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #000;
}

.primary-navigation {
  position: fixed;
  top: 0;
  right: 120px;
  width: 100%;
  max-width: 620px;
  height: 100vh;
  padding: 60px 24px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  opacity: 0;
  transform: translateX(16px);
  pointer-events: none;
  will-change: opacity, transform;
  z-index: 90;
}

.primary-navigation::-webkit-scrollbar {
  display: none;
}

.primary-navigation__bg {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.primary-menu {
  position: relative;
  z-index: 1;
  max-width: 330px;
  margin: 0 auto;
}

.primary-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 20px 10px 10px 0;
  border-bottom: 1px solid #bfad7e;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  text-align: left;
}

.primary-menu > li.menu-item-has-children > a {
  cursor: pointer;
}

.primary-menu > li > a::before {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #bfad7e;
}

.primary-menu > li > a::after {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  display: flex;
  margin-left: auto;
  color: #bfad7e;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-size: 2px 100%, 100% 2px;
  background-position: center;
  background-repeat: no-repeat;
}

.primary-menu > li.is-expanded > a::after {
  background-size: 0 100%, 100% 2px;
}

.primary-menu > li:nth-child(n + 5) > a::after {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-image: none;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-in-out;
}

.primary-menu > li.is-expanded > .sub-menu {
  max-height: 600px;
}

.sub-menu > li {
  background: #fff;
  box-shadow: inset 0 -1px 0 #bfad7e;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.sub-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 16px 10px 16px 20px;
  font-size: 15px;
  color: #000;
  text-align: left;
  transition: color 0.3s ease;
}

.sub-menu > li > a::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-left: auto;
  margin-right: 5px;
  color: #bfad7e;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: color 0.3s ease;
}

.sub-menu > li:hover {
  background: #bfad7e;
  box-shadow: inset 0 -1px 0 #fff;
}

.sub-menu > li:hover > a {
  color: #fff;
}

.sub-menu > li:hover > a::after {
  color: #fff;
}

.primary-navigation__links {
  position: relative;
  z-index: 1;
  max-width: 330px;
  margin: 0 auto;
  padding-top: 30px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.primary-nav-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 70%;
  margin: 0 auto;
  padding: 16px;
  background: #bfad7e;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.primary-nav-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #000;
}

.primary-nav-legal span {
  color: #000;
}

.primary-nav-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.primary-nav-social img {
  width: 36px;
  height: 36px;
}

.primary-nav-social img.icon-x,
.footer-social img.icon-x {
  width: 30px;
  height: 30px;
}

.primary-nav-anniversary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 20px;
  background-color: #7a1f1f;
  background-image: url("assets/img/bt-bg.png");
  background-size: cover;
  background-position: center;
  border: 4px solid #bfad7e;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.primary-nav-anniversary__text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.primary-nav-anniversary__date {
  font-size: 14px;
  font-weight: 600;
}

.primary-nav-anniversary img {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
}

.primary-navigation.is-open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.header-fixed-links {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
}

.header-fixed-links__anniversary {
  display: none;
}

.header-fixed-links__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 8px;
  text-align: center;
}

.header-fixed-links__item--contact,
.header-fixed-links__item--access {
  background: #bfad7e;
  color: #fff;
}

.header-fixed-links__item--contact {
  margin-bottom: 1px;
}

.header-fixed-links__item--access {
  justify-content: flex-start;
  text-align: left;
}

.header-fixed-links__item--contact span,
.header-fixed-links__item--access span {
  font-size: 14px;
  font-weight: 800;
}

.header-fixed-links__item--access span {
  line-height: 1.2;
}

.header-fixed-links__item--en {
  background: #fff;
  color: #5c5c5c;
}

.header-fixed-links__item--en span {
  font-size: 14px;
  font-weight: 600;
}

.header-fixed-links__heritage {
  margin: 0 auto 20px;
  padding: 4px 8px 5px;
  width: 85%;
  line-height: 1;
  text-align: center;
  background: #fff;
  color: #ae2927;
  border: 1px solid #ae2927;
  font-weight: 600;
}

/* -----------------------------------------------------------
   LPヘッダー（御創建千九百年大祭など、通常ナビを持たないページ）
----------------------------------------------------------- */
body.page-template-page-anniversary-php {
  padding-right: 0;
  padding-top: 0;
  border-top: 8px solid #bfad7e;
  background-image: url('assets/img/lp2026/bg.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .page-template-page-anniversary-php .site-footer {
    padding-bottom: 0;
  }
}

/* -----------------------------------------------------------
   Header: スマホ表示（右サイドバー → 上部バー）
----------------------------------------------------------- */
@media (max-width: 768px) {
  body {
    padding-right: 0;
    padding-top: 94px;
  }

  .site-footer {
    padding-bottom: 120px;
  }

  .site-header {
    position: fixed;
    top: 0;
    right: auto;
    left: 0;
    width: 100%;
    height: 94px;
    overflow: visible;
    z-index: 100;
  }

  .site-logo__pc {
    display: none;
  }

  .site-logo__sp {
    display: block;
    width: 245px;
  }

  .site-header__side {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 8px;
  }

  .site-header__heritage {
    display: block;
    position: static;
    padding: 4px 8px 5px;
    line-height: 1;
    text-align: center;
    background: #fff;
    color: #ae2927;
    border: 1px solid #ae2927;
    font-size: 13px;
    font-weight: 600;
  }

  .site-branding {
    top: 50%;
    left: 20px;
    right: auto;
    transform: translateY(-50%);
    justify-content: flex-start;
  }

  .site-header__nav-toggle {
    position: static;
    transform: none;
  }

  .site-header__nav-icon {
    width: 40px;
  }

  .site-header__nav-label {
    font-size: 9px;
  }

  .site-header__en {
    display: flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateY(100%);
    padding: 6px 12px;
    background: #fff;
    color: #5c5c5c;
    font-size: 14px;
    font-weight: 600;
    z-index: 101;
    opacity: 1;
    transition: opacity 0.3s ease;
  }

  body.is-scrolled .site-header__en {
    opacity: 0;
    pointer-events: none;
  }

  .site-header__en img {
    width: 16px;
    height: 16px;
  }

  .header-fixed-links {
    position: fixed;
    bottom: 0;
    left: 0;
    right: auto;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    width: 100%;
    z-index: 100;
  }

  body.nav-is-open .header-fixed-links {
    transform: translateY(100%);
  }

  .header-fixed-links__heritage,
  .header-fixed-links__item--en {
    display: none;
  }

  .header-fixed-links__anniversary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 260px;
    width: 100%;
    margin: 0 auto 10px;
    padding: 10px 16px;
    background-color: #7a1f1f;
    background-image: url("assets/img/bt-bg.png");
    background-size: cover;
    background-position: center;
    border: 4px solid #bfad7e;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
  }

  .header-fixed-links__anniversary-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .header-fixed-links__anniversary-date {
    font-size: 14px;
    font-weight: 600;
  }

  .header-fixed-links__anniversary img {
    width: 14px;
    height: 14px;
  }

  .header-fixed-links__row {
    display: flex;
    flex-direction: row;
    gap: 1px;
    width: 100%;
  }

  .header-fixed-links__item--contact,
  .header-fixed-links__item--access {
    flex: 1;
    height: 40px;
    padding: 0 8px;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
  }

  .header-fixed-links__item--contact span,
  .header-fixed-links__item--access span {
    font-size: 14px;
  }

  .header-fixed-links__break {
    display: none;
  }

  .primary-navigation {
    top: 94px;
    right: 0;
    max-width: 100%;
    height: calc(100vh - 94px);
  }

  .page-header__title {
    font-size: 26px;
  }

  .entry-content p,
  body.single-post .entry-content p,
  body.single-magazine .entry-content p {
    font-size: 16px;
    font-weight: 500;
  }

  .entry-content h2,
  body.single-post .entry-content h2,
  body.single-magazine .entry-content h2 {
    font-size: 18px;
  }

  .section {
    padding-bottom: 110px;
  }

  .site-footer__bg {
    right: -150px;
  }

  .matsuri-notice {
    padding: 25px;
  }

  .matsuri-notice__head {
    font-size: 18px;
  }

  .matsuri-notice__text {
    font-size: 16px;
    text-align: left;
  }

  .matsuri-event__list li {
    font-size: 16px;
  }

  .access-head {
    font-size: 18px;
  }

  .access-lead {
    font-size: 16px;
  }

  .access-info__address {
    font-size: 16px;
  }

  .access-info__hours li {
    font-size: 14px;
  }

  .access-block__title {
    font-size: 16px;
  }

  .access-block__list li {
    font-size: 14px;
  }

  body.single-magazine .entry-content {
    padding-left: 5%;
    padding-right: 5%;
  }

  .worship-notice__head {
    font-size: 18px;
  }

  .worship-notice__text {
    font-size: 16px;
    text-align: left;
  }

  .worship-hours__list li {
    font-size: 15px;
  }

  .keidai-head__title {
    font-size: 33px;
  }

  .keidai-content {
    flex-direction: column;
  }

  .keidai-map {
    flex: 0 0 auto;
    width: 100%;
  }

  .keidai-list {
    flex: 0 0 auto;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
  }

  .mandara-text__title,
  .kigan-text__title,
  .shinzen-text__title {
    font-size: 33px;
  }

  .mandara-section__inner,
  .kigan-section__inner,
  .shinzen-section__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "photo"
      "text";
    gap: 0;
  }

  .mandara-head,
  .kigan-head,
  .shinzen-head,
  .mandara-text,
  .kigan-text,
  .shinzen-text {
    padding-left: 10%;
    padding-right: 10%;
  }

  .mandara-text,
  .kigan-text,
  .shinzen-text {
    padding-top: 50px;
  }

  .mandara-text__body p {
    font-size: 15px;
  }

  .keidai-section {
    position: relative;
    padding: 200px 0 80px;
  }

  .shinzen-text__body {
    margin-bottom: 20px;
  }

  .kigan-text__lead,
  .shinzen-text__lead {
    font-size: 18px;
    text-align: center;
  }

  .kigan-section {
    padding-bottom: 0;
  }

  .kigan-text__body p,
  .shinzen-text__body p {
    font-size: 15px;
  }

  .kigan-head,
  .shinzen-head {
    padding-top: 50px;
  }

  .keidai-modal__dialog {
    flex-direction: column;
  }

  .keidai-modal__photo {
    flex: 0 0 auto;
    width: 100%;
  }

  .keidai-modal__body {
    padding: 30px 25px;
  }

  .keidai-modal__head {
    position: relative;
    justify-content: center;
    margin-bottom: 15px;
  }

  .keidai-modal__num {
    position: absolute;
    top: -5px;
    left: 0;
    font-size: 24px;
  }

  .keidai-modal__title {
    font-size: 16px;
    text-align: center;
  }

  .keidai-modal__desc {
    padding: 16px 0;
    border-top: 1px solid #bfad7e;
    border-bottom: 1px solid #bfad7e;
    font-size: 14px;
  }

  .keidai-modal__prev,
  .keidai-modal__next {
    font-size: 13px;
  }

}

/* -----------------------------------------------------------
   熊野信仰のはじまりページ: ヒーロー
----------------------------------------------------------- */
.history-hero {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
}

.history-hero__bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-hero__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 270px;
  margin: 0;
  transform: translate(-50%, -50%);
}

.history-hero__logo img {
  display: block;
  width: 100%;
}

.history-hero__logo img.history-hero__logo-sp {
  display: none;
}

@media (max-width: 768px) {
  .history-hero__logo img.history-hero__logo-pc {
    display: none;
  }

  .history-hero__logo img.history-hero__logo-sp {
    display: block;
  }
}

/* -----------------------------------------------------------
   聖地ゴトビキ岩ページ: ヒーロー
----------------------------------------------------------- */
.gotobiki-hero {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
}

.gotobiki-hero__bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gotobiki-hero__bg.gotobiki-hero__bg--sp {
  display: none;
}

.gotobiki-hero__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 270px;
  margin: 0;
  transform: translate(-50%, -50%);
}

.gotobiki-hero__logo img {
  display: block;
  width: 100%;
}

/* -----------------------------------------------------------
   聖地ゴトビキ岩ページ: イントロ
----------------------------------------------------------- */
.gotobiki-intro {
  position: relative;
}

.gotobiki-intro__photo {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  margin-top: 100vh;
}

.gotobiki-intro__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gotobiki-intro__photo .gotobiki-intro__photo-sp {
  display: none;
}

.gotobiki-intro__photo-title {
  position: absolute;
  top: 150px;
  left: 490px;
  width: calc(100% - 490px);
  margin: 0;
  display: flex;
  justify-content: center;
}

.gotobiki-intro__photo-title img {
  width: 100px;
}

.gotobiki-intro__inner {
  position: relative;
  z-index: 1;
  margin-top: -100vh;
  /* max-width: 1240px; */
  margin-left: 30px;
  margin-right: auto;
}

.gotobiki-intro__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 460px;
  margin-top: 500px;
  padding: 200px 60px 100px 30px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 110px);
}

.gotobiki-intro__body {
  max-width: 350px;
}

.gotobiki-intro__body p {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: #000;
}

.gotobiki-intro__body:first-of-type p:first-child {
  padding-top: 70px;
  border-top: 1px solid #bfad7e;
}

.gotobiki-intro__figure {
  max-width: 350px;
  margin: 20px 0 40px;
}

.gotobiki-intro__figure img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.gotobiki-intro__figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: #000;
}

.gotobiki-intro__heading {
  max-width: 350px;
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
  color: #bca57d;
  text-align: center;
}

/* -----------------------------------------------------------
   聖地ゴトビキ岩ページ: 神武天皇・御燈祭・参道（テキスト右寄せ）
----------------------------------------------------------- */
.gotobiki-legacy {
  position: relative;
}

.gotobiki-legacy__photo {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
}

.gotobiki-legacy__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gotobiki-legacy__photo .gotobiki-legacy__photo-sp {
  display: none;
}

.gotobiki-legacy__photo-title {
  position: absolute;
  top: 150px;
  right: 490px;
  width: calc(100% - 490px);
  margin: 0;
  display: flex;
  justify-content: center;
}

.gotobiki-legacy__photo-title img {
  width: 100px;
}

.gotobiki-legacy__inner {
  position: relative;
  z-index: 1;
  margin-top: -100vh;
  margin-right: 30px;
  margin-left: auto;
}

.gotobiki-legacy__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 460px;
  margin-top: 500px;
  margin-left: auto;
  padding: 200px 30px 100px 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 110px);
}

.gotobiki-legacy__body {
  max-width: 350px;
}

.gotobiki-legacy__body p {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: #000;
}

.gotobiki-legacy__figure {
  max-width: 350px;
  margin: 20px 0 40px;
}

.gotobiki-legacy__figure img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.gotobiki-legacy__figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: #000;
}

.gotobiki-legacy__heading {
  max-width: 350px;
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
  color: #bca57d;
  text-align: center;
}

.gotobiki-legacy__heading:first-of-type {
  padding-top: 70px;
  border-top: 1px solid #bfad7e;
}

/* -----------------------------------------------------------
   聖地ゴトビキ岩ページ: 登拝ルート
----------------------------------------------------------- */
.gotobiki-route {
  position: relative;
  padding: 120px 0;
  background: #f7f4ef;
}

.gotobiki-route__inner {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.gotobiki-route__head {
  margin: 0 0 40px;
  padding: 20px;
  border: 1px solid #bfad7e;
  background: #fff;
  color: #000;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.gotobiki-route__lead {
  margin: 0 0 60px;
  font-size: 20px;
  font-weight: 500;
  line-height: 2;
  color: #000;
  text-align: left;
}

.gotobiki-route__lead-break {
  display: none;
}

.gotobiki-route__badge {
  display: inline-block;
  padding: 4px 16px;
  margin: 0 4px;
  background: #bfad7e;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 5px;
}

.gotobiki-route__badge--otoko {
  background: #556639;
}

.gotobiki-route__badge--onna {
  background: #ae2927;
}

.gotobiki-route__content {
  display: flex;
  align-items: center;
  gap: 100px;
  margin-bottom: 80px;
}

.gotobiki-route__map {
  flex: 1;
  min-width: 0;
  margin-left: calc((100vw - 960px) / -2);
}

.gotobiki-route__map img {
  display: block;
  width: 100%;
}

.gotobiki-route__photos {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 0 0 380px;
}

.gotobiki-route__photo {
  position: relative;
}

.gotobiki-route__photo .gotobiki-route__badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  margin: 0;
  transform: translate(-50%, -50%);
}

.gotobiki-route__figure {
  position: relative;
  width: 380px;
  margin: 0;
}

.gotobiki-route__figure img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  border-radius: 18px;
}

.gotobiki-route__badge--otoko + .gotobiki-route__figure img {
  border: 1px solid #556639;
}

.gotobiki-route__badge--onna + .gotobiki-route__figure img {
  border: 1px solid #ae2927;
}

.gotobiki-route__figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: #000;
}

.gotobiki-route__notice {
  max-width: 900px;
  margin: 0 auto;
  padding: 25px 40px 40px 40px;
  border: 1px solid #bfad7e;
  background: #fff;
}

.gotobiki-route__notice-title {
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #bfad7e;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: #000;
}

.gotobiki-route__notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gotobiki-route__notice-list li {
  padding-left: 1em;
  text-indent: -1em;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
  color: #000;
}

/* -----------------------------------------------------------
   聖地ゴトビキ岩ページ: アクセス・駐車場のご案内
----------------------------------------------------------- */
.gotobiki-access {
  position: relative;
  padding: 100px 0;
  background: #bfad7e;
}

.gotobiki-access__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
}

.gotobiki-access__icon {
  width: 20px;
  margin-bottom: 16px;
}

.gotobiki-access__title {
  margin: 0;
  font-size: 33px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: #fff;
}

.gotobiki-access__subtitle {
  margin: 12px 0 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #fff;
}

.gotobiki-access__lead {
  margin: 30px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
  color: #fff;
}

.gotobiki-access__lead-break {
  display: none;
}

.gotobiki-access__content {
  display: flex;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.gotobiki-access__block {
  flex: 1;
  min-width: 0;
}

.gotobiki-access__box {
  background: #fff;
}

.gotobiki-access__box p {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
  color: #3c3c3c;
}

.gotobiki-access__box p::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12.5px solid transparent;
  border-right: 12.5px solid transparent;
  border-top: 20px solid #fff;
}

.gotobiki-access__box img,
.gotobiki-access__box iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 450;
  border: 0;
}

.gotobiki-parking {
  display: flex;
  width: 90%;
  max-width: 960px;
  margin: 40px auto 0;
  background: #fff;
}

.gotobiki-parking__image {
  flex: 0 0 50%;
  min-width: 0;
}

.gotobiki-parking__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gotobiki-parking__info {
  display: flex;
  flex: 0 0 50%;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gotobiki-parking__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 500;
  color: #3c3c3c;
  text-align: left;
}

.gotobiki-parking__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gotobiki-parking__list li {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  text-align: left;
  color: #3c3c3c;
}

/* -----------------------------------------------------------
   熊野信仰のはじまりページ: イントロ・メッセージ
----------------------------------------------------------- */
.history-intro {
  position: relative;
  z-index: 1;
  margin-top: calc(100vh + 200px);
  padding: 0;
  background: #fff;
}

.history-intro::before {
  content: "";
  position: absolute;
  top: -250px;
  left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  pointer-events: none;
}

.history-intro__inner {
  display: flex;
  align-items: stretch;
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 200px;
}

.history-intro__photo {
  position: sticky;
  top: 0;
  flex: 1;
  min-width: 0;
  height: 100vh;
  margin-left: calc((100vw - 1240px) / -2);
}

.history-intro__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-intro__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 620px;
  padding: 60px;
}

.page-id-17 .history-intro__text {
  padding: 150px 60px;
}

@media (max-width: 768px) {
  .page-id-17 .history-intro__text {
    padding: 40px 40px;
  }
}

.history-intro__title-wrap {
  position: relative;
  margin-top: 0;
  margin-bottom: 30px;
}

.history-intro__title-wrap img {
  display: block;
}

.history-divider {
  max-width: 350px;
  margin: 0 0 30px;
  border: none;
  border-top: 1px solid #bfad7e;
}

.history-intro__body p {
  max-width: 350px;
  margin: 0 0 80px;
  padding-top: 70px;
  border-top: 1px solid #bfad7e;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: #000;
}

.history-message__photo {
  width: 350px;
  margin-top: 50px;
  margin-bottom: 30px;
}

.history-message__photo img {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.history-message__label {
  width: 100%;
  max-width: 350px;
  margin: 0 0 70px;
  padding-bottom: 10px;
  border-bottom: 1px solid #bfad7e;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  color: #000;
}

.history-message__heading {
  width: 100%;
  max-width: 350px;
  margin: 0 0 20px;
  padding-top: 30px;
  border-top: 1px solid #bfad7e;
  font-size: 20px;
  font-weight: 600;
  color: #bca57d;
  text-align: center;
}

.page-id-17 .history-message__heading {
  margin-bottom: 10px;
  padding-top: 0;
  border-top: none;
  text-align: left;
}

.page-id-17 .history-message__body + .history-message__heading,
.page-id-17 .history-kamikura__body + .history-message__heading,
.page-id-17 .history-block__body + .history-legacy__lead {
  margin-top: 50px;
}

.history-message__heading.history-message__heading--plain {
  margin-top: 80px;
  padding-top: 0;
  border-top: none;
}

.history-message__heading:first-of-type {
  padding-top: 0;
  border-top: none;
}

.history-message__body p {
  max-width: 350px;
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: #000;
}

.history-message__credit {
  max-width: 350px;
  margin: 0 0 30px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: #000;
}

.history-message__note {
  width: 100%;
  max-width: 350px;
  margin: 70px 0 24px;
  padding-top: 70px;
  border-top: 1px solid #bfad7e;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
  color: #000;
}

.history-message__cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 350px;
  padding: 16px;
  background: #bfad7e;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .page-id-17 .history-message__cta {
    font-size: 18px;
  }
}

.history-message__cta::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 18px;
  height: 18px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* -----------------------------------------------------------
   熊野信仰のはじまりページ: 御祭神
----------------------------------------------------------- */
.history-block {
  position: relative;
  z-index: 1;
  background: #fff;
}

.history-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: #bfad7e;
}

.history-block__inner {
  display: flex;
  align-items: stretch;
  max-width: 1240px;
  margin: 0 auto;
}

.history-block__photo {
  position: sticky;
  top: 0;
  flex: 1;
  min-width: 0;
  height: 100vh;
  margin-left: calc((100vw - 1240px) / -2);
}

.history-block__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-block__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 620px;
  padding: 200px 60px 60px;
}

.history-block__title-wrap {
  margin: 0 0 30px;
}

.history-block__body {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid #bfad7e;
}

.page-id-17 .history-block__body {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.history-block__figure {
  max-width: 350px;
  margin: 70px 0;
}

.history-block__figure img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.history-block__body p {
  max-width: 350px;
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: #000;
}

/* -----------------------------------------------------------
   熊野信仰のはじまりページ: 神倉山・ゴトビキ岩
----------------------------------------------------------- */
.history-kamikura {
  position: relative;
  z-index: 1;
  background: #fff;
}

.history-kamikura::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: #bfad7e;
}

.history-kamikura__inner {
  display: flex;
  align-items: stretch;
  max-width: 1240px;
  margin: 0 auto;
}

.history-kamikura__photo {
  position: sticky;
  top: 0;
  flex: 1;
  min-width: 0;
  height: 100vh;
  margin-left: calc((100vw - 1240px) / -2);
}

.history-kamikura__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-kamikura__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 620px;
  padding: 200px 60px 60px;
}

.page-id-17 .history-kamikura__text {
  padding: 150px 60px;
}

@media (max-width: 768px) {
  .page-id-17 .history-kamikura__text {
    padding: 40px 40px;
  }
}

.history-kamikura__title-wrap {
  margin: 0 0 70px;
}

.history-kamikura__lead {
  width: 100%;
  max-width: 350px;
  margin: 0 0 20px;
  padding-top: 70px;
  border-top: 1px solid #bfad7e;
  font-size: 20px;
  font-weight: 600;
  color: #bca57d;
  text-align: center;
}

.history-message__cta + .history-kamikura__lead {
  margin-top: 70px;
}

.history-kamikura__body {
  margin-top: 0;
  padding-top: 30px;
  border-top: none;
}

.history-message__heading + .history-kamikura__body {
  padding-top: 0;
}

.history-kamikura__body p {
  max-width: 350px;
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: #000;
}

.history-kamikura__info {
  width: 100%;
  max-width: 350px;
  margin: 0 0 30px;
}

.history-kamikura__info-row {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e5ded0;
}

.history-kamikura__info-row dt {
  flex: 0 0 90px;
  font-size: 15px;
  font-weight: 600;
  color: #bca57d;
}

.history-kamikura__info-row dd {
  flex: 1;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  color: #000;
}

.history-kamikura__notice {
  width: 100%;
  max-width: 350px;
  margin-top: 40px;
  padding: 24px;
  background: #f7f4ef;
}

.history-kamikura__notice-heading {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: #bca57d;
}

.history-kamikura__notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-kamikura__notice-list li {
  margin: 0 0 12px;
  padding-left: 1em;
  text-indent: -1em;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: #000;
}

.history-kamikura__notice-list li::before {
  content: "・";
}

.history-kamikura__notice-list li:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------------------
   熊野信仰のはじまりページ: 熊野速玉大社の歴史
----------------------------------------------------------- */
.history-legacy {
  position: relative;
  z-index: 1;
  background: #fff;
}

.history-legacy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: #bfad7e;
}

.history-legacy__inner {
  display: flex;
  align-items: stretch;
  max-width: 1240px;
  margin: 0 auto;
}

.history-legacy__photo {
  position: sticky;
  top: 0;
  flex: 1;
  min-width: 0;
  height: 100vh;
  margin-left: calc((100vw - 1240px) / -2);
}

.history-legacy__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-legacy__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 620px;
  padding: 200px 60px 100px;
}

.page-id-17 .history-legacy__text {
  padding: 150px 60px;
}

@media (max-width: 768px) {
  .page-id-17 .history-legacy__text {
    padding: 40px 40px;
  }
}

.history-legacy__title-wrap {
  margin: 0 0 30px;
}

.history-legacy__lead {
  width: 100%;
  max-width: 350px;
  margin: 30px 0 20px;
  padding-top: 80px;
  border-top: 1px solid #bfad7e;
  font-size: 20px;
  font-weight: 600;
  color: #bca57d;
  text-align: center;
}

.page-id-17 .history-legacy__lead {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  text-align: left;
}

.history-legacy__body p {
  max-width: 350px;
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: #000;
}

.history-legacy__note {
  width: 100%;
  margin: 0 0 24px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
  color: #000;
}

.history-legacy__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 350px;
  padding: 16px;
  background-color: #7a1f1f;
  background-image: url("assets/img/bt-bg.png");
  background-size: cover;
  background-position: center;
  border: 4px solid #bfad7e;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.history-legacy__cta-icon {
  width: 16px;
  height: 16px;
}

/* -----------------------------------------------------------
   熊野信仰のはじまりページ: 国宝・文化財
----------------------------------------------------------- */
.history-treasure {
  position: relative;
  z-index: 1;
  background: #fff;
}

.history-treasure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: #bfad7e;
}

.history-treasure__inner {
  display: flex;
  align-items: stretch;
  max-width: 1240px;
  margin: 0 auto;
}

.history-treasure__photo {
  position: sticky;
  top: 0;
  flex: 1;
  min-width: 0;
  height: 100vh;
  margin-left: calc((100vw - 1240px) / -2);
}

.history-treasure__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-treasure__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 620px;
  padding: 200px 60px 100px;
}

.page-id-17 .history-treasure__text {
  justify-content: center;
  padding: 150px 60px;
}

@media (max-width: 768px) {
  .page-id-17 .history-treasure__text {
    padding: 40px 40px;
  }
}

.history-treasure__title-wrap {
  margin: 0 0 30px;
}

.history-treasure__lead {
  width: 100%;
  max-width: 350px;
  margin: 30px 0 20px;
  padding-top: 80px;
  border-top: 1px solid #bfad7e;
  font-size: 18px;
  font-weight: 600;
  color: #bca57d;
  text-align: center;
}

.history-treasure__body.history-treasure__body--divider {
  width: 100%;
  max-width: 350px;
  padding-bottom: 70px;
  margin-bottom: 70px;
  border-bottom: 1px solid #bfad7e;
}

.history-treasure__body p {
  max-width: 350px;
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: #000;
}

.history-treasure__note {
  width: 100%;
  max-width: 350px;
  margin: 0 0 24px;
  padding-top: 70px;
  border-top: 1px solid #bfad7e;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  color: #000;
}

.history-treasure__cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 350px;
  padding: 16px;
  background: #bfad7e;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.history-treasure__cta::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 18px;
  height: 18px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* -----------------------------------------------------------
   熊野信仰のはじまりページ: 国宝・文化財(つづき)
----------------------------------------------------------- */
.history-treasure2 {
  position: relative;
  z-index: 1;
  background: #fff;
}

.history-treasure2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: #bfad7e;
}

.history-treasure2__inner {
  display: flex;
  align-items: stretch;
  max-width: 1240px;
  margin: 0 auto;
}

.history-treasure2__photo {
  position: sticky;
  top: 0;
  flex: 1;
  min-width: 0;
  height: 100vh;
  margin-left: calc((100vw - 1240px) / -2);
}

.history-treasure2__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-treasure2__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 620px;
  padding: 200px 60px 60px;
}

.history-treasure2__title-wrap {
  margin: 0 0 30px;
}

.history-treasure2__body {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid #bfad7e;
}

.history-treasure2__body p {
  max-width: 350px;
  margin: 0 0 70px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: #000;
}

@media (max-width: 768px) {
  .history-intro__inner,
  .history-kamikura__inner,
  .history-block__inner,
  .history-legacy__inner,
  .history-treasure__inner,
  .history-treasure2__inner {
    flex-direction: column;
  }

  .history-intro__inner {
    padding-top: 90px;
  }

  .history-intro__photo,
  .history-kamikura__photo,
  .history-block__photo,
  .history-legacy__photo,
  .history-treasure__photo,
  .history-treasure2__photo {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    margin-left: 0;
  }

  .history-intro__photo img,
  .history-kamikura__photo img,
  .history-block__photo img,
  .history-legacy__photo img,
  .history-treasure__photo img,
  .history-treasure2__photo img {
    height: auto;
  }

  .history-intro__photo::after,
  .history-kamikura__photo::after,
  .history-block__photo::after,
  .history-legacy__photo::after,
  .history-treasure__photo::after,
  .history-treasure2__photo::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
  }

  .history-intro__text,
  .history-kamikura__text,
  .history-block__text,
  .history-legacy__text,
  .history-treasure__text,
  .history-treasure2__text {
    flex: 0 0 auto;
    width: 100%;
    padding: 100px 60px 60px;
  }

  .history-intro__body p,
  .history-message__body p,
  .history-kamikura__body p,
  .history-block__body p,
  .history-legacy__body p,
  .history-treasure__body p,
  .history-treasure2__body p {
    font-size: 15px;
  }
}

/* -----------------------------------------------------------
   Footer
----------------------------------------------------------- */
.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 0 30px;
}

.footer-logo {
  width: 260px;
  max-width: 90%;
  margin-bottom: 20px;
}

.footer-address {
  font-size: 12px;
  line-height: 1.6;
  font-style: normal;
  margin-bottom: 60px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 60px;
}

.footer-social img {
  width: 36px;
  height: 36px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #000;
  margin-bottom: 20px;
}

.footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: none;
  border-radius: 0;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #000;
  margin-bottom: 40px;
}

.footer-lang img {
  width: 16px;
  height: 16px;
}

.site-footer__bottom {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid #bca57d;
  font-size: 12px;
}

/* -----------------------------------------------------------
   Front page hero slideshow
----------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
  animation-duration: 8s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.hero__slide.is-active {
  opacity: 1;
}

@keyframes hero-pan-up {
  from { transform: scale(1.12) translateY(4%); }
  to   { transform: scale(1.12) translateY(-4%); }
}

@keyframes hero-pan-down {
  from { transform: scale(1.12) translateY(-4%); }
  to   { transform: scale(1.12) translateY(4%); }
}

@keyframes hero-pan-right {
  from { transform: scale(1.12) translateX(-4%); }
  to   { transform: scale(1.12) translateX(4%); }
}

@keyframes hero-pan-left {
  from { transform: scale(1.12) translateX(4%); }
  to   { transform: scale(1.12) translateX(-4%); }
}

.hero__slide--pan-up { animation-name: hero-pan-up; }
.hero__slide--pan-down { animation-name: hero-pan-down; }
.hero__slide--pan-right { animation-name: hero-pan-right; }
.hero__slide--pan-left { animation-name: hero-pan-left; }

@media (max-width: 768px) {
  .hero__slide:nth-child(1) { background-image: url("assets/img/sp1.webp") !important; }
  .hero__slide:nth-child(2) { background-image: url("assets/img/sp2.webp") !important; }
  .hero__slide:nth-child(3) { background-image: url("assets/img/sp3.webp") !important; }
  .hero__slide:nth-child(4) { background-image: url("assets/img/sp4.webp") !important; }
  .hero__slide:nth-child(5) { background-image: url("assets/img/sp5.webp") !important; }
  .hero__slide:nth-child(6) { background-image: url("assets/img/sp6.webp") !important; }
}

.hero__main-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 90px;
}

@media (max-width: 768px) {
  .hero {
    height: calc(100vh - 94px);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  transform: translateX(-50%);
}

.hero__scroll-text {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 60px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
}

.hero__scroll-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: hero-scroll-line 2s ease-in-out infinite;
}

@keyframes hero-scroll-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.hero__anniversary {
  position: fixed;
  left: 40px;
  bottom: 40px;
  z-index: 50;
  width: auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 12px 20px;
  padding-top: 15px;
  font-size: 16px;
  text-align: left;
}

.hero__anniversary-date {
  align-self: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.hero__anniversary-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.hero__anniversary-sub {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 6px;
  font-size: 19px;
  font-weight: 400;
}

.hero__anniversary img {
  position: static;
  width: 12px;
  height: 12px;
  transform: none;
}

@media (max-width: 768px) {
  .primary-nav-anniversary.hero__anniversary {
    display: none;
  }
}

/* -----------------------------------------------------------
   Front page: top links + anniversary bar
----------------------------------------------------------- */
.top-links {
  padding: 60px 0;
}

.top-links__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  max-width: 600px;
  margin: 0 auto 30px;
}

.top-links__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #000;
  text-align: center;
}

.top-links__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid #bfad7e;
  border-radius: 10px;
}

.top-links__icon img {
  width: 40%;
}

.top-links__label {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.top-anniversary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 30px;
  background-color: #7a1f1f;
  background-image: url("assets/img/bt-bg.png");
  background-size: cover;
  background-position: center;
  border: 4px solid #bfad7e;
  color: #fff;
}

.top-anniversary__main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-anniversary__date {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.top-anniversary__title {
  font-size: 38px;
  font-weight: 700;
}

.top-anniversary__sub {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
}

.top-anniversary__sub img {
  width: 14px;
  height: 14px;
}

@media (max-width: 768px) {
  .top-links__grid {
    gap: 10px;
    margin-left: 5%;
    margin-right: 5%;
  }

  .top-links__label {
    font-size: 12px;
  }

  .top-anniversary {
    flex-direction: column;
    margin-left: 5%;
    margin-right: 5%;
  }

  .top-anniversary__date {
    font-size: 16px;
  }

  .top-anniversary__title {
    font-size: 30px;
  }
}

/* -----------------------------------------------------------
   Front page: intro section (熊野信仰のはじまり)
----------------------------------------------------------- */
.intro-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.intro-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-section__media .intro-section__media-sp {
  display: none;
}

.intro-section__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 60px 40px;
  text-align: center;
  background: #fff;
}

.intro-section__title {
  width: 90%;
  max-width: 272px;
  margin: 0;
}

.intro-section__title img {
  display: block;
  width: 100%;
}

.intro-section__label {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.intro-section__label::before,
.intro-section__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #bfad7e;
}

.intro-section__text {
  max-width: 360px;
  font-size: 15px;
  line-height: 1.9;
}

.intro-section__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 0 50px;
}

.intro-section__person img {
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
}

.intro-section__person figcaption {
  font-size: 16px;
}

.intro-section__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 425px;
  padding: 14px 32px;
  background: #bfad7e;
  border: 1px solid #bfad7e;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.intro-section__btn:hover {
  background: #fff;
  color: #bfad7e;
}

.intro-section__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 18px;
  height: 18px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 768px) {
  .intro-section {
    grid-template-columns: 1fr;
  }

  .intro-section__media {
    order: -1;
  }

  .intro-section__media .intro-section__media-pc {
    display: none;
  }

  .intro-section__media .intro-section__media-sp {
    display: block;
  }

  .intro-section__title {
    display: none;
  }

  .intro-section__label {
    font-size: 22px;
  }

  .intro-section__text {
    font-size: 16px;
    text-align: left;
  }

  .intro-section__person {
    margin: 0 0 10px;
  }

  .intro-section__person figcaption {
    font-size: 14px;
  }

  .intro-section__btn {
    font-size: 16px;
    background: #f0ebde;
    border-color: #bfad7e;
    color: #bfad7e;
  }

  .intro-section__btn::after {
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
  }
}

/* -----------------------------------------------------------
   Front page: NEWS
----------------------------------------------------------- */
.top-news {
  padding: 100px 0;
  border-top: 1px solid #bfad7e;
}

.top-news__head {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  padding: 13px 0 10px 0;
  background: #fff;
  text-align: center;
}

.top-news__head-en {
  display: block;
  margin-bottom: 5px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2em;
  color: #bfad7e;
}

.top-news__head-ja {
  display: block;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  letter-spacing: 0.1em;
}

.top-news__list {
  width: 90%;
  max-width: 960px;
  margin: 40px auto 0;
}

.top-news__item {
  border-bottom: 1px solid #bfad7e;
}

.top-news__item a {
  display: block;
  padding: 20px 0;
  color: #000;
}

.top-news__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.top-news__date {
  font-size: 16px;
  font-weight: 500;
}

.top-news__badge {
  padding: 2px 12px;
  border: 1px solid #bfad7e;
  background: #fff;
  font-size: 16px;
  font-weight: 500;
}

.top-news__row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 30px;
  margin: 0;
}

.top-news__title {
  font-size: 18px;
  font-weight: 600;
}

.top-news__row::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 10px;
  height: 10px;
  border-top: 2px solid #bfad7e;
  border-right: 2px solid #bfad7e;
  transform: translateY(-50%) rotate(45deg);
}

.top-news__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 120px;
  margin: 40px auto 0;
  padding: 5px;
  background: #bfad7e;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 999px;
}

.top-news__more::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .top-news__date {
    font-size: 14px;
  }

  .top-news__title {
    font-size: 16px;
  }
}

/* -----------------------------------------------------------
   Front page: MAGAZINE
----------------------------------------------------------- */
.top-magazine {
  position: relative;
  overflow: hidden;
  padding-bottom: 140px;
  background: #fff;
  border-top: 1px solid #bfad7e;
}

.top-magazine__heading {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.top-magazine__inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.top-magazine__intro {
  flex-shrink: 0;
  width: 100%;
  max-width: 420px;
  min-width: 0;
  margin: 0;
}

.top-magazine__subheading {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-top: 50px;
  margin-left: 50px;
  margin-bottom: 100px;
}

.top-magazine__logo {
  display: block;
  width: 260px;
  margin: 0 auto;
}

.top-magazine__content {
  flex: 1;
  min-width: 0;
}

.top-magazine__track {
  position: relative;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.top-magazine__track::-webkit-scrollbar {
  display: none;
}

.top-magazine__card {
  position: relative;
  flex: 0 0 280px;
  overflow: hidden;
  border: 1px solid #bfad7e;
  border-radius: 10px;
  background: #f7f4ef;
  color: #000;
}

.top-magazine__card--now {
  border-color: #ae2927;
}

.top-magazine__card--future {
  border-color: #bca57d;
}

.top-magazine__card--past {
  border-color: #556639;
}

.top-magazine__card-thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #f2ecdf;
}

.top-magazine__card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-magazine__card-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translateY(50%);
  padding: 6px 16px;
  background: #bfad7e;
  color: #fff;
  font-size: 13px;
}

.top-magazine__card--now .top-magazine__card-badge {
  background: #ae2927;
}

.top-magazine__card--future .top-magazine__card-badge {
  background: #bca57d;
}

.top-magazine__card--past .top-magazine__card-badge {
  background: #556639;
}

.top-magazine__card-body {
  position: relative;
  display: block;
  padding: 16px 30px 50px 16px;
}

.top-magazine__card-date {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 8px;
  padding: 0;
  border-bottom: 1px solid #bfad7e;
  font-size: 17px;
  font-weight: 500;
}

.top-magazine__card--now .top-magazine__card-date {
  border-bottom-color: #ae2927;
}

.top-magazine__card--future .top-magazine__card-date {
  border-bottom-color: #bca57d;
}

.top-magazine__card--past .top-magazine__card-date {
  border-bottom-color: #556639;
}

.top-magazine__card-title {
  display: block;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.top-magazine__card::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 15px;
  height: 15px;
  border-top: 2px solid #bfad7e;
  border-right: 2px solid #bfad7e;
  transform: rotate(45deg);
}

.top-magazine__card--now::after {
  border-color: #ae2927;
}

.top-magazine__card--future::after {
  border-color: #bca57d;
}

.top-magazine__card--past::after {
  border-color: #556639;
}

.top-magazine__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.top-magazine__dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 100px;
}

.top-magazine__dots button {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #d9d0bd;
}

.top-magazine__dots button.is-active {
  background: #bfad7e;
}

.top-magazine__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 120px;
  margin: 0 200px 0 0;
  padding: 5px;
  background: #bfad7e;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 999px;
}

.top-magazine__more::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .top-magazine {
    padding-bottom: 60px;
  }

  .top-magazine__inner {
    flex-direction: column;
  }

  .top-magazine__logo {
    width: 160px;
  }

  .top-magazine__footer {
    flex-direction: column;
    justify-content: center;
    gap: 24px;
  }

  .top-magazine__content {
    width: 100%;
    padding-left: 20px;
  }

  .top-magazine__track {
    padding-left: 0;
  }

  .top-magazine__dots {
    margin-left: 0;
  }

  .top-magazine__more {
    margin: 0;
  }

  .top-magazine__subheading {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-top: 10px;
    margin-left: 0;
    margin-bottom: 30px;
    text-align: center;
  }
}

/* -----------------------------------------------------------
   Front page: ACCESS + Q&A
----------------------------------------------------------- */
.top-access {
  padding: 100px 0 200px;
  background: #ededed;
}

.top-access__head {
  text-align: center;
  margin-bottom: 40px;
}

.top-access__heading {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #bfad7e;
}

.top-access__subheading {
  margin-top: 4px;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.top-access__map {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
}

.top-access__map-bg {
  width: 100%;
  max-width: 960px;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.top-access__map-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 80px 20px;
  background: rgba(191, 173, 126, 0.75);
  text-align: center;
}

.top-access__map-icon {
  width: 32px;
}

.top-access__map-text {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.top-access__map-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  padding: 14px;
  background: #fff;
  color: #000;
  font-size: 24px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.top-access__map-btn:hover {
  background: #bfad7e;
  color: #fff;
}

.top-access__map-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 30px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #bfad7e;
  border-right: 2px solid #bfad7e;
  transform: translateY(-50%) rotate(45deg);
  transition: border-color 0.3s ease;
}

.top-access__map-btn:hover::after {
  border-color: #fff;
}

@media (max-width: 768px) {
  .top-access {
    padding-top: 40px;
    padding-bottom: 30px;
    background: #ededed;
  }

  .top-access__map-bg {
    width: 90%;
  }

  .top-access__heading {
    font-size: 26px;
  }

  .top-access__subheading {
    font-size: 14px;
  }

  .top-access__map-inner {
    padding: 30px 20px;
  }

  .top-access__map-text {
    font-size: 16px;
  }

  .top-access__map-btn {
    font-size: 16px;
  }
}

.top-access__divider {
  max-width: 960px;
  margin: 120px auto 80px auto;
  border-top: 1px solid #b7b7b7;
}

.top-faq {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.top-faq__question {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: #5c5c5c;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.top-faq__q {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.top-faq__text {
  flex: 1;
  font-size: 20px;
  font-weight: 500;
}

.top-faq__question::after {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-size: 1px 100%, 100% 1px;
  background-position: center;
  background-repeat: no-repeat;
}

.top-faq__item.is-expanded .top-faq__question::after {
  background-size: 0 100%, 100% 1px;
}

.top-faq__answer {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.top-faq__item.is-expanded .top-faq__answer {
  max-height: 600px;
  padding: 20px 24px;
}

.top-faq__a {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 700;
  color: #000;
}

.top-faq__answer p {
  flex: 1;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .top-faq {
    margin-left: 5%;
    margin-right: 5%;
  }

  .top-faq__text {
    font-size: 16px;
  }

  .top-faq__answer p {
    font-size: 16px;
  }
}

/* -----------------------------------------------------------
   熊野ヲ読ム 一覧ページ ファーストビュー
----------------------------------------------------------- */
.magazine-hero {
  position: relative;
  height: 95vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #bfad7e;
}

.magazine-hero--short {
  height: auto;
  padding: 100px 0;
  border-bottom: none;
}

.magazine-hero--short .magazine-hero__logo-wrap {
  flex: none;
  width: auto;
}

.magazine-hero--short .magazine-hero__logo {
  width: 200px;
}

.magazine-hero__heading {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 50px;
  pointer-events: none;
}

.magazine-hero__heading.magazine-hero__heading--sp {
  display: none;
}

.magazine-hero__subheading {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
}

.magazine-hero__logo-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.magazine-hero__logo-heading {
  margin: 0;
}

.magazine-hero__logo {
  display: block;
  width: 260px;
  margin: 0 auto;
}

body.post-type-archive-magazine,
body.tax-yomu_tense,
body.single-magazine {
  background: #fff;
}

.magazine-featured {
  padding: 80px 0 0;
}

.magazine-featured__tag-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 40px;
}

.magazine-featured__tag {
  position: relative;
  padding: 10px 24px;
  background: #bfad7e;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.magazine-featured__tag::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #bfad7e;
}

.magazine-featured__grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 70px;
}

.magazine-featured__grid .top-magazine__card {
  flex: none;
}

body.post-type-archive-magazine .container,
body.tax-yomu_tense .container {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

body.post-type-archive-magazine .card-grid,
body.tax-yomu_tense .card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.magazine-featured__divider {
  width: 100%;
  margin: 120px 0;
  border-top: 1px solid #bfad7e;
}

.magazine-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 60px;
}

.magazine-tabs__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.magazine-tabs__item.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: 0;
  height: 0;
  z-index: 1;
  transform: translateX(-50%);
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid #000;
}

.magazine-tabs__item--now {
  background: #ae2927;
}

.magazine-tabs__item--now.is-active::after {
  border-top-color: #ae2927;
}

.magazine-tabs__item--past {
  background: #556639;
}

.magazine-tabs__item--past.is-active::after {
  border-top-color: #556639;
}

.magazine-tabs__item--future {
  background: #bca57d;
}

.magazine-tabs__item--future.is-active::after {
  border-top-color: #bca57d;
}

.magazine-tabs__item--all {
  background: #b7b7b7;
}

.magazine-tabs__item--all.is-active {
  background: #000;
}

.magazine-pagination {
  display: flex;
  align-items: center;
  max-width: 400px;
  margin: 60px auto 0;
}

.magazine-pagination__next {
  margin-left: auto;
}

.magazine-pagination__prev,
.magazine-pagination__next {
  display: block;
}

.magazine-pagination__prev a,
.magazine-pagination__next a,
.magazine-pagination__prev,
.magazine-pagination__next {
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.magazine-pagination__prev,
.magazine-pagination__prev a {
  background: #d9d9d9;
  color: #8a8a8a;
}

.magazine-pagination__next,
.magazine-pagination__next a {
  background: #bfad7e;
  color: #fff;
}

/* -----------------------------------------------------------
   熊野ヲ読ム 記事詳細ヘッダー
----------------------------------------------------------- */
.entry-header {
  max-width: 960px;
  margin: 0 auto 60px;
}

.entry-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0;
  margin-bottom: 0;
}

.entry-header__badge {
  padding: 8px 20px;
  background: #bfad7e;
  color: #fff;
  font-size: 21px;
  font-weight: 600;
}

.entry-header__badge--now {
  background: #ae2927;
}

.entry-header__badge--past {
  background: #556639;
}

.entry-header__badge--future {
  background: #bca57d;
}

.entry-header__date {
  font-size: 19px;
  font-weight: 500;
}

.entry-header__title {
  margin: 0;
  padding: 30px 20px;
  background: #f2ecdf;
  border-top: 2px solid #bfad7e;
  border-bottom: 2px solid #bfad7e;
  font-size: 24px;
  font-weight: 600;
  text-align: left;
}

.entry-header--now .entry-header__title {
  border-top-color: #ae2927;
  border-bottom-color: #ae2927;
}

.entry-header--past .entry-header__title {
  border-top-color: #556639;
  border-bottom-color: #556639;
}

.entry-header--future .entry-header__title {
  border-top-color: #bca57d;
  border-bottom-color: #bca57d;
}

/* -----------------------------------------------------------
   授与品ページ: 商品詳細モーダル
----------------------------------------------------------- */
.ofuda-card {
  cursor: pointer;
}

.ofuda-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(247, 244, 239, 0.9);
}

.ofuda-modal.is-open {
  display: flex;
}

.ofuda-modal__inner {
  position: relative;
  width: 100%;
  max-width: 960px;
}

.ofuda-modal__dialog {
  display: flex;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
}

.ofuda-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -25px;
  right: -25px;
  z-index: 1;
  width: 50px;
  height: 50px;
  background: #fff;
  border: 1px solid #bca57d;
  border-radius: 50%;
  color: #bfad7e;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.ofuda-modal__image {
  position: relative;
  flex: 0 0 480px;
  background: #ece7e0;
}

.ofuda-modal__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.ofuda-modal__slide-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #3c3c3c;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 1;
}

.ofuda-modal__slide-arrow::before {
  content: "";
  width: 20px;
  height: 20px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.ofuda-modal__slide-arrow--prev::before {
  transform: rotate(-135deg);
}

.ofuda-modal__slide-arrow--next::before {
  transform: rotate(45deg);
}

.ofuda-modal__slide-arrow--prev {
  left: 16px;
}

.ofuda-modal__slide-arrow--next {
  right: 16px;
}

.ofuda-modal__image.has-slides .ofuda-modal__slide-arrow {
  display: flex;
}

.ofuda-modal__slide-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 1;
}

.ofuda-modal__image.has-slides .ofuda-modal__slide-dots {
  display: flex;
}

.ofuda-modal__slide-dot {
  width: 30px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.ofuda-modal__slide-dot.is-active {
  background: #bfad7e;
}

.ofuda-modal__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 50px 45px;
}

.ofuda-modal__title {
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #bfad7e;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.ofuda-modal__description {
  margin-bottom: 30px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  white-space: pre-line;
}

.ofuda-modal__dimensions {
  margin: auto 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #bfad7e;
  font-size: 16px;
  font-weight: 600;
}

.ofuda-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ofuda-modal__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #bca57d;
}

.ofuda-modal__price-label {
  font-size: 18px;
  font-weight: 800;
}

.ofuda-modal__price-value {
  font-size: 24px;
  font-weight: 800;
}

.ofuda-modal__price-unit {
  font-size: 18px;
  font-weight: 800;
}

.ofuda-modal__badge {
  padding: 2px 9px 3px 9px;
  border: 1px solid #ae2927;
  color: #ae2927;
  font-size: 18px;
  font-weight: 600;
}

/* -----------------------------------------------------------
   授与品ページ: 通信授与について
----------------------------------------------------------- */
.tsushin-box {
  margin: 80px 0;
  background: #fff;
}

.tsushin-box__header {
  padding: 20px;
  background: #bfad7e;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.tsushin-box__body {
  padding: 45px 50px 60px;
}

.tsushin-box__body > p {
  margin-bottom: 30px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  text-align: left;
}

.tsushin-box__body > p.tsushin-box__intro {
  max-width: 460px;
  margin: 0 auto 20px;
  color: #000;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
}

.tsushin-box__lead {
  margin-bottom: 30px;
  color: #bfad7e;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.tsushin-divider {
  margin: 60px 0;
  border: none;
  border-top: 1px solid #bfad7e;
}

.tsushin-steps {
  position: relative;
  max-width: 460px;
  margin: 0 auto 90px;
  padding: 0;
  list-style: none;
}

.tsushin-steps::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 50px;
  left: 25px;
  border-left: 2px dotted #bfad7e;
}

.tsushin-steps__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.tsushin-steps__item + .tsushin-steps__item {
  margin-top: 60px;
}

.tsushin-steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  background: #bfad7e;
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  font-weight: 600;
}

.tsushin-steps__content {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.tsushin-steps__label {
  display: inline-block;
  padding: 8px 20px;
  background: #bfad7e;
  border-radius: 4px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.tsushin-steps__text {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.tsushin-steps__note {
  color: #ae2927;
}

.tsushin-download {
  display: flex;
  align-items: center;
  margin-top: 16px;
  padding: 7px 14px;
  background: #ae2927;
  border-radius: 9999px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.tsushin-download--bottom {
  max-width: 460px;
  margin: 0 auto 40px;
}

.tsushin-download__icon {
  width: 10px;
  margin-left: auto;
  margin-right: 6px;
}

.tsushin-notes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tsushin-notes li {
  position: relative;
  padding-left: 1.2em;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
}

.tsushin-notes li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.entry-header__title--plain {
  padding: 30px 0;
  background: none;
}

.entry-header__badge-outline {
  padding: 5px 16px 6px 16px;
  margin-bottom: 10px;
  border: 1px solid #bfad7e;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

body.single-post {
  background: #fafafa;
}

body.single-post .section {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 80px;
}

.entry-content {
  max-width: 960px;
  margin: 0 auto;
}

body.single-post .entry-content p,
body.single-magazine .entry-content p {
  font-size: 18px;
  font-weight: 500;
  margin-top: 30px;
  margin-bottom: 1em;
}

body.single-post .entry-content h1,
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4,
body.single-post .entry-content h5,
body.single-post .entry-content h6,
body.single-magazine .entry-content h1,
body.single-magazine .entry-content h2,
body.single-magazine .entry-content h3,
body.single-magazine .entry-content h4,
body.single-magazine .entry-content h5,
body.single-magazine .entry-content h6 {
  margin-top: 60px;
  margin-bottom: 0;
}

body.single-post .entry-content h2,
body.single-magazine .entry-content h2 {
  padding-left: 16px;
  border-left: 6px solid #bfad7e;
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

body.single-magazine .entry-content--now h2 {
  border-left-color: #ae2927;
}

body.single-magazine .entry-content--past h2 {
  border-left-color: #556639;
}

body.single-magazine .entry-content--future h2 {
  border-left-color: #bca57d;
}

body.single-post .entry-content h3,
body.single-magazine .entry-content h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

body.single-post .entry-content h3::before,
body.single-magazine .entry-content h3::before {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bfad7e;
}

body.single-magazine .entry-content--now h3::before {
  background: #ae2927;
}

body.single-magazine .entry-content--past h3::before {
  background: #556639;
}

body.single-magazine .entry-content--future h3::before {
  background: #bca57d;
}

body.single-post .entry-content img,
body.single-magazine .entry-content img {
  margin-top: 60px;
  margin-bottom: 30px;
  border-radius: 10px;
}

body.single-post .entry-content strong,
body.single-magazine .entry-content strong {
  font-weight: 700;
  color: #000;
}

body.single-post .entry-content hr,
body.single-magazine .entry-content hr {
  margin: 70px 0;
  border: none;
  border-top: 1px solid #bfad7e;
}

.entry-footer {
  position: relative;
  max-width: 960px;
  margin: 150px auto 0;
  padding-top: 40px;
}

.entry-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 2px;
  transform: translateX(-50%);
  background: #bfad7e;
}

.entry-footer--now::before {
  background: #ae2927;
}

.entry-footer--past::before {
  background: #556639;
}

.entry-footer--future::before {
  background: #bca57d;
}

.entry-footer__nav {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  font-size: 18px;
}

.entry-footer__nav a {
  color: #000;
}

.entry-footer__next {
  margin-left: auto;
}

.entry-footer__back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 240px;
  margin: 0 auto;
  padding: 14px;
  background: #bfad7e;
  color: #fff;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .magazine-hero--short {
    height: auto;
    padding: 60px 0;
    border-bottom: none;
  }

  .magazine-hero {
    height: 50vh;
    padding-top: 70px;
  }

  .magazine-hero__heading.magazine-hero__heading--pc {
    display: none;
  }

  .magazine-hero__heading.magazine-hero__heading--sp {
    display: block;
  }

  .magazine-featured__grid {
    width: 80%;
    grid-template-columns: 1fr;
    gap: 30px 70px;
  }

  body.post-type-archive-magazine .card-grid,
  body.tax-yomu_tense .card-grid {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 1fr;
  }

  .magazine-tabs__item {
    padding: 10px 0px;
    font-size: 14px;
  }

  .magazine-tabs__item.is-active::after {
    bottom: -14px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 14px solid #000;
  }

  .magazine-hero__heading {
    width: 80%;
    margin-bottom: 10px;
  }

  .magazine-hero__subheading {
    font-size: 14px;
  }

  .magazine-hero__logo {
    width: 200px;
  }

  .page-hero-image .page-hero-image-pc {
    display: none;
  }

  .page-hero-image .page-hero-image-sp {
    display: block;
  }

  .goods-notice .goods-notice__text {
    font-size: 16px;
    text-align: left;
  }

  .goods-notice .goods-notice__note {
    font-size: 10px;
    text-align: left;
  }

  .ofuda-section__inner {
    flex-direction: column;
  }

  .ofuda-head {
    flex: 0;
    margin: 0 auto;
  }

  .ofuda-modal__dialog {
    flex-direction: column;
  }

  .ofuda-modal__image {
    flex: 0;
  }

  .ofuda-modal__body {
    padding: 50px 25px;
  }

  .ofuda-modal__title {
    font-size: 16px;
  }

  .ofuda-modal__description {
    font-size: 14px;
  }

  .ofuda-modal__price-label {
    font-size: 14px;
  }

  .ofuda-modal__price-value {
    font-size: 18px;
  }

  .ofuda-modal__badge {
    font-size: 12px;
  }

  .ofuda-section {
    overflow-x: hidden;
  }

  .ofuda-carousel {
    width: 100%;
    padding-left: 20px;
    box-sizing: border-box;
  }

  .ofuda-carousel__track {
    gap: 15px;
  }

  .ofuda-carousel__nav {
    position: relative;
    justify-content: center;
  }

  .ofuda-carousel__arrows {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
  }

  .ofuda-card {
    flex: 0 0 240px;
  }

  .ofuda-head__title {
    font-size: 33px;
  }

  .ofuda-head__subtitle {
    font-size: 14px;
  }

  .tsushin-box {
    margin-bottom: 0;
  }

  .tsushin-box__body {
    padding: 45px 30px 60px;
  }

  .tsushin-box__body > p {
    font-size: 14px;
  }

  .tsushin-steps__label {
    white-space: normal;
    font-size: 14px;
  }

  .tsushin-steps {
    margin: 0 auto 40px;
  }

  .tsushin-steps::before {
    top: 9px;
    bottom: 0;
    left: 22px;
  }

  .tsushin-steps__item {
    gap: 20px;
  }

  .tsushin-steps__item + .tsushin-steps__item {
    margin-top: 30px;
  }

  .tsushin-steps__num {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    font-size: 22px;
  }

  .tsushin-box__header {
    font-size: 16px;
  }

  body.single-post .entry-content p,
  body.single-magazine .entry-content p {
    font-size: 15px;
  }

  body.single-post .entry-content hr,
  body.single-magazine .entry-content hr {
    margin: 40px 0;
  }

  body.single-post .entry-content img,
  body.single-magazine .entry-content img {
    margin-top: 40px;
    margin-bottom: 10px;
  }

  .entry-header__title {
    font-size: 22px;
  }

  .entry-header__date {
    font-size: 17px;
  }

  .entry-header__badge-outline {
    font-size: 15px;
  }

  .entry-footer {
    margin: 70px auto 0;
  }

  .entry-footer__nav {
    margin-left: 5%;
    margin-right: 5%;
    font-size: 13px;
  }

  .entry-footer__back {
    font-size: 15px;
  }
}

/* -----------------------------------------------------------
   お問い合わせフォーム (Contact Form 7)
----------------------------------------------------------- */
.contact-form-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.contact-form-wrap .wpcf7-form label {
  display: block;
  font-size: 18px;
  font-weight: 600;
}

.contact-form-wrap .wpcf7-required {
  margin-left: 4px;
  color: #ae2927;
}

.contact-form-wrap .wpcf7-form > p {
  margin-bottom: 40px;
}

.contact-form-wrap .wpcf7-form input[type="text"],
.contact-form-wrap .wpcf7-form input[type="email"],
.contact-form-wrap .wpcf7-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #707070;
  font-family: inherit;
  font-size: 15px;
}

.contact-form-wrap .wpcf7-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form-wrap .cf7-row {
  display: flex;
  gap: 20px;
}

.contact-form-wrap .cf7-col {
  flex: 1;
  min-width: 0;
}

.contact-form-wrap .cf7-col .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-form-wrap .wpcf7-submit {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 20px auto 0;
  padding: 16px;
  background: #bfad7e;
  color: #fff;
  border: none;
  border-radius: 9999px;
  box-shadow: none;
  font-size: 20px;
  font-weight: 600;
}

.contact-form-notice {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #3c3c3c;
}

.contact-form-notice a {
  color: #bfad7e;
  text-decoration: underline;
}

.contact-form-wrap .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #ae2927;
  font-size: 13px;
}

.contact-form-wrap .wpcf7-response-output {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .contact-form-wrap {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-form-notice {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
    text-align: left;
  }
}

body.page-template-page-contact-php,
body.page-template-page-contact-thanks-php {
  background: #fafafa;
}

body.page-template-page-contact-php .section,
body.page-template-page-contact-thanks-php .section,
body.page-template-page-access-php .section {
  padding-top: 80px;
}

body.page-template-page-worship-php .section {
  padding-bottom: 0;
}

.contact-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  margin: 60px 0;
}

.contact-flow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.contact-flow__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding-bottom: 2px;
  border-radius: 50%;
  background: #d9d0bd;
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  font-weight: 700;
}

.contact-flow__step.is-active .contact-flow__num {
  background: #bfad7e;
}

.contact-flow__label {
  font-size: 18px;
  font-weight: 600;
  color: #8a8a8a;
}

.contact-flow__step.is-active .contact-flow__label {
  color: #bfad7e;
}

.contact-flow__connector {
  width: 60px;
  height: 1px;
  margin-top: 16px;
  background: #bfad7e;
}

.contact-thanks {
  margin: 60px 0 80px;
  text-align: center;
}

.contact-thanks__title {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 26px;
  font-weight: 600;
  color: #bfad7e;
}

.contact-thanks__title-break {
  display: none;
}

.contact-thanks__text {
  font-size: 18px;
  font-weight: 500;
  color: #3c3c3c;
}

@media (max-width: 768px) {
  .contact-thanks__title {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    text-align: left;
  }

  .contact-thanks__title-break {
    display: inline;
  }

  .contact-thanks__text {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    text-align: left;
  }
}

/* -----------------------------------------------------------
   聖地ゴトビキ岩ページ: スマホ対応（2カラム→1カラム）
----------------------------------------------------------- */
@media (max-width: 768px) {
  .gotobiki-hero {
    position: relative;
    height: calc(100vh - 94px);
  }

  .gotobiki-hero__bg.gotobiki-hero__bg--pc {
    display: none;
  }

  .gotobiki-hero__bg.gotobiki-hero__bg--sp {
    display: block;
  }

  .gotobiki-intro__photo .gotobiki-intro__photo-pc,
  .gotobiki-legacy__photo .gotobiki-legacy__photo-pc {
    display: none;
  }

  .gotobiki-intro__photo .gotobiki-intro__photo-sp,
  .gotobiki-legacy__photo .gotobiki-legacy__photo-sp {
    display: block;
  }

  .gotobiki-intro__photo,
  .gotobiki-legacy__photo {
    position: relative;
    z-index: 2;
    height: auto;
    margin-top: 0;
  }

  .gotobiki-intro__photo img,
  .gotobiki-legacy__photo img {
    height: auto;
  }

  .gotobiki-intro__photo-title,
  .gotobiki-legacy__photo-title {
    left: 0;
    right: 0;
    width: 100%;
  }

  .gotobiki-intro__photo-title {
    top: 350px;
    z-index: 1;
  }

  .gotobiki-legacy__photo-title {
    top: 390px;
    z-index: 1;
  }

  .gotobiki-intro__photo::after,
  .gotobiki-legacy__photo::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
  }

  .gotobiki-intro__inner,
  .gotobiki-legacy__inner {
    margin-top: 0;
  }

  .gotobiki-intro__inner,
  .gotobiki-legacy__inner {
    margin-left: 0;
    margin-right: 0;
  }

  .gotobiki-intro__text,
  .gotobiki-legacy__text {
    width: 100%;
  }

  .gotobiki-intro__text {
    margin-top: 0;
    padding: 200px 30px 100px 30px;
    background: #fff;
  }

  .gotobiki-legacy__text {
    margin-top: 0;
    margin-left: auto;
    padding: 200px 30px 100px 30px;
    background: #fff;
  }

  .gotobiki-intro__body p,
  .gotobiki-legacy__body p {
    font-size: 15px;
  }

  .gotobiki-route {
    padding: 60px 0;
  }

  .gotobiki-route__inner {
    padding-left: 6%;
    padding-right: 6%;
  }

  .gotobiki-route__lead {
    font-size: 16px;
  }

  .gotobiki-route__lead-break {
    display: inline;
  }

  .gotobiki-route__content {
    flex-direction: column;
    gap: 40px;
  }

  .gotobiki-route__map {
    flex: 0 0 auto;
    width: 100%;
    margin-left: 0;
  }

  .gotobiki-route__photos {
    flex: 0 0 auto;
    width: 100%;
  }

  .gotobiki-route__photo {
    width: 90%;
    margin: 0 auto;
  }

  .gotobiki-route__figure {
    width: 90%;
    margin: 0 auto;
  }

  .gotobiki-route__photo .gotobiki-route__badge {
    left: 45px;
  }

  .gotobiki-route__photo .gotobiki-route__badge--onna {
    left: auto;
    right: 40px;
    transform: translate(50%, -50%);
  }

  .gotobiki-route__badge--otoko + .gotobiki-route__figure {
    margin-left: auto;
    margin-right: 0;
  }

  .gotobiki-route__badge--onna + .gotobiki-route__figure {
    margin-left: 0;
    margin-right: auto;
  }

  .gotobiki-access {
    padding: 70px 0;
  }

  .gotobiki-access__content {
    flex-direction: column;
    gap: 40px;
  }

  .gotobiki-access__block {
    flex: 0 0 auto;
    width: 100%;
  }

  .gotobiki-access__box p {
    min-height: auto;
    padding: 20px;
    font-size: 16px;
  }

  .gotobiki-parking {
    flex-direction: column;
    margin-top: 20px;
  }
}

/* -----------------------------------------------------------
   404ページ
----------------------------------------------------------- */
.error-404 {
  padding-top: 150px;
}

.error-404__body {
  max-width: 600px;
  margin: 60px auto 0;
  text-align: center;
}

.error-404__body p {
  margin: 0 0 40px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: #3c3c3c;
}

/* -----------------------------------------------------------
   御創建千九百年大祭 (LP)
----------------------------------------------------------- */
.anniversary-brand {
  padding: 60px 20px 40px;
  text-align: center;
}

.anniversary-brand__logo {
  display: block;
  width: 340px;
  margin: 0 auto 30px;
}

.anniversary-brand__title {
  margin: 0 0 130px;
}

.anniversary-brand__title img {
  display: block;
  width: 750px;
  max-width: 100%;
  margin: 0 auto;
}

.anniversary-letter {
  margin: 0 0 100px;
  padding: 70px 60px;
  background: #fff;
  border-radius: 20px;
}

.anniversary-letter__date {
  margin: 0 0 40px;
  color: #bca57d;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.8;
  text-align: center;
}

.anniversary-letter__divider {
  margin: 0 0 50px;
  border: none;
  border-top: 1px solid #bfad7e;
}

.anniversary-letter__body p {
  margin: 0 0 50px;
  color: #000;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
}

.anniversary-letter__heading {
  margin: 50px 0 20px;
  color: #bca57d;
  font-size: 20px;
  font-weight: 600;
}

.anniversary-letter__heading::before {
  content: "■ ";
}

.anniversary-letter__signoff {
  margin: 40px 0 0;
  text-align: right;
}

.anniversary-letter__photo {
  margin: 50px 0 0;
  text-align: center;
}

.anniversary-letter__photo img {
  display: block;
  width: 350px;
  margin: 0 auto 16px;
  border-radius: 10px;
}

.anniversary-letter__photo figcaption {
  color: #000;
  font-size: 14px;
}

.anniversary-section-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 160px 0 100px;
}

.anniversary-section-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 100vw;
  height: 1px;
  margin-left: -50vw;
  background: #bfad7e;
  transform: translateY(-50%);
}

.anniversary-section-title {
  position: relative;
  z-index: 1;
  display: inline-block;
  max-width: 620px;
  padding: 15px 30px;
  background: #ae2927;
  border: 5px solid #bfad7e;
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  text-align: center;
}

.anniversary-lead {
  margin: 0 0 50px;
  color: #000;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
  text-align: center;
}

.anniversary-intro {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0 0 100px;
}

.anniversary-intro__photo {
  flex: 0 0 460px;
  margin: 0;
}

.anniversary-intro__photo img {
  display: block;
  width: 100%;
  border-radius: 5px;
}

.anniversary-intro__text {
  flex: 1;
  min-width: 0;
}

.anniversary-intro__text p {
  margin: 0;
  color: #000;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
}

.anniversary-timeline {
  max-width: 750px;
  margin: 0 auto 100px;
  background: #fff;
}

.anniversary-timeline__head {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 16px 20px;
  background: #bfad7e;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

.anniversary-timeline__body {
  height: 0;
  overflow: hidden;
}

.anniversary-timeline__body-inner {
  max-width: 750px;
  margin: 0 auto;
  padding: 60px 55px;
  box-sizing: border-box;
}

.anniversary-timeline__item {
  margin-bottom: 26px;
}

.anniversary-timeline__era {
  margin: 0 0 10px;
  padding: 8px 16px;
  background: #f3ede0;
  color: #a9895a;
  font-size: 18px;
  font-weight: 600;
}

.anniversary-timeline__text {
  margin: 0;
  padding: 0 4px;
  color: #000;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}

.anniversary-timeline__toggle-icon {
  position: absolute;
  top: 50%;
  right: 30px;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
}

.anniversary-timeline__toggle-icon::before,
.anniversary-timeline__toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.anniversary-timeline__toggle-icon::before {
  width: 30px;
  height: 1px;
}

.anniversary-timeline__toggle-icon::after {
  width: 1px;
  height: 30px;
}

.anniversary-timeline.is-expanded .anniversary-timeline__toggle-icon::after {
  display: none;
}

.anniversary-project-photos {
  display: flex;
  gap: 20px;
  margin: 0;
}

.anniversary-project-photos img {
  display: block;
  width: 100%;
  border-radius: 12px 12px 0 0;
}

.anniversary-projects {
  margin: 0;
  background: #fff;
}

.anniversary-project {
  max-width: 750px;
  margin: 0 auto;
  padding: 50px 0;
}

.anniversary-project + .anniversary-project {
  border-top: 1px solid #bfad7e;
}

.anniversary-project:last-child {
  border-bottom: 1px solid #bfad7e;
}

.anniversary-project__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 24px;
}

.anniversary-project__num {
  flex: 0 0 auto;
  margin: 0;
  color: #bfad7e;
  opacity: 0.3;
  font-size: 100px;
  font-weight: 600;
  line-height: 1;
}

.anniversary-project__head-text {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.anniversary-project__title {
  margin: 0 0 8px;
  color: #bfad7e;
  font-size: 20px;
  font-weight: 600;
}

.anniversary-project__budget {
  margin: 0;
  color: #000;
  font-size: 14px;
  font-weight: 600;
}

.anniversary-project__text {
  margin: 0;
  color: #000;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  text-align: left;
}

.anniversary-total {
  margin: 0;
  padding: 50px 0 60px;
  background: #fff;
  border-radius: 0 0 20px 20px;
  color: #000;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.anniversary-total span {
  display: block;
  margin-top: 10px;
  color: #000;
  font-size: 14px;
  font-weight: 500;
}

.anniversary-table {
  width: 100%;
  margin: 0 0 100px;
  background: #fff;
  border-collapse: collapse;
}

.anniversary-table th,
.anniversary-table td {
  padding: 18px 24px;
  border: 1px solid #e3ddd0;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
}

.anniversary-table th {
  width: 220px;
  background: #f7f4ef;
  color: #000;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.anniversary-table td {
  color: #000;
  font-size: 18px;
}

.anniversary-flow {
  margin: 0 0 60px;
}

.anniversary-flow__note {
  margin: 40px 0 20px;
  color: #3c3c3c;
  font-size: 15px;
  line-height: 1.9;
  text-align: center;
}

.anniversary-flow .anniversary-flow__tel {
  margin: 0 0 40px;
  color: #3c3c3c;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.anniversary-flow__tel a {
  color: inherit;
}

.anniversary-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 620px;
  margin: 0 auto;
  padding: 22px;
  background: linear-gradient(to bottom, #b1100d, #5d0908);
  border: 1px solid #9c0e0b;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  text-align: center;
}

.anniversary-cta::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 35px;
  width: 22px;
  height: 22px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.anniversary-cta-section__home {
  position: relative;
  display: block;
  max-width: 360px;
  margin: 30px auto 0;
  padding: 16px;
  background: #fff;
  border-radius: 5px;
  border-bottom: 7px solid #bfad7e;
  color: #3c3c3c;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.anniversary-cta-section__home-arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.anniversary-credit {
  margin: 0 0 40px;
  color: #000;
  font-size: 14px;
  text-align: center;
}

.anniversary-cta-section {
  position: relative;
  overflow: hidden;
  padding: 120px 20px;
  text-align: center;
}

.anniversary-cta-section__bg {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anniversary-cta-section__inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.anniversary-cta-section__badge {
  display: inline-block;
  margin: 0 0 40px;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}

.anniversary-cta-section__text {
  margin: 0 0 50px;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .anniversary-brand {
    padding: 40px 20px 30px;
  }

  .anniversary-brand__logo {
    width: 220px;
  }

  .anniversary-brand__title {
    margin: 0 0 50px;
  }

  .anniversary-letter__date {
    font-size: 18px;
  }

  .anniversary-brand__title img {
    width: 100%;
  }

  .anniversary-letter {
    padding: 40px 24px;
  }

  .anniversary-letter__body p {
    margin: 0 0 30px;
    font-size: 14px;
  }

  .anniversary-letter__body p:first-child {
    font-size: 16px;
  }

  .anniversary-letter__heading {
    font-size: 16px;
  }

  .anniversary-section-title {
    margin: 0 auto;
    font-size: 20px;
  }

  .anniversary-section-divider {
    margin: 80px 0 40px;
  }

  .anniversary-lead {
    margin: 0 0 30px;
    font-size: 16px;
    text-align: center;
  }

  .anniversary-intro {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 70px;
  }

  .anniversary-intro__photo {
    flex-basis: auto;
  }

  .anniversary-intro__text p {
    font-size: 15px;
  }

  .anniversary-timeline {
    margin-bottom: 70px;
  }

  .anniversary-timeline__head {
    font-size: 14px;
  }

  .anniversary-timeline__body-inner {
    padding: 20px 5px;
  }

  .anniversary-timeline__text {
    font-size: 15px;
  }

  .anniversary-project-photos {
    flex-direction: column;
  }

  .anniversary-project {
    width: 90%;
  }

  .anniversary-project__head {
    flex-direction: column;
  }

  .anniversary-project__num {
    font-size: 70px;
  }

  .anniversary-project__title {
    font-size: 16px;
  }

  .anniversary-project__budget {
    font-size: 12px;
  }

  .anniversary-total {
    padding: 50px 30px 50px;
    font-size: 16px;
  }

  .anniversary-total span {
    font-size: 12px;
  }

  .anniversary-flow .anniversary-flow__tel {
    font-size: 12px;
  }

  .anniversary-cta {
    padding: 10px 22px;
    font-size: 18px;
  }

  .anniversary-cta::after {
    right: 25px;
    width: 15px;
    height: 15px;
  }

  .anniversary-flow {
    margin: 0 0 20px;
  }

  .anniversary-cta-section .anniversary-cta {
    width: 95%;
  }

  .anniversary-credit {
    font-size: 12px;
  }

  .anniversary-cta-section__home {
    width: 80%;
    font-size: 16px;
  }

  body.page-template-page-anniversary-php .section {
    padding-bottom: 10px;
  }

  .anniversary-project__text {
    font-size: 15px;
  }

  .anniversary-table th,
  .anniversary-table td {
    padding: 14px 16px;
    font-size: 14px;
  }

  .anniversary-table th {
    width: 130px;
  }

  .anniversary-cta-section {
    padding: 80px 20px;
  }

  .anniversary-cta-section__badge {
    font-size: 17px;
  }

  .anniversary-cta-section__text {
    font-size: 16px;
  }
}

/* -----------------------------------------------------------
   /en/ ページ: テキストエリア幅調整（350px → 450px）
----------------------------------------------------------- */
.page-id-17 .history-divider,
.page-id-17 .history-intro__body p,
.page-id-17 .history-message__label,
.page-id-17 .history-message__heading,
.page-id-17 .history-message__body p,
.page-id-17 .history-message__credit,
.page-id-17 .history-message__note,
.page-id-17 .history-message__cta,
.page-id-17 .history-block__figure,
.page-id-17 .history-block__body p,
.page-id-17 .history-kamikura__lead,
.page-id-17 .history-kamikura__body p,
.page-id-17 .history-kamikura__info,
.page-id-17 .history-kamikura__notice,
.page-id-17 .history-legacy__lead,
.page-id-17 .history-legacy__body p,
.page-id-17 .history-legacy__cta,
.page-id-17 .history-treasure__lead,
.page-id-17 .history-treasure__body.history-treasure__body--divider,
.page-id-17 .history-treasure__body p,
.page-id-17 .history-treasure__note,
.page-id-17 .history-treasure__cta,
.page-id-17 .history-treasure2__body p {
  max-width: 450px;
}

