/*
Theme Name: ふきよの手しごと
Theme URI: https://fukiyo.mkopenworks.com/
Author: MK Open Works
Description: ふきよさんの手編みと犬への想いを伝える専用テーマです。
Version: 1.0.0
Text Domain: fukiyo-teshigoto
*/

:root { --ink:#34362f; --cream:#f3efe5; --paper:#fbfaf5; --sage:#aeb8a1; --deep:#53604d; --line:#d8d4c9; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:"Yu Mincho","Hiragino Mincho ProN",serif; }
a { color:inherit; text-decoration:none; }
.site-header { height:86px; padding:0 5vw; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--line); background:rgba(251,250,245,.94); position:relative; z-index:3; }
.brand { display:flex; align-items:center; gap:12px; font-size:17px; letter-spacing:.08em; }
.brand-mark { display:grid; place-items:center; width:33px; height:33px; border-radius:50%; background:var(--deep); color:white; font-size:20px; font-style:italic; }
.site-header nav { display:flex; gap:36px; font-family:"Hiragino Kaku Gothic ProN",sans-serif; font-size:12px; letter-spacing:.08em; }
.site-header nav a { padding:12px 0; border-bottom:1px solid transparent; }
.site-header nav a:hover { border-color:var(--deep); }
.hero { background:var(--cream); }
.hero-photo { width:100%; aspect-ratio:3/2; max-height:calc(100vh - 86px); overflow:hidden; background:#b4ad9e; }
.hero-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:center center; transform-origin:42% top; animation:hero-drift 16s ease-in-out infinite alternate; will-change:transform; }
@keyframes hero-drift { 0% { transform:scale(1.07) translate3d(.4%,0,0); } 100% { transform:scale(1.14) translate3d(-.8%,-.5%,0); } }
.hero-copy { padding:75px 7vw 85px; display:grid; grid-template-columns:1fr 1.2fr; column-gap:7vw; align-items:start; }
.hero-copy .eyebrow { grid-column:1/-1; }
.hero-copy h1 { grid-row:2/5; }
.hero-copy .lead { margin-top:12px; }
.eyebrow { margin:0 0 30px; font:600 10px/1.5 Arial,sans-serif; letter-spacing:.24em; color:var(--deep); }
h1,h2,h3,p { margin-top:0; }
h1 { margin-bottom:40px; font-weight:400; font-size:clamp(54px,6vw,92px); line-height:1.22; letter-spacing:.04em; }
.lead { font-size:16px; line-height:2.15; letter-spacing:.06em; }
.text-link { margin-top:42px; padding-bottom:8px; border-bottom:1px solid var(--ink); font:12px Arial,sans-serif; letter-spacing:.12em; }
.text-link span { padding-left:32px; }
.intro { padding:150px 8vw; display:grid; grid-template-columns:10% 38% 1fr; gap:4vw; border-bottom:1px solid var(--line); }
.section-number { font:11px Arial,sans-serif; letter-spacing:.15em; color:#8b8e84; }
h2 { font-size:clamp(34px,4vw,58px); font-weight:400; line-height:1.55; letter-spacing:.05em; }
.intro-body { max-width:560px; font-size:15px; line-height:2.2; letter-spacing:.06em; }
.intro-body p + p { margin-top:25px; }
.why-knitting { background:#cbc5b6; }
.knit-visual { position:relative; width:100%; aspect-ratio:3/2; overflow:hidden; background:#b9b4a7; }
.knit-visual:after { content:""; position:absolute; inset:55% 0 0; pointer-events:none; background:linear-gradient(transparent,rgba(36,31,27,.38)); }
.knit-visual > img { display:block; width:100%; height:100%; object-fit:contain; }
.knit-visual > p { position:absolute; z-index:1; left:10%; bottom:8%; margin:0; font:italic 14px/1.5 Georgia,serif; letter-spacing:.08em; color:white; text-shadow:0 1px 14px rgba(0,0,0,.3); }
.why-story { padding:110px 9vw; background:var(--paper); }
.why-topline { display:flex; gap:55px; align-items:flex-start; }
.why-topline > span { font:11px Arial,sans-serif; color:#8b8e84; }
.why-story h2 { margin-bottom:42px; }
.why-story > p { max-width:650px; font-size:14px; line-height:2.15; letter-spacing:.05em; }
.why-story > p + p { margin-top:22px; }
.why-story blockquote { margin:42px 0; padding:3px 0 3px 28px; border-left:1px solid var(--sage); font-size:20px; line-height:1.9; letter-spacing:.08em; color:var(--deep); }
.mother-message { padding:130px 8vw 150px; display:grid; grid-template-columns:34% 1fr; gap:8vw; align-items:start; background:#aeb7a4; }
.message-heading { position:sticky; top:60px; display:flex; gap:38px; color:#263126; }
.message-heading .section-number { color:#596554; padding-top:6px; }
.message-heading .eyebrow { color:#42503d; }
.message-heading h2 { margin-bottom:35px; }
.message-intro { max-width:340px; font-size:13px; line-height:2; letter-spacing:.05em; }
.letter-placeholder { position:relative; min-height:720px; padding:12%; overflow:hidden; transform:rotate(-.7deg); background:#fbf8ef; box-shadow:0 28px 70px rgba(49,57,44,.2); }
.letter-placeholder:before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.3; background:radial-gradient(circle at 18% 20%,#d8d0be 0 1px,transparent 2px),radial-gradient(circle at 76% 68%,#d8d0be 0 1px,transparent 2px); background-size:19px 19px,23px 23px; }
.letter-corner { position:absolute; top:35px; right:38px; font:8px/1.7 Arial,sans-serif; letter-spacing:.22em; color:#8e8b80; text-align:right; }
.letter-lines { position:relative; margin-top:80px; display:flex; flex-direction:column; gap:31px; opacity:.55; }
.letter-lines i { height:1px; background:linear-gradient(90deg,#aeb0a7 0 76%,transparent 76%); }
.letter-lines i:nth-child(2) { width:91%; }.letter-lines i:nth-child(3) { width:82%; }.letter-lines i:nth-child(5) { width:94%; }.letter-lines i:nth-child(6) { width:67%; }
.letter-note { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:11px; color:#73766d; }
.letter-note span { font-size:15px; letter-spacing:.18em; padding-bottom:8px; border-bottom:1px solid #b7b8b0; }
.letter-note small { font-size:10px; letter-spacing:.12em; }
.letter-sign { position:absolute; right:11%; bottom:10%; font-size:25px; letter-spacing:.18em; color:#85867e; }
.works { padding:140px 7vw; background:#e6e2d7; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:60px; }
.section-heading h2 { margin-bottom:0; }
.section-heading > p { max-width:390px; font-size:13px; line-height:2; }
.work-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.work-card { background:var(--paper); }
.work-image { aspect-ratio:4/5; display:grid; place-items:center; position:relative; overflow:hidden; background:linear-gradient(145deg,#d8d3c5,#b8b9aa); }
.work-image:before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 23% 25%,rgba(255,255,255,.28),transparent 34%),linear-gradient(120deg,transparent 60%,rgba(44,55,39,.14)); }
.work-image span { position:relative; color:white; font-size:12px; letter-spacing:.2em; border-bottom:1px solid rgba(255,255,255,.65); padding-bottom:7px; }
.work-meta { min-height:132px; padding:24px; display:flex; gap:18px; }
.work-meta > span { font:10px Arial,sans-serif; color:#85897e; }
.work-meta h3 { margin-bottom:10px; font-size:16px; font-weight:400; }
.work-meta p { margin:0; font-size:11px; line-height:1.8; color:#70736b; }
.donation { min-height:670px; padding:120px 9vw; display:grid; grid-template-columns:30% 1fr; align-items:center; position:relative; color:white; background:var(--deep); overflow:hidden; }
.donation-figure { display:flex; align-items:flex-start; color:#dfe5d7; }
.donation-figure strong { font:200 clamp(110px,16vw,230px)/.8 Arial,sans-serif; letter-spacing:-.09em; }
.donation-figure span { font:200 35px Arial,sans-serif; margin:12px 0 0 16px; }
.donation .eyebrow { color:#cdd5c7; }
.donation h2 { max-width:760px; font-size:clamp(34px,4vw,56px); }
.donation-copy > p:last-child { max-width:650px; font-size:14px; line-height:2.1; color:#e2e7de; }
.dog-line { position:absolute; right:-20px; bottom:-130px; font:400px/1 Arial,sans-serif; color:rgba(255,255,255,.035); transform:rotate(-10deg); }
.closing { padding:170px 20px; text-align:center; background:var(--cream); }
.closing h2 { margin-bottom:28px; }
.closing > p:last-child { font-size:13px; letter-spacing:.08em; }
.site-footer { padding:65px 6vw 40px; background:#30332d; color:#f5f3eb; display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:end; }
.footer-brand { grid-column:1/-1; }.site-footer p { margin:0; font-size:11px; letter-spacing:.08em; color:#bdc0b7; }.copyright { text-align:right; font-family:Arial,sans-serif; }
@media (max-width:800px) {
  .site-header { height:72px; }.site-header nav { display:none; }
  .hero-photo { aspect-ratio:3/2; max-height:none; }.hero-photo img { transform-origin:44% top; animation-name:hero-drift-mobile; animation-duration:18s; }
  @keyframes hero-drift-mobile { 0% { transform:scale(1.04) translate3d(.3%,0,0); } 100% { transform:scale(1.09) translate3d(-.5%,-.2%,0); } }
  .hero-copy { padding:62px 8vw 75px; display:block; } h1 { font-size:48px; } h2 { font-size:clamp(24px,6.7vw,29px); }
  h1 .headline-line,h2 .headline-line { display:block; white-space:nowrap; } h1 .headline-line + br,h2 .headline-line + br { display:none; }
  .intro { padding:100px 8vw; grid-template-columns:1fr; gap:20px; }.section-number { margin-bottom:25px; }.intro-body { margin-top:25px; }
  .knit-visual { min-height:0; aspect-ratio:3/2; }.why-story { padding:90px 8vw; }.why-topline { gap:28px; }.why-story blockquote { margin:35px 0; padding-left:20px; font-size:17px; }
  .mother-message { padding:90px 6vw 105px; display:block; }.message-heading { position:static; margin-bottom:55px; gap:25px; }.letter-placeholder { min-height:520px; transform:rotate(-.4deg); }.letter-lines { margin-top:55px; gap:26px; }
  .works { padding:95px 6vw; }.section-heading { align-items:flex-start; flex-direction:column; }.work-grid { grid-template-columns:1fr; gap:28px; }.work-image { aspect-ratio:5/4; }
  .donation { padding:100px 8vw; display:block; }.donation-figure { margin-bottom:70px; }.closing { padding:120px 7vw; }.site-footer { grid-template-columns:1fr; }.copyright { text-align:left; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; }.hero-photo img { animation:none; transform:scale(1.09); } }

