/* ========================================
   FAQ Section - よくある質問
   ======================================== */

.faq-section {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.faq-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-card:hover {
    border-color: #E84B8A;
    box-shadow: 0 5px 20px rgba(232, 75, 138, 0.1);
}

.faq-header {
    margin: 0;
}

.faq-header button {
    width: 100%;
    padding: 25px 30px;
    background: #f8f8f8;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background 0.3s ease;
}

.faq-header button:hover {
    background: #f0f0f0;
}

.faq-card.active .faq-header button {
    background: #E84B8A;
    color: #ffffff;
}

.faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #333333;
    transition: all 0.3s ease;
}

.faq-icon::before {
    width: 20px;
    height: 3px;
}

.faq-icon::after {
    width: 3px;
    height: 20px;
}

.faq-card.active .faq-icon::before,
.faq-card.active .faq-icon::after {
    background: #ffffff;
}

.faq-card.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-card.active .faq-content {
    max-height: 5000px;
}

.faq-body {
    padding: 30px;
    background: #ffffff;
    line-height: 1.8;
}

.faq-body p {
    margin: 0 0 20px;
    font-size: 16px;
    color: #555555;
}

.styled_h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left: 4px solid #E84B8A;
}

.faq-body .styled_h3:first-child {
    margin-top: 0;
}

/* テーブルスタイル */
.cancel_list {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #f8f8f8;
}

.cancel_list th,
.cancel_list td {
    padding: 15px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.cancel_list th {
    background: #333333;
    color: #ffffff;
    font-weight: 600;
}

.cancel_list td {
    background: #ffffff;
}

/* 画像スタイル */
.faq-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 2カラムレイアウト */
.post_row {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.post_col {
    flex: 1;
}

.post_col a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.post_col a:hover {
    transform: scale(1.05);
}

.post_col img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.post_col a:hover img {
    transform: scale(1.1);
}

/* もっと見るボタン */
.q_button_wrap {
    text-align: center;
    margin-top: 50px;
}

.q_custom_button1 {
    display: inline-block;
    padding: 18px 60px;
    background: #666666;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.q_custom_button1:hover {
    background: #555555;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================
   レスポンシブ対応
   ======================================== */

@media (max-width: 991px) {
    .faq-header button {
        padding: 20px 25px;
        font-size: 16px;
    }
    
    .faq-body {
        padding: 25px;
    }
    
    .styled_h3 {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .faq-section {
        margin: 40px auto;
    }
    
    .faq-accordion {
        gap: 15px;
    }
    
    .faq-header button {
        padding: 18px 20px;
        font-size: 15px;
        gap: 10px;
    }
    
    .faq-icon {
        width: 20px;
        height: 20px;
    }
    
    .faq-icon::before {
        width: 16px;
        height: 2px;
    }
    
    .faq-icon::after {
        width: 2px;
        height: 16px;
    }
    
    .faq-body {
        padding: 20px;
    }
    
    .faq-body p {
        font-size: 14px;
    }
    
    .styled_h3 {
        font-size: 16px;
        margin: 25px 0 12px;
    }
    
    .cancel_list th,
    .cancel_list td {
        padding: 10px;
        font-size: 14px;
    }
    
    .post_row {
        flex-direction: column;
    }
    
    .q_custom_button1 {
        padding: 15px 50px;
        font-size: 16px;
    }
}












