:root {
  --color-bg: #faf8f4;
  --color-surface: #ffffff;
  --color-ink: #1f2733;
  --color-ink-soft: #4a5566;
  --color-mute: #8a8e96;
  --color-line: #e6e2d8;
  --color-accent: #1d3557;
  --color-accent-dark: #122944;
  --color-warm: #c9a86a;
  --color-warm-soft: #f3ead7;
  --max-w: 1120px;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 50, 0.04);
  --shadow-md: 0 6px 20px rgba(20, 30, 50, 0.08);
  /* 見出し・本文ともロゴ準拠の角ゴ(Noto Sans JP)。見出しは極太900でロゴの「ナカノ金物」書体に統一。 */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --font-mincho: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
  padding: 18px 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.brand-name {
  font-family: var(--font-mincho);
  font-size: 22px;
  margin: 0;
  letter-spacing: 0.06em;
  color: var(--color-accent);
}
.brand-name a {
  color: inherit;
  text-decoration: none;
}
.brand-name a:hover { text-decoration: none; opacity: 0.85; }
.brand-tag {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--color-mute);
  letter-spacing: 0.08em;
}
.phone-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: var(--color-warm-soft);
  padding: 8px 18px 10px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid #ead8ae;
  transition: background 0.2s;
}
.phone-link:hover { background: #ecdfba; text-decoration: none; }
.phone-label { font-size: 11px; color: var(--color-ink-soft); letter-spacing: 0.1em; line-height: 1.4; }
.phone-number {
  font-family: var(--font-mincho);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent-dark);
  letter-spacing: 0.04em;
}

/* ===== Header SNS links ===== */
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
}
.header-links {
  display: flex;
  gap: 8px;
}
.header-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid var(--color-line);
  background: #fff;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  white-space: nowrap;
}
.header-link svg { flex-shrink: 0; }
.header-link:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.header-link-mercari { color: #e23a2e; border-color: #f3cfcb; background: #fdf4f3; }
.header-link-mercari:hover { background: #fbe9e7; }
.header-link-insta { color: #b5318a; border-color: #ecd2e4; background: #fcf4f9; }
.header-link-insta:hover { background: #f9e8f3; }

/* ===== Nav ===== */
.site-nav {
  background: var(--color-accent);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-list a {
  display: block;
  padding: 14px 18px;
  color: #f4f0e6;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-list a:hover { background: var(--color-accent-dark); text-decoration: none; }
.page-home .nav-home,
.page-shop .nav-shop,
.page-service .nav-service,
.page-about .nav-about,
.page-access .nav-access {
  background: var(--color-accent-dark);
  color: #fff;
  position: relative;
}
.page-home .nav-home::after,
.page-shop .nav-shop::after,
.page-service .nav-service::after,
.page-about .nav-about::after,
.page-access .nav-access::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--color-warm);
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1200px 400px at -10% -10%, rgba(201,168,106,0.18), transparent 60%),
    radial-gradient(900px 350px at 110% 10%, rgba(29,53,87,0.10), transparent 55%),
    linear-gradient(180deg, #f6f1e6 0%, #ede5d2 100%);
  padding: 88px 0 96px;
  border-bottom: 1px solid var(--color-line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--color-warm);
  margin: 0 0 18px;
}
.hero-title {
  font-family: var(--font-mincho);
  font-size: 38px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
  color: var(--color-accent-dark);
}
.hero-lead {
  font-size: 16px;
  color: var(--color-ink-soft);
  margin: 0 0 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.1s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent-dark); }
.btn-secondary {
  background: #fff;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-lg { font-size: 22px; padding: 18px 36px; font-family: var(--font-mincho); }

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero-photo {
  margin: 0;
  width: 100%;
  max-width: 360px;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 28%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
}
.hero-photo figcaption {
  font-size: 12px;
  color: var(--color-mute);
  letter-spacing: 0.08em;
  text-align: center;
  margin-top: 10px;
}
.hero-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 28px 28px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-md);
}
.hero-card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--color-line);
}
.hero-card-row:last-child { border-bottom: none; }
.hero-card-row span {
  font-size: 12px;
  color: var(--color-mute);
  letter-spacing: 0.08em;
}
.hero-card-row strong {
  font-family: var(--font-mincho);
  font-size: 16px;
  color: var(--color-accent-dark);
  text-align: right;
}

/* ===== Sections ===== */
.section-store { padding: 28px 0 4px; }
.store-photo { margin: 0; }
.store-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
}
.store-photo figcaption {
  text-align: center;
  font-size: 15px;
  color: var(--color-ink-soft);
  margin-top: 16px;
  font-family: var(--font-mincho);
}

.section { padding: 88px 0; }
.section-about { background: var(--color-bg); }
.section-products { background: var(--color-surface); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.section-shop { background: linear-gradient(180deg, #fbf6ea 0%, #f4ecd6 100%); border-bottom: 1px solid var(--color-line); }
.section-service { background: var(--color-bg); }
.section-wachat { background: var(--color-warm-soft); }
.section-company { background: var(--color-surface); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.section-access { background: var(--color-bg); }

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--color-warm);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-mincho);
  font-size: 32px;
  margin: 0 0 48px;
  color: var(--color-accent-dark);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
}
.about-text p { margin: 0 0 16px; }
.signature {
  margin-top: 28px !important;
  font-family: var(--font-mincho);
  font-size: 16px;
  color: var(--color-accent-dark);
  text-align: right;
  letter-spacing: 0.08em;
}
.about-pillars { display: grid; gap: 18px; align-content: start; }
.pillar {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-warm);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}
.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-mincho);
  font-size: 15px;
  margin-bottom: 8px;
}
.pillar h3 { margin: 0 0 4px; font-size: 17px; color: var(--color-accent-dark); }
.pillar p { margin: 0; font-size: 14px; color: var(--color-ink-soft); }

/* ===== Products ===== */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.brand-card {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  transition: transform 0.15s, box-shadow 0.2s;
}
.brand-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.brand-card-name {
  font-family: var(--font-mincho);
  font-size: 19px;
  color: var(--color-accent-dark);
  margin: 0 0 10px;
  border-bottom: 1px solid var(--color-warm);
  padding-bottom: 8px;
  display: inline-block;
}
.brand-card p { margin: 0; font-size: 14px; color: var(--color-ink-soft); }
.products-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--color-mute);
  text-align: center;
}

/* ===== Shop ===== */
.shop-intro {
  max-width: 760px;
  margin: -28px 0 40px;
  color: var(--color-ink-soft);
  font-size: 15px;
  line-height: 1.85;
}
.shop-intro strong {
  color: var(--color-accent-dark);
  background: linear-gradient(180deg, transparent 60%, var(--color-warm-soft) 60%);
  padding: 0 4px;
}
.shop-group-title {
  font-family: var(--font-mincho);
  font-size: 22px;
  color: var(--color-accent-dark);
  margin: 48px 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--color-warm);
  letter-spacing: 0.04em;
}
.shop-group-title:first-of-type { margin-top: 24px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.product-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-family: var(--font-mincho);
}
.tag-service {
  background: var(--color-warm-soft);
  color: #8b6b1f;
  border: 1px solid #e6d4a3;
}
.tag-product {
  background: #e8eef7;
  color: var(--color-accent);
  border: 1px solid #c8d6ea;
}
.product-name {
  font-family: var(--font-mincho);
  font-size: 16px;
  color: var(--color-accent-dark);
  margin: 0 0 8px;
  line-height: 1.5;
  min-height: 48px;
}
.product-desc {
  font-size: 13px;
  color: var(--color-ink-soft);
  margin: 0 0 16px;
  line-height: 1.7;
  flex-grow: 1;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--color-line);
}
.product-price {
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent-dark);
  letter-spacing: 0.02em;
}
.product-price small {
  font-size: 11px;
  color: var(--color-mute);
  font-weight: normal;
  margin-left: 2px;
}
.product-note {
  font-size: 11px;
  color: var(--color-mute);
  background: var(--color-bg);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.product-btn {
  display: block;
  text-align: center;
  background: var(--color-accent);
  color: #fff;
  padding: 12px;
  border-radius: var(--radius);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s;
}
.product-btn:hover { background: var(--color-accent-dark); text-decoration: none; }
.product-btn[href^="REPLACE_ME"] {
  background: #d4d8df;
  color: #6b7280 !important;
  cursor: not-allowed;
  pointer-events: none;
  position: relative;
}
.product-btn[href^="REPLACE_ME"]::after {
  content: "（準備中）";
  font-size: 11px;
  margin-left: 4px;
  letter-spacing: 0;
}
.shop-notes {
  margin-top: 40px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
}
.shop-notes p {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--color-ink-soft);
  line-height: 1.7;
}
.shop-notes p:last-child { margin-bottom: 0; }
.shop-notes a { color: var(--color-accent); }

/* ===== Service ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.service-card h3 {
  font-family: var(--font-mincho);
  font-size: 18px;
  color: var(--color-accent-dark);
  margin: 0 0 10px;
}
.service-card p { margin: 0; font-size: 14px; color: var(--color-ink-soft); }

/* ===== Wachat ===== */
.wachat-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.wachat-text p { margin: 0 0 16px; }
.wachat-badge {
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 80px;
}
.badge-label {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--color-warm);
  margin: 0 0 12px;
}
.badge-title {
  font-family: var(--font-mincho);
  font-size: 20px;
  margin: 0 0 16px;
  line-height: 1.5;
}
.badge-meta {
  font-size: 13px;
  margin: 0;
  color: #d8d4c5;
  line-height: 1.6;
}

/* ===== Company table ===== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
}
.company-table th,
.company-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-line);
  font-size: 15px;
  vertical-align: top;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }
.company-table th {
  width: 200px;
  color: var(--color-accent-dark);
  font-family: var(--font-mincho);
  font-weight: 600;
  background: #f1ecdf;
}
.company-table td .note {
  display: block;
  font-size: 12px;
  color: var(--color-mute);
  margin-top: 2px;
}

/* ===== Access ===== */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}
.access-info h3 {
  font-family: var(--font-mincho);
  font-size: 16px;
  color: var(--color-warm);
  margin: 20px 0 6px;
  letter-spacing: 0.08em;
}
.access-info h3:first-child { margin-top: 0; }
.access-info p { margin: 0; color: var(--color-ink-soft); }
.access-address { font-size: 16px; color: var(--color-ink) !important; }
.access-phone {
  font-family: var(--font-mincho);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-accent-dark);
  letter-spacing: 0.04em;
}
.access-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-line);
  min-height: 380px;
  background: var(--color-surface);
}
.access-map iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-placeholder {
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, #f6f1e6 0 12px, #f1ebda 12px 24px);
}
.map-placeholder-inner {
  text-align: center;
  padding: 24px;
}
.map-placeholder-title {
  font-family: var(--font-mincho);
  font-size: 18px;
  color: var(--color-accent-dark);
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}
.map-placeholder-text {
  font-size: 14px;
  color: var(--color-ink-soft);
  margin: 0 0 18px;
}
.map-placeholder-link {
  display: inline-block;
  padding: 10px 22px;
  background: var(--color-accent);
  color: #fff !important;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.map-placeholder-link:hover { background: var(--color-accent-dark); text-decoration: none; }

/* ===== CTA band ===== */
.cta-band {
  background: var(--color-accent-dark);
  color: #f4f0e6;
  padding: 56px 0;
}
.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--font-mincho);
  font-size: 26px;
  margin: 0 0 6px;
  color: #fff;
}
.cta-band p { margin: 0; color: #d8d4c5; font-size: 14px; }

/* ===== Footer ===== */
.site-footer {
  background: #15202e;
  color: #b6bbc4;
  padding: 40px 0 30px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-brand {
  font-family: var(--font-mincho);
  color: #fff;
  font-size: 16px;
  margin: 0 0 6px;
  letter-spacing: 0.04em;
}
.footer-address,
.footer-tel { margin: 2px 0; }
.footer-meta { font-size: 12px; color: #6b7280; text-align: right; }
.footer-links {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.footer-links a {
  color: #b6bbc4;
  font-size: 13px;
  text-decoration: none;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }

/* ===== Legal page ===== */
.section-legal { background: var(--color-bg); padding-top: 64px; }
.legal-intro {
  max-width: 760px;
  margin: -28px 0 32px;
  color: var(--color-ink-soft);
  font-size: 14px;
  line-height: 1.85;
  padding: 14px 18px;
  background: var(--color-warm-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-warm);
}
.legal-table th { width: 220px; }
.legal-update {
  margin-top: 20px;
  font-size: 12px;
  color: var(--color-mute);
  text-align: right;
}
.legal-back {
  margin-top: 40px;
  text-align: center;
}
.legal-back a {
  font-size: 14px;
  color: var(--color-accent);
}

/* ===== Mercari product cards (image-linked) ===== */
.product-card-link {
  display: block;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.product-card-link:hover { text-decoration: none; }
.product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f1ecdf;
  overflow: hidden;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.product-card-link:hover .product-img { transform: scale(1.05); }
.product-body { padding: 16px 18px 18px; }
.product-card-link .product-name { min-height: auto; margin: 6px 0 8px; }
.product-card-link .product-meta { border-top: none; padding-top: 8px; justify-content: flex-start; }
.product-mercari {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  font-family: var(--font-mincho);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ===== Loading / empty / error states ===== */
.product-loading,
.product-empty,
.product-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--color-mute);
  font-size: 14px;
  margin: 0;
}
.product-error a { color: var(--color-accent); }

/* ===== Page hero (sub-pages) ===== */
.page-hero {
  background:
    radial-gradient(900px 280px at -10% -10%, rgba(201,168,106,0.18), transparent 60%),
    linear-gradient(180deg, #f6f1e6 0%, #ede5d2 100%);
  padding: 64px 0;
  border-bottom: 1px solid var(--color-line);
}
.page-hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--color-warm);
  margin: 0 0 12px;
}
.page-hero-title {
  font-family: var(--font-mincho);
  font-size: 36px;
  margin: 0 0 16px;
  color: var(--color-accent-dark);
  letter-spacing: 0.04em;
}
.page-hero-lead {
  font-size: 15px;
  color: var(--color-ink-soft);
  max-width: 700px;
  margin: 0;
  line-height: 1.9;
}
.page-hero-lead a { color: var(--color-accent); }

/* ===== Section CTA (button group) ===== */
.section-cta {
  margin-top: 44px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Pillars (home page large) ===== */
.section-pillars { background: var(--color-bg); }
.section-shop-preview {
  background: linear-gradient(180deg, #fbf6ea 0%, #f4ecd6 100%);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.section-greeting { background: var(--color-bg); }
.section-services { background: var(--color-bg); }
.section-brands { background: var(--color-surface); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar-lg {
  text-align: left;
  padding: 28px 28px 26px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-warm);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.pillar-lg p { font-size: 14px; line-height: 1.85; margin: 0; color: var(--color-ink-soft); }
.pillar-lg h3 {
  font-family: var(--font-mincho);
  font-size: 18px;
  color: var(--color-accent-dark);
  margin: 8px 0 8px;
}

/* ===== About page side ===== */
.about-side { align-self: start; position: sticky; top: 80px; }
.about-quick {
  background: var(--color-warm-soft);
  padding: 24px 26px;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-warm);
}
.about-quick h3 {
  font-family: var(--font-mincho);
  font-size: 17px;
  color: var(--color-accent-dark);
  margin: 0 0 14px;
  letter-spacing: 0.04em;
}
.about-quick dl { margin: 0; }
.about-quick dt {
  font-family: var(--font-mincho);
  font-size: 14px;
  color: var(--color-accent-dark);
  margin-top: 14px;
}
.about-quick dt:first-of-type { margin-top: 0; }
.about-quick dd {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--color-ink-soft);
  line-height: 1.7;
}

/* ===== Service note ===== */
.service-note {
  margin-top: 10px !important;
  font-size: 12px !important;
  color: var(--color-mute) !important;
}

/* ===== Shop toolbar ===== */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-line);
}
.shop-count {
  margin: 0;
  font-size: 14px;
  color: var(--color-ink-soft);
  font-family: var(--font-mincho);
  letter-spacing: 0.04em;
}
.btn-mercari {
  display: inline-block;
  font-size: 13px;
  color: var(--color-accent);
  padding: 8px 16px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
}
.btn-mercari:hover { background: var(--color-accent); color: #fff; text-decoration: none; }

/* ===== Local SEO: home-center band ===== */
.hc-band {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #f4f0e6;
  padding: 40px 0;
}
.hc-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hc-band h2 { font-family: var(--font-mincho); font-size: 24px; margin: 0 0 10px; color: #fff; line-height: 1.5; }
.hc-band p { margin: 0 0 12px; color: #d8d4c5; font-size: 14px; }

/* ===== Area served ===== */
.area-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.area-chip {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  font-family: var(--font-mincho); font-size: 14px; letter-spacing: 0.04em;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28); color: #fff;
}
.area-served { background: var(--color-warm-soft); border-radius: var(--radius); padding: 28px 30px; border-left: 4px solid var(--color-warm); }
.area-served h3 { font-family: var(--font-mincho); font-size: 18px; color: var(--color-accent-dark); margin: 0 0 6px; }
.area-served p { margin: 0 0 16px; font-size: 14px; color: var(--color-ink-soft); }
.area-served .area-chip { background: #fff; border-color: #e6d4a3; color: var(--color-accent-dark); }

/* ===== Service highlights (home) ===== */
.section-highlights { background: var(--color-surface); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.svc-highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-highlight {
  display: flex; flex-direction: column; background: var(--color-bg);
  border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.15s, box-shadow 0.2s; text-decoration: none; color: inherit;
}
.svc-highlight:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.svc-highlight-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--color-accent);
  color: #fff; display: flex; align-items: center; justify-content: center; margin: 24px 24px 14px;
}
.svc-highlight-icon svg { width: 26px; height: 26px; }
.svc-highlight h3 { font-family: var(--font-mincho); font-size: 20px; color: var(--color-accent-dark); margin: 0 0 8px; padding: 0 24px; }
.svc-highlight p { font-size: 14px; color: var(--color-ink-soft); margin: 0; line-height: 1.8; padding: 0 24px; flex-grow: 1; }
.svc-highlight-foot { padding: 16px 24px 22px; }
.svc-highlight-link { color: var(--color-accent); font-size: 14px; font-family: var(--font-mincho); }

/* ===== Price table ===== */
.price-table { width: 100%; border-collapse: collapse; background: var(--color-surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-line); }
.price-table th, .price-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--color-line); font-size: 14px; vertical-align: top; }
.price-table thead th { background: var(--color-accent); color: #fff; font-family: var(--font-mincho); font-weight: 600; letter-spacing: 0.04em; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table .price-val { font-family: var(--font-mincho); font-weight: 700; color: var(--color-accent-dark); white-space: nowrap; }

/* ===== TODO placeholder mark ===== */
.todo-mark { background: #fff3cd; color: #8a6d00; padding: 1px 7px; border-radius: 4px; font-size: 12px; border: 1px dashed #e0c860; }

/* ===== LP feature grid ===== */
.lp-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-feature { background: var(--color-surface); border: 1px solid var(--color-line); border-left: 4px solid var(--color-warm); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.lp-feature h3 { font-family: var(--font-mincho); font-size: 17px; color: var(--color-accent-dark); margin: 0 0 8px; }
.lp-feature p { font-size: 13px; color: var(--color-ink-soft); margin: 0; line-height: 1.75; }

/* ===== FAQ ===== */
.faq-list { max-width: 840px; }
.faq-item { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-family: var(--font-mincho); font-size: 15px; color: var(--color-accent-dark); list-style: none; position: relative; padding-right: 48px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '＋'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--color-warm); font-size: 18px; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body { padding: 0 22px 18px; font-size: 14px; color: var(--color-ink-soft); line-height: 1.85; }
.faq-body a { color: var(--color-accent); }

/* ===== Nav active (service LP pages) ===== */
.page-knife .nav-knife,
.page-cleaning .nav-cleaning,
.page-rental .nav-rental {
  background: var(--color-accent-dark); color: #fff; position: relative;
}
.page-knife .nav-knife::after,
.page-cleaning .nav-cleaning::after,
.page-rental .nav-rental::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--color-warm);
}

/* ===== Brand logos ===== */
.brand-logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 36px; }
.brand-logo {
  display: inline-flex; align-items: center; justify-content: center; height: 54px; box-sizing: border-box; padding: 0 22px; border-radius: 8px;
  font-weight: 900; font-size: 18px; letter-spacing: 0.03em;
  background: #fff; border: 1px solid var(--color-line); box-shadow: var(--shadow-sm);
}
.logo-makita { color: #00a0c6; }
.logo-max { color: #e60012; }
.logo-trusco { color: #e8380d; }
.logo-sunco { color: #0068b7; }
.logo-dark { color: var(--color-accent-dark); font-weight: 700; font-size: 16px; }
.brand-logo-pic { padding: 0 22px; }
.brand-logo-pic img { height: 28px; width: auto; display: block; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .hero { padding: 56px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-title { font-size: 30px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 24px; margin-bottom: 32px; }
  .about-grid,
  .wachat-grid,
  .access-grid { grid-template-columns: 1fr; gap: 32px; }
  .brand-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-grid,
  .product-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card { padding: 18px; }
  .product-name { font-size: 15px; min-height: auto; }
  .product-desc { font-size: 12px; }
  .product-price { font-size: 17px; }
  .shop-intro { font-size: 14px; margin-bottom: 28px; }
  .shop-group-title { font-size: 19px; margin-top: 36px; }
  .company-table th { width: 120px; font-size: 13px; padding: 14px 12px; }
  .company-table td { padding: 14px 12px; font-size: 14px; }
  .wachat-badge { position: static; }
  .nav-list a { padding: 12px 12px; font-size: 13px; }
  .cta-band h2 { font-size: 20px; }
  .btn-lg { font-size: 18px; padding: 14px 24px; }
  .header-inner { gap: 12px; }
  .brand-name { font-size: 19px; }
  .phone-link { padding: 8px 14px; }
  .phone-number { font-size: 18px; }
  .header-link span { display: none; }
  .header-link { padding: 8px; border-radius: 8px; }
  .header-links { gap: 6px; }
  .header-contact { gap: 7px; }
}

@media (max-width: 860px) {
  .page-hero { padding: 44px 0; }
  .page-hero-title { font-size: 26px; }
  .page-hero-lead { font-size: 14px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .btn-mercari { text-align: center; }
  .product-body { padding: 14px 14px 16px; }
  .brand-logo { font-size: 15px; padding: 8px 14px; }
  .brand-logos { gap: 8px; }
  .svc-highlight-grid { grid-template-columns: 1fr; }
  .lp-feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .hc-band-inner { flex-direction: column; align-items: flex-start; }
  .area-served { padding: 22px 20px; }
  .price-table th, .price-table td { padding: 12px 12px; font-size: 13px; }
}

@media (max-width: 480px) {
  .product-grid,
  .product-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-body { padding: 12px 12px 14px; }
  .product-name { font-size: 13px !important; line-height: 1.45; }
  .product-price { font-size: 15px !important; }
  .product-mercari { font-size: 10px; }
  .product-tag { font-size: 10px; padding: 2px 7px; }
  .page-hero-title { font-size: 22px; }
}

/* === 公式ロゴ反映：ヘッダーロゴ画像 ＆ ロゴの極太角ゴシックに合わせた見出し === */
.brand-logo-img { height: 46px; width: auto; display: block; }
.hero-title,
.section-title,
.page-hero-title,
.hc-band h2,
.cta-band h2 { font-weight: 900; letter-spacing: 0.04em; }
.hero-card-row strong { font-weight: 700; }
@media (max-width: 480px) { .brand-logo-img { height: 36px; } }

/* === メルカリ SOLD OUT 表示（購買心理：社会的証明・希少性）=== */
.product-img-wrap { position: relative; }
.product-sold-badge {
  position: absolute; top: 10px; left: 10px;
  background: #c0392b; color: #fff;
  font-weight: 900; font-size: 12px; letter-spacing: 0.06em;
  padding: 5px 11px; border-radius: 4px; z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.product-sold .product-img { filter: grayscale(35%) opacity(0.72); }
.product-sold .product-mercari { color: var(--color-mute); }

/* ============================================================
   frontend-design 強化：老舗道具店の品格（和モダン）
   ============================================================ */

/* 和紙テクスチャ（SVGノイズ）をヒーローに重ねて質感を出す */
.hero { position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.30; mix-blend-mode: multiply;
}
/* eyebrow に朱の縦罫（職人の道具箱の意匠） */
.hero-eyebrow { position: relative; padding-left: 18px; }
.hero-eyebrow::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 14px; background: #b03a2e; border-radius: 2px;
}

/* page load：静かな staggered reveal */
@keyframes nk-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow, .hero-title, .hero-lead, .hero-cta, .hero-photo, .hero-card {
  opacity: 0; animation: nk-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-eyebrow { animation-delay: 0.10s; }
.hero-title  { animation-delay: 0.24s; }
.hero-lead   { animation-delay: 0.40s; }
.hero-cta    { animation-delay: 0.54s; }
.hero-photo  { animation-delay: 0.42s; }
.hero-card   { animation-delay: 0.60s; }
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-title, .hero-lead, .hero-cta, .hero-photo, .hero-card { animation: none; opacity: 1; }
}

/* ============================================================
   ギャラリー水準の底上げ（Godly / 1GUU / 現代デザイン 学習反映）
   ※金物店＝信頼・可読性優先で「適度に」。特大化は上限を抑制。
   ============================================================ */
/* ① 余白：白基調の「間」で呼吸させる */
.section { padding: clamp(68px, 8.5vw, 112px) 0; }

/* ② タイポ：明朝見出しを可変で特大・堂々と（可読性のため上限控えめ） */
.section-title { font-size: clamp(26px, 3.8vw, 40px); line-height: 1.4; letter-spacing: 0.04em; margin-bottom: clamp(34px, 4.6vw, 54px); }
.hero-title { font-size: clamp(30px, 4.6vw, 50px); }

/* ③ エディトリアル細部：eyebrow字間＋見出し下のアクセント短罫（真鍮金・左寄せ） */
.section-eyebrow { letter-spacing: 0.32em; }
.section-title::after { content: ''; display: block; width: 42px; height: 2px; background: var(--color-warm); margin: 20px 0 0; opacity: 0.9; }

/* ④ カード・写真：上品なホバー（リフト＋画像の微ズーム） */
.svc-highlight { transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease; }
.svc-highlight:hover { transform: translateY(-6px); }
.store-photo, .hero-photo, .product-img-wrap { overflow: hidden; }
.store-photo img, .product-img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.store-photo:hover img { transform: scale(1.035); }
.product-card:hover .product-img { transform: scale(1.05); }

/* ⑤ scroll reveal：セクションが下からすっと現れる（上品な動き） */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* === 包丁研ぎ：無料見積もり訴求ブロック（料金表の代わり） === */
.estimate-cta {
  text-align: center;
  margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(30px, 4.5vw, 48px) clamp(24px, 4vw, 44px);
  background:
    radial-gradient(600px 200px at 50% -20%, rgba(201,168,106,0.16), transparent 70%),
    var(--color-warm-soft);
  border: 1px solid #ead8ae;
  border-radius: var(--radius);
}
.estimate-cta-lead {
  font-family: var(--font-mincho);
  font-weight: 900;
  font-size: clamp(18px, 2.6vw, 24px);
  color: var(--color-accent-dark);
  letter-spacing: 0.03em;
  margin: 0 0 14px;
}
.estimate-cta p { margin: 0 auto 18px; max-width: 640px; color: var(--color-ink-soft); }
.estimate-cta p strong { color: var(--color-accent-dark); }
.estimate-cta .btn { margin-top: 6px; }
@media (max-width: 600px) { .pc-only { display: none; } }

/* === 日本語の改行を文節単位に（熟語が「案／内」のように途中で割れるのを防ぐ）=== */
.hero-title, .section-title, .page-hero-title,
.hc-band h2, .cta-band h2,
.estimate-cta-lead, .estimate-cta p,
.brand-card-name, .lp-feature h3, .area-served h3,
.svc-highlight h3, .hero-card-row strong, .page-hero-lead {
  word-break: keep-all;
  line-break: strict;
  text-wrap: pretty; /* 末行が短い1語（「へ。」等）だけ落ちる孤立を抑える */
  overflow-wrap: anywhere; /* 折返し点が無い時だけ緊急折返し。これが無いとスマホで横はみ出し→ページ全体が縮小表示される（iOS Safariはkeep-all時に「、」後でも折り返さないため特に必須） */
}

/* バンド/CTA帯のリード文：日本語の途中分断・句点孤立を防ぐ。
   keep-all で「ナカノ金物へ。」を塊として折り返し（「へ。」だけ末行に落ちない）、
   カタカナ「ホーム」がホ／ームに割れるのも防止。
   overflow-wrap:anywhere は極端に狭い画面で長い無分割語が溢れた時の保険。 */
.hc-band p, .cta-band p {
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

/* 長い本文段落は keep-all にしない。長い無分割ラン（例「金属刃選びをアドバイス」）が
   1行を埋めると、その直後の「。」が行頭へ追い出される（行頭禁則違反）ため。
   ここは既定の禁則処理（。を行頭に置かない）に任せ、pretty で末行の短い孤立だけ緩和する。 */
.svc-highlight p, .lp-feature p, .shop-intro, .hero-lead {
  text-wrap: pretty;
}

/* 電話番号は途中で割れないように（0562-93- / 1017 の分断防止）。長い見出し内の英数字も保護 */
.nowrap-tel { white-space: nowrap; }

/* カタカナ語が「サポ／ート」のように途中で割れるのを防ぐ汎用クラス（短い語のみに使う） */
.nobr { white-space: nowrap; }

/* === スマホ横はみ出しの最終ガード ===
   万一どこかの要素が画面幅を超えても、レイアウトビューポートを広げない
   （広がるとスマホでページ全体が縮小表示される）。
   hidden ではなく clip：スクロールコンテナを作らないので position:sticky を壊さない。 */
html, body { overflow-x: clip; }

/* === スマホ ヘッダー圧縮（≤600px）===
   未対策だとロゴ・SNS・電話が縦積みでヘッダー218px＋ナビ100px＝390px画面の4割が
   ファーストビューを食う。電話を1行化・余白圧縮で約半分にする。 */
@media (max-width: 600px) {
  .site-header { padding: 10px 0; }
  .header-inner { gap: 8px 12px; }
  .header-contact { flex-direction: row; align-items: center; gap: 8px; }
  .phone-link { flex-direction: row; align-items: center; gap: 6px; padding: 7px 12px; }
  .phone-label { display: none; }
  .phone-number { font-size: 16px; }
  .brand-tag { font-size: 10px; }
  .brand-logo-img { height: 32px; }
  /* フッターのページリンク：タップ領域を指サイズに（実測19px→約32px） */
  .footer-links a { display: inline-block; padding: 6px 2px; }
}

/* スマホの商品カード極小文字（10px）を読める下限に引き上げ */
@media (max-width: 480px) {
  .product-tag { font-size: 11px; }
  .product-mercari { font-size: 11px; }
}
