/* TORIPE furniture showcase 1.1.0. Both pages share the photo system. */
body.tfs-tokyo-furniture-page .c-pageTitle,
body.tfs-tokyo-furniture-page .entry-header .entry-title,
body.tfs-tokyo-furniture-page .page-header .page-title,
body.tfs-tokyo-furniture-page .vk_pageTitle,
body.tfs-tokyo-furniture-page h1.entry-title,
body.tfs-tokyo-furniture-page h1.page-title{display:none!important}
body.tfs-furniture-page .entry-content,body.tfs-furniture-page .post_content{max-width:none}
.tfs-page,.tfs-page *{box-sizing:border-box}
.tfs-page{--ink:#1d2a30;--sub:#54636b;--line:#d8dfe2;--accent:#294753;--paper:#f6f7f6;max-width:1160px;margin:12px auto 90px;padding:0 17px;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;font-size:15px;line-height:1.8}
.tfs-page :where(h1,h2,h3,p,figure){margin:0!important}
.tfs-page :where(h1,h2,h3){font-weight:750;letter-spacing:-.032em}
.tfs-page a{text-decoration:none}
.tfs-page :where(a,button,summary):focus-visible{outline:3px solid #bb823f;outline-offset:3px}
.tfs-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;border:1px solid var(--line);background:#fff;min-height:370px}
.tfs-hero__copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(28px,4.4vw,60px) clamp(22px,4vw,52px)}
.tfs-hero__copy small{font-size:11px;letter-spacing:.18em;font-weight:850;color:#61777d}
.tfs-hero h1{font-size:clamp(28px,3.5vw,45px);line-height:1.37;color:#20313a;margin:11px 0 20px!important}
.tfs-hero__lead{font-size:14px;color:var(--sub);line-height:1.95}
.tfs-hero__tagline{color:#243844;font-size:14px;font-weight:800;margin-top:22px!important}
.tfs-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;min-height:48px;margin-top:24px;padding:10px 18px;background:#243c47;color:#fff!important;font-size:13px;font-weight:780;letter-spacing:.01em}
.tfs-cta:hover{background:#3a5864;color:#fff!important}
.tfs-hero__photo{min-width:0;display:flex;align-items:center;justify-content:center;background:#f0f2f1;padding:clamp(12px,2vw,26px)}
.tfs-hero__photo .tfs-photo{width:100%;max-width:596px}
.tfs-hero__photo .tfs-photo__open img{height:auto!important;max-height:300px!important;object-fit:contain!important;background:transparent!important}
.tfs-heading{display:flex;flex-direction:column;gap:4px;margin-bottom:18px}
.tfs-heading small{font-size:11px;letter-spacing:.16em;color:#6e8088;font-weight:800}
.tfs-heading h2{color:var(--ink);font-size:clamp(23px,2.8vw,32px);line-height:1.4}
.tfs-gallery{scroll-margin-top:26px;padding:55px 0 42px}
.tfs-count{text-align:right;font-size:12px;color:#74818a;margin:0 0 13px!important}
.tfs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;align-items:stretch}
.tfs-card{min-width:0;background:#fff;border:1px solid var(--line);overflow:hidden}
.tfs-card__photos{display:grid;gap:4px;padding:9px 9px 0}
.tfs-card__photos.is-pair{grid-template-columns:repeat(2,minmax(0,1fr))}
.tfs-card__photos.is-single,.tfs-card__photos.is-comparison{grid-template-columns:1fr}
.tfs-photo{min-width:0;background:#f0f3f3}
.tfs-photo figcaption{padding:7px 10px;font-size:10px;font-weight:800;letter-spacing:.12em;color:#4b5f66;background:#eef2f3}
.tfs-page button.tfs-photo__open{position:relative!important;display:block!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;appearance:none!important;box-shadow:none!important;text-align:left!important;cursor:zoom-in;overflow:hidden}
.tfs-page button.tfs-photo__open:hover,.tfs-page button.tfs-photo__open:focus{background:transparent!important}
.tfs-photo__open img{display:block!important;width:100%!important;height:245px!important;object-fit:contain!important;margin:0!important;pointer-events:none;background:#f5f7f7}
.tfs-card__photos.is-comparison .tfs-photo__open img{height:245px!important}
.tfs-photo__zoom{position:absolute;bottom:8px;right:8px;padding:4px 10px;background:rgba(32,56,68,.85);color:white;font-size:11px;font-weight:800;line-height:1.6}
.tfs-card__body{padding:14px 18px 18px}
.tfs-card h3{font-size:17px;line-height:1.58;color:#273941;overflow-wrap:anywhere}
.tfs-card__details{border-top:1px solid #e5e9eb;margin-top:13px;padding-top:12px}
.tfs-card__details summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;font-size:12px;font-weight:800;color:#304b58}
.tfs-card__details summary::after{content:'＋';font-size:18px}
.tfs-card__details[open] summary::after{content:'−'}
.tfs-card__record{margin:14px 0!important;padding:13px 14px;background:#f5f7f7;border-left:3px solid #76909a;font-size:12px;line-height:1.85}
.tfs-card__record strong{display:block;margin-bottom:5px}
.tfs-card__details dl{background:#f7f8f8;margin:12px 0;padding:11px 12px;font-size:12px}
.tfs-card__details dl div{display:grid;grid-template-columns:98px minmax(0,1fr);gap:7px}
.tfs-card__details dt{color:#67757d;font-weight:750}
.tfs-card__details dd{margin:0;overflow-wrap:anywhere}
.tfs-card__consult{display:inline-block;font-size:12px;font-weight:800;color:#2b596b!important;text-decoration:underline!important;text-underline-offset:3px}
.tfs-more{display:flex;justify-content:center;margin:22px 0 0}
.tfs-more__link{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;min-height:46px;padding:11px 22px;background:#243c47;color:#fff!important;font-weight:800;font-size:13px}
.tfs-more__link span{font-size:20px;line-height:1}
.tfs-gallery[aria-busy=true] .tfs-more__link{pointer-events:none;opacity:.6}
.tfs-pages{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin:25px 0}
.tfs-pages a,.tfs-pages span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;border:1px solid #d3dfe2;padding:6px 10px;color:#27434e;background:white;font-size:13px}
.tfs-pages .is-current{color:#fff;background:#27414a}
.tfs-contact{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:35px 38px;background:#1d323b;color:#fff}
.tfs-contact small{font-size:11px;letter-spacing:.16em;color:#b6c9d0;font-weight:800}
.tfs-contact h2{font-size:clamp(22px,2.4vw,30px);color:#fff;line-height:1.4;margin:5px 0 10px!important}
.tfs-contact p{color:#d5dfe2;font-size:13px;line-height:1.85}
.tfs-contact .tfs-cta{flex:0 0 auto;min-width:210px;margin:0;background:white;color:#18303a!important}
.tfs-contact .tfs-cta:hover{background:#edf2f3;color:#18303a!important}
@media(max-width:780px){.tfs-hero{grid-template-columns:1fr}.tfs-hero__photo{min-height:200px}.tfs-contact{flex-direction:column;align-items:flex-start}.tfs-contact .tfs-cta{width:100%}}
@media(max-width:680px){
 .tfs-page{padding:0 12px;margin:10px auto 60px}
 .tfs-hero__copy{padding:30px 22px}
 .tfs-hero h1{font-size:30px}
 .tfs-gallery{padding-top:38px}
 .tfs-grid{grid-template-columns:1fr;gap:14px}
 .tfs-photo__open img,.tfs-card__photos.is-comparison .tfs-photo__open img{height:230px!important}
 .tfs-hero__photo .tfs-photo__open img{max-height:260px!important;height:auto!important}
 .tfs-card__body{padding:14px 16px 16px}
 .tfs-contact{padding:28px 20px}
 .tfs-cta{width:100%;justify-content:center}
}
@media(prefers-reduced-motion:reduce){.tfs-page *{scroll-behavior:auto}}
body.tfs-furniture-page .c-pageTitle,
body.tfs-furniture-page .entry-header .entry-title,
body.tfs-furniture-page .page-header .page-title,
body.tfs-furniture-page .vk_pageTitle,
body.tfs-furniture-page h1.entry-title,
body.tfs-furniture-page h1.page-title{display:none!important}

/* Tokyo landing page: same card/photo technology, regional intro and inquiry only. */
.tfs-tokyo-breadcrumb{display:flex;gap:10px;align-items:center;margin:0 0 14px;color:#62717b;font-size:12px}
.tfs-tokyo-breadcrumb a{text-decoration:underline!important;text-underline-offset:3px;color:#285569!important}
.tfs-tokyo-hero-note{font-size:11px!important;color:#6e7c83!important;margin-top:12px!important;line-height:1.8}
.tfs-tokyo-gallery-note{font-size:11px!important;color:#657680!important;margin-top:20px!important}
body.tfs-tokyo-furniture-page .entry-content,body.tfs-tokyo-furniture-page .post_content{max-width:none}
body.tfs-tokyo-furniture-page .tfs-page{margin-top:15px}
