:root {
  --green: #059669;
  --green-dark: #047857;
  --mint: #eafef8;
  --mint-card: #caf9ea;
  --ink: #111111;
  --muted: #57595d;
  --line: #d9d9d9;
  --divider: #cfe1dc;
  --max: 1120px;
  --header: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#service,
#voices,
#faq,
#company,
#contact {
  scroll-margin-top: calc(var(--header) + 8px);
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.02em;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.sp-br {
  display: none;
}

.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;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
}

.brand img {
  width: auto;
  height: 48px;
}

.brand-sm {
  font-size: 16px;
  letter-spacing: -0.12em;
}

.brand-sm img {
  width: auto;
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 16px 0 22px;
  border-radius: 26px;
  background: var(--green);
  color: #fff !important;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.nav-cta:hover {
  background: var(--green-dark);
}

.menu-btn,
.drawer-close {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.icon-stack {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.icon-stack img {
  grid-area: 1 / 1;
}

.icon-stack-sm {
  width: 21px;
  height: 21px;
}

.icon-stack-lg {
  width: 39px;
  height: 39px;
}

.icon-stack-foot {
  width: 19px;
  height: 20px;
}

.hero {
  padding: 28px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
  grid-template-areas:
    "copy visual"
    "stats visual";
  column-gap: 32px;
  row-gap: 28px;
  align-items: center;
}

.hero-copy {
  grid-area: copy;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.title-break {
  display: inline;
}

.lead {
  margin-top: 20px;
  font-size: 22px;
  line-height: 1.75;
}

.btn-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: min(100%, 520px);
  height: 84px;
  margin-top: 28px;
  padding: 0 36px;
  border-radius: 46px;
  background: var(--green);
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.btn-lg:hover {
  background: var(--green-dark);
}

.hero .btn-lg,
.offer .btn-lg {
  position: relative;
}

.hero .btn-lg .icon-stack-lg,
.offer .btn-lg .icon-stack-lg {
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
}

.stats {
  grid-area: stats;
  display: flex;
  gap: 8px 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 183px;
  width: 183px;
  min-width: 183px;
  max-width: 183px;
  gap: 4px;
}

.stat > div {
  flex: 1 1 auto;
  text-align: center;
}

.laurel {
  width: 34px;
  height: auto;
}

.stat-label {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.stat-value {
  margin-top: 2px;
  color: var(--green);
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.stat-value .n {
  font-size: 32px;
}

.stat-value .u {
  font-size: 18px;
}

.stat-value sup {
  margin-left: 2px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 400;
}

.hero-visual {
  grid-area: visual;
  justify-self: end;
}

.hero-visual img {
  width: min(100%, 420px);
  height: auto;
  margin: auto;
}

.worries {
  background: var(--mint);
  padding: 72px 0 80px;
}

.worries h2 {
  margin-bottom: 36px;
}

.worries-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.person {
  width: 200px;
  height: auto;
  justify-self: center;
}

.worry-list {
  margin: 0;
  padding: 28px 32px;
  list-style: none;
  background: #fff;
  border: 1px solid #111;
  border-radius: 4px;
}

.worry-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.worry-list img {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.service-intro {
  padding: 72px 0 28px;
  text-align: center;
}

.eyebrow {
  color: var(--green);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.service-intro h2 {
  margin-top: 8px;
}

.step {
  padding: 56px 0;
}

.step-mint {
  background: var(--mint);
}

.step-layout {
  display: grid;
  grid-template-columns: minmax(260px, 406px) minmax(0, 1fr);
  grid-template-areas:
    "title title"
    "photo points";
  column-gap: 48px;
  row-gap: 20px;
  align-items: start;
}

.step h3 {
  grid-area: title;
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.45;
}

.step figure {
  grid-area: photo;
  margin: 0;
}

.step figure img {
  width: 100%;
  aspect-ratio: 406 / 273;
  object-fit: cover;
  border-radius: 6px;
}

.step-points {
  grid-area: points;
}

.point {
  border-bottom: 1px solid transparent;
}

.point summary,
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.point summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.point summary span {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.point ul {
  margin: 8px 0 18px;
  padding: 0;
  list-style: none;
}

.point li {
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.point li::before {
  content: "・";
}

.chev {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

details[open] > summary .chev {
  transform: rotate(180deg);
}

.offer {
  background: var(--green);
  padding: 56px 0;
}

.offer-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 40px 40px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.offer-card p:first-child {
  font-size: 20px;
  letter-spacing: 0.06em;
}

.offer-lead {
  margin-top: 8px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.offer .btn-lg {
  width: min(100%, 860px);
}

.voices {
  padding: 80px 0;
}

.voices h2 {
  margin: 8px 0 40px;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.voice-who {
  display: grid;
  min-height: 168px;
  place-content: center;
  background: var(--mint-card);
  color: var(--green);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.voice-text {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.75;
}

.faq {
  background: var(--mint);
  padding: 80px 0 88px;
}

.faq h2 {
  margin-bottom: 32px;
}

.faq-list {
  display: grid;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 6px;
}

.faq-item summary {
  min-height: 96px;
  padding: 20px 24px;
}

.q-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint-card);
  color: var(--green);
  font-size: 22px;
  font-weight: 700;
  flex: 0 0 auto;
}

.q-text {
  flex: 1;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.faq-item p {
  margin: 0;
  padding: 0 24px 24px 84px;
  font-size: 16px;
  line-height: 1.8;
}

.company {
  padding: 80px 0;
}

.company h2 {
  margin-bottom: 36px;
}

.company dl {
  max-width: 820px;
  margin: 0 auto;
}

.company dl > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
}

.company dt {
  font-size: 18px;
  font-weight: 700;
}

.company dd {
  margin: 0;
  font-size: 18px;
}

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

.contact {
  background: var(--green);
  padding: 72px 0 80px;
}

.contact h2 {
  margin-bottom: 28px;
  color: #fff;
  font-size: 36px;
}

.form {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 48px 36px;
  border-radius: 6px;
  background: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 40px;
}

.field-consult { grid-column: 1; grid-row: 1; }
.field-source { grid-column: 2; grid-row: 1; }
.field-title { grid-column: 1; grid-row: 2; }
.field-pages { grid-column: 2; grid-row: 2; }
.field-count { grid-column: 1; grid-row: 3; }
.field-role { grid-column: 2; grid-row: 3; }
.field-org { grid-column: 1; grid-row: 4; }
.field-name { grid-column: 2; grid-row: 4; }
.field-email { grid-column: 1; grid-row: 5; }
.field-tel { grid-column: 2; grid-row: 5; }
.field-note { grid-column: 1 / -1; }

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

legend,
.field {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 400;
}

input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--green);
}

.field {
  display: grid;
  gap: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  height: 40px;
}

textarea {
  min-height: 65px;
  resize: vertical;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.consent {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: -0.03em;
}

.turnstile {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.form-actions {
  margin-top: 18px;
  text-align: center;
}

.submit {
  min-width: 146px;
  height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
}

.submit:hover {
  background: var(--green-dark);
}

.submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-note {
  margin-top: 12px;
  font-size: 14px;
}

.form-error {
  margin-top: 16px;
  color: #b42318;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.form-done {
  margin-top: 16px;
  text-align: center;
  font-size: 15px;
}

.page-foot {
  padding: 36px 0 132px;
}

.foot-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.notes {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.6;
}

.consult-badge {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 25;
  display: inline-block;
  padding: 8px;
  border-radius: 9px;
  background: linear-gradient(70deg, #00ffb0 0%, #059669 100%);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.22);
}

.consult-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 248px;
  min-height: 72px;
  padding: 12px 20px;
  border-radius: 9px;
  background: #fff;
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
  justify-content: center;
}

.consult-em {
  font-size: 26px;
}

.copyright {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
}

.sp-footer {
  display: none;
}

@media (min-width: 861px) {
  .point summary {
    pointer-events: none;
    margin-top: 10px;
  }

  .point .chev {
    display: none;
  }

  .point:not([open]) > ul {
    display: block;
  }
}

@media (max-width: 1180px) {
  .hero h1 {
    font-size: 36px;
    white-space: normal;
  }

  .title-break {
    display: block;
  }
}

@media (max-width: 860px) {
  :root {
    --header: 56px;
  }

  body {
    padding-bottom: 108px;
  }

  .wrap {
    width: min(100% - 54px, 420px);
  }

  .hero .wrap {
    width: min(100% - 108px, 480px);
  }

  .sp-br {
    display: inline;
  }

  .nav,
  .consult-badge {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .brand {
    font-size: 18px;
    letter-spacing: -0.14em;
  }

  .brand img {
    width: auto;
    height: 32px;
  }

  .brand-sm img {
    width: auto;
    height: 32px;
  }

  .drawer {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: #fff;
  }

  .drawer[hidden] {
    display: none;
  }

  .drawer-panel {
    min-height: 100%;
    padding: 8px 27px 32px;
  }

  .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
  }

  .drawer-close {
    display: inline-flex;
  }

  .drawer-nav {
    display: grid;
    margin-top: 28px;
  }

  .drawer-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 12px;
    border-bottom: 1px solid var(--divider);
    font-size: 14px;
    font-weight: 700;
  }

  .hero {
    padding: 12px 0 36px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "stats"
      "visual";
    row-gap: 16px;
  }

  .hero h1 {
    font-size: 24px;
    letter-spacing: 0.02em;
    white-space: normal;
  }

  .title-break {
    display: block;
  }

  .lead {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.7;
  }

  .btn-lg {
    width: 100%;
    min-width: 0;
    height: 46px;
    margin-top: 16px;
    gap: 10px;
    font-size: 15px;
  }

  .hero .btn-lg .icon-stack-lg,
  .offer .btn-lg .icon-stack-lg {
    right: 11px;
  }

  .icon-stack-lg {
    width: 24px;
    height: 24px;
  }

  .icon-stack-lg img:first-child {
    width: 24px;
    height: 24px;
  }

  .icon-stack-lg img:last-child {
    width: 12px;
    height: 12px;
  }

  .stats {
    gap: 10px;
  }

  .stat {
    flex: 0 0 91px;
    width: 91px;
    min-width: 91px;
    max-width: 91px;
    gap: 1px;
  }

  .laurel {
    width: 13px;
  }

  .stat-label {
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .stat-value .n {
    font-size: 16px;
  }

  .stat-value .u {
    font-size: 10px;
  }

  .stat-value sup {
    font-size: 8px;
  }

  .hero-visual {
    margin-top: 8px;
    margin: auto;
    justify-self: center;
    display: flex;
    justify-content: center;
  }

  .hero-visual img {
    width: min(100%, 240px);
    margin: auto;
  }

  h2 {
    font-size: 20px;
  }

  .worries {
    padding: 40px 0 48px;
  }

  .worries-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .worry-list {
    order: -1;
    width: 100%;
    padding: 16px 14px;
  }

  .worry-list li {
    align-items: flex-start;
    font-size: 13px;
  }

  .worry-list img {
    width: 22px;
    height: 22px;
  }

  .person {
    width: 110px;
  }

  .service-intro {
    padding: 40px 0 8px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .step {
    padding: 32px 0;
  }

  .step-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "photo"
      "points";
    row-gap: 14px;
  }

  .step h3 {
    font-size: 17px;
    letter-spacing: 0.04em;
  }

  .point {
    border-bottom: 1px solid var(--divider);
  }

  .point summary {
    min-height: 44px;
  }

  .point summary span {
    font-size: 14px;
  }

  .point ul {
    margin: 0 0 12px;
  }

  .point li {
    font-size: 13px;
  }

  .point:not([open]) > ul {
    display: none;
  }

  .offer {
    padding: 28px 0;
  }

  .offer-card {
    padding: 20px 16px 18px;
  }

  .offer-card p:first-child {
    font-size: 11px;
  }

  .offer-lead {
    font-size: 16px;
    letter-spacing: 0;
  }

  .voices,
  .faq,
  .company {
    padding: 48px 0;
  }

  .voice-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .voice-who {
    min-height: 120px;
    font-size: 16px;
  }

  .voice-text {
    font-size: 14px;
  }

  .faq-item summary {
    min-height: 64px;
    padding: 10px 12px;
  }

  .q-mark {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .q-text {
    font-size: 13px;
  }

  .faq-item p {
    padding: 0 14px 14px 48px;
    font-size: 13px;
  }

  .company dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px 0 4px;
  }

  .company dt,
  .company dd {
    font-size: 14px;
  }

  .contact {
    padding: 40px 0 48px;
  }

  .contact h2 {
    font-size: 18px;
  }

  .form {
    padding: 20px 16px 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-consult,
  .field-source,
  .field-title,
  .field-pages,
  .field-count,
  .field-role,
  .field-org,
  .field-name,
  .field-email,
  .field-tel,
  .field-note {
    grid-column: auto;
    grid-row: auto;
  }

  .consent {
    font-size: 12px;
  }

  .submit {
    height: 40px;
    font-size: 18px;
  }

  .page-foot {
    padding-bottom: 28px;
  }

  .foot-row {
    display: block;
  }

  .notes {
    font-size: 11px;
  }

  .sp-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff;
  }

  .sp-footer-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: min(100%, 320px);
    height: 42px;
    border: 1px solid var(--green);
    border-radius: 46px;
    background: #fff;
    box-shadow: 0 4px 0 var(--green);
    font-size: 14px;
    font-weight: 700;
  }

  .sp-footer-btn .icon-stack-foot {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
  }

  .sp-footer p {
    margin: 0;
    color: var(--muted);
    font-size: 9px;
  }
}
