:root {
  --contact-ink: #0d3029;
  --contact-ink-dark: #071f1a;
  --contact-green: #079168;
  --contact-gold: #b59a62;
  --contact-paper: #fffdf7;
  --contact-cream: #f5f1e7;
  --contact-muted: #5d6d67;
  --contact-border: rgba(181, 154, 98, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--contact-ink);
  background:
    radial-gradient(circle at 90% 4%, rgba(181, 154, 98, 0.16), transparent 26%),
    linear-gradient(145deg, #fffdf8 0%, #f1f5f1 48%, #e5efeb 100%);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

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

.contact-header {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(6vw, 24px);
  border-bottom: 1px solid rgba(13, 48, 41, 0.1);
  background: rgba(255, 253, 247, 0.94);
  backdrop-filter: blur(14px);
}

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

.contact-brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--contact-gold);
  color: #e2c987;
  background: var(--contact-ink-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
}

.contact-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.contact-brand-copy strong {
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
}

.contact-brand-copy small {
  margin-top: 5px;
  color: #887342;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.contact-header-link {
  padding: 10px 17px;
  border: 1px solid var(--contact-border);
  color: var(--contact-ink);
  background: rgba(255, 253, 247, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.contact-shell {
  display: grid;
  width: min(1160px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1fr) minmax(500px, 1fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 118px) 0;
}

.contact-intro-label {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 22px;
  color: #806b3d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.contact-intro-label::before {
  width: 34px;
  height: 1px;
  background: var(--contact-gold);
  content: "";
}

.contact-intro h1 {
  margin: 0;
  color: var(--contact-ink);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.45;
}

.contact-intro h1 span {
  display: block;
}

.contact-intro > p:not(.contact-intro-label) {
  max-width: 480px;
  margin: 28px 0 0;
  color: var(--contact-muted);
  font-size: 14px;
}

.contact-guide {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--contact-border);
  background: rgba(255, 253, 247, 0.76);
  box-shadow: 0 18px 44px rgba(13, 48, 41, 0.07);
}

.contact-guide img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: contain;
  background: radial-gradient(circle, #fffdf7 0%, #f0dfb0 100%);
}

.contact-guide div {
  display: flex;
  flex-direction: column;
}

.contact-guide small {
  color: #887342;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.contact-guide strong {
  margin-top: 3px;
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
}

.contact-panel {
  padding: clamp(30px, 4.4vw, 56px);
  border: 1px solid var(--contact-border);
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 28px 80px rgba(13, 48, 41, 0.12);
}

.contact-panel h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
}

.contact-panel-lead {
  margin: 12px 0 30px;
  color: var(--contact-muted);
  font-size: 12px;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--contact-ink);
  font-size: 12px;
  font-weight: 700;
}

.contact-form .required {
  margin-left: 6px;
  color: #a94242;
  font-size: 9px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(13, 48, 41, 0.18);
  border-radius: 0;
  outline: none;
  color: var(--contact-ink);
  background: #fff;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input {
  min-height: 50px;
  padding: 0 15px;
}

.contact-form textarea {
  min-height: 180px;
  padding: 14px 15px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--contact-green);
  box-shadow: 0 0 0 3px rgba(7, 145, 104, 0.1);
}

.contact-form button,
.contact-primary-link {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid #087b5a;
  color: #fff;
  background: var(--contact-green);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(7, 145, 104, 0.18);
}

.contact-form button:hover,
.contact-primary-link:hover {
  background: #087b5a;
}

.contact-form-note {
  margin: -7px 0 0;
  color: #74827d;
  font-size: 10px;
  font-weight: 400;
}

.contact-result {
  text-align: center;
}

.contact-result-mark {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  place-items: center;
  border: 1px solid rgba(7, 145, 104, 0.3);
  border-radius: 50%;
  color: var(--contact-green);
  background: #ecf7f2;
  font-size: 28px;
}

.contact-result p {
  margin: 18px 0 28px;
  color: var(--contact-muted);
  font-size: 13px;
}

.contact-secondary-link {
  display: inline-block;
  margin-top: 14px;
  color: #806b3d;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-footer {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  padding: 24px max(6vw, 24px);
  color: rgba(255, 253, 247, 0.76);
  background: var(--contact-ink-dark);
  font-size: 10px;
}

.contact-footer strong {
  color: #fffdf7;
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
}

@media (max-width: 820px) {
  .contact-shell {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .contact-intro {
    max-width: 620px;
  }
}

@media (max-width: 560px) {
  .contact-header {
    min-height: 68px;
    padding-inline: 18px;
  }

  .contact-brand-mark {
    width: 36px;
    height: 36px;
  }

  .contact-header-link {
    padding: 8px 11px;
    font-size: 10px;
  }

  .contact-shell {
    width: calc(100% - 32px);
    gap: 30px;
    padding: 44px 0 60px;
  }

  .contact-intro h1 {
    font-size: clamp(30px, 8vw, 34px);
  }

  .contact-intro h1 span:last-child {
    white-space: nowrap;
  }

  .contact-intro > p:not(.contact-intro-label) {
    margin-top: 20px;
    font-size: 13px;
  }

  .contact-guide {
    width: 100%;
    margin-top: 24px;
  }

  .contact-panel {
    padding: 26px 20px 28px;
  }

  .contact-panel-lead {
    margin-bottom: 24px;
  }

  .contact-form {
    gap: 18px;
  }

  .contact-form textarea {
    min-height: 150px;
  }

  .contact-footer {
    min-height: 88px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }
}
