/* ===========================
   Base Reset & Typography
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Yu Gothic", "Hiragino Sans", sans-serif;
    background: #fcfcf9; /* クリーム系で温かみ */
    color: #2c2c2c;
    line-height: 1.7;
    font-size: 16px;
}

/* ===========================
   Container
=========================== */
.thanks-wrap {
    max-width: 700px;
    margin: 60px auto;
    padding: 50px 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    text-align: center;
    animation: fadeIn 0.6s ease;
}

/* ===========================
   Typography
=========================== */
.thanks-wrap h1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 26px;
}

.thanks-wrap p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #333;
}

/* ===========================
   Button Styles
=========================== */
button,
a.button {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, #3a8d6f 0%, #2c6b54 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

button:hover,
a.button:hover {
    background: linear-gradient(135deg, #2c6b54 0%, #1e4d3e 100%);
    transform: translateY(-2px);
}

button:active,
a.button:active {
    transform: translateY(0);
}

/* ===========================
   Notice Box
=========================== */
.notice {
    margin-top: 28px;
    padding: 20px;
    background: #f0f8f5;
    border: 1px solid #cce3da;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1e4d3e;
    text-align: left;
}

/* ===========================
   Footer
=========================== */
.signature {
    margin-top: 50px;
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
}

/* ===========================
   Animation
=========================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   Responsive for Mobile
=========================== */
@media screen and (max-width: 768px) {
    .thanks-wrap {
        padding: 30px 20px;
        margin: 40px 10px;
    }

    .thanks-wrap h1 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .thanks-wrap p {
        font-size: 1rem;
    }

    button,
    a.button {
        width: 100%;
        padding: 14px 0;
        font-size: 1rem;
    }

    .notice {
        font-size: 0.9rem;
        padding: 16px;
    }

    .signature {
        font-size: 0.85rem;
        margin-top: 30px;
    }
}