/* Homepage redesign scoped to body.hp-redesign. */
:root {
    --hp-green: #27642f;
    --hp-green-dark: #16461f;
    --hp-green-soft: #eef7e9;
    --hp-green-mid: #4b8d3f;
    --hp-orange: #e86619;
    --hp-orange-dark: #c94e0d;
    --hp-orange-cta-top: #c84a0a;
    --hp-orange-cta-bottom: #b94308;
    --hp-green-cta-top: #35772e;
    --hp-line-cta: #04833a;
    --hp-cream: #fffaf0;
    --hp-cream-2: #fff4df;
    --hp-line: #e7d8b8;
    --hp-gold: #caa64a;
    --hp-text: #2f342a;
    --hp-muted: #68715d;
    --hp-white: #ffffff;
    --hp-shadow: 0 10px 28px rgba(42, 73, 32, 0.12);
    --hp-shadow-card: 0 7px 16px rgba(89, 63, 22, 0.075);
    --hp-shadow-raised: 0 10px 0 rgba(0, 0, 0, 0.10), 0 16px 28px rgba(77, 49, 15, 0.16);
    --hp-radius: 8px;
    --hp-font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --hp-font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
    --hp-leading-body: 1.65;
    --hp-leading-copy: 1.72;
    --hp-leading-compact: 1.45;
    --hp-leading-hero: 1.14;
}

body.hp-redesign {
    font-family: var(--hp-font-sans);
    line-height: var(--hp-leading-body);
    padding-top: 84px;
    padding-bottom: 0;
    background: var(--hp-cream);
    color: var(--hp-text);
    letter-spacing: 0;
    overflow-x: hidden;
    max-width: 100vw;
}

.hp-redesign h1,
.hp-redesign h2,
.hp-redesign h3 {
    color: var(--hp-green-dark);
    letter-spacing: 0;
}

.hp-redesign h1,
.hp-redesign h2 {
    font-family: var(--hp-font-serif);
    font-weight: 700;
}

.hp-redesign h3 {
    font-family: var(--hp-font-sans);
    font-weight: 700;
}

.hp-redesign p {
    color: var(--hp-text);
}

.hp-redesign img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hp-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--hp-line);
    box-shadow: 0 4px 16px rgba(44, 78, 31, 0.08);
    backdrop-filter: blur(8px);
}

.hp-header-inner {
    max-width: 1360px;
    height: 84px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hp-logo {
    color: var(--hp-green-dark);
    text-decoration: none;
    white-space: nowrap;
    min-width: 0;
    line-height: 1.25;
}

.hp-logo-main {
    display: block;
    font-family: var(--hp-font-serif);
    font-size: 1.78rem;
    font-weight: 700;
    letter-spacing: 0;
    font-feature-settings: "palt" 1;
}

.hp-logo-sub {
    display: block;
    margin-top: 2px;
    font-size: 0.82rem;
    color: var(--hp-green-dark);
    font-weight: 700;
}

.hp-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.hp-nav a {
    color: #1f2f1b;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    white-space: nowrap;
}

.hp-nav a:hover {
    color: var(--hp-orange);
}

.hp-header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hp-phone-pill,
.hp-icon-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    white-space: nowrap;
}

.hp-phone-pill {
    min-width: 174px;
    min-height: 56px;
    flex-direction: column;
    border: 2px solid var(--hp-green);
    color: var(--hp-green-dark);
    line-height: 1.2;
    background: #fff;
}

.hp-phone-pill strong {
    font-size: 1.08rem;
    color: var(--hp-green-dark);
}

.hp-phone-pill span {
    font-size: 0.72rem;
    color: var(--hp-green);
}

.hp-icon-pill {
    width: 62px;
    height: 56px;
    color: #fff !important;
    flex-direction: column;
    gap: 2px;
    font-size: 0.66rem;
}

.hp-icon-pill i {
    font-size: 1.08rem;
}

.hp-icon-line {
    background: var(--hp-line-cta);
}

.hp-icon-mail {
    background: var(--hp-orange);
}

.hp-menu-button {
    display: none;
    width: 52px;
    height: 52px;
    border: 0;
    background: transparent;
    color: var(--hp-green-dark);
    font-weight: 700;
    cursor: pointer;
}

.hp-menu-button i {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.hp-menu-button span {
    display: block;
    margin-top: 2px;
    font-size: 0.62rem;
}

.hp-mobile-nav {
    display: none;
    border-top: 1px solid var(--hp-line);
    background: #fff;
    padding: 10px 18px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.hp-mobile-nav.is-open {
    display: grid;
}

.hp-mobile-nav a {
    display: block;
    padding: 12px;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    text-decoration: none;
    color: var(--hp-green-dark);
    font-weight: 700;
    text-align: center;
    background: var(--hp-cream);
}

.hp-section {
    position: relative;
    padding: 30px 18px;
}

.hp-container {
    max-width: 1320px;
    margin: 0 auto;
}

.hp-section-title {
    margin: 0 0 22px;
    text-align: center;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: var(--hp-leading-compact);
    font-feature-settings: "palt" 1;
}

.hp-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #fffaf0 0%, #fffdf8 42%, #f6f8ef 100%);
    border-bottom: 1px solid var(--hp-line);
}

.hp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    min-height: 546px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(560px, 0.94fr) minmax(500px, 1.06fr);
    align-items: center;
    gap: 0;
    overflow: hidden;
}

.hp-hero-copy {
    padding: 34px 0 32px 64px;
    position: relative;
    z-index: 3;
    grid-column: 1 / span 2;
    max-width: 790px;
}

.hp-ribbon {
    position: relative;
    isolation: isolate;
    z-index: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: min(450px, calc(100% - 44px));
    min-height: 0;
    margin: 0 0 14px 8px;
    padding: 7px 34px 8px;
    color: #fff;
    background: linear-gradient(180deg, #347f3e 0%, #2f7538 64%, #27642f 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 50%, 100% 100%, 0 100%, 16px 50%);
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1.32;
    text-align: center;
    text-shadow: 0 1px 0 rgba(22, 70, 31, 0.36);
    white-space: normal;
    box-shadow: 0 7px 13px rgba(39, 100, 47, 0.2);
}

.hp-ribbon > span {
    position: relative;
    z-index: 1;
}

.hp-hero h1 {
    margin: 0;
    color: #2c2b22;
    font-family: var(--hp-font-serif);
    font-size: clamp(2.22rem, 3.62vw, 3.7rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: 0;
    font-feature-settings: "palt" 1;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.75);
}

.hp-hero h1 .hp-orange-text {
    color: var(--hp-orange);
    font-size: 1.12em;
}

.hp-hero h1 .hp-green-text {
    color: var(--hp-green);
    white-space: nowrap;
}

.hp-hero-lead {
    margin: 16px 0 20px;
    font-weight: 700;
    color: #2d3028;
    font-size: 1.04rem;
    line-height: var(--hp-leading-copy);
}

.hp-lead-online::before {
    content: "｜";
}

.hp-stat-row {
    display: flex;
    gap: 20px;
    margin: 20px 0 24px;
}

.hp-stat {
    --hp-stat-bg-w: 142px;
    --hp-stat-bg-h: 124px;
    --hp-stat-laurel-w: 188px;
    --hp-stat-laurel-h: 164px;
    position: relative;
    width: var(--hp-stat-bg-w);
    min-height: var(--hp-stat-bg-h);
    display: grid;
    place-items: center;
    text-align: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.hp-stat::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    width: var(--hp-stat-laurel-w);
    height: var(--hp-stat-laurel-h);
    transform: translate(-50%, -50%);
    pointer-events: none;
    background: rgba(190, 148, 54, 0.7);
    -webkit-mask: url("../images/homepage/decor/stat-laurel.svg") center / contain no-repeat;
    mask: url("../images/homepage/decor/stat-laurel.svg") center / contain no-repeat;
}

.hp-stat::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    width: var(--hp-stat-bg-w);
    height: var(--hp-stat-bg-h);
    transform: translate(-50%, -50%);
    border: 1px solid rgba(202, 166, 74, 0.72);
    border-radius: 50%;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: inset 0 0 0 3px rgba(255, 250, 240, 0.95), 0 8px 18px rgba(85, 70, 32, 0.08);
    pointer-events: none;
}

.hp-stat > div {
    position: relative;
    z-index: 2;
}

.hp-stat small {
    display: block;
    color: var(--hp-green-dark);
    font-weight: 700;
    font-size: 0.74rem;
}

.hp-stat strong {
    display: block;
    color: var(--hp-orange);
    font-family: var(--hp-font-serif);
    font-weight: 700;
    font-size: 1.92rem;
    line-height: 1.05;
}

.hp-stat span {
    display: block;
    color: var(--hp-green);
    font-size: 0.62rem;
    font-weight: 700;
}

.hp-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

.hp-cta-row > * {
    min-width: 0;
}

.hp-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 66px;
    padding: 0 34px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff !important;
    font-weight: 700;
    font-size: 1.08rem;
    line-height: 1.2;
    min-width: 0;
    max-width: 100%;
    box-shadow: var(--hp-shadow-raised);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.hp-btn::after {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 2px;
    opacity: 0.95;
}

.hp-btn-consult {
    padding-left: 18px;
}

.hp-cta-badge {
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #fffdf8;
    color: var(--hp-green);
    border: 2px solid rgba(255, 255, 255, 0.84);
    box-shadow: inset 0 0 0 1px rgba(202, 166, 74, 0.5);
    font-size: 0.68rem;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
}

.hp-cta-badge span {
    display: block;
    white-space: nowrap;
}

.hp-btn-label {
    min-width: 0;
    overflow-wrap: anywhere;
}

.hp-hero .hp-btn-label {
    white-space: nowrap;
}

.hp-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.hp-logo:focus-visible,
.hp-nav a:focus-visible,
.hp-phone-pill:focus-visible,
.hp-icon-pill:focus-visible,
.hp-menu-button:focus-visible,
.hp-mobile-nav a:focus-visible,
.hp-btn:focus-visible,
.hp-card-link:focus-visible,
.hp-chip:focus-visible,
.hp-contact-box:focus-visible,
.hp-footer a:focus-visible,
.hp-sticky-cta a:focus-visible {
    outline: 3px solid var(--hp-green-dark);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(255, 250, 240, 0.92);
}

.hp-btn-orange {
    background: linear-gradient(180deg, var(--hp-orange-cta-top) 0%, var(--hp-orange-cta-bottom) 100%);
}

.hp-btn-green {
    background: linear-gradient(180deg, var(--hp-green-cta-top) 0%, var(--hp-green) 100%);
}

.hp-btn-line {
    background: linear-gradient(180deg, #058b3f 0%, var(--hp-line-cta) 100%);
}

.hp-btn:focus-visible,
.hp-icon-pill:focus-visible,
.hp-sticky-cta a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -6px;
    box-shadow: 0 0 0 4px var(--hp-green-dark), 0 8px 0 rgba(0, 0, 0, 0.12), 0 15px 26px rgba(0, 0, 0, 0.12);
}

.hp-note {
    margin-top: 14px;
    color: var(--hp-muted);
    font-size: 0.76rem;
}

.hp-note span + span::before {
    content: " ";
}

.hp-hero .hp-cta-row {
    flex-wrap: nowrap;
    gap: 12px;
    max-width: 610px;
}

.hp-hero .hp-btn {
    flex: 1 1 0;
    min-height: 64px;
    padding: 0 15px;
    gap: 8px;
    font-size: 1rem;
}

.hp-hero .hp-btn-consult {
    flex-grow: 1.25;
    padding-left: 10px;
}

.hp-hero .hp-cta-badge {
    width: 42px;
    height: 42px;
    font-size: 0.6rem;
}

.hp-hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: 0;
    overflow: hidden;
    pointer-events: none;
}

.hp-hero-photo picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hp-hero-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(255, 250, 240, 0.92) 0%, rgba(255, 250, 240, 0.82) 25%, rgba(255, 250, 240, 0.58) 42%, rgba(255, 250, 240, 0.23) 60%, rgba(255, 250, 240, 0.02) 82%, rgba(255, 250, 240, 0.04) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 250, 240, 0) 58%, rgba(255, 250, 240, 0.24) 100%);
    pointer-events: none;
}

.hp-hero-photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 118px;
    background: linear-gradient(180deg, rgba(255, 250, 240, 0) 0%, rgba(255, 250, 240, 0.32) 100%);
    pointer-events: none;
}

.hp-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hp-speech {
    position: absolute;
    z-index: 2;
    top: clamp(46px, 5.2vw, 72px);
    left: auto;
    right: clamp(400px, 33vw, 520px);
    width: clamp(118px, 10.5vw, 142px);
    height: clamp(90px, 8vw, 106px);
    display: grid;
    place-items: center;
    text-align: center;
    background: rgba(255, 253, 248, 0.94);
    border: 0;
    border-radius: 50%;
    color: var(--hp-green-dark);
    font-weight: 700;
    font-size: clamp(0.72rem, 0.74vw, 0.82rem);
    line-height: 1.55;
    filter: drop-shadow(0 8px 12px rgba(42, 73, 32, 0.13));
}

.hp-speech::after {
    content: "";
    position: absolute;
    left: 44%;
    bottom: -8px;
    width: 22px;
    height: 18px;
    background: rgba(255, 253, 248, 0.94);
    border-radius: 0 0 18px 18px;
    transform: rotate(24deg);
}

.hp-support-strip {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 12px 18px 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 240, 0.98) 100%),
        #fffaf0;
    border-top: 1px solid var(--hp-line);
    border-bottom: 1px solid var(--hp-line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hp-mobile-br {
    display: none;
}

.hp-nowrap {
    white-space: nowrap;
}

.hp-support-message {
    position: relative;
    isolation: isolate;
    z-index: 2;
    display: block;
    max-width: min(980px, 100%);
    margin: 0 auto 12px;
    text-align: center;
    padding: 0 12px;
    color: var(--hp-green-dark);
    background: transparent;
    font-weight: 800;
    font-size: 0.98rem;
    line-height: 1.55;
    letter-spacing: 0;
    border: 0;
    border-radius: 0;
    text-shadow: none;
    box-shadow: none;
}

.hp-support-message > span {
    position: relative;
    z-index: 1;
}

.hp-feature-grid {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    padding: 25px 18px 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(231, 216, 184, 0.96);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 250, 240, 0.96) 100%),
        #fffdf8;
    box-shadow: 0 12px 28px rgba(70, 55, 19, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.78);
}

.hp-feature {
    position: relative;
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 104px;
    padding: 15px 18px;
    border: 0;
    background: transparent;
}

.hp-feature + .hp-feature {
    border-left: 1px solid rgba(231, 216, 184, 0.78);
}

.hp-feature-icon {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    position: relative;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.hp-feature-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hp-feature h3,
.hp-feature p {
    margin: 0;
}

.hp-feature h3 {
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.34;
}

.hp-feature p {
    margin-top: 2px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--hp-muted);
    line-height: 1.5;
}

.hp-concerns {
    background-color: #fffdf8;
}

.hp-concern-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.hp-card {
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow-card);
    overflow: hidden;
}

.hp-concern-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 12px 9px 14px;
}

.hp-concern-card picture img {
    width: 100%;
    height: 124px;
    aspect-ratio: 1 / 0.78;
    object-fit: contain;
    border-radius: 6px;
    background: var(--hp-cream);
}

.hp-concern-card h3 {
    margin: 10px 0 6px;
    color: var(--hp-green-dark);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.34;
    text-align: center;
}

.hp-check-list {
    list-style: none;
    width: 204px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.hp-check-list li {
    position: relative;
    padding-left: 16px;
    color: #3d4438;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
}

.hp-check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.02em;
    color: var(--hp-green);
    font-size: 0.78rem;
}

.hp-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    margin-top: auto;
    padding: 0 18px;
    border: 1px solid var(--hp-line);
    border-radius: 999px;
    color: var(--hp-green-dark);
    background: #fffaf0;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
}

.hp-card-link i {
    flex: 0 0 auto;
}

.hp-services {
    background: linear-gradient(180deg, rgba(255, 244, 223, 0.82) 0%, rgba(255, 250, 240, 1) 100%);
    border-top: 1px solid var(--hp-line);
    border-bottom: 1px solid var(--hp-line);
}

.hp-service-lead {
    max-width: 860px;
    margin: -8px auto 18px;
    color: var(--hp-green-dark);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.72;
    text-align: center;
}

.hp-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 920px;
    margin: 0 auto;
}

.hp-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.hp-service-card img {
    width: 100%;
    height: 172px;
    aspect-ratio: auto;
    object-fit: cover;
}

.hp-service-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px 16px 17px;
    text-align: center;
}

.hp-service-label {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    margin: 0 0 8px;
    padding: 0 12px;
    border: 1px solid rgba(24, 108, 45, 0.26);
    border-radius: 999px;
    background: #f7fbf2;
    color: var(--hp-green);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
}

.hp-service-card h3 {
    margin: 0 0 6px;
    color: var(--hp-green-dark);
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.32;
}

.hp-service-card p {
    margin: 0;
    color: var(--hp-muted);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.48;
}

.hp-service-card .hp-card-link {
    align-self: center;
}

.hp-service-included {
    max-width: 1040px;
    margin: 18px auto 0;
    padding: 16px;
    border: 1px solid rgba(213, 185, 130, 0.58);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.82);
}

.hp-service-included > h3 {
    margin: 0 0 12px;
    color: var(--hp-green-dark);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

.hp-service-support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hp-service-support {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(213, 185, 130, 0.36);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
}

.hp-service-support picture {
    display: block;
    min-width: 0;
}

.hp-service-support img {
    width: 96px;
    height: 72px;
    border-radius: 6px;
    object-fit: cover;
}

.hp-service-support h4 {
    margin: 0 0 4px;
    color: var(--hp-green-dark);
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.38;
}

.hp-service-support p {
    margin: 0;
    color: var(--hp-muted);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.45;
}

.hp-rep-support {
    background: #fffdf8;
}

.hp-rep-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.15fr 0.95fr;
    gap: 22px;
    align-items: stretch;
}

.hp-rep-photo,
.hp-rep-copy,
.hp-support-card {
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    background: #fff;
    box-shadow: var(--hp-shadow);
    overflow: hidden;
}

.hp-rep-photo img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    object-position: 65% center;
}

.hp-rep-copy {
    padding: 24px;
}

.hp-rep-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 2.2vw, 1.95rem);
    line-height: 1.45;
}

.hp-rep-copy p {
    margin: 0 0 16px;
    line-height: 1.8;
}

.hp-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hp-mini {
    padding: 10px;
    background: var(--hp-green-soft);
    border: 1px solid #d6e8ce;
    border-radius: 8px;
    color: var(--hp-green-dark);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.5;
}

.hp-support-card {
    padding: 18px;
}

.hp-support-card h2 {
    margin: 0 0 14px;
    padding: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #65a753 0%, var(--hp-green) 100%);
    color: #fff;
    font-family: var(--hp-font-sans);
    font-weight: 700;
    text-align: center;
    font-size: 1.1rem;
}

.hp-support-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.hp-support-list li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    background: #fffdf8;
}

.hp-support-list i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--hp-green);
    background: var(--hp-green-soft);
    font-size: 1.25rem;
}

.hp-support-list strong {
    display: block;
    color: var(--hp-green-dark);
}

.hp-support-list span {
    display: block;
    color: var(--hp-muted);
    font-size: 0.88rem;
}

.hp-flow {
    background: var(--hp-cream);
    border-top: 1px solid var(--hp-line);
}

.hp-flow-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}

.hp-flow-step {
    position: relative;
    padding: 14px;
    text-align: center;
}

.hp-flow-step:not(:last-child)::after {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 48%;
    right: -18px;
    color: var(--hp-gold);
    font-size: 1.5rem;
}

.hp-flow-num {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--hp-green);
    color: #fff;
    font-weight: 700;
}

.hp-flow-step img {
    width: 100%;
    height: clamp(118px, 11vw, 150px);
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    margin-bottom: 12px;
}

.hp-flow-step h3 {
    margin: 0 0 4px;
    font-size: 1.06rem;
    word-break: keep-all;
    overflow-wrap: normal;
    line-break: strict;
}

.hp-flow-step p {
    margin: 0;
    color: var(--hp-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.hp-quick {
    background: #fffdf8;
    border-top: 1px solid var(--hp-line);
}

.hp-quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.95fr;
    gap: 18px;
    align-items: stretch;
}

.hp-chip-box {
    padding: 20px;
}

.hp-chip-box h2 {
    margin: 0 0 14px;
    font-family: var(--hp-font-sans);
    font-weight: 700;
    text-align: center;
    font-size: 1.1rem;
}

.hp-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.hp-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid var(--hp-line);
    border-radius: 999px;
    color: var(--hp-green-dark);
    background: #fffaf0;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.hp-self-check-card {
    padding: 20px;
    background: linear-gradient(180deg, var(--hp-green) 0%, var(--hp-green-dark) 100%);
    color: #fff;
    text-align: center;
}

.hp-self-check-card h2,
.hp-self-check-card p {
    color: #fff;
}

.hp-self-check-card h2 {
    margin: 0 0 12px;
    font-family: var(--hp-font-sans);
    font-weight: 700;
    font-size: 1.25rem;
    word-break: keep-all;
    overflow-wrap: normal;
    line-break: strict;
}

.hp-self-check-card p {
    margin: 0 0 18px;
    font-weight: 700;
}

.hp-self-check-card .hp-btn {
    min-height: 56px;
    padding: 0 18px;
    gap: 8px;
    font-size: 0.94rem;
    white-space: nowrap;
}

.hp-area-banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.hp-area-banner {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    align-items: center;
    min-height: 110px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(89, 63, 22, 0.06);
}

.hp-area-banner img {
    width: 100%;
    height: 78px;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 6px;
}

.hp-area-banner strong {
    display: block;
    color: var(--hp-green-dark);
    font-size: 1.08rem;
    word-break: keep-all;
    overflow-wrap: normal;
    line-break: strict;
}

.hp-area-banner span {
    color: var(--hp-muted);
    font-size: 0.84rem;
}

.hp-final-cta {
    position: relative;
    overflow: hidden;
    background: #fffaf0;
    border-top: 1px solid var(--hp-line);
    text-align: center;
}

.hp-final-card {
    position: relative;
    z-index: 1;
    max-width: 1040px;
    margin: 0 auto;
    padding: 30px 22px;
    border: 1px solid var(--hp-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--hp-shadow);
}

.hp-final-card h2 {
    margin: 0 0 18px;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    letter-spacing: 0;
}

.hp-final-card .hp-cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 320px));
    justify-content: center;
    gap: 18px;
    max-width: 720px;
    margin: 0 auto;
}

.hp-final-card .hp-btn {
    width: 100%;
}

.hp-contact-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 720px;
    margin: 18px auto 0;
}

.hp-contact-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 72px;
    border: 2px solid rgba(39, 100, 47, 0.38);
    border-radius: 12px;
    background: #fff;
    color: var(--hp-green-dark);
    text-decoration: none;
    font-weight: 700;
}

.hp-contact-box i {
    color: var(--hp-green);
    font-size: 1.8rem;
}

.hp-footer {
    background: var(--hp-green-dark);
    color: #fff;
    padding: 36px 18px;
}

.hp-footer-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
}

.hp-footer h2,
.hp-footer h3,
.hp-footer p,
.hp-footer li,
.hp-footer a {
    color: #fff;
}

.hp-footer h2 {
    margin: 0 0 8px;
    font-family: var(--hp-font-sans);
    font-weight: 700;
    font-size: 1.25rem;
}

.hp-footer h3 {
    margin: 0 0 10px;
    font-family: var(--hp-font-sans);
    font-weight: 700;
    font-size: 1rem;
}

.hp-footer p {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.86);
}

.hp-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hp-footer li {
    margin: 0 0 7px;
}

.hp-footer a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
}

.hp-copyright {
    max-width: 1180px;
    margin: 24px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
}

.hp-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) minmax(260px, 1.25fr) minmax(150px, 0.7fr) minmax(180px, 0.85fr);
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255, 250, 240, 0.96);
    border-top: 1px solid var(--hp-line);
    box-shadow: 0 -10px 24px rgba(42, 73, 32, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 14px));
    transition: opacity 0.2s ease, transform 0.2s ease;
}

body.hp-sticky-visible .hp-sticky-cta {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.hp-sticky-cta a {
    min-height: 58px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: #fff !important;
    font-weight: 700;
    line-height: 1.2;
}

.hp-sticky-cta .hp-sticky-orange {
    background: linear-gradient(180deg, var(--hp-orange-cta-top) 0%, var(--hp-orange-cta-bottom) 100%);
}

.hp-sticky-cta .hp-sticky-green {
    background: linear-gradient(180deg, var(--hp-green-cta-top) 0%, var(--hp-green) 100%);
}

.hp-sticky-cta .hp-sticky-line {
    background: var(--hp-line-cta);
}

.hp-sticky-cta .hp-sticky-phone {
    background: var(--hp-green);
}

@media (max-width: 1300px) {
    .hp-icon-pill {
        display: none;
    }
}

@media (max-width: 1180px) {
    .hp-header-inner {
        gap: 12px;
    }

    .hp-nav {
        gap: 10px;
    }

    .hp-nav a {
        font-size: 0.8rem;
    }

    .hp-rep-grid {
        grid-template-columns: 0.9fr 1.1fr;
    }

    .hp-support-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1200px) and (min-width: 901px) {
    .hp-concern-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 14px;
    }

    .hp-concern-card {
        grid-column: span 2;
        padding: 11px 10px 12px;
    }

    .hp-concern-card:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .hp-concern-card:nth-child(5) {
        grid-column: 4 / span 2;
    }

    .hp-concern-card picture img {
        height: 112px;
    }

    .hp-concern-card h3 {
        font-size: 0.98rem;
        line-height: 1.4;
    }

    .hp-check-list li {
        padding-left: 14px;
        font-size: 0.76rem;
    }

    .hp-check-list {
        width: 210px;
    }
}

@media (max-width: 1050px) and (min-width: 901px) {
    .hp-header-inner {
        gap: 8px;
        padding: 0 12px;
    }

    .hp-logo-main {
        font-size: 1.3rem;
    }

    .hp-logo-sub {
        font-size: 0.66rem;
    }

    .hp-nav {
        gap: 8px;
    }

    .hp-nav a {
        font-size: 0.74rem;
    }

    .hp-phone-pill {
        min-width: 140px;
    }

    .hp-hero-inner {
        grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
        min-height: 520px;
        gap: 0;
    }

    .hp-hero-copy {
        padding-left: 28px;
        padding-right: 16px;
        max-width: 760px;
    }

    .hp-hero h1 {
        font-size: clamp(2.26rem, 4.6vw, 3rem);
        line-height: 1.08;
    }

    .hp-ribbon {
        width: min(420px, calc(100% - 36px));
        min-width: 0;
        min-height: 0;
        margin-left: 4px;
        padding: 7px 30px 8px;
        font-size: 0.8rem;
        line-height: 1.32;
    }

    .hp-stat-row {
        gap: 12px;
    }

    .hp-stat {
        --hp-stat-bg-w: 124px;
        --hp-stat-bg-h: 110px;
        --hp-stat-laurel-w: 160px;
        --hp-stat-laurel-h: 142px;
        width: 124px;
        min-height: 110px;
    }

    .hp-hero-photo {
        min-height: 0;
    }

    .hp-hero-photo img {
        object-position: center center;
    }

    .hp-speech {
        top: 44px;
        right: clamp(285px, 31vw, 320px);
        width: 116px;
        height: 88px;
        font-size: 0.68rem;
        line-height: 1.5;
    }

    .hp-hero .hp-cta-row {
        max-width: 100%;
        gap: 10px;
    }

    .hp-hero .hp-btn {
        min-height: 58px;
        padding: 0 10px;
        font-size: 0.92rem;
        gap: 7px;
    }

    .hp-hero .hp-btn-consult {
        padding-left: 7px;
    }

    .hp-hero .hp-cta-badge {
        width: 40px;
        height: 40px;
        font-size: 0.56rem;
    }

    .hp-feature {
        grid-template-columns: 72px 1fr;
        gap: 8px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .hp-feature-icon {
        width: 70px;
        height: 70px;
    }

    .hp-feature h3 {
        font-size: 0.94rem;
        line-height: 1.38;
    }

    .hp-feature p {
        font-size: 0.78rem;
        line-height: 1.46;
    }

    .hp-concern-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 14px;
    }

    .hp-concern-card {
        grid-column: span 2;
    }

    .hp-concern-card:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .hp-concern-card:nth-child(5) {
        grid-column: 4 / span 2;
    }

    .hp-concern-card {
        padding: 11px 10px 12px;
    }

    .hp-concern-card picture img {
        height: 112px;
    }

    .hp-service-card img {
        height: 150px;
    }

    .hp-concern-card h3 {
        font-size: 0.98rem;
        line-height: 1.4;
    }

    .hp-service-card h3 {
        font-size: 1.06rem;
    }

    .hp-check-list li {
        font-size: 0.76rem;
    }

    .hp-service-card p {
        font-size: 0.82rem;
    }

    .hp-card-link {
        min-height: 30px;
        padding: 0 12px;
        font-size: 0.68rem;
    }

    .hp-service-card-body {
        padding: 12px 10px;
    }

    .hp-service-support-grid {
        grid-template-columns: 1fr;
    }

    .hp-service-support {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .hp-service-support img {
        width: 120px;
        height: 80px;
    }
}

@media (max-width: 900px) {
    body.hp-redesign {
        padding-top: 64px !important;
        padding-bottom: 0 !important;
    }

    body.hp-redesign.hp-sticky-visible {
        padding-bottom: calc(74px + env(safe-area-inset-bottom)) !important;
    }

    .hp-header-inner {
        height: 64px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 8px;
        padding: 0 10px 0 16px;
    }

    .hp-header *,
    .hp-hero *,
    .hp-sticky-cta * {
        min-width: 0;
    }

    .hp-hero,
    .hp-support-strip,
    .hp-section {
        overflow-x: clip;
    }

    .hp-logo {
        white-space: normal;
        overflow: hidden;
    }

    .hp-logo-main {
        font-size: clamp(1rem, 4.3vw, 1.38rem);
    }

    .hp-logo-sub {
        font-size: 0.62rem;
    }

    .hp-nav,
    .hp-icon-pill {
        display: none;
    }

    .hp-phone-pill {
        min-width: 136px;
        min-height: 46px;
        border-radius: 8px;
    }

    .hp-phone-pill strong {
        font-size: 0.9rem;
    }

    .hp-phone-pill span {
        font-size: 0.58rem;
    }

    .hp-menu-button {
        display: block;
    }

    .hp-hero-inner {
        min-height: 0;
        display: block;
        padding: 0;
    }

    .hp-hero-photo {
        position: absolute;
        inset: 0;
        width: auto;
        height: auto;
        min-height: 0;
        opacity: 1;
    }

    .hp-hero-photo img {
        object-position: 78% center;
        filter: contrast(1.08) saturate(1.04);
    }

    .hp-hero-photo::before {
        display: block;
        background:
            linear-gradient(90deg, rgba(255, 250, 240, 0.96) 0%, rgba(255, 250, 240, 0.88) 46%, rgba(255, 250, 240, 0.28) 68%, rgba(255, 250, 240, 0.03) 88%, rgba(255, 250, 240, 0) 100%),
            linear-gradient(180deg, rgba(255, 250, 240, 0.02) 0%, rgba(255, 250, 240, 0.05) 52%, rgba(255, 250, 240, 0.72) 100%);
    }

    .hp-hero-photo::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        height: auto;
        background:
            radial-gradient(ellipse at 95% 18%, rgba(255, 250, 240, 0) 0%, rgba(255, 250, 240, 0) 30%, rgba(255, 250, 240, 0.1) 58%, rgba(255, 250, 240, 0.62) 100%),
            linear-gradient(180deg, rgba(255, 250, 240, 0) 0%, rgba(255, 250, 240, 0.64) 100%);
    }

    .hp-speech {
        display: none;
    }

    .hp-hero-copy {
        padding: 18px 20px 15px;
        min-height: 338px;
        max-width: none;
    }

    .hp-ribbon {
        display: inline-flex;
        width: min(330px, calc(100% - 20px));
        min-width: 0;
        min-height: 0;
        margin: 0 0 8px -2px;
        padding: 5px 24px 6px;
        font-size: clamp(0.62rem, 2.1vw, 0.72rem);
        line-height: 1.24;
        white-space: normal;
        text-shadow: 0 1px 0 rgba(22, 70, 31, 0.28);
    }

    .hp-hero h1 {
        max-width: 96%;
        font-size: clamp(1.96rem, 6.2vw, 2.55rem);
        line-height: 1.13;
    }

    .hp-mobile-br {
        display: inline;
    }

    .hp-hero-lead {
        max-width: 76%;
        margin: 12px 0 12px;
        font-size: 0.82rem;
        line-height: 1.55;
    }

    .hp-stat-row {
        max-width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin: 14px 0 16px;
    }

    .hp-stat {
        --hp-stat-bg-w: 104px;
        --hp-stat-bg-h: 80px;
        --hp-stat-laurel-w: 116px;
        --hp-stat-laurel-h: 112px;
        width: auto;
        min-height: 86px;
        min-width: 0;
    }

    .hp-stat::before {
        opacity: 0.72;
    }

    .hp-stat small {
        font-size: 0.62rem;
    }

    .hp-stat strong {
        font-size: 1.32rem;
    }

    .hp-cta-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 12px;
    }

    .hp-hero .hp-cta-row {
        max-width: 100%;
    }

    .hp-btn {
        min-height: 58px;
        padding: 0 10px;
        font-size: 0.94rem;
        border-radius: 8px;
        white-space: normal;
    }

    .hp-note {
        font-size: 0.66rem;
        line-height: 1.5;
    }

    .hp-support-message {
        max-width: 100%;
        margin-bottom: 10px;
        padding: 0 8px;
        font-size: 0.92rem;
    }

    .hp-feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        padding: 25px 12px 12px;
    }

    .hp-feature {
        display: block;
        min-height: 96px;
        padding: 12px 7px;
        text-align: center;
    }

    .hp-feature-icon {
        width: 62px;
        height: 62px;
        margin: 0 auto 6px;
    }

    .hp-feature h3 {
        font-size: 0.86rem;
    }

    .hp-feature p {
        font-size: 0.76rem;
    }

    .hp-section {
        padding: 28px 18px;
    }

    .hp-concern-grid {
        grid-template-columns: 1fr;
        gap: 0;
        border: 1px solid var(--hp-line);
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
    }

    .hp-concern-card {
        display: grid;
        grid-template-columns: 116px minmax(0, 1fr) auto;
        gap: 12px;
        align-items: center;
        border: 0;
        border-bottom: 1px solid var(--hp-line);
        border-radius: 0;
        box-shadow: none;
        padding: 10px 12px;
    }

    .hp-concern-card:last-child {
        border-bottom: 0;
    }

    .hp-concern-card picture img {
        width: 116px;
        height: 86px;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center top;
    }

    .hp-concern-card h3 {
        margin: 0 0 4px;
        font-size: 1.02rem;
        text-align: left;
    }

    .hp-check-list {
        width: auto;
        margin: 0;
    }

    .hp-check-list li {
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .hp-card-link {
        margin: 0;
        min-width: 88px;
        min-height: 36px;
        padding: 0 12px;
        font-size: 0.82rem;
    }

    .hp-service-card-body {
        padding: 12px 10px;
    }

    .hp-service-card h3 {
        font-size: 1.02rem;
    }

    .hp-service-card p {
        font-size: 0.8rem;
    }

    .hp-service-card img {
        height: 130px;
    }

    .hp-service-lead {
        margin-bottom: 16px;
        font-size: 0.9rem;
    }

    .hp-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .hp-service-support-grid {
        grid-template-columns: 1fr;
    }

    .hp-service-support {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .hp-service-support img {
        width: 112px;
        height: 76px;
    }

    .hp-rep-grid,
    .hp-quick-grid,
    .hp-area-banners,
    .hp-footer-grid {
        grid-template-columns: 1fr;
    }

    .hp-rep-photo img {
        height: clamp(240px, 42vw, 340px);
        min-height: 0;
        max-height: none;
        object-position: 62% center;
    }

    .hp-flow-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hp-flow-step {
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 12px;
        text-align: left;
        align-items: center;
        border-bottom: 1px solid var(--hp-line);
        border-radius: 0;
        box-shadow: none;
    }

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

    .hp-flow-num {
        position: static;
        grid-row: 1 / span 2;
    }

    .hp-flow-step picture {
        display: none;
    }

    .hp-flow-step h3 {
        margin-top: 0;
        font-size: 1rem;
    }

    .hp-area-banner {
        grid-template-columns: 112px 1fr;
    }

    .hp-final-card {
        padding: 26px 14px;
    }

    .hp-final-card h2 {
        letter-spacing: 0;
    }

    .hp-final-card .hp-cta-row {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .hp-contact-row {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .hp-sticky-cta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        padding: 8px 8px calc(10px + env(safe-area-inset-bottom));
    }

    .hp-sticky-cta .hp-sticky-green {
        display: none;
    }

    .hp-sticky-cta a {
        min-height: 56px;
        border-radius: 8px;
        font-size: 0.92rem;
        flex-direction: row;
    }
}

@media (min-width: 901px) {
    .hp-sticky-cta {
        display: none;
    }
}

@media (max-width: 600px) {
    .hp-logo-main {
        font-size: 0;
    }

    .hp-logo-main::after {
        content: "東亮介社労士事務所";
        font-size: 0.98rem;
    }

    .hp-logo-sub {
        display: none;
    }

    .hp-note span {
        display: block;
    }

    .hp-note span + span::before {
        content: "";
    }

    .hp-lead-online {
        display: block;
    }

    .hp-lead-online::before {
        content: "";
    }

    .hp-support-message {
        width: auto;
        max-width: 100%;
        padding: 0 6px;
        font-size: 0.82rem;
        line-height: 1.48;
    }

    .hp-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        padding: 25px 12px 12px;
    }

    .hp-feature {
        display: block;
        min-height: 104px;
        padding: 12px 8px;
        text-align: center;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .hp-feature:nth-child(-n + 2) {
        border-top: 0;
    }

    .hp-feature:nth-child(2n) {
        border-left: 1px solid rgba(231, 216, 184, 0.78);
    }

    .hp-feature:nth-child(n + 3) {
        border-top: 1px solid rgba(231, 216, 184, 0.78);
    }

    .hp-feature-icon {
        width: 66px;
        height: 66px;
        margin: 0 auto 7px;
    }

    .hp-feature h3 {
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .hp-feature p {
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .hp-service-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hp-service-card {
        grid-column: auto;
    }

    .hp-service-card img {
        height: 142px;
    }

    .hp-service-lead {
        margin-top: -10px;
        font-size: 0.84rem;
        line-height: 1.62;
    }

    .hp-service-label {
        min-height: 22px;
        padding: 0 10px;
        font-size: 0.68rem;
    }

    .hp-service-included {
        padding: 12px;
    }

    .hp-service-support {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 10px;
        padding: 8px;
    }

    .hp-service-support img {
        width: 88px;
        height: 66px;
    }

    .hp-service-support h4 {
        font-size: 0.86rem;
    }

    .hp-service-support p {
        font-size: 0.74rem;
    }
}

@media (max-width: 420px) {
    .hp-header-inner {
        grid-template-columns: minmax(0, 1fr) auto 38px;
        gap: 6px;
        padding-left: 8px;
        padding-right: 6px;
    }

    .hp-logo-main::after {
        font-size: 0.88rem;
    }

    .hp-phone-pill {
        min-width: 112px;
        width: 118px;
        min-height: 44px;
    }

    .hp-phone-pill strong {
        font-size: 0.76rem;
    }

    .hp-phone-pill span {
        display: none;
    }

    .hp-menu-button {
        width: 44px;
        height: 44px;
    }

    .hp-menu-button i {
        font-size: 1.65rem;
    }

    .hp-hero-copy {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hp-hero-photo {
        width: auto;
        height: auto;
        opacity: 1;
    }

    .hp-hero-photo img {
        object-position: 80% center;
    }

    .hp-hero-photo::after {
        background:
            radial-gradient(ellipse at 98% 18%, rgba(255, 250, 240, 0) 0%, rgba(255, 250, 240, 0.02) 38%, rgba(255, 250, 240, 0.38) 78%, rgba(255, 250, 240, 0.72) 100%),
            linear-gradient(180deg, rgba(255, 250, 240, 0) 0%, rgba(255, 250, 240, 0.7) 100%);
    }

    .hp-speech {
        display: none;
    }

    .hp-hero h1 {
        max-width: 96%;
        font-size: 1.78rem;
        line-height: 1.16;
    }

    .hp-hero-lead {
        max-width: 82%;
    }

    .hp-stat-row {
        gap: 6px;
    }

    .hp-stat {
        --hp-stat-bg-w: 94px;
        --hp-stat-bg-h: 72px;
        --hp-stat-laurel-w: 104px;
        --hp-stat-laurel-h: 102px;
        min-height: 76px;
    }

    .hp-stat::before {
        opacity: 0.58;
    }

    .hp-stat small {
        font-size: 0.56rem;
    }

    .hp-stat strong {
        font-size: 1.12rem;
    }

    .hp-cta-row {
        gap: 6px;
    }

    .hp-hero .hp-cta-row {
        grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    }

    .hp-hero .hp-btn {
        font-size: 0.78rem;
        gap: 4px;
        padding: 0 5px;
        line-height: 1.12;
        white-space: nowrap;
    }

    .hp-hero .hp-btn-consult {
        padding-left: 5px;
    }

    .hp-hero .hp-btn::after {
        display: none;
    }

    .hp-hero .hp-cta-badge {
        width: 32px;
        height: 32px;
        font-size: 0.48rem;
    }

    .hp-hero .hp-btn-label {
        white-space: nowrap;
    }

    .hp-concern-card {
        grid-template-columns: 82px minmax(0, 1fr) 78px;
        gap: 8px;
        padding: 9px;
    }

    .hp-concern-card picture img {
        width: 82px;
        height: 64px;
    }

    .hp-concern-card h3 {
        font-size: 0.94rem;
        line-height: 1.35;
    }

    .hp-check-list li {
        padding-left: 14px;
        font-size: 0.76rem;
        line-height: 1.4;
    }

    .hp-check-list {
        max-width: 176px;
    }

    .hp-concern-card .hp-card-link {
        grid-column: auto;
        justify-self: end;
        min-width: 84px;
        padding: 0 8px;
        font-size: 0.72rem;
    }

    .hp-mini-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hp-final-card h2 {
        font-size: 1.34rem;
        line-height: 1.35;
    }

    .hp-sticky-cta a {
        font-size: 0.82rem;
        gap: 7px;
    }
}

@media (max-width: 370px) {
    .hp-concern-card {
        grid-template-columns: 68px minmax(0, 1fr) 74px;
        gap: 6px;
        padding: 8px;
    }

    .hp-concern-card picture img {
        width: 68px;
        height: 56px;
    }

    .hp-concern-card h3 {
        font-size: 0.9rem;
    }

    .hp-concern-card .hp-card-link {
        min-width: 74px;
        padding: 0 5px;
        font-size: 0.68rem;
    }

    .hp-hero h1 {
        font-size: 1.66rem;
    }

    .hp-hero h1 .hp-green-text {
        white-space: normal;
    }

    .hp-section-title {
        font-size: 1.18rem;
        line-height: 1.36;
    }

    .hp-final-card h2 {
        font-size: 1.18rem;
        line-height: 1.38;
    }

    .hp-logo-main::after {
        content: "東亮介社労士事務所";
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .hp-check-list {
        max-width: 152px;
    }
}

/* 内部ページ用：固定ヘッダーのオフセット（hp-redesignのタイポ上書きは適用しない）*/
body.hp-framed { padding-top: 84px; }
@media (max-width: 900px) { body.hp-framed { padding-top: 64px; } }
