/*
Theme Name: balp_260416_1409
Description: Unified theme (parent + child merged).
Author: Your Name
Version: 1.0
*/
body {
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.052rem;
    word-wrap: break-word;
    word-break: break-all;
    font-family:"メイリオ",Meiryo,"Noto Sans JP","Yu Gothic",YuGothic,"ヒラギノ角ゴ Pro","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック","MS PGothic",sans-serif;
    /* background-color: #cecece; */
    color:#444444;
}

@media screen and (min-width: 1024px) {
    body {
        font-size: 17px;
    }
}

img {
    width: 100%;
}

main {
    background-color: #fff;
}

a {
    color: #2a4e74;
}

a:hover {
    color: #9d2e7f;
}

hr {
    margin: 72px 0;
}

.site-header {
    padding: 20px 1.2rem 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.8rem;
    margin: 0 auto;
    background-color: #fff;
}

@media screen and (min-width: 1024px) {
    .site-header {
        padding: 24px 1.2rem 24px;
    }
}

.site-footer {
    padding: 12px 1.0rem;
    width: 100%;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 0.6rem;
    margin: 0 auto;
    /* color: #fff; */
}

.main-wrap {
    width: 92%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 96vh;
    padding-top: 40px;
    padding-bottom: 40px;
}

/* .main-content {
    width: 68%;
} */

.sidebar {
    width: 28%;
}

.post {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
}

/* .main-content .post-meta {
    font-size: 0.9rem;
    padding-bottom: 0.4rem;
    color: #666;
    width: 100%;
    padding: 0 0%;
} */

.post-separator {
    margin: 3.2rem 0;
    border: 0;
    border-top: 1px solid #eee;
}

.read-more {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: bold;
    font-size: 1.0rem;
}

.pagination {
    margin: 2rem 0;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.pagination .current {
    background-color: #5c5b64;
    color: white;
    border-color: #5c5b64;
}

.main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .sidebar-widget h3 {
    /* font-weight: bold; */
    position: relative;
}

.main-content h1 {
    font-size: 1.6rem;
    /* padding: 24px 0 8px;
    color: #5a5854; */
}

.main-content h1 {
    font-size: 1.32rem;
    line-height: 1.32;
    border-left-width: 8px;
    border-left-style: solid;
    border-left-color: #20032c;
    color: #20032c;
    padding: 12px 0 12px 0.92rem;
}


    .main-content h1, .main-content h2 {
        font-size: 1.6rem;
    }

.main-content h1 {
    margin: 0px 0 16px 0%;
    width: 100%;
}

.main-content h2 {
    margin-bottom: 36px;
    width: 100%;
}

.main-content h3, .main-content h4 {
    font-size: 1.4rem;
    border-left: 6px solid #adadad;
    padding: 8px 0.72rem;
    margin: 40px 0 20px 0%;
    color: #20032c;
    width: 100%;
    line-height: 1.4;
}

.main-content h5 {
    font-size: 1.12rem !important;
    line-height: 1.32;
    padding: 0px 0px 16px 32px;
    color: #313131;
}

.main-content h5::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0rem;
    width: 24px;
    height: 24px;
    background-image: url('img/check-box.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.sidebar-widget {
    margin-bottom: 4.0rem;
    border-radius: 5px;
}

.sidebar-widget h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: #20032c;
}

.sidebar-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-widget ul li {
    margin-bottom: 0.6rem;
    padding: 0 0.2rem 0.6rem;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    border-bottom-color: #ddd;
    font-size: 1.0rem;
}

.tag-cloud {
    line-height: 2;
    padding: 0.4rem 0;
}

.tag-cloud a {
    display: inline-block;
    margin: 0.25rem;
    padding: 4px 10px;
    background-color: #c397aa;
    border-radius: 3px;
    font-size: 0.8rem !important;
    transition: background-color 0.3s;
    color: #fff;
}

.tag-cloud a:hover {
    background-color: #9d2e7f;
}

.sidebar-widget select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: #fff;
}

.recent-posts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.recent-post-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dotted #ddd;
    align-items: center;
}

.recent-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-thumbnail {
    flex: 0 0 80px;
    margin-right: 15px;
}

.recent-post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    padding: 0;
}

.recent-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.recent-post-title {
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.recent-post-date {
    font-size: 0.8rem;
    color: #777;
}

.post-thumbnail {
    margin: 0 0 24px 0;
    overflow: hidden;
    border-radius: 5px;
}

.post-list .post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    display: block;
}

.single-post .post-thumbnail img,
.single-taxonomy-post .post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.post-thumbnail a:hover img {
    transform: scale(1.03);
}

.post-list .post__title {
    margin:0;
    order: 1;
}

.post-list .post-thumbnail {
    overflow: hidden;
    width: 100%;
    order: 2;
    display: flex;
    justify-content: center;
}

.post-list .post-info {
    width: 100%;
    order: 3;
}

@media screen and (min-width: 768px) {
    .post-list .post-thumbnail img {
        width: auto;
        height: 100%;
    }

    .post-list .post-thumbnail {
        order: 3;
        max-height: 200px;
        flex: 0 0 200px;
        margin: 0;
    }

    .post-list .post-info {
        padding: 16px 4.8% 16px 0;
        order: 2;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: right;
    }
}

.post-excerpt {
    width: 100%;
}

.single-post .post-thumbnail,
.single-taxonomy-post .post-thumbnail {
    margin: 8px 0;
    width: 100%;
    /* max-height: 720px; */
    overflow: hidden;
    display: flex;
    align-items: center;
}

.single-post .post-content,
.single-taxonomy-post .post-content {
    margin-bottom: 2rem;
    width: 100%;
    /* padding: 0 4%; */
}

.single-post .post-content img, .single-post .post-content iframe, .single-post .post-content video, .single-post .post-content embed,
.single-taxonomy-post .post-content img, .single-taxonomy-post .post-content iframe, .single-taxonomy-post .post-content video, .single-taxonomy-post .post-content embed {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.single-post .post-content figcaption,
.single-taxonomy-post .post-content figcaption {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
}

.single-post .post-content blockquote,
.single-taxonomy-post .post-content figcaption {
    margin: 36px 0;
    padding: 16px 24px;
    background-color: #f9f9f9;
    border-radius: 8px;
    font-style: italic;
}

.single-post .post-content p,
.single-taxonomy-post .post-content p {
    padding: 12px 0;
}

.single-post .post-content ul,
.single-taxonomy-post .post-content ul {
    margin: 0px 0 24px 0;
}

.single-post .post-content li,
.single-taxonomy-post .post-content li {
    margin: 0 0 12px 0;
    padding: 0 0 0 8px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    padding: 1.2rem;
    border-top: 1px solid #eee;
    line-height: 1.2;
    font-size: 1.0rem;
    width: 100%;
}

.post-navigation-previous, .post-navigation-next {
    max-width: 46%;
    font-size: 0.9rem;
}

.post-navigation a:hover {
    text-decoration: underline;
}

.wp-block-gallery, .gallery {
    display: flex;
    flex-wrap: wrap;
    margin: 1.5rem -0.5rem;
}

.wp-block-gallery .blocks-gallery-item, .gallery .gallery-item {
    margin: 0.5rem;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.wp-block-gallery img, .gallery img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 3px;
}

.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.comment-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.comment {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.comment-meta {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
}

.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.comment-form input[type="submit"] {
    background-color: #5c5b64;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
}

.comment-form input[type="submit"]:hover {
    background-color: #4a494f;
}

.sidebar-toggle {
    display: none;
    position: fixed;
    top: 16px;
    right: 12px;
    z-index: 1000;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.sidebar-toggle span {
    display: block;
    position: absolute;
    width: 24px;
    height: 3px;
    left: 8px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

.sidebar-toggle span:nth-child(1) {
    top: 12px;
}

.sidebar-toggle span:nth-child(2) {
    top: 19px;
}

.sidebar-toggle span:nth-child(3) {
    top: 26px;
}

.sidebar-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 19px;
}

.sidebar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.sidebar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 19px;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.sp-sidebar-wrap {
    display: none;
    width: 100%;
    padding: 0 1rem;
    background-color: #fff;
}

.breadcrumbs {
    font-size: 0.8rem;
    background-color: #e5e5e5;
    width: 100%;
}

.breadcrumbs a {
    color: #5c5b64;
    text-decoration: none;
    white-space: nowrap;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 0.6rem;
    color: #5c5b64;
    font-weight: bold;
}

.breadcrumbs .current {
    color: #5c5b64;
    font-weight: normal;
    white-space: nowrap;
}

.breadcrumbs__inner {
    max-width: 1200px;
    margin: auto;
    width: 92%;
    padding: 16px 0;
    display: flex;
    overflow: scroll;
    -ms-overflow-style: none;
    /* IE, Edge */
    scrollbar-width: none;
    /* Firefox */
}

.breadcrumbs__inner::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.site-branding {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

@media screen and (min-width: 1024px) {
    .site-branding {
        justify-content: center;
    }
}

.site-branding .custom-logo {
    height: 36px;
    width: auto;
}

@media screen and (min-width: 1024px) {
    .site-branding .custom-logo {
        height: 54px;
        width: auto;
    }
}

.site-branding .site-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #3c3c3c;
    text-decoration: none;
    display: inline-block;
}

@media screen and (max-width: 1024px) {
    .main-content, .sidebar {
        width: 100%;
    }

    .sidebar {
        position: fixed;
        top: 0;
        right: -400px;
        width: 380px !important;
        height: 100vh;
        overflow-y: auto;
        background-color: #fff;
        z-index: 999;
        padding: 72px 20px 20px 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    .sidebar.active {
        right: 0;
    }

    .sp-sidebar-wrap {
        display: block;
        padding-bottom: 40px;
    }

    .sidebar-toggle {
        display: block;
    }

    body.sidebar-open {
        overflow: hidden;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .site-branding .site-title {
        font-size: 1.4rem;
    }
}

.search-form-wrap {
    width: 100%;
    padding: 0 0 0.4rem;
}

.search-form {
    display: flex;
    width: 100%;
}

.search-field {
    flex-grow: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 3px 0 0 3px;
    font-size: 0.9rem;
}

.search-submit {
    padding: 0.5rem 1rem;
    background-color: #20032c;
    color: white;
    border: none;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.3s;
}

.search-submit:hover {
    background-color: #9d2e7f;
}

.featured-carousel-section {
    margin: 0 auto;
    background-color: #000000;
    position: relative;
    height: 100vw;
}

@media screen and (min-width: 1024px) {
    .featured-carousel-section {
        height: 576px;
        background-color: #fff;
    }
}

.featured-carousel {
    overflow: hidden;
    position: relative;
    border-radius: 0px;
    box-shadow: 0px 0px 40px rgb(0 0 0 / 6%);
    margin: 0 auto;
    background-color: #000000;
    justify-content: center;
    display: flex;
    width: 100%;
}

@media screen and (min-width: 1024px) {
    .featured-carousel {
        border-radius: 8px;
        width: 92%;
        max-width: 1200px;
        height: 576px;
    }
}

.carousel-item {
    display: none;
    position: relative;
    height: 100vw;
    width: 100%;
}

@media screen and (min-width: 1024px) {
    .carousel-item {
        height: 576px;
        width: 100%;
    }
}

.carousel-item.active {
    display: block;
}

.carousel-image {
    overflow: hidden;
    position: relative;
    height: 100%;
    width: auto;
    display: flex;
    justify-content: center;
}

@media screen and (min-width: 1024px) {
    .carousel-image {
        display: flex;
        align-items: center;
        height: 576px;
    }

    .carousel-image a {
        width: 100%;
    }
}

.carousel-image img {
    width: auto;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

@media screen and (min-width: 1024px) {
    .carousel-image img {
        width: 100%;
        object-fit: cover;
    }
}

.carousel-image:hover img {
    transform: scale(1.05);
}

.carousel-filter {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 1.2rem 32px;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 1.2rem 32px;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
}

.carousel-title {
    margin: 0 0 6px;
    font-size: 1.0rem;
    line-height: 1.12;
}

@media screen and (min-width: 1024px) {
    .carousel-title {
        font-size: 1.6rem;
    }
}

.carousel-title a {
    color: white;
    text-decoration: none;
}

.carousel-meta {
    font-size: 0.6rem;
    opacity: 0.8;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    margin: auto;
    width: 100%;
    padding: 0 0.4rem;
}

.carousel-prev, .carousel-next {
    color: #ffffff69;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #767676;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dot.active {
    background: #b7b7b7;
}

.post-tag {
    display: flex;
    justify-content: space-between;
    margin: 0 0 16px 0;
    width: 100%;
    padding: 0 0%;
    gap: 12px;
    flex-wrap: wrap;
}

.post-tag__category {
    display: flex;
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.post-tag__category::-webkit-scrollbar {
    display: none;
}

.post-tag__category .post-categories {
    display: flex;
}

.post-tag__category .post-categories li {
    padding: 4px 12px 4px 8px;
    color: #2a4a67;
    font-size: 0.92rem;
    font-weight: 600;
    border-left-color: #ccc;
    border-left-style: solid;
    border-left-width: 4px;
}

.post-tag__category .post-categories li a {
    white-space: nowrap;
}

.post-tag__tag {
    display: flex;
    gap: 12px;
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex-wrap: wrap;
}

.post-tag__tag::-webkit-scrollbar {
    display: none;
}

.post-tag__tag div {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 400;
    background-color: #c397aa;
    padding: 4px 10px;
    border-radius: 4px;
    display: flex;
}

.post-tag__tag div a {
    color: #ffffff;
    font-size: 0.8rem;
    white-space: nowrap;
    margin: 0 0 0 4px;
}

.footer-logo {
    width: 120px;
    margin: 24px auto 24px;
}

.carousel-after-section {
    background-color: #f4f4f4;
    padding: 32px 16px;
    margin: 0 0 48px 0;
    border-top: 4px solid #cac6bb;
    border-bottom: 4px solid #cac6bb;
}

@media screen and (min-width: 526px) {
    .carousel-after-section {
        padding: 32px 32px;
    }
}

.carousel-after-container {
    margin: 0 auto;
}

.carousel-after-widget {
    padding-bottom: 12px;
    text-align: left;
}

.carousel-after-widget strong {
    color: #2a4a67;
}

.carousel-after-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #a69d87;
}

.wp-block-separator {
    margin: 100px 0 80px 0;
    border-color: #ccc;
}

#ez-toc-container {
    width: 100%;
    padding: 48px 16px 48px 16px;
    margin: 24px 0 12px -4%;
    border-top: solid 4px #c397aa;
    border-right: solid 0px #c397aa;
    border-bottom: solid 4px #c397aa;
    border-left: solid 0px #c397aa;
    border-radius: 0;
}

@media screen and (min-width: 526px) {
    #ez-toc-container {
        padding: 48px 2.4rem 48px 2.4rem;
    }
}

div#ez-toc-container ul li {
    padding: 0 0 12px 0;
}

strong {
    font-weight: 700;
}

pre code {
    padding: 20px;
}

pre {
    border-radius: 12px;
    overflow: hidden;
    border-width: 0;
    border-style: solid;
    border-color: #292c32;
    background-color: #f3f4f5;
    color: #2a4a67;
    margin: 24px 0;
    display: flex;
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

pre::-webkit-scrollbar {
    display: none;
}

.profile_wrap {
    padding: 16px 1.2rem;
    background-color: #f1efe9;
    border-radius: 12px;
    margin: 48px 0;
}

.profile_wrap .wp-block-image {
    width: 60px;
}

.profile_wrap .profile_container {
    padding: 0 8px;
    flex: 1;
}

.profile_wrap .profile_container .profile_headline {
    padding: 0 0 0 8px;
    font-size: 1.0rem;
    border-left-style: solid;
    border-left-color: #ccc;
    border-left-width: 8px;
}

.profile_wrap .profile_container .profile_division {
    padding: 12px 0 0 16px;
    font-size: 0.8rem;
}

.profile_wrap .profile_container .profile_name {
    padding: 0 0 0 16px;
    font-size: 0.72rem;
    color: #4a4a4a;
}

.profile_wrap .profile_container .profile_name strong {
    font-size: 1.0rem;
}

.profile_wrap .profile_container .profile_text {
    padding: 8px 0 0 16px;
    line-height: 1.32;
}

.ez-toc-title-container {
    padding: 8px 0;
}

div#ez-toc-container .ez-toc-title {
    font-weight: 600;
    font-size: 1.32rem;
    border-left: 8px solid #20032c;
    padding: 12px 16px;
    margin: 72px 0 36px 0;
    color: #20032c;
    line-height: 1.32;
}

@media screen and (min-width: 1024px) {
    div#ez-toc-container .ez-toc-title {
        font-size: 1.6rem;
    }
}

div#ez-toc-container nav ul ul li {
    font-size: 1.0rem;
    padding: 12px 0 0 0;
}

#ez-toc-container .ez-toc-list-level-1 {
    padding: 36px 0 0 0;
}

#ez-toc-container .ez-toc-list-level-2 {
    padding: 24px 0 0 0;
    margin: 0;
}

#ez-toc-container .ez-toc-heading-level-2 {
    padding: 12px 0px;
}

@media screen and (min-width: 526px) {
    #ez-toc-container .ez-toc-list-level-1 {
        padding: 36px 1.2rem 0 1.2rem;
    }

    #ez-toc-container .ez-toc-heading-level-2 {
        padding: 8px 1.2rem;
    }
}

/* tablepress*/
.tablepress_overwrite {
    max-width: 1024px;
    margin: 60px auto 20px;
    overflow-x: scroll;
    width: 92%;
}

.tablepress_overwrite .row-1 td, .tablepress_overwrite .row-2 td, .tablepress_overwrite .row-3 td {
    border-width: 0px;
}

.tablepress_overwrite tr td a {
    background-color: #f00;
    color: #fff;
}

/* ranktable */
.ranktable {
    display: flex;
    max-width: 1360x;
    margin: 60px auto 60px;
    overflow-x: scroll;
}

.ranktable__vertical {
    min-width: 600px;
}

.ranktable__vertical .ranktable__column {
    gap: 0;
}

.ranktable__vertical .ranktable__column__heading {
    padding: 4px;
    display: inline-block;
    margin: 0 auto !important;
}

.ranktable__vertical .ranktable__column__thumbnail {
    padding: 4px;
}

.ranktable__vertical .ranktable__column__title {
    padding: 8px 4px 16px 4px;
    font-weight: bold;
    line-height: 1.2;
    display: inline-block;
    margin: 0 auto !important;
}

.ranktable__vertical .ranktable__column__td {
    gap: 0.24em;
    padding: 16px 8px;
    border-style: solid;
    border-width: 2px 0;
    border-color: #ccc;
}

.ranktable__vertical .ranktable__column__td__title {
    font-weight: bold;
    line-height: 1.4;
    display: inline-block;
    margin: auto !important;
}

.ranktable__vertical .ranktable__column__td__icon {
    font-size: 60px !important;
    font-weight: bold;
    line-height: 1.0;
}

.ranktable__vertical .ranktable__column__td__text {
    font-size: 12px;
    line-height: 1.2;
    display: inline-block;
    margin: auto !important;
}

.ranktable__vertical .ranktable__column__cta {
    gap: 0.1em;
    padding: 24px 0px 12px 0px;
    border-style: solid;
    border-width: 0;
    border-color: #ccc;
}

/* ranktable horizontal (from child) */
.ranktable__horizontal {
    min-width: 720px;
    gap: 0;
}

.ranktable__horizontal .ranktable__column {
    gap: 0;
    justify-content: space-between;
}

.ranktable__horizontal .ranktable__column__heading {
    padding: 4px;
    display: inline-block;
    margin: 0 auto !important;
}

.ranktable__horizontal .ranktable__column__thumbnail {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    max-height: 232px;
    overflow: hidden;
    width: 92%;
    margin: 12px auto;
}

.ranktable__horizontal .ranktable__column__title {
    padding: 8px 4px 16px 4px;
    font-weight: bold;
    line-height: 1.2;
    display: inline-block;
    margin: 0 auto !important;
}

.ranktable__horizontal .ranktable__column__td {
    gap: 0.24em;
    padding: 16px 20px;
    border-style: solid;
    border-width: 2px 0 0 0;
    border-color: #ccc;
}

.ranktable__horizontal .ranktable__column__td__title {
    font-weight: bold;
    line-height: 1.4;
    display: inline-block;
    margin: 0 auto !important;
}

.ranktable__horizontal .ranktable__column__td__icon {
    font-size: 60px !important;
    font-weight: bold;
    line-height: 1.0;
}

.ranktable__horizontal .ranktable__column__td__text {
    font-size: 12px;
    line-height: 1.6;
    display: inline-block;
    margin: auto !important;
}

.ranktable__horizontal .ranktable__column__cta {
    padding: 4px 12px 24px 12px;
    width: 100%;
}

.ranktable__column__cta a {
    padding: 12px;
    line-height: 1.0;
    border-radius: 12px;
}

.ranktable__column:nth-child(1) .ranktable__column__heading {
    background-image: url('img/icon01.png');
}
.ranktable__column:nth-child(2) .ranktable__column__heading {
    background-image: url('img/icon02.png');
}
.ranktable__column:nth-child(3) .ranktable__column__heading {
    background-image: url('img/icon03.png');
}
.ranktable__column:nth-child(4) .ranktable__column__heading {
    background-image: url('img/icon04.png');
}
.ranktable__column:nth-child(5) .ranktable__column__heading {
    background-image: url('img/icon05.png');
}
.ranktable__column:nth-child(1) .ranktable__column__heading, .ranktable__column:nth-child(2) .ranktable__column__heading, .ranktable__column:nth-child(3) .ranktable__column__heading, .ranktable__column:nth-child(4) .ranktable__column__heading, .ranktable__column:nth-child(5) .ranktable__column__heading {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 12px 24px;
    color: #ffffff00 !important;
}


/* block style from here */
.is-style-lead {
    font-size: var(--wp--preset--font-size--lead);
    line-height: 1.9;
    font-weight: 600;
    margin-bottom: 1.5em;
}
.is-style-notice-box {
    padding: 1.2em 1.4em;
    border-radius: 8px;
    background-color: var(--wp--preset--color--notice-bg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}
.is-style-notice-box::before {
    content: "!";
    font-weight: 700;
    margin-right: 0.4em;
}
.is-style-balloon {
    position: relative;
    padding: 1em 1.2em;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    display: inline-block;
    max-width: 100%;
}
.is-style-balloon::after {
    content: "";
    position: absolute;
    left: 20px;
    bottom: -10px;
    border-width: 10px 8px 0 8px;
    border-style: solid;
    border-color: #ddd transparent transparent transparent;
}
.is-style-balloon::before {
    content: "";
    position: absolute;
    left: 21px;
    bottom: -8px;
    border-width: 9px 7px 0 7px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}
.is-style-section-title {
    padding-left: 0.75em;
    border-left: 4px solid var(--wp--preset--color--accent);
    margin-bottom: 1em;
    font-size: var(--wp--preset--font-size--xl);
}
.is-style-underline {
    display: inline-block;
    padding-bottom: 0.3em;
    border-bottom: 2px solid var(--wp--preset--color--accent);
}
.is-style-band {
    display: inline-block;
    padding: 0.3em 0.8em;
    background-color: var(--wp--preset--color--accent);
    color: #fff;
    border-radius: 4px;
    margin-bottom: 1em;
    font-size: var(--wp--preset--font-size--lg);
}
.is-style-rounded img {
    border-radius: 12px;
}
.is-style-shadow img {
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    border-radius: 8px;
}
.is-style-framed {
    padding: 0.75em;
    background-color: var(--wp--preset--color--img-frame);
    border-radius: 10px;
    display: inline-block;
}

.is-style-framed img {
    display: block;
    border-radius: 6px;
}
/* block style until here */


.site-footer-company{
font-size: 1.0rem;
    color: #8d8d8d;
}


.editor-styles-wrapper {
max-width: 1000px;
    margin: auto;
    width: 100%;
}


/* === Child theme overrides === */

.post-headline{display: flex;width: 100%;align-items: center;margin-bottom: 24px;}
.post-headline .post-list__icon{width: 80px;margin-right: 24px;}
.main-content .post-headline h1 {
    margin: 0 0 0 0;
    width: 100%;
    border-left-width: 0px;
}
.main-content .post-list h2 {
    width: 100%;
}
.main-content .post-excerpt {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media screen and (min-width: 768px) {
.main-content .post-list .post-thumbnail {
        order: 1;
    }
.main-content .post-list .post-info{
        padding: 0 0 16px 24px;
        order: 2;
}
}

#listcard_cta a {
    width:100%;
}

#listcard_cta a:hover {
    background-color: #80ffd0 !important;
    color:#2b8f95;
    font-weight:bold;
}

.has-vivid-green-cyan-background-color:hover,
.has-light-green-cyan-background-color:hover {
    background-color: #80ffd0 !important;
    color:#2b8f95;
    font-weight:bold;
}


.wp-block-table td,.wp-block-table th {
    border: 2px solid #ccc;
    padding: .92em;
    font-size: 0.92rem;
    color: #585858;
}


.main-content .post-meta {
    font-size: 0.9rem;
    padding-bottom: 0.4rem;
    color: #666;
    width: 100%;
    padding: 0 0 16px 0;
}

/* main-first-content layout */
.main-first-content{
width: 100%;
order: 1;
}
.sidebar {
    order: 3;
}
.main-content {
    order: 2;
}
@media screen and (min-width: 1024px) {
.main-first-content{
width: 64%;
order: 1;
}
.sidebar {
    order: 2;
}
.main-content {
    order: 3;
}
}

/* guideline */
.guideline__ {
    display: flex;
    margin: 0px auto 60px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.guideline__ p
{
line-height: 2.0;
    }

.guideline__ .wp-block-accordion-heading__toggle {
display: flex;
    justify-content: center;
}
.guideline__ .wp-block-accordion-heading__toggle .wp-block-accordion-heading__toggle-title{
flex:none;
}

/* KV styles */
.kv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.kv__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.kv__overlay {
  position: absolute;
  inset: 0;
  width: 92%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
  max-width: 1000px;
  margin: 0 auto;
}

.kv__content {
  position: relative;
  z-index: 3;
  padding: 48px;
  color: #fff;
}

.kv__logo {
position: absolute;
    width: 32%;
    z-index: 3;
    max-width: 200px;
    top: 0;
    left: 0;
    margin: 24px;
}

.annotation-affiliates{
    display:flex;
    justify-content: end;
}
.annotation-affiliates p{
    padding: 12px;
    text-align: left;
    font-size: 0.8rem;
}


/* =========================
   CPT: 絞り込みフォーム
   ========================= */
.studio-filter {
    background: #f8f6f9;
    border: 1px solid #e0d6e5;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.studio-filter__group {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 320px;
}

.studio-filter__label {
    font-size: 0.85rem;
    font-weight: bold;
    color: #20032c;
}

.studio-filter__select {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    background: #fff;
    cursor: pointer;
}

.studio-filter__select:focus {
    border-color: #9d2e7f;
    outline: none;
    box-shadow: 0 0 0 2px rgba(157, 46, 127, 0.15);
}

.studio-filter__actions {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.studio-filter__btn {
    background: #ff1b61;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.studio-filter__btn:hover {
    background: #e0154f;
}

.studio-filter__reset {
    font-size: 0.85rem;
    color: #888;
    text-decoration: underline;
}

.studio-result-count {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.studio-no-result {
    text-align: center;
    padding: 40px 0;
    color: #888;
}

/* CPTカード: タクソノミー表示 */
.studio-card__taxonomies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 12px;
}

.studio-card__tax {
    font-size: 0.85rem;
    color: #555;
}

.studio-card__tax-label {
    font-weight: bold;
    color: #20032c;
}

/* CPT詳細: タクソノミー表示 */
.studio-single__taxonomies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 12px 0 24px;
    padding: 12px 16px;
    background: #f8f6f9;
    border-radius: 6px;
}

.studio-single__tax {
    font-size: 0.9rem;
    color: #555;
}

.studio-single__tax-label {
    font-weight: bold;
    color: #20032c;
}

.studio-single__tax a {
    color: #2a4e74;
}

.studio-single__tax a:hover {
    color: #9d2e7f;
}

/* アーカイブタイトル */
.archive-title {
    font-size: 1.4rem;
    color: #20032c;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #20032c;
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
    .studio-filter {
        /* flex-direction: column; */
        gap: 12px;
    }
    .studio-filter__group {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .studio-filter__actions {
        /* flex-direction: column; */
        width: 100%;
    }
    .studio-filter__btn {
        width: 100%;
    }
}

/* =========================
   サイドバー: CPT絞り込みフォーム
   ========================= */
.sidebar-studio-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-studio-filter__group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-studio-filter__group label {
    font-size: 0.8rem;
    font-weight: bold;
    color: #20032c;
}

.sidebar-studio-filter__group select {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
}

.sidebar-studio-filter__btn {
    background: #ff1b61;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.2s;
}

.sidebar-studio-filter__btn:hover {
    background: #e0154f;
}

/* サイドバー: CPT一覧アイコン */
.recent-post-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

.recent-post-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* サイドバー: タクソノミー別一覧 */
.sidebar-tax-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-tax-list li {
    border-bottom: 1px solid #eee;
}

.sidebar-tax-list li:last-child {
    border-bottom: none;
}

.sidebar-tax-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 4px;
    text-decoration: none;
    color: #2a4e74;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.sidebar-tax-list a:hover {
    color: #9d2e7f;
}

.sidebar-tax-count {
    color: #999;
    font-size: 0.8rem;
}

/* =========================
   トップページ: セクション見出し
   ========================= */
.section-heading {
    font-size: 1.3rem;
    color: #20032c;
    padding: 12px 0 12px 16px;
    margin: 32px 0 20px;
    border-left: 4px solid #20032c;
    font-weight: bold;
}

.section-heading:first-child {
    margin-top: 0;
}

/* =========================
   コラム一覧リンク（トップ + サイドバー共通）
   ========================= */
.column-archive-link-wrap {
    text-align: right;
    margin: 16px 0 8px;
}

.column-archive-link {
    font-size: 0.9rem;
    color: #2a4e74;
    text-decoration: none;
}

.column-archive-link:hover {
    color: #9d2e7f;
    text-decoration: underline;
}

/* サイドバー内 */
.sidebar-widget .column-archive-link {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-size: 0.85rem;
}

/* =========================
   サイドバー: コラムブロック（検索+タグ+カテゴリ一体化）
   ========================= */
.sidebar-column-block .tag-cloud {
    margin-bottom: 4px;
}

.sidebar-column-block .categories {
    margin-top: 0;
    padding-top: 0;
}


.w-100{
    width:100%;
}