@charset "UTF-8";

/* mainセクション内のテキストの書式設定 */
.main-title {
    font-size: 20px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--text-main);
    cursor: pointer;
    line-height: 2;
    margin-left: 15px;
}

.main-text {
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--text-body);
    line-height: 2;
    margin-left: 5px;
    margin-bottom: 10px;
}

/* 挨拶 */
.greeting-message {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding-top: 30px;
    margin-bottom: 50px;
}

.greeting-message__box {
    background: var(--card-bg);
    padding: 40px;
    border: var(--card-border);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.greeting-message__text {
    font-size: var(--font-size-body-fluid);
    font-weight: 400;
    line-height: 2.2;
    margin-bottom: 30px;
    color: var(--text-body);
}

.greeting-message__sig {
    text-align: right;
    font-family: "Noto Serif JP", serif;
    font-size: 18px;
    color: var(--text-main);
}

@media screen and (max-width: 600px) {
    .greeting-message {
        gap: 40px;
        padding-top: 24px;
        margin-bottom: 80px;
    }

    .greeting-message__box {
        padding: 24px;
    }

    .greeting-message__text {
        line-height: 2;
        margin-bottom: 20px;
    }

    .greeting-message__sig {
        font-size: 16px;
    }
}

/* 固定ページ内のテーブル、リスト、見出し、リンクのデフォルトスタイル */
.article h2,
.article h3,
.article h4 {
    background: transparent;
    padding: 0 0 10px 0;
    margin: 40px 0 20px 0;
    border-top: none;
    border-left: none;
    border-right: none;
    color: var(--text-main);
    font-weight: 700;
}

/* リンク（<a>）黒太字・黒下線をベースにし、ホバーで赤へ */
.article a,
.main-panel a:not([class]) {
    color: var(--text-main);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: all 0.3s ease;
}

.article a:hover,
.main-panel a:not([class]):hover {
    color: var(--color-red);
    opacity: 0.8;
}

/* リスト（ul, ol）デフォルトの余白と形を整える */
.article ul,
.article ol {
    margin: 2em 0;
    padding-left: 1.5em;
    line-height: 1.8;
}

.article li {
    margin-bottom: 0.5em;
}

/* Cocoonの背景色・枠線をリセット */
.article table,
.article tr,
.article th,
.article td {
    background-color: transparent;
    border-color: var(--divider-table-row);
}

/* 縞々（ストライプ）設定を解除 */
.article.is-style-stripes tr:nth-of-type(odd),
.article tr:nth-of-type(odd),
.article tr:nth-of-type(even) {
    background-color: transparent;
}

/* テーブル全体のスタイル */
.article table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    color: var(--text-body);
    letter-spacing: 0.05em;
    margin: 30px 0;
    overflow-x: auto;
}

/* ヘッダーセル（th） */
.article table th {
    padding: 15px 10px;
    border-left: none;
    border-right: none;
    border-top: var(--divider-table-strong);
    border-bottom: var(--divider-table-header);
    font-weight: 700;
    text-align: center;
}

/* ボディセル（td） */
.article table td {
    padding: 15px 10px;
    border-top: none;
    border-bottom: var(--divider-table-row);
    border-left: none;
    border-right: none;
    text-align: center;
}

/* 最後の行の線は消す */
.article table tbody tr:last-child td {
    border-bottom: 0;
}
