/* TACT / editorial refinement — shared, then page-specific. */
:root{--paper:#f8f7f3;--line:#dce0de;--muted:#526675}
body{letter-spacing:.015em;text-rendering:optimizeLegibility}
img{max-width:100%}
main{min-width:0}
section,article,figure,form{min-width:0}
h1,h2,h3{overflow-wrap:anywhere}
.wrap{max-width:1200px}
.section{padding-top:88px;padding-bottom:88px}
.eyebrow{font-size:.75rem;letter-spacing:.14em}
.button{border-radius:7px;min-height:52px;transition:background .2s,box-shadow .2s,transform .2s}
.button:hover{transform:translateY(-2px);box-shadow:0 8px 20px #18354b16}
a:focus-visible,button:focus-visible{outline-offset:5px}
.site-header{max-width:1320px}
.site-header .brand-logo{border-radius:8px}
.site-header #nav .nav-contact{border-radius:6px}
.breadcrumbs{padding-top:22px;padding-bottom:0;line-height:1.7;flex-wrap:wrap;gap:8px;font-size:.75rem}
.page-intro{padding-top:48px;padding-bottom:48px}
.page-intro h1{font-size:clamp(2rem,3.6vw,3.5rem);letter-spacing:.01em;line-height:1.5}
.visual-intro{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center;border:0}
.intro-copy>p:not(.eyebrow){max-width:36em;color:var(--muted);font-size:.95rem;line-height:1.95}
.intro-photo{margin:0;position:relative}
.intro-photo img{display:block;width:100%;height:360px;object-fit:cover;border-radius:16px 16px 64px 16px}
.recruit-page .intro-photo img{object-position:65% center}
.page-jump{display:flex;flex-wrap:wrap;gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-top:8px;padding-bottom:8px}
.page-jump a{display:flex;align-items:center;justify-content:space-between;gap:24px;flex:1 1 170px;min-height:52px;padding:12px 18px;font-size:.82rem;border-right:1px solid var(--line)}
.page-jump a:last-child{border-right:0}
.page-jump a span{color:var(--orange)}
.page-jump a:hover{background:#eeece6}
.compact>h2{margin-top:64px}
.facts{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}
.facts dt{background:#f1f3f1;padding:22px}
.facts dd{padding:22px;line-height:1.9}
.facts dt:last-of-type,.facts dd:last-of-type{border-bottom:0}
.steps{gap:20px}
.steps li{border-radius:12px;padding:30px;background:#fff}
.steps li:before{font-size:2.2rem;color:#b74c26}
.three-grid{gap:24px}
.three-grid article{padding:28px;border:1px solid var(--line);border-radius:12px;background:#fff}
.three-grid h3{font-size:1.15rem}
.three-grid p{font-size:.95rem;line-height:1.9}
.service-section{background:#edf0ee}
.area-box{border-radius:14px;padding:36px;background:#eef1ef}
.photo-pair img{border-radius:12px}
.job-card{border-radius:14px;padding:32px;border-top-width:3px}
.job-pay{font-variant-numeric:tabular-nums}
.notice{border-radius:0 10px 10px 0}
.end-cta{background:#efe4d8;border-radius:16px;padding:44px;margin-top:36px}
.end-cta h2{max-width:28em}
.table-wrap{max-width:100%;overflow-x:auto}
summary{padding-right:20px;line-height:1.8}
details{padding:22px 4px}
details[open]{background:#fff}
details p{padding:0 16px;line-height:1.95}
/* Home: a calmer rhythm and clearer photo groupings. */
.home-page .tact-editorial{border-radius:14px;overflow:hidden}
.home-page .tact-editorial .hero-copy{padding:48px 40px}
.home-page .tact-editorial .hero-slides{min-height:380px}
.home-page .scene-copy{max-width:32em}
.home-page .work-scenes{padding-top:72px;padding-bottom:72px}
.scenes-grid img{border-radius:10px}
.home-page .message-teaser{gap:64px;align-items:center}
.home-page .community-card.community-partner{border-radius:14px}
.story-interview,.story-instagram{border-radius:14px}
/* Representative: portrait, experience, then the complete personal story. */
.about-page .message-hero{grid-template-columns:1.05fr 1fr;gap:70px;padding-top:48px;padding-bottom:64px}
.about-page .message-hero h1{font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;font-size:clamp(2rem,3.4vw,3.4rem);line-height:1.6;letter-spacing:-.025em;font-weight:700}
.about-page .message-lead{font-size:1rem;color:var(--muted)}
.about-page .message-portrait{padding-bottom:24px;max-width:none}
.about-page .message-portrait img{aspect-ratio:4/5;border-radius:16px 16px 80px 16px;object-position:center 30%}
.about-page .message-portrait figcaption{left:24px;right:24px;bottom:0;border-radius:9px;padding:17px 20px;background:#18354b;font-size:.82rem;box-shadow:0 14px 30px #18354b18}
.message-portrait figcaption span{display:block;font-size:.62rem;letter-spacing:.16em;color:#f0bf96;margin-bottom:4px}
.about-page .message-byline{border:0;padding:0;margin-top:28px}
.about-page .message-byline strong{font-size:1.5rem}
.about-page .message-index{display:flex;gap:20px;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-top:14px;padding-bottom:14px;font-family:inherit;font-size:1rem;color:var(--navy);line-height:1.8}
.about-page .message-index a{font-size:.85rem;gap:16px}
.profile-highlights{display:grid;grid-template-columns:.8fr 1.1fr 1fr;gap:32px;padding-top:40px;padding-bottom:20px}
.profile-highlights>div{border-left:2px solid #d8b395;padding-left:22px}
.profile-highlights>div>span{font-size:.62rem;letter-spacing:.14em;color:var(--muted)}
.profile-highlights strong{display:block;font-size:1.25rem;margin:12px 0 8px;line-height:1.6}
.profile-highlights>div:first-child strong{font-size:2.3rem;line-height:1.2}
.profile-highlights strong span{font-size:1rem;margin-left:6px}
.profile-highlights p{font-size:.78rem;color:var(--muted);margin:0}
.about-page .message-chapter{grid-template-columns:.85fr 1.45fr;gap:32px 70px;padding:64px 0}
.about-page .chapter-heading h2{font-family:inherit;line-height:1.75;font-size:1.6rem}
.about-page .chapter-body{font-size:1rem;line-height:2.15}
.about-page .chapter-number{font-family:Arial,sans-serif;font-size:2.7rem;letter-spacing:-.06em;color:#b74c26}
.chapter-photo{grid-column:1/-1;margin:8px 0 0;position:relative}
.chapter-photo img{display:block;width:100%;height:360px;object-fit:cover;border-radius:14px}
#message-care .chapter-photo img{object-position:center 40%}
#message-team .chapter-photo img{object-position:center 55%}
.chapter-photo figcaption{position:absolute;bottom:20px;left:20px;max-width:calc(100% - 40px);padding:12px 18px;background:#fff;color:var(--navy);border-radius:6px;font-size:.85rem}
.about-page .message-belief{border-radius:20px;padding:64px 40px;background:radial-gradient(ellipse at top right,#35536a,#18354b 70%)}
.about-page .message-belief h2{font-family:inherit;font-weight:700;letter-spacing:-.015em}
.representative-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:36px 0 52px}
.representative-values>div{padding:24px 0;border-bottom:1px solid var(--line)}
.representative-values img{margin-bottom:18px}
.representative-values h3{font-size:1.05rem;margin-bottom:12px}
.representative-values p{font-size:.9rem;line-height:1.9;color:var(--muted);margin:0}
/* Forms remain simple and readable; policy keeps a quiet text hierarchy. */
.utility-intro{position:relative;padding-right:120px}
.utility-icon{position:absolute;right:32px;top:64px;width:64px;height:64px;padding:12px;box-sizing:content-box;background:#eaece6;border-radius:20px}
.contact-page .narrow,.privacy-page .narrow{max-width:900px}
.contact-page form{background:#fff;padding:36px;border:1px solid var(--line);border-radius:16px}
.contact-page input:not([type=checkbox]),.contact-page select,.contact-page textarea{font-size:16px;border-radius:8px;border-color:#a8b4bb;min-height:50px}
.contact-page textarea{min-height:160px}
.contact-fax,.contact-phone{border-radius:14px}
.privacy-page .compact>h2{font-size:1.35rem;padding-top:28px;border-top:1px solid var(--line);margin-top:36px}
.privacy-page .compact{line-height:2}
@media(min-width:1100px){.about-page .chapter-heading{position:sticky;top:32px;align-self:start}}
@media(max-width:1050px){.visual-intro{gap:30px}.intro-photo img{height:320px}.about-page .message-hero{gap:36px}.about-page .message-chapter{gap:28px 36px}.site-header .brand{min-width:0}}
@media(max-width:760px){
 body{padding-bottom:calc(76px + env(safe-area-inset-bottom));font-size:16px}
 .wrap{padding-left:22px;padding-right:22px}
 .section{padding-top:48px;padding-bottom:48px}
 .site-header{padding:16px;gap:10px}.site-header .brand{font-size:.8rem;gap:8px}.site-header .brand small{font-size:.5rem}.site-header .brand-logo{width:42px;height:42px}.site-header .menu{padding:10px 8px;min-height:44px}
 .breadcrumbs{display:flex;font-size:.7rem;padding-top:18px}
 .visual-intro{grid-template-columns:1fr;gap:24px;padding-top:28px;padding-bottom:28px}
 .page-intro h1{font-size:clamp(1.7rem,7.4vw,2.35rem);line-height:1.5}
 .intro-photo img{height:auto;aspect-ratio:1.5;border-radius:12px 12px 40px 12px}
 .intro-copy>p:not(.eyebrow){font-size:.92rem}
 .page-jump{display:grid;grid-template-columns:1fr 1fr;gap:0;padding-top:8px;padding-bottom:8px}
 .page-jump a{font-size:.74rem;gap:10px;padding:10px;min-height:52px;border-right:0;border-bottom:1px solid var(--line)}
 .page-jump a:nth-last-child(-n+2){border-bottom:0}
 .facts dt,.facts dd{padding:16px 18px}.facts dt{border-bottom:0}.facts dd{padding-top:12px}
 .steps li,.job-card{padding:24px}.area-box{padding:24px}.three-grid article{padding:24px}
 .end-cta{margin:24px 16px 48px;padding:28px 24px}.end-cta h2{font-size:1.5rem}.end-cta .button{width:100%}
 .home-page .tact-editorial .hero-copy{padding:34px 25px}.home-page .tact-editorial .hero-slides{min-height:0}
 .home-page .message-teaser{gap:28px}.home-page .work-scenes{padding-top:48px;padding-bottom:48px}
 .about-page .message-hero{grid-template-columns:1fr;gap:28px;padding-top:28px;padding-bottom:38px}
 .about-page .message-hero h1{font-size:clamp(1.7rem,7.3vw,2.3rem);line-height:1.55}
 .about-page .message-portrait{width:100%;max-width:430px;margin:0 auto}
 .about-page .message-portrait img{aspect-ratio:1.08;object-position:center 28%;border-radius:14px 14px 60px 14px}
 .about-page .message-portrait figcaption{left:14px;right:14px;padding:14px;font-size:.75rem}
 .about-page .message-index{display:grid;gap:0;padding-top:8px;padding-bottom:8px}
 .about-page .message-index a{min-height:48px;font-size:.82rem;padding:8px 0}
 .profile-highlights{grid-template-columns:1fr;gap:18px;padding-top:30px;padding-bottom:0}
 .profile-highlights>div{padding-left:16px;display:grid;grid-template-columns:1fr;gap:2px}
 .profile-highlights strong{margin:4px 0;font-size:1.15rem}.profile-highlights>div:first-child strong{font-size:1.8rem}
 .about-page .message-chapter{grid-template-columns:1fr;gap:24px;padding:42px 0}.about-page .chapter-heading h2{font-size:1.4rem}.about-page .chapter-number{font-size:2rem}
 .about-page .chapter-body{font-size:.95rem;line-height:2.05}.chapter-photo{grid-column:auto;margin:0}
 .chapter-photo img{height:240px}.chapter-photo figcaption{position:static;padding:12px 0 0;background:none;font-size:.75rem;max-width:none}
 .about-page .message-belief{padding:36px 22px;border-radius:14px}.about-page .message-belief h2{font-size:1.9rem}
 .representative-values{grid-template-columns:1fr;gap:0;margin:20px 0 32px}.representative-values>div{display:grid;grid-template-columns:40px 1fr;gap:0 16px}.representative-values img{grid-row:1/3;margin:0}.representative-values p{grid-column:2}
 .utility-intro{padding-right:22px}.utility-icon{position:static;display:block;width:40px;height:40px;padding:10px;margin-bottom:22px;border-radius:14px}
 .contact-page form{padding:24px 18px}.contact-page form .actions{flex-direction:column}.contact-page form .button{width:100%}
 .site-footer{padding-bottom:32px}.footer-links a{min-height:38px;margin-bottom:6px}.footer-bottom a{min-height:40px;display:inline-flex;align-items:center}
}
@media(max-width:370px){.site-header .brand small{display:none}.site-header .brand{font-size:.72rem}.site-header .brand-logo{width:36px;height:36px}.site-header .menu>span:last-child{font-size:.6rem}.page-jump{grid-template-columns:1fr}.page-jump a{border-bottom:1px solid var(--line)}.page-jump a:last-child{border-bottom:0}}
@media(prefers-reduced-motion:reduce){.button{transition:none}.button:hover{transform:none}}
