/* ============================================================
   マルマン・モーターズ - Site styles (Light, friendly v2)
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f5f1;
  --bg-warm: #faf8f3;
  --surface: #ffffff;
  --line: #e6e3dc;
  --line-strong: #c9c5bb;
  --ink: #1a1a1d;
  --ink-soft: #3b3b40;
  --ink-mute: #6f6f78;
  --ink-faint: #9a9a9f;
  --red: #d61f1f;
  --red-bright: #ff2a2a;
  --red-deep: #a61515;
  --red-soft: #fbeaea;
  --dark: #161618;
  --dark-2: #1f1f23;

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --font-display: "Inter", "Noto Sans JP", system-ui, sans-serif;
  /* 数字には Inter を使用(0 にドットやスラッシュなし、tabular-nums で等幅) */
  --font-mono: "Inter", "Noto Sans JP", system-ui, sans-serif;

  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

h1, h2, h3, h4 {
  font-family: var(--font-jp);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}

.h-section {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-style: italic;
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  isolation: isolate;
}
/* 英語飾り文字(D: watermark / タイトル左端揃え) */
.h-section::after {
  content: attr(data-en);
  position: absolute;
  left: -0.05em;
  top: -0.45em;
  z-index: -1;
  font-family: "Oswald", "Bebas Neue", "Inter", sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(64px, 10vw, 132px);
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: rgba(214, 31, 31, 0.10);
  white-space: nowrap;
  pointer-events: none;
  text-transform: uppercase;
  user-select: none;
}
@media (max-width: 640px) {
  .h-section::after {
    font-size: clamp(52px, 14vw, 84px);
    top: -0.32em;
  }
}

/* コンセプトセクションのみ: 英語飾り文字をタイトル下端に揃える */
#concept .h-section::after {
  top: auto;
  bottom: -0.05em;
}

.section-title-jp {
  display: none;
}

/* Section spacing — varied for rhythm */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--compact { padding: clamp(40px, 5vw, 64px) 0; }
.section--bg { background: var(--bg-alt); }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--dark); color: #f5f5f3; }

.section-lede {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.3vw, 17px);
  max-width: 56ch;
  margin: 4px 0 clamp(32px, 4vw, 56px);
  line-height: 1.85;
}
#contact .section-lede {
  margin-bottom: 0;
}

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--red);
  --b-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--b-bg);
  color: var(--b-fg);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid var(--b-bg);
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); background: var(--red-bright); border-color: var(--red-bright); }
.btn .arrow {
  width: 16px; height: 1px; background: currentColor; position: relative;
  transition: width .2s ease;
}
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 22px; }
.btn--ghost {
  --b-bg: transparent;
  --b-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { --b-bg: var(--ink); --b-fg: #fff; border-color: var(--ink); }
.btn--lg { padding: 17px 30px; font-size: 15px; }
.btn--dark { --b-bg: var(--dark); --b-fg: #fff; border-color: var(--dark); }
.btn--dark:hover { --b-bg: #000; border-color: #000; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255,255,255,0);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled .site-header__logo img { }
.site-header__inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-header__logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-header__logo img {
  height: 36px; width: auto;
  border-radius: 4px;
}
.site-header__nav { display: none; margin-left: auto; gap: 28px; }
.site-header__nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.site-header.is-scrolled .site-header__nav a { color: var(--ink-soft); }
.site-header.is-scrolled .site-header__nav a:hover { color: var(--ink); }
.site-header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.site-header__nav a:hover::after,
.site-header__nav a.is-active::after { transform: scaleX(1); }

.site-header__cta { display: none; align-items: center; gap: 14px; }
.site-header__phone {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header.is-scrolled .site-header__phone { color: var(--ink); }
.site-header__phone .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(214,31,31,.6);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.85); }
}
.site-header.is-scrolled .btn--ghost {
  --b-fg: var(--ink);
  border-color: var(--line-strong);
}
.site-header .btn--ghost {
  --b-fg: #fff;
  border-color: rgba(255,255,255,0.4);
}
.site-header .btn--ghost:hover {
  --b-bg: #fff; --b-fg: var(--ink); border-color: #fff;
}

/* Hero ghost button — bump contrast over busy photo background */
.hero .btn--ghost {
  --b-bg: rgba(255,255,255,0.12);
  --b-fg: #fff;
  border-color: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero .btn--ghost:hover {
  --b-bg: #fff;
  --b-fg: var(--ink);
  border-color: #fff;
}

@media (min-width: 980px) {
  .site-header__nav { display: flex; }
  .site-header__cta { display: flex; }
}

.hamburger {
  margin-left: auto;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.site-header.is-scrolled .hamburger { border-color: var(--line-strong); }
@media (min-width: 980px) { .hamburger { display: none; } }
.hamburger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px; background: #fff;
  transition: transform .25s ease, opacity .2s ease, top .25s ease, background .2s;
}
.site-header.is-scrolled .hamburger span { background: var(--ink); }
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.hamburger.is-open span { background: var(--ink); }

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 49;
  padding: 92px var(--pad) 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  font-size: 22px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 500;
}
.mobile-menu .mm-cta { margin-top: auto; padding-top: 24px; }
.mobile-menu .mm-cta .btn { width: 100%; justify-content: center; }
.mobile-menu .mm-phone {
  display: block;
  font-family: var(--font-mono);
  font-size: 28px;
  margin-top: 16px;
  color: var(--ink);
}

/* ---------- Hero (simplified) ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-top: 110px;
  padding-bottom: clamp(20px, 3vw, 40px);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 80%;
  filter: saturate(1.05) brightness(.78);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.75) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.6) 0%, transparent 55%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
}
.hero__tag .pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
}

.hero__headline {
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
  max-width: 18ch;
  font-style: italic;
}
.hero__headline em {
  font-style: italic;
  color: #fff;
  background: none;
  padding: 0;
  display: inline;
}
.hero__headline-pre {
  display: inline-block;
}

.hero__sub {
  color: rgba(255,255,255,0.92);
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 52ch;
  line-height: 1.85;
  font-weight: 500;
}

.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: clamp(12px, 2vw, 28px);
  flex-wrap: nowrap;
}
.hero__row .hero__headline { margin: 0; flex: 0 0 auto; }
.hero__row .hero__sub { margin: 0 0 0.4em 0; flex: 0 1 auto; min-width: 0; max-width: none; white-space: nowrap; }
@media (max-width: 1100px) {
  .hero__row .hero__sub { white-space: normal; max-width: 36ch; }
}
@media (max-width: 640px) {
  .hero__row { flex-direction: column; align-items: flex-start; }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  right: var(--pad);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.85);
}
.hero__scroll .line {
  width: 2px; height: 36px;
  background: linear-gradient(to bottom, #fff, transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(.4); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}
@media (max-width: 720px) { .hero__scroll { display: none; } }

/* Marquee */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--dark);
  color: #f5f5f3;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.marquee__track {
  display: flex;
  gap: 56px;
  padding: 14px 0;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__item {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  color: rgba(255,255,255,0.85);
}
.marquee__item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   NEWS — Carousel
   ============================================================ */
.news-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.news-head__left { max-width: 600px; flex: 1 1 280px; min-width: 0; }
@media (max-width: 640px) {
  .news-head { gap: 18px; }
  .news-head__right { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
  .news-head__right .btn { flex: 1; min-width: 0; }
}
.news-head__intro {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 12px 0 0;
}
.news-head__right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-arrows {
  display: flex;
  gap: 6px;
}
.carousel-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  color: var(--ink);
  transition: all .2s ease;
}
.carousel-arrow:hover:not(:disabled) {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.carousel-arrow:disabled { opacity: .35; cursor: not-allowed; }
.carousel-arrow svg { width: 16px; height: 16px; }

.carousel {
  position: relative;
  padding: 0 0 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel__track {
  display: flex;
  gap: 18px;
}
.carousel__track::after {
  content: "";
  flex: 0 0 var(--pad);
}
.news-card {
  flex: 0 0 var(--card-w, 300px);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20,20,30,0.06);
  border-color: var(--line-strong);
}
.news-card__img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-alt);
}
.news-card__img--text {
  display: grid; place-items: center;
  background: linear-gradient(135deg, #f9f7f1 0%, #efece4 100%);
  color: var(--red);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.04em;
  position: relative;
}
.news-card__img--text::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1.5px dashed rgba(214,31,31,0.35);
  border-radius: 6px;
  pointer-events: none;
}
.news-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.news-card__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--ink-mute);
}
.news-card__date {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-mute);
}
.news-card__cat {
  background: var(--red-soft);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.news-card__cat[data-cat="作業実績"] { background: #e6f4ea; color: #1f7a3d; }
.news-card__cat[data-cat="お知らせ"] { background: var(--red-soft); color: var(--red); }
.news-card__cat[data-cat="中古車"] { background: #e6effb; color: #1d4ed8; }
.news-card__title { font-size: 14.5px; font-weight: 700; line-height: 1.55; flex: 1; }
.news-card__excerpt { font-size: 12.5px; color: var(--ink-soft); line-height: 1.7; flex: 1; }
.news-card__more {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  align-self: flex-end;
}

.news-fb-cta {
  margin-top: clamp(28px, 3vw, 36px);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 14px;
  flex-wrap: wrap;
}
@media (max-width: 560px) {
  .news-fb-cta { padding: 18px 18px; gap: 14px; }
  .news-fb-cta .text { flex-basis: 100%; min-width: 0; }
  .news-fb-cta .btn { width: 100%; justify-content: center; }
}
.news-fb-cta .fb-icon {
  width: 44px; height: 44px;
  background: #1877f2;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.news-fb-cta .text { flex: 1; min-width: 220px; }
.news-fb-cta .text strong { font-size: 15px; }
.news-fb-cta .text p { font-size: 13.5px; color: var(--ink-soft); margin: 4px 0 0; }

/* ============================================================
   CONCEPT
   ============================================================ */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 900px) {
  .concept-grid {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    align-items: center;
  }
}

.concept-img {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-alt);
  margin: 0;
  height: 100%;
  min-height: 320px;
}
.concept-img img { width: 100%; height: 100%; object-fit: cover; }
.concept-img__tag {
  position: absolute;
  bottom: 16px; left: 16px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.96);
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--ink);
}

.concept-body { display: flex; flex-direction: column; gap: 24px; }
.concept-body p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
  margin: 0;
}

.pillar-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 12px;
}
@media (min-width: 600px) { .pillar-list { grid-template-columns: 1fr 1fr; gap: 24px; } }

.pillar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 18px;
  border-left: 2px solid var(--red);
}
.pillar h4 { font-size: 17px; font-weight: 700; line-height: 1.45; }
.pillar p { color: var(--ink-soft); font-size: 13.5px; line-height: 1.75; margin: 0; }

/* ============================================================
   SERVICES — card grid (no accordion)
   ============================================================ */
.services-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 48px);
  max-width: 720px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.services-grid-sub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.svc-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 14px 30px rgba(20,20,30,0.06);
}
.svc-card__icon {
  width: 52px; height: 52px;
  background: var(--red-soft);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--red);
}
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}
.svc-card:not(.svc-card--feat) {
  padding: 20px 14px;
  gap: 10px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.svc-card:not(.svc-card--feat) .svc-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
}
.svc-card:not(.svc-card--feat) .svc-card__icon svg { width: 26px; height: 26px; }
.svc-card:not(.svc-card--feat) h3 { font-size: 14px; }
.svc-card:not(.svc-card--feat) p { display: none; }
.svc-card p {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.75;
  margin: 0;
}

.svc-card--feat {
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 10px;
  align-items: center;
  border-color: var(--ink);
  grid-column: span 1;
}
@media (min-width: 1000px) { .svc-card--feat { grid-column: span 1; } }
.svc-card--feat h3 { color: #fff; }
.svc-card--feat p { color: rgba(255,255,255,0.78); }
.svc-card--feat .svc-card__icon {
  background: rgba(255,255,255,0.1);
  color: var(--red);
  flex-shrink: 0;
  grid-row: 1;
  grid-column: 1;
}
.svc-card--feat h3 {
  grid-row: 1;
  grid-column: 2;
}
.svc-card--feat p {
  grid-row: 2;
  grid-column: 1 / -1;
  margin: 0;
}
.svc-card--feat::after {
  content: none;
}

/* ============================================================
   BRANDS
   ============================================================ */
#brands.section { padding-block: clamp(40px, 5vw, 64px); }
#brands .services-intro { margin-bottom: 20px; }
#contact .services-intro { margin-bottom: 16px; }
.brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 760px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }

.brand-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.brand-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 18px 40px rgba(20,20,30,0.08);
}
.brand-card__cat {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
}
.brand-card__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.brand-card__name .sub {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin-top: 6px;
  font-family: var(--font-jp);
}
.brand-card__desc {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: auto;
}
.brand-card__cred {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  padding: 8px 14px;
  background: var(--bg-alt);
  border-radius: 999px;
  display: inline-block;
  width: fit-content;
}

.brand-feature {
  margin-top: clamp(16px, 2vw, 24px);
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
@media (min-width: 800px) { .brand-feature { grid-template-columns: 1fr 1fr; } }
.brand-feature__img {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
}
.brand-feature__body {
  padding: clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.brand-feature__quote {
  font-size: clamp(15px, 1.4vw, 18px);
  margin: 0;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
}
.brand-feature__quote::before { content: "「"; color: var(--red); }
.brand-feature__quote::after { content: "」"; color: var(--red); }
.brand-feature__cite {
  font-size: 12.5px;
  color: var(--ink-mute);
}
.brand-feature__body p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
  margin: 4px 0 0;
}

/* ============================================================
   STAFF
   ============================================================ */
.staff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 800px) { .staff-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

.staff-card { display: flex; flex-direction: column; gap: 12px; }
.staff-card__img {
  aspect-ratio: 16/10;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3f1ec 0%, #e8e5dd 100%);
  border: 1px solid var(--line);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.staff-card__img .placeholder {
  font-size: 13px;
  color: var(--ink-mute);
  text-align: center;
  padding: 14px 20px;
  background: rgba(255,255,255,0.85);
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
}
.staff-card__name .role {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--red);
  padding: 4px 10px;
  border-radius: 999px;
}
.staff-card__name {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.staff-card__name h3 { font-size: 20px; font-weight: 700; margin: 0; line-height: 1; }
.staff-card__name .romaji {
  font-size: 12.5px;
  color: var(--ink-mute);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  line-height: 1;
  transform: translateY(2px);
}
.staff-card__bio {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   ACCESS
   ============================================================ */
.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) { .access-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }

.access-info { display: flex; flex-direction: column; gap: 0; }
.info-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  padding: 10px 0;
  align-items: baseline;
}
.info-row dt {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.info-row dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.info-row dd .small { display: block; font-size: 11.5px; color: var(--ink-mute); margin-top: 2px; }
.info-row dd .num { font-family: var(--font-mono); color: var(--ink); }
.info-row dd a:hover { color: var(--red); }

.access-map {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-alt);
}
@media (min-width: 900px) { .access-map { aspect-ratio: auto; height: 100%; min-height: 0; } }
.access-map__placeholder {
  position: absolute; inset: 0;
  background-image: url("img/mock_img/shop-exterior.jpg");
  background-size: cover; background-position: center;
}
.access-map__placeholder::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.05));
}
.access-map__pin {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  background: #fff;
  padding: 14px 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.access-map__pin .dot {
  width: 12px; height: 12px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(214,31,31,.18);
  flex-shrink: 0;
}
.access-map__pin .label { font-size: 13.5px; font-weight: 700; line-height: 1.5; }
.access-map__pin .label .small { display: block; font-size: 11px; color: var(--ink-mute); font-weight: 500; margin-top: 2px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 32px; } }

.contact-direct { display: flex; flex-direction: column; gap: 22px; }
.tel-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.tel-card__lbl {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.tel-card__num {
  font-family: var(--font-mono);
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 500;
  color: var(--red);
  line-height: 1.1;
  display: inline-block;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease;
}
.tel-card__num:hover { opacity: 0.65; }
.tel-card__hours {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.tel-card__hours .row { display: flex; gap: 14px; }
.tel-card__hours .day {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  width: 80px;
}
.tel-card__hours .num { font-family: var(--font-mono); }

.note {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.75;
}

/* Form */
.form { display: grid; gap: 20px; }
#contact .form {
  /* 見出し「お問い合わせ」の高さ分だけ下げて、「お電話でのご相談」ラベルの上端に揃える */
  margin-top: calc(clamp(22px, 3vw, 36px) * 1.2 + clamp(16px, 2vw, 24px));
}
@media (max-width: 899px) {
  #contact .form { margin-top: 0; }
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.field label .req { color: var(--red); margin-left: 6px; }
.field input,
.field textarea,
.field select {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(214,31,31,0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-actions { display: flex; gap: 16px; align-items: center; justify-content: flex-end; margin-top: 4px; flex-wrap: wrap; }
.form-actions .form-status { margin-right: auto; }
.form-status { font-size: 13px; color: var(--ink-mute); }
.form-status.is-success { color: #16a34a; font-weight: 700; }

/* ============================================================
   FOOTER (dark for contrast)
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: #f5f5f3;
  padding: clamp(60px, 7vw, 90px) 0 28px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
/* Footer brand: text-only treatment */
.footer-brand__name {
  font-family: var(--font-jp);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--red);
  margin: 0 0 14px;
  line-height: 1;
}
.footer-brand p {
  color: rgba(255,255,255,0.72);
  font-size: 13.5px;
  margin-top: 16px;
  max-width: 36ch;
  line-height: 1.85;
}
.footer-col h5 {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.85); font-size: 14px; }
.footer-col a:hover { color: var(--red-bright); }

.footer-bottom {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .copy {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
.footer-bottom .checker-strip {
  height: 12px; width: 110px;
  --c: 6px;
  background-image:
    linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%),
    linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%);
  background-size: var(--c) var(--c);
  background-position: 0 0, calc(var(--c)/2) calc(var(--c)/2);
  opacity: .8;
}

.ushikun {
  position: absolute;
  bottom: 0;
  right: clamp(16px, 4vw, 60px);
  width: clamp(100px, 14vw, 150px);
  height: clamp(120px, 16vw, 170px);
  pointer-events: auto;
  cursor: pointer;
  opacity: .9;
  transition: transform .4s ease, opacity .3s ease;
}
.ushikun:hover { transform: translateY(-6px) rotate(-2deg); opacity: 1; }
.ushikun img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  border-top-left-radius: 90px 60px;
  border-top-right-radius: 90px 60px;
  border: 2px solid rgba(255,255,255,0.15);
}
.ushikun__bubble {
  position: absolute;
  top: -10px; left: -180px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  width: 170px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.ushikun__bubble::after {
  content: "";
  position: absolute;
  right: -6px; top: 18px;
  width: 12px; height: 12px;
  background: #fff;
  transform: rotate(45deg);
}
.ushikun:hover .ushikun__bubble { opacity: 1; transform: none; }
@media (max-width: 720px) {
  .ushikun__bubble { display: none; }
  .ushikun { width: 90px; height: 110px; opacity: .85; }
}

/* 数字フォント: Inter は 0 にドット/スラッシュなし。等幅化のため tabular-nums を有効化 */
.site-header__phone,
.mobile-menu a .num,
.mobile-menu .mm-phone,
.marquee__item,
.news-card__date,
.info-row dd .num,
.tel-card__num,
.tel-card__hours .num,
.brand-card__no {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Active nav state set via JS .is-active */

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
