
:root{--portfolio-h2:36px;--portfolio-h3:24px;--portfolio-body:16px;--portfolio-small:14px}
.kh-text,.works{font-size:var(--portfolio-body);color:#171717}
.kh-text h2,.works .section-heading h2{font-size:var(--portfolio-h2);font-weight:400;line-height:1.55;letter-spacing:.015em!important;word-break:auto-phrase;text-wrap:pretty}
.works .case .case-title-row h3{font-size:var(--portfolio-h3);font-weight:400;line-height:1.6;letter-spacing:.015em!important}
.kh-text h3,.fix-services dt,.works .case .note-title{font-size:20px;font-weight:400;line-height:1.6;letter-spacing:.015em!important;word-break:auto-phrase}
.kh-text p,.kh-text dd,.works .case .note-design,.works .case .note-psych,.works .case .case-facts>div{font-size:16px;font-weight:400;line-height:1.85}
.kh-text .kh-label,.works .section-label,.works .case .note-kicker,.works .case .case-context-title{font-size:14px;font-weight:400;line-height:1.7;letter-spacing:.04em}
.works .section-heading>p{font-size:16px;font-weight:400;line-height:1.85}
.works .case .case-context dl>div{font-size:14px;line-height:1.8}
.works .case .case-facts dt,.works .case .case-context dt{font-weight:400}
.works .case .note-dual>div{padding:20px 18px;justify-content:flex-start}
.works .case .note-copy{flex:none}.works .case .note-dual{flex:none;grid-template-rows:auto auto}
.works .case .chapter-nav ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:8px}
.works .case .chapter-nav button{display:grid;grid-template-columns:22px minmax(0,1fr) 12px;align-items:center;gap:5px;width:100%;height:100%;min-height:60px;padding:10px 8px;font-size:14px;font-weight:400;line-height:1.5;white-space:normal;word-break:normal;letter-spacing:0}
.works .case .chapter-nav .chapter-key{display:none}
.works .case .chapter-nav .chapter-number{font-size:12px;white-space:nowrap}
.works .case .chapter-nav .chapter-arrow{display:block;font-size:14px;margin:0;opacity:1}
.works .case .chapter-nav button>span:nth-child(2){min-width:0;word-break:normal;overflow-wrap:normal}
.works .case .chapter-nav>p{font-size:14px;line-height:1.7}
.works .case .chapter-nav li{height:100%;min-width:0}
.kh-text.kh-flow ol{position:relative;margin:0;padding:0;list-style:none}
.kh-text.kh-flow li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:22px;position:relative;padding:0 0 32px;border:0;margin:0}
.kh-text.kh-flow li:last-child{padding-bottom:0}
.kh-text.kh-flow li:not(:last-child):before{content:"";position:absolute;top:42px;bottom:0;left:21px;width:2px;background:#d8d5d0}
.kh-text.kh-flow li:after{content:none!important}
.kh-text.kh-flow li>span{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #d8d5d0;border-radius:50%;background:#fff;color:#b84400;font-size:16px;line-height:1;font-weight:400;padding:0}
.kh-text.kh-flow li>div{padding:4px 0 0}
.kh-text.kh-flow li h3{margin:0 0 10px}
.kh-text.kh-flow li p{margin:0}
.approved-profile{margin:30px 0 34px;width:100%}.approved-profile img{width:100%;height:auto}
.tomoe-typeset{background:#f0efec}
.tomoe-browser{position:relative;margin:30px 0 38px;border:1px solid #d8d5d0;border-radius:8px;background:white;box-shadow:0 12px 0 -3px #171717;overflow:hidden}
.tomoe-browser>div{height:24px;padding:0 10px;color:#b84400;font-size:12px;background:#f8f8f8;border-bottom:1px solid #d8d5d0}
.tomoe-browser img{width:100%;height:auto}
.tomoe-stages{margin:28px 0;border-top:2px solid #b84400;padding-top:14px}
.tomoe-stages>span{display:inline-block;background:#b84400;color:white;padding:3px 12px;font-size:14px;margin-top:-29px;vertical-align:top}
.tomoe-stages p{margin:10px 0 20px}
.tomoe-link{display:block;text-align:center;border:1px solid #171717;border-radius:4px;padding:15px;font-size:16px;min-height:54px}
@media(max-width:600px){:root{--portfolio-h2:28px;--portfolio-h3:24px}.kh-text.kh-flow li{gap:16px;padding-bottom:28px}.kh-text.kh-flow li:last-child{padding-bottom:0}.works .case .note-title{font-size:20px}.kh-text h2{overflow-wrap:normal}.tomoe-typeset h2{font-size:27px}}
.type-sp{display:none}.kh-text p{ text-wrap:pretty }
@media(max-width:600px){.type-sp{display:block}.works .case .chapter-nav ol{grid-template-columns:1fr}.works .case .chapter-nav button{min-height:46px;grid-template-columns:24px minmax(0,1fr) 16px;padding:10px 12px;gap:10px}}
.tomoe-typeset h2{font-size:var(--portfolio-h2)}.stage-words{display:flex;flex-wrap:wrap;gap:6px 10px}.stage-words span{white-space:nowrap}
