/* ========================================
   Contact Page Enhanced Styles
   index.html と同レベルのモダンなデザイン
======================================== */

/* ヒーローセクション */
.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    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;
}

.contact-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.contact-hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease backwards;
}

.hero-feature:nth-child(1) { animation-delay: 0.3s; }
.hero-feature:nth-child(2) { animation-delay: 0.4s; }
.hero-feature:nth-child(3) { animation-delay: 0.5s; }

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.hero-feature i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.hero-feature h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-feature p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* お問い合わせセクション */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.contact-intro h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.contact-intro p {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.8;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* フォームラッパー */
.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-form-wrapper h3 i {
    color: #667eea;
    font-size: 1.375rem;
}

/* フォームグループ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: #e53e3e;
    margin-left: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.privacy-link {
    color: #667eea;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #764ba2;
}

/* 送信ボタン */
.form-submit {
    margin-top: 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-large {
    width: 100%;
    justify-content: center;
}

/* フォームメッセージ */
.form-message {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background-color: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
    display: block;
}

.form-message.error {
    background-color: #fed7d7;
    color: #742a2a;
    border: 1px solid #fc8181;
    display: block;
}

/* お問い合わせ情報エリア */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card,
.contact-sns-card,
.contact-tips-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.contact-info-card h3,
.contact-sns-card h3,
.contact-tips-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info-card h3 i,
.contact-sns-card h3 i,
.contact-tips-card h3 i {
    color: #667eea;
    font-size: 1.25rem;
}

/* 情報アイテム */
.info-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.info-content p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.info-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* SNSボタン */
.contact-sns-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.sns-buttons {
    display: grid;
    gap: 0.75rem;
}

.sns-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.twitter-btn {
    background: #1da1f2;
    color: white;
}

.twitter-btn:hover {
    background: #1a8cd8;
    transform: translateX(5px);
}

.facebook-btn {
    background: #1877f2;
    color: white;
}

.facebook-btn:hover {
    background: #1564d6;
    transform: translateX(5px);
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.instagram-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4);
}

.amazon-btn {
    background: #ff9900;
    color: #232f3e;
}

.amazon-btn:hover {
    background: #e88b00;
    transform: translateX(5px);
}

/* お問い合わせのヒント */
.contact-tips-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-tips-card li {
    padding: 0.875rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4a5568;
    line-height: 1.6;
    border-bottom: 1px solid #e2e8f0;
}

.contact-tips-card li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-tips-card li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.125rem;
}

/* よくある質問（簡易版） */
.faq-mini {
    padding: 80px 0;
    background: white;
}

.faq-mini h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 3rem;
}

.faq-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.faq-mini-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.faq-mini-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.faq-mini-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-mini-card h3 i {
    color: #667eea;
    font-size: 1.25rem;
}

.faq-mini-card p {
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.btn-outline {
    display: inline-block;
    padding: 0.875rem 2rem;
    border: 2px solid #667eea;
    color: #667eea;
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* プライバシーポリシー */
.privacy-policy {
    padding: 80px 0;
    background: #f8f9fa;
}

.privacy-policy h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 3rem;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.privacy-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.privacy-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-content p,
.privacy-content li {
    color: #4a5568;
    line-height: 1.8;
}

.privacy-content ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

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

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .contact-hero {
        padding: 80px 0 60px;
    }

    .contact-hero-title {
        font-size: 2rem;
    }

    .contact-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-feature {
        padding: 1.5rem;
    }

    .contact-section {
        padding: 60px 0;
    }

    .contact-intro h2 {
        font-size: 1.75rem;
    }

    .contact-intro p {
        font-size: 1rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper,
    .contact-info-card,
    .contact-sns-card,
    .contact-tips-card {
        padding: 1.5rem;
    }

    .faq-mini,
    .privacy-policy {
        padding: 60px 0;
    }

    .faq-mini h2,
    .privacy-policy h2 {
        font-size: 1.75rem;
    }

    .faq-mini-grid {
        grid-template-columns: 1fr;
    }

    .privacy-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 1.75rem;
    }

    .contact-form-wrapper h3,
    .contact-info-card h3,
    .contact-sns-card h3,
    .contact-tips-card h3 {
        font-size: 1.125rem;
    }

    .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}