:root {
  --green: #28511c;
  --green-2: #238447;
  --green-soft: #eef7ed;
  --yellow: #f7d85e;
  --ink: #1f2a31;
  --muted: #64706f;
  --line: #dfe7e3;
  --paper: #ffffff;
  --bg: #f4f9f2;
  --shadow: 0 18px 45px rgba(24, 58, 35, .12);
  --radius: 8px;
  font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(39, 81, 28, .12);
  backdrop-filter: blur(12px);
}
.language-bar {
  min-height: 44px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 8px clamp(18px, 5vw, 72px);
  background: var(--green);
}
.lang {
  min-width: 96px;
  min-height: 32px;
  padding: 6px 18px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.lang.is-active { background: var(--yellow); color: #172211; border-color: var(--yellow); }
.nav-shell {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img { width: 140px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 0; font-weight: 700; }
.site-nav a {
  min-height: 50px;
  display: grid;
  place-items: center;
  padding: 0 22px;
  border-left: 1px solid var(--line);
  color: #202825;
}
.site-nav a:hover { color: var(--green-2); }
.site-nav .nav-contact {
  margin-left: 18px;
  min-height: 50px;
  border-left: 0;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
}
.menu-button { display: none; }

.hero-section {
  padding: 24px 0 34px;
  background:
    linear-gradient(90deg, rgba(229, 242, 224, .92), rgba(229, 242, 224, .55)),
    var(--bg);
}
.hero-panel {
  position: relative;
  width: min(1480px, calc(100% - 48px));
  min-height: min(660px, calc(100vh - 126px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(39, 81, 28, .12);
  border-radius: 8px;
  background-image:
    linear-gradient(90deg,
      #fff 0%,
      rgba(255,255,255,.98) 31%,
      rgba(255,255,255,.86) 43%,
      rgba(255,255,255,.44) 56%,
      rgba(255,255,255,.04) 72%),
    url("../images/hero-progress.jpg");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 28%, rgba(255,255,255,.82), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.0));
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(620px, 49%);
  padding: clamp(38px, 5vw, 66px) 0 34px clamp(42px, 5vw, 76px);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--green-2);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(2.65rem, 4.15vw, 4.35rem);
  line-height: 1.16;
  letter-spacing: 0;
  font-weight: 900;
  color: #1d2930;
}
.hero-copy h1 span { color: var(--green-2); }
.hero-lead,
.hero-text {
  margin: 0 0 14px;
  max-width: 680px;
  color: #21303a;
  font-weight: 700;
}
.hero-lead { white-space: nowrap; }
.hero-actions { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.hero-actions .button { width: 190px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 6px;
  border: 1px solid var(--green);
  font-weight: 800;
  white-space: nowrap;
}
.button.primary { background: var(--green); color: #fff; box-shadow: 0 14px 26px rgba(39,81,28,.16); }
.button.secondary,
.button.outline { background: #fff; color: var(--green); }
.button:hover { transform: translateY(-1px); }
.hero-stats {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(39,81,28,.14);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 660px;
}
.stat-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  align-items: center;
  padding-right: 18px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.stat-item:last-child { border-right: 0; }
.stat-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--green-soft);
  color: var(--green-2);
  font-weight: 900;
  font-size: .9rem;
}
.stat-item strong,
.stat-item small { white-space: nowrap; }
.stat-item strong { display: block; font-size: .9rem; line-height: 1.35; }
.stat-item small { color: var(--muted); font-weight: 700; line-height: 1.4; }

.section {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0;
  scroll-margin-top: 150px;
}
.section-head { margin-bottom: 44px; }
.section-head.centered { text-align: center; max-width: 860px; margin-left: auto; margin-right: auto; }
.section-head.split { display: flex; justify-content: space-between; gap: 28px; align-items: end; }
.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 1.2;
  letter-spacing: 0;
}
.section-head p { margin: 0; color: var(--muted); font-weight: 700; }

.reference-visual {
  overflow-x: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.reference-visual img {
  width: 100%;
  min-width: 1080px;
  height: auto;
}
.reference-link {
  display: block;
}
.reference-visual-red {
  border-color: #f0c6b7;
}
.reference-visual-red img {
  width: min(100%, 1024px);
  min-width: 720px;
  margin: 0 auto;
}

.diagnosis-section {
  padding-top: 58px;
}
.diagnosis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .62fr);
  gap: 30px;
  align-items: stretch;
  padding: 42px;
  border: 1px solid rgba(35, 132, 71, .22);
  border-radius: var(--radius);
  background:
    linear-gradient(110deg, rgba(255,255,255,.96), rgba(238,247,237,.82)),
    radial-gradient(circle at 92% 18%, rgba(247,216,94,.34), transparent 24%);
  box-shadow: var(--shadow);
}
.diagnosis-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 3.05rem);
  line-height: 1.18;
}
.diagnosis-lead {
  max-width: 840px;
  margin: 0 0 24px;
  color: var(--muted);
  font-weight: 800;
}
.diagnosis-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}
.diagnosis-points span {
  padding: 8px 14px;
  border: 1px solid rgba(35, 132, 71, .28);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: .9rem;
  font-weight: 900;
}
.diagnosis-card {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.diagnosis-card strong {
  color: var(--green);
  font-size: 1.25rem;
}
.diagnosis-card ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-weight: 800;
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.service-pillar {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 36px rgba(21, 43, 29, .07);
}
.service-pillar:nth-child(1) { border-color: rgba(35, 132, 71, .45); }
.service-pillar:nth-child(2) { border-color: rgba(47, 134, 196, .45); }
.pillar-side-image {
  width: 100%;
  height: 260px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.pillar-image {
  width: 100%;
  height: 190px;
  margin: -18px 0 24px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.pillar-label {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 7px;
  background: var(--green-soft);
  color: var(--green-2);
  font-weight: 900;
}
.service-pillar h3 { margin: 24px 0 12px; font-size: 1.55rem; }
.service-pillar p { color: var(--muted); font-weight: 600; }
.pillar-tags {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.pillar-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  width: fit-content;
  padding: 8px 18px;
  border: 1px solid rgba(35, 132, 71, .45);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: .9rem;
  font-weight: 900;
}
.pillar-tags.blue span {
  border-color: rgba(47, 134, 196, .45);
  background: #e9f3fb;
  color: #236fa4;
}

.service-card-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.service-card-grid article {
  min-height: 178px;
  padding: 22px;
  border: 1px solid rgba(35,132,71,.35);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 26px rgba(20, 51, 31, .06);
}
.service-card-grid article:nth-child(3),
.service-card-grid article:nth-child(4),
.service-card-grid article:nth-child(7),
.service-card-grid article:nth-child(8) {
  border-color: rgba(52, 142, 198, .42);
}
.service-card-grid span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-2);
  font-weight: 900;
  font-size: .86rem;
}
.service-card-grid article:nth-child(3) span,
.service-card-grid article:nth-child(4) span,
.service-card-grid article:nth-child(7) span,
.service-card-grid article:nth-child(8) span {
  background: #e9f3fb;
  color: #2f86c4;
}
.service-card-grid h3 {
  margin: 16px 0 10px;
  font-size: 1rem;
}
.service-card-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.why-grid article {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 0;
  text-align: left;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(20, 51, 31, .07);
}
.why-image {
  width: calc(100% + 48px);
  height: 138px;
  margin: auto -24px 0;
  border-radius: 0;
  object-fit: cover;
}
.why-icon {
  width: 70px;
  height: 70px;
  margin: 4px 0 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-2);
  font-weight: 900;
  font-size: 1.25rem;
}
.why-icon,
.flow-icon,
.flow-contact-icon {
  position: relative;
}
.why-icon::before,
.why-icon::after,
.flow-icon::before,
.flow-icon::after,
.flow-contact-icon::before,
.flow-contact-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}
.icon-globe::before {
  inset: 17px;
  border: 3px solid var(--green-2);
  border-radius: 50%;
}
.icon-globe::after {
  left: 32px;
  top: 16px;
  width: 6px;
  height: 38px;
  border-left: 2px solid var(--green-2);
  border-right: 2px solid var(--green-2);
}
.icon-support::before {
  left: 18px;
  top: 22px;
  width: 34px;
  height: 22px;
  border: 3px solid var(--green-2);
  border-radius: 10px;
}
.icon-support::after {
  right: 15px;
  top: 15px;
  width: 22px;
  height: 18px;
  border: 3px solid var(--green-2);
  border-radius: 8px;
  background: var(--green-soft);
}
.icon-device::before {
  left: 17px;
  top: 19px;
  width: 30px;
  height: 24px;
  border: 3px solid var(--green-2);
  border-radius: 3px;
}
.icon-device::after {
  right: 15px;
  bottom: 18px;
  width: 17px;
  height: 30px;
  border: 3px solid var(--green-2);
  border-radius: 4px;
  background: var(--green-soft);
}
.icon-language::before {
  left: 16px;
  top: 19px;
  width: 27px;
  height: 24px;
  border: 3px solid var(--green-2);
  border-radius: 50% 50% 50% 8px;
}
.icon-language::after {
  right: 16px;
  bottom: 18px;
  width: 25px;
  height: 22px;
  border: 3px solid var(--green-2);
  border-radius: 50% 50% 8px 50%;
}
.why-number {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-2);
  font-size: 1.25rem;
  font-weight: 900;
}
.why-grid h3 {
  margin: 0 0 14px;
  color: var(--green-2);
  font-size: 1.16rem;
  line-height: 1.5;
  white-space: nowrap;
}
.why-grid p { margin: 0; color: var(--muted); font-weight: 700; }
.why-grid ul {
  margin: 22px 0 24px;
  padding: 18px 0 0;
  border-top: 2px solid rgba(35, 132, 71, .28);
  display: grid;
  gap: 8px;
  list-style: none;
}
.why-grid li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 800;
}
.why-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .8em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-2);
}
.support-scope {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(90deg, #eef7ed, #fbfdfb);
  overflow: hidden;
}
.support-scope > * {
  padding: 24px;
  border-right: 1px solid var(--line);
}
.support-scope > *:last-child { border-right: 0; }
.support-scope strong {
  display: flex;
  align-items: center;
  color: var(--green);
  font-size: 1.1rem;
}
.support-scope span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-weight: 900;
}
.support-scope p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}
.why-tags {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 51, 31, .06);
}
.why-tags span {
  padding: 20px 24px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
}
.why-tags span:last-child { border-right: 0; }
.why-tags small {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}
.number-band {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(90deg, #eef7ed, #f8fbf7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.number-band > * { padding: 30px; border-right: 1px solid var(--line); }
.number-band > *:last-child { border-right: 0; }
.number-band span { display: block; color: var(--green-2); font-weight: 900; margin-bottom: 10px; }
.number-band strong { font-size: 1.45rem; line-height: 1.5; }
.number-band dl { margin: 0; text-align: center; }
.number-band dt { font-size: 3rem; line-height: 1; color: var(--green-2); font-weight: 900; }
.number-band dd { margin: 10px 0 0; color: var(--muted); font-weight: 800; }

.case-tabs {
  display: inline-flex;
  gap: 0;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.case-tab {
  min-width: 250px;
  padding: 18px 24px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}
.case-tab.is-active { color: var(--green); border-bottom-color: var(--green-2); }
.case-track {
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.case-track.is-active { display: grid; }
.case-track.it-grid.is-active {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.case-track.it-grid .case-card {
  flex: 0 0 calc((100% - 72px) / 5);
  min-width: 250px;
  scroll-snap-align: start;
}
.case-scroll-next {
  display: none;
}
.case-scroll-controls {
  display: none;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}
.case-scroll-prev,
.case-scroll-next {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green-2);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(20, 51, 31, .12);
  cursor: pointer;
}
.case-scroll-controls.is-visible { display: flex; }
.case-scroll-controls.is-visible .case-scroll-prev,
.case-scroll-controls.is-visible .case-scroll-next { display: grid; place-items: center; }
.case-card {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 51, 31, .1);
}
.case-thumb { position: relative; aspect-ratio: 1.85 / 1; overflow: hidden; background: #eaf0ec; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-no {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .92);
  color: var(--green);
  font-size: .72rem;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.case-flag {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 34px;
  border-radius: 4px;
  background: #d7342c;
  color: #ffe560;
  font-size: 1.05rem;
  box-shadow: 0 6px 12px rgba(0,0,0,.12);
}
.case-body { padding: 18px 18px 16px; flex: 1; display: flex; flex-direction: column; }
.case-category { margin: 0 0 8px; color: var(--green-2); font-weight: 900; font-size: .82rem; }
.case-card h3 { margin: 0 0 10px; font-size: 1rem; line-height: 1.48; }
.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-meta {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}
.case-arrow { color: var(--green-2); font-size: 1.35rem; }

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.detail-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.detail-card h3 { margin: 0 0 12px; font-size: 1.2rem; color: var(--green); }
.detail-card p { margin: 0 0 12px; color: var(--muted); font-weight: 700; }
.detail-card ul { margin: 0; padding-left: 1.2em; }
.detail-no {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--green-soft);
  color: var(--green-2);
  font-size: .78rem;
  font-weight: 900;
}
.detail-category { color: var(--green-2) !important; font-weight: 900 !important; }
.detail-card h4 { margin: 18px 0 8px; color: var(--ink); font-size: .95rem; }

.flow-head {
  max-width: 1120px !important;
}
.flow-head h2 {
  font-size: clamp(2rem, 2.65vw, 2.85rem);
  line-height: 1.18;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.flow-grid article {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: 34px 22px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(20, 51, 31, .07);
}
.flow-grid article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--green-2);
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(20, 51, 31, .14);
  font-weight: 900;
}
.flow-grid article img {
  width: calc(100% + 44px);
  max-width: none;
  height: 176px;
  margin: auto -22px 0;
  object-fit: cover;
}
.flow-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-2);
  font-size: .9rem;
  font-weight: 900;
}
.icon-mail::before {
  left: 22px;
  top: 28px;
  width: 42px;
  height: 30px;
  border: 3px solid var(--green-2);
  border-radius: 4px;
}
.icon-mail::after {
  left: 25px;
  top: 31px;
  width: 36px;
  height: 20px;
  border-left: 3px solid var(--green-2);
  border-bottom: 3px solid var(--green-2);
  transform: rotate(-45deg);
}
.icon-chat::before,
.flow-contact-icon::before {
  left: 22px;
  top: 25px;
  width: 42px;
  height: 30px;
  border: 3px solid var(--green-2);
  border-radius: 11px;
}
.icon-chat::after,
.flow-contact-icon::after {
  left: 36px;
  top: 38px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 9px 0 0 var(--green-2), 18px 0 0 var(--green-2);
}
.icon-document::before {
  left: 25px;
  top: 19px;
  width: 36px;
  height: 44px;
  border: 3px solid var(--green-2);
  border-radius: 4px;
}
.icon-document::after {
  left: 32px;
  top: 32px;
  width: 22px;
  height: 3px;
  background: var(--green-2);
  box-shadow: 0 10px 0 var(--green-2);
}
.icon-handshake::before {
  left: 18px;
  top: 25px;
  width: 50px;
  height: 24px;
  border: 3px solid var(--green-2);
  border-radius: 14px;
  transform: rotate(-18deg);
}
.icon-handshake::after {
  left: 21px;
  top: 34px;
  width: 44px;
  height: 3px;
  background: var(--green-2);
  transform: rotate(18deg);
}
.icon-chart::before {
  left: 22px;
  bottom: 22px;
  width: 9px;
  height: 22px;
  background: var(--green-2);
  box-shadow: 16px -8px 0 var(--green-2), 32px -18px 0 var(--green-2);
}
.icon-chart::after {
  right: 20px;
  top: 20px;
  width: 22px;
  height: 22px;
  border-top: 3px solid var(--green-2);
  border-right: 3px solid var(--green-2);
  transform: rotate(-10deg);
}
.flow-grid .flow-no {
  display: inline-block;
  color: var(--green-2);
  font-size: 2rem;
  font-weight: 900;
}
.flow-grid h3 { margin: 12px 0; font-size: 1.35rem; }
.flow-grid p { margin: 0; color: var(--muted); font-weight: 700; text-align: left; }
.flow-grid article:not(:last-child) {
  overflow: visible;
}
.flow-contact {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(90deg, #eef7ed, #fff);
}
.flow-contact-copy {
  display: grid;
  gap: 8px;
}
.flow-contact-copy p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}
.flow-contact-copy p:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--green);
  font-size: 1.08rem;
  font-weight: 900;
}
.flow-contact-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #dcefe0;
}
.flow-contact-icon::before {
  left: 12px;
  top: 15px;
  width: 28px;
  height: 22px;
}
.flow-contact-icon::after {
  left: 20px;
  top: 24px;
}

.rakuraku-section { padding-top: 56px; padding-bottom: 56px; }
.rakuraku-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
  gap: 36px;
  align-items: center;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(90deg, #fffaf3, #fff7ee);
  border-color: #efd6ba;
  box-shadow: 0 16px 38px rgba(20, 51, 31, .08);
}
.rakuraku-layout h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.18;
}
.rakuraku-lead {
  max-width: 760px;
  margin: 0 0 26px;
  color: var(--muted);
  font-weight: 800;
}
.rakuraku-points {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #f2cab8;
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.rakuraku-points span {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-right: 1px solid #f2cab8;
  color: #e23a15;
  font-weight: 900;
  text-align: center;
}
.rakuraku-points span:last-child { border-right: 0; }
.rakuraku-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.rakuraku-grid article {
  position: relative;
  min-height: 160px;
  padding: 22px 22px 22px 78px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 51, 31, .07);
}
.rakuraku-grid article::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 24px;
  width: 38px;
  height: 38px;
  border: 2px solid #e23a15;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(226,58,21,.08), #fff);
}
.rakuraku-grid article::after {
  content: "";
  position: absolute;
  left: 32px;
  top: 36px;
  width: 18px;
  height: 11px;
  border-left: 3px solid #e23a15;
  border-bottom: 3px solid #e23a15;
  transform: rotate(-45deg);
}
.rakuraku-grid span {
  color: #d36b1f;
  font-weight: 900;
}
.rakuraku-grid h3 {
  margin: 12px 0 8px;
  font-size: 1.15rem;
}
.rakuraku-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}
.rakuraku-visual {
  position: relative;
  min-height: 330px;
}
.rakuraku-visual img {
  position: absolute;
  width: 76%;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(21, 43, 29, .14);
  object-fit: cover;
}
.rakuraku-visual img:first-child {
  top: 18px;
  right: 0;
}
.rakuraku-visual img:last-child {
  left: 0;
  bottom: 8px;
}
.rakuraku-reasons,
.rakuraku-cta {
  grid-column: 1 / -1;
}
.rakuraku-reasons {
  padding: 26px;
  border: 1px solid #f2cab8;
  border-radius: var(--radius);
  background: rgba(255,255,255,.86);
}
.rakuraku-reasons h3 {
  margin: 0 0 18px;
  color: #e23a15;
  text-align: center;
}
.rakuraku-reasons div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.rakuraku-reasons span {
  position: relative;
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 38px 14px 14px;
  border-radius: 8px;
  background: #fff5ef;
  color: #d63312;
  font-weight: 900;
  text-align: center;
}
.rakuraku-reasons span::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 22px;
  height: 22px;
  border: 2px solid #e23a15;
  border-radius: 50%;
  transform: translateX(-50%);
}
.rakuraku-reasons span::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  width: 11px;
  height: 7px;
  border-left: 2px solid #e23a15;
  border-bottom: 2px solid #e23a15;
  transform: translateX(-50%) rotate(-45deg);
}
.rakuraku-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: -12px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: #e83b16;
  color: #fff;
}
.rakuraku-cta p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
}
.rakuraku-cta .button {
  border-color: #fff;
  background: #fff;
  color: #d63312;
  box-shadow: none;
}

.company-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  background: #fff;
}
.company-list div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.company-list dt { font-weight: 900; color: var(--green); }
.company-list dd { margin: 0; color: var(--muted); font-weight: 700; }
.case-page-section {
  padding-top: 78px;
}
.case-page-actions {
  max-width: 860px;
  margin: -22px auto 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.detail-card {
  scroll-margin-top: 170px;
}
.contact-box {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #eef7ed, #fff);
  border: 1px solid var(--line);
}
.contact-box h2 { margin: 0 0 10px; }
.contact-box p { margin: 0; color: var(--muted); font-weight: 700; }
.contact-form {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 51, 31, .08);
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}
.field-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 44px;
}
.contact-form .required {
  justify-self: start;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-2);
  font-size: .72rem;
}
.field-error {
  flex: 1 1 180px;
  color: #a32a31;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.45;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  background: #fbfdfb;
  color: var(--ink);
  font: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(35,132,71,.18);
  border-color: var(--green-2);
}
.contact-form .full { grid-column: 1 / -1; }
.privacy-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--green-soft);
}
.privacy-box h3 { margin: 0 0 8px; font-size: 1rem; }
.privacy-box p { margin: 0 0 10px; color: var(--muted); font-weight: 700; }
.privacy-scroll {
  max-height: 150px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
}
.privacy-scroll ul {
  margin: 0 0 10px;
  padding-left: 1.3em;
}
.privacy-box .check {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-weight: 800;
}
.privacy-box input { width: auto; }
.privacy-box input:disabled + span,
.privacy-box .check:has(input:disabled) { opacity: .62; }
.form-message {
  margin: 0;
  min-height: 1.6em;
  font-weight: 900;
}
.form-message.is-error { color: #a32a31; }
.form-message.is-success { color: var(--green-2); }
.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--green-2);
  font-weight: 900;
}

@media (max-width: 1180px) {
  .nav-shell { height: 74px; }
  .site-nav {
    position: fixed;
    inset: 126px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { border-left: 0; border-bottom: 1px solid var(--line); min-height: 54px; }
  .site-nav .nav-contact { margin: 12px 0 0; }
  .menu-button {
    display: grid;
    gap: 6px;
    width: 50px;
    height: 50px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
  }
  .menu-button span { width: 24px; height: 2px; background: var(--ink); }
  .hero-copy { width: min(560px, 58%); }
  .hero-lead { white-space: normal; }
  .case-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diagnosis-layout { grid-template-columns: 1fr; }
  .case-track.it-grid .case-card { flex-basis: calc((100% - 18px) / 2); }
  .why-grid, .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid h3 { white-space: normal; }
  .service-pillar { grid-template-columns: 1fr; }
  .pillar-side-image { height: 220px; }
  .support-scope, .why-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-scope > *, .why-tags span { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-grid article:not(:last-child)::after { display: none; }
  .number-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rakuraku-layout { grid-template-columns: 1fr; }
  .rakuraku-visual { min-height: 280px; }
  .rakuraku-reasons div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .language-bar { justify-content: center; padding: 8px 12px; }
  .lang { min-width: 88px; padding-inline: 10px; }
  .nav-shell, .section, .hero-panel { width: min(100% - 28px, 1480px); }
  .brand img { width: 142px; }
  .hero-section { padding-top: 18px; }
  .hero-panel {
    min-height: auto;
    background-image:
      linear-gradient(180deg, #fff 0%, rgba(255,255,255,.98) 48%, rgba(255,255,255,.28) 100%),
      url("../images/hero-progress.jpg");
    background-position: center bottom;
  }
  .hero-copy { width: 100%; padding: 46px 24px 280px; }
  .hero-copy h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .hero-actions .button { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .stat-item strong,
  .stat-item small { white-space: normal; }
  .stat-item { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
  .service-columns, .service-card-grid, .details-grid, .case-track, .why-grid, .flow-grid, .rakuraku-grid, .support-scope, .why-tags { grid-template-columns: 1fr; }
  .reference-visual img { min-width: 900px; }
  .diagnosis-layout { padding: 26px 20px; }
  .diagnosis-card { padding: 22px; }
  .case-track.it-grid.is-active { display: grid; overflow: visible; }
  .case-track.it-grid .case-card { min-width: 0; }
  .case-scroll-next { display: none !important; }
  .case-scroll-controls { display: none !important; }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .contact-form .full { grid-column: auto; }
  .flow-head h2 { font-size: clamp(1.55rem, 7vw, 2.35rem); white-space: normal; }
  .flow-contact { display: block; padding: 22px; }
  .flow-contact .button { margin-top: 16px; width: 100%; }
  .rakuraku-layout { padding: 26px 20px; }
  .rakuraku-visual { min-height: 230px; }
  .rakuraku-points,
  .rakuraku-reasons div { grid-template-columns: 1fr; }
  .rakuraku-points span { border-right: 0; border-bottom: 1px solid #f2cab8; }
  .rakuraku-points span:last-child { border-bottom: 0; }
  .rakuraku-cta { display: block; padding: 24px 20px; }
  .rakuraku-cta .button { margin-top: 16px; width: 100%; }
  .section { padding: 58px 0; }
  .section-head.split { display: block; }
  .section-head.split .button { margin-top: 22px; }
  .case-tabs { display: grid; width: 100%; }
  .case-tab { min-width: 0; text-align: left; }
  .number-band { grid-template-columns: 1fr; }
  .number-band > * { border-right: 0; border-bottom: 1px solid var(--line); }
  .company-list div { grid-template-columns: 1fr; gap: 6px; }
  .contact-box { display: block; padding: 30px 24px; }
  .contact-box .button { margin-top: 22px; width: 100%; }
}
