@charset "UTF-8";

.contact-hero {
  padding: 78px 0 70px;
  background:
    radial-gradient(circle at 82% 18%, rgba(53, 105, 64, .08), transparent 30%),
    linear-gradient(180deg, #f8faf5 0%, #f4f6ef 100%);
  border-bottom: 1px solid var(--line);
}

.contact-hero-inner {
  text-align: center;
}

.contact-kicker {
  margin: 0 0 5px;
  color: var(--green-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
}

.contact-hero h1 {
  margin: 0 0 15px;
  color: var(--green-950);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .06em;
}

.contact-hero p:last-child {
  margin: 0;
  color: #485148;
  font-size: 14px;
  line-height: 2;
}

.contact-section {
  padding: 76px 0 104px;
}

.contact-container {
  max-width: 900px;
}

.contact-intro {
  margin-bottom: 30px;
  color: #4d554e;
  font-size: 13px;
  line-height: 1.9;
}

.contact-intro p {
  margin: 0 0 5px;
}

.contact-form,
.confirm-box,
.complete-box,
.error-box {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.form-row,
.confirm-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}

.form-row:last-of-type,
.confirm-row:last-child {
  border-bottom: 0;
}

.form-row > label,
.confirm-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 25px 28px;
  color: #253126;
  background: #f7f8f3;
  font-size: 14px;
  font-weight: 700;
}

.form-row-message > label {
  align-items: flex-start;
}

.form-control,
.confirm-value {
  display: flex;
  align-items: center;
  padding: 18px 28px;
}

.form-row-message .form-control {
  align-items: flex-start;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ccd4ca;
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input {
  min-height: 48px;
  padding: 10px 13px;
}

.contact-form textarea {
  min-height: 190px;
  padding: 12px 13px;
  line-height: 1.8;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(53, 105, 64, .1);
}

.form-control-short input {
  max-width: 360px;
}

.required-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 3px 7px;
  border-radius: 3px;
  color: #fff;
  background: #9d513e;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.form-actions,
.confirm-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 34px 24px;
  background: #fbfbf8;
}

.contact-submit {
  min-width: 260px;
  border: 0;
  cursor: pointer;
}

.button-back {
  min-width: 180px;
  border: 1px solid #879388;
  color: #344037;
  background: #fff;
  cursor: pointer;
}

.button-back:hover,
.button-back:focus-visible {
  background: #f2f4ef;
}

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.confirm-value {
  min-width: 0;
  color: #333c35;
  font-size: 14px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.status-wrap {
  padding: 82px 0 108px;
}

.complete-box,
.error-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 58px 44px;
  text-align: center;
}

.complete-box h1,
.error-box h1 {
  margin: 0 0 16px;
  color: var(--green-950);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 30px;
  font-weight: 600;
}

.complete-box p,
.error-box p {
  margin: 0 0 28px;
  color: #4d554e;
  font-size: 14px;
  line-height: 2;
}

.error-list {
  margin: 0 0 30px;
  padding: 18px 20px 18px 42px;
  border-radius: 5px;
  color: #8a342b;
  background: #fff3f1;
  text-align: left;
  font-size: 13px;
}

.nav-shop {
  background: #7bae55;
  box-shadow: 0 8px 18px rgba(78, 126, 49, .18);
}

.nav-shop:hover,
.nav-shop:focus-visible {
  background: #659845;
}

.contact-footer {
  padding: 40px 0 24px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 28px;
  font-size: 12px;
}

.footer-nav a {
  opacity: .9;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.footer-bottom p {
  margin: 0;
  text-align: right;
  font-size: 11px;
}

@media (max-width: 820px) {
  .contact-hero {
    padding: 54px 0 48px;
  }

  .contact-section,
  .status-wrap {
    padding: 52px 0 72px;
  }

  .form-row,
  .confirm-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .form-row > label,
  .confirm-label {
    padding: 15px 18px 9px;
    background: #f7f8f3;
  }

  .form-control,
  .confirm-value {
    padding: 13px 18px 18px;
    background: #f7f8f3;
  }

  .form-control-short input {
    max-width: none;
  }

  .form-actions,
  .confirm-actions {
    flex-direction: column-reverse;
    padding: 26px 18px;
  }

  .contact-submit,
  .button-back {
    width: 100%;
    min-width: 0;
  }

  .complete-box,
  .error-box {
    padding: 40px 22px;
  }

  .footer-main {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
  }

  .contact-footer .footer-brand {
    justify-content: center;
  }

  .contact-footer .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.14);
    white-space: normal;
  }

  .contact-footer .footer-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255,255,255,.14);
    text-align: center;
    line-height: 1.45;
  }

  .contact-footer .footer-nav a:nth-child(odd):not(:last-child) {
    border-right: 1px solid rgba(255,255,255,.14);
  }


  .footer-bottom {
    margin-top: 18px;
  }

  .footer-bottom p {
    text-align: center;
  }
}

@media (min-width: 821px) {
  .sp-break {
    display: none;
  }
}


/* Privacy consent */
.privacy-consent {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid #dde4d6;
  border-radius: 5px;
  background: #f7f8f3;
}
.privacy-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4d554e;
  font-size: 13px;
  line-height: 1.8;
  cursor: pointer;
}
.privacy-consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--green-700);
  flex: 0 0 auto;
}
.privacy-consent a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-consent strong {
  color: #8a342b;
  font-size: 11px;
}
@media (max-width: 820px) {
  .privacy-consent { padding: 16px; }
  .contact-footer .footer-nav a:last-child { grid-column: auto; }
}
