/* ========================================
   第一土木 リニューアル共通CSS
   ヘッダー・フッター・共通コンテナ
======================================== */

:root {
    --renewal-green: #008a44;
    --renewal-green-dark: #006c36;
    --renewal-green-light: #15b467;
    --renewal-black: #090d0b;
    --renewal-black-soft: #111814;
    --renewal-white: #ffffff;
    --renewal-gray: #f2f4f3;
    --renewal-line: rgba(255, 255, 255, 0.18);
}


/* ========================================
   基本設定
======================================== */

body *,
body *::before,
body *::after {
    box-sizing: border-box;
}

body img {
    max-width: 100%;
    height: auto;
}

.renewal-container {
    width: min(1280px, calc(100% - 80px));
    margin-right: auto;
    margin-left: auto;
}


/* ========================================
   共通ヘッダー
======================================== */

.renewal-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 124, 62, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
}

.renewal-header__inner {
    display: flex;
    align-items: stretch;
    width: min(1500px, 100%);
    min-height: 92px;
    margin: 0 auto;
}

.renewal-header__logo {
    display: flex;
    align-items: center;
    width: 270px;
    flex-shrink: 0;
    padding: 18px 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.renewal-header__logo a {
    display: block;
}

.renewal-header__logo img {
    display: block;
    width: 205px;
    height: auto;
    filter: none;
}

.renewal-header__nav {
    flex: 1;
    min-width: 0;
}

.renewal-header__nav ul {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr)
        minmax(250px, 1.28fr)
        minmax(0, 1fr);
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.renewal-header__nav li {
    min-width: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.renewal-header__nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 12px 10px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.renewal-header__nav a:hover {
    color: var(--renewal-green);
    background: #fff;
}

.renewal-header__nav .jp {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.renewal-header__nav li:nth-child(3) .jp {
    font-size: 17px;
    letter-spacing: 0.04em;
}

.renewal-header__nav .en {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.18em;
    opacity: 0.85;
    white-space: nowrap;
}

.renewal-header__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    flex-shrink: 0;
    padding: 12px;
    color: var(--renewal-green);
    background: #fff;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.renewal-header__contact:hover {
    color: #fff;
    background: var(--renewal-black);
}

.renewal-menu-button {
    display: none;
}


/* ========================================
   スマートフォンメニュー
======================================== */

.renewal-mobile-menu {
    background: #050b08;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.renewal-mobile-menu[hidden] {
    display: none;
}

.renewal-mobile-menu__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.renewal-mobile-menu__list li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.renewal-mobile-menu__list a {
    display: block;
    padding: 18px 22px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.renewal-mobile-menu__list a:hover {
    background: #008a44;
}


/* ========================================
   共通フッター
======================================== */

.renewal-footer {
    position: relative;
    color: #fff;
    background: #050b08;
}

.renewal-footer a {
    color: #fff;
    text-decoration: none;
}

.renewal-footer__top {
    position: relative;
    background: #050b08;
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.renewal-footer__top::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(79, 210, 135, 0.3) 15%,
            #4fd287 50%,
            rgba(79, 210, 135, 0.3) 85%,
            transparent 100%
        );
    content: "";
}

.renewal-footer__top-inner {
    padding: 38px 0 32px;
}

.renewal-footer__brand {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
}

.renewal-footer__logo {
    display: block;
}

.renewal-footer__logo img {
    display: block;
    width: 220px;
    height: auto;
}

.renewal-footer__address {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 0.04em;
    text-align: right;
}

.renewal-footer__main {
    padding: 60px 0 56px;
    background: #050b08;
}

.renewal-footer__nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px;
}

.renewal-footer__group {
    min-width: 0;
}

.renewal-footer__group h3 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: 0.04em;
}

.renewal-footer__group h3 a {
    color: #fff;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

.renewal-footer__group h3 a:hover {
    color: #4fd287;
}

.renewal-footer__group p {
    margin: 0 0 20px;
    color: #4fd287;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.renewal-footer__group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.renewal-footer__group li + li {
    margin-top: 11px;
}

.renewal-footer__group li a {
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.8;
    transition: color 0.2s ease;
}

.renewal-footer__group li a:hover {
    color: #4fd287;
}

.renewal-footer__bottom {
    background:
        linear-gradient(
            90deg,
            #075c33 0%,
            #0a7a43 50%,
            #075c33 100%
        );
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.renewal-footer__bottom-inner {
    padding: 18px 0;
}

.renewal-footer__copy {
    margin: 0;
    color: #fff;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    letter-spacing: 0.05em;
}


/* ========================================
   ページトップボタン
======================================== */

.pagetop {
    position: fixed;
    z-index: 900;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(5, 11, 8, 0.88);
    text-decoration: none;
    backdrop-filter: blur(8px);
}

.pagetop:hover {
    background: #008a44;
}


/* ========================================
   タブレット
======================================== */

@media screen and (max-width: 1024px) {

    .renewal-container {
        width: min(960px, calc(100% - 48px));
    }

    .renewal-header__inner {
        min-height: 78px;
    }

    .renewal-header__logo {
        width: 220px;
        padding: 16px 20px;
    }

    .renewal-header__logo img {
        width: 175px;
    }

    .renewal-header__nav ul {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr)
            minmax(205px, 1.22fr)
            minmax(0, 1fr);
    }

    .renewal-header__nav .jp {
        font-size: 14px;
        letter-spacing: 0.05em;
    }

    .renewal-header__nav li:nth-child(3) .jp {
        font-size: 13px;
        letter-spacing: 0;
    }

    .renewal-header__nav .en {
        display: none;
    }

    .renewal-header__contact {
        width: 145px;
        font-size: 14px;
    }

    .renewal-footer__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 28px;
    }

    .renewal-footer__brand {
        flex-direction: column;
        align-items: flex-start;
    }

    .renewal-footer__address {
        font-size: 14px;
        text-align: left;
    }

    .renewal-footer__group h3 {
        font-size: 21px;
    }

    .renewal-footer__group li a {
        font-size: 15px;
    }
}


/* ========================================
   スマートフォン
======================================== */

@media screen and (max-width: 767px) {

    .renewal-container {
        width: calc(100% - 36px);
    }

    .renewal-header__inner {
        min-height: 68px;
    }

    .renewal-header__logo {
        width: auto;
        padding: 13px 16px;
        border-right: 0;
    }

    .renewal-header__logo img {
        width: 155px;
    }

    .renewal-header__nav,
    .renewal-header__contact {
        display: none;
    }

    .renewal-menu-button {
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: center;
        justify-content: center;
        width: 68px;
        margin-left: auto;
        padding: 0;
        border: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.22);
        background: transparent;
        cursor: pointer;
    }

    .renewal-menu-button span {
        display: block;
        width: 25px;
        height: 1px;
        background: #fff;
    }

    .renewal-footer__top-inner {
        padding: 30px 0 26px;
    }

    .renewal-footer__logo img {
        width: 190px;
    }

    .renewal-footer__address {
        font-size: 13px;
        line-height: 1.8;
    }

    .renewal-footer__main {
        padding: 46px 0 40px;
    }

    .renewal-footer__nav {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .renewal-footer__group h3 {
        font-size: 21px;
    }

    .renewal-footer__group p {
        margin-bottom: 15px;
        font-size: 11px;
    }

    .renewal-footer__group li a {
        font-size: 15px;
    }

    .renewal-footer__bottom-inner {
        padding: 16px 12px;
    }

    .renewal-footer__copy {
        font-size: 11px;
        line-height: 1.7;
    }

    .pagetop {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
    }
}

/* ========================================
   ヘッダーをトップページのデザインに統一
======================================== */

@media screen and (min-width: 1025px) {

    .renewal-header__nav ul {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .renewal-header__nav a {
        padding: 0;
    }

    .renewal-header__nav .jp {
        font-size: 25px;
        line-height: normal;
        letter-spacing: 0.08em;
        white-space: nowrap;
    }

    .renewal-header__nav li:nth-child(3) .jp {
        font-size: 25px;
        letter-spacing: 0.08em;
    }

    .renewal-header__nav .en {
        margin-top: 7px;
        font-size: 12px;
        line-height: normal;
        letter-spacing: 0.18em;
        opacity: 0.78;
    }

    .renewal-header__contact {
        width: 180px;
        padding: 0;
        font-size: 19px;
    }
}


/* ========================================
   タブレットもトップページと統一
======================================== */

@media screen and (min-width: 768px) and (max-width: 1024px) {

    .renewal-header__nav ul {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .renewal-header__nav a {
        padding: 0;
    }

    .renewal-header__nav .jp,
    .renewal-header__nav li:nth-child(3) .jp {
        font-size: 14px;
        line-height: normal;
        letter-spacing: 0.05em;
    }

    .renewal-header__contact {
        width: 145px;
        padding: 0;
        font-size: 14px;
    }
}

/* ========================================
   スマートフォン最適化・メニュー開閉
======================================== */

body.renewal-menu-open {
    overflow: hidden;
}

@media screen and (max-width: 767px) {

    .renewal-header {
        overflow: visible !important;
    }

    .renewal-header__inner {
        min-height: 88px;
    }

    .renewal-header__logo {
        width: calc(100% - 72px);
        padding: 14px 20px;
    }

    .renewal-header__logo img {
        width: min(190px, 58vw);
        max-height: 60px;
        object-fit: contain;
        object-position: left center;
    }

    .renewal-menu-button {
        position: relative;
        z-index: 1003;
        width: 72px;
        min-width: 72px;
        min-height: 88px;
    }

    .renewal-menu-button span {
        position: absolute;
        width: 27px;
        height: 1px;
        transition:
            top 0.25s ease,
            opacity 0.2s ease,
            transform 0.25s ease;
    }

    .renewal-menu-button span:nth-child(1) {
        top: 35px;
    }

    .renewal-menu-button span:nth-child(2) {
        top: 44px;
    }

    .renewal-menu-button span:nth-child(3) {
        top: 53px;
    }

    .renewal-menu-button.is-open span:nth-child(1) {
        top: 44px;
        transform: rotate(45deg);
    }

    .renewal-menu-button.is-open span:nth-child(2) {
        opacity: 0;
    }

    .renewal-menu-button.is-open span:nth-child(3) {
        top: 44px;
        transform: rotate(-45deg);
    }

    .renewal-mobile-menu {
        position: fixed !important;
        z-index: 1002 !important;
        top: 88px !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100dvh - 88px) !important;
        max-height: calc(100dvh - 88px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        background:
            linear-gradient(
                145deg,
                #08110d 0%,
                #030705 100%
            ) !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;
    }

    .renewal-mobile-menu[hidden] {
        display: none !important;
    }

    .renewal-mobile-menu.is-open {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    .renewal-mobile-menu__inner {
        min-height: 100%;
        padding: 14px 0 38px;
    }

    .renewal-mobile-menu__list {
        margin: 0;
        padding: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        list-style: none;
    }

    .renewal-mobile-menu__home > a,
    .renewal-mobile-menu__toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 74px;
        padding: 16px 22px;
        color: #fff;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: transparent;
        text-align: left;
        text-decoration: none;
    }

    .renewal-mobile-menu__home > a {
        color: #4fd287;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.16em;
    }

    .renewal-mobile-menu__toggle > span:first-child {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .renewal-mobile-menu__toggle strong {
        color: #fff;
        font-size: 18px;
        line-height: 1.4;
    }

    .renewal-mobile-menu__toggle small {
        color: #4fd287;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.13em;
    }

    .renewal-mobile-menu__toggle-icon {
        position: relative;
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    .renewal-mobile-menu__toggle-icon::before,
    .renewal-mobile-menu__toggle-icon::after {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 16px;
        height: 1px;
        background: #4fd287;
        content: "";
        transform: translate(-50%, -50%);
    }

    .renewal-mobile-menu__toggle-icon::after {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .renewal-mobile-menu__toggle.is-open {
        background: #008a44;
    }

    .renewal-mobile-menu__toggle.is-open
    .renewal-mobile-menu__toggle-icon::after {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    .renewal-mobile-menu__sublist {
        margin: 0;
        padding: 8px 0;
        background: #111914;
        list-style: none;
    }

    .renewal-mobile-menu__sublist[hidden] {
        display: none !important;
    }

    .renewal-mobile-menu__sublist li + li {
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .renewal-mobile-menu__sublist a {
        position: relative;
        display: block;
        padding: 14px 24px 14px 42px;
        color: rgba(255, 255, 255, 0.84);
        font-size: 14px;
        line-height: 1.6;
        text-decoration: none;
    }

    .renewal-mobile-menu__sublist a::before {
        position: absolute;
        top: 50%;
        left: 23px;
        width: 7px;
        height: 1px;
        background: #4fd287;
        content: "";
    }

    .renewal-mobile-menu__utility {
        display: grid;
        gap: 10px;
        padding: 22px 18px 0;
    }

    .renewal-mobile-menu__utility a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 56px;
        padding: 14px 18px;
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.16);
        background: rgba(255, 255, 255, 0.035);
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
    }

    .renewal-mobile-menu__utility a:nth-child(2) {
        border-color: #008a44;
        background: #008a44;
    }
}

/* ========================================
   PCヘッダー ドロップダウンメニュー
======================================== */

@media screen and (min-width: 1025px) {

    .renewal-header__nav {
        position: static;
    }

    .renewal-header__nav > .renewal-header__nav-list {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        height: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .renewal-header__nav-item {
        position: static;
        min-width: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.18);
    }

    .renewal-header__nav-link {
        position: relative;
        z-index: 2;
    }

    .renewal-header__nav-item--has-dropdown
    > .renewal-header__nav-link::after {
        position: absolute;
        right: 18px;
        bottom: 13px;
        left: 18px;
        height: 2px;
        background: #fff;
        content: "";
        opacity: 0;
        transform: scaleX(0);
        transform-origin: center;
        transition:
            opacity 0.25s ease,
            transform 0.25s ease;
    }

    .renewal-header__nav-item--has-dropdown:hover
    > .renewal-header__nav-link,
    .renewal-header__nav-item--has-dropdown:focus-within
    > .renewal-header__nav-link,
    .renewal-header__nav-item--has-dropdown.is-dropdown-open
    > .renewal-header__nav-link {
        color: var(--renewal-green);
        background: #fff;
    }

    .renewal-header__nav-item--has-dropdown:hover
    > .renewal-header__nav-link::after,
    .renewal-header__nav-item--has-dropdown:focus-within
    > .renewal-header__nav-link::after,
    .renewal-header__nav-item--has-dropdown.is-dropdown-open
    > .renewal-header__nav-link::after {
        background: var(--renewal-green);
        opacity: 1;
        transform: scaleX(1);
    }

    .renewal-header-dropdown {
        position: fixed;
        z-index: 999;
        top: 92px;
        right: 0;
        left: 0;
        display: grid;
        grid-template-columns:
            minmax(250px, 0.72fr)
            minmax(0, 1.28fr);
        gap: 50px;
        width: 100%;
        max-height: calc(100vh - 92px);
        padding: 42px max(5vw, 40px) 46px;
        overflow-y: auto;
        color: #fff;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        background:
            linear-gradient(
                135deg,
                rgba(6, 16, 10, 0.99) 0%,
                rgba(2, 8, 5, 0.99) 100%
            );
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);
        transition:
            opacity 0.22s ease,
            visibility 0.22s ease,
            transform 0.22s ease;
    }

    .renewal-header-dropdown::before {
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(
                rgba(255, 255, 255, 0.025) 1px,
                transparent 1px
            ),
            linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.025) 1px,
                transparent 1px
            );
        background-size: 42px 42px;
        content: "";
        pointer-events: none;
    }

    .renewal-header__nav-item--has-dropdown:hover
    > .renewal-header-dropdown,
    .renewal-header__nav-item--has-dropdown:focus-within
    > .renewal-header-dropdown,
    .renewal-header__nav-item--has-dropdown.is-dropdown-open
    > .renewal-header-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .renewal-header-dropdown__heading,
    .renewal-header-dropdown__list {
        position: relative;
        z-index: 1;
    }

    .renewal-header-dropdown__heading {
        align-self: center;
        padding-left: 24px;
        border-left: 4px solid var(--renewal-green-light);
    }

    .renewal-header-dropdown__heading p {
        margin: 0 0 10px;
        color: var(--renewal-green-light);
        font-size: 11px;
        font-weight: 700;
        line-height: 1.5;
        letter-spacing: 0.2em;
    }

    .renewal-header-dropdown__heading h2 {
        margin: 0;
        color: #fff;
        font-size: 30px;
        line-height: 1.45;
        letter-spacing: 0.07em;
    }

    .renewal-header-dropdown
    .renewal-header-dropdown__list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        height: auto;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .renewal-header-dropdown
    .renewal-header-dropdown__list li {
        min-width: 0;
        border: 0;
    }

    .renewal-header-dropdown
    .renewal-header-dropdown__list a {
        display: flex;
        flex-direction: row;
        gap: 18px;
        align-items: center;
        justify-content: space-between;
        min-height: 64px;
        height: auto;
        padding: 16px 18px;
        color: rgba(255, 255, 255, 0.86);
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.035);
        font-size: 14px;
        font-weight: 700;
        line-height: 1.55;
        text-align: left;
        white-space: normal;
        transition:
            color 0.2s ease,
            border-color 0.2s ease,
            background-color 0.2s ease,
            transform 0.2s ease;
    }

    .renewal-header-dropdown
    .renewal-header-dropdown__list a span {
        flex-shrink: 0;
        color: var(--renewal-green-light);
        font-size: 17px;
        transition: transform 0.2s ease;
    }

    .renewal-header-dropdown
    .renewal-header-dropdown__list a:hover,
    .renewal-header-dropdown
    .renewal-header-dropdown__list a:focus {
        color: #fff;
        border-color: var(--renewal-green);
        background: var(--renewal-green);
        transform: translateY(-2px);
    }

    .renewal-header-dropdown
    .renewal-header-dropdown__list a:hover span,
    .renewal-header-dropdown
    .renewal-header-dropdown__list a:focus span {
        color: #fff;
        transform: translateX(4px);
    }
}


/* ========================================
   タブレット以下ではPCドロップダウンを非表示
======================================== */

@media screen and (max-width: 1024px) {

    .renewal-header-dropdown {
        display: none !important;
    }
}

/* ========================================
   共通配色調整
   緑＋白ベース
======================================== */

:root {
    --renewal-green: #008a44;
    --renewal-green-dark: #075c33;
    --renewal-green-deep: #064c2b;
    --renewal-green-light: #38b978;
    --renewal-green-soft: #dff1e7;
    --renewal-green-pale: #eef7f2;
    --renewal-white: #ffffff;
    --renewal-gray: #f5f7f6;
    --renewal-text: #17231c;
    --renewal-text-soft: #5f6c64;
    --renewal-border: #d8e4dc;
}


/* ヘッダー */
.renewal-header {
    background: rgba(0, 138, 68, 0.97);
    border-bottom-color: rgba(255, 255, 255, 0.25);
}

.renewal-header__contact {
    color: var(--renewal-green-dark);
    background: #fff;
}

.renewal-header__contact::before {
    margin-right: 8px;
    font-size: 17px;
    line-height: 1;
    content: "✉";
}

.renewal-header__contact:hover {
    color: #fff;
    background: var(--renewal-green-dark);
}


/* ページトップボタン */
.pagetop {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(0, 138, 68, 0.92);
}

.pagetop:hover {
    background: var(--renewal-green-dark);
}


/* 共通フッター */
.renewal-footer {
    color: #fff;
    background: var(--renewal-green-dark);
}

.renewal-footer a {
    color: #fff;
}

.renewal-footer__top {
    border-bottom-color: rgba(255, 255, 255, 0.2);
    background: #0a6f3d;
}

.renewal-footer__top::before {
    height: 3px;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.25) 15%,
            #8ce5b5 50%,
            rgba(255, 255, 255, 0.25) 85%,
            transparent 100%
        );
}

.renewal-footer__address {
    color: rgba(255, 255, 255, 0.94);
}

.renewal-footer__main {
    background:
        linear-gradient(
            180deg,
            #075c33 0%,
            #064c2b 100%
        );
}

.renewal-footer__group h3,
.renewal-footer__group h3 a {
    color: #fff;
}

.renewal-footer__group h3 a:hover {
    color: #baf0d2;
}

.renewal-footer__group p {
    color: #9be8bd;
    font-weight: 700;
}

.renewal-footer__group li a {
    color: rgba(255, 255, 255, 0.92);
}

.renewal-footer__group li a:hover {
    color: #fff;
}

.renewal-footer__bottom {
    border-top-color: rgba(255, 255, 255, 0.18);
    background: var(--renewal-green);
}


/* PCドロップダウン：黒背景を廃止 */
@media screen and (min-width: 1025px) {

    .renewal-header-dropdown {
        color: var(--renewal-text);
        border-top: 1px solid var(--renewal-border);
        background:
            linear-gradient(
                135deg,
                #ffffff 0%,
                var(--renewal-green-pale) 100%
            );
        box-shadow: 0 20px 45px rgba(5, 65, 35, 0.16);
    }

    .renewal-header-dropdown::before {
        background-image:
            linear-gradient(
                rgba(0, 138, 68, 0.045) 1px,
                transparent 1px
            ),
            linear-gradient(
                90deg,
                rgba(0, 138, 68, 0.045) 1px,
                transparent 1px
            );
    }

    .renewal-header-dropdown__heading {
        border-left-color: var(--renewal-green);
    }

    .renewal-header-dropdown__heading p {
        color: var(--renewal-green);
    }

    .renewal-header-dropdown__heading h2 {
        color: var(--renewal-text);
    }

    .renewal-header-dropdown
    .renewal-header-dropdown__list a {
        color: var(--renewal-text);
        border-color: var(--renewal-border);
        background: rgba(255, 255, 255, 0.88);
    }

    .renewal-header-dropdown
    .renewal-header-dropdown__list a span {
        color: var(--renewal-green);
    }

    .renewal-header-dropdown
    .renewal-header-dropdown__list a:hover,
    .renewal-header-dropdown
    .renewal-header-dropdown__list a:focus {
        color: #fff;
        border-color: var(--renewal-green);
        background: var(--renewal-green);
    }

    .renewal-header-dropdown
    .renewal-header-dropdown__list a:hover span,
    .renewal-header-dropdown
    .renewal-header-dropdown__list a:focus span {
        color: #fff;
    }

    .renewal-footer__nav {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr)
            minmax(250px, 1.35fr)
            minmax(0, 1fr)
            minmax(0, 1fr);
    }

    .renewal-footer__group p {
        white-space: nowrap;
    }

    .renewal-footer__group:nth-child(3) p {
        font-size: 11px;
        letter-spacing: 0.1em;
    }
}


/* スマートフォンメニュー：黒背景を廃止 */
@media screen and (max-width: 767px) {

    .renewal-mobile-menu {
        color: var(--renewal-text);
        border-top-color: var(--renewal-border);
        background:
            linear-gradient(
                180deg,
                #ffffff 0%,
                var(--renewal-green-pale) 100%
            ) !important;
    }

    .renewal-mobile-menu__list {
        border-top-color: var(--renewal-border);
    }

    .renewal-mobile-menu__list li + li {
        border-top-color: var(--renewal-border);
    }

    .renewal-mobile-menu__home > a,
    .renewal-mobile-menu__toggle {
        color: var(--renewal-text);
        border-bottom-color: var(--renewal-border);
        background: transparent;
    }

    .renewal-mobile-menu__home > a {
        color: var(--renewal-green);
    }

    .renewal-mobile-menu__toggle strong {
        color: var(--renewal-text);
    }

    .renewal-mobile-menu__toggle small {
        color: var(--renewal-green);
    }

    .renewal-mobile-menu__toggle.is-open {
        color: #fff;
        background: var(--renewal-green);
    }

    .renewal-mobile-menu__toggle.is-open strong,
    .renewal-mobile-menu__toggle.is-open small {
        color: #fff;
    }

    .renewal-mobile-menu__toggle.is-open
    .renewal-mobile-menu__toggle-icon::before,
    .renewal-mobile-menu__toggle.is-open
    .renewal-mobile-menu__toggle-icon::after {
        background: #fff;
    }

    .renewal-mobile-menu__sublist {
        background: #f7fbf8;
    }

    .renewal-mobile-menu__sublist li + li {
        border-top-color: var(--renewal-border);
    }

    .renewal-mobile-menu__sublist a {
        color: var(--renewal-text-soft);
    }

    .renewal-mobile-menu__utility a {
        color: var(--renewal-text);
        border-color: var(--renewal-border);
        background: #fff;
    }

    .renewal-mobile-menu__utility a:nth-child(2) {
        color: #fff;
        border-color: var(--renewal-green);
        background: var(--renewal-green);
    }
}

/* ========================================
   スマートフォンヘッダーサイズ統一
   トップページと同じ高さ
======================================== */

@media screen and (max-width: 767px) {

    .renewal-header__inner {
        min-height: 68px;
    }

    .renewal-header__logo {
        width: calc(100% - 68px);
        padding: 13px 16px;
    }

    .renewal-header__logo img {
        width: 155px;
        max-height: 46px;
    }

    .renewal-menu-button {
        width: 68px;
        min-width: 68px;
        min-height: 68px;
    }

    .renewal-menu-button span {
        width: 25px;
    }

    .renewal-menu-button span:nth-child(1) {
        top: 25px;
    }

    .renewal-menu-button span:nth-child(2) {
        top: 34px;
    }

    .renewal-menu-button span:nth-child(3) {
        top: 43px;
    }

    .renewal-menu-button.is-open span:nth-child(1) {
        top: 34px;
    }

    .renewal-menu-button.is-open span:nth-child(3) {
        top: 34px;
    }

    .renewal-mobile-menu {
        top: 68px !important;
        height: calc(100dvh - 68px) !important;
        max-height: calc(100dvh - 68px) !important;
    }
}