/* ===================================
   ご祈願ページ専用スタイル（葬儀ページ完全共通）
   =================================== */

   body#page_kigon {
    font-size: 16px;
    line-height: 2.0;
    color: #333333;
    background-color: #fff;
  }


  /* ===== ヒーロー(sticky方式パララックス:スマホ対応) ===== */
.kigon-safe-hero {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1;
    height: 60vh;
    height: 60svh;            /* スマホのアドレスバー変動に強い単位 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  
    background-color: #222222;
    background-image: url('images/kigon-hero.webp');
    background-position: center 10%;
    background-size: cover;
    background-repeat: no-repeat;
  
    color: #ffffff;
    text-align: center;
  }
  
  .kigon-safe-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
  }
  
  .kigon-safe-hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
  }
  
  .kigon-safe-hero-content h1 {
    font-size: clamp(22px, 4vw, 38px);
    letter-spacing: .2em;
    line-height: 1.5;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin: 0 0 10px;
  }
  
  .kigon-safe-hero-content .subpage-en {
    display: block;
    color: #f7e2b8;
    letter-spacing: .3em;
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  /* 本文:ヒーローの上に重なる白い面 */
  .sub-main-wrapper {
    position: relative;
    z-index: 2;
    background: #ffffff;
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.15);
  }
  
  /* パンくずリスト */
  .breadcrumb-area {
    background: #f7f5ef;
    border-bottom: 1px solid #e0dcd3;
    padding: 12px 20px;
    font-size: 13px;
    color: #666666;
  }
  
  .breadcrumb-inner {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .breadcrumb-inner a {
    color: #666666;
    text-decoration: none;
  }
  
  .breadcrumb-inner a:hover {
    color: #c5a059;
  }
  
  /* 導入ブロック */
  .kigon-intro {
    text-align: center;
    padding: 60px 20px 40px;
    max-width: 850px;
    margin: 0 auto;
  }
  
  .kigon-intro h2 {
    font-size: 24px;
    line-height: 1.7;
    color: #302d26;
    margin: 15px 0 20px;
  }
  
  .kigon-intro p {
    font-size: 15px;
    line-height: 2;
    color: #555555;
  }
  
  /* 各種ご祈願グリッドカード */
  .kigon-items-section {
    background: #fcfbf9;
    padding: 70px 20px;
    text-align: center;
  }
  
  .kigon-lead-text {
    text-align: center;
    color: #666666;
    margin-bottom: 40px;
    font-size: 15px;
  }
  
  .kigon-grid {
    max-width: 1050px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    text-align: left;
  }
  
  .kigon-card {
    background: #ffffff;
    border: 1px solid #e0dcd3;
    padding: 28px 22px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  }
  
  .kigon-icon {
    display: inline;
    color: #c5a059;
    font-size: 18px;
    margin-right: 4px;
  }
  
  .kigon-card h3 {
    font-size: 21px;
    color: #302d26;
    margin-bottom: 12px;
    letter-spacing: .08em;
    border-bottom: 1px dashed #e0dcd3;
    padding-bottom: 10px;
  }
  
  .kigon-card p {
    font-size: 13.5px;
    line-height: 1.8;
    color: #666666;
    margin: 0;
  }
  
  /* 出張法要セクション */
  .on-site-section {
    max-width: 1050px;
    margin: 0 auto;
    padding: 80px 20px;
  }
  
  .on-site-banner {
    background: #f4efe4;
    border: 1px solid #dcd3be;
    padding: 20px 25px;
    text-align: center;
    margin-bottom: 45px;
    border-radius: 4px;
  }
  
  .area-badge {
    display: inline-block;
    background: #c5a059;
    color: #ffffff;
    font-size: 12px;
    padding: 3px 12px;
    letter-spacing: .15em;
    margin-bottom: 8px;
    border-radius: 2px;
  }
  
  .on-site-banner p {
    margin: 0;
    font-size: 15px;
    color: #302d26;
    line-height: 1.7;
  }
  
  .on-site-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
  }
  
  .on-site-card {
    background: #ffffff;
    border: 1px solid #e0dcd3;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  }
  
  .on-site-header {
    background: #302d26;
    color: #ffffff;
    padding: 18px 25px;
  }
  
  .on-site-header h3 {
    margin: 0;
    font-size: 20px;
    letter-spacing: .1em;
  }
  
  .on-site-header small {
    font-size: 12px;
    opacity: 0.8;
    margin-left: 6px;
    font-weight: normal;
  }
  
  .on-site-body {
    padding: 25px;
  }
  
  .on-site-body p {
    font-size: 14.5px;
    line-height: 1.9;
    color: #555555;
    margin: 0 0 15px;
  }
  
  .oharai-list {
    padding-left: 20px;
    margin: 0;
    color: #444444;
    font-size: 14px;
    line-height: 2;
  }
  
  .other-ceremony-box {
    background: #fafaf8;
    border: 1px solid #e0dcd3;
    padding: 35px 30px;
    border-radius: 4px;
  }
  
  .other-ceremony-box h3 {
    font-size: 20px;
    text-align: center;
    color: #302d26;
    margin-bottom: 30px;
    letter-spacing: .1em;
  }
  
  .other-ceremony-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .other-item h4 {
    font-size: 16px;
    color: #c5a059;
    margin-bottom: 6px;
    letter-spacing: .05em;
  }
  
  .other-item p {
    font-size: 13.5px;
    color: #666666;
    margin: 0;
    line-height: 1.7;
  }
  
  .other-notes {
    margin-top: 25px;
    text-align: center;
    font-size: 13px;
    color: #777777;
    border-top: 1px dashed #e0dcd3;
    padding-top: 15px;
  }
  
  /* CTAエリア */
  .cta-section {
    background: #f7f5ef;
    padding: 60px 20px;
  }
  
  .cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }
  
  .cta-box h2 {
    font-size: 24px;
    color: #302d26;
    margin-bottom: 15px;
  }
  
  .cta-box p {
    font-size: 14.5px;
    color: #666666;
    margin-bottom: 30px;
    line-height: 1.8;
  }
  
  .cta-btn-wrap {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .cta-tel-btn {
    background: #302d26;
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 4px;
    font-size: 18px;
    text-decoration: none;
  }
  
  .cta-contact-btn {
    background: #c5a059;
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 4px;
    font-size: 16px;
    text-decoration: none;
  }
  
  /* 見出し中央揃え */
  .kigon-items-section .section-title,
  .on-site-section .section-title {
    display: block !important;
    text-align: center !important;
  }

  /* スマホ対応 */
  @media (max-width: 760px) {
    .kigon-safe-hero {
      height: 45vh;
      height: 45svh;
    }
    .kigon-safe-hero-content h1 {
      letter-spacing: .1em;
    }
    .kigon-grid,
    .on-site-grid,
    .other-ceremony-grid {
      grid-template-columns: 1fr;
    }
    .other-ceremony-box {
      padding: 25px 18px;
    }
  }

/* ヘッダーを全画面幅で固定（ハンバーガーが流れないように） */
body#page_kigon header.header {
  position: fixed;
  background: rgba(15, 15, 15, 0.85);
}

/* 文章のエリアだけ強制的に左揃えにする */
.sp-intro p,
.kigon-intro p {
  text-align: left !important;
}
