/* ハイブリッド版：内容・既存UIは維持し、このLPだけに視覚ルールを追加する。 */
:root {
  --paper: #fcf9f1;
  --white: #fffefa;
  --ink: #34271f;
  --muted: #72675c;
  --line: #e8decd;
  --green: #287343;
  --teal: #107d91;
  --orange: #df693b;
  --navy: #173f4b;
  --shadow: 0 12px 34px #79613b0b;
}

/* 01–02 風景・人物・コピーを一つの構図にする。写真そのものは変更しない。 */
.site-header { background: #fffef9; border-bottom: 0; }
.header-inner { min-height: 100px; max-width: 1320px; padding: 10px 32px; }
.brand .logo-window { width: 151px; height: 79px; }
.brand .logo { width: 151px; top: -8px; }
.brand-caption { color: #786b5e; }
.desktop-nav { gap: 28px; }
.header-cta { border-radius: 12px; }
/* 文字拡大時もスキップリンクが画面外から漏れない。フォーカス時だけ表示する。 */
.skip:not(:focus) { transform: translateY(-150%); }
.skip:focus { transform: none; }
.hero { padding-top: 0; padding-bottom: 30px; background: var(--paper); }
.hero-scene {
  inset: 0;
  background: linear-gradient(180deg,#fffefa30 0%,#fcf9f138 46%,var(--paper) 98%),
    url('assets/lakeside-watercolor.webp') center 38% / cover no-repeat;
  opacity: .69;
}
.hero-inner { min-height: 710px; padding-top: 22px; padding-bottom: 25px; }
.hero-photo {
  top: -16px;
  right: -24px;
  width: 77%;
  height: 710px;
  opacity: 1;
  /* キャプションには写真のフェードを適用しない。 */
  mask-image: none;
}
.hero-photo img {
  object-position: 66% 45%;
  /* 中央の墓石・右辺・上下辺を独立して処理し、透明部分を交差合成する。 */
  --photo-center-mask: linear-gradient(105deg,transparent 10%,#0000 27%,#0001 36%,#0008 49%,black 61%,black 94%,transparent 100%);
  --photo-edge-mask: linear-gradient(90deg,black 0%,black 92%,transparent 100%);
  --photo-vertical-mask: linear-gradient(180deg,transparent 0%,black 12%,black 79%,transparent 100%);
  mask-image: var(--photo-center-mask),
    var(--photo-edge-mask),
    var(--photo-vertical-mask);
  mask-composite: intersect;
}
.photo-caption {
  /* 写真と同じ見た目の座標を維持し、文字は写真枠から独立させる。 */
  right: 16px; bottom: calc(100% - 624px); width: 218px; max-width: 218px;
  padding: 25px 18px; font-size: 1rem; line-height: 1.8;
  background: #fffef3e8;
}
.hero-copy { max-width: 620px; }
.service-label { font-size: .9375rem; letter-spacing: .03em; }
.hero-copy > .hero-area { font-size: .8125rem; margin: 5px 0 0; font-weight: 700; }
.hero-tagline { font-size: 1.375rem; margin: 23px 0 13px; }
.hero h1 { font-size: 3.625rem; line-height: 1.34; letter-spacing: .04em; }
.hero-description {
  font-size: 1rem; line-height: 1.9; margin-top: 20px; max-width: 510px;
  background: linear-gradient(90deg,#fcf9f1d9,#fcf9f190 80%,transparent);
  text-shadow: 0 0 12px #fffefa;
}
.hero-prices {
  max-width: 538px; margin-top: 19px; border-radius: 16px;
  background: #fffef8ed; border-color: #e5d8c0; box-shadow: 0 6px 22px #8f78500a;
}
.hero-prices a { padding: 10px 17px 12px; }
.hero-prices a > span { font-size: .8125rem; }
.hero-prices .tiny { font-size: .75rem; }
.hero-prices b { font-size: 1.875rem; line-height: 1.35; }
.hero-prices b small { font-size: .6875rem; }
.hero-fee-note { font-size: .75rem; line-height: 1.7; margin-top: 7px; }
.hero-action { max-width: 515px; margin-top: 17px; }
.hero-action .cta {
  min-height: 78px; padding: 15px 24px; border: 1px solid #ffffffb0;
  border-radius: 19px; background: linear-gradient(135deg,#0dac58,#009841);
  box-shadow: 0 12px 24px #207a3520;
}
.hero-action .cta b { font-size: 1.4375rem; }
.hero-action .cta small { font-size: .875rem; }
.hero-action .cta > .icon { width: 35px; height: 35px; }
.hero-secondary { max-width: 510px; margin-top: 13px; font-size: .9375rem; gap: 18px; }
.hero-secondary a { min-height: 36px; }
.hero-trust {
  margin-top: 0; background: #fffefaeb; border-radius: 22px;
  padding: 18px 20px; gap: 35px;
}
.hero-trust > span { font-size: .875rem; }

/* 共通の余白と写真を、料金からフッターまで連続させる。 */
.section { padding-block: 76px; }
.section-head { margin-bottom: 36px; }
.section-head h2 { font-size: 2.375rem; line-height: 1.6; letter-spacing: .05em; text-wrap: balance; }
.section-head p { font-size: 1rem; line-height: 1.9; }
.kicker { letter-spacing: .065em; }
.pricing-section {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg,var(--paper),#fffefa 350px);
}
.pricing-section::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 310px; z-index: -1;
  background: url('assets/lakeside-watercolor.webp') center 38% / cover;
  opacity: .17; mask-image: linear-gradient(180deg,transparent,black 30%,transparent);
}
.common-strip { font-size: .9375rem; margin-bottom: 31px; }
.plans { gap: 24px; }
.plan { border-radius: 23px; box-shadow: 0 15px 34px #7b603510; }
.plan-top { padding: 24px 15px 22px; background: linear-gradient(180deg,var(--plan-bg),#fffefa); }
.plan-top h3 { font-size: 1.375rem; }
.plan-top p { font-size: .875rem; }
.plan-body { padding: 3px 22px 23px; }
.price-row { grid-template-columns: 80px minmax(0,1fr); gap: 8px; padding-block: 17px; }
.price-meta small,.price-meta em,.price-row dt span { font-size: .8125rem; }
.money strong { font-size: 2.125rem; }
.price-row.leading .money strong { font-size: 2.4375rem; }
.panorama { border-radius: 13px; }
.plan-consult { border-radius: 13px; font-size: .875rem; min-height: 49px; }
.price-notes { font-size: .875rem; line-height: 1.9; }
.comparison-section { background: #fffefa; }
.comparison-details { border-radius: 20px; box-shadow: var(--shadow); }
.comparison-details > summary { background: #f3f7ef; }
.area-section { background: linear-gradient(180deg,#fffefa,var(--paper)); }
/* 対象の2カードだけ、PCの2列表示では内容に応じた高さにする。 */
@media (width > 900px) {
  #area .area-grid { align-items: start; }
}
.area-panel,.fee-panel { border-radius: 23px; box-shadow: var(--shadow); background: #fffefb; }
.area-panel h2,.fee-panel h2 { font-size: 1.875rem; }
.area-note,.fee-panel p { font-size: .9375rem; line-height: 1.9; }
.prefecture li { font-size: .875rem; }

/* 06 統合済み4カードのまま、写真と明朝見出しがまとまった表現へ。 */
.services-section { background: linear-gradient(180deg,var(--paper),#fffef8); }
.services-section::before {
  background-position: right 70px; background-size: 440px auto; opacity: .14;
}
.services-grid { grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.service { border-radius: 23px; background: #fffefb; padding: 12px; }
.service-photos { height: 244px; border-radius: 16px; }
.service-photos.two { gap: 8px; }
.service-photos.two img { border-radius: 13px; }
.service-body { padding: 24px 18px 20px; }
.service-body h3 { font-size: 1.625rem; line-height: 1.65; }
.service-body h4 { font-size: .9375rem; }
.service-body p { font-size: 1rem; line-height: 1.9; }
.service-tag { font-size: .8125rem; }
.service-care,.service-insurance { display: block; grid-column: auto; }
.service-care .service-photos,.service-insurance .service-photos {
  width: 100%; height: 244px; min-height: 0;
}
.service-care .service-photos img { object-position: 50% 50%; }
.service-insurance .service-photos img { object-position: 50% 55%; }
.service-insurance .service-body { padding: 24px 18px 20px; }
.service-care h3,.service-insurance h3 { font-size: 1.5rem; }
.scope-note { font-size: .8125rem; line-height: 1.9; }
.remote { background: #f1f6ed; border-radius: 13px; }
.remote b,.remote span { font-size: .875rem; line-height: 1.8; }

/* 07–11 同じ温かい白・緑・青緑で、実用情報までつなぐ。 */
.flow-section { background: #fffef8; }
.steps > li { border-radius: 18px; background: #fffefa; box-shadow: var(--shadow); }
.steps p { font-size: .9375rem; line-height: 1.9; }
.promises { background: #f0f5e9; border-radius: 19px; }
.promises li { font-size: .875rem; }
.faq-section { background: linear-gradient(180deg,#fffef8,var(--paper)); padding-top: 28px; }
.faq-layout .section-head h2 { font-size: 2rem; }
.faq-aside { font-size: .9375rem; }
.faq-list { border-top: 0; }
.faq-item { background: #fffefbe6; border: 1px solid var(--line); border-radius: 15px; margin-bottom: 11px; }
.faq-item summary { padding: 20px 18px; font-size: 1rem; }
.answer { padding: 0 18px 23px; font-size: 1rem; }
.contact-section {
  background: linear-gradient(180deg,var(--paper),#fcf9f160 55%,#fcf9f1a6),
    url('assets/lakeside-watercolor.webp') center 50% / cover;
}
.contact-shell { background: #fffef9e8; border-radius: 28px; padding: 44px; }
.contact-copy > p { font-size: 1rem; }
.contact-copy .contact-note { font-size: .875rem; }
.contact-panel .cta { border-radius: 15px; }
.email-contact { border-radius: 15px; }
.reply-note { font-size: .8125rem; }
.phone-contact > span > span { font-size: .8125rem; }
.footer { background: #173f4b; padding-top: 46px; }
.footer-top nav,.footer-operator { font-size: .875rem; }
.footer-bottom { font-size: .75rem; }
.fixed-contact { box-shadow: 0 -5px 22px #234c3822; }

@media (max-width: 1150px) {
  .hero-copy { max-width: 550px; }
  .hero h1 { font-size: 3.25rem; }
  .hero-photo { width: 78%; right: -25px; }
  .photo-caption { right: 15px; }
  /* 写真の右辺に人物が近い幅では、服の輪郭を保つ細いフェードにする。 */
  .hero-photo img { --photo-edge-mask: linear-gradient(90deg,black 0%,black 96%,transparent 100%); }
  .plan-body { padding-inline: 17px; }
  .plan-top h3 { font-size: 1.1875rem; }
  .money strong { font-size: 1.875rem; }
  .price-row.leading .money strong { font-size: 2.125rem; }
  .price-row { grid-template-columns: 74px minmax(0,1fr); }
}
@media (max-width: 900px) {
  .header-inner { min-height: 84px; padding: 7px 20px; }
  .brand .logo-window { width: 135px; height: 70px; }
  .brand .logo { width: 135px; top: -6px; }
  .menu-toggle { min-width: 46px; min-height: 46px; }
  .menu-toggle .icon { width: 30px; height: 30px; }
  .menu-toggle span { font-size: .6875rem; }
  .hero-inner { min-height: 680px; }
  .hero h1 { font-size: 3rem; }
  .hero-copy { max-width: 510px; }
  .hero-photo { width: 85%; right: -20px; height: 650px; }
  .photo-caption { right: 20px; bottom: calc(100% - 564px); }
  .hero-trust { gap: 14px 24px; padding: 17px; }
  .hero-trust > span { font-size: .8125rem; }
  .plans { max-width: 640px; gap: 24px; }
  .plan-top h3 { font-size: 1.4375rem; }
  .plan-body { padding: 0 25px 24px; }
  .price-row { grid-template-columns: 108px minmax(0,1fr); }
  .money strong { font-size: 2.3125rem; }
  .price-row.leading .money strong { font-size: 2.625rem; }
  .area-note,.fee-panel p { font-size: 1rem; }
  .service { padding: 9px; }
  .service-photos,.service-care .service-photos,.service-insurance .service-photos { height: 195px; }
  .service-body,.service-insurance .service-body { padding: 20px 14px; }
  .service-body h3,.service-care h3,.service-insurance h3 { font-size: 1.375rem; }
  .report-copy { display: block; }
  .report-copy > div + div { padding: 12px 0 0; margin: 13px 0 0; border: 0; border-top: 1px solid var(--line); }
  .steps p { font-size: 1rem; }
  .contact-shell { padding: 32px; }
}
/* 601〜802pxでは料金枠に重なり、803pxでも接するため、
   十分な横の余裕ができる820pxまでキャプションを通常フローへ置く。
   CTAの後に必要な高さだけ確保し、写真・コピー・料金の位置は変えない。 */
@media (width > 600px) and (max-width: 820px) {
  .hero-inner > .photo-caption {
    position: relative; inset: auto; display: block; margin: 12px 0 0 auto;
  }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 81px; padding: 7px 18px; }
  .brand .logo-window { width: 135px; height: 68px; }
  .hero { padding-bottom: 22px; }
  .hero-inner { min-height: 0; padding: 19px 0 19px; overflow: visible; }
  .hero-scene { background-position: 58% top; background-size: auto 640px; background-repeat: no-repeat; opacity: .6; }
  .hero-copy { max-width: 100%; }
  .service-label { font-size: .8125rem; line-height: 1.7; letter-spacing: .01em; gap: 5px; }
  .service-label .icon { width: 16px; height: 16px; }
  .hero-copy > .hero-area { font-size: .75rem; line-height: 1.7; margin-top: 4px; }
  .hero-tagline { font-size: 1rem; margin: 25px 0 15px; }
  .hero h1 { font-size: clamp(2rem,10vw,2.75rem); line-height: 1.36; letter-spacing: .025em; }
  .hero h1 .accent { font-size: inherit; }
  .hero-photo {
    top: 184px; right: -36px; width: calc(100% + 36px); height: 360px;
    opacity: 1;
  }
  .hero-photo img {
    object-position: 69% center;
    --photo-center-mask: linear-gradient(105deg,transparent 0%,#0001 27%,#0007 43%,black 61%,black 100%);
    --photo-vertical-mask: linear-gradient(180deg,transparent 0%,black 12%,black 78%,transparent 100%);
  }
  .photo-caption { display: none; }
  .hero-description {
    margin-top: 118px; font-size: 1rem; line-height: 1.85; max-width: none;
    background: linear-gradient(180deg,#fcf9f1db,var(--paper)); text-shadow: none;
  }
  .hero-prices { margin-top: 16px; max-width: 100%; border-radius: 15px; }
  .hero-prices a { padding: 11px 12px; }
  .hero-prices a > span { font-size: .8125rem; line-height: 1.6; }
  .hero-prices .tiny { display: block; font-size: .75rem; }
  .hero-prices b { font-size: 1.75rem; margin-top: 5px; }
  .hero-prices b small { font-size: .625rem; margin-left: 3px; }
  .hero-fee-note { font-size: .75rem; line-height: 1.8; margin-top: 8px; }
  .hero-action { margin-top: 15px; max-width: 100%; }
  .hero-action .cta { min-height: 78px; padding: 15px 17px; gap: 13px; border-radius: 17px; }
  .hero-action .cta b { font-size: 1.1875rem; }
  .hero-action .cta small { font-size: .75rem; }
  .hero-action .cta > .icon { width: 31px; height: 31px; }
  .hero-secondary { margin-top: 11px; gap: 10px; font-size: .8125rem; }
  .hero-secondary a { min-height: 44px; }
  .hero-trust { justify-content: flex-start; gap: 12px; padding: 17px 18px; border-radius: 18px; }
  .hero-trust > span { font-size: .8125rem; }
  .hero-trust > span > span { font-size: .75rem; }
  .section { padding-block: 48px; }
  .section-head { margin-bottom: 29px; }
  .kicker { font-size: .8125rem; margin-bottom: 12px; }
  .section-head h2 { font-size: 1.75rem; line-height: 1.55; letter-spacing: .02em; }
  .section-head p { font-size: 1rem; line-height: 1.85; margin-top: 15px; }
  .common-strip { font-size: .875rem; align-items: flex-start; padding: 15px; border-radius: 15px; }
  .plan-jumps { gap: 7px; font-size: .6875rem; margin-bottom: 19px; }
  .plan-jumps a { min-height: 44px; padding: 8px 6px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
  .plan { border-radius: 21px; }
  .plan-top { padding: 21px 13px 18px; }
  .plan-top h3 { font-size: 1.3125rem; }
  .plan-top p { font-size: .875rem; }
  .plan-body { padding: 0 17px 20px; }
  .price-row { grid-template-columns: 84px minmax(0,1fr); gap: 8px; padding-block: 15px; }
  .price-row dt span { font-size: .8125rem; }
  .money strong { font-size: 2rem; }
  .price-row.leading .money strong { font-size: 2.3125rem; }
  .money > span { font-size: .75rem; }
  .money .tax { font-size: .6875rem; }
  .price-meta { gap: 4px 7px; }
  .price-meta small,.price-meta em { font-size: .8125rem; }
  .panorama { font-size: .875rem; }
  .plan-inclusions li { font-size: .875rem; }
  .plan-consult { font-size: .9375rem; min-height: 49px; }
  .price-notes { font-size: .875rem; }
  .area-panel,.fee-panel { padding: 26px 20px; border-radius: 21px; }
  .area-panel h2,.fee-panel h2 { font-size: 1.625rem; }
  .prefecture li { font-size: .875rem; padding: 6px 10px; }
  .area-note,.fee-panel p { font-size: 1rem; }
  .fee-panel h3 { font-size: 1rem; }
  .text-link { font-size: .875rem; }
  .services-grid { grid-template-columns: 1fr; gap: 23px; }
  .service { padding: 10px; border-radius: 21px; }
  .service-photos,.service-care .service-photos,.service-insurance .service-photos { height: 193px; min-height: 0; border-radius: 14px; }
  .service-photos.two { grid-template-columns: 1fr 1fr; gap: 7px; }
  .service-photos.two img:nth-child(2) { display: block; }
  .service-report .service-body::after { display: none; }
  .service-body,.service-care .service-body,.service-insurance .service-body { padding: 20px 11px 15px; }
  .service-body h3,.service-care h3,.service-insurance h3 { font-size: 1.5rem; line-height: 1.65; }
  .service-tag { font-size: .8125rem; }
  .service-body p,.service-care .service-body p,.service-insurance .service-body p { font-size: 1rem; line-height: 1.9; }
  .service-body h4 { font-size: .9375rem; }
  .report-copy { display: block; }
  .report-copy > div + div { padding: 10px 0 0; margin-top: 14px; border-left: 0; border-top: 1px solid var(--line); }
  .remote b,.remote span { font-size: .875rem; }
  .scope-note { font-size: .875rem; }
  .steps > li { padding: 23px 19px; border-radius: 17px; gap: 17px; }
  .steps h3 { font-size: 1.0625rem; }
  .steps p { font-size: 1rem; }
  .promises { padding: 24px 20px; border-radius: 18px; }
  .promises li { font-size: .9375rem; }
  .faq-section { padding-top: 15px; }
  .faq-layout .section-head h2 { font-size: 1.75rem; }
  .faq-aside { font-size: .9375rem; }
  .faq-item summary { font-size: 1rem; gap: 11px; padding: 18px 14px; }
  .answer { font-size: 1rem; gap: 11px; padding: 0 14px 22px; }
  .contact-section { padding: 43px 0; }
  .contact-shell { padding: 30px 19px; border-radius: 23px; }
  .contact-copy h2 { font-size: 1.625rem; }
  .contact-copy > p { font-size: 1rem; }
  .contact-copy .contact-note { font-size: .875rem; }
  .contact-panel .cta { border-radius: 15px; padding: 16px 13px; }
  .contact-panel .cta b { font-size: 1.0625rem; }
  .contact-panel .cta small { font-size: .75rem; }
  .email-contact { padding: 15px 12px; font-size: .9375rem; }
  .email-contact > span > span { font-size: .8125rem; }
  .phone-contact { padding: 22px 0 10px; }
  .phone-contact b { font-size: 1.5rem; }
  .phone-contact small,.phone-contact > span > span { font-size: .75rem; }
  .reply-note,.qr-details summary,.qr-details p { font-size: .8125rem; }
  .footer { padding-top: 35px; }
  .footer-top nav,.footer-operator,.footer-operator a { font-size: .8125rem; }
  .footer-bottom,.footer-bottom small { font-size: .6875rem; }
}
@media (max-width: 359px) {
  .hero h1 { font-size: 2rem; }
  .hero-copy > .hero-area { font-size: .6875rem; }
  .hero-photo { top: 187px; height: 315px; }
  .hero-description { margin-top: 106px; }
  .hero-prices { grid-template-columns: 1fr; }
  .hero-prices a { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
  .hero-prices a + a { border-left: 0; border-top: 1px solid var(--line); }
  .hero-prices b { font-size: 1.625rem; }
  .hero-secondary { flex-wrap: wrap; gap: 7px 18px; font-size: .8125rem; justify-content: flex-start; }
  .hero-action .cta { padding-inline: 12px; gap: 10px; }
  .hero-action .cta b { font-size: 1.0625rem; }
  .hero-action .cta small { font-size: .6875rem; }
  .price-row { grid-template-columns: 73px minmax(0,1fr); gap: 7px; }
  .money strong { font-size: 1.75rem; }
  .price-row.leading .money strong { font-size: 2rem; }
  .plan-top h3 { font-size: 1.1875rem; }
  .plan-jumps { flex-wrap: wrap; }
  .plan-jumps a { flex: 1 1 42%; }
  .service-photos,.service-care .service-photos,.service-insurance .service-photos { height: 175px; }
  .phone-contact b { font-size: 1.25rem; }
}
/* 拡大時は内容を優先し、写真への重なりや横固定の料金行を解除する。 */
body.text-200 .hero-copy { max-width: 100%; }
body.text-200 .hero-description { margin-top: 24px; }
body.text-200 .hero h1 { font-size: 2.5rem; }
body.text-200 .hero h1 span { overflow-wrap: anywhere; }
body.text-200 .hero-photo { opacity: .14; right: 0; width: 100%; }
/* 文字200%ではコピーが全幅になるため、表示対象のキャプションにも実領域を確保する。 */
@media (width > 600px) {
  body.text-200 .hero-inner > .photo-caption {
    position: relative; inset: auto; display: block; margin: 12px 0 0 auto;
  }
}
body.text-200 .hero-prices,body.text-200 .price-row { display: block; }
body.text-200 .hero-prices a { display: block; }
body.text-200 .service-care,body.text-200 .service-insurance { grid-column: auto; }
body.text-200 .hero-secondary { flex-wrap: wrap; }
body.text-200 .plan-inclusions li { flex-wrap: wrap; }

/* 相談導線の仕上げ：写真・本文・料金・既存のカードは変更しない。 */
.consult-link { min-width: 0; }
.consult-link > span { min-width: 0; }
.consult-link b,.consult-link small { overflow-wrap: anywhere; }
.consult-link > .icon { flex-shrink: 0; }
.consult-guide { font-size: 1rem; font-weight: 700; line-height: 1.7; margin-bottom: 10px; }
.consult-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.hero-action { max-width: 620px; container-type: inline-size; }
.hero-action .consult-pair .cta { height: auto; min-height: 78px; padding: 14px; gap: 9px; }
.hero-action .consult-pair .cta > .icon { width: 26px; height: 26px; }
.hero-action .consult-pair .end { display: none; }
.hero-action .consult-pair .cta-form { background: var(--teal); box-shadow: 0 12px 24px #107d9118; }
.hero-secondary { justify-content: flex-start; gap: 30px; }
@container (max-width: 579px) { .hero-action .consult-pair { grid-template-columns: 1fr; } }
.consult-pair-compact { display: flex; flex-wrap: wrap; gap: 8px; }
.consult-pair-compact .consult-link {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  flex: 1 1 160px; padding: 9px 8px; min-height: 44px;
  border: 1px solid currentColor; border-radius: 10px;
  font-size: 1rem; font-weight: 700; line-height: 1.5;
  color: var(--green); background: #fffefa;
}
.consult-pair-compact .consult-form { color: var(--teal); }
.consult-pair-compact .icon { width: 18px; height: 18px; }
.plan-consult-choices { margin-top: auto; padding-top: 4px; }
.plan-consult-choices > p { text-align: center; font-size: .9375rem; margin-bottom: 9px; }
.inline-consult { display: block; text-align: center; }
.inline-consult .consult-pair { max-width: 440px; margin: 12px auto 0; }
.area-consult { margin-top: 16px; }
.area-consult > p { margin-bottom: 10px; }
.header-consult { display: flex; gap: 8px; flex: none; }
.header-consult .header-cta { margin: 0; white-space: nowrap; }
.consult-pair-menu { grid-template-columns: 1fr; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 8px; }
.mobile-menu .consult-link { display: flex; align-items: center; gap: 10px; font-size: 1rem; }
.mobile-menu .consult-line { color: var(--green); }
.mobile-menu .consult-form { color: var(--teal); }
.mobile-menu .consult-link .icon { width: 22px; height: 22px; }
@media (max-width: 1150px) {
  .header-consult,.desktop-nav { display: none; }
  .menu-toggle { display: flex; margin-left: auto; background: none; border: 0; padding: 0; width: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
  .menu-toggle .icon { width: 29px; height: 29px; }
  .menu-toggle span { font-size: .5625rem; line-height: 1.4; }
  .mobile-menu:not([hidden]) { display: grid; position: absolute; right: 18px; top: 100%; background: #fffef8; box-shadow: 0 12px 30px #102e1f26; border: 1px solid var(--line); padding: 14px; min-width: 230px; border-radius: 14px; gap: 2px; max-width: calc(100% - 36px); max-height: calc(100dvh - 120px); overflow-y: auto; }
  .mobile-menu a { padding: 10px 15px; }
}
@media (max-width: 900px) {
  /* safe-areaは既存paddingに任せ、実高さだけを既存ResizeObserverが測定する。 */
  .fixed-contact { height: auto; min-height: calc(58px + env(safe-area-inset-bottom,0px)); }
  .fixed-contact .consult-fixed { width: 50%; flex: 1 1 0; min-width: 0; min-height: 58px; height: auto; padding: 10px 8px; border-radius: 0; justify-content: center; gap: 8px; }
  .fixed-contact .consult-form { background: var(--teal); }
}
@media (max-width: 600px) {
  .hero-action .consult-pair { grid-template-columns: 1fr; gap: 10px; }
  .hero-action .consult-pair .cta { padding: 14px 17px; gap: 13px; }
  .hero-secondary { gap: 26px; }
}
body.text-200 .hero-action .consult-pair { grid-template-columns: 1fr; }
body.text-200 .fixed-contact .consult-fixed { flex-wrap: nowrap; min-width: 0; height: auto; }
body.text-200 .consult-pair-compact .consult-link { flex-basis: 100%; }
body.text-200 .header-consult,body.text-200 .desktop-nav { display: none; }
body.text-200 .menu-toggle { display: flex; margin-left: auto; }
body.text-200 .mobile-menu:not([hidden]) { display: grid; position: absolute; right: 18px; top: 100%; max-width: calc(100% - 36px); max-height: calc(100dvh - 150px); overflow-y: auto; background: var(--white); padding: 14px; border: 1px solid var(--line); }

/* 最終調整：人物のサイズ・元画像を保ち、中央の墓石側を風景へなじませる。 */
.hero { overflow-x: clip; }
.estimate-photo-note { margin-top: 9px; font-size: .8125rem; line-height: 1.7; color: var(--muted); }
.consult-pair-compact .consult-link { flex-basis: 190px; }
.plan-jumps a { flex-wrap: wrap; gap: 0 .15em; }
.plan-jumps a span { white-space: nowrap; }
.grave-rule { margin-bottom: 16px; }
.fee-panel .grave-after { margin-top: 8px; font-weight: 700; }
.fee-panel .grave-example { margin-top: 8px; margin-bottom: 16px; }
@media (max-width: 600px) {
  .hero-description { margin-top: 148px; }
  .plan-jumps a { flex-direction: column; gap: 0; padding-inline: 3px; }
}
@media (max-width: 359px) { .hero-description { margin-top: 136px; } }
