/* ===================================
   Legal Pages (法的ページ) 共通スタイル
   =================================== */

/* グローバル見出しスタイル - index.htmlと統一 */
.legal-section h2,
.legal-content h2 {
    font-family: 'Yusei Magic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif !important;
    font-size: 2rem !important;
    color: #757DBE !important;
    margin: 60px 0 24px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 3px solid #757DBE !important;
    font-weight: 700 !important;
}

.legal-section h2:first-of-type,
.legal-content h2:first-of-type {
    margin-top: 0 !important;
}

.legal-section h3,
.legal-content h3 {
    font-family: 'Yusei Magic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif !important;
    font-size: 1.5rem !important;
    color: #5a5fa0 !important;
    margin: 40px 0 20px 0 !important;
    font-weight: 700 !important;
}

.legal-section h4,
.legal-content h4 {
    font-size: 1.25rem !important;
    color: #333 !important;
    margin: 30px 0 16px 0 !important;
    font-weight: 700 !important;
}

.legal-note h2 {
    font-family: 'Yusei Magic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif !important;
    font-size: 1.75rem !important;
    color: #757DBE !important;
    margin: 0 0 20px 0 !important;
    font-weight: 700 !important;
}

/* ページヘッダー - 共通ベーススタイル */
.legal-page-hero {
    color: white;
    padding: 100px 20px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.legal-page-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.legal-page-title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: 0.02em;
}

.legal-page-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    font-weight: 600;
    opacity: 0.9;
    margin: 0 0 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-page-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
    opacity: 0.95;
    margin: 0;
}

/* 各ページ専用カラー */
/* About Page (事業概要) - ディープブルー */
.about-page-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

/* Terms Page (利用規約) - ディープグリーン */
.terms-page-hero {
    background: linear-gradient(135deg, #065f46 0%, #10b981 100%);
}

/* Privacy Page (プライバシーポリシー) - ディープパープル */
.privacy-page-hero {
    background: linear-gradient(135deg, #5b21b6 0%, #8b5cf6 100%);
}

/* Tokushoho Page (特定商取引法) - グレー */
.tokushoho-page-hero {
    background: linear-gradient(135deg, #374151 0%, #6b7280 100%);
}

/* コンテナ */
.legal-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* コンテンツセクション */
.legal-page-content-section {
    padding: 70px 20px;
    background: white;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .legal-page-hero {
        padding: 80px 20px 60px;
    }

    .legal-page-content-section {
        padding: 50px 20px;
    }
}

@media (max-width: 480px) {
    .legal-page-hero {
        padding: 70px 16px 50px;
    }
}

/* ===================================
   Mail Support Page (メールサポート) - ピンク系
   =================================== */

/* ヒーローセクション - ピンクグラデーション */
.mail-support-hero {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 50%, #fda4af 100%);
    color: white;
    padding: 100px 20px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mail-support-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* サポート範囲カード */
.support-scope {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.scope-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scope-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.scope-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
}

.scope-included .scope-header {
    border-bottom-color: #fce7f3;
}

.scope-included .scope-header svg {
    color: #ec4899;
}

.scope-excluded .scope-header {
    border-bottom-color: #fee2e2;
}

.scope-excluded .scope-header svg {
    color: #ef4444;
}

.scope-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #1f2937;
}

.scope-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scope-list li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: #4b5563;
    line-height: 1.6;
}

.scope-included .scope-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ec4899;
    font-weight: 700;
    font-size: 1.1rem;
}

.scope-excluded .scope-list li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: 700;
    font-size: 1.1rem;
}

/* サポート注意事項 */
.support-note {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    border-left: 4px solid #ec4899;
    padding: 25px 30px;
    border-radius: 12px;
    margin-top: 40px;
}

.support-note p {
    margin: 0 0 10px;
    color: #831843;
    line-height: 1.7;
}

.support-note p:last-child {
    margin-bottom: 0;
}

.support-note strong {
    color: #9f1239;
    font-weight: 700;
}

.support-note a {
    color: #db2777;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.support-note a:hover {
    color: #ec4899;
}

/* フォーム注意事項 */
.form-notes {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #fdf2f8 0%, #fff 100%);
    border-radius: 16px;
    border: 2px solid #fce7f3;
}

.notes-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9f1239;
    margin: 0 0 30px;
    text-align: center;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.note-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.note-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.note-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #9f1239;
    margin: 0 0 8px;
}

.note-content p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* メソッドカードのピンクアクセント */
.mail-support-page .method-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.mail-support-page .method-card:hover {
    border-color: #fce7f3;
    background: linear-gradient(135deg, #fdf2f8 0%, #fff 100%);
}

.mail-support-page .method-icon {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
}

/* サポート情報カードのピンクアクセント */
.mail-support-page .support-info-icon {
    color: #ec4899;
}

.mail-support-page .support-info-label {
    color: #9f1239;
}

/* 追加リンクのピンクアクセント */
.mail-support-page .additional-link {
    border-color: #fce7f3;
    transition: all 0.3s ease;
}

.mail-support-page .additional-link:hover {
    background: linear-gradient(135deg, #fdf2f8 0%, #fff 100%);
    border-color: #ec4899;
    color: #9f1239;
}

.mail-support-page .additional-link svg {
    color: #ec4899;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .mail-support-hero {
        padding: 80px 20px 60px;
    }

    .support-scope {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-notes {
        padding: 30px 20px;
    }

    .notes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .mail-support-hero {
        padding: 70px 16px 50px;
    }

    .scope-card {
        padding: 20px;
    }

    .form-notes {
        padding: 25px 16px;
    }
}
