/* WordPress / Contact Form 7 integration */
.form-card .wpcf7 { width: 100%; }
.form-card .wpcf7-form-control-wrap { display: block; }
.form-card .form-field input, .form-card .form-field textarea { width: 100%; }
.form-card .form-field textarea { height: 86px; min-height: 86px; max-height: none; resize: vertical; padding: 9px 12px; border: 1px solid #cddbeb; border-radius: 4px; font: inherit; background: #fff; }
.form-card .wpcf7-not-valid-tip { color: #ac2727; font-size: 12px; }
.form-card .wpcf7-response-output { margin: 12px 0 0 !important; border-radius: 5px; font-size: 12px; line-height: 1.6; }
.form-privacy { display: flex; justify-content: center; align-items: center; margin: 12px 0 0; color: #40536e; font-size: 14px; line-height: 1.6; text-align: center; }
.form-privacy a { color: #075dff; text-decoration: underline; }
.form-privacy .wpcf7-list-item { margin: 0; }
.form-privacy .wpcf7-list-item label { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.form-privacy .wpcf7-list-item input { flex: none; margin: 0; }
.form-unavailable { margin: 25px 0; color: #40536e; font-size: 13px; line-height: 1.7; }
.form-delivery { margin-top: 9px; }
.pricing .price-monthly { flex-wrap: wrap; }
.pricing .price-monthly > span { white-space: nowrap; }
.price-monthly .price-commitment { flex: 0 0 100%; margin: 8px auto 0; max-width: none; color: #40536e; font-size: 14px; font-weight: 700; line-height: 1.5; text-align: center; }
.pricing .price-terms { max-width: none; white-space: normal; margin: 15px 0 0; padding: 11px 15px; border-radius: 7px; background: #f0f7ff; color: #304d78; font-size: 12px; line-height: 1.7; text-align: left; }
.footer-nav-list { display: contents; }
.footer-nav-list li { list-style: none; }
@media (min-width: 901px) {
 .hero-layout > .form-card { position: relative; top: -48px; padding: 26px 30px 24px; }
 .form-card .form-intro { margin-bottom: 16px; }
 .form-card .form-field { margin-bottom: 11px; }
 .form-card .form-field label { margin-bottom: 5px; }
 .form-card .form-field input { height: 44px; }
 .form-card .form-button { min-height: 56px; margin-top: 8px; }
 .form-card .form-trust { margin-top: 12px; }
}
@media (max-width: 900px) {
 .form-card { padding-block: 24px 22px; }
 .form-card .form-intro { margin-bottom: 18px; }
 .form-card .form-field { margin-bottom: 14px; }
 .form-card .form-field label { margin-bottom: 6px; }
 .form-card .form-field input { height: 46px; }
 .form-card .form-field textarea { height: 90px; min-height: 90px; }
 .form-card .form-button { min-height: 58px; margin-top: 8px; }
 .form-card .form-trust { margin-top: 15px; }
}
@media (max-width: 600px) {
 .price-monthly .price-commitment { max-width: none; font-size: 13px; }
}

@media (min-width: 901px) {
 .hero-copy > .assurances { justify-content: flex-start; align-items: center; column-gap: 12px; }
 .hero-copy > .assurances .hero-pricing-note { align-self: center; align-items: center; margin-left: auto; }
}

@media (max-width: 600px) {
 .proof-support strong span { font-size: clamp(12px, 3.85vw, 16px); letter-spacing: -.06em; }
 .proof-support small { font-size: clamp(8px, 2.56vw, 10px); white-space: nowrap; }
 .proof-support .proof-support-word { display: inline; }
}

/* 固定ボタンがない画面に合わせ、締めの説明文とフッター余白を整える。 */
.final-content > p:not(.hand-note) { font-size: 16px; }
.landing-page .footer { padding-bottom: 34px; }
@media (min-width: 901px) {
 .landing-page .footer { padding: 24px 0 20px; }
}
@media (max-width: 900px) {
 .final-content > p:not(.hand-note) { font-size: 15px; }
 .landing-page .footer { padding-bottom: 30px; }
}
@media (max-width: 600px) {
 .final-content > p:not(.hand-note) { font-size: 14px; }
 .landing-page .footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}

/* 無料案の画像が右カラムに寄り過ぎないよう間隔を戻す。 */
@media (min-width: 1101px) {
 .sample .sample-visual img { width: 105%; transform: translateX(-5%); }
}

/* 料金セクションの保守・改善運用案内を周囲から区別する。 */
.pricing .new-pricing-care { background: #fff; }

/* 開始価格を主役にし、他の料金は必要な方が展開して確認できるようにする。 */
.pricing .pricing-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .85fr); align-items: center; gap: 24px; margin-top: 25px; padding: 28px 32px; border: 1px solid #cfe2f6; border-radius: 18px; background: #fff; box-shadow: 0 8px 30px rgba(15,73,130,.07); }
.pricing .pricing-main h3 { margin: 0; color: #10345e; font-size: 1.25rem; }
.pricing .pricing-main p { margin: 8px 0 0; line-height: 1.75; }
.pricing .pricing-main .new-pricing-price { margin-top: 4px; }
.pricing .pricing-main-note { padding-left: 23px; border-left: 3px solid #a8caff; color: #304d78; }
.pricing .pricing-details { margin-top: 14px; border: 1px solid #cfe2f6; border-radius: 14px; background: #fff; }
.pricing .pricing-details summary { cursor: pointer; padding: 17px 23px; color: #075be8; font-weight: 700; }
.pricing .pricing-details summary:hover, .pricing .pricing-details summary:focus-visible { background: #f0f7ff; }
.pricing .pricing-details[open] summary { border-bottom: 1px solid #e1ecf8; }
.pricing .pricing-details-body { padding: 5px 23px 15px; }
.pricing .pricing-details dl { margin: 0; }
.pricing .pricing-details dl > div { display: grid; grid-template-columns: minmax(160px, .7fr) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid #e7eff9; }
.pricing .pricing-details dl > div:last-child { border-bottom: 0; }
.pricing .pricing-details dt { color: #10345e; font-weight: 700; }
.pricing .pricing-details dd { margin: 0; color: #25486f; font-weight: 700; }
.pricing .pricing-details dd small { display: block; margin-top: 2px; color: #415771; font-size: .83em; font-weight: 400; line-height: 1.55; }
@media (max-width: 700px) {
 .pricing .pricing-main { grid-template-columns: 1fr; gap: 13px; padding: 22px; }
 .pricing .pricing-main-note { padding: 12px 0 0; border-left: 0; border-top: 2px solid #d8e9fb; }
 .pricing .pricing-details dl > div { grid-template-columns: 1fr; gap: 2px; }
}
