:root {
  --green: #6f9b6b;
  --green-dark: #5f8a5c;
  --green-soft: #a8c68a;
  --mint: #f4faf2;
  --blue: #8fc6e8;
  --text: #3e5a46;
  --sub: #7c9581;
  --border: #dde9da;
  --surface: #ffffff;
  --shadow: 0 8px 24px rgba(63, 90, 70, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--mint);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-break: strict;
  line-height: 1.8;
  overflow-wrap: break-word;
  word-break: auto-phrase;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--text);
  font-weight: 800;
  font-size: 1.12rem;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  flex: 1;
  color: var(--sub);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: clamp(64px, 8vw, 112px) 0;
  background: var(--surface);
}

.section-mint,
.hero,
.final-cta {
  background: var(--mint);
}

.hero {
  overflow: hidden;
  padding-top: clamp(48px, 7vw, 96px);
}

.hero-grid,
.split,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.badges span,
.problem-grid span,
.status-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 7px 14px;
}

.badges span::before,
.problem-grid span::before,
.check-list li::before,
.status-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--green-soft);
}

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

h1,
h2,
h3,
.mini-cards div,
.status-list span,
.check-list li {
  line-break: strict;
  overflow-wrap: normal;
  word-break: keep-all;
}

.phrase {
  display: inline-block;
  white-space: nowrap;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.3rem, 5.2vw, 4.7rem);
  line-height: 1.18;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3.3vw, 3rem);
  line-height: 1.35;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  line-height: 1.45;
}

.hero-copy > p,
.lead-text,
.section-heading > p,
.split p,
.status-box p,
.final-cta p {
  color: var(--sub);
  font-size: 1.06rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.button-secondary {
  background: #fff;
  color: var(--green);
}

.button-secondary:hover {
  color: #fff;
}

.button-small {
  min-width: max-content;
  min-height: 42px;
  padding: 8px 18px;
  font-size: 0.92rem;
}

.button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.note,
.privacy-note {
  color: var(--sub);
  font-size: 0.9rem;
}

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

.hero-visual::before {
  position: absolute;
  inset: 8% -9% -8% 12%;
  z-index: 0;
  border-radius: 38px;
  background: rgba(168, 198, 138, 0.35);
  filter: blur(22px);
  content: "";
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(63, 90, 70, 0.18);
  filter: saturate(0.92) brightness(1.03);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading > p:first-child {
  margin-bottom: 8px;
  color: var(--green);
  font-weight: 800;
}

.align-left {
  margin-left: 0;
  text-align: left;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.problem-grid span {
  justify-content: flex-start;
  min-height: 64px;
  border-radius: 16px;
  color: var(--text);
  padding: 14px 16px;
}

.lead-text {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  word-break: keep-all;
}

.phone-frame {
  max-width: 360px;
  justify-self: center;
  margin: 0;
  padding: 12px;
  border-radius: 32px;
  background: #203027;
  box-shadow: 0 20px 45px rgba(63, 90, 70, 0.2);
}

.phone-frame img {
  border-radius: 22px;
}

.mini-cards,
.system-grid,
.card-grid {
  display: grid;
  gap: 18px;
}

.mini-cards {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
}

.mini-cards div,
.card-grid article,
.system-grid article,
.status-box,
.lead-form,
.faq-list details {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.mini-cards div {
  min-height: 92px;
  padding: 20px;
  color: var(--green-dark);
  font-size: clamp(0.95rem, 1.7vw, 1.06rem);
  font-weight: 800;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid article,
.system-grid article {
  padding: 26px;
}

.card-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-weight: 900;
}

.card-grid p,
.system-grid p {
  margin-bottom: 0;
  color: var(--sub);
}

.mockup {
  max-width: 980px;
  margin: 36px auto;
}

.mockup img {
  margin: 0 auto;
  filter: drop-shadow(0 18px 32px rgba(63, 90, 70, 0.14));
}

.system-grid {
  grid-template-columns: repeat(4, 1fr);
}

.ai-privacy-section {
  padding-top: clamp(56px, 7vw, 96px);
}

.ai-privacy-grid {
  align-items: start;
}

.ai-privacy-grid > div:first-child p {
  color: var(--sub);
  font-size: 1.06rem;
}

.care-points {
  display: grid;
  gap: 12px;
}

.care-points article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 74px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.care-points p {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  line-height: 1.65;
}

.care-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-weight: 900;
}

.care-icon::before {
  line-height: 1;
}

.care-icon-shield::before {
  content: "\25C7";
}

.care-icon-note::before {
  content: "\270E";
}

.care-icon-check::before {
  content: "\2713";
}

.care-icon-person::before {
  content: "\25CB";
}

.care-icon-chat::before {
  content: "\2026";
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.check-list li span {
  min-width: 0;
}

.check-list li::before {
  margin-top: 0.75em;
}

.status-box {
  padding: 30px;
}

.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-wrap {
  max-width: 820px;
}

.lead-form {
  padding: clamp(24px, 4vw, 40px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

label,
fieldset {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--text);
  font-weight: 800;
}

strong {
  margin-left: 4px;
  color: #b84b52;
  font-size: 0.78rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(111, 155, 107, 0.16);
}

fieldset {
  border: 0;
  padding: 0;
}

legend {
  margin-bottom: 10px;
  font-weight: 800;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--mint);
  padding: 8px 12px;
  font-weight: 700;
}

.checkbox-grid input {
  width: 18px;
  min-height: 18px;
}

.form-message {
  min-height: 28px;
  margin: 8px 0 16px;
  color: var(--green-dark);
  font-weight: 800;
}

.form-message.error {
  color: #b84b52;
}

.privacy-note {
  margin: 18px 0 0;
}

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

.faq-list details {
  padding: 18px 22px;
}

.faq-list summary {
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--sub);
}

.final-cta {
  text-align: center;
}

.final-cta img {
  width: 88px;
  margin: 0 auto 22px;
}

.final-cta .cta-row {
  justify-content: center;
}

.footer {
  padding: 28px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  color: var(--sub);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .site-header {
    gap: 14px;
    min-height: 64px;
  }

  .nav {
    display: none;
  }

  .site-header .button {
    margin-left: auto;
  }

  .hero-grid,
  .split,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .problem-grid,
  .card-grid,
  .system-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand span {
    font-size: 1rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .button-small {
    padding: 8px 13px;
    font-size: 0.84rem;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-visual {
    margin-bottom: 10px;
  }

  .hero-visual img {
    aspect-ratio: 1 / 1.08;
  }

  .cta-row,
  .cta-row .button,
  .lead-form .button {
    width: 100%;
  }

  .problem-grid,
  .card-grid,
  .system-grid,
  .mini-cards,
  .form-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .phone-frame {
    max-width: 300px;
  }
}
