@charset "utf-8";

body.contact-page { background: #fff; margin: 0; }

/* TOPと同じヘッダー寸法を維持する */
.contact-page header { height: 80px; isolation: isolate; z-index: 10000; }
.contact-page header #wrap-header { height: 80px; }
.contact-page header #wrap-header h1 { height: 80px; line-height: 80px; }
.contact-page header #wrap-header h1 a { height: 80px; }
.contact-page header #wrap-header h1 img { top: 5px; width: 400px; }
.contact-page header .hbgbtn { background: transparent; border: 0; min-width: 0; padding: 0; }

.contact-page main { margin: 0; padding: 80px 0 0; }
.contact-page .title-block { background: #f3f3f3; margin: 0; padding: 120px 80px 110px; }
.contact-page .title-block h1 {
  background: transparent;
  float: none;
  font-family: "Inter", sans-serif;
  font-size: 54px;
  font-weight: bold;
  letter-spacing: .1em;
  line-height: 1.1;
  margin: 0 0 64px;
  width: auto;
}
.contact-page .title-block .sub-title {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0;
  padding-top: 12px;
}
.contact-page .intro { font-size: 18px; letter-spacing: .02em; line-height: 2; white-space: nowrap; }

.contact-page .contact-form,
.contact-page .notice { margin: 0 auto; max-width: 840px; }
.contact-page .contact-form { padding: 120px 0 140px; }
.contact-page .notice { border: 1px solid #bbb; box-sizing: border-box; margin-bottom: 80px; margin-top: 100px; padding: 44px; }
.contact-page .notice h2 { font-size: 32px; line-height: 1.4; margin-bottom: 24px; }
.contact-page .notice p { font-size: 18px; line-height: 1.8; }
.contact-page .notice p:last-child { margin-bottom: 0; }
.contact-page .notice.error { border-color: #9e3634; color: #7f2826; }
.contact-page .notice ul { margin-top: 15px; }
.contact-page .notice li { font-size: 14px; line-height: 1.8; list-style: disc; margin-left: 1.4em; }
.contact-page .local-note { color: #666; font-size: 16px; }

.contact-page .field {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: 260px minmax(0, 1fr);
  padding: 22px 0;
}
.contact-page .field label { font-size: 16px; font-weight: bold; letter-spacing: .04em; padding-top: 14px; }
.contact-page .field label span { color: #888; font-size: 11px; font-weight: normal; margin-left: 12px; }
.contact-page input,
.contact-page textarea {
  background: #f7f7f7;
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  box-sizing: border-box;
  color: #000;
  font-family: inherit;
  font-size: 16px;
  padding: 16px 18px;
  width: 100%;
}
.contact-page input:focus,
.contact-page textarea:focus { background: #fff; outline: 1px solid #000; }
.contact-page textarea { min-height: 240px; resize: vertical; }
.contact-page .privacy-consent { align-items: center; display: flex; font-size: 14px; gap: 12px; justify-content: center; margin: 42px 0 30px; }
.contact-page .privacy-consent input { appearance: none; background: #fff; border: 1px solid #111; box-sizing: border-box; cursor: pointer; flex: 0 0 22px; height: 22px; margin: 0; padding: 0; width: 22px; }
.contact-page .privacy-consent input:checked { background: #111; box-shadow: inset 0 0 0 5px #fff; }
.contact-page .privacy-consent span { align-items: center; display: flex; }
.contact-page .privacy-consent a { border-bottom: 1px solid #111; display: inline-block; margin-right: 2px; }
.contact-page main button {
  background: #111;
  border: 1px solid #111;
  color: #fff;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: .16em;
  margin-left: auto;
  margin-right: auto;
  min-width: 260px;
  display: block;
  padding: 22px 36px;
  transition: background .2s ease, color .2s ease;
}
.contact-page main button:hover { background: #fff; color: #111; }
.contact-page main button:disabled { background: #d8d8d8; border-color: #d8d8d8; color: #888; cursor: not-allowed; }
.contact-page .honeypot { left: -9999px; position: absolute; }

@media screen and (max-width: 1024px) {
  .contact-page header { height: 143px; }
  .contact-page main { padding-top: 143px; }
  .contact-page header #wrap-header h1 img { top: 5px; width: 400px; }
}

@media screen and (max-width: 767px) {
  .contact-page header { height: 70px; }
  .contact-page main { padding-top: 70px; }
  .contact-page header #wrap-header { height: 70px; overflow: hidden; }
  .contact-page header #wrap-header h1,
  .contact-page header #wrap-header h1 a { height: 70px; line-height: 70px; }
  .contact-page header .hbgbtn { width: 44px; }
  .contact-page header .hbg { position: absolute; right: 0; top: 0; }
  .contact-page.menu-open header,
  .contact-page.menu-open header #wrap-header { height: 100vh; overflow-y: auto; }
  .contact-page header #wrap-header h1 img { padding-left: 10px; top: 0; width: auto; }
  .contact-page header .gnaviBox { display: block; transform: translateY(-110%); transition: transform .3s ease; }
  .contact-page.menu-open header .gnaviBox { transform: translateY(0); }
  .contact-page .title-block { padding: 80px 20px 72px; }
  .contact-page .title-block h1 { font-size: 32px; margin-bottom: 36px; }
  .contact-page .intro { font-size: 15px; }
  .contact-page .intro { white-space: normal; }
  .contact-page .contact-form { padding: 80px 20px 100px; }
  .contact-page .field { gap: 12px; grid-template-columns: 1fr; padding: 26px 0; }
  .contact-page .field label { font-size: 14px; padding-top: 0; }
  .contact-page main button { width: 100%; }
}
