* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: -apple-system,BlinkMacSystemFont,"Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
    color: #173b44;
    line-height: 1.85;
    background: #fff
}

.ks {
    --teal: #008e83;
    --dark: #075967;
    --green: #62b46a;
    --orange: #f68c26;
    --cream: #fcf8ed;
    --pale: #eaf8f5
}

.ks a {
    text-decoration: none
}

.ks .wrap {
    max-width: 1080px;
    margin: auto;
    padding: 0 24px
}

.ks .sec {
    padding: 100px 0
}

.ks h1,
.ks h2,
.ks h3,
.ks p {
    margin-top: 0
}

.ks h1 {
    font-size: clamp(2rem,4.3vw,3.6rem);
    line-height: 1.35
}

.ks h2 {
    font-size: clamp(1.7rem,3vw,2.45rem);
    line-height: 1.45;
    color: var(--dark)
}

.ks h3 {
    font-size: 1.25rem;
    color: var(--dark)
}

.ks .eyebrow {
    color: var(--teal);
    font-weight: 800;
    letter-spacing: .08em
}

.ks .muted {
    color: #5b7376
}

.ks .small {
    font-size: .86rem
}

.ks .btn {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-weight: 800;
    padding: 17px 30px;
    border-radius: 40px;
    box-shadow: 0 7px 18px #f68c2635
}

.ks .btn.alt {
    color: var(--teal);
    background: #fff;
    border: 1.5px solid var(--teal);
    box-shadow: none
}

.ks .btnrow {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.ks .hero {
    background: linear-gradient(120deg,#e9f8f4,#fff 70%,#fdf4df);
    padding: 110px 0 85px;
    overflow: hidden
}

.ks .heroGrid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 45px;
    align-items: center
}

.ks .pill {
    display: inline-block;
    background: linear-gradient(90deg,#70bc5b,#07948b);
    color: #fff;
    font-weight: 800;
    border-radius: 35px;
    padding: 8px 20px;
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.ks .heroVisual {
    min-height: 320px;
    border-radius: 45% 55% 36% 64%;
    background: radial-gradient(circle at 65% 38%,#b3e5db,transparent 36%),linear-gradient(130deg,#d8f3ec,#fef1d8);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 8rem;
    color: var(--teal)
}

.ks .highlight {
    color: var(--teal)
}

.ks .lead {
    font-size: 1.08rem
}

.ks .surface {
    background: var(--cream)
}

.ks .pale {
    background: #f1faf8
}

.ks .center {
    text-align: center
}

.ks .intro {
    max-width: 780px;
    margin: 0 auto 45px
}

.ks .two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px
}

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

.ks .card {
    padding: 30px;
    border: 1px solid #e0ebe8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 26px #07596709
}

.ks .feature {
    padding: 35px
}

.ks .feature .num {
    font-weight: 900;
    color: var(--orange);
    font-size: 2.1rem
}

.ks .coverage {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 34px 36px;
    margin: 18px 0;
    background: #fff;
    border-radius: 22px;
    border: 1px solid #e5eeeb
}

.ks .coverage .symbol {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    background: #e9f8f3;
    color: var(--teal);
    font-size: 2.3rem;
    border-radius: 50%
}

.ks .limit {
    font-weight: 800;
    color: #db6b13;
    min-width: 160px;
    text-align: right
}

.ks .service {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 30px;
    align-items: start;
    background: #fff;
    border: 1px solid #e2efeb;
    border-radius: 24px;
    padding: 35px;
    margin: 22px 0
}

.ks .service .sym {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    background: #e7f7f2;
    display: grid;
    place-items: center;
    font-size: 3rem
}

.ks .tag {
    display: inline-block;
    padding: 3px 12px;
    background: #fff1dc;
    border-radius: 99px;
    color: #a35400;
    font-weight: 700;
    font-size: .82rem
}

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

.ks .step {
    background: #fff;
    border-radius: 18px;
    padding: 26px;
    border: 1px solid #dceae7;
    position: relative
}

.ks .step b {
    display: inline-grid;
    place-items: center;
    background: var(--teal);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.3rem;
    margin-bottom: 14px
}

.ks .step h3 {
    font-size: 1.1rem
}

.ks .price {
    background: linear-gradient(115deg,#f5fbf6,#fff6e7);
    border: 1px solid #e6eedf;
    border-radius: 30px;
    padding: 50px
}

.ks .yen {
    font-size: clamp(2.5rem,6vw,4rem);
    font-weight: 900;
    color: var(--orange);
    line-height: 1.3
}

.ks details {
    border-bottom: 1px solid #d9e6e3;
    padding: 20px 4px
}

.ks summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--dark)
}

.ks details p {
    padding-top: 16px;
    margin-bottom: 0
}

.ks .cta {
    background: linear-gradient(115deg,#00877c,#62b66b);
    color: #fff
}

.ks .cta h2 {
    color: #fff
}

.ks footer {
    background: #164953;
    color: #fff;
    padding: 35px 0;
    font-size: .85rem
}

.ks footer a {
    color: #fff;
    text-decoration: underline
}

.ks .note {
    padding: 20px 24px;
    border-left: 4px solid #e5a344;
    background: #fff8e9;
    border-radius: 4px;
    margin-top: 26px
}

.ks .checks {
    padding-left: 22px
}

.ks .checks li {
    margin: 8px 0
}

.ks .contactbox {
    max-width: 760px;
    margin: auto;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    color: #173b44
}

.ks .contactbox h3 {
    margin-bottom: 8px
}

@media(max-width:800px) {
    .ks .sec {
        padding: 68px 0
    }

    .ks .hero {
        padding: 75px 0
    }

    .ks .heroGrid,
    .ks .two,
    .ks .three,
    .ks .steps {
        grid-template-columns: 1fr
    }

    .ks .heroVisual {
        min-height: 210px;
        font-size: 5rem
    }

    .ks .coverage {
        grid-template-columns: 60px 1fr;
        gap: 15px;
        padding: 24px
    }

    .ks .coverage .symbol {
        width: 55px;
        height: 55px;
        font-size: 1.7rem
    }

    .ks .limit {
        grid-column: 2;
        text-align: left
    }

    .ks .service {
        grid-template-columns: 1fr;
        padding: 25px
    }

    .ks .service .sym {
        width: 72px;
        height: 72px;
        font-size: 2rem
    }

    .ks .price {
        padding: 30px
    }

    .ks .btn {
        width: 100%;
        text-align: center
    }

    .ks .wrap {
        padding: 0 20px
    }

}

.ks .heroVisual {
    min-height: 0;
    background: none;
    border-radius: 24px;
    overflow: hidden;
    display: block
}

.ks .ks-photo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover
}

.ks .ks-hero-photo {
    aspect-ratio: 370/328;
    object-position: center;
    border-radius: 24px
}

.ks .ks-photo-strip {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px 54px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px
}

.ks .ks-photo-strip figure {
    margin: 0;
    border: 1px solid #e2eeea;
    border-radius: 20px;
    overflow: hidden;
    background: #f7fbfa
}

.ks .ks-photo-strip img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    display: block
}

.ks .ks-photo-strip figcaption {
    padding: 12px;
    text-align: center;
    font-weight: 700;
    color: #075967
}

@media(max-width:800px) {
    .ks .ks-photo-strip {
        grid-template-columns: 1fr;
        padding: 0 20px 40px
    }

    .ks .ks-photo-strip img {
        height: 170px
    }

}

/* Design-match overrides: airy brochure palette, typography and section rhythm */
.ks {
    --teal: #0a998c;
    --dark: #0b5365;
    --green: #4ab66f;
    --orange: #ff751a;
    --cream: #fffaf0;
    --pale: #eefafa;
    color: #173e52;
    font-family: "Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
    line-height: 1.85
}

.ks * {
    box-sizing: border-box
}

.ks .wrap {
    max-width: 1190px;
    padding-left: 30px;
    padding-right: 30px
}

.ks .sec {
    padding: 112px 0
}

.ks h1,
.ks h2,
.ks h3 {
    letter-spacing: -.025em
}

.ks h2 {
    font-size: clamp(1.8rem,3.2vw,2.7rem);
    color: #087c78
}

.ks .eyebrow {
    font-size: .8rem;
    color: #38a38b
}

.ks .intro {
    margin-bottom: 52px
}

.ks .small {
    font-size: .87rem
}

.ks .ks-sitebar {
    background: #fff;
    box-shadow: 0 2px 20px #0a81720b;
    position: relative;
    z-index: 5
}

.ks .ks-sitebar .ks-wrap {
    max-width: 1190px;
    padding: 14px 30px;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    margin: auto
}

.ks .ks-logo {
    font-weight: 900;
    color: #203d4b;
    font-size: 1rem;
    white-space: nowrap
}

.ks .ks-mark {
    font-size: 1.8rem;
    color: #008d89;
    vertical-align: middle;
    margin-right: 7px
}

.ks .ks-sitebar nav {
    display: flex;
    gap: 25px;
    align-items: center
}

.ks .ks-sitebar nav a {
    font-size: .79rem;
    color: #174d5f;
    font-weight: 700
}

.ks .ks-navcta {
    border-radius: 100px;
    padding: 9px 19px;
    background: linear-gradient(95deg,#ff9b20,#ff6b1e);
    color: #fff;
    font-size: .84rem;
    font-weight: 800;
    white-space: nowrap
}

.ks .ks-hero {
    padding: 0;
    background: linear-gradient(135deg,#f3fcf6 0%,#fff 55%,#eaf8f1 100%);
    min-height: 545px
}

.ks .ks-hero-layout {
    display: grid;
    grid-template-columns: 51% 49%;
    align-items: center;
    gap: 0;
    min-height: 545px
}

.ks .ks-hero-copy {
    padding: 55px 14px 60px 10px;
    position: relative;
    z-index: 2
}

.ks .ks-hero h1 {
    font-size: clamp(2.4rem,4.5vw,4rem);
    line-height: 1.3;
    color: #11485b;
    margin: 18px 0
}

.ks .ks-orange {
    color: #f36a16
}

.ks .pill {
    background: linear-gradient(100deg,#7acb5d,#009d98);
    border-radius: 75px;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1.45;
    padding: 14px 28px;
    margin: 0
}

.ks .hero .lead {
    font-size: 1.6rem;
    line-height: 1.95;
    font-weight: 650
}

.ks .btn {
    border-radius: 80px;
    background: linear-gradient(100deg,#ffab27,#ff701f);
    box-shadow: 0 5px 13px #ff982a22;
    font-size: .92rem;
    padding: 15px 27px;
    transition: transform .2s ease
}

.ks .btn:hover {
    transform: translateY(-2px)
}

.ks .btn.alt {
    color: #008b89;
    border: 2px solid #0aa39e;
    padding: 13px 26px
}

.ks .ks-hero .btnrow {
    margin-top: 28px;
    flex-direction: column;
    align-items: flex-start
}

.ks .ks-hero-figure {
    margin: 0;
    position: relative;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.ks .ks-hero-figure img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1.13;
    border-radius: 34px;
    box-shadow: 0 18px 40px #057d6c11
}

.ks .ks-hero-figure figcaption {
    font-size: .7rem;
    text-align: right;
    color: #66847f;
    margin-top: 9px
}

.ks .ks-law {
    background: linear-gradient(110deg,#fdfbf3,#f0f9ef);
}

.ks .ks-law .card {
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 30px #166c5210
}

.ks .ks-law .checks li {
    padding: 4px 0
}

.ks .ks-law h2 {
    color: #077f78
}

.ks .ks-law .wrap {
    gap: 70px
}

.ks .three {
    gap: 24px
}

.ks .feature {
    border-radius: 18px;
    padding: 34px 32px 28px;
    min-height: 245px;
    background: linear-gradient(#fff,#f8fdfa);
    box-shadow: 0 12px 28px #0e807e12
}

.ks .feature .num {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(130deg,#43bd86,#009b99);
    font-size: 1.05rem;
    color: white;
    margin-bottom: 20px
}

.ks .feature h3 {
    font-size: 2rem
}

.ks .ks-photo-strip {
    padding-bottom: 100px
}

.ks .ks-photo-strip figure {
    border-radius: 22px;
    box-shadow: 0 12px 24px #0c737515
}

.ks .ks-photo-strip img {
    height: 230px
}

.ks .ks-photo-strip figcaption {
    padding: 15px
}

.ks .ks-coverage {
    background: #f3faf8
}

.ks .ks-coverage .coverage {
    border-radius: 21px;
    padding: 35px 38px;
    box-shadow: 0 7px 24px #06665809;
    margin: 23px 0;
    min-height: 164px
}

.ks .coverage .symbol {
    color: #ff8c29;
    background: #fff4e1
}

.ks .limit {
    background: #fff8ef;
    padding: 18px;
    border-radius: 13px;
    color: #ed6e1c
}

.ks .ks-coverage .note {
    background: #fff;
    border-left-color: #ff9d30
}

.ks .ks-package {
    background: #fff
}

.ks .ks-package .service {
    grid-template-columns: 118px 1fr;
    padding: 37px 44px;
    border: 1px solid #ddebe6;
    box-shadow: 0 10px 25px #0e6e5c0b;
    margin: 27px 0;
    gap: 34px;
    border-radius: 25px
}

.ks .ks-package .service .sym {
    border-radius: 50%;
    height: 99px;
    width: 99px;
    background: #e4f9f5;
    color: #009b98
}

.ks .ks-package .service h3 {
    font-size: 2rem
}

.ks .ks-package .service p {
    max-width: 850px
}

.ks .tag {
    background: #fff0d8
}

.ks .ks-flow {
    background: linear-gradient(180deg,#eefbf6,#e6f8f3)
}

.ks .ks-flow .steps {
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 12px
}

.ks .ks-flow .step {
    padding: 20px 13px;
    min-height: 260px;
    border-radius: 17px;
    box-shadow: 0 8px 21px #006f5810
}

.ks .ks-flow .step:not(:last-child)::after {
    content: '➜';
    color: #33b2a7;
    font-size: 1.1rem;
    position: absolute;
    right: -16px;
    top: 64%;
    z-index: 2
}

.ks .ks-flow .step b {
    width: 39px;
    height: 39px;
    background: linear-gradient(135deg,#43bf91,#008f91);
    font-size: 1.05rem
}

.ks .ks-flow .step h3 {
    font-size: 1.02rem;
    line-height: 1.5;
    min-height: 3.2em
}

.ks .ks-flow .step p {
    font-size: .83rem;
    line-height: 1.75
}

.ks .ks-step-art {
    font-size: 2.6rem;
    text-align: center;
    color: #129f96;
    margin-top: 7px;
    line-height: 1.3
}

.ks .ks-flow .note {
    margin-top: 30px;
    background: #fff
}

.ks .ks-price .price {
    background: linear-gradient(110deg,#fffaf1,#f0faf4);
    padding: 56px;
    gap: 55px
}

.ks .ks-price .yen {
    color: #fb6c15
}

.ks details {
    background: #fff;
    border: 1px solid #deede8;
    border-radius: 12px;
    margin: 12px 0;
    padding: 19px 25px;
    box-shadow: 0 5px 18px #0d706008
}

.ks .cta {
    background: linear-gradient(90deg,#087b81,#38b779)
}

.ks .contactbox {
    max-width: 790px
}

.ks .ks-contact {
    padding: 100px 0
}

.ks footer {
    padding: 45px 0
}

@media(max-width:1080px) {
    .ks .ks-flow .steps {
        grid-template-columns: repeat(3,1fr)
    }

    .ks .ks-flow .step:not(:last-child)::after {
        display: none
    }

    .ks .ks-sitebar nav {
        gap: 10px
    }

}

@media(max-width:800px) {
    .ks .wrap {
        padding: 0 22px
    }

    .ks .sec {
        padding: 76px 0
    }

    .ks .ks-sitebar .ks-wrap {
        padding: 12px 20px
    }

    .ks .ks-sitebar nav {
        display: none
    }

    .ks .ks-logo {
        font-size: .84rem
    }

    .ks .ks-navcta {
        padding: 8px 12px;
        font-size: .75rem
    }

    .ks .ks-hero-layout {
        grid-template-columns: 1fr;
        min-height: auto
    }

    .ks .ks-hero-copy {
        padding: 52px 0 25px
    }

    .ks .ks-hero h1 {
        font-size: clamp(2.1rem,9vw,3.25rem)
    }

    .ks .ks-hero-figure {
        padding-bottom: 35px
    }

    .ks .ks-hero-figure img {
        max-height: 350px;
        object-fit: cover;
        object-position: center 15%;
        aspect-ratio: 1.55
    }

    .ks .ks-hero .btnrow {
        align-items: stretch
    }

    .ks .ks-law .wrap {
        gap: 20px
    }

    .ks .ks-photo-strip {
        padding: 0 20px 70px
    }

    .ks .ks-photo-strip img {
        height: 210px
    }

    .ks .ks-package .service {
        grid-template-columns: 1fr;
        padding: 26px;
        gap: 8px
    }

    .ks .ks-flow .steps {
        grid-template-columns: repeat(2,1fr)
    }

    .ks .ks-flow .step {
        min-height: 245px
    }

    .ks .ks-price .price {
        padding: 28px;
        gap: 25px
    }

}

@media(max-width:540px) {
    .ks .ks-flow .steps {
        grid-template-columns: 1fr
    }

    .ks .ks-flow .step {
        min-height: auto;
        padding: 22px 25px;
        display: grid;
        grid-template-columns: 44px 1fr;
        column-gap: 14px
    }

    .ks .ks-flow .step b {
        grid-row: 1/3
    }

    .ks .ks-flow .step h3 {
        min-height: 0;
        margin: 0
    }

    .ks .ks-flow .step p {
        grid-column: 2
    }

    .ks .ks-flow .ks-step-art {
        display: none
    }

    .ks .ks-hero-figure img {
        aspect-ratio: 1.15;
        object-position: 40% top
    }

    .ks .ks-logo {
        font-size: .74rem
    }

    .ks .ks-navcta {
        font-size: .7rem
    }

    .ks .coverage .limit {
        grid-column: 1/3;
        text-align: left
    }

    .ks .ks-package .service .sym {
        height: 75px;
        width: 75px
    }

}

/* ===== Readable typography revision: 2026-11-02 ===== */
.ks {
    font-size: 18px;
    line-height: 1.85;
}

.ks p,
.ks li,
.ks details,
.ks .coverage,
.ks .service,
.ks .step p,
.ks .ks-flow .step p {
    font-size: 18px;
    line-height: 1.85;
}

.ks h1,
.ks .ks-hero h1 {
    font-size: clamp(38px, 4.3vw, 58px);
    line-height: 1.35;
}

.ks h2 {
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.45;
}

.ks h3,
.ks .ks-flow .step h3 {
    font-size: 23px;
    line-height: 1.5;
}

.ks .lead {
    font-size: 21px;
}

.ks .small,
.ks .muted.small,
.ks .tag,
.ks .note,
.ks .eyebrow {
    font-size: 15px;
    line-height: 1.8;
}

.ks .btn,
.ks button {
    font-size: 18px;
    line-height: 1.5;
}

.ks .ks-logo {
    font-size: 19px;
}

.ks .ks-navcta {
    font-size: 16px;
}

@media(max-width:800px) {
    .ks {
        font-size: 17px;
    }

    .ks p,
    .ks li,
    .ks details,
    .ks .coverage,
    .ks .service,
    .ks .step p,
    .ks .ks-flow .step p {
        font-size: 17px;
    }

    .ks h1,
    .ks .ks-hero h1 {
        font-size: clamp(34px, 8vw, 46px);
    }

    .ks h2 {
        font-size: clamp(27px, 6vw, 34px);
    }

    .ks h3,
    .ks .ks-flow .step h3 {
        font-size: 21px;
    }

    .ks .lead {
        font-size: 19px;
    }

    .ks .btn,
    .ks button {
        font-size: 17px;
    }

    .ks .ks-logo {
        font-size: 15px;
    }

    .ks .ks-navcta {
        font-size: 14px;
    }

}
/* 義務化について：パンフレットの11項目 */
.ks .ks-law-detail .ks-law-heading {
    max-width: 1120px;
    margin-bottom: 44px;
}

.ks .ks-law-detail .ks-law-list-title {
    margin-bottom: 12px;
}

.ks .ks-law-detail .ks-law-group {
    margin-top: 28px;
    padding: 32px;
}

.ks .ks-law-detail .ks-law-group h3 {
    display: flex;
    align-items: baseline;
    gap: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.ks .ks-law-detail .ks-law-number {
    color: var(--teal);
    flex-shrink: 0;
}

.ks .ks-law-detail .ks-law-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.ks .ks-law-detail .ks-law-items li {
    min-width: 0;
    padding: 22px 0;
    border-top: 1px solid #dcebe6;
}

.ks .ks-law-detail .ks-law-items h4 {
    margin: 0 0 10px;
    color: var(--dark);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
}

.ks .ks-law-detail .ks-law-items p,
.ks .ks-law-detail .note p:last-child {
    margin-bottom: 0;
}

.ks .ks-law-detail .ks-law-source {
    margin-top: 24px;
    overflow-wrap: anywhere;
}

.ks .ks-law-detail .ks-law-source a {
    color: var(--dark);
    text-decoration: underline;
}

@media (max-width: 800px) {
    .ks .ks-law-detail .ks-law-group {
        padding: 24px;
    }

    .ks .ks-law-detail .ks-law-items {
        grid-template-columns: 1fr;
    }

    .ks .ks-law-detail .ks-law-items h4 {
        font-size: 19px;
    }
}

/* おまもりパッケージ専用・現在のCSS末尾に追記 */
.ks .ks-omamori {
    --om-red: #b94f38;
    --om-orange: #a85a00;
    background: #fff;
}

.ks .ks-omamori .om-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ks .ks-omamori .om-card {
    border: 1px solid #eaded0;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 28px #173b440a;
}

.ks .ks-omamori .om-consult {
    --om-accent: var(--om-red);
    --om-tint: #fff2ec;
}

.ks .ks-omamori .om-support {
    --om-accent: var(--om-orange);
    --om-tint: #fff7e7;
}

.ks .ks-omamori .om-card-head {
    position: relative;
    padding: 28px 24px;
    text-align: center;
    background: var(--om-accent);
    color: #fff;
}

.ks .ks-omamori .om-number {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ffffffaa;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.ks .ks-omamori .om-card-head p {
    margin: 0 0 8px;
    font-size: 16px;
}

.ks .ks-omamori .om-card-head h3 {
    color: #fff;
    font-size: clamp(24px, 3vw, 30px);
    margin: 0;
    line-height: 1.5;
}

.ks .ks-omamori .om-card-body {
    padding: 28px 20px;
    text-align: center;
    background: var(--om-tint);
}

.ks .ks-omamori .om-card-body p {
    font-size: 20px;
    margin: 0 0 20px;
}

.ks .ks-omamori .om-relation {
    display: inline-block;
    border-radius: 24px;
    background: #fff;
    padding: 7px 18px;
    color: var(--om-accent);
    font-weight: 700;
    font-size: 15px;
}

.ks .ks-omamori .om-notes {
    margin: 24px 0 0;
    padding-left: 22px;
}

.ks .ks-omamori .om-notes li {
    font-size: 15px;
    line-height: 1.8;
    margin: 7px 0;
    color: #53666b;
}

.ks .ks-omamori .om-flow-link {
    display: block;
    text-align: center;
    color: #075967;
    text-decoration: underline;
    font-weight: 700;
    margin: 28px 0;
}

.ks .ks-omamori .om-extra {
    margin-top: 30px;
}

.ks .ks-omamori.om-flow-section {
    background: #fffaf2;
}

.ks .ks-omamori .om-flow-start {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ks .ks-omamori .om-flow-start li {
    position: relative;
    padding: 24px 16px;
    text-align: center;
    background: #fff;
    border: 1px solid #deded4;
    border-radius: 16px;
}

.ks .ks-omamori .om-flow-start li:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -26px;
    top: 45%;
    color: #617773;
    font-size: 24px;
}

.ks .ks-omamori .om-role {
    display: inline-block;
    font-size: 15px;
    color: #075967;
    background: #e8f5f2;
    border-radius: 20px;
    padding: 3px 14px;
    margin-bottom: 14px;
}

.ks .ks-omamori .om-role-company {
    color: #715444;
    background: #f3ece5;
}

.ks .ks-omamori .om-flow-start h3,
.ks .ks-omamori .om-repeat-step h3 {
    font-size: 22px;
    line-height: 1.6;
    margin: 0;
}

.ks .ks-omamori .om-flow-down {
    text-align: center;
    font-size: 30px;
    color: #70877c;
    padding: 12px;
}

.ks .ks-omamori .om-repeat {
    border: 2px solid #d3a274;
    border-radius: 24px;
    background: #fff;
    padding: 28px;
}

.ks .ks-omamori .om-repeat-title {
    text-align: center;
    font-weight: 700;
    margin: 0 0 24px;
}

.ks .ks-omamori .om-repeat-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
}

.ks .ks-omamori .om-repeat-step {
    padding: 24px 16px;
    background: var(--om-tint);
    border-radius: 16px;
    text-align: center;
}

.ks .ks-omamori .om-step-label {
    display: block;
    color: var(--om-accent);
    font-weight: 700;
    margin-bottom: 14px;
}

.ks .ks-omamori .om-repeat-step p {
    margin: 12px 0 0;
    font-size: 17px;
}

.ks .ks-omamori .om-repeat-arrow {
    align-self: center;
    text-align: center;
    color: #8e6950;
    font-size: 28px;
}

.ks .ks-omamori .om-repeat-caption {
    text-align: center;
    margin: 24px 0 0;
    color: #93432f;
    font-weight: 700;
}

.ks .ks-omamori .om-goal {
    background: #deeee4;
    color: #215746;
    padding: 22px;
    border-radius: 16px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 800px) {
    .ks .ks-omamori .om-cards,
    .ks .ks-omamori .om-flow-start,
    .ks .ks-omamori .om-repeat-grid {
        grid-template-columns: 1fr;
    }

    .ks .ks-omamori .om-flow-start li:not(:last-child)::after {
        content: "↓";
        top: auto;
        bottom: -31px;
        right: 50%;
        transform: translateX(50%);
    }

    .ks .ks-omamori .om-repeat {
        padding: 24px 16px;
    }

    .ks .ks-omamori .om-repeat-arrow {
        transform: rotate(90deg);
    }

    .ks .ks-omamori .om-card-body p {
        font-size: 18px;
    }
}

.ks .ks-omamori-more {
    background: #fff;
}

.ks .ks-omamori-more .om-more-card {
    margin: 0 0 28px;
    padding: 32px;
    border: 1px solid #e8dfd3;
    border-radius: 22px;
    background: #fffbf4;
}

.ks .ks-omamori-more .om-more-heading {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
}

.ks .ks-omamori-more .om-more-number {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #fff;
    background: #896b53;
    font-size: 26px;
    font-weight: 700;
}

.ks .ks-omamori-more .om-more-kicker {
    color: #79614c;
    font-size: 15px;
    margin: 0 0 6px;
}

.ks .ks-omamori-more h3 {
    font-size: 24px;
    line-height: 1.6;
    margin: 0;
}

.ks .ks-omamori-more .om-more-paid {
    display: inline-block;
    vertical-align: middle;
    padding: 2px 14px;
    margin-left: 8px;
    border-radius: 20px;
    background: #b64e35;
    color: #fff;
    font-size: 15px;
}

.ks .ks-omamori-more .om-more-table {
    margin: 20px 0 0;
}

.ks .ks-omamori-more .om-more-table > div {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    margin-top: 10px;
    border: 1px solid #e8dfd3;
    border-radius: 12px;
    overflow: hidden;
}

.ks .ks-omamori-more .om-more-table dt {
    padding: 18px;
    background: #f0e5d3;
    color: #604d39;
    font-weight: 700;
}

.ks .ks-omamori-more .om-more-table dd {
    margin: 0;
    padding: 18px 22px;
    background: #fff;
    font-size: 18px;
}

.ks .ks-omamori-more .om-more-price {
    padding: 22px 26px;
    border-radius: 12px;
    background: #fff;
    border-left: 4px solid #b89552;
}

.ks .ks-omamori-more .om-more-price > span {
    font-size: 16px;
    font-weight: 700;
    color: #79614c;
}

.ks .ks-omamori-more .om-more-price p {
    margin: 8px 0;
}

.ks .ks-omamori-more .om-more-price strong {
    display: inline-block;
    margin-left: 12px;
    font-size: 30px;
    color: #9d472c;
}

.ks .ks-omamori-more .om-more-price small,
.ks .ks-omamori-more .om-more-note {
    font-size: 15px;
    color: #59696a;
    line-height: 1.8;
}

.ks .ks-omamori-more .om-more-note {
    margin: 16px 0 0;
}

.ks .ks-omamori-more .om-mental {
    margin-top: 56px;
}

.ks .ks-omamori-more .om-mental > h3 {
    text-align: center;
    margin-bottom: 26px;
}

.ks .ks-omamori-more .om-mental-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ks .ks-omamori-more .om-mental-card {
    padding: 30px;
    border-radius: 20px;
    background: #eff7f0;
    border-top: 5px solid #61996d;
}

.ks .ks-omamori-more .om-return {
    background: #fff2ef;
    border-color: #cb796b;
}

.ks .ks-omamori-more .om-mental-label {
    font-size: 15px;
    margin: 0 0 12px;
    color: #485e53;
}

.ks .ks-omamori-more .om-mental-card h4 {
    font-size: 25px;
    color: #215b48;
    line-height: 1.5;
    margin: 0 0 22px;
}

.ks .ks-omamori-more .om-return h4 {
    color: #914c40;
}

.ks .ks-omamori-more .om-mental-card dl {
    margin: 0 0 22px;
}

.ks .ks-omamori-more .om-mental-card dl > div {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #173b441a;
    font-size: 16px;
}

.ks .ks-omamori-more .om-mental-card dt {
    font-weight: 700;
}

.ks .ks-omamori-more .om-mental-card dd {
    margin: 0;
}

.ks .ks-omamori-more .om-mental-card > p:last-child {
    margin-bottom: 0;
    font-size: 17px;
}

@media (max-width: 800px) {
    .ks .ks-omamori-more .om-more-card,
    .ks .ks-omamori-more .om-mental-card {
        padding: 24px 20px;
    }

    .ks .ks-omamori-more .om-more-heading {
        gap: 12px;
    }

    .ks .ks-omamori-more h3 {
        font-size: 21px;
    }

    .ks .ks-omamori-more .om-more-table > div,
    .ks .ks-omamori-more .om-mental-grid {
        grid-template-columns: 1fr;
    }

    .ks .ks-omamori-more .om-more-table dt {
        padding: 12px 18px;
    }

    .ks .ks-omamori-more .om-more-table dd {
        padding: 16px 18px;
        font-size: 17px;
    }

    .ks .ks-omamori-more .om-more-price {
        padding: 20px 16px;
    }

    .ks .ks-omamori-more .om-more-price strong {
        margin-left: 0;
        font-size: 28px;
    }
}

/* おまもりパッケージの配色調整：既存CSSのいちばん最後に追記 */
.ks .ks-omamori {
    --om-red: #087b81;
    --om-orange: #087c78;
}

.ks .ks-omamori .om-consult {
    --om-tint: #eefafa;
}

.ks .ks-omamori .om-support {
    --om-tint: #f0f9ef;
}

.ks .ks-omamori .om-card {
    border-color: #ddebe6;
}

.ks .ks-omamori.om-flow-section {
    background: #f1faf8;
}

.ks .ks-omamori .om-flow-start li {
    border-color: #ddebe6;
}

.ks .ks-omamori .om-role-company {
    color: #075967;
    background: #e8f5f2;
}

.ks .ks-omamori .om-repeat {
    border-color: #91cabe;
}

.ks .ks-omamori .om-repeat-arrow,
.ks .ks-omamori .om-repeat-caption {
    color: #087c78;
}

.ks .ks-omamori .om-goal {
    background: #e4f5ec;
    color: #075967;
}

.ks .ks-omamori-more .om-more-card {
    background: #fffaf0;
    border-color: #e3eadd;
}

.ks .ks-omamori-more .om-more-number {
    background: #0a998c;
}

.ks .ks-omamori-more .om-more-kicker,
.ks .ks-omamori-more .om-more-price > span {
    color: #087c78;
}

.ks .ks-omamori-more .om-more-paid {
    background: #eaf8f5;
    color: #075967;
}

.ks .ks-omamori-more .om-more-table > div {
    border-color: #ddebe6;
}

.ks .ks-omamori-more .om-more-table dt {
    background: #eaf8f5;
    color: #075967;
}

.ks .ks-omamori-more .om-more-price {
    border-left-color: #4ab66f;
}

.ks .ks-omamori-more .om-more-price strong {
    color: #087c78;
}

.ks .ks-omamori-more .om-mental-card {
    background: #f0f9ef;
    border-top-color: #62b46a;
}

.ks .ks-omamori-more .om-return {
    background: #eefafa;
    border-top-color: #0a998c;
}

.ks .ks-omamori-more .om-mental-card h4,
.ks .ks-omamori-more .om-return h4 {
    color: #075967;
}


/* お問い合わせフォーム専用：現在のCSS末尾に追記 */
.ks-inquiry-form {
    color: #173b44;
    text-align: left;
    font-size: 18px;
    line-height: 1.8;
}

.ks-inquiry-form .kf-intro {
    margin: 0 0 18px;
}

.ks-inquiry-form .kf-guide {
    font-size: 15px;
    margin-bottom: 28px;
}

.ks-inquiry-form .kf-field {
    margin-bottom: 24px;
}

.ks-inquiry-form .kf-field > label {
    display: block;
    margin-bottom: 9px;
    color: #075967;
    font-weight: 700;
    font-size: 17px;
}

.ks-inquiry-form .kf-required,
.ks-inquiry-form .kf-optional {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 9px;
    border-radius: 5px;
    font-size: 12px;
    vertical-align: middle;
    font-weight: 700;
}

.ks-inquiry-form .kf-required {
    color: #fff;
    background: #087c78;
}

.ks-inquiry-form .kf-optional {
    color: #53666b;
    background: #eef2f1;
}

.ks-inquiry-form .kf-field input,
.ks-inquiry-form .kf-field select,
.ks-inquiry-form .kf-field textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #c6dad4;
    border-radius: 9px;
    background: #f9fcfb;
    color: #173b44;
    font: inherit;
    font-size: 16px;
    line-height: 1.6;
}

.ks-inquiry-form .kf-field textarea {
    min-height: 160px;
    resize: vertical;
}

.ks-inquiry-form .kf-field input:focus,
.ks-inquiry-form .kf-field select:focus,
.ks-inquiry-form .kf-field textarea:focus {
    outline: 2px solid #0a998c;
    outline-offset: 2px;
    background: #fff;
}

.ks-inquiry-form .kf-consent {
    margin-top: 30px;
    padding: 20px;
    background: #eef8f4;
    border-radius: 12px;
    font-size: 16px;
}

.ks-inquiry-form .kf-consent p {
    margin: 0 0 12px;
}

.ks-inquiry-form .kf-consent a {
    color: #075967;
    text-decoration: underline;
}

.ks-inquiry-form .kf-consent .wpcf7-list-item {
    margin: 0;
}

.ks-inquiry-form .kf-consent input[type="checkbox"] {
    accent-color: #087c78;
    width: 19px;
    height: 19px;
    vertical-align: middle;
    margin-right: 8px;
}

.ks-inquiry-form .kf-disclaimer {
    color: #52676b;
    font-size: 14px;
    margin: 20px 0;
}

.ks-inquiry-form .kf-submit {
    text-align: center;
}

.ks-inquiry-form .kf-submit input[type="submit"],
.ks-inquiry-form .kf-submit button {
    border: 0;
    border-radius: 32px;
    padding: 17px 32px;
    width: 100%;
    max-width: 420px;
    background: #087c78;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.ks-inquiry-form .kf-submit input:disabled,
.ks-inquiry-form .kf-submit button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.ks-inquiry-form .wpcf7-not-valid-tip {
    display: block;
    color: #a72e25;
    font-size: 14px;
    margin-top: 6px;
}

/* ご契約者様情報のグループ：現在のCSS末尾に追記 */
.ks-inquiry-form .kf-policyholder {
    min-width: 0;
    margin: 0 0 28px;
    padding: 24px;
    border: 1px solid #bddbd1;
    border-radius: 14px;
    background: #f4faf7;
}

.ks-inquiry-form .kf-policyholder legend {
    float: none;
    width: auto;
    padding: 0 10px;
    margin: 0;
    color: #075967;
    font-size: 21px;
    font-weight: 700;
}

.ks-inquiry-form .kf-policyholder .kf-field:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .ks-inquiry-form .kf-policyholder {
        padding: 20px 16px;
    }
}


/* パンフレットボタン：現在のCSS末尾に追記 */
.ks .ks-brochure {
    margin-top: 32px;
    text-align: center;
}

.ks .ks-brochure p {
    margin-bottom: 18px;
}

.ks .ks-brochure .ks-brochure-link {
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    padding: 16px 30px;
    border: 2px solid #0a998c;
    border-radius: 40px;
    background: #fff;
    color: #075967;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    text-decoration: none;
}

.ks .ks-brochure .ks-brochure-link:hover {
    background: #eaf8f5;
}

.ks .ks-brochure .ks-brochure-link:focus-visible {
    outline: 3px solid #075967;
    outline-offset: 4px;
}

.ks .ks-brochure .ks-brochure-newtab {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    font-weight: 400;
}