@charset "UTF-8";

/* 完了ページスタイル（共通） */
.thanks-page {
    padding: 60px 20px 80px;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* チェックマークアイコン */
.thanks-icon {
    margin-bottom: 30px;
}

.thanks-checkmark {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.thanks-checkmark svg {
    width: 100%;
    height: 100%;
}

.thanks-checkmark-circle {
    stroke: #4caf50;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: thanks-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
    fill: none;
}

.thanks-checkmark-check {
    stroke: #4caf50;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: thanks-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

@keyframes thanks-stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* タイトル */
.thanks-title {
    margin: 0 0 20px;
    font-size: 32px;
    font-weight: 800;
    color: #333;
    animation: thanks-fadeInUp 0.5s ease 0.3s both;
}

/* メッセージ */
.thanks-message {
    margin: 0 0 30px;
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    animation: thanks-fadeInUp 0.5s ease 0.4s both;
}

/* 情報ボックス */
.thanks-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 30px;
    text-align: left;
    animation: thanks-fadeInUp 0.5s ease 0.5s both;
}

.thanks-info-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.thanks-info ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.thanks-info li {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    padding-left: 16px;
    position: relative;
    margin-bottom: 6px;
}

.thanks-info li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff5353;
}

.thanks-info li:last-child {
    margin-bottom: 0;
}

/* サブメッセージ */
.thanks-submessage {
    margin: 0 0 35px;
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    animation: thanks-fadeInUp 0.5s ease 0.6s both;
}

/* ボタン */
.thanks-buttons {
    animation: thanks-fadeInUp 0.5s ease 0.7s both;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.thanks-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    min-width: 240px;
}

.thanks-btn-primary {
    background: linear-gradient(135deg, #ff5353 0%, #e64848 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 83, 83, 0.3);
}

.thanks-btn-primary:hover {
    background: linear-gradient(135deg, #e64848 0%, #d43a3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 83, 83, 0.4);
    color: #fff;
}

.thanks-btn-secondary {
    background: #fff;
    color: #555;
    border: 1px solid #d5d5d5;
}

.thanks-btn-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    color: #333;
}

@keyframes thanks-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* モバイル対応 */
@media (max-width: 768px) {
    .thanks-page {
        padding: 40px 15px 60px;
    }

    .thanks-content {
        padding: 40px 20px;
    }

    .thanks-checkmark {
        width: 80px;
        height: 80px;
    }

    .thanks-title {
        font-size: 26px;
    }

    .thanks-message {
        font-size: 15px;
    }

    .thanks-btn {
        padding: 14px 30px;
        font-size: 15px;
        min-width: 220px;
    }
}
