.kmy-public {
    --kmy-blue: var(--kmy-primary, #113575);
    --kmy-navy: #0f3069;
    --kmy-pink: var(--kmy-accent, #ff6575);
    --kmy-pink-deep: #ce3545;
    --kmy-ink: #273142;
    --kmy-text: #676767;
    --kmy-soft: #f5f5f5;
    --kmy-blush: #ffeef0;
    --kmy-line: rgba(15, 48, 105, .14);
    --kmy-pattern-image: none;
    --kmy-section-bg-image: none;
    --kmy-circle-image: none;
    margin: 0;
    padding-bottom: 86px;
    background: #fff;
    color: var(--kmy-text);
    font-family: var(--kmy-font-body, "Zen Kaku Gothic Antique", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 0;
}

.kmy-sample-page {
    --kmy-sample-blue: #113575;
    --kmy-sample-deep: #0b275a;
    --kmy-sample-accent: #ff5f73;
    --kmy-sample-gold: #d7a928;
    --kmy-sample-mint: #39b7a5;
    --kmy-sample-text: #15223a;
    --kmy-sample-muted: #657085;
    --kmy-sample-border: #dce4ef;
    --kmy-sample-surface: #f7f9fc;
    color: var(--kmy-sample-text);
    background: #fff;
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;
}

.kmy-sample-page .e-con-inner {
    width: min(1180px, calc(100% - 40px));
}

.kmy-sample-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(220, 228, 239, .9);
    backdrop-filter: blur(16px);
}

.kmy-sample-header .e-con-inner,
.kmy-sample-row .e-con-inner,
.kmy-sample-hero .e-con-inner,
.kmy-sample-split .e-con-inner,
.kmy-sample-cards .e-con-inner,
.kmy-sample-cta .e-con-inner,
.kmy-sample-footer .e-con-inner {
    max-width: 1180px;
}

.kmy-sample-eyebrow,
.kmy-sample-page .elementor-widget-heading .elementor-heading-title.kmy-sample-eyebrow {
    color: var(--kmy-sample-accent);
    font-size: 14px;
    font-weight: 700;
}

.kmy-sample-page h1,
.kmy-sample-page h2,
.kmy-sample-page h3 {
    letter-spacing: 0;
}

.kmy-sample-page h1,
.kmy-sample-page .kmy-sample-h1 .elementor-heading-title,
.kmy-sample-page .kmy-sample-h2 .elementor-heading-title {
    color: var(--kmy-sample-blue);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", "Noto Serif JP", serif);
    font-weight: 700;
    line-height: 1.25;
}

.kmy-sample-page .kmy-sample-h1 .elementor-heading-title {
    font-size: clamp(38px, 5.4vw, 72px);
}

.kmy-sample-page .kmy-sample-h2 .elementor-heading-title {
    font-size: clamp(30px, 3.4vw, 48px);
}

.kmy-sample-page .kmy-sample-lead {
    color: #33415f;
    font-size: 17px;
    line-height: 1.9;
}

.kmy-sample-page .elementor-button {
    border-radius: 8px;
    font-weight: 700;
}

.kmy-sample-page .elementor-button.elementor-size-md {
    padding: 16px 25px;
}

.kmy-sample-page .kmy-sample-button-primary .elementor-button {
    color: #fff;
    background: var(--kmy-sample-accent);
}

.kmy-sample-page .kmy-sample-button-secondary .elementor-button {
    color: var(--kmy-sample-blue);
    background: #fff;
    border: 1px solid var(--kmy-sample-border);
}

.kmy-sample-hero {
    min-height: 720px;
    overflow: hidden;
    background: linear-gradient(180deg, #f5f8fc 0%, #fff 100%);
}

.kmy-sample-hero .e-con-inner {
    min-height: 720px;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 46px;
}

.kmy-sample-hero-card {
    z-index: 3;
    padding: 46px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(220,228,239,.9);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(17, 53, 117, .14);
}

.kmy-sample-trust .kmy-sample-hero-card {
    border-left: 7px solid var(--kmy-sample-gold);
}

.kmy-sample-story .kmy-sample-hero-card {
    background: rgba(11, 39, 90, .82);
    color: #fff;
    border-color: rgba(255,255,255,.22);
}

.kmy-sample-story .kmy-sample-hero-card .elementor-heading-title,
.kmy-sample-story .kmy-sample-hero-card .kmy-sample-lead {
    color: #fff;
}

.kmy-sample-parent .kmy-sample-hero-card {
    border-top: 7px solid var(--kmy-sample-mint);
}

.kmy-sample-hero-visual img {
    width: 100%;
    height: min(68vh, 680px);
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(17,53,117,.18);
}

.kmy-sample-story .kmy-sample-hero-visual img {
    height: min(74vh, 760px);
}

.kmy-sample-hero-note {
    margin-top: -78px;
    margin-left: auto;
    width: min(390px, 80%);
    padding: 24px 28px;
    background: #fff;
    border: 1px solid var(--kmy-sample-border);
    border-radius: 8px;
    box-shadow: 0 20px 55px rgba(17,53,117,.12);
}

.kmy-sample-row {
    padding: 88px 0;
}

.kmy-sample-split .e-con-inner {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
}

.kmy-sample-split img,
.kmy-sample-image img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 8px;
}

.kmy-sample-card-grid .e-con-inner,
.kmy-sample-service-grid .e-con-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.kmy-sample-card,
.kmy-sample-service,
.kmy-sample-price-card,
.kmy-sample-profile-card,
.kmy-sample-faq-card {
    padding: 26px;
    background: #fff;
    border: 1px solid var(--kmy-sample-border);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(17, 53, 117, .07);
}

.kmy-sample-service {
    min-height: 210px;
}

.kmy-sample-service .elementor-heading-title,
.kmy-sample-card .elementor-heading-title {
    color: var(--kmy-sample-blue);
}

.kmy-sample-number .elementor-heading-title {
    color: var(--kmy-sample-accent);
    font-family: Georgia, serif;
    font-size: 28px;
}

.kmy-sample-band {
    background: #fff4f6;
}

.kmy-sample-blue-band {
    color: #fff;
    background: var(--kmy-sample-blue);
}

.kmy-sample-blue-band .elementor-heading-title,
.kmy-sample-blue-band .kmy-sample-lead,
.kmy-sample-blue-band p {
    color: #fff;
}

.kmy-sample-flow .e-con-inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.kmy-sample-flow-step {
    position: relative;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--kmy-sample-border);
    border-radius: 8px;
}

.kmy-sample-price-layout .e-con-inner {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 24px;
    align-items: stretch;
}

.kmy-sample-price-card.is-main {
    color: #fff;
    background: var(--kmy-sample-blue);
}

.kmy-sample-price-card.is-main .elementor-heading-title,
.kmy-sample-price-card.is-main p {
    color: #fff;
}

.kmy-sample-photo-strip .e-con-inner {
    display: grid;
    grid-template-columns: 1.2fr .9fr .9fr;
    gap: 16px;
}

.kmy-sample-photo-strip img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 8px;
}

.kmy-sample-floating-cta {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 100;
    display: flex;
    gap: 10px;
}

.kmy-sample-floating-cta .elementor-button {
    box-shadow: 0 18px 45px rgba(17,53,117,.2);
}

.kmy-sample-footer {
    padding: 56px 0;
    color: #fff;
    background: #0b1b3c;
}

.kmy-sample-footer .elementor-heading-title,
.kmy-sample-footer p {
    color: #fff;
}

@media (max-width: 900px) {
    .kmy-sample-hero .e-con-inner,
    .kmy-sample-split .e-con-inner,
    .kmy-sample-price-layout .e-con-inner,
    .kmy-sample-photo-strip .e-con-inner {
        grid-template-columns: 1fr;
    }

    .kmy-sample-card-grid .e-con-inner,
    .kmy-sample-service-grid .e-con-inner,
    .kmy-sample-flow .e-con-inner {
        grid-template-columns: 1fr 1fr;
    }

    .kmy-sample-hero-card {
        padding: 30px 24px;
    }
}

@media (max-width: 620px) {
    .kmy-sample-page .e-con-inner {
        width: min(100% - 28px, 1180px);
    }

    .kmy-sample-hero,
    .kmy-sample-hero .e-con-inner {
        min-height: auto;
    }

    .kmy-sample-hero {
        padding: 38px 0 52px;
    }

    .kmy-sample-hero-visual img {
        height: 390px;
    }

    .kmy-sample-card-grid .e-con-inner,
    .kmy-sample-service-grid .e-con-inner,
    .kmy-sample-flow .e-con-inner {
        grid-template-columns: 1fr;
    }

    .kmy-sample-floating-cta {
        right: 12px;
        left: 12px;
        bottom: 12px;
    }

    .kmy-sample-floating-cta > * {
        flex: 1;
    }
}

/* Template sample recovery: scope layout rules to the direct Elementor container only. */
.elementor-element.kmy-sample-page > .e-con-inner {
    width: min(1180px, calc(100% - 40px));
    max-width: 1180px;
    margin-inline: auto;
}

.kmy-sample-header > .e-con-inner {
    min-height: 76px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.kmy-sample-header > .e-con-inner > .elementor-element {
    width: auto;
}

.kmy-sample-header > .e-con-inner > .elementor-element:last-child > .e-con-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.kmy-sample-hero > .e-con-inner {
    min-height: 720px;
    display: grid !important;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 46px;
}

.kmy-sample-split > .e-con-inner {
    display: grid !important;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
}

.kmy-sample-service-grid > .e-con-inner,
.kmy-sample-card-grid > .e-con-inner {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.kmy-sample-flow > .e-con-inner {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.kmy-sample-price-layout > .e-con-inner {
    display: grid !important;
    grid-template-columns: .9fr 1.1fr;
    gap: 24px;
    align-items: stretch;
}

.kmy-sample-photo-strip > .e-con-inner {
    display: grid !important;
    grid-template-columns: 1.2fr .9fr .9fr;
    gap: 16px;
}

.kmy-sample-hero-card > .e-con-inner,
.kmy-sample-hero-visual > .e-con-inner,
.kmy-sample-hero-note > .e-con-inner,
.kmy-sample-card > .e-con-inner,
.kmy-sample-service > .e-con-inner,
.kmy-sample-price-card > .e-con-inner,
.kmy-sample-profile-card > .e-con-inner,
.kmy-sample-faq-card > .e-con-inner {
    width: 100%;
    max-width: none;
    margin: 0;
}

.kmy-sample-hero-card > .e-con-inner,
.kmy-sample-service > .e-con-inner,
.kmy-sample-price-card > .e-con-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.kmy-sample-hero-visual > .e-con-inner {
    position: relative;
}

.kmy-sample-hero-note {
    position: relative;
    z-index: 4;
}

.kmy-sample-floating-cta > .e-con-inner {
    width: auto;
    max-width: none;
    display: flex !important;
    flex-direction: row;
    gap: 10px;
}

.kmy-sample-floating-cta .elementor-element {
    width: auto;
}

@media (max-width: 900px) {
    .kmy-sample-hero > .e-con-inner,
    .kmy-sample-split > .e-con-inner,
    .kmy-sample-price-layout > .e-con-inner,
    .kmy-sample-photo-strip > .e-con-inner {
        grid-template-columns: 1fr;
    }

    .kmy-sample-card-grid > .e-con-inner,
    .kmy-sample-service-grid > .e-con-inner,
    .kmy-sample-flow > .e-con-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .elementor-element.kmy-sample-page > .e-con-inner {
        width: min(100% - 28px, 1180px);
    }

    .kmy-sample-header > .e-con-inner,
    .kmy-sample-header > .e-con-inner > .elementor-element:last-child > .e-con-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .kmy-sample-service-grid > .e-con-inner,
    .kmy-sample-card-grid > .e-con-inner,
    .kmy-sample-flow > .e-con-inner {
        grid-template-columns: 1fr;
    }

    .kmy-sample-floating-cta {
        right: 12px;
        left: 12px;
        bottom: 12px;
    }

    .kmy-sample-floating-cta > .e-con-inner {
        width: 100%;
    }

    .kmy-sample-floating-cta .elementor-element {
        flex: 1;
    }
}

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

.kmy-public a {
    color: var(--kmy-blue);
}

.kmy-elementor-empty {
    padding: 14px 16px;
    border: 1px dashed rgba(17, 53, 117, .32);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--kmy-blue);
    font-weight: 700;
}

.kmy-shortcode-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.kmy-el-field {
    display: block;
    margin: 0;
}

.kmy-el-topbar,
.kmy-el-header,
.kmy-el-hero,
.kmy-el-section,
.kmy-el-message,
.kmy-el-price,
.kmy-el-contact,
.kmy-el-footer {
    font-family: "Zen Kaku Gothic Antique", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #273142;
    letter-spacing: 0;
}

.kmy-el-topbar {
    min-height: 42px;
    padding: 8px max(24px, 5vw);
    background: #113575;
    color: #fff;
    font-size: 14px;
}

.kmy-el-topbar .elementor-widget-container,
.kmy-el-topbar a {
    color: #fff;
}

.kmy-el-topbar-inner {
    width: min(1240px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.kmy-el-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 0 max(24px, 5vw);
    border-bottom: 1px solid rgba(17, 53, 117, .12);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
}

.kmy-el-header-inner {
    width: min(1240px, 100%);
    min-height: 82px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(170px, 260px) 1fr auto;
    gap: 24px;
    align-items: center;
}

.kmy-el-logo img {
    width: min(235px, 100%);
    max-height: 62px;
    object-fit: contain;
    object-position: left center;
    border-radius: 0;
}

.kmy-el-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.kmy-el-nav .elementor-widget-button,
.kmy-el-hero-actions .elementor-widget-button,
.kmy-el-floating-nav .elementor-widget-button {
    width: auto;
    max-width: max-content;
}

.kmy-el-nav .elementor-button-wrapper,
.kmy-el-hero-actions .elementor-button-wrapper,
.kmy-el-floating-nav .elementor-button-wrapper {
    display: flex;
}

.kmy-el-topbar-inner > .e-con-inner,
.kmy-el-header-inner > .e-con-inner,
.kmy-el-nav > .e-con-inner,
.kmy-el-hero-actions > .e-con-inner,
.kmy-el-floating-nav > .e-con-inner,
.kmy-el-expert-card-inner > .e-con-inner,
.kmy-el-letter-inner > .e-con-inner,
.kmy-el-split > .e-con-inner,
.kmy-el-service-grid > .e-con-inner,
.kmy-el-flow-grid > .e-con-inner,
.kmy-el-message-inner > .e-con-inner,
.kmy-el-voice-grid > .e-con-inner,
.kmy-el-footer-inner > .e-con-inner,
.kmy-el-expert-copy > .e-con-inner,
.kmy-el-expert-visual > .e-con-inner,
.kmy-el-service-card > .e-con-inner,
.kmy-el-flow-card > .e-con-inner,
.kmy-el-voice-card > .e-con-inner,
.kmy-el-photo-card > .e-con-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.kmy-el-topbar-inner > .e-con-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.kmy-el-header-inner > .e-con-inner {
    width: min(1240px, 100%);
    min-height: 82px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(170px, 260px) 1fr;
    gap: 24px;
    align-items: center;
}

.kmy-el-header-inner > .e-con-inner > .kmy-el-logo {
    grid-column: 1;
    min-width: 0;
}

.kmy-el-header-inner > .e-con-inner > .kmy-el-nav {
    grid-column: 2;
    justify-self: end;
    width: auto;
    min-width: 0;
}

.kmy-el-nav > .e-con-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.kmy-el-nav .elementor-widget-button,
.kmy-el-nav .elementor-button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.kmy-el-nav .kmy-el-button-primary .elementor-button {
    min-width: 154px;
}

.kmy-el-hero-actions > .e-con-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.kmy-el-floating-nav > .e-con-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.kmy-el-expert-card-inner > .e-con-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 42%);
    align-items: stretch;
}

.kmy-el-letter-inner > .e-con-inner {
    display: grid;
    grid-template-columns: minmax(260px, .52fr) minmax(0, .95fr);
    gap: 72px;
    align-items: start;
}

.kmy-el-split > .e-con-inner {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(360px, .9fr);
    gap: clamp(32px, 5vw, 68px);
    align-items: center;
}

.kmy-el-service-grid > .e-con-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.kmy-el-flow-grid > .e-con-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.kmy-el-message-inner > .e-con-inner {
    display: grid;
    grid-template-columns: minmax(260px, .55fr) minmax(0, .85fr) minmax(280px, .7fr);
    gap: 36px;
    align-items: center;
}

.kmy-el-voice-grid > .e-con-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.kmy-el-footer-inner > .e-con-inner {
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
    gap: 32px;
}

.kmy-el-service-card > .e-con-inner,
.kmy-el-flow-card > .e-con-inner,
.kmy-el-voice-card > .e-con-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.kmy-el-expert-visual > .e-con-inner,
.kmy-el-photo-card > .e-con-inner {
    height: 100%;
}

.kmy-el-nav .elementor-widget-text-editor,
.kmy-el-nav a {
    color: #273142;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.kmy-el-nav-link .elementor-button,
.kmy-el-nav-link a.elementor-button {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #273142;
    box-shadow: none;
}

.kmy-el-nav-current .elementor-button,
.kmy-el-nav-current a.elementor-button {
    color: #d9364c;
}

.kmy-el-nav .is-current,
.kmy-el-nav .kmy-el-nav-current {
    color: #d9364c;
}

.kmy-el-button-primary .elementor-button,
.kmy-el-button-primary a.elementor-button,
.kmy-el-contact .kmy-button-primary,
.kmy-el-contact .kmy-lead-form button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 8px;
    background: #ff5f73;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: none;
}

.kmy-el-button-secondary .elementor-button,
.kmy-el-button-secondary a.elementor-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid rgba(255, 95, 115, .42);
    border-radius: 8px;
    background: #fff;
    color: #113575;
    font-weight: 800;
    text-decoration: none;
}

.kmy-el-hero {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #eef5fb;
}

.kmy-el-hero-shell {
    position: relative;
    width: 100%;
    min-height: 800px;
    margin: 0 auto;
    display: block;
    overflow: hidden;
    border-radius: 0;
    background: #eef5fb;
    box-shadow: none;
}

.kmy-el-hero-shell::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 34%;
    background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.kmy-el-hero-copy {
    position: absolute;
    left: max(28px, calc((100vw - 1240px) / 2 + 28px));
    top: 50%;
    z-index: 3;
    width: min(560px, calc(100vw - 56px));
    margin: 0;
    padding: clamp(30px, 4vw, 48px);
    border-radius: 8px;
    background: rgba(31, 84, 112, .82);
    color: #fff;
    box-shadow: 0 20px 52px rgba(17, 53, 117, .24);
    transform: translateY(-38%);
    backdrop-filter: blur(2px);
}

.kmy-el-kicker,
.kmy-el-section-kicker .elementor-widget-container {
    color: #ff5f73;
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
}

.kmy-el-hero-title {
    margin: 18px 0 0;
    color: #fff;
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: clamp(38px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.26;
}

.kmy-el-hero-lead {
    margin-top: 24px;
    color: rgba(255, 255, 255, .95);
    font-size: 16px;
    line-height: 1.9;
}

.kmy-el-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.kmy-el-hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: 800px;
}

.kmy-el-hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(255, 255, 255, .02) 0%, rgba(255, 255, 255, .05) 48%, rgba(255, 255, 255, .42) 78%, rgba(255, 255, 255, .74) 100%);
    pointer-events: none;
}

.kmy-el-hero-visual .elementor-widget-container,
.kmy-el-hero-visual .kmy-shortcode-image,
.kmy-el-hero-img {
    width: 100%;
    height: 100%;
}

.kmy-el-hero-img {
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
}

.kmy-el-school-card {
    position: absolute;
    right: clamp(24px, 4vw, 56px);
    bottom: clamp(24px, 4vw, 56px);
    z-index: 3;
    width: min(340px, calc(100% - 48px));
    padding: 26px 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 48px rgba(15, 48, 105, .18);
}

.kmy-el-school-division {
    color: #d9364c;
    font-size: 15px;
    font-weight: 800;
}

.kmy-el-school-name {
    margin-top: 10px;
    color: #113575;
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
}

.kmy-el-overview {
    padding-top: 92px;
    background: #fff;
}

.kmy-el-overview .kmy-el-section-inner {
    display: grid;
    gap: 32px;
}

.kmy-el-overview-head {
    max-width: 680px;
    margin: 0 auto 0 0;
}

.kmy-el-divider {
    width: 86px;
    height: 4px;
    margin: 18px 0 0;
    background: linear-gradient(90deg, #ff5f73 0 48%, transparent 48% 58%, #ff5f73 58% 100%);
}

.kmy-el-expert-card {
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    color: #fff;
    box-shadow: none;
}

.kmy-el-expert-card .elementor-widget-heading .elementor-heading-title,
.kmy-el-expert-card .elementor-widget-text-editor,
.kmy-el-expert-card .kmy-el-copy {
    color: #fff;
}

.kmy-el-expert-card-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 42%);
    align-items: stretch;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, #113575, #2d5c72);
    box-shadow: 0 22px 58px rgba(15, 48, 105, .14);
}

.kmy-el-expert-copy {
    padding: clamp(30px, 4vw, 48px);
}

.kmy-el-expert-visual img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
}

.kmy-el-letter {
    padding: 104px max(24px, 5vw);
    background: #fff0f2;
}

.kmy-el-letter-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, .52fr) minmax(0, .95fr);
    gap: 72px;
    align-items: start;
}

.kmy-el-letter-body {
    color: #273142;
    font-size: 17px;
    line-height: 2.08;
}

.kmy-el-letter-body strong {
    color: #113575;
}

.kmy-el-voice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.kmy-el-voice-card {
    min-height: 250px;
    padding: 28px;
    border-radius: 8px;
    border: 1px solid rgba(17, 53, 117, .12);
    background: #fff;
    box-shadow: 0 14px 38px rgba(15, 48, 105, .07);
}

.kmy-el-voice-card .elementor-widget-heading .elementor-heading-title {
    color: #113575;
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 22px;
    line-height: 1.4;
}

.kmy-el-floating-nav {
    position: sticky;
    top: 82px;
    z-index: 24;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(17, 53, 117, .12);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
}

.kmy-el-floating-nav .elementor-button {
    min-height: 38px;
    border-radius: 999px;
    background: #f3f7fb;
    color: #113575;
    font-size: 13px;
    font-weight: 800;
}

.kmy-el-floating-nav .kmy-el-button-primary .elementor-button {
    background: #ff5f73;
    color: #fff;
}

.kmy-el-section,
.kmy-el-price,
.kmy-el-contact {
    padding: 96px max(24px, 5vw);
    background: #fff;
}

.kmy-el-section-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.kmy-el-split {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(360px, .9fr);
    gap: clamp(32px, 5vw, 68px);
    align-items: center;
}

.kmy-el-heading {
    color: #113575;
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: clamp(31px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.34;
}

.kmy-el-copy,
.kmy-el-copy .elementor-widget-container {
    color: #52606f;
    font-size: 16px;
    line-height: 2;
}

.kmy-el-photo-card {
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 52px rgba(15, 48, 105, .13);
}

.kmy-el-photo-card img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center top;
}

.kmy-el-service-grid,
.kmy-el-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.kmy-el-service-grid {
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(17, 53, 117, .10);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 52px rgba(15, 48, 105, .08);
}

.kmy-el-service-card,
.kmy-el-flow-card {
    position: relative;
    min-height: 220px;
    padding: 28px 24px;
    border: 1px solid rgba(17, 53, 117, .12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(15, 48, 105, .07);
}

.kmy-el-service-card {
    min-height: 270px;
    border-width: 0 1px 0 0;
    border-radius: 0;
    box-shadow: none;
}

.kmy-el-service-card:last-child {
    border-right: 0;
}

.kmy-el-service-card::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    height: 3px;
    background: linear-gradient(90deg, #ff5f73 0 48%, transparent 48% 58%, #ff5f73 58% 100%);
    opacity: .9;
}

.kmy-el-service-card:first-child,
.kmy-el-flow-card:first-child {
    background: #113575;
    color: #fff;
}

.kmy-el-service-card:first-child .elementor-widget-heading .elementor-heading-title,
.kmy-el-service-card:first-child .elementor-widget-text-editor,
.kmy-el-flow-card:first-child .elementor-widget-heading .elementor-heading-title,
.kmy-el-flow-card:first-child .elementor-widget-text-editor {
    color: #fff;
}

.kmy-el-service-number {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ff5f73;
    color: #fff;
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 22px;
    font-weight: 700;
}

.kmy-el-service-card .elementor-widget-heading .elementor-heading-title,
.kmy-el-flow-card .elementor-widget-heading .elementor-heading-title {
    color: #113575;
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 21px;
    line-height: 1.35;
}

.kmy-el-service-card .elementor-widget-text-editor {
    line-height: 1.85;
}

.kmy-el-message {
    padding: 96px max(24px, 5vw);
    background: #fff0f2;
}

.kmy-el-message-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, .55fr) minmax(0, .85fr) minmax(280px, .7fr);
    gap: 36px;
    align-items: center;
}

.kmy-el-message-title {
    color: #113575;
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: clamp(34px, 3.6vw, 48px);
    font-weight: 700;
    line-height: 1.34;
}

.kmy-el-message-visual img {
    width: 100%;
    min-height: 340px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    box-shadow: 0 18px 52px rgba(15, 48, 105, .12);
}

.kmy-el-planning {
    background: #f7fbff;
}

.kmy-el-flow-grid {
    position: relative;
}

.kmy-el-flow-grid::before {
    content: "";
    position: absolute;
    left: 7%;
    right: 7%;
    top: 55px;
    border-top: 2px dashed rgba(17, 53, 117, .24);
}

.kmy-el-flow-card {
    z-index: 1;
}

.kmy-el-price .kmy-price-panel,
.kmy-el-contact .kmy-contact-panel,
.kmy-el-section .kmy-profile-card,
.kmy-el-section .kmy-school-photo-card {
    border-radius: 8px;
}

.kmy-el-footer {
    padding: 58px max(24px, 5vw) 96px;
    background: #0f3069;
    color: #fff;
}

.kmy-el-footer-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
    gap: 32px;
}

.kmy-el-footer,
.kmy-el-footer .elementor-widget-container,
.kmy-el-footer a {
    color: #fff;
}

.kmy-el-footer-title {
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
}

.kmy-el-topbar-inner,
.kmy-el-header-inner,
.kmy-el-hero-actions,
.kmy-el-floating-nav,
.kmy-el-expert-card-inner,
.kmy-el-letter-inner,
.kmy-el-split,
.kmy-el-service-grid,
.kmy-el-flow-grid,
.kmy-el-message-inner,
.kmy-el-voice-grid,
.kmy-el-footer-inner {
    display: block;
}

@media (max-width: 1024px) {
    .kmy-el-header-inner,
    .kmy-el-hero-shell,
    .kmy-el-split,
    .kmy-el-message-inner,
    .kmy-el-footer-inner {
        grid-template-columns: 1fr;
    }

    .kmy-el-header-inner > .e-con-inner,
    .kmy-el-split > .e-con-inner,
    .kmy-el-message-inner > .e-con-inner,
    .kmy-el-footer-inner > .e-con-inner,
    .kmy-el-letter-inner > .e-con-inner,
    .kmy-el-expert-card-inner > .e-con-inner {
        grid-template-columns: 1fr;
    }

    .kmy-el-header-inner {
        padding: 14px 0;
    }

    .kmy-el-nav {
        justify-content: flex-start;
    }

    .kmy-el-nav > .e-con-inner {
        justify-content: flex-start;
    }

    .kmy-el-hero-shell {
        min-height: 720px;
    }

    .kmy-el-hero-copy {
        left: 24px;
        width: min(560px, calc(100vw - 48px));
    }

    .kmy-el-hero-visual {
        min-height: 720px;
    }

    .kmy-el-school-card {
        right: 24px;
        bottom: 24px;
    }

    .kmy-el-service-grid,
    .kmy-el-flow-grid,
    .kmy-el-voice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kmy-el-service-grid > .e-con-inner,
    .kmy-el-flow-grid > .e-con-inner,
    .kmy-el-voice-grid > .e-con-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kmy-el-flow-grid::before {
        display: none;
    }

    .kmy-el-letter-inner,
    .kmy-el-expert-card-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .kmy-el-topbar,
    .kmy-el-header,
    .kmy-el-hero,
    .kmy-el-section,
    .kmy-el-message,
    .kmy-el-price,
    .kmy-el-contact,
    .kmy-el-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .kmy-el-hero-shell {
        min-height: 680px;
    }

    .kmy-el-hero-copy {
        left: 16px;
        right: 16px;
        top: auto;
        bottom: 110px;
        width: auto;
        margin: 0;
        padding: 26px 24px;
        transform: none;
    }

    .kmy-el-hero-title {
        font-size: 37px;
    }

    .kmy-el-hero-visual {
        min-height: 680px;
    }

    .kmy-el-school-card {
        display: none;
    }

    .kmy-el-floating-nav {
        top: 0;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .kmy-el-floating-nav .elementor-button {
        white-space: nowrap;
    }

    .kmy-el-section,
    .kmy-el-message,
    .kmy-el-price,
    .kmy-el-contact {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .kmy-el-service-grid,
    .kmy-el-flow-grid,
    .kmy-el-voice-grid {
        grid-template-columns: 1fr;
    }

    .kmy-el-service-grid > .e-con-inner,
    .kmy-el-flow-grid > .e-con-inner,
    .kmy-el-voice-grid > .e-con-inner {
        grid-template-columns: 1fr;
    }

    .kmy-el-letter {
        padding: 72px 16px;
    }

    .kmy-el-letter-inner {
        gap: 28px;
    }

    .kmy-el-letter-inner > .e-con-inner {
        gap: 28px;
    }

    .kmy-el-photo-card img,
    .kmy-el-message-visual img {
        min-height: 300px;
    }
}

.kmy-topbar {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 48px;
    background: var(--kmy-navy);
    color: #fff;
    font-size: 14px;
}

.kmy-topbar div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.kmy-topbar a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.kmy-site-header {
    min-height: 82px;
    display: grid;
    grid-template-columns: minmax(180px, 280px) 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 14px 48px;
    background: #fff;
    border-bottom: 1px solid var(--kmy-line);
    position: sticky;
    top: 0;
    z-index: 20;
}

.kmy-brand {
    display: inline-flex;
    align-items: center;
    color: var(--kmy-blue);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 25px;
    font-weight: 700;
    text-decoration: none;
}

.kmy-brand img {
    width: min(230px, 100%);
    height: auto;
    display: block;
}

.kmy-division-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.kmy-division-nav a {
    color: var(--kmy-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.kmy-division-nav a.is-current {
    color: var(--kmy-pink-deep);
}

.kmy-header-cta,
.kmy-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border: 0;
    border-radius: 8px;
    background: var(--kmy-pink);
    color: #fff;
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
}

.kmy-header-cta:hover,
.kmy-button-primary:hover {
    background: var(--kmy-pink-deep);
    color: #fff;
}

.kmy-public .kmy-header-cta,
.kmy-public .kmy-button-primary,
.kmy-public .kmy-floating-nav a.is-cta {
    color: #fff;
}

.kmy-button-secondary {
    background: #fff;
    color: var(--kmy-pink-deep);
    border: 1px solid rgba(255, 101, 117, .45);
}

.kmy-floating-nav {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 48;
    width: min(760px, calc(100vw - 220px));
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 7px 8px;
    border: 1px solid rgba(15, 48, 105, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 46px rgba(15, 48, 105, .18);
    transform: translateX(-50%);
    backdrop-filter: blur(14px);
}

.kmy-floating-nav a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--kmy-blue);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.kmy-floating-nav a.is-cta {
    flex: 0 0 auto;
    padding: 8px 22px;
    background: var(--kmy-pink);
    color: #fff;
}

.kmy-hero {
    position: relative;
    padding: 72px 28px 96px;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 8%, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0) 34%),
        linear-gradient(135deg, #f4f8fc 0%, #eaf1f8 48%, #dfeaf5 100%);
}

.kmy-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--kmy-pattern-image);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 58% auto;
    opacity: .18;
    pointer-events: none;
}

.kmy-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.kmy-hero-inner {
    width: min(1240px, 100%);
    min-height: 690px;
    position: relative;
    z-index: 1;
    isolation: isolate;
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: clamp(34px, 5.5vw, 76px);
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 48, 105, .24);
}

.kmy-hero-panel,
.kmy-hero-card,
.kmy-hero-visual {
    position: relative;
}

.kmy-hero-panel {
    max-width: 560px;
    padding: 44px 42px;
    border-radius: 8px;
    z-index: 2;
    background: linear-gradient(135deg, rgba(15, 48, 105, .92), rgba(22, 74, 111, .82));
    color: #fff;
    box-shadow: 0 24px 70px rgba(15, 48, 105, .26);
    backdrop-filter: blur(2px);
}

.kmy-kicker,
.kmy-section-head p {
    margin: 0 0 8px;
    color: var(--kmy-pink);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.kmy-hero h1,
.kmy-section-head h2,
.kmy-message-band h2 {
    margin: 0;
    color: var(--kmy-blue);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.22;
}

.kmy-hero h1 {
    color: #fff;
    font-size: 52px;
    line-height: 1.28;
}

.kmy-lead {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .94);
    font-size: 16px;
}

.kmy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.kmy-hero-visual {
    position: absolute;
    inset: 0;
    min-height: 100%;
    border-radius: inherit;
    z-index: 0;
}

.kmy-hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, 0) 34%);
    pointer-events: none;
}

.kmy-hero-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
    box-shadow: none;
}

.kmy-hero-card {
    width: min(360px, calc(100% - 48px));
    position: absolute;
    right: clamp(24px, 4vw, 56px);
    bottom: clamp(24px, 4vw, 56px);
    z-index: 2;
    padding: 24px 26px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 46px rgba(15, 48, 105, .22);
}

.kmy-hero-card p,
.kmy-hero-card span {
    margin: 0;
    color: var(--kmy-pink-deep);
    font-weight: 700;
}

.kmy-hero-card h2 {
    margin: 8px 0 10px;
    color: var(--kmy-blue);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 28px;
    line-height: 1.3;
}

.kmy-section {
    max-width: 1140px;
    margin: 0 auto;
    padding: 104px 28px;
}

.kmy-section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.kmy-section-head h2 {
    font-size: 38px;
}

.kmy-section-head i {
    width: 15%;
    min-width: 72px;
    max-width: 130px;
    display: block;
    margin: 16px 0 14px;
    border-top: 4px double var(--kmy-pink);
}

.kmy-section-head span {
    display: block;
    margin-top: 0;
    color: var(--kmy-text);
}

.kmy-intro,
.kmy-planning {
    position: relative;
    isolation: isolate;
}

.kmy-intro::before,
.kmy-planning::before {
    content: "";
    position: absolute;
    inset: 0 50%;
    width: 100vw;
    margin-left: -50vw;
    background-color: #f7f8fb;
    background-image: var(--kmy-section-bg-image);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 35% auto;
    z-index: -1;
}

.kmy-intro-copy {
    max-width: 760px;
    margin: 0;
}

.kmy-intro-layout {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(340px, .8fr);
    gap: 42px;
    align-items: center;
    margin: -10px 0 38px;
}

.kmy-intro-visual {
    position: relative;
    min-height: 340px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 52px rgba(15, 48, 105, .13);
}

.kmy-intro-visual img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    display: block;
    object-fit: cover;
}

.kmy-intro-visual figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    color: var(--kmy-blue);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-weight: 700;
}

.kmy-intro-copy p,
.kmy-program-body p,
.kmy-planning-detail p,
.kmy-online-copy > p,
.kmy-instructor-message p {
    margin: 0 0 14px;
}

.kmy-intro-copy p:last-child,
.kmy-program-body p:last-child,
.kmy-planning-detail p:last-child,
.kmy-online-copy > p:last-child,
.kmy-instructor-message p:last-child {
    margin-bottom: 0;
}

.kmy-service-grid,
.kmy-value-grid,
.kmy-template-items,
.kmy-infographic-flow,
.kmy-support-grid,
.kmy-concern-grid,
.kmy-process-grid,
.kmy-feature-grid,
.kmy-news-list,
.kmy-faq-grid,
.kmy-step-grid {
    display: grid;
    gap: 18px;
}

.kmy-values,
.kmy-concerns,
.kmy-faq {
    max-width: 1180px;
}

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

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

.kmy-infographic-flow,
.kmy-template-items {
    position: relative;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.kmy-infographic-flow::before,
.kmy-template-items::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 45px;
    border-top: 2px dashed rgba(17, 53, 117, .24);
}

.kmy-infographic-flow article,
.kmy-template-items article {
    position: relative;
    z-index: 1;
    min-height: 255px;
    padding: 28px 24px;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 20px;
    border: 1px solid var(--kmy-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15, 48, 105, .08);
}

.kmy-infographic-flow article::after,
.kmy-template-items article::after {
    content: "";
    position: absolute;
    right: -14px;
    top: 36px;
    width: 28px;
    height: 28px;
    border-top: 2px solid rgba(17, 53, 117, .28);
    border-right: 2px solid rgba(17, 53, 117, .28);
    transform: rotate(45deg);
    background: #fff;
}

.kmy-infographic-flow article:last-child::after,
.kmy-template-items article:last-child::after {
    display: none;
}

.kmy-infographic-flow span,
.kmy-template-items span {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--kmy-blue);
    color: #fff;
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 22px;
    font-weight: 700;
}

.kmy-infographic-flow h3,
.kmy-template-items h3 {
    margin: 0 0 10px;
    color: var(--kmy-blue);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 22px;
    line-height: 1.34;
}

.kmy-infographic-flow p,
.kmy-template-items p {
    margin: 0;
}

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

.kmy-process-grid,
.kmy-step-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kmy-feature-grid,
.kmy-news-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kmy-service-grid article,
.kmy-value-grid article,
.kmy-support-grid article,
.kmy-concern-grid article,
.kmy-process-grid article,
.kmy-feature-grid article,
.kmy-news-list article,
.kmy-faq-grid article,
.kmy-step-grid article {
    min-height: 170px;
    padding: 28px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--kmy-line);
    box-shadow: 0 14px 36px rgba(15, 48, 105, .07);
}

.kmy-service-grid article:nth-child(1),
.kmy-process-grid article:nth-child(1) {
    background: var(--kmy-blue);
    color: #fff;
}

.kmy-service-grid article:nth-child(1) h3,
.kmy-process-grid article:nth-child(1) h3,
.kmy-service-grid article:nth-child(1) span,
.kmy-process-grid article:nth-child(1) span {
    color: #fff;
}

.kmy-service-grid span,
.kmy-process-grid span {
    display: block;
    color: var(--kmy-pink);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-weight: 700;
}

.kmy-service-grid h3,
.kmy-support-grid h3,
.kmy-process-grid h3,
.kmy-feature-grid h3,
.kmy-news-list h3,
.kmy-step-grid h3 {
    margin: 10px 0 10px;
    color: var(--kmy-blue);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 20px;
    line-height: 1.32;
}

.kmy-service-grid p,
.kmy-value-grid p,
.kmy-support-grid p,
.kmy-concern-grid p,
.kmy-process-grid p,
.kmy-feature-grid p,
.kmy-news-list p,
.kmy-faq-grid p,
.kmy-step-grid p {
    margin: 0;
}

.kmy-value-grid article {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    background: #fff;
}

.kmy-value-grid article::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -70px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: var(--kmy-blush);
    opacity: .78;
}

.kmy-value-grid article > * {
    position: relative;
    z-index: 1;
}

.kmy-value-grid span {
    color: var(--kmy-pink);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 28px;
    font-weight: 700;
}

.kmy-value-grid h3,
.kmy-concern-grid h3,
.kmy-faq-grid h3 {
    margin: 12px 0 10px;
    color: var(--kmy-blue);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 22px;
    line-height: 1.34;
}

.kmy-concerns {
    position: relative;
}

.kmy-concern-grid article {
    min-height: 190px;
    border-left: 5px solid var(--kmy-pink);
    background: linear-gradient(90deg, rgba(255, 238, 240, .64), #fff 52%);
}

.kmy-faq-grid article {
    min-height: 150px;
    padding-left: 72px;
    position: relative;
}

.kmy-faq-grid article::before {
    content: "Q";
    position: absolute;
    left: 26px;
    top: 28px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--kmy-blue);
    color: #fff;
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-weight: 700;
}

.kmy-support-section,
.kmy-strategy,
.kmy-classroom-grid,
.kmy-planning-detail,
.kmy-instructor-message {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.kmy-support-section {
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
    gap: 56px;
    align-items: center;
}

.kmy-support-grid {
    grid-template-columns: 1fr;
    gap: 22px;
}

.kmy-support-grid span {
    color: var(--kmy-pink-deep);
    font-weight: 700;
}

.kmy-support-card {
    min-height: 250px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 38%);
    gap: 0;
    overflow: hidden;
    padding: 0 !important;
    border: 0 !important;
    background: #fff;
    color: #fff;
    box-shadow: 0 18px 50px rgba(15, 48, 105, .13);
}

.kmy-support-card > div {
    min-width: 0;
    padding: 34px 34px 32px;
    background:
        linear-gradient(135deg, rgba(17, 53, 117, .96), rgba(45, 92, 114, .9)),
        var(--kmy-pattern-image);
    background-position: center, center;
    background-size: cover, cover;
}

.kmy-support-card span,
.kmy-support-card h3,
.kmy-support-card p {
    color: #fff;
}

.kmy-support-card h3 {
    font-size: 27px;
}

.kmy-support-card figure {
    margin: 0;
    min-height: 250px;
    height: 100%;
}

.kmy-support-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.kmy-message-band {
    padding: 96px max(28px, 7vw);
    background: #f6f9fd;
    background-image: var(--kmy-section-bg-image);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 35% auto;
}

.kmy-message-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, .62fr) minmax(0, .9fr) minmax(280px, .72fr);
    gap: 38px;
    align-items: center;
}

.kmy-message-band h2 {
    font-size: 42px;
}

.kmy-message-inner > p {
    margin: 0;
    color: var(--kmy-ink);
    font-size: 18px;
}

.kmy-message-visual {
    min-height: 320px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 52px rgba(15, 48, 105, .12);
}

.kmy-message-visual img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.kmy-program-body {
    margin-top: 24px;
    padding: 26px;
    border-radius: 8px;
    background: var(--kmy-soft);
    border: 1px solid var(--kmy-line);
}

.kmy-program-body p {
    margin: 0;
}

.kmy-program-body p + p {
    margin-top: 14px;
}

.kmy-planning-detail {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin: 10px 0 34px;
}

.kmy-planning-detail h3 {
    margin: 0 0 16px;
    color: var(--kmy-blue);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 32px;
    line-height: 1.28;
}

.kmy-image-frame {
    margin: 0;
    min-height: 420px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--kmy-soft);
    box-shadow: 0 16px 42px rgba(15, 48, 105, .12);
}

.kmy-image-frame img,
.kmy-feature-grid img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.kmy-image-frame div {
    min-height: 420px;
    display: grid;
    place-items: center;
    color: var(--kmy-blue);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 28px;
    font-weight: 700;
}

.kmy-online {
    max-width: 1180px;
}

.kmy-online-copy {
    max-width: 840px;
    margin-bottom: 34px;
}

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

.kmy-photo-card {
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--kmy-line);
    box-shadow: 0 14px 36px rgba(15, 48, 105, .07);
}

.kmy-photo-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.kmy-photo-card div {
    padding: 24px;
}

.kmy-photo-card h3 {
    margin: 0 0 10px;
    color: var(--kmy-blue);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 22px;
    line-height: 1.32;
}

.kmy-photo-card p {
    margin: 0;
}

.kmy-instructor-message {
    max-width: 1180px;
    align-items: center;
    padding-top: 40px;
}

.kmy-instructor-message h2 {
    margin: 0 0 20px;
    color: var(--kmy-blue);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 38px;
    line-height: 1.32;
}

.kmy-profiles,
.kmy-school-photos {
    max-width: 1180px;
}

.kmy-profile-layout {
    display: grid;
    gap: 18px;
}

.kmy-profile-grid,
.kmy-school-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.kmy-profile-card,
.kmy-school-photo-card {
    overflow: hidden;
    border: 1px solid var(--kmy-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(15, 48, 105, .07);
}

.kmy-profile-card {
    display: grid;
    grid-template-rows: auto 1fr;
}

.kmy-profile-card.is-representative {
    grid-template-columns: minmax(260px, .78fr) minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: stretch;
    background: linear-gradient(135deg, #fff, #f7fbff);
}

.kmy-profile-card figure {
    margin: 0;
    min-height: 260px;
    background: var(--kmy-soft);
}

.kmy-profile-card img,
.kmy-school-photo-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.kmy-profile-card:not(.is-representative) figure {
    aspect-ratio: 4 / 3;
}

.kmy-profile-card > div,
.kmy-school-photo-card > div {
    padding: 24px;
}

.kmy-profile-card p {
    margin: 0 0 6px;
    color: var(--kmy-pink-deep);
    font-size: 14px;
    font-weight: 700;
}

.kmy-profile-card h3,
.kmy-school-photo-card h3 {
    margin: 0 0 10px;
    color: var(--kmy-blue);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 23px;
    line-height: 1.32;
}

.kmy-profile-card span,
.kmy-school-photo-card p {
    display: block;
    margin: 0;
}

.kmy-school-photo-card img {
    aspect-ratio: 16 / 10;
    height: auto;
}

.kmy-feature-grid img {
    aspect-ratio: 16 / 10;
    height: auto;
    margin: -28px -28px 20px;
    width: calc(100% + 56px);
}

.kmy-price {
    max-width: 1080px;
}

.kmy-price-trust {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
    gap: 28px;
    align-items: stretch;
    margin: 0 0 28px;
}

.kmy-price-trust.is-fallback {
    grid-template-columns: 1fr;
}

.kmy-price-trust-copy {
    padding: 30px 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(15, 48, 105, .96), rgba(31, 94, 134, .9));
    color: #fff;
    box-shadow: 0 18px 50px rgba(15, 48, 105, .14);
}

.kmy-price-trust-copy .kmy-kicker {
    color: #fff;
    opacity: .86;
}

.kmy-price-trust-copy h3 {
    margin: 0 0 14px;
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 30px;
    line-height: 1.35;
}

.kmy-price-trust-copy p:last-child {
    margin-bottom: 0;
}

.kmy-price-checks {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kmy-price-checks li {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid rgba(15, 48, 105, .12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 48, 105, .06);
}

.kmy-price-checks strong {
    color: var(--kmy-blue);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 18px;
    line-height: 1.35;
}

.kmy-price-checks span {
    color: var(--kmy-ink);
    font-size: 15px;
    line-height: 1.65;
}

.kmy-price-panel {
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--kmy-line);
    box-shadow: 0 18px 50px rgba(15, 48, 105, .08);
    overflow: hidden;
}

.kmy-price-row {
    display: grid;
    grid-template-columns: minmax(180px, .5fr) 1fr;
    gap: 22px;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(15, 48, 105, .1);
}

.kmy-price-row:last-child {
    border-bottom: 0;
}

.kmy-price-row span {
    color: var(--kmy-blue);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 21px;
    font-weight: 700;
}

.kmy-price-row strong {
    color: var(--kmy-pink-deep);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 23px;
}

.kmy-price-row p {
    grid-column: 2;
    margin: 2px 0 0;
}

.kmy-price-notes,
.kmy-empty {
    padding: 24px 28px;
    background: var(--kmy-soft);
}

.kmy-price-notes p,
.kmy-empty {
    margin: 0 0 8px;
}

.kmy-price-notes p:last-child {
    margin-bottom: 0;
}

.kmy-closing-band {
    max-width: 1080px;
    margin: 0 auto 92px;
    padding: 42px 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--kmy-blue), #1f5e86);
    color: #fff;
    box-shadow: 0 18px 50px rgba(15, 48, 105, .14);
}

.kmy-closing-band h2 {
    margin: 0 0 10px;
    color: #fff;
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 34px;
    line-height: 1.3;
}

.kmy-closing-band p {
    margin: 0 0 22px;
}

.kmy-news-list time {
    color: var(--kmy-pink-deep);
    font-weight: 700;
}

.kmy-step-grid article {
    position: relative;
    padding-top: 36px;
}

.kmy-planning-flow {
    position: relative;
    gap: 16px;
}

.kmy-planning-flow::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 56px;
    border-top: 3px solid rgba(17, 53, 117, .16);
}

.kmy-planning-flow article {
    position: relative;
    z-index: 1;
    min-height: 210px;
    padding-top: 34px;
}

.kmy-planning-flow article::after {
    content: "";
    position: absolute;
    right: -13px;
    top: 46px;
    width: 24px;
    height: 24px;
    border-top: 3px solid rgba(17, 53, 117, .2);
    border-right: 3px solid rgba(17, 53, 117, .2);
    transform: rotate(45deg);
}

.kmy-planning-flow article:last-child::after {
    display: none;
}

.kmy-step-grid strong {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--kmy-pink);
    color: #fff;
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 28px;
}

.kmy-classroom-card,
.kmy-contact-panel {
    padding: 32px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--kmy-line);
    box-shadow: 0 16px 42px rgba(15, 48, 105, .08);
}

.kmy-classroom-card h3,
.kmy-contact-panel h2 {
    margin: 0 0 20px;
    color: var(--kmy-blue);
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 30px;
    line-height: 1.3;
}

.kmy-classroom-card dl {
    margin: 0;
}

.kmy-classroom-card dl div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(15, 48, 105, .1);
}

.kmy-classroom-card dt {
    color: var(--kmy-blue);
    font-weight: 700;
}

.kmy-classroom-card dd {
    margin: 0;
}

.kmy-classroom-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.kmy-text-link {
    color: var(--kmy-pink-deep);
    font-weight: 700;
}

.kmy-line-image {
    width: min(240px, 100%);
    height: auto;
    display: block;
    margin-top: 18px;
    border-radius: 8px;
}

.kmy-classroom-map {
    grid-column: 1 / -1;
    min-height: 380px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--kmy-line);
    box-shadow: 0 16px 42px rgba(15, 48, 105, .08);
}

.kmy-classroom-map iframe {
    width: 100%;
    height: 380px;
    display: block;
    border: 0;
}

.kmy-contact-panel > p {
    margin-top: 0;
}

.kmy-lead-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.kmy-lead-form label {
    display: grid;
    gap: 7px;
    color: var(--kmy-ink);
    font-weight: 700;
}

.kmy-lead-form input,
.kmy-lead-form textarea {
    width: 100%;
    min-height: 50px;
    border: 1px solid rgba(112, 112, 112, .2);
    border-radius: 8px;
    padding: 14px 18px;
    background: var(--kmy-soft);
    color: var(--kmy-text);
    font: inherit;
}

.kmy-lead-form textarea {
    resize: vertical;
}

.kmy-thanks {
    padding: 12px 14px;
    border-radius: 8px;
    background: #ecfdf3;
    color: #027a48;
    font-weight: 700;
}

.kmy-contact-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.kmy-contact-options p {
    flex-basis: 100%;
    margin: 0;
}

.kmy-site-footer {
    padding: 58px 48px 110px;
    background: var(--kmy-navy);
    color: #fff;
}

.kmy-footer-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.kmy-footer-brand {
    max-width: 760px;
    margin-bottom: 34px;
}

.kmy-footer-brand p {
    margin: 0 0 8px;
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 30px;
    font-weight: 700;
}

.kmy-footer-brand small {
    display: block;
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
}

.kmy-footer-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr;
    gap: 24px;
}

.kmy-footer-grid section {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
}

.kmy-footer-grid h2 {
    margin: 0 0 16px;
    color: #fff;
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 20px;
}

.kmy-footer-grid dl {
    margin: 0;
}

.kmy-footer-grid dl div {
    display: grid;
    grid-template-columns: 94px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.kmy-footer-grid dt {
    color: rgba(255, 255, 255, .68);
}

.kmy-footer-grid dd {
    margin: 0;
    color: #fff;
}

.kmy-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.kmy-footer-actions a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.kmy-footer-copy {
    margin: 28px 0 0;
    color: rgba(255, 255, 255, .66);
    font-size: 13px;
}

.kmy-chat-launcher {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 50;
    min-height: 48px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: var(--kmy-pink);
    color: #fff;
    font: inherit;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .22);
    cursor: pointer;
}

.kmy-chat-panel {
    position: fixed;
    right: 18px;
    bottom: 78px;
    z-index: 51;
    width: min(380px, calc(100vw - 36px));
    max-height: min(620px, calc(100vh - 110px));
    display: none;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--kmy-line);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .22);
}

.kmy-chat-panel.is-open {
    display: grid;
}

.kmy-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    background: var(--kmy-navy);
    color: #fff;
    font-weight: 700;
}

.kmy-chat-close {
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.kmy-chat-messages {
    display: grid;
    gap: 10px;
    overflow: auto;
    padding: 14px;
    background: #f8fafc;
}

.kmy-chat-message {
    max-width: 88%;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    white-space: pre-line;
}

.kmy-chat-message.is-user {
    justify-self: end;
    background: var(--kmy-blush);
    border-color: rgba(255, 101, 117, .24);
}

.kmy-chat-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--kmy-line);
}

.kmy-chat-form input {
    min-width: 0;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 9px 10px;
    font: inherit;
}

.kmy-chat-form button {
    border: 0;
    border-radius: 8px;
    padding: 8px 12px;
    background: var(--kmy-pink);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .kmy-topbar,
    .kmy-site-header {
        padding-left: 24px;
        padding-right: 24px;
    }

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

    .kmy-division-nav {
        justify-content: flex-start;
    }

    .kmy-floating-nav {
        width: min(720px, calc(100vw - 48px));
    }

    .kmy-hero {
        padding: 64px 24px 76px;
    }

    .kmy-hero-inner {
        min-height: 620px;
        padding: 38px;
    }

    .kmy-hero h1 {
        font-size: 46px;
    }

    .kmy-hero-panel {
        max-width: 560px;
    }

    .kmy-hero-visual,
    .kmy-hero-visual img {
        min-height: 100%;
        height: 100%;
    }

    .kmy-service-grid,
    .kmy-value-grid,
    .kmy-template-items,
    .kmy-infographic-flow,
    .kmy-process-grid,
    .kmy-step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kmy-intro-layout,
    .kmy-footer-grid {
        grid-template-columns: 1fr;
    }

    .kmy-concern-grid,
    .kmy-faq-grid {
        grid-template-columns: 1fr;
    }

    .kmy-support-section,
    .kmy-strategy,
    .kmy-classroom-grid,
    .kmy-message-inner,
    .kmy-planning-detail,
    .kmy-instructor-message,
    .kmy-profile-card.is-representative {
        grid-template-columns: 1fr;
    }

    .kmy-infographic-flow::before,
    .kmy-template-items::before,
    .kmy-infographic-flow article::after,
    .kmy-template-items article::after,
    .kmy-planning-flow::before,
    .kmy-planning-flow article::after {
        display: none;
    }

    .kmy-support-card {
        grid-template-columns: minmax(0, 1fr) minmax(190px, 34%);
    }

    .kmy-support-card figure {
        min-height: 260px;
    }

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

@media (max-width: 760px) {
    .kmy-public {
        font-size: 15px;
    }

    .kmy-topbar {
        display: grid;
        gap: 6px;
        padding: 10px 16px;
    }

    .kmy-site-header {
        padding: 14px 16px;
    }

    .kmy-header-cta {
        width: 100%;
    }

    .kmy-floating-nav {
        left: 12px;
        right: 12px;
        bottom: 10px;
        width: auto;
        gap: 2px;
        transform: none;
        border-radius: 18px;
    }

    .kmy-floating-nav a {
        min-height: 38px;
        padding: 7px 4px;
        font-size: 12px;
        white-space: nowrap;
    }

    .kmy-floating-nav a.is-cta {
        padding: 7px 14px;
    }

    .kmy-hero {
        min-height: auto;
        padding: 42px 16px 56px;
    }

    .kmy-hero-inner {
        min-height: 650px;
        align-items: flex-end;
        padding: 18px;
    }

    .kmy-hero-panel {
        padding: 24px;
        width: 100%;
        max-width: none;
    }

    .kmy-hero h1 {
        font-size: 38px;
    }

    .kmy-hero-visual,
    .kmy-hero-visual img {
        min-height: 100%;
        height: 100%;
    }

    .kmy-hero-visual img {
        object-position: 58% center;
    }

    .kmy-hero-card {
        display: none;
    }

    .kmy-section {
        padding: 72px 16px;
    }

    .kmy-section-head h2,
    .kmy-message-band h2 {
        font-size: 31px;
    }

    .kmy-service-grid,
    .kmy-value-grid,
    .kmy-template-items,
    .kmy-infographic-flow,
    .kmy-support-grid,
    .kmy-concern-grid,
    .kmy-process-grid,
    .kmy-profile-grid,
    .kmy-school-photo-grid,
    .kmy-feature-grid,
    .kmy-news-list,
    .kmy-faq-grid,
    .kmy-step-grid,
    .kmy-online-grid {
        grid-template-columns: 1fr;
    }

    .kmy-intro-layout,
    .kmy-footer-grid {
        grid-template-columns: 1fr;
    }

    .kmy-price-row,
    .kmy-classroom-card dl div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

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

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

    .kmy-price-trust-copy {
        padding: 28px 24px;
    }

    .kmy-price-trust-copy h3 {
        font-size: 25px;
    }

    .kmy-price-checks li {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 18px;
    }

    .kmy-support-card > div {
        padding: 28px 24px;
    }

    .kmy-message-band {
        padding: 72px 16px;
    }

    .kmy-price-row p {
        grid-column: auto;
    }

    .kmy-site-footer {
        display: grid;
        padding: 44px 16px 104px;
    }

    .kmy-footer-grid dl div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .kmy-classroom-map,
    .kmy-classroom-map iframe {
        min-height: 300px;
        height: 300px;
    }

    .kmy-closing-band {
        margin: 0 16px 72px;
        padding: 30px 24px;
    }

    .kmy-closing-band h2,
    .kmy-instructor-message h2,
    .kmy-planning-detail h3 {
        font-size: 29px;
    }

    .kmy-chat-launcher {
        bottom: 82px;
    }

    .kmy-chat-panel {
        bottom: 142px;
    }
}

/* ═══════════════════════════════════════════════════════════
   PHP Template: Impact（インパクト型）
   ═══════════════════════════════════════════════════════════ */
.kmy-public-php-impact {
    --kmy-impact-bg: #0b172a;
    --kmy-impact-surface: #0f1e35;
    --kmy-impact-border: #1e3a5f;
    --kmy-impact-muted: #8ba6c8;
    background: #f5f8fc;
}

.kmy-impact-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    background: var(--kmy-impact-bg);
    color: #fff;
    overflow: hidden;
}

.kmy-impact-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 64px 48px;
}

.kmy-impact-hero-visual {
    position: relative;
    overflow: hidden;
}

.kmy-impact-hero-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .7;
}

.kmy-impact-kicker {
    margin: 0;
    color: var(--kmy-accent, #e84a5f);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.kmy-impact-title {
    margin: 0;
    color: #fff;
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: clamp(26px, 3.2vw, 46px);
    font-weight: 700;
    line-height: 1.35;
}

.kmy-impact-lead {
    margin: 0;
    color: var(--kmy-impact-muted);
    font-size: 15px;
    line-height: 1.7;
    max-width: 440px;
}

.kmy-impact-section {
    padding: 72px 0;
}

.kmy-impact-section-inner {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
}

.kmy-impact-section-head {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kmy-impact-eyebrow {
    color: var(--kmy-accent, #e84a5f);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.kmy-impact-heading {
    margin: 0;
    color: var(--kmy-primary, #12224a);
    font-size: clamp(22px, 2.4vw, 34px);
    font-weight: 700;
    line-height: 1.3;
    border-left: 4px solid var(--kmy-accent, #e84a5f);
    padding-left: 16px;
}

.kmy-impact-about {
    background: #fff;
}

.kmy-impact-about .kmy-impact-section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.kmy-impact-about-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kmy-impact-about-copy p {
    color: #4a5568;
    line-height: 1.8;
}

.kmy-impact-service-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.kmy-impact-service-cards article {
    padding: 18px 16px;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: #f8fbff;
}

.kmy-impact-service-cards article span {
    display: block;
    color: var(--kmy-accent, #e84a5f);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    margin-bottom: 6px;
}

.kmy-impact-service-cards article h3 {
    margin: 0 0 6px;
    color: var(--kmy-primary, #12224a);
    font-size: 14px;
    font-weight: 800;
}

.kmy-impact-service-cards article p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.kmy-impact-features {
    background: var(--kmy-impact-bg);
}

.kmy-impact-features .kmy-impact-heading {
    color: #fff;
    border-color: var(--kmy-accent, #e84a5f);
}

.kmy-impact-features .kmy-impact-eyebrow {
    color: var(--kmy-accent, #e84a5f);
}

.kmy-impact-feature-list {
    display: grid;
    gap: 0;
}

.kmy-impact-feature-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;
    align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid var(--kmy-impact-border);
}

.kmy-impact-feature-item:last-child {
    border-bottom: none;
}

.kmy-impact-num {
    font-family: var(--kmy-font-heading, "Zen Old Mincho", serif);
    font-size: 38px;
    font-weight: 700;
    color: var(--kmy-accent, #e84a5f);
    line-height: 1;
    padding-top: 4px;
}

.kmy-impact-feature-item h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.kmy-impact-feature-item p {
    margin: 0;
    color: var(--kmy-impact-muted);
    line-height: 1.7;
}

.kmy-impact-feature-item img {
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.kmy-impact-price {
    background: #fff;
}

.kmy-impact-flow {
    background: #f5f8fc;
}

.kmy-impact-classroom {
    background: #fff;
}

@media (max-width: 860px) {
    .kmy-impact-hero {
        grid-template-columns: 1fr;
    }

    .kmy-impact-hero-visual {
        height: 240px;
    }

    .kmy-impact-hero-content {
        padding: 44px 24px;
    }

    .kmy-impact-about .kmy-impact-section-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .kmy-impact-service-cards {
        grid-template-columns: 1fr;
    }

    .kmy-impact-section {
        padding: 48px 0;
    }
}

/* Impact: 画像強化セクション（Point 分割 / ギャラリー / 声） */
.kmy-impact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.kmy-impact-split-media {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(15, 23, 42, .16);
    aspect-ratio: 4 / 3;
}

.kmy-impact-split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kmy-impact-split-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.kmy-impact-split-copy p {
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.9;
}

.kmy-impact-pickup {
    background: #fff;
}

/* 画像分割の左右反転（画像を右に） */
.kmy-impact-split--reverse .kmy-impact-split-media {
    order: 2;
}

/* 目的別バナー（夏期講習・キャンペーン等） */
.kmy-purpose-bar {
    background: var(--kmy-pb-accent, #e8a13a);
    color: #fff;
    position: relative;
    z-index: 30;
}

.kmy-purpose-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 11px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 14px;
}

.kmy-purpose-bar-icon {
    font-size: 18px;
    line-height: 1;
}

.kmy-purpose-bar-head {
    font-weight: 800;
    letter-spacing: .02em;
}

.kmy-purpose-bar-period,
.kmy-purpose-bar-offer {
    font-size: 12.5px;
    background: rgba(255, 255, 255, .22);
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 700;
}

.kmy-purpose-bar-cta {
    margin-left: 6px;
    background: #fff;
    color: #1e293b;
    padding: 7px 18px;
    border-radius: 22px;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
}

.kmy-purpose-bar-cta:hover {
    opacity: .9;
}

@media (max-width: 600px) {
    .kmy-purpose-bar-inner {
        gap: 8px;
        font-size: 13px;
    }
}

/* ブランドステートメント（写真背景＋洗練見出し） */
.kmy-impact-brand {
    position: relative;
    color: #fff;
    text-align: center;
    background: var(--kmy-primary, #12224a);
    overflow: hidden;
}

.kmy-impact-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--kmy-brand-bg, none);
    background-size: cover;
    background-position: center;
    opacity: .26;
}

.kmy-impact-brand::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,23,42,.55), rgba(11,23,42,.78));
}

.kmy-impact-brand-inner {
    position: relative;
    z-index: 1;
    width: min(820px, calc(100% - 48px));
    margin: 0 auto;
}

.kmy-impact-brand-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--kmy-accent, #e84a5f);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
}

.kmy-impact-brand-eyebrow i {
    font-style: normal;
    font-weight: 600;
    letter-spacing: .28em;
    color: rgba(255, 255, 255, .65);
    font-size: 11px;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, .3);
}

.kmy-impact-brand-title {
    margin: 16px 0 18px;
    font-family: "Zen Old Mincho", "Noto Serif JP", serif;
    font-size: clamp(30px, 4.4vw, 52px);
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.kmy-impact-brand-inner p {
    margin: 0;
    color: #d7e2f4;
    font-size: 15px;
    line-height: 1.95;
}

/* 選ばれる理由（バンド） */
.kmy-impact-numbers {
    position: relative;
    color: #fff;
    background: var(--kmy-impact-bg, #0b172a);
    overflow: hidden;
}

.kmy-impact-numbers::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--kmy-band-bg, none);
    background-size: cover;
    background-position: center;
    opacity: .14;
}

.kmy-impact-numbers > .kmy-impact-section-inner {
    position: relative;
    z-index: 1;
}

.kmy-impact-numbers .kmy-impact-heading {
    color: #fff;
}

.kmy-impact-num-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.kmy-impact-num-item {
    text-align: center;
    padding: 28px 22px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
}

.kmy-impact-num-fig {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--kmy-accent, #e84a5f);
    font-family: "Zen Old Mincho", serif;
    font-size: 26px;
    font-weight: 700;
}

.kmy-impact-num-item strong {
    display: block;
    font-size: 17px;
    margin-bottom: 6px;
}

.kmy-impact-num-item p {
    margin: 0;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.8;
}

/* 6枚ギャラリー */
.kmy-impact-gallery-6 {
    grid-template-columns: repeat(3, 1fr);
}

/* FAQ */
.kmy-impact-faq {
    background: #fff;
}

.kmy-impact-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kmy-impact-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    overflow: hidden;
}

.kmy-impact-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 22px;
    font-weight: 700;
    color: var(--kmy-primary, #12224a);
    font-size: 15px;
    position: relative;
}

.kmy-impact-faq-item summary::-webkit-details-marker {
    display: none;
}

.kmy-impact-faq-item summary::after {
    content: "＋";
    position: absolute;
    right: 22px;
    color: var(--kmy-accent, #e84a5f);
    font-weight: 800;
}

.kmy-impact-faq-item[open] summary::after {
    content: "−";
}

.kmy-impact-faq-item p {
    margin: 0;
    padding: 0 22px 20px;
    color: #475569;
    font-size: 14px;
    line-height: 1.9;
}

@media (max-width: 860px) {
    .kmy-impact-num-grid {
        grid-template-columns: 1fr;
    }
    .kmy-impact-gallery-6 {
        grid-template-columns: 1fr 1fr;
    }
}

/* warm: 4ステップ（学習管理） */
.kmy-warm-steps {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 720px) {
    .kmy-warm-steps {
        grid-template-columns: 1fr 1fr;
    }
}

/* ギャラリー */
.kmy-impact-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.kmy-impact-gallery-item {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .1);
}

.kmy-impact-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.kmy-impact-gallery-item:hover img {
    transform: scale(1.06);
}

/* 保護者・生徒の声 */
.kmy-impact-voices {
    background: var(--kmy-impact-bg);
}

.kmy-impact-voices .kmy-impact-heading {
    color: #fff;
}

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

.kmy-voice-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 30px 24px;
    background: var(--kmy-impact-surface);
    border: 1px solid var(--kmy-impact-border);
    border-radius: 16px;
}

.kmy-voice-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--kmy-accent, #e84a5f);
}

.kmy-voice-card blockquote {
    margin: 0;
    color: #e2e8f0;
    font-size: 14.5px;
    line-height: 1.85;
}

.kmy-voice-card cite {
    color: var(--kmy-impact-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .04em;
}

.kmy-voice-note {
    margin: 24px 0 0;
    color: var(--kmy-impact-muted);
    font-size: 11px;
    text-align: center;
}

@media (max-width: 860px) {
    .kmy-impact-split {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

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

/* ═══════════════════════════════════════════════════════════
   初等部（京大M予備！初等部）専用セクション
   ═══════════════════════════════════════════════════════════ */
.kmy-impact-section-desc {
    margin: 6px 0 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.8;
    max-width: 760px;
}

.kmy-elem-lead {
    margin: 0 auto 36px;
    max-width: 820px;
    text-align: center;
    color: #475569;
    font-size: 15px;
    line-height: 1.95;
}

/* 悩み */
.kmy-elem-problem { background: #fff; }

.kmy-elem-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.kmy-elem-pain {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 20px;
    background: #fef2f3;
    border: 1px solid #f6d4d8;
    border-radius: 12px;
}

.kmy-elem-pain strong {
    color: var(--kmy-accent, #e84a5f);
    font-size: 16px;
}

.kmy-elem-pain span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

/* いいとこどり */
.kmy-elem-lineup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.kmy-elem-lineup-card {
    position: relative;
    padding: 30px 24px 26px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--kmy-accent, #e84a5f);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .07);
}

.kmy-elem-lineup-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 16px;
    background: var(--kmy-primary, #12224a);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    border-radius: 20px;
}

.kmy-elem-lineup-card h3 {
    margin: 0 0 10px;
    color: var(--kmy-primary, #12224a);
    font-size: 18px;
}

.kmy-elem-lineup-card p {
    margin: 0;
    color: #475569;
    font-size: 13.5px;
    line-height: 1.85;
}

/* 比較表 */
.kmy-elem-compare { background: #fff; }

.kmy-elem-compare-wrap { overflow-x: auto; }

.kmy-elem-compare-table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 0;
}

.kmy-elem-compare-table th,
.kmy-elem-compare-table td {
    padding: 16px 18px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.kmy-elem-compare-table thead th {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 2px solid #cbd5e1;
}

.kmy-elem-compare-table thead th.is-ours {
    color: #fff;
    background: var(--kmy-primary, #12224a);
    border-radius: 10px 10px 0 0;
}

.kmy-elem-compare-table tbody th {
    text-align: left;
    color: var(--kmy-primary, #12224a);
    font-weight: 700;
    background: #f8fafc;
    white-space: nowrap;
}

.kmy-elem-compare-table td.is-ours {
    background: #fef2f3;
    color: var(--kmy-primary, #12224a);
    font-weight: 700;
}

.kmy-elem-compare-table tbody tr:last-child td.is-ours {
    border-radius: 0 0 10px 10px;
}

/* スケジュール */
.kmy-elem-schedule { background: #f5f8fc; }

.kmy-elem-phase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 30px;
}

.kmy-elem-phase {
    padding: 24px 24px 22px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.kmy-elem-phase.is-accent {
    background: var(--kmy-primary, #12224a);
    border-color: var(--kmy-primary, #12224a);
}

.kmy-elem-phase.is-accent strong,
.kmy-elem-phase.is-accent .kmy-elem-phase-time { color: #fff; }

.kmy-elem-phase.is-accent p { color: #cbd5e1; }

.kmy-elem-phase-time {
    display: block;
    margin-bottom: 8px;
    color: var(--kmy-accent, #e84a5f);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
}

.kmy-elem-phase strong {
    display: block;
    margin-bottom: 8px;
    color: var(--kmy-primary, #12224a);
    font-size: 17px;
}

.kmy-elem-phase p {
    margin: 0;
    color: #475569;
    font-size: 13.5px;
    line-height: 1.8;
}

.kmy-elem-timeline {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    counter-reset: tl;
}

.kmy-elem-timeline li {
    position: relative;
    padding: 16px 10px;
    text-align: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.kmy-elem-tl-time {
    display: block;
    color: var(--kmy-accent, #e84a5f);
    font-size: 15px;
    font-weight: 800;
}

.kmy-elem-tl-label {
    display: block;
    margin-top: 4px;
    color: #475569;
    font-size: 11.5px;
    line-height: 1.5;
}

.kmy-elem-schedule-photos { margin-top: 4px; }

/* ピラミッド */
.kmy-elem-pyramid-sec { background: #fff; }

.kmy-elem-pyramid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.kmy-elem-py {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 18px 20px;
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
}

.kmy-elem-py span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    opacity: .85;
}

.kmy-elem-py-top { width: 46%; background: var(--kmy-accent, #e84a5f); }
.kmy-elem-py-mid { width: 70%; background: #2f6b93; }
.kmy-elem-py-base { width: 94%; background: var(--kmy-primary, #12224a); }

/* 帰国子女・塾長 */
.kmy-elem-juku { background: #f5f8fc; }

.kmy-elem-strength-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.kmy-elem-strength-list strong {
    display: block;
    margin-bottom: 4px;
    color: var(--kmy-accent, #e84a5f);
    font-size: 16px;
}

.kmy-elem-strength-list p {
    margin: 0;
    color: #475569;
    font-size: 13.5px;
    line-height: 1.85;
}

/* 選べるスタイル */
.kmy-elem-style { background: #fff; }

.kmy-elem-style-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.kmy-elem-style-card {
    padding: 30px 20px;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.kmy-elem-style-num {
    display: block;
    color: var(--kmy-primary, #12224a);
    font-size: 30px;
    font-weight: 900;
    line-height: 1.1;
}

.kmy-elem-style-num small {
    font-size: 16px;
    font-weight: 700;
    margin: 0 2px;
}

.kmy-elem-style-card p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13px;
}

.kmy-elem-style-note {
    margin: 0 auto;
    max-width: 760px;
    text-align: center;
    color: #475569;
    font-size: 13.5px;
    line-height: 1.85;
}

@media (max-width: 860px) {
    .kmy-elem-pain-grid,
    .kmy-elem-lineup-grid,
    .kmy-elem-phase-row,
    .kmy-elem-style-grid {
        grid-template-columns: 1fr;
    }

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

    .kmy-elem-py-top,
    .kmy-elem-py-mid,
    .kmy-elem-py-base {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════
   PHP Template: Warm（ウォーム型）
   ═══════════════════════════════════════════════════════════ */
.kmy-public-php-warm {
    --kmy-warm-cream: #fdf9f5;
    --kmy-warm-border: #e5e0d8;
    --kmy-warm-muted: #6b7280;
    background: var(--kmy-warm-cream);
}

.kmy-warm-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 249, 245, .96);
    border-bottom: 1px solid var(--kmy-warm-border);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 32px;
    height: 64px;
}

.kmy-warm-header .kmy-division-nav {
    flex: 1;
}

.kmy-warm-header-cta {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.kmy-warm-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}

.kmy-warm-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 64px 48px;
    background: var(--kmy-warm-cream);
}

.kmy-warm-badge {
    margin: 0;
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--kmy-accent, #38a89d);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    width: fit-content;
}

.kmy-warm-title {
    margin: 0;
    color: var(--kmy-primary, #2d6a4f);
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.45;
}

.kmy-warm-lead {
    margin: 0;
    color: var(--kmy-warm-muted);
    font-size: 15px;
    line-height: 1.8;
    max-width: 420px;
}

.kmy-warm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.kmy-warm-phone {
    margin: 0;
    color: var(--kmy-warm-muted);
    font-size: 14px;
}

.kmy-warm-phone span {
    margin-right: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--kmy-warm-border);
    font-size: 11px;
    font-weight: 800;
}

.kmy-warm-hero-image {
    overflow: hidden;
}

.kmy-warm-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kmy-warm-hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--kmy-accent, #38a89d) 0%, var(--kmy-primary, #2d6a4f) 100%);
    opacity: .3;
}

.kmy-warm-section {
    padding: 72px 0;
}

/* Warm: セクション内コンテンツを中央コンテナに収める（全幅で読みづらいのを防ぐ） */
.kmy-warm-section > .kmy-price-trust,
.kmy-warm-section > .kmy-price-panel,
.kmy-warm-section > .kmy-price-notes,
.kmy-warm-section > .kmy-step-grid,
.kmy-warm-section > .kmy-classroom-grid,
.kmy-warm-section > .kmy-news-list,
.kmy-warm-section > .kmy-profile-layout {
    width: min(1080px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.kmy-warm-section-head {
    width: min(900px, calc(100% - 48px));
    margin: 0 auto 40px;
    text-align: center;
}

.kmy-warm-section-head h2 {
    margin: 8px 0 0;
    color: var(--kmy-primary, #2d6a4f);
    font-size: clamp(22px, 2.4vw, 34px);
    font-weight: 700;
}

.kmy-warm-eyebrow {
    color: var(--kmy-accent, #38a89d);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.kmy-warm-intro {
    background: #fff;
}

.kmy-warm-intro-inner {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.kmy-warm-intro-image {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
}

.kmy-warm-intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

.kmy-warm-intro-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.kmy-warm-intro-text h2 {
    margin: 0;
    color: var(--kmy-primary, #2d6a4f);
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: 700;
    line-height: 1.4;
}

.kmy-warm-intro-text p {
    margin: 0;
    color: #4b5563;
    line-height: 1.8;
}

.kmy-warm-features {
    background: var(--kmy-warm-cream);
}

.kmy-warm-card-grid {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Warm: 学びの様子ギャラリー */
.kmy-warm-gallery-grid {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.kmy-warm-gallery-item {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 12px 28px rgba(45, 106, 79, .12);
}

.kmy-warm-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.kmy-warm-gallery-item:hover img {
    transform: scale(1.06);
}

@media (max-width: 860px) {
    .kmy-warm-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Warm: 初等部ストーリー */
.kmy-warm-soft {
    background: var(--kmy-warm-cream, #fdf9f5);
}

.kmy-warm-inner {
    width: min(1080px, calc(100% - 48px));
    margin: 0 auto;
}

.kmy-warm-story-lead {
    margin: 0 auto 32px;
    max-width: 820px;
    text-align: center;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.95;
}

.kmy-warm-story-note {
    margin: 22px auto 0;
    max-width: 760px;
    text-align: center;
    color: #6b7280;
    font-size: 13.5px;
    line-height: 1.85;
}

.kmy-warm-card-grid--3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.kmy-warm-card--plain {
    text-align: left;
    border: 1px solid var(--kmy-warm-border, #e5e0d8);
    box-shadow: none;
}

.kmy-warm-card--plain h3 {
    margin: 0 0 6px;
    color: var(--kmy-primary, #2d6a4f);
    font-size: 16px;
}

.kmy-warm-card--plain p {
    margin: 0;
    color: #6b7280;
    font-size: 13.5px;
    line-height: 1.8;
}

.kmy-warm-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 16px;
    background: var(--kmy-primary, #2d6a4f);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    border-radius: 20px;
}

.kmy-warm-card .kmy-warm-tag + h3 {
    margin-top: 0;
}

.kmy-warm-card--stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

.kmy-warm-stat {
    color: var(--kmy-primary, #2d6a4f);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
}

.kmy-warm-stat small {
    font-size: 15px;
    font-weight: 700;
    margin: 0 2px;
}

.kmy-warm-strength {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kmy-warm-strength strong {
    display: block;
    margin-bottom: 4px;
    color: var(--kmy-accent, #38a89d);
    font-size: 16px;
}

.kmy-warm-strength p {
    margin: 0;
    color: #4b5563;
    font-size: 13.5px;
    line-height: 1.85;
}

.kmy-warm-split-reverse {
    direction: rtl;
}

.kmy-warm-split-reverse > * {
    direction: ltr;
}

/* ピラミッドのwarm配色 */
.kmy-elem-pyramid--warm .kmy-elem-py-top { background: var(--kmy-accent, #38a89d); }
.kmy-elem-pyramid--warm .kmy-elem-py-mid { background: #6fb3a6; }
.kmy-elem-pyramid--warm .kmy-elem-py-base { background: var(--kmy-primary, #2d6a4f); }

/* 悩みカードの番号 */
.kmy-warm-card--plain {
    position: relative;
}

.kmy-warm-pain-no {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--kmy-accent, #38a89d);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .04em;
}

/* いいとこどり：写真付きカード */
.kmy-warm-card--photo {
    text-align: left;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.kmy-warm-card-photo {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.kmy-warm-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.kmy-warm-card--photo:hover .kmy-warm-card-photo img {
    transform: scale(1.05);
}

.kmy-warm-card--photo .kmy-warm-tag {
    margin: 18px 22px 0;
}

.kmy-warm-card--photo h3 {
    margin: 10px 22px 0;
    color: var(--kmy-primary, #2d6a4f);
    font-size: 17px;
}

.kmy-warm-card--photo p {
    margin: 8px 22px 22px;
    color: #4b5563;
    font-size: 13.5px;
    line-height: 1.8;
}

/* スケジュール：本文＋写真の2カラム */
.kmy-warm-schedule-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.kmy-warm-schedule-photo {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    min-height: 320px;
    box-shadow: 0 14px 32px rgba(45, 106, 79, .14);
}

.kmy-warm-schedule-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 選べるスタイル：淡いアクセント帯 */
.kmy-warm-style-band {
    background: linear-gradient(180deg, #ecfdf5 0%, var(--kmy-warm-cream, #fdf9f5) 100%);
}

@media (max-width: 860px) {
    .kmy-warm-schedule-layout {
        grid-template-columns: 1fr;
    }
    .kmy-warm-schedule-photo {
        min-height: 220px;
    }
}

@media (max-width: 860px) {
    .kmy-warm-card-grid--3 {
        grid-template-columns: 1fr;
    }
}

.kmy-warm-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.kmy-warm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
}

.kmy-warm-card img {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.kmy-warm-card-icon {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--kmy-accent, #38a89d);
}

.kmy-warm-card h3 {
    margin: 0 0 8px;
    color: var(--kmy-primary, #2d6a4f);
    font-size: 16px;
    font-weight: 800;
}

.kmy-warm-card p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

.kmy-warm-price {
    background: #fff;
}

.kmy-warm-price .kmy-price-panel {
    max-width: 700px;
    margin: 0 auto;
}

.kmy-warm-flow {
    background: var(--kmy-warm-cream);
}

.kmy-warm-flow .kmy-step-grid {
    width: min(900px, calc(100% - 48px));
    margin: 0 auto;
}

.kmy-warm-classroom {
    background: #fff;
}

.kmy-warm-profiles,
.kmy-warm-classroom {
    padding: 72px 0;
}

.kmy-warm-profiles .kmy-profile-layout,
.kmy-warm-classroom .kmy-classroom-grid {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
}

@media (max-width: 860px) {
    .kmy-warm-hero {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .kmy-warm-hero-text {
        padding: 40px 24px;
        order: 2;
    }

    .kmy-warm-hero-image {
        order: 1;
        min-height: 220px;
    }

    .kmy-warm-intro-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    .kmy-warm-section {
        padding: 48px 0;
    }
}

/* ── 相談チャット：連絡先を残す（リード化） ── */
.kmy-chat-leadtoggle{margin:0;border:0;border-top:1px solid #eef0f4;background:#f7f9fc;color:#1f6feb;font-size:13px;font-weight:600;padding:10px 14px;text-align:left;cursor:pointer}
.kmy-chat-leadtoggle:hover{background:#eef3fb}
.kmy-chat-leadform{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border-top:1px solid #eef0f4;background:#fbfcfe}
.kmy-chat-leadnote{margin:0 0 2px;font-size:12px;color:#6b7280}
.kmy-chat-leadform input,.kmy-chat-leadform textarea{width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid #d7dbe3;border-radius:8px;font-size:14px}
.kmy-chat-leadform button{padding:10px;border:0;border-radius:8px;background:#1f6feb;color:#fff;font-weight:700;cursor:pointer}
.kmy-chat-leadform button:disabled{opacity:.55;cursor:default}

/* ── キャンペーンバー（季節講習・キャンペーン）── */
.kmy-campaign-bar{position:sticky;top:0;z-index:1200;background:linear-gradient(90deg,var(--kmy-cb1,#ff7a1a),var(--kmy-cb2,#e8531a));color:#fff;box-shadow:0 4px 18px rgba(0,0,0,.18)}
.kmy-campaign-bar-inner{max-width:1180px;margin:0 auto;display:flex;align-items:center;gap:14px;padding:10px 18px;flex-wrap:wrap}
.kmy-campaign-bar-icon{font-size:24px;line-height:1;filter:drop-shadow(0 1px 1px rgba(0,0,0,.2))}
.kmy-campaign-bar-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.kmy-campaign-bar-head{font-size:17px;font-weight:800;letter-spacing:.02em;text-shadow:0 1px 2px rgba(0,0,0,.15)}
.kmy-campaign-bar-offer{font-size:13px;opacity:.95}
.kmy-campaign-bar-period{font-size:13px;background:rgba(255,255,255,.2);padding:4px 12px;border-radius:999px;white-space:nowrap}
.kmy-campaign-bar-limit{margin-left:auto;display:flex;flex-direction:column;align-items:center;gap:0;background:#fff;color:#b3300a;border-radius:12px;padding:5px 16px;box-shadow:0 2px 8px rgba(0,0,0,.2);animation:kmy-cb-pulse 1.6s ease-in-out infinite}
.kmy-campaign-bar-limit-label{font-size:10px;font-weight:700;opacity:.75;letter-spacing:.04em}
.kmy-campaign-bar-limit-date{font-size:16px;font-weight:800;letter-spacing:.02em;line-height:1.2}
.kmy-campaign-bar-cta{flex:0 0 auto;background:#fff;color:#1a2740;font-weight:800;font-size:14px;padding:9px 18px;border-radius:999px;text-decoration:none;box-shadow:0 3px 10px rgba(0,0,0,.2);transition:transform .15s}
.kmy-campaign-bar-cta:hover{transform:translateY(-1px) scale(1.03)}
@keyframes kmy-cb-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
@media(max-width:640px){.kmy-campaign-bar-inner{gap:8px;padding:8px 12px}.kmy-campaign-bar-head{font-size:15px}.kmy-campaign-bar-limit{margin-left:0;order:3;flex-direction:row;gap:6px;padding:4px 12px}.kmy-campaign-bar-cta{order:4;flex:1;text-align:center}}
@media(prefers-reduced-motion:reduce){.kmy-campaign-bar-limit{animation:none}}

/* ── 画像付きキャンペーンバンド（夏=ひまわり 等）── */
.kmy-campaign-band{position:relative;min-height:190px;display:flex;align-items:center;color:#fff;overflow:hidden;background:linear-gradient(90deg,rgba(10,15,25,.74) 0%,rgba(10,15,25,.45) 55%,rgba(10,15,25,.2) 100%),var(--kmy-cbimg) center/cover no-repeat}
.kmy-campaign-band::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--kmy-cb1),var(--kmy-cb2));opacity:.26;mix-blend-mode:multiply;pointer-events:none}
.kmy-campaign-band-inner{position:relative;z-index:1;max-width:1180px;margin:0 auto;width:100%;display:flex;align-items:center;gap:16px;padding:18px 24px;flex-wrap:wrap}
.kmy-campaign-band .kmy-campaign-bar-icon{font-size:32px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.4))}
.kmy-campaign-band .kmy-campaign-bar-head{font-size:23px;font-weight:800;text-shadow:0 2px 8px rgba(0,0,0,.45)}
.kmy-campaign-band .kmy-campaign-bar-offer{font-size:14px;text-shadow:0 1px 4px rgba(0,0,0,.45)}
@media(max-width:640px){.kmy-campaign-band{min-height:150px}.kmy-campaign-band-inner{gap:8px;padding:14px 14px}.kmy-campaign-band .kmy-campaign-bar-head{font-size:18px}.kmy-campaign-band .kmy-campaign-bar-limit{order:3}.kmy-campaign-band .kmy-campaign-bar-cta{order:4;flex:1;text-align:center}}

/* 講師カードの経歴・学歴 */
.kmy-profile-career{display:block;font-size:.82em;color:#6b7280;margin:2px 0 6px;line-height:1.5}

/* キャンペーン：複数特典チップ・先着バッジ */
.kmy-campaign-bar-offers{display:inline-flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:2px}
.kmy-campaign-bar-offers .kmy-campaign-bar-offer{background:rgba(255,255,255,.22);border-radius:20px;padding:2px 10px;font-size:.84em;font-weight:700;white-space:nowrap}
.kmy-campaign-bar-first{display:inline-block;background:#fff;color:#d6418a;font-weight:800;border-radius:6px;padding:1px 9px;font-size:.82em;margin-left:8px;white-space:nowrap;vertical-align:middle}

/* 紹介動画（LP上部バンド） */
.kmy-hero-video-band{background:#0f1722;padding:clamp(16px,4vw,40px) 16px}
.kmy-hero-video-band-inner{max-width:920px;margin:0 auto}
.kmy-hero-video{position:relative;width:100%;aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden;box-shadow:0 10px 40px rgba(0,0,0,.4)}
.kmy-hero-video iframe,.kmy-hero-video video{position:absolute;inset:0;width:100%;height:100%;border:0}
.kmy-hero-video--file video{object-fit:contain;background:#000}

/* お問い合わせ：連絡手段（優先順にスタック表示） */
.kmy-contact-channels { display: flex; flex-direction: column; gap: 14px; align-items: stretch; max-width: 480px; margin: 0 auto; }
.kmy-contact-channels .kmy-button { text-align: center; }
