/* Contact Page Specific Styles */
:root {
    --contact-primary: #2980b9;
    --contact-accent: #f39c12;
    --form-bg: #fdfdfd;
}

.contact-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.5) 0%, rgba(233, 236, 239, 0.5) 100%);
    text-align: center;
}

.contact-hero .section-title {
    margin-bottom: 2rem;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    padding: 0 1rem;
    text-align: left;
}

.intro-text .highlight {
    color: var(--contact-primary);
    font-weight: 700;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-image {
    width: 100%;
    height: 180px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Targets Section */
.targets-section {
    background-color: rgba(26, 26, 30, 0.7);
    color: #fff;
    padding: 80px 0;
}

.targets-section .section-title {
    background: linear-gradient(45deg, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.target-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.target-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    word-break: keep-all;
    overflow-wrap: break-word;
}


.target-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Form Section */
.form-section {
    padding: 100px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-header {
    text-align: left;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-card-main {
    background: rgba(41, 128, 185, 0.03);
    border: 2px solid rgba(41, 128, 185, 0.1);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.contact-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--contact-primary);
}

.email-address {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0 2rem;
    color: var(--text-color);
    word-break: break-all;
}

.mailto-btn {
    display: inline-block;
    max-width: 300px;
    text-decoration: none;
    line-height: 1;
}

.email-guide {
    margin-top: 3rem;
    text-align: left;
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #eee;
}

.email-guide h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--contact-primary);
}

.guide-list {
    list-style: none;
    padding: 0;
}

.guide-list li {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.guide-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    font-weight: 900;
    color: var(--contact-primary);
}

.contact-sns-links {
    text-align: center;
}

.contact-sns-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.sns-btn-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.sns-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sns-btn.insta {
    background: #E1306C;
    color: #fff;
}

.sns-btn.insta:hover {
    background: #fff;
    color: #E1306C;
    border-color: #E1306C;
}

.sns-btn.x-twitter {
    background: #000;
    color: #fff;
}

.sns-btn.x-twitter:hover {
    background: #fff;
    color: #000;
    border-color: #000;
}

.sns-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.email-info {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #888;
}

.email-info a {
    color: var(--contact-primary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .form-container {
        padding: 2rem;
    }

    .service-grid {
        gap: 1.5rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }
}