@charset "UTF-8";

/* コンテナ全体 */
.teles-arrival-list {
    margin-bottom: 2em;
    display: flex;
    flex-direction: column;
    /* セクション間の余白 */
    gap: 32px; 
}

/* 日付グループ */
.arrival-date-group {
    /* ★修正: 背景色やパディングを削除し、CocoonのH3スタイルと干渉しないようにする */
    background-color: transparent;
    border-radius: 0;
    overflow: visible;
    padding: 0;
}

/* ヘッダー (日付) */
/* ★修正: Cocoonのスタイルを優先するため、ここでの装飾指定は削除 */
.arrival-header h3 {
    /* 必要であれば微調整（例: 下の余白確保）のみ記述 */
    margin-bottom: 16px !important;
}

/* アイテムリスト (グリッドレイアウト) */
.arrival-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* PC: 2カラム */
    gap: 12px;
}

/* カードリンク */
.arrival-card {
    display: flex;
    align-items: center; /* 上下中央揃え */
    text-decoration: none !important;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    transition: background-color 0.2s ease, transform 0.2s ease;
    color: inherit !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.arrival-card:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* サムネイル画像エリア */
.arrival-thumb {
    flex: 0 0 80px; /* 固定幅 */
    width: 80px;
    height: 80px;
    position: relative;
    overflow: hidden;
}

.arrival-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 正方形に切り抜き */
    /* 画像のフォーカスを中央から左側に変更 */
    object-position: left; 
    display: block;
    margin: 0;
}

/* テキストエリア */
.arrival-content {
    flex: 1;
    padding: 8px 12px;
    min-width: 0; /* Flex内でのテキスト省略に必須 */
}

/* タイトル */
.arrival-title {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
    
    /* 3行リーダー表示 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* --- スマホ対応 (768px以下) --- */
@media screen and (max-width: 768px) {
    .arrival-items {
        grid-template-columns: 1fr; /* スマホ: 1カラム */
        gap: 10px;
    }

    .arrival-card {
        /* スマホでも横長レイアウトを維持 */
        align-items: flex-start; /* 上揃えに変更（長文対応） */
    }

    .arrival-thumb {
        /* スマホでは少し小さくても良いかも知れませんが、80px維持で見やすく */
        flex: 0 0 70px;
        width: 70px;
        height: 70px;
    }
    
    .arrival-title {
        font-size: 13px;
        /* スマホは4行まで許容 */
        -webkit-line-clamp: 4;
    }
}