/*
Theme Name: EMGLASS Corporate
Theme URI: https://example.com/emglass-corporate
Author: EMGLASS合同会社
Description: EMGLASS合同会社向けオリジナル企業・ECテーマ。会社概要、サービス、実績、採用、お問い合わせ、商品販売に対応。
Version: 3.7.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: emglass
*/
:root{--ink:#121212;--muted:#6a6a6a;--line:#dededb;--bg:#f6f6f3;--white:#fff;--accent:#a57b37;--max:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Noto Sans JP",Arial,sans-serif;line-height:1.8;background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(var(--max),92%);margin:auto}.site-header{position:fixed;z-index:100;top:0;left:0;width:100%;padding:18px 0;background:rgba(255,255,255,.88);backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,.06)}.nav{display:flex;align-items:center;justify-content:space-between;gap:28px}.logo{font-size:22px;font-weight:800;letter-spacing:.18em}.menu{display:flex;gap:25px;align-items:center;font-size:15px;letter-spacing:.08em}.menu a:hover{opacity:.55}.menu-toggle{display:none;background:none;border:0;font-size:24px}.hero{min-height:100vh;display:flex;align-items:flex-end;padding:160px 0 88px;background:linear-gradient(135deg,#202020,#7a7a76);color:#fff;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 75% 25%,rgba(255,255,255,.18),transparent 35%)}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.58),rgba(0,0,0,.08))}.hero .container{position:relative;z-index:2}.eyebrow{font-size:11px;letter-spacing:.28em;text-transform:uppercase}.hero h1{font-size:clamp(48px,8.5vw,108px);line-height:.98;margin:22px 0;letter-spacing:-.045em;max-width:1000px}.hero p{font-size:18px;max-width:680px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.section{padding:110px 0}.section.alt{background:var(--bg)}.section-head{display:flex;justify-content:space-between;gap:50px;margin-bottom:55px}.section-title{font-size:clamp(34px,5vw,60px);line-height:1.05;margin:0}.section-lead{max-width:570px;color:var(--muted);margin:0}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.card{padding:34px;background:#fff;border:1px solid var(--line);transition:.3s}.card:hover{transform:translateY(-5px);box-shadow:0 15px 35px rgba(0,0,0,.07)}.num{font-size:11px;color:var(--accent);letter-spacing:.16em}.card h3{font-size:22px;margin:18px 0 10px}.btn{display:inline-block;padding:12px 22px;border:1px solid currentColor;font-size:12px;letter-spacing:.08em;cursor:pointer;background:transparent}.btn.dark{background:#111;color:#fff;border-color:#111}.btn.light{background:#fff;color:#111;border-color:#fff}.btn:hover{opacity:.72}.stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.stat{padding:30px;border-right:1px solid var(--line)}.stat:last-child{border-right:0}.stat strong{display:block;font-size:40px;line-height:1.1}.stat span{color:var(--muted);font-size:12px}.notice{padding:22px;border-left:3px solid var(--accent);background:var(--bg)}.products{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.product{border:1px solid var(--line);background:#fff}.product-image{aspect-ratio:1/1;background:#e8e8e6;display:flex;align-items:center;justify-content:center;color:#888}.product-body{padding:24px}.product-body h3{font-size:22px}.tag{display:inline-block;font-size:10px;border:1px solid var(--line);padding:3px 8px;margin-bottom:8px}.price{font-size:21px;font-weight:700;margin:8px 0}.meta-row{display:grid;grid-template-columns:160px 1fr;border-top:1px solid var(--line);padding:13px 0}.meta-row:last-child{border-bottom:1px solid var(--line)}.meta-row strong{font-size:12px}.contact-form{display:grid;gap:18px;max-width:760px}.contact-form label{font-size:12px;font-weight:700}.contact-form input,.contact-form textarea,.contact-form select{width:100%;padding:14px;border:1px solid #ccc;background:#fff;font:inherit}.contact-form textarea{min-height:170px}.site-footer{padding:70px 0 35px;background:#111;color:#fff}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer-small{color:#aaa;font-size:11px}.single-main{padding:150px 0 90px}.single-main h1{font-size:clamp(38px,6vw,70px);line-height:1.08}.entry{max-width:860px}.entry table{border-collapse:collapse;width:100%}.entry th,.entry td{border:1px solid var(--line);padding:12px;text-align:left}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start}.product-detail .thumb{background:var(--bg)}.archive-intro{margin-bottom:50px}.screen-reader-text{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
@media(max-width:800px){.menu{display:none;position:absolute;top:67px;left:0;width:100%;background:#fff;padding:20px;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}.menu.open{display:flex}.menu-toggle{display:block}.grid,.products,.footer-grid,.stats,.product-detail{grid-template-columns:1fr}.stat{border-right:0;border-bottom:1px solid var(--line)}.section{padding:78px 0}.section-head{display:block}.section-head .section-lead{margin-top:20px}.hero{min-height:86vh}.hero h1{font-size:54px}.meta-row{grid-template-columns:1fr}.product-detail{gap:28px}}
.hero-business{font-size:clamp(20px,3vw,34px)!important;font-weight:600;letter-spacing:.08em;margin:8px 0 18px}.business-feature{display:grid;grid-template-columns:1.05fr .95fr;min-height:560px;margin:0 0 70px;background:#f6f6f4}.business-feature.reverse{direction:rtl}.business-feature.reverse>*{direction:ltr}.business-copy{padding:70px;align-self:center}.business-copy h3{font-size:clamp(30px,4vw,52px);line-height:1.2;margin:18px 0 25px}.business-visual{min-height:480px;display:flex;align-items:flex-end;padding:45px;background:linear-gradient(145deg,#222,#777);color:#fff;overflow:hidden;position:relative}.business-visual.ec{background:linear-gradient(145deg,#b9b5aa,#4d4b47)}.business-visual span{font-size:clamp(42px,7vw,88px);font-weight:800;line-height:.88;letter-spacing:-.04em;opacity:.85}.closing-copy{text-align:center;padding:35px 0}.closing-copy h2{font-size:clamp(30px,5vw,58px);line-height:1.35;margin:18px auto 35px}.dark-text{color:#555}.page-links{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.page-link{padding:30px;border:1px solid var(--line)}
@media(max-width:800px){.business-feature,.business-feature.reverse{grid-template-columns:1fr;direction:ltr}.business-copy{padding:38px 26px}.business-visual{min-height:330px}.page-links{grid-template-columns:1fr}}

/* v1.2 商品販売拡張 */
.product .product-thumb-link{display:block;overflow:hidden;background:#fff}.product .product-thumb-link img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff}.product-purchase{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.qty-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.qty-row label{font-size:12px;font-weight:700}.qty-input{width:86px!important;min-height:43px;padding:8px;border:1px solid #bbb;background:#fff;font:inherit;text-align:center}.cart-status{font-size:12px;color:var(--muted);margin-top:8px;min-height:1.5em}.cart-float{position:fixed;right:22px;bottom:22px;z-index:90;background:#111;color:#fff;padding:11px 15px;border-radius:999px;font-size:12px;box-shadow:0 10px 28px rgba(0,0,0,.2)}.cart-float span{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;margin-left:7px;background:#fff;color:#111;border-radius:99px;font-weight:700}.cart-table{width:100%;border-collapse:collapse;margin:25px 0}.cart-table th,.cart-table td{border-bottom:1px solid var(--line);padding:15px 10px;text-align:left}.cart-total{font-size:26px;font-weight:800;text-align:right;margin:25px 0}.cart-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}.sample-badge{display:inline-block;margin-bottom:14px;padding:5px 10px;background:#111;color:#fff;font-size:10px;letter-spacing:.12em}
@media(max-width:700px){.cart-table thead{display:none}.cart-table,.cart-table tbody,.cart-table tr,.cart-table td{display:block;width:100%}.cart-table tr{padding:15px 0;border-bottom:1px solid var(--line)}.cart-table td{border:0;padding:5px 0}.cart-table td:before{content:attr(data-label);display:inline-block;min-width:90px;font-size:11px;color:var(--muted)}}

/* v1.4 editable home */
.hero.has-image{background-size:cover;background-position:center}.hero.has-image:before{background:linear-gradient(120deg,rgba(0,0,0,.12),rgba(0,0,0,.08))}.home-business-image{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.business-visual.has-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.34),rgba(0,0,0,.02))}.business-visual.has-photo>*{position:relative;z-index:2}.business-copy .business-text p:first-child{margin-top:0}.business-copy .business-text p:last-child{margin-bottom:0}


/* v1.5 Order flow */
.order-step{display:flex;gap:0;margin:0 0 42px;border:1px solid var(--line);background:#fff}.order-step span{flex:1;padding:14px 12px;text-align:center;font-size:13px;color:var(--muted);border-right:1px solid var(--line)}.order-step span:last-child{border-right:0}.order-step span.active{background:#111;color:#fff}.order-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);gap:50px;align-items:start}.order-form-box,.order-summary-box{background:#fff;border:1px solid var(--line);padding:34px}.order-form-box h2,.order-summary-box h2{margin-top:0}.order-form{display:grid;gap:20px}.form-grid{display:grid;gap:18px}.form-grid.two{grid-template-columns:1fr 1fr}.required{display:inline-block;background:#111;color:#fff;padding:1px 6px;margin-left:5px;font-size:10px;font-weight:500;vertical-align:middle}.form-required-note{font-size:13px;color:var(--muted)}.order-consent{display:flex;align-items:flex-start;gap:10px;font-weight:400}.order-consent input{width:auto;margin-top:7px}.order-submit{font-size:16px;padding:17px 28px}.order-submit:disabled{opacity:.35;cursor:not-allowed}.order-form-message{color:#a00}.order-summary-box{position:sticky;top:110px}.order-summary-row{display:flex;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}.order-summary-row small{display:block;color:var(--muted);margin-top:3px}.order-summary-total{display:flex;justify-content:space-between;align-items:center;margin:24px 0;font-size:18px}.order-summary-total strong{font-size:24px}.text-link{text-decoration:underline;font-size:13px}.order-complete{max-width:760px;padding:50px;border:1px solid var(--line);background:#fff}.order-complete h2{font-size:34px}.cart-actions .btn.dark{min-width:230px;text-align:center}
@media(max-width:800px){.order-layout{grid-template-columns:1fr;gap:25px}.form-grid.two{grid-template-columns:1fr}.order-summary-box{position:static}.order-step span{font-size:11px;padding:11px 5px}.order-form-box,.order-summary-box{padding:22px}.cart-actions{display:grid;gap:12px}.cart-actions .btn{width:100%;text-align:center}}


/* v1.6 supplied homepage design */
:root{--emg-teal:#0da5c4;--emg-navy:#122235;--emg-light:#f7f9fa}
.site-header{position:relative;top:auto;background:#fff;border-bottom:0;padding:18px 0;box-shadow:none;z-index:100}.site-header .container{width:min(1460px,94%)}
.nav{min-height:76px}.logo{display:flex;align-items:center;flex:0 0 auto}.logo .custom-logo-link{display:flex;align-items:center}.logo img,.logo .custom-logo{display:block;width:auto;max-width:330px;height:64px;object-fit:contain}.emglass-default-logo{height:64px!important;width:auto!important;max-width:330px!important}
.menu-wrap{margin-left:auto}.menu{gap:48px;font-size:15px;font-weight:700;letter-spacing:.02em;align-items:center}.menu li{display:flex;align-items:center}.menu a{padding:16px 0;color:var(--emg-navy)}.menu li:last-child a,.menu .menu-shop{background:var(--emg-teal);color:#fff!important;padding:17px 25px}.menu li:last-child a:hover,.menu .menu-shop:hover{opacity:.88}
.home-v16-hero{position:relative;min-height:445px;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;color:#fff}.home-v16-hero-overlay{position:absolute;inset:0;background:rgba(16,35,52,.30)}.home-v16-hero-inner{position:relative;z-index:2;text-align:center;padding:80px 20px}.home-v16-hero h1{font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(40px,4.4vw,68px);line-height:1.35;letter-spacing:.045em;margin:0 0 20px;text-shadow:0 2px 12px rgba(0,0,0,.34);font-weight:600}.home-v16-hero p{font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(16px,1.65vw,24px);letter-spacing:.12em;margin:0 auto;max-width:920px;text-shadow:0 2px 8px rgba(0,0,0,.45)}.v16-hero-button{display:inline-block;margin-top:28px;background:var(--emg-teal);padding:14px 24px;color:#fff;font-weight:700}
.home-v16-business-section{background:#fff;padding:54px 0 72px}.home-v16-business-section .container{width:min(1460px,94%)}.home-v16-business-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:68px}.home-v16-business-card{display:grid;grid-template-columns:48% 52%;min-height:355px;background:#fff}.home-v16-business-photo{position:relative;overflow:hidden;min-height:355px;background:#e9eef1;display:flex;align-items:center;justify-content:center;color:#64707a;font-size:28px;font-weight:800}.home-v16-business-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.home-v16-business-copy{padding:40px 0 24px 36px;display:flex;flex-direction:column;align-items:flex-start}.home-v16-label{font-size:24px;font-weight:800;color:var(--emg-navy);display:flex;align-items:center;gap:14px;margin-bottom:2px}.home-v16-icon{color:var(--emg-teal);font-size:36px;line-height:1}.home-v16-business-copy h2{font-size:15px;font-weight:600;margin:0 0 38px;color:var(--emg-navy)}.home-v16-business-text{font-size:16px;line-height:2;color:var(--emg-navy);margin-bottom:auto}.home-v16-business-text p{margin-top:0}.home-v16-more{display:inline-flex;align-items:center;justify-content:center;gap:26px;margin-top:28px;background:var(--emg-teal);color:#fff;padding:13px 30px;font-weight:800;min-width:172px}.home-v16-more span{font-size:25px;line-height:.8}.home-v16-more:hover{opacity:.86}
@media(max-width:1050px){.menu{gap:24px}.logo img,.logo .custom-logo,.emglass-default-logo{height:52px!important;max-width:270px!important}.home-v16-business-grid{gap:30px}.home-v16-business-card{grid-template-columns:45% 55%}.home-v16-business-copy{padding-left:24px}}
@media(max-width:800px){.site-header{padding:10px 0}.nav{min-height:54px}.logo img,.logo .custom-logo,.emglass-default-logo{height:42px!important;max-width:220px!important}.menu{top:74px;gap:0}.menu li{width:100%}.menu a{width:100%;padding:13px 10px}.menu li:last-child a,.menu .menu-shop{padding:13px 10px}.home-v16-hero{min-height:430px}.home-v16-hero h1{font-size:38px}.home-v16-business-section{padding:34px 0 56px}.home-v16-business-grid{grid-template-columns:1fr;gap:42px}.home-v16-business-card{grid-template-columns:1fr}.home-v16-business-photo{min-height:300px}.home-v16-business-copy{padding:28px 6px 0}.home-v16-label{font-size:22px}.home-v16-business-copy h2{margin-bottom:24px}}

/* v1.9: Kishu Binchotan landing page */
.kishu-page{background:#fff}.kishu-page .kishu-hero{padding:190px 0 110px;background:linear-gradient(135deg,#111 0%,#2b2b2b 58%,#444 100%);color:#fff;position:relative;overflow:hidden}.kishu-page .kishu-hero:after{content:"紀州備長炭";position:absolute;right:-.03em;bottom:-.23em;font-family:serif;font-size:clamp(95px,17vw,260px);font-weight:700;letter-spacing:-.08em;color:rgba(255,255,255,.035);white-space:nowrap;pointer-events:none}.kishu-page .kishu-hero-inner{position:relative;z-index:2;max-width:900px}.kishu-page .kishu-kicker{font-size:12px;letter-spacing:.28em;text-transform:uppercase;color:#ddd}.kishu-page .kishu-hero h1{font-family:serif;font-size:clamp(48px,8vw,94px);font-weight:500;line-height:1.08;margin:20px 0 22px;letter-spacing:.02em}.kishu-page .kishu-hero p{font-size:clamp(16px,2vw,20px);max-width:690px;color:#e2e2e2}.kishu-page .kishu-content{padding:100px 0 120px}.kishu-page .entry-content{max-width:1120px;margin:auto}.kishu-page .entry-content>h2,.kishu-page .entry-content .wp-block-group h2{font-family:serif;font-size:clamp(34px,5vw,54px);font-weight:500;line-height:1.25;margin-top:90px}.kishu-page .entry-content h3{font-size:23px}.kishu-page .entry-content p{font-size:16px}.kishu-page .wp-block-columns{gap:30px;margin:45px 0}.kishu-page .wp-block-column{padding:30px;border:1px solid #e2e2e2;background:#fff}.kishu-page .wp-block-image,.kishu-page .wp-block-video,.kishu-page figure{margin:45px 0}.kishu-page .wp-block-image img,.kishu-page video{width:100%;display:block}.kishu-page .kishu-media-placeholder{display:flex;align-items:center;justify-content:center;min-height:280px;margin:42px 0;border:1px dashed #aaa;background:#f6f6f4;color:#777;text-align:center;padding:30px}.kishu-page .kishu-product-cta{margin-top:90px;padding:64px 7%;background:#151515;color:#fff;text-align:center}.kishu-page .kishu-product-cta h2{margin:0 0 15px;color:#fff}.kishu-page .kishu-product-cta p{max-width:650px;margin:0 auto 28px;color:#ddd}.kishu-page .kishu-product-cta .btn{border-color:#fff}.kishu-page .wp-block-button__link{border-radius:0;background:#111;color:#fff;padding:14px 28px}.kishu-page .kishu-note{font-size:13px;color:#777;background:#f6f6f4;padding:18px 22px;border-left:3px solid #111}@media(max-width:800px){.kishu-page .kishu-hero{padding:145px 0 75px}.kishu-page .kishu-content{padding:65px 0 80px}.kishu-page .entry-content>h2,.kishu-page .entry-content .wp-block-group h2{margin-top:65px}.kishu-page .wp-block-column{padding:22px}}

.kishu-page .kishu-grade-table{overflow-x:auto;margin:35px 0 55px}
.kishu-page .kishu-grade-table table{width:100%;border-collapse:collapse;min-width:650px}
.kishu-page .kishu-grade-table th,.kishu-page .kishu-grade-table td{padding:16px 18px;border:1px solid #dedede;text-align:left;vertical-align:top}
.kishu-page .kishu-grade-table th{background:#151515;color:#fff;font-size:14px}
.kishu-page .kishu-grade-table tbody tr:nth-child(even){background:#f7f7f5}

/* Kishu Binchotan v2.4 */
.kishu-icon-grid,.kishu-use-grid,.kishu-grade-grid{display:grid;gap:24px;margin:34px 0 65px}
.kishu-icon-grid{grid-template-columns:repeat(3,1fr)}
.kishu-use-grid{grid-template-columns:repeat(3,1fr)}
.kishu-grade-grid{grid-template-columns:repeat(3,1fr)}
.kishu-icon-card,.kishu-use-card,.kishu-grade-card{
 position:relative;background:#fff;border:1px solid #ddd;padding:32px;
 box-shadow:0 10px 28px rgba(0,0,0,.04);transition:.25s ease
}
.kishu-icon-card:hover,.kishu-use-card:hover,.kishu-grade-card:hover{transform:translateY(-4px);box-shadow:0 16px 35px rgba(0,0,0,.08)}
.kishu-icon,.kishu-use-icon{
 width:62px;height:62px;border-radius:50%;display:flex;align-items:center;justify-content:center;
 background:#111;color:#fff;font-size:26px;margin-bottom:18px
}
.kishu-index,.kishu-grade-no{font-size:12px;letter-spacing:.18em;color:#888;margin-bottom:8px}
.kishu-icon-card h3,.kishu-use-card h3,.kishu-grade-card h3{font-size:22px;margin:7px 0 12px}
.kishu-icon-card p,.kishu-use-card p,.kishu-grade-card p{color:#555;margin:0}
.kishu-grade-card{padding:0 0 28px;overflow:hidden}
.kishu-grade-card .kishu-grade-no,.kishu-grade-card h3,.kishu-grade-card p,.kishu-grade-card .kishu-grade-link{margin-left:26px;margin-right:26px}
.kishu-grade-card .kishu-grade-no{margin-top:23px}
.kishu-grade-visual{height:170px;background:linear-gradient(135deg,#ececea,#d9d9d5);display:flex;align-items:center;justify-content:center;color:#888;font-size:12px;letter-spacing:.2em}
.kishu-grade-spec{font-size:14px;border-top:1px solid #e3e3e3;border-bottom:1px solid #e3e3e3;padding:13px 0;margin-top:16px!important;margin-bottom:16px!important;color:#222!important}
.kishu-grade-card.featured{border:2px solid #111}
.kishu-grade-badge{position:absolute;z-index:2;top:14px;right:14px;background:#111;color:#fff;padding:5px 10px;font-size:11px;letter-spacing:.08em}
.kishu-grade-link{display:inline-block;margin-top:18px;font-weight:700;border-bottom:1px solid #111}
@media(max-width:900px){
 .kishu-icon-grid,.kishu-use-grid,.kishu-grade-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
 .kishu-icon-grid,.kishu-use-grid,.kishu-grade-grid{grid-template-columns:1fr}
}

/* Kishu easy editor output */
.kishu-page-lead{font-size:18px;line-height:2;color:#444;margin:0 0 60px}
.kishu-easy-section{margin:0 0 90px}
.kishu-easy-section>h2{font-size:clamp(30px,4vw,48px);margin-bottom:28px}
.kishu-wide-image{width:100%;max-height:520px;object-fit:cover;margin:0 0 30px}
.kishu-card-image{width:100%;aspect-ratio:16/10;object-fit:cover;margin:-32px -32px 22px;width:calc(100% + 64px);max-width:none}
.kishu-grade-image{width:100%;height:170px;object-fit:cover;display:block}
.kishu-closing{text-align:center;background:#f4f4f1;padding:60px 30px}

/* Service editor/admin */
.emglass-service-wrap{max-width:1100px}.emglass-service-section{background:#fff;border:1px solid #dcdcde;padding:24px;margin:20px 0}.emglass-service-card{background:#fafafa;border:1px solid #ddd;padding:20px;margin:15px 0}.emglass-service-field{margin:14px 0}.emglass-service-field label{display:block;font-weight:600;margin-bottom:6px}.emglass-service-field input,.emglass-service-field textarea{width:100%}.emglass-service-field textarea{min-height:110px}.emglass-service-preview img{max-width:220px;height:auto;display:block;margin-top:10px}.emglass-service-drag{cursor:move;color:#666;margin-bottom:10px}
/* Service page */
.service-template{padding-top:120px}.emglass-service-page{max-width:1180px;margin:auto}.service-intro{padding:60px 0 90px;max-width:900px}.service-intro h1{font-size:clamp(46px,7vw,88px);line-height:1;margin:14px 0 22px}.service-intro h2{font-size:clamp(24px,3vw,38px);line-height:1.4;margin:0 0 24px}.service-intro p{font-size:17px;color:#555;max-width:780px}.service-business{display:grid;grid-template-columns:1fr 1fr;margin:0 0 70px;background:#f5f5f3;min-height:480px}.service-business.reverse .service-business-media{order:2}.service-business-media img,.service-image-placeholder{width:100%;height:100%;min-height:480px;object-fit:cover}.service-image-placeholder{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#ddd,#eee);color:#888;letter-spacing:.25em;font-size:12px}.service-business-content{padding:55px}.service-no{font-size:12px;letter-spacing:.2em;color:#888;margin-bottom:10px}.service-business-content h2{font-size:38px;margin:0 0 8px}.service-business-content h3{font-size:20px;line-height:1.5;margin:0 0 22px}.service-business-content p{color:#555;margin-bottom:24px}.service-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}.service-tags span{border:1px solid #bbb;background:#fff;padding:6px 10px;font-size:12px}.service-value{padding:90px 8%;background:#111;color:#fff;margin:90px 0}.service-value h2{font-size:clamp(32px,5vw,58px);margin:10px 0 25px}.service-value p{max-width:850px;color:#ddd}.service-value-message{font-size:clamp(24px,4vw,42px);margin-top:40px;font-weight:700}.service-partner{padding:90px 8%;background:#f3f3f0;margin-bottom:80px;text-align:center}.service-partner h2{font-size:clamp(32px,5vw,54px);margin:10px 0 32px}.service-consult-list{max-width:720px;margin:0 auto 35px;text-align:left;display:grid;gap:12px;font-size:17px}
@media(max-width:800px){.service-business{grid-template-columns:1fr}.service-business.reverse .service-business-media{order:0}.service-business-media img,.service-image-placeholder{min-height:280px}.service-business-content{padding:35px 25px}.service-business-content h2{font-size:31px}}


/* =========================================================
 * Service page alignment fix v2.7
 * サービスページ内の文字・内容を中央揃え
 * ========================================================= */
.emglass-service-page .service-intro{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
.emglass-service-page .service-intro p{
  margin-left:auto;
  margin-right:auto;
}
.emglass-service-page .service-business-content{
  text-align:center;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
}
.emglass-service-page .service-business-content p{
  max-width:620px;
  margin-left:auto;
  margin-right:auto;
}
.emglass-service-page .service-tags{
  justify-content:center;
}
.emglass-service-page .service-no,
.emglass-service-page .service-business-content h2,
.emglass-service-page .service-business-content h3{
  width:100%;
  text-align:center;
}
.emglass-service-page .service-value{
  text-align:center;
}
.emglass-service-page .service-value p{
  margin-left:auto;
  margin-right:auto;
}
.emglass-service-page .service-partner{
  text-align:center;
}
.emglass-service-page .service-consult-list{
  text-align:center;
}
@media(max-width:800px){
  .emglass-service-page .service-business-content{
    text-align:center;
    align-items:center;
  }
}


/* Contact privacy consent v3.0 */
.contact-agree{
  margin:25px 0;
  padding:18px 20px;
  background:#f7f7f5;
  border:1px solid #ddd;
}
.contact-checkbox{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  font-size:14px;
  line-height:1.6;
}
.contact-checkbox input[type="checkbox"]{
  width:18px;
  height:18px;
  margin:0;
  cursor:pointer;
  accent-color:#111;
  flex:0 0 auto;
}
.contact-checkbox a{
  text-decoration:underline;
  font-weight:600;
}
.contact-checkbox a:hover{opacity:.6}
@media(max-width:600px){
  .contact-checkbox{align-items:flex-start;text-align:left}
}

.kishu-our-section{margin:100px 0}
.kishu-our-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:stretch;background:#111;color:#fff;min-height:460px}
.kishu-our-content{padding:64px 58px;display:flex;flex-direction:column;justify-content:center}
.kishu-our-content .eyebrow{color:#b9b9b9;margin-bottom:12px}
.kishu-our-content h2{font-size:clamp(32px,4vw,52px);line-height:1.2;margin:0 0 24px;color:#fff}
.kishu-our-content p{color:#dedede;line-height:2;margin:0 0 30px}
.kishu-our-points{display:flex;flex-wrap:wrap;gap:8px}
.kishu-our-points span{border:1px solid rgba(255,255,255,.35);padding:7px 11px;font-size:12px;color:#fff}
.kishu-our-media{min-height:460px}
.kishu-our-media figure{margin:0;width:100%;height:100%;position:relative}
.kishu-our-media img{width:100%;height:100%;min-height:460px;object-fit:cover;display:block}
.kishu-our-media figcaption{position:absolute;left:18px;bottom:16px;background:rgba(0,0,0,.68);color:#fff;padding:6px 10px;font-size:12px}
.kishu-our-placeholder{height:100%;min-height:460px;background:linear-gradient(135deg,#2b2b2b,#555);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:10px;padding:30px;color:#ddd}
.kishu-our-placeholder strong{letter-spacing:.18em;color:#fff}
@media(max-width:800px){
  .kishu-our-grid{grid-template-columns:1fr}
  .kishu-our-content{padding:42px 26px}
  .kishu-our-media,.kishu-our-media img,.kishu-our-placeholder{min-height:300px}
}


/* =========================================================
 * Shop category layout v3.2
 * ========================================================= */
.shop-head{margin-bottom:70px}
.shop-category{margin:0 0 100px}
.shop-category-head{border-top:1px solid #111;padding:28px 0 30px;margin-bottom:30px}
.shop-category-head h2{font-size:clamp(30px,4vw,48px);line-height:1.15;margin:8px 0 10px}
.shop-category-head p{max-width:750px;color:#666;margin:0}
.shop-category .products{grid-template-columns:repeat(3,1fr)}
.shop-category .product{display:flex;flex-direction:column}
.shop-category .product>a img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}
.shop-category .product-body{display:flex;flex-direction:column;flex:1}
.shop-category .product-body .btn{align-self:flex-start}
.shop-qty-form{margin-top:18px;padding-top:18px;border-top:1px solid #e5e5e5;display:flex;gap:10px;align-items:end;flex-wrap:wrap}
.shop-qty-form label{display:grid;gap:5px;font-size:12px}
.shop-qty-form input[type=number]{width:85px}
@media(max-width:900px){.shop-category .products{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.shop-category .products{grid-template-columns:1fr}.shop-category{margin-bottom:70px}}


/* =========================================================
 * Shop category headings & search v3.3
 * ========================================================= */
.shop-search-panel{
  margin:0 0 85px;
  padding:28px 30px;
  background:#f5f5f3;
  border:1px solid #e1e1df;
}
.shop-search-title{
  font-size:22px;
  font-weight:700;
  margin-bottom:20px;
}
.shop-search-form{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(220px,.7fr);
  gap:20px;
  align-items:end;
  max-width:none;
}
.shop-search-field label{
  display:block;
  margin-bottom:7px;
  font-size:12px;
  letter-spacing:.08em;
}
.shop-search-input-row{
  display:flex;
  gap:8px;
}
.shop-search-input-row input{
  flex:1;
}
.shop-search-field select{
  height:54px;
}
.shop-search-reset{
  grid-column:1/-1;
  font-size:13px;
}
.shop-search-reset a{
  text-decoration:underline;
}
.shop-category-nav{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:24px;
  padding-top:22px;
  border-top:1px solid #ddd;
}
.shop-category-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:7px 15px;
  border:1px solid #bbb;
  background:#fff;
  font-size:13px;
  transition:.2s;
}
.shop-category-nav a:hover,
.shop-category-nav a.active{
  background:#111;
  color:#fff;
  border-color:#111;
}
.shop-category{
  margin:0 0 110px;
}
.shop-category-head{
  position:relative;
  padding:0 0 25px;
  margin:0 0 35px;
  border-top:0;
  border-bottom:1px solid #111;
}
.shop-category-label{
  font-size:11px;
  letter-spacing:.22em;
  color:#888;
  margin-bottom:8px;
}
.shop-category-head h2{
  font-size:clamp(34px,5vw,58px);
  line-height:1.08;
  margin:0;
  font-weight:700;
}
.shop-category-head p{
  margin:15px 0 0;
  max-width:760px;
  color:#666;
}
.shop-category-line{
  width:56px;
  height:3px;
  background:#111;
  margin-top:20px;
}
.shop-product-image{
  display:block;
}
.shop-product-image img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  display:block;
}
.shop-no-results{
  padding:70px 30px;
  background:#f5f5f3;
  text-align:center;
  margin-bottom:80px;
}
.shop-no-results h2{
  font-size:30px;
  margin:10px 0;
}
.shop-no-results p{
  margin-bottom:24px;
  color:#666;
}
@media(max-width:760px){
  .shop-search-form{grid-template-columns:1fr}
  .shop-search-input-row{flex-direction:column}
  .shop-search-input-row .btn{width:100%;text-align:center}
  .shop-category-nav a{flex:1 1 calc(50% - 8px)}
  .shop-category-head h2{font-size:36px}
}


/* =========================================================
 * Shop shortcode category grouping fix v3.4
 * /shop/ は固定ページ + [emglass_products] で表示
 * ========================================================= */
.emglass-shop-shortcode{
  width:100%;
}
.emglass-shop-shortcode .shop-search-panel{
  margin-top:20px;
}
.emglass-shop-shortcode .shop-category-block{
  position:relative;
  clear:both;
  width:100%;
  margin:85px 0 115px;
  padding-top:0;
}
.emglass-shop-shortcode .shop-category-block + .shop-category-block{
  border-top:6px solid #111;
  padding-top:70px;
}
.emglass-shop-shortcode .shop-category-head{
  display:block;
  width:100%;
  margin:0 0 42px;
  padding:0 0 25px;
  border-bottom:1px solid #111;
}
.emglass-shop-shortcode .shop-category-label{
  display:block;
  font-size:11px;
  font-weight:700;
  letter-spacing:.22em;
  color:#777;
  margin:0 0 8px;
}
.emglass-shop-shortcode .shop-category-head h2{
  display:block;
  width:100%;
  margin:0;
  font-size:clamp(38px,5.5vw,64px);
  line-height:1.05;
  font-weight:800;
  color:#111;
}
.emglass-shop-shortcode .shop-category-line{
  display:block;
  width:70px;
  height:4px;
  background:#111;
  margin:22px 0 0;
}
.emglass-shop-shortcode .shop-category-head p{
  margin:18px 0 0;
}
.emglass-shop-shortcode .products{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
  width:100%;
}
.emglass-shop-shortcode .product{
  min-width:0;
}
.emglass-shop-shortcode .product h3 a{
  color:inherit;
}
@media(max-width:900px){
  .emglass-shop-shortcode .products{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .emglass-shop-shortcode .products{grid-template-columns:1fr}
  .emglass-shop-shortcode .shop-category-block{margin:60px 0 80px}
  .emglass-shop-shortcode .shop-category-block + .shop-category-block{
    border-top-width:4px;
    padding-top:50px;
  }
  .emglass-shop-shortcode .shop-category-head h2{font-size:38px}
}


/* =========================================================
 * Header / Footer v3.5
 * ========================================================= */
.site-header .custom-logo,
.site-header .logo img{
  width:150px;
  max-width:150px;
  height:auto;
  display:block;
}
@media(max-width:700px){
  .site-header .custom-logo,
  .site-header .logo img{
    max-width:135px;
  }
}

.contact-sales-note{
  margin:0 0 24px;
  padding:16px 18px;
  border-left:4px solid #111;
  background:#f6f6f4;
  font-size:13px;
  line-height:1.8;
}
.contact-sales-note strong{display:block;margin-bottom:4px}
.contact-sales-note p{margin:0;color:#555}
