/*
Theme Name: Solachiku V2H LP
Theme URI: https://solachiku.com/
Author: Solachiku
Description: ソラチクV2H一括査定 LP専用テーマ
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: solachiku-v2h-lp
*/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #e8f6ff;
  color: #0b1f44;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

.lp {
  width: min(100%, 480px);
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 28px rgba(10, 58, 96, 0.16);
}

.lp img {
  display: block;
  width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cta-link {
  display: block;
  line-height: 0;
  cursor: pointer;
  transition: filter 0.18s ease;
}

.cta-link:focus-visible {
  outline: 4px solid #ffd84d;
  outline-offset: -4px;
}

.cta-link:hover {
  filter: brightness(1.04);
}

.voice-note {
  margin: 0;
  padding: 12px 18px 16px;
  background: #fff;
  color: #51677f;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.faq-section {
  padding: 28px 18px 30px;
  background: linear-gradient(180deg, #f7fcff 0%, #ffffff 100%);
}

.faq-title {
  margin: 0 0 18px;
  color: #053f91;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-card {
  padding: 18px 16px;
  border: 1px solid #d6e9f6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(4, 72, 127, 0.08);
}

.faq-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0;
}

.faq-card p + p {
  margin-top: 10px;
}

.faq-q {
  color: #053f91;
  font-weight: 900;
}

.faq-a {
  color: #10243e;
  font-weight: 600;
}

.form-section {
  padding: 28px 20px 34px;
  background: linear-gradient(180deg, #ffffff 0%, #eefaff 100%);
}

.form-title {
  margin: 0 0 16px;
  color: #053f91;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.field {
  display: grid;
  gap: 5px;
  margin: 0;
}

.field label {
  display: grid;
  gap: 5px;
  font-size: 15px;
  font-weight: 800;
  margin: 0;
}

.field .label-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge {
  flex: 0 0 auto;
  width: fit-content;
  padding: 3px 7px;
  border-radius: 4px;
  background: #e62323;
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.badge.optional {
  background: #6f849b;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 form p,
.wpcf7 p {
  margin: 0;
}

.wpcf7 form br {
  display: none;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  border: 2px solid #d4e4ef;
  border-radius: 8px;
  background: #fff;
  color: #0b1f44;
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
  outline: none;
}

.wpcf7 textarea {
  min-height: 96px;
  resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: #13a44a;
  box-shadow: 0 0 0 3px rgba(19, 164, 74, 0.14);
}

.privacy {
  display: block;
  margin: 4px 0 2px;
  font-size: 14px;
  line-height: 1.6;
}

.privacy input {
  width: 20px;
  height: 20px;
  margin: 0 8px 0 0;
  vertical-align: middle;
  accent-color: #11a243;
}

.privacy a {
  color: #053f91;
  font-weight: 800;
}

.wpcf7-submit,
.submit-button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #16bc4e 0%, #07872c 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
  padding: 16px 18px;
  box-shadow: 0 8px 0 #006f22, 0 14px 24px rgba(3, 108, 41, 0.25);
  cursor: pointer;
}

.wpcf7-submit:focus-visible,
.submit-button:focus-visible {
  outline: 4px solid #ffd84d;
  outline-offset: 3px;
}

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

@media (max-width: 360px) {
  .form-section {
    padding-inline: 14px;
  }

  .form-title {
    font-size: 22px;
  }
}
