:root {
  font-family: Inter, "Noto Sans JP", sans-serif;
  color: #111827;
  background: #f3f6f9;
  font-synthesis: none;
  --accent: #67d8ef;
  --ink: #080c19;
}
[hidden] {
  display: none !important;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #0891b2;
  outline-offset: 4px;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.header-inner {
  max-width: 1200px;
  margin: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.back-link {
  font-size: 13px;
  color: #475569;
  display: flex;
  gap: 12px;
  align-items: center;
}
.contact-layout {
  max-width: 1200px;
  margin: auto;
  padding: 70px 40px 80px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 64px;
  align-items: start;
}
.introduction {
  padding-top: 26px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #087e95;
  border-left: 3px solid var(--accent);
  padding-left: 13px;
  margin: 0 0 26px;
}
h1 {
  font-size: clamp(30px, 3.3vw, 43px);
  line-height: 1.5;
  letter-spacing: -1.6px;
  margin: 0 0 25px;
  font-weight: 800;
}
.lead {
  font-size: 15px;
  color: #526172;
  line-height: 2.1;
  margin: 0;
}
.topics {
  list-style: none;
  padding: 0;
  margin: 36px 0 25px;
  display: grid;
  gap: 18px;
  font-size: 14px;
}
.topics li {
  position: relative;
  padding-left: 25px;
}
.topics li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #087e95;
  font-weight: 700;
}
.reply-note {
  font-size: 12px;
  color: #64748b;
  border-top: 1px solid #d9e1e9;
  padding-top: 24px;
  line-height: 1.9;
}
.form-card {
  background: #fff;
  border: 1px solid #dfe6ed;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 14px 42px #223d5810;
}
.form-heading {
  margin-bottom: 26px;
}
.form-heading h2 {
  font-size: 20px;
  margin: 0 0 9px;
}
.form-heading p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}
form {
  display: grid;
  gap: 21px;
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  min-width: 0;
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}
.required,
.optional {
  font-size: 10px;
  font-weight: 500;
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 3px;
  padding: 0 5px;
}
.required {
  color: #087185;
  background: #e4f6fa;
}
.optional {
  color: #64748b;
  background: #f1f5f9;
}
input:not([type="checkbox"]),
textarea {
  font-weight: 400;
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid #ccd6e0;
  border-radius: 7px;
  background: #fff;
  color: #111827;
  padding: 12px 13px;
  font-size: 14px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
input::placeholder,
textarea::placeholder {
  color: #94a3b8;
  font-size: 13px;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: #168ca2;
  box-shadow: 0 0 0 3px #67d8ef29;
}
textarea {
  resize: vertical;
  min-height: 146px;
  line-height: 1.8;
}
.consent {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 12px;
  font-weight: 400;
  color: #526172;
  line-height: 1.9;
}
.consent input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin: 3px 0 0;
  accent-color: #087e95;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
button[type="submit"],
.home-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 0;
  border-radius: 8px;
  padding: 17px 22px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
button[type="submit"]:hover,
.home-button:hover {
  background: #203445;
}
button[type="submit"]:disabled {
  opacity: 0.55;
  cursor: wait;
}
.status {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  white-space: pre-wrap;
}
.status:empty {
  display: none;
}
.status.error {
  color: #a62d35;
  background: #fff3f3;
  border-radius: 7px;
  padding: 12px;
}
.preview-notice {
  font-size: 12px;
  color: #526172;
  background: #eef7fa;
  padding: 12px;
  border-radius: 7px;
  line-height: 1.8;
}
.success-panel {
  text-align: center;
  padding: 48px 0;
}
.success-panel[hidden] {
  display: none;
}
.success-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: #e4f6fa;
  color: #087185;
  font-size: 30px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.success-panel h2 {
  font-size: 21px;
  line-height: 1.6;
}
.success-panel p {
  font-size: 14px;
  color: #526172;
  line-height: 2;
}
.home-button {
  margin: 30px auto 0;
  max-width: 260px;
}
.site-footer {
  border-top: 1px solid #e2e8f0;
  max-width: 1120px;
  margin: auto;
  padding: 32px 0 40px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-footer .brand {
  font-size: 16px;
}
.site-footer p {
  font-size: 11px;
  color: #64748b;
  margin: 0;
}
.site-footer > a:last-child {
  margin-left: auto;
  font-size: 12px;
  color: #526172;
}
@media (max-width: 850px) {
  .contact-layout {
    gap: 30px;
    padding: 42px 24px 50px;
    grid-template-columns: 0.85fr 1.15fr;
  }
  .header-inner {
    padding: 0 24px;
  }
  .form-card {
    padding: 25px;
  }
  .two-columns {
    grid-template-columns: 1fr;
    gap: 21px;
  }
  .site-footer {
    margin: 0 24px;
    flex-wrap: wrap;
  }
  .introduction {
    padding-top: 12px;
  }
  h1 {
    font-size: 30px;
    letter-spacing: -1px;
  }
  .lead br {
    display: none;
  }
}
@media (max-width: 640px) {
  input:not([type="checkbox"]),
  textarea {
    font-size: 16px;
  }
  .header-inner {
    min-height: 64px;
    padding: 0 20px;
  }
  .contact-layout {
    display: block;
    padding: 34px 20px 40px;
  }
  .introduction {
    padding: 0 0 25px;
  }
  .eyebrow {
    margin-bottom: 17px;
  }
  h1 {
    font-size: 31px;
    line-height: 1.45;
    margin-bottom: 16px;
  }
  .lead {
    font-size: 14px;
  }
  .topics {
    margin: 22px 0 19px;
    gap: 11px;
    font-size: 12px;
  }
  .reply-note {
    padding-top: 16px;
    margin-bottom: 0;
  }
  .form-card {
    padding: 25px 21px;
    border-radius: 14px;
  }
  .two-columns {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .site-footer {
    gap: 14px;
    padding: 25px 0;
  }
  .site-footer p {
    flex-basis: 100%;
    order: 3;
  }
  .site-footer > a:last-child {
    margin-left: auto;
  }
  .back-link {
    font-size: 12px;
  }
  .success-panel {
    padding: 30px 0;
  }
}
@media (max-width: 370px) {
  .two-columns {
    grid-template-columns: 1fr;
    gap: 21px;
  }
  .contact-layout {
    padding-left: 14px;
    padding-right: 14px;
  }
  .form-card {
    padding: 22px 17px;
  }
}
