/* TORIPE TOKYO / ENTRANCE DOOR 1.0.4. Scoped to the one generated page. */
body.ttd-door-page .c-pageTitle,
body.ttd-door-page .entry-header .entry-title,
body.ttd-door-page .page-header .page-title,
body.ttd-door-page .vk_pageTitle,
body.ttd-door-page h1.entry-title,
body.ttd-door-page h1.page-title{display:none!important}
body.ttd-door-page .entry-content,body.ttd-door-page .post_content{max-width:none}
.ttd-page,.ttd-page *,.ttd-mobile-cta,.ttd-mobile-cta *{box-sizing:border-box}
.ttd-page{--ttd-ink:#142932;--ttd-muted:#63737c;--ttd-line:#d9e2e5;--ttd-dark:#172d38;max-width:1220px;margin:0 auto 76px;padding:0 18px;color:var(--ttd-ink);font:15px/1.8 -apple-system,BlinkMacSystemFont,"Noto Sans JP","Yu Gothic",Meiryo,sans-serif}
.ttd-page :where(h1,h2,h3,p,figure){margin:0!important}
.ttd-page :where(h1,h2,h3){font-weight:750;letter-spacing:-.025em}
.ttd-page a{text-decoration:none}
.ttd-page :where(a,button,summary):focus-visible,.ttd-mobile-cta a:focus-visible{outline:3px solid #d59938;outline-offset:3px}
.ttd-breadcrumb{display:flex;gap:10px;align-items:center;margin:13px 0 16px;color:#63747d;font-size:12px;line-height:1.5}
.ttd-breadcrumb a{color:#305668;text-decoration:underline;text-underline-offset:3px}
.ttd-hero{background:var(--ttd-dark);color:#f9fbfc;padding:clamp(26px,4vw,51px) clamp(20px,5.3vw,68px);border:1px solid #23404e}
.ttd-eyebrow{display:flex;align-items:center;gap:12px;color:#d1dee3;font-size:11px;font-weight:800;letter-spacing:.13em}
.ttd-eyebrow span{padding-left:12px;border-left:1px solid #8ba0ab}
.ttd-hero h1{font-size:clamp(31px,4vw,48px);line-height:1.32;color:#fff;margin:13px 0 15px!important}
.ttd-hero>p{font-size:14px;line-height:1.9;color:#dbe4e8;max-width:66em}
.ttd-hero .ttd-hero__note{font-size:11px;margin-top:17px!important;color:#b9cbd2}
.ttd-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.ttd-button{min-height:48px;display:inline-flex;align-items:center;justify-content:space-between;gap:20px;padding:11px 19px;border:1px solid transparent;font-size:13px;font-weight:800;line-height:1.5;text-decoration:none!important}
.ttd-button--primary{background:#f7fafb;color:#17313e!important;border-color:#f7fafb}
.ttd-button--primary:hover{background:#e2ebee}
.ttd-button--secondary{background:transparent;border-color:#a4b5bd;color:#fff!important}
.ttd-button--secondary:hover{background:#294550}
.ttd-gallery{scroll-margin-top:32px;padding:clamp(33px,4.6vw,54px) 0 40px}
.ttd-heading{margin-bottom:20px}
.ttd-heading small{display:block;color:#507184;font-size:11px;font-weight:850;letter-spacing:.17em;margin:0 0 6px}
.ttd-heading h2{font-size:clamp(24px,3vw,34px);line-height:1.43;color:var(--ttd-ink);margin:0!important}
.ttd-filter{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.ttd-filter a{display:inline-flex;align-items:center;gap:5px;min-height:42px;padding:9px 13px;border:1px solid #b8cad3;background:#fff;color:#1c3b4a!important;font-size:12px;font-weight:750;line-height:1.5}
.ttd-filter a span{color:#667d87;font-size:10px}
.ttd-filter a.is-active,.ttd-filter a[aria-current="page"]{background:#173642;border-color:#173642;color:#fff!important}
.ttd-filter a.is-active span,.ttd-filter a[aria-current="page"] span{color:#d5e0e5}
.ttd-filter__result{color:#6a7b83;text-align:right;font-size:12px;margin:0 0 13px!important}
.ttd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.ttd-gallery .ttd-grid>.ttd-card{grid-column:auto;min-width:0}
.ttd-card{min-width:0;border:1px solid var(--ttd-line);background:#fff;overflow:hidden}
.ttd-card[hidden]{display:none!important}
.ttd-card__photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:9px 9px 0}
.ttd-card__photos.is-single{grid-template-columns:1fr}
.ttd-photo{background:#eff3f4;min-width:0;position:relative}
.ttd-photo figcaption{display:block;background:#eaf0f2;color:#425762;font-size:11px;font-weight:800;letter-spacing:.14em;padding:7px 10px}
.ttd-page .ttd-photo__open{display:block!important;width:100%!important;min-height:0!important;position:relative!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;appearance:none!important;background:transparent!important;color:inherit!important;text-align:left!important;line-height:normal!important;box-shadow:none!important;overflow:hidden;cursor:zoom-in}
.ttd-page .ttd-photo__open:focus-visible{outline:3px solid #bf782d!important;outline-offset:-3px!important}
.ttd-page .ttd-photo__open:hover,.ttd-page .ttd-photo__open:focus{background:transparent!important}
.ttd-photo__open img{display:block!important;pointer-events:none;width:100%!important;height:clamp(150px,20vw,255px)!important;object-fit:contain;background:#f0f4f5}
.ttd-photo__zoom{position:absolute;bottom:9px;right:9px;padding:5px 10px;background:rgba(23,47,59,.88);color:#fff;font-size:10px;font-weight:800}
.ttd-card__body{padding:16px 20px 19px}
.ttd-card__category{display:inline-block;background:#eff4f6;color:#4a6675;padding:4px 9px;font-size:11px;font-weight:800;margin-bottom:9px}
.ttd-card h3{font-size:clamp(15px,1.7vw,19px);line-height:1.6;overflow-wrap:anywhere;color:var(--ttd-ink)}
.ttd-card__damage{margin:7px 0 0!important;font-size:12px;color:#687780}
.ttd-card__details{margin-top:13px;padding-top:12px;border-top:1px solid #e3eaed;color:#213945}
.ttd-card__details summary{display:flex;justify-content:space-between;align-items:center;gap:10px;list-style:none;cursor:pointer;font-size:12px;font-weight:800}
.ttd-card__details summary::after{content:'＋';font-size:17px;line-height:1}
.ttd-card__details[open] summary::after{content:'−'}
.ttd-card__record{margin:13px 0;background:#f2f7f8;padding:13px 14px;border-left:3px solid #3e6478}
.ttd-card__record strong{font-size:12px;display:block;margin-bottom:6px}
.ttd-card__record p{font-size:13px;line-height:1.85;overflow-wrap:anywhere}
.ttd-card__details dl{margin:13px 0;padding:11px 13px;background:#f7f9fa;font-size:12px;line-height:1.85}
.ttd-card__details dl>div{display:grid;grid-template-columns:92px 1fr;gap:9px}
.ttd-card__details dt{color:#566e78;font-weight:750}
.ttd-card__details dd{margin:0;overflow-wrap:anywhere}
.ttd-card__consult{font-size:12px;font-weight:800;color:#20556b!important;text-decoration:underline!important;text-underline-offset:4px}
.ttd-more{display:flex;justify-content:center;margin-top:23px}
.ttd-more__link{display:inline-flex;justify-content:space-between;align-items:center;gap:25px;min-height:48px;padding:12px 20px;background:#173944;color:#fff!important;font-size:14px;font-weight:750}
.ttd-more__link span{font-size:21px;line-height:1}
.ttd-gallery[aria-busy="true"] .ttd-more__link{opacity:.65;pointer-events:none}
.ttd-pages{display:flex;justify-content:center;gap:8px;align-items:center;flex-wrap:wrap;margin-top:24px}
.ttd-pages a,.ttd-pages span{display:flex;justify-content:center;align-items:center;min-width:40px;min-height:43px;padding:8px 12px;border:1px solid #d2dee3;color:#244550;background:white;font-size:13px}
.ttd-pages .is-current{background:#173944;color:#fff}
.ttd-gallery__note{color:#667883;font-size:11px;margin:22px 0 0!important;line-height:1.85}
.ttd-empty{background:#f4f7f8;padding:18px;font-size:13px;color:#526873}
.ttd-contact{background:#17323f;color:#fff;padding:clamp(26px,4vw,47px);display:flex;justify-content:space-between;align-items:center;gap:24px}
.ttd-contact small{color:#acc8d3;letter-spacing:.15em;font-size:11px;font-weight:800}
.ttd-contact h2{color:#fff;font-size:clamp(22px,2.7vw,31px);line-height:1.4;margin:9px 0!important}
.ttd-contact p{font-size:13px;line-height:1.85;color:#dfebed}
.ttd-contact .ttd-contact__sub{font-size:12px;color:#b7ced6;margin-top:7px!important}
.ttd-contact .ttd-button{flex-shrink:0}
.ttd-mobile-cta{display:none}
@media(max-width:800px){.ttd-contact{flex-direction:column;align-items:flex-start}}
@media(max-width:680px){
 body.ttd-door-page{padding-bottom:63px}
 .ttd-page{padding:0 12px;margin-bottom:50px}
 .ttd-breadcrumb{margin-top:8px}
 .ttd-hero{padding:31px 21px}
 .ttd-hero h1{font-size:31px}
 .ttd-hero>p{font-size:13px}
 .ttd-actions{flex-direction:column}
 .ttd-actions .ttd-button{width:100%}
 .ttd-heading h2{font-size:24px}
 .ttd-gallery{padding-top:34px}
 .ttd-filter{gap:6px}
 .ttd-filter a{padding:9px 10px;min-height:43px}
 .ttd-grid{grid-template-columns:1fr;gap:14px}
 .ttd-photo__open img{height:clamp(170px,40vw,250px)!important}
 .ttd-card__body{padding:16px}
 .ttd-contact{padding:28px 19px}
 .ttd-contact .ttd-button{width:100%}
 .ttd-mobile-cta{display:block;position:fixed;bottom:0;left:0;right:0;z-index:1200;padding:8px 12px max(8px,env(safe-area-inset-bottom));background:white;border-top:1px solid #cad5db;box-shadow:0 -3px 17px rgba(0,0,0,.08)}
 .ttd-mobile-cta a{display:flex;justify-content:space-between;align-items:center;min-height:44px;padding:10px 15px;background:#17323f;color:#fff!important;font-size:13px;font-weight:800;text-decoration:none}
}
@media(prefers-reduced-motion:reduce){.ttd-page *{scroll-behavior:auto}}


.ttd-featured{padding:clamp(28px,4vw,44px) 0 6px}
.ttd-featured__lead{margin-bottom:16px}
.ttd-featured__lead .ttd-photo figcaption{font-size:12px}
.ttd-featured__lead .ttd-photo__open img{height:clamp(240px,34vw,420px)!important}
.ttd-card--static .ttd-card__photos{padding:9px 9px 0}
.ttd-card--static .ttd-card__body{padding:14px 18px 17px}
@media(max-width:680px){
 .ttd-featured{padding-top:30px}
 .ttd-featured__lead .ttd-photo__open img{height:clamp(200px,56vw,340px)!important}
 }

/* SWELL等のテーマ側の固定ページタイトルは隠し、専用ページのH1のみ表示。 */
body.ttd-door-page :is(.c-pageTitle,.l-mainContent__title,.entry-header .entry-title,.page-header .page-title,h1.entry-title,h1.page-title){display:none!important}
body.ttd-door-page .l-mainContent__inner>.post_content{margin-top:0!important}
.ttd-featured{padding-bottom:0}
.ttd-featured__lead{margin-bottom:0}
.ttd-featured .ttd-photo__open img{object-fit:contain!important}
