@charset "UTF-8";
.l-form .l-page-header {
  padding: 40px 15px;
  margin-bottom: 30px;
}
@media print, screen and (min-width: 1000px) {
  .l-form .l-page-header {
    padding: 80px 0;
    margin-bottom: 50px;
  }
}
.l-form p {
  margin: 1rem 0;
}
.l-form h4 {
  font-size: 2.4rem;
  font-weight: 500;
  margin: 30px 0 10px 0;
}
@media print, screen and (min-width: 1000px) {
  .l-form h4 {
    margin: 50px 0 20px;
  }
}
.l-form .tel-contact {
  color: #1f8a2e;
  display: inline-block;
  text-align: center;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
}

fieldset {
  padding: 0;
  margin: 0;
  border: none;
}

.l-about-gaiyou table,
#wpcf7cpcnf table,
table.form {
  box-sizing: border-box;
  margin-top: 10px;
  margin-bottom: 30px;
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}
.l-about-gaiyou table span.red,
#wpcf7cpcnf table span.red,
table.form span.red {
  color: #c1272d;
}

.l-about-gaiyou table,
#wpcf7cpcnf table,
table.form {
  border-collapse: collapse;
}
.l-about-gaiyou table th, .l-about-gaiyou table td,
#wpcf7cpcnf table th,
#wpcf7cpcnf table td,
table.form th,
table.form td {
  vertical-align: top;
  padding: 1em;
  vertical-align: middle;
}
.l-about-gaiyou table tr:nth-child(odd),
#wpcf7cpcnf table tr:nth-child(odd),
table.form tr:nth-child(odd) {
  background-color: #f2f2f2;
}

.l-about-gaiyou table,
#wpcf7cpcnf table th,
table.form th {
  text-align: left;
  font-weight: 500;
}
@media print, screen and (max-width: 767px) {
  .l-about-gaiyou table,
  #wpcf7cpcnf table th,
  table.form th {
    padding: 1em 1em 0 1em;
    font-weight: 700;
  }
}

span.hiss {
  padding: 3px 5px 4px 5px;
  background: red;
  color: #fff;
  white-space: nowrap;
  font-size: 1.2rem;
  margin-right: 10px;
  font-weight: normal;
  border-radius: 4px;
  margin-left: 5px;
}

select {
  font-size: 1.6rem;
}

#wpcf7cpcnf table,
table.form {
  font-size: 1.6rem;
}
#wpcf7cpcnf table span,
table.form span {
  font-size: 1.4rem;
}
#wpcf7cpcnf table input[type=text],
#wpcf7cpcnf table input[type=password],
#wpcf7cpcnf table input[type=email],
#wpcf7cpcnf table input[type=tel],
#wpcf7cpcnf table input[type=textarea],
#wpcf7cpcnf table textarea,
#wpcf7cpcnf table select,
table.form input[type=text],
table.form input[type=password],
table.form input[type=email],
table.form input[type=tel],
table.form input[type=textarea],
table.form textarea,
table.form select {
  border: 1px solid #CCC;
  background: #fff;
  margin: 0 2px 5px 2px;
  padding: 1em;
  width: 95%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 100%;
}
#wpcf7cpcnf table select,
table.form select {
  border: 1px solid #CCC;
  font-size: 1.4rem;
}
#wpcf7cpcnf table input.border30,
#wpcf7cpcnf table select.border30,
table.form input.border30,
table.form select.border30 {
  width: 35rem;
}
#wpcf7cpcnf table input.border15,
#wpcf7cpcnf table select.border15,
table.form input.border15,
table.form select.border15 {
  max-width: 15rem;
}
#wpcf7cpcnf table input.border10,
#wpcf7cpcnf table select.border10,
table.form input.border10,
table.form select.border10 {
  width: 10rem;
}
#wpcf7cpcnf table input.border7,
#wpcf7cpcnf table select.border7,
table.form input.border7,
table.form select.border7 {
  width: 8rem;
}
#wpcf7cpcnf table input.border5,
#wpcf7cpcnf table select.border5,
table.form input.border5,
table.form select.border5 {
  width: 5.5em;
}
#wpcf7cpcnf table input.namesize,
#wpcf7cpcnf table select.namesize,
table.form input.namesize,
table.form select.namesize {
  width: 90%;
}
#wpcf7cpcnf table textarea,
table.form textarea {
  box-sizing: border-box;
  margin-top: 5px;
}
#wpcf7cpcnf table input.wpcf7-not-valid,
#wpcf7cpcnf table textarea.wpcf7-not-valid,
table.form input.wpcf7-not-valid,
table.form textarea.wpcf7-not-valid {
  background-color: pink;
}
#wpcf7cpcnf table input:focus, #wpcf7cpcnf table select:focus, #wpcf7cpcnf table textarea:focus,
table.form input:focus,
table.form select:focus,
table.form textarea:focus {
  background-color: #F1F8FD;
  outline: none;
  border-color: #76BCF0;
}

.wpcf7cp-btns button,
.submit {
  text-align: center;
  margin: 50px auto 15px auto;
}

.wpcf7cp-btns button,
input[type=submit],
input[type=button] {
  width: 100%;
}

*:first-child + html input[type=submit] {
  padding: 3px;
}

span .wpcf7-list-item {
  padding-right: 1em;
  margin: 0;
}

p.privacy {
  text-align: center;
  font-size: 1.2rem;
}

.agreement-checkbox {
  text-align: center;
}
.agreement-checkbox input[type=checkbox] {
  transform: scale(2);
  margin: 0 6px 0 0;
}

div.form-submit {
  margin: 20px auto 40px auto;
}

@media print, screen and (max-width: 767px) {
  .l-about-gaiyou table,
  #wpcf7cpcnf table,
  table.form {
    box-sizing: border-box;
  }
  .l-about-gaiyou table tr th, .l-about-gaiyou table tr td,
  #wpcf7cpcnf table tr th,
  #wpcf7cpcnf table tr td,
  table.form tr th,
  table.form tr td {
    width: 100%;
    display: block;
    border-top: none;
    box-sizing: border-box;
  }
  .l-about-gaiyou table input[type=text],
  .l-about-gaiyou table input[type=password],
  .l-about-gaiyou table input[type=email],
  .l-about-gaiyou table input[type=tel],
  .l-about-gaiyou table input[type=textarea],
  .l-about-gaiyou table textarea,
  .l-about-gaiyou table select,
  #wpcf7cpcnf table input[type=text],
  #wpcf7cpcnf table input[type=password],
  #wpcf7cpcnf table input[type=email],
  #wpcf7cpcnf table input[type=tel],
  #wpcf7cpcnf table input[type=textarea],
  #wpcf7cpcnf table textarea,
  #wpcf7cpcnf table select,
  table.form input[type=text],
  table.form input[type=password],
  table.form input[type=email],
  table.form input[type=tel],
  table.form input[type=textarea],
  table.form textarea,
  table.form select {
    padding: 0.5em;
    transform: scale(1);
    font-size: 1.6rem;
  }
}
@media print, screen and (min-width: 768px) {
  .form {
    width: 100%;
    margin: 50px auto;
  }
  .l-about-gaiyou table th,
  table.form th {
    width: 35%;
  }
  .l-about-gaiyou table th, .l-about-gaiyou table td,
  table.form th,
  table.form td {
    padding: 1em;
  }
  .wpcf7cp-btns button,
  input[type=submit],
  input[type=button] {
    font-size: 1.8rem;
    width: 320px;
    margin: 50px auto 0 auto;
  }
}
.l-page .privacy {
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.l-page .privacy .scroll {
  max-height: 300px; /* 高さ制限 */
  overflow-y: auto; /* 縦スクロールを有効化 */
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 300;
}
.l-page .privacy .scroll h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 1.5em 0 0.5em;
}
.l-page .privacy .scroll p {
  font-size: 1.2rem;
  margin-bottom: 1em;
}
.l-page .privacy .scroll ul {
  margin: 0 0 0 1.5em;
  list-style-type: circle;
}
.l-page .privacy .scroll ul li {
  margin-bottom: 0.5em;
}

.checkbox-item,
.radio-item {
  padding: 5px 1.5em 5px 0;
}

.button-container {
  display: flex;
  justify-content: center;
  margin: 30px 0;
  width: 100%;
}

.submit-button {
  background-color: #39b54a;
  color: #fff;
  width: 320px;
  padding: 15px 0;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: #2d9d3c;
}

.submit-button:focus {
  outline: 2px solid #1f8a2e;
  outline-offset: 2px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .submit-button {
    width: 90%; /* 画面幅に応じてボタン幅を調整 */
    max-width: 320px;
    font-size: 15px;
    padding: 12px 0;
  }
}
@media screen and (max-width: 480px) {
  .submit-button {
    width: 100%;
    font-size: 14px;
    padding: 10px 0;
  }
}
.l-privacy h3 {
  margin-top: 1em;
}
.l-privacy h3 ol {
  margin: 1.5em 0 0 1.5em;
}
.l-privacy h3 ol li {
  margin-bottom: 1em;
}/*# sourceMappingURL=form.css.map */