/* ルクミー参照の写真・説明面・余白の役割。本文と操作の可読性は既存ガイドを継承。 */
body[data-visual-language]{--scene-soft:#e8f0f2;--scene-line:#bed2d8;--photo-radius:20px;--panel-radius:20px}
body[data-visual-language][data-theme=grave]{--scene-soft:#eaf1eb;--scene-line:#c8d8cd}
body[data-visual-language][data-theme=support]{--scene-soft:#e7f2ee;--scene-line:#bdd8cf}
body[data-visual-language][data-theme=corporate]{--scene-soft:#eaf0f1;--scene-line:#c4d4d8}
/* 複数サービスのナビは本文より広い専用枠に置く。 */
body[data-layout-system][data-unified][data-fidelity][data-visual-language] .u-site-header>.header-inner{width:min(1200px,calc(100% - 40px));max-width:none;margin-inline:auto;padding-inline:0;gap:24px}

/* 文章と写真が対になる章は大きく。説明カードの列間隔とは別の距離を使う。 */
body[data-layout-system][data-unified][data-fidelity][data-visual-language] :is(.f-editorial-split,.f-balance-split,.visual-split,.about-access-grid,.f-sea-ceremonies){gap:var(--layout-columns);align-items:start}
body[data-layout-system][data-unified][data-fidelity][data-visual-language] .service-editorials{column-gap:60px!important;row-gap:60px!important}
body[data-layout-system][data-unified][data-fidelity][data-visual-language] :is(.service-editorial-photo,.about-service-photo){margin-bottom:20px}

/* 写真の比率は用途で指定する。KV・記事・人物・小さな関連導線を混ぜない。 */
body[data-layout-system][data-unified][data-fidelity][data-visual-language] figure[data-photo-layout=editorial]{width:100%;height:auto;min-height:0;aspect-ratio:3/2;align-self:start;max-width:none;margin:0;position:relative;isolation:isolate;overflow:visible;background:transparent;border-radius:var(--photo-radius)}
body[data-layout-system][data-unified][data-fidelity][data-visual-language] figure[data-photo-layout=editorial] img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:3/2;object-fit:cover;border-radius:var(--photo-radius)}
body[data-layout-system][data-unified][data-fidelity][data-visual-language] figure[data-photo-layout=card]{padding:0;overflow:hidden;border-radius:12px;margin:0}
body[data-layout-system][data-unified][data-fidelity][data-visual-language] figure[data-photo-layout=card] img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:16/10!important;object-fit:cover;border-radius:12px}
body[data-layout-system][data-unified][data-fidelity][data-visual-language] .u-child-hero figure[data-photo-layout=hero]{overflow:hidden;border-radius:var(--photo-radius)}
body[data-layout-system][data-unified][data-fidelity][data-visual-language] .u-child-hero figure[data-photo-layout=hero] img{border-radius:var(--photo-radius)}

/* 淡い形は写真の外へ回す。本文・金額・ボタンの上には重ねない。 */
body[data-layout-system][data-unified][data-fidelity][data-visual-language] [data-photo-accent]::before{content:'';position:absolute;inset:24px -24px -24px 24px;background:var(--scene-soft);border-radius:46% 54% 52% 48% / 50% 44% 56% 50%;z-index:-1;pointer-events:none}
body[data-layout-system][data-unified][data-fidelity][data-visual-language] [data-scene-accent=story]{background-image:radial-gradient(ellipse 24% 48% at 0% 26%,var(--scene-soft) 0%,transparent 100%),radial-gradient(ellipse 20% 35% at 100% 84%,var(--scene-soft) 0%,transparent 100%);background-repeat:no-repeat}
body[data-layout-system][data-unified][data-fidelity][data-visual-language] [data-scene-accent=consult]{background-image:radial-gradient(ellipse 24% 62% at 0% 20%,#d7e7eb 0%,transparent 100%),radial-gradient(ellipse 22% 48% at 100% 85%,#dcebef 0%,transparent 100%);background-repeat:no-repeat}

/* 説明をまとめる面は角丸20px・内側20px。操作そのものは既存の8pxを使う。 */
body[data-layout-system][data-unified][data-fidelity][data-visual-language] :is(.reading-card,.sea-plan-choice,.u-option-card,.related-plan){border-radius:var(--panel-radius);border-color:var(--scene-line);background:#fff}
body[data-layout-system][data-unified][data-fidelity][data-visual-language] :is(.reading-card,.sea-plan-choice){padding:20px}
body[data-layout-system][data-unified][data-fidelity][data-visual-language] .u-option-card{padding:12px}
body[data-layout-system][data-unified][data-fidelity][data-visual-language] .u-option-card>div{padding:20px 8px 8px}
body[data-layout-system][data-unified][data-fidelity][data-visual-language] :is(.reading-card,.sea-plan-choice,.u-option-card) :is(h2,h3){font-size:1.5rem;line-height:1.6;margin-top:0}
body[data-layout-system][data-unified][data-fidelity][data-visual-language] .u-option-grid{gap:20px;align-items:stretch}

@media(max-width:1023px){
 body[data-layout-system][data-unified][data-fidelity][data-visual-language] .service-editorials{column-gap:40px!important;row-gap:40px!important}
}
@media(max-width:767px){
 body[data-layout-system][data-unified][data-fidelity][data-visual-language] .service-editorials{row-gap:40px!important}
 body[data-layout-system][data-unified][data-fidelity][data-visual-language] [data-photo-accent]::before{inset:16px -8px -12px 8px}
 body[data-layout-system][data-unified][data-fidelity][data-visual-language] [data-scene-accent=story]{background-image:radial-gradient(ellipse 48% 24% at 0% 14%,var(--scene-soft) 0%,transparent 100%)}
 body[data-layout-system][data-unified][data-fidelity][data-visual-language] :is(.reading-card,.sea-plan-choice,.u-option-card) :is(h2,h3){font-size:1.375rem}
}
/* 小さな機能イラストは写真の比率へ引き延ばさず、説明の入口として使う。 */
body.service-renewal[data-layout-system][data-unified][data-fidelity][data-visual-language] :is(.renew-task-grid,.service-choice-grid){gap:20px}
body.service-renewal[data-layout-system][data-unified][data-fidelity][data-visual-language][data-theme=support] .renew-choice-art{width:160px;height:120px;aspect-ratio:auto;margin:0;align-self:start}
body.service-renewal[data-layout-system][data-unified][data-fidelity][data-visual-language][data-theme=support] .renew-choice-art img{width:100%;height:100%;object-fit:contain}
@media(max-width:767px){body.service-renewal[data-layout-system][data-unified][data-fidelity][data-visual-language][data-theme=support] .renew-choice-art{width:120px;height:100px}}
/* 外枠が左右20pxになる中間幅は、装飾もその内側に収める。 */
@media(min-width:768px) and (max-width:1040px){body[data-layout-system][data-unified][data-fidelity][data-visual-language] [data-photo-accent]::before{inset:20px -16px -20px 16px}}
body.service-renewal[data-layout-system][data-unified][data-fidelity][data-visual-language] .service-choice-action{text-decoration:none}
body.service-renewal[data-layout-system][data-unified][data-fidelity][data-visual-language] .service-choice-action .f-link-label{text-decoration:none}
