:root {
  --green: #257a4d;
  --green-dark: #174b35;
  --green-deep: #102f25;
  --green-light: #e9f5ee;
  --green-pale: #f5fbf7;
  --ink: #24302c;
  --muted: #63726d;
  --line: #dfe9e4;
  --white: #ffffff;
  --accent: #f2a93b;
  --shadow: 0 16px 42px rgba(22, 76, 53, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  background: var(--white);
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 20px;
}

.logo img {
  width: 76px;
  max-width: min(76px, 24vw);
  height: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  gap: 18px;
  color: var(--green-deep);
  font-size: 0.92rem;
  font-weight: 800;
}

.header-nav a {
  text-decoration: none;
}

.hero {
  padding: 76px 0;
  background:
    linear-gradient(120deg, rgba(233, 245, 238, 0.96), rgba(245, 251, 247, 0.9)),
    radial-gradient(circle at 86% 16%, rgba(242, 169, 59, 0.22), transparent 30%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  color: var(--green-deep);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.32;
  letter-spacing: 0;
}

.hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.assurance-card,
.side-panel,
.form-card,
.support-list article,
.success-box,
.error-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(22, 76, 53, 0.07);
}

.assurance-card {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.assurance-card p {
  position: relative;
  margin: 0;
  padding-left: 26px;
  color: var(--green-deep);
  font-weight: 800;
}

.assurance-card p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.section {
  padding: 76px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.side-panel,
.form-card {
  padding: 30px;
}

.side-panel {
  position: sticky;
  top: 96px;
  background: var(--green-pale);
}

.side-panel h2,
.form-card h2,
.success-box h2 {
  margin-bottom: 16px;
  color: var(--green-deep);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.35;
}

.support-list {
  display: grid;
  gap: 14px;
}

.support-list article {
  padding: 20px;
  background: var(--white);
}

.support-list h3 {
  margin-bottom: 8px;
  color: var(--green-deep);
  font-size: 1rem;
}

.support-list p,
.form-lead,
form small {
  color: var(--muted);
}

.form-lead {
  margin-bottom: 24px;
}

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

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

label.full,
.submit-button {
  grid-column: 1 / -1;
}

label span {
  color: var(--green-deep);
}

label b {
  display: inline-flex;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-size: 0.72rem;
}

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

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(37, 122, 77, 0.14);
  border-color: var(--green);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  border-radius: 8px;
  background: var(--green-pale);
  font-weight: 700;
}

.privacy-check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 6px;
}

.privacy-check a {
  color: var(--green);
  font-weight: 900;
}

.submit-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 28px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 26px rgba(37, 122, 77, 0.18);
  font-size: 0.95rem;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.error-box {
  margin-bottom: 22px;
  padding: 18px 20px;
  border-color: #f3b5a8;
  background: #fff7f5;
}

.error-box p,
.success-box p {
  margin: 0;
}

.error-box p + p {
  margin-top: 6px;
}

.success-box {
  padding: 30px;
  text-align: center;
}

.success-box .button {
  margin-top: 24px;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
  color: var(--green-deep);
  font-weight: 900;
}

@media (max-width: 900px) {
  .hero-inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
    line-height: 1.72;
  }

  .container {
    width: min(100% - 28px, 1080px);
  }

  .header-inner {
    min-height: 76px;
  }

  .logo img {
    width: 62px;
    max-width: 62px;
  }

  .header-nav {
    gap: 12px;
    font-size: 0.82rem;
  }

  .hero,
  .section {
    padding: 46px 0;
  }

  .side-panel,
  .form-card {
    padding: 24px 18px;
  }

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

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