/* Closed volumes recall gilt-tooled bindings; open pages retain their reading styles. */
.dream-home .contents-masthead{display:flex;align-items:center;gap:20px;margin-bottom:22px;padding:0 0 20px;border-bottom:3px double #a48657}
.dream-home .contents-seal{display:block;flex:0 0 76px;width:76px;height:86px;object-fit:contain;filter:drop-shadow(0 4px 3px #3d2c2426)}
.dream-home .contents-masthead h2{margin:5px 0 0;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(27px,3vw,36px);letter-spacing:.1em;line-height:1.5}
.dream-home .contents-edition{margin:0;color:#82623c;font:11px/1.6 Georgia,"Times New Roman",serif;letter-spacing:.19em}
.dream-home .toc-spirit{display:none}
.dream-home .toc-group:not([open]){
 --binding:#452b25;--binding-light:#64483b;
 padding:0;border:1px solid #3a2a1d;border-left-width:1px;border-radius:3px;
 background:var(--binding)!important;
 box-shadow:0 3px 0 #b4a084,0 6px 10px #3623141c;
}
.dream-home .toc-group:nth-child(4n+2):not([open]){--binding:#293e34;--binding-light:#48604b}
.dream-home .toc-group:nth-child(4n+3):not([open]){--binding:#273840;--binding-light:#40565d}
.dream-home .toc-group:nth-child(4n+4):not([open]){--binding:#4b2b31;--binding-light:#69444a}
.dream-home .toc-group:not([open])>summary{
 position:relative;isolation:isolate;display:grid;
 grid-template-columns:62px 48px minmax(0,1fr) 86px 66px 28px;
 grid-template-areas:"volume symbol heading spirit count toggle";
 align-items:center;gap:18px;min-height:150px;padding:29px 32px;
 color:#f1d9a8;
 background:
  linear-gradient(90deg,#100b093b,transparent 20px,transparent calc(100% - 16px),#100b0955),
  repeating-linear-gradient(12deg,#fff2d403 0 1px,transparent 1px 4px),
  radial-gradient(ellipse at 45% 0,#fff2d413,transparent 75%),
  linear-gradient(180deg,var(--binding-light),var(--binding) 25%,var(--binding) 80%,#100b092e);
}
.dream-home .toc-group:not([open])>summary:before{
 content:"";position:absolute;inset:8px;z-index:-1;
 border:3px double #d3aa6b94;border-radius:1px;pointer-events:none;
 box-shadow:inset 0 0 0 3px #160d092b,0 0 0 1px #160d094d;
}
.dream-home .toc-group:not([open])>summary:after{
 grid-area:toggle;display:grid;place-items:center;width:28px;height:28px;margin:0;
 border:1px solid #d2ae736e;border-radius:50%;color:#f0d5a1;font:19px/1 Georgia,serif;content:"+";
}
.dream-home .toc-group:not([open]) .toc-volume{
 grid-area:volume;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
 align-self:center;min-height:62px;margin:0;padding:7px 4px;
 border:3px double #d0aa6b9c;color:#f1d7a4;background:#100a0929;
 font:600 11px/1.4 "Yu Mincho","Hiragino Mincho ProN",serif;text-shadow:0 1px 1px #130c09;
}
.dream-home .toc-group:not([open]) .toc-volume:before{content:"VOL.";font:9px/1.2 Georgia,serif;letter-spacing:.12em;color:#cfac74}
.dream-home .toc-group:not([open]) .toc-icon{
 grid-area:symbol;display:grid;place-items:center;width:46px;height:46px;border:1px solid #cfa9697a;
 outline:1px solid #cfa96933;outline-offset:4px;background:#160c0a24;color:#dfbb7e;
 font-size:24px;text-shadow:0 1px 1px #120d09;
}
.dream-home .toc-group:not([open]) .toc-heading{grid-area:heading;gap:5px;padding:0;min-width:0}
.dream-home .toc-group:not([open]) .toc-title{
 color:#f8e7be;font:600 clamp(18px,1.8vw,25px)/1.55 "Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
 font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif!important;
 letter-spacing:.045em;text-shadow:0 1px 2px #110b09;
}
.dream-home .toc-group:not([open]) .toc-en{color:#d8b680;font:10px/1.5 Georgia,"Times New Roman",serif;font-family:Georgia,"Times New Roman",serif!important;letter-spacing:.17em}
.dream-home .toc-group:not([open]) .toc-blurb{margin-top:3px;color:#e0cfaf;font-size:12px;line-height:1.75}
.dream-home .toc-group:not([open]) .toc-spirit{
 grid-area:spirit;display:block;width:86px;height:86px;margin:0;object-fit:contain;
 filter:drop-shadow(1px 4px 3px #100a0966);transform:rotate(-6deg);
}
.dream-home .toc-group:nth-child(even):not([open]) .toc-spirit{transform:rotate(6deg)}
.dream-home .toc-group:not([open]) .toc-count{grid-area:count;margin:0;color:#ecd09a;font:12px/1.5 "Yu Mincho","Hiragino Mincho ProN",serif;text-align:center}
.dream-home .toc-group:not([open])>summary:hover{box-shadow:inset 0 0 24px #f9db9721}
.dream-home .toc-group:not([open])>summary:focus-visible{outline:3px solid #367c8d!important;outline-offset:5px}
@media(max-width:900px) and (min-width:681px){
 .dream-home .toc-group:not([open])>summary{grid-template-columns:52px minmax(0,1fr) 66px 56px 26px;grid-template-areas:"volume heading spirit count toggle";gap:14px;padding:27px 26px}
 .dream-home .toc-group:not([open]) .toc-icon{display:none}
 .dream-home .toc-group:not([open]) .toc-spirit{width:66px;height:74px}
}
@media(max-width:680px){
 .dream-home .contents-masthead{gap:9px;margin-bottom:18px;padding-bottom:15px}
 .dream-home .contents-seal{flex-basis:60px;width:60px;height:68px}
 .dream-home .contents-masthead h2{font-size:27px;letter-spacing:.04em}
 .dream-home .contents-edition{font-size:8px;letter-spacing:.11em}
 .dream-home .toc-group:not([open])>summary{
  grid-template-columns:34px minmax(0,1fr) 40px 22px;
  grid-template-areas:"volume heading spirit toggle" "volume count spirit toggle";
  gap:7px 9px;min-height:134px;padding:24px 17px;
 }
 .dream-home .toc-group:not([open])>summary:before{inset:5px;border-width:3px}
 .dream-home .toc-group:not([open]) .toc-volume{display:flex;min-height:50px;padding:7px 1px;font-size:9px;border-width:1px;gap:5px}
 .dream-home .toc-group:not([open]) .toc-volume:before{font-size:7px}
 .dream-home .toc-group:not([open]) .toc-icon{display:none}
 .dream-home .toc-group:not([open]) .toc-heading{gap:5px;align-self:end}
 .dream-home .toc-group:not([open]) .toc-title{font-size:16px;line-height:1.65;letter-spacing:.025em;overflow-wrap:anywhere}
 .dream-home .toc-group:not([open]) .toc-en{font-size:8px;line-height:1.6;letter-spacing:.08em;overflow-wrap:anywhere}
 .dream-home .toc-group:not([open]) .toc-blurb{display:none}
 .dream-home .toc-group:not([open]) .toc-spirit{width:48px;height:62px;max-width:none;justify-self:center}
 .dream-home .toc-group:not([open]) .toc-count{text-align:left;font-size:10px;align-self:start}
 .dream-home .toc-group:not([open])>summary:after{width:22px;height:22px;font-size:16px}
}
@media(max-width:360px){
 .dream-home .toc-group:not([open])>summary{grid-template-columns:30px minmax(0,1fr) 34px 20px;column-gap:7px;padding:23px 13px}
 .dream-home .toc-group:not([open]) .toc-title{font-size:14px}
 .dream-home .toc-group:nth-child(n):not([open]) .toc-spirit{width:34px;height:52px;transform:none}
 .dream-home .toc-group:not([open])>summary:after{width:20px;height:20px}
}
