/*
Theme Name: AFFINGER Child
Template: affinger
Description: AFFINGER6 対応
Version: 20240601
*/

/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {


	/*-- ここまで --*/
}
	
/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {


	/*-- ここまで --*/
}	
	
/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {


	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {

    div.event-card-body table {
        border: 1px solid #f9c8e0 !important;
        border-collapse: collapse !important;
    }

    div.event-card-body table th {
        border-bottom: 1px solid #f9c8e0 !important;
        border-right: 1px solid #f9c8e0 !important;
        background: #fce4f0 !important;
        border-top: none !important;
        border-left: none !important;
    }

    div.event-card-body table td {
        border-bottom: 1px solid #f9c8e0 !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
    }

    div.event-card-body table tr:last-child th,
    div.event-card-body table tr:last-child td {
        border-bottom: none !important;
    }

	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {

	
	/*-- ここまで --*/
}

/* ========================================
   コスプレイベントジャパン スタイル
======================================== */

/* イベントカード */
.event-card {
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    margin-bottom: 16px !important;
    overflow: hidden !important;
    border: none !important;
    padding: 0 !important;
}

.event-card-header {
    padding: 12px 12px 8px 12px !important;
}

.event-card-title {
    font-size: 1.0rem !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

.event-card-title a {
    color: #333 !important;
    text-decoration: none !important;
}

.event-card-title a:hover {
    color: #e91e8c !important;
}

.event-card-body {
    padding: 0 12px 8px 12px !important;
}

.event-card-body table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid #f9c8e0 !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.event-card-body table tr th {
    background: #fce4f0 !important;
    color: #333 !important;
    font-weight: normal !important;
    padding: 6px 10px !important;
    width: 70px !important;
    white-space: nowrap !important;
    border-bottom: 1px solid #f9c8e0 !important;
    border-right: 1px solid #f9c8e0 !important;
    border-top: none !important;
    border-left: none !important;
    text-align: left !important;
}

.event-card-body table tr td {
    background: #fff !important;
    padding: 6px 10px !important;
    border-bottom: 1px solid #f9c8e0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    color: #333 !important;
    font-size: 0.9rem !important;
    text-align: left !important;
}

.event-card-body table tr:last-child th,
.event-card-body table tr:last-child td {
    border-bottom: none !important;
}

.event-card-footer {
    padding: 8px 16px 16px 16px !important;
    text-align: center !important;
}

/* 詳細ボタン */
.event-detail-btn {
    display: inline-block !important;
    background: #fce4f0 !important;
    color: #e91e8c !important;
    padding: 10px 40px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 0.95rem !important;
    transition: background 0.2s !important;
}

.event-detail-btn:hover {
    background: #f9c8e0 !important;
    color: #c0176e !important;
}

/* 開催済みラベル */
.event-status-archived {
    display: inline-block;
    background: #999;
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8em;
}

/* フィルターボタン */
.event-filter {
    margin-bottom: 20px;
}

.event-filter h3 {
    font-size: 1em;
    margin-bottom: 10px;
    color: #555;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    display: inline-block !important;
    background: #f5f5f5 !important;
    color: #333 !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    font-size: 0.8em !important;
    border: 1px solid #ddd !important;
}

.filter-btn:hover,
.filter-btn.active {
    background: #e83e8c !important;
    color: #fff !important;
    border-color: #e83e8c !important;
}

/* イベント詳細テーブル（single-cej_event.php用） */
.event-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 1px solid #f9c8e0;
}

.event-info-table th,
.event-info-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #f9c8e0;
    text-align: left;
}

.event-info-table th {
    width: 120px;
    background: #fce4f0;
    color: #555;
    font-weight: bold;
    border-right: 1px solid #f9c8e0;
}

.event-info-table tr:last-child th,
.event-info-table tr:last-child td {
    border-bottom: none;
}

/* SNSリンクボタン */
.event-sns {
    margin: 20px 0;
}

.sns-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    color: #fff !important;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.sns-x { background: #000; }
.sns-instagram { background: #e1306c; }
.sns-tiktok { background: #010101; }

/* シェアボタン */
.event-share {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.share-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    color: #fff !important;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.share-x { background: #000; }
.share-instagram { background: #e1306c; }
.share-tiktok { background: #010101; }

/* 修正依頼ボタン */
.correction-btn {
    display: inline-block;
    background: #fff;
    color: #e83e8c !important;
    padding: 8px 20px;
    border-radius: 4px;
    border: 2px solid #e83e8c;
    cursor: pointer;
    font-size: 0.9em;
}

.correction-btn:hover {
    background: #e83e8c;
    color: #fff !important;
}

/* 投稿ボタン */
.submit-btn {
    display: inline-block;
    background: #e83e8c;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1em;
}

.submit-btn:hover {
    background: #c82367;
}

/* 広告エリア */
.event-ad-area,
.event-list-ad-area,
.event-sidebar-ad-area {
    margin: 20px 0;
    text-align: center;
}

/* ページネーション */
.event-pagination {
    margin: 24px 0;
    text-align: center;
}

.event-pagination .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 2px;
    border-radius: 20px;
    border: 1px solid #ddd;
    color: #333 !important;
    text-decoration: none;
    font-size: 0.9rem;
}

.event-pagination .page-numbers.current {
    background: #e91e8c !important;
    color: #fff !important;
    border-color: #e91e8c;
}

.event-pagination .page-numbers:hover {
    background: #fce4f0;
    border-color: #e91e8c;
}

/* テーブル角丸ラッパー */
.table-wrap {
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid #f9c8e0 !important;
}

.table-wrap table {
    border: none !important;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    .event-info-table th {
        width: 80px;
        font-size: 0.85em;
    }

    .filter-buttons {
        gap: 5px;
    }

    .event-card-body table tr th {
        width: 60px !important;
        font-size: 0.85em !important;
    }
}

div.event-list {
    height: auto !important;
    min-height: 0 !important;
}

/* 詳細ページ テーブル th 太字解除 */
/* 詳細ページ テーブル th 太字解除・余白調整 */
.event-info-table th {
    font-weight: normal !important;
}

.event-info-table {
    margin-bottom: 0 !important;
}

.table-wrap {
    margin-bottom: 20px !important;
}

/* 外部リンクマーク */
.external-link-icon {
    font-size: 0.85em;
    vertical-align: super;
}

/* リンク下線を非表示 */
a {
    text-decoration: none !important;
}

/* SNSアイコン */
.sns-icons a {
    display: inline-block;
    margin-right: 12px;
}

.sns-icon {
    width: 32px !important;
    height: 32px !important;
    vertical-align: middle;
}