/* =========================================================
   TEAM ONE
   お問い合わせページ
   contact.css
   ========================================================= */


/* =========================================================
   PAGE COMMON
   ========================================================= */

.subpage {
  background: #fff;
}

.page-section {
  padding: 68px 0;
}

.page-section.alt {
  background: var(--soft);
}

.section-eyebrow {
  margin: 0 0 7px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.section-eyebrow.center,
.page-heading.center {
  text-align: center;
}

.page-heading {
  margin: 0 0 16px;
  font-size: 31px;
  line-height: 1.45;
  font-weight: 900;
}

.page-heading span {
  color: var(--red);
}

.page-lead {
  max-width: 820px;
  margin: 0 auto 30px;
  color: #555;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
}


/* =========================================================
   CONTACT METHOD
   ========================================================= */

.contact-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.contact-method {
  display: flex;
  min-height: 170px;
  padding: 24px 18px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  text-align: center;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);
}

.contact-method.tel {
  background: #e5161e;
}

.contact-method.line {
  background: #05b83f;
}

.contact-method.mail {
  background: #087ebd;
}

.contact-method i {
  margin-bottom: 12px;
  font-size: 34px;
}

.contact-method span {
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 700;
}

.contact-method strong {
  font-size: 17px;
  font-weight: 900;
}

.contact-method small {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 700;
}

.contact-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 920px;
  margin: 18px auto 0;
  padding: 14px 17px;
  border: 1px solid #ddd;
  border-radius: 9px;
  background: #fafafa;
}

.contact-notice i {
  margin-top: 3px;
  color: var(--red);
}

.contact-notice p {
  margin: 0;
  color: #555;
  font-size: 11px;
  line-height: 1.7;
}


/* =========================================================
   FORM
   ========================================================= */

.contact-form {
  max-width: 920px;
  margin: 0 auto;
}

.form-section {
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
}

.form-section > h3 {
  margin: 0;
  padding: 15px 20px;
  background: #111;
  color: #fff;
  font-size: 17px;
}

.form-section-note {
  margin: 0;
  padding: 14px 20px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
  color: #555;
  font-size: 11px;
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: start;
  padding: 17px 20px;
  border-bottom: 1px solid #eee;
}

.form-section .form-row:last-child {
  border-bottom: 0;
}

.form-row > label {
  padding-top: 10px;
  color: #333;
  font-size: 13px;
  font-weight: 900;
}

.required {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  vertical-align: 2px;
}

.form-field input,
.form-field select,
.form-field textarea,
.form-row-two input,
.schedule-item input,
.schedule-item select {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 7px;
  background: #fff;
  color: #222;
  font-family: inherit;
  font-size: 14px;
}

.form-field input,
.form-field select,
.form-row-two input,
.schedule-item input,
.schedule-item select {
  min-height: 46px;
  padding: 9px 11px;
}

.form-field textarea {
  padding: 11px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.form-row-two input:focus,
.schedule-item input:focus,
.schedule-item select:focus {
  border-color: var(--red);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.08);
}

.form-field small {
  display: block;
  margin-top: 6px;
  color: #777;
  font-size: 10px;
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 17px 20px;
  border-bottom: 1px solid #eee;
}

.form-row-two label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 900;
}

.file-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.file-grid > div {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
}

.file-grid span {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 900;
}

.file-grid input[type="file"] {
  min-height: auto;
  padding: 5px 0;
  border: 0;
  background: transparent;
  font-size: 11px;
}

.file-grid > small {
  grid-column: 1 / 3;
  margin: 0;
}


/* =========================================================
   SCHEDULE
   ========================================================= */

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 20px;
}

.schedule-item {
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 9px;
  background: #fafafa;
}

.schedule-item strong {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 13px;
}

.schedule-item input {
  margin-bottom: 8px;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.form-submit-area {
  text-align: center;
}

.form-submit-area p {
  margin: 0 0 12px;
  color: #666;
  font-size: 11px;
}

.form-submit-area button {
  display: inline-flex;
  min-width: 300px;
  min-height: 54px;
  padding: 12px 26px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.form-submit-area button:hover {
  opacity: 0.9;
}


/* =========================================================
   BOTTOM CONTACT
   ========================================================= */

.bottom-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.bottom-contact a {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-radius: 10px;
  color: #fff;
}

.bottom-contact .tel {
  background: #e5161e;
}

.bottom-contact .line {
  background: #05b83f;
}

.bottom-contact i {
  font-size: 30px;
}

.bottom-contact span {
  display: block;
  font-size: 11px;
}

.bottom-contact strong {
  display: block;
  margin-top: 2px;
  font-size: 17px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 768px) {
  .page-section {
    padding: 48px 0;
  }

  .contact-intro {
    padding-top: 32px;
  }

  .page-heading {
    font-size: 23px;
  }

  .page-lead {
    font-size: 13px;
  }

  .contact-method-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 7px;
  }

  .contact-method {
    min-height: 116px;
    padding: 14px 7px;
  }

  .contact-method i {
    margin-bottom: 8px;
    font-size: 25px;
  }

  .contact-method span {
    display: none;
  }

  .contact-method strong {
    font-size: 11px;
  }

  .contact-method small {
    font-size: 9px;
  }

  .form-section > h3 {
    padding: 13px 15px;
    font-size: 15px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 15px;
  }

  .form-row > label {
    padding-top: 0;
  }

  .form-row-two {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 15px;
  }

  .file-grid {
    grid-template-columns: 1fr;
  }

  .file-grid > small {
    grid-column: auto;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .form-submit-area button {
    width: 100%;
    min-width: 0;
  }

  .bottom-contact {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}

@media screen and (max-width: 430px) {
  .contact-method strong {
    font-size: 10px;
  }

  .contact-method small {
    font-size: 8px;
  }
}

/* =========================================================
   プライバシーポリシー案内
   ========================================================= */

.privacy-agreement {
  margin: 24px 0 18px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f7f7f7;
  text-align: center;
}

.privacy-agreement p {
  margin: 0;
  color: #555;
  font-size: 12px;
  line-height: 1.8;
}

.privacy-agreement a {
  color: var(--red);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}