@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* グラデーション背景のベース */
body {
    background: linear-gradient(135deg, 
        #16161A 0%,
        #1E3A8A 25%,
        #16161A 50%,
        #1E3A8A 75%,
        #16161A 100%
    );
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #FFFFFF;
    min-height: 100vh;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ヘッダーコンテナ */
#header-in.header-in {
    background: rgba(22, 22, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

#header-in.header-in::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #1D71F0 50%, 
        transparent 100%
    );
    opacity: 0.5;
}

/* ロゴ部分 */
.logo.logo-header.logo-text {
    text-align: center;
    padding: 0.5rem 0;
}

/* サイト名 */
.site-name-text-link {
    text-decoration: none;
    display: inline-block;
}

.site-name-text {
    font-size: 2.2rem;
    font-weight: bold;
    background: linear-gradient(120deg, #FFFFFF 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* タグライン */
.tagline {
    text-align: center;
    color: #B8B8B8;
    margin-bottom: 0.5rem;
}

/* Wrap utility */
.wrap.cf {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* その他のコンテンツエリア */
#content {
    background: rgba(30, 30, 36, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin: 2rem auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.event-header {
	padding: 10px;
	background: #f5f5f5;
	border-radius: 4px;
}

.event-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-time {
	  display: block;
	  white-space: nowrap;
	  overflow: hidden;
	  text-overflow: ellipsis;
	  width: 100%;
}
.time-container {
    min-width: 0; /* flexboxでの省略に必要 */
    flex: 1;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	/* 使用回数と勝利数のカラムを非表示 */
    .stats-table th:nth-child(2),
    .stats-table th:nth-child(3),
    .stats-table td:nth-child(2),
    .stats-table td:nth-child(3) {
        display: none;
    }

    /* モバイルでの表示を最適化 */
    .stats-table th,
    .stats-table td {
        padding: 8px;
        font-size: 14px;
    }

    .brawler-portrait {
        width: 32px;
        height: 32px;
    }
	/* キャラクターセルを縦並びに */
    .brawler-cell {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
    }

    .brawler-name {
        font-size: 12px;
        line-height: 1.2;
    }

    /* テーブルヘッダーも調整 */
    .stats-table th:first-child {
        min-width: 80px;
    }
	.event-time {
        max-width: 16ch;
        direction: ltr;
        text-align: right;
    }
    
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
