@charset "UTF-8";
:root {
  --primary-blue: #005bac;
  --bg-light-gray: #f8f9fa;
  --border-color: #d1d8e0;
  --red: #e60012;
}

.l-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 20px;
}
.l-container h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-top: 0;
  font-family: "Noto Serif JP", "ヒラギノ明朝 ProN W6", HiraMinProN-W6, HG明朝E, "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
}
@media (max-width: 768px) {
  .l-container h2 {
    font-size: 1.3rem;
  }
}
@media (max-width: 640px) {
  .l-container {
    padding: 0;
  }
}

.p-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}
@media (max-width: 960px) {
  .p-contact-wrapper {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .p-contact-wrapper .Center {
    margin: 15px auto 0;
  }
}

.p-contact-main {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px;
}
@media (max-width: 767px) {
  .p-contact-main {
    padding: 15px;
  }
}

.p-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}
@media (max-width: 640px) {
  .p-contact-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media screen and (max-width: 767px) {
  .p-contact-form__row {
    margin-bottom: 15px;
  }
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact__wrap {
  margin-bottom: 24px;
  margin-top: 0;
}
@media screen and (max-width: 767px) {
  .contact__wrap {
    margin-bottom: 15px;
  }
}
.contact__wrap:last-of-type {
  margin-bottom: 0;
}
.contact__wrap dt {
  font-weight: bold;
  margin-bottom: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 16px;
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .contact__wrap dt {
    margin-bottom: 8px;
  }
}
.contact__wrap dd {
  margin-left: 0;
}
@media screen and (max-width: 767px) {
  .contact__wrap dd {
    margin-top: 8px;
  }
}
.contact__wrap dd small {
  display: block;
  color: #999;
  font-size: 12px;
  margin-bottom: 6px;
}
.contact__wrap input[type=text],
.contact__wrap input[type=email],
.contact__wrap input[type=tel],
.contact__wrap select,
.contact__wrap textarea {
  width: 100% !important;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: #fff;
  font-size: 16px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.contact__wrap input[type=text]:focus,
.contact__wrap input[type=email]:focus,
.contact__wrap input[type=tel]:focus,
.contact__wrap select:focus,
.contact__wrap textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}
.contact__wrap textarea {
  height: 160px;
}

.requiare {
  background: var(--red);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 3px;
  margin-left: 10px;
  line-height: 1;
  font-weight: normal;
}

.u-label-optional {
  background: #ccc;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 3px;
  margin-left: 10px;
  line-height: 1;
  font-weight: normal;
}

.p-contact-form__privacy {
  background: var(--bg-light-gray);
  padding: 24px;
  margin-bottom: 32px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}
.p-contact-form__privacy a {
  color: var(--primary-blue);
  text-decoration: underline;
}

.wpcf7-acceptance {
  display: block;
  margin-top: 15px;
}
.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}
.wpcf7-acceptance .wpcf7-list-item label {
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
}

.Center {
  text-align: center;
  margin-top: 30px;
}
.Center input[type=submit] {
  background: var(--primary-blue);
  color: #fff;
  padding: 16px 80px;
  border-radius: 4px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  font-size: 16px;
  display: block;
  width: 100%;
  max-width: 320px;
  margin: auto;
}
.Center input[type=submit]:hover {
  opacity: 0.8;
}
@media screen and (max-width: 767px) {
  .Center input[type=submit] {
    display: block;
    width: 100%;
  }
}

input[type=checkbox] {
  width: 18px;
  height: 18px;
}

p.privacy {
  margin-top: 0;
}
@media (max-width: 767px) {
  p.privacy {
    font-size: 14px;
  }
}

.p-contact-sidebar .p-sidebar-box {
  background: var(--bg-light-gray);
  padding: 24px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
}
.p-contact-sidebar .p-sidebar-box p {
  color: #fff;
}
.p-contact-sidebar .p-sidebar-box:last-of-type {
  margin-bottom: 0;
}
.p-contact-sidebar .p-sidebar-box.--dark {
  background: #00254d;
  color: #fff;
}
.p-contact-sidebar .p-sidebar-box.--dark p {
  color: #fff;
}
.p-contact-sidebar .p-sidebar-box.--dark .p-sidebar-box__title {
  border-left: 4px solid #fff;
}
.p-contact-sidebar .p-sidebar-box.--dark a {
  color: #fff;
  text-decoration: underline;
}
.p-contact-sidebar .p-sidebar-box.--dark a:hover {
  opacity: 0.8;
}
.p-contact-sidebar .p-sidebar-box__title {
  font-size: 16px;
  font-weight: bold;
  border-left: 4px solid var(--primary-blue);
  padding-left: 12px;
  margin-bottom: 16px;
}

.p-sidebar-info div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
}
.p-sidebar-info div:last-child {
  border-bottom: none;
}
.p-sidebar-info dt {
  color: #666;
}
.p-sidebar-info dd {
  font-weight: bold;
}

.u-text-small {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  margin-top: 8px;
}

.p-contact-sidebar .p-sidebar-box p {
  color: #666;
}

.wpcf7-not-valid-tip {
  font-size: 12px;
}