/* ==========================================================
   Service page styles
   ========================================================== */

/* TENETS */
.tenets { background: var(--bg); }
.tenets-inner { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: start; }
.tenets-head .section-title { margin-bottom: 0; }
.tenets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tenet {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}
.tenet-no {
  font-size: 42px; color: var(--accent);
  line-height: 1; margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.tenet h3 {
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: 19px; margin: 0 0 12px; letter-spacing: 0.04em;
}
.tenet p { font-size: 14px; color: var(--ink-soft); line-height: 1.9; margin: 0; }

/* SPECIALTIES */
.specialties { background: var(--bg-2); }
.specialties-head { max-width: 720px; margin-bottom: 64px; }
.spec {
  display: grid;
  grid-template-columns: 60px 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
  border-top: 1px dashed var(--line);
}
.spec:last-of-type { border-bottom: 1px dashed var(--line); }
.spec--alt { grid-template-columns: 60px 1fr 1.2fr; }
.spec--alt .spec-body { order: 2; }
.spec--alt .spec-visual { order: 1; }
.spec--alt .spec-num { order: 0; }

.spec-num {
  font-size: 58px; color: color-mix(in oklab, var(--accent) 40%, transparent);
  letter-spacing: 0.04em;
  writing-mode: vertical-rl;
  align-self: start;
  padding-top: 8px;
}
.spec-body .tag { margin-bottom: 16px; }
.spec-body h3 {
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: clamp(28px, 3.2vw, 36px);
  margin: 0 0 16px;
  letter-spacing: 0.05em;
}
.spec-lede { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 24px; line-height: 1.9; }
.spec-points {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.spec-points li {
  font-size: 14px; line-height: 1.8; padding-left: 24px; position: relative;
}
.spec-points li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 12px; height: 2px; background: var(--accent);
}
.spec-points strong {
  background: linear-gradient(transparent 60%, color-mix(in oklab, var(--accent-soft) 50%, transparent) 60%);
  padding: 0 2px;
}
.spec-quote {
  background: color-mix(in oklab, var(--surface) 80%, var(--bg-3));
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  border-radius: 4px 12px 12px 4px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.9;
}
.spec-visual {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.spec-visual .img-placeholder { height: 100%; border-radius: 0; }

/* ALL SERVICES */
.all-services { background: var(--bg); }
.all-services-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.service-table {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.st-col {
  padding: 32px 28px;
  border-right: 1px dashed var(--line);
}
.st-col:last-child { border-right: 0; }
.st-col h4 {
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: 16px; margin: 0 0 18px; letter-spacing: 0.08em;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--accent-ink);
}
.st-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.st-col li {
  font-size: 13.5px; color: var(--ink); padding-left: 18px; position: relative; line-height: 1.6;
}
.st-col li::before {
  content: "・"; position: absolute; left: 0; top: 0; color: var(--accent);
}

/* AREA & HOURS */
.area { background: var(--bg-2); }
.area-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.area-blocks { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.area-block {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 28px;
  border: 1px solid var(--line-soft);
}
.area-block h4 {
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: 16px; margin: 0 0 10px; color: var(--accent-ink);
  letter-spacing: 0.06em;
}
.area-block p { font-size: 14.5px; color: var(--ink); margin: 0; line-height: 1.9; }
.area-block small { color: var(--ink-soft); font-size: 12.5px; }

.area-map { position: sticky; top: 100px; }
.map-frame {
  position: relative; aspect-ratio: 1/1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  color: var(--accent);
}
.map-svg { width: 100%; height: 100%; display: block; }
.map-pin {
  position: absolute; top: 50%; left: 50%; transform: translate(8px, -4px);
  background: var(--surface); color: var(--accent-ink);
  border: 1px solid var(--line);
  padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 12px; box-shadow: var(--shadow-soft);
}
.map-legend {
  position: absolute; bottom: 32px; left: 32px;
  display: flex; gap: 8px; align-items: center;
  font-size: 12px; color: var(--ink-soft);
  background: var(--surface);
  padding: 6px 10px; border-radius: var(--radius-pill);
  border: 1px solid var(--line);
}
.map-legend .dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
}

/* CLOSING CTA */
.closing-cta { background: var(--bg); padding-bottom: 40px; }
.closing-card {
  background: var(--surface);
  border: 2px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}
.closing-card h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.6;
  margin: 0 0 16px;
  letter-spacing: 0.05em;
}
.closing-card p { color: var(--ink-soft); font-size: 15px; margin: 0 0 28px; line-height: 1.9; }
.closing-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 960px) {
  .tenets-inner { grid-template-columns: 1fr; gap: 32px; }
  .tenets-grid { grid-template-columns: 1fr; }
  .spec, .spec--alt { grid-template-columns: 40px 1fr; gap: 20px; }
  .spec-visual { grid-column: 2 / 3; order: 0 !important; margin-top: 24px; }
  .spec--alt .spec-body { order: 0; }
  .spec-num { writing-mode: horizontal-tb; font-size: 42px; }
  .service-table { grid-template-columns: 1fr 1fr; }
  .st-col:nth-child(2) { border-right: 0; }
  .st-col:nth-child(1), .st-col:nth-child(2) { border-bottom: 1px dashed var(--line); }
  .area-inner { grid-template-columns: 1fr; }
  .area-map { position: static; }
}
@media (max-width: 560px) {
  .service-table { grid-template-columns: 1fr; }
  .st-col { border-right: 0; border-bottom: 1px dashed var(--line); }
  .st-col:last-child { border-bottom: 0; }
}
