/*
Theme Name: LM
*/
.wpcf7-not-valid{
	border:1px solid red!important;
}
.wpcf7-not-valid-tip, .wpcf7-validation-errors{
	display:none!important;
}

/* Text Page */
.text-page { background: #E7E7E7; }
.text-page .text-page__cont { padding: 60px 0 80px; }
.text-page .txt { max-width: 860px; }
.text-page .txt h1, .text-page .txt h2, .text-page .txt h3,
.text-page .txt h4, .text-page .txt h5, .text-page .txt h6 {
    font-weight: 700; color: #000; margin-bottom: 16px; margin-top: 40px; line-height: 1.2;
}
.text-page .txt h1:first-child, .text-page .txt h2:first-child, .text-page .txt h3:first-child { margin-top: 0; }
.text-page .txt h1 { font-size: 2.4rem; }
.text-page .txt h2 { font-size: 1.8rem; }
.text-page .txt h3 { font-size: 1.4rem; }
.text-page .txt p { font-size: 1rem; line-height: 1.7; color: #474747; margin-bottom: 16px; }
.text-page .txt p:last-child { margin-bottom: 0; }
.text-page .txt strong, .text-page .txt b { font-weight: 700; color: #000; }
.text-page .txt ul, .text-page .txt ol { padding-left: 24px; margin-bottom: 16px; }
.text-page .txt ul li, .text-page .txt ol li { font-size: 1rem; line-height: 1.7; color: #474747; margin-bottom: 8px; list-style: disc; }
.text-page .txt ol li { list-style: decimal; }
.text-page .txt a { color: #0000FF; text-decoration: underline; }
.text-page .txt a:hover { opacity: 0.75; }
.text-page .txt blockquote { border-left: 4px solid #0000FF; padding: 12px 20px; margin: 24px 0; color: #474747; font-style: italic; }
@media screen and (max-width: 768px) {
    .text-page .text-page__cont { padding: 40px 0 60px; }
    .text-page .txt h1 { font-size: 1.8rem; }
    .text-page .txt h2 { font-size: 1.4rem; }
    .text-page .txt h3 { font-size: 1.2rem; }
}

/* 404 Page */
.error-404 { background: #E7E7E7; flex-grow: 1; display: flex; align-items: center; }
.error-404 .container { width: 100%; }
.error-404 .error-404__cont { padding: 100px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 600px; }
.error-404 h1 { font-size: 7rem; font-weight: 700; line-height: 1; color: #000; letter-spacing: -2px; }
.error-404 p { font-size: 1.1rem; line-height: 1.6; color: #474747; }
@media screen and (max-width: 768px) {
    .error-404 .error-404__cont { padding: 70px 0; }
    .error-404 h1 { font-size: 4.5rem; }
    .error-404 p { font-size: 1rem; }
}
@media screen and (max-width: 480px) {
    .error-404 h1 { font-size: 3.5rem; }
}

.editor-styles-wrapper :where(:not(.is-layout-flex,.is-layout-grid))>.wp-block {
	width: 100%;
	max-width: 92.1875vw;
	padding: 0 1.30208vw;
	margin-left: auto;
	margin-right: auto;
}