@charset "UTF-8";
:root {
  --content-space: 16px;
  --content-negative-space: -16px;
  --content-width: 1200px;
  --u-content-width: 960px;
  --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:#F0F0F0;
  --color-greylight:#D6D6D6;
  --color-greydark:#4A5753;
  --color-text:#273430;
  --color-greentext:#006B2E;
  --color-greenbg:#E7ECE8;
  --color-main:#0B9635;
  --color-yellow:#FFD30E;
  --color-sub:#184416;
  --color-accent:#F97F2D;
  --color-dark:#033c5e;
  --color-light:#2186bf;
  --font-main: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", 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%;
  }
}
:root {
  --spacing-base: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --color-text-primary: #333;
  --color-text-secondary: #666;
  --color-border: #d2d2d2;
}

.contact-cta {
  margin: 60px auto;
}
.contact-cta .box {
  width: 596px;
  text-align: center;
  background-color: #fff;
  padding: 36px;
  margin: 0 auto;
  box-shadow: 2px 2px 5px var(--color-greydark);
}
.contact-cta .box p {
  color: var(--color-greydark);
  margin: 0;
}
.contact-cta .box p.title {
  font-size: 32px;
  font-size: 3.2rem;
  line-height: 1.8;
  font-weight: 700;
}
.contact-cta .box p.sub {
  font-size: 20px;
  font-size: 2rem;
  font-weight: 700;
}
.contact-cta .box p.sub.caption {
  font-size: 16px;
  font-size: 1.6rem;
}
.contact-cta .box a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 424px;
  height: 112px;
  font-size: 24px;
  font-size: 2.4rem;
  margin: 16px auto 0;
  transition: 0.3s;
}
.contact-cta .box a img {
  margin-right: 4px;
}
.contact-cta .box:nth-of-type(1) {
  background-image: url(../img/common/cta-bg.png);
  background-size: cover;
}
.contact-cta .box:nth-of-type(1) a {
  background-color: var(--color-main);
  border: 2px solid var(--color-main);
  color: #fff;
  text-decoration: none;
}
.contact-cta .box:nth-of-type(1) a:hover {
  background-color: #fff;
  color: var(--color-main);
}

@media screen and (max-width: 767px) {
  .contact-cta .box {
    width: 100%;
    padding: 16px;
    margin-bottom: 16px;
  }
  .contact-cta .box p.title {
    font-size: 24px;
    font-size: 2.4rem;
  }
  .contact-cta .box a {
    width: 100%;
    height: auto;
    font-size: 16px;
    font-size: 1.6rem;
    margin: 8px auto 0;
    padding: 8px 0;
  }
  .contact-cta .box a img {
    margin-right: 4px;
    width: 40px;
    height: 40px;
  }
  .contact-cta .box:nth-last-of-type(1) p.caption {
    text-align: left;
  }
  .contact-cta .box:nth-last-of-type(1) a img {
    width: 40px;
    height: 40px;
  }
}
.contact {
  width: 800px;
  margin: 0 auto 40px;
  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: 37%;
  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: 60%;
  padding: 15px 10px;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.5;
}
.contact dl dd input[type=text],
.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;
  padding: 5px;
  font-size: 16px;
  font-size: 1.6rem;
  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;
}

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

.submit-area {
  text-align: center;
}
.submit-area input[type=submit] {
  position: relative;
  display: inline-block;
  color: #fff;
  font-size: 16px;
  font-size: 1.6rem;
  background: var(--color-main);
  padding: 18px 64px;
  margin-top: 40px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid var(--color-main);
  line-height: 1;
  transition: 0.3s;
}
.submit-area input[type=submit]:hover {
  background: #fff;
  color: var(--color-main);
  font-weight: bold;
}

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

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

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

.page-thanks .wp-block-button__link {
  border-radius: 0;
}

@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;
  }
  .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;
    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] {
    font-size: 16px;
    font-size: 1.6rem;
  }
  div.wpcf7 .wpcf7-spinner {
    display: block;
  }
  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;
  }
  #contact .formError.inline .formErrorContent {
    display: block;
    line-height: 1.3;
    font-size: 16px;
    color: #e00;
    background-color: transparent;
  }
  .single-recruit-list .privacy,
  .page-contact .privacy {
    margin: 24px 0;
    width: 100%;
    height: 200px;
    border: 1px solid #1e2a34;
    padding: 0 8% 8%;
    overflow-y: scroll;
  }
  .single-recruit-list .privacy h2,
  .page-contact .privacy h2 {
    font-size: 16px;
    font-size: 1.6rem;
    margin-top: 20px;
    padding-bottom: 0;
    border-bottom: none;
  }
  .single-recruit-list .privacy h2::before,
  .page-contact .privacy h2::before {
    content: none;
  }
  .single-recruit-list .privacy h3,
  .page-contact .privacy h3 {
    font-size: 15px;
    font-size: 1.5rem;
    border-left: 0;
    padding-left: 0;
    margin-top: 16px;
  }
  .single-recruit-list .privacy p,
  .page-contact .privacy p {
    margin-top: 10px;
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1.5;
  }
  .single-recruit-list .privacy ul,
  .page-contact .privacy ul {
    padding-left: 0;
  }
  .single-recruit-list .privacy ul li,
  .page-contact .privacy ul li {
    align-items: flex-start;
  }
  .single-recruit-list .privacy ul li a,
  .page-contact .privacy ul li a {
    font-size: 14px;
    font-size: 1.4rem;
  }
}