/* ヘッダーのスタイル */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.desktop-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* メインコンテンツのスタイル */
.main-content {
    max-width: 1000px;
    margin: 120px auto 80px;
    padding: 0 40px;
}

.contact-section {
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.contact-section h1 {
    font-size: 2.4rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-description {
    text-align: center;
    color: #4a4a4a;
    margin-bottom: 3rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* フォームのスタイル */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group label {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.required {
    color: #ff4757;
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
    padding: 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    border-color: #2d3436;
    outline: none;
    box-shadow: 0 0 0 4px rgba(45, 52, 54, 0.1);
    background-color: #ffffff;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 3rem;
}

.contact-btn {
    background-color: #2d3436;
    color: #ffffff;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    align-self: center;
    min-width: 200px;
}

.contact-btn:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* その他の連絡方法のスタイル */
.contact-info {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #f1f1f1;
    text-align: center;
}

.contact-info h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-info p {
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-info strong {
    color: #2d3436;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* フッターのスタイル */
.footer {
    background-color: #f8f9fa;
    padding: 1.5rem 0;
    text-align: center;
    color: #666;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .main-content {
        margin: 100px auto 60px;
        padding: 0 20px;
    }

    .contact-section {
        padding: 2rem;
        border-radius: 12px;
    }

    .contact-section h1 {
        font-size: 2rem;
    }

    .contact-description {
        font-size: 1rem;
    }

    .contact-btn {
        width: 100%;
    }
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-section {
    animation: fadeIn 0.6s ease-out forwards;
} 