@charset "UTF-8";

/* ========================================
   第一土木 送信完了ページ
======================================== */

.renewal-sent-page {
    background: #ffffff;
}


/* ========================================
   ページタイトル
======================================== */

.renewal-sent-hero {
    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.56) 0%,
            rgba(0, 0, 0, 0.18) 48%,
            rgba(0, 0, 0, 0) 78%
        ),
        url("../img/contact/mainvisual.jpg");
}


/* ========================================
   送信完了
======================================== */

.renewal-sent {
    padding: 100px 0 120px;
    background:
        linear-gradient(
            180deg,
            #eef7f2 0%,
            #f8fbf9 100%
        );
}

.renewal-sent__container {
    max-width: 900px;
}

.renewal-sent__card {
    position: relative;
    padding: 72px 70px 68px;
    overflow: hidden;
    border: 1px solid #d8e4dc;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(5, 77, 41, 0.07);
    text-align: center;
}

.renewal-sent__card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: #008a44;
    content: "";
}


/* ========================================
   完了アイコン
======================================== */

.renewal-sent__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    margin: 0 auto 26px;
    border-radius: 50%;
    background: #008a44;
    box-shadow: 0 10px 24px rgba(0, 138, 68, 0.18);
}

.renewal-sent__icon span {
    position: relative;
    display: block;
    width: 29px;
    height: 16px;
    border-bottom: 4px solid #ffffff;
    border-left: 4px solid #ffffff;
    transform: translateY(-3px) rotate(-45deg);
}


/* ========================================
   テキスト
======================================== */

.renewal-sent__en {
    margin: 0 0 12px;
    color: #008a44;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.renewal-sent h2 {
    margin: 0;
    color: #17231c;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.06em;
}

.renewal-sent__lead {
    margin: 26px 0 0;
    color: #17231c;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
}

.renewal-sent__message {
    max-width: 640px;
    margin: 28px auto 0;
    padding: 28px 30px;
    border: 1px solid #d8e4dc;
    background: #f8fbf9;
}

.renewal-sent__message p {
    margin: 0;
    color: #536058;
    font-size: 14px;
    line-height: 2;
}

.renewal-sent__message p + p {
    margin-top: 10px;
}

.renewal-sent__note {
    max-width: 640px;
    margin: 20px auto 0;
    color: #6d786f;
    font-size: 12px;
    line-height: 1.8;
}


/* ========================================
   ボタン
======================================== */

.renewal-sent__actions {
    margin-top: 38px;
}

.renewal-sent__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 360px);
    min-height: 64px;
    padding: 14px 28px;
    color: #ffffff;
    border: 2px solid #008a44;
    border-radius: 8px;
    background: #008a44;
    box-shadow: 0 10px 24px rgba(0, 138, 68, 0.16);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.renewal-sent__button:hover {
    color: #ffffff;
    border-color: #006c36;
    background: #006c36;
    box-shadow: 0 14px 28px rgba(0, 108, 54, 0.22);
    transform: translateY(-2px);
}

.renewal-sent__sp-break {
    display: none;
}


/* ========================================
   スマートフォン
======================================== */

@media screen and (max-width: 767px) {

    .renewal-sent {
        padding: 65px 0 80px;
    }

    .renewal-sent__card {
        padding: 50px 22px 44px;
    }

    .renewal-sent__icon {
        width: 64px;
        height: 64px;
        margin-bottom: 22px;
    }

    .renewal-sent__icon span {
        width: 25px;
        height: 14px;
        border-bottom-width: 3px;
        border-left-width: 3px;
    }

    .renewal-sent h2 {
        font-size: 29px;
        line-height: 1.55;
    }

    .renewal-sent__sp-break {
        display: block;
    }

    .renewal-sent__lead {
        margin-top: 22px;
        font-size: 16px;
    }

    .renewal-sent__message {
        margin-top: 24px;
        padding: 23px 18px;
        text-align: left;
    }

    .renewal-sent__message p {
        font-size: 13px;
        line-height: 1.9;
    }

    .renewal-sent__note {
        font-size: 11px;
        text-align: left;
    }

    .renewal-sent__actions {
        margin-top: 32px;
    }

    .renewal-sent__button {
        width: 100%;
        min-height: 60px;
        font-size: 15px;
    }
}