/* ==================================================
common.css
サイト全体で共通するスタイル
================================================== */
:root {
    --rivia-navy1: #032342;
    --rivia-navy2: #3B5575;
    --rivia-navy3: #536B87;
    --rivia-gray1: #C8CFD8;
    --rivia-gray2: #e2e7ef;
    --rivia-gray3: #F4F6FA;
}
body {
    font-family: YakuHanJP, 'BIZ UDPGothic', sans-serif;
    font-weight: 400;
    color: var(--rivia-navy1);
    background-color: var(--rivia-gray3);
}

/*---------- 見出しブロック（H2デフォルト） ----------*/
body:not(.home) .l-contents__main h2.wp-block-heading:not([class*="is-style-"]),
body:not(.home) .l-contents__main h2.wp-block-heading.is-style-default {
	background-color: #ebeff4;
}

/*---------- 見出しブロック（H3デフォルト） ----------*/
.l-contents__main h3.wp-block-heading:not([class*="is-style-"]),
.l-contents__main h3.wp-block-heading.is-style-default {
    border-color: var(--rivia-gray1);
}

/*---------- ボタンブロック ----------*/
/*リンク未設定*/
.smb-btn:not([href]) {
    background-color: #ccc;
    cursor: not-allowed;
}
/*リンク設定済み*/
.smb-btn:not(:not([href])) {
    background: linear-gradient(to right, #4f63d4, #142fc6);
}

/*---------- セクションブロック ----------*/
.sect-bg .smb-section__subtitle,
.sect-bg .smb-section__title,
.sect-bg .smb-section__lede {
    color: #fff;
}
.sect-bg .smb-section__title:after {
    background-color: #fff;
}

/*---------- ページタイトル ----------*/
.page .c-entry__title,
.blog .c-entry__title,
.post-type-archive-tournament .c-entry__title {
    font-size: 1.25rem;
}
.custom-pagetitle {
    font-size: 3rem;
    font-weight: 700;
}
.c-entry__header {
    margin-bottom: var(--_margin2);
}
@media (max-width: 767px) {
    .page .c-entry__title,
    .blog .c-entry__title,
    .post-type-archive-tournament .c-entry__title {
        font-size: 1.125rem;
    }
    .custom-pagetitle {
        font-size: 2rem;
        line-height: 1.4;
    }
}

/*---------- 角丸 ----------*/
.border-radius16 .smb-section__background {
    border-radius: 16px;
}
.border-radius8 .smb-media-text__figure img {
    border-radius: 8px;
}

/*---------- Flexible Table Block（モバイルで縦に並べる場合） ----------*/
@media screen and (max-width: 768px) {
    .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table.is-stacked-on-mobile tr th,
    .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table.is-stacked-on-mobile tr td {
        border-top: 0;
    }
    .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table.is-stacked-on-mobile tr:first-child th,
    .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table.is-stacked-on-mobile tr:first-child td:first-child {
        border-top: 1px solid var(--rivia-gray1);
    }
}

@media screen and (max-width: 767px) {
    .smb-box_sp {
        padding: var(--_padding1)!important;
    }
}