@charset "UTF-8";

:root {
    --blog-ink: #0f172a;
    --blog-muted: #536273;
    --blog-line: rgba(15, 23, 42, 0.12);
    --blog-soft: #f5f8fc;
    --blog-blue: #2563eb;
    --blog-cyan: #0891b2;
    --blog-radius: 8px;
}

.single-post {
    background:
        linear-gradient(180deg, #f8fbff 0%, #ffffff 28%, #f7fafc 100%);
    color: var(--blog-ink);
    font-family: "Noto Sans JP", "Inter", system-ui, sans-serif;
}

.wb-single-main {
    padding: clamp(42px, 7vw, 86px) 20px 80px;
}

.wb-single-article {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.wb-single-hero {
    width: min(100%, 920px);
    margin: 0 auto clamp(24px, 4vw, 42px);
    text-align: center;
}

.wb-single-kicker {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--blog-muted);
    font-size: 0.94rem;
    font-weight: 800;
}

.wb-single-kicker a,
.wb-single-kicker time {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--blog-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--blog-muted);
    text-decoration: none;
}

.wb-single-kicker a {
    color: var(--blog-blue);
}

.wb-single-title {
    margin: 0;
    color: var(--blog-ink);
    font-size: clamp(2rem, 5vw, 3.7rem);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: 0;
    text-wrap: balance;
}

.wb-single-lead {
    width: min(100%, 780px);
    margin: 24px auto 0;
    color: var(--blog-muted);
    font-size: clamp(1rem, 1.9vw, 1.2rem);
    font-weight: 600;
    line-height: 1.9;
    text-align: left;
}

.wb-single-eyecatch {
    width: 100%;
    margin: 0 0 clamp(28px, 4vw, 46px);
    overflow: hidden;
    border: 1px solid var(--blog-line);
    border-radius: var(--blog-radius);
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.wb-single-eyecatch img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
}

.wb-single-shell {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(280px, 340px);
    gap: clamp(28px, 4vw, 52px);
    align-items: start;
    width: min(100%, 1160px);
    margin: 0 auto;
}

.wb-single-body {
    min-width: 0;
}

.wb-single-content {
    color: #142033;
    font-size: clamp(1rem, 1.25vw, 1.08rem);
    line-height: 2.05;
}

.wb-single-content > *:first-child {
    margin-top: 0;
}

.wb-single-content p {
    margin: 0 0 1.55em;
}

.wb-single-content h2 {
    position: relative;
    margin: 2.6em 0 0.85em;
    padding: 0 0 0.55em;
    border-bottom: 1px solid var(--blog-line);
    color: var(--blog-ink);
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    font-weight: 900;
    line-height: 1.38;
    letter-spacing: 0;
}

.wb-single-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 92px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blog-blue), var(--blog-cyan));
}

.wb-single-content h3 {
    margin: 2.1em 0 0.7em;
    color: var(--blog-ink);
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    font-weight: 900;
    line-height: 1.5;
}

.wb-single-content ul,
.wb-single-content ol {
    margin: 0 0 1.8em;
    padding: 22px 28px 22px 42px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: var(--blog-radius);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.86), rgba(255, 255, 255, 0.96));
}

.wb-single-content li {
    margin: 0.45em 0;
    padding-left: 0.15em;
}

.wb-single-content a {
    color: var(--blog-blue);
    font-weight: 800;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.wb-single-content .wp-block-buttons {
    margin: 2.4rem 0;
}

.wb-single-content .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: var(--blog-radius);
    background: linear-gradient(135deg, var(--blog-blue), var(--blog-cyan));
    color: #ffffff;
    font-weight: 900;
    line-height: 1.3;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.28);
}

.wb-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 44px 0 0;
    padding-top: 26px;
    border-top: 1px solid var(--blog-line);
}

.wb-single-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: var(--blog-blue);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.wb-single-cta {
    margin: 46px 0 0;
    padding: clamp(26px, 4vw, 40px);
    border-radius: var(--blog-radius);
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.94), rgba(8, 145, 178, 0.92)),
        #2563eb;
    color: #ffffff;
    box-shadow: 0 22px 54px rgba(37, 99, 235, 0.25);
}

.wb-single-cta-label {
    margin: 0 0 10px;
    font-size: 0.92rem;
    font-weight: 900;
    opacity: 0.86;
}

.wb-single-cta h2 {
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    line-height: 1.35;
    letter-spacing: 0;
}

.wb-single-cta p:not(.wb-single-cta-label) {
    margin: 16px 0 0;
    max-width: 680px;
    line-height: 1.85;
    opacity: 0.92;
}

.wb-single-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 22px;
    padding: 0 20px;
    border-radius: var(--blog-radius);
    background: #ffffff;
    color: var(--blog-blue);
    font-weight: 900;
    text-decoration: none;
}

.wb-single-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.wb-single-nav a {
    display: block;
    min-height: 86px;
    padding: 18px;
    border: 1px solid var(--blog-line);
    border-radius: var(--blog-radius);
    background: #ffffff;
    color: var(--blog-muted);
    font-size: 0.85rem;
    font-weight: 900;
    text-decoration: none;
}

.wb-single-nav span {
    display: block;
    margin-top: 6px;
    color: var(--blog-ink);
    font-size: 0.96rem;
    line-height: 1.5;
}

.wb-single-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 16px;
}

.wb-sidebar-card {
    padding: 20px;
    border: 1px solid var(--blog-line);
    border-radius: var(--blog-radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

.wb-sidebar-card h2 {
    margin: 0 0 14px;
    color: var(--blog-ink);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: 0;
}

.wb-sidebar-card p {
    margin: 0;
    color: var(--blog-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.wb-sidebar-kicker {
    margin-bottom: 8px !important;
    color: var(--blog-blue) !important;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.68rem !important;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.wb-sidebar-intro {
    background:
        linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.96));
}

.wb-sidebar-profile {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 254, 255, 0.94));
}

.wb-sidebar-profile-head {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.wb-sidebar-profile-head img {
    width: 64px;
    aspect-ratio: 1;
    border: 3px solid #ffffff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.wb-sidebar-profile-head h2 {
    margin: 0;
    font-family: "Inter", "Noto Sans JP", system-ui, sans-serif;
    font-size: 1.15rem;
}

.wb-sidebar-primary,
.wb-sidebar-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 16px;
    padding: 0 16px;
    border-radius: var(--blog-radius);
    background: linear-gradient(135deg, var(--blog-blue), var(--blog-cyan));
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.2);
}

.wb-sidebar-service-list {
    display: grid;
    gap: 10px;
}

.wb-sidebar-service-list a {
    display: block;
    padding: 12px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: var(--blog-radius);
    background: #ffffff;
    text-decoration: none;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.wb-sidebar-service-list a:hover,
.wb-sidebar-post:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.34);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.1);
}

.wb-sidebar-service-list span {
    display: block;
    margin-bottom: 3px;
    color: var(--blog-blue);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.25;
}

.wb-sidebar-service-list strong {
    display: block;
    color: var(--blog-ink);
    font-size: 0.9rem;
    line-height: 1.45;
}

.wb-sidebar-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.wb-sidebar-heading-row h2 {
    margin: 0;
}

.wb-sidebar-heading-row a {
    color: var(--blog-blue);
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.wb-sidebar-post-list {
    display: grid;
    gap: 10px;
}

.wb-sidebar-post {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 8px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--blog-radius);
    background: #ffffff;
    text-decoration: none;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.wb-sidebar-post-thumb {
    overflow: hidden;
    width: 76px;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    background: #e2e8f0;
}

.wb-sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wb-sidebar-post time {
    display: block;
    margin-bottom: 2px;
    color: #64748b;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.2;
}

.wb-sidebar-post h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--blog-ink);
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.wb-sidebar-contact {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 64, 175, 0.92));
    color: #ffffff;
}

.wb-sidebar-contact h2,
.wb-sidebar-contact p {
    color: #ffffff;
}

.wb-sidebar-contact p {
    opacity: 0.88;
}

.wb-sidebar-contact a {
    background: #ffffff;
    color: var(--blog-blue);
    box-shadow: none;
}

@media (max-width: 1040px) {
    .wb-single-shell {
        grid-template-columns: 1fr;
        width: min(100%, 860px);
    }

    .wb-single-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wb-sidebar-intro,
    .wb-sidebar-profile,
    .wb-sidebar-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .wb-single-main {
        padding: 30px 16px 64px;
    }

    .wb-single-lead {
        text-align: left;
    }

    .wb-single-content {
        line-height: 1.95;
    }

    .wb-single-content ul,
    .wb-single-content ol {
        padding: 18px 18px 18px 32px;
    }

    .wb-single-nav {
        grid-template-columns: 1fr;
    }

    .wb-single-sidebar {
        grid-template-columns: 1fr;
    }

    .wb-sidebar-card {
        padding: 18px;
    }
}
