/* TOP below the approved FV only. Existing fonts, content and URLs are retained. */
body.home.hidamari.kd-refined .kd-editorial {
 --ink:#080808; --gray:#555555; --paper:#F3F3F3; --action:#D52D18;
 --line:#dcdcdc; --editorial-width:1200px; color:var(--ink);
}
body.home.hidamari.kd-refined .section.kd-editorial {padding:100px 0; margin:0;}
body.home.hidamari.kd-refined .kd-editorial > .wrap,
body.home.hidamari.kd-refined .cta.kd-editorial {width:min(calc(100% - 96px),var(--editorial-width));max-width:none;margin-inline:auto;}
body.home.hidamari.kd-refined .kd-editorial .sec-head {border-top:1px solid var(--line);padding-top:28px;margin-bottom:48px;column-gap:24px;align-items:baseline;}
body.home.hidamari.kd-refined .kd-editorial :is(.kd-heading-ja,.reasons-title) {font-family:var(--mincho);font-size:clamp(28px,3vw,42px);font-weight:600;line-height:1.6;letter-spacing:.035em;}
body.home.hidamari.kd-refined .kd-editorial .kd-heading-en {color:var(--gray);font-size:12px;letter-spacing:.07em;}
body.home.hidamari.kd-refined .kd-editorial :is(.reason p,.service p) {color:var(--gray);font-size:16px;line-height:1.9;}

/* Reasons: three open columns, a clear number and a fine rule. */
body.home.hidamari.kd-refined .reasons-sec.kd-editorial {padding-top:120px;padding-bottom:60px;}
body.home.hidamari.kd-refined .kd-editorial .reasons-title {margin:0 0 56px;max-width:920px;}
body.home.hidamari.kd-refined .kd-editorial .reasons {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;}
body.home.hidamari.kd-refined .kd-editorial .reason {border:0;border-top:1px solid var(--line);border-radius:0;background:#fff;padding:28px 0 0;box-shadow:none;}
body.home.hidamari.kd-refined .kd-editorial .reason-tag {display:flex;align-items:center;gap:20px;margin:0 0 26px;font-size:13px;letter-spacing:.07em;}
body.home.hidamari.kd-refined .kd-editorial .reason-tag::before {content:none;}
body.home.hidamari.kd-refined .kd-editorial .reason-number {font-family:var(--latin);font-size:52px;font-weight:500;line-height:1;letter-spacing:-.05em;color:var(--action);}
body.home.hidamari.kd-refined .kd-editorial .reason h3 {font-family:var(--gothic);font-size:20px;font-weight:600;line-height:1.7;letter-spacing:.01em;margin:0 0 16px;min-height:3.4em;text-wrap:pretty;}
body.home.hidamari.kd-refined .kd-editorial .reason > p:last-child {margin:0;}

/* Services: restore the original outlined circular icon frames. */
body.home.hidamari.kd-refined .kd-services-section.kd-editorial {padding-top:60px;padding-bottom:60px;}
body.home.hidamari.kd-refined .kd-editorial .services--3 {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;}
body.home.hidamari.kd-refined .kd-editorial .services--3 .service {display:grid;grid-template-columns:1fr;align-content:start;gap:24px;padding:0 32px;border:0;border-left:1px solid var(--line);}
body.home.hidamari.kd-refined .kd-editorial .services--3 .service:first-child {padding-left:0;border-left:0;}
body.home.hidamari.kd-refined .kd-editorial .services--3 .service:last-child {padding-right:0;}
body.home.hidamari.kd-refined .kd-editorial .service .icon {width:76px;height:76px;border:1px solid var(--line);border-radius:50%;background:#fff;display:grid;place-items:center;}
body.home.hidamari.kd-refined .kd-editorial .service .icon > div {width:30px;height:30px;}
body.home.hidamari.kd-refined .kd-editorial .service h3 {font-family:var(--mincho);font-size:22px;font-weight:600;line-height:1.6;margin:0 0 16px;}
body.home.hidamari.kd-refined .kd-editorial .service .svc-for {margin:0;}

/* Work images share a frame; the poster remains uncropped. */
body.home.hidamari.kd-refined .kd-works-section.kd-editorial {padding-top:60px;padding-bottom:120px;}
body.home.hidamari.kd-refined .kd-editorial .works-note {font-size:14px;color:var(--gray);margin:-20px 0 32px;}
body.home.hidamari.kd-refined .kd-editorial .works {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;}
body.home.hidamari.kd-refined .kd-editorial .work-card {border:0;border-radius:0;box-shadow:none;}
body.home.hidamari.kd-refined .kd-editorial .work-card > figure {border:0;border-radius:0;aspect-ratio:3/2;margin:0;background:var(--paper);}
body.home.hidamari.kd-refined .kd-editorial .work-card figure a {display:block;height:100%;}
body.home.hidamari.kd-refined .kd-editorial .work-card img {display:block;width:100%;height:100%;aspect-ratio:3/2;object-fit:contain;object-position:center;}
body.home.hidamari.kd-refined .kd-editorial .kd-cat-web .work-card img {object-fit:cover;object-position:center top;}
body.home.hidamari.kd-refined .kd-editorial .work-info {padding:24px 0 0;gap:10px;}
body.home.hidamari.kd-refined .kd-editorial .work-name {font-size:18px;font-weight:600;line-height:1.6;}
body.home.hidamari.kd-refined .kd-editorial .work-role {font-size:14px;line-height:1.9;color:var(--gray);}
body.home.hidamari.kd-refined .kd-editorial .work-role a {display:inline-flex;align-items:center;min-height:44px;color:var(--ink);}

/* Plans: preserve the existing comparison rows and recommendation. */
body.home.hidamari.kd-refined .home-plans.kd-editorial {background:var(--paper);}
body.home.hidamari.kd-refined .kd-editorial .plans-wrap {gap:40px;}
body.home.hidamari.kd-refined .kd-editorial .plans-intro h3 {font-size:28px;line-height:1.7;margin-bottom:24px;}
body.home.hidamari.kd-refined .kd-editorial .plans {gap:24px;}
body.home.hidamari.kd-refined .home-plans.kd-editorial .plan {border-radius:4px;--plan-heading-surface:#f0f0ed;background:#fff;box-shadow:none;}
body.home.hidamari.kd-refined .home-plans.kd-editorial .plan h3 {border-radius:3px 3px 0 0;font-weight:600;}
body.home.hidamari.kd-refined .home-plans.kd-editorial .plan--rec {border-color:var(--action)!important;--plan-heading-surface:#ffe0d6;background:var(--accent-soft);}
body.home.hidamari.kd-refined .home-plans.kd-editorial .plan--rec h3 {color:var(--ink);}
body.home.hidamari.kd-refined .home-plans.kd-editorial .plan--rec .for {border-bottom-color:#edb5a3;}
body.home.hidamari.kd-refined .home-plans.kd-editorial .plan .badge {border-radius:3px 0 3px 0;background:var(--action);}
body.home.hidamari.kd-refined .kd-editorial .assure {margin-top:32px;gap:28px;}
body.home.hidamari.kd-refined .kd-editorial .assure-list {gap:12px 24px;}
body.home.hidamari.kd-refined .kd-editorial .assure-list li {background:transparent;border:0;border-radius:0;padding:0 0 0 18px;}

/* Closing invitation: generous reading space and one compact action. */
body.home.hidamari.kd-refined .cta.kd-editorial {padding:120px 0;margin-block:0;gap:80px;align-items:center;}
body.home.hidamari.kd-refined .cta.kd-editorial > .wp-block-column {margin:0;padding:0;border:0;}
body.home.hidamari.kd-refined .cta.kd-editorial h2 {font-family:var(--mincho);font-size:clamp(28px,3vw,40px);font-weight:600;line-height:1.75;letter-spacing:.03em;}
body.home.hidamari.kd-refined .cta.kd-editorial p {font-size:16px;line-height:1.95;color:var(--gray);}
body.home.hidamari.kd-refined .cta.kd-editorial .kd-buttons {margin-top:28px;}
body.home.hidamari.kd-refined .cta.kd-editorial .cta-assurance {font-size:13px;margin-top:18px;}
body.home.hidamari.kd-refined .kd-editorial .btn {background:var(--action);border:1px solid var(--action);color:#fff;border-radius:999px;min-height:48px;box-shadow:none;}
body.home.hidamari.kd-refined .kd-editorial .btn .arw {color:inherit;}
body.home.hidamari.kd-refined .kd-editorial .btn:hover {background:#a92411;border-color:#a92411;color:#fff;}
body.home.hidamari.kd-refined .kd-editorial a:focus-visible {outline:2px solid var(--action);outline-offset:5px;}

@media (max-width:1100px) {
 body.home.hidamari.kd-refined .kd-editorial > .wrap,body.home.hidamari.kd-refined .cta.kd-editorial {width:calc(100% - 64px);}
 body.home.hidamari.kd-refined .kd-editorial .reasons {gap:28px;}
 body.home.hidamari.kd-refined .kd-editorial .reason h3 {font-size:18px;}
 body.home.hidamari.kd-refined .kd-editorial .services--3 .service {padding-inline:24px;}
 body.home.hidamari.kd-refined .kd-editorial .service h3 {font-size:20px;}
 body.home.hidamari.kd-refined .cta.kd-editorial {gap:48px;}
}
@media (min-width:768px) and (max-width:900px) {
 body.home.hidamari.kd-refined .kd-editorial .reasons {gap:24px;}
 body.home.hidamari.kd-refined .kd-editorial .reason h3 {min-height:5.1em;}
 body.home.hidamari.kd-refined .kd-editorial .plans {gap:12px;}
 body.home.hidamari.kd-refined .home-plans.kd-editorial .plan {padding-inline:14px;}
 body.home.hidamari.kd-refined .home-plans.kd-editorial .plan :is(h3,.for) {margin-inline:-14px;padding-inline:12px;}
 body.home.hidamari.kd-refined .home-plans.kd-editorial .plan h3 {font-size:18px;}
 body.home.hidamari.kd-refined .home-plans.kd-editorial .plan .price b {font-size:30px!important;}
 body.home.hidamari.kd-refined .home-plans.kd-editorial .plan .price .tax {display:block;}
}
@media (max-width:767px) {
 body.home.hidamari.kd-refined .kd-editorial > .wrap,body.home.hidamari.kd-refined .cta.kd-editorial {width:calc(100% - 48px);}
 body.home.hidamari.kd-refined .section.kd-editorial {padding:56px 0;}
 body.home.hidamari.kd-refined .reasons-sec.kd-editorial {padding-top:72px;padding-bottom:32px;}
 body.home.hidamari.kd-refined .kd-editorial .sec-head {display:flex;flex-wrap:wrap;gap:10px 16px;padding-top:24px;margin-bottom:32px;}
 body.home.hidamari.kd-refined .kd-editorial .sec-head .kd-buttons {width:100%;margin:8px 0 0;}
 body.home.hidamari.kd-refined .kd-editorial :is(.kd-heading-ja,.reasons-title) {font-size:28px;line-height:1.6;}
 body.home.hidamari.kd-refined .kd-editorial .reasons-title {margin-bottom:36px;}
 body.home.hidamari.kd-refined .kd-editorial .reasons {grid-template-columns:1fr;gap:36px;}
 body.home.hidamari.kd-refined .kd-editorial .reason {padding-top:24px;}
 body.home.hidamari.kd-refined .kd-editorial .reason-tag {margin-bottom:20px;}
 body.home.hidamari.kd-refined .kd-editorial .reason-number {font-size:44px;}
 body.home.hidamari.kd-refined .kd-editorial .reason h3 {min-height:0;font-size:20px;margin-bottom:12px;}
 body.home.hidamari.kd-refined .kd-editorial .services--3 {grid-template-columns:1fr;gap:32px;}
 body.home.hidamari.kd-refined .kd-editorial .services--3 .service {grid-template-columns:56px minmax(0,1fr);gap:20px;padding:0 0 32px;border-left:0;border-bottom:1px solid var(--line);}
 body.home.hidamari.kd-refined .kd-editorial .services--3 .service:last-child {padding-bottom:0;border-bottom:0;}
 body.home.hidamari.kd-refined .kd-editorial .service h3 {font-size:20px;margin-bottom:12px;}
 body.home.hidamari.kd-refined .kd-editorial .works-note {margin:0 0 24px;}
 body.home.hidamari.kd-refined .kd-editorial .works {grid-template-columns:1fr;gap:40px;}
 body.home.hidamari.kd-refined .kd-editorial .work-info {padding-top:20px;}
 body.home.hidamari.kd-refined .kd-editorial .plans {gap:28px;}
 body.home.hidamari.kd-refined .home-plans.kd-editorial .plan {padding-inline:24px;}
 body.home.hidamari.kd-refined .kd-editorial .plans-intro h3 {font-size:26px;}
 body.home.hidamari.kd-refined .cta.kd-editorial {padding-block:72px;gap:32px;}
 body.home.hidamari.kd-refined .cta.kd-editorial h2 {font-size:28px;}
}

/* Keep short Japanese phrases and tax notes together at narrow widths. */
body.home.hidamari.kd-refined .kd-editorial .editorial-phrase {display:inline-block;}
body.home.hidamari.kd-refined .kd-editorial .assure-list li::before {left:0;border-color:var(--action);}
body.home.hidamari.kd-refined .kd-editorial .plan .tax {white-space:nowrap;}
@media (max-width:767px) {
 body.home.hidamari.kd-refined .kd-editorial .services--3 .service {align-items:start;}
 body.home.hidamari.kd-refined .kd-editorial .service .icon {width:56px;height:56px;margin-top:2px;}
}
/* Match the divider in the other pages' closing consultation area. */
@media(min-width:768px){body.home.hidamari.kd-refined .cta--home.kd-editorial > .wp-block-column:last-child {border-left:1px solid var(--line);padding-left:48px;}}
@media(max-width:767px){body.home.hidamari.kd-refined .cta--home.kd-editorial > .wp-block-column:last-child {border-top:1px solid var(--line);padding-top:28px;}}
