/*
Theme Name: Candi-lab
Theme URI: https://candi-lab.com/
Author: HOME.LAB
Description: HOME.LABの実験と実績を公開するためのWordPressテーマ。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: candi-lab
*/
:root{--paper:#eee8d9;--ink:#292d2a;--red:#a22b21;--line:#c9c2b4;--muted:#66665f;--white:#fffdf6}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,'Noto Sans JP',sans-serif;line-height:1.8}a{color:inherit}a:hover{color:var(--red)}img{max-width:100%;height:auto}button,input{font:inherit}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:1rem;top:1rem;background:white;padding:.5rem;z-index:20}.wrap{width:min(1200px,calc(100% - 48px));margin:auto}.site-header{border-bottom:1px solid var(--line);background:var(--paper);position:relative;z-index:3}.header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:2rem}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:900;letter-spacing:-.04em;font-size:1.45rem;line-height:1}.brand img{width:46px;height:46px;object-fit:cover;border-radius:10px}.brand small{display:block;letter-spacing:.11em;font-size:.56rem;font-weight:600;color:var(--muted);margin-top:7px}.primary-menu{display:flex;gap:1.7rem;list-style:none;margin:0;padding:0;font-size:.85rem;font-weight:700}.primary-menu a{text-decoration:none}.menu-toggle{display:none;border:1px solid var(--line);background:transparent;padding:.35rem .7rem;cursor:pointer}.hero{padding:80px 0 94px;border-bottom:1px solid var(--line)}.eyebrow{font-size:.75rem;font-weight:800;letter-spacing:.2em;color:var(--red);text-transform:uppercase}.hero-grid{display:grid;grid-template-columns:1.3fr .7fr;align-items:end;gap:3rem}.hero h1{font-size:clamp(3.2rem,8vw,7.8rem);line-height:1.08;letter-spacing:-.085em;margin:1rem 0 1.5rem}.hero h1 em{font-style:normal;color:var(--red)}.hero-copy{max-width:450px;font-size:1.06rem}.hero-mark{width:min(100%,330px);justify-self:end;border-radius:40px;mix-blend-mode:multiply}.hero-mark-image{display:block;width:100%;height:auto}.button{display:inline-flex;align-items:center;gap:1rem;background:var(--red);color:white;text-decoration:none;font-weight:750;padding:.82rem 1.3rem;margin-top:1.5rem}.button:hover{background:var(--ink);color:white}.section{padding:70px 0 85px;border-bottom:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:2rem;margin-bottom:32px}.section-heading h2,.page-title{font-size:clamp(2rem,4vw,3.4rem);line-height:1.2;letter-spacing:-.06em;margin:.2rem 0}.section-heading a{font-size:.85rem;font-weight:700}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card{background:var(--white);border:1px solid var(--line);display:flex;flex-direction:column;min-width:0}.card-image{aspect-ratio:16/10;display:block;overflow:hidden;background:#dad4c8}.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.card:hover .card-image img{transform:scale(1.035)}.card-body{padding:24px;flex:1}.meta{font-size:.72rem;font-weight:700;letter-spacing:.08em;color:var(--red);text-transform:uppercase}.card h3{font-size:1.25rem;line-height:1.45;margin:.7rem 0}.card h3 a{text-decoration:none}.card p{font-size:.9rem;color:var(--muted);margin:0}.feature{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.feature p{max-width:550px}.tag-list{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.4rem}.tag-list a{border:1px solid var(--line);padding:.3rem .75rem;text-decoration:none;font-size:.8rem}.site-footer{padding:48px 0 25px}.footer-top{display:flex;justify-content:space-between;gap:2rem;border-bottom:1px solid var(--line);padding-bottom:42px}.footer-top p{max-width:480px;color:var(--muted)}.footer-bottom{display:flex;justify-content:space-between;gap:1rem;padding-top:25px;font-size:.75rem;color:var(--muted)}.content-area{padding:65px 0 100px;min-height:55vh}.intro{color:var(--muted);max-width:650px}.archive-head{margin-bottom:40px}.single-layout{display:grid;grid-template-columns:minmax(0,760px) 1fr;gap:65px}.entry-title{font-size:clamp(2.1rem,5vw,4.4rem);line-height:1.25;letter-spacing:-.05em;margin:.6rem 0 1.2rem}.entry-content{font-size:1.02rem;overflow-wrap:anywhere}.entry-content h2{margin-top:2.5em;border-bottom:1px solid var(--line);padding-bottom:.4em}.entry-content a{color:var(--red)}.entry-content img{height:auto}.entry-content pre{overflow:auto;padding:1rem;background:#242723;color:white}.entry-content blockquote{border-left:4px solid var(--red);margin-left:0;padding-left:1.3rem}.entry-content iframe{max-width:100%}.entry-featured{width:100%;margin:1.6rem 0}.sidebar-box{border-top:2px solid var(--red);padding-top:1rem}.sidebar-box h2{font-size:1rem}.sidebar-box ul{padding-left:1.2rem}.pagination{margin:45px 0}.pagination .page-numbers{display:inline-block;border:1px solid var(--line);padding:.25rem .75rem;margin-right:.25rem}.pagination .current{background:var(--red);color:white}.empty{padding:2rem;background:var(--white)}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}@media(max-width:800px){.hero-grid,.feature,.single-layout{grid-template-columns:1fr}.hero-mark{display:none}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.menu-toggle{display:block}.primary-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--paper);padding:20px 24px;border-bottom:1px solid var(--line)}.primary-nav.is-open{display:block}.primary-menu{display:flex;flex-direction:column;gap:.8rem}.header-inner{min-height:70px}.hero{padding:60px 0}}@media(max-width:580px){.wrap{width:min(100% - 32px,1200px)}.card-grid{grid-template-columns:1fr}.section{padding:50px 0}.section-heading,.footer-top,.footer-bottom{display:block}.section-heading a{display:inline-block;margin-top:1rem}.hero h1{font-size:3.2rem}}

