.site-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #333f9f;
  padding: 36px 0 16px 0;
  border-top: 1px solid #ececec;
  text-align: center;
  color: #fff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.l-footer__body__center-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
}

.l-footer__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.l-footer__logo img {
  height: 250px;
  display: block;
  margin: 0 auto;
}
.l-footer__logo__pamatoko {
  color: #fff;
  font-size: 0.95em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pamatoko {
  display: inline-block;
  line-height: 1;
}
.pamatoko-img {
  height: 25px !important;
  width: auto !important;
  vertical-align: middle;
  display: inline-block;
  filter: brightness(0) invert(1); /* 白抜き化（白ロゴ画像の場合は不要） */
}

.l-footer__info ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.l-footer__info li {
  font-size: 0.97em;
  color: #fff;
  margin-bottom: 4px;
  text-align: center;
}
.u-sp-tellink, .u-hv-underline {
  color: #fff;
  text-decoration: underline;
  transition: text-decoration .2s;
}
.u-hv-underline:hover,
.u-sp-tellink:hover {
  text-decoration: underline;
  opacity: 0.7;
}

.footer-copy {
  color: #e3eafd;
  font-size: 0.93rem;
  letter-spacing: 0.02em;
  margin-top: 18px;
}

.cf7-custom-form {
  background: #f7fbff;
  border-radius: 14px;
  padding: 36px 28px 28px 28px;
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0 4px 24px rgba(70,120,255,0.09);
  font-family: "Segoe UI", "Noto Sans JP", "Meiryo", sans-serif;
}

.cf7-custom-form label {
  display: block;
  margin-bottom: 10px;
  color: #35587a;
  font-size: 1.03em;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cf7-custom-form .cf7-required {
  color: #50b6ff;
  margin-left: 4px;
  font-size: 0.97em;
}

.cf7-custom-form input[type="text"],
.cf7-custom-form input[type="email"],
.cf7-custom-form input[type="tel"],
.cf7-custom-form textarea,
.cf7-custom-form select,
.cf7-input {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 20px;
  border: 1px solid #b9d8ee;
  border-radius: 7px;
  background: #fff;
  font-size: 1em;
  color: #254360;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  box-sizing: border-box;
}

.cf7-custom-form input[type="text"]:focus,
.cf7-custom-form input[type="email"]:focus,
.cf7-custom-form input[type="tel"]:focus,
.cf7-custom-form textarea:focus,
.cf7-custom-form select:focus,
.cf7-input:focus {
  border-color: #50b6ff;
  box-shadow: 0 0 0 2px #bfe9ff;
}

.cf7-custom-form textarea {
  min-height: 110px;
  resize: vertical;
}

.cf7-submit,
.cf7-custom-form input[type="submit"] {
  background: linear-gradient(90deg, #6ec7ff 0%, #67a8ff 100%);
  color: #fff;
  font-size: 1.07em;
  font-weight: bold;
  border: none;
  border-radius: 7px;
  padding: 12px 0;
  width: 100%;
  cursor: pointer;
  margin-top: 8px;
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(70,120,255,0.07);
}
.cf7-submit:hover,
.cf7-custom-form input[type="submit"]:hover {
  background: linear-gradient(90deg, #67a8ff 0%, #6ec7ff 100%);
  box-shadow: 0 4px 16px rgba(70,120,255,0.15);
}

/* --- チェックボックス --- */
.cf7-checkbox label {
  display: inline-flex;
  align-items: center;
  margin-right: 18px;
  margin-bottom: 8px;
  font-size: 1em;
  cursor: pointer;
  color: #35587a;
  font-weight: 500;
  min-width: 110px;
  background: #eef6fa;
  border-radius: 6px;
  padding: 6px 12px;
  justify-content: center;
  text-align: center;
}
.cf7-checkbox input[type="checkbox"] {
  accent-color: #50b6ff;
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

/* --- 評価テーブル --- */
.cf7-rating-table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 28px;
  table-layout: fixed;
}

/* 先頭のth/tdだけ幅を広げる */
.cf7-rating-table th:first-child,
.cf7-rating-table td:first-child {
  width: 25%;   /* ← 質問文に合わせてお好みで(例: 22〜28%) */
  min-width: 120px;
  text-align: left;
  color: #255a8a;
  font-weight: bold;
}

/* 2列目以降のth/tdの幅を均等に */
.cf7-rating-table th:not(:first-child),
.cf7-rating-table td:not(:first-child) {
  width: calc((100% - 25%) / 6);  /* 残りを均等割（6列の場合） */
}

/* 通常の見た目 */
.cf7-rating-table th {
  background: #e7f2fd;
  color: #35587a;
  font-weight: bold;
  text-align: center;
}

.cf7-rating-table td {
  text-align: center;
  font-size: 0.97em;
  word-break: break-word;
  overflow-wrap: break-word;
  padding: 8px 6px;
}

/* ラジオボタンは中央揃え */
.cf7-rating-table label {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  min-height: 26px;
  min-width: 26px;
}
.cf7-rating-table label span {
  display: none;
}
.cf7-rating-table input[type="radio"] {
  accent-color: #50b6ff;
  width: 22px;
  height: 22px;
  margin: 0;
  cursor: pointer;
  transition: box-shadow .2s;
}

/* スマホ表示 */
@media (max-width: 600px) {
  .cf7-rating-table,
  .cf7-rating-table thead,
  .cf7-rating-table tbody,
  .cf7-rating-table tr,
  .cf7-rating-table th,
  .cf7-rating-table td {
    display: block;
  }
  .cf7-rating-table thead {
    display: none;
  }
  .cf7-rating-table tr {
    margin-bottom: 16px;
    border-bottom: 1px solid #dde2ed;
    background: #fff;
    border-radius: 7px;
    padding: 8px 0;
  }
  .cf7-rating-table td {
    text-align: left;
    padding-left: 16px;
    font-size: 0.99em;
    background: transparent;
    width: 100% !important;
    min-width: 0 !important;
  }
  .cf7-rating-table td:not(:first-child) {
    display: flex;
    align-items: center;
    width: 100% !important;
    padding-left: 24px;
    margin-bottom: 3px;
  }
  .cf7-rating-table label span {
    display: inline;
    font-size: 0.92em;
    margin-left: 10px;
    color: #254360;
    font-weight: 500;
  }
}



/* PCでは評価ラベル（span）を非表示、スマホでは表示 */
.cf7-rating-table label {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  min-height: 26px;
  min-width: 26px;
}
.cf7-rating-table label span {
  display: none;
}
.cf7-rating-table input[type="radio"] {
  accent-color: #50b6ff;
  width: 22px;
  height: 22px;
  margin: 0;
  cursor: pointer;
  transition: box-shadow .2s;
}
.cf7-rating-table input[type="radio"]:focus {
  box-shadow: 0 0 0 2px #bfe9ff;
}

/* --- スマホ表示用レスポンシブ --- */
@media (max-width: 900px) {
  .cf7-custom-form {
    padding: 22px 4vw;
    max-width: 98vw;
  }
  .cf7-rating-table th,
  .cf7-rating-table td {
    font-size: 0.91em;
    padding: 6px 1px;
  }
}
@media (max-width: 600px) {
  .cf7-rating-table,
  .cf7-rating-table thead,
  .cf7-rating-table tbody,
  .cf7-rating-table tr,
  .cf7-rating-table th,
  .cf7-rating-table td {
    display: block;
  }
  .cf7-rating-table thead {
    display: none;
  }
  .cf7-rating-table tr {
    margin-bottom: 16px;
    border-bottom: 1px solid #dde2ed;
    background: #fff;
    border-radius: 7px;
    padding: 8px 0;
  }
  .cf7-rating-table td {
    text-align: left;
    padding-left: 16px;
    font-size: 0.99em;
    background: transparent;
    width: 100% !important;
    min-width: 0 !important;
  }
  .cf7-rating-table td:not(:first-child) {
    display: flex;
    align-items: center;
    width: 100% !important;
    padding-left: 24px;
    margin-bottom: 3px;
  }
  .cf7-rating-table label span {
    display: inline;
    font-size: 0.92em;
    margin-left: 10px;
    color: #254360;
    font-weight: 500;
  }
}

@media (min-width: 768px) {
  .cf7-checkbox label {
    margin-right: 40px !important;
    margin-bottom: 12px !important;
  }
  .cf7-checkbox input[type="checkbox"] {
    margin-right: 14px !important;
  }
}

/* --- チェックボックス群を均等に並べる --- */
.cf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px; /* 縦, 横の余白 */
  margin-bottom: 18px;
  /* 必要なら中央寄せ→ justify-content: center; */
}

/* チェックボックスラベル */
.cf7-checkbox label {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #eef6fa;
  border-radius: 7px;
  padding: 6px 14px;
  font-size: 1em;
  font-weight: 500;
  color: #35587a;
  cursor: pointer;
  margin: 0; /* 余白は親のgapで調整 */
  box-shadow: 0 2px 8px rgba(70,120,255,0.06);
  transition: background 0.15s;
  min-width: 0;      /* 親flexで可変にするため */
  flex: 1 1 200px;   /* 横幅200px目安で自動折返し（調整可）*/
}

.cf7-checkbox label:hover {
  background: #ddeffd;
}

/* チェックボックス本体 */
.cf7-checkbox input[type="checkbox"] {
  accent-color: #50b6ff;
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .cf7-checkbox {
    gap: 10px 6px;
  }
  .cf7-checkbox label {
    font-size: 0.97em;
    padding: 6px 8px;
    flex: 1 1 130px;  /* スマホは縦積みも増えるよう調整 */
  }
}
/* .cf7-checkboxの内側にあるリストアイテム(span)にflex適用 */
.cf7-checkbox .wpcf7-form-control.wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px; /* 縦・横の余白 */
  margin-bottom: 10px;
  align-items: flex-start;
}

/* リストアイテムごとに、ラベル幅を設定して自動折返し */
.cf7-checkbox .wpcf7-list-item {
  margin: 0 !important;
  padding: 0 !important;
}

/* ラベル自体も中央寄せ&パディング調整 */
.cf7-checkbox .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #eef6fa;
  border-radius: 7px;
  padding: 6px 8px;
  font-size: 1em;
  font-weight: 500;
  color: #35587a;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.15s;
}

.cf7-checkbox .wpcf7-list-item label:hover {
  background: #ddeffd;
}

.cf7-checkbox input[type="checkbox"] {
  accent-color: #50b6ff;
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .cf7-checkbox .wpcf7-form-control.wpcf7-checkbox {
    gap: 15px 6px;
  }
  .cf7-checkbox .wpcf7-list-item {
    width: 100%;
    flex: 1 1 100%;
  }
  .cf7-checkbox .wpcf7-list-item label {
    font-size: 0.97em;
    padding: 6px 6px;
  }
}

@media (max-width: 600px) {
  .cf7-rating-table td:first-child {
    background: #e7f7ff !important; /* 好きな色に変更 */
  }
}

@media (max-width: 600px) {
  .cf7-rating-table td,
  .cf7-rating-table th {
    width: 100% !important;
    box-sizing: border-box;
    display: block;
    padding-left: 12px;
    padding-right: 12px;
    overflow-wrap: break-word;
    word-break: break-all;
  }
  .cf7-rating-table td:first-child,
  .cf7-rating-table th:first-child {
    background: #e7f7ff !important; /* ←好みの色に変更可 */
    border-radius: 7px 7px 0 0;
  }
}