/* つくっと: responsive layout on fluid.css. Figma 15:118 is the visual reference, not a pixel grid. */
.tk-hero,.tk-what,.tk-ui,.tk-feature,.tk-flow,.tk-cases,.tk-tokushima,.tk-faq{color:var(--navy)}
:is(.tk-features,.tk-steps,.tk-lessons,.tk-screens){list-style:none;margin:0;padding:0}

/* In-page nav targets: offset the scroll landing by the sticky #site-header's height (chrome.css),
   so each section lands below it instead of behind it. 72px height + 1px border = 73px above the
   header's own 959px breakpoint; see the matching @media(max-width:959px) override below for the
   64px + 1px = 65px value used at and under that width (not tsukutto's 767/1023 breakpoints, which
   don't line up with the header's). */
.tk-feature,.tk-cases,.tk-adoption,.tk-safety,.tk-faq{scroll-margin-top:73px}

.tk-hero-media{object-position:100% 50%}
.tk-hero-actions{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px;margin-top:-16px}
/* .f-button keeps the shared default 48px height (rule: small 40 / default 48 / large 56 only). */
.tk-badge{display:inline-block;background:#eeeff1;border-radius:99px;padding:3px 16px;font:400 var(--fs-xs)/1.9 "Noto Sans JP",sans-serif;color:var(--navy)}
.tk-cta-note{flex-basis:100%;margin:0;font:400 var(--fs-xs)/1.9 "Noto Sans JP",sans-serif;color:var(--muted)}

.tk-what-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:start}
.tk-what-text{align-self:start}

/* UI mockups: four static screens drawn in HTML with fixed, legible type (not scaled by viewport). */
.tk-ui{background:#f5faff}
.tk-ui-title{margin-bottom:clamp(20px,2.5vw,32px)!important}
.tk-screens{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,2.2vw,28px);max-width:1120px}
.tk-screen{display:flex;background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden}
.tk-screen-nav{flex:0 0 130px;display:flex;flex-direction:column;gap:16px;padding:20px 16px;background:#eef4fa}
.tk-screen-brand{margin:0;font:700 13px/1.4 "Noto Sans JP",sans-serif;color:var(--navy)}
.tk-screen-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.tk-screen-nav li{font-size:12.5px;line-height:1.5;color:var(--navy)}
.tk-screen-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px;padding:22px 24px}
.tk-t{margin:0;font-weight:400;font-family:"Noto Sans JP",sans-serif;color:var(--navy)}
.tk-t.tk-b{font-weight:700}
.tk-t.tk-pre{white-space:pre-wrap}
.tk-t.tk-ink{color:var(--ink)}
.tk-t-xl{font-size:16px;line-height:1.5}
.tk-t-lg{font-size:14px;line-height:1.6}
.tk-t-md{font-size:12.5px;line-height:1.65}
.tk-t-sm{font-size:12px;line-height:1.7}
.tk-ui-box{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:4px;background:var(--bg)}
.tk-ui-create{border-radius:8px}
.tk-ui-bar{padding:12px 16px;border-radius:4px;background:var(--navy)}
.tk-ui-bar .tk-t{color:#fff}

.tk-feature-head{margin-bottom:clamp(24px,3vw,36px)}
.tk-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.tk-features li{display:flex;flex-direction:column;gap:10px;padding-inline:clamp(18px,2.2vw,36px);border-left:1px solid var(--border)}
.tk-features li:first-child{padding-left:0;border-left:0}
.tk-feature-icon{width:33px;height:33px}
.tk-features h3{font:700 var(--fs-h3)/1.5 "Noto Serif JP",serif;color:var(--navy);text-wrap:balance}
.tk-features p{font:400 var(--fs-sm)/1.8 "Noto Sans JP",sans-serif;color:var(--ink);text-wrap:balance}

.tk-flow-head{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:20px;margin-bottom:clamp(24px,3vw,40px)}
.tk-flow-heading{gap:8px}
.tk-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,24px)}
.tk-step{position:relative}
.tk-step-arrow{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
.tk-step-num{position:relative;z-index:1;display:inline-grid;place-items:center;width:32px;height:32px;margin:20px 0 12px 16%;border-radius:50%;background:var(--navy);color:#fff;font:700 13px/1 "Noto Sans JP",sans-serif}
.tk-step-body{position:relative;z-index:1;display:flex;flex-direction:column;gap:6px;padding:0 13% 24px 16%}
.tk-step-body h3{font:700 var(--fs-h3)/1.5 "Noto Serif JP",serif;color:var(--navy);text-wrap:balance}
.tk-step-body p{font:400 var(--fs-sm)/1.7 "Noto Sans JP",sans-serif;color:var(--navy);text-wrap:balance}

.tk-cases-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:16px;margin-bottom:clamp(20px,2.5vw,32px)}
.tk-cases-heading{gap:8px}
.tk-lessons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,28px)}
.tk-lesson{border:1px solid var(--border);border-radius:6px;overflow:hidden;background:#fff}
.tk-lesson-photo{aspect-ratio:294/120;overflow:hidden}
.tk-lesson-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 17.6%}
.tk-lesson-cat{display:inline-block;width:fit-content;margin:-24px 0 12px 14px;padding:4px 14px;border-radius:99px;background:#fff;font:700 var(--fs-xs)/1.7 "Noto Sans JP",sans-serif;color:var(--navy)}
.tk-lesson-body{display:flex;flex-direction:column;gap:8px;padding:0 16px 20px}
.tk-lesson-body h3{font:400 clamp(15px,.75rem + .3vw,17px)/1.6 "Noto Serif JP",serif;color:var(--navy)}
.tk-lesson-body p{font-size:var(--fs-sm);font-family:"Noto Sans JP",sans-serif}

.tk-adoption{color:var(--navy)}
.tk-adoption-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,2.4vw,32px);margin-top:clamp(20px,2.5vw,32px)}
.tk-adoption-list li{display:flex;flex-direction:column;gap:6px;padding-top:16px;border-top:1px solid var(--border)}
.tk-adoption-list h3{font:700 var(--fs-h3)/1.5 "Noto Serif JP",serif;color:var(--navy)}
.tk-adoption-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:clamp(24px,3vw,36px)}

.tk-safety{color:var(--navy)}
.tk-safety-list{display:flex;flex-direction:column;gap:10px;margin-top:clamp(20px,2.5vw,32px)}
.tk-safety-list li{padding-left:1.4em;text-indent:-1.4em}
.tk-safety-list li::before{content:"・";color:var(--terracotta);font-weight:700}
.tk-safety-note{margin-top:clamp(16px,2vw,24px);color:var(--ink)}

.tk-others{color:var(--navy)}
.tk-others-list{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:16px}

@media(max-width:1023px){
 .tk-what-inner{grid-template-columns:1fr}
 .tk-screen-nav{flex-basis:112px;padding:16px 12px;gap:12px}
 .tk-screen-main{padding:18px 18px}
 .tk-features{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 32px}
 .tk-features li{border-left:0;padding-left:0;padding-inline:0}
 .tk-step-num{margin-left:32px}
 .tk-step-body{padding:0 24px 20px 32px}
}

/* Matches #site-header's own breakpoint (959px, not tsukutto's 1023/767), where the header
   shrinks to 64px + 1px border = 65px. Covers the whole 0-959 range so the value is right at
   768-959 too, not just below 767. */
@media(max-width:959px){
 .tk-feature,.tk-cases,.tk-adoption,.tk-safety,.tk-faq{scroll-margin-top:65px}
}

@media(max-width:767px){
 .tk-what-inner{gap:20px}
 .tk-ui{padding-block:40px}
 .tk-screens{grid-template-columns:1fr;max-width:none;gap:20px}
 .tk-screen-nav{flex-basis:96px;padding:14px 10px;gap:10px}
 .tk-screen-brand{font-size:12px}
 .tk-screen-nav li{font-size:12px}
 .tk-screen-main{padding:16px 14px;gap:10px}
 .tk-t-xl{font-size:15px}
 .tk-feature-head{margin-bottom:4px}
 .tk-features{grid-template-columns:1fr;gap:0}
 .tk-features li{display:grid;grid-template-columns:36px 1fr;gap:4px 14px;padding:18px 0;border-top:1px solid var(--border)}
 .tk-features li:first-child{border-top:0;padding-top:0}
 .tk-feature-icon{grid-row:span 2}
 .tk-features p br{display:none}
 .tk-flow-head{flex-direction:column;align-items:flex-start;gap:12px}
 .tk-steps{grid-template-columns:1fr;gap:12px}
 .tk-step{display:grid;grid-template-columns:32px 1fr;gap:12px;padding:16px;background:#e9f6fe;border-radius:6px}
 .tk-step-arrow{display:none}
 .tk-step-num{margin:2px 0 0;width:32px;height:32px;font-size:var(--fs-xs)}
 .tk-step-body{padding:0}
 .tk-cases-head{flex-direction:column;align-items:flex-start;gap:8px}
 .tk-lessons{grid-template-columns:1fr;gap:24px}
 .tk-lesson-body p br{display:none}
 .tk-adoption-list{grid-template-columns:1fr;gap:18px}
}
