:root{--bg:#f7f5ef;--surface:#fff;--ink:#202820;--muted:#62685f;--line:#daddd2;--green:#195646;--green-soft:#e9eee5;--accent:#a83820;--warn:#806009;--danger:#a52a24;--shadow:0 18px 55px rgba(28,54,38,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:"Hiragino Sans","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;line-height:1.7}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.56}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--green);outline-offset:3px}.is-hidden{display:none!important}.skip-link{position:fixed;top:-100px;left:16px;background:#fff;padding:10px 14px;z-index:100}.skip-link:focus{top:12px}.preview-strip{text-align:center;padding:6px 16px;background:#e9ece3;color:#4d594c;font-size:11px;letter-spacing:.03em}.site-header{border-bottom:1px solid var(--line);background:#faf9f5;position:sticky;top:0;z-index:20}.header-inner{max-width:1256px;margin:auto;padding:17px 28px;display:flex;align-items:center;gap:34px}.brand{border:0;background:transparent;padding:0;display:flex;align-items:center;gap:11px;color:var(--ink);font-weight:800;font-size:18px;text-align:left;white-space:nowrap}.brand small{display:block;color:var(--muted);font:7px/1.7 Arial,sans-serif;letter-spacing:.2em}.brand-mark{display:grid;grid-template-columns:repeat(2,10px);gap:3px;transform:rotate(-7deg)}.brand-mark i{width:10px;height:10px;border-radius:3px;background:var(--green)}.brand-mark i:last-child{background:#b4bd7b}.main-nav{display:flex;gap:5px;margin-left:auto}.main-nav button{border:0;background:transparent;padding:10px 12px;color:#4b5549;font-size:12px;font-weight:700;border-bottom:2px solid transparent}.main-nav button[aria-current="page"]{color:var(--green);border-color:var(--green)}.cart-button{border:1px solid #bdc6b9;background:#fff;border-radius:7px;padding:9px 13px;color:var(--ink);font-size:12px;font-weight:700}.cart-button span{display:inline-grid;place-items:center;margin-left:5px;min-width:22px;height:22px;border-radius:20px;background:var(--green);color:#fff}.site-main{max-width:1256px;min-height:70vh;margin:auto;padding:42px 28px 80px}.notice{position:sticky;top:82px;z-index:15;margin:0 auto 18px;padding:12px 16px;border:1px solid #b9c8b6;border-radius:8px;background:#f1f6ed;color:#29452d;font-size:13px}.notice.error{border-color:#e0bbb7;background:#fff1ef;color:#7e201a}.hero{display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:center;padding:54px 0 70px}.eyebrow{font:700 10px/1.5 Arial,sans-serif;letter-spacing:.15em;color:var(--green);margin:0 0 10px}.eyebrow span{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;margin-right:8px}.hero h1,.page-heading h1{font-size:clamp(34px,4vw,55px);line-height:1.45;letter-spacing:.02em;margin:0 0 18px}.hero h1 em{font-style:normal;color:var(--green)}.hero>div:first-child>p:last-child,.page-heading>p:last-child{color:var(--muted);font-size:14px;max-width:680px}.hero-note{display:grid;grid-template-columns:42px 1fr;gap:0 17px;padding:30px;border-radius:14px;background:var(--green-soft);border:1px solid #d6decf}.hero-note span{font:20px/1.7 Georgia,serif;color:var(--green)}.hero-note p{margin:0 0 18px;padding-bottom:18px;border-bottom:1px solid #cbd5c6;font-size:12px;color:var(--muted)}.hero-note p:last-child{margin:0;padding:0;border:0}.hero-note strong{display:block;color:var(--ink);font-size:14px}.section-heading{display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:24px}.section-heading h2{font-size:28px;margin:0}.muted{color:var(--muted)}.loading-card,.empty-card{border:1px dashed #bcc4b6;border-radius:12px;padding:40px;text-align:center;color:var(--muted);background:#fafaf6}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.product-top{height:108px;padding:21px;background:var(--green-soft);display:flex;justify-content:space-between;align-items:start}.product-number{font:10px Arial;color:var(--muted)}.badge{display:inline-flex;align-items:center;border-radius:4px;padding:4px 8px;font-size:10px;font-weight:700;background:#fff;color:var(--green);border:1px solid #cad6c5}.badge.provisional{color:#73580d;background:#fff9df;border-color:#e4d89a}.badge.active{background:#e7f2e9;color:#245c36}.badge.expired{background:#f3eeee;color:#71423e}.product-body{padding:21px;display:flex;flex-direction:column;flex:1}.product-body h3{margin:0 0 8px;font-size:19px}.product-description{color:var(--muted);font-size:12px;margin:0 0 15px;min-height:62px}.trial-detail{border-top:1px solid #edf0e8;border-bottom:1px solid #edf0e8;padding:11px 0;margin-bottom:15px;font-size:11px;color:#485346}.price-row{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:auto}.price{font-size:22px;font-weight:800}.price small{font-size:10px;font-weight:400;color:var(--muted);display:block}.card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px}.button{min-height:44px;border-radius:7px;padding:10px 16px;border:1px solid transparent;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.button.primary{background:var(--accent);color:#fff}.button.secondary{background:#fff;color:var(--ink);border-color:#bcc5b7}.button.tertiary{background:var(--green-soft);color:var(--green)}.button.full{width:100%}.text-button{border:0;background:transparent;color:var(--green);font-size:11px;text-decoration:underline;padding:11px}.page-heading{padding:15px 0 38px;border-bottom:1px solid var(--line);margin-bottom:28px}.page-heading h1{font-size:38px}.entitlements-list{display:grid;gap:14px}.entitlement{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;padding:21px;background:#fff;border:1px solid var(--line);border-radius:10px}.entitlement h2{font-size:17px;margin:0 0 5px}.entitlement p{font-size:12px;margin:0}.account-card{border:1px solid var(--line);border-radius:12px;background:#fff;padding:25px}.account-card h2{font-size:20px;margin:0 0 17px}.account-card label{display:block;font-size:12px;font-weight:700;margin-top:12px}.account-card input,.admin-field input,.admin-field select{display:block;width:100%;margin-top:6px;padding:11px 12px;border:1px solid #c8cdc3;border-radius:6px;background:#fff;color:var(--ink);font-size:14px}.account-card .button{margin-top:18px}.auth-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.auth-secondary{background:#fbfbf7}.auth-secondary p,.form-note{font-size:11px;color:var(--muted)}.overline{font-size:10px;letter-spacing:.12em;color:var(--green);font-weight:700}.admin-products{display:grid;gap:16px}.admin-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:21px}.admin-card h2{font-size:17px;margin:0 0 15px}.admin-fields{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px}.admin-field{font-size:11px;font-weight:700}.admin-check{display:flex;align-items:center;gap:8px;font-size:12px;margin:16px 0}.admin-check input{width:18px;height:18px}.cart-panel{position:fixed;z-index:40;right:0;top:0;width:min(440px,100%);height:100dvh;background:#fff;padding:27px;box-shadow:var(--shadow);overflow:auto}.cart-head{display:flex;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--line)}.cart-head h2{margin:0;font-size:23px}.icon-button{width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:#fff;font-size:24px}.cart-items{display:grid;gap:10px;margin:20px 0}.cart-item{display:grid;grid-template-columns:1fr auto;gap:8px;padding:14px;background:#f8f8f3;border-radius:8px}.cart-item strong{font-size:13px}.cart-item span{font-size:12px;color:var(--muted)}.cart-item button{border:0;background:none;color:var(--danger);font-size:11px;text-decoration:underline}.cart-summary{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:18px 0}.cart-summary strong{font-size:21px}.backdrop{position:fixed;inset:0;z-index:30;background:rgba(18,25,20,.34)}.site-footer{display:flex;justify-content:space-between;gap:40px;padding:37px max(28px,calc((100vw - 1200px)/2));border-top:1px solid var(--line);background:#e9ece4;font-size:11px;color:var(--muted)}.site-footer strong{font-size:17px;color:var(--ink)}
@media(max-width:900px){.header-inner{gap:12px;flex-wrap:wrap}.main-nav{order:3;width:100%;justify-content:space-between;border-top:1px solid var(--line);padding-top:5px}.main-nav button{flex:1}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{gap:30px}.admin-fields{grid-template-columns:1fr 1fr}.admin-field:first-child{grid-column:1/-1}}
@media(max-width:600px){.preview-strip{font-size:9px}.site-header{position:static}.header-inner{padding:14px 18px}.brand{font-size:14px}.cart-button{margin-left:auto}.main-nav{overflow-x:auto;justify-content:flex-start}.main-nav button{flex:0 0 auto;padding:10px}.site-main{padding:25px 18px 50px}.notice{top:8px}.hero{grid-template-columns:1fr;padding:25px 0 48px}.hero h1{font-size:34px}.hero-note{padding:22px}.section-heading{align-items:start}.section-heading h2{font-size:24px}.product-grid{grid-template-columns:1fr}.product-description{min-height:0}.page-heading h1{font-size:30px}.auth-layout{grid-template-columns:1fr}.entitlement{grid-template-columns:1fr}.entitlement .button{width:100%}.admin-fields{grid-template-columns:1fr}.admin-field:first-child{grid-column:auto}.cart-panel{padding:21px}.site-footer{flex-direction:column;padding:30px 18px}.card-actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.admin-field textarea{display:block;width:100%;min-height:88px;margin-top:6px;padding:11px 12px;border:1px solid #c8cdc3;border-radius:6px;background:#fff;color:var(--ink);font-size:14px;resize:vertical}.admin-field.wide{grid-column:1/-1}
.tool-header{min-height:86px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:5px 22px;padding:14px 24px;border-bottom:1px solid var(--line);background:#faf9f5}.tool-header a{grid-row:1/3;color:var(--green);font-size:12px;font-weight:700;text-decoration:none}.tool-header strong{font-size:16px}.tool-header p{margin:0;color:var(--muted);font-size:11px}.tool-header p[role="alert"]{color:var(--danger);font-weight:700}@media(max-width:600px){.tool-header{grid-template-columns:1fr;padding:10px 16px;gap:2px}.tool-header a{grid-row:auto}.tool-header strong{font-size:14px}}

/* 会員ページの商品一覧は、公開TOPと同じ画像中心のカードで見比べやすくする。 */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.catalog-toolbar{display:flex;align-items:center;gap:12px;margin:-4px 0 24px}
.catalog-search{display:flex;align-items:center;max-width:480px;width:100%;padding:5px 13px;border:1px solid #bfc8b8;border-radius:8px;background:#fff}
.catalog-search:focus-within{outline:3px solid var(--green);outline-offset:3px}
.catalog-search svg{flex:0 0 auto;width:18px;height:18px;margin-right:9px;fill:none;stroke:var(--muted);stroke-width:1.7}
.catalog-search input{min-width:0;width:100%;padding:8px 0;border:0;outline:0;background:transparent;color:var(--ink);font-size:13px}
.search-clear{min-height:40px;padding:7px 4px;border:0;background:transparent;color:var(--green);font-size:11px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.product-grid>.empty-card{grid-column:1/-1}
.product-card{transition:box-shadow .2s,transform .2s}
.product-card:hover{box-shadow:0 10px 28px rgba(33,56,36,.08);transform:translateY(-3px)}
.product-visual{display:block;height:225px;position:relative;overflow:hidden;border-bottom:1px solid var(--line);background:#e8ebdf}
.product-visual.ind-restaurant{background:#eee8dd}.product-visual.ind-beauty{background:#eee2df}
.product-visual .industry-image{width:100%;height:100%;object-fit:cover;filter:saturate(.82)}
.product-visual .screen-image{position:absolute;left:50%;top:25px;width:190px;height:auto;max-width:none;transform:translateX(-50%) rotate(-3deg);border:5px solid #fff;border-radius:15px;box-shadow:0 10px 25px rgba(0,0,0,.14)}
.visual-label{position:absolute;bottom:12px;left:14px;padding:3px 8px;border:1px solid rgba(255,255,255,.55);border-radius:4px;background:rgba(255,254,243,.94);color:#465440;font-size:9px}
.product-body{padding:22px}
.product-meta{display:flex;justify-content:space-between;gap:8px;margin-bottom:10px;color:var(--muted);font-size:10px}
.product-meta .trial-label{color:var(--green);text-align:right}
.product-body h3{margin:0 0 8px;font-size:19px;line-height:1.6;letter-spacing:-.02em}
.product-description{min-height:46px;margin:0;color:var(--muted);font-size:12px;line-height:1.9;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-features{display:grid;gap:6px;margin:15px 0 0;padding:14px 0 0;border-top:1px solid #edf0e7;color:#4d584a;font-size:11px;list-style:none}
.product-features li{display:flex;gap:7px}.product-features li::before{content:'✓';color:var(--green)}
.product-details{margin-top:10px;color:var(--muted);font-size:11px}
.product-details summary{width:max-content;color:var(--green);font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.product-details p{margin:8px 0 0;padding:10px 12px;border-radius:6px;background:#f7f8f3;white-space:pre-line}
.price-row{margin-top:auto;padding-top:16px}
.price{font-size:22px;line-height:1.35;letter-spacing:-.02em}.price small{margin-bottom:2px}
.detail-link{min-height:40px;display:inline-flex;align-items:center;padding:8px 12px;border:1px solid var(--line);border-radius:5px;color:var(--green);font-size:11px;font-weight:700;text-decoration:none;white-space:nowrap}
.detail-link:hover{background:var(--green-soft)}
.card-actions{margin-top:13px}

@media(max-width:900px){.product-visual{height:210px}.product-body{padding:18px}.product-meta{align-items:start;flex-direction:column}.product-meta .trial-label{text-align:left}}
@media(max-width:600px){.catalog-toolbar{align-items:stretch;flex-direction:column;gap:3px}.catalog-search{max-width:none}.search-clear{align-self:flex-start}.product-visual{height:210px}.product-body{padding:21px}.product-body h3{font-size:20px}.product-description{min-height:0;font-size:13px}.product-features{font-size:12px}.price{font-size:23px}.detail-link{min-height:44px;font-size:12px}.product-card:hover{transform:none}}
