/*
Theme Name: りんごのまるじ
Description: まるじ農園の販売サイト用テーマ。WooCommerceに対応しています。
Version: 0.1.2
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: maruji
*/
:root{--red:#a91d25;--ink:#292621;--cream:#f8f5ed;--line:#e6e0d6;--green:#536145;--width:1200px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;line-height:1.8;-webkit-font-smoothing:antialiased}a{color:inherit;text-underline-offset:.22em}img{max-width:100%;height:auto}.wrap{width:min(calc(100% - 48px),var(--width));margin:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:8px;top:8px;z-index:999;background:#fff;padding:10px}.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{min-height:76px;display:flex;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:800;letter-spacing:.04em;font-size:22px;white-space:nowrap}.brand-symbol{color:var(--red);font-size:25px}.brand-place{font-size:12px;border-left:1px solid #bbb;padding-left:18px;color:#676259}.header-nav{margin-left:auto}.header-nav ul{display:flex;align-items:center;gap:30px;list-style:none;margin:0;padding:0}.header-nav a{text-decoration:none;font-size:14px;font-weight:700}.header-nav a:hover,.footer-links a:hover{color:var(--red)}.cart-link{text-decoration:none;border:1px solid var(--line);border-radius:50%;width:43px;height:43px;display:grid;place-items:center}.hero{min-height:450px;display:flex;align-items:center;background:#ece7db center/cover no-repeat;position:relative}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.93) 0%,rgba(255,255,255,.79) 27%,rgba(255,255,255,0) 67%)}.hero-inner{position:relative;padding:58px 0}.eyebrow{color:var(--red);font-weight:700;font-size:13px;letter-spacing:.13em}.hero h1{font-size:clamp(31px,4.2vw,55px);line-height:1.35;letter-spacing:.06em;margin:14px 0 18px}.hero-copy{font-size:clamp(15px,1.5vw,19px);font-weight:700;margin:0 0 24px}.button{display:inline-flex;align-items:center;justify-content:center;gap:36px;background:var(--red);color:#fff;text-decoration:none;border:0;border-radius:99px;padding:14px 27px;font-size:15px;font-weight:700}.button:hover{background:#85161c;color:#fff}.button span{font-size:20px;line-height:1}.section{padding:76px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}.section-head h2,.story h2{font-size:clamp(26px,3vw,37px);line-height:1.4;letter-spacing:.05em;margin:0}.section-head p{font-size:14px;margin:0;color:#5d5851}.catalog{background:#fff}.catalog ul.products{margin:0!important}.catalog-note{margin:28px 0 0;color:#625b50;font-size:13px}.story{background:var(--cream)}.story-grid{display:grid;grid-template-columns:1fr 1fr;min-height:335px;align-items:stretch}.story-image{background:#e6e3d9 center/cover no-repeat;min-height:280px}.story-content{padding:40px clamp(28px,5vw,68px);align-self:center}.story-content p{font-size:15px;line-height:2}.text-link{color:var(--red);font-size:14px;font-weight:700;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:4px}.guide{background:#faf9f6}.guide-grid{display:grid;grid-template-columns:1fr repeat(3,1fr);gap:30px}.guide-grid h2{font-size:27px;line-height:1.4;margin:0}.guide-item{border-left:1px solid var(--line);padding-left:24px}.guide-item h3{font-size:16px;margin:0 0 8px}.guide-item p{font-size:13px;margin:0 0 10px}.page-main{padding:58px 0 90px;min-height:45vh}.page-main .entry-content{max-width:850px}.site-footer{border-top:1px solid var(--line);padding:38px 0;color:#666;font-size:12px}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.footer-links{display:flex;gap:20px;flex-wrap:wrap}.footer-links a{text-decoration:none}.site-footer p{margin:0}.woocommerce ul.products li.product a img{aspect-ratio:4/3;object-fit:cover;background:#f5f1eb}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:17px;font-weight:700}.woocommerce ul.products li.product .price{color:var(--ink);font-weight:700;font-size:18px}.woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--red);color:white;border-radius:3px}.woocommerce a.button:hover,.woocommerce button.button:hover{background:#85161c;color:#fff}.woocommerce-page .page-title{font-size:32px}.empty-products{border:1px solid var(--line);background:#faf9f6;padding:26px}.empty-products p{margin:0}.site-notice{background:#f4f0e7;padding:12px 0;font-size:13px}.site-notice strong{color:var(--red);margin-right:20px}@media(max-width:760px){.wrap{width:min(calc(100% - 32px),var(--width))}.header-inner{min-height:64px;flex-wrap:wrap;padding:11px 0}.brand{font-size:18px}.brand-place{font-size:10px;padding-left:10px}.header-nav{order:3;width:100%;overflow:auto}.header-nav ul{justify-content:space-between;gap:16px}.header-nav a{font-size:12px;white-space:nowrap}.cart-link{margin-left:auto;width:37px;height:37px}.hero{min-height:420px;background-position:62% center}.hero:before{background:linear-gradient(90deg,rgba(255,255,255,.93),rgba(255,255,255,.76) 50%,rgba(255,255,255,.13))}.hero-inner{padding:50px 0}.hero h1{font-size:31px}.section{padding:54px 0}.section-head{display:block}.section-head p{margin-top:10px}.story-grid{grid-template-columns:1fr}.story-image{min-height:240px}.guide-grid{grid-template-columns:1fr;gap:20px}.guide-item{padding-left:16px}.footer-inner{display:block}.footer-links{margin:18px 0}}

.hero h1{max-width:590px;word-break:normal;overflow-wrap:anywhere}@media(max-width:760px){.hero h1{max-width:350px}}
.entry-content{font-size:16px;line-height:2}.entry-content h2{font-size:24px;line-height:1.5;margin:2.2em 0 .7em;padding-bottom:.45em;border-bottom:1px solid var(--line)}.entry-content h3{font-size:18px;margin:1.5em 0 .6em}.entry-content p{margin:0 0 1.2em}.entry-content ol{padding-left:1.5em}.farm-photo{margin:30px 0;max-width:650px}.farm-photo img{display:block;width:100%;max-height:380px;object-fit:cover;border-radius:4px}.farm-photo--farmer{max-width:300px}.farm-photo--farmer img{max-height:none}
.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:3.2em;line-height:1.5}.woocommerce ul.products li.product .button{display:flex;width:100%;min-height:44px;padding:9px 6px;align-items:center;justify-content:center;text-align:center;line-height:1.35;font-size:13px}
.wpcf7{max-width:680px;margin-top:32px}.wpcf7 label{display:block;font-size:14px;font-weight:700}.wpcf7 label span[aria-hidden]{color:var(--red);font-size:11px;margin-left:8px}.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 textarea{display:block;width:100%;max-width:100%;margin-top:7px;padding:13px 14px;border:1px solid #b8b2a7;border-radius:4px;background:#fff;color:var(--ink);font:inherit;line-height:1.6}.wpcf7 textarea{min-height:180px;resize:vertical}.wpcf7 input:focus,.wpcf7 textarea:focus{outline:2px solid var(--red);outline-offset:2px}.wpcf7 input[type=submit]{border:0;border-radius:99px;background:var(--red);color:#fff;padding:14px 38px;font:inherit;font-weight:700;cursor:pointer}.wpcf7 input[type=submit]:hover{background:#85161c}.wpcf7 .wpcf7-response-output{margin:1.5em 0;padding:14px 18px;font-size:14px}
.shop-shipping-note{clear:both;padding:12px 16px;margin:0 0 22px;border-left:3px solid var(--red);background:var(--cream);font-size:14px;line-height:1.7}
