/*****************************************************************
記事詳細ページ専用スタイル
*****************************************************************/

/* Article Category */
.article_cat {
    max-width: fit-content;
    width: 100%;
    padding: 0.5em 1em;
    font-size: 80%;

    margin-left: 0;
    margin-bottom: 20px;
    filter: unset;
    border-radius: 50px;
    cursor: unset;
    color: #ffffff;
}

.article_cat.news {
    background-color: #ff8811;
}

.article_cat.exhibitor {
    background-color: #302f5a;
}

.article_cat.media {
    background-color: #f94144;
}

/* Article Title */
h3.article_title {
    font-weight: bold;
    padding: 0.5em 0 0.5em 1em;
    border-left: 4px solid #ff8811;
}

/* Article Date */
.article_date {
    color: gray;
    margin-bottom: 20px;
}

/* WordPress Blocks */
.wp-block-group {
    margin-bottom: 1.5rem;
}

.wp-block-list {
    padding-left: 2em;
    text-indent: 0em;
}

.wp-block-embed {
    margin-top: 0.5rem;
}

.wp-block-image,
.wp-block-table {
    margin: 20px auto;
}

.wp-block-image {
    text-align: center;
}

.wp-block-image img {
    border: 1px solid #aaaaaa;
}

.wp-block-table tr {
    border-top: 2px solid #aaaaaa;
}

.wp-block-table td,
.wp-block-table th {
    border: unset !important;
    padding: 1.5em !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

.wp-block-table td:first-of-type {
    font-weight: bold !important;
    text-align: center !important;
    width: 200px !important;
}

.wp-block-table td {
    width: calc(100% - 200px) !important;
}

.wp-block-heading {
    margin-top: 20px;
    font-weight: bold;
}

/* Article Table */
.article_table dl {
    border-top: 2px solid #aaaaaa;
    display: table;
    width: 100%;
}

.article_table dt,
#single .article_table dd {
    display: table-cell;
    padding: 1.5em;
    box-sizing: border-box;
}

.article_table dt {
    font-weight: bold;
    text-align: center;
    width: 200px;
}

.article_table dd {
    width: calc(100% - 200px);
}

/* Single Navigation */
#single_navi {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#single_navi .post_next a,
#single_navi .post_previous a {
    display: block;
    color: #ffffff;
    border: 1px solid #ff8811;
    padding: 1em 1.5em;
    background: #ff8811;
    border-radius: 50px;
    text-decoration: unset;
}

#single_navi .post_next a:hover,
#single_navi .post_previous a:hover {
    color: #ff8811;
    background-color: #ffffff;
    transition: 0.8s;
}

/* Password Protected */
.post-password-form {
    padding-top: 100px;
    padding-bottom: 80px;
    width: 1100px;
    max-width: 95%;
    margin: 0 auto;
}

.post-password-form p {
    margin-bottom: 2rem;
}

.password-protected {
    display: none;
}


/* Pagination */
.page-nav {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

.page-nav a {
    display: block;
    text-align: center;
    padding: 0.5em 1em;
    box-sizing: border-box;
    background-color: #ff8811;
    border: 1px solid #ff8811;
    border-radius: 100px;
    color: #ffffff;
    text-decoration: none;
}

.page-nav a:hover {
    transition: 0.8s;
    background-color: #ffffff;
    color: #ff8811;
    -webkit-transition: 0.8s;
    -moz-transition: 0.8s;
    -ms-transition: 0.8s;
    -o-transition: 0.8s;
}
/* Responsive Styles */
@media screen and (max-width: 767px) {
    .wp-block-table td {
        width: 100% !important;
    }
    
    .wp-block-table td:first-of-type {
        padding: 1em 1em 0 1em !important;
        width: 100% !important;
    }
    
    .wp-block-table td {
        padding: 1em !important;
        width: 100% !important;
        display: block;
    }
}