/* ==========================
ヘッダー
========================== */
.header {
    background-color: #ffffff;
    box-shadow: 0 6px 6px rgba(0,0,0,0.4);
    display: flex;
    height: 80px;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    z-index: 10;
}

.header__logo--image {
    height: 68px;
    margin: 6px 0 6px 12px;
}

.header__links {
    display: flex;
}

.header__link {
    color: #403F3F;
    font-size: 14px;
    line-height: 80px;
}

.header__link {
    margin-right: 32px;
}
  
.header__link:nth-child(5) {
    margin-right: 8px;
}

.header__contact--link {
    background-color: #00A0C6;
    clip-path: polygon(17% 0, 100% 0, 100% 100%, 0% 100%);
    color: white;
    display: inline-block;
    font-size: 14px;
    height: 48px;
    line-height: 48px;
    margin: 16px 0;
    padding-left: 45px;
    width: 200px;
}

.header__link--dot {
    color: #ffffff;
    font-weight: bold;
    margin-right: 4px;
}

/* ==========================
フッター
========================== */
.footer__block {
    display: flex;
    gap: 36px;
    height: 343px;
    justify-content: center;
    padding: 52px 32px;
    width: 100%;
}

.footer__contact--block {
    background: linear-gradient(0deg, #9BF3FF, #45ABD9);
    border-radius: 18px;
    height: 239px;
    padding: 64px 108px 0;
    width: 680px;
    z-index: 9;
}

.footer__contact--linkblock {
    display: flex;
    gap: 24px;
}

.footer__contact--text {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 80px;
    font-weight: 100;
}

.footer__link--image {
    height: 72px;
    margin-top: 10px;
    width: 72px;
}

.footer__contact--subtext {
    color: #ffffff;
    font-size: 18px;
    margin-top: 4px;
    text-align: center;
}

.footer__support--block {
    position: relative;
    background-color: #F2F2F2;
    border-radius: 18px;
    height: 239px;
    padding: 83px 76px 0;
    width: 425px;
    z-index: 3;
}

.footer__support--subtext {
    color: #403F3F;
    font-size: 18px;
    margin-top: 18px;
    text-align: center;
}

.footer__copyrights--block {
    background-color: #484848;
    height: 64px;
    width: 100%;
}

.footer__copyrights--text {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 100;
    line-height: 64px;
    text-align: center;
}

/* ==========================
タブレット版
========================== */
@media (max-width: 1152px) {
    /* ==========================
    ヘッダー
    ========================== */
    .header__logo--image {
        height: 68px;
        margin-left: 8px;
    }

    .header__link {
        margin-right: 16px;
    }

    .header__contact--link {
        clip-path: polygon(22% 0, 100% 0, 100% 100%, 0% 100%);
        height: 48px;
        line-height: 48px;
        margin: 16px 0;
        padding-left: 26px;
        width: 132px;
    }

    /* ==========================
    フッター
    ========================== */
    .footer__block {
        gap: 24px;
        height: 268px;
        padding: 44px 32px;
        width: 100%;
    }

    .footer__contact--block {
        background: linear-gradient(0deg, #9BF3FF, #45ABD9);
        border-radius: 18px;
        height: 180px;
        padding: 40px 48px 0;
        width: 392px;
    }
    
    .footer__contact--linkblock {
        gap: 8px;
    }

    .footer__contact--text {
        font-size: 56px;
    }

    .footer__link--image {
        height: 48px;
        margin-top: 9px;
        width: 48px;
    }

    .footer__contact--subtext {
        font-size: 16px;
    }

    .footer__support--block {
        height: 180px;
        padding: 56px 48px 0;
        width: 320px;
    }

    .footer__logo--teamviewer {
        width: 220px;
    }

    .footer__support--subtext {
        font-size: 14px;
        margin-top: 12px;
        text-align: center;
    }

    .footer__copyrights--block {
        height: 48px;
    }

    .footer__copyrights--text {
        font-size: 10px;
        line-height: 48px;
    }
}

.header__hamburger {
    display: none;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.header__hamburger span {
    display: block;
    height: 4px;
    background: #333;
    border-radius: 2px;
    transition: 0.3s;
}

.header__hamburger.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.header__hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

.header__hamburger.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==========================
sp版
========================== */
@media (max-width: 767px) {
    /* ==========================
    ヘッダー
    ========================== */
    .header__hamburger {
        display: flex;
        position: absolute;
        top: 24px;
        right: 24px;
    }
    
    .header__links {
        position: fixed;
        top: 0;
        right: 0;
        width: 70vw;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 24px 24px;
        z-index: 1000;
        box-shadow: -2px 0 8px rgba(0,0,0,0.1);
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.77,0,0.175,1), opacity 0.3s;
        display: flex;
    }
    
    .header__links.is-open {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .header__contact--link {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }

    .header__link--dot {
        display: none;
    }

    /* ==========================
    フッター
    ========================== */
    .footer__block {
        display: block;
        height: 432px;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .footer__contact--block {
        height: 160px;
        width: 100%;
    }

    .footer__contact--linkblock {
        justify-content: center;
    }

    .footer__contact--text {
        font-size: 50px;
    }
    
    .footer__link--image {
        height: 42px;
        margin-top: 10px;
        width: 42px;
    }

    .footer__support--block {
        display: block;
        height: 160px;
        margin-top: 24px;
        width: 100%;
    }

    .footer__logo--teamviewer{
        display: block;
        margin: 0 auto;
    }
}