﻿/*======================================================================
||
||    スタイル統合ファイル (style2.css)
||    トップページ、サービスページ共通(sv-)、フッター共通(ft-)
||
======================================================================*/

/* ================================================================
   無縁墓の調査ページ専用 (.p-muenbo / mn-)
================================================================ */
.mn-case-card {
    background: #fff;
    border: 1px solid var(--sv-warm);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
/* 事例カード上段は旧仕様復帰用（muenbo マークアップで使用） — 未定義でも害なし */
.mn-case-top {
    display: grid;
    grid-template-columns: 1fr minmax(160px, 240px);
    gap: 0;
    align-items: stretch;
    border-bottom: 1px solid var(--sv-warm);
}
.mn-case-top-media {
    border-right: 1px solid var(--sv-warm);
}
.mn-case-top-media img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: bottom;
}
.mn-case-block {
    padding: 28px 32px;
}
.mn-case-block > p:not(.mn-case-meta) {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--sv-ink2);
    margin: 0 0 12px;
}
.mn-case-block .mn-case-list {
    margin: 0 0 12px;
}
.mn-case-top .mn-case-flow {
    justify-content: center;
    align-self: stretch;
}
.mn-case-header {
    background: var(--sv-forest);
    color: #fff;
    padding: 24px 32px;
}
.mn-case-label {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: .15em;
    background: var(--sv-gold);
    color: #fff;
    padding: 3px 12px;
    border-radius: 3px;
    margin-bottom: 10px;
}
.mn-case-title {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    font-weight: 700;
    margin: 0 0 6px;
    color: #fff;
}
.mn-case-period {
    font-size: 1.8rem;
    color: #232323;
    opacity: .8;
    margin: 0;
}
.mn-case-body {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 0;
    align-items: start;
}
.mn-case-text {
    padding: 28px 32px;
    border-right: 1px solid var(--sv-warm);
}
.mn-case-sub {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sv-forest);
    margin: 20px 0 8px;
    padding-left: 10px;
    border-left: 3px solid var(--sv-gold);
}
.mn-case-sub:first-child { margin-top: 0; }
.mn-case-text p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--sv-ink2);
    margin: 0 0 8px;
}
.mn-case-list {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--sv-ink2);
    padding-left: 1.6em;
    margin: 0 0 8px;
}
.mn-case-list li { margin-bottom: 4px; }
.mn-case-flow {
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: flex-start;
    align-self: start;
}
.mn-case-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--sv-warm);
}
.mn-case-step:last-child { border-bottom: none; }
.mn-case-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sv-forest);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}
.mn-case-step-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--sv-ink);
}
.mn-case-result {
    padding: 20px 32px;
    background: var(--sv-cream);
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--sv-ink2);
    margin: 0;
    border-top: 1px solid var(--sv-warm);
}
@media (max-width: 768px) {
    .mn-case-body { grid-template-columns: 1fr; }
    .mn-case-text { border-right: none; border-bottom: 1px solid var(--sv-warm); padding: 20px; }
    .mn-case-top {
        grid-template-columns: 1fr;
    }
    .mn-case-top-media {
        border-right: none;
        border-bottom: 1px solid var(--sv-warm);
    }
    .mn-case-top .mn-case-flow {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 16px 20px;
        gap: 8px;
    }
    .mn-case-block { padding: 20px; }
    .mn-case-flow { flex-direction: row; flex-wrap: wrap; padding: 16px 20px; gap: 8px; }
    .mn-case-step { border-bottom: none; padding: 6px 10px; background: var(--sv-cream); border-radius: 6px; }
    .mn-case-header { padding: 20px; }
    .mn-case-result { padding: 16px 20px; }
}

/* ================================================================
   TOP PAGE (home.php)
================================================================ */
.hero {
    padding: 0;
}
.hero-visual {
    width: 100%;
    padding: 0;
    margin: 0;
}
.hero-visual .section-ec,
.hero-visual .splide__track,
.hero-visual .splide__list,
.hero-visual .splide__slide {
    margin: 0;
}
.hero-visual .splide__slide img {
    width: 100%;
    display: block;
    border-radius: 0;
}
.voice-card-inner .info-category {
    background: rgba(255, 255, 255, 0.78);
    color: #000;
}

/* ================================================================
   TOP PAGE: SPECIAL（POSTカテゴリ "special"）
================================================================ */
.section-special {
    margin-top: 30px;
    margin-bottom: 80px;
}
.special-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: calc(100% - 30px);
    margin: 0 auto;
}
.special-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.special-card:hover {
    transform: translateY(-3px);
}
.special-card__media {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 27 / 19;
    background: #f2f2f2;
    overflow: hidden;
}
.special-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.special-card__body {
    display: block;
    padding: 10px 15px;
    min-height: 75px;
}
.special-card__title {
    display: block;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--sv-ink, #1A1714);
}

@media only screen and (max-width: 768px) {
    .special-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .special-card__title {
        font-size: 1.5rem;
    }
}

/* ================================================================
   TOKENS
================================================================ */
:root {
    --sv-max-w:     1300px;
    --sv-forest:    #1B3829;
    --sv-sage:      #127547;
    --sv-cream:     #F7F4EE;
    --sv-parchment: #EDE8DF;
    --sv-warm:      #D9D2C5;
    --sv-ink:       #1A1714;
    --sv-ink2:      #3D3830;
    --sv-ink3:      #6E6760;
    --sv-gold:      #C09A3E;
    --sv-gold-lt:   #D4B05A;
    --sv-white:     #FFFFFF;
    --sv-serif:     'Noto Serif JP','Noto Sans JP',serif;
    --sv-sans:      'Noto Sans JP',sans-serif;
    --sv-forest2:  #26513B;
    --sv-gold-pale: #FAF3E0;
    --sv-sec-pad:   80px;
}

/* ================================================================
   HERO
================================================================ */

.sv-hero-lead {
    font-size: clamp(15px, 1.6vw, 18px);
    color: rgba(255,255,255,.82);
    line-height: 1.9;
    max-width: 680px;
    margin: 0 auto;
}


@media only screen and (max-width: 640px) {
.sv-jumpnav-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px 20px;
}
}

/* ================================================================
   BUTTONS
================================================================ */
.sv-action-primary,
a.sv-action-primary,
.sv-action-ghost,
a.sv-action-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 14px 32px;
    border-radius: 32px;
    line-height: 1;
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s, transform .15s;
    cursor: pointer;
}
.sv-action-primary,
a.sv-action-primary {
    background: var(--sv-gold);
    color: var(--sv-forest);
    border: 1.5px solid var(--sv-gold);
}
.sv-action-primary:hover,
a.sv-action-primary:hover {
    background: var(--sv-gold-lt);
    border-color: var(--sv-gold-lt);
    transform: translateY(-2px);
}
.sv-action-ghost,
a.sv-action-ghost {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,.45);
    color: var(--sv-white);
}
.sv-action-ghost:hover,
a.sv-action-ghost:hover {
    border-color: var(--sv-white);
    transform: translateY(-2px);
}

/* ================================================================
   CONCERN SECTIONS
================================================================ */
.sv-concern-sec {
    padding: var(--sv-sec-pad) 0;
    background: var(--sv-white);
}
.sv-concern-sec--alt {
    background: #f5f5f5;
}
.sv-concern-head {
    margin-bottom: 64px;
}
.sv-concern-quotes {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 20px;
    text-align: right;
}
.sv-concern-quote {
    font-size: clamp(17px, 1.8vw, 33px);
    font-weight: 400;
    color: var(--sv-ink3);
    letter-spacing: .04em;
    line-height: 1.8;
    margin: 0;
}
.sv-concern-title {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 400;
    color: var(--sv-forest);
    letter-spacing: .04em;
    line-height: 1.3;
    margin: 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #454545;
}
.sv-concern-lead {
    font-size: 1.8rem;
    color: var(--sv-ink2);
    line-height: 2;
    margin: 24px 0 0;
}

/* ================================================================
   SERVICE ITEMS
================================================================ */
.sv-services {
    display: flex;
    flex-direction: column;
    margin-bottom: 56px;
    gap: 20px;
}
.sv-service-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #cbcbcb;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.sv-service-img {
    width: 340px;
    flex-shrink: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    background: var(--sv-warm);
}
.sv-service-img img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}
.sv-service-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 4px 0;
}
.sv-service-title {
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 500;
    color: #2d2d2d;
    line-height: 1.4;
    letter-spacing: .03em;
    margin: 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #b7b7b7;
}
.sv-service-txt {
    font-size: 1.7rem;
    color: #3D3830;
    line-height: 1.8;
    margin: 0;
}
.sv-service-price {
    font-size: 1.5rem;
    color: var(--sv-ink3);
    margin-top: 8px;
    letter-spacing: .03em;
}
.sv-service-price strong {
    color: #c0185e;
    font-size: 2.0rem;
    font-weight: 700;
    margin-left: 4px;
    white-space: nowrap;
}
.sv-service-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--sv-ink3);
    margin-left: 10px;
    letter-spacing: .02em;
    vertical-align: middle;
}
.sv-service-subtitle--stacked {
    display: block;
    margin: 8px 0 12px;
    line-height: 1.6;
}
.sv-service-dl {
    width: 100%;
    border-top: 1px dotted var(--sv-warm);
    margin-top: 6px;
    overflow: hidden;
}
.sv-service-dl dt {
    float: left;
    clear: left;
    width: 110px;
    padding: 9px 0;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--sv-ink3);
    line-height: 1.5;
    border-bottom: 1px dotted var(--sv-warm);
}
.sv-service-dl dd {
    float: left;
    width: calc(100% - 110px);
    margin: 0;
    padding: 6px 0 6px 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    border-bottom: 1px dotted var(--sv-warm);
    min-height: 38px;
}
.sv-tag {
    display: inline-block;
    border: 1.5px solid #232323;
    border-radius: 20px;
    padding: 2px 12px;
    font-size: 1.35rem;
    font-weight: 500;
    color: #232323;
    background: #ffffff;
    white-space: nowrap;
    line-height: 1.6;
}
.sv-service-dl .dd-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #E91E63;
    letter-spacing: .02em;
}

/* ================================================================
   ADVISOR (お客様の声など)
================================================================ */
.sv-advisor {
    background: var(--sv-white);
    border: 1px solid var(--sv-warm);
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.sv-advisor--mt {
    margin-top: 20px;
}
.sv-advisor-inner {
    display: flex;
    align-items: stretch;
}
.sv-advisor-content {
    flex: 1;
    padding: 10px 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sv-advisor-label {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 500;
    color: #7b7b7b;
    border: 1px solid #d5d5d5;
    width: fit-content;
    padding: 0 10px;
    border-radius: 6px;
}
.sv-advisor-q {
    font-size: 2rem;
    font-weight: 600;
    color: var(--sv-forest);
    line-height: 1.6;
    margin: 0;
}
.sv-advisor-a {
    font-size: 1.6rem;
    color: var(--sv-ink2);
    line-height: 1.7;
    padding-left: 5px;
    margin: 0;
}
.sv-advisor-img {
    width: 180px;
    min-height: 180px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sv-parchment);
    padding: 12px;
    align-self: stretch;
    overflow: hidden;
}
.sv-advisor-img img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    display: block;
}

/* ================================================================
   CTA BAND
================================================================ */
.sv-cta-band {
    background: var(--sv-forest);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sv-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        transparent, transparent 30px,
        rgba(255,255,255,.02) 30px,
        rgba(255,255,255,.02) 31px
    );
    pointer-events: none;
}
.sv-cta-heading {
    font-family: var(--sv-serif);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 400;
    color: var(--sv-white);
    letter-spacing: .06em;
    margin: 0 0 10px;
    position: relative;
    z-index: 1;
}
.sv-cta-band p.sv-cta-lead {
    font-size: 1.8rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
    line-height: 1.9;
}
.sv-cta-band a.sv-cta-tel {
    display: block;
    font-family: var(--sv-serif);
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 600;
    color: var(--sv-gold-lt) !important;
    letter-spacing: .08em;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}
.sv-cta-band p.sv-cta-tel-sub {
    font-size: 1.5rem;
    color: rgba(255,255,255,.6);
    letter-spacing: .08em;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}
.sv-cta-band .sv-cta-btn-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.sv-cta-band a.sv-action-primary { color: var(--sv-forest); }
.sv-cta-band a.sv-action-ghost   { color: var(--sv-white); }

.sv-sec-head {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* DOM は英字→和文のまま、表示順だけ「和文 → 英字 → リード」 */
.sv-sec-head .sv-sec-ja {
    order: 1;
}
.sv-sec-head .sv-sec-en {
    order: 2;
    margin-top: 10px;
    margin-bottom: 0;
}
.sv-sec-head .sv-sec-lead {
    order: 3;
}

.sv-sec-ja {
    font-family: var(--sv-serif);
    font-size: clamp(20px, 3.5vw, 44px);
    font-weight: 400;
    color: var(--sv-forest);
    letter-spacing: .04em;
    line-height: 1.4;
    margin: 0;
}
.sv-sec-ja span { 
    font-size: 80%;
}
.sv-sec-head .sv-sec-lead {
    font-size: 1.9rem;
    color: #333333;
    line-height: 2;
    margin: 25px auto 15px;
    max-width: 1300px;
    text-align: center;
}

.sv-sec-en {
    display: block;
    font-family: var(--sv-serif);
    font-size: 1.87rem;
    letter-spacing: .22em;
    color: #466b67;
    font-weight: 600;
    margin-bottom: 10px;
}


@media (max-width: 768px) {
.sv-sec-ja {
    font-weight: 500;
    letter-spacing: 2px;
}
.sv-sec-en {
    font-size: 1.5rem;
    letter-spacing: 1px;
}
.sv-sec-head .sv-sec-lead {
    font-size: 1.5rem;
    line-height: 1.6;
}
}

/* ================================================================
   WORRY SECTION
================================================================ */
.sv-worry-sec  { background: var(--sv-white); }
.sv-worry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.sv-worry-item {
    background: #F5F1EC;
    padding: 32px 36px;
    border-radius: 12px;
}
.sv-worry-col  { display: flex; flex-direction: column; gap: 16px; }
.sv-worry-row  { display: flex; align-items: flex-start; gap: 14px; }
.sv-worry-row--a { background: none; border: none; padding: 0; }
.sv-worry-q,
.sv-worry-a-badge {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    font-family: var(--sv-serif);
    font-size: 1.3rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px; line-height: 1;
}
.sv-worry-q        { background: var(--sv-ink3); color: var(--sv-white); }
.sv-worry-a-badge  { background: #fff; color: #080704; }
.sv-worry-question {
    font-family: var(--sv-serif);
    font-size: 1.9rem; font-weight: 500;
    color: var(--sv-ink); line-height: 1.5; margin: 0;
}
.sv-worry-answer {
    font-size: 1.7rem;
    color: var(--sv-ink2); line-height: 1.8; margin: 0;
}

/* ================================================================
   MERIT SECTION
================================================================ */
.sv-merit-sec  { background: var(--sv-cream); }
.sv-merit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.sv-merit-item {
    background: var(--sv-parchment);
    padding: 40px 32px; border-radius: 3px;
}
.sv-merit-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.sv-merit-icon {
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
    font-weight: 500;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #4f4f4f;
}
.sv-merit-title {
    font-family: var(--sv-serif);
    font-size: 2.0rem; font-weight: 500;
    color: var(--sv-forest); line-height: 1.4; margin: 0;
}
.sv-merit-txt { font-size: 1.7rem; color: var(--sv-ink3); line-height: 1.9; }
.sv-merit-grid--centered {
    max-width: 800px;
    margin: 0 auto;
}
.sv-merit-item--full {
    grid-column: 1 / -1;
}

/* ================================================================
   QUOTE BAND
================================================================ */
.sv-quote-band {
    background: var(--sv-forest);
    background-size: cover;
    background-position: center top;
    padding: 0 40px;
    position: relative; overflow: hidden;
}
.sv-quote-band::before {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent, transparent 79px,
        rgba(255,255,255,.03) 79px,
        rgba(255,255,255,.03) 80px
    );
    pointer-events: none;
}
.sv-quote-inner {
    max-width: var(--sv-max-w); margin: 0 auto;
    display: flex; align-items: center; gap: 48px;
}
.sv-quote-content {
    flex: 1; padding: 72px 0;
    position: relative; z-index: 1;
}
.sv-quote-text {
    font-family: var(--sv-serif);
    font-size: clamp(18px, 2.3vw, 20px); font-weight: 400;
    color: var(--sv-white); line-height: 1.7;
    letter-spacing: .06em; margin: 0;
}
.sv-quote-text span { font-size: 140%; font-weight: 500; display: block; padding: 0 0 8px; }
.sv-quote-text em   { font-style: normal; color: var(--sv-gold-lt); }
.sv-quote-attr {
    font-size: 1.5rem;
    color: rgb(255 255 255 / 92%);
    margin-top: 24px; letter-spacing: .08em;
}
.sv-quote-attr span { font-size: 140%; padding: 0 8px; }
.sv-quote-president {
    flex-shrink: 0; padding: 30px 0 0;
    width: 230px; position: relative; z-index: 1;
    display: flex; align-items: flex-end;
}
.sv-quote-president img { width: 100%; height: auto; object-fit: contain; object-position: bottom; }

/* ================================================================
   LINEUP SECTION
================================================================ */
.sv-lineup-sec  { background: var(--sv-parchment); }
.sv-lineup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0 50px;
}
.sv-lineup-card {
    background: var(--sv-white);
    border: 1px solid var(--sv-warm);
    border-radius: 10px; overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.sv-lineup-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(27,56,41,.12);
}
.sv-lineup-card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--sv-warm); }
.sv-lineup-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.sv-lineup-card:hover .sv-lineup-card-img img { transform: scale(1.04); }
.sv-lineup-card-body { padding: 24px 26px 28px; }
.sv-lineup-card-label {
    font-size: .9rem; letter-spacing: .16em; font-weight: 700;
    color: var(--sv-gold); border: 1px solid var(--sv-gold);
    padding: 2px 8px; border-radius: 1px;
    display: inline-block; margin-bottom: 12px;
}
.sv-lineup-card-title {
    font-family: var(--sv-serif);
    font-size: 2.1rem; font-weight: 500;
    color: var(--sv-forest); line-height: 1.4; margin: 0 0 10px;
}
.sv-lineup-card-txt  { font-size: 1.7rem; color: var(--sv-ink3); line-height: 1.9; }
.sv-lineup-card-more {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px; font-size: 1.2rem; font-weight: 700;
    color: var(--sv-sage); letter-spacing: .06em;
}
.sv-lineup-card-more::after { content: '→'; transition: transform .2s; }
.sv-lineup-card:hover .sv-lineup-card-more::after { transform: translateX(5px); }

/* ================================================================
   GRAVESTONE CEO BLOCK
================================================================ */
.sv-gravestone-ceo-block {
    margin-top: 56px;
    padding: 34px;
    background: linear-gradient(135deg, #f8f2da 0%, #fff9ec 48%, #f4ead0 100%);
    border: 1px solid #e7d7ab;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.sv-gravestone-ceo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 34px;
    align-items: stretch;
}
.sv-gravestone-movie-card {
    background: linear-gradient(180deg, rgba(23,23,23,.96) 0%, rgba(53,45,45,.92) 100%);
    border-radius: 14px;
    padding: 22px;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.sv-gravestone-movie-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.sv-gravestone-movie-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.12);
}
.sv-gravestone-movie-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sv-gravestone-movie-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
    color: #fff;
}
.sv-gravestone-movie-sub {
    font-size: 1.3rem;
    color: rgba(255,255,255,.78);
    margin: 2px 0 0;
}
.sv-gravestone-movie-screen {
    position: relative;
    flex: 1;
    min-height: 340px;
    border-radius: 12px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(96,84,84,.82) 0%, rgba(96,84,84,.82) 23%, rgba(234,229,224,.92) 23%, rgba(234,229,224,.92) 77%, rgba(96,84,84,.82) 77%, rgba(96,84,84,.82) 100%),
        linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.28));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}
.sv-gravestone-movie-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92px;
    height: 64px;
    border-radius: 18px;
    background: #ff3b30;
    box-shadow: 0 10px 24px rgba(0,0,0,.24);
}
.sv-gravestone-movie-play::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}
.sv-gravestone-movie-caption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(88,74,74,.9);
    color: #fff;
    font-size: 1.9rem;
    font-weight: 700;
}
.sv-gravestone-movie-caption::after {
    content: '▶';
    font-size: 1.3rem;
    line-height: 1;
}
.sv-gravestone-movie-note {
    font-size: 1.45rem;
    color: rgba(255,255,255,.84);
    line-height: 1.8;
    margin: 16px 0 0;
}
.sv-gravestone-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 24px;
    align-items: end;
    min-height: 100%;
}
.sv-gravestone-kicker {
    display: inline-block;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.6;
    color: #d75a34;
    letter-spacing: .04em;
    margin-bottom: 16px;
}
.sv-gravestone-copy {
    font-size: 1.75rem;
    color: #2f261e;
    line-height: 1.95;
    margin: 0;
}
.sv-gravestone-profile {
    margin-top: 28px;
    text-align: center;
    color: #221c16;
}
.sv-gravestone-profile-role {
    display: block;
    font-size: 1.5rem;
    line-height: 1.8;
}
.sv-gravestone-profile-name {
    display: block;
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 4px;
}
.sv-gravestone-profile-meta {
    display: block;
    font-size: 1.45rem;
    line-height: 1.9;
    margin-top: 6px;
}
.sv-gravestone-portrait {
    align-self: end;
}
.sv-gravestone-portrait img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: bottom center;
}
@media only screen and (max-width: 1024px) {
    .sv-gravestone-ceo-grid {
        grid-template-columns: 1fr;
    }
    .sv-gravestone-info {
        grid-template-columns: 1fr 190px;
    }
}
@media only screen and (max-width: 768px) {
    .sv-gravestone-ceo-block {
        padding: 24px 18px;
        margin-top: 40px;
    }
    .sv-gravestone-info {
        grid-template-columns: 1fr;
    }
    .sv-gravestone-portrait {
        max-width: 220px;
        margin: 0 auto;
    }
    .sv-gravestone-movie-title {
        font-size: 1.8rem;
    }
    .sv-gravestone-copy {
        font-size: 1.6rem;
    }
    .sv-gravestone-movie-screen {
        min-height: 260px;
    }
    .sv-gravestone-movie-caption {
        font-size: 1.6rem;
    }
}

/* ================================================================
   FLOW SECTION
================================================================ */
.sv-flow-sec  { background: var(--sv-white); }
.sv-flow-note {
    background: var(--sv-gold-pale);
    border-left: 3px solid var(--sv-gold);
    padding: 16px 24px;
    font-size: 1.7rem; color: var(--sv-ink2); line-height: 1.9;
    border-radius: 0 3px 3px 0; margin-bottom: 40px;
}
.sv-flow-note strong { color: var(--sv-gold); font-weight: 700; }
.sv-flow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.sv-flow-step {
    border-radius: 10px;
    background: var(--sv-white);
    border: 1px solid var(--sv-warm);
    aspect-ratio: 1;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
    overflow: visible;
    padding: 5px;
}

.sv-flow-steps--4col {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 40px;
}

.sv-flow-step:not(:nth-child(3n))::after {
    content: '';
    position: absolute;
    right: -29px; top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-left: 18px solid var(--sv-gold);
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    z-index: 1;
}
.sv-flow-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--sv-white);
    font-size: 4rem;
    font-family: var(--sv-serif);
    font-weight: 700;
    color: #cfa747 !important;
}
.sv-flow-label {
    font-size: 1.8rem; font-weight: 600;
    color: var(--sv-ink2); line-height: 1.6; letter-spacing: .02em;
}
.sv-flow-sub {
    font-size: 1.5rem;
    color: var(--sv-ink3);
    line-height: 1.7;
    min-height: 55px;
}
.sv-flow-pledge {
    background: #f9f9f9;
    border: 1px solid #cccccc;
    border-radius: 6px; margin-bottom: 48px; overflow: hidden;
}
.sv-flow-pledge-inner {
    display: flex; align-items: center;
    gap: 28px; padding: 28px 36px;
}
.sv-flow-pledge-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: #ffffff;
    border: 1px solid #f1f1f1;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: var(--sv-forest);
}
.sv-flow-pledge-title {
    display: block;
    font-family: var(--sv-serif);
    font-size: 2.0rem; font-weight: 700;
    color: #5b5b5b; letter-spacing: .06em; margin-bottom: 8px;
}
.sv-flow-pledge-txt {
    font-size: 1.7rem;
    color: var(--sv-ink2); line-height: 1.8; margin: 0;
}

/* ================================================================
   FAQ SECTION
================================================================ */
.sv-faq-sec  { background: var(--sv-parchment); }
.sv-faq-list {
    max-width: var(--sv-max-w);
    margin: 0 auto;
    padding: 10px 0 80px;
}
.sv-faq-item { border-bottom: 1px solid var(--sv-warm); overflow: hidden; }
.sv-faq-q {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 0;
    cursor: pointer;
    font-family: var(--sv-serif);
    font-size: clamp(17px, 2.6vw, 20px);
    color: #11231a;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .02em;
    transition: color .2s;
    user-select: none;
}
.sv-faq-q:hover,
.sv-faq-item.is-open .sv-faq-q { color: var(--sv-sage); }
.sv-faq-q-mark {
    flex-shrink: 0;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--sv-gold); color: var(--sv-forest);
    font-size: 1.3rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin-top: 1px;
}
.sv-faq-q-text { flex: 1; }
.sv-faq-toggle {
    margin-left: auto; flex-shrink: 0;
    font-size: 2.0rem; color: var(--sv-ink3);
    transition: transform .3s;
    padding-left: 12px; line-height: 1.5;
}
.sv-faq-item.is-open .sv-faq-toggle { transform: rotate(45deg); }
.sv-faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 20px 0 10px;
    font-size: 1.8rem; color: var(--sv-ink2); line-height: 1.8;
}
.sv-faq-item.is-open .sv-faq-a { max-height: 400px; padding-bottom: 22px; }
.sv-faq-a-inner {
    padding-top: 4px;
    font-size: clamp(15px, 2.2vw, 18px);
}

/* ================================================================
   STRENGTHS SECTION（ジグザグレイアウト）
================================================================ */
.sv-strengths-sec {
    padding: var(--sv-sec-pad) 0;
    background: var(--sv-cream);
}
.sv-strength-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}
.sv-strength-row:last-child {
    margin-bottom: 0;
}
.sv-strength-row--rev {
    flex-direction: row-reverse;
}
.sv-strength-img {
    flex: 0 0 48%;
    max-width: 48%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    background: var(--sv-warm);
}
.sv-strength-img img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}
.sv-strength-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sv-strength-num {
    display: block;
    font-family: var(--sv-serif);
    font-size: 5.0rem;
    font-weight: 600;
    color: var(--sv-warm);
    line-height: 1;
    letter-spacing: -.02em;
}
.sv-strength-en {
    display: block;
    font-size: 1.0rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--sv-gold);
    margin-bottom: 4px;
}
.sv-strength-title {
    font-family: var(--sv-serif);
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 600;
    color: var(--sv-forest);
    line-height: 1.5;
    letter-spacing: .04em;
    margin: 0 0 10px;
}
.sv-strength-txt {
    font-size: 1.7rem;
    color: var(--sv-ink2);
    line-height: 1.9;
    margin: 0;
}

/* ================================================================
   POINT STRIP
================================================================ */
.sv-point-strip {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 64px;
}
.sv-point-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 32px;
}
.sv-point-item:nth-child(1) { background: #dff0fa; }
.sv-point-item:nth-child(2) { background: #fff3e0; }
.sv-point-item:nth-child(3) { background: #fce8b2; }
.sv-point-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    gap: 0;
}
.sv-point-circle--1 { background: #e91e8c; }
.sv-point-circle--2 { background: #ff9800; }
.sv-point-circle--3 { background: #ff9800; }
.sv-point-circle .sv-point-label {
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .04em;
}
.sv-point-circle .sv-point-num {
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.sv-point-body { flex: 1; }
.sv-point-title {
    font-size: 2.0rem;
    font-weight: 700;
    color: var(--sv-ink);
    line-height: 1.4;
    margin: 0 0 4px;
}
.sv-point-note {
    font-size: 1.3rem;
    color: var(--sv-ink3);
    margin: 0 0 4px;
}
.sv-point-txt {
    font-size: 1.5rem;
    color: var(--sv-ink2);
    line-height: 1.7;
    margin: 0;
}

/* ================================================================
   OTHER MERITS
================================================================ */
.sv-other-merits {
    margin-top: 48px;
}
.sv-other-merits-head {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 300;
    color: var(--sv-forest);
    text-align: center;
    letter-spacing: .04em;
    margin: 0 0 32px;
}
.sv-check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.sv-check-item {
    background: var(--sv-parchment);
    border-radius: 8px;
    padding: 28px 32px;
}
.sv-check-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--sv-forest);
    margin: 0 0 10px;
    line-height: 1.4;
}
.sv-check-title::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--sv-sage);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 11' fill='none'%3E%3Cpath d='M1 5.5L5 9.5L13 1' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}
.sv-check-txt {
    font-size: 1.5rem;
    color: var(--sv-ink3);
    line-height: 1.8;
    margin: 0;
}
.sv-check-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media only screen and (max-width: 900px) {
    .sv-point-item { padding: 16px 20px; gap: 16px; }
    .sv-point-title { font-size: 1.7rem; }
    .sv-check-grid, .sv-check-grid--3 { grid-template-columns: 1fr; }
}

/* ================================================================
   SET CONTENTS (セット内容例バー)
================================================================ */
.sv-set-contents {
    background: #f5f4f0;
    border-radius: 8px;
    padding: 32px 36px;
    margin: 0 0 56px;
    border: 1px solid #e2ded8;
}
.sv-set-contents-label {
    margin: 0 0 20px;
    text-align: center;
    line-height: 1.4;
}
.sv-set-contents-label-main {
    display: block;
    font-size: 2rem;
    letter-spacing: .24em;
    font-weight: 600;
    color: #5f5f5f;
}
.sv-set-contents-label-sub {
    display: block;
    margin-top: 6px;
    font-size: 1.6rem;
    letter-spacing: .18em;
    font-weight: 500;
    color: #3b3b3b;
}
.sv-set-contents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.sv-set-contents-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 16px 14px;
    text-align: center;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sv-set-contents-item--center {
    align-items: center;
}
.sv-set-contents-item--span2 {
    grid-column: span 2;
}
.sv-set-contents-sub {
    font-size: 1.4rem;
    color: #004d46;
    font-weight: 500;
    margin-bottom: 0px;
    line-height: 1.4;
}
.sv-set-contents-main {
    font-size: 1.7rem;
    font-weight: 500;
    color: #1a1a1a;
}

/* ================================================================
   PHOTO FLOW GRID (写真付きフロー)
================================================================ */
.sv-photo-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0px 0 50px;
}
.sv-photo-flow-item {
    text-align: left;
    position: relative;
    background: #fff;
    border: 1px solid #e2ded8;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    padding: 0 0 22px;
    height: 100%;
    overflow: visible;
}
.sv-photo-flow-item--arrow::after {
    content: '';
    position: absolute;
    right: -28px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #d55449 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M4.5 2.5L9 7L4.5 11.5' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .16);
    z-index: 3;
}
.sv-photo-flow-badge {
    background: unset;
    border-radius: 0;
    width: 100%;
    padding: 10px 10px 8px;
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 500;
    color: #3b3b3b;
    margin-bottom: 0px;
    letter-spacing: .08em;
    line-height: 1.4;
    box-sizing: border-box;
}
.sv-photo-flow-badge::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    vertical-align: middle;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 1V11L10 6L2 1Z' fill='%23222222'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.sv-photo-flow-img {
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 10px;
    border-top: 1px solid #ece8e1;
    border-bottom: 1px solid #ece8e1;
    border-left: 0;
    border-right: 0;
    background: #f5f4f0;
    padding: 0;
}
.sv-photo-flow-img img {
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: unset;
    display: block;
    background: transparent;
}
.sv-photo-flow-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 10px 10px;
    line-height: 1.55;
    color: #2f2f2f;
    text-align: left;
}
.sv-photo-flow-txt {
    font-size: 1.45rem;
    color: #555;
    line-height: 1.9;
    margin: 0 10px;
    text-align: left;
}

@media only screen and (max-width: 1024px) {
    .sv-photo-flow-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
    .sv-photo-flow-item--arrow::after { display: none; }
    .sv-photo-flow-item { padding: 0 0 18px; }
    .sv-photo-flow-badge { font-size: 1.55rem; padding: 10px 10px 8px; }
    .sv-photo-flow-title { font-size: 1.6rem; line-height: 1.5; margin: 0 16px 10px; }
    .sv-photo-flow-txt { font-size: 1.35rem; line-height: 1.8; margin: 0 16px; }
}
@media only screen and (max-width: 900px) {
    .sv-set-contents-grid { grid-template-columns: repeat(2, 1fr); }
    .sv-set-contents-item--span2 { grid-column: auto; }
}
@media only screen and (max-width: 640px) {
    .sv-set-contents-grid { grid-template-columns: 1fr; }
    .sv-photo-flow-grid { grid-template-columns: 1fr; gap: 40px; }
}
html {
    scroll-behavior: smooth;
}

/* ================================================================
   FACILITY CARDS
================================================================ */
.sv-facility-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.sv-facility-card {
    background: var(--sv-white);
    border: 1px solid var(--sv-warm);
    border-radius: 10px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.sv-facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(27,56,41,.12);
}
.sv-facility-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--sv-warm);
}
.sv-facility-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.sv-facility-card:hover .sv-facility-card-img img {
    transform: scale(1.04);
}
.sv-facility-card-body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sv-facility-card-area {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--sv-gold);
    border: 1px solid var(--sv-gold);
    padding: 2px 10px;
    border-radius: 2px;
    display: inline-block;
    width: fit-content;
    align-self: flex-start;
    margin-bottom: 4px;
}
.sv-facility-card-name {
    font-family: var(--sv-serif);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    color: var(--sv-forest);
    line-height: 1.4;
    margin: 0;
}
.sv-facility-card-access {
    font-size: 1.5rem;
    color: var(--sv-ink3);
    line-height: 1.7;
    margin: 0;
}
.sv-facility-card-desc {
    font-size: 1.5rem;
    color: var(--sv-ink2);
    line-height: 1.8;
    margin: 0;
    flex: 1;
    min-height: 100px;
}
.sv-facility-card-tags {
    flex-wrap: wrap;
    margin: 5px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    text-align: center;
}
.sv-facility-card-tag {
    display: inline-block;
    border: 1.5px solid var(--sv-sage);
    border-radius: 20px;
    padding: 3px 14px;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--sv-sage);
    white-space: nowrap;
    line-height: 1.6;
}

@media only screen and (max-width: 768px) {
    .sv-facility-cards { grid-template-columns: 1fr; }
    .sv-facility-card-body {
    padding: 15px 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
}
/* ================================================================
   FACILITY PRICE BAR
================================================================ */
.sv-facility-price-bar {
    margin-top: 12px;
    background: #fff;
    border: 1.5px solid #c8102e;
    border-radius: 6px;
    overflow: hidden;
}
.sv-facility-price-bar-label {
    background: #c8102e;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 2px 10px;
    letter-spacing: .06em;
}
.sv-facility-price-bar-body {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}
.sv-facility-price-items {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: stretch;
}
.sv-facility-price-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    background: #c8102e;
    padding: 6px 12px;
    line-height: 1.3;
    text-align: center;
}
.sv-facility-price-item small {
    font-size: 1.0rem;
    font-weight: 400;
    display: block;
}
.sv-facility-price-item--sub {
    background: #9d0d22;
}
.sv-facility-price-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--sv-ink2);
    padding: 0 6px;
    background: #fff;
}
.sv-facility-price-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1B3829;
    color: #fff;
    padding: 8px 16px;
    gap: 2px;
    flex-shrink: 0;
}
.sv-facility-price-badge {
    font-size: 1.1rem;
    font-weight: 700;
    background: #c8102e;
    color: #fff;
    padding: 1px 8px;
    border-radius: 2px;
    letter-spacing: .04em;
    white-space: nowrap;
}
.sv-facility-price-num {
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin: 0;
    white-space: nowrap;
}
.sv-facility-price-num small {
    font-size: 1.1rem;
    font-weight: 400;
    vertical-align: super;
}
.sv-facility-price-num span {
    font-size: 1.4rem;
    font-weight: 700;
}
/* eitaikuyou / kakazu 永代供養バー */
.sv-facility-price-bar--eitai .sv-facility-price-bar-body {
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
}
.sv-facility-price-bar--eitai {
    border-color: #1B3829;
}
.sv-facility-price-bar--eitai .sv-facility-price-bar-label {
    background: #1B3829;
}
.sv-facility-price-bar--eitai .sv-facility-price-item {
    background: #1B3829;
    border: 1.5px solid #fff;
    border-radius: 3px;
}
.sv-facility-price-bar--eitai .sv-facility-price-num {
    color: var(--sv-ink);
    font-size: 2.4rem;
}
.sv-facility-price-bar--eitai .sv-facility-price-num small {
    color: var(--sv-ink3);
    font-size: 1.1rem;
}



/* ================================================================
   SECTION BOX 005（3カラムグリッド）
================================================================ */
.section-box-005 .index005 {
    margin-bottom: 4px;
}
.section-box-005 .index006 {
    margin-bottom: 24px;
}
.box-005-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    margin: 20px auto;
}
.box-005-card {
    display: flex;
    position: relative;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .18);
    transition: transform .25s, box-shadow .25s;
}
.box-005-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,.28);
}
.box-005-img {
    width: 100%;
    aspect-ratio: 14 / 8;
    overflow: hidden;
}
.box-005-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.box-005-card:hover .box-005-img img {
    transform: scale(1.04);
}
.box-005-body {
    padding: 5px 7px 5px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #ffffffe6;
}
.box-005-title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.7rem;
    font-weight: 600;
    color: #474343;
    margin: 0;
    line-height: 1.4;
}
.box-005-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4FB3B8;
    flex-shrink: 0;
}
@media (max-width: 900px) {
    .box-005-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .box-005-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   BOX IMAGE GRID 01（画像のみ・3カラム・リンクなし）
================================================================ */
.box-image-grid01 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    width: calc(100% - 30px);
    margin: 40px auto;
}
.box-image-grid01-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
.box-image-grid01-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}
@media (max-width: 900px) {
    .box-image-grid01 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .box-image-grid01 { grid-template-columns: repeat(2, 1fr); }
}




/* ================================================================
   SERVICE ITEM with link button (.service-more-link / bt-type01)
================================================================ */
.service-item:has(.bt-type01) {
    display: flex;
    flex-direction: column;
}
.service-item:has(.bt-type01) p.service-desc {
    flex: 1;
    min-height: 0;
}
.service-item .bt-type01 {
    align-self: flex-end;
    margin-top: 12px;
    font-size: 1.4rem;
    width: auto;
    padding: 8px 16px;
}

.service-item .bt-type01 span {
    font-size: 85%;
}
/* ================================================================
   BUTTON（bt-type01 / navi-item と同スタイル）
================================================================ */
a.bt-type01, .bt-type01 {
    display: inline-flex;
    width: 130px;
    align-items: center;
    padding: 12px 15px;
    border: 1px solid #707070;
    border-radius: 50px;
    text-decoration: none;
    color: #333 !important;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;
    background-color: #fff;
    transition: all 0.3s ease;
}
a.bt-type01::before,
.bt-type01::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid #333;
    border-right: 1.5px solid #333;
    transform: rotate(45deg);
    margin-right: 10px;
    flex-shrink: 0;
    transition: border-color 0.3s ease;
}
a.bt-type01:hover,
.bt-type01:hover {
    background-color: #f8fcfc;
    border-color: #4FB3B8;
    color: #4FB3B8 !important;
    box-shadow: 0 4px 10px rgba(79, 179, 184, 0.15);
    transform: translateY(-2px);
}
a.bt-type01:hover::before,
.bt-type01:hover::before {
    border-color: #4FB3B8;
}
.bt-type01 strong {
    font-weight: 600;
    color: inherit;
}
.div-bt01,
.ph4-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    padding: 16px 0 24px;
}

/* ================================================================
   BUTTON（sv-btn）
================================================================ */
.sv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 12px 28px;
    border-radius: 32px;
    line-height: 1;
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s, transform .15s;
    cursor: pointer;
    align-self: flex-start;
}
.sv-btn--primary {
    background: var(--sv-forest);
    color: #fff;
    border: 1.5px solid var(--sv-forest);
}
.sv-btn--primary:hover {
    background: var(--sv-forest2);
    border-color: var(--sv-forest2);
    transform: translateY(-2px);
}

/* ================================================================
   FLOW STEPS（5ステップ用オーバーライド）
================================================================ */
.sv-flow-steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.sv-flow-step::after { display: none; }
.p-joint-grave .sv-flow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.p-joint-grave .sv-flow-step::after {
    display: none !important;
    content: none;
}

@media only screen and (max-width: 1300px) {
.sv-flow-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.sv-flow-step {
    padding: 10px;
}
}
@media only screen and (max-width: 979px) {
.sv-flow-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
}
@media only screen and (max-width: 739px) {
    .sv-flow-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .sv-flow-step {
        aspect-ratio: unset;
        min-height: 190px;
    }
    .sv-flow-num {
        width: 25px;
        height: 25px;
        font-size: 2.6rem;
    }
    .sv-flow-label {
        font-size: 1.7rem;
        font-weight: 500;
        line-height: 1.4;
        margin: 5px 0;
        min-height: 50px;
    }
}
@media only screen and (max-width: 640px) {
    .p-joint-grave .sv-flow-steps {
        grid-template-columns: 1fr;
    }
    .p-joint-grave .sv-flow-step::after,
    .p-joint-grave .sv-flow-step:nth-child(odd):not(:last-child)::after {
        display: none !important;
        content: none;
    }
}
@media only screen and (max-width: 479px) {
    .sv-flow-steps {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .sv-flow-step, .sv-flow-label, .sv-flow-sub {
        aspect-ratio: unset;
        min-height: unset;
    }
}

/* ================================================================
   VIDEO WRAP
================================================================ */
.sv-video-wrap {
    width: 100%;
    max-width: 630px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
}
.sv-video-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}
@media only screen and (max-width: 660px) {
    .sv-video-wrap {
        max-width: 100%;
    }
}

/* ================================================================
   STRENGTHS GRID（みくにのつよみ）
================================================================ */
.sv-st-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.sv-st-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,.07);
}
.sv-st-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.sv-st-card-body {
    padding: 24px 20px 28px;
}
.sv-st-card-num {
    display: inline-block;
    font-family: serif;
    font-size: 3.4rem;
    color: #b8a06e;
    font-style: italic;
    margin-bottom: 8px;
    margin-right: 10px;
    line-height: 1;
    vertical-align: baseline;
}
.sv-st-card-en {
    display: inline-block;
    font-size: 1.5rem;
    color: #b8a06e;
    margin: 0 0 12px;
    letter-spacing: .08em;
    font-weight: 600;
    vertical-align: baseline;
}
.sv-st-card-title {
    font-size: clamp(20px, 2.5vw, 27px);
    font-weight: 500;
    min-height: 75px;
    margin: 0 0 10px;
    line-height: 1.45;
    color: #515151;
}
.sv-st-card-txt {
    font-size: 1.6rem;
    min-height: 140px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

@media only screen and (max-width: 959px) {
.sv-st-grid {
    gap: 15px;
    margin-top: 30px;
}
}
@media only screen and (max-width: 900px) {
    .sv-st-grid { grid-template-columns: repeat(2, 1fr); }
}

@media only screen and (max-width: 560px) {
    .sv-st-grid { grid-template-columns: 1fr; }
    .sv-st-card-title {
        min-height: unset;
    }
    .sv-st-card-txt {
        font-size: 1.6rem;
        min-height: auto;
    }
}

/* ================================================================
   ACCESS / MAP（施設ページ共通）
================================================================ */
.sv-access-dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 0;
    border-top: 1px dotted var(--sv-warm);
    max-width: 100%;
    margin: 0;
}
.sv-access-dl dt {
    padding: 12px 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--sv-ink3);
    border-bottom: 1px dotted var(--sv-warm);
    line-height: 1.6;
}
.sv-access-dl dd {
    padding: 12px 0 12px 12px;
    font-size: 1.6rem;
    color: var(--sv-ink2);
    border-bottom: 1px dotted var(--sv-warm);
    margin: 0;
    line-height: 1.6;
}
.sv-map-wrap iframe { display: block; border: 0; }
.sv-access-info {
    margin-bottom: 34px;
}
.sv-access-map {
    margin-top: 0;
    overflow: hidden;
    border-radius: 4px;
}
.sv-access-map iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}
.sv-access-nav-block {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 28px;
    align-items: stretch;
}
.sv-access-nav-video {
    width: 100%;
}
.sv-access-nav-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: 4px;
}
.sv-access-nav-card {
    background: #fff;
    padding: 32px 34px;
    border: 1px solid #e7e1d6;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sv-access-nav-label {
    display: block;
    font-size: 3rem;
    font-weight: 500;
    color: #1f1f1f;
    line-height: 1.2;
    margin-bottom: 16px;
}
.sv-access-nav-card p {
    font-size: 1.6rem;
    color: var(--sv-ink2);
    line-height: 1.9;
    margin: 0;
}
.sv-access-nav-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sv-access-nav-list li {
    font-size: 1.6rem;
    color: var(--sv-ink2);
    line-height: 1.8;
    position: relative;
    padding-left: 1.2em;
}
.sv-access-nav-list li::before {
    content: '◎';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sv-ink2);
}
.sv-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.7;
    margin-top: 24px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #f5f5f5;
}
.sv-note::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #d96a6a;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: .38em;
    box-sizing: border-box;
}

.ft-sns-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.ft-sns-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    text-decoration: none;
    transition: transform .2s ease, opacity .2s ease;
}
.ft-sns-link::before {
    display: none;
}
.ft-sns-link:hover {
    transform: translateY(-2px);
    opacity: .92;
}
.ft-sns-icon {
    position: relative;
    display: block;
    flex-shrink: 0;
}
.ft-sns-icon--line {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #06c755;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ft-sns-icon--line::after {
    content: '';
    position: absolute;
    left: 10px;
    bottom: 6px;
    width: 10px;
    height: 10px;
    background: #06c755;
    clip-path: polygon(0 0, 100% 0, 18% 100%);
}
.ft-sns-line-mark {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 20px;
    padding: 0 6px;
    border-radius: 11px;
    background: #fff;
    color: #06c755;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}
.ft-sns-icon--instagram {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: radial-gradient(circle at 30% 110%, #fdf497 0, #fdf497 12%, #fd5949 38%, #d6249f 65%, #285AEB 100%);
}
.ft-sns-icon--instagram::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 3.5px solid #fff;
    border-radius: 11px;
}
.ft-sns-icon--instagram::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 11px;
    height: 11px;
    border: 3.5px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 10px -10px 0 -4px #fff;
}
.ft-sns-icon--youtube {
    width: 58px;
    height: 40px;
    border-radius: 12px;
    background: #ff3b30;
}
.ft-sns-icon--youtube::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-35%, -50%);
    width: 0;
    height: 0;
    border-left: 14px solid #fff;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
}
.sv-subsec-title {
    font-family: var(--sv-serif);
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    color: var(--sv-forest);
    border-left: 4px solid var(--sv-gold);
    padding-left: 16px;
    margin-bottom: 24px;
}

@media only screen and (max-width: 900px) {
    .sv-access-nav-block { grid-template-columns: 1fr; gap: 20px; }
    .sv-access-nav-card { padding: 24px 22px; }
    .sv-access-map iframe { height: 300px; }
}

/*======================================================================
||
||    ヘッダー共通
||    対象: .header / .logo-hero / .logo-sticky / .headline1 / .headline2
||          .head-buttons / .nav / .nav-scrolled / .drawer
||
======================================================================*/

/* ================================================================
   1. ヘッダー基盤
================================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    height: auto;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: background-color .3s ease-in-out;
}

.header .container {
    max-width: 100%;
    position: relative;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

/* ================================================================
   2. ライセンスバー
================================================================ */
.header > .logo-hero-sub {
    background: #f9f9f9;
    color: #333333;
    padding: 5px 20px;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: .08em;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.header > .logo-hero-sub img.hato-mark {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

body.is-scrolled .header > .logo-hero-sub {
    display: none;
}

/* ================================================================
   3. ロゴ共通
================================================================ */
.logo {
    margin: 0;
    line-height: 1;
    flex-shrink: 0;
}

/* 3a. ヒーローロゴ（非スクロール時） */
.logo-hero {
    position: relative;
    left: auto;
    top: auto;
    z-index: 10;
    flex-shrink: 0;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    transition: opacity .3s ease-in-out, visibility .3s ease-in-out, transform .3s ease-in-out;
}

.logo-hero .logo-hero-main a {
    font-family: '07ltg', sans-serif;
    font-size: 3.2rem;
    font-weight: 500;
    color: var(--main-color);
    line-height: 1;
    display: block;
    text-decoration: none;
}

body.is-scrolled .logo-hero {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    flex: 0 0 0px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    min-width: 0;
}

/* 3b. スティッキーロゴ（スクロール時） */
.logo-sticky {
    height: 0;
    padding-left: 0;
    opacity: 0;
    visibility: hidden;
    flex-shrink: 0;
    order: -1;
    transition: opacity .3s ease-in-out, visibility .3s ease-in-out;
}

.logo-sticky a {
    font-family: '07ltg', sans-serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.header.is-scrolled .logo-sticky {
    height: auto;
    opacity: 1;
    visibility: visible;
    margin-right: 20px;
}

/* ================================================================
   4. HEADLINE 1
================================================================ */
.headline1 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 8px;
    position: relative;
}

/* ================================================================
   5. ヘッドボタン
================================================================ */
.header .head-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.head-buttons .responsived { display: none; }
.head-buttons .responsived svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.contact-buttons {
    font-size: 0;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border: 1px solid #707070;
    border-radius: 50px;
    background-color: #ffffff;
    color: #333;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.contact-button::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    transform: rotate(45deg);
    margin-right: 8px;
    flex-shrink: 0;
}


/* ================================================================
   7. スクロール時ナビ
================================================================ */
.nav-scrolled {
    display: none;
    padding-right: 0;
}

/* ================================================================
   8. スクロール状態
================================================================ */
.header.is-scrolled {
    height: 68px;
    padding: 0;
    background-color: #0d5f3c;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
}

.header.is-scrolled .container {
    flex-direction: row;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.header.is-scrolled .headline1 {
    flex: 1;
    height: 100%;
    min-width: 0;
    padding: 0;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.header.is-scrolled .headline2 { display: none; }

.header.is-scrolled .phone-buttons a { color: #ffffff; }

.header.is-scrolled .contact-button {
    border-color: rgba(255,255,255,.6);
    color: #ffffff;
    background: transparent;
}

.header.is-scrolled .contact-button::before { border-color: #ffffff; }

.header.is-scrolled .head-buttons .not-responsived { display: none; }
.header.is-scrolled .head-buttons {
    margin-left: auto;
    flex-shrink: 0;
}
.header.is-scrolled .head-buttons .responsived {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.8);
    padding: 0;
    flex-shrink: 0;
    color: #ffffff;
}

/* ================================================================
   9. コンテンツオフセット
================================================================ */
#theme-main {
    padding-top: var(--header-h, 135px);
}

/* ================================================================
   10. ヘッダー レスポンシブ
================================================================ */
@media only screen and (max-width: 1280px) {
    .header .container { max-width: 100%; }
    .nav ul { gap: 8px; }
    .header:not(.is-scrolled) .nav a,
    .header.is-scrolled .nav a { font-size: 1.5rem; }
}

@media only screen and (max-width: 979px) {
    .nav ul { gap: 10px; }
}

@media only screen and (min-width: 900px) {
    .header:not(.is-scrolled) .head-buttons .responsived { display: none; }
    .header.is-scrolled .head-buttons .not-responsived { display: none; }
    .header.is-scrolled .head-buttons .responsived {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1.5px solid rgba(255,255,255,.8);
        padding: 0;
        flex-shrink: 0;
        color: #ffffff;
    }
    .header.is-scrolled .head-buttons .responsived svg { width: 20px; height: 20px; fill: #ffffff; }
    .header.is-scrolled .nav-scrolled { display: none; }
    .header.is-scrolled .nav-scrolled ul {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 20px;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .header.is-scrolled .nav-scrolled li { display: block; }
    .header.is-scrolled .nav-scrolled a {
        color: rgba(255,255,255,.9);
        white-space: nowrap;
        font-size: 1.4rem;
        letter-spacing: 1px;
        text-decoration: none;
    }
    .header.is-scrolled .nav-scrolled a:hover { color: #ffffff; }
}

@media only screen and (max-width: 899px) {
    .nav, .headline2 { display: none; }
    .header.is-scrolled .head-buttons { margin-left: auto; }
    .header .head-buttons .not-responsived { display: none; }
    .header .head-buttons .responsived {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1.5px solid #1B3829;
        padding: 0;
        flex-shrink: 0;
        color: #1B3829;
    }
    .header .head-buttons .responsived svg { width: 20px; height: 20px; fill: #1B3829; }
    .header.is-scrolled .head-buttons .responsived { border-color: rgba(255,255,255,.8); color: #ffffff; }
    .header.is-scrolled .head-buttons .responsived svg { fill: #ffffff; }
}

@media only screen and (max-width: 768px) {
    .header .container { padding: 0 10px; }
    .headline1 { gap: 6px; padding: 6px 0; }
    .logo-hero .logo-hero-main a { font-size: 2.2rem; }
}

@media only screen and (max-width: 480px) {
    .logo-hero .logo-hero-main a { font-size: 1.9rem; }
    .header > .logo-hero-sub { padding: 2px 12px; font-size: 0.95rem; }
    .headline1 { gap: 0; }
    .header .head-buttons .responsived,
    .header.is-scrolled .head-buttons .responsived { width: 33px; height: 33px; }
}

@media only screen and (max-width: 360px) {
    .header.is-scrolled .logo-sticky { margin-right: 8px; }
    .header.is-scrolled .logo-sticky a { font-size: 1.8rem; }
    .header .head-buttons .responsived,
    .header.is-scrolled .head-buttons .responsived { width: 28px; height: 28px; }
    .drawer-open { width: 44px; height: 44px; }
}

/* ================================================================
   ハンバーガーメニュー（ドロワー）
================================================================ */
.header .container .drawer {
    position: relative;
    left: 0;
    top: 0;
    flex-shrink: 0;
    z-index: 2;
}

.drawer-hidden { display: none; }

.drawer-open {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
    cursor: pointer;
}

.drawer-open span,
.drawer-open span::before,
.drawer-open span::after {
    content: '';
    display: block;
    height: 4px;
    width: 35px;
    border-radius: 3px;
    background: #1b3829;
    transition: .5s;
    position: absolute;
}

.header.is-scrolled .drawer-open span,
.header.is-scrolled .drawer-open span::before,
.header.is-scrolled .drawer-open span::after { background: #ffffff; }

.drawer-open span::before { bottom: 9px; }
.drawer-open span::after  { top: 9px; }

#drawer-check:checked ~ .drawer-open span { background: rgba(255,255,255,0); }
#drawer-check:checked ~ .drawer-open span::before {
    bottom: 0;
    transform: rotate(45deg);
    background: #ffffff;
}
#drawer-check:checked ~ .drawer-open span::after {
    top: 0;
    transform: rotate(-45deg);
    background: #ffffff;
}

.drawer-content {
    list-style: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 99;
    background: #124e51fc;
    transition: .5s;
}

#drawer-check:checked ~ .drawer-content { left: 0; }

.drawer-content .in-space {
    max-width: 90%;
    margin: 0 auto;
    padding: 30px 10px 0;
    text-align: right;
}

.drawer-menu {
    width: 100%;
    float: right;
    padding: 10px;
    margin: 0;
}

.drawer_menu_inner {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.bt-menu {
    padding: 3px;
    width: 33.33333%;
}

.bt-menu a {
    font-size: 1.6rem;
    font-weight: 500;
    width: 100%;
    float: left;
    color: #f9f9f9;
    text-align: left;
    padding: 5px;
    display: block;
    text-decoration: none;
}

.drawer-index {
    margin: 0;
    padding: 55px 5px 0;
    color: #fff;
    font-size: 2.6rem;
    font-weight: 400;
    font-family: "Comfortaa", sans-serif;
}

@media only screen and (max-width: 980px) { .bt-menu { width: 50%; } }

@media only screen and (max-width: 480px) {
    .drawer-content .in-space { max-width: 100%; padding: 50px 10px 0; }
    .drawer-menu { width: 100%; float: left; padding: 0; }
    .drawer-index { font-size: 1.9rem; margin: 10px 0 0; padding: 0; }
    .bt-menu { padding: 1px; }
    .bt-menu a { font-size: 13px; padding: 2px 5px 3px; border-radius: 3px; }
}

/* ft- フッター ここから */
/* ================================================================
   FOOTER 追加ユーティリティクラス
================================================================ */
.ft-col-title--mt {
    margin-top: 48px;
}

/* ================================================================
   PAGE BACKGROUND COLORS
================================================================ */
.sv-sec--cream { background: var(--sv-cream); }
.sv-sec--parchment { background: var(--sv-parchment); }
.sv-sec--alt { background: #f5f5f5; }
.sv-sec-head--mt {
    margin-top: 56px;
}
.sv-sec-head--mt-wide {
    padding-top: 88px;
}
.sv-map-wrap--flush {
    margin-top: 0;
}

/* ================================================================
   EITAIKUYOU ページ専用（et-接頭辞）
================================================================ */
.et-feature-box {
    background: #f5f4f0;
    border-radius: 8px;
    padding: 32px 36px;
    margin: 0 0 56px;
    border: 1px solid #e2ded8;
}
.et-feature-box-label {
    font-size: .72rem;
    letter-spacing: .28em;
    font-weight: 600;
    margin: 0 0 20px;
    color: #aaa;
    text-align: center;
}
.et-feature-head {
    margin-bottom: 24px;
    text-align: center;
}
.et-feature-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 300;
    color: var(--sv-forest);
    line-height: 1.4;
    margin: 0 0 10px;
}
.et-feature-title span {
    font-size: 80%;
}
.et-feature-lead {
    font-size: 1.7rem;
    color: var(--sv-ink3);
    line-height: 1.8;
    margin: 12px 0 0;
    text-align: center;
}
.et-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
}
.et-feature-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 16px 14px;
    text-align: center;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.et-feature-item:not(:last-child)::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: calc(100% + 16px);
    transform: translate(-50%, -50%);
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 500;
    color: #8f8473;
    line-height: 1;
    z-index: 2;
    pointer-events: none;
}
.et-feature-item-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
    font-size: 1.8rem;
    min-height: 80px;
    font-weight: 500;
    color: #1a1a1a;
}
.et-map-wrap {
    margin-top: 40px;
}
.et-map-wrap--mt {
    margin-top: 56px;
}
.et-map-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0 0 20px;
    text-align: center;
    letter-spacing: .05em;
}
.et-map-img {
    width: 100%;
    max-width: 880px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0,0,0,.12);
}
.et-map-img--center {
    max-width: 880px;
    margin: 0 auto;
}
.ft-info-tel--sm {
    font-size: 1.6rem;
}
.ft-map {
    background: #111e17;
    padding: 0;
}
.ft-map iframe {
    display: block;
    width: 100%;
    height: 432px;
    border: 0;
    filter: contrast(80%);
    -webkit-filter: contrast(80%);
}
/*======================================================================
||
||    フッター共通コンポーネント
||    （footer.php 内の .ft-footer 以下に適用）
||
||    クラス接頭辞: ft-
||
======================================================================*/

.ft-footer {
    font-family: var(--sv-sans);
    display: flex;
    flex-direction: column;
}
.ft-nav { order: 1; }
.ft-map { order: 2; }
.ft-bottom { order: 3; }

/* ================================================================
   MAIN NAV AREA
================================================================ */
.ft-nav {
    background: #111e17;
    padding: 56px 0 44px;
}
.ft-logo-row {
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding-bottom: 28px;
    margin-bottom: 40px;
    display: flex;
    align-items: baseline;
    gap: 20px;
    flex-wrap: wrap;
}
.ft-logo-name {
    font-family: var(--sv-serif);
    font-size: 2.2rem;
    color: var(--sv-white);
    font-weight: 600;
    margin: 0;
    letter-spacing: .06em;
}
.ft-tagline {
    font-size: 1.35rem;
    color: rgba(255,255,255,.45);
    margin: 0;
    letter-spacing: .04em;
}
.ft-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

/* ----------------------------------------------------------------
   PDF ダウンロード行（チラシ / お助け隊 / パンフレット）
---------------------------------------------------------------- */
.ft-pdf-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.ft-pdf-item {
    display: block;
    text-decoration: none;
    color: var(--sv-white);
}
.ft-pdf-title {
    position: relative;
    margin: 0 0 2px;
    padding-left: 20px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--sv-white);
    letter-spacing: .04em;
}
.ft-pdf-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5em;
    border-style: solid;
    border-width: 6px 0 6px 9px;
    border-color: transparent transparent transparent currentColor;
}
.ft-pdf-thumb {
    display: block;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    overflow: hidden;
    aspect-ratio: 10 / 7;
    transition: opacity .2s ease, transform .2s ease;
}
.ft-pdf-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.ft-pdf-item:hover .ft-pdf-thumb {
    opacity: .85;
    transform: translateY(-2px);
}

/* フッター英字・電話：可読性重視の明朝（Web用しっぽり＋OSフォント） */
.ft-col-title {
    font-size: 1.22rem;
    font-weight: 600;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
    color: rgba(255, 255, 255, .97);
    letter-spacing: .1em;
    margin: 15px 0 5px;
    padding-bottom: 0px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.ft-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.ft-col ul li a {
    font-size: 1.4rem;
    color: rgba(255,255,255,.68);
    text-decoration: none;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.5;
}
.ft-col ul li a::before {
    content: '–';
    color: rgba(255, 255, 255, .35);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.ft-col ul li a:hover { color: var(--sv-white); }

/* 会社情報カラム */
.ft-info-address {
    font-size: 1.35rem;
    color: rgba(255,255,255,.55);
    line-height: 1.9;
    margin: 0 0 12px;
}
.ft-info-tel {
    font-size: 2.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .98);
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
    font-variant-numeric: tabular-nums;
    letter-spacing: .03em;
    display: block;
    margin-bottom: 0px;
    text-decoration: none;
    transition: color .2s;
}
.ft-tel-label {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
    font-size: .62em;
    letter-spacing: .14em;
    margin-right: .55em;
    color: rgba(255,255,255,.88);
    font-weight: 600;
    vertical-align: baseline;
}
.ft-tel-label--fax {
    font-size: .56em;
}
.ft-info-tel:hover { color: var(--sv-white); }
.ft-info-hours {
    font-size: 1.25rem;
    color: rgba(255,255,255,.4);
    margin: 0 0 16px;
    letter-spacing: .04em;
}
.ft-sns-row {
    display: flex;
    gap: 5px;
    margin-top: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.ft-sns-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 0px;
    background: unset;
    text-decoration: none;
    transition: transform .2s, opacity .2s;
}
.ft-sns-link::before {
    display: none !important;
}
.ft-sns-img {
    width: 45px;
    height: 45px;
    display: block;
}
.ft-sns-link:hover {
    opacity: .9;
    transform: translateY(-2px);
}

/* ================================================================
   BOTTOM BAR
================================================================ */
.ft-bottom {
    background: #111e17;
    padding: 16px 0;
}
.ft-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.ft-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.ft-bottom-links a {
    font-size: 1.3rem;
    color: rgba(255,255,255,.38);
    text-decoration: none;
    transition: color .2s;
}
.ft-bottom-links a:hover { color: rgba(255,255,255,.7); }
.ft-copy {
    font-size: 1.25rem;
    color: rgba(255,255,255,.35);
    margin: 0;
    width: 100%;
    text-align: center;
}

/* ================================================================
   FOOTER RESPONSIVE
================================================================ */
@media only screen and (max-width: 1024px) {
    .ft-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 32px;
    }
    .ft-pdf-row {
        gap: 20px;
    }
}
@media only screen and (max-width: 600px) {
    .ft-pdf-row {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ================================================================
   HAKAJIMAI: レイアウト（テンプレート側はクラスのみ）
================================================================ */
.p-hakajimai .hj-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}
.p-hakajimai .hj-hero::before{
    z-index: 1;
}
.p-hakajimai .hj-hero .p-hakajimai .hj-sec-cream {
    background: var(--sv-cream);
}


/* ================================================================
   HAKAJIMAI: BASIC SET (plan)
================================================================ */
.hj-basicset {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    width: 100%;
    max-width: none;
    margin: 18px 0 0;
    box-shadow: none;
}

.hj-basicset-title-note {
    display: inline;
    margin-left: .35em;
    font-family: var(--sv-sans);
    font-size: .88em;
    font-weight: 600;
    color: var(--sv-sage);
    letter-spacing: .02em;
}
.hj-basicset-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid rgba(0,0,0,.08);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    align-items: stretch;
}
.hj-basicset-item {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 12px 6px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    background: transparent;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    box-shadow: none;
}
.hj-basicset-num {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2b8a5e;
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
    line-height: 1;
}
.hj-basicset-cell {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0 0 0 2px;
    box-sizing: border-box;
    box-shadow: none;
    outline: 0;
}
.hj-basicset-cell p {
    background: transparent;
    border: 0;
    box-shadow: none;
}
/* 他CSSのカード風指定が当たっても枠を出さない */
.p-hakajimai .hj-basicset .hj-basicset-item,
.p-hakajimai .hj-basicset .hj-basicset-cell,
.p-hakajimai .hj-basicset .hj-basicset-cell p {
    background: transparent;
    box-shadow: none;
}
.p-hakajimai .hj-basicset .hj-basicset-cell,
.p-hakajimai .hj-basicset .hj-basicset-cell p {
    border: 0;
}
.hj-basicset-text {
    margin: 0 0 6px;
    color: var(--sv-ink2);
    font-family: var(--sv-sans);
    font-size: clamp(18px, 1.9vw, 20px);
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.45;
}
.hj-basicset-desc {
    margin: 0;
    font-family: var(--sv-sans);
    font-size: clamp(16px, 1.9vw, 17px);
    font-weight: 400;
    color: var(--sv-ink2);
    line-height: 1.75;
    letter-spacing: .02em;
}
.hj-basicset-price {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 18px;
}
.hj-basicset-badge {
    display: inline;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--sv-sage);
    font-family: var(--sv-sans);
    font-weight: 700;
    font-size: clamp(16px, 1.55vw, 1.2rem);
    letter-spacing: .06em;
    cursor: default;
    user-select: text;
}
.hj-basicset-price-main {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: var(--sv-ink);
    font-family: var(--sv-serif);
}
.hj-basicset-tax {
    font-size: 1.45rem;
    font-weight: 800;
    color: rgba(0,0,0,.65);
    line-height: 1;
}
.hj-basicset-amount {
    font-size: clamp(34px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1;
}
.hj-basicset-yen {
    font-size: 1.8rem;
    font-weight: 800;
    color: rgba(0,0,0,.75);
    line-height: 1;
}
@media (max-width: 900px){
    .hj-basicset-list {
        grid-template-columns: 1fr;
        column-gap: 0;
    }
    .hj-basicset-title-note {
        display: block;
        margin: 6px 0 0;
    }
}

@media (max-width: 640px){
    .hj-basicset-price {
        flex-direction: column;
        align-items: flex-end;
    }
    .hj-basicset-title-note {
        display: block;
        margin: 6px 0 0;
    }
}

/* 墓じまいページ: ヒーロー見出しは他所と同じ明朝。リードは可読性のためゴシック */
.p-hakajimai .p-hakajimai .sv-hero-lead {
    font-family: var(--sv-sans);
}
/* 墓じまいページ: フロー（既存 .sv-flow-steps--4col を使用） */
.p-hakajimai .sv-flow-step::after{
    content: none !important;
    display: none !important;
}

/* 4列を上限にして、見出しが崩れる前に段を落とす */
@media only screen and (max-width: 1100px){
    .p-hakajimai .sv-flow-steps--4col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 18px;
    }
}
@media only screen and (max-width: 640px){
    .p-hakajimai .sv-flow-steps--4col {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   HAJIMETE GUIDE: beginner page (hajimete-guide.php)
================================================================ */
.p-hajimete-guide .sv-sec--cream {
    background: var(--sv-cream);
}

.p-hajimete-guide .gg-flow-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    width: 100%;
    max-width: none;
    margin: 0;
}
.p-hajimete-guide .gg-flow-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 8px 22px rgba(0,0,0,.05);
}
.p-hajimete-guide .gg-flow-media {
    margin: 0;
    width: 110px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0,0,0,.03);
    flex-shrink: 0;
}
.p-hajimete-guide .gg-flow-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.p-hajimete-guide .gg-flow-body {
    padding: 0;
    min-width: 0;
}
.p-hajimete-guide .gg-flow-num {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sv-forest2);
    color: #fff;
    font-weight: 900;
    font-size: 1.35rem;
}
.p-hajimete-guide .gg-flow-title {
    margin: 8px 0 4px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--sv-ink);
    letter-spacing: .02em;
    line-height: 1.45;
}
.p-hajimete-guide .gg-flow-txt {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.75;
    color: var(--sv-ink3);
}

.p-hajimete-guide .gg-director {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}
.p-hajimete-guide .gg-director-media {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    background: rgba(0,0,0,.03);
}
.p-hajimete-guide .gg-director-media img {
    width: 100%;
    height: auto;
    display: block;
}
.p-hajimete-guide .gg-director-lead {
    margin: 0 0 12px;
    font-size: 1.55rem;
    line-height: 1.9;
    color: var(--sv-ink2);
}
.p-hajimete-guide .gg-director-note {
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 1.4rem;
    line-height: 1.9;
    color: var(--sv-ink3);
}

.p-hajimete-guide .hg-step-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 900px;
}
.p-hajimete-guide .hg-step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,.1);
}
.p-hajimete-guide .hg-step-item:first-of-type{ padding-top: 6px; }
.p-hajimete-guide .hg-step-item:last-of-type{ border-bottom: 0; }
.p-hajimete-guide .hg-step-num {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sv-forest2);
    color: #fff;
    font-weight: 800;
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.p-hajimete-guide .hg-step-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--sv-ink2);
    line-height: 1.8;
    font-size: 1.45rem;
}
.p-hajimete-guide .hg-step-body strong {
    color: var(--sv-ink);
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: .02em;
}
.p-hajimete-guide .hg-step-body span {
    color: var(--sv-ink3);
    font-size: 1.4rem;
}
.p-hajimete-guide .hg-source-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.p-hajimete-guide .hg-source-list a {
    color: var(--sv-forest2);
    font-size: 1.45rem;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.p-hajimete-guide .hg-source-list a:hover{ color: var(--sv-sage); }

@media only screen and (max-width: 980px){
    .p-hajimete-guide .gg-flow-grid {
        grid-template-columns: 1fr;
    }
}
@media only screen and (max-width: 760px){
    .p-hajimete-guide .gg-director {
        grid-template-columns: 1fr;
    }
}
@media only screen and (max-width: 640px){
    .p-hajimete-guide .gg-flow-grid {
        grid-template-columns: 1fr;
    }
    .p-hajimete-guide .gg-flow-card {
        gap: 12px;
        padding: 12px;
    }
    .p-hajimete-guide .gg-flow-media {
        width: 96px;
        height: 70px;
    }
}

@media only screen and (max-width: 640px) {
    .ft-nav {
        padding: 36px 0 28px;
    }
    .ft-nav-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ft-logo-row {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 28px;
    }
    .ft-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .ft-bottom-links {
        gap: 10px;
    }
    .ft-bottom-links a {
        font-size: 1.2rem;
    }
    .ft-map iframe {
        height: 264px;
    }
    .ft-sns-row {
        flex-wrap: wrap;
    }
}

/* ================================================================
   STRENGTHS GRID (gravestone page merit 3col)
================================================================ */
.sv-str-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 40px 0 60px;
}
.sv-str-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,.08);
}
.sv-str-card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.sv-str-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.sv-str-card:hover .sv-str-card-img img {
    transform: scale(1.04);
}
.sv-str-card-body {
    padding: 24px 22px 28px;
}
.sv-str-card-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sv-gold-lt, #c9a84c);
    letter-spacing: .12em;
    margin-bottom: 2px;
}
.sv-str-card-tag {
    font-size: 1.1rem;
    color: var(--sv-gold-lt, #c9a84c);
    letter-spacing: .18em;
    margin: 0 0 10px;
}
.sv-str-card-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--sv-ink, #1e2e26);
    line-height: 1.45;
    margin: 0 0 12px;
}
.sv-str-card-txt {
    font-size: 1.5rem;
    color: var(--sv-ink2, #4a5e55);
    line-height: 1.8;
    margin: 0 0 14px;
}
@media (max-width: 900px) {
    .sv-str-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
    .sv-str-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ================================================================
   PHOTOBOOK
================================================================ */
.sv-photobook-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 32px;
}
.sv-photobook-item {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    cursor: zoom-in;
}
.sv-photobook-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease, opacity .3s ease;
}
.sv-photobook-item:hover img {
    transform: scale(1.05);
    opacity: .88;
}

/* Lightbox */
.sv-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
}
.sv-lightbox[hidden] { display: none; }
.sv-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}
.sv-lightbox-img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0,0,0,.6);
    opacity: 0;
    transform: scale(.92);
    transition: opacity .7s ease, transform .7s ease;
}
.sv-lightbox.is-open .sv-lightbox-img {
    opacity: 1;
    transform: scale(1);
}
.sv-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 3.2rem;
    line-height: 1;
    cursor: pointer;
    opacity: .8;
    transition: opacity .2s;
    padding: 4px 8px;
}
.sv-lightbox-close:hover { opacity: 1; }

@media (max-width: 900px) {
    .sv-photobook-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}
@media (max-width: 600px) {
    .sv-photobook-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
}

/* ================================================================
   EXPERT NETWORK
================================================================ */
.sv-expert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.sv-expert-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.sv-expert-card-img {
    aspect-ratio: 12 / 6;
    overflow: hidden;
    background: #e8eceb;
}
.sv-expert-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sv-expert-card-body {
    padding: 12px 12px 16px;
    text-align: center;
}
.sv-expert-card-role {
    font-size: 1.4rem;
    color: #5d5033;
    line-height: 1.5;
    min-height: 45px;
    margin: 0;
}
.sv-expert-card-name {
    font-size: 1.7rem;
    font-weight: 500;
    color: #1e2e26;
    margin: 0;
    letter-spacing: .06em;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media only screen and (max-width: 900px) {
    :root { --sv-sec-pad: 52px; }
    .sv-service-item    { gap: 24px; padding: 24px; }
    .sv-service-img     { width: 240px; }
    .sv-advisor-inner   { flex-direction: column; }
    .sv-advisor-img     { width: 100%; min-height: auto; max-height: 220px; padding: 16px; }
    .sv-advisor-img img { width: auto; height: 100%; max-width: 100%; margin: 0 auto; }
    .sv-advisor-content { padding: 32px 28px; }
    .sv-cta-band        { padding: 60px 20px; }
    /* QUOTE BAND */
    .sv-quote-band      { padding: 0 20px; }
    .sv-quote-inner     { flex-direction: column; align-items: center; gap: 0; }
    .sv-quote-content   { padding: 52px 0 0; text-align: center; }
    .sv-quote-attr      { text-align: center; }
    .sv-quote-attr span { white-space: nowrap; }
    .sv-quote-president { width: 200px; padding: 20px 0 0; align-self: center; }
    /* MERIT (特色) */
    .sv-merit-grid      { grid-template-columns: 1fr; }
    .sv-merit-item      { padding: 24px 20px; }
}
@media only screen and (max-width: 768px) {
    .sv-worry-grid { grid-template-columns: 1fr; }

    /* 永代供養・施設用レスポンシブ追加 */
    .et-feature-box     { padding: 24px 16px; margin: 0 0 40px; }
    .et-feature-grid    { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .et-feature-item    { padding: 12px 10px; }
    .et-feature-item:not(:last-child)::after { display: none; }
    .et-map-wrap, .et-map-wrap--mt { margin-top: 32px; }
}

@media only screen and (max-width: 640px) {
    .sv-jumpnav-inner   { grid-template-columns: 1fr; gap: 8px; }
    .sv-service-item    { flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
    .sv-service-img     { width: 100%; aspect-ratio: 16 / 9; border-radius: 0; }
    .sv-service-body    { padding: 24px 20px; }
    .sv-service-dl dt   { width: 100%; float: none; clear: both; border-bottom: none; padding: 12px 0 4px; }
    .sv-service-dl dt:first-of-type { padding-top: 6px; }
    .sv-service-dl dd   { width: 100%; float: none; padding: 0 0 12px; }
    .sv-advisor-content { padding: 24px 20px; }
    .sv-cta-band        { padding: 52px 20px; }
    .sv-cta-btn-row     { flex-direction: column; align-items: center; }
    .sv-action-primary,
    .sv-action-ghost    { width: 100%; max-width: 320px; justify-content: center; }

    /* アクセス dl レスポンシブ追加 */
    .sv-access-dl { grid-template-columns: 1fr; }
    .sv-access-dl dt { padding: 16px 0 4px; border-bottom: none; }
    .sv-access-dl dt:first-of-type { padding-top: 8px; }
    .sv-access-dl dd { padding: 0 0 16px; }
    .sv-access-map iframe { height: 240px; }
    .sv-access-nav-label { font-size: 2.4rem; }
    .sv-access-nav-card p,
    .sv-access-nav-list li { font-size: 1.45rem; }
    .sv-expert-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media only screen and (max-width: 600px) {
    .sv-expert-grid { grid-template-columns: repeat(1, 1fr); gap: 12px; }
}

/* ================================================================
   COMPANY PROFILE (会社概要) /about-us
================================================================ */
.sv-card {
    background: var(--sv-white);
    border: 1px solid var(--sv-warm);
    border-radius: 6px;
}
.sv-card-body { padding: 24px 22px; }

.sv-list {
    margin: 0;
    padding-left: 1.2em;
    line-height: 1.9;
    color: var(--sv-ink2);
    font-size: 1.6rem;
}
.sv-text-strong { font-weight: 700; color: var(--sv-ink2); }

/* ================================================================
   終活支援ページ (.p-end-of-life)
================================================================ */
.eol-about-block {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: center;
    margin-bottom: 40px;
}
.eol-about-catch {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--sv-forest);
    margin: 0 0 20px;
    line-height: 1.5;
}
.eol-about-text p {
    font-size: 1.5rem;
    line-height: 1.9;
    color: var(--sv-ink2);
    margin: 0 0 14px;
}
.eol-about-img img {
    width: 100%;
    border-radius: 8px;
    display: block;
}
.eol-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.eol-badge-list li {
    background: var(--sv-cream);
    border: 1px solid var(--sv-warm);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 1.4rem;
    color: var(--sv-forest);
    font-weight: 600;
}
/* プロメンバーグリッド */
.pro-member-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 50px;
    padding: 30px 0 50px;
}
.pro-member-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: row;
}
.pro-member-item img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    flex-shrink: 0;
    padding: 5px;
    background: #ffffff;
    box-shadow: 4px 5px 5px rgb(215 211 211 / 60%);
}
.pro-member-body {
    width: 100%;
    background: #fff;
    padding: 0 10px;
    min-height: 100px;
    border-radius: 10px;
    box-shadow: 4px 5px 5px rgb(215 211 211 / 60%);
}
.pro-member-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sv-teal, #4FB3B8);
    margin: 0 0 6px;
}
.pro-member-role {
    font-size: 1.4rem;
    color: var(--sv-ink2);
    margin: 0;
    line-height: 1.7;
}
@media (max-width: 900px) {
    .eol-about-block { grid-template-columns: 1fr; }
    .eol-about-img { order: -1; }
    .pro-member-grid {
        gap: 25px 20px;
    }
    .pro-member-item img { width: 120px; height: 120px; }
    .pro-member-item {
        gap: 10px;
    }
}
@media (max-width: 768px) {
    .pro-member-grid { grid-template-columns: 1fr; }
    .pro-member-item img {
        width: 80px;
        height: 80px;
    }
}

/* ================================================================
   代表挨拶内 動画ブロック (.sv-greeting-movie)
================================================================ */
.sv-greeting-movie {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 48px;
    padding: 40px;
    background: #eee;
    border-radius: 10px;
}
.sv-greeting-movie h5 {
    font-size: 5vw;
    font-weight: 100;
    line-height: 1;
    margin: 0 0 15px;
}
.sv-greeting-movie-ratio {
    position: relative;
    padding-top: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}
.sv-greeting-movie-ratio iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}
.sv-greeting-movie h3 {
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 500;
    color: var(--sv-forest);
    margin: 0 0 16px;
    padding: 4px;
    line-height: 1.5;
}
.sv-greeting-movie p {
    font-size: 1.45rem;
    line-height: 1.9;
    color: var(--sv-ink2);
    margin: 0;
    padding: 4px;
}
@media (max-width: 768px) {
    .sv-greeting-movie {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    align-items: start;
    margin-top: 48px;
    padding: 15px;
    }
}

/* ================================================================
   代表動画メッセージ (.sv-ceo-movie-*)
================================================================ */
.sv-ceo-movie-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.sv-ceo-movie-ratio {
    position: relative;
    padding-top: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}
.sv-ceo-movie-ratio iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}
.sv-ceo-movie-caption {
    font-size: 1.35rem;
    color: var(--sv-ink2);
    margin: 12px 0 0;
    line-height: 1.7;
}
.sv-ceo-movie-kicker {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--sv-forest);
    margin: 0 0 16px;
    line-height: 1.5;
}
.sv-ceo-movie-txt {
    font-size: 1.45rem;
    line-height: 1.9;
    color: var(--sv-ink2);
    margin: 0 0 28px;
}
.sv-ceo-movie-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--sv-warm);
}
.sv-ceo-movie-profile img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.sv-ceo-movie-role {
    font-size: 1.2rem;
    color: var(--sv-ink2);
    margin: 0;
}
.sv-ceo-movie-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sv-forest);
    margin: 4px 0;
}
.sv-ceo-movie-meta {
    font-size: 1.2rem;
    color: var(--sv-ink2);
    margin: 0;
}
@media (max-width: 768px) {
    .sv-ceo-movie-block { grid-template-columns: 1fr; gap: 28px; }
}

.p-about-us .sv-flow-step::after { display: none; }
.p-about-us .sv-flow-step {
    text-align: left;
    align-items: flex-start;
}
.p-about-us .sv-flow-step img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    display: block;
}


.unclaimed-grave-case h4 {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--sv-forest);
    margin: 20px 0 8px;
    border-bottom: 1px solid;
    border-left: unset;
    padding-left: 2px;
}

.unclaimed-grave-case p {
    line-height: 1.7;
    letter-spacing: 0.15px;
    font-size: 1.75rem;
    padding: 2px;
    margin: 10px 0 30px;
}

/* 無縁墓の調査（.p-muenbo）実績ヒーロー画像（上段メディア） */
.p-muenbo .mn-case-top-media img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
    margin: 0;
}
.p-muenbo .mn-case-meta {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--sv-ink2);
    margin: 0 0 16px;
}
.p-muenbo .mn-case-closing {
    font-size: clamp(1.7rem, 2.2vw, 2.2rem);
    font-weight: 700;
    color: var(--sv-forest);
    margin: 28px 0 12px;
}
/* スクショ通りインデックス番号は黒ベタ */
.p-muenbo .mn-case-card .mn-case-step-num {
    background: #000;
}

.p-muenbo .mn-case-result--plain {
    background: #fff;
}
.p-muenbo .mn-case-result .mn-case-meta--flush {
    margin-top: 0;
}



/* ================================================================
   サービス系ページ(sv-)：インラインstyleから集約した共通クラス
================================================================ */

/* セクション背景色モディファイア */
.sv-sec--cream {
    background: var(--sv-cream);
}
.sv-sec--parchment {
    background: var(--sv-parchment);
}

/* イントロのジグザグ2カラム（テキスト＋画像） */
.sv-intro-row {
    display: flex;
    align-items: center;
    gap: 64px;
}
.sv-intro-row--top {
    align-items: flex-start;
}
.sv-intro-row + .sv-intro-row {
    margin-top: 80px;
}
.sv-intro-col {
    flex: 1;
    min-width: 0;
}
.sv-intro-heading {
    font-family: var(--sv-serif);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 600;
    color: var(--sv-ink);
    line-height: 1.5;
    margin: 0 0 20px;
}
.sv-intro-text {
    font-size: clamp(14px, 1.4vw, 16px);
    color: var(--sv-ink2);
    line-height: 2;
    margin: 0;
}
.sv-intro-img {
    width: 100%;
    height: auto;
    display: block;
}

/* フロー：2カラムグリッド */
.sv-flow-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.sv-flow-grid .sv-flow-step {
    background: #fff;
}

/* 小見出しの上マージン（kanekadan 下段区画など） */
.sv-subsec-title--mt {
    margin-top: 48px;
}

/* facilities：エリアラベル */
.sv-facility-card-area {
    display: inline-block;
    width: fit-content;
}

/* gravestone：QUOTE BAND の背景配置（画像URLはPHP側で指定） */
.sv-quote-band {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* unclaimed-grave：事例画像 */
.mn-case-simple-img {
    width: 100%;
    border-radius: 8px;
    display: block;
    margin-bottom: 24px;
}

/* 一覧ページのページネーション中央寄せ */
.all-pagination-block {
    text-align: center;
}

/* ================================================================
   TOP CEMETERY セクションの背景画像
   ※ 画像URLはPHP側(home.php)でインライン指定（個別差し替え用）
   ※ 配置・サイズ・レスポンシブはここで共通管理
================================================================ */
/* タブレット以下：背景の見せ方と余白を調整 */
@media only screen and (max-width: 768px) {
    .section-box-top-cometery .container {
        background-position: center top;
    }
}

/* ================================================================
   CEMETERY カードグリッド（box-006-grid）
   テキスト上部・画像下部。レスポンシブで最後の1枚を全幅に
================================================================ */
.box-006-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    width: 100%;
    margin: 0 auto;
    background: #217e91;
}
/* 角丸なし。画像を基準にテキストを重ねる */
.box-006-grid .box-004-card {
    position: relative;
    border-radius: 0;
    background: #fff;
    display: block;
}
.box-006-grid .box-004-body {
    margin: 0;
    padding: 10px 12px;
    background: #217e91;
}
.box-006-grid .box-004-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1px 5px;
    color: #fff;
    margin: 0;
    font-size: 1.9rem;
    line-height: 1.3;
}
.box-006-grid .box-004-dot {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    flex: 0 0 auto;
    margin-right: 0px;
}
.box-006-grid .box-004-dot::before {
    content: "";
    width: 5px;
    height: 5px;
    border-top: 2px solid #1a1a1a;
    border-right: 2px solid #1a1a1a;
    transform: translateX(-1px) rotate(45deg);
}
/* 市名を強調、施設名は小さめ（どちらも白） */
.box-006-grid .area-city {
    font-weight: 700;
    font-size: 1.05em;
    color: #fff;
}
.box-006-grid .area-name {
    font-weight: 400;
    font-size: 0.8em;
    color: #fff;
}
.box-006-grid .box-004-desc {
    display: none;
}

.box-006-grid .card-box-img {
    position: relative;
}
.box-006-grid .area-en {
    position: absolute;
    left: auto;
    right: 16px;
    bottom: 10px;
    text-align: right;
    z-index: 2;
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-size: clamp(1.8rem, 3vw, 4.6rem);
    letter-spacing: 0;
    line-height: 1;
    pointer-events: none;
    color: #fff;
    text-shadow: 0px 0px 3px #b1b1b1, 0px 0px 3px #b1b1b1, 0px 0px 3px #b1b1b1, 0px 0px 0px #b1b1b1, 0px 0px 3px #b1b1b1;
}

/* タブレット：2カラム＋最後の1枚を全幅 */
@media only screen and (max-width: 960px) {
    .box-006-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .box-006-grid > :last-child {
        grid-column: 1 / -1;
    }
}
/* スマホ：1カラム */
@media only screen and (max-width: 640px) {
    .box-006-grid {
        grid-template-columns: 1fr;
    }
    .box-006-grid > :last-child {
        grid-column: auto;
    }
}

/* 背景画像の上に置く文字の可読性向上（白文字＋黒フチ）。汎用クラス */
.text-on-image,
.text-on-image h1,
.text-on-image h2,
.text-on-image h3,
.text-on-image h5,
.text-on-image h6,
.text-on-image p,
.text-on-image span,
.text-on-image a {
    color: #fff;
}
.text-on-image {
    text-shadow: 0px 0px 6px #373737, 0px 0px 7px #373737, 0px 0px 7px #373737, 0px 0px 7px #373737, 0px 0px 7px #373737;
    -webkit-text-stroke: 0.8px rgb(255 255 255 / 70%);
}

/* CEMETERY：右下の丸バッジ（◯の中に文字） */
.box-feature-txt {
    position: relative;
}
.feature-circles {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: flex;
    gap: 18px;
    display: none;
}
.feature-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: #fff;
    font-weight: 400;
    font-size: 2.35vw;
    font-family: 'Noto Serif JP';
    line-height: 1.35;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.55), 0 0 4px rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
}
/* スマホ：本文下にセンター配置で回り込み防止 */
@media only screen and (max-width: 768px) {
    .feature-circles {
        position: static;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 28px;
    }
    .feature-circle {
        width: 100px;
        height: 100px;
        font-size: 1.1rem;
    }
}

/* first-guide：霊園紹介ブロック（タイトル＋左テキスト/右画像＋タグ） */
.fg-place-intro {
    padding: 30px 0 50px;
}
.fg-place-card {
    border: 4px solid #2f2f2f;
    border-radius: 10px;
    background: #fff;
    padding: 36px 40px 44px;
}
.fg-place-title {
    font-size: clamp(2.6rem, 3.4vw, 4rem);
    font-weight: 400;
    color: #222;
    margin: 0 0 28px;
    line-height: 1.3;
}
.fg-place-row {
    display: flex;
    align-items: flex-start;
    gap: 48px;
}
.fg-place-body {
    flex: 1 1 0;
    min-width: 0;
}
.fg-place-lead {
    font-size: clamp(1.9rem, 2.2vw, 2.6rem);
    font-weight: 500;
    color: #2b2b2b;
    line-height: 1.5;
    margin: 0 0 20px;
}
.fg-place-txt {
    font-size: 1.7rem;
    line-height: 1.95;
    color: #4f5457;
    margin: 0 0 32px;
}
.fg-place-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 14px 28px;
    border-radius: 32px;
    background: #1f7a4d;
    color: #fff;
    font-size: 1.8rem;
    letter-spacing: 1px;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s ease, box-shadow .2s ease;
}
.fg-place-btn:hover {
    background: #176039;
    box-shadow: 0 6px 16px rgba(31, 122, 77, .3);
}
.fg-place-media {
    flex: 1 1 0;
    min-width: 0;
}
.fg-place-photo {
    margin: 0;
}
.fg-place-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}
.fg-place-tags {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 14px;
}
.fg-place-tags li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 2px solid #2f2f2f;
    border-radius: 50px;
    background: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    color: #444;
    text-align: center;
}
@media only screen and (max-width: 900px) {
    .fg-place-row {
        flex-direction: column;
        gap: 28px;
    }
}

/* first-guide：アイキャッチ下のナビ紹介（CEO画像＋見出し＋紹介文） */
.fg-nav-intro-sec {
    padding: 50px 0 10px;
}
.fg-nav-intro {
    display: flex;
    align-items: center;
    gap: 40px;
}
.fg-nav-intro-photo {
    flex: 0 0 auto;
    width: 280px;
    margin: 0;
    position: relative;
}
.fg-nav-intro-photo img {
    width: 100%;
    height: auto;
    display: block;
    padding: 15px;
}
.fg-nav-intro-body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 20px;
}
.fg-nav-intro-title {
    font-family: var(--sv-sans);
    font-size: clamp(2.4rem, 3vw, 3.4rem);
    font-weight: 400;
    color: #222;
    margin: 0;
    line-height: 1.3;
}
.fg-nav-intro-en {
    display: block;
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    color: #8a8a8a;
    margin: 6px 0 22px;
}
.fg-nav-intro-text {
    font-size: 1.6rem;
    line-height: 1.9;
    color: #4f5457;
    margin: 0;
}
@media only screen and (max-width: 768px) {
    .fg-nav-intro {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .fg-nav-intro-photo {
        width: 200px;
    }
}

/* ================================================================
   first-guide：アイキャッチ下のリンクボタン群（ピル型・2カラム）
================================================================ */


.fg-guide-links-sec {
    padding: 15px 20px 10px;
}
.fg-guide-links-inner {
    max-width: var(--sv-max-w);
    margin: 0 auto;
}
.fg-guide-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 12px;
}
.fg-guide-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 18px;
    border: 3px solid #11224a;
    border-radius: 16px;
    background: #fff;
    color: #11224a;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.fg-guide-link::before {
    content: "\276F";
    flex: 0 0 auto;
    color: #11224a;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    transition: color .2s ease;
}
.fg-guide-link:hover {
    background: #11224a;
    color: #fff;
    box-shadow: 0 6px 18px rgba(17, 34, 74, .25);
}
.fg-guide-link:hover::before {
    color: #fff;
}
/* レスポンシブ：3列 → 2列 → 1列 */
@media only screen and (max-width: 900px) {
	.fg-guide-links {
	    gap: 8px 8px;
	}
    .fg-guide-link {
        font-size: 1.7rem;
        padding: 5px 8px;
        gap: 5px;
    }
}
@media only screen and (max-width: 640px) {
    .fg-guide-links {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .fg-guide-links-sec {
        padding: 15px 15px 10px;
    }
}


