@charset "UTF-8";

/* ブロックエディタ用記事ページcss */
.gyokainavi_block_area h2,
.gyokainavi_block_area h3,
.gyokainavi_block_area h4 {
    margin-bottom: 1rem !important;
}

.gyokainavi_block_area .wp-block-image img {
    margin: 30px 0;
}

.gyokainavi_block_area ul {
    background-color: #ffdee1;
    padding: 2rem;
    border-radius: 10px;
    margin: 20px 0;
    width: 100%;
}

.gyokainavi_block_area ul li {
    margin-bottom: 1rem;
}

.gyokainavi_block_area ul li:last-of-type {
    margin-bottom: 0;
}

.gyokainavi_block_area ul li::before {
    content: "●";
    margin-right: 0.5rem;
    color: #E50012;
}

.gyokainavi_block_area ol {
    background-color: #ffdee1;
    padding: 2rem;
    border-radius: 10px;
    margin: 20px 0;
    width: 100%;
    counter-reset: li; 
    list-style: none;
}

.gyokainavi_block_area ol li {
    margin-bottom: 1rem;
}

.gyokainavi_block_area ol li:last-of-type {
    margin-bottom: 0;
}

.gyokainavi_block_area ol li::before {
    content:counter(li) ".";
    counter-increment: li;
    font-weight: 600;
    margin-right: 0.5rem;
    color: #E50012;
}

.gyokainavi_block_area .wp-block-button {
    margin: 1rem auto;
}

.gyokainavi_block_area p a {
    text-decoration: underline;
    color: #e60012 !important;
}

.gyokainavi_block_area .wp-block-button a {
    align-items: center;
    background: #fff;
    border: 1px solid #e60012;
    border-radius: 0;
    color: #e60012 !important;
    display: flex;
    font-size: 1.6rem;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    line-height: 1.5;
    margin: 20px auto;
    max-width: 384px;
    min-width: 335px;
    min-height: 64px;
    padding: 16px 52px 16px 16px;
    position: relative;
    text-align: center;
    width: 100%;
}

@media screen and (max-width: 768.9px) {
    .gyokainavi_block_area .wp-block-button a {
        width: auto;
    }
}

.gyokainavi_block_area .wp-block-button a::after {
    content: "";
    position: absolute;
    right: 16px;
    width: 32px;
    height: 32px;
    background-color: #e60012; /* 通常色 */
    -webkit-mask: url(/wp-content/themes/theme1/assets/img/gyokainavi/icon_button_arrow.svg) no-repeat center / cover;
    mask: url(/wp-content/themes/theme1/assets/img/gyokainavi/icon_button_arrow.svg) no-repeat center / cover;
}

.gyokainavi_block_area .wp-block-button a:hover {
    opacity: 1.0;
    color: #fff !important;
    background-color: #e60012;
}

.gyokainavi_block_area .wp-block-button a:hover::after {
    background-color: #fff;
}

.gyokainavi_block_area .wp-block-table table {
    width: 100%;
    margin: 20px 0;
}

.gyokainavi_block_area .wp-block-table thead {
    border-bottom: solid 1px #e60012;
}

.gyokainavi_block_area .wp-block-table thead th {
    background-color: #e60012;
    color: #fff;
    font-weight: 500;
}

.gyokainavi_block_area .wp-block-table td,
.gyokainavi_block_area .wp-block-table th {
    border: solid 1px #e60012;
    padding: 1rem;
    line-height: 1.4;
}

#news_dtl .gnmod__related li::before {
    content: none;
}

@media screen and (max-width: 767px) {
    .gyokainavi_block_area .wp-block-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .gyokainavi_block_area .wp-block-table table {
        width: 1100px;
        border-collapse: collapse;
    }
}

.gyokainavi_block_area .block_sc_area .item {
    margin-bottom: 30px !important;
}