/*
Theme Name: 暮らしノート
Author: Kai
Description: 余白とタイポグラフィを生かした、暮らしのためのモダンな雑誌風テーマ。
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: kurashi-note
*/
:root{--ink:#171a19;--paper:#f7f8f5;--muted:#65706a;--line:#dce1da;--lime:#d3f48c;--font: 'Hiragino Kaku Gothic ProN','Noto Sans JP',system-ui,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:2rem}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.85;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}img{max-width:100%;height:auto;display:block}a:focus-visible,button:focus-visible{outline:3px solid #3d7a10;outline-offset:5px}::selection{background:var(--lime);color:var(--ink)}.shell{max-width:1240px;padding:0 44px;margin:auto}.site-header{background:var(--paper);border-bottom:1px solid var(--line)}.header-inner{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:14px;font-size:21px;font-weight:800;line-height:1.35;letter-spacing:.015em}.brand small{display:block;margin-top:5px;font-size:10px;letter-spacing:.2em;font-weight:500}.brand-mark{display:grid;place-content:center;background:var(--ink);color:white;width:48px;height:48px;border-radius:50%;font-family:Georgia,serif;font-size:40px;font-weight:400;line-height:1;position:relative}.brand-mark span{color:var(--lime);position:absolute;right:9px;bottom:5px}.header-inner nav{display:flex;gap:28px;align-items:center;font-size:14px;font-weight:600}.nav-login{border:1px solid var(--ink);border-radius:40px;padding:8px 20px}.header-inner nav a:hover{opacity:.65}.hero{background:var(--ink);color:#fff;padding:72px 0 0;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:70px;min-height:455px}.eyebrow{font-size:12px;letter-spacing:.2em;line-height:1.5;font-weight:600;display:flex;gap:10px;align-items:center;margin:0 0 30px;color:var(--lime)}.eyebrow span{width:7px;height:7px;background:var(--lime);border-radius:50%}.hero h1{font-size:clamp(40px,5.3vw,72px);line-height:1.5;letter-spacing:-.055em;font-weight:700;margin:0 0 24px}.hero-intro{max-width:370px;font-size:15px;line-height:2;color:#bfc7c1;margin:0 0 26px}.hero-link{display:inline-flex;align-items:center;gap:50px;background:var(--lime);color:var(--ink);border-radius:32px;padding:10px 22px;font-size:14px;font-weight:700}.hero-link span{font-size:22px;font-weight:400}.hero-link:hover{background:white}.hero-side{border-left:1px solid #49504b;padding-left:42px;display:flex;flex-direction:column;justify-content:space-between;padding-top:4px;padding-bottom:10px}.side-label{font-size:11px;letter-spacing:.2em;color:#9da79f}.hero-word{font-size:clamp(38px,5vw,66px);line-height:1.12;letter-spacing:-.055em;font-family:Georgia,'Times New Roman',serif}.hero-word em{color:var(--lime);font-weight:400}.side-bottom{display:flex;align-items:center;justify-content:space-between;color:#bfc7c1;font-size:14px}.asterisk{font-family:Arial,sans-serif;font-size:90px;line-height:1;color:var(--lime)}.hero-baseline{margin-top:48px;padding-top:20px;padding-bottom:20px;border-top:1px solid #3a403b;display:flex;justify-content:space-between;gap:15px;font-size:10px;letter-spacing:.18em;color:#aab4ac}.journal{padding-top:78px;padding-bottom:95px}.section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:32px;gap:20px}.eyebrow.dark{color:var(--muted);margin-bottom:10px}.section-head h2{font-size:32px;line-height:1.4;letter-spacing:-.04em;margin:0}.section-note{font-size:14px;color:var(--muted)}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.post-card{min-width:0}.card-link{display:block;height:100%}.card-art{aspect-ratio:1.32;position:relative;overflow:hidden;background:#e1e9de;display:flex;flex-direction:column;justify-content:space-between;padding:21px;transition:transform .2s}.art-1{background:#dce5e8}.art-2{background:#e5e1d7}.cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .3s}.card-link:hover .cover-image{transform:scale(1.025)}.art-top,.art-bottom{font-size:10px;letter-spacing:.1em;display:flex;justify-content:space-between;align-items:center}.art-top span:first-child{font-size:12px;letter-spacing:0;border:1px solid #89998c;border-radius:30px;padding:2px 9px}.art-type{display:flex;align-items:center;justify-content:space-between;font-size:clamp(65px,7vw,105px);font-family:Georgia,serif;line-height:1;font-weight:400;letter-spacing:-.07em}.art-type span{font-family:var(--font);font-size:23px;letter-spacing:-.05em;font-weight:700;line-height:1.55}.art-bottom span{font-size:22px}.card-body{padding:22px 0 0}.card-meta{display:flex;align-items:center;gap:15px;flex-wrap:wrap;font-size:12px;line-height:1.5;color:var(--muted)}.card-meta>span{color:var(--ink);font-weight:600}.card-meta time{font-variant-numeric:tabular-nums}.card-body h3{font-size:21px;line-height:1.7;letter-spacing:-.02em;margin:12px 0}.card-body p{font-size:14px;line-height:1.95;color:var(--muted);margin:0 0 22px}.card-read{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #b9c2b9;padding-bottom:12px;font-size:13px;font-weight:600}.card-read span{font-size:23px;font-weight:400}.card-link:hover h3{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}.pagination{margin-top:45px}.pagination .nav-links{display:flex;gap:10px;flex-wrap:wrap}.page-numbers{padding:7px 15px;border:1px solid var(--line)}.page-numbers.current{background:var(--ink);color:white}.empty{border-top:1px solid var(--line);padding:45px 0}.empty h3{font-size:25px}.empty p{color:var(--muted)}.button{display:inline-block;border-radius:40px;background:var(--ink);color:white;padding:10px 22px;font-size:14px}.site-footer{background:#e9ede6;border-top:1px solid var(--line);padding:48px 0}.footer-inner{display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.footer-name{font-size:24px;font-weight:800}.footer-name span{color:#577d2c}.footer-inner p{color:var(--muted);font-size:13px;margin:10px 0 0}.footer-inner small{font-size:11px;color:var(--muted)}.breadcrumb{display:flex;gap:14px;font-size:12px;color:var(--muted);padding-top:30px}.article{max-width:800px;margin:64px auto 100px;padding:0 28px}.article-header h1{font-size:clamp(30px,4.2vw,48px);line-height:1.6;letter-spacing:-.04em;margin:22px 0 32px;font-weight:750}.article-rule{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:10px;letter-spacing:.13em;color:var(--muted);padding:14px 0}.article-cover{margin:32px 0}.article-cover img{width:100%;height:auto}.article-body{margin-top:42px;font-size:17px;line-height:2.15;overflow-wrap:anywhere}.article-body .article-lead{font-size:19px;line-height:2.1;margin-bottom:42px;color:#455247}.article-body p{margin:1.5em 0}.article-body h2{font-size:27px;line-height:1.65;margin:2.8em 0 1em;padding-bottom:12px;border-bottom:1px solid var(--line);letter-spacing:-.03em}.article-body h3{font-size:22px;line-height:1.65;margin:2em 0 1em}.article-body a{color:#365e20;text-decoration:underline;text-underline-offset:4px}.article-body blockquote{margin:40px 0;padding:22px 28px;background:#e9efdf;border-left:3px solid #5c7a3a;font-size:20px;font-weight:600}.article-body blockquote p{margin:0}.article-body ul,.article-body ol{padding-left:1.4em}.article-body pre{overflow:auto;background:#e8ece6;padding:20px;font-size:14px}.article-body table{width:100%;border-collapse:collapse}.article-body td,.article-body th{border:1px solid var(--line);padding:10px}.article-end{border-top:1px solid var(--line);margin-top:65px;padding-top:25px;display:flex;justify-content:space-between;gap:20px;font-size:14px}.article-end a{text-decoration:underline;text-underline-offset:5px}.screen-reader-text,.skip-link{position:absolute;clip:rect(1px,1px,1px,1px);overflow:hidden;width:1px;height:1px}.skip-link:focus{clip:auto;width:auto;height:auto;position:fixed;top:10px;left:10px;z-index:1000;background:white;padding:10px}.wp-block-image{margin-left:0;margin-right:0}.wp-caption{max-width:100%}.wp-caption-text{font-size:13px;color:var(--muted)}
@media(min-width:1000px){.post-grid:has(.post-card:only-child){grid-template-columns:1fr}.post-card:only-child .card-link{display:grid;grid-template-columns:1.1fr 1fr;gap:44px;align-items:center}.post-card:only-child .card-body{padding:0}.post-card:only-child .card-body h3{font-size:30px}.post-card:only-child .card-art{aspect-ratio:1.5}.post-card:only-child .art-type{font-size:135px}.post-card:only-child .art-type span{font-size:32px}}
@media(max-width:900px){.shell{padding-left:28px;padding-right:28px}.hero-grid{gap:34px;grid-template-columns:1.3fr 1fr;min-height:400px}.hero-side{padding-left:26px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-note{display:none}.hero-word{font-size:45px}.hero h1{font-size:48px}.brand{font-size:18px}.header-inner nav{gap:16px}.asterisk{font-size:65px}}
@media(max-width:600px){.shell{padding-left:22px;padding-right:22px}.header-inner{min-height:83px;gap:10px}.brand{font-size:17px;gap:9px}.brand-mark{width:35px;height:35px;font-size:30px}.brand-mark span{right:5px;bottom:2px}.brand small{font-size:8px;letter-spacing:.14em}.header-inner nav{gap:12px;font-size:12px}.header-inner nav>a:first-child{display:none}.nav-login{padding:6px 11px}.hero{padding-top:48px}.hero-grid{display:block;min-height:auto}.eyebrow{font-size:10px;margin-bottom:24px}.hero h1{font-size:clamp(37px,10.5vw,54px);line-height:1.55;margin-bottom:20px}.hero-intro{font-size:14px;max-width:310px}.hero-link{padding:8px 20px;font-size:13px;gap:40px}.hero-side{margin-top:38px;border-left:0;border-top:1px solid #434d44;padding:25px 0 0;display:grid;grid-template-columns:1fr auto;align-items:center}.side-label{display:none}.hero-word{font-size:35px;line-height:1.05}.side-bottom>span:first-child{display:none}.asterisk{font-size:65px}.hero-baseline{margin-top:28px;padding-top:14px;padding-bottom:14px;font-size:8px;letter-spacing:.09em}.journal{padding-top:48px;padding-bottom:60px}.section-head{margin-bottom:24px}.section-head h2{font-size:27px}.post-grid{grid-template-columns:1fr;gap:38px}.card-art{aspect-ratio:1.48;padding:20px}.art-type{font-size:98px}.art-type span{font-size:27px}.card-body{padding-top:19px}.card-body h3{font-size:22px;line-height:1.7}.card-body p{font-size:14px}.site-footer{padding:34px 0}.footer-inner{display:block}.footer-inner small{display:block;margin-top:28px}.footer-name{font-size:22px}.article{padding:0 22px;margin:40px auto 65px}.breadcrumb{padding-top:22px;font-size:11px}.article-header h1{font-size:29px;line-height:1.65;margin-top:19px}.article-body{font-size:16px;line-height:2.1;margin-top:30px}.article-body .article-lead{font-size:17px}.article-body h2{font-size:23px}.article-body blockquote{padding:20px;font-size:18px}.article-rule{font-size:9px}.article-end{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
