@import url('https://fonts.googleapis.com/css2?family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Kiwi+Maru:wght@300;400;500&family=M+PLUS+1p&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Sawarabi+Gothic&family=Shippori+Antique&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&family=Zen+Old+Mincho:wght@400;500;600;700&display=swap');

.sec-ttl-en {
    font-family: "Inria Sans", sans-serif;
    font-size: 60px;
}

.grd-circle {
    width: 10px;
    height: 10px;
    object-fit: contain;
    margin-right: 10px;
}

/* ボタン */
.btn-gradient {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 10px 15px 10px 35px;
    font-size: var(--font-size-md);
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(90deg, #3fa9f5, #00c27a);
    border-radius: 50rem;
    transition: all 0.3s ease;
    width: fit-content;

    cursor: pointer;
}

.btn-gradient:hover {
    color: #fff;
}

.breadcrumbs a {
    color: #000;
    text-decoration: none;
}

/* 矢印 */
.btn-gradient .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #00c27a;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-weight: bold;
    font-size: var(--font-size-md);
    transition: transform 0.3s ease;
    font-weight: bold;
}

.btn-gradient .arrow img {
    width: 20px;
}

.btn-gradient:hover .arrow {
    transform: translateX(3px);
}





/* ======================================= */

.hero {
    width: 100%;

    margin: 0 auto;
    padding: 100px 0 80px 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.circle-rt,
.circle-lt {
    position: absolute;
    z-index: -999;
    width: 700px;
    height: 700px;
    right: -250px;
    top: -400px;
}

.circle-lt {
    width: 500px;
    height: 500px;
    left: -300px;
    top: 50%;
    transform: translateY(-50%);
}

.circle-rt img {
    width: 100%;
    object-fit: cover;
}

.circle-rt img {
    display: inline-block;
    animation: spin-reverse 20s linear infinite;
}

.circle-lt img {
    display: inline-block;
    animation: spin-reverse-lt 20s linear infinite;
}

@keyframes spin-reverse {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes spin-reverse-lt {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


.hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.hero-text {
    flex: 1;
}

.hero-text-top {
    min-width: 500px;
}

.hero-text h1 {
    font-size: var(--font-size-xl-en);
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-text .sub {
    font-size: var(--font-size-md);
    color: #666;
    margin-bottom: 24px;
    font-weight: 600;
}

.hero-text .desc {
    font-size: var(--font-size-md);
    color: #333;
    line-height: 1.8;
    font-weight: bold;
}

.hero-visual {
    display: flex;
    align-items: flex-end;
    gap: 24px;
}




.hero-visual {
    position: relative;
    width: 100%;
    min-width: 600px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    overflow: hidden;
}

/* === large領域 === */
.rect {
    position: relative;
    background: #fff;
    border-radius: var(--font-size-md);

}

.hero-visual .large {
    min-width: 300px;
    min-height: 400px;
}

.hero-visual .medium,
.hero-visual .small {
    min-width: 190px;
    min-height: 240px;
}

/* === 各画像の共通設定 === */
.rect img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeChange 12s infinite;
    border-radius: var(--font-size-md);
}

.rect.large img {
    border-radius: 30px 30px var(--font-size-md) 30px;
}

/* === 各画像のタイミング === */
.rect img:nth-child(1) {
    animation-delay: 0s;
}

.rect img:nth-child(2) {
    animation-delay: 4s;
}

.rect img:nth-child(3) {
    animation-delay: 8s;
}

/* === アニメーション定義 === */
@keyframes fadeChange {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    35% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* 特徴 */
/* セクション全体 */
.features-pc-none {
    display: none;
}

.features {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

/* 背景の波ライン */
.wave-bg {
    position: absolute;
    left: 0;
    top: 100px;
    width: 100%;
    height: fit-content;
    z-index: -99;
}

.wave-bg img {
    width: 100%;
    object-fit: cover;
}

/* カードの配置 */
.feature-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
    max-width: 1100px;
    margin: auto;
}

/* 各カード */
.card {
    background-color: #fff;
    border-radius: var(--font-size-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    width: 90%;
    height: fit-content;
    padding: 32px 24px;
    text-align: left;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card:nth-child(2) {
    margin-top: 60px;
}

.card:nth-child(3) {
    margin-top: 120px;
}


/* アイコン */
.icon {
    font-size: 50px;
    margin-bottom: 50px;
    margin: auto;
    background: #fff;
}

.icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* タイトル */
.card h3 {
    font-size: var(--font-size-l);
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    font-weight: bold;
}

/* テキスト */
.card p {
    font-size: var(--font-size-md);
    line-height: 1.7;
    color: #333;
    font-weight: normal;
}


/* アピール */
.apl {
    width: 100%;
    display: flex;
}

.apl-wrapper {
    max-width: 1100px;
    width: 90%;
    margin: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4%;
}

.apl-img-sp {
    display: none;
}

.apl-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
}

.apl-right {
    max-width: 500px;
}

.green-box {
    display: inline-block;
    background-color: #009A53;
    color: #fff;
    line-height: 1.8;
    padding: 2px 10px;
    font-size: var(--font-size-l);
    font-weight: bold;
    margin-bottom: 10px;
    white-space: nowrap;
}

.apl-text p {
    line-height: 1.8;
    font-size: var(--font-size-md);
    color: #333;
    font-weight: normal;
}

/* プロセス */
.process {
    width: 100%;
    display: flex;
    padding-top: 120px;
}

.process-container {
    max-width: 1100px;
    width: 90%;
    margin: auto;
    padding: 20px;
}

.step {
    display: flex;
    gap: 50px;
    padding-bottom: 50px;
    position: relative;
    align-items: flex-start;
    height: fit-content;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #30AD74;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #30AD74;
    background: #fff;
    position: relative;
}

.step-number::after {
    content: "";
    position: absolute;
    top: 58px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 110px;
    border-left: 2px dotted #30AD74;
    z-index: 0;
}

.step:last-child .step-number::after {
    display: none;
}

.step-text {
    width: 80%;
}

.step-text h3 {
    padding: 10px 0 20px;
    font-size: var(--font-size-l);
    font-weight: bold;
}

.step-text p {
    font-size: var(--font-size-md);
    line-height: 1.6;
}

/* サポート内容 */

/* 下の波 */
.support-wave-box {
    position: relative;
    width: 100%;
    height: auto;
    left: 0;
}

.support-wave-box .wave-anim {
    object-fit: contain;
    position: relative;
    left: 0;
    bottom: 0;
    width: 70%;
    display: flex;
}

/* セクション全体 */
.supports {
    padding: 120px 0;
    background-color: #F3F8F6;
    border-top: 2px solid #C5D9D2;
    border-bottom: 2px solid #C5D9D2;
}

.supports .container {
    max-width: 1100px;
    width: 90%;
    padding: 20px;
    margin: 0 auto;
}


/* 各プログラム項目 */
.support-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.support-item:last-child {
    margin-bottom: 0;
}

.support-item.reverse {
    flex-direction: row-reverse;
}

/* 画像部分 */
.support-image {
    flex: 1;
}

.img-placeholder {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    object-fit: cover;
}

.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-placeholder01 img,
.img-placeholder03 img {
    border-radius: 30px var(--font-size-md) var(--font-size-md) 30px;
}

.img-placeholder02 img {
    border-radius: var(--font-size-md) 30px 30px var(--font-size-md);
}

/* テキスト部分 */
.support-content {
    flex: 1;
}

.support-content h4 {
    font-size: var(--font-size-md);
    color: #000;
    margin-bottom: 15px;
}

.support-content .main-title {
    font-size: var(--font-size-sl);
    font-weight: 700;
    margin-bottom: 20px;
}

.support-content .support-txt {
    font-size: var(--font-size-md);
    line-height: 1.8;
    color: #333;
    margin-bottom: 24px;
}

.support-ul {
    list-style: circle;
    padding-left: var(--font-size-md);
    font-weight: bold;
}

/* コンタクト */
.contact-section {
    background: #30AD74;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
    /* min-height: 100vh; */
    overflow: hidden;
    max-height: 640px;
}

/* === コンテナ === */
.contact-container {
    display: flex;
    gap: 20px;
    max-width: 1100px;
    width: 100%;
    max-height: 640px;
    padding: 0;
}

/* === 左カラム === */
.contact-left {
    flex: 1;
    padding: 120px 0;
}

.contact-left__title {
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.contact-left__subtitle {
    margin-top: 15;
    font-size: var(--font-size-md);
    opacity: 0.9;
    font-weight: bold;
}

.contact-ttl-en,
.contact-subttl {
    color: #fff;
}

.contact-left__headline {
    margin-top: var(--font-size-md);
    font-size: var(--font-size-sl);
    font-weight: bold;
    line-height: 1.6;
    margin-top: 30px;
}

.contact-left__text {
    line-height: 1.8;
    margin-top: var(--font-size-md);
}

.contact-left__buttons {
    margin-top: 30px;
    display: flex;
    gap: 12px;
}

.contact-btn {
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-btn:hover {
    border: 2px solid #fff;
}

.contact-btn:hover .arrow {
    transform: translateX(0px);
}



/* === 右カラム === */
.contact-right {
    display: flex;
    gap: 20px;
    height: auto;
    overflow: hidden;
    position: relative;
}

/* スクロール用列 */
.contact-column {
    position: relative;
    width: 250px;
    overflow: hidden;
}

/* 内部のスクロールトラック（2セット分） */
.contact-track {
    display: flex;
    flex-direction: column;
    animation-timing-function: linear;
}

/* 各画像 */
.contact-img {
    width: 250px;
    height: 300px;
    background: #bbb;
    border-radius: var(--font-size-md);
    margin-bottom: 20px;
    position: relative;
}

.contact-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--font-size-md);
}

/* 下方向スクロール */
.contact-column--down .contact-track {
    animation: contactScrollDown 22s linear infinite;
}

/* 上方向スクロール */
.contact-column--up .contact-track {
    animation: contactScrollUp 22s linear infinite;
}

/* 無限にスムーズに流れるようなキーアニメーション */
@keyframes contactScrollDown {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0%);
    }
}

@keyframes contactScrollUp {
    0% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(-50%);
    }
}


/* ミッション */
.mission {
    width: 100%;
    display: flex;
}

.mission-wrapper {
    max-width: 1100px;
    width: 90%;
    margin: auto;
    padding: 120px 20px 0;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.support-header {
    margin-bottom: 50px;
}

.support-top-txt {
    margin-bottom: 50px;
    font-weight: bold;
    line-height: 1.6;
}

.mission-text h3 {
    font-size: var(--font-size-l);
    font-weight: bold;
}

.mission-text p {
    font-size: var(--font-size-md);
    margin-top: 30px;
    line-height: 1.8;
}


/* NEWS セクション */
.news-section {
    display: flex;
    justify-content: center;
    padding: 100px 5%;
    background: #fff;
}

.news-container {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    padding: 20px;
    width: 100%;
    gap: 20px;
}

/* ===== 左カラム ===== */
.news-left {
    flex: 0 0 25%;
}

.news-left__title {
    margin: 0;
}

.news-left__label {
    color: #000;
    font-size: var(--font-size-md);
    margin-top: 8px;
    position: relative;
    font-weight: bold;
}


/* ===== 右カラム ===== */
.news-right {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    width: 90%;
}

/* ===== ヘッダー部分 ===== */
.news-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 4px;
    margin-bottom: var(--font-size-md);
    font-size: var(--font-size-md);
    color: #d00;
}

/* ===== ニュース一覧 ===== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.news-item__info {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}

.news-item__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 4px;
}

.news-item__tag {
    background: #009A53;
    color: #fff;
    border-radius: 4px;
    padding: 5px 8px;
    font-size: 12px;
}

.news-item__category {
    color: #009A53;
    font-size: var(--font-size-md);
}

.news-item__title {
    font-size: var(--font-size-md);
    color: #111;
    margin: 5px 0;
    line-height: 1.7;
}

.news-item__date {
    color: #888;
    font-size: 13px;
    margin-top: 2px;
}

/* 矢印ボタン */
.news-item__arrow {
    border: 2px solid #009A53;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #009A53;
    font-weight: bold;
    flex-shrink: 0;
    transition: all 0.3s;
}

.news-item__arrow:hover {
    background: #009A53;
    color: #fff;
}

.news-btn {
    margin-top: 20px;
    color: #fff;
    margin-left: auto;
}

.common-banner-box {
    padding: 100px 20px;
}

@media(max-width:1100px) {
    .hero {
        padding: 80px 0 80px 50px;
    }

    .hero-inner {
        gap: 0;
    }

    .support-item {
        gap: 20px;
    }

    .contact-column.contact-column--up {
        width: 0;
    }

    .contact-container {
        justify-content: center;
    }

    .contact-left {
        flex: none;
    }

    .mission-right {
        max-width: 350px;
    }

    .news-container {
        flex-direction: column;
    }
}

@media (max-width:768px) {
    .sec-ttl-en {
        font-size: 50px;
    }

    .rect.medium,
    .rect.small {
        display: none;
    }

    .hero-text-top {
        min-width: 350px;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero-inner {
        gap: 10px;
    }

    .card:nth-child(2),
    .card:nth-child(3) {
        margin: 0;
    }

    .feature-cards {
        overflow: auto;
        width: 100%;
        padding: 20px 0;
    }

    .wave-bg {
        display: none;
    }

    .card {
        min-width: 350px;
        height: auto;
    }

    .features {
        padding: 120px 20px;
    }

    .features-pc-none {
        display: block;
    }

    .scroll-ok-txt {
        margin-top: 30px;
        font-size: var(--font-size-md);
        font-weight: bold;
    }

    .icon {
        margin: 20px auto;
    }

    .apl-left {
        width: max-content;
    }

    .apl-right {
        display: none;
    }

    .apl-img-sp {
        display: block;
        max-width: 400px;
    }

    .step {
        gap: 20px;
    }

    .support-wave-box .wave-anim {
        width: 100%;
    }

    .support-item,
    .support-item.reverse {
        flex-direction: column;
        align-items: baseline;
    }

    .support-item {
        gap: 30px;
        margin-bottom: 50px;
    }

    .contact-column {
        display: none;
        width: 0;
    }

    .contact-container {
        justify-content: left;
        width: 90%;
    }

    .mission-wrapper {
        flex-direction: column-reverse;
        padding: 120px 0;
        align-items: baseline;

    }

    .mission-right {
        width: 100%;
        max-width: max-content;
    }

    .mission-text h3 {
        font-size: var(--font-size-sl);
        color: #000;
    }

    .news-container {
        padding: 0;
    }

    .contact-section {
        max-height: 500px;
    }
}

@media (max-width:680px) {
    .hero-inner {
        flex-direction: column;
        align-items: baseline;
        gap: 30px;
    }

    .hero-visual {
        height: auto;
        min-width: auto;
    }

    .hero-visual .large {
        width: 100%;
    }

}

@media (max-width:680px) {
    .apl-left {
        width: fit-content;
    }
}

@media (max-width:500px) {
    .sec-ttl-en {
        font-size: 45px;
    }

    .hero {
        padding: 0;
        display: flex;
        align-items: center;
        align-items: center;
        height: 100vh;
    }

    .hero-inner.hero-inner-top {
        width: 90%;
        /* margin-bottom: 130px; */
    }

    .circle-rt,
    .circle-lt {
        position: absolute;
        z-index: -999;
        width: 600px;
        height: 600px;
        right: -350px;
        top: -350px;
    }

    .features,
    .news-section {
        padding: 80px 20px;
    }

    .news-section {
        padding-top: 0;
    }

    .common-banner-box,
    .supports,
    .mission-wrapper {
        padding: 80px 0;
    }

    .process {
        padding-top: 80px;
    }

    .supports .container {
        padding: 0;
    }

    .news-right,
    .process-container {
        width: 100%;
    }

    .apl-wrapper {
        width: 100%;
        grid-template-columns: auto;
    }

    .step {
        padding-bottom: 30px;
    }

    .step-number::after {
        height: 140px;
    }

    .step:nth-child(3) .step-number::after {
        height: 170px;
    }

    .step-text {
        line-height: 1.6;
    }

    .step-text h3 {
        padding-bottom: 10px;
    }

    .img-placeholder {
        height: 250px;
    }

    .main-title {
        color: #000;
    }

    .contact-left {
        width: fit-content;
    }

    .contact-container {
        width: 100%;
    }

    .mission-text h3 {
        line-height: 1.6;
    }

    .mission-text p {
        font-size: var(--font-size-md);
        margin-top: 10px;
        line-height: 1.8;
    }

    .rect.large img {
        /* display: none; */
        max-width: 320px;
        aspect-ratio: 5 / 3;
        height: auto;
    }

    .hero-visual .large {
        min-height: 200px;
        height: fit-content;
    }

    .circle-lt {
        top: 80%;
        left: -100%;
    }
}


/* 無料診断 */
.free-diagnosis-box {
    padding: 0;
    width: 95%;
    margin: auto;
}

.free-diagnosis-box__inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 32px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid #dbeafe;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(30, 64, 175, 0.08);
}

.free-diagnosis-box__label {
    display: inline-block;
    margin: 0 0 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #bcffe0;
    color: #009A53;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
}

.free-diagnosis-box__title {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
}

.free-diagnosis-box__lead {
    margin: 0 0 24px;
    color: #334155;
    font-size: 16px;
    line-height: 1.9;
}

.free-diagnosis-box__points {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.free-diagnosis-box__points li {
    position: relative;
    padding: 14px 16px 14px 55px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    color: #1e293b;
    font-size: 15px;
    line-height: 1.7;
}

.free-diagnosis-box__points li::before {
    content: "✔";
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #009A53;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.free-diagnosis-form {
    margin-top: 8px;
}

.free-diagnosis-form__group {
    margin-bottom: 18px;
}

.free-diagnosis-form__label {
    display: block;
    margin-bottom: 8px;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.free-diagnosis-form__input {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    background: #ffffff;
    color: #000;
    font-size: 15px;
    line-height: 1;
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.free-diagnosis-form__input::placeholder {
    color: #94a3b8;
}

.free-diagnosis-form__input:focus {
    outline: none;
    border-color: #2563eb;
    background: #fdfefe;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.free-diagnosis-form__note {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

.free-diagnosis-form__submit {
    margin-top: 24px;
}

.free-diagnosis-form__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 58px;
    padding: 16px 20px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, #3fa9f5, #00c27a);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.free-diagnosis-form__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.34);
    opacity: 0.98;
}

.free-diagnosis-form__button:active {
    transform: translateY(0);
}

.free-diagnosis-box .wpcf7-spinner {
    display: block;
    margin: 14px auto 0;
}

.free-diagnosis-box .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #dc2626;
    font-size: 13px;
}

.free-diagnosis-box .wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 14px 16px !important;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.8;
}

nput[type="text"] {
    padding-left: 10px;
}

@media (max-width: 767px) {
    .free-diagnosis-box {
        padding: 20px 10px;
        width: 100%;
    }

    .free-diagnosis-box__inner {
        padding: 28px 15px;
        border-radius: 10px;
    }

    .free-diagnosis-box__title {
        font-size: 26px;
        line-height: 1.4;
    }

    .free-diagnosis-box__lead {
        font-size: 15px;
        line-height: 1.8;
    }

    .free-diagnosis-box__points li {
        padding: 13px 14px 13px 42px;
        font-size: 14px;
    }

    .free-diagnosis-form__input {
        height: 52px;
        font-size: 14px;
    }

    .free-diagnosis-form__button {
        min-height: 54px;
        font-size: 15px;
    }
}

.thanks-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9999;
}

.thanks-modal.active {
    opacity: 1;
    visibility: visible;
}

.thanks-modal__inner {
    position: relative;
    width: 90%;
    max-width: 420px;
    padding: 32px 24px;
    background: #fff;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.thanks-modal__inner h3 {
    margin-bottom: 12px;
    font-size: 20px;
    color: #009A53;
    font-weight: bold;
}

.thanks-modal__inner p {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
}

.thanks-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.wpcf7-response-output {
    display: none !important;
}