@charset "UTF-8";

/* =========================================
   変数・リセット・基本設定
   ========================================= */
:root {
    --color-main: #003366;    /* 濃紺 */
	--color-beige: #917846;    /* ベージュ */
    --color-gold: #c4a770;    /* 金色（落ち着いたトーン） */
    --color-text: #333333;    /* 本文色 */
    --color-bg-light: #f3f2ed; /* 和紙のような生成り */
    --color-white: #ffffff;
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
}

/* デバイス別改行コントロール ★追加 */
.pc-br { display: block; } /* PCで表示（改行する） */
.sp-br { display: none; }  /* PCで非表示（改ig行しない） */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-serif);
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    letter-spacing: 1.2px;
    line-height: 1.2;
    /* 固定ヘッダー分の余白（PCサイズ）を追加 */
    padding-top: 150px; 
}

@media (max-width: 768px) {
	body {padding-top: 92px; }
}


a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

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

li { list-style: none; }

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

.section-padding { padding: 60px 0; }
.bg-texture { background-color: var(--color-bg-light); }
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }
.wd-300 {width: 300px;}

/* 見出しスタイル */
.section-title {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    color: var(--color-main);
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.1em;
}

.mincho-title-lg {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--color-beige);
    line-height: 1.4;
    margin-bottom: 30px;
}

/* =================Header（固定・スムーズアニメーション）================= */
body.admin-bar {
    .header{
        top:32px;
    }
}
.header {
    background: var(--color-white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* 動きを滑らかにする設定 */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s;
    will-change: transform;
}

/* スクロール時にヘッダーに影をつける */
.header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* --- PC版のスクロール挙動 --- */
@media (min-width: 768px) {
    /* スクロール時にロゴエリアの高さ分だけ上にずらす。 */
    .header.scrolled {
        /* ★修正：テキスト追加で高さが増えたため -105px〜-110px に調整します */
        transform: translateY(-108px); 
    }
    
    .header.scrolled .header-inner {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
}

/* --- スマホ版のスクロール挙動 --- */
@media (max-width: 767px) {
    /* スマホでは全体をスライドさせず、位置は固定のまま */
    .header.scrolled {
        transform: none;
    }
    
    /* ロゴ画像を滑らかに縮小させる */
    .header.scrolled .header-inner .logo img {
        width: 160px; /* 通常200px前後から160pxへ */
        transition: width 0.4s ease;
    }
    
    /* キャッチコピーを小さくする */
    .header.scrolled .header-inner .logo span {
        font-size: 0.7rem;
        transition: font-size 0.4s ease;
    }

    .header.scrolled .header-inner {
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 5% 6px; /* ★変更 */
    max-width: 1200px;
    margin: 0 auto;
}

.header-inner .logo span {
	display: block;
    font-size: 1rem; /* ★変更 */
    text-align: center;
    line-height: 1.6;
    padding-left: 10px; /* ★変更 */
	font-weight: bold;
}

.header-inner .logo img {
    width: 230px; /* ★変更 */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-contact {
    display: none; /* SPでは非表示 */
}

.tel-time {
    font-size: 1.1rem;
    color: var(--color-text);
	font-weight: bold;
	text-align: left;
	padding-left: 46px;
}

.tel-number {
    font-size: 2.8rem;
    font-family: var(--font-serif);
    font-weight: bold;
    color: var(--color-text);
    line-height: 1.1;
	margin-top: 20px;
}

.btn-header {
    background-image: linear-gradient(0deg, #976f19, #a98e59);
    color: var(--color-white);
    padding: 18px 25px;
    border-radius: 6px;
    font-size: 1.3rem;
    font-weight: bold;
    display: none; /* SPでは非表示 */
}

/* スマホでは非表示 */
.header-btn-area {
    display: none; 
}

/* ボタン上のテキストのデザイン */
.btn-header-lead {
    font-size: 1rem;
    font-weight: bold;
    color: #6f5a2e;
    text-align: center;
    margin-bottom: 5px; /* ボタンとの隙間 */
    letter-spacing: 0.05em;
}

/* ナビゲーション */
.global-nav {
    background-color: var(--color-main);
    display: none; /* SPではハンバーガー開閉 */
}

.global-nav ul {
    display: flex;
    justify-content: center;
    max-width: 1080px;
    margin: 0 auto;
	justify-content:space-around;
}

.global-nav li {
}

.global-nav a {
    display: block;
    color: var(--color-white);
    padding: 24px 1.5vw; /* ★変更 */
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

/* 電話番号エリアの調整 */
.tel-number {
    font-size: 2.8rem;
    font-family: var(--font-serif);
    font-weight: bold;
    color: var(--color-text);
    line-height: 1.1;
    /* アイコンとテキストを横並びにする設定を追加 */
    display: flex;
    align-items: center;
    gap: 8px; /* アイコンと番号の間の余白 */
}

/* 電話アイコンのサイズ調整 */
.tel-icon {
    width: 35px;
    height: auto;
    padding-top: 6px;
}

/* =========================================
   スマホメニュー（ハンバーガー展開時）の刷新
   ========================================= */
@media (max-width: 767px) {
    /* メニュー全体の背景と位置 */
    .global-nav {
        display: block !important; /* JSでの制御用に基本はblock */
        position: fixed;
        top: 0;
        right: -100%; /* 初期状態は画面外 */
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98); /* わずかに透ける白 */
        z-index: 150;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding-top: 60px; /* ロゴと被らないよう調整 */
    }

    /* メニューがアクティブな時 */
    .global-nav.active {
        right: 0;
    }

    .global-nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
    }

    .global-nav li {
        width: 80%;
        border-bottom: 1px solid #eee;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s;
    }

    /* メニュー展開時にふわっと表示させるアニメーション */
    .global-nav.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* 順番に遅れて表示 */
    .global-nav.active li:nth-child(1) { transition-delay: 0.1s; }
    .global-nav.active li:nth-child(2) { transition-delay: 0.15s; }
    .global-nav.active li:nth-child(3) { transition-delay: 0.2s; }
    .global-nav.active li:nth-child(4) { transition-delay: 0.25s; }
    .global-nav.active li:nth-child(5) { transition-delay: 0.3s; }
    .global-nav.active li:nth-child(6) { transition-delay: 0.35s; }
    .global-nav.active li:nth-child(7) { transition-delay: 0.4s; }

    .global-nav a {
        color: var(--color-main);
        font-family: var(--font-serif);
        font-size: 1.2rem;
        font-weight: 600;
        padding: 18px 0;
        text-align: center;
        letter-spacing: 0.15em;
        position: relative;
    }

    /* メニュー内の装飾アイコン（お寺らしいあしらい） */
    .global-nav a::before {
        content: "";
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 1px;
        background: var(--color-gold);
        opacity: 0.5;
    }

    /* ハンバーガーボタンの重なり順を最前面に */
    .mobile-menu-btn {
        z-index: 200;
    }
}

/* レスポンシブ時の調整（必要に応じて） */
@media (max-width: 768px) {
    .tel-icon {
        width: 20px; /* スマホ表示でアイコンを少し小さくする場合 */
    }
}

/* =========================================
   メインビジュアル
   ========================================= */
.hero {
    position: relative;
    width: 100%;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 縦書きテキスト */
.hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    text-shadow: 0 0 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: row-reverse; /* 縦書きの並び順調整 */
    gap: 20px;
}

.hero-slogan-img {
    width: 400px; /* スローガン画像の幅（適宜調整してください） */
    max-width: 80vw; /* スマホで見切れないよう調整 */
    height: auto;
}

.hero-slogan-img img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.3)); /* 文字を読みやすくする影 */
}

/* スマホ表示の調整 */
@media (max-width: 768px) {
    .hero-slogan-img {
        width: 280px; /* スマホでは少し小さく表示 */
    }
}

.vertical-text {
    writing-mode: vertical-rl;
    font-family: var(--font-serif);
    font-size: 2.6rem;
    letter-spacing: 0.3em;
    line-height: 2.5;
}

.vertical-text span {
	font-size: 5.3rem;
	line-height: 1.5;
    letter-spacing: 30px;
}

.hero-sub-vertical {
    writing-mode: vertical-rl;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    letter-spacing: 0.3em;
    margin-right: 20px;
}


/* =========================================
   お知らせ
   ========================================= */
.news-ticker {
    background: #f0f0f0;
    padding: 30px 0;
    font-size: 1rem;
}

/* =========================================
   コンセプト
   ========================================= */
.concept-section {
	position: relative;
    width: 100%;
	height: 600px;
    overflow: hidden;
}
.concept_bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.concept-section .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.concept-section .mincho-title-lg {
    margin-bottom: 50px;
}

.concept-logo-area {
    margin-bottom: 20px;
}

.concept-text {
    font-size: 1.4rem;
    line-height: 2;
    font-weight: 600;
	margin-bottom: 20px;
}

.news-ticker .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.news-ticker .label {
    background: var(--primary-color);
    padding: 2px 10px;
    font-size: 1.4rem;
}

.ticker-list {
    flex: 1;
    display: flex;
    gap: 20px;
	font-size: 1.2rem;
}

.ticker-list time {
    color: #666;
    margin-right: 10px;
	font-size: 1rem;
}


.btn-outline-beige {
    display: inline-block;
    border: 1px solid var(--color-beige);
    color: var(--color-beige);
    padding: 12px 50px 14px;
    border-radius: 30px;
    font-weight: bold;
    position: relative;
    background-color: var(--color-white);
    font-size: 1.2rem;
}

.btn-outline-beige::after {
    content: '>';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}


.btn-outline-blue {
    display: inline-block;
    border: 1px solid var(--color-main);
    color: var(--color-main);
    padding: 12px 50px;
    border-radius: 30px;
    font-weight: bold;
    position: relative;
}

.btn-outline-blue::after {
    content: '>';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* =========================================
   特長セクション
   ========================================= */

.features-section .section-title span {
	font-size: 200%;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-item {
    position: relative;
}

.feature-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    background-color: var(--color-main);
    color: var(--color-white);
    padding: 6px 20px 12px;
    font-weight: bold;
    font-size: 1.4rem;
    z-index: 2;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.feature-badge .num {
    font-size: 2rem;
    margin-left: 5px;
	display: inline-block; /* インライン要素に必要 */
  transform: translateY(1px); /* 下に2pxずらす */
}

.feature-content {
    background: var(--color-white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.feature-img {
    width: 100%;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-desc {
    padding: 25px 25px;
    width: 100%;
}

.feature-desc h4 {
    color: var(--color-beige);
    font-size: 1.6rem;
    margin-bottom: 15px;
    line-height: 1.3;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.feature-desc p {
    font-size: 1rem;
    line-height: 1.5;
    font-family: var(--font-sans);
}

/* =========================================
   供養タイプ（カード）
   ========================================= */
.cards-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}

.type-card {
    background: var(--color-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
}

.type-card .btn-more{
	margin: 20px auto 0;
	display: block;
    width: 90%;
	text-align: center;
}

.card-head {
    background-color: var(--color-main);
    color: var(--color-white);
    text-align: center;
    padding: 20px 10px;
    font-size: 1.8rem;
    font-family: var(--font-serif);
    letter-spacing: 0.1em;
	border-radius: 10px 10px 0 0;
}

.card-body {
    padding: 20px;
}

.card-body p {
	font-size: 1rem;
    line-height: 1.5;
    font-family: var(--font-sans);
}

.link-detail {
    display: inline-block;
    color: var(--color-beige);
    font-weight: bold;
    margin-top: 17px;
    border-bottom: 1px solid currentColor;
    font-size: 1.4rem;
}

.link-detail::after {
    content: ' >';
}

/* =========================================
   相談
   ========================================= */
.leave-box {
    background-image: linear-gradient(0deg, #ebe7de, #fffdfa);
    display: flex;
    flex-direction: column;
}

.leave-body {
    padding: 30px;
}

.leave-head {
	    background-color: var(--color-main);
}

.leave-txt h3 {
    font-size: 1.6rem;
    padding: 20px;
    text-align: center;
	color: var(--color-white);
}

.leave-txt p {
	font-size: 1rem;
    line-height: 1.5;
    font-family: var(--font-sans);
	margin-bottom: 20px;
}


.btn-gold {
    display: inline-block;
    background-color: var(--color-gold);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* =========================================
   トピックス
   ========================================= */

/* 基本設定 */
.topics {
  background-color: #f7f3ee; /* 背景の薄いベージュ */
  padding: 60px 20px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

/* グリッドレイアウト */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* カードスタイル */
.topic-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.topic-card .card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.topic-card .card-content {
  padding: 20px;
  flex-grow: 1;
}

.topic-card .card-title {
  color: #1a4472;
  font-size: 1.1rem;
  margin: 0 0 5px 0;
  line-height: 1.4;
}

.topic-card .card-date {
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 5px;
  font-weight: bold;
}

.topic-card .card-text {
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: #555;
  line-height: 1.6;
  /* 3行以上は省略する場合（オプション） */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ボタン（最新情報一覧） */
.topics-footer {
  text-align: center;
}

.btn-more {
  display: inline-block;
  padding: 15px;
  border: 1px solid #8e7b54; /* 茶系のボーダー */
  background-color: #fff;
  color: #8e7b54;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
	    width: 80%;
    max-width: 400px;
}

.btn-more:hover {
  background-color: #8e7b54;
  color: #fff;
}

/* レスポンシブ調整 */
@media (max-width: 600px) {
  .topics-grid {
    grid-template-columns: 1fr;
  }
	.card-head {
    padding: 16px 10px;
    font-size: 1.4rem;
	}
}
/* =========================================
   ニュース・コラム
   ========================================= */
.columns-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid #ddd;
    color: var(--color-text);
	font-size: 1.2rem;
}

.columns-row time {
    font-family: var(--font-serif);
    margin-right: 15px;
    font-weight: bold;
}

.cat-label {
    background: var(--color-beige);
    color: var(--color-white);
    font-size: 1rem;
    padding: 6px 10px;
    margin-right: 15px;
}

.link-arrow {
    color: var(--color-main);
    font-weight: bold;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

/* =========================================
   アクセス
   ========================================= */
.access-header { margin-bottom: 40px; }
.access-lead { 
	color: var(--color-beige);
    font-size: 1.6rem;
	font-weight: bold;
    line-height: 1.3; 
	margin-top: -20px;
}

.access-mode-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    background-color: var(--color-main);
    color: var(--color-white);
    padding: 10px 20px;
    text-align: center;
}

    .access-container {
        margin-top: 40px;
    }

.access-map {
		margin-top: 40px;
	}
	
	.access-map p {
		font-size: 1.4rem;
		font-weight: bold;
		text-align: center;
		margin-top: 20px;
	}

.station-list li {
	font-size: 1.2rem;
    margin-bottom: 10px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 10px;
}

.station-name {
    font-weight: bold;
    display: inline-block;
    width: 140px;
}

.parking {
	font-weight: bold;
}

.parking-caption {
	font-size: 0.9rem;
    font-family: var(--font-sans);
}

.small-note { font-size: 0.85rem; color: #666; font-family: var(--font-sans); line-height: 1.4; }
.small-note2 { font-size: 1rem; color: #666; font-family: var(--font-sans); line-height: 1.6; }
.address-text { margin-top: 10px; font-weight: bold; }

/* =========================================
   CVエリア（フッター上）
   ========================================= */
.cta-section {
    background-color: #dcc898; /* ゴールドベージュ */
    padding: 60px 0;
    text-align: center;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--color-text);
	font-weight: 600;
}

.cta-body {
    background: var(--color-white);
    padding: 40px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	border: 10px solid #e5d9ba;
}

.cta-time {
	font-size: 1.2rem;
}

.cta-tel {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--color-main);
    font-weight: 600;
    line-height: 1.2;
    margin-top: 4px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
	font-size: 1.4rem;
}

.btn-cta {
    width: 300px;
    padding: 15px 0;
    text-align: center;
    font-weight: bold;
    border-radius: 4px;
    border: 2px solid transparent;
}

.btn-cta.btn-blue {
    background-color: var(--color-beige);
    color: var(--color-white);
}

.btn-cta.btn-white {
    background-color: var(--color-white);
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* CTAエリアの電話番号とアイコンの調整 */
.cta-tel {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--color-main);
    font-weight: 600;
    line-height: 1.2;
    margin-top: 4px;
    /* 横並び設定 */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* アイコンと数字の間の距離 */
}

/* CTA専用のアイコンスタイル */
.cta-tel-icon {
    width: 40px;
    height: auto;
    padding-top: 6px;
}

/* スマホ表示の調整 */
@media (max-width: 768px) {
    .cta-tel {
        font-size: 2rem;
    }
    .cta-tel-icon {
        width: 32px; /* スマホでも視認しやすいサイズに調整 */
    }
}
/* =========================================
   フッター
   ========================================= */
.footer {
    /* 画像に基づいたゴールド・真鍮系の背景色 */
    background-color: #b1a06d; 
    padding: 60px 0 20px;
    color: #fff;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

/* 左側：ロゴエリア */
.footer-left {
    flex: 0 0 35%; /* ロゴエリアの幅を確保 */
}

.footer-logo {
    display: block;
    width: 280px; /* 画像の比率に合わせて調整 */
    height: auto;
    margin-bottom: 20px;
}

.footer-address {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.05em;
}

/* 右側：ナビゲーションエリア（縦線を含む） */
.footer-nav {
    flex: 1;
    display: flex;
    justify-content: space-between;
    padding-left: 60px; /* 線とテキストの間の余白 */
    border-left: 1px solid rgba(255, 255, 255, 0.6); /* 中央の白い仕切り線 */
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.7;
}

/* コピーライト */
.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}



/* =========================================
   レスポンシブ (PC: 768px以上)
   ========================================= */
@media (min-width: 768px) {
    /* ヘッダー */
    .header-contact, .btn-header, .header-btn-area { display: block; }
    #mobileMenuBtn { display: none; }
    .global-nav { display: block !important; }

    /* 特長（画像左・テキスト右） */
    .feature-content {
        flex-direction: row;
        align-items: stretch;
    }
    .feature-img { width: 60%; }
    .feature-desc { width: 60%; }

    /* カードグリッド */
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .columns-grid { grid-template-columns: repeat(3, 1fr); }

    /* 相談（画像左・テキスト右） */
	.leave-box {
        flex-direction: row;
        align-items: stretch;
    }
	
    .leave-box { flexDirection: row; }
    .leave-img { width: 40%; }
    .leave-img img { height: 100%; object-fit: cover; }
    .leave-txt { width: 60%; }

    /* アクセス */
    .access-container {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }
    .access-details { width: 40%; }
    .access-map-area { width: 60%; }
}

@media (min-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ハンバーガーボタン（SPのみ） */
.mobile-menu-btn {
    width: 30px;
    height: 24px;
    position: relative;
    background: none;

    border: none;
    cursor: pointer;
    z-index: 200;
}
.mobile-menu-btn span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-main);
    left: 0;
    transition: 0.3s;
}
.mobile-menu-btn span:nth-of-type(1) { top: 0; }
.mobile-menu-btn span:nth-of-type(2) { top: 11px; }
.mobile-menu-btn span:nth-of-type(3) { bottom: 0; }
.mobile-menu-btn.active span:nth-of-type(1) { transform: rotate(45deg); top: 11px; }
.mobile-menu-btn.active span:nth-of-type(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-of-type(3) { transform: rotate(-45deg); bottom: 11px; }


/* 下層ページ用簡易スタイル */
        .page-header {
            background-color: var(--color-bg-light);
            padding: 60px 0;
            text-align: center;
        }
        .page-title {
            font-family: var(--font-serif);
            font-size: 2.2rem;
            color: var(--color-main);
            letter-spacing: 0.1em;
        }
        .breadcrumb {
            margin-top: 15px;
            font-size: 0.9rem;
            color: #666;
        }
        
        /* このページ専用のグリッド調整（2列固定） */
        /* PCサイズ以上でも3列にならず2列を維持する設定 */
        @media (min-width: 1024px) {
            .type-detail-section .cards-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        /* ページ内リンクで遷移した際にヘッダー被りを防ぐ調整 */
        .type-card {
            scroll-margin-top: 120px;
        }

/* =========================================
   納骨堂（noukotsudou）詳細ページ専用
   ========================================= */

.section-padding-sm { padding: 0 0 60px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-40 { margin-bottom: 40px; }
.pt-10 {padding-top: 10px;}
.pt-20 {padding-top: 20px;}

.page-sub-title {
    font-family: var(--font-serif);
    color: var(--color-beige);
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-align: center;
}

/* タイトルバー（青背景） */
.type-title-bar { background-color: var(--color-main); color: #fff; padding: 20px 0; font-family: var(--font-serif); font-size: 1.8rem; text-align: center; }

/* ギャラリーエリア */
.detail-gallery {
    margin-bottom: 40px;
}
.detail-gallery .main-img {
    margin-bottom: 15px;
}
.detail-gallery .main-img img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.main-img {
	margin-bottom: 40px;
}
.thumb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.thumb-grid.two-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.thumb-grid.five-cols {
    grid-template-columns: repeat(6, 1fr);
}
.thumb-grid.four-cols {
    grid-template-columns: repeat(4, 1fr);
}
.thumb-grid img {
    width: 100%;
    /* aspect-ratio: 3 / 2; */
    object-fit: cover;
    border: 1px solid #eee;
}

/* リード文 */
.detail-lead-text {
    font-size: 1.15rem;
    line-height: 2.2;
    margin-bottom: 50px;
	font-weight: normal;
}

/* 金色下線付き小見出し */
.detail-sub-title {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    color: var(--color-main);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}
.detail-sub-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--color-gold);
}

/* 料金表（メイン） */
.table-scroll {
    overflow-x: auto;
    margin-bottom: 12px;
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}
.price-table th, .price-table td {
    border: 1px solid #dcc898;
    padding: 18px;
	text-align: center;
	line-height: 1.4;
}
.price-table th {
    background-color: #f7f3ee;
    color: var(--color-main);
    font-weight: 700;
}
.price-table td.type-name {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.15rem;
}
.price-table .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-main);
}
.table-note {
    font-size: 0.95rem;
    color: #666;
    text-align: right;
}

/* 瑞光セクション（囲み枠） */
.price-section-box {
    border: 2px solid #dcc898;
    background-color: #fff;
    padding: 50px;
}
.price-flex {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}
.price-flex-left {
    flex: 0 0 260px;
}
.zuiko-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-beige);
    margin-bottom: 20px;
    font-weight: 700;
}
.feature-small-list {
    font-size: 1.2rem;
}
.feature-small-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 12px;
}
.feature-small-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 瑞光料金内訳 */
.price-flex-right {
    flex: 1;
}
.price-table-simple {
    width: 100%;
    border-collapse: collapse;
}
.price-table-simple th, .price-table-simple td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}
.price-table-simple thead th {
    background: #f7f3ee;
    font-size: 0.95rem;
    text-align: center;
}
.price-table-simple tbody th {
    text-align: left;
    font-family: var(--font-serif);
    font-weight: 700;
}
.price-table-simple td {
    text-align: right;
}
.price-table-simple .total {
    font-weight: 700;
    color: var(--color-main);
    font-size: 1.2rem;
}

/* ラインナップグリッド（4列） */
.altar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.altar-item {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.altar-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.altar-info {
    padding: 20px;
    text-align: center;
}
.altar-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-beige);
}
.altar-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-main);
}
.altar-price span {
    font-size: 0.9rem;
    font-weight: 400;
    margin-left: 3px;
}

/* 最下部グレー注釈エリア */
.notes-inner {
    max-width: 900px;
    margin: 0 auto;
}
.notes-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--color-main);
    margin-bottom: 30px;
	text-align: center;
}
.notes-lead {
    font-size: 1.1rem;
    line-height: 1.8;
}
.notes-main-text {
    line-height: 2;
    font-family: var(--font-sans);
    color: #444;
}
.note-small {
    font-size: 0.95rem;
    color: #666;
    border-top: 1px solid #dcc898;
    padding-top: 20px;
}

/* レスポンシブ */
@media (max-width: 900px) {
    .altar-grid { grid-template-columns: repeat(2, 1fr); }
    .price-flex { flex-direction: column; gap: 30px; }
    .price-flex-left { flex: none; width: 100%; text-align: center; }
    .feature-small-list { display: inline-block; text-align: left; }
}
@media (max-width: 768px) {
    .type-title-bar { font-size: 1.5rem; padding: 16px 10px; }
    .thumb-grid, .thumb-grid.five-cols { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.thumb-grid, .thumb-grid.four-cols { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .detail-lead-text { font-size: 1rem; line-height: 1.8; text-align: left; }
    .price-section-box { padding: 25px; }
    .notes-title { font-size: 1.4rem; line-height: 1.4; text-align: center; margin-bottom: 20px; }
}

/* =========================================
   納骨堂（noukotsudou）完全版
   ========================================= */

.mt-80 { margin-top: 80px; }
.mt-10 { margin-top: 10px; }
.small { font-size: 0.85em; }

/* 特徴リスト */
.feature-box-wrap {
    background: #fff;
    padding: 40px;
    border: 1px solid #dcc898;
}
.feature-list-horizontal {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.feature-card-item {
    flex: 1;
    display: flex;
    gap: 10px;
}
.f-num {
    color: var(--color-beige);
    font-weight: bold;
    flex-shrink: 0;
}
.feature-card-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--color-main);
    margin-bottom: 5px;
}
.feature-card-item p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 含まれているものボックス */
.included-box {
    background-color: #fffdfa;
    border: 1px solid #dcc898;
    padding: 30px 40px;
}
.included-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-main);
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.included-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 10px;
    font-weight: bold;
}
.included-list li::before {
    content: "・";
    position: absolute;
    left: 0;
}
.note-inline {
    display: block;
    font-weight: normal;
    font-size: 0.9rem !important;
    color: #333;
    margin-top: 4px;
	font-family: var(--font-sans);
}

/* テーブル装飾（青系） */
.price-table.color-blue th {
    background-color: #f0f4f8;
}
.table-note-left {
    font-size: 0.9rem;
    color: #444;
	font-family: var(--font-sans);
}

/* その他、以前までのスタイルを継続 */
.price-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.price-table th { background-color: #f7f3ee; color: var(--color-main); font-weight: 700; }
.price-section-box { border: 2px solid #dcc898; background-color: #fff; padding: 50px; }
.altar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

/* =========================================
   個別供養壇ページ専用（kobetsu）
   ========================================= */

/* メイン画像の影 */
.shadow-img img {
    width: 100%;
    display: block;
}

/* 導入メッセージの装飾 */
.italic-text {
    font-style: normal;
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
}

/* 左寄せスタイルの小見出し */
.detail-sub-title.left-align {
    text-align: left;
    border-left: 4px solid var(--color-gold);
    padding-left: 15px;
    padding-bottom: 0;
    margin-bottom: 30px;
}
.detail-sub-title.left-align::after {
    display: none; /* index.phpにある中央下線を非表示に */
}

/* 特徴リスト（番号付き） */
.feature-list-numbered {
    list-style: none;
    padding: 0;
}
.feature-list-numbered li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.4;
	color: var(--color-main);
}
.feature-list-numbered .f-num {
    margin-right: 8px;
    color: var(--color-beige);
    font-weight: bold;
}

/* 細い金枠（特徴セクション用） */
.border-gold-thin {
    border: 1px solid #dcc898 !important;
    background-color: #fff;
}




/* レスポンシブ対応 */
@media (max-width: 768px) {
    .detail-sub-title {
        font-size: 1.3rem;
    }
    .container {
        width: 92%;
    }
    .page-title {
        font-size: 1.8rem;
    }
    .page-header {
        padding: 40px 0;
    }
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* ▼▼ フッターナビゲーションの調整（パターンB） ▼▼ */
    .footer-nav {
        width: 85%; /* グローバルナビに近い幅感 */
        border-left: none;
        padding-left: 0;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    /* ulの枠組みを透過し、すべてのliが自然に繋がって並ぶようにする */
    .footer-nav ul {
        display: contents;
    }
    /* --- メイン項目（1列）のスタイル --- */
    .footer-nav li {
        width: 100%;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* うっすら白い区切り線 */
    }
    /* .sp-sub がついていない <a> タグの装飾 */
    .footer-nav li:not(.sp-sub) a {
        display: block;
        color: #fff;
        font-family: var(--font-serif);
        font-size: 1.2rem;
        font-weight: 600;
        padding: 18px 0;
        text-align: center;
        letter-spacing: 0.15em;
        position: relative;
    }
    /* メイン項目の金色の短い下線（あしらい） */
    .footer-nav li:not(.sp-sub) a::before {
        content: "";
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 1px;
        background: var(--color-gold);
        opacity: 0.5;
    }
    /* --- サブメニュー（2列）のスタイル --- */
    .footer-nav li.sp-sub {
        width: calc(50% - 2px); /* 半分の幅（2列）にする */
        border-bottom: none;    /* 区切り線を消す */
        margin-bottom: 4px;     /* タイル間の隙間 */
    }
    .footer-nav li.sp-sub a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        padding: 15px 5px;
        font-size: 0.95rem;
        color: #fff;
        font-family: var(--font-sans);
        letter-spacing: 0.05em;
        text-align: center;
        box-sizing: border-box;
        background-color: rgba(255, 255, 255, 0.15); /* タイル風の透けた背景 */
        border-radius: 4px;
    }
    /* ▲▲ フッターナビゲーションここまで ▲▲ */

    .footer-logo {
        margin: 0 auto 20px;
    }
    .header-inner .logo img {
        width: 200px;
    }
    .header-inner .logo span {
        font-size: 0.87rem;
        padding: 0;
    }
    .vertical-text {
        font-size: 2rem;
        line-height: 2;
    }
    .vertical-text span {
        font-size: 4rem;
    }
    .ticker-list {
        flex: none;
    }
    .news-ticker .container {
        justify-content: center;
        gap: 10px;
    }
    .news-ticker {
        padding: 20px 0;
    }
    .mincho-title-lg {
        font-size: 1.3rem;
    }
    .concept-section .mincho-title-lg {
        margin-bottom: 30px;
    }
    .concept-text {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    .concept-section {
        height: 400px;
    }
    .section-padding {
        padding: 40px 0;
    }
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
        letter-spacing: 0.05em;
    }
    .feature-desc {
        padding: 20px 20px;
    }
    .feature-desc h4 {
        font-size: 1.3rem;
    }
    .leave-txt h3 {
        font-size: 1.3rem;
        padding: 16px;
    }
    .leave-body {
        padding: 20px;
    }
    .columns-row {
        padding: 20px 0;
    }
    .columns-row {
        font-size: 1rem;
        text-align: left;
    }
    .access-map p {
        font-size: 1rem;
    }
    .cta-section {
        padding: 40px 0;
    }
    .cta-title {
        font-size: 1.7rem;
    }
    .cta-tel {
        font-size: 2rem;
    }
    .mincho-title-lg {
        margin-bottom: 20px;
    }
}



/* =========================================
   納骨堂詳細ページ（noukotsudou）
   ========================================= */

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-80 { margin-top: 80px; }

@media (max-width: 768px) {
.mb-20 {
    margin-bottom: 5px;
}
.mb-30 {
    margin-bottom: 15px;
}
.mb-50 {
    margin-bottom: 30px;
}
.mb-60 {
    margin-bottom: 40px;
}
.mt-80 {
    margin-top: 60px;
}
	}

.page-sub-title {
    font-family: var(--font-serif);
    color: var(--color-beige);
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-align: center;
}

/* 特徴セクション */
.feature-intro-box {
    background: #fff;
    padding: 40px;
    border: 1px solid #dcc898;
}

.feature-three-col {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.f-item {
    flex: 1;
    display: flex;
    gap: 15px;
}

.f-txt strong {
    display: block;
    font-size: 1.2rem;
    color: var(--color-main);
    margin-bottom: 8px;
}

.f-txt p { line-height: 1.5; }

.feature-four-list p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.f-note { font-size: 0.9rem; color: #666; font-family: var(--font-sans); }

/* 料金テーブル共通 */
.table-scroll { overflow-x: auto; margin-bottom: 10px; }
.price-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.price-table th { background: #f7f3ee; color: var(--color-main); font-weight: bold; }
.price-cell { font-size: 1.4rem; font-weight: bold; color: var(--color-main); font-family: var(--font-serif); }
.note-small { font-size: 0.85rem; color: #666; }

/* 色違いテーブル */
.price-table.color-alt th { background: #eef2f6; }

/* 含まれているもの */
.info-box-gold {
    background: #fffdfa;
    border: 1px solid #dcc898;
    padding: 40px 40px;
}

.info-box-gold .f-note {
	padding: 30px 20px;
	font-size: 1rem;
}

.info-box-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-main);
    margin-bottom: 20px;
}

.dot-list-bold li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 1.1rem;
	color: var(--color-beige);
}

.dot-list-bold li::before {
    content: "・";
    position: absolute;
    left: 0;
}

.note-block {
    display: block;
    font-weight: normal;
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* 仏壇壇カード */
.altar-grid-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.altar-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.altar-header {
    text-align: center;
    font-size: 1.3rem;
    color: var(--color-beige);
    font-weight: bold;
    margin-bottom: 10px;
}

.altar-visual img, .compact-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.altar-body p { line-height: 1.5; font-family: var(--font-sans); }

.altar-price-box {
    border-top: 1px solid #eee;
    padding-top: 15px;
	margin-top: 20px;
}

.altar-price-box .label { font-size: 0.9rem; color: #888; margin-bottom: 5px; }


.altar-price-box .price span { font-size: 2rem; margin-left: 5px; }

/* コンパクト・ワイド */
.altar-grid-sub .altar-header-group {
    text-align: center;
    font-size: 1.3rem;
    color: var(--color-beige);
    font-weight: bold;
    margin-bottom: 20px;
}

.altar-visual-row img { max-height: 400px; margin: 0 auto; }

.altar-grid-compact { background: #fff; padding: 30px; border: 1px solid #eee; }

.compact-header { text-align: center; font-weight: bold; margin-bottom: 20px; color: var(--color-beige); }

/* 下部相談エリア */
.detail-bottom-notes { background: #f7f3ee; padding: 60px 40px; margin-top: 40px; }
.notes-content { max-width: 800px; margin: 0 auto; line-height: 2; }
.note-footer { font-size: 0.95rem; border-top: 1px solid #dcc898; padding-top: 20px; }





/* 分割レイアウト（枠は同じ・境界線なし） */
.altar-split-wrap {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee; /* 外枠のみ */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* 2列分割（日月・天光） */
.altar-split-2 {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    gap: 0;
}

/* 4列分割（4段シリーズ） */
.altar-split-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 25px;
}

.split-item {
    text-align: center;
}

.split-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.altar-header-small {
    font-size: 1rem;
    color: var(--color-beige);
    font-weight: bold;
    margin-bottom: 15px;
}

.altar-common-desc {
    padding-top: 25px;
    text-align: center;
}

.altar-common-desc p {
    line-height: 1.5;
	font-family: var(--font-sans);
}
/* 既存の価格表示など */
.altar-price-box .price {
    font-size: 4rem;
    font-weight: bold;
    color: var(--color-main);
    font-family: var(--font-serif);
	line-height: 1.2;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .feature-list-horizontal { flex-direction: column; }
    .price-section-box { padding: 20px; }
    .altar-grid { grid-template-columns: repeat(2, 1fr); }
    .included-box { padding: 20px; }
	    .feature-three-col { flex-direction: column; }
    .altar-grid-main { grid-template-columns: 1fr; }
    .info-box-gold { padding: 20px; }
    .price-flex-container { flex-direction: column; }
	.feature-box-wrap {
    background: #fff;
    padding: 20px;
	}
	.feature-intro-box {
    background: #fff;
    padding: 20px;
	}
	/* デバイス別改行コントロール ★追加 */
    .pc-br { display: none; }  /* スマホで非表示 */
    .sp-br { display: block; } /* スマホで表示（改行する） */
	.notes-content {
    line-height: 1.5;
}
	.cta-body {
    padding: 20px;
	}
    .altar-split-2 { flex-direction: column; gap: 30px; }
    .altar-split-4 { grid-template-columns: 1fr 1fr; gap: 20px; }
    .altar-split-wrap { padding: 20px; }
	.altar-price-box .price span { font-size: 2rem; margin-left: 5px; }
	.detail-bottom-notes {
		padding: 20px;}
	.section-padding-sm {
    padding: 0 0 60px;
	}
}

/* =========================================
   樹木葬詳細ページ専用（jumokuso）
   ========================================= */

/* 管理期間セクションの装飾 */
.jumokuso-info-head {
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--color-main);
}

.jumokuso-status {
    border: 1px solid #917846;
    background-color: #fff;
	text-align: center;
	margin-top: 30px;
}

.jumokuso-status-label {
    background-color: var(--color-beige);
    color: #fff;
    padding: 5px 15px;
    display: inline-block;
    width: 100%;
    padding: 15px 20px;
    font-size: 1.3rem;
    font-weight: bold;
}

/* 植栽セクションの装飾 */
.jumokuso-plant-category {
    color: var(--color-beige);
    border-bottom: 1px solid #eee;
    display: block;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-weight: bold;
	font-size: 1.2rem;
}

.jumokuso-plant-item {
    margin-bottom: 20px;
}

/* スマホ表示の調整 */
@media (max-width: 768px) {
	.detail-lead-text {
    margin-bottom: 20px;
}
	.info-box-gold .f-note {
    padding: 15px 10px;
}
	.jumokuso-status {
    margin-top: 15px;
}
	.jumokuso-status-label {
    padding: 10px 10px;
    font-size: 1.1rem;
}
    .jumokuso-info-head {
        font-size: 1.1rem;
        line-height: 1.4;
    }
}

.px-25 {
    padding: 0 25px;
	font-family: var(--font-sans);
	    font-size: 1.1rem;
    font-weight: normal;
    color: #333;
}
.px-26 {
    padding: 5px 25px;
    font-family: var(--font-sans);
    color: #333;
    font-weight: normal;
    font-size: 1rem;
}

/* 強調用の赤色テキスト */
.text-red {
    color: #c00000;
    font-weight: bold;
	font-size: 1.2rem;
}

/* リスト内の強調（必要に応じて） */
.dot-list-bold li.item-red::before {
    color: #c00000;
}

.ceremony_txt01 {
		font-weight: bold;
    font-size: 1.3rem;
    color: var(--color-beige);
	}

/* =========================================
   アクセスページ固有のスタイル
   ========================================= */

/* 住所・Google Mapエリア */
.address-text {
    font-size: 1.4rem;
    color: var(--color-beige);
    font-weight: bold;
    margin-top: 30px;
    letter-spacing: 0.1em;
}

.access-map-google {
    width: 100%;
    margin-top: 40px;
}

.access-map-google iframe {
    width: 100%;
    height: 450px;
    border: none;
    vertical-align: bottom;
}

/* 電車アクセス：ルート案内 */
.access-route-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.access-route-item {
    padding-bottom: 30px;
    border-bottom: 1px dotted #dcc898;
	text-align: center;
}

.access-route-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.route-label {
    display: inline-block;
    background-color: var(--color-main);
    color: #fff;
    padding: 12px 12px;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: var(--font-sans);
    width: 100%;
}

.station-time {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

.route-img {
    margin-top: 15px;
    transition: opacity 0.3s ease;
}

/* PCレイアウト設定 (768px以上) */
@media (min-width: 768px) {
    .access-route-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 横に2つ並べる */
        gap: 50px 30px;
    }

    .access-route-item {
        border-bottom: none;
        padding-bottom: 0;
        cursor: pointer;
        background-color: #fff;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .access-route-item:hover .route-img {
        opacity: 0.8;
    }
}

/* =========================================
   モーダルポップアップ (PCのみ)
   ========================================= */
.modal {
    display: none; /* JSでflexに切り替え */
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoom 0.3s ease-out;
}

@keyframes zoom {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 50px;
    font-weight: normal;
    cursor: pointer;
    line-height: 1;
}

/* スマホではモーダルを無効化するための調整 */
@media (max-width: 767px) {
    .modal {
        display: none !important;
    }
    .access-route-item {
        pointer-events: none; /* スマホではクリックを無効に */
    }
}

@charset "UTF-8";

/* 歴史セクションのテキスト装飾 */
.history-text {
    line-height: 2.4;
    text-align: justify;
    margin-bottom: 40px;
    font-family: var(--font-serif);
}

.history-text p {
    margin-bottom: 2em;
}

/* 施設紹介の共通ボックス */
.about-facility-box {
    margin-top: 30px;
}

.about-facility-box2 {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.facility-img {
    flex: 0 0 45%;
}

.facility-body {
    flex: 1;
}

.facility-body p {
    line-height: 1.8;
	font-size: 1.5rem;
}

/* お問い合わせ電話番号 */
.contact-tel-area {
    text-align: center;
    padding: 30px;
    margin-top: 20px;
}

.contact-tel-area .tel {
    font-size: 3rem;
    font-family: var(--font-serif);
    color: var(--color-beige);
    font-weight: bold;
    display: block;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .about-facility-box {
        flex-direction: column;
        gap: 20px;
    }
	.about-facility-box2 {
        flex-direction: column;
        gap: 20px;
    }
    .facility-img {
        width: 100%;
    }
    .history-text {
        line-height: 2;
    }
}

@charset "UTF-8";

/* お問い合わせフォーム専用スタイル */
.contact-form-container {
    max-width: 850px;
    margin: 30px auto;
    background-color: #fff;
    border: 1px solid #dcc898;
    padding: 60px 40px;
}

.contact-lead {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.8;
}

.form-table {
    width: 100%;
    border-collapse: collapse;
}

.form-table th, .form-table td {
    padding: 20px;
    border: 1px solid #eee;
    text-align: left;
}

.form-table th {
    width: 40%;
    background-color: #fbfaf5;
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--color-main);
}

.form-table td input[type="text"],
.form-table td input[type="email"],
.form-table td input[type="tel"],
.form-table td input[type="date"],
.form-table td select,
.form-table td textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
}

.form-table td textarea {
    height: 200px;
    resize: vertical;
}

/* 送信ボタン */
.form-submit-area {
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    display: inline-block;
    background-color: #a68c52; /* 画像のボタン色 */
    color: #fff;
    padding: 15px 80px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #917846;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 30px 15px;
    }
    .form-table th, .form-table td {
        display: block;
        width: 100%;
        border: none;
    }
    .form-table th {
        padding-bottom: 5px;
        background: transparent;
    }
    .form-table td {
        padding-top: 0;
        margin-bottom: 15px;
    }
    .btn-submit {
        width: 100%;
        padding: 15px 0;
    }
}

/* スマホ表示の調整 */
@media (max-width: 768px) {
	.f-txt p {
    line-height: 1.3;
		font-size: 1.1rem;
}
	.px-25 {
    font-size: 1rem;
		padding: 0;
		font-size: 0.95rem !important;
	}

    .italic-text {
        font-size: 1rem;
    }
    .detail-sub-title.left-align {
        font-size: 1.4rem;
    }
    /* スマホ時はドットリストの文字サイズを調整 */
    .dot-list-bold li {
    padding-left: 1em;
    margin-bottom: 10px;
    font-size: 1rem;
    }
	.included-list li {
    position: relative;
    padding-left: 1em;
	}
	.text-red {
    font-size: 1rem;
}
	.feature-small-list li {
    padding-left: 1em;
    margin-bottom: 6px;
    font-size: 1rem;
}
.ceremony_txt01 {
    font-size: 1rem;
	}
	.contact-lead {
    margin-bottom: 10px;
	}
	.form-table th, .form-table td {
    padding: 5px;
	}
}



@media print {
  body {
    -webkit-print-color-adjust: exact; /* Chrome/Safari用: 背景色・画像を強制出力 */
    print-color-adjust: exact;         /* 標準プロパティ */
  }
}
.no-break {
  break-inside: avoid;       /* 要素内での改ページを禁止 */
  page-break-inside: avoid;  /* 古いブラウザ用 */
}
@media print {
  .container {
    width: 1200px !important; /* PC表示のまま固定したい場合 */
    min-width: 1200px !important;
  }
  /* 不要なナビゲーションやボタンを消す */
  .header, .footer, .btn-print {
    display: none !important;
  }
}


/* =========================================
   スマホ用 万能レスポンシブテーブル（カード型）完成版
   ========================================= */
@media (max-width: 768px) {
    /* 横スクロール設定と最小幅の解除 */
    .table-scroll { overflow-x: visible; }
    
    .price-table { 
        width: 100%; 
        display: block; 
        border: none; 
        min-width: 0; 
    }
    
    .price-table thead.sp-hide { display: none; }
    .price-table thead { display: block; width: 100%; }
    .price-table tbody, .price-table tr, .price-table th, .price-table td { 
        display: block; 
        width: 100%; 
    }

    /* 1つのカードの枠線 */
    .price-table tr {
        margin-bottom: 20px;
        border: 2px solid #dcc898;
        background-color: #fff;
    }
    .price-table thead tr { margin-bottom: 0; border-bottom: none; }

    /* 一番上のタイトルバー（一霊、二霊など） */
    .price-table th {
        background-color: var(--color-main);
        color: #fff;
        text-align: center;
        padding: 12px;
        font-size: 1.2rem;
        border: none;
    }

    /* 右側の値エリア */
    .price-table td {
        position: relative;
        /* ★左側を50%空ける */
        padding: 15px 0px 15px 50%; 
        border: none;
        border-bottom: 1px solid #dcc898;
        text-align: center; 
        min-height: 50px;
    }
    .price-table td:last-child {
        border-bottom: none;
    }

    /* 左側の項目名エリア */
    .price-table td[data-label]::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 50%; /* ★幅を50%に変更 */
        background-color: #f7f3ee;
        border-right: 1px dotted #dcc898;
        
        /* 縦横の中央に配置するための設定 */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px 10px;
        box-sizing: border-box;

        font-weight: bold;
        color: var(--color-main);
        font-size: 0.95rem;
        text-align: center;
        line-height: 1.4;
        
        /* 改行コード（&#10;）を有効にする設定 */
        white-space: pre-wrap; 
    }

    /* th（カードのタイトル部分）の装飾 */
    .price-table th[data-label]::before {
        content: attr(data-label) "："; 
        font-size: 0.95rem;
        margin-right: 8px;
        font-weight: normal;
        opacity: 0.9;
    }

    /* --- 特殊レイアウト用クラス --- */
    .price-table td.sp-block {
        padding: 15px; 
        text-align: left;
    }
    .price-table td.sp-block::before {
        display: none;
    }
    
    .price-table td.img-cell {
        padding: 0;
        border-bottom: none;
    }
    .price-table td.img-cell img {
        width: 100%;
        height: auto;
        display: block;
    }
}

/* チェックボックスを1行ずつ改行して縦並びにする */
.checkbox-group .checkbox-label {
    display: block;        /* 横並びを解除して縦積みにする */
    margin-bottom: 12px;   /* 各項目の間に少し余白を作る（お好みで調整してください） */
    cursor: pointer;       /* マウスオーバーで指マークにする（操作性アップ） */
}

/* 最後の項目の下には余白を作らない */
.checkbox-group .checkbox-label:last-child {
    margin-bottom: 0;
}

/* =========================================
   追従型CTA & TOPに戻るボタン
   ========================================= */
.floating-cta-wrapper {
    position: fixed;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.floating-cta-wrapper.show {
    opacity: 1;
    visibility: visible;
}

.floating-cta-title {
    font-size: 0.95rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color: #917846; /* ご要望通り #917846（ベージュ） に変更 */
    letter-spacing: 0.05em;
}

.floating-cta-buttons {
    display: flex;
}

.f-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    border-radius: 6px;
    font-weight: bold;
    transition: opacity 0.3s, transform 0.2s;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    gap: 6px;
}

a.f-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* PC用 電話番号テキスト（背景色なし） */
.pc-tel {
    background-color: transparent; /* 背景色なしに変更 */
    color: var(--color-main); /* 白だと見えないため濃紺に変更 */
    box-shadow: none; /* 背景がないため影も非表示に */
    cursor: default;
    padding-top: 5px; /* ボタンが並んだときのバランス調整 */
    padding-bottom: 5px;
}

/* スマホ用 電話発信リンク */
.sp-tel {
    display: none;
    background-color: var(--color-main);
}

/* 各種ボタンの背景色 */
.f-btn-line { background-color: #32b11b; } /* ご要望通り #32b11b に変更 */
.f-btn-mail { background-color: var(--color-beige); }

.f-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* TOPに戻るボタン */
.btn-page-top {
    background-color: var(--color-white);
    border: 2px solid var(--color-beige);
    color: var(--color-beige);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-size: 0.75rem;
    font-family: var(--font-sans);
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.btn-page-top::before {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-bottom: 2px;
}

.btn-page-top:hover {
    background-color: var(--color-beige);
    color: var(--color-white);
}

/* --- スマホ表示 (画面下部に固定) --- */
@media (max-width: 767px) {
    body {
        padding-bottom: 100px;
    }
    
    .floating-cta-wrapper {
        bottom: 0;
        left: 0;
        width: 100%;
        transform: translateY(20px);
    }
    .floating-cta-wrapper.show {
        transform: translateY(0);
    }
    .floating-cta-inner {
        width: 100%;
        background: rgba(255, 255, 255, 0.97);
        padding: 12px 10px 15px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        border-top: 1px solid var(--color-gold);
    }
    .floating-cta-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    .floating-cta-buttons {
        gap: 8px;
        justify-content: space-between;
    }
    .f-btn {
        flex: 1;
        flex-direction: row;
        padding: 12px 0;
        font-size: 0.85rem;
    }
    .pc-text {
        display: none;
    }
    
    .pc-tel { display: none; }
    .sp-tel { display: flex; }

    .btn-page-top {
        position: absolute;
        top: -60px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}

/* --- PC表示 (画面右下に固定) --- */
@media (min-width: 768px) {
    .floating-cta-wrapper {
        bottom: 30px;
        right: 30px;
        transform: translateY(20px);
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 15px;
    }
    .floating-cta-wrapper.show {
        transform: translateY(0);
    }
    .floating-cta-inner {
        background: rgba(255, 255, 255, 0.95);
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        border: 1px solid var(--color-gold); /* ご要望通り 1px に変更 */
        width: 250px;
    }
    .floating-cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .f-btn {
        padding: 14px;
        font-size: 1rem;
    }
    .pc-tel {
        font-size: 1.4rem;
        padding: 0;
    }
    .btn-page-top {
        align-self: flex-end;
    }
}

/* =========================================
   CTAエリアのLINE追加用スタイル
   ========================================= */
/* LINEボタンのカラー */
.btn-cta.btn-line {
    background-color: #32b11b;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PC時の横並びレイアウト */
.cta-flex-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.cta-main-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-qr-col {
    text-align: center;
    border-left: 1px dotted #ccc;
    padding-left: 40px;
}

.qr-text {
    font-weight: bold;
    color: #32b11b;
    margin-bottom: 10px;
    font-size: 1.1rem;
	line-height: 1.4;
}

.qr-img {
    width: 150px;
    height: auto;
}

/* --- デバイスごとの表示切り替え --- */
@media (max-width: 767px) {
    .cta-flex-wrap {
        flex-direction: column;
        gap: 20px;
    }
    .cta-qr-col {
        /* スマホではQR非表示 */
        display: none; 
    }
    .sp-line-btn {
        /* スマホではボタン表示 */
        display: flex; 
    }
}

@media (min-width: 768px) {
    .pc-line-qr {
        /* PCではQR表示 */
        display: block; 
    }
    .btn-cta.sp-line-btn {
        /* PCではボタンを確実に非表示 */
        display: none !important; 
    }
}

/* =========================================
   メインビジュアル：右下ボタン
   ========================================= */
.hero-bottom-btn {
    position: absolute;
    bottom: 40px;
    right: 5%;
    width: 300px;     /* ボタンのサイズ（PC） */
    z-index: 10;
    transition: transform 0.3s ease;
}

/* ホバー時に少しふわっと浮き上がるアニメーション */
.hero-bottom-btn:hover {
    transform: translateY(-5px) scale(1.02);
    opacity: 1; /* aタグ共通のopacity低下を防ぐ */
}

/* =========================================
   スマホ表示の調整
   ========================================= */
@media (max-width: 768px) {
    /* スローガン画像を少し上に配置 */
    .hero-text-overlay {
        top: 35%;
    }

    /* 右下ボタンのサイズと位置をスマホ用に調整 */
    .hero-bottom-btn {
        width: 200px;
        bottom: 30px;
        right: 2%;        /* 右からの余白調整 */
    }
}

/* =========================================
   ドロップダウン・サブメニュー（PC / SP共通）
   ========================================= */
/* 親の flex（横並び）の影響を完全にリセットして縦並びにする */
.global-nav ul.sub-menu {
    display: block; 
    list-style: none;
    padding: 0;
    margin: 0 auto;
	text-align: center;
}

.global-nav ul.sub-menu li {
    display: block;
    width: 100%;
    opacity: 1 !important; 
    transform: none !important;
}

/* =========================================
   PC用 ドロップダウンメニュー（上から展開・下から格納）
   ========================================= */
@media (min-width: 768px) {
    .global-nav li {
        position: relative;
    }
    
    .global-nav ul.sub-menu {
        position: absolute;
        top: 100%; 
        left: 50%;
        transform: translateX(-50%);
        width: 200px; 
        
        /* ▼ 通常時の背景色を変更 ▼ */
        background-color: var(--color-bg-light); 
        
        text-align: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        z-index: 200;
        clip-path: inset(0 -20px 100% -20px); 
        visibility: hidden;
        transition: clip-path 0.4s ease-in-out, visibility 0.4s ease-in-out;
    }

    .global-nav li:hover > ul.sub-menu {
        visibility: visible;
        clip-path: inset(0 -20px -20px -20px); 
    }

    .global-nav ul.sub-menu a {
        padding: 15px 10px; 
        color: var(--color-text);
        font-size: 0.95rem;
        font-weight: 500;
        white-space: normal;
        /* ▼ 背景色に合わせて、区切り線を白に変更 ▼ */
        border-bottom: 1px solid var(--color-white); 
        transition: background-color 0.3s, color 0.3s;
    }
    
    .global-nav ul.sub-menu li:last-child a {
        border-bottom: none; 
    }

    .global-nav ul.sub-menu a:hover {
        /* ▼ マウスオーバー時の背景色を白に変更 ▼ */
        background-color: var(--color-white);
        color: var(--color-main);
    }
}

/* =========================================
   SP用 サブメニュー（常時展開・2列レイアウト）
   ========================================= */
@media (max-width: 767px) {
    .global-nav ul.sub-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        border-radius: 4px;
        padding: 0;
		margin-bottom: 7px;
    }

    .global-nav ul.sub-menu li {
        width: 50% !important; /* 強制的に幅を半分（2列）にする */
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: none !important; /* 親liの線をリセット */
    }

    .global-nav ul.sub-menu a {
        padding: 15px 5px !important;
        font-size: 0.95rem;
        color: var(--color-text) !important;
        letter-spacing: 0.05em;
        text-align: center;
        border-bottom: 0px dotted #ccc !important;
        
        /* 枠内に文字を綺麗に中央配置する設定 */
        box-sizing: border-box;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
		background-color: #f3f2ed;
		margin: 2px;
    }
    
    /* 左側の列（奇数番目）にのみ、右側に区切り線（縦線）を引く */
    .global-nav ul.sub-menu li:nth-child(odd) a {
        border-right: 0px dotted #ccc !important;
    }
    
    /* 一番下の行の下線を消す処理 */
    .global-nav ul.sub-menu li:last-child a,
    .global-nav ul.sub-menu li:nth-last-child(2):nth-child(odd) a {
        border-bottom: none !important;
    }
    
    .global-nav ul.sub-menu a::before {
        display: none !important; 
    }

    /* 親メニューの▼マークなどを消す設定 */
    .global-nav .menu-item-has-children > a {
        padding-right: 0 !important; 
    }
    .global-nav .menu-item-has-children > a::after {
        display: none !important; 
    }
}