@charset "UTF-8";

/* 
 * ===== 和婚サイト CSS - 統合版 =====
 * 
 * 構造:
 * 1. 変数定義 (:root)
 * 2. リセットとベーススタイル
 * 3. 共通レイアウト要素
 * 4. ヘッダー領域要素
 * 5. 目次
 * 6. リード文エリア
 * 7. 結婚式の流れ
 * 8. 料金プラン
 * 9. 申込方法
 * 10. よくある質問
 * 11. ボタンスタイル
 * 12. CTA領域
 * 13. 衣装・フォトギャラリー関連
 * 14. テーブル共通スタイル
 * 15. アニメーション効果
 * 16. ユーティリティクラス
 * 17. 神社仏閣一覧スタイル
 * 18. アクセステーブル
 * 19. レスポンシブ対応
 */

/*  ========== 1. 変数定義 ========== 
 * :root {
 *   /* 基本カラー 
 *   --primary-color: #2E4C8B;      /* 深い藍色 
 *   --secondary-color: #5A7BBD;    /* やや明るい藍色 
 *   --accent-color: #1A2F59;       /* 暗い藍色 
 *   --purple-color: #3D5A8C;       /* 青紫がかった藍色 
 *   --dark-purple: #0F1D3B;        /* 非常に暗い藍色 
 *   --ancient-purple: #4E3B5A;     /* 古代紫 
 *   
 *   /* テキストカラー 
 *   --text-dark: #333;
 *   --text-medium: #666;
 *   --text-light: #999;
 *   
 *   /* 背景色 
 *   --bg-light: #F5F7FB;           /* 非常に薄い藍色 
 *   --bg-white: #fff;
 *   --bg-washi: #F7F5F0;           /* 和紙風の色 
 *   
/*  *   /* ボーダー色 
 *  *   --border-light: #DEE5F2;       /* 薄い藍色のボーダー 
 *  *   
 *  */  /* コンテンツ幅 
 *   --content-width: 1200px;
 *   --content-narrow: 800px;
 *   
 *   /* トランジション 
 *   --transition-normal: all 0.3s ease;
 * }
*/

/* ========== 2. リセットとベーススタイル ========== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Hannari", serif, sans-serif; /* "Hannari"フォントを追加 */
  color: var(--text-dark);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

a {
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--ancient-purple);
}

.content a {
  border-bottom: 1px dotted rgba(78, 59, 90, 0.3);
}

.content a:hover {
  border-bottom-color: var(--ancient-purple);
}

/* ========== 3. 共通レイアウト要素 ========== */
.section-wrapper {
  position: relative;
  width: 100%;
  clear: both;
  overflow: hidden;
}

.section-wrapper:nth-child(odd) {
  background-color: var(--bg-light);
}

.section-inner {
  position: relative;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  z-index: 1;
}

/* ===== 装飾要素 ===== */
.japanese-pattern {
  position: absolute;
  width: 100%;
  height: 30px;
  background-repeat: repeat-x;
  background-size: auto 30px;
  opacity: 0.2;
}

.japanese-pattern.top {
  top: 0;
}

.japanese-pattern.bottom {
  bottom: 0;
}

.decorative-flower {
  position: absolute;
  width: 80px;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.4;
  z-index: 0;
  filter: sepia(0.3) hue-rotate(210deg);
}

.decorative-flower.top-left {
  top: 20px;
  left: 20px;
}

.decorative-flower.top-right {
  top: 20px;
  right: 20px;
  transform: rotate(90deg);
}

.decorative-flower.bottom-left {
  bottom: 20px;
  left: 20px;
  transform: rotate(-90deg);
}

.decorative-flower.bottom-right {
  bottom: 20px;
  right: 20px;
  transform: rotate(180deg);
}

.decoration-icon, .nav-list:before, .nav-list:after {
  color: rgba(125, 83, 44, 0.5); /* 煎茶色 */
}

/* ===== 区切り線スタイル ===== */
.content-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto;
  width: 100%;
  max-width: var(--content-narrow);
}

.divider-line {
  flex-grow: 1;
  height: 3px;
  background: linear-gradient(
    to right, 
    rgba(46, 76, 139, 0), 
    rgba(46, 76, 139, 0.8) 30%,
    rgba(125, 83, 44, 0.2) 50%,
    rgba(46, 76, 139, 0.8) 70%,
    rgba(46, 76, 139, 0)
  );
}

.divider-label {
  padding: 0 15px;
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-color);
  background-color: var(--bg-white);
  position: relative;
  font-family: "Hannari", serif;
  letter-spacing: 0.1em;
}

.divider-label::before, 
.divider-label::after {
  content: "◆";
  color: var(--purple-color);
  margin: 0 8px;
  font-size: 14px;
}

/* プレースホルダー画像 */
.image-placeholder {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #F3F9FF;
  border: 1px dashed #8B968D;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #727171;
  font-style: italic;
  overflow: hidden;
}

.image-placeholder:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(125, 83, 44, 0.2);
  z-index: 1;
}

.image-placeholder:after {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px solid rgba(125, 83, 44, 0.1);
  z-index: 1;
}

/* ===== 共通見出しスタイル ===== */
.section-title {
  font-family: "Hannari", serif;
  font-size: 28px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  letter-spacing: 0.1em;
  font-weight: normal;
  padding-bottom: 15px;
}

.section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, 
    rgba(46, 76, 139, 0), 
    rgba(78, 59, 90, 0.3) 10%,
    rgba(46, 76, 139, 1) 50%,
    rgba(78, 59, 90, 0.3) 90%,
    rgba(46, 76, 139, 0)
  );
  margin: 15px auto 0;
}

.section-subtitle {
  font-family: "Hannari", serif;
  font-size: 18px;
  color: var(--accent-color);
  text-align: center;
  margin: -30px auto 40px;
  letter-spacing: 0.05em;
}

/* セクションタイトルの背景付き装飾 */
.section-title-container {
  position: relative;
  padding: 60px 20px;
  margin-bottom: 40px;
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
}

.section-title-container .section-title {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  color:#fff;
  text-shadow:1px 1px 4px #000;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 10px 25px;
  border-radius: 4px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title-container .section-title:after {
  background: none;
}

/* 各セクションごとの背景画像設定 */
#main .section-title-container {
  background: url('../../images/shrines-img/中尊寺での結婚式_費用と申し込み方法.jpg') no-repeat center center;
  background-size: cover;
}

#wedding .section-title-container {
  background: url('../../images/shrines-img/結婚式セクション.png') no-repeat center center;
  background-size: cover;
}

#faq .section-title-container {
  background: url('../../images/shrines-img/FAQセクション.png') no-repeat center center;
  background-size: cover;
}

/*#about .section-title-container { */
/*  background: url('../../images/shrines-img/神社について.png') no-repeat center center; */
/*  background-size: cover; */
/*} */

#about-aoba .section-title-container {
  background: url('../../images/shrines/aoba.jpg') no-repeat center center;
  background-size: cover;
}#about-atago .section-title-container {
  background: url('../../images/shrines/atago.jpg') no-repeat center center;
  background-size: cover;
}#about-chusonji .section-title-container {
  background: url('../../images/shrines/chusonji.jpg') no-repeat center center;
  background-size: cover;
}#about-dewasanzan .section-title-container {
  background: url('../../images/shrines/dewasanzan.jpg') no-repeat center center;
  background-size: cover;
}#about-miyagikengokoku .section-title-container {
  background: url('../../images/shrines/miyagikengokoku.jpg') no-repeat center center;
  background-size: cover;
}#about-motsuji .section-title-container {
  background: url('../../images/shrines/motsuji.jpg') no-repeat center center;
  background-size: cover;
}#about-osakihatimangu .section-title-container {
  background: url('../../images/shrines/osakihatimangu.jpg') no-repeat center center;
  background-size: cover;
}#about-sendaitoshogu .section-title-container {
  background: url('../../images/shrines/sendaitoshogu.jpg') no-repeat center center;
  background-size: cover;
}#about-shiogama .section-title-container {
  background: url('../../images/shrines/shiogama.jpg') no-repeat center center;
  background-size: cover;
}#about-shounai .section-title-container {
  background: url('../../images/shrines/shounai.jpg') no-repeat center center;
  background-size: cover;
}#about-suwa .section-title-container {
  background: url('../../images/shrines/suwa.jpg') no-repeat center center;
  background-size: cover;
}#about-takekoma .section-title-container {
  background: url('../../images/shrines/takekoma.jpg') no-repeat center center;
  background-size: cover;
}#about-tsutsujigaoka .section-title-container {
  background: url('../../images/shrines/tsutsujigaoka.jpg') no-repeat center center;
  background-size: cover;
}#about-uesugi .section-title-container {
  background: url('../../images/shrines/uesugi.jpg') no-repeat center center;
  background-size: cover;
}#about-yamagatakengokoku .section-title-container {
  background: url('../../images/shrines/yamagatakengokoku.jpg') no-repeat center center;
  background-size: cover;
}#about-zuiganji .section-title-container {
  background: url('../../images/shrines/zuiganji.jpg') no-repeat center center;
  background-size: cover;
}
#access .section-title-container {
  background: url('../../images/shrines-img/アクセスセクション.png') no-repeat center center;
  background-size: cover;
}

/* パンくずリスト */
.breadcrumb-wrapper {
  position: relative;
  width: 90%;
  max-width: var(--content-width);
  clear: both;
  float: none;
  display: block;
  margin: 30px auto 0;
  padding: 8px 0;
  text-align: left;
  background-color: var(--bg-light);
  border-left: 4px solid var(--secondary-color);
  box-sizing: border-box;
  overflow: hidden;
}

.breadcrumb-inner {
  padding: 0 15px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Hannari", serif;
  font-size: 14px;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  margin-right: 5px;
  flex-shrink: 0;
}

.breadcrumb-list li:after {
  content: "›";
  margin: 0 5px;
  color: var(--accent-color);
}

.breadcrumb-list li:last-child:after {
  content: none;
}

.breadcrumb-list li a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-list li a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.breadcrumb-list li:last-child span {
  color: var(--primary-color);
  font-weight: 600;
}

/* スクロールバーのカスタマイズ */
.breadcrumb-inner::-webkit-scrollbar {
  height: 4px;
}

.breadcrumb-inner::-webkit-scrollbar-thumb {
  background-color: rgba(46, 76, 139, 0.3);
  border-radius: 2px;
}

.breadcrumb-inner::-webkit-scrollbar-track {
  background-color: rgba(250, 248, 244, 0.5);
}

/* メインビジュアル */
.main-visual {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.main-visual:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  z-index: 0;
}

/* メインビジュアル画像の背景設定 */
.main-visual-image {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  z-index: 1;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.main-visual-image.chusonji {
  background-image: url(../../images/shrines/chusonji.jpg);
  background-attachment: fixed;
}

.wedding-content.flex-rc .wedding-image img{width:100%; height:auto;}
.about-content.flex-rc .about-image img{width:100%; height:auto;}


.main-visual-title {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  font-family: "Hannari", serif;
  font-size: 32px;
  font-weight: normal;
  color:#fff;
  text-align: center;
  z-index: 5;
  text-shadow:1px 1px 6px #000;
}

.main-visual-subtitle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  font-family: "Hannari", serif;
  font-size: 18px;
  color:#fff;
  text-align: center;
  z-index: 5;
  text-shadow:1px 1px 6px #000;
  letter-spacing: 0.1em;
}

/* 神社ごとの背景画像設定 */
.main-visual-image.motsuji {
  background-image: url(../../images/shrines/motsuji.jpg);
  background-attachment: fixed;
}

.main-visual-image.aoba {
  background-image: url(../../images/shrines/aoba.jpg);
  background-attachment: fixed;
}

.main-visual-image.atago {
  background-image: url(../../images/shrines/atago.jpg);
  background-attachment: fixed;
}

.main-visual-image.miyagikengokoku {
  background-image: url(../../images/shrines/miyagikengokoku.jpg);
  background-attachment: fixed;
}

.main-visual-image.osakihatimangu {
  background-image: url(../../images/shrines/osakihatimangu.jpg);
}

.main-visual-image.sendaitoshogu {
  background-image: url(../../images/shrines/sendaitoshogu.jpg);
  background-attachment: fixed;
}

.main-visual-image.shiogama {
  background-image: url(../../images/shrines/shiogama.jpg);
  background-attachment: fixed;
}

.main-visual-image.takekoma {
  background-image: url(../../images/shrines/takekoma.jpg);
  background-attachment: fixed;
}

.main-visual-image.tsutsujigaoka {
  background-image: url(../../images/shrines/tsutsujigaoka.jpg);
  background-attachment: fixed;
}

.main-visual-image.zuiganji {
  background-image: url(../../images/shrines-img/zuiganji_main.jpg);
  background-attachment: fixed;
}

.main-visual-image.dewasanzan {
  background-image: url(../../images/shrines/dewasanzan.jpg);
  background-attachment: fixed;
}

.main-visual-image.shounai {
  background-image: url(../../images/shrines/shounai.jpg);
  background-attachment: fixed;
}

.main-visual-image.suwa {
  background-image: url(../../images/shrines/suwa.jpg);
  background-attachment: fixed;
}

.main-visual-image.uesugi {
  background-image: url(../../images/shrines/uesugi.jpg);
  background-attachment: fixed;
}

.main-visual-image.yamagatakengokoku {
  background-image: url(../../images/shrines/yamagatakengokoku.jpg);
  background-attachment: fixed;
}

/* ========== 5. 目次 ========== */
.toc-container {
  position: relative;
  width: 90%;
  max-width: var(--content-width);
  margin: 30px auto;
  padding: 20px;
  background-color: #fafaf8;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.toc-inner {
  width: 100%;
  margin: 0 auto;
}

.toc-title {
  font-family: "Hannari", serif;
  font-size: 22px;
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  color: var(--purple-color);
  border-bottom: 2px solid var(--border-light);
  letter-spacing: 0.1em;
}

.toc-list {
  list-style-type: none;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  max-width: none;
}

.toc-list li {
  position: relative;
  padding: 8px 10px 8px 25px;
  margin: 5px 0;
  transition: var(--transition-normal);
}

.toc-list li::before {
  content: "▶";
  position: absolute;
  left: 5px;
  top: 8px;
  font-size: 12px;
  color: var(--dark-purple);
}

.toc-list li a {
  display: block;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.4;
  transition: color 0.3s ease;
  text-align: left;
  word-wrap: break-word;
}

.toc-list li:hover {
  background-color: rgba(154, 134, 187, 0.1);
  border-radius: 3px;
}

.toc-list li:hover a {
  color: var(--purple-color);
}

/* ========== 6. リード文エリア ========== */
#lead {
  padding: 4vw;
  background-color: var(--bg-washi);
  position: relative;
}

/* 和紙風の背景テクスチャを疑似要素で */
#lead:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#D6D2C4 1px, transparent 1px), 
                    radial-gradient(#D6D2C4 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.3;
}

.lead-content {
  position: relative;
  width: 90%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  z-index: 1;
}

/* 和風の二重枠線（疑似要素で） */
.lead-content:before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  border: 1px solid rgba(125, 83, 44, 0.2);
  z-index: 0;
}

.lead-content:after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 0;
}

/* 四隅に和風の装飾（疑似要素で） */
.lead-content .lead-text:first-child:before {
  content: "❖";
  position: absolute;
  top: 10px;
  left: 10px;
  color: var(--primary-color);
  font-size: 24px;
  line-height: 1;
}

.lead-content .lead-text:first-child:after {
  content: "❖";
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--primary-color);
  font-size: 24px;
  line-height: 1;
}

.lead-content .lead-text:last-child:before {
  content: "❖";
  position: absolute;
  bottom:-25px;
  left: 10px;
  color: var(--primary-color);
  font-size: 24px;
  line-height: 1;
}

.lead-content .lead-text:last-child:after {
  content: "❖";
  position: absolute;
  bottom:-25px;
  right: 10px;
  color: var(--primary-color);
  font-size: 24px;
  line-height: 1;
}

.lead-text {
  position: relative;
  font-size: 18px;
  line-height: 2;
  color: var(--text-dark);
  padding: 5px;
  margin-bottom: 15px;
  letter-spacing: normal;
  font-family: "Hannari", serif;
}

.lead-text strong {
  color: var(--primary-color);
  font-weight: normal;
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
  font-family: "Hannari", serif;
}

/* ========== 7. 結婚式の流れ ========== */
.wedding-overview {
  width: 90%;
  max-width: var(--content-width);
  margin: 0 auto 60px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-light);
  position: relative;
}

.wedding-overview:before {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  left: 5px;
  border: 1px solid var(--border-light);
  z-index: -1;
}

.wedding-catch {
  font-family: "Hannari", serif;
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 30px;
  letter-spacing: 0.1em;
  font-weight: normal;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.wedding-catch:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, 
    rgba(46, 76, 139, 0), 
    rgba(46, 76, 139, 1), 
    rgba(46, 76, 139, 0)
  );
}

.wedding-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.wedding-image {
  width: 45%;
  margin-right: 5%;
}

.wedding-text {
  width: 50%;
}

.wedding-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-dark);
}

/* 結婚式の流れ */
.wedding-flow {
  width: 90%;
  max-width: var(--content-width);
  margin: 0 auto 60px;
  position: relative;
}

.flow-title {
  font-family: "Hannari", serif;
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 40px;
  letter-spacing: 0.1em;
  position: relative;
  font-weight: normal;
  text-align: center;
  padding-bottom: 15px;
}

.flow-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, 
    rgba(46, 76, 139, 0), 
    rgba(46, 76, 139, 1), 
    rgba(46, 76, 139, 0)
  );
}

.flow-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  padding-inline-start: 0px;
}



.flow-item {
  display: flex;
  flex-direction: column; /* 横から縦に変更 */
  align-items: center; /* アイテムを水平方向に中央揃え */
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.flow-item:last-child {
  margin-bottom: 0;
}

.flow-step {
  position: relative;
  width: 50px;
  height: 0;
/*  height: 50px; */
/*  background: url('../../images/flower.png') no-repeat center; */
  background-size: contain;
  margin: 0 auto 15px; /* 水平方向に中央揃えし、下に15pxの余白を追加 */
  flex-shrink: 0;
  color: transparent;
  overflow: visible;
}

.flow-item:last-child .flow-step {
/*  background-image: url('../../images/flower02.png'); */
}

.flow-content {
  background-color: rgba(255, 255, 255, 0.8);
  border-left: 3px solid var(--primary-color);
  padding: 15px 20px;
  flex-grow: 1;
  width: 100%; /* 横幅いっぱいに広げる */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
}

.flow-subtitle {
  font-family: "Hannari", serif;
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: normal;
}

.flow-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
}

/* 特徴リスト */
.feature-list {
  width: 90%;
  margin:2% auto 4% auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.feature-item {
  width: 30%;
  background-color: #fff;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

/* アバウトセクション */
.about-content {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.about-image {
  width: 45%;
  margin-right: 5%;
}

.about-text {
  width: 50%;
}

/* ========== 8. 料金プラン ========== */
.price-plan {
  width: 90%;
  max-width: var(--content-width);
  margin: 0 auto 60px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-light);
  position: relative;
}

.price-plan:before {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  left: 5px;
  border: 1px solid var(--border-light);
  z-index: -1;
}

.price-title {
  font-family: "Hannari", serif;
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 30px;
  letter-spacing: 0.1em;
  position: relative;
  font-weight: normal;
  text-align: center;
  padding-bottom: 15px;
}

.price-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, 
    rgba(46, 76, 139, 0), 
    rgba(46, 76, 139, 1), 
    rgba(46, 76, 139, 0)
  );
}

.price-table-wrapper {
  margin-bottom: 30px;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background-color: var(--bg-white);
}

.price-table th, 
.price-table td {
  padding: 15px;
  border: 1px solid var(--border-light);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  background-color: var(--primary-color);
  color: var(--bg-white);
  font-weight: normal;
  font-family: "Hannari", serif;
  text-align: center;
}

.price-table td:first-child {
  font-weight: bold;
  color: var(--accent-color);
  width: 25%;
  background-color: var(--primary-color);
}

.price-table td:last-child {
  text-align: right;
  font-family: "Hannari", serif;
  color: var(--primary-color);
  width: 20%;
}

.price-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-detail-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.price-detail-list li:before {
  content: "\2022";
  position: absolute;
  left: 5px;
  top: 0;
  font-size: 14px;
  color: var(--primary-color);
}

.price-note {
  font-size: 14px;
  color: var(--text-medium);
  margin: 20px 0 30px;
}

.plan-button-wrapper {
  margin-top: 30px;
  text-align: center;
}

/* ========== 9. 申込方法 ========== */
.application-method {
  width: 90%;
  max-width: var(--content-width);
  margin: 0 auto;
  position: relative;
}

.application-title {
  font-family: "Hannari", serif;
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 30px;
  letter-spacing: 0.1em;
  position: relative;
  font-weight: normal;
  text-align: center;
  padding-bottom: 15px;
}

.application-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, 
    rgba(46, 76, 139, 0), 
    rgba(46, 76, 139, 1), 
    rgba(46, 76, 139, 0)
  );
}

.application-content {
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-light);
  position: relative;
}

.application-content:before {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  left: 5px;
  border: 1px solid var(--border-light);
  z-index: -1;
}

.application-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  position: relative;
}



.application-list li {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
  z-index: 1;
}

.application-list li:before {
  content: "";
  position: absolute;
  left: 10px;
  top: 5px;
  width: 40px;
  height: 40px;
  background: url('../../images/flower.png') no-repeat center;
  background-size: contain;
}

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

.application-list li:last-child:before {
  background-image: url('../../images/flower02.png');
}

.application-step {
  font-family: "Hannari", serif;
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: normal;
  position: relative;
  text-align: center;
}

.application-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
}

.application-button-wrapper {
  margin-top: 30px;
  text-align: center;
}
/* モバイル用のメディアクエリ */
@media screen and (max-width: 768px) {
  /* 申込方法リストアイテムを縦方向に変更 */
  .application-list li {
    position: relative;
    padding-left: 0; /* 左のパディングを削除 */
    padding-top: 45px; /* 上部にパディングを追加 */
    margin-bottom: 30px;
    z-index: 1;
    text-align: center; /* テキストを中央揃え */
  }
  
  /* 花アイコンの位置を変更 */
  .application-list li:before {
    content: "";
    position: absolute;
    left: 50%; /* 中央に配置 */
    top: 0; /* 上部に配置 */
    width: 40px;
    height: 40px;
    background: url('../../images/flower.png') no-repeat center;
    background-size: contain;
    transform: translateX(-50%); /* 中央揃えの調整 */
  }
  
  /* 最後のアイテムの花も同様に配置 */
  .application-list li:last-child:before {
    background-image: url('../../images/flower02.png');
    left: 50%;
    top: 0;
  }
  
  /* 縦の接続線を非表示または調整 */
  .application-list:before {
    display: none; /* 縦線を非表示 */
  }
  
  /* 申込ステップのテキスト調整 */
  .application-step {
    text-align: center;
    padding-right: 0; /* モバイル表示では右パディングを削除 */
  }
  
  /* 説明文も中央揃え */
  .application-description {
    text-align: center;
  }
}
/* ========== 10. よくある質問 ========== */
.faq-list {
  width: 90%;
  max-width: var(--content-width);
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  background-color: var(--bg-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  padding: 15px 20px;
  background-color: rgba(46, 76, 139, 0.1);
  cursor: pointer;
  position: relative;
  transition: var(--transition-normal);
}

.faq-question:hover {
  background-color: rgba(46, 76, 139, 0.15);
}

.faq-question p {
  font-family: "Hannari", serif;
  font-size: 16px;
  color: var(--primary-color);
  padding-right: 30px;
  margin: 0;
}

.faq-question:after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--primary-color);
}

.faq-answer {
  padding: 20px;
  border-top: 1px solid var(--border-light);
  /* 初期状態は非表示、JavaScriptで制御 */
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
  margin: 0;
}

/* ========== 11. ボタンスタイル ========== */
.btn_17 {
  display: inline-block;
  min-width: 170px;
  padding: 12px 24px;
  background-color: #c73830;
  color: var(--bg-white);
  text-align: center;
  text-decoration: none;
  font-family: "Hannari", serif;
  font-size: 16px;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-normal);
  letter-spacing: 0.05em;
  border: none;
  box-shadow: 0 2px 10px rgba(78, 59, 90, 0.3);
}

.btn_17:hover {
  background-color: #5F4C6B;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(78, 59, 90, 0.4);
}

/* ========== 12. CTA領域 ========== */
.cta-container {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

.cta-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cta-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.cta-content {
  position: relative;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 50px;
  border: 1px solid var(--border-light);
  text-align: center;
  z-index: 1;
}

.cta-content:before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  border: 1px solid var(--border-light);
  z-index: -1;
}

.cta-headline {
  margin-bottom: 30px;
}

.cta-headline h3 {
  font-family: "Hannari", serif;
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: normal;
  letter-spacing: 0.1em;
}

.cta-message {
  margin-bottom: 30px;
}

.cta-message h2 {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  font-weight: normal;
}

.cta-button {
  margin-bottom: 30px;
}

.cta-button p {
  font-size: 14px;
  color: var(--text-medium);
  margin-top: 10px;
}

.cta-logo {
  margin-top: 20px;
}

.cta-logo img {
  max-width: 200px;
  width: 20%;
}

/* ========== 13. 衣装・フォトギャラリー関連 ========== */
.gallery-tab, 
.costume-tab, 
.location-tab {
  padding: 8px 20px;
  margin: 0 5px 10px;
  background-color: #f5f5f5;
  color: var(--text-dark);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-normal);
  font-size: 14px;
  user-select: none;
}

.gallery-tab.active,
.gallery-tab:hover,
.costume-tab.active, 
.costume-tab:hover, 
.location-tab.active, 
.location-tab:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.gallery-grid,
.costume-grid,
.location-grid {
  display: none;
  flex-wrap: wrap;
  justify-content: space-between;
}

.gallery-grid.active,
.costume-grid.active,
.location-grid.active {
  display: flex;
}

.gallery-item {
  width: 31%;
  margin-bottom: 30px;
  background-color: var(--bg-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.gallery-caption {
  padding: 10px;
  font-size: 14px;
  color: var(--text-dark);
  text-align: center;
}

/* ========== 14. テーブル共通スタイル ========== */
.cost-table th,
.calendar-table th {
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
  color: var(--bg-white);
  font-weight: normal;
  font-family: "Hannari", serif;
  text-align: center;
  letter-spacing: 0.03em;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.cost-table td:first-child,
.calendar-table td:first-child {
  width: 25%;
  background-color: rgba(46, 76, 139, 0.05);
  border-right: 1px solid var(--border-light);
  font-family: "Hannari", serif;
  color: var(--primary-color);
  font-weight: normal;
}

/* アクセス */
.access-content {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.access-map {
  width:100%;
}

.access-info {
  width:100%;
}

.access-subtitle {
  font-family: "Hannari", serif;
  font-size: 18px;
  color: var(--primary-color);
  margin: 20px 0 10px;
  font-weight: normal;
}

.access-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 20px;
}

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

.access-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.access-list li:before {
  content: "•";
  position: absolute;
  left: 5px;
  top: 0;
  color: var(--primary-color);
}

/* Google Mapを囲う要素 */
.google-map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%; /* 比率を4:3に固定 */
}
 
/* Google Mapのiframe */
.google-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ルートガイド */
.route-guide {
  width: 90%;
  max-width: var(--content-width);
  margin: 0 auto;
  background-color: #fff;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ========== 15. アニメーション効果 ========== */
.fade-in {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.5s cubic-bezier(0.16, 0.81, 0.32, 1),
              transform 1.5s cubic-bezier(0.16, 0.81, 0.32, 1);
  will-change: opacity, transform;
  visibility: visible;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.section-title-container.fade-in {
  transform: translateY(20px);
}

.shrine-temple-item.fade-in {
  transform: translateY(80px);
}

.feature-item.fade-in,
.flow-item.fade-in,
.faq-item.fade-in {
  transform: translateY(30px) scale(0.98);
}

.feature-item.fade-in.show,
.flow-item.fade-in.show,
.faq-item.fade-in.show {
  transform: translateY(0) scale(1);
}

/* 項目ごとの異なる遅延設定 */
.shrine-temple-item.fade-in-delay-1 { transition-delay: 0.3s; }
.shrine-temple-item.fade-in-delay-2 { transition-delay: 0.6s; }
.shrine-temple-item.fade-in-delay-3 { transition-delay: 0.9s; }
.shrine-temple-item.fade-in-delay-4 { transition-delay: 1.2s; }
.shrine-temple-item.fade-in-delay-5 { transition-delay: 1.5s; }

/* JavaScript無効時のフォールバック */
.no-js .fade-in {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== 16. ユーティリティクラス ========== */
.center {
  text-align: center;
  padding:0 6vw;
}

.text-center {
  text-align: center !important;
}

/* ========== 17. 神社仏閣一覧スタイル ========== */
.shrine-temple-section {
  padding: 60px 0 80px;
  background-color: #fff;
  font-family: "Hannari", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.prefecture-content {
  margin-bottom: 100px;
}

.prefecture-content:last-child {
  margin-bottom: 0;
}

/* 県ヘッダースタイル */
.prefecture-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.prefecture-label {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--secondary-color);
  display: block;
  margin-bottom: 10px;
  font-family: 'Times New Roman', serif;
  font-weight: normal;
}

.prefecture-title {
  font-family: "Hannari", serif;
  font-size: 32px;
  font-weight: normal;
  color: var(--primary-color);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.title-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0 30px;
}

.decoration-line {
  height: 1px;
  width: 80px;
  background: linear-gradient(to right, rgba(46, 76, 139, 0), rgba(46, 76, 139, 0.8), rgba(46, 76, 139, 0));
  margin: 0 10px;
}

.decoration-icon {
  width: 30px;
  height: 30px;
  background: url('/michinokuwakon.jp/asset/images/flower.png') no-repeat center;
  background-size: contain;
  display: inline-block;
  opacity: 0.8;
}

.prefecture-description {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* 神社仏閣リストスタイル */
.shrine-temple-list {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.shrine-temple-item {
  display: flex;
  margin-bottom: 60px;
  background-color: #fff;
  border-radius: 0;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid #e8e5dd;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
}

.shrine-temple-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.shrine-temple-item:last-child {
  margin-bottom: 0;
}

.shrine-temple-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
}

/* 写真エリアスタイル */
.item-photo {
  width: 40%;
  position: relative;
  overflow: hidden;
}

.item-photo .image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background-color: #f5f5f5;
  background-image: url('/michinokuwakon.jp/asset/images/wakon_bg01.jpg');
  background-size: cover;
  background-position: center;
  transition: all 0.8s ease;
}

.shrine-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s ease;
}

.shrine-temple-item:hover .shrine-photo,
.shrine-temple-item:hover .item-photo .image-placeholder {
  transform: scale(1.05);
}

.item-tags {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.item-tag {
  padding: 5px 12px;
  background-color: rgba(46, 76, 139, 0.85);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

/* 情報エリアスタイル */
.item-info {
  width: 60%;
  padding: 30px 35px;
  display: flex;
  flex-direction: column;
}

.item-title {
  font-family: "Hannari", serif;
  font-size: 24px;
  font-weight: normal;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.item-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background-color: var(--secondary-color);
}

.item-description {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin-bottom: auto;
  padding-bottom: 25px;
}

.item-link {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  text-align: center;
  width: fit-content;
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 2px;
}

.item-link:after {
  content: "→";
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.item-link:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--purple-color));
}

.item-link:hover:after {
  transform: translateX(3px);
}

/* 県ごとのセパレーター */
.prefecture-content:not(:last-child) {
  position: relative;
  padding-bottom: 60px;
}

.prefecture-content:not(:last-child):after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(to right, rgba(46, 76, 139, 0), rgba(46, 76, 139, 0.5), rgba(46, 76, 139, 0));
}

/* 画像コンテナスタイル */
.image-container-g {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.image-container-g img {
  display: block;
  width: 100%;
  height: auto;
}

.caption-g {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  text-align: center;
}

.caption-g a {
  color: #4285F4;
}

/* ========== 18. アクセステーブル ========== */
.access-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0 0 30px;
  overflow: hidden;
  font-family: "Hannari", serif;
  border-radius: 5px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.access-table-row {
  transition: all 0.25s ease;
}

.access-table-row:nth-child(odd) {
  background-color: rgba(46, 76, 139, 0.03);
}

.access-table-row:hover {
  background-color: rgba(46, 76, 139, 0.07);
}

.access-heading {
  width: 160px;
  padding: 15px;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  vertical-align: middle;
  font-weight: normal;
  color: var(--primary-color);
  background: linear-gradient(to right, rgba(46, 76, 139, 0.08), rgba(46, 76, 139, 0.03));
  position: relative;
}

.access-heading:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background: linear-gradient(to bottom, rgba(46, 76, 139, 0), rgba(46, 76, 139, 0.3), rgba(46, 76, 139, 0));
}

.access-data {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.7;
  font-size: 15px;
}

.access-icon {
  display: block;
  text-align: center;
  margin-bottom: 5px;
  color: var(--ancient-purple);
  font-size: 18px;
}

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

.access-list-table li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 8px;
}

.access-list-table li:before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
}

.access-list-table li:last-child {
  margin-bottom: 0;
}

.access-note {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 5px;
  font-style: italic;
}

.time-info, .fee-info {
  line-height: 2;
}

.season, .fee-label {
  display: inline-block;
  background-color: rgba(46, 76, 139, 0.1);
  color: var(--primary-color);
  padding: 1px 8px;
  margin-right: 8px;
  border-radius: 3px;
  font-size: 14px;
}

.fee-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.fee-label {
  margin: 5px 0;
}

.fee-amount {
  display: inline-block;
  padding: 1px 8px;
  margin-right: 15px;
  font-weight: bold;
  color: var(--primary-color);
}

/* 和風の装飾要素 */
.access-table:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  height: 5px;
  background: linear-gradient(to right, rgba(46, 76, 139, 0), rgba(46, 76, 139, 0.3), rgba(46, 76, 139, 0));
}

/* フッター */
.footer {
  background-color: #9E2B25; /* 臙脂色 */
  color: white;
  padding: 40px 0;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

/* デバッグコントロール */
.debug-control {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
}

.debug-control label {
  margin-right: 10px;
  font-weight: bold;
  font-size: 14px;
}

.debug-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.debug-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.debug-toggle span {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 24px;
  transition: .4s;
}

.debug-toggle span:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

.debug-toggle input:checked + span {
  background-color: var(--primary-color);
}

.debug-toggle input:checked + span:before {
  transform: translateX(26px);
}

/* フォームスタイル */
input:focus, textarea:focus, select:focus {
  border-color: var(--ancient-purple);
  box-shadow: 0 0 0 3px rgba(78, 59, 90, 0.2);
}

/* ========== 19. レスポンシブ対応 ========== */
@media screen and (max-width: 991px) {
  .shrine-temple-item {
    margin-bottom: 40px;
  }
  
  .item-photo {
    width: 45%;
  }
  
  .item-info {
    width: 55%;
    padding: 25px 30px;
  }
  
  .item-title {
    font-size: 22px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  
  .item-description {
    font-size: 14px;
    line-height: 1.7;
  }
}

@media screen and (max-width: 768px) {

  /* パンくず */
  .breadcrumb-wrapper {
    margin: 90px auto 0 auto;
    padding: 6px 0;
    width: 95%;
  }
  
  .breadcrumb-list {
    font-size: 12px;
  }
  
  .breadcrumb-list li a {
    font-weight: 600;
  }
  
  .breadcrumb-inner {
    padding: 0 10px;
  }
  
  /* 目次 */
  .toc-container {
    padding: 15px;
    margin: 0 auto;
    width: 95%;
  }
  
  .toc-title {
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .toc-list {
    grid-template-columns: 1fr;
    padding-left:5%;
  }
  
  .toc-list li {
    padding: 6px 10px 6px 25px;
  }
  
  .toc-list li a {
    font-size: 14px;
  }
  
  /* メインビジュアル */
  .main-visual-image {
    height: 100vh;
    width: 100vw;
  }
  
  .main-visual-title {
    position: absolute; /* relativeではなくabsoluteを使用 */
    font-size: 25px;
    text-align: left;
    top: 90vw;
    left: 7vw;
  }
  
  .main-visual-subtitle {
    position: absolute; /* relativeではなくabsoluteを使用 */
    font-size: 15px;
    left: 7.5vw;
    width: 39vw;
    text-align: left;
    top: 100vw;
  }
  
  /* CTA */
  .cta-title-wrapper {
    letter-spacing: 0.5rem;
  }
  
  .cta-headline {
    letter-spacing: 0.3rem;
  }
  
  .cta-logo img {
    width: 50%;
  }
  
  .btn_17 {
    padding: 10px 20px;
    font-size: 14px;
    width: auto;
    margin: auto;
    padding: 1vw;
  }
  
  /* レイアウト */
  .section-wrapper {
    padding: 3vw 0;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  /* 結婚式コンテンツ */
  .lead-content,
  .wedding-overview,
  .price-plan,
  .application-method,
  .faq-list,
  .route-guide {
    width: 95%;
  }
  
  .about-image, 
  .about-text,
  .wedding-image, 
  .wedding-text,
  .access-map,
  .access-info {
    width: 100%;
    margin-right: 0;
  }
  
  .about-image,
  .wedding-image,
  .access-map {
    margin-bottom: 20px;
  }

  .access-content {
    margin: 0%;
  }
  
  /* フロー */
  .flow-step {
    margin:0 auto 20px auto;
  }
  
  .flow-list:before {
    top: 125px;
    left: 25px;
    height: calc(100% - 250px);
    display: none; /* 一旦非表示にする */
  }
  
  
  /* 特徴リスト */
  .feature-list {
    flex-wrap: wrap;
  }
  
  .feature-item,
  .after-item,
  .costume-item,
  .spot-item,
  .hotel-item,
  .onsen-item,
  .reception-item {
    width: 48%;
    margin-bottom: 20px;
  }
  
  .season-item {
    width: 48%;
    margin-bottom: 20px;
  }
  
  .gallery-item {
    width: 48%;
  }
  
  /* 体験談等 */
  .story-item,
  .testimonial-item,
  .highlight-item {
    flex-direction: column;
  }
  
  .story-image,
  .testimonial-image,
  .highlight-image {
    width: 100%;
    min-width: 100%;
    margin-bottom: 15px;
  }
  
  /* アクセス */
  .route-guide {
    width: auto;
  }
  
  .google-map {
    height: 250px;
  }
  
  /* CTA */
  .cta-content {
    padding: 30px 20px;
  }
  
  .cta-headline h3 {
    font-size: 20px;
  }
  
  /* コンテンツ間の空白調整 */
  .content-divider {
    margin: 30px auto;
  }
  
  .divider-label {
    font-size: 16px;
    padding: 0 10px;
  }
  
  .divider-label::before, 
  .divider-label::after {
    margin: 0 4px;
    font-size: 12px;
  }
  
  /* デバッグ */
  .debug-control {
    bottom: 10px;
    right: 10px;
    padding: 8px;
  }
  
  /* アニメーション */
  .fade-in {
    transition-duration: 0.7s;
  }
  
  .shrine-temple-item.fade-in {
    transform: translateY(25px);
  }
  
  /* 神社一覧 */
  .shrine-temple-section {
    padding: 40px 0 60px;
  }
  
  .prefecture-header {
    margin-bottom: 40px;
  }
  
  .prefecture-title {
    font-size: 26px;
    margin-bottom: 15px;
  }
  
  .prefecture-description {
    font-size: 15px;
  }
  
  .shrine-temple-item {
    flex-direction: column;
    margin-bottom: 30px;
  }
  
  .item-photo {
    width: 100%;
  }
  
  .item-photo .image-placeholder {
    min-height: 200px;
  }
  
  .item-info {
    width: 100%;
    padding: 25px;
  }
  
  .item-title {
    font-size: 20px;
  }
  
  /* アクセステーブル */
  .access-heading {
    width: 120px;
    padding: 12px 8px;
  }
  
  .access-data {
    padding: 12px 15px;
  }
  
  .access-icon {
    font-size: 16px;
  }
}

@media screen and (max-width: 576px) {
  .shrine-temple-section {
    padding: 30px 0 50px;
  }
  
  .prefecture-title {
    font-size: 22px;
  }
  
  .decoration-line {
    width: 50px;
  }
  
  .prefecture-description {
    font-size: 14px;
  }
  
  .shrine-temple-list {
    padding: 0 15px;
  }
  
  .item-photo .image-placeholder {
    min-height: 180px;
  }
  
  .item-info {
    padding: 20px;
  }
  
  .item-title {
    font-size: 18px;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  
  .item-description {
    font-size: 13px;
    line-height: 1.6;
    padding-bottom: 20px;
  }
  
  .item-link {
    padding: 8px 20px;
    font-size: 13px;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  /* 共通要素 */
  .section-title {
    font-size: 22px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
  
  /* パンくず・目次 */
  .breadcrumb-wrapper {
    width: 100%;
    margin: 0 auto 0 auto;
  }
  
  .toc-container {
    width: 100%;
    padding: 12px;
  }
  
  /* メインビジュアル */
  .main-visual-image {
    height: 100vh;
    width: 100vw;
  }
  

  
  /* CTA */
  .cta-title-wrapper {
    letter-spacing: 0.3rem;
    margin: 30px auto 20px;
  }
  
  .cta-headline {
    letter-spacing: 0.2rem;
    margin-bottom: 25px;
  }
  
  .cta-container {
    padding: 40px 0;
  }
  
  /* 見出し類 */
  .wedding-catch,
  .flow-title,
  .price-title,
  .application-title,
  .calendar-subtitle,
  .costume-subtitle,
  .gallery-subtitle,
  .stories-subtitle,
  .after-category-title,
  .testimonial-title,
  .highlight-title,
  .area-subtitle {
    font-size: 18px;
  }
  
  /* グリッドアイテム */
  .feature-item,
  .after-item,
  .costume-item,
  .season-item,
  .spot-item,
  .hotel-item,
  .onsen-item,
  .reception-item,
  .gallery-item {
    width: 100%;
  }
  
  /* テーブル */
  .price-table th,
  .price-table td,
  .calendar-table th,
  .calendar-table td,
  .cost-table th,
  .cost-table td {
    padding: 10px;
    font-size: 12px;
  }

  .price-table,
  .cost-table,
  .calendar-table {
    min-width: 500px;
  }
  
  .price-detail-list li,
  .calendar-notes li,
  .package-list li {
    font-size: 12px;
  }
  
  /* 区切り線 */
  .content-divider {
    margin: 20px auto;
  }
  
  .divider-label {
    font-size: 14px;
  }
  
  /* アクセステーブル */
  .access-table {
    display: block;
    border: none;
    box-shadow: none;
  }
  
  .access-table tbody {
    display: block;
  }
  
  .access-table-row {
    display: block;
    margin-bottom: 15px;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  .access-heading {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-light);
    border-radius: 5px 5px 0 0;
  }
  
  .access-heading:after {
    display: none;
  }
  
  .access-data {
    display: block;
    padding: 15px;
    border-bottom: none;
    border-radius: 0 0 5px 5px;
  }
  
  .access-icon {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 0;
  }
  
  .fee-info {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .fee-label {
    margin-right: 10px;
  }
  
  .fee-amount {
    margin-right: 0;
    margin-bottom: 5px;
  }
  
  /* セクションタイトル背景 */
  .section-title-container {
    padding:10%;
  }
  
  .section-title-container .section-title {
    font-size: 20px;
    padding: 6px 15px;
  }
  
  #wedding .section-title-container .section-title,
  #faq .section-title-container .section-title,
  #about .section-title-container .section-title,
  #access .section-title-container .section-title {
    font-size: 20px;
    padding: 11px 15px 0px 15px;
    margin:40% auto;;
  }
  
  #wedding .section-title-container,
  #faq .section-title-container,
  #about .section-title-container,
  #access .section-title-container {
    height: 100vw;
    width: 100%;
  }
  
  /* リード文 */
  .lead-content {
    padding: 25px 20px;
    width: 95%;
  }
  
  .lead-text {
     font-size: 14px;
     line-height: 1.8;
     margin-bottom: 20px;
  }
  .lead-text.center.lead-top{padding-top: 50px;}
  
  .lead-text strong {
    font-size: 18px;
  }
  
  .lead-content:after {
    bottom: 60px;
    width: 80%;
  }
  
  /* モバイル用最適化 */
  p {
    font-size: 15px;
    line-height: 1.8;
    padding:6%;
  }
  
  /* iOS Safari対応 */
  @supports (-webkit-touch-callout: none) {
    .main-visual-image {
      height: -webkit-fill-available;
    }
    
    .fade-in {
      -webkit-transform: translateZ(0);
    }
  }
}

/* IMPORTANT: 幅を統一するためのスタイル */
.breadcrumb-wrapper,
.toc-container,
.lead-content,
.wedding-overview,
.wedding-flow,
.price-plan,
.application-method,
.faq-list,
.route-guide {
  width:100%;
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 768px) {
  .breadcrumb-wrapper,
  .toc-container,
  .lead-content,
  .wedding-overview,
  .wedding-flow,
  .price-plan,
  .application-method,
  .faq-list,
  .route-guide {
    width: 95%;
  }
}

@media screen and (max-width: 480px) {
  .breadcrumb-wrapper,
  .toc-container,
  .lead-content,
  .wedding-overview,
  .wedding-flow,
  .price-plan,
  .application-method,
  .faq-list,
  .route-guide {
    width: 100%;
  }
  .main-visual {
    position: relative; /* 子要素のposition: absoluteの基準点とする */
  }
  .main-visual-title {
    position: absolute; /* relativeではなくabsoluteを使用 */
    font-size: 25px;
    text-align: left;
    top: 118vw;
    left: 7vw;
  }
  .main-visual-subtitle {
    position: absolute; /* relativeではなくabsoluteを使用 */
    font-size: 15px;
    left: 1.5vw;
    width: 55vw;
    text-align: left;
    top: 126vw;
  }
  .lead-content .lead-text:last-child:after {
    bottom: -50px;
  }
  .lead-content .lead-text:last-child:before {
    bottom: -50px;
  }
}

@media screen and (min-width: 769px) {
  .header.scrolled {
    justify-content: left;
    height: 5vw;
  }
  .header.header{
    justify-content: left;
    height: 5vw;
  }
  .application-step {
    padding-right: 3.5vw;
  }
  .main-visual-subtitle {
    font-size: 20px;
  }
  .main-visual-title {
    top: 40%;
  }
}

.fade-in.show {
 /*   padding-bottom: 50px; */
}

.wedding-catch{font-size: 17px;}

/* .header.scrolled img {background-color: transparent;} */
/* .header.header img {background-color: rgba(255, 255, 255, 0.5);} */

.section-inner.fade-in {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.info-content{
    width: 100%;
    padding: 30px 20px;
    border-radius: 5px;
    max-width: var(--content-width);
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.lead-content.fade-in.show{padding-bottom:70px;}
.about-content.flex-rc .about-image img {
  width: 100%;
  height: auto;
  max-width: 100%; /* 最大幅を明示的に制限 */
  object-fit: contain; /* 画像が親要素からはみ出ないように */
}
/* 特定のセクションID名を指定して強制表示 */
/* #shrine-temple-list .fade-in { */
/*   opacity: 1 !important; */
/*   transform: translateY(0) !important; */
/* } */
/* 携帯実機で見た際に画像が拡大表示されてるのを防ぐcss */
/* モバイルデバイス向けの背景固定問題の解決策 */
@media screen and (max-width: 768px) {
  .main-visual-image.chusonji,
  .main-visual-image.motsuji,
  .main-visual-image.aoba,
  .main-visual-image.atago,
  .main-visual-image.miyagikengokoku,
  .main-visual-image.sendaitoshogu,
  .main-visual-image.shiogama,
  .main-visual-image.takekoma,
  .main-visual-image.tsutsujigaoka,
  .main-visual-image.zuiganji,
  .main-visual-image.dewasanzan,
  .main-visual-image.shounai,
  .main-visual-image.suwa,
  .main-visual-image.uesugi,
  .main-visual-image.yamagatakengokoku {
    /* スクロールに変更するが、パフォーマンス最適化を追加 */
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    transform: translateZ(0); /* ハードウェアアクセラレーションを強制 */
    will-change: transform; /* ブラウザにアニメーションの最適化を促す */
    -webkit-backface-visibility: hidden; /* iOSでのちらつき防止 */
  }
}