/*
Theme Name: Suketto App Theme
Description: Sukettoアプリ用のWordPressテーマ
Version: 1.0.0
Author: KENSUKE
Text Domain: suketto-app
*/

/* 全体のスタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ヘッダー */
.header {
    padding: 20px 40px;
    border-bottom: 1px solid #e0e0e0;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.provider-text {
    font-size: 12px;
    color: #666666;
    font-weight: 400;
}

/* メインコンテンツ */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
}

/* FAQ ページ用スタイル */
.faq-page .faq-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.faq-page .faq-container {
    max-width: 800px;
    margin: 0 auto;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-page h2 {
    text-align: center;
    color: #000000;
    font-size: 32px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 40px;
}

.faq-category-title {
    margin-bottom: 20px;
}

.faq-container {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-items {
    margin-bottom: 40px;
}

.faq-item {
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 16px;
    flex-shrink: 0;
}

.q-icon {
    background-color: #000000;
    color: #ffffff;
}

.a-icon {
    background-color: #dc3545;
    color: #ffffff;
}

.faq-text {
    flex: 1;
    color: #000000;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.faq-toggle {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-left: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    display: none;
    padding: 0 24px 20px 24px;
    color: #000000;
    font-size: 15px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: flex;
    align-items: flex-start;
}

.faq-answer .faq-icon {
    margin-top: 2px;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* プライバシーポリシーページ用スタイル */
.privacy-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    line-height: 1.7;
}

.privacy-content h3 {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid #3498db;
}

.privacy-content h4 {
    color: #34495e;
    font-size: 22px;
    font-weight: 600;
    margin: 32px 0 16px 0;
    padding-left: 16px;
    border-left: 4px solid #3498db;
}

.privacy-content h5 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px 0;
}

.privacy-content p {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 16px;
    text-align: justify;
}

.privacy-content ul {
    margin: 16px 0 24px 24px;
}

.privacy-content li {
    color: #2c3e50;
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.privacy-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.privacy-content .t-right {
    text-align: right;
    font-weight: 600;
    color: #34495e;
    margin: 24px 0;
}

.privacy-content hr {
    border: none;
    border-top: 2px solid #ecf0f1;
    margin: 32px 0;
}

.privacy-content a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-content a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* フッター */
.footer {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

.copyright {
    font-size: 14px;
    font-weight: 400;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .header {
        padding: 16px 20px;
    }
    
    .main-content {
        padding: 20px 16px;
    }
    
    .faq-page h2 {
        font-size: 28px;
    }
    
    .faq-container {
        padding: 20px;
    }
    
    .faq-question {
        padding: 16px 20px;
    }
    
    .faq-answer {
        padding: 0 20px 16px 20px;
        font-size: 14px;
    }
    
    .faq-text {
        font-size: 15px;
    }
    
    /* プライバシーポリシーページのレスポンシブ */
    .privacy-section {
        padding: 40px 0;
    }
    
    .privacy-container {
        padding: 0 16px;
    }
    
    .privacy-content {
        padding: 24px;
        border-radius: 12px;
    }
    
    .privacy-content h3 {
        font-size: 24px;
        margin: 32px 0 16px 0;
    }
    
    .privacy-content h4 {
        font-size: 20px;
        margin: 28px 0 14px 0;
    }
    
    .privacy-content h5 {
        font-size: 16px;
        margin: 20px 0 10px 0;
    }
    
    .privacy-content p {
        font-size: 15px;
    }
    
    .privacy-content li {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 16px;
    }
    
    .logo-image {
        height: 32px;
    }
    
    .main-content {
        padding: 16px 12px;
    }
    
    .faq-question {
        padding: 14px 16px;
    }
    
    .faq-answer {
        padding: 0 16px 14px 16px;
    }
    
    .faq-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-right: 12px;
    }
    
    .faq-answer .faq-icon {
        margin-top: 1px;
    }
    
    .faq-text {
        font-size: 14px;
    }
    
    /* プライバシーポリシーページのレスポンシブ */
    .privacy-section {
        padding: 32px 0;
    }
    
    .privacy-container {
        padding: 0 12px;
    }
    
    .privacy-content {
        padding: 20px;
        border-radius: 8px;
    }
    
    .privacy-content h3 {
        font-size: 22px;
        margin: 28px 0 14px 0;
    }
    
    .privacy-content h4 {
        font-size: 18px;
        margin: 24px 0 12px 0;
    }
    
    .privacy-content h5 {
        font-size: 15px;
        margin: 18px 0 9px 0;
    }
    
    .privacy-content p {
        font-size: 14px;
    }
    
    .privacy-content li {
        font-size: 13px;
    }
    
    .privacy-content ul {
        margin: 12px 0 20px 20px;
    }
}

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

.faq-answer {
    animation: fadeIn 0.3s ease-out;
}

/* アクセシビリティ */
.faq-question:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* プライバシーポリシーページのアニメーション */
.privacy-content {
    animation: fadeIn 0.5s ease-out;
}

.privacy-content h3,
.privacy-content h4,
.privacy-content h5 {
    animation: fadeIn 0.6s ease-out;
}

.privacy-content p,
.privacy-content ul {
    animation: fadeIn 0.7s ease-out;
} 