/* HLAB-RULES: /page-hlb-design-template.php / 商品と契約一覧 v1.0.9 / 2026-10-24 */
.hlab-product-header { background: #fffaf0; border-bottom: 1px solid #e5ceb6; color: #3c2d24; }
.hlab-product-header .hlab-product-header__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px 22px; padding-top: 12px; padding-bottom: 12px; }
.hlab-product-header .hlab-product-header__brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; min-width: 0; max-width: 100%; color: #4b2f20; text-decoration: none; border: 0; background: none; box-shadow: none; }
.hlab-product-header img.hlab-product-header__logo { display: block; width: 144px; max-width: 144px; height: auto; flex: 0 0 144px; object-fit: contain; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.hlab-product-header .hlab-product-header__title { display: block; flex: 0 1 auto; min-width: 0; font-size: 18px; font-weight: 800; line-height: 1.4; white-space: nowrap; }
.hlab-product-header .hlab-product-header__nav { display: flex; flex: 0 1 auto; min-width: 0; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 16px; }
.hlab-product-header .hlab-product-header__nav a { display: inline-flex; align-items: center; min-height: 36px; max-width: 100%; padding: 0; border: 0; background: transparent; border-radius: 0; color: #604129; font-size: 14px; line-height: 1.5; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.hlab-product-header .hlab-product-header__nav a:visited { color: #604129; }
.hlab-product-header .hlab-product-header__nav a:hover { color: #873d00; text-decoration-thickness: 2px; }
.hlab-product-header .hlab-product-header__nav a.hlab-product-header__lab { color: #625b54; }
.hlab-mercari-product,.hlab-tool-portal { background: #fff8ec; color: #3c2d24; font-size: 16px; line-height: 1.85; min-height: 100vh; }
.hlab-product-main { max-width: 1120px; padding-top: 32px; padding-bottom: 24px; }
.hlab-product-main section { margin: 36px 0; }
.hlab-product-main h1,.hlab-product-main h2,.hlab-product-main h3 { color: #3c2d24; background: none; padding: 0; border: 0; }
.hlab-product-main h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.4; margin: 10px 0 16px; }
.hlab-product-main h2 { font-size: 24px; line-height: 1.5; margin: 0 0 18px; }
.hlab-product-main h3 { font-size: 18px; line-height: 1.6; margin: 0 0 8px; }
.hlab-product-main p { margin: 10px 0; }
.hlab-product-intro { padding: 0 0 24px; border-bottom: 1px solid #dcc7b4; background: transparent; border-radius: 0; box-shadow: none; }
.hlab-product-eyebrow { color: #8b490a; font-weight: 700; }
.hlab-product-price strong { font-size: 27px; color: #8d3d00; }
.hlab-product-intro__actions,.hlab-product-inline-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin: 16px 0; }
.hlab-product-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; background: #a84d00; border: 1px solid #934000; border-radius: 10px; color: #fff !important; font-size: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 3px 0 #773600; box-sizing: border-box; }
.hlab-product-button:hover { background: #873d00; }
.hlab-product-main .hlab-product-note { font-size: 14px; color: #63544a; }
.hlab-product-features { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
.hlab-product-feature { --product-color: #8062a5; --product-bg: #f9f4ff; display: flex; align-items: flex-start; gap: 16px; padding: 18px; border: 1px solid #d8c6b6; border-top: 4px solid var(--product-color); background: var(--product-bg); border-radius: 14px; box-shadow: 0 3px 8px #5e3c1310; min-width: 0; }
.hlab-product-feature[data-tool="bulk-edit"] { --product-color:#ba680c; --product-bg:#fff5e5; }
.hlab-product-feature[data-tool="price-down"] { --product-color:#b94553; --product-bg:#fff3f2; }
.hlab-product-feature[data-tool="price-up"] { --product-color:#367d5c; --product-bg:#eff9f0; }
.hlab-product-feature[data-tool="base-to-mercari-shops"] { --product-color:#3e7792; --product-bg:#f0f8fc; grid-column:1 / -1; }
.hlab-product-feature img { width: 105px; height: 80px; object-fit: contain; flex-shrink: 0; }
.hlab-product-feature > div { min-width: 0; }
.hlab-product-feature p { margin: 0 0 8px; }
.hlab-product-main a { overflow-wrap: anywhere; text-underline-offset: 3px; }
.hlab-product-main a:not(.hlab-product-button) { text-decoration: underline; }
.hlab-product-main a.hlab-product-button,
.hlab-product-main .hlab-mercari-suite__actions a { text-decoration: none; }
.hlab-product-start { border-top: 4px solid #d77a20; background: #ffefd7; padding: 24px; border-radius: 14px; }
.hlab-product-start .hlab-mercari-suite { background: #fffaf2; }
.hlab-product-terms { margin: 20px 0; }
.hlab-product-terms .sz-field { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 8px 16px; padding: 12px 0; border-bottom: 1px solid #dfcbb4; }
.hlab-product-terms dt { font-weight: 700; }
.hlab-product-terms dd { margin: 0; min-width: 0; }
.hlab-product-steps { padding-left: 24px; }
.hlab-product-steps li { margin: 8px 0; }
.hlab-product-footer { margin-top: 36px; padding-top: 20px; border-top: 1px solid #dcc7b4; font-size: 14px; }
.hlab-product-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hlab-product-ended { padding: 16px 0; border-bottom: 1px solid #dcc7b4; }
.hlab-product-ended summary { cursor: pointer; font-size: 18px; font-weight: 700; min-height: 40px; }
.hlab-product-portal-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 16px 0; }
.hlab-product-portal-card { padding: 20px; border: 1px solid #d8c6b6; border-top: 4px solid #bc702a; border-radius: 12px; background: #fffdf7; }
.hlab-product-comparison { margin-top: 28px; font-size: 14px; }
.hlab-product-comparison h2 { font-size: 18px; }
.hlab-product-header a:focus-visible,.hlab-product-main a:focus-visible,.hlab-product-main summary:focus-visible { outline: 3px solid #984600; outline-offset: 4px; }
.hlab-product-main [hidden] { display: none !important; }
@media(max-width:900px) { .hlab-product-header .hlab-product-header__inner { align-items:flex-start; flex-direction:column; gap:8px; } .hlab-product-header .hlab-product-header__nav { justify-content:flex-start; } .hlab-product-feature { flex-direction:column; } .hlab-product-feature img { width:120px; } }
@media(max-width:640px) {
    .hlab-product-header .hlab-product-header__nav { gap:2px 14px; }
    .hlab-product-header .hlab-product-header__nav a { min-height:34px; }
    .hlab-product-header img.hlab-product-header__logo { width:112px; max-width:112px; flex-basis:112px; }
    .hlab-product-header .hlab-product-header__title { font-size:17px; }
    .hlab-product-main { padding-top:24px; }
    .hlab-product-features,.hlab-product-portal-grid { grid-template-columns:minmax(0,1fr); }
    .hlab-product-feature[data-tool="base-to-mercari-shops"] { grid-column:auto; }
    .hlab-product-feature { flex-direction:row; gap:12px; padding:14px; }
    .hlab-product-feature img { width:72px; height:60px; }
    .hlab-product-start { padding:16px; }
    .hlab-product-main .sz-field { display:grid; grid-template-columns:minmax(0,1fr); gap:4px; overflow-wrap:anywhere; }
    .hlab-product-main .sz-field label,.hlab-product-main .sz-field input { display:block; width:100%; box-sizing:border-box; }
}

.hlab-product-account .sz-field { display:grid; grid-template-columns:140px minmax(0,1fr); gap:8px 16px; margin:12px 0; }
.hlab-product-account dt { font-weight:700; }
.hlab-product-account dd { margin:0; overflow-wrap:anywhere; }
@media(max-width:640px) { .hlab-product-account .sz-field { grid-template-columns:minmax(0,1fr); gap:4px; } }

/* workflow v1.0.7: 検証用データによる実結果画面。商品紹介だけへ適用。 */
.hlab-mercari-product .hlab-product-examples { border:1px solid #d8c6b6; border-radius:12px; background:#fffdf8; }
.hlab-mercari-product .hlab-product-examples > summary { padding:14px 18px; min-height:44px; font-size:16px; font-weight:700; cursor:pointer; box-sizing:border-box; }
.hlab-mercari-product .hlab-product-examples > summary:focus-visible { outline:3px solid #873d00; outline-offset:3px; }
.hlab-mercari-product .hlab-product-examples__body { display:grid; grid-template-columns:minmax(0,1fr); gap:26px; padding:0 18px 20px; }
.hlab-mercari-product .hlab-product-examples figure { min-width:0; margin:0; }
.hlab-mercari-product .hlab-product-examples img { border:1px solid #e3d5c7; border-radius:8px; box-sizing:border-box; }
.hlab-mercari-product .hlab-product-examples figcaption { margin-top:8px; font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
@media(max-width:640px) {
  .hlab-mercari-product .hlab-product-examples > summary { padding:12px; }
  .hlab-mercari-product .hlab-product-examples__body { padding:0 12px 16px; gap:22px; }
}

/* 利用条件は体験操作の前で常時表示する。説明収納の対象にしない。 */
.hlab-mercari-product .hlab-product-environment { font-size:16px; line-height:1.75; color:#3c2d24; overflow-wrap:anywhere; }
.hlab-mercari-product .hlab-product-intro__copy .hlab-product-environment { margin:14px 0; }
