@charset "UTF-8";
/* ==========================================================================
   アニソラ 連載長編 作品目次用共通スタイル（novel_l_index.css）
   - 通常連載目次（#indexmain / #wrap table）
   - 章立て超長編目次（#container / .series-table）
   ========================================================================== */

/* --- 基本リセット・共通設定 --- */
html, body, div, header, nav, ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12pt;
    font-style: normal;
    line-height: 140%;
    background-color: #FFFFFF;
    color: #333333;
    width: 100%;
}

a {
    text-decoration: none;
}

a:link {
    color: #0000FF;
}

a:visited {
    color: #c5004c;
}

a:active,
a:hover {
    color: #FF0000;
}

/* --- ヘッダーナビゲーション（共通） --- */
#header {
    font-family: 'Noto Sans JP', sans-serif;
    margin-top: 1em;
}

#header a {
    color: #666666;
    font-size: 90%;
    font-weight: 800;
}

#header table {
    width: 99%;
    border: 0px;
    background-color: #EEEEEE;
    box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.2) inset;
    border-style: outset;
    border-color: black;
    border: transparent;
    line-height: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
}

#header table tbody,
#header table tbody tr {
    border: 0px;
    text-align: center;
}

#header table tbody tr td {
    font-weight: bolder;
    font-size: small;
    padding: 0px;
    border: 0px;
    width: 10%;
}


/* ==========================================================================
   パターン1：通常連載目次スタイル（ラブライフ、二百日紅、タイタンにあがる月 等）
   ========================================================================== */

#indexmain {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#indexmain h1 {
    text-align: center;
    font-size: 30pt;
    color: #000000;
    font-weight: bolder;
    margin: 30pt 30pt 20pt 30pt;
    line-height: 1.3;
}

#indexmain h2 {
    text-align: center;
    font-size: 22pt;
    color: #000000;
    font-weight: bolder;
    margin: 20pt 30pt 30pt 30pt;
    line-height: 1.4;
}

#indexcontents {
    width: 90%;
    line-height: 120%;
    font-size: 12pt;
    font-weight: 300;
    border-color: #000000;
    border-style: solid;
    border-width: 1pt;
    box-shadow: 10px 10px 10px #AAAAAA;
    margin: 0pt auto 30pt auto;
}

#wrap {
    width: 94%;
    margin: 10pt auto 10pt auto;
}

#indexcomment {
    font-size: 10pt;
    line-height: 120%;
    margin: 20pt auto 20pt 0pt;
}

#indexcomment p {
    text-indent: 1em;
    margin: 0px;
}

#wrap table {
    table-layout: fixed;
    font-weight: normal;
    font-family: sans-serif;
    line-height: 1.5;
    vertical-align: bottom;
    width: 100%;
    padding-bottom: 3pt;
    border-collapse: collapse;
}

#wrap table thead {
    background-color: #696969;
    color: #FFFFFF;
    border: 0px;
}

#wrap table th {
    width: 15%;
    border: 0px;
}

#wrap table td {
    padding-left: 20pt;
    border: 0px;
}

#wrap table thead tr * {
    border: 0px;
    font-weight: bold;
    text-align: center;
}

#wrap table tbody tr:nth-child(2n) {
    background-color: #C0C0C0;
    border: 0px;
}


/* ==========================================================================
   パターン2：章立て超長編目次スタイル（ようこそ大宇宙へ！ 等）
   ========================================================================== */

#container {
    width: 90%;
    border: solid 1px;
    box-shadow: 0.5em 0.5em 0.5em 0 #696969;
    padding: 1em;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2em;
    text-align: center;
    display: flex;
    flex-direction: column;
}

#container #contents {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    line-height: inherit;
}

#container p {
    text-align: left;
    margin: 0 1em 1em;
}

main h1,
#container h1 { /* 見出し（著者紹介等・画像ロゴ） */
    text-align: right;
}

main h2,
#container h2 { /* 冒頭作品名 */
    font-size: 24pt;
    margin-top: 0;
    margin-bottom: 0.5em;
    text-align: center;
    font-weight: 700;
}

main h2.eng,
#container h2.eng { /* 冒頭英文作品名 */
    font-size: 12pt;
    margin-top: 0;
    margin-bottom: 2em;
    text-align: center;
}

main h3,
#container h3 { /* 著者名 */
    font-size: 18pt;
    margin-top: 0;
    margin-bottom: 1.5em;
    text-align: center;
}

.series-table {
    width: 98%;              /* containerに対しての%幅 */
    margin: 0 auto;          /* 中央寄せ */
    border-collapse: collapse;
    table-layout: fixed;     /* colgroupの比率を安定させる */
}

/* --- ヘッダ部 --- */
.series-table thead th {
    background-color: #666666;
    color: #ffffff;
    text-align: center;
    padding: 8px 8px;
    border: none;
    font-weight: 600;
    font-size: 14px;
}

/* --- データ部 --- */
.series-table tbody td {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 8px;
    vertical-align: middle;
}

/* 各列の調整 */
.series-table .col-issue {
    width: 20%;
    text-align: center;
    white-space: nowrap;
}

.series-table .col-title {
    width: 60%;
}

.series-table thead .col-title {
    font-size: 18px;
}

.series-table tbody .col-title {
    text-align: left;
}

.series-table .col-link {
    width: 20%;
    text-align: center;
    line-height: 0.8;
}

.series-table .col-link a {
    line-height: inherit;
    display: inline-block;
}

/* 画像＋サイズの整列 */
.series-table .col-link img {
    display: block;
    margin: 0 auto 3px auto;
    height: 16px;
    width: 16px;
}

.series-table .filesize {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.2;
}

/* 行ホバー */
.series-table tbody tr:hover td {
    background-color: #f5f5f5;
}

.series-table tbody tr.is-clickable {
    cursor: pointer;
}

/* モバイル対応（章立てテーブル用） */
@media screen and (max-width: 640px) {
    .series-table {
        font-size: 0.85rem;
    }
    .series-table thead {
        display: none;
    }
    .series-table tbody td {
        display: block;
        width: 100%;
        border: none;
        border-bottom: 1px solid #ddd;
        text-align: left;
    }
    .series-table tbody tr {
        margin-bottom: 1rem;
        border: 1px solid #ddd;
        padding: 6px;
        display: block;
    }
    .series-table .col-link img {
        display: inline-block;
        vertical-align: middle;
    }
}


/* ==========================================================================
   フッターナビゲーション（共通）
   ========================================================================== */

footer {
    width: 350pt;
    font-size: 10pt;
    margin: 2em auto 2em auto;
}

footer nav {
    text-align: center;
}

footer .ad {
    border: 0px;
    border-color: #BBBBBB;
    border-style: solid;
    border-width: 2pt;
}

footer .links,
#links {
    margin-top: 2em;
    text-align: center;
}
