/* =========================================================
   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:52px 0 28px;
  font-size:14px;
  border-top:1px solid var(--line);
}

.ft-top {
  display:grid;
  grid-template-columns:1fr .8fr 1.35fr 1.25fr;
  gap:30px;
  padding-bottom:30px;
  border-bottom:1px solid var(--line);
}

@media(max-width:1080px){
  .ft-top { grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 30px; }
}

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

.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:7px;
}

.ft ul.ft-2col {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:8px 20px;
  align-content:start;
}

.ft ul.ft-sub {
  margin:7px 0 3px;
  padding-left:11px;
  border-left:1px solid var(--line);
  gap:6px;
}

.ft ul.ft-sub a {
  font-size:12.5px;
  color:var(--muted);
}

.ft-devices {
  display:grid;
  grid-template-columns:82px 1fr;
  gap:0 14px;
  align-items:baseline;
  padding:16px 0;
  border-bottom:1px solid var(--line);
}

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

.ft .ft-devices p {
  margin:0;
  font-size:12.5px;
  line-height:1.85;
  color:var(--muted);
  text-wrap:pretty;
}

.ft-devices p a {
  color:var(--muted);
}

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

@media(max-width:640px){
  .ft-devices { grid-template-columns:1fr; gap:8px; }
}

.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-top > div > h4 + .ft-map { margin-top:2px; }

.ft p.ft-tm {
  margin:0;
  padding:14px 0 0;
  font-size:11.5px;
  line-height:1.8;
  color:var(--muted);
  text-wrap:pretty;
}

.ft-bottom {
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  padding-top:14px;
  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 (1列・アイコン付き) --- */
.nav-dd-mega {
  min-width:270px;
  display:grid;
  grid-template-columns:1fr;
  gap:2px;
}
.nav-dd-mega-2col {
  min-width:460px;
  grid-template-columns:1fr 1fr;
}
.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);
}

/* --- ネストサブメニュー（iPhone/iPad/Android） --- */
.dd-sub {
  position:relative;
}
.nav-dd-mega .dd-sub > a {
  width:100%;
}
.nav-dd-mega .dd-more {
  margin-left:auto;
  align-self:center;
  color:var(--muted);
  font-size:16px;
  font-weight:700;
  line-height:1;
}
.dd-sub:hover > a {
  background:var(--sky);
  color:var(--blue-d);
}
.dd-sub:hover > a .dd-ic {
  background:var(--blue);
  color:#fff;
}
.dd-sub-panel {
  position:absolute;
  left:100%;
  top:-8px;
  min-width:225px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:var(--shadow);
  padding:8px;
  display:flex;
  flex-direction:column;
  gap:1px;
  opacity:0;
  visibility:hidden;
  transform:translateX(-4px);
  transition:.15s;
}
.dd-sub:hover .dd-sub-panel {
  opacity:1;
  visibility:visible;
  transform:translateX(0);
}
.nav-dd-mega .dd-sub-panel a {
  display:block;
  padding:10px 14px;
  font-weight:600;
  font-size:13.5px;
  color:var(--ink);
  border-radius:8px;
}
.nav-dd-mega .dd-sub-panel a:hover {
  background:var(--sky);
  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;
  }
  .topbar .nav.open .dd-sub-panel,
  .topbar .nav.open .dd-more {
    display:none;
  }
  .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;
  }
}


/* 日本語の改行を文節単位に（対応ブラウザのみ・非対応は従来通り） */
h1, h2, h3, h4, p, .lead, .dd-tx small, .sym p, .feat p, .step p, .note-card p {
  text-wrap: pretty;
  word-break: auto-phrase;
}


/* ============ 写真枠：枠サイズに合わせて自動トリミング ============ */
.ph, .hero-photo, .post .thumb, .shop-map, .mf-photo, .sc-photo, .sp-photo,
.dvc-photo, .thumb, .photo-frame, .about-photo, .staff-photo, .case-photo {
  overflow:hidden;
  position:relative;
}
.ph > img, .hero-photo > img, .post .thumb > img, .shop-map > img,
.mf-photo > img, .sc-photo > img, .sp-photo > img, .dvc-photo > img,
.thumb > img, .photo-frame > img, .about-photo > img, .staff-photo > img,
.case-photo > img {
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center;
  display:block;
  border-radius:inherit;
}
.ph:has(> img), .hero-photo:has(> img), .dvc-photo:has(> img),
.mf-photo:has(> img), .sc-photo:has(> img), .sp-photo:has(> img),
.photo-frame:has(> img) {
  border-style:solid;
  border-color:var(--line);
  background:#f2f6fa;
  padding:0;
  gap:0;
}
.sp-photo:has(> img), .dvc-photo-fill:has(> img) { min-height:220px; }


/* ============ ヒーロー写真スライドショー ============ */
.hero-slides {
  position:absolute;
  inset:0;
  overflow:hidden;
}
.hero-slides > img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  opacity:0;
  transition:opacity 1.1s ease;
}
.hero-slides > img.on { opacity:1; }
.hero-dots {
  position:absolute;
  bottom:12px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:7px;
  z-index:2;
}
.hero-dots button {
  width:8px;
  height:8px;
  padding:0;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.55);
  box-shadow:0 1px 3px rgba(0,0,0,.35);
  cursor:pointer;
  transition:background .25s ease, transform .25s ease;
}
.hero-dots button.on {
  background:#fff;
  transform:scale(1.35);
}
@media(prefers-reduced-motion:reduce){
  .hero-slides > img { transition:none; }
}


/* ヘッダーのログインボタン（コンパクト） */
.head-login{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:12px 20px;
  border:2px solid #cfe3f6;
  border-radius:10px;
  background:#fff;
  color:var(--blue-d);
  font-family:var(--font-head);
  font-weight:600;
  font-size:14.5px;
  line-height:1.8;
  white-space:nowrap;
  transition:background .18s ease,border-color .18s ease;
}
.head-login svg{ width:16px; height:16px; }
.head-login:hover{ background:var(--sky); border-color:var(--blue); }
/* nav 内のログイン（モバイルメニュー用・PCでは非表示） */
.nav-login{ display:none; }
@media(max-width:1040px){
  .head-login{ display:none; }
  .topbar .nav.open>a.nav-login{ display:block; color:var(--blue-d); font-weight:700; }
}


/* ヘッダー幅の確保（ログインボタン追加分） */
.topbar .wrap{ gap:20px; }
.nav{ gap:16px; }
.nav a,.nav-dd-t{ font-size:13.8px; }
.head-cta{ gap:11px; }
.head-cta .btn-primary{ padding:12px 20px; font-size:14.5px; }
.head-tel{ font-size:19px; }
.topbar .nav.open>a.nav-login{ color:#1a6cba; }
@media(max-width:1200px){
  .nav{ gap:12px; }
  .nav a,.nav-dd-t{ font-size:13.2px; }
  .head-tel small{ display:none; }
}


/* 外注の流れ：5ステップを1行で */
.steps-5{ grid-template-columns:repeat(5,1fr); }
.steps-5 .step{ padding:20px 18px; }
.steps-5 .step h4{ font-size:15px; }
.steps-5 .step p{ font-size:13px; }
@media(max-width:1100px){ .steps-5{ grid-template-columns:repeat(2,1fr); } }

/* ============ 修理店・法人ページ 追加 ============ */
.biz-menu {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.biz-menu .bm {
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:24px 22px;
  box-shadow:var(--shadow-sm);
}

.biz-menu .bm h3 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:16px;
  color:var(--ink);
  margin:0 0 14px;
  padding-bottom:12px;
  border-bottom:1px solid var(--line);
}

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

.biz-menu .bm ul li {
  font-size:13.5px;
  line-height:1.7;
  padding-left:14px;
  position:relative;
  text-wrap:pretty;
}

.biz-menu .bm ul li::before {
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--blue);
}

@media(max-width:1080px){ .biz-menu { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:620px){ .biz-menu { grid-template-columns:1fr; } }

.biz-persona {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}

.biz-persona .bp {
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:28px 30px;
  box-shadow:var(--shadow-sm);
}

.biz-persona .bp .tag {
  display:inline-block;
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:.06em;
  color:var(--blue-d);
  background:var(--sky);
  border:1px solid #cfe6fb;
  border-radius:999px;
  padding:5px 13px;
  margin-bottom:14px;
}

.biz-persona .bp h3 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:19px;
  line-height:1.55;
  color:var(--ink);
  margin:0 0 18px;
  text-wrap:pretty;
}

.biz-persona .bp ul {
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:13px;
}

.biz-persona .bp ul li {
  font-size:14px;
  line-height:1.85;
  padding-left:22px;
  position:relative;
  text-wrap:pretty;
}

.biz-persona .bp ul li::before {
  content:"";
  position:absolute;
  left:2px;
  top:.55em;
  width:11px;
  height:6px;
  border-left:2px solid var(--blue);
  border-bottom:2px solid var(--blue);
  transform:rotate(-45deg);
}

.biz-persona .bp ul li b {
  font-weight:700;
  color:var(--ink);
}

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

.biz-entry {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  max-width:860px;
  margin:0 auto;
}

.biz-entry .be {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  text-align:center;
  text-decoration:none;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:26px 20px;
  box-shadow:var(--shadow-sm);
  transition:border-color .18s, transform .18s;
}

.biz-entry .be:hover {
  border-color:var(--blue);
  transform:translateY(-2px);
}

.biz-entry .be svg {
  width:26px;
  height:26px;
  color:var(--blue);
}

.biz-entry .be b {
  font-family:var(--font-head);
  font-weight:700;
  font-size:16px;
  color:var(--ink);
}

.biz-entry .be span {
  font-size:13px;
  line-height:1.75;
  color:var(--muted);
}

@media(max-width:640px){ .biz-entry { grid-template-columns:1fr; } }

.steps-4 { grid-template-columns:repeat(4,1fr); }
@media(max-width:1000px){ .steps-4 { grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .steps-4 { grid-template-columns:1fr; } }

/* 折り返した段の矢印を消す（steps-4 / steps-5 共通） */
@media(max-width:1100px){
  .steps-4 .step::after,
  .steps-5 .step::after { display:none; }
}

/* ============ パートナー マイページ ============ */
.mp-terms {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

.mp-terms .mt {
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:22px 20px;
  box-shadow:var(--shadow-sm);
}

.mp-terms .mt.hl {
  border-color:#cfe6fb;
  background:var(--sky);
}

.mp-terms .mt .lb {
  display:block;
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.1em;
  color:var(--muted);
  margin-bottom:8px;
}

.mp-terms .mt b {
  display:block;
  font-family:var(--font-head);
  font-weight:700;
  font-size:20px;
  line-height:1.4;
  color:var(--blue-d);
  margin-bottom:10px;
}

.mp-terms .mt p {
  margin:0;
  font-size:13px;
  line-height:1.8;
  color:var(--body);
  text-wrap:pretty;
}

@media(max-width:980px){ .mp-terms { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:560px){ .mp-terms { grid-template-columns:1fr; } }

.mp-timeline {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  margin-top:26px;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}

.mp-timeline .tl {
  padding:20px 22px;
  border-left:1px solid var(--line);
}

.mp-timeline .tl:first-child { border-left:none; }

.mp-timeline .tl .d {
  display:inline-block;
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:.08em;
  color:#fff;
  background:var(--blue);
  border-radius:999px;
  padding:4px 12px;
  margin-bottom:10px;
}

.mp-timeline .tl b {
  display:block;
  font-family:var(--font-head);
  font-weight:700;
  font-size:16px;
  color:var(--ink);
  margin-bottom:5px;
}

.mp-timeline .tl p {
  margin:0;
  font-size:13px;
  line-height:1.75;
  color:var(--muted);
}

@media(max-width:760px){
  .mp-timeline { grid-template-columns:1fr; }
  .mp-timeline .tl { border-left:none; border-top:1px solid var(--line); }
  .mp-timeline .tl:first-child { border-top:none; }
}

.mp-routes {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}

.mp-routes .mr {
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:26px 28px;
  box-shadow:var(--shadow-sm);
}

.mp-routes .mr .rt {
  display:inline-block;
  font-family:var(--font-head);
  font-weight:700;
  font-size:16px;
  color:var(--blue-d);
  background:var(--sky);
  border:1px solid #cfe6fb;
  border-radius:999px;
  padding:6px 16px;
  margin-bottom:18px;
}

.mp-routes .mr ol {
  list-style:none;
  margin:0;
  padding:0;
  counter-reset:mr;
  display:flex;
  flex-direction:column;
  gap:15px;
}

.mp-routes .mr ol li {
  counter-increment:mr;
  position:relative;
  padding-left:34px;
}

.mp-routes .mr ol li::before {
  content:counter(mr);
  position:absolute;
  left:0;
  top:0;
  width:24px;
  height:24px;
  border-radius:50%;
  background:var(--blue);
  color:#fff;
  font-family:var(--font-mono);
  font-size:12px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.mp-routes .mr ol li b {
  display:block;
  font-family:var(--font-head);
  font-weight:700;
  font-size:14.5px;
  color:var(--ink);
  line-height:1.6;
  margin-bottom:3px;
}

.mp-routes .mr ol li span {
  display:block;
  font-size:13px;
  line-height:1.8;
  color:var(--muted);
  text-wrap:pretty;
}

.mp-routes .mr .ad {
  margin:20px 0 0;
  padding:14px 16px;
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:10px;
  font-size:13px;
  line-height:1.85;
  color:var(--body);
}

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

/* マイページ：ヒーロー */
.mp-hero { padding-bottom:40px; }

.mp-hero-grid {
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:40px;
  align-items:start;
  margin-top:4px;
}

.mp-hero-grid > div:first-child .pk { margin-top:0; }

.mp-hero .mp-hero-lead {
  font-size:15px;
  line-height:1.9;
  color:var(--body);
  max-width:560px;
  margin:0;
  text-wrap:pretty;
}

.mp-act {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.mp-act-sub {
  display:flex;
  flex-wrap:wrap;
  gap:8px 24px;
  margin-top:18px;
}

.mp-act-sub a { font-size:13.5px; }

.mp-hero-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:24px 26px;
  box-shadow:var(--shadow-sm);
}

.mp-hero-card h4 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:15px;
  color:var(--ink);
  margin:0 0 4px;
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
}

.mp-hero-card dl {
  margin:0;
  display:flex;
  flex-direction:column;
}

.mp-hero-card dl > div {
  display:grid;
  grid-template-columns:96px 1fr;
  gap:12px;
  padding:11px 0;
  border-bottom:1px dashed var(--line);
}

.mp-hero-card dl > div:last-child { border-bottom:none; }

.mp-hero-card dt {
  font-size:12.5px;
  color:var(--muted);
  line-height:1.6;
}

.mp-hero-card dd {
  margin:0;
  font-family:var(--font-head);
  font-weight:600;
  font-size:13.5px;
  color:var(--ink);
  line-height:1.6;
  text-wrap:pretty;
}

.mp-hero-card .lk {
  display:inline-block;
  margin-top:14px;
  font-size:13px;
}

@media(max-width:900px){
  .mp-hero-grid { grid-template-columns:1fr; gap:28px; }
}

@media(max-width:560px){
  .mp-act { flex-direction:column; align-items:stretch; }
  .mp-act .btn { justify-content:center; }
}

/* マイページ：ページ内ジャンプ */
.mp-jump {
  background:#fff;
  border-bottom:1px solid var(--line);
}

.mp-jump .wrap {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 22px;
  padding-top:15px;
  padding-bottom:15px;
}

.mp-jump span {
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.12em;
  color:var(--muted);
}

.mp-jump a {
  font-family:var(--font-head);
  font-weight:600;
  font-size:14px;
  text-decoration:none;
  color:var(--body);
  padding-bottom:2px;
  border-bottom:1.5px solid transparent;
}

.mp-jump a:hover {
  color:var(--blue-d);
  border-bottom-color:var(--blue);
}

/* マイページ：価格表の余白を詰める（見出し→タブ→表） */
.mp-jump + section#terms { padding-top:64px; }
section#price { padding-bottom:26px; }
.pricecat { padding-top:38px; }

/* マイページ：アカウントバー */
.mp-acct {
  background:var(--ink);
  color:#fff;
}

.mp-acct .wrap {
  display:flex;
  align-items:center;
  gap:14px;
  padding-top:12px;
  padding-bottom:12px;
  flex-wrap:wrap;
}

.mp-acct .av svg { width:17px; height:17px; }

.mp-acct .av {
  width:38px;
  height:38px;
  flex:none;
  border-radius:50%;
  background:var(--blue);
  color:#fff;
  font-family:var(--font-head);
  font-weight:700;
  font-size:17px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 0 0 2px rgba(255,255,255,.18);
}

.mp-acct .who { display:flex; flex-direction:column; gap:2px; }

.mp-acct .who .lb {
  font-family:var(--font-mono);
  font-size:10.5px;
  letter-spacing:.12em;
  color:rgba(255,255,255,.6);
}

.mp-acct .who strong {
  font-family:var(--font-head);
  font-weight:700;
  font-size:15.5px;
  line-height:1.3;
}

.mp-acct .ed {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.mp-acct .ed[hidden] { display:none; }

.mp-acct .ed input {
  font-family:inherit;
  font-size:14px;
  color:var(--ink);
  background:#fff;
  border:1px solid rgba(255,255,255,.3);
  border-radius:8px;
  padding:8px 12px;
  width:200px;
}

.mp-acct .ed .sv,
.mp-acct .ed .cn {
  font-family:var(--font-head);
  font-weight:600;
  font-size:13px;
  border-radius:8px;
  padding:8px 14px;
  cursor:pointer;
  border:1px solid transparent;
}

.mp-acct .ed .sv { background:var(--blue); color:#fff; }
.mp-acct .ed .sv:hover { background:var(--blue-d); }
.mp-acct .ed .cn { background:transparent; color:rgba(255,255,255,.75); border-color:rgba(255,255,255,.32); }
.mp-acct .ed .cn:hover { color:#fff; border-color:rgba(255,255,255,.6); }

.mp-acct-ed {
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-family:var(--font-head);
  font-weight:600;
  font-size:13px;
  color:rgba(255,255,255,.86);
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  padding:8px 15px;
  cursor:pointer;
}

.mp-acct-ed:hover { background:rgba(255,255,255,.18); color:#fff; }
.mp-acct-ed[hidden] { display:none; }
.mp-acct-ed svg { width:14px; height:14px; }

.mp-acct-out {
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-head);
  font-weight:700;
  font-size:13.5px;
  color:#fff;
  text-decoration:none;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.42);
  border-radius:999px;
  padding:10px 20px;
  transition:.15s;
}

.mp-acct-out:hover {
  background:#fff;
  color:var(--ink);
  border-color:#fff;
}

.mp-acct-out svg { width:16px; height:16px; }

@media(max-width:700px){
  .mp-acct .wrap { gap:10px; }
  .mp-acct-out { margin-left:0; width:100%; justify-content:center; }
  .mp-acct .ed { width:100%; }
  .mp-acct .ed input { flex:1; width:auto; }
}

/* マイページ：注意事項 横4×縦2 */
.notes-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  max-width:1180px;
  margin:0 auto;
  align-items:stretch;
}

.notes-grid .note-card { height:100%; }

.notes-grid .note-wide {
  grid-column:1 / -1;
  background:#fff8ec;
  border-color:#f2e3c6;
}

.notes-grid .note-wide h4 { color:#7a5c1f; font-size:16px; }
.notes-grid .note-wide p { color:#6b5326; }

@media(max-width:1080px){ .notes-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px){ .notes-grid { grid-template-columns:1fr; } }

/* アカウント設定ページ */
.mp-acct-set {
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-family:var(--font-head);
  font-weight:600;
  font-size:13px;
  color:rgba(255,255,255,.86);
  text-decoration:none;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  padding:8px 15px;
  white-space:nowrap;
}

.mp-acct-set:hover { background:rgba(255,255,255,.18); color:#fff; }
.mp-acct-set svg { width:14px; height:14px; }

.acs-id {
  display:grid;
  grid-template-columns:auto auto 1fr;
  align-items:center;
  gap:6px 14px;
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px 20px;
  margin-bottom:22px;
}

.acs-id .lb {
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.1em;
  color:var(--muted);
}

.acs-id b {
  font-family:var(--font-mono);
  font-size:16px;
  color:var(--ink);
}

.acs-id .nt {
  grid-column:1 / -1;
  font-size:12.5px;
  line-height:1.7;
  color:var(--muted);
}

.acs-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:28px 30px;
  box-shadow:var(--shadow-sm);
  margin-bottom:20px;
}

.acs-card h2 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:18px;
  color:var(--ink);
  margin:0 0 20px;
}

.acs-card .acs-lead {
  margin:-14px 0 20px;
  font-size:13.5px;
  line-height:1.8;
  color:var(--muted);
  text-wrap:pretty;
}

.acs-f { margin-bottom:16px; }

.acs-f label {
  display:block;
  font-family:var(--font-head);
  font-weight:600;
  font-size:13.5px;
  color:var(--ink);
  margin-bottom:7px;
}

.acs-f input,
.acs-f textarea {
  width:100%;
  font-family:inherit;
  font-size:15px;
  color:var(--ink);
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:10px;
  padding:12px 14px;
  transition:border-color .15s, background .15s;
}

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

.acs-f textarea { resize:vertical; line-height:1.7; }

.acs-f .hint {
  display:block;
  margin-top:6px;
  font-size:12.5px;
  line-height:1.7;
  color:var(--muted);
}

.acs-act {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:22px;
}

.acs-ok, .acs-ng {
  font-family:var(--font-head);
  font-weight:600;
  font-size:13px;
}

.acs-ok { color:#2b7a44; }
.acs-ng { color:#b4453a; }
.acs-ok[hidden], .acs-ng[hidden] { display:none; }

.acs-note {
  margin:16px 0 0;
  font-size:12.5px;
  line-height:1.8;
  color:var(--muted);
  text-wrap:pretty;
}

.acs-card.danger { border-color:#f0d8d4; background:#fdf8f7; }
.acs-card.danger h2 { color:#a2413a; }

.btn.acs-danger {
  background:#fff;
  border:1px solid #e0b6b0;
  color:#a2413a;
}

.btn.acs-danger:hover { background:#fbeeec; border-color:#c98d85; color:#8c352f; }

.acs-help {
  margin:26px 0 0;
  text-align:center;
  font-size:13.5px;
  color:var(--muted);
}

@media(max-width:560px){
  .acs-card { padding:24px 20px; }
  .acs-act .btn { width:100%; justify-content:center; }
}

/* アカウント発行申込ページ */
.acs-steps {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-bottom:26px;
}

.acs-steps .as {
  display:grid;
  grid-template-columns:28px 1fr;
  gap:12px;
  background:var(--sky);
  border:1px solid #cfe6fb;
  border-radius:12px;
  padding:16px 18px;
}

.acs-steps .as .n {
  width:28px;
  height:28px;
  border-radius:50%;
  background:var(--blue);
  color:#fff;
  font-family:var(--font-mono);
  font-size:12.5px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.acs-steps .as b {
  display:block;
  font-family:var(--font-head);
  font-weight:700;
  font-size:14.5px;
  color:var(--ink);
  margin-bottom:4px;
}

.acs-steps .as p {
  margin:0;
  font-size:12.5px;
  line-height:1.75;
  color:var(--muted);
  text-wrap:pretty;
}

@media(max-width:760px){ .acs-steps { grid-template-columns:1fr; } }

.sg-radio {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.sg-radio label {
  display:flex;
  align-items:flex-start;
  gap:12px;
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px 18px;
  cursor:pointer;
  transition:border-color .15s, background .15s;
}

.sg-radio label:hover { border-color:#cfe6fb; }
.sg-radio label:has(input:checked) { background:var(--sky); border-color:#cfe6fb; }
.sg-radio input { margin-top:3px; accent-color:var(--blue); flex:none; }

.sg-radio b {
  display:block;
  font-family:var(--font-head);
  font-weight:700;
  font-size:14.5px;
  color:var(--ink);
  margin-bottom:3px;
}

.sg-radio small {
  display:block;
  font-size:12.5px;
  line-height:1.7;
  color:var(--muted);
}

@media(max-width:560px){ .sg-radio { grid-template-columns:1fr; } }

.acs-f select {
  width:100%;
  font-family:inherit;
  font-size:15px;
  color:var(--ink);
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:10px;
  padding:12px 14px;
}

.acs-f select:focus { outline:none; background:#fff; border-color:var(--blue); }

.acs-f .rq {
  font-family:var(--font-body,inherit);
  font-weight:600;
  font-size:11.5px;
  color:#c0392b;
  margin-left:8px;
}

.acs-f input.err,
.acs-f select.err,
.acs-f textarea.err {
  border-color:#dc9a92;
  background:#fdf6f5;
}

.sg-agree {
  display:flex;
  align-items:center;
  gap:11px;
  font-size:14px;
  color:var(--ink);
  cursor:pointer;
}

.sg-agree input { accent-color:var(--blue); width:17px; height:17px; }

/* 404ページ */
.nf-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.nf {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  text-align:center;
  text-decoration:none;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:24px 18px;
  box-shadow:var(--shadow-sm);
  transition:border-color .18s, transform .18s;
}

.nf:hover { border-color:var(--blue); transform:translateY(-2px); }
.nf svg { width:24px; height:24px; color:var(--blue); }

.nf b {
  font-family:var(--font-head);
  font-weight:700;
  font-size:15px;
  color:var(--ink);
}

.nf span { font-size:12.5px; line-height:1.7; color:var(--muted); }

@media(max-width:760px){ .nf-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:480px){ .nf-grid { grid-template-columns:1fr; } }

/* 価格表セル内の補足行 */
.tbl-note {
  display:block;
  font-weight:400;
  font-size:12px;
  color:var(--muted);
  line-height:1.55;
  margin-top:3px;
}

/* 申込ページ：アカウント発行の条件 */
.sg-cond {
  display:grid;
  gap:14px;
}

.sg-cond .sc {
  display:grid;
  grid-template-columns:28px 1fr;
  gap:14px;
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px 18px;
}

.sg-cond .sc .n {
  width:28px;
  height:28px;
  border-radius:50%;
  background:var(--blue);
  color:#fff;
  font-family:var(--font-mono);
  font-size:12.5px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.sg-cond .sc b {
  display:block;
  font-family:var(--font-head);
  font-weight:700;
  font-size:14.5px;
  color:var(--ink);
  margin-bottom:5px;
  line-height:1.6;
}

.sg-cond .sc p {
  margin:0;
  font-size:13px;
  line-height:1.8;
  color:var(--muted);
  text-wrap:pretty;
}

/* ============ パートナー申込：LINE近道 ============ */
.sg-quick {
  display:flex;
  align-items:center;
  gap:24px;
  background:var(--sky);
  border:1px solid #cfe6fb;
  border-radius:12px;
  padding:22px 26px;
  margin:0 0 22px;
}

.sg-quick .sq-tx { flex:1; min-width:0; }

.sg-quick b {
  display:block;
  font-family:var(--font-head);
  font-weight:700;
  font-size:16px;
  color:var(--blue-d);
  margin-bottom:6px;
}

.sg-quick p {
  margin:0;
  font-size:13.5px;
  line-height:1.85;
  color:var(--body);
  text-wrap:pretty;
}

.sg-quick .btn { flex:none; }

@media(max-width:640px){
  .sg-quick { flex-direction:column; align-items:stretch; gap:16px; padding:20px; }
  .sg-quick .btn { width:100%; justify-content:center; }
}

/* 症状カードが5枚のとき：3枚＋2枚で中央揃え（iPad） */
.sym-grid.sym-center {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
}

.sym-grid.sym-center > .sym {
  flex:0 0 calc((100% - 36px) / 3);
  max-width:calc((100% - 36px) / 3);
}

@media(max-width:920px){
  .sym-grid.sym-center > .sym { flex-basis:calc((100% - 18px) / 2); max-width:calc((100% - 18px) / 2); }
}

@media(max-width:560px){
  .sym-grid.sym-center > .sym { flex-basis:100%; max-width:100%; }
}

/* ============ 基板修理ページ：相談例・原因・チップ解説 ============ */
.bd-two {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  max-width:960px;
  margin:0 auto;
}

.bd-list {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:12px;
  padding:24px 26px;
}

.bd-list h4 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:16px;
  color:var(--ink);
  margin:0 0 14px;
}

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

.bd-list li {
  position:relative;
  padding-left:24px;
  font-size:14.5px;
  line-height:1.75;
  color:var(--body);
  text-wrap:pretty;
}

.bd-list li::before {
  content:"";
  position:absolute;
  left:4px;
  top:.62em;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--blue);
}

.bd-cause {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  max-width:1000px;
  margin:0 auto;
}

.bd-cause .bc {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:12px;
  padding:20px 22px;
}

.bd-cause .bc b {
  display:block;
  font-family:var(--font-head);
  font-weight:700;
  font-size:15.5px;
  color:var(--blue-d);
  margin-bottom:8px;
}

.bd-cause .bc span {
  display:block;
  font-size:13.5px;
  line-height:1.8;
  color:var(--body);
  text-wrap:pretty;
}

.bd-chip {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  max-width:1060px;
  margin:0 auto;
}

.bd-chip .bch {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:12px;
  padding:22px;
  text-align:center;
}

.bd-chip .cn {
  display:inline-block;
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.08em;
  color:var(--blue-d);
  background:var(--sky);
  border:1px solid #cfe6fb;
  border-radius:999px;
  padding:5px 13px;
  margin-bottom:12px;
}

.bd-chip .bch b {
  display:block;
  font-family:var(--font-head);
  font-weight:700;
  font-size:15px;
  color:var(--ink);
  margin-bottom:8px;
}

.bd-chip .bch p {
  margin:0;
  font-size:13px;
  line-height:1.8;
  color:var(--body);
  text-wrap:pretty;
}

@media(max-width:920px){
  .bd-cause { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bd-chip { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media(max-width:640px){
  .bd-two,.bd-cause,.bd-chip { grid-template-columns:1fr; }
}

/* ============ 基板修理ページ：ページ内ジャンプ ============ */
.bd-jump {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;
  max-width:900px;
  margin:0 auto 34px;
}

.bd-jump a {
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-family:var(--font-head);
  font-weight:600;
  font-size:16.5px;
  color:var(--blue-d);
  background:var(--sky);
  border:1px solid #cfe6fb;
  border-radius:999px;
  padding:17px 34px;
  text-decoration:none;
  transition:.15s;
}

.bd-jump a:hover {
  background:#fff;
  border-color:var(--blue);
  box-shadow:0 4px 14px -8px rgba(22,40,60,.3);
}

.bd-jump a svg { width:20px; height:20px; flex:none; }

.bd-jump a.pri {
  color:#fff;
  background:var(--blue-d);
  border-color:var(--blue-d);
}

.bd-jump a.pri:hover {
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
}

.bd-jump a.ln {
  color:#fff;
  background:var(--green);
  border-color:var(--green);
}

.bd-jump a.ln:hover {
  background:var(--green);
  border-color:var(--green);
  filter:brightness(1.07);
}

@media(max-width:520px){
  .bd-jump { flex-direction:column; }
  .bd-jump a { justify-content:center; }
}

/* ============ 基板修理ページのみ本文を少し大きく ============ */
.pg-board .prose p {
  font-size:16.5px;
  line-height:1.95;
  text-wrap:pretty;
}

.pg-board .note-card p {
  font-size:15.5px;
  line-height:1.9;
  text-wrap:pretty;
}

.pg-board .note-card h4 { font-size:17px; }

.pg-board .sec-head .lead {
  font-size:16.5px;
  line-height:1.9;
  text-wrap:pretty;
}

.pg-board .page-hero p {
  font-size:17px;
  line-height:1.9;
  text-wrap:pretty;
}

.pg-board .bd-list h4 { font-size:17.5px; }
.pg-board .bd-list li { font-size:16px; line-height:1.85; }
.pg-board .bd-cause .bc b { font-size:17px; }
.pg-board .bd-cause .bc span { font-size:15px; line-height:1.9; }
.pg-board .bd-chip .cn { font-size:13px; }
.pg-board .bd-chip .bch b { font-size:16px; }
.pg-board .bd-chip .bch p { font-size:14.5px; line-height:1.9; }
.pg-board .price-note { font-size:14.5px; line-height:1.9; text-wrap:pretty; }
.pg-board .ptable .model { font-size:15.5px; }
.pg-board .ptable .repair-line .nm { font-size:15px; }
.pg-board .ptable .repair-line .amt { font-size:16.5px; }
.pg-board .sym h3 { font-size:16.5px; }
.pg-board .sym p { font-size:14.5px; line-height:1.8; }
.pg-board .blog-grid .post h3 { font-size:16.5px; line-height:1.7; text-wrap:pretty; }

/* ============ 設備紹介（基板修理ページ） ============ */
.eq-top {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  max-width:1180px;
  margin:0 auto 26px;
}

.eq-ph {
  aspect-ratio:16/10;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#f2f6fa;
}

.eq-ph img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.eq-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  max-width:1180px;
  margin:0 auto;
}

.eq {
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:20px 22px;
  box-shadow:var(--shadow-sm);
}

.eq-ic {
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:10px;
  background:#eef6fe;
  color:var(--blue);
  margin-bottom:12px;
}

.eq-ic svg { width:20px; height:20px; }

.eq h3 {
  margin:0 0 6px;
  font-family:var(--font-head);
  font-size:15.5px;
  line-height:1.5;
}

.eq p {
  margin:0;
  font-size:14px;
  line-height:1.8;
  color:var(--muted);
  text-wrap:pretty;
}

@media(max-width:1000px){ .eq-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:860px){ .eq-top,.eq-grid { grid-template-columns:1fr; } }

/* ============ 修理依頼書：入力フォーム ============ */
.rf-lead {
  max-width:900px;
  margin:0 auto 26px;
  text-align:center;
}

.rf-lead h2 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:22px;
  color:var(--ink);
  margin:0 0 10px;
}

.rf-lead p {
  margin:0;
  font-size:15px;
  line-height:1.9;
  color:var(--body);
  text-wrap:pretty;
}

.rf-ship {
  max-width:900px;
  margin:0 auto 26px;
  background:var(--sky);
  border:1px solid #cfe6fb;
  border-radius:14px;
  padding:24px 26px;
}

.rf-ship-hd {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:16px;
}

.rf-ship-hd h3 {
  margin:0;
  font-family:var(--font-head);
  font-weight:700;
  font-size:17px;
  color:var(--ink);
}

.rf-ic {
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:10px;
  background:#fff;
  border:1px solid #cfe6fb;
  color:var(--blue);
  flex:none;
}

.rf-ic svg { width:19px; height:19px; }

.rf-addr {
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  padding:20px 24px;
}

.rf-addr p { margin:0; text-wrap:pretty; }
.rf-addr .zip { font-family:var(--font-mono); font-size:15px; color:var(--muted); letter-spacing:.04em; }
.rf-addr .ad { font-family:var(--font-head); font-weight:700; font-size:21px; color:var(--ink); line-height:1.5; margin-top:4px; }
.rf-addr .nm { font-family:var(--font-head); font-weight:700; font-size:18px; color:var(--blue-d); margin-top:6px; }
.rf-addr .tel { font-size:14.5px; color:var(--body); margin-top:8px; }

.rf-ship-act {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:16px;
}

.rf-ship-act .btn { background:#fff; }
.rf-ship-act .btn svg { width:17px; height:17px; }

.rf-note {
  margin:14px 0 0;
  font-size:13px;
  line-height:1.85;
  color:var(--muted);
  text-wrap:pretty;
}

.rf-form {
  max-width:900px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:20px;
}

.rf-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:26px 28px;
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
  gap:18px;
}

.rf-card h3 {
  margin:0;
  font-family:var(--font-head);
  font-weight:700;
  font-size:17px;
  color:var(--ink);
}

.rf-card > .rf-hint { margin:-12px 0 0; }

.rf-hint {
  display:block;
  margin:6px 0 0;
  font-size:12.5px;
  line-height:1.8;
  color:var(--muted);
  text-wrap:pretty;
}

.rf-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.rf-f { display:flex; flex-direction:column; }

.rf-f > label {
  font-family:var(--font-head);
  font-weight:600;
  font-size:14px;
  color:var(--ink);
  margin-bottom:8px;
}

.rf-card .rq {
  display:inline-block;
  margin-left:8px;
  font-family:var(--font-mono);
  font-size:10.5px;
  letter-spacing:.06em;
  color:#b23b3b;
  background:#fdf1f1;
  border:1px solid #f3d6d6;
  border-radius:999px;
  padding:2px 8px;
  vertical-align:1px;
}

.rf-f input, .rf-f textarea, .rf-f select {
  font-family:inherit;
  font-size:15px;
  color:var(--ink);
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:9px;
  padding:12px 14px;
  width:100%;
  box-sizing:border-box;
  line-height:1.7;
}

.rf-f textarea { resize:vertical; }

.rf-f input:focus, .rf-f textarea:focus, .rf-f select:focus {
  outline:none;
  border-color:var(--blue);
  background:#fff;
  box-shadow:0 0 0 3px rgba(31,141,240,.12);
}

.rf-f input::placeholder, .rf-f textarea::placeholder { color:#9bacbd; }

.rf-chips {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.rf-chips label {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  color:var(--body);
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:999px;
  padding:10px 16px;
  cursor:pointer;
  transition:.14s;
}

.rf-chips label:hover { border-color:var(--blue); color:var(--blue-d); }
.rf-chips input { accent-color:var(--blue); width:16px; height:16px; margin:0; }
.rf-chips input:checked + span { font-weight:600; color:var(--blue-d); }

.rf-radio {
  display:flex;
  flex-direction:column;
  gap:10px;
}

.rf-radio label {
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:14.5px;
  line-height:1.7;
  color:var(--body);
  cursor:pointer;
}

.rf-radio input { accent-color:var(--blue); width:17px; height:17px; margin:2px 0 0; flex:none; }

.rf-agree {
  display:flex;
  align-items:flex-start;
  gap:11px;
  font-size:13.5px;
  line-height:1.85;
  color:var(--body);
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:10px;
  padding:16px 18px;
  cursor:pointer;
  text-wrap:pretty;
}

.rf-agree input { accent-color:var(--blue); width:17px; height:17px; margin:2px 0 0; flex:none; }

.rf-act {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
}

.rf-act .btn svg { width:18px; height:18px; }

#rf-msg { max-width:900px; margin:0 auto; text-align:center; }

.rf-noprint-help {
  max-width:1000px;
  margin:40px auto 0;
  padding-top:34px;
  border-top:1px solid var(--line);
}

.rf-noprint-help h3 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:19px;
  color:var(--ink);
  text-align:center;
  margin:0 0 22px;
}

.rf-help-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.rf-h {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:14px;
  padding:22px 24px;
}

.rf-hn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:50%;
  background:var(--blue);
  color:#fff;
  font-family:var(--font-mono);
  font-size:13px;
  margin-bottom:12px;
}

.rf-h b {
  display:block;
  font-family:var(--font-head);
  font-weight:700;
  font-size:15.5px;
  color:var(--ink);
  margin-bottom:8px;
}

.rf-h p {
  margin:0;
  font-size:13.5px;
  line-height:1.85;
  color:var(--body);
  text-wrap:pretty;
}

@media(max-width:760px){
  .rf-row { grid-template-columns:1fr; }
  .rf-help-grid { grid-template-columns:1fr; }
  .rf-card { padding:22px 20px; }
  .rf-act .btn { width:100%; justify-content:center; }
}

/* 画面では印刷用シートを隠す */
.rf-sheet, .rf-label { display:none; }

@media print {
  body[data-print] > *:not(.rf-sheet):not(.rf-label) { display:none !important; }
  body[data-print="sheet"] .rf-sheet { display:block; }
  body[data-print="label"] .rf-label { display:block; }

  .rf-sheet {
    padding:0;
    color:#000;
    font-size:10.5pt;
    line-height:1.6;
  }

  .rf-sheet .sh-hd {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    padding-bottom:10pt;
    border-bottom:1.5pt solid #000;
    margin-bottom:12pt;
  }

  .rf-sheet .sh-t { margin:0; font-size:19pt; font-weight:700; letter-spacing:.08em; }
  .rf-sheet .sh-s { margin:3pt 0 0; font-size:9pt; }
  .rf-sheet .sh-to { text-align:right; }
  .rf-sheet .sh-to p { margin:0; font-size:9pt; line-height:1.7; }

  .rf-sheet .sh-tb { width:100%; border-collapse:collapse; }

  .rf-sheet .sh-tb th,
  .rf-sheet .sh-tb td {
    border:.6pt solid #666;
    padding:6pt 8pt;
    text-align:left;
    vertical-align:top;
    font-size:10pt;
  }

  .rf-sheet .sh-tb th { width:28%; background:#f0f0f0; font-weight:700; }
  .rf-sheet .sh-tb td { white-space:pre-wrap; word-break:break-word; }
  .rf-sheet .sh-tb td.tall { height:44pt; }

  .rf-sheet .sh-agree { margin:10pt 0 0; font-size:9.5pt; }

  .rf-sheet .sh-ft { margin-top:12pt; }
  .rf-sheet .sh-ft p { margin:0 0 4pt; font-size:8.5pt; line-height:1.65; }
  .rf-sheet .sh-sign { margin-top:16pt !important; font-size:10pt !important; }

  .rf-label {
    padding:14pt 18pt;
    border:1.5pt solid #000;
    color:#000;
    width:9.5cm;
  }

  .rf-label p { margin:0; }
  .rf-label .lb-zip { font-size:12pt; letter-spacing:.08em; }
  .rf-label .lb-ad { font-size:16pt; font-weight:700; line-height:1.5; margin-top:3pt; }
  .rf-label .lb-nm { font-size:14pt; font-weight:700; margin-top:5pt; }
  .rf-label .lb-tel { font-size:10pt; margin-top:6pt; }
  .rf-label .lb-from { font-size:9pt; margin-top:10pt; }

  @page { margin:14mm; }
}

/* ============ 修理依頼書：免責事項 ============ */
.rf-card-terms { background:var(--paper); }

.rf-card-terms h3 .rq { vertical-align:3px; }

.rf-terms {
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.rf-terms li {
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  padding:14px 16px;
  font-size:13.5px;
  line-height:1.85;
  color:var(--body);
  text-wrap:pretty;
}

.rf-terms li b {
  display:block;
  font-family:var(--font-head);
  font-weight:700;
  font-size:14px;
  color:var(--ink);
  margin-bottom:4px;
}

.rf-card-terms .rf-agree {
  background:var(--sky);
  border-color:#cfe6fb;
  font-size:14px;
}

@media print {
  .rf-sheet .sh-recv { margin-top:6pt !important; font-size:9.5pt !important; }

  .rf-sheet .sh-terms { margin-top:10pt; }
  .rf-sheet .sh-th { margin:0 0 4pt; font-size:9.5pt; font-weight:700; }
  .rf-sheet .sh-terms ul { margin:0; padding-left:12pt; }
  .rf-sheet .sh-terms li { font-size:7.6pt; line-height:1.5; margin-bottom:2pt; }

  .rf-sheet .sh-sign-box {
    margin-top:10pt;
    border:.8pt solid #000;
    padding:8pt 10pt;
  }

  .rf-sheet .sh-agree { margin:0 0 6pt !important; font-size:9pt !important; }
  .rf-sheet .sh-sl { margin:0; font-size:10pt; }
  .rf-sheet .sh-line { display:inline-block; min-width:5.5cm; border-bottom:.8pt solid #000; margin-left:6pt; }
  .rf-sheet .sh-warn { margin:6pt 0 0; font-size:8pt; }
}

/* ============================================================
   ブログ（投稿）テンプレート用  2026-09-10 追加
   home.php / archive.php / single.php / search.php / 404.php
   ============================================================ */

/* --- カテゴリ切替（アンカー版） --- */
.blog-cats { margin-bottom:30px; }
.blog-cats .dev-tab { text-decoration:none; }
.blog-cats .dev-tab .ct {
  font-family:var(--font-mono);
  font-size:11.5px;
  opacity:.65;
}

/* --- 一覧が空のとき --- */
.blog-empty {
  text-align:center;
  color:var(--muted);
  font-size:14.5px;
  margin:40px 0;
}

/* --- ページ送り --- */
.sr-pager {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  margin-top:40px;
}
.sr-pager .page-numbers {
  min-width:44px;
  height:44px;
  padding:0 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:var(--body);
  font-family:var(--font-head);
  font-weight:600;
  font-size:14.5px;
  text-decoration:none;
  transition:.15s;
}
.sr-pager a.page-numbers:hover {
  border-color:var(--blue);
  color:var(--blue-d);
}
.sr-pager .page-numbers.current {
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
}
.sr-pager .page-numbers.dots {
  border-color:transparent;
  background:transparent;
}

/* --- 記事ヘッダー --- */
.sr-single-hero h1 {
  font-size:32px;
  line-height:1.45;
  max-width:900px;
}
.sr-post-meta {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}
.sr-post-meta .chip {
  background:var(--sky);
  color:var(--blue-d);
  padding:4px 12px;
  border-radius:6px;
  font-size:12.5px;
  font-weight:600;
  text-decoration:none;
  transition:.15s;
}
.sr-post-meta .chip:hover { background:var(--sky-2); }
.sr-post-meta time {
  font-family:var(--font-mono);
  font-size:12.5px;
  color:var(--muted);
}

/* --- 記事本文 --- */
.sr-single { padding-top:54px; }
.sr-article { max-width:820px; margin:0 auto; }

.sr-eyecatch {
  border-radius:var(--r);
  overflow:hidden;
  margin-bottom:36px;
  box-shadow:var(--shadow-sm);
}
.sr-eyecatch img {
  width:100%;
  height:auto;
  display:block;
}

/* 本番からの移行本文はブロック構造を持たない素のHTMLなので、
   .prose 側で最低限の可読性を確保する */
.sr-body { max-width:820px; }
.sr-body img {
  max-width:100%;
  height:auto;
  border-radius:12px;
  display:block;
}
.sr-body figure {
  margin:26px 0;
}
.sr-body figure img { margin:0 auto; }
.sr-body figcaption {
  font-size:13px;
  color:var(--muted);
  text-align:center;
  margin-top:8px;
}
.sr-body h2 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:24px;
  line-height:1.5;
  margin:46px 0 16px;
  padding-left:14px;
  border-left:5px solid var(--blue);
}
.sr-body h3 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:19.5px;
  margin:34px 0 12px;
}
.sr-body h4 {
  font-family:var(--font-head);
  font-weight:600;
  font-size:17px;
  margin:26px 0 10px;
}
.sr-body p {
  font-size:15.5px;
  line-height:1.95;
  color:var(--body);
  margin:0 0 20px;
}
.sr-body a {
  color:var(--blue-d);
  text-decoration:underline;
  text-underline-offset:2px;
}
.sr-body ul, .sr-body ol {
  margin:0 0 22px;
  padding-left:1.4em;
}
.sr-body li {
  font-size:15.5px;
  line-height:1.9;
  color:var(--body);
  margin-bottom:6px;
}
.sr-body blockquote {
  margin:26px 0;
  padding:18px 22px;
  background:var(--paper-2);
  border-left:4px solid var(--sky-2);
  border-radius:0 10px 10px 0;
}
.sr-body blockquote p:last-child { margin-bottom:0; }
.sr-body table {
  width:100%;
  border-collapse:collapse;
  margin:26px 0;
  font-size:14.5px;
}
.sr-body th, .sr-body td {
  border:1px solid var(--line);
  padding:10px 14px;
  text-align:left;
}
.sr-body th {
  background:var(--paper-2);
  font-family:var(--font-head);
  font-weight:600;
}
.sr-body iframe {
  max-width:100%;
  border-radius:12px;
}
.sr-body .wp-block-image { margin:26px 0; }
.sr-body .aligncenter { margin-left:auto; margin-right:auto; }
.sr-body hr {
  border:0;
  border-top:1px solid var(--line);
  margin:36px 0;
}

/* --- タグ --- */
.sr-tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:40px;
  padding-top:26px;
  border-top:1px solid var(--line);
}
.sr-tags a {
  font-family:var(--font-mono);
  font-size:12.5px;
  color:var(--muted);
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:999px;
  padding:6px 14px;
  text-decoration:none;
  transition:.15s;
}
.sr-tags a:hover {
  color:var(--blue-d);
  border-color:var(--blue);
}

/* --- 前後の記事 --- */
.sr-postnav {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  max-width:820px;
  margin:44px auto 0;
}
.sr-postnav .pn {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:18px 22px;
  text-decoration:none;
  transition:.18s;
  box-shadow:var(--shadow-sm);
}
.sr-postnav .pn:hover {
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}
.sr-postnav .pn.empty {
  background:transparent;
  border:0;
  box-shadow:none;
}
.sr-postnav .pn span {
  display:block;
  font-family:var(--font-mono);
  font-size:11.5px;
  color:var(--muted);
  margin-bottom:6px;
}
.sr-postnav .pn b {
  font-family:var(--font-head);
  font-weight:600;
  font-size:14.5px;
  line-height:1.6;
  color:var(--ink);
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.sr-postnav .pn.next { text-align:right; }

/* --- 関連記事 --- */
.sr-related { margin-top:64px; }
.sr-related h2 {
  font-family:var(--font-head);
  font-weight:700;
  font-size:22px;
  text-align:center;
  margin:0 0 28px;
}

.sr-backlink {
  text-align:center;
  margin-top:44px;
}
.sr-backlink a {
  font-family:var(--font-head);
  font-weight:600;
  font-size:14.5px;
  color:var(--blue-d);
  text-decoration:none;
}

/* --- 検索フォーム / 404 --- */
.sr-searchform {
  display:flex;
  align-items:center;
  gap:10px;
  max-width:620px;
  margin:22px auto 0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:6px 6px 6px 18px;
  box-shadow:var(--shadow-sm);
}
.sr-searchform svg {
  width:19px;
  height:19px;
  color:var(--muted);
  flex-shrink:0;
}
.sr-searchform input {
  flex:1;
  border:0;
  outline:0;
  background:transparent;
  font-family:var(--font-body);
  font-size:14.5px;
  color:var(--ink);
  padding:10px 0;
  min-width:0;
}
.sr-searchform .btn { flex-shrink:0; }

.sr-404-links {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  margin-top:34px;
}

/* --- レスポンシブ --- */
@media(max-width:760px) {
  .sr-single-hero h1 { font-size:24px; }
  .sr-single { padding-top:36px; }
  .sr-body h2 { font-size:20px; margin:34px 0 12px; }
  .sr-body h3 { font-size:17.5px; }
  .sr-postnav { grid-template-columns:1fr; }
  .sr-postnav .pn.next { text-align:left; }
  .sr-postnav .pn.empty { display:none; }
  .sr-searchform {
    flex-wrap:wrap;
    border-radius:14px;
    padding:12px 14px;
  }
  .sr-searchform .btn { width:100%; justify-content:center; }
}
