/*
Theme Name: SYN Ownd Child
Template: syn-ownd
Theme URI: https://syn.design/
Author: 株式会社ウェブライダー
Author URI: https://web-rider.jp/
Description: SYN Ownd の子テーマ
Version: 1.0.0
Text Domain: syn-ownd-child
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
@charset "utf-8";

/*==========================
 読む順番ボックス（全体調整版）
==========================*/
.reading-box {
    border: 2px solid #4ba5be;
    border-radius: 12px;
    background: #fff;
    padding: 24px;
    margin: 30px 0;
    box-sizing: border-box;
    width: 100%;
}

.reading-title {
    display: inline-block;
    background: #eef9fc;
    color: #4ba5be;
    border: 2px solid #4ba5be;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
    line-height: 1.4;
}

/* 各カテゴリのグループ */
.reading-section {
    margin-bottom: 20px; /* カテゴリ間の余白 */
}

/* カテゴリリンク（見出し） */
.reading-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    background: #eef9fc;
    border: 2px solid #4ba5be;
    border-radius: 8px;
    padding: 13px 18px;
    color: #257b92;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.25s ease;
}

.reading-more {
    font-size: 14px;
    white-space: nowrap;
}

/* 記事リスト */
.reading-list {
    margin: 15px 0 20px 0; /* リストの上下余白（見出しとの間と次のカテゴリとの間） */
    padding-left: 22px;
    list-style: disc;
}

.reading-list li {
    margin: 10px 0; /* 各リンク同士の上下間隔 */
    line-height: 1.6;
}

.reading-list a {
    color: #333;
    text-decoration: none;
}

.reading-list a:hover {
    color: #4ba5be;
    text-decoration: underline;
}

/* --- スマホ表示設定 --- */
@media screen and (max-width: 767px) {
    .reading-box {
        padding: 16px;
    }
    .reading-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    .reading-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .reading-more {
        font-size: 12px;
    }
}