/* ==========================
   CONTACT PAGE CSS
   - 既存のCSSとバッティングしないように
   - 接頭辞「contact-」を使用
   ========================== */


/* Hero Section */
.kyotsu-hero-section {
    background-image: url('https://wrt.solutions/sol2025/wp-content/uploads/2025/11/contactback.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px;
    margin: 0 0 0px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kyotsu-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(70, 193, 147, 0.85) 0%, rgba(36, 152, 164, 0.84) 50%, rgba(34, 26, 128, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.kyotsu-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

.kyotsu-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
}

.kyotsu-hero-label {
    font-size: 16px;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.kyotsu-hero-title {
    font-size: 48px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: 0.15em;
    line-height: 1.3;
}

.kyotsu-hero-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    margin: 0 auto;
}

.kyotsu-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.kyotsu-section-label {
    font-size: 14px;
    letter-spacing: 0.2em;
    color: #2449A4;
    font-weight: 600;
    margin-bottom: 15px;
}

.kyotsu-section-title-main {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    color: #333;
}

.kyotsu-section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2449A4, transparent);
    margin: 0 auto;
}
@media (max-width: 768px) {
   .kyotsu-section-title-main {
        font-size: 26px;
    }

    .kyotsu-hero-section {
        padding: 80px 20px;
    }

    .kyotsu-hero-label {
        font-size: 14px;
        letter-spacing: 0.25em;
    }

    .kyotsu-hero-title {
        font-size: 36px;
        letter-spacing: 0.1em;
    }

    .kyotsu-hero-divider {
        width: 80px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .kyotsu-hero-section {
        padding: 60px 15px;
    }

    .kyotsu-hero-label {
        font-size: 13px;
        letter-spacing: 0.2em;
    }

    .kyotsu-hero-title {
        font-size: 28px;
        letter-spacing: 0.08em;
    }

    .kyotsu-hero-divider {
        width: 60px;
        height: 3px;
    }
}
/* Hero Header Section */
.contact-hero-header {
    position: relative;
    height: 256px;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/contactback.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.contact-hero-content {
    text-align: center;
    color: #fff;
}

.contact-hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 8px;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
    color: #fff;
}

.contact-hero-line {
    width: 64px;
    height: 4px;
    background-color: #fff;
    margin: 0 auto 12px;
}

.contact-hero-subtitle {
    font-size: 18px;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
}

/* Page Wrapper */
.contact-page-wrapper {
    background: linear-gradient(to bottom right, #f8fafc, #e2e8f0);
    min-height: calc(100vh - 256px);
    padding: 48px 16px;
}

.contact-container {
    max-width: 672px;
    margin: 0 auto;
}

/* Header Section */
.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-title {
    font-size: 24px;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 12px;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
}

.contact-description {
    color: #475569;
    line-height: 1.75;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
}

.contact-warning {
    font-size: 14px;
    color: #dc2626;
}

/* Form Container */
.contact-form-container {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 32px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .contact-form-container {
        padding: 40px;
    }
}

/* Form Elements */
.contact-form-group {
    margin-bottom: 24px;
}

.contact-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
}

.contact-required {
    color: #ef4444;
}

.contact-form-input,
.contact-form-select,
.contact-form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
    transition: all 0.2s;
    background-color: #fff;
}

.contact-form-input:focus,
.contact-form-select:focus,
.contact-form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.contact-form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23334155' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact-form-textarea {
    resize: vertical;
    min-height: 144px;
}

.contact-form-note {
    font-size: 12px;
    color: #64748b;
    margin-top: 8px;
}

/* Privacy Box */
.contact-privacy-box {
    margin-bottom: 32px;
    padding: 24px;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.contact-privacy-title {
    font-size: 14px;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 12px;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
}

.contact-privacy-content {
    font-size: 12px;
    color: #475569;
    line-height: 1.75;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
}

.contact-privacy-content p {
    margin-bottom: 8px;
}

.contact-privacy-content p:last-child {
    margin-bottom: 0;
}

/* Checkbox */
.contact-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: color 0.2s;
}

.contact-checkbox-label:hover .contact-checkbox-text {
    color: #1e293b;
}

.contact-checkbox {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    flex-shrink: 0;
    appearance: none;
    background-color: #fff;
    position: relative;
}

.contact-checkbox:checked {
    background-color: #2563eb;
    border-color: #2563eb;
}

.contact-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.contact-checkbox-text {
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
}

.contact-checkbox-bold {
    font-weight: 600;
}

/* Submit Button */
.contact-submit-btn {
    width: 100%;
    background-color: #2563eb;
    color: #fff;
    font-weight: 600;
    padding: 16px 24px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
}

.contact-submit-btn:hover {
    background-color: #1d4ed8;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.contact-submit-btn:active {
    transform: translateY(1px);
}

/* Footer Note */
.contact-footer-note {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    margin-top: 32px;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero-header {
        height: 200px;
        margin-top: 0;
    }

    .contact-hero-title {
        font-size: 36px;
    }

    .contact-hero-subtitle {
        font-size: 16px;
    }

    .contact-page-wrapper {
        padding: 32px 16px;
        min-height: calc(100vh - 200px);
    }

    .contact-form-container {
        padding: 24px;
    }

    .contact-title {
        font-size: 20px;
    }

    .contact-description {
        font-size: 14px;
    }
}

