/* Homepage and shared brand framing. Search, detail and ROOM controls are unchanged. */
body:has(.home-discovery){background:#fff}
.home-discovery{--home-ink:#141414;--home-muted:#646464;--home-line:#dedede;--home-radius:8px;max-width:1760px;margin:auto;padding:0 4vw 72px;color:var(--home-ink)}
.home-discovery :is(h1,h2,h3){font-family:inherit;letter-spacing:-.045em}
.home-discovery h2{font-size:clamp(26px,3vw,42px);font-weight:800;line-height:1.35;margin:10px 0 0}
.home-discovery .eyebrow{display:block;color:var(--home-muted);font-size:11px;font-weight:700;line-height:1.5;letter-spacing:.15em;text-transform:uppercase}
.home-discovery :is(button,a):focus-visible{outline:2px solid #254cdb;outline-offset:5px}
.home-link-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:18px;height:18px}
.home-link-icon svg{display:block;width:100%;height:100%}
.home-button{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:48px;padding:12px 24px;border:1px solid #141414;border-radius:8px;background:#141414;color:#fff;font-family:inherit;font-size:14px;font-weight:700;line-height:1.5;cursor:pointer;text-decoration:none}
.home-button:hover{background:#333}.home-button[hidden]{display:none}
.home-text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:8px 0;border:0;border-bottom:1px solid var(--home-line);border-radius:0;background:none;color:inherit;font-family:inherit;font-size:13px;font-weight:600;text-decoration:none;cursor:pointer;max-width:100%}
.home-text-link:hover{border-bottom-color:currentColor}
.home-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;padding:48px 0 40px;border-bottom:1px solid var(--home-line)}
.home-intro-copy h1{max-width:none;font-size:clamp(34px,4.5vw,68px);font-weight:850;line-height:1.25;letter-spacing:-.055em;margin:12px 0 0}
.home-intro-aside{flex-shrink:0;padding-bottom:4px}.home-intro-aside p{margin:0 0 12px;font-size:14px;line-height:1.9;color:var(--home-muted)}
.home-block{margin-top:64px}.home-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:28px}.home-heading>div{min-width:0}
.home-recommended{margin-top:36px}.home-new{margin-top:52px;padding-top:32px;border-top:1px solid var(--home-line)}
.home-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 22px}
.home-work-grid .art-card{min-width:0;margin:0;align-self:start}
.home-work-grid .art-wrap{aspect-ratio:1;border-radius:8px;background:#fff;border:1px solid #ededed}
.home-work-grid .art-card-image-link{display:block;width:100%;height:100%;background:#fff}
.home-work-grid .art-thumb{display:block;object-fit:contain;filter:none;padding:12px;background:#fff}
.home-work-grid .art-card:hover .art{transform:none}
.home-work-grid .card-meta{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:14px 0 0;text-align:left}
.home-work-grid .card-meta strong{order:0;font-size:15px;line-height:1.6;font-weight:700;overflow-wrap:anywhere}
.home-work-grid .card-artist-link{order:1;font-size:12px;line-height:1.7;overflow-wrap:anywhere;text-align:left}
.home-work-grid .card-meta .price{order:2;float:none;display:block;font-size:14px;font-weight:600;margin:5px 0 0;color:#141414}
.home-work-grid .art-size{display:none}.home-work-grid .save{width:44px;height:44px;border-radius:8px;top:6px;right:6px}
.home-more-row{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:20px}
.home-more-row>span{font-size:12px;color:var(--home-muted)}
.home-work-more{min-width:160px;min-height:44px;padding:9px 20px;background:#fff;color:#141414}.home-work-more:hover{background:#f4f4f4}
.home-block.is-empty{display:grid;grid-template-columns:minmax(200px,.6fr) 1fr;align-items:center;gap:24px}
.home-block.is-empty .home-heading{margin:0}
.home-catalog-empty{padding:16px 0}.home-catalog-empty strong{font-size:14px;font-weight:500;line-height:1.8}.home-catalog-empty p{font-size:13px;line-height:1.8;color:var(--home-muted);margin:6px 0 0}
.home-discover{display:grid;grid-template-columns:1fr 1.25fr;gap:5vw;align-items:center;margin-top:64px;padding-top:48px;border-top:1px solid var(--home-line);scroll-margin-top:104px}
.home-lifestyle-copy h2{font-size:clamp(30px,3.8vw,54px)}.home-lifestyle-copy p{font-size:14px;color:var(--home-muted);line-height:1.9;margin:22px 0}
.home-lifestyle-image,.home-room-image{margin:0;min-width:0}
.home-lifestyle-image img{display:block;width:100%;height:auto;aspect-ratio:1.35;object-fit:cover;border-radius:12px}
.home-image-note{display:block;margin:8px 0 0;padding:0;font-size:11px;line-height:1.6;color:var(--home-muted);background:none}
.home-room-links{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:18px}.home-room-links a{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:inherit;text-underline-offset:5px}
.home-quiz{margin:56px 0 0;padding:40px 48px;background:#fff;color:#141414;border:2px solid #244cdb;border-radius:12px;box-shadow:0 14px 36px rgba(36,76,219,.08);overflow:hidden}
.home-quiz-inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);align-items:center;gap:28px;min-height:320px}
.home-quiz-copy{position:relative;z-index:2;min-width:0}
.home-quiz .eyebrow{color:#244cdb;font-size:13px;letter-spacing:.08em}.home-quiz h2{font-size:clamp(32px,3.5vw,52px);line-height:1.25;margin-top:20px}.home-quiz p{color:#343434;font-size:15px;line-height:1.8;margin:22px 0 0;max-width:42em}
.home-quiz .home-button{margin-top:26px;background:#244cdb;border-color:#244cdb;color:#fff}.home-quiz .home-button:hover{background:#163bbd;border-color:#163bbd}
.home-quiz-visual{position:relative;width:min(100%,430px);height:278px;margin-left:auto}
.home-quiz-tile{position:absolute;top:12%;width:51%;height:76%;box-sizing:border-box;padding:19px;border-radius:17px;box-shadow:0 14px 24px rgba(23,30,50,.14);overflow:hidden}
.home-quiz-tile strong{position:relative;z-index:1;display:block;font-size:26px;line-height:1.3;font-weight:800;letter-spacing:-.04em}
.home-quiz-tile-color{left:0;background:#244cdb;color:#fff;transform:rotate(-7deg);z-index:1}
.home-quiz-tile-shape{left:25%;background:#e5ff87;color:#141414;transform:rotate(-2deg);z-index:2}
.home-quiz-tile-room{right:0;background:#f9d8ca;color:#141414;transform:rotate(6deg);z-index:3}
.home-quiz-swatches{display:grid;gap:9px;margin-top:28px}.home-quiz-swatches i{display:block;height:27px;border-radius:6px;background:#ff8166}.home-quiz-swatches i:nth-child(2){background:#ffe68a}.home-quiz-swatches i:nth-child(3){background:#b2a8ee}
.home-quiz-shapes{position:relative;height:145px}.home-quiz-shapes i{position:absolute;display:block;border-radius:50%}.home-quiz-shapes i:first-child{width:88px;height:88px;top:10px;left:35%;background:#244cdb}.home-quiz-shapes i:nth-child(2){width:38px;height:38px;top:95px;left:10%;background:#fff}.home-quiz-shapes i:nth-child(3){width:70px;height:36px;top:99px;left:55%;border-radius:70px 70px 0 0;background:#35644a}
.home-quiz-floorplan{position:relative;height:140px;margin-top:12px;border:3px solid #141414;border-radius:4px;background:#fff9f3}.home-quiz-rug{position:absolute;left:34%;top:20%;width:38%;height:35%;border:2px solid #141414;background:#f3ece0}.home-quiz-sofa{position:absolute;left:23%;bottom:8%;width:58%;height:22%;border:3px solid #141414;border-radius:5px}.home-quiz-plant{position:absolute;right:6%;top:9%;width:26px;height:26px;border-radius:50%;background:#438455;box-shadow:-12px 8px 0 #438455,11px 9px 0 #438455}
.home-journal-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:28px 36px}
.home-journal-card{display:grid;grid-template-columns:38% 1fr;gap:20px;color:inherit;text-decoration:none;min-width:0;align-items:start}
.home-journal-card:first-child{grid-column:1;grid-row:span 2;display:block}
.home-journal-card>img{width:100%;height:auto;aspect-ratio:1.1;object-fit:cover;display:block;border-radius:10px;background:#f4f4f4}
.home-journal-card:first-child>img{aspect-ratio:1.8;border-radius:12px}
.home-journal-card:first-child>div{padding-top:20px}
/* Match category badges in the journal index and article pages. */
.home-category{display:inline-block;justify-self:start;width:fit-content;max-width:100%;padding:5px 10px;border:1px solid var(--category-border,#d8d5cc);border-radius:999px;background:var(--category-bg,#f2efe8);color:var(--category-color,#625a4b);font-size:.72rem;font-weight:700;line-height:1.5;letter-spacing:.02em}
.home-category[data-category="インテリア・飾り方"]{--category-bg:#edf3eb;--category-border:#cddbc9;--category-color:#416247}
.home-category[data-category="選び方・購入"]{--category-bg:#f8ebe5;--category-border:#e5c9bc;--category-color:#9b4e39}
.home-category[data-category="額装・設置・お手入れ"]{--category-bg:#eaf0f2;--category-border:#cbd7dc;--category-color:#4b626c}
.home-category[data-category="アート入門"]{--category-bg:#f4eee3;--category-border:#dfd1b9;--category-color:#7b6040}
.home-category[data-category="暮らし・ギフト"]{--category-bg:#f1eaf0;--category-border:#ded0dc;--category-color:#73576f}
.home-journal-card h3{font-size:19px;font-weight:750;line-height:1.6;margin:8px 0}.home-journal-card:first-child h3{font-size:clamp(22px,2.2vw,30px)}
.home-journal-card p{font-size:13px;line-height:1.9;color:var(--home-muted);margin:0}.home-read{display:inline-flex;align-items:center;gap:12px;font-size:12px;margin-top:14px}
.home-editorial-status{min-height:120px;font-size:14px;color:var(--home-muted)}
.home-room-feature{display:grid;grid-template-columns:1.25fr 1fr;gap:5vw;align-items:center;margin-top:72px;padding-top:56px;border-top:1px solid var(--home-line)}
.home-room-image>img{display:block;width:100%;height:auto;border-radius:12px}.home-room-copy h2 span{display:block}
.home-room-copy>p{font-size:14px;line-height:1.9;color:var(--home-muted);margin:20px 0}
.home-section-note{font-size:13px;color:var(--home-muted)}.home-creator-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.home-creator{min-width:0;border:0;border-top:1px solid var(--home-line);background:none;padding:20px 0;display:flex;align-items:center;gap:14px;text-align:left;cursor:pointer}
.home-creator img{width:64px;height:64px;flex-shrink:0;object-fit:contain;background:#fff;border-radius:8px}.home-creator>span{min-width:0}.home-creator strong{display:block;font-size:15px;overflow-wrap:anywhere}.home-creator small{display:block;font-size:11px;line-height:1.7;color:var(--home-muted);margin-top:6px}
.home-closing{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:72px;padding:32px 0 0;border-top:1px solid var(--home-line)}.home-closing p{font-size:clamp(19px,2vw,28px);font-weight:750;line-height:1.6;margin:0}
.home-more{margin-top:72px;padding:42px 0;border-top:1px solid var(--home-line);border-bottom:1px solid var(--home-line)}
.home-more-heading h2{font-size:clamp(27px,3vw,40px);letter-spacing:-.045em;margin:8px 0 28px}
.home-more-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.home-more-options>div{min-width:0;padding:24px;border:1px solid var(--home-line);border-radius:var(--home-radius);background:#f8f8f7}
.home-more-options h3{font-size:18px;letter-spacing:-.03em;margin:0 0 10px}
.home-more-options p{color:var(--home-muted);font-size:13px;line-height:1.9;margin:0 0 12px}
.home-more-options .home-text-link[data-home-auth]{justify-content:space-between;gap:12px;min-height:48px;padding:12px 18px;border:1px solid #141414;border-radius:8px;background:#141414;color:#fff;font-size:13px;font-weight:700;line-height:1.5}
.home-more-options .home-text-link[data-home-auth]:hover{background:#333}
.home-more-actions{display:flex;flex-wrap:wrap;gap:10px}
.home-more-detail{display:block;width:max-content;max-width:100%;margin-top:12px;color:var(--home-muted);font-size:12px;text-decoration:underline;text-underline-offset:4px}
.topbar{background:rgba(255,255,255,.97);border-bottom-color:#dedede}
.topbar nav button,.topbar nav .journal-link,.topbar nav .lifestyle-nav-link{border-radius:8px}
.site-footer{display:grid;grid-template-columns:1fr;gap:16px;background:#fff;color:#141414;border-top:1px solid #dedede;padding:28px 4vw 40px}
.site-footer>div{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid #dedede}
.site-footer>div b{font-size:48px;font-weight:900;letter-spacing:-.06em;line-height:.85}
.site-footer>div span{color:#141414;font-size:12px;font-weight:600;line-height:1.6;border-left:3px solid #254cdb;padding-left:10px}
.site-footer nav{justify-content:flex-start;gap:4px 18px}.site-footer button,.site-footer .journal-footer-link{color:#444;min-height:36px;padding:6px 0;font-size:11px;line-height:1.4}
@media(min-width:1100px){.home-work-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1500px){.home-work-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:801px){body:has(.home-discovery) .topbar{height:88px;padding-inline:4vw}}
@media(max-width:1050px) and (min-width:801px){.topbar nav{gap:0}.topbar nav button,.topbar nav .journal-link,.topbar nav .lifestyle-nav-link{padding-inline:8px;font-size:13px}.home-intro-aside{max-width:220px}.home-journal-card{display:block}.home-journal-card>div{padding-top:12px}.home-quiz{padding:34px}.home-quiz-visual{height:240px}.home-quiz-tile{padding:14px}.home-quiz-tile strong{font-size:22px}}
@media(max-width:800px){
 .home-discovery{padding:0 20px 40px}.home-discovery .eyebrow{font-size:10px}.home-discovery h2{font-size:26px}
 .home-intro{display:block;padding:28px 0}.home-intro-copy h1{font-size:clamp(28px,8.4vw,44px);line-height:1.3;margin-top:10px}
 .home-recommended h2,.home-new h2{font-size:22px;line-height:1.4}
 .home-intro-aside{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:20px;padding:0}.home-intro-aside p{font-size:12px;margin:0}.home-intro-aside .home-text-link{font-size:11px;gap:7px}
 .home-block{margin-top:40px}.home-recommended{margin-top:28px}.home-heading{gap:10px;margin-bottom:20px}.home-text-link{font-size:12px;gap:8px}.home-heading .home-text-link{flex-shrink:0}
 .home-work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}.home-work-grid .art-thumb{padding:8px}.home-work-grid .card-meta{padding-top:10px;gap:2px}.home-work-grid .card-meta strong{font-size:13px}.home-work-grid .card-artist-link{font-size:11px}.home-work-grid .card-meta .price{font-size:13px}
 .home-new{margin-top:32px;padding-top:24px}.home-block.is-empty{display:block}.home-block.is-empty .home-heading{margin-bottom:12px}.home-catalog-empty{padding:0}.home-catalog-empty strong{font-size:13px}.home-catalog-empty p{font-size:12px}
 .home-discover{grid-template-columns:1fr;gap:24px;margin-top:40px;padding-top:32px;scroll-margin-top:80px}.home-lifestyle-copy h2{font-size:32px}.home-lifestyle-copy p{font-size:13px;margin:16px 0}.home-lifestyle-image img{aspect-ratio:1.45}.home-room-links{gap:2px 16px;margin-top:12px}
 .home-quiz{margin-top:36px;padding:28px 24px}.home-quiz-inner{grid-template-columns:1fr;gap:18px;min-height:0}.home-quiz .eyebrow{font-size:11px}.home-quiz h2{font-size:clamp(30px,8vw,40px);margin-top:14px}.home-quiz p{font-size:13px;margin-top:14px}.home-quiz .home-button{width:100%;margin-top:20px;padding-inline:12px;font-size:13px}.home-quiz-visual{width:min(100%,350px);height:220px;margin:0 auto}.home-quiz-tile{padding:13px;border-radius:13px}.home-quiz-tile strong{font-size:20px}.home-quiz-swatches{margin-top:18px;gap:6px}.home-quiz-swatches i{height:20px}.home-quiz-shapes{transform:scale(.75);transform-origin:top left}.home-quiz-floorplan{height:105px}.home-quiz-plant{transform:scale(.7);transform-origin:top right}
 .home-journal-grid{grid-template-columns:1fr;gap:28px}.home-journal-card:first-child{grid-column:auto;grid-row:auto}.home-journal-card{grid-template-columns:34% 1fr;gap:14px}.home-journal-card h3{font-size:15px;margin:6px 0}.home-journal-card:first-child h3{font-size:23px}.home-journal-card p{font-size:12px}.home-journal-card:not(:first-child) p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .home-room-feature{grid-template-columns:1fr;gap:24px;margin-top:40px;padding-top:32px}.home-room-copy>p{font-size:13px}.home-image-note{font-size:10px}
 .home-creator-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.home-creator{gap:8px}.home-creator img{width:44px;height:44px}.home-creator strong{font-size:12px}
 .home-more{margin-top:40px;padding:32px 0}.home-more-heading h2{font-size:26px;margin-bottom:24px}.home-more-options{grid-template-columns:1fr;gap:16px}.home-more-options>div{padding:20px}.home-more-options h3{font-size:16px}.home-more-options p{font-size:12px}.home-more-actions{display:grid;grid-template-columns:1fr 1fr}.home-more-options .home-text-link[data-home-auth]{width:100%;padding-inline:12px;font-size:12px}
 .home-closing{display:block;margin-top:40px;padding-top:28px}.home-closing p{font-size:19px;margin-bottom:12px}
 .site-footer{padding:24px 20px calc(78px + env(safe-area-inset-bottom,0px));gap:12px}.site-footer>div{display:block;padding-bottom:16px}.site-footer>div b{display:block;font-size:36px;line-height:1}.site-footer>div span{display:block;font-size:12px;margin-top:12px}.site-footer nav{gap:0 14px}
 .journal-mobile-link{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:3px;min-height:44px;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap}.journal-mobile-link .journal-mobile-en{font-family:Arial,Helvetica,sans-serif;font-size:10px;font-weight:400;letter-spacing:.06em;line-height:1.3;color:#646464}
 .mobile-nav{height:calc(58px + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
 .mobile-nav button{flex:1;min-width:44px;min-height:48px;padding:4px 2px;gap:3px;align-content:center;border-radius:0;touch-action:manipulation}
 .mobile-nav svg{display:block;width:22px;height:22px}.mobile-nav span{font-size:11px;line-height:1.3;white-space:nowrap}.mobile-nav button[aria-current="page"]{color:#254cdb;font-weight:750}.mobile-nav button[aria-current="page"] svg{stroke-width:2.1}
}
@media(max-width:374px){.home-discovery{padding-inline:16px}.home-intro-aside{align-items:flex-start;flex-direction:column;gap:8px}.home-heading{align-items:flex-start;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.home-discovery{animation:none}}
