/* Shared layout only. Preserve shogai-fukushi.net's original blue palette. */
.sfnet-migration {
    --sfnet-brand: #5c9fb8;
    --sfnet-accent: #5c9fb8;
    --sfnet-ink: #333333;
    --sfnet-border: #c2dfed;
    --sfnet-soft: #f4fbff;
    --sfnet-radius: 14px;
    color: var(--sfnet-ink);
}
.sfnet-migration .sfnet-contact { display: flex; align-items: center; justify-content: center; gap: 22px; text-align: left; }
.sfnet-migration .sfnet-contact__label { display: block; font-size: .76rem; font-weight: 700; }
.sfnet-migration .sfnet-contact__phone { display: block; color: var(--sfnet-brand); font-size: 1.8rem; font-weight: 800; line-height: 1.4; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sfnet-migration .sfnet-contact small { display: block; font-size: .75rem; }
.sfnet-migration .sfnet-button { display: inline-flex; align-items: center; justify-content: center; padding: 15px 24px; min-height: 48px; border-radius: 8px; background: #5c9fb8; color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 4px 12px rgb(92 159 184 / 12%); }
.sfnet-migration .sfnet-button:is(:hover, :focus-visible) { background: #3c95c1; color: #fff; }
.sfnet-migration a:focus-visible { outline: 3px solid #5c9fb8; outline-offset: 4px; }
.sfnet-migration.home .l-mainContent { width: 100%; }
.sfnet-migration.home .l-content { max-width: 1200px; }
.sfnet-migration .sfnet-hero { margin: 0 auto clamp(32px, 5vw, 56px); max-width: 1200px; background: var(--sfnet-soft); overflow: hidden; border-radius: 0 0 14px 14px; }
.sfnet-migration .sfnet-hero picture, .sfnet-migration .sfnet-hero img { display: block; width: 100%; height: auto; }
.sfnet-migration .post_content { background: #fff; background-image: none; color: var(--sfnet-ink); font-size: 1rem; line-height: 1.9; overflow-wrap: break-word; }
.sfnet-migration .post_content :is(p, li, dd) { line-height: 1.9; }
.sfnet-migration .post_content > p { margin-block: 0 1.65em; }
.sfnet-migration .post_content :is(h2, h3, h4) { clear: both; color: var(--sfnet-brand); line-height: 1.55; overflow-wrap: anywhere; }
.sfnet-migration .post_content h2 { margin: clamp(42px, 7vw, 72px) 0 28px; padding: 17px 22px; border: 0; border-left: 5px solid var(--sfnet-brand); border-radius: 0 8px 8px 0; background: var(--sfnet-soft); font-size: clamp(1.3rem, 2.2vw, 1.65rem); box-shadow: none; }
.sfnet-migration .post_content h2::before, .sfnet-migration .post_content h2::after { display: none; }
.sfnet-migration.home .post_content > h2:first-child { margin-top: 0; padding: 0 0 24px; border-left: 0; border-bottom: 2px solid var(--sfnet-border); border-radius: 0; background: #fff; text-align: center; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.sfnet-migration.home .post_content > h2:first-child .small { display: block; margin-top: .7em; font-size: .56em; font-weight: 500; }
.sfnet-migration .post_content h3 { margin: 42px 0 22px; padding: 8px 0 12px; border: 0; border-bottom: 2px solid var(--sfnet-border); background: none; font-size: clamp(1.13rem, 2vw, 1.35rem); }
.sfnet-migration .post_content h4 { margin: 30px 0 16px; padding: 0 0 0 12px; border: 0; border-left: 3px solid var(--sfnet-accent); background: none; font-size: 1.1rem; }
.sfnet-migration .post_content :is(ul, ol) { margin: 1.4em 0 1.8em; padding-left: 1.8em; }
.sfnet-migration .post_content li { margin-block: .5em; padding-left: .15em; }
.sfnet-migration .post_content li::marker { color: var(--sfnet-brand); font-weight: 700; }
.sfnet-migration .post_content table { border: 1px solid var(--sfnet-border); border-collapse: collapse; font-size: .95em; line-height: 1.7; }
.sfnet-migration .post_content table :is(th, td) { padding: 15px 18px; border: 1px solid var(--sfnet-border); vertical-align: top; }
.sfnet-migration .post_content table th { background: #c2dfed; color: #333333; }
.sfnet-migration .post_content .wpcf7 { margin: 32px auto; padding: clamp(20px, 4vw, 36px); border: 1px solid var(--sfnet-border); border-radius: var(--sfnet-radius); background: #f4fbff; }
.sfnet-migration .post_content .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], textarea, select) { max-width: 100%; padding: 12px; border: 1px solid #c2dfed; border-radius: 5px; background: #fff; color: var(--sfnet-ink); }
.sfnet-migration .post_content .wpcf7 input[type="submit"] { padding: 14px 32px; border: 0; border-radius: 8px; background: var(--sfnet-brand); color: #fff; font-weight: 700; cursor: pointer; }
.sfnet-migration .sfnet-sideCard { margin-bottom: 26px; padding: 20px; border: 1px solid var(--sfnet-border); border-radius: 10px; background: #fff; }
.sfnet-migration .sfnet-sideCard .sfnet-contact { flex-direction: column; align-items: stretch; gap: 14px; }
.sfnet-migration .sfnet-sideCard .sfnet-contact__phone { font-size: 1.4rem; }
.sfnet-migration .sfnet-sideCard ul { list-style: none; padding: 0; margin: 0; }
.sfnet-migration .sfnet-sideCard li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--sfnet-border); font-size: .9rem; line-height: 1.6; }
@media (max-width: 959px) {
    .sfnet-migration .sfnet-header .l-header__inner { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 0 8px; padding: 12px 16px; min-height: 72px; }
    .sfnet-migration .sfnet-header .l-header__logo { grid-column: 2; grid-row: 1; max-width: none; width: 100%; margin: 0; padding: 0; }
    .sfnet-migration .sfnet-header .c-headLogo { height: auto; min-height: 48px; justify-content: center; }
    .sfnet-migration .sfnet-header .c-headLogo__link { font-size: clamp(14px, 2.4vw, 18px); line-height: 1.5; text-align: center; }
    .sfnet-migration .sfnet-header .l-header__menuBtn { grid-column: 1; grid-row: 1; }
    .sfnet-migration .sfnet-header .l-header__customBtn { grid-column: 3; grid-row: 1; }
    .sfnet-migration .sfnet-header :is(.l-header__menuBtn, .l-header__customBtn) { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; }
    .sfnet-migration .sfnet-header .c-iconBtn { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 48px; min-height: 48px; }
    .sfnet-migration .sfnet-header .c-iconBtn__label { font-size: 10px; white-space: nowrap; }
    .sfnet-migration .sfnet-header__contact { display: none; }
    .sfnet-migration .sfnet-header .l-header__gnav { display: none; }
    .sfnet-migration .post_content { font-size: 16px; line-height: 1.85; }
}
@media (max-width: 599px) {
    .sfnet-migration .post_content h2 { padding: 14px 15px; margin-top: 40px; }
    .sfnet-migration .post_content :is(ul, ol) { padding-left: 1.55em; }
    .sfnet-migration .sfnet-contact { flex-direction: column; gap: 16px; text-align: center; }
    .sfnet-migration .post_content .wpcf7 { padding: 18px 14px; }
    .sfnet-migration .post_content table :is(th, td) { padding: 12px; }
}

/* Footer (v0.3.0): dark, structured, four columns. Replaces SWELL footer widgets/menu/copyright. */
.sfnet-migration .l-footer { background: #17384a; color: rgba(255,255,255,.82); }
.sfnet-migration .l-footer__foot > .l-container { display: flex; flex-direction: column; }
.sfnet-migration .l-footer__foot .copyright { order: 2; margin: clamp(40px, 5vw, 56px) 0 0; padding: 18px 0 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); font-size: .75rem; text-align: center; }
.sfnet-migration .l-footer__foot { padding: 0; }
.sfnet-migration .sfnet-foot { padding: clamp(48px, 6vw, 72px) 0 0; text-align: left; font-size: .9rem; line-height: 1.8; }
.sfnet-migration .sfnet-foot__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.25fr; gap: 40px 44px; }
.sfnet-migration .sfnet-foot a { color: inherit; text-decoration: none; }
.sfnet-migration .sfnet-foot a:is(:hover, :focus-visible) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sfnet-migration .sfnet-foot p { margin: 0; }
.sfnet-migration .sfnet-foot__tagline { margin-bottom: 8px !important; font-size: .75rem; letter-spacing: .02em; color: #9ccbdc; white-space: nowrap; }
.sfnet-migration .sfnet-foot__name { margin-bottom: 22px !important; color: #fff; font-size: 1.1rem; font-weight: 700; line-height: 1.6; }
.sfnet-migration .sfnet-foot__tel span, .sfnet-migration .sfnet-foot__tel small { display: block; font-size: .75rem; }
.sfnet-migration .sfnet-foot__tel span { color: #9ccbdc; }
.sfnet-migration .sfnet-foot__tel a { display: block; color: #fff; font-size: 1.6rem; font-weight: 700; line-height: 1.4; letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sfnet-migration .sfnet-foot .sfnet-foot__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 18px; padding: 10px 22px; border: 1px solid rgba(255,255,255,.55); border-radius: 6px; color: #fff; font-size: .88rem; font-weight: 700; }
.sfnet-migration .sfnet-foot .sfnet-foot__btn:is(:hover, :focus-visible) { background: #fff; color: #17384a; text-decoration: none; }
.sfnet-migration .sfnet-foot__head { margin-bottom: 14px !important; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.16); color: #9ccbdc; font-size: .8rem; font-weight: 700; letter-spacing: .08em; }
.sfnet-migration .sfnet-foot ul { margin: 0; padding: 0; list-style: none; }
.sfnet-migration .sfnet-foot li { margin: 0 0 8px; padding: 0; }
.sfnet-migration .sfnet-foot__office { margin: 0; }
.sfnet-migration .sfnet-foot__office dt { margin-top: 14px; color: #fff; font-weight: 700; }
.sfnet-migration .sfnet-foot__office dt:first-child { margin-top: 0; }
.sfnet-migration .sfnet-foot__office dd { margin: 2px 0 0; font-size: .85rem; line-height: 1.7; }
.sfnet-migration .sfnet-foot__area { margin-top: 16px !important; color: #9ccbdc; font-size: .8rem; }
@media (min-width: 960px) and (max-width: 1100px) { .sfnet-migration .sfnet-foot__tagline { font-size: .7rem; } }
@media (max-width: 959px) { .sfnet-migration .sfnet-foot__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .sfnet-migration .sfnet-foot__inner { grid-template-columns: 1fr; gap: 32px; } .sfnet-migration .sfnet-foot { padding-top: 44px; } }

/* Header (v0.3.1): white, navy accents, no info bar. */
.sfnet-migration .sfnet-header { background: #fff; border-top: 3px solid #17384a; border-bottom: 1px solid #e3ecf0; box-shadow: none; }
.sfnet-migration .sfnet-header .l-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; max-width: 1200px; margin-inline: auto; padding: 20px 24px 0; }
.sfnet-migration .sfnet-header .l-header__logo { flex: 1 1 360px; min-width: 0; width: auto; order: 1; margin: 0; padding: 0; text-align: left; }
.sfnet-migration .sfnet-logo-sub { margin: 0 0 2px; color: #5c7a88; font-size: .78rem; font-weight: 500; letter-spacing: .06em; }
.sfnet-migration .sfnet-header .c-headLogo { justify-content: flex-start; margin: 0; }
.sfnet-migration .sfnet-header .c-headLogo__link { color: #17384a; font-size: clamp(20px, 1.9vw, 26px); font-weight: 700; letter-spacing: .03em; line-height: 1.4; white-space: normal; }
.sfnet-migration .sfnet-header__contact { flex: 0 1 auto; order: 2; }
.sfnet-migration .sfnet-header .sfnet-contact { gap: 24px; }
.sfnet-migration .sfnet-header .sfnet-contact__label { color: #5c7a88; font-size: .72rem; font-weight: 500; letter-spacing: .04em; }
.sfnet-migration .sfnet-header .sfnet-contact__phone { color: #17384a; font-size: 1.6rem; font-weight: 700; letter-spacing: .02em; line-height: 1.3; }
.sfnet-migration .sfnet-header .sfnet-contact small { color: #5c7a88; font-size: .72rem; }
.sfnet-migration .sfnet-header .sfnet-button { min-height: 46px; padding: 12px 24px; border-radius: 4px; background: #17384a; box-shadow: none; font-size: .92rem; letter-spacing: .04em; }
.sfnet-migration .sfnet-header .sfnet-button:is(:hover, :focus-visible) { background: #24546d; }
.sfnet-migration .sfnet-header .l-header__gnav { flex: 1 0 100%; order: 5; width: 100%; margin: 6px 0 0; border-top: 1px solid #e3ecf0; }
.sfnet-migration .sfnet-header .c-gnav { justify-content: center; background: transparent; color: #17384a; border-radius: 0; }
.sfnet-migration .sfnet-header .c-gnav > li > a { position: relative; padding: 15px 22px; color: #17384a; font-size: .95rem; font-weight: 600; letter-spacing: .04em; }
.sfnet-migration .sfnet-header .c-gnav > li > a::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 8px; width: auto; height: 2px; transform-origin: center; background: #5c9fb8; transform: scaleX(0); transition: transform .2s; }
.sfnet-migration .sfnet-header .c-gnav > li > a:is(:hover, :focus-visible), .sfnet-migration .sfnet-header .c-gnav > .current-menu-item > a { background: transparent; color: #17384a; }
.sfnet-migration .sfnet-header .c-gnav > li > a:is(:hover, :focus-visible)::after, .sfnet-migration .sfnet-header .c-gnav > .current-menu-item > a::after { transform: scaleX(1); }
.sfnet-migration .sfnet-header .l-header__gnav, .sfnet-migration .l-fixHeader__gnav { background: transparent !important; color: #17384a; }
.sfnet-migration .l-fixHeader { border-top: 3px solid #17384a; background: rgba(255,255,255,.97); }
.sfnet-migration .l-fixHeader .c-headLogo__link { color: #17384a; font-weight: 700; }
.sfnet-migration .l-fixHeader .c-gnav > li > a { color: #17384a; font-weight: 600; }
@media (max-width: 959px) {
    .sfnet-migration .sfnet-header .l-header__inner { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 0 8px; padding: 10px 12px; min-height: 64px; }
    .sfnet-migration .sfnet-logo-sub { display: none; }
    .sfnet-migration .sfnet-header .l-header__logo { grid-column: 2; grid-row: 1; flex: none; }
    .sfnet-migration .sfnet-header .c-headLogo { justify-content: center; }
    .sfnet-migration .sfnet-header .c-headLogo__link { font-size: clamp(14px, 3.9vw, 18px); letter-spacing: 0; text-align: center; text-wrap: balance; }
    .sfnet-migration .sfnet-header .c-iconBtn { color: #17384a; }
}

/* ===== v0.4 (body.sfnet-v4): logo header, brand colors, fonts ===== */
.sfnet-v4 { --sfnet-navy: #132e5b; --sfnet-blue: #3263b6; --sfnet-gray: #829fbc; --sfnet-pale: #c0cde2; --sfnet-sub: #5d6f8a; --swl-font_family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "YuGothic Medium", YuGothic, Meiryo, sans-serif; font-family: var(--swl-font_family); }
.sfnet-v4 .sfnet-header { border-top: 0; border-bottom: 1px solid #e4e9f1; }
.sfnet-v4 .sfnet-header::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--sfnet-navy) 0 46%, var(--sfnet-blue) 46% 72%, var(--sfnet-gray) 72% 88%, var(--sfnet-pale) 88% 100%); }
.sfnet-v4 .sfnet-header .l-header__inner { padding: 20px 24px 0; gap: 12px 32px; }
.sfnet-v4 .sfnet-header .l-header__logo { flex: 1 1 540px; }
.sfnet-v4 .sfnet-brand { display: inline-flex; align-items: center; color: var(--sfnet-navy); text-decoration: none; }
.sfnet-v4 .sfnet-brand__logo { display: block; width: 194px; height: auto; }
.sfnet-v4 .sfnet-brand__text { display: flex; flex-direction: column; margin-left: 22px; padding-left: 22px; border-left: 1px solid #d5deea; }
.sfnet-v4 .sfnet-brand__sub { color: var(--sfnet-sub); font-size: .74rem; letter-spacing: .14em; line-height: 1.5; }
.sfnet-v4 .sfnet-brand__name { margin: 2px 0 0; padding: 0; border: 0; background: none; color: var(--sfnet-navy); font-family: "Shippori Mincho B1", "Yu Mincho", serif; font-size: clamp(20px, 1.8vw, 25px); font-weight: 700; letter-spacing: .06em; line-height: 1.35; }
.sfnet-v4 .sfnet-brand:is(:hover, :focus-visible) .sfnet-brand__name { color: var(--sfnet-blue); }
.sfnet-v4 .sfnet-header .sfnet-contact { gap: 20px; }
.sfnet-v4 .sfnet-header .sfnet-contact__label, .sfnet-v4 .sfnet-header .sfnet-contact small { color: var(--sfnet-sub); letter-spacing: .08em; }
.sfnet-v4 .sfnet-header .sfnet-contact__phone { display: flex; align-items: center; gap: 6px; color: var(--sfnet-navy); font-size: 1.62rem; font-weight: 700; letter-spacing: .04em; }
.sfnet-v4 .sfnet-header .sfnet-contact__phone::before { content: ""; flex: none; width: .78em; height: .78em; background: var(--sfnet-blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.sfnet-v4 .sfnet-header .sfnet-button { flex-direction: column; gap: 3px; min-height: 58px; padding: 9px 26px; border-radius: 4px; background: var(--sfnet-navy); box-shadow: none; font-size: .95rem; letter-spacing: .08em; line-height: 1.3; }
.sfnet-v4 .sfnet-header .sfnet-button:is(:hover, :focus-visible) { background: var(--sfnet-blue); }
.sfnet-v4 .sfnet-button__label { display: inline-flex; align-items: center; gap: 8px; }
.sfnet-v4 .sfnet-button__label::before { content: ""; width: 1.05em; height: 1.05em; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.sfnet-v4 .sfnet-button__sub { font-size: .68rem; font-weight: 500; letter-spacing: .08em; opacity: .85; }
.sfnet-v4 .sfnet-header .l-header__gnav { margin-top: 18px; border-top: 1px solid #edf1f6; }
.sfnet-v4 .sfnet-header .c-gnav > li > a { padding: 16px 28px; color: var(--sfnet-navy); font-size: .93rem; font-weight: 500; letter-spacing: .12em; }
.sfnet-v4 .sfnet-header .c-gnav > li > a::after { left: 28px; right: 28px; bottom: 9px; background: var(--sfnet-blue); }
.sfnet-v4 .sfnet-header .c-gnav > li + li > a::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: #dbe3ee; }
.sfnet-v4 .l-fixHeader { border-top: 3px solid var(--sfnet-navy); }
.sfnet-v4 .l-fixHeader .c-headLogo__link { color: var(--sfnet-navy); font-family: "Shippori Mincho B1", "Yu Mincho", serif; font-size: clamp(15px, 1.5vw, 19px); white-space: nowrap; }
.sfnet-v4 .l-fixHeader .c-gnav > li > a { color: var(--sfnet-navy); font-weight: 500; }
.sfnet-v4 .post_content :is(h2, h3), .sfnet-v4 .c-postTitle__ttl, .sfnet-v4 .l-articleBottom__title, .sfnet-v4 .c-pageTitle { font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", "Noto Serif CJK JP", serif; font-weight: 700; letter-spacing: .04em; }
.sfnet-v4 .l-footer { background: var(--sfnet-navy); }
.sfnet-v4 .sfnet-foot__logo { display: block; width: 194px; height: auto; margin-bottom: 16px; }
.sfnet-v4 .sfnet-foot__name { font-family: "Shippori Mincho B1", "Yu Mincho", serif; }
.sfnet-v4 .sfnet-foot .sfnet-foot__btn:is(:hover, :focus-visible) { color: var(--sfnet-navy); }
@media (max-width: 959px) {
    .sfnet-v4 .sfnet-header::before { height: 3px; }
    .sfnet-v4 .sfnet-header .l-header__inner { padding: 8px 12px; min-height: 66px; }
    .sfnet-v4 .sfnet-brand { flex-direction: column; justify-content: center; gap: 3px; width: 100%; }
    .sfnet-v4 .sfnet-brand__logo { width: 84px; }
    .sfnet-v4 .sfnet-brand__text { align-items: center; margin: 0; padding: 0; border: 0; }
    .sfnet-v4 .sfnet-brand__sub { display: none; }
    .sfnet-v4 .sfnet-brand__name { margin: 0; font-size: clamp(13px, 3.9vw, 18px); letter-spacing: 0; white-space: nowrap; }
    .sfnet-v4 .sfnet-header .c-iconBtn { color: var(--sfnet-navy); }
}

/* v0.4.1: SP fixed contact bar (tap-to-call / contact form) */
.sfnet-spbar { display: none; }
@media (max-width: 959px) {
    #body_wrap { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    .sfnet-spbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 98; display: flex; padding-bottom: env(safe-area-inset-bottom); background: #132e5b; border-top: 1px solid rgba(255, 255, 255, .35); box-shadow: 0 -4px 14px rgba(19, 46, 91, .18); }
    .sfnet-spbar__btn { flex: 1 1 50%; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 64px; padding: 8px 10px; color: #fff !important; text-decoration: none !important; line-height: 1.25; -webkit-tap-highlight-color: transparent; }
    .sfnet-spbar__btn--tel { background: #132e5b; }
    .sfnet-spbar__btn--tel .sfnet-spbar__main { letter-spacing: 0; }
    .sfnet-spbar__btn--tel { gap: 7px; }
    .sfnet-spbar__btn--tel .sfnet-spbar__icon { width: 20px; height: 20px; }
    .sfnet-spbar__btn--mail { background: #3263b6; border-left: 1px solid rgba(255, 255, 255, .22); }
    .sfnet-spbar__btn:active { filter: brightness(1.15); }
    .sfnet-spbar__icon { flex: none; width: 22px; height: 22px; background: #fff; }
    .sfnet-spbar__icon--tel { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat; }
    .sfnet-spbar__icon--mail { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E") center / contain no-repeat; }
    .sfnet-spbar__txt { display: flex; flex-direction: column; min-width: 0; }
    .sfnet-spbar__sub { font-size: 11px; opacity: .9; letter-spacing: .02em; white-space: nowrap; }
    .sfnet-spbar__main { font-size: 16px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
    .p-fixBtnWrap { bottom: calc(64px + 16px + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 374px) {
    .sfnet-spbar__btn { gap: 6px; padding: 8px 6px; }
    .sfnet-spbar__icon { width: 20px; height: 20px; }
    .sfnet-spbar__main { font-size: 15px; }
    .sfnet-spbar__sub { font-size: 10px; }
}

/* v0.4.2: 処遇改善加算 CTA + series navigation */
.sfnet-kasan-cta { margin: 3em 0 2em; padding: 28px 24px 24px; border: 2px solid #3263b6; border-radius: 14px; background: linear-gradient(180deg, #f3f7fd 0%, #fff 70%); }
.sfnet-kasan-cta__eyebrow { margin: 0 0 .4em !important; color: #3263b6; font-size: .82em; font-weight: 700; letter-spacing: .06em; }
.sfnet-kasan-cta__title { margin: 0 0 .8em !important; color: #132e5b; font-size: 1.25em; font-weight: 700; line-height: 1.5; }
.sfnet-kasan-cta__lead { margin: 0 0 .8em !important; font-size: .95em; }
.sfnet-kasan-cta__list { margin: 0 0 1.4em !important; padding: 0 !important; list-style: none !important; }
.sfnet-kasan-cta__list li { position: relative; margin: 0 0 .45em !important; padding-left: 1.7em !important; font-size: .95em; list-style: none; }
.sfnet-kasan-cta__list li::before { content: ""; position: absolute; left: .2em; top: .45em; width: .7em; height: .38em; border-left: 3px solid #3263b6; border-bottom: 3px solid #3263b6; transform: rotate(-45deg); }
.sfnet-kasan-cta__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sfnet-kasan-cta__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 64px; padding: 10px 12px; border-radius: 10px; color: #fff !important; text-decoration: none !important; line-height: 1.35; text-align: center; transition: filter .2s; }
.sfnet-kasan-cta__btn:hover { filter: brightness(1.1); }
.sfnet-kasan-cta__btn span { font-size: 1.05em; font-weight: 700; letter-spacing: .03em; }
.sfnet-kasan-cta__btn small { font-size: .74em; opacity: .9; }
.sfnet-kasan-cta__btn--mail { background: #3263b6; }
.sfnet-kasan-cta__btn--tel { background: #132e5b; }
.sfnet-kasan-series { margin: 0 0 2em; padding: 22px 24px 10px; border: 1px solid #c0cde2; border-radius: 14px; background: #fff; }
.sfnet-kasan-series__title { margin: 0 0 .9em !important; padding-bottom: .5em; border-bottom: 2px solid #132e5b; color: #132e5b; font-weight: 700; }
.sfnet-kasan-series__group { margin-bottom: .9em; }
.sfnet-kasan-series__step { margin: 0 0 .3em !important; color: #829fbc; font-size: .8em; font-weight: 700; letter-spacing: .06em; }
.sfnet-kasan-series ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.sfnet-kasan-series li { margin: 0 !important; padding: .35em 0 .35em 1.2em !important; border-bottom: 1px dashed #dfe6f1; font-size: .92em; list-style: none; position: relative; }
.sfnet-kasan-series li::before { content: ""; position: absolute; left: .1em; top: 1em; width: .4em; height: .4em; border-top: 2px solid #3263b6; border-right: 2px solid #3263b6; transform: rotate(45deg); }
.sfnet-kasan-series li a { color: #26354f; text-decoration: none; }
.sfnet-kasan-series li a:hover { color: #3263b6; text-decoration: underline; }
.sfnet-kasan-series li.is-current { color: #3263b6; font-weight: 700; }
@media (max-width: 599px) {
    .sfnet-kasan-cta { padding: 22px 16px 18px; }
    .sfnet-kasan-cta__title { font-size: 1.12em; }
    .sfnet-kasan-cta__title br { display: none; }
    .sfnet-kasan-cta__btns { grid-template-columns: 1fr; }
    .sfnet-kasan-series { padding: 18px 16px 6px; }
}

/* v0.4.3: 処遇改善加算サポート page */
.sfnet-svc-lead { font-size: 1.05em; line-height: 1.9; }
.sfnet-svc-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 2.5em; }
.sfnet-svc-badges span { padding: 6px 14px; border-radius: 30px; background: #132e5b; color: #fff; font-size: .82em; font-weight: 700; letter-spacing: .03em; }
.sfnet-svc-badges span:first-child { background: #3263b6; }
.sfnet-svc-check { margin: 0 0 2em !important; padding: 20px 22px !important; border-radius: 12px; background: #f3f7fd; list-style: none !important; }
.sfnet-svc-check li { position: relative; margin: 0 0 .5em !important; padding-left: 1.8em !important; list-style: none; }
.sfnet-svc-check li::before { content: ""; position: absolute; left: .2em; top: .5em; width: .75em; height: .4em; border-left: 3px solid #3263b6; border-bottom: 3px solid #3263b6; transform: rotate(-45deg); }
.sfnet-svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 1em; }
.sfnet-svc-item { padding: 18px 18px 14px; border: 1px solid #c0cde2; border-radius: 12px; background: #fff; }
.sfnet-svc-item p { margin: 0 !important; font-size: .92em; line-height: 1.7; }
.sfnet-svc-item .sfnet-svc-item__no { color: #829fbc; font-size: .8em; font-weight: 700; letter-spacing: .1em; }
.sfnet-svc-item .sfnet-svc-item__title { margin: .2em 0 .4em !important; color: #132e5b; font-size: 1.02em; font-weight: 700; }
.sfnet-svc-note { color: #5b6b82; font-size: .85em; }
.sfnet-svc-price, .sfnet-svc-roles { width: 100%; }
.sfnet-svc-price th, .sfnet-svc-roles th { width: 30%; background: #132e5b !important; color: #fff !important; font-weight: 700; vertical-align: middle; text-align: left; }
.sfnet-svc-price th small, .sfnet-svc-roles th small { color: #c0cde2 !important; font-weight: 400; }
.sfnet-svc-price td, .sfnet-svc-roles td { background: #fff; line-height: 1.75; }
.sfnet-svc-price__num { display: inline-block; margin-bottom: .2em; color: #3263b6; font-size: 1.35em; font-weight: 700; letter-spacing: .02em; }
.sfnet-svc-flow { counter-reset: svcflow; margin: 0 0 2em !important; padding: 0 !important; list-style: none !important; }
.sfnet-svc-flow li { position: relative; counter-increment: svcflow; margin: 0 0 12px !important; padding: 14px 16px 14px 62px !important; border: 1px solid #c0cde2; border-radius: 12px; background: #fff; list-style: none; line-height: 1.7; }
.sfnet-svc-flow li::before { content: counter(svcflow); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: #3263b6; color: #fff; font-weight: 700; text-align: center; line-height: 32px; }
.sfnet-svc-links li { margin-bottom: .3em; }
.sfnet-svc-final { margin: 3em 0 1em; padding: 26px 22px 22px; border: 2px solid #3263b6; border-radius: 14px; background: linear-gradient(180deg, #f3f7fd 0%, #fff 70%); text-align: center; }
.sfnet-svc-final p { margin: 0 0 1em !important; }
.sfnet-svc-final .sfnet-svc-final__title { color: #132e5b; font-size: 1.2em; font-weight: 700; }
@media (max-width: 599px) {
    .sfnet-svc-grid { grid-template-columns: 1fr; }
    .sfnet-svc-price th, .sfnet-svc-roles th, .sfnet-svc-price td, .sfnet-svc-roles td { display: block; width: 100%; }
    .sfnet-svc-final { padding: 22px 16px 18px; }
}

.sfnet-kasan-cta__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4em .8em; white-space: nowrap; margin: 0 0 12px; padding: 14px 16px; border: 2px solid #3263b6; border-radius: 10px; background: #fff; color: #3263b6 !important; font-weight: 700; text-decoration: none !important; transition: background .2s; }
.sfnet-kasan-cta__more::after { content: ""; width: .5em; height: .5em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.sfnet-kasan-cta__more small { padding: 2px 8px; border-radius: 20px; background: #3263b6; color: #fff; font-size: .72em; }
.sfnet-kasan-cta__more:hover { background: #f3f7fd; }
@media (max-width: 599px) { .sfnet-kasan-cta__more::after { display: none; } }
/* Classic-editor autop can insert <br> between buttons; keep the 2-column grid intact. */
.sfnet-kasan-cta__btns > br, .sfnet-kasan-cta__btns > p:empty { display: none; }

/* v0.4.4 運営基準ページ */
.sfnet-unei-point{border:2px solid #3263b6;border-radius:10px;padding:6px 20px 10px;margin:1.5em 0;background:#f7faff}
.sfnet-unei-point .sfnet-unei-point__ttl{font-weight:700;color:#3263b6;margin:10px 0 4px !important}
.sfnet-unei-point ul{margin-bottom:0}
.sfnet-unei-note{font-size:.88em;color:#5a6780}

@media (max-width:599px){
  .postid-119 .post_content table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .postid-119 .post_content th,.postid-119 .post_content td{min-width:9.5em;font-size:.88em;line-height:1.6}
  .postid-119 .post_content th:first-child,.postid-119 .post_content td:first-child{min-width:7em}
}

/* v0.4.5 人員基準ページの表（SP） */
@media (max-width:599px){
  .postid-413 .post_content table,.postid-438 .post_content table,.postid-445 .post_content table,.postid-456 .post_content table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .postid-413 .post_content th,.postid-438 .post_content th,.postid-445 .post_content th,.postid-456 .post_content th,.postid-413 .post_content td,.postid-438 .post_content td,.postid-445 .post_content td,.postid-456 .post_content td{min-width:8em;font-size:.88em;line-height:1.6}
}

/* v0.4.6 常勤換算・設備基準ページの表（SP） */
@media (max-width:599px){
  .postid-116 .post_content table,.postid-461 .post_content table,.postid-535 .post_content table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .postid-116 .post_content th,.postid-461 .post_content th,.postid-535 .post_content th,.postid-116 .post_content td,.postid-461 .post_content td,.postid-535 .post_content td{min-width:8em;font-size:.88em;line-height:1.6}
}
