.form {
    width: 100%;
    max-width: 800px;
    margin: 60px auto;
    padding: 40px 20px;
    color: #333;
    line-height: 1.6;
}

.form__title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    background-color: #2CBDD2;
    text-align: center;
    margin-bottom: 20px;
    padding: 30px 20px;
}

.form__description {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

.form .input-wrap {
    margin-bottom: 30px;
}

.form .input-wrap label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.form .required {
    color: #DB0000;
    font-size: 14px;
}

.form .input input[type="text"],
.form .input input[type="tel"],
.form .input input[type="email"],
.form .input textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s ease;
}

.form .input input[type="text"]:focus,
.form .input input[type="tel"]:focus,
.form .input input[type="email"]:focus,
.form .input textarea:focus {
    outline: none;
    border-color: #2CBDD2;
}

.form .input textarea {
    resize: vertical;
    min-height: 150px;
}

.privacy-policy-wrap {
    margin: 40px 0 20px;
}

.privacy-policy-scroll {
    max-height: 300px;
    overflow-y: scroll;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
    font-size: 14px;
    line-height: 1.8;
}

.privacy-policy-scroll h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2CBDD2;
    margin-bottom: 15px;
}

.privacy-policy-scroll h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px;
}

.privacy-policy-scroll p {
    margin-bottom: 10px;
}

.privacy-policy-scroll ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 10px;
}

.privacy-policy-scroll li {
    margin-bottom: 5px;
}

.agreement-wrap {
    margin: 20px 0;
}

.agreement-wrap label {
    display: flex;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
}

.agreement-wrap input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.submit-wrap {
    text-align: center;
    margin-top: 40px;
}

.submit-button {
    background: linear-gradient(180deg, #22125B 0%, #3F2282 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    padding: 20px 80px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.submit-button:hover {
    opacity: 0.9;
}

.error-message {
    background-color: #ffe6e6;
    border: 2px solid #DB0000;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.error-message li {
    color: #DB0000;
    margin-bottom: 8px;
}

div.validation-error {
    display: block;
    font-size: 14px;
    color: #DB0000;
    margin-top: 5px;
}

/* 確認画面 */
.confirm-content {
    background-color: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
}

.confirm {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.confirm-item {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.confirm-item:last-child {
    border-bottom: none;
}

.confirm dt {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    min-width: 180px;
    padding-right: 20px;
}

.confirm dd {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    flex: 1;
    margin: 0;
}

.confirm-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.back-button {
    background-color: #fff;
    color: #2CBDD2;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 60px;
    border: 2px solid #2CBDD2;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.back-button:hover {
    background-color: #2CBDD2;
    color: #fff;
}

/* 完了画面 */
.complete-content {
    text-align: center;
    padding: 60px 20px;
}

.complete__title {
    font-size: 32px;
    font-weight: 700;
    color: #2CBDD2;
    margin-bottom: 30px;
}

.complete__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background-color: #2CBDD2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #fff;
    font-weight: bold;
}

.complete__message {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 30px;
}

.complete__note {
    font-size: 14px;
    color: #666;
    margin-bottom: 40px;
}

.complete__buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.tel-button {
    background: linear-gradient(180deg, #22125B 0%, #3F2282 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: block;
}

.tel-button:hover {
    opacity: 0.9;
}

.home-button {
    background-color: #fff;
    color: #2CBDD2;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 40px;
    border: 2px solid #2CBDD2;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.home-button:hover {
    background-color: #2CBDD2;
    color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .form {
        margin: 40px auto;
        padding: 30px 20px;
    }
    
    .form__title {
        font-size: 28px;
    }
    
    .submit-button {
        font-size: 18px;
        padding: 18px 60px;
    }
    
    .confirm-content {
        padding: 20px;
    }
    
    .confirm-item {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .confirm dt {
        min-width: auto;
        padding-right: 0;
        margin-bottom: 8px;
    }
    
    .confirm-buttons {
        flex-direction: column-reverse;
        gap: 15px;
    }
    
    .submit-button,
    .back-button {
        width: 100%;
        font-size: 16px;
        padding: 15px 40px;
    }
    
    .complete-content {
        padding: 40px 20px;
    }
    
    .complete__title {
        font-size: 24px;
    }
    
    .complete__icon {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
    
    .complete__message {
        font-size: 16px;
    }
    
    .tel-button,
    .home-button {
        font-size: 16px;
        padding: 15px 30px;
    }
}
