.theme-hub {
  --ink: #1b231e;
  --blue: #36584a;
  --blue-deep: #254133;
  --paper: #f6f5f0;
  --muted: #555f58;
  --line: #d3d8ce;
  --wash: #e8ebe3;
}
.theme-shop {
  --paper: #fcf9f4; --wash: #f4ebe1; --ink: #34271f; --muted: #65594e;
  --line: #ded3c7; --blue: #984729; --blue-deep: #76361d; --midnight: #4e3325;
  --photo-name: "attaの卓上メニュースタンドを楽天市場で見る";
}
.theme-car {
  --paper: #f7f8f2; --wash: #eaf0e5; --ink: #1c2a21; --muted: #4c6053;
  --line: #cdd8cd; --blue: #26624c; --blue-deep: #194a37; --midnight: #223c30;
  --photo-name: "ジェントスのLEDランタンを楽天市場で見る";
}
.theme-gig {
  --paper: #faf7fa; --wash: #f1eaf3; --ink: #28202f; --muted: #66566c;
  --line: #ded4e3; --blue: #71397e; --blue-deep: #55275f; --midnight: #37233d;
  --photo-name: "CHUMSのサコッシュを楽天市場で見る";
}
.theme-work { --blue: #244bc9; --wash: #edf0f4; }
.brand-icon::before { background: var(--wash); }
:focus-visible { outline-color: var(--blue); }
.hero h1 { font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif; line-height: 1.3; font-weight: 650; letter-spacing: -.052em; }
.theme-gig .hero h1 { font-family: var(--sans); font-weight: 850; }
.cover { border-radius: 4px; background: var(--wash); }
.calc-foot, .footlinks a { font-size: 13px; }
.panel fieldset { margin: 0; border: 0; padding: 0; min-width: 0; }
.panel fieldset + fieldset, .panel [data-second] + fieldset { margin-top: 21px; }
.panel legend { font-size: 14px; font-weight: 720; line-height: 1.5; margin-bottom: 8px; padding: 0; color: var(--ink); }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 16px; }
.guide-field { display: grid; align-content: end; gap: 4px; font-size: 13px; line-height: 1.6; color: var(--muted); font-weight: 550; }
.guide-field .input-unit input { min-height: 42px; padding-right: 45px; font-size: 17px; }
.guide-field select { appearance: auto; width: 100%; height: 42px; border: 1px solid #bfc7d3; border-radius: 5px; color: var(--ink); background: #fbfcfe; padding: 4px 8px; font: 550 16px/1.4 var(--sans); }
.panel .switch { color: var(--blue); font-weight: 700; margin-block: 8px 2px; }
.panel [data-second]:not([hidden]) { margin-top: 7px; padding: 13px; background: var(--wash); border-radius: 4px; }
.extra-fields { border-top: 1px solid var(--line); margin-top: 17px; padding-top: 11px; }
.extra-fields summary { cursor: pointer; font-size: 14px; font-weight: 650; color: var(--blue); }
.extra-fields fieldset { padding-top: 13px; }
.form-error:not(:empty) { margin-top: 12px; }
.receipt p { font-size: 13px; line-height: 1.7; }
.receipt dl { border-color: rgba(255,255,255,.32); }
.receipt dt,.receipt h3,.receipt p { color: #e8eae6; }
.data tbody th { font-weight: 650; }
.read-next { border-top: 1px solid var(--line); display: grid; gap: 9px; margin-top: 23px; padding: 17px 0 0; font-size: 14px; }
.references ul { padding-left: 1.4em; margin-bottom: 8px; }
.references li a { overflow-wrap: anywhere; }
.article-head { border-bottom-color: var(--blue); }
.article-head .byline span { color: var(--blue); }
.product-image a::after { content: var(--photo-name); }
.hub-main { padding-bottom: clamp(38px, 5vw, 76px); }
.hub-title { display: flex; align-items: end; justify-content: space-between; column-gap: 42px; padding-block: clamp(34px,4.6vw,65px) clamp(25px,3vw,40px); }
.hub-title h1 { margin: 0; font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif; font-size: clamp(39px,4.3vw,62px); line-height: 1.2; font-weight: 650; letter-spacing: -.067em; }
.hub-title h1 span { color: #a0593d; font-family: Georgia,serif; }
.hub-title p { max-width: 30em; font-size: 14px; color: var(--muted); line-height: 1.8; }
.hub-break { display: none; }
.hub-list { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,1fr); grid-template-rows: repeat(3,minmax(115px,1fr)); gap: 0 clamp(24px,3.5vw,55px); }
.hub-card { position: relative; min-width: 0; display: grid; grid-template-columns: 29% minmax(0,1fr) 20px; gap: clamp(12px,1.4vw,20px); align-items: center; padding: 15px 0; color: #1c2620; text-decoration: none; border-bottom: 1px solid #cbd0c6; }
.hub-card:nth-child(2) { border-top: 1px solid #cbd0c6; }
.hub-card .cover { aspect-ratio: 1.5; }
.hub-card .cover img { transition: transform .3s ease; }
.hub-card:hover .cover img { transform: scale(1.035); }
.card-kicker { color: var(--blue); font-weight: 700; font-size: 11px; letter-spacing: .05em; }
.card-copy h2 { font-size: clamp(20px,1.8vw,27px); line-height: 1.45; letter-spacing: -.045em; margin: 2px 0 3px; }
.card-summary { font-size: 13px; line-height: 1.65; color: #50594f; }
.card-arrow { font: 400 19px var(--figures); color: var(--blue); }
.hub-card:first-child { grid-row: 1 / 4; display: flex; align-items: end; padding: clamp(21px, 2.7vw, 38px); border: 0; border-radius: 4px; overflow: hidden; isolation: isolate; }
.hub-card:first-child .cover { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hub-card:first-child::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,25,20,.92),rgba(12,29,22,.65) 26%,rgba(12,29,22,.06) 62%); }
.hub-card:first-child h2 { font-size: clamp(27px,3vw,43px); color: white; margin: 1px 0 5px; }
.hub-card:first-child .card-kicker,.hub-card:first-child .card-summary { color: #f0f4ed; }
.hub-card:first-child .card-arrow { color: white; margin-left: auto; align-self: flex-end; }
@media(max-width:950px) {
  .hub-title { align-items: start; flex-direction: column; gap: 12px; }
  .hub-title p { max-width: none; }
  .hub-title p br { display: none; }
}
@media(max-width:700px) {
  .hub-list { grid-template-columns: 1fr; gap: 0; }
  .hub-card:first-child { grid-row: auto; min-height: clamp(220px,54vw,320px); margin-bottom: 18px; }
  .hub-card { grid-template-columns: minmax(87px,28%) 1fr 16px; padding: 12px 0; }
  .hub-title h1 { font-size: clamp(31px,7.5vw,46px); }
  .guide-field { font-size: 12px; }
  .hub-title { padding: 26px 0 20px; }
}
@media(max-width:490px) {
  .theme-hub .mast-inner { padding: 0; display: flex; min-height: 52px; }
  .theme-hub .mastnav { margin: 0; }
  .hub-card .card-copy h2 { font-size: 18px; }
  .hub-card:first-child .card-copy h2 { font-size: 29px; }
  .hub-card .card-summary { font-size: 12px; }
  .hub-card .card-kicker { font-size: 10px; }
  .field-grid { column-gap: 10px; row-gap: 10px; }
  .mastnav a { min-height: 40px; }
  .receipt dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .receipt dl > div { overflow-wrap: anywhere; }
  .story .data th,.story .data td { padding: 7px 6px; font-size: 12px; }
  .table-wrap { margin-inline: 0; }
  .product-layout { display: flex; flex-direction: column; align-items: stretch; }
}
@media(max-width:350px) {
  .mastnav { gap: 15px; }
  .hub-card { grid-template-columns: 76px minmax(0,1fr) 13px; gap: 10px; }
}
@media(prefers-reduced-motion:reduce) { .hub-card .cover img { transition: none; } }
