/* =========================================================
   Stock Repair — トップページ ビジュアルカンプ
   ========================================================= */
:root {
  --blue:#4aa3f0;
  --blue-d:#2f86dd;
  --blue-dd:#2f86dd;
  --sky:#eaf4fd;
  --sky-2:#d6eafb;
  --ink:#13243a;
  --body:#46586c;
  --muted:#8294a6;
  --line:#e2ebf3;
  --paper:#ffffff;
  --paper-2:#f5f9fd;
  --logo-grey:#3a3a3a;
  --green:#06c755;
  --amber:#ff9d2e;
  --accent:#ff5638;
  --accent-d:#e8401f;
  --accent-soft:#fff0ec;
  --r:16px;
  --shadow:0 26px 55px -18px rgba(20,55,105,.38), 0 8px 20px -8px rgba(20,55,105,.18);
  --shadow-sm:0 14px 32px -12px rgba(20,55,105,.30), 0 4px 10px -4px rgba(20,55,105,.16);
  --font-head:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;
  --font-body:"Noto Sans JP",sans-serif;
  --font-mono:"Roboto Mono",monospace;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
}

body {
  margin:0;
  background:#eef3f9;
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.8;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img {
  max-width:100%;
  display:block;
}

a {
  color:inherit;
  text-decoration:none;
}

.wrap {
  max-width:1180px;
  margin:0 auto;
  padding:0 28px;
}

.center {
  text-align:center;
}

/* placeholder photos */
.ph {
  background:    linear-gradient(135deg,rgba(31,141,240,.08),rgba(31,141,240,.02)),    repeating-linear-gradient(135deg,#eef4fa 0 14px,#e7eff7 14px 28px);
  border:1px dashed #b9d2ea;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;
  color:#7ea7cf;
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.04em;
  text-align:center;
  padding:14px;
}

.ph svg {
  width:26px;
  height:26px;
  opacity:.7;
}

/* section scaffolding */
section {
  padding:84px 0;
}

.kicker {
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.2em;
  color:var(--blue);
  text-transform:uppercase;
  margin:0 0 12px;
  font-weight:500;
}

h2.h {
  font-family:var(--font-head);
  font-weight:700;
  font-size:32px;
  line-height:1.35;
  margin:0 0 14px;
  letter-spacing:.01em;
}

.lead {
  color:var(--body);
  font-size:16px;
  max-width:62ch;
  margin:0 auto 46px;
  text-wrap:pretty;
}

.sec-head {
  margin-bottom:46px;
}

.sec-head.c {
  text-align:center;
}

.sec-head.c .lead {
  margin-inline:auto;
}

/* buttons */
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font-family:var(--font-head);
  font-weight:600;
  font-size:16px;
  padding:15px 30px;
  border-radius:10px;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space:nowrap;
}

.btn:hover { transform:translateY(-2px); }
.btn:active { transform:translateY(1px); }

.btn svg {
  width:19px;
  height:19px;
}

/* scroll reveal */
.reveal { opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; will-change:opacity,transform; }
.reveal.is-in { opacity:1; transform:none; }
@media(prefers-reduced-motion:reduce){ .reveal{opacity:1;transform:none;transition:none;} }

.btn-primary {
  background:var(--blue);
  color:#fff;
  box-shadow:0 8px 20px -8px rgba(31,141,240,.7);
}

.btn-primary:hover {
  background:var(--blue-d);
}

.btn-ghost {
  background:#fff;
  color:var(--blue-d);
  border-color:#bcd8f3;
}

.btn-ghost:hover {
  border-color:var(--blue);
  background:var(--sky);
}

.btn-line {
  background:var(--green);
  color:#fff;
}

.btn-line:hover {
  filter:brightness(.94);
}

.btn-lg {
  padding:18px 38px;
  font-size:17px;
}

/* ============ HEADER ============ */
.topbar {
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

.topbar .wrap {
  max-width:1320px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:78px;
  gap:34px;
}

.logo {
  height:46px;
  flex:0 0 auto;
}

.logo img {
  height:46px;
}

.nav {
  display:flex;
  align-items:center;
  gap:22px;
  flex:1 1 auto;
  justify-content:center;
}

.nav a {
  font-family:var(--font-head);
  font-weight:500;
  font-size:14.5px;
  color:var(--ink);
  transition:.15s;
  white-space:nowrap;
}

.nav a:hover {
  color:var(--blue);
}

.head-cta {
  display:flex;
  align-items:center;
  gap:16px;
  flex:0 0 auto;
}

.head-tel {
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  font-family:var(--font-head);
  font-weight:700;
  font-size:21px;
  color:#e8620d;
  line-height:1.15;
  letter-spacing:.02em;
  text-decoration:none;
  white-space:nowrap;
  flex:0 0 auto;
}

.head-tel:hover {
  color:#c74f08;
}

.head-tel small {
  margin-top:3px;
  font-size:10.5px;
  font-weight:500;
  color:var(--muted);
  letter-spacing:.06em;
  font-family:var(--font-mono);
}

.hamb {
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:6px;
}

.hamb span {
  width:24px;
  height:2px;
  background:var(--ink);
  border-radius:2px;
}

/* ============ HERO ============ */
.hero {
  background:linear-gradient(180deg,#f3f9ff 0%,#ffffff 70%);
  color:var(--ink);
  position:relative;
  overflow:hidden;
  padding:74px 0 84px;
  border-bottom:1px solid var(--line);
}

.hero::after {
  content:"";
  position:absolute;
  right:-120px;
  top:-120px;
  width:480px;
  height:480px;
  border-radius:50%;
  background:rgba(31,141,240,.07);
}

.hero .wrap {
  position:relative;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:48px;
  align-items:center;
  z-index:1;
}

.hero h1 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:46px;
  line-height:1.28;
  margin:0 0 20px;
  letter-spacing:.01em;
}

.hero h1 .hl {
  color:var(--blue-d);
  background:linear-gradient(transparent 64%,rgba(31,141,240,.22) 64%);
  padding:0 4px;
}

.hero p.sub {
  font-size:17px;
  color:var(--body);
  margin:0 0 26px;
  max-width:46ch;
}

.badges {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:30px;
}

.badge {
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:#fff;
  border:1px solid #bcd8f3;
  color:var(--blue-d);
  border-radius:999px;
  padding:8px 16px;
  font-size:13.5px;
  font-weight:600;
}

.badge svg {
  width:15px;
  height:15px;
  color:var(--blue);
}

.hero-cta {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.hero-photo {
  aspect-ratio:4/3.4;
  background:    linear-gradient(135deg,rgba(31,141,240,.08),rgba(31,141,240,.02)),    repeating-linear-gradient(135deg,#eef4fa 0 14px,#e7eff7 14px 28px);
  border:1px dashed #b9d2ea;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:8px;
  color:#7ea7cf;
  font-family:var(--font-mono);
  font-size:13px;
}

.hero-photo svg {
  width:34px;
  height:34px;
  opacity:.7;
}

/* stats strip */
.stats {
  background:#fff;
  border-bottom:1px solid var(--line);
}

.stats .wrap {
  display:grid;
  grid-template-columns:repeat(4,1fr);
}

.stat {
  text-align:center;
  padding:26px 12px;
  border-left:1px solid var(--line);
}

.stat:first-child {
  border-left:none;
}

.stat .num {
  font-family:var(--font-head);
  font-weight:700;
  font-size:30px;
  color:var(--blue-d);
  line-height:1;
}

.stat .num span {
  font-size:16px;
}

.stat .lbl {
  font-size:13px;
  color:var(--muted);
  margin-top:6px;
}

/* ============ 修理メニュー ============ */
.menu {
  background:var(--paper-2);
}

.menu-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.menu-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:28px 20px;
  text-align:center;
  transition:.18s;
  box-shadow:var(--shadow-sm);
}

.menu-card:hover {
  transform:translateY(-4px);
  border-color:var(--blue);
  box-shadow:var(--shadow);
}

.menu-ico {
  width:58px;
  height:58px;
  margin:0 auto 14px;
  border-radius:14px;
  background:var(--sky);
  display:grid;
  place-items:center;
  color:var(--blue-d);
}

.menu-ico svg {
  width:30px;
  height:30px;
}

.menu-card h3 {
  font-family:var(--font-head);
  font-weight:600;
  font-size:17px;
  margin:0 0 6px;
}

.menu-card p {
  font-size:13px;
  color:var(--body);
  margin:0;
}

.menu-card .arrow {
  margin-top:12px;
  font-size:13px;
  color:var(--blue);
  font-weight:600;
  font-family:var(--font-head);
}

/* ============ 二客層 ============ */
.aud-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.aud {
  border-radius:18px;
  padding:40px;
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
}

.aud.indiv {
  background:linear-gradient(140deg,#eaf4fd,#f6fafe);
  border-top:4px solid var(--blue);
}

.aud.biz {
  background:linear-gradient(140deg,#eef7ff,#f5fafe);
  border-top:4px solid #8cc4f6;
}

.aud .tag {
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.12em;
  color:var(--blue-d);
  margin-bottom:10px;
}

.aud h3 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:24px;
  margin:0 0 12px;
  color:var(--ink);
}

.aud p {
  font-size:14.5px;
  color:var(--body);
  margin:0 0 18px;
}

.aud ul {
  list-style:none;
  margin:0 0 24px;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:9px;
}

.aud li {
  font-size:14px;
  display:flex;
  gap:9px;
  align-items:flex-start;
  color:var(--body);
}

.aud li svg {
  width:18px;
  height:18px;
  flex:none;
  margin-top:3px;
  color:var(--blue);
}

.aud .btn {
  background:var(--blue);
  color:#fff;
}

.aud .btn:hover {
  background:var(--blue-d);
}

/* ============ 選ばれる理由 ============ */
.reasons {
  background:#fff;
}

.reason-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.reason {
  background:#fff;
  border-radius:var(--r);
  padding:30px 24px;
  box-shadow:var(--shadow-sm);
}

.reason .ico {
  width:54px;
  height:54px;
  border-radius:50%;
  background:var(--sky);
  display:grid;
  place-items:center;
  color:var(--blue-d);
  margin-bottom:16px;
}

.reason .ico svg {
  width:28px;
  height:28px;
}

.reason .no {
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--blue);
  letter-spacing:.1em;
}

.reason h3 {
  font-family:var(--font-head);
  font-weight:600;
  font-size:17.5px;
  margin:4px 0 8px;
}

.reason p {
  font-size:13.5px;
  color:var(--body);
  margin:0;
}

/* ============ 修理の流れ ============ */
.flow-tabs {
  display:flex;
  justify-content:center;
  gap:12px;
  margin-bottom:38px;
}

.flow-tab {
  font-family:var(--font-head);
  font-weight:600;
  font-size:15px;
  padding:12px 30px;
  border-radius:999px;
  border:2px solid var(--line);
  background:#fff;
  color:var(--body);
  cursor:pointer;
  transition:.15s;
}

.flow-tab.on {
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
}

.flow-panel {
  display:none;
}

.flow-panel.on {
  display:block;
}

.steps {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.step {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:26px 22px;
  position:relative;
  box-shadow:var(--shadow-sm);
}

.step .n {
  font-family:var(--font-mono);
  font-weight:500;
  font-size:14px;
  color:#fff;
  background:var(--blue);
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  margin-bottom:14px;
}

.step h4 {
  font-family:var(--font-head);
  font-weight:600;
  font-size:16px;
  margin:0 0 6px;
}

.step p {
  font-size:13px;
  color:var(--body);
  margin:0;
}

.step:not(:last-child)::after {
  content:"";
  position:absolute;
  top:42px;
  right:-12px;
  width:14px;
  height:14px;
  border-top:2px solid var(--blue);
  border-right:2px solid var(--blue);
  transform:rotate(45deg);
  z-index:2;
}

/* ============ 料金 ============ */
.price {
  background:var(--paper-2);
}

.price-table {
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border-radius:var(--r);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  font-size:15px;
}

.price-table th,.price-table td {
  padding:16px 22px;
  text-align:left;
  border-bottom:1px solid var(--line);
}

.price-table thead th {
  background:var(--sky);
  color:var(--blue-d);
  font-family:var(--font-head);
  font-weight:600;
  font-size:14px;
}

.price-table td.dev {
  font-family:var(--font-head);
  font-weight:600;
  color:var(--ink);
}

.price-table td.amt {
  font-family:var(--font-head);
  font-weight:700;
  color:var(--blue-d);
  white-space:nowrap;
}

.price-table tr:last-child td {
  border-bottom:none;
}

.price-note {
  font-size:13px;
  color:var(--muted);
  margin:16px 2px 0;
}

/* ============ 実績/ブログ ============ */
.blog-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.post {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:.18s;
}

.post:hover {
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}

.post .thumb {
  aspect-ratio:16/10;
}

.post .body {
  padding:20px 22px 24px;
}

.post .meta {
  display:flex;
  gap:10px;
  align-items:center;
  font-size:12px;
  color:var(--muted);
  font-family:var(--font-mono);
  margin-bottom:8px;
}

.post .chip {
  background:var(--sky);
  color:var(--blue-d);
  padding:3px 10px;
  border-radius:6px;
  font-weight:600;
  letter-spacing:.02em;
}

.post h3 {
  font-family:var(--font-head);
  font-weight:600;
  font-size:16.5px;
  margin:0;
  line-height:1.5;
}

/* ============ お客様の声 ============ */
.voices {
  background:var(--paper-2);
}

.voice-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.voice {
  background:#fff;
  border-radius:var(--r);
  padding:28px 26px;
  box-shadow:var(--shadow-sm);
}

.voice .stars {
  color:var(--amber);
  font-size:16px;
  letter-spacing:2px;
  margin-bottom:12px;
}

.voice p {
  font-size:14.5px;
  color:var(--ink);
  margin:0 0 16px;
}

.voice .who {
  display:flex;
  align-items:center;
  gap:12px;
}

.voice .ava {
  width:42px;
  height:42px;
  border-radius:50%;
  background:var(--sky-2);
  display:grid;
  place-items:center;
  color:var(--blue-d);
  font-family:var(--font-head);
  font-weight:700;
}

.voice .who b {
  font-family:var(--font-head);
  font-size:14px;
  display:block;
}

.voice .who small {
  font-size:12px;
  color:var(--muted);
}

/* ============ 店舗 ============ */
.shop-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}

.shop-info h3 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:24px;
  margin:0 0 18px;
}

.shop-info dl {
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px 22px;
  margin:0;
}

.shop-info dt {
  font-family:var(--font-head);
  font-weight:600;
  font-size:14px;
  color:var(--blue-d);
  white-space:nowrap;
}

.shop-info dd {
  margin:0;
  font-size:14.5px;
  color:var(--body);
}

.shop-map {
  aspect-ratio:4/3.2;
  border-radius:var(--r);
}

/* ============ FAQ ============ */
.faq {
  max-width:820px;
  margin:0 auto;
}

.qa {
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  margin-bottom:12px;
  overflow:hidden;
}

.qa summary {
  list-style:none;
  cursor:pointer;
  padding:20px 24px;
  font-family:var(--font-head);
  font-weight:600;
  font-size:16px;
  display:flex;
  align-items:center;
  gap:14px;
}

.qa summary::-webkit-details-marker {
  display:none;
}

.qa summary .q {
  width:28px;
  height:28px;
  flex:none;
  border-radius:7px;
  background:var(--blue);
  color:#fff;
  display:grid;
  place-items:center;
  font-family:var(--font-mono);
  font-size:14px;
}

.qa summary .ic {
  margin-left:auto;
  color:var(--blue);
  transition:.2s;
}

.qa[open] summary .ic {
  transform:rotate(45deg);
}

.qa .a {
  padding:0 24px 22px 66px;
  font-size:14.5px;
  color:var(--body);
}

/* ============ CTA band ============ */
.cta {
  background:radial-gradient(120% 140% at 50% 0%, #1c3a63 0%, #13273f 60%, #0e1f34 100%);
  color:#fff;
  text-align:center;
  border-top:1px solid #0c1b2d;
  border-bottom:1px solid #0c1b2d;
  box-shadow:inset 0 12px 30px -18px rgba(0,0,0,.6), inset 0 -12px 30px -18px rgba(0,0,0,.6);
}

.cta h2 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:34px;
  margin:0 0 12px;
  color:#fff;
}

.cta p {
  font-size:16px;
  color:#c4d6ea;
  margin:0 0 30px;
}

.cta-row {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  justify-content:center;
}

.cta-row .btn-ghost {
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.35);
  color:#fff;
}

.cta-row .btn-ghost:hover {
  background:rgba(255,255,255,.16);
  border-color:#fff;
}

/* ============ FOOTER ============ */
footer.ft {
  background:var(--paper-2);
  color:var(--body);
  padding:60px 0 30px;
  font-size:14px;
  border-top:1px solid var(--line);
}

.ft-top {
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:36px;
  padding-bottom:36px;
  border-bottom:1px solid var(--line);
}

.ft-logo {
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  padding:10px 14px;
  display:inline-flex;
  margin-bottom:16px;
}

.ft-logo img {
  height:30px;
}

.ft p {
  margin:0 0 6px;
  font-size:13.5px;
  line-height:1.9;
}

.ft h4 {
  font-family:var(--font-head);
  font-weight:600;
  font-size:14px;
  color:var(--ink);
  margin:0 0 14px;
}

.ft ul {
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:9px;
}

.ft ul a {
  font-size:13.5px;
  color:var(--body);
}

.ft ul a:hover {
  color:var(--blue-d);
}

.ft-map {
  aspect-ratio:16/9;
  border-radius:8px;
}

.ft-bottom {
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  padding-top:24px;
  font-size:12.5px;
  color:var(--muted);
}

/* mobile sticky bar */
.mobile-bar {
  display:none;
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:60;
  background:#fff;
  border-top:1px solid var(--line);
  padding:8px;
  gap:8px;
  box-shadow:0 -6px 20px -10px rgba(0,0,0,.25);
}

.mobile-bar a {
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  padding:8px;
  border-radius:10px;
  font-family:var(--font-head);
  font-weight:600;
  font-size:12px;
  color:#fff;
}

.mobile-bar a svg {
  width:18px;
  height:18px;
}

.mobile-bar .tel {
  background:var(--blue);
}

.mobile-bar .line {
  background:var(--green);
}

.mobile-bar .mail {
  background:var(--blue-dd);
}

/* ============ RESPONSIVE ============ */

/* --- header dropdown (desktop) --- */
.nav-dd {
  position:relative;
  display:flex;
  align-items:center;
}

.nav-dd-t {
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-family:var(--font-head);
  font-weight:500;
  font-size:14.5px;
  color:var(--ink);
  cursor:pointer;
  white-space:nowrap;
}

.nav-dd-t svg {
  width:13px;
  height:13px;
  transition:.2s;
}

.nav-dd:hover .nav-dd-t {
  color:var(--blue);
}

.nav-dd:hover .nav-dd-t svg {
  transform:rotate(180deg);
}

.nav-dd-panel {
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%) translateY(10px);
  min-width:236px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 16px 34px -14px rgba(20,60,110,.28);
  padding:8px;
  opacity:0;
  visibility:hidden;
  transition:.16s;
  z-index:70;
  display:flex;
  flex-direction:column;
}

.nav-dd:hover .nav-dd-panel {
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(4px);
}

.nav-dd-panel::before {
  content:"";
  position:absolute;
  top:-12px;
  left:0;
  right:0;
  height:12px;
}

.nav-dd-panel a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:11px 15px;
  border-radius:8px;
  font-family:var(--font-head);
  font-weight:600;
  font-size:14px;
  color:var(--ink);
}

.nav-dd-panel a:hover {
  background:var(--sky);
  color:var(--blue-d);
}

.nav-dd-panel a .ar {
  color:var(--muted);
  font-size:13px;
}

/* --- simple list dropdown (サポート等) --- */
.nav-dd-list {
  min-width:230px;
  display:flex;
  flex-direction:column;
  gap:1px;
}
.nav-dd-list a {
  display:block;
  padding:12px 18px;
  font-size:14px;
  font-weight:500;
  border-radius:8px;
}
.nav-dd-list a:hover {
  background:var(--sky);
  color:var(--blue-d);
}

/* --- mega dropdown (2列・アイコン付き) --- */
.nav-dd-mega {
  min-width:460px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2px;
}
.nav-dd-mega a {
  justify-content:flex-start;
  align-items:flex-start;
  gap:12px;
  padding:12px 14px;
}
.nav-dd-mega .dd-ic {
  flex:0 0 auto;
  width:34px;
  height:34px;
  border-radius:9px;
  background:var(--sky);
  color:var(--blue-d);
  display:flex;
  align-items:center;
  justify-content:center;
}
.nav-dd-mega .dd-ic svg {
  width:19px;
  height:19px;
}
.nav-dd-mega a:hover .dd-ic {
  background:var(--blue);
  color:#fff;
}
.nav-dd-mega .dd-tx {
  display:flex;
  flex-direction:column;
  gap:2px;
  line-height:1.3;
}
.nav-dd-mega .dd-tx b {
  font-weight:700;
  font-size:14px;
}
.nav-dd-mega .dd-tx small {
  font-weight:500;
  font-size:11.5px;
  color:var(--muted);
}
.nav-dd-mega a:hover .dd-tx small {
  color:var(--blue-d);
}

@media(max-width:1040px) {
  .nav,.head-tel {
    display:none;
  }
  .hamb {
    display:flex;
  }
  .topbar .nav.open {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    position:absolute;
    top:74px;
    left:0;
    right:0;
    background:#fff;
    border-bottom:1px solid var(--line);
    box-shadow:0 14px 24px -12px rgba(20,60,110,.25);
    padding:8px 0;
    z-index:60;
    max-height:calc(100vh - 74px);
    overflow-y:auto;
  }
  .topbar .nav.open>a {
    padding:14px 28px;
    font-size:15.5px;
    border-top:1px solid var(--line);
  }
  .topbar .nav.open>a:first-child {
    border-top:none;
  }
  /* dropdown on mobile: expanded inline */
  .topbar .nav.open .nav-dd {
    flex-direction:column;
    align-items:stretch;
  }
  .topbar .nav.open .nav-dd-t {
    padding:14px 28px;
    border-top:1px solid var(--line);
    justify-content:space-between;
    font-size:15.5px;
  }
  .topbar .nav.open .nav-dd-t svg {
    transform:rotate(180deg);
  }
  .topbar .nav.open .nav-dd-panel {
    position:static;
    opacity:1;
    visibility:visible;
    transform:none;
    box-shadow:none;
    border:none;
    border-radius:0;
    padding:0;
    min-width:0;
    background:var(--paper-2);
  }
  .topbar .nav.open .nav-dd-panel::before {
    display:none;
  }
  .topbar .nav.open .nav-dd-panel a {
    padding:12px 44px;
    border-top:1px solid var(--line);
    border-radius:0;
  }
  .topbar .nav.open .nav-dd-mega {
    display:block;
    min-width:0;
  }
  .topbar .nav.open .nav-dd-mega .dd-ic {
    width:26px;
    height:26px;
  }
  .topbar .nav.open .nav-dd-mega .dd-ic svg {
    width:15px;
    height:15px;
  }
  .hamb span {
    transition:.2s;
  }
  .hamb.is-open span:nth-child(1) {
    transform:translateY(7px) rotate(45deg);
  }
  .hamb.is-open span:nth-child(2) {
    opacity:0;
  }
  .hamb.is-open span:nth-child(3) {
    transform:translateY(-7px) rotate(-45deg);
  }
}

@media(max-width:920px) {
  .hero .wrap {
    grid-template-columns:1fr;
    gap:30px;
  }
  .hero h1 {
    font-size:34px;
  }
  .menu-grid,.reason-grid {
    grid-template-columns:repeat(2,1fr);
  }
  .steps {
    grid-template-columns:repeat(2,1fr);
  }
  .step:not(:last-child)::after {
    display:none;
  }
  .aud-grid,.shop-grid {
    grid-template-columns:1fr;
  }
  .blog-grid,.voice-grid {
    grid-template-columns:1fr;
  }
  .stats .wrap {
    grid-template-columns:repeat(2,1fr);
  }
  .stat:nth-child(3) {
    border-left:none;
  }
  .ft-top {
    grid-template-columns:1fr 1fr;
    gap:26px;
  }
  section {
    padding:60px 0;
  }
  h2.h {
    font-size:26px;
  }
  .mobile-bar {
    display:flex;
  }
  body {
    padding-bottom:72px;
  }
}

@media(max-width:560px) {
  .menu-grid {
    grid-template-columns:1fr 1fr;
  }
  .ft-top {
    grid-template-columns:1fr;
  }
}

/* =========================================================
   SUBPAGES
   ========================================================= */
.page-hero {
  background:linear-gradient(180deg,#f3f9ff,#fff);
  border-bottom:1px solid var(--line);
  padding:50px 0 46px;
}

.biz-hero-grid {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:40px;
  align-items:center;
}

.biz-hero-grid .hero-photo {
  aspect-ratio:16/10;
  border-radius:16px;
}

@media(max-width:760px) {
  .biz-hero-grid {
    grid-template-columns:1fr;
    gap:26px;
  }
}

.breadcrumb {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  font-size:12.5px;
  color:var(--muted);
  font-family:var(--font-mono);
  margin-bottom:16px;
}

.breadcrumb a {
  color:var(--blue-d);
}

.breadcrumb a:hover {
  text-decoration:underline;
}

.page-hero h1 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:38px;
  margin:0 0 12px;
  letter-spacing:.01em;
}

.page-hero .pk {
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.18em;
  color:var(--blue);
  text-transform:uppercase;
  margin:0 0 10px;
}

.page-hero p {
  font-size:16px;
  color:var(--body);
  max-width:66ch;
  margin:0;
}

.prose {
  max-width:780px;
  margin:0 auto;
}

.prose p {
  color:var(--body);
  font-size:15.5px;
}

.prose h3 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:22px;
  margin:32px 0 12px;
}

/* symptom / service cards (reuse menu-card look) */
.sym-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.sym {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:24px;
  box-shadow:var(--shadow-sm);
  transition:.18s;
  display:flex;
  flex-direction:column;
  gap:8px;
  text-decoration:none;
}

.sym .sym-ar {
  margin-top:auto;
  padding-top:10px;
  font-family:var(--font-head);
  font-weight:600;
  font-size:12.5px;
  color:var(--blue-d);
}

a.sym:hover .sym-ar {
  text-decoration:underline;
}

.sym:hover {
  transform:translateY(-3px);
  border-color:var(--blue);
  box-shadow:var(--shadow);
}

.sym .ico {
  width:48px;
  height:48px;
  border-radius:12px;
  background:var(--sky);
  display:grid;
  place-items:center;
  color:var(--blue-d);
}

.sym .ico svg {
  width:26px;
  height:26px;
}

.sym h3 {
  font-family:var(--font-head);
  font-weight:600;
  font-size:17px;
  margin:4px 0 0;
}

.sym p {
  font-size:13px;
  color:var(--body);
  margin:0;
  flex:1;
}

.sym .pr {
  font-family:var(--font-head);
  font-weight:700;
  color:var(--blue-d);
  font-size:15px;
}

/* related cross-links */
.rel-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.rel {
  display:flex;
  align-items:center;
  gap:12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px 18px;
  font-family:var(--font-head);
  font-weight:600;
  font-size:14.5px;
  color:var(--ink);
  transition:.18s;
  box-shadow:var(--shadow-sm);
}

.rel:hover {
  border-color:var(--blue);
  color:var(--blue-d);
  transform:translateY(-2px);
}

.rel .ic {
  width:38px;
  height:38px;
  border-radius:10px;
  background:var(--sky);
  display:grid;
  place-items:center;
  color:var(--blue-d);
  flex:none;
}

.rel .ic svg {
  width:22px;
  height:22px;
}

.rel .ar {
  margin-left:auto;
  color:var(--blue);
}

/* info / company table */
.info-table {
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r);
  overflow:hidden;
  font-size:15px;
}

.info-table th {
  width:30%;
  text-align:left;
  padding:18px 22px;
  background:var(--paper-2);
  font-family:var(--font-head);
  font-weight:600;
  color:var(--ink);
  border-bottom:1px solid var(--line);
  vertical-align:top;
}

.info-table td {
  padding:18px 22px;
  color:var(--body);
  border-bottom:1px solid var(--line);
}

.info-table tr:last-child th,.info-table tr:last-child td {
  border-bottom:none;
}

/* note card */
.note-card {
  background:var(--sky);
  border:1px solid #cfe6fb;
  border-radius:12px;
  padding:22px 26px;
}

.note-card h4 {
  font-family:var(--font-head);
  font-weight:600;
  margin:0 0 8px;
  font-size:16px;
  color:var(--blue-d);
}

.note-card p {
  margin:0;
  font-size:14px;
  color:var(--body);
}

/* feature list (business) */
.feat-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.feat {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:28px 24px;
  box-shadow:var(--shadow-sm);
}

.feat .ico {
  width:50px;
  height:50px;
  border-radius:12px;
  background:var(--sky);
  display:grid;
  place-items:center;
  color:var(--blue-d);
  margin-bottom:14px;
}

.feat .ico svg {
  width:26px;
  height:26px;
}

.feat h3 {
  font-family:var(--font-head);
  font-weight:600;
  font-size:17px;
  margin:0 0 8px;
}

.feat p {
  font-size:13.5px;
  color:var(--body);
  margin:0;
}

/* form */
.form {
  max-width:720px;
  margin:0 auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:36px 38px;
  box-shadow:var(--shadow-sm);
}

.field {
  margin-bottom:22px;
}

.field label {
  display:block;
  font-family:var(--font-head);
  font-weight:600;
  font-size:14px;
  margin-bottom:8px;
}

.field label .req {
  color:#e2533b;
  font-size:12px;
  margin-left:8px;
}

.field input,.field select,.field textarea {
  width:100%;
  border:1px solid var(--line);
  border-radius:9px;
  padding:13px 15px;
  font-family:var(--font-body);
  font-size:15px;
  color:var(--ink);
  background:var(--paper-2);
}

.field input:focus,.field select:focus,.field textarea:focus {
  outline:none;
  border-color:var(--blue);
  background:#fff;
}

.field textarea {
  min-height:130px;
  resize:vertical;
}

.field .row2 {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.radio-row {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.radio-row label {
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line);
  border-radius:9px;
  padding:11px 18px;
  cursor:pointer;
  font-weight:500;
  font-size:14px;
  background:var(--paper-2);
}

/* generic 2-col with image */
.split {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}

.split .ph {
  aspect-ratio:4/3;
}

.section-tinted {
  background:linear-gradient(180deg,#eef4fb 0%,var(--paper-2) 100%);
  border-top:1px solid #e6eef7;
  border-bottom:1px solid #e6eef7;
}

/* campaign banner */
.campaign { padding:34px 0 6px; }
.campaign-card {
  display:flex;
  align-items:center;
  gap:28px;
  background:linear-gradient(135deg,#fff6ec 0%,#fff 60%);
  border:1px solid #ffd9b8;
  border-left:6px solid var(--accent);
  border-radius:18px;
  padding:30px 34px;
  box-shadow:var(--shadow-sm);
}
.campaign-body { flex:1; min-width:0; }
.campaign-badge {
  display:inline-block;
  font-family:var(--font-head);
  font-weight:700;
  font-size:12px;
  letter-spacing:.08em;
  color:#fff;
  background:var(--accent);
  padding:5px 14px;
  border-radius:999px;
  margin-bottom:12px;
}
.campaign-body h2 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:24px;
  color:var(--ink);
  margin:0 0 6px;
}
.campaign-period {
  font-family:var(--font-mono);
  font-size:13.5px;
  color:var(--accent-d);
  margin:0 0 10px;
}
.campaign-desc { font-size:15px; color:var(--body); margin:0 0 18px; }
.campaign-cta { display:flex; gap:12px; flex-wrap:wrap; }
.campaign-tag {
  flex-shrink:0;
  width:112px;
  height:112px;
  border-radius:50%;
  background:var(--accent);
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  box-shadow:0 14px 30px -12px rgba(232,64,31,.6);
}
.campaign-tag .ct-off { font-family:var(--font-head); font-weight:700; font-size:30px; line-height:1; }
.campaign-tag .ct-note { font-size:13px; margin-top:4px; }
@media(max-width:680px){
  .campaign-card { flex-direction:column; text-align:center; padding:26px 22px; }
  .campaign-cta { justify-content:center; }
  .campaign-tag { width:96px; height:96px; }
}

.hero-badge {
  position:absolute;
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:12px 18px;
  border-radius:14px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(6px);
  box-shadow:0 16px 34px -14px rgba(20,55,105,.5);
  border:1px solid rgba(255,255,255,.8);
}
.hero-badge-tl { top:16px; left:16px; }
.hero-badge-br { bottom:16px; right:16px; }
.hero-badge .hb-num {
  font-family:var(--font-head);
  font-weight:700;
  font-size:26px;
  line-height:1;
  color:var(--blue-d);
}
.hero-badge .hb-unit { font-size:15px; margin-left:2px; }
.hero-badge .hb-lbl {
  font-family:var(--font-head);
  font-weight:600;
  font-size:12px;
  color:var(--ink);
}
@media(max-width:640px){
  .hero-badge { padding:9px 13px; }
  .hero-badge .hb-num { font-size:20px; }
  .hero-badge .hb-lbl { font-size:11px; }
}

@media(max-width:920px) {
  .sym-grid,.feat-grid {
    grid-template-columns:1fr 1fr;
  }
  .rel-grid {
    grid-template-columns:1fr 1fr;
  }
  .split {
    grid-template-columns:1fr;
  }
  .page-hero h1 {
    font-size:30px;
  }
  .form {
    padding:26px 22px;
  }
  .field .row2 {
    grid-template-columns:1fr;
  }
}

@media(max-width:560px) {
  .sym-grid,.feat-grid,.rel-grid {
    grid-template-columns:1fr;
  }
  .info-table th {
    width:38%;
  }
}

/* ============ PRICE PAGE ============ */
.worktime {
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:var(--accent-soft);
  border:1px solid #ffd2c7;
  color:var(--accent-d);
  font-family:var(--font-head);
  font-weight:700;
  font-size:15px;
  padding:10px 20px;
  border-radius:999px;
  margin-bottom:8px;
}

.worktime svg {
  width:18px;
  height:18px;
}

.worktime b {
  font-size:18px;
}

.dev-tabs {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin-bottom:14px;
}

.dev-tab {
  font-family:var(--font-head);
  font-weight:600;
  font-size:15px;
  padding:12px 26px;
  border-radius:999px;
  border:2px solid var(--line);
  background:#fff;
  color:var(--body);
  cursor:pointer;
  transition:.15s;
  display:inline-flex;
  align-items:center;
  gap:9px;
  flex-shrink:0;
  white-space:nowrap;
}

.dev-tab svg {
  width:18px;
  height:18px;
}

.dev-tab:hover {
  border-color:var(--blue);
  color:var(--blue-d);
}

.dev-tab.on {
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
}

.dev-panel {
  display:none;
}

.dev-panel.on {
  display:block;
}

.price-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
}

.ptable {
  width:100%;
  border-collapse:collapse;
  font-size:15px;
}

.ptable th {
  background:var(--blue-d);
  color:#fff;
  font-family:var(--font-head);
  font-weight:600;
  font-size:13.5px;
  text-align:left;
  padding:14px 22px;
}

.ptable td {
  padding:0;
  border-bottom:1px solid var(--line);
}

.ptable tr:last-child td {
  border-bottom:none;
}

.model-row td {
  padding:13px 22px;
  vertical-align:top;
}

.model-row .model {
  font-family:var(--font-head);
  font-weight:700;
  color:var(--ink);
  font-size:15px;
  white-space:nowrap;
}

.model-row .badge-new {
  display:inline-block;
  font-size:10px;
  font-family:var(--font-mono);
  background:var(--accent);
  color:#fff;
  border-radius:5px;
  padding:2px 7px;
  margin-left:8px;
  vertical-align:middle;
}

.repair-lines {
  display:flex;
  flex-direction:column;
  gap:7px;
}

.repair-line {
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:baseline;
}

.pt-amt {
  text-align:right;
  font-family:var(--font-mono);
  font-weight:500;
  color:var(--ink);
  white-space:nowrap;
}
.pt-amt .ask-line { justify-content:flex-end; }

.repair-line .nm {
  color:var(--body);
  font-size:14px;
}

.repair-line .amt {
  font-family:var(--font-head);
  font-weight:700;
  color:var(--blue-d);
  white-space:nowrap;
  font-size:15px;
}

.repair-line .amt.ask {
  color:var(--accent-d);
  font-size:13.5px;
}

.model-row:nth-child(even) {
  background:var(--paper-2);
}

.price-photos {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.price-photos .ph {
  aspect-ratio:4/3;
}

@media(max-width:720px) {
  .ptable th:nth-child(1),.model-row td:nth-child(1) {
    width:34%;
  }
  .model-row td {
    padding:12px 14px;
  }
  .ptable th {
    padding:12px 14px;
  }
  .price-photos {
    grid-template-columns:1fr;
  }
  .repair-line {
    flex-direction:column;
    gap:2px;
  }
}

/* maker / series sub-filter */
.maker-wrap {
  margin-top:10px;
}

.maker-label {
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.12em;
  color:var(--blue-d);
  text-align:center;
  margin:0 0 12px;
}

.maker-tabs {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  margin:0 0 24px;
}

.maker-btn {
  font-family:var(--font-head);
  font-weight:600;
  font-size:13.5px;
  padding:9px 18px;
  border-radius:8px;
  border:1.5px solid var(--line);
  background:#fff;
  color:var(--body);
  cursor:pointer;
  transition:.15s;
}

.maker-btn:hover {
  border-color:var(--blue);
  color:var(--blue-d);
}

.maker-btn.on {
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
}

.maker-panel {
  display:none;
}

.maker-panel.on {
  display:block;
}

.maker-head {
  font-family:var(--font-head);
  font-weight:700;
  font-size:18px;
  margin:0 0 14px;
  color:var(--ink);
  display:flex;
  align-items:center;
  gap:10px;
}

.maker-head .dot {
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--blue);
}

/* ===== PROTOTYPE2: smart-max風 追加パーツ ===== */
.trustbar {
  background:var(--sky);
  border-bottom:1px solid var(--line);
}

.trustbar .wrap {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px 26px;
  padding:11px 28px;
}

.trustbar .ti {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-head);
  font-weight:600;
  font-size:13.5px;
  color:var(--blue-d);
}

.trustbar .ti svg {
  width:17px;
  height:17px;
  color:var(--blue);
  flex:none;
}

.quicklinks {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}

.ql {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:9px;
  text-align:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:20px 12px;
  transition:.18s;
  box-shadow:var(--shadow-sm);
}

.ql:hover {
  border-color:var(--blue);
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  color:var(--blue-d);
}

.ql .ic {
  width:44px;
  height:44px;
  border-radius:11px;
  background:var(--sky);
  display:grid;
  place-items:center;
  color:var(--blue-d);
}

.ql .ic svg {
  width:24px;
  height:24px;
}

.ql span {
  font-family:var(--font-head);
  font-weight:600;
  font-size:13.5px;
  color:var(--ink);
}

.news {
  max-width:780px;
  margin:0 auto;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow-sm);
}

.news-item {
  display:flex;
  gap:16px;
  align-items:center;
  padding:15px 24px;
  border-bottom:1px solid var(--line);
  transition:.15s;
}

.news-item:last-child {
  border-bottom:none;
}

.news-item:hover {
  background:var(--paper-2);
}

.news-item .date {
  font-family:var(--font-mono);
  font-size:12.5px;
  color:var(--muted);
  white-space:nowrap;
}

.news-item .tag {
  font-size:11px;
  font-family:var(--font-head);
  font-weight:600;
  background:var(--sky);
  color:var(--blue-d);
  padding:3px 10px;
  border-radius:5px;
  white-space:nowrap;
}

.news-item p {
  margin:0;
  font-size:14px;
  color:var(--ink);
}

.brand-chips {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}

.brand-chips a {
  font-family:var(--font-head);
  font-weight:600;
  font-size:14px;
  color:var(--body);
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  padding:10px 18px;
  text-decoration:none;
  transition:.16s;
  box-shadow:var(--shadow-sm);
}

.brand-chips a:hover {
  color:var(--blue-d);
  border-color:var(--blue);
  background:var(--sky);
  transform:translateY(-2px);
}

@media(max-width:720px) {
  .quicklinks {
    grid-template-columns:repeat(2,1fr);
  }
  .news-item {
    flex-wrap:wrap;
    gap:6px 12px;
  }
}

/* ===== 技術研修ページ：3パターン共通＋各種 ===== */
.pattern-switch {
  position:sticky;
  top:74px;
  z-index:40;
  background:#fff;
  border-bottom:1px solid var(--line);
}

.pattern-switch .wrap {
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px 28px;
  flex-wrap:wrap;
}

.pattern-switch .lbl {
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.1em;
  color:var(--muted);
}

.pattern-switch a {
  font-family:var(--font-head);
  font-weight:600;
  font-size:13.5px;
  padding:8px 18px;
  border-radius:999px;
  border:1.5px solid var(--line);
  color:var(--body);
}

.pattern-switch a.on {
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
}

.pattern-switch a:hover {
  border-color:var(--blue);
  color:var(--blue-d);
}

.pattern-switch a.on:hover {
  color:#fff;
}

/* training hero */
.tr-hero {
  background:linear-gradient(150deg,#0ea5e9,#38bdf8 55%,#56c7fa);
  color:#fff;
  padding:60px 0;
}

.tr-hero .wrap {
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:44px;
  align-items:center;
}

.tr-hero .pk {
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.18em;
  margin:0 0 12px;
  color:rgba(255,255,255,.85);
}

.tr-hero h1 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:40px;
  line-height:1.3;
  margin:0 0 16px;
}

.tr-hero p {
  font-size:16px;
  color:rgba(255,255,255,.95);
  margin:0 0 24px;
  max-width:46ch;
}

.tr-hero .hero-photo {
  aspect-ratio:4/3;
  background:repeating-linear-gradient(135deg,rgba(255,255,255,.16) 0 14px,rgba(255,255,255,.08) 14px 28px);
  border:1px dashed rgba(255,255,255,.55);
  color:rgba(255,255,255,.9);
}

@media(max-width:900px) {
  .tr-hero .wrap {
    grid-template-columns:1fr;
  }
  .tr-hero h1 {
    font-size:30px;
  }
}

/* MAIN feature (基板修理) big */
.mainfeat {
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.mainfeat .mf-photo {
  aspect-ratio:16/8;
  border:none;
  border-radius:0;
}

.mainfeat .mf-body {
  padding:38px 42px;
}

.mainfeat .mf-tag {
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--accent);
  color:#fff;
  font-family:var(--font-head);
  font-weight:700;
  font-size:13px;
  padding:6px 16px;
  border-radius:999px;
  margin-bottom:16px;
}

.mainfeat h2 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:30px;
  margin:0 0 14px;
  line-height:1.35;
}

.mainfeat p.mf-lead {
  font-size:15.5px;
  color:var(--body);
  margin:0 0 24px;
  max-width:70ch;
}

.mf-targets {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:26px;
}

.mf-targets span {
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--sky);
  color:var(--blue-d);
  font-family:var(--font-head);
  font-weight:600;
  font-size:14px;
  padding:9px 16px;
  border-radius:10px;
}

.mf-targets span svg {
  width:18px;
  height:18px;
}

.mf-photos-row {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:8px;
}

.mf-photos-row .ph {
  aspect-ratio:4/3;
}

@media(max-width:720px) {
  .mainfeat .mf-body {
    padding:26px 22px;
  }
  .mainfeat h2 {
    font-size:24px;
  }
  .mf-photos-row {
    grid-template-columns:1fr;
  }
}

/* sub course cards */
.subcourse-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.subcourse {
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:.18s;
  display:flex;
  flex-direction:column;
}

.subcourse:hover {
  transform:translateY(-4px);
  box-shadow:var(--shadow);
  border-color:var(--blue);
}

.subcourse .sc-photo {
  aspect-ratio:16/10;
  border:none;
  border-radius:0;
}

.subcourse .sc-body {
  padding:22px 24px 26px;
  flex:1;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.subcourse h3 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:18px;
  margin:0;
}

.subcourse p {
  font-size:13.5px;
  color:var(--body);
  margin:0;
  flex:1;
}

.subcourse .price {
  font-family:var(--font-head);
  font-weight:700;
  color:var(--blue-d);
  font-size:15px;
}

@media(max-width:900px) {
  .subcourse-grid {
    grid-template-columns:1fr;
  }
}

/* Pattern B split */
.tr-split {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.tr-split .sp-photo {
  min-height:340px;
  border:none;
  border-radius:0;
}

.tr-split .sp-body {
  padding:44px 46px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

@media(max-width:820px) {
  .tr-split {
    grid-template-columns:1fr;
  }
  .tr-split .sp-photo {
    min-height:220px;
  }
  .tr-split .sp-body {
    padding:28px 24px;
  }
}

/* Pattern C bento */
.bento {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  grid-auto-rows:200px;
  gap:16px;
}

.bento .cell {
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  position:relative;
  box-shadow:var(--shadow-sm);
  transition:.18s;
}

.bento .cell:hover {
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  border-color:var(--blue);
}

.bento .big {
  grid-column:span 2;
  grid-row:span 2;
}

.bento .wide {
  grid-column:span 2;
}

.bento .cell .ph {
  width:100%;
  height:100%;
  border:none;
  border-radius:0;
}

.bento .cell .ov {
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:18px 20px;
  background:linear-gradient(transparent,rgba(10,40,70,.82));
  color:#fff;
}

.bento .cell .ov .t {
  font-family:var(--font-head);
  font-weight:700;
  font-size:16px;
}

.bento .big .ov .t {
  font-size:24px;
}

.bento .cell .ov .d {
  font-size:12.5px;
  color:rgba(255,255,255,.9);
  margin-top:3px;
}

.bento .cell .badge-main {
  position:absolute;
  top:14px;
  left:14px;
  background:var(--accent);
  color:#fff;
  font-family:var(--font-head);
  font-weight:700;
  font-size:12px;
  padding:5px 13px;
  border-radius:999px;
}

@media(max-width:820px) {
  .bento {
    grid-template-columns:repeat(2,1fr);
    grid-auto-rows:150px;
  }
  .bento .big {
    grid-column:span 2;
    grid-row:span 2;
  }
  .bento .wide {
    grid-column:span 2;
  }
}

