@charset "UTF-8";
.contact-template {
  padding: 40px 20px 60px;
}

.contact-template__article {
  max-width: 980px;
  margin: 0 auto;
}

.contact-template__header {
  margin-bottom: 24px;
}

.contact-template__title {
  margin: 0;
  font-size: 32px;
  line-height: 1.4;
}

.contact-template__content {
  font-size: 16px;
  line-height: 1.8;
}

.contact-template__content p {
  margin: 0 0 1em;
}

/*
 * Next move candidate:
 * .hissu
 */
/* --- 必須ラベル --- */
.hissu {
  background: #ef4444;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  padding: 5px 10px;
}

.catalogform {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #dcdcdc;
  margin-top: 24px;
  background: #fff;
}

.catalogform th,
.catalogform td {
  padding: 18px 16px;
  border-bottom: 1px solid #dcdcdc;
  vertical-align: top;
}

.catalogform th {
  width: 30%;
  background: #f7f7f7;
  font-weight: 700;
  text-align: left;
  line-height: 1.6;
}

.catalogform td {
  background: #fff;
}

/* --- テーブル余白改善 --- */
.catalogform th,
.catalogform td {
  vertical-align: middle;
}

/* 見出し強調 */
.catalogform th {
  font-weight: bold;
}

.cf7-form input[type=text],
.cf7-form input[type=email],
.cf7-form input[type=tel],
.cf7-form select,
.cf7-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  font-size: 16px;
  padding: 12px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cf7-form input[type=text]:hover,
.cf7-form input[type=email]:hover,
.cf7-form input[type=tel]:hover,
.cf7-form select:hover,
.cf7-form textarea:hover {
  border-color: #8aa4bd;
}

.cf7-form input[type=text]:focus,
.cf7-form input[type=email]:focus,
.cf7-form input[type=tel]:focus,
.cf7-form select:focus,
.cf7-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.16);
}

.cf7-form ::placeholder {
  color: #6b7280;
}

.cf7-form input,
.cf7-form select,
.cf7-form textarea {
  background: #ffffff;
  border: 1px solid #d1d5db;
}

/* 軽くグラデーション的に */
.cf7-form input:hover,
.cf7-form select:hover,
.cf7-form textarea:hover {
  background: #f9fafb;
}

/* legacy form row */
.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form-row > * {
  flex: 1 1 0;
}

.form-row--zip {
  align-items: center;
  margin-bottom: 12px;
}

.form-row--zip input[type=text] {
  width: 100%;
  max-width: 120px;
}

.form-sep {
  display: inline-block;
  line-height: 1;
  font-size: 18px;
  color: #555;
}

.address-pref {
  max-width: 220px;
}

.address-main {
  flex: 1 1 auto;
}

/* CF7 row */
.cf7-row {
  margin-bottom: 24px;
}

.cf7-row > p {
  margin: 0 0 8px;
  font-weight: 600;
  color: #1f2937;
  letter-spacing: 0.02em;
}

/* CF7 split / address layout */
.cf7-split,
.cf7-address {
  display: flex;
  gap: 12px;
}

/* CF7 may auto-wrap controls with p tags */
.cf7-split > p,
.cf7-address > p {
  margin: 0;
  flex: 1;
  width: 100%;
}

.cf7-split .wpcf7-form-control-wrap,
.cf7-address .wpcf7-form-control-wrap {
  flex: 1;
}

/* CF7 column utilities */
.cf7-col {
  display: block;
}

.cf7-col--half,
.cf7-col--third {
  flex: 1;
}

.cf7-col--wide {
  flex: 2;
}

/* ZIP layout */
.cf7-zip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.cf7-zip .wpcf7-form-control-wrap {
  width: 7em;
}

.cf7-col--zip {
  width: 6em;
  flex: none;
}

.form-policy-title {
  margin-top: 32px;
}

.form-policy-text {
  font-size: 13px;
  line-height: 1.8;
}

.form-policy-check {
  margin-top: 12px;
  margin-bottom: 20px;
}

.form-policy-check .wpcf7-list-item {
  margin: 0;
}

.form-policy-check label {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.form-actions {
  margin-top: 28px;
  text-align: center;
}

.contact-template__content input[type=submit],
.contact-template__content .botan {
  display: inline-block;
  min-width: 240px;
  padding: 15px 24px;
  border: 1px solid #222;
  background: #222;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-template__content input[type=submit]:hover,
.contact-template__content .botan:hover {
  opacity: 0.85;
}

.contact-template__content .wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  color: #c00;
  font-size: 12px;
  line-height: 1.6;
}

.contact-template__content .wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-width: 1px;
  font-size: 14px;
  line-height: 1.7;
}

.contact-template__content .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

.contact-template__content .wpcf7-not-valid {
  border-color: #c00;
}

.contact-template__content a {
  text-decoration: underline;
}

/* --- 送信ボタン強化 --- */
.contact-template__content input[type=submit],
.contact-template__content .botan {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

/* hover */
.contact-template__content input[type=submit]:hover,
.contact-template__content .botan:hover {
  background: #1d4ed8;
}

/* 押した時 */
.contact-template__content input[type=submit]:active {
  transform: translateY(1px);
}

/* --- エラー強調 --- */
.wpcf7-not-valid {
  border-color: #e53935 !important;
}

.wpcf7-not-valid-tip {
  font-size: 12px;
  margin-top: 4px;
}

.cf7-form input[type=submit] {
  background: #2563eb;
  color: #fff;
  border-radius: 5px;
  font-weight: 600;
}

/* hoverで濃く */
.cf7-form input[type=submit]:hover {
  background: #1d4ed8;
}

@media (max-width: 768px) {
  .contact-template {
    padding: 24px 16px 40px;
  }
  .contact-template__title {
    font-size: 26px;
  }
  .catalogform,
  .catalogform tbody,
  .catalogform tr,
  .catalogform th,
  .catalogform td {
    display: block;
    width: 100%;
  }
  .catalogform {
    border-top: none;
  }
  .catalogform tr {
    border-top: 1px solid #dcdcdc;
  }
  .catalogform th {
    padding: 14px 14px 8px;
    border-bottom: none;
    background: #f7f7f7;
  }
  .catalogform td {
    padding: 0 14px 16px;
    border-bottom: none;
  }
  .form-row {
    flex-direction: column;
    gap: 10px;
  }
  .form-row--zip {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }
  .form-row--zip input[type=text] {
    max-width: none;
    width: 100%;
  }
  .address-pref {
    max-width: none;
  }
  .contact-template__content input[type=submit],
  .contact-template__content .botan {
    width: 100%;
    min-width: 0;
  }
}

/*# sourceMappingURL=forms.css.map */
