/* ================================ * /
        SDGs, CO₂ページ共通
==================================== */
.page__margin-top {
    margin-top: 130px;
}

@media (min-width: 760px) and (max-width: 1023px) {
    .page__margin-top {
        margin-top: 96px;
    }
}

@media (min-width: 390px) and (max-width: 759px) {
    .page__margin-top {
        margin-top: 96px;
    }
}

@media (min-width: 340px) and (max-width: 389px) {
    .page__margin-top {
        margin-top: 96px;
    }
}

@media (max-width: 339px) {
    .page__margin-top {
        margin-top: 96px;
    }
}

.page__max-width {
    width: 100%;
}

.page__waku {
    width: 100%;
    margin: auto;
}

@media (min-width: 1367px) {
    .page__waku {
        max-width: 1366px;
        width: 100%;
        margin: auto;
    }
}

/* ================================ * /
            ヘッダー
==================================== */
.header__box {
    font-family: "Noto Sans JP", sans-serif !important;
    width: 100%;
    background-color: #ffffff00;
    box-shadow: var(--main-box-shadow) 0px 1px 7px 0px;
    display: flex;
    z-index: 9999;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

@media (min-width: 1367px) {
    .header__box {
        justify-content: center;
    }
}

@media (max-width: 1023px) {
    .header__box {
        width: 100%;
        background-color: #ffffff00;
        box-shadow: var(--main-box-shadow) 0px 1px 7px 0px;
        display: flex;
        z-index: 9999;
        padding-top: 1.375rem;
        padding-bottom: 1.375rem;
    }
}

.header__box .navbar {
    max-width: 1229px;
    width: 100%;
    height: 80px;
    margin: 0 68.3px;
    background-color: #FFFFFF;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 40px;
    padding: 0;
}

@media (max-width: 1023px) {
    .header__box .navbar {
        width: 100%;
        height: 52px;
        background: #FFFFFF;
        box-shadow: 0px 3px 6px #00000029;
        border-radius: 40px;
        margin: 0 9.5px;
        box-sizing: border-box;
    }
}

.header__logo--image {
    width: auto;
    margin-left: 3.91875rem;
}

@media (min-width: 760px) and (max-width: 1023px) {
    .header__logo--image {
        width: 100%;
        margin-left: 1.906rem;
    }
}

@media (min-width: 391px) and (max-width: 759px) {
    .header__logo--image {
        width: 100%;
        margin-left: 1.906rem;
    }
}

@media (max-width: 390px) {
    .header__logo--image {
        width: 100%;
        margin-left: 1.906rem;
    }
}

@media (max-width: 339px) {
    .header__logo--image {
        width: 100%;
        margin-left: 1.906rem;
    }
}

.haeder__middle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 2rem;
    gap: 1.5rem;
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .haeder__middle {
        margin-right: 0.5rem;
        gap: 0.5rem;
    }
}

@media (max-width: 1023px) {
    .haeder__middle {
        display: none;
    }
}

.header__list {
    list-style: none;
    margin: 0;
}

.header__link {
    font-size: 16px;
    color: var(--main-color__black) !important;
    position: relative;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1.6px;
}

.header__link:link {
    color: var(--main-color__black) !important;
    text-decoration: none;
}

.header__link:visited {
    color: var(--main-color__black);
    text-decoration: none;
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .header__link {
        font-size: 14px;
    }
}

@media (min-width: 1200px) and (max-width: 1280px) {
    .header__link {
        font-size: 15px;
    }
}

.header__link:hover {
    text-decoration: none;
    letter-spacing: 0px;
    color: var(--main-color__blue) !important;
    opacity: 1;
    letter-spacing: 1.6px;
}

@media (max-width: 1023px) {
    .header__menu-btn {
        width: 32px;
        display: flex;
        flex-direction: column;
        border: none;
        cursor: pointer;
        font-size: 16px;
        color: var(--main-color__black);
        margin-right: 1.75rem;
    }

    .header__menu-btn .line:nth-child(1),
    .header__menu-btn .line:nth-child(2),
    .header__menu-btn .line:nth-child(3) {
        width: 100%;
        height: 2px;
        background-color: var(--main-color__black);
        margin: 3px 0;
        transition: width 0.3s ease-in-out;
        transition: 0.3s;
    }

    .header__menu-btn.active .line:nth-child(1) {
        transform: translateY(0) rotate(45deg);
        transition: 0.3s;
        z-index: 99999;
        margin: 0px 0;
    }

    .header__menu-btn.active .line:nth-child(2) {
        transition: 0.3s;
        z-index: 99999;
        opacity: 0;
    }

    .header__menu-btn.active .line:nth-child(3) {
        transform: translateY(0) rotate(-45deg);
        transition: 0.3s;
        z-index: 99999;
        margin: -10px 0;
    }
}

/* ハンバーガーメニュー 760px ~ 1023px */
@media (min-width: 760px) and (max-width: 1023px) {
    .headerhamMenu {
        display: none;
        justify-content: center;
        position: fixed;
        top: 0;
        right: 0;
        width: 100vw;
        height: 100svh;
        background-color: #FFFFFF;
        overflow-y: auto;
    }

    .headerhamMenu__bg {
        background-image: url('../images/data2024/common/hamburger-header.png');
        background-position: top;
        background-repeat: no-repeat;
        background-color: #FAFAFA;
        background-size: contain;
        width: 100vw;
        height: 100svh;
    }

    .headerhamMenu__box {
        margin: auto;
        width: fit-content;
    }

    .headerhamMenu__logo {
        margin-top: calc(100vh / 6.5);
        width: 100%;
        margin-bottom: 3.925rem;
    }

    .header__list-box {
        margin: auto;
        display: flex;
        align-items: center;
        margin-bottom: 28px;
    }

    .header__item-symbol {
        width: 8px;
        height: 8px;
        background-color: var(--main-color__blue);
        margin-right: 1rem;
    }

    .header__menu-list {
        color: #000000;
        text-decoration: none;
        font-size: 20px;
        font-weight: 600;
        letter-spacing: 2px;
        display: flex;
        flex-direction: row;
    }

    .header__menu-list:link {
        color: var(--main-color__black) !important;
        text-decoration: none;
    }

    .header__menu-list:visited {
        color: var(--main-color__black) !important;
        text-decoration: none;
    }

    .header__menu-list:hover {
        color: var(--main-color__black) !important;
        text-decoration: none;
    }

    .menuOpen {
        display: flex;
    }
}

/* ハンバーガーメニュー 340px ~ 759px */
@media (min-width: 340px) and (max-width: 759px) {
    .headerhamMenu {
        display: none;
        justify-content: center;
        position: fixed;
        top: 0;
        right: 0;
        width: 100vw;
        height: 100svh;
        background-color: #FFFFFF;
        overflow-y: auto;
    }

    .headerhamMenu__bg {
        background-image: url('../images/data2024/common/hamburger-header.png');
        background-position: top;
        background-repeat: no-repeat;
        background-color: #FAFAFA;
        background-size: contain;
        width: 100vw;
        height: 100svh;
    }

    .headerhamMenu__box {
        margin: auto;
        max-width: 60%;
        width: 100%;
    }

    .headerhamMenu__logo {
        margin-top: calc(100vh / 7);
        width: 100%;
        margin-bottom: 3.925rem;
    }

    .header__list-box {
        margin: auto;
        display: flex;
        align-items: center;
        margin-bottom: 28px;
    }

    .header__item-symbol {
        width: 8px;
        height: 8px;
        background-color: var(--main-color__blue);
        margin-right: 1rem;
    }

    .header__menu-list {
        color: #000000;
        text-decoration: none;
        font-size: 20px;
        font-weight: 600;
        letter-spacing: 2px;
        display: flex;
        flex-direction: row;
    }

    .header__menu-list:link {
        color: var(--main-color__black) !important;
        text-decoration: none;
    }

    .header__menu-list:visited {
        color: var(--main-color__black) !important;
        text-decoration: none;
    }

    .header__menu-list:hover {
        color: var(--main-color__black) !important;
        text-decoration: none;
    }

    .menuOpen {
        display: flex;
    }
}

/* ハンバーガーメニュー 339px */
@media (max-width: 339px) {
    .headerhamMenu {
        display: none;
        justify-content: center;
        position: fixed;
        top: 0;
        right: 0;
        width: 100vw;
        height: 100svh;
        background-color: #FFFFFF;
        overflow-y: auto;
    }

    .headerhamMenu__bg {
        background-image: url('../images/data2024/common/hamburger-header.png');
        background-position: top;
        background-repeat: no-repeat;
        background-color: #FAFAFA;
        background-size: contain;
        width: 100vw;
        height: fit-content;
    }

    .headerhamMenu__box {
        margin: auto;
        max-width: 60%;
        width: 100%;
        padding-bottom: 3rem;
    }

    .headerhamMenu__logo {
        margin-top: calc(100vw / 2.5);
        width: 100%;
        margin-bottom: 3.925rem;
    }

    .header__list-box {
        margin: auto;
        display: flex;
        align-items: center;
        margin-bottom: 28px;
    }

    .header__item-symbol {
        width: 8px;
        height: 8px;
        background-color: var(--main-color__blue);
        margin-right: 1rem;
    }

    .header__menu-list {
        color: #000000;
        text-decoration: none;
        font-size: 20px;
        font-weight: 600;
        letter-spacing: 2px;
        display: flex;
        flex-direction: row;
    }

    .header__menu-list:link {
        color: var(--main-color__black) !important;
        text-decoration: none;
    }

    .header__menu-list:visited {
        color: var(--main-color__black) !important;
        text-decoration: none;
    }

    .header__menu-list:hover {
        color: var(--main-color__black) !important;
        text-decoration: none;
    }

    .menuOpen {
        display: flex;
    }
}

/* ================================ * /
            フッター
==================================== */
.footer__bg {
    background-color: #2E86C4;
    height: 133px;
    display: flex;
    justify-content: center;
    padding-top: 3.125rem;
}

@media(max-width: 1023px) {
    .footer__bg {
        height: 185px;
        padding-top: 5.3125rem;
    }
}

.footer__waku {
    width: auto;
    margin: auto;
    text-align: center;
}

.footer__compnay {
    max-width: 335px;
    width: 100%;
    height: 21px;
    margin-bottom: 1.875rem;
}

@media(max-width: 1023px) {
    .footer__compnay {
        max-width: 231px;
        width: 100%;
        height: 14px;
        margin-bottom: 3.831rem;
    }
}

.footer__copyright {
    font-family: "Noto Sans JP", sans-serif;
    color: #FFFFFF;
    font-weight: normal;
    font-size: 12px;
    letter-spacing: 1.2px;
    margin-bottom: 0.8125rem;
}