/* Shared Legal Page Styles */
body{
    background-color: white;
}

.legal-page {
    padding: 60px 0;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.8;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.legal-intro {
    font-size: 16px;
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.legal-list {
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-list li {
    margin-bottom: 10px;
}

.legal-sublist {
    padding-left: 20px;
    margin-top: 10px;
    list-style-type: disc;
}

.legal-contact {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

/* Contact Page Specific */
.contact-section {
    padding-top: 40px;
    background-color: transparent;
}

.contact-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 32px;
}

.contact-desc {
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-item {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

.required {
    background: #ff4d4f;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box; /* Important for padding */
}

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

.form-submit {
    text-align: center;
    margin-top: 32px;
}

.submit-btn {
    background:#ff7f62;
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: opacity 0.3s;
    width: 100%;
    max-width: 300px;
    display: inline-block;
    text-decoration: none;
}

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

.contact-thanks {
    text-align: center;
    padding: 60px 20px;
}

.thanks-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000000;
}

/* Tokusho Table */
.tokusho-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.tokusho-table th,
.tokusho-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.tokusho-table th {
    width: 30%;
    font-weight: bold;
    background-color: #f9f9f9;
}

@media (max-width: 768px) {
    .tokusho-table th,
    .tokusho-table td {
        display: block;
        width: 100%;
    }
    
    .tokusho-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }
    
    .tokusho-table td {
        padding-top: 5px;
    }
    
    .contact-form {
        padding: 20px;
    }
}
