/*
Theme Name: 京屋総本舗 — 縁
Theme URI: https://kyoyasouhonpo.com/
Author: Kyoya Souhonpo
Description: 既存の写真と文章を活かした京屋総本舗専用テーマ。レスポンシブ対応・カスタマイザー対応。
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: kyoya-renewal
*/
:root{--paper:#f3f0e9;--ink:#242822;--muted:#6b6f64;--red:#9e342c;--line:#cfcfc3;--serif:"Yu Mincho","Hiragino Mincho ProN",serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;font-size:15px;line-height:2}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}button,input,textarea,select{font:inherit}a,button{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--red);outline-offset:6px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--serif);font-weight:500}p{line-height:2.2}header{height:106px;padding:0 4.2%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:relative;z-index:10;background:var(--paper)}.brand{display:flex;align-items:center;gap:15px}.seal{border:1px solid var(--red);color:var(--red);font:25px/1.2 var(--serif);padding:6px 4px;writing-mode:vertical-rl}.brand-title{font:27px var(--serif);letter-spacing:.14em}.brand small{display:block;font:9px/2 sans-serif;letter-spacing:.24em;margin-top:8px}.desktop-nav{display:flex;gap:30px;align-items:center;font-size:12px;letter-spacing:.1em}.desktop-nav a:hover,.text-link:hover{color:var(--red)}.desktop-nav .nav-contact{padding:12px 25px;background:var(--ink);color:white}.mobile-menu{display:none}.hero{min-height:670px;height:calc(100svh - 106px);max-height:930px;position:relative;display:grid;grid-template-columns:31% 69%;padding-bottom:48px}.hero-side{padding:64px 0 0 15%;position:relative}.eyebrow{font-size:10px;font-family:sans-serif;letter-spacing:.22em;color:var(--muted);text-transform:uppercase}.hero h1{writing-mode:vertical-rl;font-size:clamp(34px,3.3vw,52px);letter-spacing:.2em;line-height:1.85;margin:34px auto 0}.hero h1 span{display:block}.hero-image{position:relative;overflow:hidden;margin-top:32px}.hero-image img{width:100%;height:100%;object-fit:cover;object-position:44% center}.hero-caption{position:absolute;right:30px;bottom:24px;color:white;font-size:11px;letter-spacing:.18em;text-shadow:0 1px 5px black}.hero-bottom{position:absolute;bottom:7px;left:4.6%;right:4.6%;display:flex;justify-content:space-between;font-size:10px;letter-spacing:.2em}.hero-bottom a:after{content:' ↓';margin-left:20px}.wrap{max-width:1200px;margin:auto;padding:0 6%}.section{padding-top:120px;padding-bottom:120px}.intro{display:grid;grid-template-columns:1fr 1.2fr;gap:12%;border-bottom:1px solid var(--line)}.section-no{font:11px sans-serif;color:var(--red);letter-spacing:.13em}.section h2{font-size:clamp(29px,3.2vw,46px);line-height:1.65;letter-spacing:.12em;margin:22px 0 30px}.intro-copy{padding-top:45px}.text-link{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--ink);padding:15px 0;max-width:290px;font-size:12px;letter-spacing:.1em}.arrow{font-size:23px;font-family:sans-serif}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:45px}.section-head h2{margin-bottom:0}.feature{display:grid;grid-template-columns:1.35fr 1fr;align-items:center;gap:8%}.feature img{width:100%;aspect-ratio:1.35;object-fit:cover}.feature h3{font-size:29px;line-height:1.7;letter-spacing:.1em}.feature p{font-size:14px}.feature-sub{font:11px sans-serif;letter-spacing:.18em;color:var(--red);margin-bottom:20px}.products{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:60px}.products div{padding:25px;text-align:center}.products div+div{border-left:1px solid var(--line)}.products h3{font-size:20px;margin-bottom:5px}.products p{font-size:11px;margin:0;color:var(--muted)}.shop-section{background:#e9e7de}.shop-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:40px 32px}.shop-card .photo{overflow:hidden}.shop-card img{width:100%;aspect-ratio:1.6;object-fit:cover;transition:transform .5s}.shop-card:hover img{transform:scale(1.035)}.shop-card .label{font:10px sans-serif;letter-spacing:.15em;color:var(--muted);margin:21px 0 10px}.shop-card h3{font-size:24px;margin-bottom:10px}.shop-card p{font-size:13px;margin-bottom:12px}.shop-card .text-link{max-width:none}.story{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:center}.story img{aspect-ratio:1;object-fit:cover;width:100%}.community{border-top:1px solid var(--line);padding:40px 0;display:flex;gap:30px;justify-content:space-between;align-items:center}.community h3{margin:0;font-size:23px}.community p{font-size:13px;margin:8px 0 0}.community .text-link{width:220px;flex-shrink:0}.news{border-top:1px solid var(--line);padding:24px 0;display:grid;grid-template-columns:140px 1fr;gap:20px}.news time{font-size:12px;color:var(--muted)}.contact{background:var(--ink);color:var(--paper);padding:78px 0}.contact .wrap{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:center}.contact h2{font:40px var(--serif);margin:16px 0}.contact .eyebrow{color:#c6c5b7}.contact p{font-size:13px}.phone{font-family:var(--serif);font-size:39px;letter-spacing:.04em}.contact .text-link{border-color:#b0b2a4;max-width:none}footer{padding:60px 6% 28px}footer .footer-top{display:flex;justify-content:space-between;gap:40px}footer address{font-style:normal;font-size:12px;line-height:2;margin-top:20px}footer nav{display:flex;gap:25px;font-size:12px;flex-wrap:wrap}footer .copyright{border-top:1px solid var(--line);margin-top:45px;padding-top:24px;font:9px sans-serif;letter-spacing:.14em;display:flex;justify-content:space-between}.skip{position:absolute;top:-100px;left:15px;background:white;padding:12px;z-index:100}.skip:focus{top:10px}.page-hero{padding:75px 0 55px;border-bottom:1px solid var(--line)}.page-hero h1{font-size:48px;letter-spacing:.15em;margin:15px 0}.entry{max-width:1000px;padding-top:65px;padding-bottom:100px;overflow-wrap:anywhere}.entry h2{font-size:30px;margin-top:60px}.entry h3{font-size:23px;margin-top:35px}.entry p{margin-bottom:25px}.entry img{margin:25px auto;max-height:600px;object-fit:contain}.entry table{border-collapse:collapse;width:100%;margin:35px 0;font-size:14px}.entry th,.entry td{padding:18px;border-bottom:1px solid var(--line);text-align:left}.entry ul{padding-left:1.4em}.entry a{text-decoration:underline;text-underline-offset:4px}.entry input:not([type=checkbox]):not([type=submit]),.entry textarea,.entry select{max-width:100%;width:100%;padding:12px;border:1px solid #999;background:#fff}.entry input[type=submit]{background:var(--ink);color:white;border:0;padding:15px 36px;cursor:pointer}.entry .alignwide{width:100%}.entry iframe{max-width:100%}.pagination{padding:30px 0}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.admin-bar header{margin-top:0}body.menu-open{overflow:hidden}
@media(min-width:1500px){.hero-side{padding-top:95px}.hero h1{margin-top:55px}}@media(max-width:1000px){.desktop-nav{gap:16px}.brand-title{font-size:23px}.hero{grid-template-columns:36% 64%;min-height:610px}.hero-side{padding-left:10%}.hero h1{font-size:36px}.feature{gap:6%}.wrap{padding-left:7%;padding-right:7%}}@media(max-width:760px){header{height:86px;padding:0 6%}.brand-title{font-size:21px}.brand small{font-size:8px}.seal{font-size:21px}.desktop-nav{display:none}.mobile-menu{display:block}.mobile-menu summary{list-style:none;font:10px sans-serif;letter-spacing:.15em;cursor:pointer;position:relative;z-index:22;padding:12px 0}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu summary:after{content:' ☰';font-size:18px}.mobile-menu[open] summary:after{content:' ×'}.mobile-menu nav{position:absolute;top:85px;left:0;right:0;background:var(--paper);padding:30px 8% 45px;box-shadow:0 16px 20px #0002;display:grid;gap:8px}.mobile-menu nav a{padding:10px;border-bottom:1px solid var(--line);font-family:var(--serif);font-size:20px}.hero{height:auto;min-height:0;display:flex;flex-direction:column;padding-bottom:38px}.hero-side{padding:26px 7% 32px;display:flex;justify-content:space-between;align-items:start}.hero .eyebrow{writing-mode:vertical-rl;margin-top:10px;font-size:9px}.hero h1{font-size:31px;line-height:1.9;margin:0 12% 0 0;letter-spacing:.14em}.hero-image{margin:0 0 0 7%;height:350px}.hero-caption{font-size:9px;right:15px;bottom:15px}.hero-bottom{font-size:8px;left:7%;right:7%;bottom:7px}.section{padding-top:70px;padding-bottom:70px}.intro,.feature,.story{grid-template-columns:1fr;gap:30px}.intro-copy{padding-top:0}.section h2{font-size:32px;margin-top:14px}.section-head{display:block;margin-bottom:30px}.section-head>.text-link{margin-top:20px}.feature h3{font-size:27px}.products{margin-top:35px}.products div{padding:18px 6px}.products h3{font-size:17px}.products p{font-size:9px}.shop-grid{grid-template-columns:1fr;gap:35px}.shop-card h3{font-size:22px}.story img{aspect-ratio:1.4}.community{align-items:start;flex-direction:column;gap:15px}.community h3{font-size:22px}.contact{padding:55px 0}.contact .wrap{grid-template-columns:1fr;gap:22px}.contact h2{font-size:33px}.phone{font-size:34px}footer .footer-top{flex-direction:column}footer nav{gap:18px}.page-hero{padding:45px 0 30px}.page-hero h1{font-size:34px}.entry{padding-top:35px}.entry h2{font-size:27px}.entry th,.entry td{padding:12px 7px}.news{grid-template-columns:1fr;gap:5px}footer .copyright{gap:15px;font-size:8px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.custom-nav{list-style:none;display:flex;gap:25px;padding:0;margin:0}.mobile-menu .custom-nav{display:grid;gap:10px}.entry figure{max-width:100%;margin-left:0;margin-right:0}.entry .shop-menu{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
