/* Shared layout for service and system detail pages */
.detail-hero {
  min-height: 720px;
  padding: 11rem 0 7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background:
    linear-gradient(90deg, transparent 0 66%, rgba(221, 229, 216, 0.55) 66% 100%),
    radial-gradient(circle at 14% 20%, rgba(221, 229, 232, 0.7), transparent 30%);
}

/* PC data erasure service */
.data-erasure-page {
  font-size: 16px;
}

.data-erasure-hero {
  min-height: auto;
  padding-bottom: 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 10%, rgba(221, 229, 232, 0.78), transparent 29%),
    linear-gradient(125deg, var(--bg) 0 74%, rgba(221, 229, 216, 0.7) 74% 100%);
}

.data-erasure-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.data-erasure-hero-copy {
  position: relative;
  z-index: 1;
}

.data-erasure-hero h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.5rem);
}

.data-erasure-hero-visual {
  position: relative;
  margin: 1rem 0 2.7rem;
}

.data-erasure-hero-visual::before {
  content: '';
  position: absolute;
  inset: -1.8rem -4rem 3rem 30%;
  background: rgba(205, 217, 197, 0.72);
}

.data-erasure-hero-visual img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: 0 24px 65px rgba(24, 30, 24, 0.14);
}

.data-erasure-hero-visual figcaption,
.data-erasure-record-visual figcaption {
  position: absolute;
  right: -1.2rem;
  bottom: -2.7rem;
  width: min(320px, 80%);
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.82rem;
  line-height: 1.8;
  box-shadow: var(--shadow);
}

.data-erasure-hero-visual figcaption span,
.data-erasure-record-visual figcaption span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.data-erasure-problem-band {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: stretch;
  margin-top: 3.8rem;
  padding: 0;
}

.data-erasure-problem-band > p {
  display: flex;
  align-items: center;
  padding: 1.5rem 1.8rem;
  border-right: 1px solid var(--border);
  border-bottom: 0;
}

.data-erasure-problem-band .detail-problem-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.data-erasure-problem-band .detail-problem-list li {
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 1rem 1.35rem 1rem 2.45rem;
  border-right: 1px solid var(--border);
  border-bottom: 0;
}

.data-erasure-problem-band .detail-problem-list li:last-child {
  border-right: 0;
}

.data-erasure-problem-band .detail-problem-list li::before {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.data-erasure-overview-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.data-erasure-overview-points span {
  position: relative;
  padding: 1rem 0.5rem 1rem 1.25rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.data-erasure-overview-points span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--sage);
  transform: translateY(-50%);
}

.data-erasure-inspection {
  overflow: hidden;
  background: var(--bg);
}

.data-erasure-inspection-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.data-erasure-inspection-visual {
  position: relative;
}

.data-erasure-inspection-visual::before {
  content: '';
  position: absolute;
  inset: -1.4rem 34% 1.6rem -1.4rem;
  background: var(--clay);
}

.data-erasure-inspection-visual img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.data-erasure-inspection-copy h2,
.data-erasure-record-copy h2 {
  margin-bottom: 1.4rem;
  font-family: var(--font-jp);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1.65;
}

.data-erasure-inspection-copy > p:not(.detail-section-num):not(.detail-section-en) {
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 2.05;
}

.data-erasure-check-list {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.data-erasure-check-list li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.data-erasure-check-list > li > span {
  color: #9a9b95;
  font-family: var(--font-en);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.data-erasure-check-list h3 {
  margin-bottom: 0.35rem;
  font-family: var(--font-jp);
  font-size: 1rem;
  font-weight: 500;
}

.data-erasure-check-list p {
  color: var(--text-light);
  font-size: 0.82rem;
  line-height: 1.8;
}

.data-erasure-record {
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--white);
}

.data-erasure-record-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.data-erasure-record-copy .detail-section-num {
  color: rgba(255, 255, 255, 0.17);
}

.data-erasure-record-copy .detail-section-en {
  color: rgba(255, 255, 255, 0.48);
}

.data-erasure-record-copy > p:not(.detail-section-num):not(.detail-section-en) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  line-height: 2.05;
}

.data-erasure-record-copy .data-erasure-record-note {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}

.data-erasure-record-visual {
  position: relative;
  margin-bottom: 2.4rem;
}

.data-erasure-record-visual::after {
  content: '';
  position: absolute;
  inset: auto -1.4rem -1.4rem 40%;
  height: 42%;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.data-erasure-record-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.data-erasure-record-visual figcaption {
  z-index: 2;
  right: 1.2rem;
  bottom: -2.4rem;
  color: var(--text-light);
}

@media (max-width: 1020px) {
  .data-erasure-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
    gap: 3rem;
  }

  .data-erasure-problem-band {
    grid-template-columns: 160px 1fr;
  }

  .data-erasure-inspection-grid,
  .data-erasure-record-grid {
    gap: 3.5rem;
  }
}

@media (max-width: 800px) {
  .data-erasure-hero {
    padding-bottom: 4rem;
  }

  .data-erasure-hero-grid,
  .data-erasure-inspection-grid,
  .data-erasure-record-grid {
    grid-template-columns: 1fr;
  }

  .data-erasure-hero-visual {
    margin-top: 1rem;
  }

  .data-erasure-problem-band {
    grid-template-columns: 1fr;
    margin-top: 4rem;
  }

  .data-erasure-problem-band > p {
    padding: 1rem 1.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .data-erasure-inspection-copy,
  .data-erasure-record-copy {
    max-width: 640px;
  }

  .data-erasure-record-visual {
    grid-row: 1;
  }
}

@media (max-width: 600px) {
  .data-erasure-hero {
    padding-top: 8.5rem;
  }

  .data-erasure-hero-grid {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .data-erasure-hero-visual::before {
    inset: -1rem -1.25rem 1.5rem 38%;
  }

  .data-erasure-hero-visual figcaption,
  .data-erasure-record-visual figcaption {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 1rem);
    margin: -1rem 0 0 auto;
  }

  .data-erasure-problem-band {
    margin-top: 2.5rem;
  }

  .data-erasure-problem-band .detail-problem-list {
    grid-template-columns: 1fr;
  }

  .data-erasure-problem-band .detail-problem-list li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .data-erasure-problem-band .detail-problem-list li:last-child {
    border-bottom: 0;
  }

  .data-erasure-overview-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-erasure-inspection-visual::before {
    inset: -0.8rem 30% 1rem -0.8rem;
  }

  .data-erasure-record-visual {
    margin-bottom: 0;
  }

  .data-erasure-record-visual::after {
    inset: auto -0.75rem -0.75rem 38%;
  }
}

.detail-hero-grid {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 3rem;
  color: var(--text-light);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.detail-back::before {
  content: '←';
  transition: transform var(--transition);
}

.detail-back:hover::before { transform: translateX(-4px); }

.detail-breadcrumb { margin-bottom: 3rem; }
.detail-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  list-style: none;
  color: var(--text-light);
  font-size: 0.82rem;
  line-height: 1.7;
}
.detail-breadcrumb li { display: inline-flex; align-items: center; gap: 0.55rem; }
.detail-breadcrumb li + li::before { content: '/'; color: #aaa; }
.detail-breadcrumb a { border-bottom: 1px solid transparent; }
.detail-breadcrumb a:hover { border-bottom-color: currentColor; }

.detail-kind,
.detail-eyebrow,
.detail-section-en {
  font-family: var(--font-en);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.detail-kind {
  color: var(--text-light);
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}

.detail-eyebrow {
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.detail-hero h1 {
  max-width: 780px;
  font-family: var(--font-jp);
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.detail-lead {
  max-width: 720px;
  margin: 2rem 0 2.5rem;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 2.1;
}

.detail-problems {
  padding: 2.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.detail-problems > p {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-jp);
  font-size: 1.1rem;
}

.detail-problem-list li {
  position: relative;
  padding: 1rem 0 1rem 1.4rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.8;
}

.detail-problem-list li:last-child { border-bottom: 0; }
.detail-problem-list li::before { content: ''; position: absolute; left: 0; top: 1.72rem; width: 6px; height: 6px; background: var(--text); }

.detail-overview { background: var(--bg-dark); color: var(--white); }
.detail-overview-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; }
.detail-section-num { font-family: var(--font-en); font-size: 4.5rem; font-weight: 300; line-height: 1; color: var(--border); }
.detail-section-en { color: var(--text-light); font-size: 0.78rem; margin: 0.7rem 0 0.8rem; }
.detail-overview .detail-section-en { color: rgba(255, 255, 255, 0.45); }
.detail-overview h2,
.detail-section-heading h2 { font-family: var(--font-jp); font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 400; }
.detail-copy p { color: rgba(255, 255, 255, 0.76); font-size: 1rem; line-height: 2.2; margin-bottom: 1.5rem; }
.detail-copy p:last-child { margin-bottom: 0; }

.detail-features { background: var(--bg-soft); }
.detail-section-heading { margin-bottom: 3rem; }
.detail-section-heading .detail-section-num { color: #c9cac5; }
.detail-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.detail-feature-card { min-height: 240px; padding: 2.5rem; background: var(--white); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.detail-feature-card > span { display: block; color: #a0a09b; font-family: var(--font-en); font-size: 0.88rem; margin-bottom: 1.8rem; }
.detail-feature-card h3 { font-family: var(--font-jp); font-size: 1.22rem; margin-bottom: 1rem; }
.detail-feature-card p { color: var(--text-light); font-size: 0.92rem; line-height: 2; }

.detail-process-grid { display: grid; grid-template-columns: 0.8fr 2fr; gap: 5rem; align-items: start; }
.detail-process .detail-section-heading { position: sticky; top: 110px; }
.detail-step-list { list-style: none; }
.detail-step { display: grid; grid-template-columns: 76px 1fr; gap: 1.8rem; padding: 0 0 2.3rem; margin-bottom: 2.3rem; border-bottom: 1px solid var(--border); }
.detail-step > span { width: 62px; height: 62px; display: grid; place-items: center; background: var(--text); color: var(--white); font-family: var(--font-en); font-size: 1.1rem; }
.detail-step h3 { font-family: var(--font-jp); font-size: 1.12rem; margin: 0.25rem 0 0.6rem; }
.detail-step p { color: var(--text-light); font-size: 0.92rem; line-height: 1.9; }

.detail-note { padding-top: 0; }
.detail-note-inner { padding: clamp(2.5rem, 6vw, 5rem); background: var(--mist); }
.detail-note-inner h2 { margin-bottom: 1.2rem; font-family: var(--font-jp); font-size: clamp(1.5rem, 3vw, 2rem); }
.detail-note-inner > p:last-child { max-width: 800px; color: var(--text-light); font-size: 0.95rem; line-height: 2; }

.custom-development-terms-note {
  max-width: 920px;
  margin: 2rem auto 0;
  color: var(--text-light);
  font-size: 0.82rem;
  line-height: 1.9;
}

.detail-faq { padding-top: 2rem; }
.detail-faq-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 8vw, 7rem);
}
.detail-faq-list { border-top: 1px solid var(--border); }
.detail-faq-list details { border-bottom: 1px solid var(--border); }
.detail-faq-list summary {
  position: relative;
  padding: 1.65rem 3rem 1.65rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-jp);
  font-size: 1rem;
  line-height: 1.7;
}
.detail-faq-list summary::-webkit-details-marker { display: none; }
.detail-faq-list summary::after {
  content: '+';
  position: absolute;
  top: 1.45rem;
  right: 0.3rem;
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 300;
}
.detail-faq-list details[open] summary::after { content: '−'; }
.detail-faq-list details p {
  padding: 0 3rem 1.6rem 0;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 2;
}

.detail-related { padding-top: 2rem; background: var(--bg-soft); }
.detail-related-lead {
  max-width: 760px;
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 2;
}
.detail-related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.detail-related-list li {
  background: var(--white);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.detail-related-list a {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  font-family: var(--font-jp);
  line-height: 1.7;
  transition: background var(--transition);
}
.detail-related-list a::after { content: '→'; flex: 0 0 auto; color: var(--text-light); }
.detail-related-list a:hover { background: var(--mist); }

.detail-pager { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border-top: 1px solid var(--border); }
.detail-pager a { min-height: 140px; display: flex; flex-direction: column; justify-content: center; padding: 2rem clamp(2rem, 7vw, 7rem); font-family: var(--font-jp); font-size: 1rem; transition: background var(--transition); }
.detail-pager a:hover { background: var(--bg-soft); }
.detail-pager a + a { align-items: flex-end; text-align: right; border-left: 1px solid var(--border); }
.detail-pager span { display: block; margin-bottom: 0.6rem; color: var(--text-light); font-family: var(--font-en); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }

@media (max-width: 800px) {
  .detail-hero { min-height: auto; padding: 9rem 0 5rem; background: radial-gradient(circle at 100% 0, rgba(221, 229, 216, 0.75), transparent 45%); }
  .detail-hero-grid,
  .detail-overview-grid,
  .detail-process-grid,
  .detail-faq-grid { grid-template-columns: 1fr; gap: 3rem; }
  .detail-back,
  .detail-breadcrumb { margin-bottom: 2rem; }
  .detail-process .detail-section-heading { position: static; }
}

@media (max-width: 600px) {
  .detail-hero-grid { padding-left: 1.25rem; padding-right: 1.25rem; }
  .detail-feature-grid { grid-template-columns: 1fr; }
  .detail-related-list { grid-template-columns: 1fr; }
  .detail-feature-card { min-height: auto; padding: 2rem 1.5rem; }
  .detail-step { grid-template-columns: 52px 1fr; gap: 1.2rem; }
  .detail-step > span { width: 48px; height: 48px; }
  .detail-pager { grid-template-columns: 1fr; }
  .detail-pager a { min-height: 110px; padding: 1.5rem 1.25rem; }
  .detail-pager a + a { border-left: 0; border-top: 1px solid var(--border); }
}

/* EC management service */
.ec-management-hero {
  min-height: auto;
  padding-bottom: 4.5rem;
  overflow: hidden;
}

.ec-management-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.ec-management-hero h1 {
  font-size: clamp(1.65rem, 2.8vw, 2.65rem);
  line-height: 1.65;
}
.ec-management-hero h1 span { display: block; }

.ec-management-hero-visual { position: relative; margin: 0 0 1.5rem; }
.ec-management-hero-visual::before {
  content: '';
  position: absolute;
  inset: -1.25rem -1.5rem 2rem 30%;
  background: var(--sage);
}

.ec-management-hero-visual img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.6;
  object-fit: cover;
  object-position: 58% center;
}

.ec-management-hero-visual figcaption {
  position: relative;
  width: calc(100% - 2rem);
  margin: -2rem -0.75rem 0 auto;
  padding: 1.2rem 1.5rem;
  background: var(--bg-dark);
  color: var(--white);
  font-family: var(--font-jp);
  font-size: 0.95rem;
}

.ec-management-hero-visual figcaption span {
  display: block;
  margin-bottom: 0.35rem;
  color: #c8d2c2;
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.13em;
}

.ec-management-problems-wrap { width: 100%; margin-top: 3.5rem; }
.ec-management-problems {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
}
.ec-management-problems > p { margin: 0; }
.ec-management-problems .detail-problem-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.ec-management-problems .detail-problem-list li { padding: 0 0 0 1rem; border: 0; font-size: 0.84rem; }
.ec-management-problems .detail-problem-list li::before { top: 0.7rem; }

.ec-management-scenes { background: var(--white); }
.ec-management-section-lead { margin-top: 1.5rem; color: var(--text-light); line-height: 2.1; }
.ec-management-scene-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.ec-management-scene { min-width: 0; background: var(--bg-soft); }
.ec-management-scene figure { position: relative; }
.ec-management-scene img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ec-management-scene figcaption { padding: 0.6rem 1.5rem; color: var(--text-light); font-size: 0.7rem; text-align: right; }
.ec-management-scene-copy { padding: 0.75rem 2rem 2.5rem; }
.ec-management-scene-copy h3 { margin-bottom: 1.25rem; font-family: var(--font-jp); font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 400; line-height: 1.7; }
.ec-management-scene-copy > p:not(.detail-section-en) { color: var(--text-light); font-size: 0.94rem; line-height: 2.1; }
.ec-management-scene-copy ul { margin-top: 1.5rem; border-top: 1px solid #d4d8ce; }
.ec-management-scene-copy li { padding: 0.8rem 0; border-bottom: 1px solid #d4d8ce; font-size: 0.82rem; }

@media (max-width: 800px) {
  .ec-management-hero { padding-top: 9rem; }
  .ec-management-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .ec-management-hero-visual img { aspect-ratio: 3 / 2; }
  .ec-management-problems { grid-template-columns: 1fr; }
  .ec-management-scene-grid { gap: 1.5rem; }
  .ec-management-scene-copy { padding: 0.5rem 1.5rem 2rem; }
}

@media (max-width: 600px) {
  .ec-management-hero { padding-bottom: 3rem; }
  .ec-management-hero h1 { font-size: clamp(1.4rem, 6.2vw, 2rem); }
  .ec-management-hero-visual::before { inset: -0.75rem -1rem 2rem 30%; }
  .ec-management-hero-visual figcaption { width: calc(100% - 1rem); margin-right: 0; padding: 1rem; font-size: 0.85rem; }
  .ec-management-problems-wrap { margin-top: 1.5rem; }
  .ec-management-problems { padding: 1.5rem; gap: 1rem; }
  .ec-management-problems .detail-problem-list { grid-template-columns: 1fr; gap: 1rem; }
  .ec-management-scene-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ec-management-section-lead br { display: none; }
}

/* Custom development service */
.custom-development-hero {
  min-height: auto;
  display: block;
  padding-bottom: 5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 14%, rgba(221, 229, 232, 0.78), transparent 29%),
    linear-gradient(125deg, var(--bg) 0 76%, rgba(221, 229, 216, 0.65) 76% 100%);
}

.custom-development-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: center;
}

.custom-development-hero-copy {
  position: relative;
  z-index: 1;
}

.custom-development-hero h1 {
  font-size: clamp(2.45rem, 4.5vw, 4.45rem);
}

.custom-development-hero-visual,
.custom-development-discovery-visual,
.custom-development-showcase-visual {
  position: relative;
  margin: 0;
}

.custom-development-hero-visual::before {
  content: '';
  position: absolute;
  inset: -1.5rem -8vw 2.7rem 35%;
  background: rgba(221, 229, 216, 0.82);
}

.custom-development-hero-visual img,
.custom-development-discovery-visual img,
.custom-development-showcase-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.custom-development-hero-visual figcaption,
.custom-development-showcase-visual figcaption {
  position: absolute;
  z-index: 2;
  right: -1.4rem;
  bottom: -2.2rem;
  width: min(390px, 82%);
  padding: 1.15rem 1.4rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  color: var(--text-light);
  font-size: 0.84rem;
  line-height: 1.8;
}

.custom-development-hero-visual figcaption span,
.custom-development-showcase-visual figcaption span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text);
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.custom-development-problem-band {
  display: grid;
  grid-template-columns: 185px 1fr;
  align-items: stretch;
  margin-top: 5.5rem;
  padding: 0;
}

.custom-development-problem-band > p {
  display: flex;
  align-items: center;
  padding: 1.4rem 1.7rem;
  border-right: 1px solid var(--border);
  border-bottom: 0;
}

.custom-development-problem-band .detail-problem-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.custom-development-problem-band .detail-problem-list li {
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 1rem 1.35rem 1rem 2.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 0;
}

.custom-development-problem-band .detail-problem-list li:last-child { border-right: 0; }
.custom-development-problem-band .detail-problem-list li::before { left: 1.25rem; top: 50%; transform: translateY(-50%); }

.custom-development-overview-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2.2rem;
}

.custom-development-overview-points span {
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.custom-development-discovery { background: var(--white); }

.custom-development-discovery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.custom-development-discovery-visual::before {
  content: '';
  position: absolute;
  inset: -1.25rem 30% 1.25rem -1.25rem;
  background: var(--clay);
}

.custom-development-discovery-copy h2,
.custom-development-showcase-copy h2 {
  margin-bottom: 1.4rem;
  font-family: var(--font-jp);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 400;
  line-height: 1.65;
}

.custom-development-discovery-copy > p:last-of-type,
.custom-development-showcase-copy > p:last-of-type {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 2.1;
}

.custom-development-discovery-list {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.custom-development-discovery-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
}

.custom-development-discovery-list li > span {
  color: #9a9b95;
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.custom-development-discovery-list h3 {
  margin-bottom: 0.3rem;
  font-family: var(--font-jp);
  font-size: 1rem;
}

.custom-development-discovery-list p {
  color: var(--text-light);
  font-size: 0.82rem;
  line-height: 1.8;
}

.custom-development-showcase {
  background: #191a18;
  color: var(--white);
}

.custom-development-showcase-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.custom-development-showcase .detail-section-num { color: #3f413d; }
.custom-development-showcase .detail-section-en { color: rgba(255, 255, 255, 0.45); }
.custom-development-showcase-copy > p:last-of-type { color: rgba(255, 255, 255, 0.7); }

.custom-development-showcase-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.custom-development-showcase-copy li {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  line-height: 1.7;
}

.custom-development-showcase-visual::before {
  content: '';
  position: absolute;
  inset: -1.25rem -1.25rem 18% 38%;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.custom-development-showcase-visual figcaption {
  right: 1rem;
  bottom: -2.3rem;
  color: var(--text-light);
}

.custom-development-page .detail-feature-card { min-height: 255px; }

@media (max-width: 980px) {
  .custom-development-hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr); gap: 3rem; }
  .custom-development-discovery-grid,
  .custom-development-showcase-grid { gap: 3.5rem; }
}

@media (max-width: 800px) {
  .custom-development-hero { padding-top: 8.5rem; }
  .custom-development-hero-grid,
  .custom-development-discovery-grid,
  .custom-development-showcase-grid { grid-template-columns: 1fr; }
  .custom-development-problem-band { grid-template-columns: 1fr; }
  .custom-development-problem-band > p { border-right: 0; border-bottom: 1px solid var(--border); }
  .custom-development-showcase-copy { max-width: 650px; }
}

@media (max-width: 600px) {
  .custom-development-hero { padding-bottom: 4rem; }
  .custom-development-hero-grid { padding-left: 1.25rem; padding-right: 1.25rem; }
  .custom-development-hero h1 { font-size: clamp(2rem, 9vw, 2.55rem); }
  .custom-development-hero-visual::before { inset: -0.8rem -1.25rem 1.5rem 35%; }
  .custom-development-hero-visual figcaption,
  .custom-development-showcase-visual figcaption { position: relative; right: auto; bottom: auto; width: calc(100% - 1rem); margin: -1rem 0 0 auto; }
  .custom-development-problem-band { margin-top: 3rem; }
  .custom-development-problem-band .detail-problem-list { grid-template-columns: 1fr; }
  .custom-development-problem-band .detail-problem-list li { min-height: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .custom-development-problem-band .detail-problem-list li:last-child { border-bottom: 0; }
  .custom-development-discovery-grid,
  .custom-development-showcase-grid { padding-left: 1.25rem; padding-right: 1.25rem; }
  .custom-development-discovery-visual::before { inset: -0.7rem 28% 0.9rem -0.7rem; }
  .custom-development-showcase-copy ul { grid-template-columns: 1fr; }
  .custom-development-showcase-visual::before { inset: -0.7rem -0.7rem 18% 38%; }
}

/* Web design service */
.web-design-hero {
  min-height: auto;
  padding-bottom: 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 12%, rgba(221, 229, 232, 0.72), transparent 28%),
    linear-gradient(125deg, var(--bg) 0 72%, rgba(221, 229, 216, 0.62) 72% 100%);
}

.web-design-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(430px, 1.18fr);
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: center;
}

.web-design-hero-copy {
  position: relative;
  z-index: 1;
}

.web-design-hero h1 {
  font-size: clamp(2.5rem, 4.7vw, 4.6rem);
}

.web-design-hero-visual {
  position: relative;
  margin: 1rem 0 2.8rem;
}

.web-design-hero-visual::before {
  content: '';
  position: absolute;
  inset: -1.8rem -4rem 3rem 28%;
  background: rgba(221, 229, 216, 0.62);
}

.web-design-hero-visual img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: 0 24px 65px rgba(24, 30, 24, 0.13);
}

.web-design-hero-visual figcaption,
.web-design-process-visual figcaption {
  position: absolute;
  right: -1.2rem;
  bottom: -2.8rem;
  width: min(310px, 78%);
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.82rem;
  box-shadow: var(--shadow);
}

.web-design-hero-visual figcaption span,
.web-design-process-visual figcaption span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.web-design-problems {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: stretch;
  margin-top: 3.8rem;
  padding: 0;
}

.web-design-problems > p {
  display: flex;
  align-items: center;
  padding: 1.5rem 1.8rem;
  border-right: 1px solid var(--border);
  border-bottom: 0;
}

.web-design-problems .detail-problem-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.web-design-problems .detail-problem-list li {
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 1rem 1.5rem 1rem 2.6rem;
  border-right: 1px solid var(--border);
  border-bottom: 0;
}

.web-design-problems .detail-problem-list li:last-child {
  border-right: 0;
}

.web-design-problems .detail-problem-list li::before {
  left: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
}

.web-design-showcase {
  padding: 0;
  background: var(--bg-dark);
  color: var(--white);
}

.web-design-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 6rem;
}

.web-design-showcase-visual {
  position: relative;
}

.web-design-showcase-visual::after {
  content: '';
  position: absolute;
  inset: auto -1.5rem -1.5rem 38%;
  height: 44%;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.web-design-showcase-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.web-design-showcase-copy .detail-section-en {
  color: rgba(255, 255, 255, 0.5);
}

.web-design-showcase-copy h2 {
  margin-bottom: 1.5rem;
  font-family: var(--font-jp);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.65;
}

.web-design-showcase-copy > p:last-of-type {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 2.1;
}

.web-design-showcase-copy ul {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.web-design-showcase-copy li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.web-design-showcase-copy li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: 5px;
  height: 5px;
  background: var(--sage);
}

.web-design-process-content {
  min-width: 0;
}

.web-design-process-visual {
  position: relative;
  margin-bottom: 5.5rem;
}

.web-design-process-visual::before {
  content: '';
  position: absolute;
  inset: -1.3rem 32% 1.5rem -1.3rem;
  background: var(--clay);
}

.web-design-process-visual img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.web-design-process-visual figcaption {
  right: 1.2rem;
  bottom: -2.4rem;
}

@media (max-width: 1000px) {
  .web-design-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    gap: 3rem;
  }

  .web-design-problems {
    grid-template-columns: 160px 1fr;
  }

  .web-design-showcase-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 3rem;
  }
}

@media (max-width: 800px) {
  .web-design-hero {
    padding-bottom: 4rem;
  }

  .web-design-hero-grid,
  .web-design-showcase-grid {
    grid-template-columns: 1fr;
  }

  .web-design-hero-visual {
    margin-top: 1rem;
  }

  .web-design-problems {
    grid-template-columns: 1fr;
    margin-top: 4rem;
  }

  .web-design-problems > p {
    padding: 1rem 1.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .web-design-showcase-grid {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }

  .web-design-showcase-copy {
    max-width: 620px;
  }
}

@media (max-width: 600px) {
  .web-design-hero {
    padding-top: 8.5rem;
  }

  .web-design-hero-grid {
    padding: 0;
  }

  .web-design-hero-visual::before {
    inset: -1rem -1.25rem 1.5rem 38%;
  }

  .web-design-hero-visual figcaption,
  .web-design-process-visual figcaption {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 1rem);
    margin: -1rem 0 0 auto;
  }

  .web-design-problems {
    margin-top: 2.5rem;
  }

  .web-design-problems .detail-problem-list {
    grid-template-columns: 1fr;
  }

  .web-design-problems .detail-problem-list li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .web-design-problems .detail-problem-list li:last-child {
    border-bottom: 0;
  }

  .web-design-showcase-grid {
    gap: 2.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .web-design-showcase-visual::after {
    inset: auto -0.75rem -0.75rem 38%;
  }

  .web-design-process-visual {
    margin-bottom: 3.5rem;
  }

  .web-design-process-visual::before {
    inset: -0.8rem 30% 1rem -0.8rem;
  }
}

/* Timecard system case study */
.timecard-page {
  font-size: 16px;
}

.timecard-hero {
  min-height: auto;
  padding-bottom: 5rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(221, 229, 216, 0.7) 0 10%, transparent 10% 100%),
    radial-gradient(circle at 8% 16%, rgba(221, 229, 232, 0.85), transparent 31%);
}

.timecard-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1.1fr);
  gap: clamp(3rem, 5vw, 5rem);
  align-items: center;
}

.timecard-hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 1.5rem;
}

.timecard-hero-copy::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 9rem;
  height: 1px;
  top: 12rem;
  left: -6rem;
  background: var(--text);
}

.timecard-hero .detail-back {
  margin-bottom: 4rem;
}

.timecard-hero h1 {
  max-width: 640px;
  font-size: clamp(2.3rem, 3.2vw, 3rem);
}

.timecard-hero-visual {
  position: relative;
  margin: 0;
}

.timecard-hero-visual::before {
  content: '';
  position: absolute;
  inset: -1.5rem -10vw 2.5rem 34%;
  z-index: -1;
  background: #1b1c1a;
}

.timecard-hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(0.82) contrast(1.02);
}

.timecard-hero-visual figcaption {
  position: absolute;
  right: -1.5rem;
  bottom: -1.8rem;
  width: min(78%, 420px);
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.8;
}

.timecard-hero-visual figcaption span {
  display: block;
  margin-bottom: 0.2rem;
  color: #999;
  font-family: var(--font-en);
  letter-spacing: 0.18em;
}

.timecard-problem-band {
  display: grid;
  grid-template-columns: 0.7fr 2.3fr;
  gap: 2rem;
  align-items: center;
  margin-top: 5.5rem;
  padding: 1.5rem 2rem;
  box-shadow: none;
}

.timecard-problem-band > p {
  padding: 0;
  border: 0;
}

.timecard-problem-band .detail-problem-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timecard-problem-band .detail-problem-list li {
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 0.8rem 1.4rem 0.8rem 2.6rem;
  border: 0;
  border-left: 1px solid var(--border);
  font-size: 0.88rem;
}

.timecard-problem-band .detail-problem-list li::before {
  left: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
}

.timecard-overview-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.3rem;
}

.timecard-overview-points span {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.timecard-section-lead {
  max-width: 680px;
  margin-top: 1.2rem;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 2;
}

.timecard-screens {
  background: #181918;
  color: var(--white);
}

.timecard-screens .detail-section-num {
  color: #3e403d;
}

.timecard-screens .detail-section-en,
.timecard-screens .timecard-section-lead {
  color: rgba(255, 255, 255, 0.55);
}

.timecard-screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.timecard-screen-card {
  min-width: 0;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #202120;
}

.timecard-screen-meta {
  margin-bottom: 1.4rem;
}

.timecard-screen-meta span {
  display: block;
  margin-bottom: 0.35rem;
  color: #b7b8b3;
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.timecard-screen-meta h3 {
  font-family: var(--font-jp);
  font-size: 1.2rem;
  font-weight: 400;
}

.timecard-screen-card > p {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  line-height: 2;
}

.timecard-kiosk-mock,
.timecard-admin-mock {
  min-height: 350px;
  overflow: hidden;
  border: 1px solid rgba(213, 193, 129, 0.35);
  border-radius: 5px;
  background: radial-gradient(circle at 15% 10%, #28283e, #171725 68%);
  color: #f2f0e9;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.26);
}

.timecard-mock-head,
.timecard-admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #e8dcac;
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}

.timecard-mock-head span,
.timecard-admin-top span {
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.timecard-kiosk-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr;
  min-height: 246px;
}

.timecard-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.8rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.timecard-action-grid > div {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  text-align: center;
}

.timecard-action-grid .is-in { background: linear-gradient(135deg, #315f4b, #203d31); }
.timecard-action-grid .is-out { background: linear-gradient(135deg, #6d4141, #442929); }
.timecard-action-grid .is-break { background: linear-gradient(135deg, #72623d, #483f2a); }
.timecard-action-grid .is-back { background: linear-gradient(135deg, #3b566d, #263847); }
.timecard-action-grid small { margin-bottom: 0.1rem; color: rgba(255, 255, 255, 0.48); font-size: 0.62rem; }
.timecard-action-grid strong { font-size: 0.92rem; }
.timecard-action-grid span { margin-top: 0.1rem; color: rgba(255, 255, 255, 0.52); font-family: var(--font-en); font-size: 0.58rem; letter-spacing: 0.08em; }

.timecard-today-list {
  padding: 0.85rem 0.75rem;
  background: rgba(0, 0, 0, 0.15);
}

.timecard-today-list > p {
  margin-bottom: 0.5rem;
  color: #d9ca95;
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timecard-today-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.timecard-today-list strong { font-size: 0.66rem; }
.timecard-today-list span { padding: 0.15rem 0.28rem; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 2px; color: #aaa; font-size: 0.55rem; white-space: nowrap; }
.timecard-today-list .is-working { color: #7ed6a5; border-color: rgba(126, 214, 165, 0.35); }
.timecard-today-list .is-resting { color: #e8ca6d; border-color: rgba(232, 202, 109, 0.35); }

.timecard-touch-message {
  margin: 0.8rem;
  padding: 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.66rem;
  text-align: center;
}

.timecard-admin-mock {
  min-width: 600px;
  transform-origin: top left;
}

.timecard-screen-card:nth-child(2) {
  overflow: hidden;
}

.timecard-admin-row {
  display: grid;
  grid-template-columns: 1.35fr repeat(5, 0.8fr);
  align-items: center;
  min-height: 55px;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.68rem;
}

.timecard-admin-labels {
  min-height: 42px;
  color: #daca92;
  font-family: var(--font-en);
  letter-spacing: 0.08em;
}

.timecard-admin-row strong { font-size: 0.72rem; }
.timecard-admin-row em { width: fit-content; padding: 0.15rem 0.4rem; border-radius: 99px; background: rgba(255, 255, 255, 0.08); color: #aaa; font-style: normal; }
.timecard-admin-row .is-review { background: rgba(231, 188, 69, 0.12); color: #e7bc45; }

.timecard-admin-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
}

.timecard-admin-foot button {
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(218, 202, 146, 0.45);
  border-radius: 2px;
  background: transparent;
  color: #e5d7a5;
  font: inherit;
}

.timecard-page .detail-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timecard-page .detail-feature-card {
  min-height: 270px;
}

.timecard-page .detail-feature-card > span {
  letter-spacing: 0.12em;
}

.timecard-page .detail-feature-card p,
.timecard-page .detail-step p,
.timecard-page .detail-copy p,
.timecard-page .detail-note-inner > p:last-child {
  font-size: 1rem;
}

.timecard-calculation {
  background: var(--bg-soft);
}

.timecard-calculation-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.timecard-calculation .detail-section-heading {
  position: sticky;
  top: 110px;
}

.timecard-check-list {
  border-top: 1px solid #cfd0ca;
}

.timecard-check-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.4rem;
  padding: 2rem 0;
  border-bottom: 1px solid #cfd0ca;
}

.timecard-check-list article > span {
  color: #969790;
  font-family: var(--font-en);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
}

.timecard-check-list h3 {
  margin-bottom: 0.65rem;
  font-family: var(--font-jp);
  font-size: 1.08rem;
}

.timecard-check-list p {
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 1.9;
}

.timecard-flexible {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.timecard-flexible > div > p:last-child {
  max-width: 700px;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 2;
}

.timecard-flexible ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(26, 26, 26, 0.28);
  border-left: 1px solid rgba(26, 26, 26, 0.28);
}

.timecard-flexible li {
  min-height: 60px;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  border-right: 1px solid rgba(26, 26, 26, 0.28);
  border-bottom: 1px solid rgba(26, 26, 26, 0.28);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.timecard-faq {
  padding-top: 2rem;
}

.timecard-faq-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 8vw, 7rem);
}

.timecard-faq-list {
  border-top: 1px solid var(--border);
}

.timecard-faq-list details {
  border-bottom: 1px solid var(--border);
}

.timecard-faq-list summary {
  position: relative;
  padding: 1.65rem 3rem 1.65rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-jp);
  font-size: 1rem;
  line-height: 1.7;
}

.timecard-faq-list summary::-webkit-details-marker { display: none; }
.timecard-faq-list summary::after { content: '+'; position: absolute; top: 1.45rem; right: 0.3rem; font-family: var(--font-en); font-size: 1.6rem; font-weight: 300; }
.timecard-faq-list details[open] summary::after { content: '−'; }
.timecard-faq-list details p { padding: 0 3rem 1.6rem 0; color: var(--text-light); font-size: 0.94rem; line-height: 2; }

@media (max-width: 1020px) {
  .timecard-hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr); gap: 3rem; }
  .timecard-screen-grid { grid-template-columns: 1fr; }
  .timecard-screen-card { max-width: 760px; width: 100%; margin: 0 auto; }
  .timecard-admin-mock { min-width: 0; }
}

@media (max-width: 800px) {
  .timecard-hero { padding-top: 8.5rem; }
  .timecard-hero-grid,
  .timecard-calculation-grid,
  .timecard-flexible,
  .timecard-faq-grid { grid-template-columns: 1fr; }
  .timecard-hero-copy::before { display: none; }
  .timecard-hero .detail-back { margin-bottom: 2.5rem; }
  .timecard-hero-visual::before { inset: -1rem -2rem 2rem 30%; }
  .timecard-problem-band { grid-template-columns: 1fr; gap: 0.5rem; }
  .timecard-problem-band > p { padding-bottom: 0.8rem; border-bottom: 1px solid var(--border); }
  .timecard-calculation .detail-section-heading { position: static; }
  .timecard-page .detail-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .timecard-hero { padding-bottom: 4rem; }
  .timecard-hero-grid { padding-left: 1.25rem; padding-right: 1.25rem; }
  .timecard-hero h1 { font-size: 1.9rem; }
  .timecard-hero-visual img { aspect-ratio: 4 / 3.5; }
  .timecard-hero-visual figcaption { position: relative; right: auto; bottom: auto; width: calc(100% - 1rem); margin: -1.2rem 0 0 auto; }
  .timecard-problem-band { margin-top: 3rem; padding: 1.25rem; }
  .timecard-problem-band .detail-problem-list { grid-template-columns: 1fr; }
  .timecard-problem-band .detail-problem-list li { min-height: auto; padding: 0.9rem 0 0.9rem 1.5rem; border-left: 0; border-bottom: 1px solid var(--border); }
  .timecard-problem-band .detail-problem-list li:last-child { border-bottom: 0; }
  .timecard-problem-band .detail-problem-list li::before { left: 0.1rem; }
  .timecard-screen-card { padding: 1rem; }
  .timecard-kiosk-mock,
  .timecard-admin-mock { min-height: 315px; }
  .timecard-kiosk-layout { grid-template-columns: 1fr; }
  .timecard-action-grid { min-height: 218px; border-right: 0; }
  .timecard-action-grid > div { min-height: 92px; }
  .timecard-today-list { display: none; }
  .timecard-admin-row { grid-template-columns: 1.4fr repeat(3, 0.8fr); }
  .timecard-admin-row span:nth-of-type(3),
  .timecard-admin-row span:nth-of-type(4) { display: none; }
  .timecard-page .detail-feature-grid { grid-template-columns: 1fr; }
  .timecard-page .detail-feature-card { min-height: auto; }
  .timecard-flexible ul { grid-template-columns: 1fr 1fr; }
  .timecard-faq-grid { gap: 1rem; }
}

/* Online order receipt system case study */
.order-receipt-page {
  font-size: 16px;
}

.order-receipt-hero {
  min-height: auto;
  display: block;
  padding-bottom: 5rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(232, 221, 211, 0.52) 0 9%, transparent 9% 100%),
    radial-gradient(circle at 9% 13%, rgba(221, 229, 216, 0.86), transparent 32%);
}

.order-receipt-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.order-receipt-hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 1.5rem;
}

.order-receipt-hero .detail-back {
  margin-bottom: 4rem;
}

.order-receipt-hero h1 {
  max-width: 660px;
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  letter-spacing: 0.02em;
  white-space: normal;
}

.order-receipt-hero-visual {
  position: relative;
  margin: 0;
}

.order-receipt-hero-visual::before {
  content: '';
  position: absolute;
  inset: -1.5rem -10vw 2.5rem 32%;
  z-index: -1;
  background: #1d1e1c;
}

.order-receipt-hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 51% center;
  filter: saturate(0.82) contrast(1.01);
}

.order-receipt-hero-visual figcaption {
  position: absolute;
  right: -1.5rem;
  bottom: -1.8rem;
  width: min(82%, 440px);
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.8;
}

.order-receipt-hero-visual figcaption span {
  display: block;
  margin-bottom: 0.2rem;
  color: #999;
  font-family: var(--font-en);
  letter-spacing: 0.16em;
}

.order-receipt-problem-band {
  display: grid;
  grid-template-columns: 0.7fr 2.3fr;
  gap: 2rem;
  align-items: center;
  margin-top: 5.5rem;
  padding: 1.5rem 2rem;
  box-shadow: none;
}

.order-receipt-problem-band > p {
  padding: 0;
  border: 0;
}

.order-receipt-problem-band .detail-problem-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.order-receipt-problem-band .detail-problem-list li {
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 0.8rem 1.25rem 0.8rem 2.4rem;
  border: 0;
  border-left: 1px solid var(--border);
  font-size: 0.88rem;
}

.order-receipt-problem-band .detail-problem-list li::before {
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}

.order-receipt-overview-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.3rem;
}

.order-receipt-overview-points span {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.order-receipt-section-lead {
  max-width: 680px;
  margin-top: 1.2rem;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 2;
}

.order-receipt-output {
  background: #181918;
  color: var(--white);
}

.order-receipt-output .detail-section-num {
  color: #3e403d;
}

.order-receipt-output .detail-section-en,
.order-receipt-output .order-receipt-section-lead {
  color: rgba(255, 255, 255, 0.55);
}

.order-receipt-output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.order-receipt-output-card {
  min-width: 0;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #202120;
}

.order-receipt-output-meta {
  margin-bottom: 1.4rem;
}

.order-receipt-output-meta span {
  display: block;
  margin-bottom: 0.35rem;
  color: #b7b8b3;
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
}

.order-receipt-output-meta h3 {
  font-family: var(--font-jp);
  font-size: 1.2rem;
  font-weight: 400;
}

.order-receipt-output-card > p {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
  line-height: 2;
}

.order-monitor-mock {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: linear-gradient(155deg, #252924, #151714 78%);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.26);
}

.order-monitor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #e7dfbd;
  font-family: var(--font-en);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.order-monitor-head .is-running {
  color: #89cda5;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.order-monitor-status {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 1rem;
  align-items: end;
  margin: 1.2rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #899f7f;
}

.order-monitor-status span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.order-monitor-status strong {
  grid-row: span 2;
  font-family: var(--font-en);
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1;
}

.order-monitor-status small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
}

.order-monitor-log {
  padding: 0 1.2rem 1rem;
}

.order-monitor-log p {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
}

.order-monitor-log time {
  color: rgba(255, 255, 255, 0.36);
  font-family: var(--font-en);
}

.order-monitor-log em {
  padding: 0.15rem 0.4rem;
  border: 1px solid rgba(205, 190, 133, 0.25);
  border-radius: 99px;
  color: #d2c28c;
  font-family: var(--font-en);
  font-size: 0.58rem;
  font-style: normal;
  letter-spacing: 0.08em;
}

.order-slip-stage {
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%) 0 0 / 18px 18px,
    #141513;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.order-slip {
  width: min(72%, 290px);
  margin-top: -4rem;
  padding: 1.6rem 1.4rem 2.3rem;
  background: #f6f3e9;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.35);
  color: #272823;
  font-family: 'Courier New', monospace;
  transform: rotate(-1.4deg);
}

.order-slip::after {
  content: '';
  position: absolute;
}

.order-slip-title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-align: center;
}

.order-slip-number {
  margin: 0.3rem 0 1rem;
  font-size: 0.66rem;
  text-align: center;
}

.order-slip dl div,
.order-slip p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.62rem;
  line-height: 1.7;
}

.order-slip dt {
  color: #6c6d68;
}

.order-slip dd {
  text-align: right;
}

.order-slip-rule {
  margin: 0.75rem 0;
  border-top: 1px dashed #77796f;
}

.order-slip p strong {
  font-size: inherit;
  font-weight: 700;
}

.order-slip ul {
  color: #3e403b;
  font-size: 0.62rem;
  line-height: 1.85;
}

.order-receipt-page .detail-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.order-receipt-page .detail-feature-card {
  min-height: 270px;
}

.order-receipt-page .detail-feature-card > span {
  letter-spacing: 0.1em;
}

.order-receipt-page .detail-feature-card p,
.order-receipt-page .detail-step p,
.order-receipt-page .detail-copy p,
.order-receipt-page .detail-note-inner p {
  font-size: 1rem;
}

.order-receipt-safety {
  background: var(--bg-soft);
}

.order-receipt-safety-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.34fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.order-receipt-safety .detail-section-heading {
  position: sticky;
  top: 110px;
}

.order-receipt-safety-list {
  border-top: 1px solid #cfd0ca;
}

.order-receipt-safety-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.4rem;
  padding: 2rem 0;
  border-bottom: 1px solid #cfd0ca;
}

.order-receipt-safety-list article > span {
  color: #969790;
  font-family: var(--font-en);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
}

.order-receipt-safety-list h3 {
  margin-bottom: 0.65rem;
  font-family: var(--font-jp);
  font-size: 1.08rem;
}

.order-receipt-safety-list p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.95;
}

.order-receipt-flexible {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.order-receipt-flexible > div > p:last-child {
  max-width: 700px;
  color: var(--text-light);
  line-height: 2;
}

.order-receipt-flexible ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(26, 26, 26, 0.28);
  border-left: 1px solid rgba(26, 26, 26, 0.28);
}

.order-receipt-flexible li {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 0.7rem;
  border-right: 1px solid rgba(26, 26, 26, 0.28);
  border-bottom: 1px solid rgba(26, 26, 26, 0.28);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.order-receipt-faq {
  padding-top: 2rem;
}

.order-receipt-faq-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 8vw, 7rem);
}

.order-receipt-faq-list {
  border-top: 1px solid var(--border);
}

.order-receipt-faq-list details {
  border-bottom: 1px solid var(--border);
}

.order-receipt-faq-list summary {
  position: relative;
  padding: 1.65rem 3rem 1.65rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-jp);
  font-size: 1rem;
  line-height: 1.7;
}

.order-receipt-faq-list summary::-webkit-details-marker {
  display: none;
}

.order-receipt-faq-list summary::after {
  content: '+';
  position: absolute;
  top: 1.45rem;
  right: 0.3rem;
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 300;
}

.order-receipt-faq-list details[open] summary::after {
  content: '−';
}

.order-receipt-faq-list details p {
  padding: 0 3rem 1.6rem 0;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 2;
}

.order-receipt-scope {
  padding: 0 0 5rem;
}

.order-receipt-scope p {
  padding: 1.25rem 1.5rem;
  border-left: 2px solid #96998f;
  background: var(--bg-soft);
  color: var(--text-light);
  font-size: 0.83rem;
  line-height: 1.9;
}

@media (max-width: 1020px) {
  .order-receipt-hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
    gap: 3rem;
  }

  .order-receipt-output-grid {
    grid-template-columns: 1fr;
  }

  .order-receipt-output-card {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 800px) {
  .order-receipt-hero {
    padding-top: 8.5rem;
  }

  .order-receipt-hero-grid,
  .order-receipt-safety-grid,
  .order-receipt-flexible,
  .order-receipt-faq-grid {
    grid-template-columns: 1fr;
  }

  .order-receipt-hero .detail-back {
    margin-bottom: 2.5rem;
  }

  .order-receipt-hero-visual::before {
    inset: -1rem -2rem 2rem 30%;
  }

  .order-receipt-problem-band {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .order-receipt-problem-band > p {
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
  }

  .order-receipt-safety .detail-section-heading {
    position: static;
  }

  .order-receipt-page .detail-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .order-receipt-hero {
    padding-bottom: 4rem;
  }

  .order-receipt-hero-grid {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .order-receipt-hero h1 {
    font-size: clamp(1.95rem, 8vw, 2.4rem);
  }

  .order-receipt-hero-visual img {
    aspect-ratio: 4 / 3.35;
  }

  .order-receipt-hero-visual figcaption {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 1rem);
    margin: -1.2rem 0 0 auto;
  }

  .order-receipt-problem-band {
    margin-top: 3rem;
    padding: 1.25rem;
  }

  .order-receipt-problem-band .detail-problem-list {
    grid-template-columns: 1fr;
  }

  .order-receipt-problem-band .detail-problem-list li {
    min-height: auto;
    padding: 0.9rem 0 0.9rem 1.5rem;
    border-left: 0;
    border-bottom: 1px solid var(--border);
  }

  .order-receipt-problem-band .detail-problem-list li:last-child {
    border-bottom: 0;
  }

  .order-receipt-problem-band .detail-problem-list li::before {
    left: 0.1rem;
  }

  .order-receipt-output-card {
    padding: 1rem;
  }

  .order-monitor-mock,
  .order-slip-stage {
    min-height: 330px;
  }

  .order-slip {
    width: min(82%, 270px);
  }

  .order-receipt-page .detail-feature-grid {
    grid-template-columns: 1fr;
  }

  .order-receipt-page .detail-feature-card {
    min-height: auto;
  }

  .order-receipt-flexible ul {
    grid-template-columns: 1fr 1fr;
  }

  .order-receipt-faq-grid {
    gap: 1rem;
  }
}

/* Service report system case study */
.service-report-page {
  font-size: 16px;
}

.service-report-hero {
  min-height: auto;
  display: block;
  padding-bottom: 5rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(221, 229, 216, 0.7) 0 10%, transparent 10% 100%),
    radial-gradient(circle at 8% 16%, rgba(221, 229, 232, 0.85), transparent 31%);
}

.service-report-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.service-report-hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 1.5rem;
}

.service-report-hero-copy::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 9rem;
  height: 1px;
  top: 12rem;
  left: -6rem;
  background: var(--text);
  display: none;
}

.service-report-hero .detail-back {
  margin-bottom: 4rem;
}

.service-report-hero h1 {
  max-width: 650px;
  font-size: clamp(2.5rem, 3.6vw, 3.5rem);
}

.service-report-hero-visual {
  position: relative;
  margin: 0;
}

.service-report-hero-visual::before {
  content: '';
  position: absolute;
  inset: -1.5rem -10vw 2.5rem 34%;
  z-index: -1;
  background: #1b1c1a;
}

.service-report-hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 53% center;
  filter: saturate(0.82) contrast(1.02);
}

.service-report-hero-visual figcaption {
  position: absolute;
  right: -1.5rem;
  bottom: -1.8rem;
  width: min(82%, 440px);
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.8;
}

.service-report-hero-visual figcaption span {
  display: block;
  margin-bottom: 0.2rem;
  color: #999;
  font-family: var(--font-en);
  letter-spacing: 0.16em;
}

.service-report-problem-band {
  display: grid;
  grid-template-columns: 0.7fr 2.3fr;
  gap: 2rem;
  align-items: center;
  margin-top: 5.5rem;
  padding: 1.5rem 2rem;
  box-shadow: none;
}

.service-report-problem-band > p {
  padding: 0;
  border: 0;
}

.service-report-problem-band .detail-problem-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-report-problem-band .detail-problem-list li {
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 0.8rem 1.25rem 0.8rem 2.4rem;
  border: 0;
  border-left: 1px solid var(--border);
  font-size: 0.88rem;
}

.service-report-problem-band .detail-problem-list li::before {
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}

.service-report-overview-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.3rem;
}

.service-report-overview-points span {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.service-report-section-lead {
  max-width: 680px;
  margin-top: 1.2rem;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 2;
}

.service-report-screens {
  background: #181918;
  color: var(--white);
}

.service-report-screens .detail-section-num {
  color: #3e403d;
}

.service-report-screens .detail-section-en,
.service-report-screens .service-report-section-lead {
  color: rgba(255, 255, 255, 0.55);
}

.service-report-screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.service-report-screen-card {
  min-width: 0;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #202120;
}

.service-report-screen-meta {
  margin-bottom: 1.4rem;
}

.service-report-screen-meta span {
  display: block;
  margin-bottom: 0.35rem;
  color: #b7b8b3;
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.service-report-screen-meta h3 {
  font-family: var(--font-jp);
  font-size: 1.2rem;
  font-weight: 400;
}

.service-report-screen-card > p {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
  line-height: 2;
}

.report-form-mock,
.report-admin-mock {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: #f5f4ef;
  color: #242622;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.26);
}

.report-mock-head,
.report-admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  background: #27312b;
  color: #f4f0e6;
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}

.report-mock-head span,
.report-admin-top span {
  color: #c4d6c8;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.report-mock-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #d8d9d2;
  background: #ebece6;
}

.report-mock-progress span {
  padding: 0.8rem 0.45rem;
  color: #8a8c86;
  font-size: 0.64rem;
  text-align: center;
}

.report-mock-progress .is-current {
  box-shadow: inset 0 -3px #738a79;
  color: #27312b;
  font-weight: 500;
}

.report-mock-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 1rem;
}

.report-mock-fields p {
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid #dedfd8;
  background: #fff;
}

.report-mock-fields .is-wide {
  grid-column: 1 / -1;
}

.report-mock-fields small,
.report-mock-fields strong {
  display: block;
}

.report-mock-fields small {
  margin-bottom: 0.3rem;
  color: #969890;
  font-size: 0.6rem;
}

.report-mock-fields strong {
  overflow: hidden;
  font-size: 0.74rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-mock-photos {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 0.6rem;
  padding: 0 1rem 1rem;
}

.report-mock-photos div,
.report-mock-photos button {
  min-height: 92px;
  border: 0;
  border-radius: 3px;
}

.report-mock-photos div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.65rem;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(28, 32, 29, 0.48)),
    linear-gradient(135deg, #9aa89d, #47564c);
  color: #fff;
}

.report-mock-photos span {
  font-family: var(--font-en);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.report-mock-photos small {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.58rem;
}

.report-mock-photos button {
  background: transparent;
  border: 1px dashed #bfc2b8;
  color: #747870;
  font-family: var(--font-sans);
  font-size: 0.66rem;
}

.report-mock-foot,
.report-admin-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid #dedfd8;
  color: #85877f;
  font-size: 0.62rem;
}

.report-mock-foot button,
.report-admin-foot button {
  padding: 0.55rem 0.9rem;
  border: 0;
  background: #52695b;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.64rem;
}

.report-admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 1rem;
}

.report-admin-stats div {
  padding: 0.7rem;
  border: 1px solid #dedfd8;
  background: #fff;
}

.report-admin-stats .is-signed {
  background: #eef2e9;
  border-color: #bdcbbd;
}

.report-admin-stats small,
.report-admin-stats strong {
  display: block;
}

.report-admin-stats small {
  color: #92958c;
  font-size: 0.57rem;
}

.report-admin-stats strong {
  margin-top: 0.3rem;
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 400;
}

.report-admin-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 1rem 0.8rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d7d8d1;
  background: #fff;
  color: #a0a29b;
  font-size: 0.62rem;
}

.report-admin-search em {
  padding: 0.25rem 0.55rem;
  background: #e6ebe4;
  color: #526059;
  font-size: 0.58rem;
  font-style: normal;
}

.report-admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 0.7fr 0.7fr;
  gap: 0.6rem;
  align-items: center;
  min-height: 60px;
  margin: 0 1rem;
  border-bottom: 1px solid #dcddd6;
  font-size: 0.64rem;
}

.report-admin-row strong {
  min-width: 0;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.report-admin-row strong small {
  display: block;
  margin-top: 0.2rem;
  overflow: hidden;
  color: #898c84;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-admin-row em {
  justify-self: start;
  padding: 0.28rem 0.5rem;
  border-radius: 99px;
  background: #e4e9e2;
  color: #536158;
  font-size: 0.56rem;
  font-style: normal;
}

.report-admin-row .status-signed {
  background: #f1ead7;
  color: #75633d;
}

.report-admin-labels {
  min-height: 28px;
  color: #9a9c95;
  font-size: 0.56rem;
}

.report-admin-foot {
  margin-top: 0.85rem;
}

.service-report-page .detail-feature-card {
  min-height: 255px;
}

.service-report-page .detail-feature-card > span {
  letter-spacing: 0.1em;
}

.service-report-page .detail-feature-card p,
.service-report-page .detail-step p,
.service-report-page .detail-copy p,
.service-report-page .detail-note-inner p {
  font-size: 1rem;
}

.service-report-usecases {
  background: #fff;
}

.service-report-usecases-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.42fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.service-report-usecases .detail-section-heading {
  position: sticky;
  top: 110px;
}

.service-report-usecase-list {
  display: grid;
  gap: 1.25rem;
}

.service-report-usecase-list article {
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.service-report-usecase-list article > span {
  display: block;
  margin-bottom: 0.8rem;
  color: #91948b;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.service-report-usecase-list h3 {
  margin-bottom: 1rem;
  font-family: var(--font-jp);
  font-size: 1.3rem;
  font-weight: 400;
}

.service-report-usecase-list p {
  color: var(--text-light);
  font-size: 0.96rem;
  line-height: 2;
}

.service-report-usecase-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
  border-top: 1px solid #d4d6cf;
  border-left: 1px solid #d4d6cf;
}

.service-report-usecase-list li {
  min-height: 50px;
  display: grid;
  place-items: center;
  padding: 0.6rem;
  border-right: 1px solid #d4d6cf;
  border-bottom: 1px solid #d4d6cf;
  font-size: 0.72rem;
  text-align: center;
}

.service-report-assurance {
  background: var(--bg-soft);
}

.service-report-assurance-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.34fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.service-report-assurance .detail-section-heading {
  position: sticky;
  top: 110px;
}

.service-report-assurance-list {
  border-top: 1px solid #cfd0ca;
}

.service-report-assurance-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.4rem;
  padding: 2rem 0;
  border-bottom: 1px solid #cfd0ca;
}

.service-report-assurance-list article > span {
  color: #969790;
  font-family: var(--font-en);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
}

.service-report-assurance-list h3 {
  margin-bottom: 0.65rem;
  font-family: var(--font-jp);
  font-size: 1.08rem;
}

.service-report-assurance-list p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.95;
}

.service-report-flexible {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.service-report-flexible > div > p:last-child {
  max-width: 700px;
  color: var(--text-light);
  line-height: 2;
}

.service-report-flexible ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(26, 26, 26, 0.28);
  border-left: 1px solid rgba(26, 26, 26, 0.28);
}

.service-report-flexible li {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 0.7rem;
  border-right: 1px solid rgba(26, 26, 26, 0.28);
  border-bottom: 1px solid rgba(26, 26, 26, 0.28);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.service-report-faq {
  padding-top: 2rem;
}

.service-report-faq-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 8vw, 7rem);
}

.service-report-faq-list {
  border-top: 1px solid var(--border);
}

.service-report-faq-list details {
  border-bottom: 1px solid var(--border);
}

.service-report-faq-list summary {
  position: relative;
  padding: 1.65rem 3rem 1.65rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-jp);
  font-size: 1rem;
  line-height: 1.7;
}

.service-report-faq-list summary::-webkit-details-marker {
  display: none;
}

.service-report-faq-list summary::after {
  content: '+';
  position: absolute;
  top: 1.45rem;
  right: 0.3rem;
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 300;
}

.service-report-faq-list details[open] summary::after {
  content: '−';
}

.service-report-faq-list details p {
  padding: 0 3rem 1.6rem 0;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 2;
}

.service-report-scope {
  padding: 0 0 5rem;
}

.service-report-scope p {
  padding: 1.25rem 1.5rem;
  border-left: 2px solid #96998f;
  background: var(--bg-soft);
  color: var(--text-light);
  font-size: 0.83rem;
  line-height: 1.9;
}

.service-report-page .detail-pager {
  position: static;
  inset: auto;
}

@media (max-width: 1020px) {
  .service-report-hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
    gap: 3rem;
  }

  .service-report-screen-grid {
    grid-template-columns: 1fr;
  }

  .service-report-screen-card {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 800px) {
  .service-report-hero {
    padding-top: 8.5rem;
  }

  .service-report-hero-grid,
  .service-report-usecases-grid,
  .service-report-assurance-grid,
  .service-report-flexible,
  .service-report-faq-grid {
    grid-template-columns: 1fr;
  }

  .service-report-hero .detail-back {
    margin-bottom: 2.5rem;
  }

  .service-report-hero-visual::before {
    inset: -1rem -2rem 2rem 30%;
  }

  .service-report-problem-band {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .service-report-problem-band > p {
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
  }

  .service-report-usecases .detail-section-heading,
  .service-report-assurance .detail-section-heading {
    position: static;
  }
}

@media (max-width: 600px) {
  .service-report-hero {
    padding-bottom: 4rem;
  }

  .service-report-hero-grid {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .service-report-hero h1 {
    font-size: clamp(1.95rem, 8vw, 2.4rem);
  }

  .service-report-hero-visual img {
    aspect-ratio: 4 / 3.35;
  }

  .service-report-hero-visual figcaption {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 1rem);
    margin: -1.2rem 0 0 auto;
  }

  .service-report-problem-band {
    margin-top: 3rem;
    padding: 1.25rem;
  }

  .service-report-problem-band .detail-problem-list {
    grid-template-columns: 1fr;
  }

  .service-report-problem-band .detail-problem-list li {
    min-height: auto;
    padding: 0.9rem 0 0.9rem 1.5rem;
    border-left: 0;
    border-bottom: 1px solid var(--border);
  }

  .service-report-problem-band .detail-problem-list li:last-child {
    border-bottom: 0;
  }

  .service-report-problem-band .detail-problem-list li::before {
    left: 0.1rem;
  }

  .service-report-screen-card {
    padding: 1rem;
  }

  .report-form-mock,
  .report-admin-mock {
    min-height: 390px;
  }

  .report-mock-progress span {
    font-size: 0.56rem;
  }

  .report-mock-fields {
    grid-template-columns: 1fr;
  }

  .report-mock-fields .is-wide {
    grid-column: auto;
  }

  .report-mock-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-mock-photos button {
    grid-column: 1 / -1;
    min-height: 52px;
  }

  .report-admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-admin-row {
    grid-template-columns: minmax(0, 1.25fr) 0.6fr 0.7fr;
  }

  .service-report-page .detail-feature-card {
    min-height: auto;
  }

  .service-report-usecase-list ul,
  .service-report-flexible ul {
    grid-template-columns: 1fr 1fr;
  }

  .service-report-faq-grid {
    gap: 1rem;
  }
}

/* Keep the data-erasure hero treatment after the shared responsive rules. */
@media (max-width: 800px) {
  .detail-hero.data-erasure-hero {
    min-height: auto;
    padding: 9rem 0 4rem;
    background:
      radial-gradient(circle at 5% 10%, rgba(221, 229, 232, 0.78), transparent 34%),
      linear-gradient(145deg, var(--bg) 0 76%, rgba(221, 229, 216, 0.68) 76% 100%);
  }
}

@media (max-width: 600px) {
  .detail-hero.data-erasure-hero {
    padding-top: 8.5rem;
  }
}

/* Page summary block ("このページの要点") — shared by service and system pages. */
.detail-facts {
  background: var(--bg-soft);
  padding: 5rem 0;
}

.detail-facts-title {
  max-width: 900px;
  margin: 0 auto 2.2rem;
  font-family: var(--font-jp);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.detail-facts-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.detail-facts-list > div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}

.detail-facts-list dt {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
}

.detail-facts-list dd {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.95;
  color: var(--text-light);
}

.detail-facts-list dd strong {
  font-weight: 600;
  color: var(--text);
}

.detail-facts-list dd a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

@media screen and (max-width: 800px) {
  .detail-facts {
    padding: 3.5rem 0;
  }
  .detail-facts-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }
  .detail-facts-list dd {
    font-size: 0.9rem;
    line-height: 1.9;
  }
}

/* Digital signage system */
.detail-hero.signage-hero {
  min-height: auto;
  padding-bottom: 4.5rem;
  overflow: hidden;
}

.signage-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.signage-hero h1 {
  font-size: clamp(1.75rem, 2.9vw, 2.9rem);
  line-height: 1.55;
}

.signage-hero-visual {
  position: relative;
  margin: 0;
}

.signage-hero-visual::before {
  content: '';
  position: absolute;
  inset: -1.2rem -1.4rem 2rem 28%;
  background: var(--sage);
}

.signage-hero-visual img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  object-position: 46% center;
}

.signage-hero-visual figcaption {
  position: relative;
  width: max-content;
  max-width: calc(100% - 1rem);
  margin: -1.15rem -0.5rem 0 auto;
  padding: 0.85rem 1.2rem;
  background: var(--bg-dark);
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.signage-problems-wrap { margin-top: 3.5rem; }
.signage-problems { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 2rem; align-items: center; }
.signage-problems > p { padding: 0; border: 0; }
.signage-problems .detail-problem-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.signage-problems .detail-problem-list li { padding: 0 0 0 1rem; border: 0; font-size: 0.84rem; }
.signage-problems .detail-problem-list li::before { top: 0.7rem; }

.signage-scenes { background: var(--white); }
.signage-scenes-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.signage-scenes-visual { margin: 0; }
.signage-scenes-visual img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 58% center; }
.signage-scenes-visual figcaption { margin-top: 0.65rem; color: var(--text-light); font-size: 0.73rem; text-align: right; }
.signage-scenes-copy h2 { margin: 0.6rem 0 1.7rem; font-family: var(--font-jp); font-size: clamp(1.55rem, 2.6vw, 2.1rem); font-weight: 400; line-height: 1.65; }
.signage-scenes-copy > p:not(.detail-section-en) { margin-bottom: 1.2rem; color: var(--text-light); font-size: 0.94rem; line-height: 2; }
.signage-scenes-copy > p.signage-scenes-note { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.76rem; }

@media screen and (max-width: 800px) {
  .signage-hero-grid,
  .signage-scenes-grid { grid-template-columns: 1fr; }
  .signage-hero-visual img { aspect-ratio: 16 / 10; }
  .signage-problems { grid-template-columns: 1fr; gap: 1.2rem; }
  .signage-problems .detail-problem-list { gap: 1rem; }
}

@media screen and (max-width: 600px) {
  .detail-hero.signage-hero { padding-bottom: 3rem; }
  .signage-hero h1 { font-size: clamp(1.65rem, 7vw, 2.15rem); }
  .signage-hero-visual::before { inset: -0.75rem -1rem 1.4rem 30%; }
  .signage-hero-visual figcaption { margin-right: 0; }
  .signage-problems-wrap { margin-top: 2rem; }
  .signage-problems { padding: 1.5rem; }
  .signage-problems .detail-problem-list { grid-template-columns: 1fr; }
  .signage-problems .detail-problem-list li { padding: 0.6rem 0 0.6rem 1rem; border-bottom: 1px solid var(--border); }
  .signage-problems .detail-problem-list li:last-child { border-bottom: 0; }
  .signage-problems .detail-problem-list li::before { top: 1.3rem; }
  .signage-scenes-visual img { aspect-ratio: 4 / 3; }
  .signage-scenes-copy h2 { font-size: clamp(1.35rem, 5.7vw, 1.6rem); }
}

/* Emergency chart system */
.detail-hero.emergency-hero {
  min-height: auto;
  padding-bottom: 4.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 6% 8%, rgba(221, 229, 232, 0.85), transparent 33%),
    linear-gradient(115deg, var(--bg) 0 71%, rgba(221, 229, 216, 0.66) 71% 100%);
}

.emergency-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.emergency-hero h1 {
  font-size: clamp(1.8rem, 2.7vw, 2.7rem);
  line-height: 1.5;
}

.emergency-hero-visual { position: relative; margin: 0; }
.emergency-hero-visual::before {
  content: '';
  position: absolute;
  inset: -1.25rem -1.25rem 2rem 30%;
  background: var(--sage);
}
.emergency-hero-visual a { position: relative; display: block; }
.emergency-hero-visual a:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }
.emergency-hero-visual img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top left;
  border: 1px solid var(--border);
  box-shadow: 0 24px 55px rgba(20, 35, 43, 0.12);
}
.emergency-hero-visual figcaption {
  position: relative;
  width: max-content;
  max-width: calc(100% - 1rem);
  margin: -1.1rem -0.5rem 0 auto;
  padding: 0.8rem 1.15rem;
  background: var(--bg-dark);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.emergency-hero-visual figcaption span { margin-left: 1.25rem; white-space: nowrap; }

.emergency-problems-wrap { margin-top: 3.5rem; }
.emergency-problems {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}
.emergency-problems > p { padding: 0; border: 0; }
.emergency-problems .detail-problem-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.emergency-problems .detail-problem-list li { padding: 0 0 0 1rem; border: 0; font-size: 0.84rem; }
.emergency-problems .detail-problem-list li::before { top: 0.7rem; }

.emergency-screens { background: var(--white); }
.emergency-screens-intro { max-width: 790px; margin-bottom: 3.5rem; }
.emergency-screens-intro h2 {
  margin: 0.65rem 0 1.3rem;
  font-family: var(--font-jp);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.65;
}
.emergency-screens-intro > p:last-child,
.emergency-screen-copy p,
.emergency-screens-action p { color: var(--text-light); font-size: 0.94rem; line-height: 2; }
.emergency-screen-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: 0 0 4rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}
.emergency-screen-row-reverse .emergency-screen-visual { order: 2; }
.emergency-screen-visual { min-width: 0; margin: 0; }
.emergency-screen-visual a {
  display: block;
  overflow: hidden;
  border: 1px solid #d4e1e9;
  box-shadow: 0 16px 45px rgba(20, 35, 43, 0.09);
}
.emergency-screen-visual a:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }
.emergency-screen-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; }
.emergency-screen-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  color: var(--text-light);
  font-size: 0.76rem;
}
.emergency-screen-visual figcaption span { white-space: nowrap; }
.emergency-screen-index {
  color: var(--text-light);
  font-family: var(--font-en);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.emergency-screen-copy h3 {
  margin: 0.85rem 0 1.5rem;
  font-family: var(--font-jp);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 400;
  line-height: 1.7;
}
.emergency-screen-copy p + p { margin-top: 1rem; }
.emergency-screens-action { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.emergency-screens-action p { max-width: 550px; }
.emergency-screens-action .btn-primary { flex: 0 0 auto; }

@media screen and (max-width: 800px) {
  .emergency-hero-grid,
  .emergency-screen-row { grid-template-columns: 1fr; }
  .emergency-hero-visual { max-width: 680px; }
  .emergency-problems { grid-template-columns: 1fr; gap: 1.2rem; }
  .emergency-problems .detail-problem-list { gap: 1rem; }
  .emergency-screen-row-reverse .emergency-screen-visual { order: 0; }
}

@media screen and (max-width: 600px) {
  .detail-hero.emergency-hero { padding-bottom: 3rem; }
  .emergency-hero h1 { font-size: clamp(1.65rem, 7vw, 2.15rem); }
  .emergency-hero-visual::before { inset: -0.75rem -1rem 1.4rem 30%; }
  .emergency-hero-visual figcaption { margin-right: 0; }
  .emergency-problems-wrap { margin-top: 2rem; }
  .emergency-problems { padding: 1.5rem; }
  .emergency-problems .detail-problem-list { grid-template-columns: 1fr; }
  .emergency-problems .detail-problem-list li { padding: 0.6rem 0 0.6rem 1rem; border-bottom: 1px solid var(--border); }
  .emergency-problems .detail-problem-list li:last-child { border-bottom: 0; }
  .emergency-problems .detail-problem-list li::before { top: 1.3rem; }
  .emergency-screen-row { gap: 1.75rem; padding-bottom: 3rem; margin-bottom: 3rem; }
  .emergency-screen-visual img { aspect-ratio: 4 / 3; }
  .emergency-screens-action { align-items: flex-start; flex-direction: column; }
}
/* Local AI introduction service */
.local-ai-hero {
  min-height: auto;
  padding: 9.5rem 0 4.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 82% 18%, rgba(221, 229, 216, .72), transparent 32%), linear-gradient(130deg, #fafaf8 0%, #f3f5ef 100%);
}
.local-ai-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
}
.local-ai-hero-copy { position: relative; z-index: 1; }
.local-ai-hero h1 { font-size: clamp(2.6rem, 4.5vw, 4.6rem); }
.local-ai-hero .detail-lead { max-width: 670px; }
.local-ai-hero-note { margin-top: 3.8rem; color: var(--text-light); font-size: .8rem; line-height: 1.8; }
.local-ai-visual {
  border: 1px solid #cbd5ca;
  background: #16221c;
  color: #f7f7f1;
  box-shadow: 22px 24px 0 rgba(188, 207, 185, .55), 0 30px 70px rgba(28, 40, 30, .18);
  transform: rotate(1deg);
}
.local-ai-visual-top, .local-ai-visual-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.3rem;
  font-family: var(--font-en);
  font-size: .75rem;
  letter-spacing: .16em;
}
.local-ai-visual-top { border-bottom: 1px solid rgba(255, 255, 255, .17); }
.local-ai-visual-dots { color: #acc5a7; font-size: .54rem; letter-spacing: .4em; }
.local-ai-visual-body { padding: clamp(1.5rem, 4vw, 3.3rem); }
.local-ai-visual-caption { max-width: 320px; margin-bottom: 2.4rem; font-family: var(--font-en); font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.08; }
.local-ai-visual-path { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.local-ai-visual-path span { min-height: 90px; padding: .85rem; border: 1px solid rgba(255, 255, 255, .26); color: #b8cbb8; font-family: var(--font-en); font-size: .95rem; }
.local-ai-visual-path strong { display: block; margin-top: .7rem; color: #f7f7f1; font-family: var(--font-sans); font-size: .78rem; font-weight: 400; }
.local-ai-visual-result { display: flex; flex-direction: column; gap: .55rem; margin-top: .6rem; padding: 1.5rem; background: #c9dcc7; color: #16221c; }
.local-ai-visual-result span { font-family: var(--font-en); font-size: .8rem; letter-spacing: .15em; }
.local-ai-visual-result strong { font-family: var(--font-jp); font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 400; }
.local-ai-visual-result small { font-size: .78rem; }
.local-ai-visual-bottom { border-top: 1px solid rgba(255, 255, 255, .17); color: #b8cbb8; }
.local-ai-scenarios { background: var(--bg-soft); }
@media screen and (max-width: 800px) {
  .local-ai-hero { padding-top: 8.5rem; }
  .local-ai-hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .local-ai-visual { width: min(100% - 22px, 600px); margin: 0 auto 0 0; }
}
@media screen and (max-width: 600px) {
  .local-ai-hero { padding-bottom: 3.5rem; }
  .local-ai-hero h1 { font-size: clamp(2.3rem, 9vw, 3.2rem); }
  .local-ai-hero-note { margin-top: 3rem; }
  .local-ai-visual-path { grid-template-columns: 1fr; }
  .local-ai-visual-path span { min-height: auto; display: flex; justify-content: space-between; align-items: center; }
  .local-ai-visual-path strong { margin: 0; }
  .local-ai-visual-caption { margin-bottom: 1.6rem; }
}

/* ===== Japan Delivery Date（Wixアプリ紹介） ===== */
.jdd-hero-grid { align-items: center; }
.detail-hero h1 .jdd-h1-sub { display: block; margin-top: 0.8rem; font-size: clamp(1.05rem, 1.8vw, 1.45rem); letter-spacing: 0.02em; line-height: 1.7; color: var(--text-light); }
.jdd-hero-visual { margin: 0; }
.jdd-hero-visual img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); }
.jdd-gallery { padding: clamp(4rem, 8vw, 7rem) 0; }
.jdd-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.jdd-gallery-grid figure { margin: 0; }
.jdd-gallery-grid img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); }
.jdd-gallery-grid figcaption { margin-top: 0.8rem; color: var(--text-light); font-size: 0.9rem; }
.jdd-english { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.jdd-english-inner { padding: clamp(2rem, 5vw, 4rem); background: var(--mist); }
.jdd-english-inner h2 { margin: 0.4rem 0 1.2rem; font-family: var(--font-en); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 500; line-height: 1.3; }
.jdd-english-inner p, .jdd-english-inner li { color: var(--text-light); font-size: 0.95rem; line-height: 1.9; }
.jdd-english-inner ul { margin: 1rem 0 1.2rem 1.2rem; list-style: disc; }
.jdd-english-inner a { color: var(--text); text-decoration: underline; text-underline-offset: 0.25em; }
@media screen and (max-width: 1020px) {
  .jdd-hero-visual { max-width: 640px; }
}
@media screen and (max-width: 800px) {
  .jdd-gallery-grid { grid-template-columns: 1fr; }
}
