@charset "UTF-8";
:root {
  --content-space: 16px;
  --content-negative-space: -16px;
  --content-width: 1160px;
  --u-content-width: 1000px;
  --content-max-width: calc(var(--content-width) + (var(--content-space) * 2));
  --content-narrow-width: 1000px;
  --content-narrow-max-width: calc(var(--content-narrow-width) + (var(--content-space) * 2));
  --color-white:#fff;
  --color-grey:#858585;
  --color-text:#000;
  --color-u-text:#006EC1;
  --color-main:#CE4800;
  --color-sub:#13843E;
  --color-accent:#FFE100;
  --color-corp:#43A207;
  --color-dark:#033c5e;
  --color-light:#FCF8E5;
  --font-main:"Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴシック", "メイリオ", sans-serif;
}

@media screen and (max-width: 767px) {
  :root {
    --content-space: 32px;
    --content-negative-space: -32px;
    --content-width: 100%;
    --u-content-width: 92%;
    --content-max-width: 100%;
    --content-narrow-width: 100%;
    --content-narrow-max-width: 100%;
  }
}
.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.roboto-medium {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.roboto-semibold {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.roboto-bold {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.roboto-black {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

:root {
  --form-input_padding: 5px;
  --form-input_font-size: 16px;
  --form-input_border: 1px solid #ccc;
}

.contact {
  width: 800px;
  margin: 0 auto 40px;
  text-align: left;
}
.contact > p {
  margin-bottom: 40px;
}

.c-contact-field {
  display: grid;
  grid-template-columns: 33% 1fr;
  margin-bottom: 40px;
}
.c-contact-field input[type=text],
.c-contact-field input[type=email],
.c-contact-field input[type=tel],
.c-contact-field textarea {
  width: 100%;
  padding: var(--form-input_padding);
  font-size: var(--form-input_font-size);
  border: var(--form-input_border);
}
.c-contact-field input.tel {
  width: 24%;
}
.c-contact-field input.zip {
  width: 25%;
  margin-bottom: 10px;
}
.c-contact-field textarea {
  height: 200px;
  line-height: 1.5;
}
.c-contact-field input[type=checkbox],
.c-contact-field input[type=radio] {
  margin: 0 5px 0 0;
}
.c-contact-field .wpcf7-checkbox,
.c-contact-field .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
.c-contact-field .wpcf7-checkbox .wpcf7-list-item,
.c-contact-field .wpcf7-radio .wpcf7-list-item {
  margin: 0;
}
.c-contact-field .wpcf7-checkbox label,
.c-contact-field .wpcf7-radio label {
  display: flex;
  align-items: baseline;
  cursor: pointer;
}
.c-contact-field .attention,
.c-contact-field .required,
.c-contact-field .any {
  padding: 4px 8px;
  border-radius: 5px;
  color: #fff;
  margin-right: 10px;
  font-size: 12px;
}
.c-contact-field .attention {
  font-size: 13px;
  color: #1e2a34;
  padding: 0;
  margin-right: 0;
}
.c-contact-field .required {
  background: #e00;
}
.c-contact-field .any {
  background: #aaa;
}

.c-contact-field__item {
  grid-column: span 2;
  display: grid;
  grid-template-columns: subgrid;
  border-bottom: 1px dotted #999;
}

.c-contact-field__title {
  padding: 15px 10px;
  font-size: var(--form-input_font-size);
  font-weight: 700;
}

.c-contact-field__detail {
  padding: 15px 10px;
  line-height: 1.5;
  font-size: var(--form-input_font-size);
}

.placeholder {
  text-align: left;
  color: #aaa;
  font-size: 13px;
}

.submit-area {
  text-align: center;
}
.submit-area input[type=submit] {
  display: flex;
  width: 240px;
  height: 60px;
  background-color: var(--color-main);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  font-size: 17px;
  text-decoration: none;
  transition: 0.3s;
  margin: 0 auto;
}
.submit-area input[type=submit]:hover {
  background-color: var(--color-corp);
  cursor: pointer;
}

.privacy {
  margin: 24px 0;
  width: 100%;
  height: 300px;
  border: 1px solid #1e2a34;
  padding: 20px 40px;
  overflow-y: scroll;
}
.privacy h2 {
  font-size: 18px;
  margin: 20px 0 10px;
  padding: 0;
  border: none;
  background-color: transparent;
  color: #000;
}
.privacy h2::before {
  content: none;
}
.privacy h3 {
  font-size: 16px;
  border-left: 0;
  padding-left: 0;
  margin: 18px 0 10px;
  border: none;
  background-color: transparent;
}
.privacy p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
}
.privacy ul.wp-block-list {
  margin-top: 10px;
}
.privacy ul.wp-block-list li {
  font-size: 14px;
  line-height: 1.4;
  margin-top: 5px;
}

.agree {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  line-height: 1.5;
}
.agree .required {
  padding: 4px 8px;
  border-radius: 5px;
  text-align: center;
  color: #fff;
  margin-right: 30px;
  font-size: 12px;
  background: #e00;
}
.agree .caution {
  display: block;
  margin-top: 5px;
}
.agree input[type=checkbox] {
  margin: 0 5px 0 0;
}
.agree .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
.agree .wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
}
.agree .wpcf7-checkbox label {
  display: flex;
  align-items: baseline;
  cursor: pointer;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  line-height: 1.3;
  font-size: 14px;
}

.formError.inline .formErrorContent {
  display: block;
  line-height: 1.3;
  font-size: 16px;
  color: #e00;
  background-color: transparent;
}

/* 郵便番号に出る「ハイフンなしで」を非表示 */
#autozip {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .contact {
    width: 100%;
    margin: 0 auto 40px;
    text-align: left;
  }
  .contact > p {
    margin: 40px 0 !important;
  }
  .c-contact-field {
    display: block;
  }
  .c-contact-field > .c-contact-field__item:first-child {
    border-top: 1px dotted #999;
  }
  .c-contact-field input.tel {
    padding: 5px;
    width: 60%;
    font-size: 16px;
  }
  .c-contact-field input.zip {
    width: 40%;
    margin-bottom: 10px;
    padding: 3px 5px;
    font-size: 16px;
  }
  .c-contact-field__item {
    display: block;
  }
  .c-contact-field__title {
    padding: 15px 0 0;
  }
  .c-contact-field__detail {
    padding: 15px 0;
  }
  /* iOSでのデフォルトスタイルをリセット */
  input[type=submit],
  input[type=button] {
    border-radius: 0;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    border: none;
    cursor: pointer;
  }
  input[type=submit]::-webkit-search-decoration,
  input[type=button]::-webkit-search-decoration {
    display: none;
  }
  input[type=submit]:focus,
  input[type=button]:focus {
    outline-offset: -2px;
  }
  .submit-area input[type=submit] {
    display: flex;
    width: 240px;
    height: 60px;
    background-color: var(--color-main);
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    text-decoration: none;
    margin: 20px auto;
    color: #fff;
    font-weight: bold;
  }
  .agree .required {
    flex-shrink: 0;
    margin-right: 10px;
  }
  .agree .text {
    text-align: left;
  }
  .agree .caution {
    font-size: 12px;
  }
  .wpcf7 form.invalid .wpcf7-response-output,
  .wpcf7 form.unaccepted .wpcf7-response-output,
  .wpcf7 form.payment-required .wpcf7-response-output {
    line-height: 1.3;
    font-size: 14px;
  }
  .privacy {
    height: 200px;
    padding: 0 8% 8%;
  }
  .privacy h2 {
    font-size: 16px;
    margin-top: 20px;
  }
  .privacy h3 {
    font-size: 15px;
    border-left: 0;
    margin-top: 16px;
  }
  .privacy p {
    line-height: 1.5;
  }
}