@charset "UTF-8";
.consultation_section {
  --consultation-h01-c: #1eb1a1;
  padding-bottom: 0;
}
.consultation_section_header {
  max-width: var(--container-width);
  margin: 0 auto;
  color: var(--consultation-h01-c);
}
.consultation_section_header .line_b {
  color: var(--consultation-h01-c);
}
.consultation_section_header .line_b::after {
  background: linear-gradient(to right, var(--consultation-h01-c) 0%, transparent 100%);
}
.consultation_section_header .c_mb {
  color: var(--consultation-h01-c);
  font-weight: 700;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
@keyframes cf7-btn-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.cf7-form-wrap-inner {
  max-width: var(--cf-max);
  margin: 0 auto;
  padding: 60px 16px;
}

.wpcf7 form > div {
  margin-bottom: 0;
}
.wpcf7 span.wpcf7-form-control-wrap {
  display: flex;
  align-items: center;
}
.wpcf7 .wpcf7-form-control-wrap {
  width: auto !important;
  display: inline-block;
}
.wpcf7 .wpcf7-spinner {
  display: none !important;
}
.wpcf7 .wpcf7-response-output {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  min-width: 320px;
  max-width: 480px;
  padding: 20px 32px;
  background: #fff;
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(55, 211, 194, 0.2), 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  color: #333;
  line-height: 1.6;
  animation: slideUp 0.4s ease;
}
.wpcf7 .wpcf7-response-output::before {
  display: block;
  font-size: 32px;
  margin-bottom: 8px;
  font-weight: 700;
}
.wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ok {
  border-left: 4px solid var(--cf-accent);
}
.wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ok::before {
  content: "✓";
  color: var(--cf-accent);
}
.wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ng, .wpcf7 .wpcf7-response-output.wpcf7-spam-blocked {
  border-left: 4px solid #e55;
}
.wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ng::before, .wpcf7 .wpcf7-response-output.wpcf7-spam-blocked::before {
  content: "✕";
  color: #e55;
}
.wpcf7 .wpcf7-response-output.wpcf7-validation-errors {
  border-left: 4px solid #f0a500;
}
.wpcf7 .wpcf7-response-output.wpcf7-validation-errors::before {
  content: "!";
  color: #f0a500;
}
.wpcf7 form.submitting .wpcf7-submit.mobile_pre_btn,
.wpcf7 form.submitting button.mobile_pre_btn {
  opacity: 0.7;
  pointer-events: none;
  color: transparent !important;
}
.wpcf7 form.submitting .wpcf7-submit.mobile_pre_btn .btn-sub-text,
.wpcf7 form.submitting button.mobile_pre_btn .btn-sub-text {
  opacity: 0;
}
.wpcf7 form.submitting .wpcf7-submit.mobile_pre_btn::after,
.wpcf7 form.submitting button.mobile_pre_btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  margin-left: -14px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: cf7-btn-spin 0.8s linear infinite;
}
.wpcf7 .caption {
  color: var(--cf-accent);
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}
.form-row--top {
  align-items: flex-start;
}
.form-row--top .form-label-col {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.form-label-col {
  flex: 0 0 340px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}
.form-label-col h3 {
  margin: 0;
  padding: 0;
  width: 16rem;
}
.form-label-col .label-title-set {
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-label-col .label-title-set p {
  margin: 0;
}

.form-input-col {
  flex: 1;
  min-width: 0;
  width: 100%;
}
.form-input-col p {
  margin: 0;
  display: contents;
}

.check-row p {
  margin: 0;
  display: contents;
}

.sub_caption {
  color: #3b4140;
}

.form-sublabel {
  margin: 0;
  font-size: 16px;
  color: #777;
  padding: 0;
}

.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel] {
  width: 100%;
  padding: 25px 18px;
  border: 1.5px solid var(--cf-accent);
  border-radius: 0px !important;
  font-size: 16px;
  color: #333;
  background: #fff;
  box-sizing: border-box;
  transition: all 0.2s;
  outline: none;
}
.wpcf7-form input[type=text]:focus,
.wpcf7-form input[type=email]:focus,
.wpcf7-form input[type=tel]:focus {
  border-color: var(--cf-accent);
  box-shadow: 0 0 0 3px rgba(30, 165, 238, 0.15);
}
.wpcf7-form textarea.form-textarea:focus {
  border-color: var(--cf-accent);
  box-shadow: 0 0 0 3px rgba(30, 165, 238, 0.15);
}
.wpcf7-form input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--cf-accent);
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}
.wpcf7-form .wpcf7-submit.mobile_pre_btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 450px;
  padding: 22px 100px;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  background: linear-gradient(to top, rgba(35, 134, 152, 0.9137254902) 5%, rgba(128, 232, 250, 0.7725490196) 100%);
  box-shadow: inset 8px 8px 15px rgba(255, 255, 255, 0.35), inset -8px -8px 15px rgba(0, 0, 0, 0.062);
  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 700;
  text-align: center;
  line-height: 1.3 !important;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}
.wpcf7-form .wpcf7-submit.mobile_pre_btn:hover {
  background: #25a4b5;
  box-shadow: inset 8px 8px 15px rgba(255, 255, 255, 0.4), inset -8px -8px 15px rgba(0, 0, 0, 0.2);
}
.wpcf7-form .wpcf7-submit.mobile_pre_btn:active {
  background: #1f8b9a;
  box-shadow: inset 3px 3px 8px rgba(255, 255, 255, 0.2), inset -3px -3px 8px rgba(0, 0, 0, 0.15);
}

.wpcf7-form textarea.form-textarea {
  width: 100%;
  min-height: 160px;
  padding: 18px;
  border: 1.5px solid #ddd;
  border-radius: var(--cf-radius);
  font-size: 15px;
  color: #333;
  background: #fff;
  box-sizing: border-box;
  resize: vertical;
  margin-top: 24px;
  outline: none;
  transition: all 0.2s;
}

.tel-group p {
  width: 100%;
  display: flex;
  gap: var(--space-xs);
  align-items: center;
  padding: 0;
}
.tel-group input[type=tel] {
  text-align: center;
}

.tel-sep {
  font-size: 18px;
  color: #999;
  flex-shrink: 0;
}

.check-row--triple p {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
}

.wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
}
.wpcf7-checkbox .wpcf7-list-item-label {
  cursor: pointer;
  color: #333;
  line-height: 1.4;
}

.custom-check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  line-height: 1.5;
}
.custom-check-label .wpcf7-form-control-wrap {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.custom-check-label .wpcf7-checkbox,
.custom-check-label .wpcf7-list-item,
.custom-check-label .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}
.custom-check-label .wpcf7-list-item-label {
  display: none;
}

.check-text {
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.submit-section {
  background-color: var(--cf-submit-bg);
  padding: 60px 16px;
}

.submit-inner {
  max-width: 950px;
  margin: 0 auto;
}

.agree-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.agree-check-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.agree-check-col .agree-item {
  display: flex;
  gap: var(--space-xs);
}

.agree-item p {
  margin: 0;
  padding: 0;
}
.agree-item b {
  color: #04525f;
  cursor: pointer;
}
.agree-item .wpcf7-list-item-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  line-height: 1.6;
  color: #222;
}

.submit-btn-col {
  width: 100%;
  display: flex;
  justify-content: center;
}

button.mobile_pre_btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 450px;
  padding: 22px 100px;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  background: linear-gradient(to top, rgba(35, 134, 152, 0.9137254902) 5%, rgba(128, 232, 250, 0.7725490196) 100%);
  box-shadow: inset 8px 8px 15px rgba(255, 255, 255, 0.35), inset -8px -8px 15px rgba(0, 0, 0, 0.062);
  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 700;
  text-align: center;
  line-height: 1.3 !important;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}
button.mobile_pre_btn .btn-sub-text {
  display: inline-block;
  width: 100%;
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}
button.mobile_pre_btn br {
  display: block;
  content: "";
  margin: 0;
}
button.mobile_pre_btn:hover {
  background: #25a4b5;
  box-shadow: inset 8px 8px 15px rgba(255, 255, 255, 0.4), inset -8px -8px 15px rgba(0, 0, 0, 0.2);
}
button.mobile_pre_btn:active {
  background: #1f8b9a;
  box-shadow: inset 3px 3px 8px rgba(255, 255, 255, 0.2), inset -3px -3px 8px rgba(0, 0, 0, 0.15);
}

.mt-top {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }
  .form-row--top .form-label-col {
    padding-top: 0;
  }
  .form-label-col {
    flex: 0 0 auto;
    width: 100%;
  }
  .form-label-col h3 {
    width: auto;
  }
  .check-row--triple .wpcf7-checkbox {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .check-row--triple p {
    flex-direction: column;
    align-items: flex-start;
  }
  .wpcf7-form input[type=text],
  .wpcf7-form input[type=email],
  .wpcf7-form input[type=tel] {
    padding: 18px 14px;
  }
  .wpcf7-form .wpcf7-submit.mobile_pre_btn {
    padding: 16px 80px;
  }
  .form-sublabel {
    font-size: 14px;
  }
  .tel-group p {
    gap: var(--space-unit);
  }
}
@media (max-width: 768px) {
  .wpcf7 .wpcf7-response-output {
    min-width: unset;
    width: calc(100% - 40px);
    bottom: 20px;
    font-size: 14px;
  }
}
.privacy-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.privacy-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.privacy-box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 640px;
  height: 85vh;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  animation: boxSlideUp 0.3s ease;
}
.privacy-box-inner {
  padding: 48px 40px;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.privacy-box-inner h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #222;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--cf-accent);
  line-height: 1.4;
}
.privacy-box-inner h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1a6e7e;
  margin: 28px 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--cf-accent);
  line-height: 1.5;
}
.privacy-box-inner p {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin: 0 0 8px;
}
.privacy-box-inner ul {
  margin: 8px 0 8px 8px;
  padding-left: 20px;
  list-style: disc;
}
.privacy-box-inner ul li {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 4px;
  padding-left: 4px;
}
.privacy-box-inner ul li::marker {
  color: var(--cf-accent);
}
.privacy-box-inner .privacy-date {
  margin-top: var(--space-xs);
  font-weight: var(--font-w-m);
}

.privacy-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f0f0f0;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 1;
}
.privacy-close:hover {
  background: var(--cf-accent);
  color: #fff;
}

.privacy-open {
  color: var(--cf-btn-bg);
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes boxSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .privacy-box-inner {
    padding: 40px 20px;
  }
  .privacy-box-inner h3 {
    font-size: 17px;
  }
  .privacy-box-inner h4 {
    font-size: 14px;
  }
}
body.is-locked,
html.is-locked {
  overflow: hidden;
}