/*
Theme Name: lmblock
*/

body {
    color: #1A1311;
}

.header-inner {
    padding: 16px;
    padding-bottom: 0;
}

.header-search .wp-block-search__inside-wrapper {
    background: #F5F8FF;
    border-radius: 40px;
    padding: 0 0 0 24px;
    border: none;
}

.header-search .wp-block-search__input {
    background: #F5F8FF;
    border-radius: 40px;
}

.header-navigation {
    border-bottom: 1px solid #ECECEC;
}

.header-navigation-inner {
    padding-left: 16px;
    padding-right: 16px;
}

.header-navigation .wp-block-navigation-item {
    padding: 16px;
    margin-bottom: -1px;
    border-bottom: 1px solid #ECECEC;
}

.header-navigation .wp-block-navigation-item:hover {
    color: #1A1311;
    border-color: #3F72EA;
}

.footer-main {
    padding: 80px 0 88px;
}

.footer-logo {
    text-align: left;
    padding-top: 8px;
}

.footer-heading {
    border-bottom: 1px solid #375FD7;
    margin-bottom: 16px;
}

.footer-heading-inner {
    padding: 8px;
    line-height: 1.45;
    font-size: 20px;
    color: #fff;
    display: inline-block;
    position: relative;
}

.footer-heading-inner::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #18BDFF;
    bottom: -1px;
    left: 0;
    position: absolute;
}

.footer-link-list {
    gap: 24px;
    grid-column: span 1;
    display: grid;
    grid-template-columns: 1fr;
}

.footer-link-item p {
    margin: 0;
}

.footer-link-item {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.footer-link-parent {
    color: #fff;
    font-size: 16px;
    line-height: 1.25;
    text-decoration: none;
    display: block;
    margin: 0;
}

.footer-link-parent:hover {
    text-decoration: underline;
}

.footer-link-child {
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
    text-decoration: none;
    display: block;
    margin: 0 16px;
}

.footer-link-child:hover {
    text-decoration: underline;
}

.footer-link-service {
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
    text-decoration: none;
    display: block;
    margin: 0;
}

.footer-link-service:hover {
    text-decoration: underline;
}

.footer-sub {
    margin-top: 0;
    padding: 24px 0;
}

.footer-other {
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 24px;
    width: fit-content;
}

.footer-other-link {
    text-decoration: none;
    font-size: 13px;
    color: #d4d4d4;
}

.footer-other-link:hover {
    text-decoration: underline;
}

.main-contents {
    gap: 56px;
}

.main-posts {
    width: 100%;
}

.group-eyecatch {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
}

.group-eyecatch>figure:hover {
    opacity: 0.8;
}

.group-eyecatch:has(figure) {
    background-color: transparent!important;
}

.button-with-arrow-base a {
    position: relative;
    overflow: hidden;
    z-index: 0;
    padding: 12px 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #132D5B;
    color: #132D5B;
    background: transparent;
    border-radius: 4px;
    color: #132D5B;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.button-with-arrow-base a:hover {
    color: #fff;
}

.button-with-arrow-base a::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 16px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMSIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIxIDIwIiBmaWxsPSJub25lIj4gPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzYwXzE2MykiPiA8cmVjdCB4PSIwLjUiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgcng9IjEwIiBmaWxsPSIjMTMyRDVCIi8+IDxwYXRoIGQ9Ik04LjgzMzMyIDVMNy42NTgzMyA2LjE3NUwxMS40NzUgMTBMNy42NTgzMyAxMy44MjVMOC44MzMzMiAxNUwxMy44MzMzIDEwTDguODMzMzIgNVoiIGZpbGw9IndoaXRlIi8+IDwvZz4gPHJlY3QgeD0iMSIgeT0iMC41IiB3aWR0aD0iMTkiIGhlaWdodD0iMTkiIHJ4PSI5LjUiIHN0cm9rZT0iIzEzMkQ1QiIvPiA8ZGVmcz4gPGNsaXBQYXRoIGlkPSJjbGlwMF82MF8xNjMiPiA8cmVjdCB4PSIwLjUiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgcng9IjEwIiBmaWxsPSJ3aGl0ZSIvPiA8L2NsaXBQYXRoPiA8L2RlZnM+PC9zdmc+");
    background-size: contain;
    background-repeat: no-repeat;
}

.button-with-arrow-base a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #132D5B;
    transition: width 0.2s ease-out;
    z-index: -1;
}

.button-with-arrow-base a:hover::before {
    width: 100%;
}

.wp-block-query-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    margin-top: 2em;
    flex-wrap: wrap;
}

.wp-block-query-pagination .page-numbers,
.wp-block-query-pagination a {
    display: inline-block;
    padding: 0.5em 0.9em;
    border-radius: 4px;
    background-color: #fff;
    border: #D4D4D4 1px solid;
    color: #1A1311;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.wp-block-query-pagination .page-numbers:hover,
.wp-block-query-pagination a:hover {
    background-color: #F5F9FF;
    color: #317CFF;
}

.wp-block-query-pagination .current {
    background-color: #F5F9FF;
    color: #317CFF;
    border: #317CFF 1px solid;
    font-weight: bold;
    pointer-events: none;
}

.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
    border: #D4D4D4 1px solid;
} 

.post-category a {
    padding: 4px 8px;
    font-size: 16px;
    color: #4C4D6D;
    border: 1px solid #ECECEC;
    border-radius: 8px;
    text-decoration: none;
}

.post-category a:hover {
    background-color: #F5F9FF;
    border-color: #b8d2ff;
}

.post-created-date::before {
    content: '公開日';
    display: inline-block;
    margin-right: 4px;
}

.post-updated-date::before {
    content: '（最終更新日';
    display: inline-block;
    margin-right: 4px;
}

.post-updated-date::after {
    content: '）';
    display: inline-block;
}

.post-tag a {
    color: #4C4D6D;
    font-size: 14px;
    line-height: 1.25;
    text-decoration: none;
    display: inline-flex;
    padding: 4px 18px 4px 12px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 24px;
    background: #F9F6FF;
    border: 1px solid #f9f6ff;
}

.post-tag a:hover {
    border-color: #D3B1FF;
}

.post-tag a::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("images/post-tag.svg");
}

.wp-block-heading {
    font-weight: bold;
}

h2.wp-block-heading {
    padding: 8px 0;
    border-bottom: 1px solid #ECECEC;
    margin-block-start: 2.5em;
    margin-block-end: 1em;
}

h3.wp-block-heading {
    padding: 4px 8px;
    border-left: 4px solid #255FFF;
    margin-block-start: 2em;
    margin-block-end: 0.8em;
}

h4.wp-block-heading {
    padding: 4px;
    background: #F5F8FF;
    margin-block-start: 1.5em;
    margin-block-end: 0.6em;
}

h5.wp-block-heading {
    padding: 4px;
    margin-block-start: 1.2em;
    margin-block-end: 0.5em;
}

.wp-block-list {
    line-height: 1.7;
    padding-inline-start:2em;
}

.wp-block-list .wp-block-list {
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
}

.wp-block-avatar img {
    border: 1px solid #ECECEC;
}

.share-buttons {
    padding: 32px 0;
    margin: 0;
}

.share-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 22px;
    border: 1px solid #ECECEC;
}

.share-btn:hover {
    background-color: #F5F9FF;
    border-color: #b8d2ff;
}

.post-main {
    border-bottom : 1px solid #ECECEC;
}

.side-ad-box {
    display: block;
    width: 100%;
}

#ez-toc-container {
    box-sizing: border-box;
    padding: 24px;
}

.ez-toc-title-container {
    margin-bottom: 16px;
}

div#ez-toc-container ul li {
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
}

.nav-breadcrumb {
    background: #F5F6FA;
    width: 100%;
    margin: 0;
}

.aioseo-breadcrumbs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    color: #4C4D6D;
    font-size: 14px;
}

.aioseo-breadcrumbs a {
    color: #317CFF;
    text-decoration: none;
}

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

.side-ranking-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 16px;
}

.side-ranking {
    margin: 16px 0;
    padding: 0;
}

.side-ranking li {
    margin-bottom: 16px;
    list-style: none;
    padding: 2px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.side-ranking img {
    border-radius: 8px;
    margin: 0;
}

.side-ranking .taxonomies {
    margin-bottom: 4px;
}

.side-ranking .taxonomies a {
    padding: 4px 8px;
    font-size: 14px;
    color: #4C4D6D;
    border: 1px solid #ECECEC;
    border-radius: 8px;
    text-decoration: none;
}

.side-ranking .taxonomies a:hover {
    background-color: #F5F9FF;
    border-color: #b8d2ff;
}

.side-ranking .wpp-post-title {
    font-size: 16px;
    line-height: 1.5;
    font-weight: bold;
    color: #1A1311;
    text-decoration: none;
}

.side-ranking .wpp-post-title:hover {
    color: #5764F5;
}

.wp-block-post-content a {
    color: #317CFF;
}

.wp-block-quote {
    padding: 48px 24px 32px 24px;
    margin: 0;
    border-radius: 4px;
    border: 1px solid #D9D9D9;
    background: #FFF;
}

.wp-block-quote:before {
    content: '"';
    position: absolute;
    left: -8px;
    top: -32px;
    color: #ECECEC;
    font-size: 58px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; 
}

.wp-block-embed iframe {
    width: 100% !important;
    max-width: 100% !important;
    display: block; 
}

@media screen and (max-width: 1232px) {
    .footer-main {
        padding-left: 16px;
        padding-right: 16px;
    }
    .footer-sub {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media screen and (max-width: 781px) {
    .main-contents {
        padding: 0 16px;
    }
    .header-search {
        display: none;
    }
    .header-navigation {
        display: flex;
        justify-content: center;
        padding: 16px;
    }
    .header-navigation .wp-block-navigation__responsive-dialog {
        margin-left: 24px;
        margin-right: 24px;
    }
    .footer-main {
        padding: 32px 16px;
    }
    .footer-logo {
        text-align: center;
    }
    .footer-heading-inner {
        font-size: 16px;
    }
    .footer-link-list {
        gap: 12px;
    }
    .footer-sub {
        padding: 24px 16px;
    }
    .footer-other {
        width: 100%;
    }
}