/*
Theme Name: ファーマーズ白州
Description: 白州の田園と清流を伝える、専用ブロックテーマ。外観のエディターから文章と写真を編集できます。
Version: 1.0.0
Author: Farmers Hakushu
Text Domain: farmers-hakushu
*/

:root{--paper:#f7f5ed;--ink:#273f32;--muted:#596659;--line:#d6dccf;--accent:#c4ce78}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;line-height:1.95;font-size:18px}a{color:inherit}a:focus-visible{outline:3px solid #91742c;outline-offset:6px}.wrap{width:min(1140px,88%);margin:auto}.draft{background:var(--ink);color:white;font-size:12px;text-align:center;padding:7px 15px;letter-spacing:.07em}header{border-bottom:1px solid var(--line)}.head{display:flex;align-items:center;justify-content:space-between;padding:23px 0;gap:24px}.brand{text-decoration:none;font-family:"Yu Mincho",serif;font-size:27px;font-weight:600;letter-spacing:.15em}.brand{letter-spacing:.06em}.brand small{font-size:13px;letter-spacing:.05em;margin-right:10px}nav{display:flex;gap:28px;font-size:14px}nav a{text-decoration:none}nav a:hover{text-decoration:underline}.hero{position:relative;overflow:hidden;padding:82px 0 0}.eyebrow{font-size:12px;letter-spacing:.18em;font-weight:700;display:flex;align-items:center;gap:12px}.eyebrow:before{content:"";display:block;width:28px;height:1px;background:currentColor}h1,h2,h3{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:500}h1{font-size:clamp(39px,5.5vw,70px);letter-spacing:.08em;line-height:1.6;margin:24px 0}h1 span{display:block}.hero-copy{max-width:660px}.hero p{max-width:620px;color:var(--muted)}.buttons{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}.button{display:inline-flex;justify-content:space-between;gap:35px;align-items:center;background:var(--ink);color:#fff;text-decoration:none;padding:15px 23px;font-size:16px;border:1px solid var(--ink)}.button.secondary{background:transparent;color:var(--ink)}.button:hover{background:#456049;color:white}.landscape{display:block;width:100%;height:220px;margin-top:25px}.hero-label{position:absolute;right:6%;top:110px;writing-mode:vertical-rl;font-family:serif;letter-spacing:.3em;font-size:16px}.intro{background:#e9eddf;padding:65px 0}.intro .wrap{display:grid;grid-template-columns:1fr 1.25fr;gap:70px}h2{font-size:clamp(28px,3vw,39px);line-height:1.65;margin:18px 0 28px;letter-spacing:.06em}p{margin:0 0 20px}.intro p:last-child{margin:0}section.content{padding:86px 0;border-bottom:1px solid var(--line)}.section-top{display:flex;justify-content:space-between;align-items:end;gap:30px}.section-top p{font-size:16px;color:var(--muted);max-width:390px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:28px}.card{border-top:1px solid var(--ink);padding-top:22px}.number{font-family:Georgia,serif;font-size:18px;color:#6a7d50}.card h3{font-size:25px;margin:18px 0}.card p{font-size:16px;color:var(--muted)}.note{font-size:14px;color:var(--muted)}.join{display:grid;grid-template-columns:.8fr 1fr;gap:65px}.join-art{background:#dce3cc;min-height:300px;display:flex;align-items:center;justify-content:center;border-radius:50% 50% 0 0}.join-art svg{width:75%;max-height:270px}.company{display:grid;grid-template-columns:.8fr 1.2fr;gap:50px}dl{margin:0}dl div{display:grid;grid-template-columns:120px 1fr;gap:20px;border-bottom:1px solid var(--line);padding:18px 0;font-size:16px}dt{color:var(--muted)}dd{margin:0}.contact{margin:75px auto;background:var(--ink);padding:52px;color:var(--paper)}.contact h2{margin-top:0}.contact p{max-width:740px}.pending{border-top:1px solid #6c7e6e;padding-top:20px;font-size:15px}.contact small{color:#d8dfce}footer{display:flex;justify-content:space-between;gap:20px;padding:20px 0 35px;font-size:12px;color:var(--muted)}@media(max-width:700px){body{font-size:17px}.head{align-items:flex-start;flex-direction:column;gap:12px;padding:16px 0}.brand{font-size:clamp(19px,5.3vw,25px)}nav{gap:22px;font-size:13px}.hero{padding-top:42px}.hero-label{display:none}h1{font-size:39px}.landscape{height:135px;margin-top:35px}.intro{padding:45px 0}.intro .wrap,.join,.company{grid-template-columns:1fr;gap:22px}.cards{grid-template-columns:1fr;gap:20px}.section-top{display:block}.section-top p{max-width:none}section.content{padding:52px 0}.join-art{min-height:230px;max-width:350px;width:100%;margin:auto}.contact{padding:30px 24px;margin:45px auto}.button{width:100%}dl div{grid-template-columns:90px 1fr;gap:12px}footer{flex-direction:column;gap:3px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Local landscape photographs; original image credits remain visible. */
.hero{padding:64px 0 58px}.hero-grid{display:grid;grid-template-columns:1fr 1.12fr;gap:38px;align-items:center}.hero-copy{min-width:0}h1{font-size:clamp(32px,3.25vw,48px);letter-spacing:.035em}.hero p{font-size:17px}.hero p br{display:none}.hero .buttons{gap:12px}.hero .button{font-size:15px;padding:13px 18px;gap:20px}.hero-photo,.mountain-photo{margin:0;min-width:0}.hero-photo img,.mountain-photo img{display:block;width:100%;height:auto}.hero-photo{position:relative}.hero-photo:before{content:"";position:absolute;inset:-16px 20px 45px -16px;border:1px solid var(--line);z-index:-1}figcaption{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);padding-top:12px}figcaption a{text-underline-offset:3px}.join{grid-template-columns:1.1fr 1fr;align-items:center;gap:48px}.photo-note{font-size:12px;color:var(--muted);margin:0 auto 20px}
@media(max-width:1000px){.head{flex-wrap:wrap}.hero-grid{grid-template-columns:1fr;gap:34px}.hero-copy{max-width:700px}.hero p{max-width:610px}h1{font-size:48px}.hero-photo{max-width:760px;width:100%;margin:auto}.hero .buttons{flex-wrap:wrap}}
@media(max-width:700px){.hero{padding:36px 0 35px}h1{font-size:clamp(28px,7.6vw,39px)}.hero-grid{gap:30px}.hero-photo:before{inset:-10px 12px 42px -10px}.join{grid-template-columns:1fr;gap:25px}figcaption{font-size:11px}.hero .button{width:100%}.brand small{margin-right:6px}}
.river-section{padding:22px 0 65px}.river-photo{margin:0}.river-photo img{display:block;width:100%;height:auto}.river-copy{margin:28px 0 0;color:var(--muted)}@media(max-width:700px){.river-section{padding:12px 0 40px}.river-copy{font-size:16px}}
.local-gallery{display:grid;grid-template-columns:.8fr 1.2fr;gap:32px;align-items:center}@media(max-width:700px){.local-gallery{grid-template-columns:1fr}}
.company-name span{display:block;white-space:nowrap}.company-name{font-size:clamp(24px,2.8vw,36px)}
.company-address span{display:block;white-space:nowrap}.company-address{font-size:clamp(13px,1.5vw,16px)}
.company-address span:last-child{text-align:right}

/* WordPress block layout: retain the original site spacing. */
.wp-site-blocks{padding:0}.wp-site-blocks>*{margin-block:0}.wp-block-group>*{margin-block-start:0;margin-block-end:0}
.wp-block-group>p{margin-bottom:20px}.wp-block-group>h1{margin:24px 0}.wp-block-group>h2{margin:18px 0 28px}.wp-block-group>h3{margin:18px 0}
.wp-block-group.wrap{margin-left:auto;margin-right:auto}.wp-block-group.contact{margin-top:75px;margin-bottom:75px}
.wp-block-image{margin:0}.wp-block-image img{display:block;width:100%;height:auto}.wp-block-image figcaption{margin:0}
.wp-block-video{margin:0}.wp-block-video video{display:block;width:100%;max-height:75vh;background:#17251d}
.company-row{display:grid;grid-template-columns:120px 1fr;gap:20px;border-bottom:1px solid var(--line);padding:18px 0;font-size:16px}
.company-row p{margin:0}.company-label{color:var(--muted)}.company-value{min-width:0}
#kominka>.wp-block-image,#bath-plan>.wp-block-image{margin-bottom:30px}
.draft{margin:0!important}.eyebrow{margin:0!important}.pending{margin:0!important}.pending small{color:#d8dfce}
footer>p{margin:0!important}header .brand p{margin:0}.photo-note{margin-top:0;margin-bottom:20px}
@media(max-width:700px){.company-row{grid-template-columns:90px 1fr;gap:12px}.wp-block-group.contact{margin-top:45px;margin-bottom:45px}}

/* Readable wrapping across desktop and mobile (2026-10-10). */
.wp-site-blocks p,.wp-site-blocks li,.wp-site-blocks dd{line-break:strict;word-break:normal;overflow-wrap:break-word;text-wrap:pretty;}
.wp-site-blocks .note,.wp-site-blocks .photo-note,.wp-site-blocks figcaption,.wp-site-blocks h1,.wp-site-blocks h2,.wp-site-blocks h3{ text-wrap:balance; }
.wp-site-blocks figcaption{flex-wrap:wrap;}
.wp-site-blocks figcaption a{display:inline-block;}
