@charset "UTF-8";
:root {
  --content-width:1128px;
  --color-main:#4F9838;
  --color-main2:#2B7E1B;
  --color-accent:#D53B3D;
  --color-accent2:#E1FAA2;
  --color-accent3:#64BC37;
  --color-link:#006EC2;
  --color-link2:#475D39;
  --color-white:#fff;
  --color-grey:#F4F4F4;
  --color-grey2:#E3E3E3;
  --color-grey3:#757575;
  --color-text:#363636;
  --color-text2:#475D39;
  --color-light:#FCFFEC;
  --color-light2:#F7FAE4;
  --color-light3:#F2F8D2;
  --color-light4:#FAFBF5;
  --color-grad:linear-gradient(90deg, rgba(187,246,158,1) 0%, rgba(252,252,122,1) 100%);
}

.contact {
  width: 800px;
  margin: 0 auto 96px;
  text-align: left;
}
.contact > p {
  margin-bottom: 40px;
}
.contact dl {
  display: flex;
  border-bottom: 1px dotted #999;
}
.contact dl.last {
  margin-bottom: 40px;
}
.contact dl dt {
  width: 33%;
  padding: 15px 10px;
  font-weight: bold;
  font-size: 16px;
  font-size: 1.6rem;
}
.contact dl dt span {
  padding: 4px 8px;
  border-radius: 5px;
  color: #fff;
  margin-right: 10px;
  font-size: 12px;
}
.contact dl dt span.attention {
  font-size: 13px;
  color: #1e2a34;
  padding: 0;
  margin-right: 0;
}
.contact dl dt span.required {
  background: #e00;
}
.contact dl dt span.any {
  background: #aaa;
}
.contact dl dd {
  width: 67%;
  padding: 15px 10px;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.5;
}
.contact dl dd input[type=text] {
  width: 100%;
  padding: 5px;
  font-size: 16px;
  font-size: 1.6rem;
  border: 1px solid #ccc;
}
.contact dl dd input[type=email] {
  width: 100%;
  padding: 5px;
  font-size: 16px;
  font-size: 1.6rem;
  border: 1px solid #ccc;
}
.contact dl dd input.tel {
  width: 24%;
  padding: 5px;
  font-size: 16px;
  font-size: 1.6rem;
  border: 1px solid #ccc;
}
.contact dl dd input.zip {
  width: 20%;
  margin-bottom: 10px;
  border: 1px solid #ccc;
}
.contact dl dd textarea {
  width: 100%;
  height: 200px;
  padding: 5px;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.5;
  border: 1px solid #ccc;
}
.contact#entry {
  width: 1000px;
}

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

.submit-area {
  text-align: center;
}
.submit-area input[type=submit] {
  display: inline-block;
  padding: 16px 72px;
  background: url(../img/common/icon_arrow_right.png) 90% center no-repeat, var(--color-grad);
  border-radius: 100px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: 0.3s;
}
.submit-area input[type=submit]:hover {
  background-position: 92% center;
  filter: brightness(1.5);
}

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

p.agree {
  text-align: center;
}
p.agree span.required {
  padding: 4px 8px;
  border-radius: 5px;
  text-align: center;
  color: #fff;
  margin-right: 10px;
  font-size: 12px;
  background: #e00;
}

.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;
}

.kana-input span.wpcf7-not-valid-tip,
.kana-input .wpcf7-response-output {
  display: none !important;
}

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

@media screen and (max-width: 767px) {
  .contact {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto 40px;
    text-align: left;
  }
  .contact > p {
    margin: 40px 0 !important;
  }
  .contact dl {
    border-bottom: 1px dotted #999;
    display: block;
  }
  .contact dl:first-child {
    border-top: 1px dotted #999;
  }
  .contact dl.last {
    margin-bottom: 40px;
  }
  .contact dl dt {
    width: 100%;
    padding: 15px 0 0;
    font-weight: bold;
  }
  .contact dl dt span {
    padding: 4px 8px;
    border-radius: 5px;
    text-align: center;
    color: #fff;
    margin-right: 10px;
    font-size: 12px;
  }
  .contact dl dt span.required {
    background: #e00;
  }
  .contact dl dt span.any {
    background: #aaa;
  }
  .contact dl dt span.attention {
    font-size: 13px;
    color: #1e2a34;
    padding: 0;
    margin-right: 0;
  }
  .contact dl dd {
    width: 100%;
    padding: 15px 0;
    line-height: 1.5;
  }
  .contact dl dd input[type=text] {
    width: 100%;
    padding: 5px;
    font-size: 16px;
  }
  .contact dl dd input[type=email] {
    width: 100%;
    padding: 5px;
    font-size: 16px;
  }
  .contact dl dd input.tel {
    padding: 5px;
    width: 60%;
    font-size: 16px;
  }
  .contact dl dd input.zip {
    width: 40%;
    margin-bottom: 10px;
    padding: 3px 5px;
    font-size: 16px;
  }
  .contact dl dd textarea {
    width: 100%;
    height: 200px;
    padding: 5px;
    font-size: 16px;
    line-height: 1.5;
  }
  .contact p {
    text-align: left;
    margin-top: 0;
  }
  .contact#entry {
    width: 100%;
  }
  .placeholder {
    text-align: left;
    color: #aaa;
    font-size: 13px;
  }
  .submit-area {
    text-align: center;
  }
  /* iOSでのデフォルトスタイルをリセット */
  input[type=submit],
  input[type=button] {
    border-radius: 0;
    -webkit-box-sizing: content-box;
    -webkit-appearance: button;
    -moz-appearance: button;
         appearance: button;
    border: none;
    box-sizing: border-box;
    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;
    margin: 20px auto;
    justify-content: center;
    align-items: center;
  }
  p.agree {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  p.agree span.required {
    width: 40px;
    padding: 4px 8px;
    border-radius: 5px;
    text-align: center;
    color: #fff;
    margin-right: 10px;
    font-size: 12px;
    background: #e00;
  }
  p.agree span.text {
    width: calc(100% - 50px);
    text-align: left;
  }
  p.agree span.text span.wpcf7-list-item {
    margin: 0;
    text-indent: -1.5em;
    margin-left: 1.5em;
  }
  p.agree span.text span.caution {
    font-size: 12px;
    font-size: 1.2rem;
  }
  .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;
  }
  .kana-input span.wpcf7-not-valid-tip,
  .kana-input .wpcf7-response-output {
    display: none !important;
  }
  #contact .formError.inline .formErrorContent {
    display: block;
    line-height: 1.3;
    font-size: 16px;
    color: #e00;
    background-color: transparent;
  }
  .page-contact .privacy,
  .page-entry .privacy {
    margin: 24px 0;
    width: 100%;
    height: 200px;
    border: 1px solid #1e2a34;
    padding: 0 8% 8%;
    overflow-y: scroll;
  }
  .page-contact .privacy h2,
  .page-entry .privacy h2 {
    font-size: 16px !important;
    margin-top: 20px;
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 16px !important;
  }
  .page-contact .privacy h2::before,
  .page-entry .privacy h2::before {
    content: none;
  }
  .page-contact .privacy h3,
  .page-entry .privacy h3 {
    font-size: 15px !important;
    border-left: 0;
    padding-left: 0;
    margin-top: 16px;
  }
  .page-contact .privacy p,
  .page-entry .privacy p {
    margin-top: 10px;
    font-size: 14px !important;
    line-height: 1.5;
  }
  .page-contact .privacy ul,
  .page-entry .privacy ul {
    padding-left: 0;
  }
  .page-contact .privacy ul li,
  .page-entry .privacy ul li {
    align-items: flex-start;
  }
  .page-contact .privacy ul li a,
  .page-entry .privacy ul li a {
    font-size: 14px;
    font-size: 1.4rem;
  }
}