/* =========================================
    ヘッダー
============================================ */
header {
    /* height: 980px; */
    position: relative;
    padding: 0 3.6% 20vw 3.6%;
    background: url(../imgs/header/main-bg.webp) no-repeat center center;
    background-size: cover;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 20px;
    gap: clamp(12px, 2vw, 32px);
}

.site-title__wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    width: 140px;
    margin-right: 23px;
}

.site-title {
    font-size: clamp(12px, 10.41px + 0.40vw, 18px);
    letter-spacing: 00.1em;
    line-height: 2;
    font-weight: var(--font-weight-bold);
    color: var(--color-sub);
    text-decoration: underline dotted 4px var(--color-sub);
    text-underline-offset: 6px;
}

.nav-bg {
    background-color: #FFFFFF;
    padding: 15px clamp(8px, 1.2vw, 30px) 15px clamp(10px, 1.4vw, 40px);
    border-radius: 50px;
    display: flex;
    align-items: center;
    height: 100px;
}

.global__navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(4px, 0.6vw, 24px);
    flex-wrap: nowrap;
    margin-right: 30px;
}

.navigation__item {
    color: var(--color-main);
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
    flex-shrink: 1;
    font-size: clamp(10px, 0.9vw, 16px);
}

.nav-call__item,
.navigation__contact {
    flex-shrink: 0;
}

.nav__trigger {
    position: relative;
    padding-right: clamp(14px, 1.1vw, 21px);
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.nav__item {
    display: block;
    position: relative;
    transition: 0.3s;
}

.nav__trigger::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 12px;
    height: 8px;
    background: url(../imgs/header/arrow-bottom.webp) no-repeat center center;
    background-size: contain;
    transform: translateY(-50%);
}

.nav__trigger::after,
.nav__item::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: 0.3s;
}

.nav__trigger:hover::after,
.nav__item:hover::after {
    background-color: var(--color-main);
    transition: 0.3s;
}

/* ===== MEGA MENU ===== */
.mega__wrapper {
    max-width: 1780px;
    margin: 0 70px;
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    padding: 60px;
    border-radius: 50px;
    background: #FFF;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.10);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 100;
}

.mega__wrapper.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin-top: 60px;
}

.menu__guide {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
}

.menu__guide span {
    font-size: 18px;
    font-weight: 400;
}

.guide__root {
    color: var(--color-main);
}

.guide__separator {
    color: #777;
}

.guide__current {
    color: #ff2400;
    font-weight: var(--font-weight-bold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.guide__current::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 2px solid #ff2400;
    border-right: 2px solid #ff2400;
    transform: rotate(45deg) translateY(-1px);
}

.mege__content__inner {
    display: flex;
    gap: 4%;
    align-items: flex-start;
}

.mega__img-content {
    width: 56%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 40px;
}

.mega__img-content .mega__img-item {
    width: 30.3%;
}

.mega__img-item a {
    display: block;
}

.mega__img {
    height: 180px;
    border: 1px solid #777;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 10px;
}

.mega__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mega__img-content .mega__img-item p {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--color-main);
    padding-right: 18px;
    position: relative;
}

.mega__img-content .mega__img-item p::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 10px;
    height: 15px;
    background: url(../imgs/header/arrow__right.webp) no-repeat center / contain;
}

.mege__content__right {
    width: 43%;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.mega__icon-content__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 40px;
}

.mega__icon-content__top--4col {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 60px;
}

.mega__icon-content__top--5col {
    grid-template-columns: repeat(5, 1fr);
    gap: 28px 40px;
}

.mega__icon-content__top .mega__img-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mega__icon-content__top .mega__icon {
    width: 80px;
    height: 80px;
}

.mega__icon-content__top .mega__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.mega__icon-content__top .mega__img-item p,
.mega__icon-content__top .mega__img-item span {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--color-main);
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 18px;
    position: relative;
    margin: 0;
}

.mega__icon-content__top .mega__img-item p::before,
.mega__icon-content__top .mega__img-item span::before {
    content: '—';
    color: var(--color-main);
    font-weight: 400;
    flex-shrink: 0;
}

.mega__icon-content__top .mega__img-item p::after,
.mega__icon-content__top .mega__img-item span::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 10px;
    height: 15px;
    background: url(../imgs/header/arrow__right.webp) no-repeat center / contain;
}

.mega__icon-content__botom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 40px;
}

.mega__icon-content__botom .mega__img-item a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mega__icon {
    flex-shrink: 0;
}

.mega__icon-content__botom .mega__icon {
    width: 40px;
    height: 50px;
}

.mega__icon-content__botom .mega__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.mega__icon-content__botom .mega__img-item span {
    flex: 1;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--color-main);
    padding-right: 18px;
    position: relative;
}

.mega__icon-content__botom .mega__img-item span::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 10px;
    height: 15px;
    background: url(../imgs/header/arrow__right.webp) no-repeat center / contain;
}

.mega__content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nav-call__item {
    text-align: center;
    white-space: nowrap;
}

.nav__call__txt {
    font-size: clamp(8px, 0.55vw, 10px);
    white-space: nowrap;
}

.nav__call__txt>.call__txt__red {
    color: var(--color-sub3);
    margin-right: -1rem;
}

.nav__call {
    display: block;
    font-size: clamp(1.25rem, 2.1vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    font-family: "Barlow Condensed", sans-serif;
    padding-left: 0.725em;
    position: relative;
    white-space: nowrap;
}

.nav__call::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 0.6em;
    height: 0.7em;
    background: url(../imgs/tell.svg) no-repeat center center;
    background-size: contain;
}

.navigation__contact {
    line-height: 1.5;
    margin-right: 0;
    font-size: 14px;
    background-color: var(--color-sub3);
    border-radius: 10px;
    min-width: clamp(120px, 10vw, 230px);
    flex-shrink: 0;
}

.nav__contact {
    font-size: clamp(10px, 0.8vw, 14px);
    white-space: nowrap;
}

.navigation__contact a {
    width: 100%;
    font-size: clamp(11px, 0.9vw, 16px);
    display: block;
    color: var(--color-white);
    padding: clamp(10px, 0.9vw, 14px) clamp(44px, 3.6vw, 66px) clamp(10px, 0.9vw, 14px) clamp(12px, 1vw, 17px);
    position: relative;
    white-space: nowrap;
}

.navigation__contact a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: clamp(6px, 0.6vw, 10px);
    width: clamp(32px, 2.6vw, 50px);
    height: clamp(32px, 2.6vw, 50px);
    background: url(../imgs/header/mail-icon.webp) no-repeat center center;
    background-size: contain;
    transform: translateY(-50%);
}

.nav__yellow {
    color: #FFF309;
}

.hum {
    width: 43px;
    cursor: pointer;
}

.hum--sp {
    display: none;
}



/* =====================================
   ハンバーガーメニュー
======================================== */

.drawer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin: 0 40px;
}

.drawer__vert {
    writing-mode: vertical-rl;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(10px, 0.7vw, 13px);
    font-weight: 700;
    color: var(--color-main);
    letter-spacing: 0.15em;
    padding: 0 8px;
    flex-shrink: 0;
    overflow: hidden;
    background: #fff;
    white-space: nowrap;
}

.drawer__vert--r {
    text-orientation: mixed;
    transform: rotate(180deg);
}

.drawer__panel {
    flex: 1;
    background: #fff;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(14px, 1.5vw, 24px) 0;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.drawer__head__logo {
    width: 7.2%;
    max-width: 140px;
}

.drawer__head__logo img {
    width: 100%;
    height: auto;
    display: block;
}

.drawer__close {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(13px, 0.9vw, 16px);
    font-weight: 700;
    color: var(--color-sub);
    letter-spacing: 0.1em;
    background: none;
    border: none;
    padding: 4px;
    line-height: 1;
}

.drawer__close:hover {
    opacity: 0.7;
}

.drawer__close__x {
    position: relative;
    display: inline-block;
    width: 55px;
    height: 55px;
    flex-shrink: 0;
}

.drawer__close__x::before,
.drawer__close__x::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--color-sub);
    border-radius: 1px;
}

.drawer__close__x::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.drawer__close__x::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.drawer__nav {
    flex: 1;
    padding: clamp(16px, 2vw, 36px) clamp(20px, 2.5vw, 48px) clamp(16px, 2vw, 28px);
}

.drawer__acc-btn {
    display: flex;
    align-items: center;
    gap: clamp(4px, 0.5vw, 8px);
    width: 100%;
    padding: clamp(3px, 0.42vw, 8px) 0;
    font-size: clamp(12px, 0.94vw, 18px);
    font-weight: 700;
    color: var(--color-main);
    background: none;
    border: none;
    line-height: normal;
    text-align: left;
}

.drawer__acc-btn::before {
    content: "";
    display: inline-block;
    width: clamp(4px, 0.42vw, 7px);
    height: clamp(4px, 0.42vw, 7px);
    border-right: clamp(1.5px, 0.13vw, 2px) solid var(--color-main);
    border-bottom: clamp(1.5px, 0.13vw, 2px) solid var(--color-main);
    transform: rotate(-45deg);
    flex-shrink: 0;
    margin-top: 1px;
}

.drawer__acc-btn>span:first-child {
    flex: 1;
}

.drawer__acc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-main);
    border-radius: 50%;
    font-weight: 700;
    line-height: 1;
    color: var(--color-main);
    flex-shrink: 0;
}

.drawer__acc-icon::before {
    content: "+";
}

.drawer__acc-btn[aria-expanded="true"] .drawer__acc-icon::before {
    content: "−";
}

.drawer__acc-sub {
    display: none;
    padding-left: clamp(10px, 1.2vw, 20px);
}

.drawer__acc-sub.is-open {
    display: block;
}

.drawer__acc-sub.nav-cols__links a::before {
    border-right: none;
    border-bottom: none;
    content: "—";
    width: auto;
    height: auto;
    transform: none;
    font-size: 0.9em;
    margin-top: 0;
    color: var(--color-main);
}

.drawer__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(10px, 1.2vw, 20px);
    background: var(--color-main);
    padding: clamp(10px, 1.2vw, 18px) clamp(20px, 2.5vw, 48px);
    flex-shrink: 0;
    border-radius: 20px;
}

.drawer__cta__campaign {
    width: 39%;
}

.drawer__cta .flow__contact__inner {
    width: 54.2%;
    gap: 30px;
}

.drawer__cta .flow__contact__inner .flow__contact__heading {
    font-size: 1rem;
}

.drawer__cta .flow__contact__inner .flow__tel__area .flow__contact__heading__lg {
    font-size: 1.75rem;
}

.drawer__cta__tel {
    flex-shrink: 0;
}

.drawer__cta__lead {
    font-size: clamp(10px, 0.7vw, 13px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    white-space: nowrap;
}

.drawer__cta__num {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(22px, 2vw, 36px);
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.drawer__cta__tel-icon {
    height: clamp(20px, 1.8vw, 30px);
    width: auto;
}

.drawer__cta .flow__btn__main {
    font-size: 1rem;
}

.drawer__cta .flow__btn__sub {
    font-size: 0.875rem;
}

.drawer__cta__hours {
    font-size: clamp(9px, 0.6vw, 11px);
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
    white-space: nowrap;
}

.drawer__cta__btns {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 16px);
    margin-left: auto;
}

.drawer__cta__payment {
    flex-shrink: 0;
}

.drawer__cta__payment-txt {
    font-size: clamp(9px, 0.6vw, 11px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 4px;
}

.drawer__cta__payment-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.drawer__cta__payment-list li {
    height: clamp(14px, 1.3vw, 22px);
}

.drawer__cta__payment-list li img {
    height: 100%;
    width: auto;
    display: block;
}

.drawer__cta .flow__payment {
    flex-wrap: nowrap;
}

.mv {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 56px;
    position: relative;
}

.mv__wrapper {
    width: 77%;
    max-width: 1480px;
    margin-inline: auto;
}

.mv::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 12%;
    width: min(258px, 28vw);
    height: 100%;
    background: url(../imgs/mv/main-img02.webp) no-repeat center center;
    background-size: contain;
}

.mv::after {
    content: "";
    position: absolute;
    left: 4.3%;
    bottom: -211px;
    width: 30.4%;
    height: 448px;
    background: url(../imgs/mv/main-img01.webp) no-repeat center center;
    background-size: contain;
    z-index: 1;
}

.mv__inner {
    width: 51.4%;
    max-width: 764px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mv-slogan {
    width: 100%;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 31%;
    position: absolute;
    right: 3%;
    bottom: -100px;
}

.trust-badges .badge-ribbon__text {
    order: 1;
}

.badge-list {
    display: flex;
    justify-content: center;
    gap: clamp(2px, 0.4vw, 8px);
    width: 100%;
    order: 0;
}

.badge-item {
    position: relative;
    width: clamp(86px, 12vw, 188px);
    height: clamp(86px, 12vw, 188px);
    flex: 1;
}

.badge-item__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.badge-item__inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1px, 0.3vw, 4px);
}

.badge-item__label {
    font-size: clamp(7px, 0.75vw, 14px);
    font-weight: 700;
    color: #710800;
    text-align: center;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

.badge-item__row {
    display: flex;
    align-items: flex-end;
    gap: 1px;
}

.badge-item__num {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 700;
    font-size: clamp(24px, 2.65vw, 50px);
    color: #710800;
    line-height: 1;
    font-style: normal;
}

.badge-item__prefix,
.badge-item__suffix {
    font-size: clamp(7px, 0.75vw, 14px);
    font-weight: 700;
    color: #710800;
    letter-spacing: 0.1em;
    line-height: 1;
}

.badge-item__suffix {
    padding-bottom: clamp(3px, 0.4vw, 6px);
}

.badge-item:nth-child(1) .badge-item__suffix {
    background: #fff;
    border-radius: 50%;
    width: 1.6em;
    height: 1.6em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
}

.badge-item__prefix {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    align-self: flex-end;
}

.badge-item:nth-child(1) .badge-item__prefix {
    align-self: flex-start;
}


.badge-item__sub {
    font-size: clamp(7px, 0.75vw, 14px);
    font-weight: 700;
    color: #710800;
    letter-spacing: 0.1em;
}

.badge-ribbon__text {
    width: 100%;
    margin-top: -4px;
    background-image: url(../imgs/header/badge-ribbon.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(10px, 1.05vw, 20px);
    font-weight: 700;
    color: #f3edc1;
    letter-spacing: 0.1em;
    aspect-ratio: 601 / 90;
    white-space: nowrap;
    padding-bottom: 5%;
}

.badge-ribbon__num {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: clamp(14px, 1.58vw, 30px);
    font-weight: 700;
    font-style: normal;
}

@media (max-width: 960px) {
    .mv__inner {
        width: 70%;
    }

    .trust-badges {
        min-width: 269px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        bottom: -232px;
    }

    .badge-list {
        display: grid;
        grid-template-columns: repeat(2, 134px);
        grid-template-rows: 87px auto;
        justify-content: center;
        gap: 0;
    }

    .badge-item {
        flex: none;
        width: 134px;
        height: 134px;
    }

    .badge-item:nth-child(1) {
        grid-row: 2;
        grid-column: 1;
    }

    .badge-item:nth-child(2) {
        grid-row: 1;
        grid-column: 1 / 3;
        justify-self: center;
        z-index: 1;
    }

    .badge-item:nth-child(3) {
        grid-row: 2;
        grid-column: 2;
    }

    .badge-item__num {
        font-size: clamp(27px, 2.97vw, 56px);
    }

    .badge-item__label,
    .badge-item__prefix,
    .badge-item__suffix,
    .badge-item__sub {
        font-size: clamp(11px, 1.46vw, 16px);
    }

    .badge-ribbon__text {
        position: relative;
        margin-top: -34px;
        z-index: 2;
        font-size: clamp(12px, 1.68vw, 20px);
    }

    .badge-ribbon__num {
        font-size: clamp(17px, 2.46vw, 31px);
    }
}


@media (max-width: 600px) {
    .mv__inner {
        width: 90%;
    }
}

.hero-strong {
    font-size: clamp(1rem, calc(0.825rem + 0.875vw), 1.875rem);
    font-weight: var(--font-weight-bold);
    transform: rotate(-8deg);
    white-space: nowrap;
    display: inline-block;
    position: relative;
    padding: 0 1.667em;
    letter-spacing: 0.1em;
}

.hero-strong::before,
.hero-strong::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 1.167em;
    height: 1.667em;
}

.hero-strong::before {
    left: 0;
    background: url(../imgs/header/mv-txt__deco1.webp) no-repeat center center;
    background-size: contain;
}

.hero-strong::after {
    right: 0;
    background: url(../imgs/header/mv-txt__deco2.webp) no-repeat center center;
    background-size: contain;
}

.hero-strong strong {
    font-weight: var(--font-weight-bold);
}

.hero-strong span {
    font-size: clamp(1.25rem, calc(1rem + 1.25vw), 2.5rem);
    color: var(--color-sub3);
    font-weight: var(--font-weight-bold);
}

/* =====================================
ヘッダー RESPONSIVE
  ==================================================== */
@media (max-width: 1400px) {
    .header__inner {
        gap: clamp(8px, 1.2vw, 20px);
    }

    .logo {
        width: 110px;
        margin-right: 14px;
    }
}

@media (max-width: 1200px) {
    .nav-bg {
        transform-origin: right center;
        overflow: visible;
        height: auto;
        min-height: 100px;
    }

    .global__navigation {
        margin-right: 6px;

    }
}

@media (max-width: 1060px) {
    .nav-call__item {
        display: none;
    }
}

@media (max-width: 960px) {
    header {
        /* height: 100vh; */
        padding: 0 0.6% 53vw 0.6%;
    }

    .nav-bg {
        display: none;
    }

    .header__inner {
        padding-top: 50px;
    }

    .logo {
        width: 48px;
    }

    .v-ticker__badge {
        padding: 8px 4px;
    }

    .hum {
        width: 40px;
    }

    .hum--pc {
        display: none;
    }

    .hum--sp {
        display: block;
    }

    .mv::before {
        right: 0;
        bottom: -200px;
    }

    .mv::after {
        height: 100%;
        left: 0;
        bottom: -130px;
    }
}

@media (max-width: 768px) {
    .mv::before {
        right: 0;
        bottom: -242px;
    }

    .mv::after {
        width: 40%;
        bottom: -210px;
    }

    .mv__wrapper {
        width: 100%;
    }
}

@media (max-width: 720px) {
    header {
        padding-bottom: 97%;
    }
}


/* =====================================
   SP ドロワー
===================================== */
.sp-drawer {
    display: none;
    width: 100%;
    background: #fff;
    overflow-y: auto;
    flex-direction: column;
}

@media (max-width: 1024px) {
    .drawer__panel {
        display: none;
    }

    .drawer.is-open {
        margin: 0;
    }

    .sp-drawer {
        display: flex;
    }
}

.sp-drawer__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    flex-shrink: 0;
}

.sp-drawer__logo {
    width: 50px;
    flex-shrink: 0;
}

.sp-drawer__logo img {
    width: 100%;
    height: auto;
    display: block;
}

.sp-drawer__title {
    flex: 1;
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    color: var(--color-sub);
    line-height: 2;
    text-decoration: underline dotted 4px var(--color-sub);
    text-underline-offset: 4px;
}

.sp-drawer__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.sp-drawer__close__x {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
}

.sp-drawer__close__x::before,
.sp-drawer__close__x::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-main);
    border-radius: 1px;
}

.sp-drawer__close__x::before {
    transform: translateY(-50%) rotate(45deg);
}

.sp-drawer__close__x::after {
    transform: translateY(-50%) rotate(-45deg);
}

/* CTA */
.sp-drawer__cta {
    display: flex;
    gap: 10px;
    padding: 16px;
    flex-shrink: 0;
}

.sp-drawer__mail {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ff2400;
    border-radius: 12px;
    padding: 10px 8px;
    color: #fff;
    text-decoration: none;
    position: relative;
}

.sp-drawer__mail__free {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: #f4ea78;
    letter-spacing: 0.1em;
    flex-shrink: 0;
    writing-mode: vertical-lr;
    text-orientation: mixed;
}

.sp-drawer__mail__body {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.07em;
    line-height: 1.4;
}

.sp-drawer__mail__lg {
    font-size: 18px;
}

.sp-drawer__mail__arr {
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    flex-shrink: 0;
    margin-left: 12px;
}

.sp-drawer__tel {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: var(--color-sub);
    border-radius: 12px;
    padding: 10px 8px;
    color: #fff;
    text-decoration: none;
    gap: 8px;
}

.sp-drawer__tel__icon {
    width: 20px;
    height: auto;
    display: block;
}

.sp-drawer__tel__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sp-drawer__tel__num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: var(--font-weight-bold);
}

.sp-drawer__tel__note {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* nav */
.sp-drawer__nav {
    flex: 1;
    overflow-y: auto;
}

.sp-drawer__list {
    list-style: none;
}

.sp-drawer__item {
    border-bottom: 1px dashed #ccc;
}

.sp-drawer__link,
.sp-drawer__acc {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 18px 16px;
    gap: 12px;
    color: var(--color-main);
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    cursor: pointer;
}

.sp-drawer__link__text {
    flex: 1;
}

.sp-drawer__icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.sp-drawer__acc span:nth-child(2) {
    flex: 1;
}

.sp-drawer__link__arr {
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--color-main);
    border-right: 2px solid var(--color-main);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* 矢印アイコン: 準備できたら --sp-drawer-arr-icon に url() を設定してください */
:root {
    --sp-drawer-arr-icon: none;
}

.sp-drawer__plus {
    position: relative;
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-main);
    border-radius: 50%;
    flex-shrink: 0;
    /* background-image: var(--sp-drawer-arr-icon);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%; */
}

.sp-drawer__plus::before,
.sp-drawer__plus::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--color-main);
}

.sp-drawer__plus::before {
    width: 10px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.sp-drawer__plus::after {
    width: 2px;
    height: 10px;
    transform: translate(-50%, -50%);
    transition: transform 0.2s;
}

.sp-drawer__acc[aria-expanded="true"] .sp-drawer__plus::after {
    transform: translate(-50%, -50%) rotate(-90deg);
}

.sp-drawer__sub {
    display: none;
    list-style: none;
    background: #fafafa;
    padding: 4px 0 8px;
}

.sp-drawer__sub.is-open {
    display: block;
}

.sp-drawer__sub--grid.is-open {
    display: grid;
}

.sp-drawer__sub li {
    border-bottom: 1px solid #eee;
}

.sp-drawer__sub li:last-child {
    border-bottom: none;
}

.sp-drawer__sub a {
    display: block;
    padding: 12px 16px 12px 52px;
    font-weight: var(--font-weight-bold);
    color: var(--color-main);
    text-decoration: none;
    position: relative;
}

.sp-drawer__sub a::before {
    content: '—';
    position: absolute;
    left: 28px;
    color: var(--color-main);
    font-weight: 400;
}

/* サービス内容：アイコン付き2カラムグリッド */
.sp-drawer__sub--grid {
    display: none;
    grid-template-columns: 1fr 1fr;
    background: #fff4f4;
    border-radius: 12px;
    margin: 0 12px 12px;
    padding: 0 10px;
    overflow: hidden;
}

.sp-drawer__sub--grid li {
    border-bottom: 1px solid #f0d8d8;
    border-right: none;
}

.sp-drawer__sub--grid li:nth-child(odd) {
    border-right: 1px solid #f0d8d8;
}

.sp-drawer__sub--grid li:last-child,
.sp-drawer__sub--grid li:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
}

.sp-drawer__sub--grid a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 10px;
    font-weight: var(--font-weight-bold);
    color: var(--color-main);
}

.sp-drawer__sub--grid a::before {
    display: none;
}

.sp-drawer__sub--grid img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.sp-drawer__icon-blank {
    width: 12px;
    height: 32px;
    flex-shrink: 0;
    display: block;
}

/* =========================================
    スライドスティッカー
============================================ */
.v-ticker {
    position: fixed;
    left: 0;
    top: 0;
    width: 40px;
    height: 100vh;
    overflow: hidden;
    z-index: 999;
    background-color: #fff;
    border-right: 2px solid var(--color-main);
    letter-spacing: 0;
}

.v-ticker__track {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: vTickerScroll 16s linear infinite;
    will-change: transform;
}

.v-ticker__set {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.v-ticker__label,
.v-ticker__badge {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    font-style: normal;
    writing-mode: vertical-lr;
    text-orientation: sideways;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.v-ticker__label {
    color: var(--color-main);
}

.v-ticker__badge {
    color: #fff;
    background-color: #fff;
    padding: 10px 4px;
    -webkit-text-stroke: 1px var(--color-main);
}

.v-ticker--right {
    left: auto;
    right: 0;
    border-right: none;
    border-left: 2px solid var(--color-main);
}

.v-ticker--right .v-ticker__label,
.v-ticker--right .v-ticker__badge {
    transform: rotate(180deg);
}

@keyframes vTickerScroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes vTickerScrollReverse {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0);
    }
}

.v-ticker__track--reverse {
    animation-name: vTickerScrollReverse;
}

@media (max-width: 960px) {
    .v-ticker {
        display: flex;
        align-items: center;
        width: 100%;
        height: 40px;
        top: 0;
        left: 0;
        border-right: none;
        border-bottom: 2px solid var(--color-main);
    }

    .v-ticker--right {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        border-left: none;
        border-top: 2px solid var(--color-main);
    }

    .v-ticker__track {
        flex-direction: row;
        flex-wrap: nowrap;
        animation-name: vTickerScrollX;
    }

    .v-ticker__set {
        flex-direction: row;
        align-items: center;
        flex-shrink: 0;
    }

    .v-ticker__label,
    .v-ticker__badge {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-size: 14px;
        flex-shrink: 0;
    }

    .v-ticker--right .v-ticker__label,
    .v-ticker--right .v-ticker__badge {
        transform: none;
    }

    .v-ticker__track--reverse {
        animation-name: vTickerScrollXReverse;
    }

    @keyframes vTickerScrollX {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }

    @keyframes vTickerScrollXReverse {
        0% {
            transform: translateX(-50%);
        }

        100% {
            transform: translateX(0);
        }
    }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    background-color: #710800;
    padding: 10px 0;
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* max-width: 1480px; */
    max-width: 1500px;
    margin-inline: auto;
    padding-inline: 20px;
    list-style: none;
    font-size: 1rem;
    color: #fff;
}

/* NavXT が出力する <span> アイテム */
.breadcrumb__list span[typeof="ListItem"] {
    display: flex;
    align-items: center;
}

/* HOME リンク（先頭アイテム） */
.breadcrumb__list span[typeof="ListItem"]:first-of-type a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFE000;
    text-decoration: none;
    transition: opacity 0.2s;
}

.breadcrumb__list span[typeof="ListItem"]:first-of-type a::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url(../imgs/home-face.svg) no-repeat center center;
    background-size: contain;
    flex-shrink: 0;
}

.breadcrumb__list span[typeof="ListItem"]:first-of-type a:hover {
    opacity: 0.8;
}

/* 中間リンク */
.breadcrumb__list span[typeof="ListItem"]:not(:first-of-type) a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.breadcrumb__list span[typeof="ListItem"]:not(:first-of-type) a:hover {
    opacity: 0.8;
}

/* 区切り文字 */
.breadcrumb__sep {
    padding-inline: 18px;
    color: #fff;
}

/* 現在ページ（リンクなし span） */
.breadcrumb__list span[typeof="ListItem"]:last-of-type span[property="name"] {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

/* SP
---------------------------------------- */
@media (max-width: 767px) {
    .breadcrumb {
        padding: 8px 0;
    }

    .breadcrumb__list {
        padding-inline: 16px;
    }
}

/* 投稿詳細ページヘッダー */
.post-header {
    display: flex;
    flex-direction: column;
    background: none;
    padding-bottom: 0;
    border-bottom: 1px solid #E9E9E9;
    margin-bottom: 57px;
}

.archive-title {
    position: absolute;
    padding-top: 37px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1120px;
    text-align: center;
    font-size: clamp(1.5rem, 1rem + 2vw, 3rem);
    letter-spacing: 0.05em;
    line-height: 1.5;
    font-weight: var(--font-weight-bold);
    color: var(--color-main);
}

.post-title {
    min-height: 300px;

    display: flex;
    align-items: center;
    width: 90%;
    max-width: 1120px;
    margin: 0 auto;
    text-align: left;
    font-size: clamp(1.5rem, 1rem + 2vw, 3rem);
    letter-spacing: 0.05em;
    line-height: 1.5;
    font-weight: var(--font-weight-bold);
    color: var(--color-main);
}


.post-header .breadcrumb {
    width: 92.8%;
    background: none;
    padding-bottom: 16px;
}

.archive-header .breadcrumb {
    background-color: #710800;
    padding: 10px 0;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.archive-header .breadcrumb__list {
    padding-left: 60px;
}

.post-header .breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    color: #7D7D7D;
}

.post-header .breadcrumb__item,
.archive-header .breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: clamp(11px, 0.75vw, 14px);
    color: var(--color-main);
}

.post-header .breadcrumb__list span[typeof="ListItem"]:first-of-type a::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url(../imgs/home-face__post.svg) no-repeat center center;
    background-size: contain;
    flex-shrink: 0;
}

.post-header .breadcrumb__item:not(:last-child)::after,
.archive-header .breadcrumb__item:not(:last-child)::after {
    content: "";
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--color-main);
    border-right: 2px solid var(--color-main);
    transform: rotate(45deg);
}

.post-header .breadcrumb__link {
    color: var(--color-main);
}

.post-header .breadcrumb__list span[typeof="ListItem"]:not(:first-of-type) a {
    color: #9E1F0E;

}

.breadcrumb__list span[typeof="ListItem"]:first-of-type a {
    color: var(--color-main);

}

.post-header .breadcrumb__sep {
    color: #9E1F0E;
}

.post-header .breadcrumb__sep,
.archive-header .breadcrumb__sep {
    padding-inline: 2px !important;
}

.archive-header .breadcrumb__sep,
.archive-header .breadcrumb__list span[typeof="ListItem"]:first-of-type a {
    color: #FFE000;

}



@media (max-width: 960px) {

    .archive-title {
        padding-top: 0;
    }


    .post-header .breadcrumb {
        bottom: 12px;
    }
}


/*========================
一覧ページヘッダー 
============================*/

.archive-header {
    background: url(../imgs/archive-bg.webp);
    height: 320px;
}

@media (max-width: 960px) {



    .archive__sec {
        padding: 5rem 0 0;
    }

    .archive-header .breadcrumb__list {
        padding-left: 16px;
    }
}

@media (max-width: 720px) {
    .archive-header {
        padding: 0;
    }
}



/*========================
下層（固定）ページヘッダー 
============================*/

.c-page-header {
    height: 572px;
    padding: 0 40px !important;
    background: url(../imgs/l-header__bg.webp);
}

.c-page-header img {
    object-fit: cover;
}

.c-page-header .header__inner {
    padding: 20px 3.6% 0;
}

.c-page-header .l-mv {
    padding: 0 0 0 3.6%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    transform: translateY(30%);
}

.c-page-header .l-mv__title {
    position: relative;
    z-index: 3;
    /* 40% y no 44%: con 9 caracteres katakana (ハウスクリーニング) la caja
       llegaba a 666px y los badges empiezan en 647. Con 40% termina en 613px,
       igual que ゴミ屋敷片付け. Solo actúa por encima de 1024px.
       41% y no 40%: cuanto más estrecha la caja, más líneas ocupa el
       subtítulo y antes invade las migas. */
    max-width: 41%;
    min-width: 0;
}

.c-page-header .l-mv::after {
    position: absolute;
    content: "";
    background: url(../imgs/mv/main-img01.webp) no-repeat center;
    background-size: contain;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 21.6%;
    height: 367px;
}

.c-page-header .l-title {
    font-size: clamp(2.5rem, 2rem + 2.5vw, 5rem);
    /* line-height: 2; */
    letter-spacing: 0.1em;
    font-weight: 900;
    -webkit-text-stroke: 4px var(--color-white);
    paint-order: stroke fill;
    text-shadow: 10px 10px 8px rgb(0, 0, 0, 10%);
    margin-bottom: 34px;
}

.c-page-header .l-subtitle {
    /* fluido: con max-width 44% ningún tamaño fijo mantiene 2 líneas
       a 1200/1280/1366/1440 a la vez. 1.8vw + ls 0 deja 16-42px de aire. */
    font-size: clamp(22px, 1.8vw, 30px);
    line-height: 2;
    letter-spacing: 0;
    font-weight: 500;
}

.c-page-header .trust-badges {
    position: relative;
    max-width: 601px;
    width: auto;
    z-index: 1;
    top: 0;
    right: 17%;
}

/* .l-mv__img {
    width: 21.6%;
} */

.c-page-header .l-mv__img {
    display: none;
}

.c-page-header .breadcrumb {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.c-page-header .breadcrumb__list {
    max-width: 100%;
}

.c-page-header .breadcrumb__list span[typeof="ListItem"]:first-of-type a {
    color: #f4ea78;
}

@media (max-width: 1024px) {

    .c-page-header .l-mv__title {
        max-width: none;
    }

    /* aquí el MV ya está apilado: el subtítulo no compite con los badges
       y recupera su tamaño original */
    .c-page-header .l-subtitle {
        font-size: 30px;
        letter-spacing: 0.05em;
    }

    /* anula el margin-top:-4px de .badge-ribbon__text (header.css:927) */
    .c-page-header .badge-ribbon__text {
        margin-top: 0;
    }

    .c-page-header .l-mv {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateY(5%);
    }

    .c-page-header .l-title {
        text-align: center;
        margin-bottom: 8px;
    }

    .c-page-header .l-mv::after {
        transform: translate(-33%, -28%);
        min-width: 300px;
    }
}

@media (max-width: 960px) {
	
	.c-page-header {
		padding: 0 20px !important;
	}
	
    .c-page-header .header__inner {
        padding: 48px 0 0;
    }
	
	.c-page-header .l-mv {
		padding-left: 0;
	}

    .c-page-header .l-title {
        text-align: left;
    }

    .c-page-header .l-subtitle {
        font-size: 24px;
        line-height: 1.5;
        letter-spacing: 0.05em;
    }

    .c-page-header .trust-badges {
        left: 0;
    }

    /* B.2 · por debajo de 960 la cabecera crece y la foto pasa al flujo */
    .c-page-header {
        height: auto;
        min-height: 572px;
    }

    .c-page-header .l-mv::after {
        content: none;
    }

    .c-page-header .l-mv__img {
        display: block;
        order: 4;
        width: min(100%, 420px);
        margin-inline: auto;
    }

    .c-page-header .l-mv__img img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* badges en fila de 3 (solo en lower: .badge-list global la usan home y áreas) */
    .c-page-header .trust-badges {
        transform: none;
        right: auto;
        bottom: 0;
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .c-page-header .badge-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: clamp(2px, 0.4vw, 8px);
    }

    .c-page-header .badge-item {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .c-page-header .badge-item:nth-child(1),
    .c-page-header .badge-item:nth-child(2),
    .c-page-header .badge-item:nth-child(3) {
        grid-row: auto;
        grid-column: auto;
        justify-self: stretch;
    }

    .c-page-header .badge-ribbon__text {
        margin-top: 0;
    }

    .c-page-header .breadcrumb {
        left: 0;
    }

}

@media (max-width: 768px) {
    .c-page-header {
        min-height: 600px;
    }

    .c-page-header .l-mv::after {
        transform: translate(-14%, -29%);
    }
}

@media (max-width: 600px) {
    .c-page-header .l-mv {
        margin-top: 2rem;
        align-items: flex-start;
        row-gap: 2rem;
    }

    .c-page-header .trust-badges {
        /* era 50%: lo compensaba el translateX(-50%) que B.2 anula en ≤960 */
        left: 0;
    }

    .c-page-header .l-mv::after {
        min-width: 45%;
        transform: translate(3rem, -49%);
    }
}
/* ===================================================================
   2026-09-21 · header / mega / drawer  (puntos 3-4-5-6 del encargo)
   =================================================================== */

/* (3) Columnas del mega sin huecos: la plantilla calcula la clase con el
   número real de items ya filtrados, así que hacen falta 1, 2 y 3 col. */
.mega__wrapper .mega__icon-content__top--1col {
    grid-template-columns: minmax(0, 260px);
    gap: 28px 40px;
}

.mega__wrapper .mega__icon-content__top--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
}

.mega__wrapper .mega__icon-content__top--3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 40px;
}

/* (4) El panel abre 60px por debajo de .nav-bg y el ratón cruzaba un hueco
   muerto. Puente transparente del ancho del panel; solo captura el ratón
   cuando el panel está abierto (el wrapper cerrado es pointer-events:none).
   La barra se queda por encima para que el puente no le robe el hover. */
.nav-bg {
    position: relative;
    z-index: 101;
}

.mega__wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -60px;
    height: 60px;
}

/* (5) Los 5 items del nav se rozaban: 9px de separación a 1440 y la flecha
   pegada a la palabra siguiente. */
.nav-bg .global__navigation {
    gap: clamp(12px, 1.25vw, 28px);
}

.nav-bg .navigation__item .nav__trigger {
    padding-right: clamp(18px, 1.45vw, 26px);
}

/* (6) Hovers dentro del mega. Ámbito .mega__wrapper, sin !important. */
.mega__wrapper .menu__guide .guide__current,
.mega__wrapper .mega__img-item p,
.mega__wrapper .mega__img-item span,
.mega__wrapper .mega__img-item p::before,
.mega__wrapper .mega__img-item span::before,
.mega__wrapper .mega__img img,
.mega__wrapper .mega__icon img {
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.mega__wrapper .menu__guide .guide__current:hover {
    color: var(--color-main);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mega__wrapper .mega__img-item a:hover p,
.mega__wrapper .mega__img-item a:hover span {
    color: #ff2400;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mega__wrapper .mega__img-item a:hover p::before,
.mega__wrapper .mega__img-item a:hover span::before {
    transform: translateX(4px);
}

.mega__wrapper .mega__img-item a:hover .mega__img img,
.mega__wrapper .mega__img-item a:hover .mega__icon img {
    opacity: 0.7;
}

/* (6 bis) La flecha de las tarjetas y de los iconos es un ::after con
   translateY(-50%): se desplaza conservando el centrado vertical. */
.mega__wrapper .mega__img-item p::after,
.mega__wrapper .mega__img-item span::after {
    transition: transform 0.2s ease;
}

.mega__wrapper .mega__img-item a:hover p::after,
.mega__wrapper .mega__img-item a:hover span::after {
    transform: translate(4px, -50%);
}

/* ==========================================================================
   2026-09-21 · Corte responsive del header PC (HANDOFF §19.12)
   [2026-09-22] Corte movido de 1536 a 1850: con todo a flex-shrink:0 dentro
   de la pildora, la nav completa + telefono + CTA + hamburguesa solo caben
   hasta 1850 (a 1800 la hamburguesa se salia 21px del bloque blanco).
   Los 5 items llevaban `flex-shrink: 1`, así que se comprimían aunque hubiera
   sitio y el texto se metía bajo la flecha (medido: 0px de invasión a 1920,
   5 a 1850, 15 a 1800, 24 a 1710, 31 a 1600, 36 a 1536, 42 a 1440).
   ========================================================================== */

/* Por encima del corte: la nav completa y sin comprimir. */
@media (min-width: 1340px) {

    .nav-bg .global__navigation>.navigation__item:not(.nav-call__item):not(.navigation__contact) {
        flex-shrink: 0;
    }
}

/* Del corte a 961: solo teléfono + CTA + hamburguesa. El bloque blanco se
   encoge solo y queda alineado a la derecha; sin disparadores en el DOM
   visible, el mega no puede abrirse y la navegación la cubre el drawer. */
@media (min-width: 961px) and (max-width: 1339px) {

    .nav-bg .global__navigation>.navigation__item:not(.nav-call__item):not(.navigation__contact) {
        display: none;
    }
}

/* ==========================================================================
   2026-09-22 · La ☰ nunca por debajo del CTA (HANDOFF §19.12 bis)
   .nav-bg es flex con `gap: normal` (0) y la separación la ponía el
   `margin-right` de la ul; además la ul y la ☰ tenían flex-shrink: 1, así que
   en anchos ajustados el botón se comprimía. Ahora nada dentro de la píldora
   se comprime: o crece la píldora, o se ocultan los 5 textos (corte de 1536).
   ========================================================================== */
@media (min-width: 961px) {

    .nav-bg {
        gap: clamp(16px, 1.4vw, 30px);
    }

    .nav-bg>* {
        flex-shrink: 0;
    }

    .nav-bg .global__navigation {
        margin-right: 0;
        flex-shrink: 0;
    }

    .nav-bg .global__navigation>.navigation__item {
        flex-shrink: 0;
    }

    .nav-bg .hum--pc {
        flex-shrink: 0;
    }
}

/* ==========================================================================
   2026-09-22 · Modo compacto del header antes del corte (HANDOFF §19.12 ter)
   Entre el corte y 1849 el header se aprieta para que la nav completa siga
   cabiendo: frase del logo a 13px, nav a 15px con menos padding, teléfono en
   una línea y CTA de una línea. Ámbito .nav-bg / .site-title__wrapper.
   ========================================================================== */
@media (min-width: 1340px) and (max-width: 1849px) {

    /* 1) frase junto al logo: fuera de la vista pero presente para lectores de
       pantalla y buscadores (es el H1 del sitio; nada de display:none). */
    .site-title__wrapper .site-title {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .site-title__wrapper .logo {
        width: 112px;
        margin-right: 16px;
    }

    /* 2) nav */
    .nav-bg {
        gap: clamp(16px, 1vw, 24px);
    }

    .nav-bg .global__navigation {
        gap: clamp(10px, 0.8vw, 16px);
    }

    .nav-bg .navigation__item .nav__item,
    .nav-bg .navigation__item .nav__trigger {
        font-size: 15px;
        padding-right: 10px;
    }

    .nav-bg .navigation__item .nav__trigger {
        padding-right: 22px;
    }

    .nav-bg .navigation__item .nav__trigger::before {
        width: 9px;
        height: 6px;
        right: 4px;
    }

    /* 3) teléfono en dos líneas (como el normal) con los tamaños del compacto */
    .nav-bg .nav-call__item .nav__call {
        font-size: 24px;
        padding-left: 24px;
    }

    .nav-bg .nav-call__item .nav__call::before {
        width: 18px;
        height: 18px;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-bg .nav-call__item .nav__call__txt {
        font-size: 11px;
    }

    /* 4) CTA de una línea: el texto suelto tras el <br> se apaga con font-size 0 */
    .nav-bg .navigation__contact {
        min-width: 0;
    }

    .nav-bg .navigation__contact a {
        font-size: 0;
        padding: 12px 42px 12px 14px;
    }

    .nav-bg .navigation__contact br {
        display: none;
    }

    .nav-bg .navigation__contact .nav__contact {
        font-size: 14px;
    }

    .nav-bg .navigation__contact a::before {
        width: 28px;
        height: 28px;
        right: 8px;
    }
}

/* ==========================================================================
   2026-09-22 · §20.14 ter-7 — bloque de conversión del drawer PC (.drawer__cta)
   Misma solución que ihin (§20.14 bis-2): banner más estrecho, contacto flexible,
   botones メール/LINE del mismo tamaño con el texto en 2 líneas sin cortar, icono a
   la derecha centrado, medios de pago alineados con los botones sin solaparse y
   una columna en ≤1200. (Por debajo de 1025 se usa el drawer SP.)
   ========================================================================== */
.drawer__cta__campaign {
    width: clamp(240px, 26%, 400px);
    flex-shrink: 0;
}

.drawer__cta .flow__contact__inner {
    flex: 1;
    min-width: 0;
    max-width: 938px;
    gap: 3.5%;
    align-items: center;
}

.drawer__cta .flow__contact__btns {
    display: flex;
}

.drawer__cta .flow__btn {
    flex: 1 1 0;
    min-width: 0;
}

.drawer__cta .flow__btn__sub,
.drawer__cta .flow__btn__main {
    white-space: nowrap;
}

.drawer__cta .flow__payment {
    flex-wrap: wrap;
    row-gap: 6px;
}

.drawer__cta .flow__payment__txt {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (min-width: 1201px) {
    /* 「まずはお気軽に／ご相談ください！」 en 2 líneas equilibradas */
    .drawer__cta .flow__contact__heading .sp-only {
        display: inline;
    }
}

@media (max-width: 1200px) {
    .drawer__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .drawer__cta__campaign {
        align-self: center;
    }

    .drawer__cta .flow__contact__inner {
        max-width: none;
        flex-direction: column;
        gap: 16px;
    }

    .drawer__cta .flow__tel__area,
    .drawer__cta .flow__contact__right {
        width: 100%;
    }
}

/* ==========================================================================
   2026-09-22 · §22 bis-4 — drawer SP: teléfono en una línea (antes 「052-766-／7476」)
   y, a ≤374px, メールでお見積り sin partirse (antes 「メール／で／お見積／り」).
   Medido: 375 → 20,25px en una línea; 320 → 17,28px en una línea; botones 139×65.
   ========================================================================== */
.sp-drawer__tel__num {
    white-space: nowrap;
    font-size: clamp(16px, 5.4vw, 22px);
}

.sp-drawer__tel__body {
    min-width: 0;
}

@media (max-width: 374px) {
    .sp-drawer__tel {
        gap: 6px;
    }

    .sp-drawer__tel__icon {
        width: 16px;
    }

    .sp-drawer__mail {
        gap: 6px;
    }

    .sp-drawer__mail__body {
        white-space: nowrap;
        font-size: 13px;
    }

    .sp-drawer__mail__lg,
    .sp-drawer__mail__free {
        font-size: 16px;
    }

    .sp-drawer__mail__arr {
        margin-left: 4px;
    }
}

/* ==========================================================================
   2026-09-23 · §29 MV de las páginas inferiores (.c-page-header) en móvil
   - .l-mv conservaba translateY(30%) de escritorio: la foto acababa 36-40px
     por debajo del fondo de la cabecera (y las migas la pisaban).
   - alto automático (sin min-height 572/600 que forzaba recortes) + hueco
     para las migas (71px) al final.
   - foto a ancho completo debajo del texto, proporción fija = la de la imagen
     (1016/896), object-fit: cover centrado → sin recorte del camión.
   - subtítulo a 2 líneas como máximo (antes 3-4).
   ========================================================================== */
@media (max-width: 960px) {
    .c-page-header {
        min-height: 0;
        padding-bottom: 96px !important;
    }

    .c-page-header .l-mv {
        transform: none;
        row-gap: 20px;
    }

    .c-page-header .l-subtitle {
        font-size: clamp(14px, 4.2vw, 17px);
        line-height: 1.8;
        letter-spacing: 0.03em;
    }

    .c-page-header .l-mv__img {
        width: 100%;
        max-width: none;
        aspect-ratio: 1016 / 896;
    }

    .c-page-header .l-mv__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* ==========================================================================
   §40 · ☰ fijo al hacer scroll (body.is-scrolled lo pone js/script.js).
   Sin círculo, sin fondo y sin blur: solo el icono con sombra propia para que
   se lea sobre las fotos. Área táctil de 44px con el icono a 40px.
   ========================================================================== */
body.is-scrolled .hum {
    position: fixed;
    top: calc(20px + env(safe-area-inset-top));
    right: 20px;
    z-index: 9998;
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

body.is-scrolled .hum img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

/* §40.5 bis · El ☰ fijo entra deslizándose desde arriba, no de golpe. */
@keyframes yaruyo-hum-entra {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.is-scrolled .hum {
    animation: yaruyo-hum-entra 0.38s cubic-bezier(0.22, 0.61, 0.36, 1) both;
    will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
    body.is-scrolled .hum {
        animation: none;
    }
}

/* ==========================================================================
   §40.6 · La X de cerrar solo existe con el menú abierto.
   Antes dependía de que el panel heredara visibility:hidden, y durante la
   transición de cierre (y en cualquier estado en que el panel se pintara)
   se llegaba a ver sobre la página. Ahora se oculta por sí misma y solo
   aparece —con un fundido— cuando .drawer lleva is-open.
   ========================================================================== */
.drawer__close,
.sp-drawer__close {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.drawer.is-open .drawer__close,
.drawer.is-open .sp-drawer__close {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    .drawer__close,
    .sp-drawer__close {
        transition: none;
    }
}

/* ==========================================================================
   2026-09-23 · §41.3 — el ☰ fijo mostraba las DOS variantes a la vez.
   `body.is-scrolled .hum { display: flex }` (§40.5) tiene más especificidad
   que `.hum--sp { display: none }` y que la regla de ≤960 que apaga
   `.hum--pc`, así que al hacer scroll se pintaban superpuestos el icono de PC
   y el de móvil: en PC asomaba el círculo del icono SP por detrás del ☰.
   ========================================================================== */
@media (min-width: 961px) {

    body.is-scrolled .hum--sp {
        display: none;
    }
}

@media (max-width: 960px) {

    body.is-scrolled .hum--pc {
        display: none;
    }
}

/* ==========================================================================
   2026-09-23 · §41.4 — el ☰ fijo se apartaba mal de las cintas del 20% OFF.
   En 不用品回収 las cintas (`.v-ticker`, z-index 999) son verticales de 40px a
   izquierda y derecha en PC, y horizontales de 40px arriba y abajo en móvil.
   El botón fijo (z 9998) se pintaba encima: en PC pisaba 20px de la cinta
   derecha (icono en x1376..1420 con la cinta en 1400..1440) y en móvil
   quedaba sobre la de arriba (icono en y20..64 con la cinta en y0..40).
   Ahora se aparta 20px de la cinta en cada caso. 遺品整理 no lleva cintas:
   este bloque NO va en ihin-header.css.
   ========================================================================== */
@media (min-width: 961px) {

    body.is-scrolled .hum {
        right: 60px;
        /* 40 de cinta + 20 de aire */
    }
}

@media (max-width: 960px) {

    body.is-scrolled .hum {
        top: calc(60px + env(safe-area-inset-top));
        /* 40 de cinta + 20 de aire */
    }
}

/* ==========================================================================
   2026-09-23 · §41.5 — en PC el ☰ fijo se leía mal sobre el contenido.
   Pasa a una caja blanca de 60×60 (icono de 40 + 10 de aire), radio 6 en las
   cuatro esquinas y sombra propia; el `drop-shadow` del icono sobra y se
   quita. Sigue a 60px del borde: la caja ocupa x1324..1380 a 1440 y deja los
   mismos 20px de aire con la cinta del 20% OFF (x1400..1440).
   En móvil se queda como estaba (icono suelto, sin caja). Solo 不用品回収.
   ========================================================================== */
@media (min-width: 961px) {

    body.is-scrolled .hum {
        box-sizing: border-box;
        width: 60px;
        height: 60px;
        min-width: 60px;
        padding: 10px;
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    }

    body.is-scrolled .hum img {
        filter: none;
    }
}

/* ==========================================================================
   2026-09-23 · §41.6 — cabecera del drawer en PC: el logo tocaba el borde
   izquierdo del panel y la X con 「CLOSE」 el derecho (`.drawer__head` tenía
   `padding: clamp(14px,1.5vw,24px) 0`, sin aire lateral). Medido a 1440 con
   el menú abierto: panel x40..1400, logo x40..138 y cierre x1293..1400.
   Se le dan 40px a cada lado, que además alinea el logo con la primera
   columna del menú y la X con los banners de la derecha.
   Móvil usa `.sp-drawer__head` y no se toca.
   ========================================================================== */
@media (min-width: 961px) {

    .drawer__head {
        padding-left: 40px;
        padding-right: 40px;
    }
}


/* ==========================================================================
   §79 (2026-09-24) · El texto junto al logo vuelve a verse entre 1600 y 1849 px.

   Antes: ≥1850 visible a tamaño normal · 1340–1849 oculto (visually-hidden)
          · ≤1339 visible otra vez.
   Ahora: ≥1850 igual · 1600–1849 visible con el cuerpo bajando en línea recta
          de 17,806 px (lo que da la regla base justo a 1849) a 12 px a 1600
          · 1340–1599 oculto igual que antes · ≤1339 igual que antes.

   La recta sale de f(1849)=17,806 y f(1600)=12:
     pendiente = 5,806 / 249 = 0,0233173 px por px  →  2,3317vw
     ordenada  = 12 − 0,0233173 × 1600 = −25,3076px
   Por eso no hay salto ni al cruzar 1850 (17,806 ↔ 17,806) ni al entrar en el
   rango oculto. El mínimo es 12 px: nunca baja de ahí.

   Esta regla va al final del fichero a propósito: gana por orden de cascada al
   bloque visually-hidden de 1340–1849 sin tener que partirlo, así que ese
   bloque sigue intacto para 1340–1599 (SEO y lectores de pantalla sin cambio).
   Solo toca `font-size` y las propiedades del recorte: ni el logo, ni la nav,
   ni el teléfono, ni el CTA, ni la altura del header se tocan.
   ========================================================================== */
@media (min-width: 1600px) and (max-width: 1849px) {

    .site-title__wrapper .site-title {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
        overflow: visible;
        clip: auto;
        clip-path: none;
        white-space: normal;
        font-size: clamp(12px, -25.3076px + 2.3317vw, 17.806px);
    }
}


/* ==========================================================================
   §85 (2026-09-27) · La tagline del header se ajusta a su longitud.

   En la ficha de un work la frase nombra la zona, así que pasa de 12 caracteres
   («愛知・名古屋の不用品回収») a 18 en el peor caso («愛知・北名古屋市の遺品整理・生前整理»).
   Mismo mecanismo que `--bg-len` con la palabra de fondo (§56): el PHP escribe
   `--title-len` con los caracteres de la línea más larga y aquí se calcula el
   cuerpo máximo que cabe en el hueco entre el logo y la píldora de la nav.

   `--title-space` es ese hueco medido: ~15,5vw tanto a 1920 (537,9 − 232,1 = 305,8)
   como a 1600 (436,1 − 185,6 = 250,5). El avance por carácter es el cuerpo × 1,1
   (letter-spacing: 0.1em), de ahí la división.

   `min()` hace que esto solo actúe cuando el texto es largo: con los 12
   caracteres de siempre el resultado queda por encima del clamp y no cambia nada.
   ========================================================================== */
.site-title {
    --title-len: 12;
    --title-space: calc(100vw * 0.155);
    --title-fit: calc(var(--title-space) / (var(--title-len) * 1.1));
    font-size: min(clamp(12px, 10.41px + 0.40vw, 18px), var(--title-fit));
}

@media (min-width: 1600px) and (max-width: 1849px) {

    .site-title__wrapper .site-title {
        font-size: min(clamp(12px, -25.3076px + 2.3317vw, 17.806px), var(--title-fit));
    }
}

/* Por debajo del corte la frase vuelve a tener toda la anchura de la cabecera:
   ahí no hay píldora al lado, así que el tope por longitud no aplica. */
@media (max-width: 1339px) {
    .site-title {
        --title-fit: 999px;
    }
}
