/* 共通スタイル（design/official のデザイン案に合わせる） */
:root{--green:#245C4A;--green-dark:#173D31;--ink:#1E2420;--sub:#59605B;--bg:#F6F5F1;--line:#DAD8D0;--white:#fff;--line-green:#06C755}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Noto Sans JP',sans-serif;line-height:1.75;font-size:16px}
h1,h2,h3,p{margin:0}
a{color:var(--green)}a:hover{color:var(--green-dark)}
img{max-width:100%;height:auto}
.serif{font-family:'Noto Serif JP',serif}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:8px;font-weight:700;font-size:16px;text-decoration:none;border:2px solid var(--green);cursor:pointer;font-family:inherit}
.btn-primary{background:var(--green);color:#fff}.btn-primary:hover{background:var(--green-dark);color:#fff}
.btn-ghost{background:#fff;color:var(--green)}
.btn-line{background:var(--line-green);border-color:var(--line-green);color:#fff;padding:0 16px}
.btn-line:hover{color:#fff;opacity:.9}
.chip{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid #CFCCC2;border-radius:999px;background:#fff;color:var(--ink);text-decoration:none;font-size:15px}
.chip:hover{border-color:var(--green);color:var(--green)}
/* ヘッダー */
.site-header{background:#fff;border-bottom:1px solid var(--line)}
.header-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding-top:14px;padding-bottom:14px}
.logo{display:flex;flex-direction:column;text-decoration:none;color:var(--ink);line-height:1.3}
.logo-name{font-size:22px;font-weight:700}.logo-tag{font-size:12px;color:var(--sub)}
.header-actions{display:flex;align-items:center;gap:12px}
.header-tel{text-decoration:none;color:var(--ink);display:flex;flex-direction:column;line-height:1.3}
.tel-num{font-size:20px;font-weight:700;color:var(--green)}.tel-hours{font-size:12px;color:var(--sub)}
.header-nav{border-top:1px solid #ECEAE3}
.nav{display:flex;flex-wrap:wrap;gap:8px 32px;padding-top:12px;padding-bottom:12px}
.nav a{color:var(--ink);text-decoration:none;font-size:15px;font-weight:500;padding:6px 2px;border-bottom:2px solid transparent;transition:color .15s,border-color .15s}
/* メインメニュー：ポインタを合わせると緑の下線が出て、押せることが分かるように（2026/11/7 確認用ページへのご意見） */
.nav a:hover,.nav a:focus-visible{color:var(--green);border-bottom-color:var(--green)}
.nav a[aria-current="page"]{color:var(--green);border-bottom-color:var(--green)}
.nav a:focus-visible{outline:2px solid var(--green);outline-offset:3px;border-radius:2px}
@media (prefers-reduced-motion:reduce){.nav a{transition:none}}
/* フッター */
.site-footer{background:var(--ink);color:#E6E4DE;padding:40px 0 48px;font-size:14px}
.site-footer a{color:#E6E4DE}
.footer-in{display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px}
.footer-info{display:flex;flex-direction:column;gap:6px}
.footer-name{font-size:20px;font-weight:700;color:#fff}
.footer-nav{display:flex;flex-wrap:wrap;gap:12px 24px}
/* スマホ下部の固定バー（電話／見学予約／資料請求）。LINEは入れない */
.sticky-bar{display:none}
@media (max-width:767px){
  .wrap{padding:0 16px}
  .header-actions .header-tel,.header-actions .btn-primary,.header-nav{display:none}
  .logo-name{font-size:20px}
  body{padding-bottom:84px}
  .sticky-bar{position:fixed;left:0;right:0;bottom:0;z-index:50;background:#fff;border-top:1px solid var(--line);padding:10px 12px 14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .sticky-bar a{min-height:56px;border:2px solid var(--green);border-radius:10px;color:var(--green);text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:13px;font-weight:700;line-height:1.3;text-align:center}
  .sticky-bar a.primary{background:var(--green);color:#fff}
}
/* 霊園カードと「まとめて資料請求」バー */
.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:20px}
.card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}
.card-body{padding:20px;display:flex;flex-direction:column;gap:10px;flex-grow:1}
.card-actions{display:flex;gap:8px;margin-top:auto;padding-top:8px}
.pick{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border:2px solid var(--green);border-radius:8px;color:var(--green);font-weight:700;font-size:15px;cursor:pointer}
.pick input{width:18px;height:18px;accent-color:var(--green)}
.pick-bar{background:var(--ink);color:#fff;border-radius:12px;padding:14px 20px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.pick-note{font-size:13px;color:#F2C6B8}
.soldout-badge{display:inline-block;background:#59605B;color:#fff;font-size:13px;font-weight:700;padding:2px 10px;border-radius:4px}
/* ---- 共通の小部品 ---- */
.vh{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.logo img{height:40px;width:auto;display:block}
.btn-sm{min-height:44px;padding:0 16px;font-size:15px}
.btn-lg{min-height:56px}
.btn-block{width:100%}
.btn-on-dark{background:#fff;color:var(--green);border-color:#fff}.btn-on-dark:hover{background:#E3EEE9;color:var(--green-dark)}
.crumbs{font-size:14px;color:var(--sub);display:flex;flex-wrap:wrap;gap:8px;padding-top:16px;padding-bottom:4px}
.crumbs a{color:var(--sub)}
.section{padding-top:24px;padding-bottom:24px;display:flex;flex-direction:column;gap:16px}
.page-title{font-size:34px;font-weight:700;line-height:1.4}
.page-lead{max-width:820px}
.section-title{font-size:26px;font-weight:700}
.section-note{font-size:14px;color:var(--sub)}
.eyebrow{font-size:14px;font-weight:700;color:var(--green)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
button.chip{font-family:inherit;cursor:pointer}
.chip.is-on{background:var(--green);border-color:var(--green);color:#fff}
.table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:12px}
table{border-collapse:collapse;width:100%;font-size:15px}
th,td{padding:10px 12px;border-bottom:1px solid #ECEAE3;text-align:left;vertical-align:top}
thead th,.price-table th{background:#F1F0EA;font-weight:700;font-size:14px;white-space:nowrap}
td.num,th.num{text-align:right;white-space:nowrap}
/* ---- 霊園カード ---- */
.card-img{display:block;width:100%;height:200px;object-fit:cover;background:#E9E7E0}
.card-noimg{height:200px}
.card-meta{font-size:14px;color:var(--sub)}
.card-title{font-size:20px;font-weight:700;line-height:1.45}
.card-title a{color:var(--ink);text-decoration:none}.card-title a:hover{color:var(--green)}
.card-types{font-size:14px}
.card-price{display:flex;align-items:baseline;gap:8px;font-size:14px;color:var(--sub)}
.card-price strong{font-size:20px;color:var(--ink)}
.card.is-hidden{display:none}
.sold-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:10px 12px}
/* 完売の霊園：写真を白黒にし「完売」の札をつけて、募集中のカード（カラー写真）と見分けやすく。名前は太字、所在地は小さく灰色 */
.sold-list li{min-width:0}
.sold-item{display:flex;align-items:center;gap:12px;padding:8px;border-radius:10px;background:#F1F0EC;border:1px solid #E2E0D8;color:var(--ink);text-decoration:none;height:100%}
.sold-item:hover,.sold-item:focus-visible{border-color:#B9B6AB;background:#ECEAE4}
.sold-thumb{position:relative;flex:0 0 96px;width:96px;height:64px;border-radius:6px;overflow:hidden;background:#D9D7CF}
.sold-thumb img{width:100%;height:100%;object-fit:cover;filter:grayscale(1);opacity:.8;display:block}
.sold-item:hover .sold-thumb img{opacity:1}
.sold-thumb.is-noimg{background:linear-gradient(135deg,#D9D7CF,#C9C6BC)}
.sold-thumb.is-noimg::after{content:"";position:absolute;left:50%;top:58%;width:22px;height:26px;margin:-13px 0 0 -11px;border-radius:4px 4px 1px 1px;background:#B3AFA4;box-shadow:0 10px 0 -6px #B3AFA4}
.sold-tag{position:absolute;left:4px;top:4px;background:#59605B;color:#fff;font-size:11px;font-weight:700;line-height:1;padding:4px 6px;border-radius:3px}
.sold-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.sold-name{font-weight:700;font-size:15px;line-height:1.4;color:var(--ink)}
.sold-item:hover .sold-name{text-decoration:underline}
.sold-place{font-size:12.5px;color:var(--sub)}
.pick-bar{margin:8px 0 24px}
.pick-bar strong{font-size:20px}
/* ---- 霊園ページ ---- */
.layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px;align-items:start;padding-top:12px;padding-bottom:64px}
.main-col{display:flex;flex-direction:column;gap:40px;min-width:0}
.block{display:flex;flex-direction:column;gap:14px}
.block-title{font-size:24px;font-weight:700;border-left:4px solid var(--green);padding-left:12px;line-height:1.4}
.block h3{font-size:17px;margin-top:6px}
.block ul{margin:0;padding-left:20px}
.catch{font-size:19px;color:var(--green-dark)}
.hero-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px;align-items:start}
/* 霊園ページ：写真を大きく（左2：右1）。押すと画面いっぱいに拡大（2026/11/7 ご意見） */
@media (min-width:900px){.hero-2{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.hero-2 .gallery-main{height:auto;aspect-ratio:4/3}}
.hero-side{display:flex;flex-direction:column;gap:16px}
.gallery{display:flex;flex-direction:column;gap:8px}
.gallery-main{width:100%;height:300px;object-fit:cover;border-radius:12px;display:block;background:#E9E7E0}
.gallery-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.gallery-thumb{padding:0;border:2px solid transparent;border-radius:8px;background:none;cursor:pointer;display:block;min-width:0}
.gallery-thumb[aria-pressed="true"]{border-color:var(--green)}
.gallery-thumb:hover img{opacity:.85}
.gallery-thumbs img{width:100%;height:64px;object-fit:cover;border-radius:6px;display:block}
.facts{margin:0;display:grid;grid-template-columns:96px 1fr;gap:8px 16px;font-size:15px}
.facts dt{color:var(--sub)}.facts dd{margin:0}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.cta-row .pick{flex:0 1 auto;padding:0 18px;min-height:48px}
.points li{margin-bottom:4px}
/* 霊園ページの地図（Google マップの埋め込み。見えるところまで来てから読み込む） */
.reien-map{display:block;width:100%;height:340px;border:0;border-radius:10px;background:#E9E7E0}
@media (max-width:767px){.reien-map{height:260px}}
/* 霊園ページ：印刷ページへのボタン（資料請求・見学予約より一段控えめの白いボタン）、Instagram */
.print-box{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.print-box .section-note{margin:0}
@media (max-width:767px){.print-btn{width:100%}}
.insta-line{margin:4px 0 0}
/* 霊園ページ：特設サイトへの案内 */
.special-box{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px}.special-box p{margin:0}.special-box .section-note{margin-top:-6px}
@media (max-width:767px){.special-btn{width:100%}}
.plan{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.plan-notes{font-size:13px;color:var(--sub)}
.price-table td,.price-table th{text-align:center;vertical-align:middle;font-size:14px}
.cta-box{background:#fff;border:2px solid var(--green);border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:14px}
.cta-title{font-size:20px;font-weight:700}
.cta-line{font-size:14px;color:var(--sub);display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.near-table .pick{min-height:40px;padding:0 10px;font-size:14px;white-space:nowrap}
.soldout-notice{background:#59605B;color:#fff;border-radius:12px;padding:18px 22px;display:flex;flex-direction:column;gap:6px;margin-top:8px}
.soldout-notice-title{font-size:20px;font-weight:700}
.owner-box{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px}
.owner-tel{font-size:18px;font-weight:700}
.side{position:sticky;top:16px;display:flex;flex-direction:column;gap:16px}
.side-box{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;display:flex;flex-direction:column;gap:12px}
.side-title{font-weight:700;font-size:17px}
.side-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:15px}
.side-list li{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #ECEAE3;padding-bottom:8px}
.side-list button{border:0;background:transparent;color:var(--sub);font-size:14px;min-height:32px;font-family:inherit;cursor:pointer;white-space:nowrap}
.side-empty{color:var(--sub)}
.side-note{font-size:13px;color:var(--sub)}
.side-tel{background:var(--green);color:#fff;border-radius:12px;padding:22px;display:flex;flex-direction:column;gap:4px}
.side-tel a{color:#fff;font-size:24px;font-weight:700;text-decoration:none}
.side-tel-hours{font-size:13px;color:#E3EEE9}
@media (max-width:959px){.layout{grid-template-columns:minmax(0,1fr)}.side{position:static}}
@media (max-width:767px){.page-title{font-size:27px}.section-title{font-size:22px}.block-title{font-size:21px}.gallery-main{height:220px}.facts{grid-template-columns:84px 1fr}}
.near-table td:first-child{min-width:10em;font-weight:700}
@media (max-width:767px){
  .near-table thead{display:none}
  .near-table tr{display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding:12px 14px;border-bottom:1px solid #ECEAE3}
  .near-table td{border:0;padding:0;min-width:0}
  .near-table td:nth-child(1),.near-table td:nth-child(2),.near-table td:nth-child(3){grid-column:1/-1}
  .near-table td:nth-child(2),.near-table td:nth-child(3){font-size:14px;color:var(--sub)}
  .near-table td:nth-child(4){text-align:left;align-self:center;font-weight:700}
}
/* ---- フォーム（資料請求・見学予約） ---- */
.form-wrap{max-width:820px;padding-top:12px;padding-bottom:64px;display:flex;flex-direction:column;gap:18px}
.form{display:flex;flex-direction:column;gap:24px}
.form-step{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;margin:0;display:flex;flex-direction:column;gap:16px;min-width:0}
.form-step legend{float:left;width:100%;font-size:19px;font-weight:700;display:flex;align-items:center;gap:10px;padding:0}
.step-no{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--green);color:#fff;font-size:15px}
.req{display:inline-block;background:#B5462E;color:#fff;font-size:12px;font-weight:700;border-radius:4px;padding:1px 8px;margin-left:8px;vertical-align:middle}
.opt-label{display:inline-block;background:#ECEAE3;color:var(--sub);font-size:12px;border-radius:4px;padding:1px 8px;margin-left:8px;vertical-align:middle}
.field{display:flex;flex-direction:column;gap:6px}
.field label,.field .label{font-weight:700;font-size:15px}
.field input,.field select,.field textarea{font:inherit;font-size:16px;padding:12px 14px;border:1px solid #BDB9AE;border-radius:8px;background-color:#fff;width:100%;min-height:50px}
.field-zip input{max-width:220px}
.field .is-invalid,.is-invalid{border-color:#B5462E!important;background:#FFF6F3!important}
.radios{display:flex;flex-wrap:wrap;gap:16px}.radios label{font-weight:400;display:flex;gap:6px;align-items:center;min-height:44px}
.hint{font-size:13px;color:var(--sub)}
.form-error{background:#FFF1EC;border:1px solid #E7B7A8;color:#8A2F1B;border-radius:8px;padding:12px 16px;font-size:15px}
.picked-now{background:var(--bg);border-radius:8px;padding:10px 14px;font-size:15px}
.picked-now strong{font-size:20px;color:var(--green)}
.picked-names{display:block;font-size:14px;color:var(--sub)}
.reien-group{border:1px solid #ECEAE3;border-radius:10px}
.reien-group summary{cursor:pointer;padding:12px 16px;font-weight:700;min-height:48px}
.reien-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:6px;padding:0 12px 12px}
.opt{display:flex;gap:10px;align-items:flex-start;padding:10px;border-radius:8px;cursor:pointer;min-height:44px}
.opt:hover{background:var(--bg)}
.opt input{width:20px;height:20px;margin-top:3px;accent-color:var(--green);flex:none}
.opt small{display:block;font-size:12px;color:var(--sub)}
.opt:has(input:checked){background:#E8F1ED}
.calendar{max-width:420px}
.cal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.cal-head button{min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:20px;cursor:pointer}
.cal-head button:disabled{opacity:.3;cursor:default}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.cal-wd{font-size:13px;color:var(--sub)}
.sun{color:#B5462E}.sat{color:#2E5FA8}
.cal-day{min-height:48px;border:1px solid var(--line);border-radius:8px;background:#fff;font:inherit;font-size:16px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1;padding:0}
.cal-day small{font-size:10px}
.cal-day:disabled{background:#F1F0EA;color:#B8B5AC;cursor:default;border-color:#F1F0EA}
.cal-day.is-sel{background:var(--green);border-color:var(--green);color:#fff}
.picked-date{font-size:15px}
.thanks{gap:20px}
.line-box{background:#fff;border:2px solid var(--line-green);border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.line-title{font-size:20px;font-weight:700}
.field .radios input{width:20px;height:20px;min-height:0;padding:0;accent-color:var(--green)}
/* ---- ブログ ---- */
.post-list{display:flex;flex-direction:column;gap:16px}
.post-item{display:grid;grid-template-columns:200px minmax(0,1fr);gap:20px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px}
.post-thumb img{width:100%;height:134px;object-fit:cover;border-radius:8px;display:block;background:#E9E7E0}
.post-thumb{display:block;min-height:134px;background:#E9E7E0;border-radius:8px}
.post-item-body{display:flex;flex-direction:column;gap:6px;min-width:0}
.post-item-title{font-size:18px;line-height:1.5}
.post-item-title a{color:var(--ink);text-decoration:none}.post-item-title a:hover{color:var(--green)}
.post-date{font-size:14px;color:var(--sub)}
.post-excerpt{font-size:14px;color:var(--sub)}
.pager{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:center}
.pager a,.pager span{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border-radius:8px;border:1px solid var(--line);background:#fff;text-decoration:none}
.pager .pager-cur{background:var(--green);color:#fff;border-color:var(--green);font-weight:700}
.pager .pager-gap{border:0;background:transparent}
.post{gap:24px}
.post-head{display:flex;flex-direction:column;gap:8px}
.post-title{font-size:30px;line-height:1.45}
.post-cats,.post-tags{display:flex;flex-wrap:wrap;gap:6px}
.tag{display:inline-block;font-size:13px;padding:2px 10px;border-radius:999px;background:#E8F1ED;color:var(--green-dark);text-decoration:none}
.post-body{background:#fff;border:1px solid var(--line);border-radius:12px;padding:28px;overflow-wrap:anywhere}
.post-body p{margin:0 0 1em}
.post-body img{border-radius:6px;height:auto;max-width:100%}
.post-body h2,.post-body h3{margin:1.4em 0 .6em;line-height:1.5}
.post-body iframe{max-width:100%}
.post-body .wp-caption{max-width:100%!important}
.line-inline{border:2px solid var(--line-green);border-radius:12px;padding:16px 20px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;background:#F3FBF6;margin:1.5em 0}
.post-nav{display:flex;justify-content:space-between;gap:16px;font-size:15px}
.post-nav a{max-width:48%}
.side-cats{list-style:none;margin:0;padding:0;font-size:15px}
.side-cats li{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #ECEAE3;padding:8px 0}
.side-cats span{color:var(--sub);font-size:13px}
@media (max-width:767px){.post-item{grid-template-columns:110px minmax(0,1fr);gap:12px;padding:12px}.post-thumb img{height:80px}.post-thumb{min-height:80px}.post-item-title{font-size:16px}.post-excerpt{display:none}.post-title{font-size:23px}.post-body{padding:18px}}
/* ---- お客様の声 ---- */
.voice-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:16px}
.voice-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}
.voice-card img{width:100%;height:200px;object-fit:cover;display:block;background:#E9E7E0}
.voice-body{padding:16px;display:flex;flex-direction:column;gap:6px}
.voice-who{font-size:14px;color:var(--sub)}
.voice-q{font-weight:700;line-height:1.6}
.voice-a{font-size:15px}
.card{position:relative}
.card-badge{position:absolute;top:12px;left:12px;background:#B5462E;color:#fff;font-size:13px;font-weight:700;padding:3px 12px;border-radius:999px}
.card.is-city-hidden{display:none}
.city-note{background:#E8F1ED;border-radius:8px;padding:10px 14px;font-size:15px}
/* ---- トップ ---- */
.top-hero-img img{display:block;width:100%;height:clamp(200px,36vw,480px);object-fit:cover}
.top-hero{background:#fff;padding:40px 0 48px}
.hero-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));gap:40px;align-items:start}
.hero-copy{display:flex;flex-direction:column;gap:18px}
.top-title{font-size:38px;line-height:1.45}
.hero-points{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 20px;font-size:15px}
.hero-points li::before{content:'✓ ';color:var(--green);font-weight:700}
.stats{margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.stats div{background:var(--bg);border-radius:10px;padding:12px;text-align:center}
.stats dt{font-size:13px;color:var(--sub)}.stats dd{margin:0;font-size:14px}.stats strong{font-size:26px;color:var(--green);font-family:'Noto Serif JP',serif}
.area-box{background:var(--bg);border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:14px}
.area-title{font-size:20px}
.area-row{display:flex;flex-direction:column;gap:6px}
.area-pref{font-weight:700;font-size:15px}
.area-box .chip{min-height:40px;font-size:14px;padding:0 14px}
.section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px}
.four{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:20px;margin:0;padding:0}
.reason,.steps li{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:8px;list-style:none}
.reason h3,.steps h3{font-size:18px}
.step-label{font-size:13px;font-weight:700;color:var(--green)}
.two{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));gap:32px}
.news{list-style:none;margin:12px 0 0;padding:0;background:#fff;border:1px solid var(--line);border-radius:12px}
.news li{display:flex;gap:16px;padding:14px 18px;border-bottom:1px solid #ECEAE3;font-size:15px}
.news li:last-child{border-bottom:0}
.news time{color:var(--sub);white-space:nowrap;font-size:14px}
.staff-list{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.staff-item{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px;text-decoration:none;color:var(--ink)}
.staff-item img,.staff-noimg{width:120px;height:84px;object-fit:cover;border-radius:8px;flex:none;background:#E9E7E0}
.staff-item>span{display:flex;flex-direction:column;gap:4px}
.staff-title{font-weight:500;line-height:1.5}
.top-cta{background:var(--green);color:#fff;padding:40px 0;margin-top:32px}
.top-cta-in{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px}
.top-cta-tel{color:#fff;font-size:26px;font-weight:700;text-decoration:none;display:flex;flex-direction:column;line-height:1.3}
.top-cta-tel small{font-size:13px;font-weight:400;color:#E3EEE9}
.top-cta a:hover{color:#fff}
@media (max-width:767px){.top-title{font-size:28px}.stats strong{font-size:22px}.news li{flex-direction:column;gap:2px}.staff-item img,.staff-noimg{width:96px;height:68px}}
.card-badge.is-few{background:#C77A12}
/* ---- 固定ページ（作業6）：今のページの本文をそのまま入れる枠 ---- */
.content-wrap{max-width:960px;padding-bottom:48px}
.content-wrap>.page-title{margin:28px 0 24px}
@media (max-width:767px){.content-wrap>.page-title{margin:20px 0 16px}}
.legacy{background:#fff;border:1px solid var(--line);border-radius:12px;padding:28px;overflow-wrap:anywhere;margin-bottom:28px}
.legacy::after{content:"";display:block;clear:both}
.legacy .container,.legacy .inner,.legacy section{max-width:100%;padding-left:0;padding-right:0}
.legacy section{margin:0 0 24px}
.legacy img{max-width:100%;height:auto;border-radius:4px}
.legacy p{margin:0 0 1em}
.legacy h2,.legacy h3,.legacy h4{margin:1.4em 0 .6em;line-height:1.5;color:var(--green-dark)}
.legacy table{border-collapse:collapse;width:100%;margin:0 0 1.2em;font-size:15px}
.legacy th,.legacy td{border:1px solid var(--line);padding:8px 10px;vertical-align:top;text-align:left}
.legacy th{background:#F1EFE8;white-space:nowrap}
.legacy iframe{max-width:100%;border:0}
.legacy .cl,.legacy .clear{clear:both}
.legacy .box-1 .image,.legacy .box-2 .image{max-width:40%;margin:0 0 12px}
.legacy .box-1 .image{float:right;margin-left:20px}.legacy .box-2 .image{float:left;margin-right:20px}
.legacy .box-1,.legacy .box-2{overflow:hidden;margin-bottom:24px}
.legacy ul,.legacy ol{padding-left:1.4em}
.legacy .sp{display:none}
@media (max-width:767px){
  .legacy{padding:18px}
  .legacy .pc{display:none}.legacy .sp{display:block}
  .legacy .box-1 .image,.legacy .box-2 .image{float:none;max-width:100%;margin:0 0 12px}
  .legacy th{white-space:normal}
  .legacy table{font-size:14px}
}
/* 項目と値（会社概要・沿革など） */
.legacy dl{display:grid;grid-template-columns:minmax(120px,max-content) 1fr;gap:0;margin:0 0 1.2em;border-top:1px solid var(--line)}
.legacy dt,.legacy dd{margin:0;padding:8px 10px;border-bottom:1px solid var(--line)}
.legacy dt{font-weight:700;background:#F1EFE8}
.legacy dd ul{margin:0}
/* 写真の並び（今のサイトのスライドショー）は一覧表示にする */
.legacy ul:has(> li > img),.legacy ul:has(> li > a > img),.legacy ul:has(> li > div > img){list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin:0 0 1.2em}
.legacy ul:has(> li > img) li,.legacy ul:has(> li > a > img) li{margin:0}
.legacy ul:has(> li > img) img,.legacy ul:has(> li > a > img) img{width:100%;aspect-ratio:4/3;object-fit:cover}
.legacy .fv-slide{grid-template-columns:1fr!important}
.legacy .fv-slide img{aspect-ratio:auto!important}
.legacy .story-list{list-style:none;padding:0}.legacy .story-list li{display:flex;gap:8px}.legacy .story-list li p{margin:0}
.legacy .map-embed{width:100%;height:360px;border:0;border-radius:8px}
@media (max-width:767px){.legacy dl{grid-template-columns:1fr}.legacy dt{border-bottom:0}.legacy ul:has(> li > img),.legacy ul:has(> li > a > img){grid-template-columns:repeat(2,1fr)}}
/* 法人・業者向けの案内（作業13）：お客様向けフォームの上部とフッターに小さく */
.business-note{font-size:13px;color:var(--sub);margin:20px 0 16px;padding:6px 0 6px 12px;border-left:3px solid var(--line);line-height:1.7}
.business-note-h{font-weight:700;color:var(--ink);margin-right:.5em}
.business-note a{color:var(--green);font-weight:700}
.cf-turnstile{margin:8px 0 12px}
/* お墓のコラム（作業8） */
.col-article{display:flex;flex-direction:column;gap:20px}
.col-byline{font-size:14px;color:var(--sub)}
.col-lead{font-size:17px}
.col-toc{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 20px}
.col-toc-title{font-weight:700;margin-bottom:4px}
.col-toc ol{margin:0;padding-left:1.4em}
.col-body{background:#fff;border:1px solid var(--line);border-radius:12px;padding:28px;display:flex;flex-direction:column;gap:16px}
.col-body h2{font-size:23px;line-height:1.45;border-left:4px solid var(--green);padding-left:12px;margin-top:12px;scroll-margin-top:90px}
.col-body h3{font-size:18px;color:var(--green-dark);line-height:1.5}
.col-body ul,.col-body ol{margin:0;padding-left:1.4em}
.col-dl{margin:0}.col-dl dt{font-weight:700;color:var(--green-dark);margin-top:12px}.col-dl dd{margin:4px 0 0}
.col-steps{list-style:none;padding:0!important;display:flex;flex-direction:column;gap:12px}
.col-steps li{border:1px solid var(--line);border-radius:10px;padding:14px 16px;background:var(--bg)}
.col-steps li,.col-check li{margin-bottom:8px}
.col-check{list-style:none;padding-left:0!important}.col-check li{padding-left:1.6em;position:relative}.col-check li::before{content:"□";position:absolute;left:0;color:var(--green);font-weight:700}
.col-price th[scope=row]{text-align:left;white-space:normal;min-width:150px}
.col-th-note{display:block;font-size:12px;font-weight:400;color:var(--sub);white-space:normal}
.col-note{font-size:13px;color:var(--sub)}
.col-examples{margin:0}
.col-line{margin:4px 0}
.col-related ul{margin:12px 0 0;padding-left:1.4em}
.table-scroll{overflow-x:auto}
.col-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:20px;margin:24px 0}
.col-item{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:8px;text-decoration:none;color:var(--ink)}
.col-item:hover{border-color:var(--green)}
.col-cat{align-self:flex-start;font-size:12px;font-weight:700;color:var(--green);border:1px solid var(--green);border-radius:999px;padding:0 10px}
.col-item-title{font-size:19px;font-weight:700;line-height:1.5}
.col-item-desc{font-size:14px;color:var(--sub)}
.col-item-meta{font-size:12px;color:var(--sub)}
@media (max-width:767px){.col-body{padding:18px}.col-body h2{font-size:20px}}
/* ボタン：ポインタを合わせると少し浮き上がり、色が濃くなって押せることが分かるように（2026/11/7 確認用ページへのご意見） */
.btn{transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s,transform .15s}
.btn:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(23,61,49,.22)}
.btn:active{transform:translateY(0);box-shadow:0 2px 4px rgba(23,61,49,.2)}
.btn:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.btn-primary:hover{background:var(--green-dark);border-color:var(--green-dark)}
.btn-ghost:hover{background:#E8F1ED;color:var(--green-dark);border-color:var(--green-dark)}
.btn-line:hover{opacity:1;background:#05A647;border-color:#05A647;color:#fff;box-shadow:0 6px 14px rgba(5,140,60,.28)}
.header-tel{border-radius:8px;padding:4px 8px;transition:background-color .15s}
.header-tel:hover{background:#E8F1ED}
.header-tel:hover .tel-num{text-decoration:underline;text-underline-offset:3px}
@media (prefers-reduced-motion:reduce){.btn,.header-tel{transition:none}.btn:hover{transform:none}}
/* 大きなボタン（トップの「霊園を選んで資料請求」など）には右向きの矢印。ポインタを合わせると矢印が右へ動く */
.btn-lg::after{content:'›';font-size:1.35em;line-height:1;margin-left:2px;transition:transform .15s}
.btn-lg:hover::after{transform:translateX(4px)}
@media (prefers-reduced-motion:reduce){.btn-lg::after{transition:none}}
/* ロゴ：マークと社名の画像の右に、標語を文字で（画像の中の小さな文字より大きく読みやすく。2026/11/7 ご意見） */
.logo{flex-direction:row;align-items:center;gap:14px}
.logo img{height:44px}
.logo .logo-tag{font-size:16px;color:var(--ink);font-weight:500;letter-spacing:.04em;line-height:1.4;white-space:nowrap}
@media (max-width:1023px){.logo .logo-tag{font-size:14px}}
@media (max-width:767px){.logo img{height:36px}.logo .logo-tag{font-size:12px;white-space:normal;max-width:9em}}
.area-tabs{display:flex;flex-wrap:wrap;gap:6px}
.area-tab{font:inherit;font-size:14px;font-weight:700;min-height:40px;padding:0 14px;border-radius:8px;border:1px solid #CFCCC2;background:#fff;color:var(--ink);cursor:pointer;transition:background-color .15s,border-color .15s,color .15s}
.area-tab:hover{border-color:var(--green);color:var(--green)}
.area-tab[aria-selected="true"]{background:var(--green);border-color:var(--green);color:#fff}
.area-tab:focus-visible{outline:3px solid var(--green);outline-offset:2px}
.area-panel{display:flex;flex-direction:column;gap:10px}
.area-all{font-size:14px}
.hero-grid{align-items:start} /* 右の検索欄の高さが変わっても、左（ご家族に合うお墓を…）が上下に動かないように上でそろえる（2026/11/7 ご意見） */
.area-panel[hidden]{display:none}
/* 霊園カード：写真と霊園名のどちらを押しても詳しいページへ（2026/11/7 ご意見）。ポインタを合わせると写真が少し拡大し、名前に下線 */
.card-img-link{display:block;overflow:hidden}
.card-img-link .card-img{transition:transform .3s}
.card-img-link:hover .card-img{transform:scale(1.04)}
.card-title a:hover{text-decoration:underline;text-underline-offset:4px}
.card-title a::after{content:' ›';color:var(--green)}
.card:has(.card-img-link:hover) .card-title a{color:var(--green);text-decoration:underline;text-underline-offset:4px}
@media (prefers-reduced-motion:reduce){.card-img-link .card-img{transition:none}.card-img-link:hover .card-img{transform:none}}
.voice-card[hidden]{display:none}.more-link{font-size:15px}.more-link a::after{content:" ›"}
/* 暗い帯の上の白いボタン（「まとめて資料請求へ進む」など）：ポインタを合わせても文字が消えないように（2026/11/7 ご意見） */
.btn.btn-on-dark:hover{background:#E3EEE9;border-color:#E3EEE9;color:var(--green-dark)}
/* まとめて資料請求の上限（5か所）：6か所目を押したときの案内と、上限に達したボタンの見た目（2026/11/7 ご意見） */
.pick.is-full,.opt.is-full{opacity:.55;border-style:dashed}
/* 5か所選んだあとの、まだ選んでいないボタン：文字を差し替えて1行のまま（「（上限）」を足すと折り返していた。2026/11/8 ご指摘） */
.pick .pick-full{display:none}
.pick.is-full .pick-off{display:none}
.pick.is-full .pick-full{display:inline;font-weight:500;font-size:14px}
.pick{white-space:nowrap}
.pick-toast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:60;width:min(520px,calc(100% - 32px));background:#fff;border:2px solid var(--green);border-radius:12px;box-shadow:0 10px 30px rgba(23,61,49,.25);padding:16px 18px;display:flex;flex-direction:column;gap:8px;font-size:15px}
.pick-toast[hidden]{display:none}
.pick-toast.show{animation:pick-in .2s ease-out}
.pick-toast-btns{display:flex;flex-wrap:wrap;gap:8px}
.pick-toast .btn-sm::after{content:none}
@keyframes pick-in{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}
.shake{animation:pick-shake .35s}
@keyframes pick-shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
@media (max-width:767px){.pick-toast{bottom:calc(96px + env(safe-area-inset-bottom,0px))}}
@media (prefers-reduced-motion:reduce){.pick-toast.show,.shake{animation:none}}
/* トップ：「選ばれる理由」は深緑の帯、「お墓が建つまで」は線でつないだ流れ図にして、同じ形が続かないように（2026/11/7 ご意見） */
.reasons-band{background:var(--green-dark);color:#fff;margin:24px 0}
.reasons-in{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:40px;padding-top:48px;padding-bottom:48px;align-items:start}
.reasons-head{display:flex;flex-direction:column;gap:18px}
.reasons-band .section-title{color:#fff;font-size:30px;line-height:1.5}
.eyebrow-on-dark{color:#BFE3D2}
.reasons-stats{margin:0;display:flex;gap:28px}
.reasons-stats dt{font-size:13px;color:#BFE3D2}
.reasons-stats dd{margin:0;font-size:15px}
.reasons-stats strong{font-family:'Noto Serif JP',serif;font-size:44px;line-height:1.1;margin-right:2px}
.reasons-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.reasons-list li{padding:20px 0;border-top:1px solid rgba(255,255,255,.22);display:flex;flex-direction:column;gap:6px}
.reasons-list li:first-child{border-top:0;padding-top:0}
.reasons-list h3{font-family:'Noto Serif JP',serif;font-size:21px}
.reasons-list p{color:#DCE9E3}
.flow{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 20px;position:relative}
.flow::before{content:'';position:absolute;left:28px;right:calc(25% - 8px);top:27px;height:2px;background:var(--line)}
.flow li{position:relative;display:flex;flex-direction:column;gap:14px}
.flow-no{position:relative;z-index:1;width:56px;height:56px;border-radius:50%;background:#fff;border:2px solid var(--green);color:var(--green);font-family:'Noto Serif JP',serif;font-size:24px;font-weight:700;display:flex;align-items:center;justify-content:center}
.flow li:first-child .flow-no{background:var(--green);color:#fff}
.flow-body{display:flex;flex-direction:column;gap:6px}
.flow-body h3{font-size:18px}
.flow-body p{font-size:15px;color:var(--sub)}
.flow-link{font-weight:700;font-size:15px;margin-top:4px}
.flow-link::after{content:' ›'}
@media (max-width:959px){.reasons-in{grid-template-columns:minmax(0,1fr);gap:28px}}
@media (max-width:767px){
  .reasons-in{padding-top:36px;padding-bottom:36px}
  .reasons-band .section-title{font-size:24px}
  .reasons-stats strong{font-size:36px}
  .flow{grid-template-columns:minmax(0,1fr);gap:0}
  .flow::before{left:27px;right:auto;top:28px;bottom:28px;width:2px;height:auto}
  .flow li{flex-direction:row;gap:16px;padding-bottom:24px}
  .flow li:last-child{padding-bottom:0}
  .flow-no{flex:none;width:56px;height:56px}
}

/* ---- トップの検索（案B「条件でさがす」＋案D「家から近い順」：2026/11/7 豊沢様決定）---- */

.search-b{gap:14px}
.sb-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.search-b .field select{font:inherit;font-size:16px;min-height:48px;padding:0 12px;border:1px solid #BDB9AE;border-radius:8px;background-color:#fff;width:100%}
.search-b .field select:disabled{background-color:#F1F0EA;color:#9A9890}
.search-b .chip[aria-pressed="true"]{background:var(--green);border-color:var(--green);color:#fff}
.sb-result{background:#fff;border-radius:10px;padding:12px 16px;display:flex;flex-direction:column;gap:2px}
.sb-result strong{font-size:28px;font-family:'Noto Serif JP',serif;color:var(--green);font-variant-numeric:tabular-nums}
.sb-names{font-size:13px;color:var(--sub)}
.sb-more{font-weight:700;white-space:nowrap}
.sb-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid #CFCCC2;border-radius:10px;overflow:hidden;background:#fff}.sb-tab{font:inherit;font-size:15px;font-weight:700;min-height:46px;border:0;background:#fff;color:var(--ink);cursor:pointer;transition:background-color .15s,color .15s}.sb-tab:hover{color:var(--green);background:#E8F1ED}.sb-tab[aria-selected="true"]{background:var(--green);color:#fff}.sb-tab:focus-visible{outline:3px solid var(--green);outline-offset:-3px}.sb-pane{display:flex;flex-direction:column;gap:14px}.sb-pane[hidden]{display:none}.sd-panel{display:flex;flex-direction:column;gap:10px}
.sd-panel[hidden]{display:none}
.sd-list{margin:0;padding-left:1.4em;display:flex;flex-direction:column;gap:6px;font-size:15px}
.sd-list a{font-weight:700}
.sd-list small{color:var(--sub);font-size:13px;margin-left:6px}
@media (max-width:767px){.sb-grid{grid-template-columns:1fr}}

/* 住所を入れて近い順（案D改） */
.ns{display:flex;flex-direction:column;gap:10px}
.ns-row{display:flex;flex-wrap:wrap;gap:8px;align-items:stretch}
.ns-box{position:relative;flex:1 1 240px;min-width:0}
.ns-box input{font:inherit;font-size:16px;width:100%;min-height:48px;padding:0 14px;border:1px solid #BDB9AE;border-radius:8px;background:#fff}
.ns-box input:focus-visible{outline:3px solid #245C4A;outline-offset:1px}
.ns-sug{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:20;list-style:none;margin:0;padding:4px;background:#fff;border:1px solid #CFCCC2;border-radius:10px;box-shadow:0 8px 24px rgba(30,36,32,.15);max-height:320px;overflow:auto}
.ns-sug[hidden]{display:none}
.ns-sug li[role=option]{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:8px;cursor:pointer;font-size:15px}
.ns-sug li[role=option]:hover,.ns-sug li.is-active{background:#E8F1ED}
.ns-sug small{color:#59605B;font-size:12px;white-space:nowrap}
.ns-hint{padding:8px 12px;font-size:13px;color:#59605B}
.ns-geo{font:inherit;font-size:14px;font-weight:700;min-height:48px;padding:0 14px;border:2px solid #245C4A;border-radius:8px;background:#fff;color:#245C4A;cursor:pointer;white-space:nowrap}
.ns-geo:hover{background:#E8F1ED}
.ns-geo::before{content:'◎ '}
.ns-note{font-size:13px;color:#59605B}
.ns-area{font-size:12px;color:#59605B}

/* 案B：スマホでは、選ぶ欄（プルダウン）をボタンに置きかえて、指で1回タップで選べるように */
.sp-chips{display:none}
.search-b,.search-b .field,.hero-grid>*{min-width:0}
@media (max-width:767px){
  .search-b .sb-grid{grid-template-columns:1fr}
  .search-b .has-sp select{display:none}
  .search-b .sp-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .search-b .sp-chips::-webkit-scrollbar{display:none}
  .search-b .sp-chips .chip{flex:none;min-height:44px;font-size:15px}
  .search-b #sb-types{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .search-b #sb-types .chip{justify-content:center;min-height:48px;font-size:15px}
  .search-b .sb-city-field{display:none}
  .search-b .sb-city-field.is-open{display:flex}
  /* 件数の箱は、スクロールについてこないようにした（2026/11/8 ご指摘：スマホで画面をふさいでいた） */
}

.mini-list li.has-link{display:block;padding:0}
.mini-list .li-link{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 16px;padding:10px 8px;color:var(--ink);text-decoration:none;border-radius:8px;transition:background-color .15s}
.mini-list .li-link:hover{background:#E8F1ED}
.mini-list .li-link:hover .nm{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.mini-list .li-link .nm::after{content:' ›';color:var(--green)}


.sd-list a{font-weight:700}
.sb-names a.li-name{color:var(--sub)}

/* 霊園の地図（見本） */
.rmap{position:relative;border:1px solid #DAD8D0;border-radius:12px;overflow:hidden;background:#EEF3F5}
.rmap-stage{height:340px;touch-action:none;cursor:grab}
.rmap-stage:active{cursor:grabbing}
.rmap svg{width:100%;height:100%;display:block}
.rmap-base path{fill:#F2F1EC;stroke:#B9B6AC}
.rmap-base path.is-main{fill:#FFFFFF}
.rmap-lab text{fill:#8C8A82;font-family:'Noto Sans JP',sans-serif;pointer-events:none}
.rmap-pts circle{fill:#245C4A;stroke:#fff;cursor:pointer}
.rmap-pts circle.is-on{fill:#C77A12}
.rmap-pts circle:focus-visible{outline:none;stroke:#C77A12}
.rmap-home circle{fill:#B5462E;stroke:#fff}
.rmap-ctrl{position:absolute;right:10px;top:10px;display:flex;flex-direction:column;gap:6px}
.rmap-ctrl button{width:40px;height:40px;border-radius:8px;border:1px solid #CFCCC2;background:#fff;font-size:20px;cursor:pointer}
.rmap-ctrl button:hover{background:#E8F1ED}
.rmap-pop{position:absolute;z-index:3;width:min(260px,calc(100% - 16px));background:#fff;border:1px solid #CFCCC2;border-radius:10px;box-shadow:0 6px 18px rgba(30,36,32,.18);padding:12px 34px 12px 14px;font-size:14px;display:flex;flex-direction:column;gap:4px}
.rmap-pop[hidden]{display:none}
.rmap-nm{font-weight:700}
.rmap-sm{font-size:12px;color:#59605B}
.rmap-go{font-weight:700}
.rmap-x{position:absolute;right:6px;top:6px;width:28px;height:28px;border:0;background:none;font-size:18px;cursor:pointer;color:#59605B}
.rmap-legend{position:absolute;left:10px;bottom:8px;margin:0;background:rgba(255,255,255,.9);border-radius:6px;padding:4px 8px;font-size:12px;color:#59605B}
.rmap-dot,.rmap-home-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#245C4A;vertical-align:-1px;margin-right:4px}
.rmap-home-dot{background:#B5462E}
/* 地理院地図を敷いたとき（TASKS 36）：都県の塗りを消して境界線だけ薄く残す。都県名は地図の文字と重なるので消す */
.rmap.has-tiles .rmap-base path,.rmap.has-tiles .rmap-base path.is-main{fill:none;stroke:#7F8C85;opacity:.6}
.rmap.has-tiles .rmap-lab{display:none}
.rmap-attr{position:absolute;right:6px;bottom:4px;margin:0;font-size:10px;background:rgba(255,255,255,.85);padding:1px 6px;border-radius:4px}
.rmap-attr a{color:#59605B}
@media (max-width:767px){.rmap-stage{height:300px}}
.sd-map .rmap-stage{height:260px}

.route{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;margin-top:2px}
.route a{font-weight:700;color:var(--green)}
.route a::after{content:' ↗';font-weight:400}
.acc{display:block;font-size:12px;color:var(--sub)}
.sb-names{min-height:2.9em}
.sb-result{min-height:96px}

.rmap-big{position:absolute;left:10px;top:10px;z-index:4;font:inherit;font-size:13px;font-weight:700;min-height:40px;padding:0 12px;border-radius:8px;border:1px solid #CFCCC2;background:#fff;color:#245C4A;cursor:pointer}
.rmap-big:hover{background:#E8F1ED}
.rmap.is-big{position:fixed;inset:0;z-index:1000;border-radius:0;border:0;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
.rmap.is-big .rmap-stage{height:100%}
.rmap.is-big .rmap-big{top:calc(10px + env(safe-area-inset-top,0px));left:calc(10px + env(safe-area-inset-left,0px))}
.rmap.is-big .rmap-ctrl{top:calc(10px + env(safe-area-inset-top,0px));right:calc(10px + env(safe-area-inset-right,0px))}
.rmap.is-big .rmap-legend{bottom:calc(10px + env(safe-area-inset-bottom,0px))}
html.rmap-lock,html.rmap-lock body{overflow:hidden}

.area-links{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px;padding-top:4px}.area-links a{color:var(--sub)}
.top-hero-img img{object-position:center 70%}
.btn.is-empty{opacity:.55}
/* 霊園一覧：絞り込みの条件（見出しのすぐ下） */
.cond-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:#E8F1ED;border-radius:10px;padding:10px 14px;margin:-4px 0 12px}
.cond-label{font-size:13px;font-weight:700;color:var(--green-dark)}
.cond-chip{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:999px;background:var(--green);color:#fff;font-size:14px;font-weight:700}
.cond-clear{margin-left:auto;font-size:14px;font-weight:700}
@media (max-width:767px){.cond-clear{margin-left:0;width:100%}}

/* フッター：法人・業者の方の窓口（お客様向けの導線より目立たせず、でも見つけやすく） */
.footer-business{width:100%;box-sizing:border-box;margin:8px 0 0;padding:14px 18px;border:1px solid rgba(230,228,222,.35);border-radius:10px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px}
.footer-business p{margin:0}
.footer-business-title{font-weight:700;color:#fff}
.footer-business-text{font-size:13px;color:#C9C7C0;flex:1 1 18em}
.site-footer .footer-business-link{display:inline-block;padding:8px 14px;border-radius:6px;background:rgba(255,255,255,.1);color:#fff;font-weight:700;text-decoration:none;white-space:nowrap}
.site-footer .footer-business-link:hover,.site-footer .footer-business-link:focus-visible{background:rgba(255,255,255,.2);text-decoration:underline}

/* トップ：お墓のコラム（新しい4件をサムネイルつきで） */
.column-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:12px}
.column-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;text-decoration:none;color:var(--ink);min-width:0}
.column-card:hover,.column-card:focus-visible{border-color:var(--accent)}
.column-card:hover .column-title{text-decoration:underline}
.column-card img,.column-noimg{display:block;width:100%;aspect-ratio:16/10;height:auto;object-fit:cover;background:#E9E7E0}
.column-body{display:flex;flex-direction:column;gap:4px;padding:10px 12px 14px}
.column-title{font-weight:700;font-size:15px;line-height:1.5}
@media (max-width:900px){.column-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.column-title{font-size:14px}}
.side-more{font-weight:700;color:var(--accent)}

/* メニュー（ハンバーガー）：ヘッダーのボタン＋下へ送ったときの右上のボタン。中は全ページの一覧 */
.menu-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.menu-btn:hover,.menu-btn:focus-visible{border-color:var(--green)}
.menu-icon{position:relative;display:inline-block;width:18px;height:2px;background:currentColor;border-radius:1px}
.menu-icon::before,.menu-icon::after{content:"";position:absolute;left:0;width:18px;height:2px;background:currentColor;border-radius:1px}
.menu-icon::before{top:-6px}.menu-icon::after{top:6px}
.menu-fab{position:fixed;top:12px;right:max(12px,env(safe-area-inset-right,0px));z-index:60;display:flex;align-items:center;gap:8px;min-height:48px;padding:0 16px;border:0;border-radius:24px;background:var(--green);color:#fff;font:inherit;font-size:14px;font-weight:700;box-shadow:0 4px 14px rgba(0,0,0,.18);cursor:pointer}
.menu-fab[hidden]{display:none}
.menu-fab:hover,.menu-fab:focus-visible{filter:brightness(1.1)}
.site-menu{border:0;padding:0;margin:0 0 0 auto;width:min(760px,100%);max-width:100%;height:100%;max-height:100%;background:var(--bg,#F6F5F1);color:var(--ink)}
.site-menu::backdrop{background:rgba(20,24,22,.45)}
.site-menu-in{padding:20px 24px 40px;display:flex;flex-direction:column;gap:20px}
.site-menu-head{display:flex;justify-content:space-between;align-items:center}
.site-menu-title{font-size:22px;font-weight:700}
.site-menu-x{min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:8px;background:#fff;font:inherit;font-size:14px;cursor:pointer;color:var(--ink)}
.site-menu-cta{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.site-menu-tel{display:flex;flex-direction:column;font-size:20px;font-weight:700;color:var(--green);text-decoration:none;line-height:1.2;margin-left:6px}
.site-menu-tel small{font-size:12px;font-weight:400;color:var(--sub)}
.site-menu-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 28px}
.site-menu-h{margin:14px 0 6px;font-size:13px;font-weight:700;color:var(--green);letter-spacing:.06em}
.site-menu-groups ul{list-style:none;margin:0;padding:0}
.site-menu-groups li a{display:block;padding:9px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;font-size:15px}
.site-menu-groups li a:hover,.site-menu-groups li a:focus-visible{color:var(--green);text-decoration:underline}
html.menu-lock{overflow:hidden}
@media (max-width:767px){
  .site-menu-in{padding:16px 16px calc(32px + env(safe-area-inset-bottom,0px))}
  .site-menu-groups{grid-template-columns:minmax(0,1fr)}
  .site-menu-cta .btn{flex:1 1 40%;justify-content:center}
  .menu-fab{min-height:44px;padding:0 14px}
  .menu-fab-label{font-size:13px}
}
/* スマホ：ロゴと LINE・メニューを1段に収める */
@media (max-width:767px){
  .header-top{flex-wrap:nowrap;gap:8px;padding-top:10px;padding-bottom:10px}
  .logo{min-width:0;gap:8px}
  .logo img{height:34px}
  .header-actions{gap:6px;flex:none}
  .header-actions .btn-line{min-height:44px;padding:0 10px;font-size:13px}
  .menu-btn{flex-direction:column;justify-content:center;gap:5px;min-height:44px;padding:4px 8px;font-size:10px;line-height:1}
  .menu-btn .menu-icon{margin-top:6px;margin-bottom:4px}
}
@media (max-width:400px){.logo .logo-tag{font-size:11px}}
@media (max-width:767px){.site-menu-groups ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}}

.gallery-zoom{position:relative;display:block;padding:0;border:0;background:none;cursor:zoom-in;width:100%}
.gallery-zoom-hint{position:absolute;right:10px;bottom:10px;background:rgba(20,24,22,.72);color:#fff;font-size:13px;font-weight:700;padding:6px 10px;border-radius:6px;pointer-events:none}
.photo-viewer{border:0;padding:0;margin:0;width:100%;max-width:100%;height:100%;max-height:100%;background:rgba(12,14,13,.94);color:#fff}
.photo-viewer::backdrop{background:rgba(12,14,13,.94)}
.pv-stage{position:absolute;inset:56px 0 64px;display:flex;align-items:center;justify-content:center}
.pv-stage img{max-width:calc(100% - 24px);max-height:100%;object-fit:contain;border-radius:6px}
.pv-x{position:absolute;top:10px;right:max(12px,env(safe-area-inset-right,0px));min-height:44px;padding:0 16px;border:1px solid rgba(255,255,255,.5);border-radius:8px;background:none;color:#fff;font:inherit;font-size:15px;cursor:pointer}
.pv-count{position:absolute;top:20px;left:16px;font-size:14px}
.pv-nav{position:absolute;bottom:calc(10px + env(safe-area-inset-bottom,0px));left:0;right:0;display:flex;justify-content:center;gap:12px}
.pv-nav button{min-width:120px;min-height:44px;border:1px solid rgba(255,255,255,.5);border-radius:8px;background:none;color:#fff;font:inherit;font-size:15px;cursor:pointer}
.pv-nav button:hover,.pv-x:hover{background:rgba(255,255,255,.12)}

/* 完売の霊園ページ：所在地などの下に「近くで販売中の霊園」を3件（右の空白を、次に見てほしい霊園で埋める。2026/11/7 ご意見） */
.near-mini{margin-top:18px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}
.near-mini-title{margin:0 0 8px;font-weight:700;font-size:15px}
.near-mini ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.near-mini li a{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--ink)}
.near-mini li a:hover .near-mini-name{text-decoration:underline;color:var(--green)}
.near-mini img,.near-mini-noimg{width:72px;height:48px;object-fit:cover;border-radius:6px;flex:none;background:#E9E7E0;display:block}
.near-mini li a>span{display:flex;flex-direction:column;min-width:0}
.near-mini-name{font-weight:700;font-size:14px;line-height:1.4}
.near-mini-sub{font-size:12.5px;color:var(--sub)}
.near-mini-more{display:inline-block;margin-top:10px;font-size:13px;font-weight:700;color:var(--green)}
@media (min-width:900px){.hero-2 .facts{grid-template-columns:76px minmax(0,1fr);column-gap:10px}}

/* お墓のコラム（/column/ の記事。写真なしの文字のカード） */
.column-card.is-text{border-top:4px solid var(--green)}
.column-card.is-text .column-body{padding:16px 16px 18px;gap:8px;height:100%}
.column-cat{align-self:flex-start;font-size:12px;font-weight:700;color:var(--green);background:#E8F1ED;padding:3px 8px;border-radius:4px}
.column-card.is-text .column-title{font-size:17px;font-family:var(--serif,'Noto Serif JP',serif)}
.column-desc{font-size:13.5px;color:var(--sub);line-height:1.7}
.column-more{margin-top:auto;font-size:14px;font-weight:700;color:var(--green)}
@media (min-width:901px){.column-grid:has(> :nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:900px){.column-grid:has(.is-text){grid-template-columns:minmax(0,1fr)}}

/* 見学予約の霊園：1行のプルダウン */
.reien-select{width:100%;min-height:52px;font:inherit;font-size:16px;padding:0 12px;border:1px solid #B9B6AB;border-radius:8px;background-color:#fff;color:var(--ink)}
.reien-select:focus-visible{outline:2px solid var(--green);outline-offset:1px}
/* パソコンのプルダウンでは、都県の見出しを緑の太字＋うすい背景に（スマホは端末の表示のまま） */
.reien-select optgroup{font-weight:700;font-style:normal;color:var(--green);background:#F1EEE6}
.reien-select option{font-weight:400;color:var(--ink);background:#fff}
.field-note{font-size:13px;color:var(--sub);margin:8px 0 0}

/* 送信ボタンの上の「ご入力内容」 */
.form-summary{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 18px;margin:8px 0 14px}
.form-summary-title{margin:0 0 8px;font-weight:700;font-size:15px}
.form-summary dl{margin:0;display:grid;grid-template-columns:7.5em minmax(0,1fr);gap:4px 12px;font-size:15px}
.form-summary dt{color:var(--sub)}
.form-summary dd{margin:0;font-weight:700;overflow-wrap:anywhere}
.form-summary dd.is-empty{font-weight:400;color:#A4402A}

/* 資料請求：選んだ霊園（外せるボタンつき）と「＋霊園を追加・変更する」 */
.picked-names .picked-chip{display:inline-flex;align-items:center;gap:4px;margin:6px 6px 0 0;padding:4px 4px 4px 10px;background:#E8F1ED;border-radius:999px;font-size:14px;font-weight:700;color:var(--ink)}
.picked-chip button{width:28px;height:28px;border:0;border-radius:50%;background:none;color:var(--sub);font-size:16px;cursor:pointer}
.picked-chip button:hover{background:rgba(0,0,0,.08);color:var(--ink)}
.reien-add{margin:10px 0 4px}
[hidden]{display:none !important}

/* 霊園ページ冒頭の要約 */
.reien-summary{margin:18px 0 18px;background:#E8F1ED;border-left:4px solid var(--green);border-radius:8px;padding:12px 16px}
.reien-summary p{margin:0;font-size:15px;line-height:1.85;color:var(--ink)}
.reien-summary .reien-summary-h{font-weight:700;color:var(--green);font-size:13px;letter-spacing:.06em;margin-bottom:4px}

/* 記事の最後の「関連する霊園」 */
.rel-reien-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.rel-reien-list li{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px}
.rel-reien-card{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-decoration:none;color:var(--ink)}
.rel-reien-card img,.rel-reien-noimg{width:96px;height:64px;object-fit:cover;border-radius:8px;flex:none;background:#E9E7E0;display:block}
.rel-reien-card>span{display:flex;flex-direction:column;min-width:0}
.rel-reien-name{font-weight:700}.rel-reien-card:hover .rel-reien-name{text-decoration:underline;color:var(--green)}
.rel-reien-sub{font-size:13px;color:var(--sub)}
@media (max-width:480px){.rel-reien-list li{flex-wrap:wrap}.rel-reien-list .btn{width:100%;justify-content:center}}

/* コラム：この記事の要点・関連する霊園 */
.col-points{background:#E8F1ED;border-radius:12px;padding:14px 18px;margin:4px 0 18px}
.col-points-title{margin:0 0 6px;font-weight:700;color:var(--green)}
.col-points ul{margin:0;padding-left:1.2em}
.col-points li{margin:4px 0;line-height:1.75}
.col-reien{margin-top:32px}

/* 県別ページの「市区町村から探す」・市区町村ページの交通 */
.city-nav{margin:10px 0}
.city-nav-title{margin:0 0 6px;font-weight:700;font-size:14px}
.city-access{list-style:none;margin:0;padding:0}
.city-access li{display:flex;flex-direction:column;gap:2px;padding:10px 0;border-bottom:1px solid var(--line)}
.city-access a{font-weight:700}
.city-access span{font-size:14px;color:var(--sub)}

.area-links-city{margin-top:4px}
.area-links-city a{font-size:13px}

.city-kind-h{font-size:17px;margin:16px 0 4px}
.city-kind-list{margin:0;line-height:1.9}

.col-area{margin:28px 0 8px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 18px;font-size:14px;line-height:1.9}
.col-area-title{margin:0 0 4px;font-weight:700;font-size:15px}
.col-area p{margin:0 0 6px}

.area-title-sub{font-size:.6em;font-weight:500;color:var(--sub);margin-left:.2em;letter-spacing:0;white-space:nowrap}
.page-end-cta{padding-top:8px;padding-bottom:16px}
main{padding-bottom:40px}
.page-top main{padding-bottom:0}

/* 「資料請求に追加」：選ぶとボタン全体が緑に反転し、文字も「追加済み」に（2026/11/7 ご意見） */
.pick{transition:background-color .15s,color .15s}
.pick .pick-on{display:none}
.pick.is-on,.pick:has(input:checked){background:var(--green);color:#fff}
.pick.is-on .pick-off,.pick:has(input:checked) .pick-off{display:none}
.pick.is-on .pick-on,.pick:has(input:checked) .pick-on{display:inline}
.pick.is-on input,.pick:has(input:checked) input{accent-color:#fff}
.pick:not(.is-on):hover{background:#E8F1ED}

.chips-hint{align-self:center;font-size:13px;color:var(--sub);margin-left:4px}

.city-nav-note{font-weight:400;font-size:12.5px;color:var(--sub);margin-left:6px}

/* 開閉式の一覧（お墓の種類・路線。案B） */
.kb-list{display:flex;flex-direction:column;gap:10px}
.kb-item{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.kb-item summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto 20px;gap:12px;align-items:center;padding:14px 18px;cursor:pointer;list-style:none}
.kb-item summary::-webkit-details-marker{display:none}
.kb-item summary::after{content:'＋';color:var(--green);font-weight:700}
.kb-item[open] summary::after{content:'－'}
.kb-item[open] summary{border-bottom:1px solid var(--line);background:#F4F8F6}
.kb-item summary:hover .kb-name{color:var(--green)}
.kb-ico-wrap{width:36px;height:36px;border-radius:50%;background:#E8F1ED;color:var(--green);display:flex;align-items:center;justify-content:center}
.kb-name{margin:0;font-size:16px;font-weight:700;line-height:1.4}
.kb-p{font-size:15px;font-weight:700;color:var(--green);white-space:nowrap}
.kb-sub{color:var(--sub);font-weight:500;font-size:14px}
.kb-item ul{list-style:none;margin:0;padding:4px 18px}
.kb-item li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:baseline;padding:10px 0;border-bottom:1px solid #EEECE6;font-size:15px}
.kb-item li>b,.kb-item li>.kb-ask{grid-column:3}
.kb-item li:last-child{border-bottom:0}
.kb-city{color:var(--sub);font-size:13px}
.kb-item li b{white-space:nowrap}
.kb-item li.kb-st{grid-template-columns:7em minmax(0,1fr)}
.kb-stname{font-weight:700}
.kb-item li.kb-st>.kb-stname{grid-column:1}
.kb-all{display:block;padding:12px 18px 16px;font-weight:700;color:var(--green)}
@media (max-width:600px){.kb-item summary{grid-template-columns:auto minmax(0,1fr) 18px;padding:12px 14px}.kb-p{display:none}.kb-name{font-size:15px}.kb-item ul{padding:2px 14px}.kb-item li{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"n p" "c p";row-gap:0}.kb-item li>a{grid-area:n}.kb-item li>.kb-city{grid-area:c;font-size:12.5px}.kb-item li>b,.kb-item li>.kb-ask{grid-area:p;align-self:center}.kb-item li.kb-st{grid-template-columns:minmax(0,1fr);grid-template-areas:none}.kb-item li.kb-st>*{grid-area:auto}}
.kb-ask{font-size:12.5px;color:var(--sub);white-space:nowrap}

/* カードの上限表示：カードが広いときは霊園ページと同じ「上限の5か所まで選択済み」、せまいときは「上限（5か所）」（隣の「詳しく」がつぶれないように） */
.card{container-type:inline-size}
.pick .pf-long{display:none}
@container (min-width:340px){.pick .pf-long{display:inline}.pick .pf-short{display:none}}

.jiin-tag{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:4px;background:#F1ECE2;color:#7A5A2E;font-size:11px;font-weight:700;vertical-align:2px;white-space:nowrap}

/* トップ「エリアから霊園・墓地を探す」（検索の箱の中から移した。2026/11/8 豊沢様） */
.area-find-list{margin:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:4px 18px}
.area-find-row{display:grid;grid-template-columns:9em minmax(0,1fr);gap:8px 16px;padding:12px 0;border-bottom:1px solid #EEECE6}
.area-find-row:last-child{border-bottom:0}
.area-find-row dt a{font-weight:700;color:var(--ink);text-decoration:none}
.area-find-row dt a:hover{color:var(--green);text-decoration:underline}
.area-find-row dd{margin:0;display:flex;flex-wrap:wrap;gap:4px 14px}
.area-find-row dd a{color:var(--green);font-size:15px}
.area-find-row span{font-size:12.5px;color:var(--sub);font-weight:400}
.area-find-tg{display:none}
@media (max-width:600px){
  .area-find-row{grid-template-columns:minmax(0,1fr);padding:0;gap:0}
  .area-find-row dt{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px}
  .area-find-tg:not([hidden]){display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 4px 0 12px;font:inherit;font-size:14px;color:var(--green);background:none;border:0;cursor:pointer}
  .area-find-tg::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
  .area-find-row.is-open .area-find-tg::after{transform:rotate(-135deg) translateY(-2px)}
  .area-find-list.is-collapsible .area-find-row:not(.is-open) dd{display:none}
  .area-find-row dd{padding:0 0 14px}
  .area-find-row dd a{min-height:36px;display:inline-flex;align-items:center}
}
/* 一覧の絞り込み：都県（ページを移る）とタイプ（この場で絞る）を別の段に分ける（2026/11/8） */
.find-box{margin-top:18px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.find-row{padding:14px 16px}
.find-row+.find-row{border-top:1px dashed var(--line)}
.find-type{background:#EEF4F0}
.find-label{margin:0 0 8px;font-weight:700;font-size:14px;color:var(--green-dark);display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px}
.find-label::before{content:"";width:4px;height:1em;border-radius:2px;background:var(--green)}
.find-label .chips-hint{margin-left:0;font-weight:400}
.find-area .city-nav{margin:12px 0 0}
.chip-check::before{content:"";width:14px;height:14px;margin-right:7px;border:1.5px solid #9AA39D;border-radius:3px;background:#fff;box-sizing:border-box;flex:none}
.chip-check.is-on::before{border-color:#fff;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23245C4A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat}
@media (max-width:600px){.find-row{padding:12px}}
.sb-opt{font-weight:400;color:var(--sub);font-size:12.5px}
/* 霊園ページの資料請求ボタン：スマホでは横いっぱいにして1行に収める（2026/11/8） */
@media (max-width:600px){
  .cta-box .cta-row{flex-direction:column;align-items:stretch}
  .cta-box .cta-row .btn-lg{width:100%;justify-content:center;padding:0 12px;font-size:16px;white-space:nowrap}
}
@media (max-width:340px){.cta-box .cta-row .btn-lg{font-size:15px}}
.photo-viewer{overflow:hidden}.pv-stage{touch-action:pan-y pinch-zoom}.pv-stage img{will-change:transform}
.city-more-tg{display:none}
@media (max-width:600px){
  .city-nav.is-collapsible:not(.is-open) .city-more{display:none}
  .city-more-tg:not([hidden]){display:inline-flex;font:inherit;font-size:14px;color:var(--green);border-style:dashed;cursor:pointer}
}
/* よくあるご質問：Q と A の印をつけ、質問ごとに区切る（2026/11/8 豊沢様） */
.faq-dl{margin:0;border-top:1px solid var(--line)}
.faq-dl dt,.faq-dl dd{position:relative;padding-left:44px}
.faq-dl dt{margin:0;padding-top:18px;font-weight:700;color:var(--ink);font-size:16.5px;line-height:1.6}
.faq-dl dd{margin:10px 0 0;padding-bottom:18px;border-bottom:1px solid var(--line);color:var(--ink)}
.faq-dl dt::before,.faq-dl dd::before{position:absolute;left:0;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px;font-family:var(--serif, serif)}
.faq-dl dt::before{content:"Q";top:15px;background:var(--green);color:#fff}
.faq-dl dd::before{content:"A";top:-2px;background:#fff;color:#B5722E;border:1.5px solid #D9A36A;box-sizing:border-box}
.kb-rs{display:flex;flex-wrap:wrap;gap:6px 18px}.kb-r .jiin-tag{margin-left:5px}
/* ---- 県 × お墓の種類のページ（/reienbochi/saitama/jumokusou.html など。作業20） ---- */
.pk-summary ul{margin:0;padding-left:1.2em;font-size:15px;line-height:1.85}
.pk-summary b{color:var(--green-dark)}
.pk-toc{margin-top:18px}
.pk-table td.num{white-space:nowrap}
.pk-h3{font-size:18px;font-weight:700;margin:24px 0 10px}
.pk-bands{list-style:none;margin:0 0 12px;padding:0;background:#fff;border:1px solid var(--line);border-radius:12px}
.pk-bands li{display:grid;grid-template-columns:9em 4.5em minmax(0,1fr);gap:4px 12px;padding:12px 16px;border-bottom:1px solid #ECEAE3;align-items:baseline}
.pk-bands li:last-child{border-bottom:0}
.pk-band{font-weight:700}
.pk-band-n{color:var(--green-dark);font-weight:700}
.pk-band-r{font-size:14px}
.pk-more .find-label{margin-bottom:8px}
@media (max-width:767px){
  .pk-bands li{grid-template-columns:auto 1fr}
  .pk-band-r{grid-column:1/-1}
  .pk-table td:nth-child(4){text-align:left}
  .pk-table td:nth-child(5){text-align:right;align-self:center;font-size:13px;color:var(--sub)}
  .pk-table td:nth-child(5)::before{content:'年間管理料 '}
}

/* プルダウンの「∨」：機種ごとの標準の矢印は右端に寄りすぎるので、自前の矢印を少し内側（右から16px）に置く（2026/11/11 豊沢様。全サイト共通） */
select:not([multiple]):not([size]){-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23245C4A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:12px 8px;padding-right:44px !important}
select:not([multiple]):not([size]):disabled{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23A6A49C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
select::-ms-expand{display:none}
/* 霊園ページ：「◯◯霊園のポイント」は番号つきの枠、「大塚スタッフからのコメント」は吹き出し（案D。2026/11/11 豊沢様） */
/* 見出しは枠の上の線に重ねる。霊園名が長くて2行になっても下の項目に重ならないよう、絶対配置にせず流れの中に置く（2026/11/16 豊沢様ご指摘） */
.rp-box{--rp-pt:34px;position:relative;border:2px solid var(--green);border-radius:10px;background:#fff;padding:var(--rp-pt) 20px 18px;margin-top:30px}
.rp-title{position:relative;width:fit-content;max-width:100%;margin:calc(-1 * var(--rp-pt) - 19px) 0 12px -4px;background:var(--green);color:#fff;font-size:17px;font-weight:700;padding:4px 16px;border-radius:6px;line-height:1.5}
.rp-list{list-style:none;margin:0;padding:0;counter-reset:pt;display:flex;flex-direction:column;gap:10px}
.rp-list li{counter-increment:pt;display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start;line-height:1.7}
.rp-list li::before{content:counter(pt);display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;background:var(--green);color:#fff;font-weight:700;font-size:15px}
.rc-fig{margin:0;display:grid;grid-template-columns:64px 1fr;gap:14px;align-items:start}
.rc-face{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12px;color:var(--sub);text-align:center;line-height:1.4}
.rc-icon{width:56px;height:56px;border-radius:50%;background:#E8F1ED;border:2px solid var(--green);display:flex;align-items:center;justify-content:center;color:var(--green)}
.rc-icon svg{width:32px;height:32px}
.rc-fig blockquote{position:relative;margin:0;background:#fff;border:1px solid #C9D9D1;border-radius:12px;padding:14px 16px;line-height:1.9}
.rc-fig blockquote::before{content:"";position:absolute;left:-9px;top:20px;width:16px;height:16px;background:#fff;border-left:1px solid #C9D9D1;border-bottom:1px solid #C9D9D1;transform:rotate(45deg)}
.rc-fig blockquote p{margin:0}
@media (max-width:640px){.rp-box{--rp-pt:32px;padding:var(--rp-pt) 14px 14px}.rc-fig{grid-template-columns:52px 1fr;gap:10px}.rc-icon{width:48px;height:48px}}
/* コラムの監修者欄 */
.col-sup{display:flex;gap:16px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px}
.col-sup img{width:96px;height:96px;border-radius:50%;object-fit:cover;flex-shrink:0}
.col-sup-label{font-size:13px;font-weight:700;color:var(--green)}
.col-sup-name{font-size:19px;font-weight:700}.col-sup-name span{font-size:13px;font-weight:400;color:var(--sub);margin-left:8px}
.col-sup-role{font-size:14px;color:var(--sub)}
.col-sup-profile{font-size:14px;margin-top:6px}
.col-sup-quals{font-size:13px;color:var(--sub);margin-top:6px;line-height:1.7}.col-sup-quals-h{display:block;font-weight:700;color:var(--ink,#333)}
/* 保有資格は横に並べて「／」で区切る（2026/11/14 確認用ページへのコメント） */
.col-sup-quals .q{display:inline}.col-sup-quals .q+.q{white-space:nowrap}.col-sup-quals .q+.q::before{content:'／';margin:0 2px}
.col-sup{align-items:flex-start}
@media (max-width:600px){.col-sup{flex-direction:column;gap:10px}.col-sup img{width:80px;height:80px}}

/* フッターの社名をロゴに（濃い背景なので白い台に載せる。2026/11/11 豊沢様） */
.footer-logo{display:inline-flex;align-self:flex-start;background:#fff;border-radius:8px;padding:8px 12px;margin-bottom:4px}
.footer-logo img{display:block;width:130px;height:auto}
/* Instagram のボタン：スマホで2行になっても窮屈にならないように（2026/11/11 豊沢様） */
.insta-btn{height:auto;min-height:44px;padding:10px 18px;line-height:1.5;white-space:normal;text-align:center}
@media (max-width:600px){.insta-line .insta-btn{display:flex;width:100%;justify-content:center;padding:12px 16px}}
/* Instagram のアイコンは少し大きく（スマホではさらに大きく。2026/11/11 豊沢様） */
.insta-btn svg{width:22px;height:22px;flex:none}
@media (max-width:600px){.insta-btn svg{width:28px;height:28px}.insta-line .insta-btn{gap:10px}}
/* 「お墓110番」（小冊子）の案内（2026/11/11 豊沢様） */
.book110{display:flex;align-items:flex-start;gap:8px;margin:12px 0;padding:10px 14px;border-radius:8px;background:#FBF4E6;color:#6B4A12;font-size:14.5px;font-weight:700;line-height:1.6}
.book110-ico{flex:none;color:#B5722E;margin-top:1px}
.cta-box .book110{margin:14px 0 4px}
/* 価格表：スマホでは長い文のマスに幅をとり、表は横に動かして見る（縦に細長くならないように。2026/11/11 豊沢様） */
.table-hint{margin:0 0 6px;font-size:13px;color:var(--sub);text-align:right}
@media (max-width:767px){
  .price-table td,.price-table th{min-width:4.8em}
  .price-table td.long{min-width:15em;text-align:left;line-height:1.6}
  .price-table td.num{white-space:nowrap}
}
/* 価格表のスマホ用カード（2026/11/11 豊沢様） */
.pc{display:flex;flex-direction:column;gap:10px}
.pc-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 14px 12px}
.pc-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:0 0 6px}
.pc-name{font-weight:700;font-size:16px}
.pc-tag{font-size:12.5px;font-weight:700;color:var(--green);background:#EEF4F0;border-radius:999px;padding:1px 10px}
.pc-note{font-size:13.5px;color:var(--sub);line-height:1.7;margin:0 0 8px}
.pc-meta{display:flex;flex-wrap:wrap;gap:2px 14px;font-size:13.5px;margin:0 0 8px}.pc-meta b{font-weight:400;color:var(--sub);margin-right:4px}
.pc-row{border-top:1px solid #EEECE6;padding:10px 0 2px}.pc-row:first-of-type{border-top:0}
.pc-row-name{font-weight:700;font-size:14.5px;margin:0 0 4px}
.pc-prices{display:grid;grid-template-columns:1fr auto;gap:2px 12px;margin:0;font-size:14px}
.pc-prices dt{color:var(--sub)}.pc-prices dd{margin:0;text-align:right;white-space:nowrap}
.pc-prices dd.main{font-size:18px;font-weight:700;color:var(--green-dark)}
/* お客様の声の写真：押すと拡大（2026/11/11 豊沢様） */
.voice-zoom{display:block;position:relative;width:100%;padding:0;border:0;background:none;cursor:zoom-in;font:inherit}
.voice-zoom-label{position:absolute;right:8px;bottom:8px;padding:3px 10px;border-radius:6px;background:rgba(20,24,22,.72);color:#fff;font-size:13px;font-weight:700}
.voice-zoom:focus-visible{outline:3px solid var(--green);outline-offset:2px}
/* 市区町村ページ：よくある質問の「どの駅から行けますか」を駅ごとの行に（2026/11/11 豊沢様） */
.faq-st{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.faq-st li{padding:0}
.faq-st b{display:block;font-weight:700}
.faq-st li>span{display:block}
.city-access .jiin-tag{margin-right:6px}
.opt .jiin-tag{margin-left:6px}
/* コラム「地域から霊園・墓地を探す」：都県ごとの段に、押しやすい大きさのリンク（2026/11/11 豊沢様） */
.col-area{line-height:1.6}
.col-area-row{padding:10px 0;border-top:1px solid #EEECE6}
.col-area-row:first-of-type{border-top:0}
.col-area-pref{display:inline-block;font-weight:700;font-size:15px;margin:0 0 6px}
.col-area-links{display:flex;flex-wrap:wrap;gap:6px}
.col-area-links a{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border:1px solid #CFCCC2;border-radius:999px;background:#fff;color:var(--ink);text-decoration:none;font-size:13.5px}
.col-area-links a:hover{border-color:var(--green);color:var(--green)}
/* 霊園ページ（1段の並び）：右側の箱のあと、フッターまでの空きを詰める（2026/11/11 豊沢様） */
@media (max-width:959px){.layout{padding-bottom:0}}
/* 右側（スマホでは下）の電話の箱：スマホだけ、右の空きに「電話する」の丸いボタン（2026/11/11 豊沢様。パソコンでは押しても電話がかからないことが多いので出さない） */
.side-tel-call{display:none}
@media (max-width:959px){
  .side-tel{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:center}
  .side-tel>p:first-child,.side-tel>a:not(.side-tel-call),.side-tel-hours{grid-column:1}
  .side-tel .side-tel-call{grid-column:2;grid-row:1 / span 3;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:84px;height:84px;border-radius:50%;background:#fff;color:var(--green);font-size:13px;font-weight:700}
  .side-tel .side-tel-call svg{width:26px;height:26px}
}
.pv-cap{position:absolute;left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom,0px));margin:0;text-align:center;font-size:14px;color:#E6E4DE;padding:0 16px}.pv-cap:empty{display:none}
/* 霊園ページ：近くの霊園と総額をくらべる表（2026/11/11） */
.compare-table th[scope="row"]{text-align:left;font-weight:700;white-space:normal;background:none}
.compare-table th[scope="row"] small{display:block;font-weight:400;font-size:12.5px;color:var(--sub)}
.compare-table tr.is-self{background:#EEF4F0}
.compare-table{width:100%;border-collapse:collapse}
.compare-table th,.compare-table td{padding:12px 14px;border-bottom:1px solid #ECEAE3;vertical-align:middle}
.compare-table td.num{white-space:nowrap;text-align:right}
@media (max-width:600px){
  .compare-table thead{display:none}
  .compare-table tr{display:block;padding:12px 14px;border-bottom:1px solid #ECEAE3}
  .compare-table th[scope="row"],.compare-table td{display:flex;justify-content:space-between;align-items:baseline;padding:2px 0;border:0}
  .compare-table th[scope="row"]{display:block;margin-bottom:4px}
  .compare-table td::before{content:attr(data-label);color:var(--sub);font-size:13.5px}
}
/* メニューとフッター：すべてのページへのリンクを4つのまとまりで（霊園・墓地を探す／お墓の種類・お墓のこと／読みもの／大塚について）。2026/11/11 豊沢様 */
.site-menu-groups{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:959px){.site-menu-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.site-menu-groups{grid-template-columns:minmax(0,1fr)}}
.ext{font-size:.8em;margin-left:4px}
.footer-sitemap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 28px;width:100%;order:2}
.footer-sitemap .site-menu-h{color:#fff;opacity:.75}
.footer-sitemap ul{list-style:none;margin:0;padding:0}
.footer-sitemap li a{display:block;padding:5px 0;color:#E6E4DE;text-decoration:none;font-size:13.5px;line-height:1.6}
.footer-sitemap li a:hover,.footer-sitemap li a:focus-visible{text-decoration:underline;color:#fff}
.site-footer .footer-business{order:3}
@media (max-width:959px){.footer-sitemap{grid-template-columns:repeat(2,minmax(0,1fr))}}
.footer-legal{order:4;width:100%;margin:0;font-size:13px}
@media (max-width:767px){.footer-sitemap li a{padding:8px 0}}
/* SNS（Instagram・Facebook・note）のアイコン */
.sns-links{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.sns-links a{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border-radius:22px;border:1px solid currentColor;text-decoration:none;font-size:13.5px;font-weight:700}
.sns-links svg{flex:none}
.site-footer .sns-links a{color:#fff;border-color:rgba(255,255,255,.45)}
.site-footer .sns-links a:hover,.site-footer .sns-links a:focus-visible{background:rgba(255,255,255,.12)}
.site-menu-sns{margin-top:20px;padding-top:12px;border-top:1px solid var(--line)}
.site-menu-sns .sns-links a{color:var(--green)}
/* トップ：選ばれる理由の「10の安心」へのリンク、お墓のストーリーのカード（2026/11/11 豊沢様） */
.reasons-more{grid-column:2;margin:4px 0 0}
/* 目立つように白い枠のボタンに（2026/11/11 豊沢様）。資料請求（緑の塗りボタン）より一段控えめ */
.reasons-more a{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 26px;border:1.5px solid rgba(255,255,255,.9);border-radius:8px;color:#fff;font-weight:700;font-size:16px;text-decoration:none;transition:background .15s,color .15s}
.reasons-more a::after{content:"›";font-size:20px;line-height:1}
.reasons-more a:hover,.reasons-more a:focus-visible{background:#fff;color:var(--green-dark)}
@media (max-width:767px){.reasons-more{grid-column:auto}.reasons-more a{width:100%;justify-content:center}}
.story-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.story-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;color:var(--ink);text-decoration:none}
.story-card img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block}
.story-body{display:flex;flex-direction:column;gap:4px;padding:14px 16px}
.story-name{font-weight:700;font-size:16px}
.story-meta{font-size:13px;color:var(--sub)}
.story-card:hover .story-name,.story-card:focus-visible .story-name{color:var(--green);text-decoration:underline}
@media (max-width:767px){.story-list{grid-template-columns:minmax(0,1fr)}}
/* 「10の安心」のページ：番号つきのカード */
.anshin-lead{font-size:16px;margin:0 0 20px}
.anshin-list{list-style:none;margin:0;padding:0;display:grid;gap:18px}
.anshin-item{position:relative;display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px;align-items:start;padding:20px;border:1px solid var(--line);border-radius:12px;background:#fff}
.anshin-item img{width:100%;height:auto;border-radius:8px;display:block;margin:0 !important;float:none !important}
.anshin-no{position:absolute;left:-8px;top:-10px;background:var(--green);color:#fff;font-weight:700;font-size:14px;padding:4px 10px;border-radius:14px}
.anshin-body h2{font-size:20px;line-height:1.5;margin:0 0 8px;color:var(--green-dark,var(--ink))}
.anshin-body p{margin:0 0 8px;line-height:1.9}
@media (max-width:767px){.anshin-item{grid-template-columns:minmax(0,1fr);padding:16px}.anshin-body h2{font-size:18px}}
.legacy:has(.anshin-list){border:0;padding:0;background:none;box-shadow:none}
/* お墓のストーリー 一覧（/ohaka-story/）：特設ページらしい見た目（2026/11/11）。明朝体・生成りの地・金の細い線・縦書きの題名 */
body:has(.story-index){--si-gold:#A88B4E;--si-paper:#FBF7EE;--si-ink:#2B2620;--si-serif:'Shippori Mincho','Noto Serif JP',serif;background:var(--si-paper)}
body:has(.story-index) .page-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.legacy:has(.story-index){border:0;padding:0;background:none;margin-top:20px}
.story-index{display:flex;flex-direction:column;gap:48px;color:var(--si-ink)}
.story-index p{margin:0}
.story-index .block-title{font-family:var(--si-serif);font-weight:700;border-left:0;padding-left:0;text-align:center;font-size:26px;letter-spacing:.12em;color:var(--si-ink)}
.story-index .block-title::after{content:"";display:block;width:56px;height:1px;background:var(--si-gold);margin:14px auto 0}
.si-hero{margin:0;position:relative;border-radius:4px;overflow:hidden;box-shadow:0 0 0 1px rgba(168,139,78,.35)}
.si-hero img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover;border-radius:0}
.si-hero-title{position:absolute;top:24px;right:28px;white-space:nowrap;display:flex;flex-direction:row-reverse;gap:14px;writing-mode:vertical-rl;padding:22px 14px;background:rgba(251,247,238,.9);border:1px solid var(--si-gold)}
.si-hero-main{font-family:var(--si-serif);font-weight:700;font-size:28px;letter-spacing:.12em;color:var(--si-ink)}
.si-hero-sub{font-family:var(--si-serif);font-size:15px;letter-spacing:.3em;color:var(--si-gold);padding-top:2.4em}
.si-hero figcaption{position:absolute;left:0;bottom:0;padding:8px 16px;background:linear-gradient(90deg,rgba(0,0,0,.55),transparent);color:#fff;font-size:13px;font-family:var(--si-serif)}
.story-index .si-intro{text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px;max-width:760px;margin:0 auto;padding:8px 32px 0}
.si-intro p:not(.si-eyebrow):not(.section-note){line-height:2.1}
.si-eyebrow{font-family:var(--si-serif);font-size:13px;letter-spacing:.4em;color:var(--si-gold)}
.si-h2{font-family:var(--si-serif);font-weight:700;font-size:26px;line-height:1.8;margin:0 0 6px;color:var(--si-ink);letter-spacing:.06em}
.si-intro .btn{font-family:var(--si-serif);border-color:var(--si-gold);color:var(--si-ink);background:#fff}
.si-intro .btn:hover{background:var(--si-gold);color:#fff}
.si-lineup,.si-flow{display:flex;flex-direction:column;gap:18px}
.si-lineup>p{text-align:center;font-family:var(--si-serif);line-height:2}
.si-grid{list-style:none;margin:0;padding:0!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px}
.si-grid li{margin:0}
.si-grid a{display:flex;flex-direction:column;gap:6px;height:100%;background:#fff;border:1px solid rgba(168,139,78,.4);border-radius:2px;overflow:hidden;text-decoration:none;color:var(--si-ink);transition:box-shadow .2s,transform .2s}
.si-grid a:hover{box-shadow:0 6px 18px rgba(43,38,32,.12);transform:translateY(-2px)}
.si-grid img{width:100%!important;aspect-ratio:3/2!important;object-fit:cover;border-radius:0!important;display:block}
.si-no{padding:12px 16px 0;font-family:var(--si-serif);font-size:13px;letter-spacing:.25em;color:var(--si-gold)}
.si-title{padding:0 16px;font-family:var(--si-serif);font-weight:700;font-size:17px;line-height:1.6}
.si-more{margin-top:auto;padding:8px 16px 16px;font-size:14px;color:var(--si-gold)}
.si-more::after{content:" ›"}
.story-index .si-flow{background:#fff;border:1px solid rgba(168,139,78,.4);padding:32px 28px;border-radius:2px;margin:0}
.si-flow>p{line-height:2}
.si-flow>.section-note{text-align:center}
.si-ways{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.si-way{background:var(--si-paper);border:1px solid rgba(168,139,78,.3);padding:22px;display:flex;flex-direction:column;gap:10px}
.si-way-no{display:inline-block;align-self:flex-start;font-family:var(--si-serif);color:var(--si-gold);font-size:14px;letter-spacing:.2em;border-bottom:1px solid var(--si-gold);padding-bottom:2px}
.si-way .btn-primary{align-self:flex-start}
.si-dl{display:grid;grid-template-columns:max-content 1fr;gap:4px 14px;margin:0!important;border:0!important}
.si-dl dt,.si-dl dd{border:0!important;padding:0!important;background:none!important}
.si-dl dt{font-weight:700;color:var(--sub)}
.si-form{display:flex;flex-direction:column;gap:14px}
.si-form iframe{display:block;width:100%;max-width:680px;height:1600px;margin:0 auto;border:0;background:#fff}
.si-form-alt{text-align:center;font-size:14px}
@media (max-width:900px){.si-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:767px){.story-index{gap:36px}.si-hero img{max-height:none;aspect-ratio:4/5}.si-hero-title{top:14px;right:14px;bottom:auto;padding:14px 8px;gap:8px}.si-hero-main{font-size:24px}.si-hero-sub{font-size:13px;padding-top:2em}.si-h2{font-size:20px}.story-index .si-intro{padding:4px 8px 0}.story-index .block-title{font-size:21px}.si-grid{gap:12px}.si-title{font-size:14px;padding:0 10px}.si-no{padding:10px 10px 0;font-size:11px}.si-more{padding:4px 10px 12px;font-size:13px}.si-ways{grid-template-columns:1fr}.story-index .si-flow{padding:22px 16px}}
/* トップの「お客様の声」「お墓のストーリー」：スマホでは縦に3つ並べず、横にスワイプで見る（次のカードの端を少し見せる。2026/11/11 豊沢様） */
.swipe-hint{display:none}
@media (max-width:767px){
  .swipe-sp{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:84%;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -16px;padding:0 16px 4px;scroll-padding:0 16px}
  .swipe-sp::-webkit-scrollbar{display:none}
  .swipe-sp>*{scroll-snap-align:start;min-width:0}
  .swipe-hint{display:block;font-size:13px;color:var(--sub);margin:0 0 8px}
  .swipe-hint::after{content:" →"}
}
/* フリーダイヤルの印（会社案内など。2026/11/11 豊沢様：今のマークの線だけを白く、緑の地に） */
.freedial{display:inline-flex;align-items:center;gap:8px;color:var(--ink);font-weight:700;text-decoration:none}
.freedial:hover{color:var(--green)}
.freedial-badge{display:inline-flex;align-items:center;background:var(--green);line-height:1;padding:4px 7px;border-radius:4px}
.freedial-badge img{display:block;width:31px;height:auto}
/* 固定ページの下に足した枠（会社案内の「大塚のSNS」、特集の霊園一覧など）と、その下の資料請求の枠の間をあける（2026/11/11 豊沢様） */
.content-wrap>.block{margin-bottom:48px}
@media (max-width:767px){.content-wrap>.block{margin-bottom:36px}}
/* 会社案内：本社と工場の写真は、パソコンでは横に2つ並べる（スマホは縦。2026/11/11 豊沢様） */
.legacy .company-photos{display:grid;grid-template-columns:1fr;gap:24px;margin-top:32px}
.legacy .company-photos .wrap{padding:0;max-width:none}
.legacy .company-photos h3{margin:0 0 8px}
.legacy .company-photos img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
@media (min-width:768px){.legacy .company-photos{grid-template-columns:1fr 1fr}}
/* 会社案内：本社・工場・横浜支店の見出し。今のサイトのアイコンは白いので、緑の地に白い文字で（フリーダイヤルの印とそろえる。2026/11/11） */
.legacy .location{margin:0 0 18px}
.legacy .location strong{display:inline-flex;align-items:center;gap:6px;background:var(--green);color:#fff;font-size:14px;line-height:1;padding:6px 10px;border-radius:4px;margin:0 8px 6px 0}
.legacy .location strong img{display:block;height:16px;width:auto}
/* 県 × お墓の種類のページ：要点の市区町村は、指で押しやすい丸いボタンに（高さ40px・間をあける。2026/11/11 豊沢様） */
.pk-cities{list-style:none;margin-left:-1.2em}
.pk-city-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.pk-city{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border:1px solid #BCD3C8;border-radius:999px;background:#fff;color:var(--green-dark);font-weight:700;font-size:14.5px;text-decoration:none}
.pk-city small{font-weight:400;color:var(--sub);margin-left:2px}
.pk-city:hover,.pk-city:focus-visible{background:var(--green);border-color:var(--green);color:#fff}.pk-city:hover small,.pk-city:focus-visible small{color:#E3EEE9}
.pk-city.is-nolink{color:var(--ink);font-weight:400}
.pk-h3-sub{display:block;font-family:var(--sans,inherit);font-size:13px;font-weight:400;color:var(--sub);margin-top:2px}
/* 価格帯ごとの霊園名も、押しやすい丸いボタンに（市区町村と同じ形。2026/11/11 豊沢様） */
.pk-band-r{display:flex;flex-wrap:wrap;gap:8px}
.pk-bands .pk-city{min-height:40px;font-size:14px}
/* 「◯◯とは」「くらべるときのポイント」の見せ方（文字はそのまま、枠・番号・絵で区切る。2026/11/11 豊沢様） */
.pk-about{display:grid;grid-template-columns:64px minmax(0,1fr);gap:18px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px 24px}
.pk-about-ico{width:64px;height:64px;border-radius:50%;background:#E8F1ED;color:var(--green);display:flex;align-items:center;justify-content:center}
.pk-about-ico svg{width:34px;height:34px}
.pk-about-body p{margin:0 0 10px;line-height:1.95}
.pk-about-lead{font-size:17px;font-weight:700;color:var(--ink)}
.pk-about-more{margin:12px 0 0!important;padding-top:12px;border-top:1px dashed var(--line);font-size:15px}
.pk-points{list-style:none;margin:0 0 18px;padding:0;counter-reset:pkp;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pk-points li{counter-increment:pkp;position:relative;background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 18px 16px 64px}
.pk-points li::before{content:counter(pkp);position:absolute;left:18px;top:16px;width:32px;height:32px;border-radius:50%;background:var(--green);color:#fff;font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center}
.pk-point-h{margin:4px 0 6px;font-size:16.5px;font-weight:700;color:var(--green-dark);line-height:1.5}
.pk-points li p{margin:0;font-size:15px;line-height:1.85;color:var(--ink)}
.pk-tip{background:#E8F1ED;border-radius:12px;padding:18px 20px}
.pk-tip p{margin:0 0 10px;line-height:1.9}
.pk-tip-h{font-weight:700;color:var(--green-dark)}
.pk-tip-btns{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 0!important}
@media (max-width:767px){
  .pk-about{grid-template-columns:1fr;gap:10px;padding:18px 16px}
  .pk-about-ico{width:52px;height:52px}.pk-about-ico svg{width:28px;height:28px}
  .pk-about-lead{font-size:16px}
  .pk-points{grid-template-columns:1fr}
  .pk-points li{padding:16px 14px 14px 58px}.pk-points li::before{left:14px}
  .pk-tip-btns .btn{flex:1 1 100%}
}
@media (min-width:768px){.pk-points li:last-child:nth-child(odd){grid-column:1/-1}}
/* 寺院墓地の目印に、お寺の小さな絵（線で描いたもの）を添える。全ページ共通（2026/11/11 豊沢様） */
.jiin-tag{display:inline-flex;align-items:center;gap:3px}
.jiin-tag::before{content:"";width:12px;height:12px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9c4-1 7-3 10-6 3 3 6 5 10 6'/%3E%3Cpath d='M5 9v3h14V9'/%3E%3Cpath d='M6 12v9M18 12v9M10 21v-5h4v5M3 21h18'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9c4-1 7-3 10-6 3 3 6 5 10 6'/%3E%3Cpath d='M5 9v3h14V9'/%3E%3Cpath d='M6 12v9M18 12v9M10 21v-5h4v5M3 21h18'/%3E%3C/svg%3E") center/contain no-repeat}
.pk-city .jiin-tag{margin-left:6px}
/* 路線・駅から探す：駅ごとの霊園名を、押しやすい丸いボタンに（県×種類のページと同じ形。2026/11/11 豊沢様） */
.kb-rs{gap:8px}
.kb-item li.kb-st{align-items:start;row-gap:6px}
.kb-st .kb-stname{padding-top:9px}
.kb-r.pk-city{min-height:40px;font-size:14px}
.kb-r.pk-city .jiin-tag{margin-left:6px}
@media (max-width:600px){.kb-st .kb-stname{padding-top:4px}}
/* トップ「エリアから霊園・墓地を探す」の市区町村も、押しやすい丸いボタンに（県×種類のページと同じ形。2026/11/12 豊沢様） */
.area-find-row dd{gap:8px}
.area-find-row dd a{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border:1px solid #BCD3C8;border-radius:999px;background:#fff;color:var(--green-dark);font-weight:700;font-size:14.5px;text-decoration:none}
.area-find-row dd a span{margin-left:2px}
.area-find-row dd a:hover,.area-find-row dd a:focus-visible{background:var(--green);border-color:var(--green);color:#fff}.area-find-row dd a:hover span,.area-find-row dd a:focus-visible span{color:#E3EEE9}
@media (max-width:600px){.area-find-row dd a{min-height:40px}}

/* 寺院墓地の区画の目印（2026/11/13） */
.rule-tag{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:4px;font-size:11px;font-weight:700;vertical-align:2px;white-space:nowrap}
.rule-tag.is-free{background:#E3F1E8;color:#1F6B45}
.rule-tag.is-danka{background:#F6E7E2;color:#8A3B22}
h3 .rule-tag{font-size:12px}
.rule-box{border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:16px 0;background:#fff}
.rule-box-h{font-weight:700;margin-bottom:8px}
.rule-table{width:100%;border-collapse:collapse;font-size:14px}
.rule-table th,.rule-table td{border-top:1px solid var(--line);padding:8px 6px;text-align:left;vertical-align:top}
.rule-table thead th{font-size:12px;color:var(--sub);border-top:0}
.rule-table .rule-tag{margin-left:0}

/* コラムの冒頭：「お墓のコラム」がパンくずに詰まって見え、題名の上下が空きすぎていたのを直す（2026/11/14 確認用ページへのコメント）。
   記事は縦に gap:20px で並べているので、題名の余白（固定ページ用の 28px/24px）は付けない */
.col-article{padding-top:24px}
.col-article>.eyebrow{margin:0}
.content-wrap.col-article>.page-title{margin:-12px 0 0}
@media (max-width:767px){.col-article{padding-top:16px}.content-wrap.col-article>.page-title{margin:-12px 0 0}}
/* お墓の種類（3ページをまとめたページ。2026/11/14） */
.kind-jump ul{list-style:none;margin:0 0 24px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.kind-jump a{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border:1px solid var(--green);border-radius:999px;font-weight:700;text-decoration:none;background:#fff}
.kind-sec{scroll-margin-top:80px;margin:0 0 32px}
.kind-h{font-size:24px;border-left:4px solid var(--green);padding-left:12px;margin:32px 0 12px}
/* プライバシーポリシー（2026-11-16） */
.pp{max-width:820px;line-height:1.9}
.pp p{margin:0 0 12px}
.pp-h{font-size:19px;margin:32px 0 10px;padding-left:12px;border-left:4px solid var(--green);line-height:1.5}
.pp-ol,.pp-ul{margin:0 0 14px;padding-left:2.6em}
.pp-ol{list-style:none;counter-reset:none}
.pp-ol li{position:relative;margin-bottom:4px}
.pp-ol li::before{content:"（" attr(value) "）";position:absolute;left:-2.6em}
.pp-ul{padding-left:1.4em}.pp-ul li{margin-bottom:6px}
.pp-table{border-collapse:collapse;width:100%;margin:4px 0 16px;font-size:15px}
.pp-table th,.pp-table td{border:1px solid var(--line);padding:8px 12px;text-align:left;vertical-align:top}
.pp-table th{background:#F3F1EA;width:9em;white-space:nowrap;font-weight:700}
.pp-sites{background:#F3F1EA;border-radius:8px;padding:12px 16px;font-size:14px}
.pp-dates{margin-top:28px;text-align:right;color:var(--sub);font-size:14px}
@media (max-width:600px){.pp-table th{width:7.5em;white-space:normal}}
/* ===== 固定ページのデザインの作り込み（TASKS 37。2026/11/16〜） ===== */
/* 共通：このページの内容（目次）・同じまとまりのほかのページ */
.page-toc{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 20px;margin:0 0 24px}
.page-toc-h{font-weight:700;font-size:14px;color:var(--sub);margin:0 0 8px}
.page-toc ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.page-toc a{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border:1px solid var(--green);border-radius:999px;background:#fff;font-weight:700;font-size:15px;text-decoration:none;line-height:1.4}
.page-toc a:hover,.page-toc a:focus-visible{background:var(--green);color:#fff}
.legacy [id^="sec-"]{scroll-margin-top:80px}
.group-nav{margin:40px 0 0}
.group-nav-h{font-size:22px;margin:0 0 16px}
.group-nav ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.group-nav a{display:flex;flex-direction:column;gap:2px;height:100%;padding:14px 18px;background:#fff;border:1px solid var(--line);border-radius:10px;text-decoration:none;color:var(--ink)}
.group-nav a:hover,.group-nav a:focus-visible{border-color:var(--green)}
.group-nav-name{font-weight:700;color:var(--green)}
.group-nav a:hover .group-nav-name{text-decoration:underline}
.group-nav-desc{font-size:14px;color:var(--sub);line-height:1.6}
.legacy video{display:block;width:100%;height:auto;border-radius:8px;background:#000}

/* ① お墓の基礎知識（/chishiki/）：大見出しごとに白い面を分け、写真・書体見本・手順を並べ直す */
.pg-designed .legacy{background:none;border:0;padding:0}
.pg-designed .legacy section{background:#fff;border:1px solid var(--line);border-radius:12px;padding:32px 36px;margin:0 0 24px}
.pg-designed .legacy .kind-sec{background:none;border:0;padding:0}
.pg-designed .legacy .kind-sec>section{margin-bottom:16px}
.pg-designed .legacy section:has(a[href="/digitalpamphlet.html"] > img){background:none;border:0;padding:0;text-align:center}
.pg-designed .legacy section:has(a[href="/digitalpamphlet.html"] > img) img{max-width:720px;width:100%}
.pg-designed .legacy h2.title{font-family:'Noto Serif JP',serif;font-size:24px;color:var(--ink);border-left:4px solid var(--green);padding-left:12px;margin:0 0 18px}
.pg-designed .legacy h3{font-size:19px;color:var(--green-dark);margin:28px 0 10px}
.pg-designed .legacy h4{font-size:16px;color:var(--green-dark);margin:20px 0 8px}
.pg-designed .legacy section>.container>.inner>h3:first-child,.pg-designed .legacy .chishiki-1>h3:first-of-type{margin-top:0}
/* 「TOPIC」「MOVIE」の画像の見出し */
.pg-designed .legacy h2:has(> img){margin:0 0 12px;text-align:left}
.pg-designed .legacy h2 > img{height:30px;width:auto;border-radius:0}
.pg-designed .legacy .text-center{text-align:left}
.pg-designed .legacy .sub-title2{display:flex;align-items:center;gap:12px;font-size:18px;margin:32px 0 14px}
.pg-designed .legacy .sub-title2::after{content:"";flex:1;height:1px;background:var(--line)}
/* 写真を右に置く段落（スマホでは上に） */
.pg-designed .legacy .chishiki-1>img:first-child,.pg-designed .legacy .chishiki-2>img:first-child,.pg-designed .legacy .img-r{float:right;width:38%;max-width:360px;margin:0 0 16px 24px;border-radius:8px}
.pg-designed .legacy .chishiki-1::after,.pg-designed .legacy .chishiki-2::after{content:"";display:block;clear:both}
.pg-designed .legacy .chishiki-1-bg-yellow{background:#FAF6EA;border-radius:10px;padding:20px 24px;margin:0 0 20px}
.pg-designed .legacy .chishiki-1-bg-yellow>img:first-child{width:180px;max-width:30%}
.pg-designed .legacy .chishiki-structure{text-align:center;margin:16px 0 0}
.pg-designed .legacy .chishiki-structure img{max-width:640px;width:100%;border-radius:8px}
/* 書体の見本：4つを横に並べる */
.pg-designed .legacy .typefaces{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 8px}
.pg-designed .legacy .typeface{display:flex;flex-direction:column;align-items:center;gap:6px;background:#FAF9F5;border:1px solid #ECEAE3;border-radius:10px;padding:12px 8px;height:100%}
.pg-designed .legacy .typeface h4{margin:0;font-size:15px}
.pg-designed .legacy .typeface img{max-height:200px;width:auto;border-radius:0}
.pg-designed .legacy .en-typefaces>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:center}
.pg-designed .legacy .chr-colors>div{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.pg-designed .legacy .chr-colors img{width:100%;aspect-ratio:1;object-fit:cover}
.pg-designed .legacy .chishiki-kamei-ex,.pg-designed .legacy .chishiki-kamei-en-ex{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 8px}
.pg-designed .legacy .chishiki-kamei-ex img,.pg-designed .legacy .chishiki-kamei-en-ex img{max-height:220px;width:auto}
.pg-designed .legacy .reference-ex-chara-cont{margin:0 0 16px}
.pg-designed .legacy .reference-ex-chara-cont img{display:block;max-width:640px;width:100%;border-radius:0}
/* 宗派の文字の表：梵字の小さな画像を文字の高さに */
.pg-designed .legacy dd img{height:1.5em;width:auto;vertical-align:middle;border-radius:0;margin:0 2px}
.pg-designed .legacy .chishiki-five-chara{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;max-width:520px;clear:both;margin:16px 0 0}
.pg-designed .legacy .chishiki-five-chara img{border-radius:0}
/* TOPIC：宗門ごとの梵字 */
.pg-designed .legacy .chishiki-topic{background:#FAF6EA;border-radius:10px;padding:24px;margin:28px 0 0}
.pg-designed .legacy .chishiki-topic-head h3{margin:4px 0 8px}
.pg-designed .legacy .chishiki-topic-charas{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
.pg-designed .legacy .chishiki-topic-charas>div{background:#fff;border:1px solid #ECEAE3;border-radius:8px;padding:12px;font-size:14px;line-height:1.7}
.pg-designed .legacy .chishiki-topic-charas h4{margin:0 0 6px;font-size:15px;border-bottom:1px solid #ECEAE3;padding-bottom:4px}
.pg-designed .legacy .chishiki-topic-charas p{margin:0}
.pg-designed .legacy .chishiki-topic-charas img{height:1.6em;width:auto;vertical-align:middle;border-radius:0}
/* 手順（お墓が出来るまで・墓石造りの工程・リフォームの手順と工程）：番号の丸を縦の線でつなぐ */
.pg-designed .legacy ul.flow,.pg-designed .legacy ul.koutei{display:block;list-style:none;padding:0;margin:24px 0 0}
.pg-designed .legacy ul.flow>li,.pg-designed .legacy ul.koutei>li{position:relative;display:grid;grid-template-columns:48px 240px minmax(0,1fr);grid-template-areas:"num img hos" "num img h" "num img box";grid-template-rows:auto auto 1fr;column-gap:20px;padding:0 0 28px}
.pg-designed .legacy ul.koutei>li{grid-template-areas:"num img list";grid-template-rows:auto}
.pg-designed .legacy ul.flow>li::before,.pg-designed .legacy ul.koutei>li::before{content:"";position:absolute;left:23px;top:52px;bottom:4px;width:2px;background:#D5DED9}
.pg-designed .legacy ul.flow>li:last-child::before,.pg-designed .legacy ul.koutei>li:last-child::before{display:none}
.pg-designed .legacy ul.flow .number,.pg-designed .legacy ul.koutei .number{grid-area:num}
.pg-designed .legacy .number span{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:var(--green);color:#fff;font-weight:700;font-size:20px;font-family:'Noto Serif JP',serif}
.pg-designed .legacy ul.flow .image,.pg-designed .legacy ul.flow .image2,.pg-designed .legacy ul.koutei .image{grid-area:img;margin:0}
.pg-designed .legacy ul.flow .image img,.pg-designed .legacy ul.flow .image2 img,.pg-designed .legacy ul.koutei .image img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.pg-designed .legacy ul.flow h3{grid-area:h;margin:6px 0 6px;font-size:18px}
.pg-designed .legacy ul.flow .hosoku{grid-area:hos;justify-self:start;margin-top:6px;font-size:13px;font-weight:700;color:#7A5B12;background:#FBF0D2;border-radius:999px;padding:2px 12px}
.pg-designed .legacy ul.flow .box,.pg-designed .legacy ul.flow .box2{grid-area:box}
.pg-designed .legacy ul.flow .box span{font-weight:700;background:linear-gradient(transparent 60%,#FBF0D2 60%)}
.pg-designed .legacy ul.koutei>li>ul{grid-area:list;margin:4px 0 0;padding-left:1.2em}
.pg-designed .legacy ul.koutei>li>ul li{margin:0 0 6px}
.pg-designed .legacy ul.flow .border,.pg-designed .legacy ul.flow .cl,.pg-designed .legacy ul.koutei .border,.pg-designed .legacy ul.koutei .cl{display:none}
/* TOPIC（建墓ローン）・動画 */
.pg-designed .legacy .bdwy{background:#FAF6EA;border-radius:10px;padding:24px;margin:8px 0 0}
.pg-designed .legacy .topic::after{content:"";display:block;clear:both}
.pg-designed .legacy .topic-image{float:right;width:34%;margin:0 0 12px 20px}
.pg-designed .legacy .topic-left h3{margin:4px 0 8px}
.pg-designed .legacy .topic-left h3 span{color:#A15C00}
.pg-designed .legacy .goaisatsu-waku1{margin:16px 0 0;text-align:center}
.pg-designed .legacy .koline .topic{margin-top:28px;text-align:left}
/* リフォームの内容：チェックの一覧 */
.pg-designed .legacy .naiyou ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}
.pg-designed .legacy .naiyou li{position:relative;padding:10px 12px 10px 40px;background:#FAF9F5;border-radius:8px;line-height:1.6}
.pg-designed .legacy .naiyou li::before{content:"";position:absolute;left:14px;top:15px;width:12px;height:7px;border-left:3px solid var(--green);border-bottom:3px solid var(--green);transform:rotate(-45deg)}
/* お墓の豆知識：吹き出しの導入と、疑問ごとの段 */
.pg-designed .legacy .fukidashi{display:flex;gap:20px;align-items:center;margin:0 0 8px}
.pg-designed .legacy .fukidashi-left img{width:120px;border-radius:50%;aspect-ratio:1;object-fit:cover;object-position:top;background:#F1EFE8}
.pg-designed .legacy .fukidashi-right{position:relative;flex:1;background:#F3F7F5;border-radius:12px;padding:16px 20px}
.pg-designed .legacy .fukidashi-right::before{content:"";position:absolute;left:-10px;top:50%;margin-top:-10px;border:10px solid transparent;border-left:0;border-right-color:#F3F7F5}
.pg-designed .legacy .fukidashi-image{display:none}
.pg-designed .legacy .fukidashi-right p{margin:0}
.pg-designed .legacy .mame-cont .box-1,.pg-designed .legacy .mame-cont .box-2{border-top:1px solid #ECEAE3;padding-top:24px;margin:24px 0 0}
.pg-designed .legacy .mame-cont .box-1 .image,.pg-designed .legacy .mame-cont .box-2 .image{width:36%;max-width:340px}
.pg-designed .legacy .mame-cont .image img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.pg-designed .legacy .mame-cont h3{margin:0 0 10px;font-size:20px}
.pg-designed .legacy .mame-cont h3::before{content:"Q";display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin-right:10px;border-radius:50%;background:var(--green);color:#fff;font-size:15px;vertical-align:2px;font-family:'Noto Serif JP',serif}
@media (max-width:767px){
  .pg-designed .legacy section{padding:22px 18px;border-radius:10px}
  .pg-designed .legacy h2.title{font-size:20px}
  .pg-designed .legacy .chishiki-1>img:first-child,.pg-designed .legacy .chishiki-2>img:first-child,.pg-designed .legacy .img-r,.pg-designed .legacy .topic-image{float:none;display:block;width:100%;max-width:none;margin:0 0 14px}
  .pg-designed .legacy .chishiki-1-bg-yellow{padding:16px}
  .pg-designed .legacy .chishiki-1-bg-yellow>img:first-child{float:right;width:96px;max-width:30%;margin:0 0 8px 12px}
  .pg-designed .legacy .typefaces{gap:6px}
  .pg-designed .legacy .typeface{padding:8px 4px}
  .pg-designed .legacy .typeface h4{font-size:13px}
  .pg-designed .legacy .en-typefaces>div{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pg-designed .legacy .chr-colors>div{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pg-designed .legacy .chishiki-kamei-ex img,.pg-designed .legacy .chishiki-kamei-en-ex img{max-height:150px}
  .pg-designed .legacy .chishiki-topic{padding:16px}
  .pg-designed .legacy .chishiki-topic-charas{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pg-designed .legacy ul.flow>li,.pg-designed .legacy ul.koutei>li{grid-template-columns:40px minmax(0,1fr);grid-template-areas:"num hos" "num h" "num img" "num box";grid-template-rows:auto;column-gap:14px;padding-bottom:24px}
  .pg-designed .legacy ul.koutei>li{grid-template-areas:"num img" "num list"}
  .pg-designed .legacy ul.flow>li::before,.pg-designed .legacy ul.koutei>li::before{left:19px;top:44px}
  .pg-designed .legacy .number span{width:40px;height:40px;font-size:17px}
  .pg-designed .legacy ul.flow h3{margin:6px 0 8px}
  .pg-designed .legacy ul.flow .image,.pg-designed .legacy ul.flow .image2,.pg-designed .legacy ul.koutei .image{margin:0 0 8px}
  .pg-designed .legacy .naiyou ul{grid-template-columns:1fr}
  .pg-designed .legacy .fukidashi-left img{width:80px}
  .pg-designed .legacy .mame-cont .box-1 .image,.pg-designed .legacy .mame-cont .box-2 .image{width:100%;max-width:none}
  .page-toc{padding:14px 16px}
  .page-toc a{font-size:14px;min-height:40px;padding:0 14px}
  .group-nav-h{font-size:19px}
}
.pg-designed .legacy ul.flow::before{display:none}
.pg-designed .legacy a[href="/digitalpamphlet.html"]>img{margin-left:auto;margin-right:auto}
/* 手順の番号（今のサイトの数字の画像を文字にしたもの。全固定ページ共通） */
.legacy .number span{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--green);color:#fff;font-weight:700;font-size:17px;line-height:1;font-family:'Noto Serif JP',serif}
/* 本文の中の「資料請求・お問い合わせ」（今の画像のボタンを置き換えたもの） */
.legacy .contact-inline{background:#F3F7F5;border:1px solid #CFE0D8;border-radius:12px;padding:22px 24px;margin:28px 0 0;display:flex;flex-direction:column;gap:12px}
.legacy .contact-inline-h{font-family:'Noto Serif JP',serif;font-size:20px;color:var(--ink);margin:0}
.legacy .contact-inline .cta-row{display:flex;flex-wrap:wrap;gap:10px}
.legacy .contact-inline .section-note{margin:0;font-size:13px;color:var(--sub)}
@media (max-width:767px){.legacy .contact-inline{padding:18px 16px}.legacy .contact-inline .cta-row{flex-direction:column}.legacy .contact-inline .btn{width:100%}}
/* ④ ご案内（永代供養・納骨堂・ペット・クリーニングほか） */
/* 「◯◯を選ぶメリット」：順番ではないので、縦の流れではなく3枚のカードに */
.pg-designed .legacy .eitai-merit ul.flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.pg-designed .legacy .eitai-merit ul.flow>li{display:flex;flex-direction:column;gap:10px;padding:16px;background:#FAF9F5;border-radius:10px}
.pg-designed .legacy .eitai-merit ul.flow>li::before{display:none}
.pg-designed .legacy .eitai-merit ul.flow h3{margin:0;font-size:17px;line-height:1.5}
.pg-designed .legacy .eitai-merit .number span{width:36px;height:36px;font-size:16px}
.pg-designed .legacy .eitai-merit ul.flow .image{order:-1}
.pg-designed .legacy .eitai-merit ul.flow .box p{margin:0;font-size:15px}
/* 「こんな方におすすめです」などの写真＋箇条書き */
.pg-designed .legacy .katachi{display:grid;grid-template-columns:minmax(0,320px) 1fr;grid-template-areas:"h h" "img list" "img red";grid-template-rows:auto auto 1fr;gap:4px 24px;margin:0 0 24px}
.pg-designed .legacy .katachi>h3{grid-area:h;margin:0 0 8px}
.pg-designed .legacy .katachi>img{grid-area:img;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.pg-designed .legacy .katachi>ul{grid-area:list;list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.pg-designed .legacy .katachi>ul li{position:relative;padding:8px 12px 8px 36px;background:#FAF9F5;border-radius:8px;line-height:1.6}
.pg-designed .legacy .katachi>ul li::before{content:"";position:absolute;left:13px;top:14px;width:11px;height:6px;border-left:3px solid var(--green);border-bottom:3px solid var(--green);transform:rotate(-45deg)}
.pg-designed .legacy .katachi>.red{grid-area:red;font-weight:700;color:#A15C00;margin:8px 0 0}
.pg-designed .legacy .katachi>.cl{display:none}
.pg-designed .legacy .intro::after,.pg-designed .legacy .business-1::after,.pg-designed .legacy .business-2::after{content:"";display:block;clear:both}
.pg-designed .legacy .intro>img,.pg-designed .legacy .business-1>img,.pg-designed .legacy .business-2>img{float:right;width:34%;max-width:320px;margin:0 0 12px 24px;border-radius:8px}
.pg-designed .legacy .intro h3 span{font-size:.85em}
.pg-designed .legacy .business-1,.pg-designed .legacy .business-2{margin:28px 0 0}
.pg-designed .legacy .business-1 h2,.pg-designed .legacy .business-2 h2{font-family:'Noto Serif JP',serif;font-size:21px;color:var(--ink);margin:0 0 12px}
.pg-designed .legacy .lbanner{text-align:center;margin:24px 0 0}
.pg-designed .legacy .lbanner img{max-width:720px;width:100%}
/* 霊園・納骨堂のカード（永代供養墓のある霊園・おすすめの納骨堂） */
.pg-designed .legacy .eitai-list .sub-title2{margin-top:28px}
.pg-designed .legacy .eitai-list ul,.pg-designed .legacy .noukotsudou-list ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.pg-designed .legacy .oline{margin:0;min-width:0}
.pg-designed .legacy .oline>.cl,.pg-designed .legacy .eitai-list ul>.cl,.pg-designed .legacy .noukotsudou-list ul>.cl{display:none}
.pg-designed .legacy .iline{display:flex;flex-direction:column;height:100%;border:1px solid var(--line);border-radius:10px;padding:14px;background:#fff;font-size:14px;line-height:1.65}
.pg-designed .legacy .iline .area{order:-2;margin:0;font-size:12px;color:var(--sub)}
.pg-designed .legacy .iline .name{order:-1;margin:0 0 8px;font-weight:700;font-size:16px;color:var(--ink);line-height:1.5}
.pg-designed .legacy .iline>img,.pg-designed .legacy .iline .image img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:6px;margin:0 0 8px}
.pg-designed .legacy .iline .image{margin:0}
.pg-designed .legacy .iline .name2{margin:0 0 6px}
.pg-designed .legacy .iline .name2 span{display:inline-block;font-weight:700;font-size:13px;color:var(--green-dark);background:#E7F0EC;border-radius:4px;padding:2px 8px}
.pg-designed .legacy .iline h4{display:flex;align-items:center;gap:4px;margin:8px 0 2px;font-size:13px;color:var(--sub)}
.pg-designed .legacy .iline h4 img{width:16px;height:16px;border-radius:0}
.pg-designed .legacy .iline p{margin:0}
.pg-designed .legacy .iline .y{font-weight:700}
.pg-designed .legacy .iline .r{font-weight:700;color:#A15C00}
.pg-designed .legacy .iline dl{grid-template-columns:5.5em 1fr;font-size:13px;margin:4px 0 0}
.pg-designed .legacy .iline dt,.pg-designed .legacy .iline dd{padding:4px 6px}
.pg-designed .legacy .iline>.cl{display:none}
.pg-designed .legacy .eitai-link{margin:auto 0 0!important;padding-top:10px}
.pg-designed .legacy .eitai-link a{display:flex;align-items:center;justify-content:center;min-height:40px;border:1px solid var(--green);border-radius:8px;font-weight:700;text-decoration:none}
.pg-designed .legacy .eitai-link a:hover{background:var(--green);color:#fff}
.pg-designed .legacy .noukotsudou-cont .map{text-align:center}
.pg-designed .legacy .noukotsudou-cont h2.title span{display:block;font-size:.7em;color:var(--sub);margin-top:4px}
.pg-designed .legacy .noukotsudou-cont .box-1 .image{max-width:38%}
.pg-designed .legacy .noukotsudou-cont .image2{clear:none}
@media (max-width:767px){
  .pg-designed .legacy .eitai-merit ul.flow{grid-template-columns:1fr}
  .pg-designed .legacy .eitai-merit ul.flow>li{display:grid;grid-template-columns:110px 1fr;grid-template-areas:"img h" "img box";grid-template-rows:auto 1fr;gap:4px 12px;padding:12px}
  .pg-designed .legacy .eitai-merit ul.flow .image{grid-area:img;margin:0}
  .pg-designed .legacy .eitai-merit ul.flow .image img{aspect-ratio:1}
  .pg-designed .legacy .eitai-merit ul.flow h3{grid-area:h;font-size:15px}
  .pg-designed .legacy .eitai-merit ul.flow .box{grid-area:box}
  .pg-designed .legacy .eitai-merit ul.flow .box p{font-size:14px}
  .pg-designed .legacy .eitai-merit .number{display:none}
  .pg-designed .legacy .katachi{grid-template-columns:1fr;grid-template-areas:"h" "img" "list" "red"}
  .pg-designed .legacy .intro>img,.pg-designed .legacy .business-1>img,.pg-designed .legacy .business-2>img{float:none;display:block;width:100%;max-width:none;margin:0 0 12px}
  .pg-designed .legacy .eitai-list ul,.pg-designed .legacy .noukotsudou-list ul{grid-template-columns:1fr}
  .pg-designed .legacy .iline{display:grid;grid-template-columns:120px minmax(0,1fr);column-gap:12px;align-items:start}
  .pg-designed .legacy .iline>*{grid-column:2}
  .pg-designed .legacy .iline .area,.pg-designed .legacy .iline .name{grid-column:1/-1}
  .pg-designed .legacy .iline>img,.pg-designed .legacy .iline .image{grid-column:1;grid-row:span 6}
  .pg-designed .legacy .iline dl,.pg-designed .legacy .iline .eitai-link,.pg-designed .legacy .iline h4:has(img[src*="icon-other"]){grid-column:1/-1}
  .pg-designed .legacy .noukotsudou-cont .box-1 .image{max-width:100%}
}
/* ペットのお墓：えらべるデザインを商品カードの並びに */
.pg-designed .legacy .petcont .types{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;text-align:left;margin:0 0 16px}
.pg-designed .legacy .petcont .sdp3-0{display:none}
.pg-designed .legacy .petcont .sdp3,.pg-designed .legacy .petcont .sdp2{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:10px;padding:12px;background:#fff;font-size:13px;line-height:1.6}
.pg-designed .legacy .petcont .typee img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#FAF9F5;border-radius:6px}
.pg-designed .legacy .petcont .typee h3{margin:8px 0 4px;font-size:15px;line-height:1.4}
.pg-designed .legacy .petcont .typee h3 span{font-size:12px;font-weight:500;color:var(--sub)}
.pg-designed .legacy .petcont .price .p{margin:0 0 2px;font-weight:700;color:#A15C00;font-size:14px}
.pg-designed .legacy .petcont .price>br{display:none}
.pg-designed .legacy .petcont .price .t{margin:6px 0 0;color:var(--sub)}
.pg-designed .legacy .petcont .price .t span{color:var(--ink);font-weight:700}
.pg-designed .legacy .petcont .text-center[style]{margin:8px 0 16px!important;border:2px solid #CFE0D8!important;border-radius:12px;padding:16px!important;background:#F3F7F5!important}
.pg-designed .legacy .petcont .text-center[style] .types{grid-template-columns:repeat(2,minmax(0,1fr))}
.pg-designed .legacy .petcont .title-kumi{grid-column:1/-1;margin:0;font-weight:700;color:var(--green-dark)}
.pg-designed .legacy .petcont .sdp2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:center}
.pg-designed .legacy .pet-button a{display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 20px;border-radius:10px;background:var(--green);color:#fff;text-decoration:none;margin-top:8px}
.pg-designed .legacy .pet-button .tel{display:flex;align-items:center;gap:8px;font-size:22px;font-weight:700}
.pg-designed .legacy .pet-button .tel img{height:22px;width:auto;border-radius:0}
.pg-designed .legacy .pet-button .text{font-size:13px}
.pg-designed .legacy .pet-cont1>img,.pg-designed .legacy .petcont>.container>.inner>img{display:block;margin:0 auto 16px}
.pg-designed .legacy .pet-cont3 .col{display:inline-block;width:calc(50% - 8px);vertical-align:top;margin:0 0 12px}
@media (max-width:767px){
  .pg-designed .legacy .petcont .types{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .pg-designed .legacy .petcont .text-center[style] .types{grid-template-columns:1fr}
  .pg-designed .legacy .petcont .sdp3,.pg-designed .legacy .petcont .sdp2{padding:10px}
  .pg-designed .legacy .pet-button a{display:flex}
}
/* クリーニング（/care.html） */
.pg-designed .legacy .cleaning-cont>h2{font-family:'Noto Serif JP',serif;font-size:24px;color:var(--ink);border-left:4px solid var(--green);padding-left:12px;margin:0 0 16px}
.pg-designed .legacy .cleaning-cont .cont::after{content:"";display:block;clear:both}
.pg-designed .legacy .cleaning-cont .cont img{float:right;width:34%;margin:0 0 12px 24px;border-radius:8px}
.pg-designed .legacy .ng-cont{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0 0}
.pg-designed .legacy .ng-cont>h3{grid-column:1/-1;margin:0}
.pg-designed .legacy .ng-cont>h3 img{height:34px;width:auto;border-radius:0}
.pg-designed .legacy .ng-cont-l,.pg-designed .legacy .ng-cont-r{display:grid;grid-template-columns:1fr 120px;gap:4px 12px;align-items:start;background:#FDF3F1;border-radius:10px;padding:14px}
.pg-designed .legacy .ng-cont h4{margin:0;color:#B3261E;font-size:17px}
.pg-designed .legacy .ng-cont p{margin:0;grid-column:1}
.pg-designed .legacy .ng-cont-l img,.pg-designed .legacy .ng-cont-r img{grid-column:2;grid-row:1/span 2;width:120px;aspect-ratio:1;object-fit:cover;border-radius:8px}
.pg-designed .legacy .care-prepare{padding:16px 20px}
.pg-designed .legacy .care-prepare h3{margin:0 0 10px}
.pg-designed .legacy .care-prepare h3 img{height:30px;width:auto;border-radius:0}
.pg-designed .legacy .care-prepare-cont{display:grid;grid-template-columns:repeat(4,minmax(0,140px));gap:12px}
.pg-designed .legacy .care-prepare-cont img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}
.pg-designed .legacy .care-prepare-cont p{margin:4px 0 0;text-align:center;font-size:14px;font-weight:700}
.pg-designed .legacy .care-prepare-cont small{display:block;font-weight:400;font-size:12px}
.pg-designed .legacy .care-flow h3 span{font-size:18px}
.pg-designed .legacy .care-flow ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;counter-reset:care}
.pg-designed .legacy .care-flow li{counter-increment:care;background:#FAF9F5;border-radius:10px;padding:12px}
.pg-designed .legacy .care-flow h4{margin:0 0 8px}
.pg-designed .legacy .care-flow h4::before{content:counter(care);display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;margin-right:8px;border-radius:50%;background:var(--green);color:#fff;font-size:14px}
.pg-designed .legacy .care-flow-cont img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.pg-designed .legacy .care-flow-cont p{margin:8px 0 0;font-size:15px}
.pg-designed .legacy .care-flow-cont small{display:block;margin-top:4px;color:var(--sub)}
.pg-designed .legacy .care-summary::after{content:"";display:block;clear:both}
.pg-designed .legacy .care-summary img{float:right;width:34%;margin:0 0 12px 24px;border-radius:8px}
.pg-designed .legacy .care-banner-area{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.pg-designed .legacy .care-banner-area img{width:100%}
@media (max-width:767px){
  .pg-designed .legacy .cleaning-cont>h2{font-size:20px}
  .pg-designed .legacy .cleaning-cont .cont img,.pg-designed .legacy .care-summary img{float:none;display:block;width:100%;margin:12px 0}
  .pg-designed .legacy .ng-cont{grid-template-columns:1fr}
  .pg-designed .legacy .care-prepare-cont{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pg-designed .legacy .care-flow ul{grid-template-columns:1fr}
  .pg-designed .legacy .care-banner-area{grid-template-columns:1fr}
}
.pg-designed .legacy .care-summary h2{font-family:'Noto Serif JP',serif;font-size:21px;color:var(--ink);margin:0 0 12px}
/* 寺院様・事業者様向け（霊園開発のご案内・お寺様とともに） */
.pg-designed .legacy .produce-message{font-family:'Noto Serif JP',serif;font-size:20px;font-weight:700;text-align:center;margin:0 0 16px}
.pg-designed .legacy .produce-message span{font-size:15px;font-weight:500;color:var(--sub)}
.pg-designed .legacy .produce-cont>ul{list-style:none;padding:0;margin:0 0 16px;display:flex;justify-content:center;flex-wrap:wrap;gap:20px}
.pg-designed .legacy .produce-cont>ul li{display:flex;flex-direction:column;align-items:center;gap:8px;width:150px;text-align:center;font-weight:700;line-height:1.5}
.pg-designed .legacy .produce-cont>ul img{width:84px;height:84px;padding:14px;border-radius:50%;background:var(--green);border-radius:50%}
.pg-designed .legacy .produce-cont>ul p{margin:0}
.pg-designed .legacy .produce-images{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}
.pg-designed .legacy .produce-images img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.pg-designed .legacy .produce-images p{margin:4px 0 0;text-align:center;font-size:14px;font-weight:700}
.pg-designed .legacy .case-study{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 16px}
.pg-designed .legacy .case-study-item{background:#FAF9F5;border-radius:10px;padding:10px;font-size:14px}
.pg-designed .legacy .case-study-item img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:6px}
.pg-designed .legacy .case-study-item h3{margin:6px 0 4px;font-size:15px;line-height:1.5}
.pg-designed .legacy .case-study-meta{display:flex;flex-wrap:wrap;gap:4px}
.pg-designed .legacy .case-study-meta p{margin:0;font-size:12px;background:#E7F0EC;color:var(--green-dark);border-radius:4px;padding:1px 6px}
.pg-designed .legacy .case-study-caution{margin:6px 0 0;font-size:12px;color:var(--sub)}
.pg-designed .legacy a.contact-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid var(--green);border-radius:8px;font-weight:700;text-decoration:none}
.pg-designed .legacy .media-cont{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.pg-designed .legacy .media-cont>div{background:#FAF9F5;border-radius:10px;padding:16px}
.pg-designed .legacy .media-cont img{display:block;max-height:220px;width:auto;margin:0 auto 10px;border-radius:0}
.pg-designed .legacy .media-cont h4{margin:0 0 6px}
.pg-designed .legacy .media-cont p{margin:0;font-size:14px}
.pg-designed .legacy .consultation-case{list-style:none;padding:0;margin:0 0 20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}
.pg-designed .legacy .consultation-case li{padding:8px 12px;background:#FAF9F5;border-radius:8px}
.pg-designed .legacy .consultation-contact{background:#F3F7F5;border:1px solid #CFE0D8;border-radius:12px;padding:20px 24px}
.pg-designed .legacy .consultation-contact h3{margin:0 0 6px}
.pg-designed .legacy .consultation-contact-btnarea{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}
.pg-designed .legacy .btn-dev-call,.pg-designed .legacy .btn-dev-contact{display:inline-flex;flex-direction:column;justify-content:center;min-height:56px;padding:6px 20px;border-radius:8px;font-weight:700;text-decoration:none;line-height:1.4}
.pg-designed .legacy .btn-dev-call{background:var(--green);color:#fff}
.pg-designed .legacy .btn-dev-call span{font-size:12px;font-weight:500}
.pg-designed .legacy .btn-dev-call div{display:flex;align-items:center;gap:6px;font-size:20px}
.pg-designed .legacy .btn-dev-contact{flex-direction:row;align-items:center;gap:8px;background:#fff;border:2px solid var(--green);color:var(--green)}
.pg-designed .legacy .btn-dev-call img,.pg-designed .legacy .btn-dev-contact img{width:auto;height:18px;border-radius:0}
.pg-designed .legacy .btn-dev-contact img{filter:brightness(0) saturate(100%) invert(27%) sepia(19%) saturate(1200%) hue-rotate(110deg)}
.pg-designed .legacy .kaihatsu-style{list-style:none;padding:0;margin:16px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.pg-designed .legacy .kaihatsu-style img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.pg-designed .legacy .kaihatsu-style h3{margin:8px 0 0;font-size:17px;line-height:1.5}
.pg-designed .legacy .kaihatsu-style h3 span{display:block;font-size:13px;font-weight:500;color:var(--sub)}
.pg-designed .legacy .kaihatsu-tsuyomi{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;counter-reset:ts}
.pg-designed .legacy .kaihatsu-tsuyomi li{counter-increment:ts;position:relative;display:flex;align-items:center;justify-content:center;min-height:120px;padding:28px 10px 12px;background:#F3F7F5;border-radius:10px;text-align:center;font-weight:700;line-height:1.5}
.pg-designed .legacy .kaihatsu-tsuyomi li::before{content:counter(ts);position:absolute;top:8px;left:50%;transform:translateX(-50%);font-family:'Noto Serif JP',serif;color:var(--green);font-size:15px}
.pg-designed .legacy .kaihatsu-tsuyomi p{margin:0}
.pg-designed .legacy .kaihatsu-tsuyomi-text{margin:14px 0 0;text-align:center;font-weight:700;color:var(--green-dark)}
.pg-designed .legacy .kaihatsu-step{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;counter-reset:ks}
.pg-designed .legacy .kaihatsu-step li{counter-increment:ks;min-width:0}
.pg-designed .legacy .kaihatsu-step img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.pg-designed .legacy .kaihatsu-step h3{margin:6px 0 0;font-size:15px}
.pg-designed .legacy .kaihatsu-step h3::before{content:counter(ks);display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-right:6px;border-radius:50%;background:var(--green);color:#fff;font-size:13px}
/* 工事着工・完成の写真（今のサイトはスライド）：横にすべらせて見る */
.pg-designed .legacy .kslide{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:6px;border-radius:8px}
.pg-designed .legacy .kslide img{flex:0 0 100%;scroll-snap-align:start}
.pg-designed .legacy .kaihatsu-voice{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pg-designed .legacy .kaihatsu-voice li{background:#FAF9F5;border-radius:10px;padding:14px 16px}
.pg-designed .legacy .kaihatsu-voice p{margin:0}
.pg-designed .legacy #kaihatsu6 h2.title span{display:block;font-size:.75em;color:var(--sub)}
@media (max-width:767px){
  .pg-designed .legacy .produce-images,.pg-designed .legacy .case-study,.pg-designed .legacy .kaihatsu-step{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pg-designed .legacy .produce-cont>ul{gap:10px}.pg-designed .legacy .produce-cont>ul li{width:30%;font-size:13px}
  .pg-designed .legacy .produce-cont>ul img{width:64px;height:64px;padding:12px}
  .pg-designed .legacy .media-cont,.pg-designed .legacy .consultation-case,.pg-designed .legacy .kaihatsu-style,.pg-designed .legacy .kaihatsu-voice{grid-template-columns:1fr}
  .pg-designed .legacy .kaihatsu-tsuyomi{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pg-designed .legacy .consultation-contact{padding:16px}
  .pg-designed .legacy .btn-dev-call,.pg-designed .legacy .btn-dev-contact{width:100%}
}
/* デジタルパンフレット */
.pg-designed .legacy .pdfbox{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:20px}
.pg-designed .legacy .pdfbox>li{display:grid;grid-template-columns:160px 1fr;gap:16px;background:#FAF9F5;border-radius:10px;padding:16px}
.pg-designed .legacy .pdfbox .image img{width:100%;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.pg-designed .legacy .pdfbox h3{margin:0 0 6px}
.pg-designed .legacy .pdfbox p{font-size:14px;margin:0 0 6px}
.pg-designed .legacy .pdfbox .data p{color:var(--sub);font-size:13px}
.pg-designed .legacy .pdfbox .button a{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border-radius:8px;background:var(--green);color:#fff;font-weight:700;text-decoration:none;margin-top:4px}
.pg-designed .legacy .pdfbox .button a::after{content:"（PDF）";font-weight:500;font-size:13px}
/* 横浜霊園アフターサービス */
.pg-designed .legacy .onecol{background:#fff;border:1px solid var(--line);border-radius:12px;padding:28px 32px}
.pg-designed .legacy .service__fv img{width:100%;border-radius:8px}
.pg-designed .legacy .service__fv .note{display:flex;gap:10px;align-items:flex-start;background:#FDF3F1;border-radius:8px;padding:10px 14px;margin:10px 0 0;font-size:14px}
.pg-designed .legacy .service__fv .note span{flex:none;font-weight:700;color:#B3261E}
.pg-designed .legacy .service__fv .note p{margin:0}
.pg-designed .legacy .service__fv .note svg{width:7px;height:auto;margin-left:4px}
.pg-designed .legacy .service__intro{text-align:center;margin:24px 0}
.pg-designed .legacy .service-title{font-family:'Noto Serif JP',serif;font-size:26px;font-weight:700;margin:0 0 10px;line-height:1.4}
.pg-designed .legacy .service-title span{display:block;font-size:15px;color:var(--sub)}
.pg-designed .legacy .service__pagelink ul{list-style:none;padding:0;margin:0 0 32px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pg-designed .legacy .service__pagelink a{display:block;text-decoration:none;font-weight:700;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.pg-designed .legacy .service__pagelink img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:0}
.pg-designed .legacy .service__pagelink p{margin:0;padding:8px 10px;text-align:center}
.pg-designed .legacy .service__about .content{scroll-margin-top:80px;margin:0 0 40px}
.pg-designed .legacy .service__about .pic{display:none}
.pg-designed .legacy .service__about h2{font-family:'Noto Serif JP',serif;font-size:24px;color:var(--ink);border-left:4px solid var(--green);padding-left:12px;margin:0 0 14px}
.pg-designed .legacy .service__about h2 span{font-size:inherit}
.pg-designed .legacy .renovation-links{list-style:none;padding:0;margin:12px 0 20px;display:flex;flex-wrap:wrap;gap:8px}
.pg-designed .legacy .renovation-links a{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border:1px solid var(--green);border-radius:999px;font-weight:700;text-decoration:none;font-size:15px}
.pg-designed .legacy .info__title{scroll-margin-top:80px;margin:32px 0 12px;padding-top:20px;border-top:1px solid #ECEAE3}
.pg-designed .legacy .info__title span{display:block;font-size:14px;color:var(--sub)}
.pg-designed .legacy .info__title h3{margin:2px 0 0;font-size:20px}
.pg-designed .legacy .info__block{display:grid;grid-template-columns:minmax(0,320px) 1fr;gap:20px;align-items:start}
.pg-designed .legacy .info__block-image img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.pg-designed .legacy .info__block dl{margin:0}
.pg-designed .legacy .renovation__hikaku{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 0;max-width:640px}
.pg-designed .legacy .renovation__hikaku>div{position:relative}
.pg-designed .legacy .renovation__hikaku img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.pg-designed .legacy .renovation__hikaku .before::before,.pg-designed .legacy .renovation__hikaku .after::before{position:absolute;top:8px;left:8px;z-index:1;font-size:12px;font-weight:700;padding:2px 8px;border-radius:4px;color:#fff}
.pg-designed .legacy .renovation__hikaku .before::before{content:"BEFORE";background:#59605B}
.pg-designed .legacy .renovation__hikaku .after::before{content:"AFTER";background:var(--green)}
.pg-designed .legacy .info__flow{display:flex;flex-direction:column;gap:0;margin:8px 0 0}
.pg-designed .legacy .info__flow-list{display:grid;grid-template-columns:40px 1fr;gap:14px;position:relative;padding:0 0 18px}
.pg-designed .legacy .info__flow-list:not(:last-child)::before{content:"";position:absolute;left:19px;top:44px;bottom:2px;width:2px;background:#D5DED9}
.pg-designed .legacy .info__flow-list .number img{display:none}
.pg-designed .legacy .info__flow-list .text>span{display:block;font-weight:700;margin:6px 0 2px}
.pg-designed .legacy .info__flow-list .text p{margin:0;font-size:15px}
.pg-designed .legacy .voice-cont{display:grid;grid-template-columns:1fr 300px;gap:20px;align-items:start;background:#FAF9F5;border-radius:10px;padding:16px;margin:0 0 14px}
.pg-designed .legacy .voice-cont .image>img{width:100%;max-width:420px;aspect-ratio:4/3;object-fit:cover;border-radius:8px;margin:0 0 10px}
.pg-designed .legacy .voice-cont .questionnaire img{width:100%;border:1px solid var(--line);border-radius:4px}
.pg-designed .legacy .removal-explain .text p,.pg-designed .legacy .sculpture-explain .text p{margin:0}
@media (max-width:767px){
  .pg-designed .legacy .pdfbox{grid-template-columns:1fr}
  .pg-designed .legacy .pdfbox>li{grid-template-columns:110px 1fr;padding:12px}
  .pg-designed .legacy .onecol{padding:18px 16px}
  .pg-designed .legacy .service-title{font-size:21px}
  .pg-designed .legacy .service__pagelink ul{grid-template-columns:1fr}
  .pg-designed .legacy .service__pagelink a{display:grid;grid-template-columns:110px 1fr;align-items:center}
  .pg-designed .legacy .service__pagelink p{text-align:left}
  .pg-designed .legacy .service__about h2{font-size:20px}
  .pg-designed .legacy .info__block,.pg-designed .legacy .voice-cont{grid-template-columns:1fr}
}
/* ③ 会社案内 */
.pg-company .legacy h2.title-p{font-family:'Noto Serif JP',serif;font-size:24px;color:var(--ink);border-left:4px solid var(--green);padding-left:12px;margin:0 0 18px}
.pg-company .legacy .line-cont1{font-family:'Noto Serif JP',serif;font-size:22px;line-height:2;text-align:center;padding:12px 0}
.pg-company .legacy .line-cont2 h3{margin:20px 0 6px;font-family:'Noto Serif JP',serif}
.pg-company .legacy .line-cont2 h3:first-child{margin-top:0}
.pg-company .legacy .bdw img{display:block;margin:0 auto}
.pg-company .legacy h2.title span{display:block;font-size:.65em;font-family:'Noto Sans JP',sans-serif;color:var(--sub);margin-top:4px}
.pg-company .legacy .goaisatsu-waku1{margin:0 0 16px}
.pg-company .legacy .goaisatsu-waku1 img{width:100%;border-radius:8px}
.pg-company .legacy .goaisatsu-text{font-size:13px;color:var(--sub);margin-top:6px}
.pg-company .legacy .pic-cap-fr,.pg-company .legacy .pic-cap-fl{width:36%;max-width:320px;margin:4px 0 14px}
.pg-company .legacy .pic-cap-fr{float:right;margin-left:24px}.pg-company .legacy .pic-cap-fl{float:left;margin-right:24px}
.pg-company .legacy .pic-cap-fr img,.pg-company .legacy .pic-cap-fl img{width:100%;border-radius:8px}
.pg-company .legacy .bdw::after{content:"";display:block;clear:both}
.pg-company .legacy .appreciation-1,.pg-company .legacy .appreciation-2{display:grid;grid-template-columns:minmax(0,300px) 1fr;gap:20px;align-items:start;margin:0 0 20px}
.pg-company .legacy .appreciation-1 img,.pg-company .legacy .appreciation-2 img{width:100%;border-radius:8px}
.pg-company .legacy .appreciation-1 .bg,.pg-company .legacy .appreciation-2 .bg,.pg-company .legacy .box-a>.bg,.pg-company .legacy .box-b>.bg{display:none}
.pg-company .legacy .goaisatsu-banner,.pg-company .legacy .appreciation-banner{text-align:center;margin-top:20px}
.pg-company .legacy .goaisatsu-banner img,.pg-company .legacy .appreciation-banner img{max-width:640px;width:100%}
/* 社長の社外活動：写真を文章の横に小さめに */
.pg-company .legacy .imgr,.pg-company .legacy .imgl{width:34%;max-width:300px;margin:4px 0 14px;border-radius:8px}
.pg-company .legacy .imgr{float:right;margin-left:24px}.pg-company .legacy .imgl{float:left;margin-right:24px}
.pg-company .legacy .box-0,.pg-company .legacy .box-a,.pg-company .legacy .box-b{overflow:hidden;margin:0 0 24px}
.pg-company .legacy .box-a .img,.pg-company .legacy .box-b .img{float:right;width:34%;max-width:300px;margin:0 0 12px 24px}
.pg-company .legacy .box-a .img img,.pg-company .legacy .box-b .img img{width:100%;border-radius:8px}
.pg-company .legacy .box-1 h3 span,.pg-company .legacy .box-2 h3 span{font-size:.8em;font-weight:500;color:var(--sub)}
.pg-company .legacy .box-1 .image img,.pg-company .legacy .box-2 .image img{border-radius:8px}
.pg-company .legacy .box-1,.pg-company .legacy .box-2{border-top:1px solid #ECEAE3;padding-top:24px}
.pg-company .legacy .box-1:first-of-type{border-top:0;padding-top:0}
/* SDGs */
.pg-company .legacy .topic .img-r{float:right;width:34%;max-width:320px;margin:0 0 12px 24px;border-radius:8px}
.pg-company .legacy .sdgsbox{display:grid;grid-template-columns:1fr minmax(0,300px);gap:20px;align-items:start;padding:20px 0;border-top:1px solid #ECEAE3}
.pg-company .legacy .sdgsbox:first-of-type{border-top:0;padding-top:0}
.pg-company .legacy .sdgsbox h3{margin:0 0 8px}
.pg-company .legacy .sdgsbox ul{list-style:none;padding:0;margin:0 0 8px;display:flex;gap:6px}
.pg-company .legacy .sdgsbox ul img{width:64px;height:64px;border-radius:0}
.pg-company .legacy .sdgsbox-right img{width:100%;border-radius:8px}
.pg-company .legacy .goals img{display:block;max-width:640px;width:100%;margin:0 auto}
.pg-company .legacy .bloglist img{max-width:300px}
@media (max-width:767px){
  .pg-company .legacy h2.title-p{font-size:20px}
  .pg-company .legacy .line-cont1{font-size:18px}
  .pg-company .legacy .pic-cap-fr,.pg-company .legacy .pic-cap-fl,.pg-company .legacy .imgr,.pg-company .legacy .imgl,.pg-company .legacy .box-a .img,.pg-company .legacy .box-b .img,.pg-company .legacy .topic .img-r{float:none;display:block;width:100%;max-width:none;margin:0 0 12px}
  .pg-company .legacy .appreciation-1,.pg-company .legacy .appreciation-2,.pg-company .legacy .sdgsbox{grid-template-columns:1fr}
  .pg-company .legacy .sdgsbox ul img{width:52px;height:52px}
}
.legacy .tag-posts{list-style:none;padding:0;margin:0;border-top:1px solid var(--line)}
.legacy .tag-posts a{display:flex;gap:16px;padding:12px 4px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink)}
.legacy .tag-posts a:hover span{color:var(--green);text-decoration:underline}
.legacy .tag-posts time{flex:none;color:var(--sub);font-size:14px}
.legacy .tag-posts-more{margin:12px 0 0;text-align:right}
@media (max-width:767px){.legacy .tag-posts a{flex-direction:column;gap:0}}
/* ② 読みもの（お墓のはなし・日本墓紀行「想」・立松和平の墓紀行・苑）：お墓のストーリーと同じ、明朝体・生成りの地・金の細い線 */
body.pg-yomimono{--yo-gold:#A88B4E;--yo-paper:#FBF7EE;--yo-ink:#2B2620;background:var(--yo-paper)}
.pg-yomimono .page-title{font-family:'Noto Serif JP',serif;letter-spacing:.06em;text-align:center}
.pg-yomimono .page-title::after{content:"";display:block;width:56px;height:1px;background:var(--yo-gold);margin:14px auto 0}
.pg-yomimono .legacy{background:none;border:0;padding:0;color:var(--yo-ink)}
.pg-yomimono .legacy section{background:#fff;border:1px solid rgba(168,139,78,.35);border-radius:2px;padding:36px 44px;margin:0 0 24px}
.pg-yomimono .legacy .bdw,.pg-yomimono .legacy .bgw{background:none;border:0;padding:0}
.pg-yomimono .legacy p{font-family:'Noto Serif JP',serif;font-size:17px;line-height:2.05;letter-spacing:.02em}
.pg-yomimono .legacy h2.title,.pg-yomimono .legacy h2.title2,.pg-yomimono .legacy .profile>h2{font-family:'Noto Serif JP',serif;font-size:24px;color:var(--yo-ink);text-align:center;letter-spacing:.08em;margin:0 0 24px;line-height:1.6}
.pg-yomimono .legacy h2.title::after,.pg-yomimono .legacy h2.title2::after{content:"";display:block;width:40px;height:1px;background:var(--yo-gold);margin:12px auto 0}
.pg-yomimono .legacy h2.title span,.pg-yomimono .legacy h2.title2 span{display:block;font-size:.65em;color:#7A6A4F;letter-spacing:.04em}
.pg-yomimono .legacy h3{font-family:'Noto Serif JP',serif;color:var(--yo-ink)}
.pg-yomimono .legacy img{border-radius:2px}
.pg-yomimono .legacy .imgr,.pg-yomimono .legacy .imgl,.pg-yomimono .legacy .imgl-s{width:40%;max-width:340px;margin:6px 0 16px}
.pg-yomimono .legacy .imgr{float:right;margin-left:28px}.pg-yomimono .legacy .imgl,.pg-yomimono .legacy .imgl-s{float:left;margin-right:28px}
.pg-yomimono .legacy .imgl-s{width:30%}
.pg-yomimono .legacy .text-right{text-align:right;clear:both}
.pg-yomimono .legacy hr{border:0;height:1px;background:rgba(168,139,78,.5);margin:24px 0;clear:both}
.pg-yomimono .legacy .inner::after,.pg-yomimono .legacy .kikou-cont::after{content:"";display:block;clear:both}
/* 一覧（エッセイ・想・墓紀行） */
.pg-yomimono .legacy .essay-list,.pg-yomimono .legacy .sou-list,.pg-yomimono .legacy .kikou-list{list-style:none;padding:0;margin:24px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.pg-yomimono .legacy .sou-list,.pg-yomimono .legacy .kikou-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.pg-yomimono .legacy .essay-list a,.pg-yomimono .legacy .sou-list a,.pg-yomimono .legacy .kikou-list a{display:flex;flex-direction:column;height:100%;text-decoration:none;color:var(--yo-ink);background:var(--yo-paper);border:1px solid rgba(168,139,78,.3)}
.pg-yomimono .legacy .essay-list img,.pg-yomimono .legacy .sou-list img,.pg-yomimono .legacy .kikou-list img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:0}
.pg-yomimono .legacy .essay-list p,.pg-yomimono .legacy .sou-list p,.pg-yomimono .legacy .kikou-list p{margin:0;font-size:15px;line-height:1.7;padding:0 12px}
.pg-yomimono .legacy .essay-list p{padding:10px 12px 12px}
.pg-yomimono .legacy .sou-list .time,.pg-yomimono .legacy .kikou-list .time{padding-top:10px;font-size:12px;color:#7A6A4F;letter-spacing:.1em}
.pg-yomimono .legacy .sou-list .name,.pg-yomimono .legacy .kikou-list .name{font-weight:700;font-size:17px}
.pg-yomimono .legacy .more{margin-top:auto;padding:8px 12px 12px;font-size:13px;color:var(--green)}
.pg-yomimono .legacy .cl{clear:both}
.pg-yomimono .legacy .sou-list .cl,.pg-yomimono .legacy .kikou-list .cl,.pg-yomimono .legacy .kikou-list>.cl{display:none}
.pg-yomimono .legacy a:hover .name,.pg-yomimono .legacy .essay-list a:hover p{text-decoration:underline;color:var(--green)}
/* 想：人物の欄・辞世の句・ぶらぶらMAP */
.pg-yomimono .legacy .profile dl{display:grid;grid-template-columns:6em 1fr;border-top:1px solid rgba(168,139,78,.3);margin:0}
.pg-yomimono .legacy .profile dt,.pg-yomimono .legacy .profile dd{background:none;border-bottom:1px solid rgba(168,139,78,.3);padding:8px 6px}
.pg-yomimono .legacy .profile dt p,.pg-yomimono .legacy .profile dd p{margin:0;font-size:15px;line-height:1.8}
.pg-yomimono .legacy .profile dt p{color:#7A6A4F}
.pg-yomimono .legacy .jisei{clear:both;margin:28px 0 0;padding:24px;background:var(--yo-paper);text-align:center}
.pg-yomimono .legacy .jisei p.y{font-weight:700}
.pg-yomimono .legacy .jisei p.j{font-size:15px;color:#5A4E3C}
.pg-yomimono .legacy .kikou-map{text-align:center}
.pg-yomimono .legacy .kikou-map h3 img{height:34px;width:auto}
/* 墓紀行：交通アクセス・ふるさと・周辺の見所 */
.pg-yomimono .legacy .intro::after{content:"";display:block;clear:both}
.pg-yomimono .legacy .intro>img{float:right;width:44%;margin:0 0 16px 28px}
.pg-yomimono .legacy .access{clear:both;display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px;padding-top:20px;border-top:1px solid rgba(168,139,78,.4)}
.pg-yomimono .legacy .access>h3,.pg-yomimono .legacy .access>.map1{grid-column:1/-1;margin:0;text-align:center}
.pg-yomimono .legacy .access2{background:var(--yo-paper);padding:16px}
.pg-yomimono .legacy .access2 h4{margin:0 0 8px;font-family:'Noto Serif JP',serif}
.pg-yomimono .legacy .access2 h4 span{display:block;font-size:12px;color:#7A6A4F}
.pg-yomimono .legacy .access2 h5{margin:8px 0 0;font-size:13px;color:#7A6A4F}
.pg-yomimono .legacy .access2 p{font-size:15px;line-height:1.8;margin:0}
.pg-yomimono .legacy .access .cl,.pg-yomimono .legacy .access2 .bd{display:none}
.pg-yomimono .legacy .furusato{display:grid;grid-template-columns:1fr minmax(0,300px);gap:24px;align-items:start;margin:0 0 20px}
.pg-yomimono .legacy .furusato .cl{display:none}
.pg-yomimono .legacy .furusato-right img{width:100%}
.pg-yomimono .legacy .midokoro{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.pg-yomimono .legacy .midokoro li{background:var(--yo-paper);padding:14px}
.pg-yomimono .legacy .midokoro .number span{width:32px;height:32px;font-size:15px;background:var(--yo-gold)}
.pg-yomimono .legacy .midokoro h3{margin:8px 0;font-size:17px}
.pg-yomimono .legacy .midokoro img{width:100%;aspect-ratio:4/3;object-fit:cover}
.pg-yomimono .legacy .midokoro p{font-size:14px;line-height:1.85}
/* 苑 */
.pg-yomimono .legacy .en-interview .intro{text-align:center}
.pg-yomimono .legacy h2.title2 img{display:block;height:56px;width:auto;margin:0 auto 8px}
.pg-yomimono .legacy .en-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.pg-yomimono .legacy .en-list>.cl{display:none}
.pg-yomimono .legacy .en-list li{display:flex;flex-direction:column;background:var(--yo-paper);border:1px solid rgba(168,139,78,.3);padding:12px}
.pg-yomimono .legacy .en-list h4{margin:0;font-size:12px;color:#7A6A4F;font-weight:500}
.pg-yomimono .legacy .en-list h3{margin:2px 0 8px;font-size:16px;line-height:1.5}
.pg-yomimono .legacy .en-list h3 span{display:block;font-size:12px;font-weight:500;color:#7A6A4F}
.pg-yomimono .legacy .en-list img{width:100%;aspect-ratio:3/4;object-fit:cover}
.pg-yomimono .legacy .en-list p{font-size:14px;line-height:1.85;margin:8px 0}
.pg-yomimono .legacy .en-list .button,.pg-yomimono .legacy .en-all .button{margin-top:auto}
.pg-yomimono .legacy .button a{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border:1px solid var(--green);border-radius:6px;font-weight:700;text-decoration:none;font-size:14px;background:#fff}
.pg-yomimono .legacy .button a::after{content:"（PDF）";font-weight:500;font-size:12px}
.pg-yomimono .legacy .en-all{display:grid;grid-template-columns:1fr 240px;gap:20px;margin-top:32px;padding-top:24px;border-top:1px solid rgba(168,139,78,.4)}
.pg-yomimono .legacy .en-all h2{grid-column:1/-1;font-family:'Noto Serif JP',serif;font-size:20px;margin:0;text-align:center}
.pg-yomimono .legacy .en-all .right{grid-column:2;grid-row:2}
.pg-yomimono .legacy .en-all .left{grid-column:1;grid-row:2}
.pg-yomimono .legacy .en-all .cl{display:none}
/* 前の回・次の回 */
.series-nav{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:stretch;margin:0 0 24px}
.series-nav a{display:flex;flex-direction:column;justify-content:center;gap:2px;padding:12px 16px;background:#fff;border:1px solid rgba(168,139,78,.4);text-decoration:none;color:var(--ink);font-family:'Noto Serif JP',serif;line-height:1.5}
.series-nav a span{font-family:'Noto Sans JP',sans-serif;font-size:12px;color:#7A6A4F}
.series-nav .series-next{text-align:right}
.series-nav .series-index{align-items:center;font-size:14px;color:var(--green)}
.series-nav a:hover{border-color:var(--green)}
.pg-yomimono .cta-box{margin-bottom:24px}
@media (max-width:767px){
  .pg-yomimono .legacy section{padding:24px 18px}
  .pg-yomimono .legacy p{font-size:16px;line-height:1.95}
  .pg-yomimono .legacy h2.title,.pg-yomimono .legacy h2.title2{font-size:20px}
  .pg-yomimono .legacy .imgr,.pg-yomimono .legacy .imgl,.pg-yomimono .legacy .imgl-s,.pg-yomimono .legacy .intro>img{float:none;display:block;width:100%;max-width:none;margin:8px 0 16px}
  .pg-yomimono .legacy .essay-list,.pg-yomimono .legacy .sou-list,.pg-yomimono .legacy .kikou-list,.pg-yomimono .legacy .en-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .pg-yomimono .legacy .sou-list .name,.pg-yomimono .legacy .kikou-list .name{font-size:15px}
  .pg-yomimono .legacy .access,.pg-yomimono .legacy .furusato,.pg-yomimono .legacy .midokoro,.pg-yomimono .legacy .en-all{grid-template-columns:1fr}
  .pg-yomimono .legacy .en-all .right,.pg-yomimono .legacy .en-all .left{grid-column:1;grid-row:auto}
  .series-nav{grid-template-columns:1fr 1fr}
  .series-nav .series-index{grid-column:1/-1;grid-row:2}
}
.pg-yomimono .legacy .link ul{list-style:none;padding:0;margin:20px 0 0;display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.pg-yomimono .legacy .link img{height:44px;width:auto;border-radius:0}
/* 特集「永代供養」の霊園の一覧（都県ごと） */
.legacy .type-pref-h{display:flex;align-items:baseline;gap:4px;font-size:18px;margin:28px 0 12px;padding-bottom:6px;border-bottom:1px solid var(--line)}
.legacy .type-pref-h span{font-size:14px;font-weight:500;color:var(--sub)}
.legacy .card-grid{margin:0 0 8px}
.legacy .card-grid .card-title{margin:0;border:0;padding:0;font-size:18px}
.legacy .card-grid p{margin:0}
.legacy .card-grid img{border-radius:0}
.legacy .type-pref-more{margin:4px 0 0}
@media (min-width:768px){.legacy .eitai-list .card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.legacy .eitai-list .card-meta{font-size:12px}.legacy .eitai-list .card-title{font-size:16px}.legacy .eitai-list .card-actions .btn{font-size:13px}}
/* 納骨堂の目印（寺院墓地と同じ形で、色と絵を変える：屋内の建物。2026/11/18 大塚様：納骨堂も霊園とまぜて載せる） */
.nk-tag{background:#E6EDF3;color:#2E5675}
.nk-tag::before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V8l8-5 8 5v13'/%3E%3Cpath d='M8 21v-9h8v9'/%3E%3Cpath d='M8 15h8M12 12v9'/%3E%3Cpath d='M2 21h20'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V8l8-5 8 5v13'/%3E%3Cpath d='M8 21v-9h8v9'/%3E%3Cpath d='M8 15h8M12 12v9'/%3E%3Cpath d='M2 21h20'/%3E%3C/svg%3E") center/contain no-repeat}
/* トップの数の下の小さな注記（「寺院墓地・納骨堂を含む」。2026/11/18） */
.stats-note{display:block;font-size:11px;color:var(--sub);line-height:1.4;margin-top:2px}
/* 経営方針「行動指針」「大塚社員十ヶ条」：今の画像と同じ縦書き・明朝・紺の文字（2026/11/18。画像を文字に） */
.legacy .line-vertical{writing-mode:vertical-rl;list-style:none;margin:0 auto;padding:8px 4px;max-width:100%;max-height:none;overflow-x:auto;font-family:'Noto Serif JP',serif;font-weight:700;font-size:22px;line-height:1.9;letter-spacing:.12em;color:#1F3A68}
.legacy .line-vertical li{display:block;margin:0 0 0 .4em}
.legacy .line-vertical .line-cont{display:block;padding-inline-start:4.2em}
.legacy .bdw:has(.line-vertical){display:flex;justify-content:center}
/* スマホでは縦書きの列が画面に入りきらないので、横書きの一覧にする */
@media (max-width:767px){.legacy .line-vertical{writing-mode:horizontal-tb;font-size:17px;letter-spacing:.04em;line-height:1.7;padding:0;width:100%}.legacy .line-vertical li{margin:0;padding:10px 0 10px 2em;text-indent:-2em;border-bottom:1px solid #ECEAE3}.legacy .line-vertical li:last-child{border-bottom:0}.legacy .line-vertical .line-ichi{display:inline-block;width:2em;text-indent:0;white-space:nowrap;letter-spacing:0}.legacy .line-vertical .line-cont{display:inline;padding:0}}
