/*
 * Mogland Renewal Header
 * PC・スマホ共通の完全版。既存Bootstrapへ依存しない。
 */

.mog-renewal-header,
.mog-renewal-header *,
.mog-renewal-nav,
.mog-renewal-nav *,
.mog-renewal-floating-menu,
.mog-renewal-floating-menu * {
    box-sizing: border-box;
}

.mog-renewal-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid #e3e7e1;
    background: #fff;
    color: #222;
}

.mog-renewal-header__inner,
.mog-renewal-nav__inner {
    width: min(calc(100% - 24px), 1180px);
    margin-inline: auto;
}

/* ページタイトル帯：PC・スマホ共通で表示 */
.mog-renewal-header__context {
    display: block;
    border-bottom: 1px solid #e7ebe5;
    background: #f7f8f5;
}

.mog-renewal-header__context-title {
    margin: 0;
    padding: 5px 0;
    color: #414941;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
}

.mog-renewal-header__main {
    background: #fff;
}

.mog-renewal-header__achievement,
.mog-renewal-header__actions {
    display: none;
}

/* =========================================================
 * スマホヘッダー
 * ======================================================= */

.mog-renewal-header__main-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(3, 52px);
    align-items: center;
    min-height: 76px;
    column-gap: 5px;
}

.mog-renewal-header__logo {
    display: block;
    width: min(100%, 180px);
    max-width: 100%;
    padding-right: 4px;
    line-height: 0;
}

.mog-renewal-header__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.mog-renewal-header__language-mobile,
.mog-renewal-header__phone,
.mog-renewal-header__menu-button {
    width: 52px;
    min-width: 52px;
    height: 58px;
    margin: 0;
    border-radius: 6px;
}

.mog-renewal-header__language-mobile,
.mog-renewal-header__phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 1px solid #cfddcc;
    text-decoration: none;
}

.mog-renewal-header__language-mobile {
    background: #fff;
    color: #0b5f83;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.mog-renewal-header__language-mobile:hover,
.mog-renewal-header__language-mobile:focus-visible {
    border-color: #16762a;
    background: #f2f8f1;
    color: #0b4f70;
    text-decoration: none;
    outline: 2px solid rgba(22, 118, 42, .28);
    outline-offset: 1px;
}

.mog-renewal-header__language-icon {
    display: block;
    width: 23px;
    height: 23px;
}

.mog-renewal-header__language-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mog-renewal-header__phone {
    background: #f2f8f1;
    color: #137127;
}

.mog-renewal-header__phone--mobile:hover,
.mog-renewal-header__phone--mobile:focus-visible {
    border-color: #16762a;
    background: #e8f4e6;
    color: #0e5d1d;
    text-decoration: none;
    outline: 2px solid rgba(22, 118, 42, .28);
    outline-offset: 1px;
}

.mog-renewal-header__phone-icon {
    display: block;
    width: 23px;
    height: 23px;
}

.mog-renewal-header__phone-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mog-renewal-header__phone-mobile-label {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.mog-renewal-header__phone-content {
    display: none;
}

/* PC専用の電話番号表示はスマホではDOM上でも非表示扱いにする。 */
.mog-renewal-header__phone--desktop {
    display: none;
}

.mog-renewal-header__menu-button {
    display: grid;
    place-items: center;
    align-content: center;
    padding: 5px 3px;
    border: 0;
    background: #16822d;
    color: #fff;
    cursor: pointer;
    appearance: none;
}

.mog-renewal-header__menu-button:hover,
.mog-renewal-header__menu-button:focus-visible {
    background: #0f6722;
    outline: 2px solid rgba(15, 103, 34, .35);
    outline-offset: 1px;
}

.mog-renewal-header__menu-lines {
    display: grid;
    gap: 5px;
    width: 30px;
}

.mog-renewal-header__menu-lines i {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.mog-renewal-header__menu-label {
    margin-top: 3px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.mog-renewal-header__menu-button[aria-expanded="true"] .mog-renewal-header__menu-lines i:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mog-renewal-header__menu-button[aria-expanded="true"] .mog-renewal-header__menu-lines i:nth-child(2) {
    opacity: 0;
}

.mog-renewal-header__menu-button[aria-expanded="true"] .mog-renewal-header__menu-lines i:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
 * スマホ：オフキャンバスメニュー
 * ======================================================= */

.mog-renewal-nav {
    position: fixed;
    z-index: 2200;
    inset: 0;
    display: block;
    overflow: hidden;
    border: 0;
    background: transparent;
    box-shadow: none;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear .18s;
}

.mog-renewal-header.is-menu-open .mog-renewal-nav {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.mog-renewal-nav__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, .48);
    opacity: 0;
    transition: opacity .22s ease;
    will-change: opacity;
    cursor: pointer;
}

.mog-renewal-header.is-menu-open .mog-renewal-nav__backdrop {
    opacity: 1;
}

.mog-renewal-nav__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(88vw, 390px);
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    box-shadow: -12px 0 30px rgba(0, 0, 0, .22);
    opacity: 0;
    transform: none;
    transition: opacity .18s ease;
    will-change: opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.mog-renewal-header.is-menu-open .mog-renewal-nav__panel {
    opacity: 1;
}

.mog-renewal-nav__drawer-heading {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 10px 22px;
    border-bottom: 1px solid #dfe8dc;
    background: #fff;
    color: #153d1e;
}

.mog-renewal-nav__drawer-heading strong {
    font-size: 1.8rem;
    line-height: 1.3;
}

.mog-renewal-nav__drawer-close {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 1px solid #cbdac8;
    border-radius: 50%;
    background: #f5f9f4;
    color: #176f29;
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.mog-renewal-nav__inner {
    width: 100%;
}

.mog-renewal-nav__list,
.mog-renewal-nav__sublist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mog-renewal-nav__item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e7ebe5;
}

.mog-renewal-nav__item > a,
.mog-renewal-nav__submenu-button,
.mog-renewal-nav__close-button {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 13px 20px;
    border: 0;
    background: #fff;
    color: #202620;
    font: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
}

.mog-renewal-nav__item > a::after {
    flex: 0 0 auto;
    margin-left: 10px;
    color: #16822d;
    content: "›";
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1;
}

.mog-renewal-nav__link-content {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
}

.mog-renewal-nav__icon {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mog-renewal-nav__item > a:hover,
.mog-renewal-nav__item > a:focus-visible,
.mog-renewal-nav__submenu-button:hover,
.mog-renewal-nav__submenu-button:focus-visible,
.mog-renewal-nav__close-button:hover,
.mog-renewal-nav__close-button:focus-visible {
    background: #f0f7ef;
    color: #126c25;
    text-decoration: none;
    outline: none;
}

.mog-renewal-nav__item.is-current > a,
.mog-renewal-nav__item.is-current-parent > .mog-renewal-nav__submenu-button {
    background: #f0f7ef;
    color: #126c25;
}

.mog-renewal-nav__chevron {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    margin-left: 10px;
    border-right: 2px solid #16822d;
    border-bottom: 2px solid #16822d;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .2s ease;
}

.mog-renewal-nav__submenu-button[aria-expanded="true"] .mog-renewal-nav__chevron {
    transform: rotate(225deg) translate(-2px, -2px);
}

.mog-renewal-nav__sublist {
    display: none;
    background: #fffaf7;
}

.mog-renewal-nav__item--has-children.is-submenu-open .mog-renewal-nav__sublist {
    display: block;
}

.mog-renewal-nav__sublist li {
    margin: 0;
    border-top: 1px solid #f1ded4;
}

.mog-renewal-nav__sublist a {
    display: flex;
    min-height: 56px;
    align-items: center;
    gap: 14px;
    padding: 8px 18px 8px 40px;
    color: #202620;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
}

.mog-renewal-nav__sub-icon {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    color: #f45112;
    place-items: center;
}

.mog-renewal-nav__sub-icon-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.mog-renewal-nav__sublist a:hover,
.mog-renewal-nav__sublist a:focus-visible {
    background: #fff1e8;
    color: #202620;
    text-decoration: none;
    outline: none;
}

.mog-renewal-nav__sublist a[aria-current="page"] {
    background: #ffe9dd;
    color: #202620;
    font-weight: 800;
}

.mog-renewal-nav__close-button {
    justify-content: center;
    background: #16762a;
    color: #fff;
    text-align: center;
}

.mog-renewal-nav__close-button:hover,
.mog-renewal-nav__close-button:focus-visible {
    background: #0e5d1d;
    color: #fff;
}

body.mog-renewal-menu-open {
    overflow: hidden;
}

/* =========================================================
 * スマホ：画面上端（ヘッダー消失後の直下位置）の小型追従メニュー
 * ======================================================= */

.mog-renewal-floating-menu {
    position: fixed;
    z-index: 2000;
    top: calc(12px + env(safe-area-inset-top));
    right: 16px;
    bottom: auto;
    left: auto;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    align-content: center;
    margin: 0;
    padding: 6px 4px;
    border: 0;
    border-radius: 12px;
    background: #16762a;
    color: #fff;
    box-shadow: 0 6px 18px rgba(10, 55, 20, .28);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    appearance: none;
}

/* WordPressログイン中の管理バー分だけ下げる。 */
body.admin-bar .mog-renewal-floating-menu {
    top: calc(58px + env(safe-area-inset-top));
}

@media (min-width: 783px) and (max-width: 991px) {
    body.admin-bar .mog-renewal-floating-menu {
        top: calc(44px + env(safe-area-inset-top));
    }
}

.mog-renewal-floating-menu.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

/* 追従メニュー表示中は、同じ右下位置の「TOPへ」ボタンを一時的に隠す。 */
body.mog-renewal-floating-menu-is-visible .mog-renewal-footer__top-button.top-button {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.mog-renewal-floating-menu__icon {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
}

.mog-renewal-floating-menu__label {
    margin-top: 1px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.mog-renewal-nav-placeholder {
    display: none;
}

/* 狭いスマホ */
@media (max-width: 374px) {
    .mog-renewal-header__inner {
        width: min(calc(100% - 12px), 1180px);
    }

    .mog-renewal-header__context-title {
        font-size: 1rem;
    }

    .mog-renewal-header__main-inner {
        grid-template-columns: minmax(0, 1fr) repeat(3, 48px);
        column-gap: 3px;
    }

    .mog-renewal-header__logo {
        width: min(100%, 154px);
        padding-right: 3px;
    }

    .mog-renewal-header__language-mobile,
    .mog-renewal-header__phone,
    .mog-renewal-header__menu-button {
        width: 48px;
        min-width: 48px;
        height: 56px;
    }

    .mog-renewal-header__language-icon,
    .mog-renewal-header__phone-icon {
        width: 21px;
        height: 21px;
    }

    .mog-renewal-header__menu-lines {
        width: 27px;
    }
}

/* =========================================================
 * PCヘッダー・グローバルナビ
 * ======================================================= */

@media (min-width: 992px) {
    .mog-renewal-header__main .mog-renewal-header__inner,
    .mog-renewal-header .mog-renewal-nav__inner {
        width: min(calc(100% - 40px), 1480px);
    }

    .mog-renewal-header__context-title {
        padding: 5px 0;
        font-size: 1.1rem;
        text-align: left;
    }

    .mog-renewal-header__main-inner {
        grid-template-columns:
            minmax(220px, 260px)
            110px
            minmax(360px, 400px)
            minmax(460px, 1fr);
        min-height: 132px;
        column-gap: clamp(10px, 1vw, 16px);
        padding-block: 10px;
    }

    .mog-renewal-header__logo {
        width: 100%;
        max-width: 260px;
        padding: 0;
        justify-self: start;
    }

    .mog-renewal-header__achievement {
        display: block;
        width: 110px;
        height: 110px;
        justify-self: center;
        line-height: 0;
    }

    .mog-renewal-header__achievement img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .mog-renewal-header__language-mobile,
    .mog-renewal-header__menu-button {
        display: none;
    }

    .mog-renewal-header__phone--mobile {
        display: none;
    }

    .mog-renewal-header__phone--desktop {
        display: grid;
        grid-template-columns: 50px minmax(0, 1fr);
        grid-template-rows: auto auto;
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 92px;
        align-items: center;
        justify-content: initial;
        gap: 0 12px;
        justify-self: stretch;
        padding: 12px 17px;
        border: 2px solid #c8942f;
        border-radius: 14px;
        background: linear-gradient(180deg, #fffefa 0%, #fff 67%, #fff9ed 100%);
        color: #11722a;
        text-decoration: none;
        cursor: default;
        box-shadow: 0 3px 8px rgba(63, 62, 32, .10);
    }

    .mog-renewal-header__phone-icon {
        display: flex;
        grid-column: 1;
        grid-row: 1 / 3;
        width: 50px;
        height: 50px;
        align-items: center;
        justify-content: center;
        background: url("../img/phone-solid.svg?v=45-2") center / contain no-repeat;
    }

    /* PCではサンプルどおりのベタ塗りアイコンを表示する。
       スマホ用のアウトラインSVGはPC時のみ非表示にする。 */
    .mog-renewal-header__phone-icon svg {
        display: none;
    }

    .mog-renewal-header__phone-content {
        display: contents;
    }

    .mog-renewal-header__phone-mobile-label {
        display: none;
    }

    .mog-renewal-header__phone strong {
        display: block;
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        align-self: end;
        overflow: hidden;
        color: #11722a;
        font-size: clamp(29px, 2.05vw, 36px);
        font-weight: 800;
        font-variant-numeric: tabular-nums;
        letter-spacing: -.055em;
        line-height: 1;
        text-overflow: clip;
        white-space: nowrap;
    }

    .mog-renewal-header__phone small {
        display: block;
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        margin-top: 7px;
        color: #202720;
        font-size: clamp(12px, .84vw, 14px);
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
    }

    .mog-renewal-header__actions {
        display: grid;
        grid-template-columns: minmax(150px, 1fr) minmax(155px, 1.03fr) minmax(140px, .9fr);
        width: 100%;
        min-width: 0;
        align-items: stretch;
        gap: clamp(8px, .7vw, 12px);
    }

    .mog-renewal-header__action {
        position: relative;
        display: flex;
        width: 100%;
        min-width: 0;
        min-height: 68px;
        align-items: center;
        justify-content: center;
        gap: 9px;
        margin: 0;
        padding: 11px 14px;
        overflow: hidden;
        border: 2px solid transparent;
        border-radius: 14px;
        font-size: clamp(14px, 1vw, 17px);
        font-weight: 800;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
        white-space: nowrap;
        box-shadow: 0 4px 10px rgba(33, 63, 29, .14);
        transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
    }

    .mog-renewal-header__action:hover,
    .mog-renewal-header__action:focus-visible {
        text-decoration: none;
        outline: 3px solid rgba(18, 113, 39, .18);
        outline-offset: 2px;
        transform: translateY(-2px);
        box-shadow: 0 7px 16px rgba(31, 62, 28, .2);
    }

    .mog-renewal-header__action-label {
        min-width: 0;
    }

    .mog-renewal-header__action-arrow {
        flex: 0 0 auto;
        margin-left: auto;
        font-size: 25px;
        font-weight: 400;
        line-height: 1;
    }

    .mog-renewal-header__action--line {
        border-color: #0b7b27;
        background: linear-gradient(180deg, #179334 0%, #087821 100%);
        color: #fff;
    }

    .mog-renewal-header__action--line:hover,
    .mog-renewal-header__action--line:focus-visible {
        border-color: #075f19;
        background: #08701f;
        color: #fff;
    }

    .mog-renewal-header__line-mark {
        position: relative;
        display: inline-flex;
        width: 34px;
        height: 29px;
        flex: 0 0 34px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #fff;
        color: #10832b;
        font-family: Arial, sans-serif;
        font-size: 7px;
        font-weight: 900;
        line-height: 1;
        letter-spacing: -.03em;
    }

    .mog-renewal-header__line-mark::after {
        position: absolute;
        right: 2px;
        bottom: -2px;
        width: 8px;
        height: 8px;
        background: #fff;
        clip-path: polygon(0 0, 100% 0, 100% 100%);
        content: "";
    }

    .mog-renewal-header__action--mail {
        border-color: #e86c00;
        background: linear-gradient(180deg, #ff8516 0%, #ec6800 100%);
        color: #fff;
    }

    .mog-renewal-header__action--mail:hover,
    .mog-renewal-header__action--mail:focus-visible {
        border-color: #c65300;
        background: #df5f00;
        color: #fff;
    }

    .mog-renewal-header__action--language {
        border-color: #cbd2cc;
        background: linear-gradient(180deg, #fff 0%, #fafbf9 100%);
        color: #283129;
    }

    .mog-renewal-header__action--language:hover,
    .mog-renewal-header__action--language:focus-visible {
        border-color: #86a88c;
        background: #f2f7f2;
        color: #126f29;
    }

    .mog-renewal-header__action-icon {
        display: inline-flex;
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
        align-items: center;
        justify-content: center;
    }

    .mog-renewal-header__action-icon svg {
        display: block;
        width: 100%;
        height: 100%;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.15;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* PCグローバルナビ */
    .mog-renewal-nav {
        position: static;
        z-index: 1000;
        inset: auto;
        display: block;
        overflow: visible;
        background: #16762a;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transition: none;
    }

    .mog-renewal-nav__backdrop,
    .mog-renewal-nav__drawer-heading {
        display: none;
    }

    .mog-renewal-nav__panel {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .mog-renewal-nav__inner {
        width: min(calc(100% - 40px), 1480px);
        margin-inline: auto;
    }

    .mog-renewal-nav__list {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        align-items: stretch;
    }

    .mog-renewal-nav__item {
        position: relative;
        border: 0;
        border-left: 1px solid rgba(255, 255, 255, .24);
    }

    .mog-renewal-nav__item:nth-child(6) {
        border-right: 1px solid rgba(255, 255, 255, .24);
    }

    .mog-renewal-nav__item > a,
    .mog-renewal-nav__submenu-button {
        min-height: 58px;
        justify-content: center;
        padding: 12px 14px;
        background: transparent;
        color: #fff;
        font-size: 1.55rem;
        text-align: center;
    }

    .mog-renewal-nav__item > a::after {
        display: none;
    }

    .mog-renewal-nav__link-content {
        gap: 10px;
    }

    .mog-renewal-nav__icon {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
        stroke-width: 2.3;
    }

    .mog-renewal-nav__item > a:hover,
    .mog-renewal-nav__item > a:focus-visible,
    .mog-renewal-nav__submenu-button:hover,
    .mog-renewal-nav__submenu-button:focus-visible,
    .mog-renewal-nav__item--has-children:hover > .mog-renewal-nav__submenu-button {
        background: #0f6521;
        color: #fff;
    }

    .mog-renewal-nav__item.is-current > a,
    .mog-renewal-nav__item.is-current-parent > .mog-renewal-nav__submenu-button {
        background: #0f6521;
        color: #fff;
    }

    .mog-renewal-nav__chevron {
        border-color: #fff;
    }

    .mog-renewal-nav__sublist,
    .mog-renewal-nav__item--has-children.is-submenu-open .mog-renewal-nav__sublist {
        position: absolute;
        z-index: 30;
        top: 100%;
        left: 50%;
        display: none;
        width: 310px;
        overflow: hidden;
        border: 1px solid #f2c1a7;
        border-top: 0;
        border-radius: 0 0 8px 8px;
        background: #fff;
        box-shadow: 0 12px 24px rgba(117, 55, 20, .16);
        transform: translateX(-50%);
    }

    .mog-renewal-nav__item--has-children.is-submenu-open .mog-renewal-nav__sublist {
        display: block;
    }

    .mog-renewal-nav__sublist li {
        border-top: 1px solid #f1ded4;
    }

    .mog-renewal-nav__sublist li:first-child {
        border-top: 0;
    }

    .mog-renewal-nav__sublist a {
        min-height: 56px;
        gap: 14px;
        padding: 8px 19px;
        color: #202620;
        text-align: left;
    }

    .mog-renewal-nav__item--mobile-only {
        display: none;
    }

    .mog-renewal-nav.is-pc-sticky {
        position: fixed;
        z-index: 2100;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        box-shadow: 0 5px 15px rgba(14, 57, 23, .2);
    }

    body.admin-bar .mog-renewal-nav.is-pc-sticky {
        top: 32px;
    }

    .mog-renewal-nav-placeholder.is-active {
        display: block;
    }

    html {
        scroll-padding-top: 70px;
    }

    .mog-renewal-floating-menu {
        display: none;
    }
}

/* 992〜1279px：小型ノートPC */
@media (min-width: 992px) and (max-width: 1279px) {
    .mog-renewal-header__main .mog-renewal-header__inner,
    .mog-renewal-header .mog-renewal-nav__inner {
        width: min(calc(100% - 24px), 1220px);
    }

    .mog-renewal-header__main-inner {
        grid-template-columns:
            minmax(175px, 195px)
            82px
            minmax(285px, 310px)
            minmax(360px, 1fr);
        min-height: 106px;
        column-gap: 8px;
        padding-block: 8px;
    }

    .mog-renewal-header__logo {
        max-width: 195px;
    }

    .mog-renewal-header__achievement {
        width: 82px;
        height: 82px;
    }

    .mog-renewal-header__phone {
        grid-template-columns: 38px minmax(0, 1fr);
        min-height: 74px;
        gap: 0 8px;
        padding: 8px 10px;
        border-radius: 10px;
    }

    .mog-renewal-header__phone-icon {
        width: 38px;
        height: 38px;
    }

    .mog-renewal-header__phone strong {
        font-size: clamp(24px, 2.45vw, 29px);
        letter-spacing: -.045em;
    }

    .mog-renewal-header__phone small {
        margin-top: 4px;
        font-size: 10px;
    }

    .mog-renewal-header__actions {
        grid-template-columns: minmax(106px, 1fr) minmax(112px, 1.05fr) minmax(104px, .93fr);
        gap: 6px;
    }

    .mog-renewal-header__action {
        min-height: 58px;
        gap: 5px;
        padding: 8px 9px;
        border-radius: 10px;
        font-size: 12px;
    }

    .mog-renewal-header__action-icon {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }

    .mog-renewal-header__line-mark {
        width: 27px;
        height: 24px;
        flex-basis: 27px;
        font-size: 6px;
    }

    .mog-renewal-header__action-arrow {
        font-size: 20px;
    }

    .mog-renewal-nav__item > a,
    .mog-renewal-nav__submenu-button {
        min-height: 52px;
        font-size: 1.35rem;
    }
}

@media (max-width: 782px) {
    body.admin-bar .mog-renewal-nav.is-pc-sticky {
        top: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mog-renewal-header *,
    .mog-renewal-nav *,
    .mog-renewal-floating-menu {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* v18: 追従メニュー表示中は旧・新どちらのTOPボタンも重ならないようにする。 */
body.mog-renewal-floating-menu-is-visible .top-button {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* =========================================================
 * v45: PC電話CTA 案1（薄いゴールド背景＋ゴールド枠）
 * ======================================================= */
@media (min-width: 1001px) {
  .mog-renewal-header__phone--desktop {
    grid-template-columns: 55px max-content;
    grid-template-rows: auto auto auto;
    min-height: 78px;
    justify-content: center;
    gap: 0 12px;
    padding: 8px 12px;
    border: 1px solid #d2a33f;
    border-radius: 11px;
    background: #fffaf6;
    color: #343434;
    box-shadow: 0 3px 8px rgba(86, 68, 32, 0.10);
  }

  .mog-renewal-header__phone--desktop .mog-renewal-header__phone-icon {
    grid-row: 1 / 4;
    box-sizing: border-box;
    width: 55px;
    height: 42px;
    padding-right: 13px;
    border-right: 1px solid #d2a33f;
    background-position: left center;
    background-size: 42px 42px;
  }

  .mog-renewal-header__phone--desktop strong {
    color: #343434;
    font-size: clamp(25px, 1.82vw, 32px);
    letter-spacing: -0.045em;
  }

  .mog-renewal-header__phone--desktop small {
    margin-top: 3px;
    color: #343434;
    font-size: clamp(10px, 0.76vw, 12px);
    line-height: 1.15;
  }

  .mog-renewal-header__phone--desktop .mog-renewal-header__phone-content > span {
    display: block;
    grid-column: 2;
    grid-row: 3;
    margin-top: 3px;
    color: #343434;
    font-size: clamp(10px, 0.76vw, 12px);
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
  }
}

