.secForm {
  margin-top: -0.75em;
  padding: 2em 0 3em !important;
}
@media screen and (min-width: 768px) {
  .secForm {
    margin-top: -0.875em;
    padding: 3em 0 4em !important;
  }
}
.secForm__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-gap: 2.5em;
}
@media screen and (min-width: 992px) {
  .secForm__container {
    grid-gap: 3em;
  }
}
.secForm__cautionList {
  width: 100%;
  max-width: 1100px;
  font-size: 0.9rem;
  display: grid;
  grid-gap: 12px;
  background-color: #f9f9f9;
  padding: 1.5em 1.5em 1.5em 2em;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}
.secForm__cautionList > li {
  padding-left: 1.2em;
  margin: 0;
  position: relative;
  line-height: 1.6;
}
.secForm__cautionList > li::before {
  content: "●";
  color: var(--main);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.8em;
}
.secForm__cautionList a {
  color: var(--main);
  text-decoration: underline;
}
.secForm__cautionList a:hover {
  text-decoration: none;
}
@media screen and (min-width: 768px) {
  .secForm__cautionList {
    font-size: 0.95rem;
    padding: 2em 2em 2em 2.5em;
  }
}
@media screen and (min-width: 992px) {
  .secForm__cautionList {
    font-size: 1rem;
  }
}
.secForm__formWrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  background-color: #fff;
  padding: 2em 1.5em;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
@media screen and (min-width: 768px) {
  .secForm__formWrap {
    padding: 2.5em 2.5em 3em;
  }
}
@media screen and (max-width: 768px) {
    .secForm__formWrap {
        padding: 0;
        box-shadow: none;
    }
}

.secForm__formTable {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 87.5%;
  background-color: #fff;
  overflow: hidden;
}
.secForm__formTable th, .secForm__formTable td {
  font-size: 100%;
  font-weight: 500;
  border-bottom: 1px solid #e8e8e8;
}
.secForm__formTable th {
  background-color: #fafafa;
  font-weight: 600;
  vertical-align: middle;
  color: #333;
}
.secForm__formTable tr:last-child th,
.secForm__formTable tr:last-child td {
  border-bottom: none;
}
.secForm__formTable th:has(.wpcf7cf-hidden), .secForm__formTable td:has(.wpcf7cf-hidden) {
  padding: 0;
}
.secForm__formTable input[type=text], .secForm__formTable [type=tel], .secForm__formTable [type=email], .secForm__formTable [type=date], .secForm__formTable textarea, .secForm__formTable select {
  width: 100%;
  height: 2.8571em;
  padding: 0.7143em 0.8em;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  transition: border-color 0.3s ease;
}
@media screen and (max-width: 768px) {
    .secForm__formTable input[type=text], .secForm__formTable [type=tel], .secForm__formTable [type=email], .secForm__formTable [type=date], .secForm__formTable textarea, .secForm__formTable select {
        margin-bottom: 0;
    }
}
.secForm__formTable input[type=text]:focus, .secForm__formTable [type=tel]:focus, .secForm__formTable [type=email]:focus, .secForm__formTable [type=date]:focus, .secForm__formTable textarea:focus, .secForm__formTable select:focus {
  border-color: var(--main);
  outline: none;
}
.secForm__formTable input[type=text]::-moz-placeholder, .secForm__formTable [type=tel]::-moz-placeholder, .secForm__formTable [type=email]::-moz-placeholder, .secForm__formTable [type=date]::-moz-placeholder, .secForm__formTable textarea::-moz-placeholder, .secForm__formTable select::-moz-placeholder {
  color: #999;
}
.secForm__formTable input[type=text]::placeholder, .secForm__formTable [type=tel]::placeholder, .secForm__formTable [type=email]::placeholder, .secForm__formTable [type=date]::placeholder, .secForm__formTable textarea::placeholder, .secForm__formTable select::placeholder {
  color: #999;
}
.secForm__formTable input[type=text].fm_formS, .secForm__formTable [type=tel].fm_formS, .secForm__formTable [type=email].fm_formS, .secForm__formTable [type=date].fm_formS, .secForm__formTable textarea.fm_formS, .secForm__formTable select.fm_formS {
  max-width: 11.25em;
}
.secForm__formTable input[type=text].disabled, .secForm__formTable [type=tel].disabled, .secForm__formTable [type=email].disabled, .secForm__formTable [type=date].disabled, .secForm__formTable textarea.disabled, .secForm__formTable select.disabled {
  color: rgba(31, 92, 44, 0.8);
  pointer-events: none;
}
.secForm__formTable textarea {
  height: 150px;
  padding: 0.8em;
  line-height: 1.6;
  resize: vertical;
}
.secForm__formTable select {
  padding: 0.7143em 2.8571em 0.7143em 0.8em;
}
.secForm__formTable input[type=radio], .secForm__formTable input[type=checkbox] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #d0d0d0;
  background-color: #fff;
  cursor: pointer;
  margin-right: 0.3em;
  flex-shrink: 0;
  transition: all 0.2s ease;
  position: relative;
}
.secForm__formTable input[type=radio]:hover, .secForm__formTable input[type=checkbox]:hover {
  border-color: var(--main);
}
.secForm__formTable input[type=radio]:focus, .secForm__formTable input[type=checkbox]:focus {
  outline: none;
  border-color: var(--main);
  box-shadow: 0 0 0 3px rgba(31, 92, 44, 0.1);
}
.secForm__formTable input[type=radio] {
  border-radius: 50%;
}
.secForm__formTable input[type=checkbox] {
  border-radius: 4px;
}
.secForm__formTable input[type=radio]:checked {
  border-color: var(--main);
  background-color: var(--main);
}
.secForm__formTable input[type=radio]:checked::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.secForm__formTable input[type=checkbox]:checked {
  border-color: var(--main);
  background-color: var(--main);
}
.secForm__formTable input[type=checkbox]:checked::after {
  content: '';
  display: block;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  position: absolute;
  top: 2px;
  left: 6px;
  transform: rotate(45deg);
}
.secForm__formTable .wpcf7-list-item label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  line-height: 1.4;
}
.secForm__formTable .wpcf7-list-item label .wpcf7-list-item-label {
  display: inline-block;
  margin-top: 1px;
}
.secForm__formTable label {
  font-weight: 600;
}
.secForm__formTable label.required::after {
  content: "必須";
  margin-left: 0.5em;
  padding: 0.2em 0.5em;
  background-color: #e74c3c;
  color: #fff;
  font-size: 0.7em;
  font-weight: 600;
  border-radius: 3px;
}
.secForm__formTable a {
  color: var(--main);
  text-decoration: underline;
}
.secForm__formTable a:hover {
  text-decoration: none;
}
.secForm__formTable small {
  font-size: 90%;
}

/* 住所フィールド */
.secForm__formTable .address-fields {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.secForm__formTable .address-field {
  display: flex;
  flex-direction: column;
  /* gap: 0.4em; */
}
.secForm__formTable .address-field p {
    line-height: 1;
}


.secForm__formTable .address-field .address-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  margin: 0;
  margin-bottom: 0.4em;
}
.secForm__formTable .address-field .address-label::after {
  display: none;
}
.secForm__formTable .address-field input[type="text"],
.secForm__formTable .address-field .selectWrap {
  width: 100%;
}

.secForm__formTable .selectWrap {
  display: inline-block;
  position: relative;
  cursor: pointer;
  width: 100%;
}
.secForm__formTable .selectWrap select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.secForm__formTable .selectWrap::before {
  content: "";
  width: 0.8em;
  height: 0.8em;
  border-right: 2px solid var(--main);
  border-bottom: 2px solid var(--main);
  transform: rotate(45deg);
  display: block;
  position: absolute;
  top: 50%;
  right: 1.2em;
  margin-top: -0.6em;
  z-index: 1;
  pointer-events: none;
}
.secForm__formTable .dateWrap {
  width: 80%;
}
@media screen and (min-width: 768px) {
  .secForm__formTable .dateWrap {
    width: 40%;
    margin-right: 10px;
    display: inline-block;
  }
}
.secForm__formTable .koumokuWrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.secForm__formTable .koumokuWrap .koumoku-title {
  padding: 0.2em 0.5em;
  margin-bottom: 0.5em;
  background-color: var(--text);
  color: #fff;
  display: inline-block;
}
.secForm__formTable .koumokuWrap .wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6em;
}
.secForm__formTable .koumokuWrap .wpcf7-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}
.secForm__formTable .koumokuWrap .wpcf7-checkbox label .wpcf7-list-item-label {
  margin-top: 1px;
}
.secForm__formTable .humanWrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-gap: 20px;
}
.secForm__formTable .humanWrap__blk {
  width: 100%;
  display: flex;
  align-items: center;
}
.secForm__formTable .humanWrap__blk > p {
  flex-shrink: 0;
}
.secForm__formTable .humanWrap__blk input {
  width: 10em;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .secForm__formTable .humanWrap {
    flex-direction: row;
    align-items: center;
  }
  .secForm__formTable .humanWrap__blk {
    width: auto;
  }
  .secForm__formTable .humanWrap__blk input {
    width: 8em;
  }
}
.secForm__formTable .wpcf7-list-item {
  margin-left: 0;
  margin-bottom: 0.5em;
}
.secForm__formTable .wpcf7-list-item:last-child {
  margin-bottom: 0;
}
.secForm__formTable .wpcf7-form-control#your-catalog .wpcf7-list-item:not(:last-child) {
  margin-bottom: 0.8em;
}
.secForm__formTable .wpcf7-form-control#your-method .wpcf7-list-item {
  display: inline-block;
  margin-right: 1em;
  margin-bottom: 0.5em;
}
.secForm__formTable .wpcf7-form-control.wpcf7-checkbox,
.secForm__formTable .wpcf7-form-control.wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1em;
}

.secForm__formTable .wpcf7-form-control.wpcf7-radio label {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}
.secForm__formTable .wpcf7-form-control.wpcf7-radio label .wpcf7-list-item-label {
  margin-top: 1px;
}
.secForm__formTable .wpcf7-form-control.js-question {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 1.5em;
}
.secForm__formTable .wpcf7-form-control.js-question .wpcf7-list-item > label {
  display: flex;
  align-items: center;
  grid-gap: 0.3em;
}
.secForm__formTable .wpcf7-form-control.js-question .wpcf7-list-item > label .wpcf7-list-item-label {
  margin-top: 1px;
}
.secForm__formTable .wpcf7-form-control.wpcf7-radio .wpcf7-list-item:not(:first-child) {
  margin-left: 1em;
}
@media screen and (max-width: 768px) {
    .secForm__formTable .wpcf7-form-control.wpcf7-checkbox,
    .secForm__formTable .wpcf7-form-control.wpcf7-radio {
        gap: 0.5em;
    }
}
@media screen and (max-width: 768px) {
    .secForm__formTable .wpcf7-form-control.wpcf7-radio .wpcf7-list-item:not(:first-child) {
        margin-left: 0;
      }
}
.secForm__formTable .btnWrap {
  background-color: transparent;
  border: none;
}
.secForm__formTable .btnWrap > p {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2em;
}
.secForm__formTable .wpcf7-submit {
  width: 100%;
  max-width: 400px;
  padding: 1.2em 2em;
  font-size: 1.1rem;
  font-weight: 600;
  background-color: var(--main);
  color: #fff;
  border: 2px solid var(--main);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.secForm__formTable .wpcf7-submit:hover {
  background-color: #fff;
  color: var(--main);
}
@media screen and (max-width: 767px) {
  .secForm__formTable th, .secForm__formTable td {
    width: 100%;
    display: block;
  }
  .secForm__formTable th {
    padding: 1em;
    border-bottom: none;
  }
  .secForm__formTable td {
    padding: 1em;
  }
  .secForm__formTable tr:last-child td {
    border-bottom: none;
  }
}
@media screen and (min-width: 768px) {
  .secForm__formTable th {
    width: 30%;
    padding: 1.2em 1.5em;
    white-space: nowrap;
  }
  .secForm__formTable td {
    width: 70%;
    padding: 1.2em 1.5em;
  }
  .secForm__formTable td:has(.js-question) {
    padding: 1.2em 1.5em;
  }
  .secForm__formTable .koumokuWrap {
    padding-top: 10px;
  }
  .secForm__formTable .wpcf7-form-control#your-catalog {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media screen and (min-width: 992px) {
  .secForm__formTable {
    font-size: 100%;
  }
}
.secForm:has(#wpcf7cpcnf) .inputOnly {
  display: none !important;
}
.secForm #wpcf7cpcnf table {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 87.5%;
  overflow: hidden;
  background-color: #fff;
}
.secForm #wpcf7cpcnf table th, .secForm #wpcf7cpcnf table td {
  font-size: 100%;
  border-bottom: 1px solid #e8e8e8;
}
.secForm #wpcf7cpcnf table th {
  color: #333;
  font-weight: 600;
  background-color: #fafafa;
}
.secForm #wpcf7cpcnf table tr:last-child th {
  display: none;
}
.secForm #wpcf7cpcnf table tr:last-child td {
  border-bottom: none;
  text-align: center;
  padding: 1.5em 1em;
  background-color: #f9f9f9;
}
.secForm #wpcf7cpcnf table tr:last-child td p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  margin: 0;
}
.secForm #wpcf7cpcnf table tr:last-child td p::before {
  content: "✓";
  color: var(--main);
  font-weight: 700;
  font-size: 1.2em;
}
.secForm #wpcf7cpcnf .wpcf7cp-btns {
  width: 100%;
  max-width: 600px;
  margin: 2em auto 0;
  display: grid;
  grid-gap: 1em;
}
.secForm #wpcf7cpcnf .wpcf7cp-btns .wpcf7-form-control {
  width: 100%;
  height: auto;
  min-height: 3.5em;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.secForm #wpcf7cpcnf .wpcf7cp-btns .wpcf7-form-control.wpcf7cp-cfm-edit-btn {
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #999;
  background-color: #fff;
  color: #666;
  padding: 1em 2em;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.secForm #wpcf7cpcnf .wpcf7cp-btns .wpcf7-form-control.wpcf7cp-cfm-edit-btn:hover {
  background-color: #f5f5f5;
  border-color: #666;
  color: #333;
}
.secForm #wpcf7cpcnf .wpcf7cp-btns .wpcf7-form-control.wpcf7-submit {
  border: 2px solid var(--main);
  background-color: var(--main);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.2em 2em;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.secForm #wpcf7cpcnf .wpcf7cp-btns .wpcf7-form-control.wpcf7-submit:hover {
  background-color: #fff;
  color: var(--main);
}
@media screen and (max-width: 767px) {
  .secForm #wpcf7cpcnf table th, .secForm #wpcf7cpcnf table td {
    width: 100%;
    display: block;
  }
  .secForm #wpcf7cpcnf table th {
    padding: 1.2em 1em 0.5em;
    background-color: #fafafa;
    border-bottom: none;
  }
  .secForm #wpcf7cpcnf table td {
    padding: 0.5em 1em 1.2em;
    border-bottom: 1px solid #e8e8e8;
  }
  .secForm #wpcf7cpcnf table tr:first-child th {
    padding-top: 1.2em;
  }
  .secForm #wpcf7cpcnf table tr:last-child td {
    padding: 1.5em 1em;
    border-bottom: none;
  }
  .secForm #wpcf7cpcnf .wpcf7cp-btns {
    grid-template-columns: 1fr;
  }
}
@media screen and (min-width: 768px) {
  .secForm #wpcf7cpcnf table {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-gap: 0;
  }
  .secForm #wpcf7cpcnf table tr {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: span 2;
  }
  .secForm #wpcf7cpcnf table tr:last-child td {
    grid-column: span 2;
  }
  .secForm #wpcf7cpcnf table th, .secForm #wpcf7cpcnf table td {
    padding: 1.2em 1.5em;
    border-bottom: 1px solid #e8e8e8;
  }
  .secForm #wpcf7cpcnf table tr:last-child td {
    border-bottom: none;
  }
  .secForm #wpcf7cpcnf .wpcf7cp-btns {
    grid-template-columns: 1fr 1fr;
    gap: 1.5em;
  }
}
@media screen and (min-width: 992px) {
  .secForm #wpcf7cpcnf table {
    font-size: 100%;
  }
}

/* エラーメッセージと完了メッセージ */
.secForm__formWrap .wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 0.9em;
  margin-top: 0.5em;
}
.secForm__formWrap .wpcf7-validation-errors,
.secForm__formWrap .wpcf7-mail-sent-ok {
  padding: 1em 1.5em;
  margin: 2em 0;
  border-radius: 4px;
  font-weight: 600;
}
.secForm__formWrap .wpcf7-validation-errors {
  background-color: #ffe6e6;
  border: 2px solid #e74c3c;
  color: #c0392b;
}
.secForm__formWrap .wpcf7-mail-sent-ok {
  background-color: #d4edda;
  border: 2px solid #28a745;
  color: #155724;
}
.secForm__formWrap .wpcf7-spinner {
  margin: 0 1em;
}

/* 個人情報保護方針の同意チェックボックス */
.secForm__formTable .wpcf7-acceptance {
  margin: 1.5em 0;
  text-align: center;
}
.secForm__formTable .wpcf7-acceptance label {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: 1rem;
  line-height: 1.4;
}
.secForm__formTable .wpcf7-acceptance label .wpcf7-list-item-label {
  margin-top: 1px;
}

/* 個人情報保護方針 */
.secForm__formTable tr.privacy-text td,
.secForm__formTable tr.privacy-accept td {
  text-align: center !important;
  border-top: none !important;
  border-bottom: none !important;
  background-color: transparent !important;
}
.secForm__formTable tr.privacy-text td {
  padding-top: 2em;
  padding-bottom: 0;
}
.secForm__formTable tr.privacy-accept td {
  padding: 0;
  padding-top: 2em;
}
.secForm__formTable tr.privacy-accept fieldset {
  display: flex;
  justify-content: center;
}
.secForm__formTable tr.privacy-accept .wpcf7-checkbox {
  display: inline-flex;
  justify-content: center;
}
.secForm__formTable tr.privacy-accept .wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
}
.secForm__formTable tr.privacy-accept .wpcf7-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
}
.secForm__formTable tr.privacy-accept .wpcf7-checkbox label .wpcf7-list-item-label {
  display: inline-block;
  margin-top: 1px;
}


@media screen and (min-width: 768px) {
    .secForm__formTable .question td {
        padding-top: 3em;
    }
}