:root {
  --ink: #17212b;
  --muted: #5d6874;
  --line: #d8dee5;
  --paper: #f7f8f6;
  --white: #ffffff;
  --green: #1f6f5b;
  --teal: #0d8b86;
  --gold: #b8842f;
  --brick: #9b4d3a;
  --shadow: 0 18px 50px rgba(23, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 222, 229, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mascot {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff7e6;
}

.header-badge {
  width: clamp(86px, 10vw, 138px);
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.3;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  white-space: nowrap;
}

.nav a:hover {
  color: var(--green);
}

.nav-cta {
  padding: 9px 16px;
  color: var(--white) !important;
  background: var(--ink);
  border-radius: 8px;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  padding: clamp(72px, 12vw, 140px) clamp(20px, 6vw, 88px) clamp(52px, 8vw, 84px);
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(120deg, rgba(23, 33, 43, 0.35), rgba(31, 111, 91, 0.15)),
    url("assets/hero-consultants.png") center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 23, 31, 0.9), rgba(14, 23, 31, 0.62) 48%, rgba(14, 23, 31, 0.22)),
    linear-gradient(0deg, rgba(14, 23, 31, 0.35), transparent 35%);
}

.hero-content {
  position: relative;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3c46b;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.mark-strip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 620px;
  margin-top: 26px;
  padding: 10px 14px 10px 10px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.mark-strip img {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  background: var(--white);
}

.mark-strip span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.primary:hover {
  background: #185846;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band div {
  padding: 24px clamp(20px, 5vw, 72px);
  background: var(--white);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  color: var(--green);
  font-size: 22px;
}

.trust-band span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 88px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  background: var(--white);
}

.intro p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.services {
  background: #eef3f0;
}

.office {
  background: #f7f8f6;
}

.office-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
}

.office-copy {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 18px;
}

.office-copy p {
  margin: 0;
}

.office-panel {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 33, 43, 0.08);
}

.office-panel h3 {
  margin-bottom: 18px;
}

.mascot-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
  padding: 16px;
  background: #fff7e6;
  border: 1px solid #efd9aa;
  border-radius: 8px;
}

.mascot-card img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.mascot-card h3 {
  margin: 0 0 6px;
}

.mascot-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.office-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.office-panel dl div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.office-panel dt {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.office-panel dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.office-panel a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.compliance {
  background: var(--white);
}

.onestop-focus {
  background: #fffdf8;
}

.onestop-layout {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.onestop-layout > img {
  width: 100%;
  max-width: 380px;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 33, 43, 0.08);
}

.onestop-layout p {
  margin-top: 0;
  color: var(--muted);
  font-size: 18px;
}

.onestop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.onestop-tags span {
  padding: 9px 13px;
  color: var(--green);
  background: var(--white);
  border: 1px solid rgba(31, 111, 91, 0.24);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.compliance-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.compliance-layout > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.compliance-list {
  display: grid;
  gap: 12px;
}

.compliance-list span,
.compliance-list a {
  display: block;
  padding: 16px 18px;
  color: var(--ink);
  background: #f7f8f6;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.compliance-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.compliance-list span:nth-child(2) {
  border-left-color: var(--gold);
}

.compliance-list span:nth-child(3) {
  border-left-color: var(--teal);
}

.compliance-list span:nth-child(4) {
  border-left-color: var(--brick);
}

.difference {
  background: #f1f4f7;
}

.growth {
  background: #eef3f0;
}

.tools {
  background: var(--white);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 280px;
  padding: 28px;
  background: #f7f8f6;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tool-card.emphasis {
  background: #f0f6f4;
  border-color: rgba(31, 111, 91, 0.24);
}

.tool-card h3 {
  margin: 0;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.tool-card .button {
  justify-self: start;
  align-self: end;
}

.growth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.growth-grid article {
  min-height: 300px;
  padding: 26px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.growth-grid article:nth-child(2) {
  background: var(--green);
}

.growth-grid article:nth-child(3) {
  background: #6f5131;
}

.growth-grid .service-icon {
  color: #f3c46b;
}

.growth-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.resource-link,
.resource-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--green);
  background: #f7f8f6;
  border: 1px solid rgba(31, 111, 91, 0.22);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.resource-link.inverted {
  margin-top: 20px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
}

.resource-links {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.difference-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
  border-top: 4px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 33, 43, 0.06);
}

.difference-grid article:nth-child(2) {
  border-top-color: var(--teal);
}

.difference-grid article:nth-child(3) {
  border-top-color: var(--gold);
}

.difference-grid article:nth-child(4) {
  border-top-color: var(--brick);
}

.difference-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 500px;
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(216, 222, 229, 0.9);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 33, 43, 0.06);
}

.service-card:nth-child(2) .service-icon {
  color: var(--teal);
}

.service-card:nth-child(3) .service-icon {
  color: var(--brick);
}

.service-card:nth-child(4) .service-icon {
  color: var(--gold);
}

.service-icon {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.service-card p {
  color: var(--muted);
  min-height: 92px;
}

.service-card ul {
  display: grid;
  gap: 7px;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
}

.service-card li {
  margin-left: 18px;
}

.process {
  background: var(--white);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-item {
  padding: 26px 0 0;
  border-top: 3px solid var(--green);
}

.process-item span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.process-item p {
  color: var(--muted);
}

.cases {
  background: var(--paper);
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.theme-grid p {
  min-height: 112px;
  margin: 0;
  padding: 22px;
  background: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 33, 43, 0.05);
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(32px, 6vw, 84px);
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 88px);
  color: var(--white);
  background: var(--ink);
}

.contact h2 {
  max-width: 650px;
}

.contact p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-links a {
  padding: 9px 13px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.google-form-card h3 {
  margin: 0;
}

.google-form-card p {
  margin: 0;
  color: var(--muted) !important;
  font-size: 16px !important;
}

.google-form-card .button {
  justify-self: start;
  margin-top: 8px;
}

.google-form-card .email-button {
  color: var(--green);
  background: var(--white);
  border-color: rgba(31, 111, 91, 0.28);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hidden-field {
  display: none;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(13, 139, 134, 0.18);
  border-color: var(--teal);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 6vw, 88px);
  color: var(--muted);
  background: #111820;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.thanks-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 24px;
  background: var(--ink);
}

.thanks {
  width: min(680px, 100%);
  padding: clamp(32px, 7vw, 64px);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thanks h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 54px);
}

.thanks p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 1040px) {
  .service-grid,
  .difference-grid,
  .theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card p {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .header-badge {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 82px;
    max-height: 42px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 720px;
    padding-top: 76px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(14, 23, 31, 0.92), rgba(14, 23, 31, 0.46));
  }

  .mark-strip {
    align-items: flex-start;
    max-width: 100%;
  }

  .mark-strip img {
    width: 58px;
    height: 58px;
  }

  .trust-band,
  .intro,
  .office-layout,
  .onestop-layout,
  .compliance-layout,
  .process-list,
  .growth-grid,
  .tools-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .tool-card .button {
    justify-self: start;
    white-space: normal;
  }

  .trust-band div {
    padding: 20px;
  }

  .service-grid,
  .difference-grid,
  .theme-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .theme-grid p {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
