.kmy-column {
    --kmy-ink: #15274a;
    --kmy-navy: #1d2568;
    --kmy-purple: #332583;
    --kmy-gold: #c7a72a;
    --kmy-teal: #0f928b;
    --kmy-coral: #d45d56;
    --kmy-muted: #66748b;
    --kmy-line: #dbe2ed;
    --kmy-bg: #f5f7fb;
    --kmy-paper: #ffffff;
    --kmy-shadow: 0 18px 45px rgba(18, 31, 61, .13);
    color: var(--kmy-ink);
    background: var(--kmy-bg);
    font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
    letter-spacing: 0;
    overflow-x: hidden;
}

.kmy-column *,
.kmy-column *::before,
.kmy-column *::after {
    box-sizing: border-box;
}

.kmy-column a {
    color: inherit;
    text-decoration: none;
}

.kmy-column img {
    display: block;
    max-width: 100%;
}

.kmy-column-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.kmy-column-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(58px, 7vw, 96px) 0 clamp(54px, 6vw, 82px);
    background:
        linear-gradient(135deg, rgba(29, 37, 104, .96), rgba(49, 37, 131, .92) 58%, rgba(15, 146, 139, .82)),
        radial-gradient(circle at 16% 12%, rgba(199, 167, 42, .26), transparent 32%);
    color: #fff;
}

.kmy-column-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 44px;
    background: linear-gradient(180deg, rgba(245, 247, 251, 0), var(--kmy-bg));
}

.kmy-column-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, .78fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.kmy-column-hero__copy,
.kmy-column-article-hero__copy {
    min-width: 0;
}

.kmy-column-eyebrow,
.kmy-column-section-label,
.kmy-column-side-label {
    margin: 0 0 14px;
    color: var(--kmy-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.35;
}

.kmy-column-hero h1,
.kmy-column-article-hero h1 {
    margin: 0;
    font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: 0;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.kmy-title-line {
    display: inline;
}

.kmy-column-featured-card h2 .kmy-title-line {
    display: block;
}

.kmy-lead-line {
    display: inline;
}

.kmy-column-hero__lead {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(16px, 1.8vw, 19px);
    font-weight: 500;
    line-height: 2;
}

.kmy-column-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.kmy-column-hero__chips span {
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .11);
    color: rgba(255, 255, 255, .93);
    font-size: 14px;
    font-weight: 800;
}

.kmy-column-hero__visual,
.kmy-column-article-hero__media {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.kmy-column-hero__visual img,
.kmy-column-article-hero__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.kmy-column-hero__note {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    color: var(--kmy-ink);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.kmy-column-hero__note span,
.kmy-column-card__meta,
.kmy-column-article-meta,
.kmy-column-related span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--kmy-muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
}

.kmy-column-hero__note strong {
    display: block;
    margin-top: 6px;
    font-size: 17px;
    line-height: 1.55;
}

.kmy-column-featured,
.kmy-column-list,
.kmy-column-cta,
.kmy-column-related {
    padding: clamp(48px, 6vw, 76px) 0;
}

.kmy-column-featured .kmy-column-section-label {
    display: block;
    width: fit-content;
    margin: 0 0 22px;
    padding: 0 0 4px;
    position: relative;
    z-index: 2;
}

.kmy-column-featured-card {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--kmy-line);
    border-radius: 8px;
    background: var(--kmy-paper);
    box-shadow: var(--kmy-shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.kmy-column-featured-card:hover,
.kmy-column-card:hover {
    border-color: rgba(15, 146, 139, .45);
    box-shadow: 0 22px 52px rgba(18, 31, 61, .17);
    transform: translateY(-3px);
}

.kmy-column-featured-card__media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.kmy-column-featured-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(28px, 5vw, 54px);
}

.kmy-column-tag {
    align-self: flex-start;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(199, 167, 42, .14);
    color: #80680c;
    font-size: 13px;
    font-weight: 800;
}

.kmy-column-featured-card h2,
.kmy-column-list__head h2,
.kmy-column-cta h2,
.kmy-column-article-side h2 {
    margin: 14px 0 0;
    font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
    color: var(--kmy-ink);
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 800;
    line-height: 1.38;
    letter-spacing: 0;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.kmy-column-featured-card p,
.kmy-column-list__head p,
.kmy-column-cta p,
.kmy-column-article-lead {
    margin: 18px 0 0;
    color: var(--kmy-muted);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.9;
}

.kmy-column-readmore,
.kmy-column-card__more,
.kmy-column-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 46px;
    margin-top: 24px;
    padding: 11px 18px;
    border-radius: 8px;
    background: var(--kmy-navy);
    color: #fff;
    font-weight: 800;
    line-height: 1.3;
}

.kmy-column-readmore::after,
.kmy-column-card__more::after,
.kmy-column-button::after {
    content: "→";
    margin-left: 10px;
}

.kmy-column-list {
    background: #fff;
}

.kmy-column-list__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 28px;
    align-items: end;
    margin-bottom: 30px;
}

.kmy-column-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.kmy-column-card {
    overflow: hidden;
    border: 1px solid var(--kmy-line);
    border-radius: 8px;
    background: var(--kmy-paper);
    box-shadow: 0 14px 34px rgba(18, 31, 61, .08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.kmy-column-card__link,
.kmy-column-card__media,
.kmy-column-card__body,
.kmy-column-card__excerpt {
    display: block;
}

.kmy-column-card__media {
    overflow: hidden;
    background: #e9edf5;
}

.kmy-column-card__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .24s ease;
}

.kmy-column-card:hover .kmy-column-card__media img {
    transform: scale(1.04);
}

.kmy-column-card__body {
    padding: 20px;
}

.kmy-column-card__meta {
    justify-content: space-between;
    margin-bottom: 10px;
}

.kmy-column-card__meta span {
    color: var(--kmy-teal);
}

.kmy-column .kmy-column-card h3 {
    min-height: 4.5em;
    margin: 0;
    color: var(--kmy-ink);
    font-size: 16px !important;
    font-weight: 900;
    line-height: 1.58;
    letter-spacing: 0;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.kmy-column-card__excerpt {
    min-height: 5.7em;
    margin-top: 12px;
    color: var(--kmy-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.9;
}

.kmy-column-card__more {
    min-height: 40px;
    margin-top: 18px;
    padding: 8px 13px;
    background: #eef7f6;
    color: #08736d;
    font-size: 13px;
}

.kmy-column-cta {
    background: linear-gradient(135deg, #f8f2d8, #eef8f7 52%, #f5f7fb);
}

.kmy-column-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
}

.kmy-column-cta h2 {
    font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .015em;
}

.kmy-column-cta p {
    font-weight: 600;
    letter-spacing: .01em;
}

.kmy-column-button {
    margin-top: 0;
    background: #665500;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.kmy-column-article-hero {
    padding: clamp(48px, 6vw, 82px) 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(238, 247, 246, .95)),
        linear-gradient(135deg, rgba(29, 37, 104, .08), rgba(199, 167, 42, .12));
}

.kmy-column-article-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
    gap: clamp(28px, 5vw, 58px);
    align-items: center;
}

.kmy-column-back {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin-bottom: 22px;
    padding: 7px 12px;
    border: 1px solid var(--kmy-line);
    border-radius: 999px;
    background: #fff;
    color: var(--kmy-navy);
    font-size: 13px;
    font-weight: 800;
}

.kmy-column-back::before {
    content: "←";
    margin-right: 8px;
}

.kmy-column-article-hero h1 {
    color: var(--kmy-ink);
    font-size: clamp(33px, 4.4vw, 56px);
}

.kmy-column-article-meta {
    gap: 14px;
    margin-top: 20px;
}

.kmy-column-article-hero__media {
    border-color: rgba(21, 39, 74, .08);
    box-shadow: var(--kmy-shadow);
}

.kmy-column-article-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 760px);
    gap: 54px;
    align-items: start;
    padding: clamp(46px, 6vw, 72px) 0;
}

.kmy-column-article-side {
    position: sticky;
    top: 24px;
    padding: 24px;
    border: 1px solid var(--kmy-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(18, 31, 61, .08);
}

.kmy-column .kmy-column-article-side h2 {
    margin-top: 0;
    font-size: 21px;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: normal;
}

.kmy-column-article-side ol {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding-left: 1.35em;
    color: var(--kmy-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
}

.kmy-column-prescription {
    margin-bottom: 30px;
    padding: 22px 24px;
    border-left: 5px solid var(--kmy-gold);
    border-radius: 8px;
    background: #fffdf4;
}

.kmy-column-prescription span {
    color: #80680c;
    font-size: 13px;
    font-weight: 900;
}

.kmy-column-prescription p {
    margin: 8px 0 0;
    color: var(--kmy-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.85;
}

.kmy-column-content {
    overflow-wrap: anywhere;
    color: #2d3b52;
    font-size: 17px;
    font-weight: 500;
    line-height: 2.05;
}

.kmy-column-content > *:first-child {
    margin-top: 0;
}

.kmy-column-content h2 {
    position: relative;
    margin: 2.4em 0 .8em;
    padding: 0 0 0 18px;
    color: var(--kmy-ink);
    font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: 0;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.kmy-column-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: .25em;
    bottom: .18em;
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--kmy-gold), var(--kmy-teal));
}

.kmy-column-content h3 {
    margin: 2em 0 .65em;
    color: var(--kmy-navy);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.55;
}

.kmy-column-content p,
.kmy-column-content ul,
.kmy-column-content ol {
    margin: 1.1em 0;
}

.kmy-column-content a {
    color: #0c756f;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.kmy-column-content ul,
.kmy-column-content ol {
    padding-left: 1.35em;
}

.kmy-column-content li + li {
    margin-top: .45em;
}

.kmy-column-content blockquote {
    margin: 2em 0;
    padding: 20px 24px;
    border-left: 5px solid var(--kmy-teal);
    border-radius: 8px;
    background: #eef8f7;
    color: var(--kmy-ink);
}

.kmy-column-related {
    background: #fff;
}

.kmy-column-related__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.kmy-column-related__head h2 {
    margin: 6px 0 0;
    color: var(--kmy-ink);
    font-size: clamp(26px, 3vw, 38px);
}

.kmy-column-related a.kmy-column-related__all {
    min-height: 0;
    padding: 10px 16px;
    border-color: var(--kmy-teal);
    color: var(--kmy-teal);
    font-weight: 800;
}

.kmy-column-related__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.kmy-column-related a {
    display: block;
    min-height: 130px;
    padding: 22px;
    border: 1px solid var(--kmy-line);
    border-radius: 8px;
    background: var(--kmy-paper);
    box-shadow: 0 12px 30px rgba(18, 31, 61, .07);
}

.kmy-column-related strong {
    display: block;
    margin-top: 10px;
    color: var(--kmy-ink);
    font-size: 17px;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .kmy-column-hero__inner,
    .kmy-column-featured-card,
    .kmy-column-list__head,
    .kmy-column-cta__inner,
    .kmy-column-article-hero__inner,
    .kmy-column-article-layout,
    .kmy-column-related__inner {
        grid-template-columns: 1fr;
    }

    .kmy-column-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kmy-column-article-side {
        position: static;
    }
}

@media (max-width: 640px) {
    .kmy-column-related__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .kmy-column-shell {
        width: min(100% - 28px, 1120px);
        max-width: calc(100vw - 28px);
    }

    .kmy-column-hero,
    .kmy-column-article-hero {
        padding-top: 42px;
        padding-bottom: 46px;
    }

    .kmy-column-hero__copy,
    .kmy-column-article-hero__copy {
        width: calc(100vw - 28px) !important;
        max-width: calc(100vw - 28px) !important;
    }

    .kmy-column-hero h1 {
        max-width: 100%;
        font-size: 28px !important;
        line-height: 1.46;
        white-space: normal !important;
        word-break: break-all !important;
        overflow-wrap: anywhere !important;
    }

    .kmy-column .kmy-column-article-hero h1 {
        max-width: 100%;
        font-size: 28px !important;
        line-height: 1.48;
        white-space: normal !important;
        word-break: break-all !important;
        overflow-wrap: anywhere !important;
    }

    .kmy-column-hero h1 .kmy-title-line,
    .kmy-column-article-hero h1 .kmy-title-line {
        display: block;
    }

    .kmy-column-hero__lead .kmy-lead-line,
    .kmy-column-article-lead .kmy-lead-line {
        display: block;
    }

    .kmy-column-hero__lead,
    .kmy-column-article-lead {
        display: block;
        width: calc(100vw - 28px) !important;
        max-width: 100%;
        font-size: 13px;
        line-height: 1.85;
        white-space: normal !important;
        word-break: break-all !important;
        overflow-wrap: anywhere !important;
    }

    .kmy-column-hero__visual img,
    .kmy-column-article-hero__media img {
        aspect-ratio: 16 / 11;
    }

    .kmy-column-hero__note {
        position: static;
        border-radius: 0;
        box-shadow: none;
    }

    .kmy-column-featured,
    .kmy-column-list,
    .kmy-column-cta,
    .kmy-column-related {
        padding: 42px 0;
    }

    .kmy-column-featured-card__media img {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .kmy-column-featured-card__body,
    .kmy-column-card__body,
    .kmy-column-article-side,
    .kmy-column-prescription,
    .kmy-column-related a {
        padding: 18px;
    }

    .kmy-column-featured-card,
    .kmy-column-featured-card__body,
    .kmy-column-list__head,
    .kmy-column-card,
    .kmy-column-card__body {
        min-width: 0;
        max-width: 100%;
    }

    .kmy-column-featured-card {
        overflow: hidden;
    }

    .kmy-column-featured-card__body > * {
        max-width: 100%;
    }

    .kmy-column .kmy-column-featured-card h2,
    .kmy-column .kmy-column-list__head h2,
    .kmy-column .kmy-column-cta h2,
    .kmy-column .kmy-column-article-side h2 {
        width: 100%;
        font-size: 18px !important;
        line-height: 1.55;
        display: block;
        max-width: 100%;
        white-space: normal !important;
        line-break: anywhere;
        word-break: break-all !important;
        overflow-wrap: anywhere !important;
    }

    .kmy-column-grid {
        grid-template-columns: 1fr;
    }

    .kmy-column-card__meta {
        justify-content: flex-start;
        gap: 8px;
        flex-wrap: wrap;
        font-size: 12px;
    }

    .kmy-column .kmy-column-card h3 {
        font-size: 15px !important;
        line-height: 1.62;
        white-space: normal !important;
        word-break: break-all !important;
        overflow-wrap: anywhere !important;
    }

    .kmy-column-card h3,
    .kmy-column-card__excerpt {
        min-height: 0;
    }

    .kmy-column-button {
        width: 100%;
    }

    .kmy-column-article-layout {
        gap: 28px;
        padding: 42px 0;
    }

    .kmy-column-content {
        font-size: 16px;
        line-height: 1.95;
    }

    .kmy-column-content h2 {
        font-size: 25px;
    }
}
