@charset "utf-8";

/* --------------------------------------------

footer

---------------------------------------------- */

#footer {
    position: relative;
    padding: 6rem 8rem 2.5rem;
    background-color: var(--c-paleblue);
}

.footerInner {
    display: flex;
    justify-content: space-between;
	flex-wrap: wrap;
    column-gap: 10%;
	width: 100%;
}

@media screen and (max-width:1200px) {
    .footerInner {
        flex-direction: column;
    }
}

@media screen and (max-width:1000px) {
    #footer {
        position: relative;
        padding: 6rem 4rem 2.5rem;
        background-color: var(--c-paleblue);
    }
}

@media screen and (max-width:640px) {
    #footer {
            padding: 4rem 2rem 2rem;
        }

        .footerInner {
            row-gap: 6rem;
        }
}

/* --------------------------------------------

ロゴ

---------------------------------------------- */

.footerInfo {
    flex-shrink: 0;
    width: 50%;
}

.footerLogo {
    white-space: nowrap;
    margin-bottom: 3rem;
}

.footerLogo a.-flex {
	justify-content: flex-start;
	align-items: center;
    flex-wrap: nowrap;
	gap: 2rem;
}

.footerLogo a img {
	width: fit-content;
	max-width: 130px;
    padding: 0.5rem;
}

.footerLogo a p {
	font-weight: var(--fw-bold);
}

.footerLogo a p span {
	display: block;
	line-height: 1;
	white-space: nowrap;
    transition: 0.3s;
}

@media (hover:hover) {
    .footerLogo a:hover p span {
        color: var(--c-green);
        transition: 0.3s;
    }
}

.footerLogo a p span:nth-of-type(1) {
	padding-bottom: 0.3rem;
	font-size: var(--fz-xxl);
}

.footerLogo a p span:nth-of-type(2) {
	padding-bottom: 1rem;
	font-size: var(--fz-s);
	font-weight: var(--fw-bold);
}

.footerLogo a p span:nth-of-type(3) {
	font-size: 1.3rem;
}

@media screen and (max-width:1200px) {
    .footerInfo {
        flex-shrink: 1;
        width: 100%;
        margin-bottom: 4rem;
    }

    .footerLogo a p span {
        line-height: 1.2;
        white-space: wrap;
    }
}

@media screen and (max-width:640px) {
    .footerInfo {
        margin-bottom: 0;
    }

    .footerLogo a.-flex {
        flex-direction: column;
    }

    .footerLogo a img {
        max-width: 200px;
    }

    .footerLogo a p span {
        text-align: center;
    }
}



/* --------------------------------------------

住所

---------------------------------------------- */

.footerAddress {
    font-size: var(--fz-s);
}

@media screen and (max-width:640px) {
    .footerAddress {
        text-align: center;
    }

    .footerAddress > address,
    .footerAddress > p {
        display: inline-block;
    }
}


/* --------------------------------------------

ナビゲーションメニュー

---------------------------------------------- */

.footerNav {
    justify-content: flex-end;
    flex-wrap: wrap;
    width: 40%;
    max-width: 360px;
    margin: 0;
}

.footerMenu.-flex {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 0;
}

.footerMenu li {
    flex: 0 0 calc((100% - 3rem*2)/3);
}

.footerMenu li a {
    display: flex;
    align-items: center;
}
@media (hover:hover) {
    .footerMenu li a:hover {
        color: var(--c-green);
        transition: 0.3s;
    }
}

.footerMenu li a::before {
    content: "";
    width: 15px;
    height: 15px;
    margin-right: 0.4em;
    flex-shrink: 0;

    background-color: var(--c-blue);
    clip-path: polygon(
        50% 0%, 
        93% 25%, 
        93% 75%, 
        50% 100%, 
        7% 75%, 
        7% 25%
    );
}

.footerMenu li:nth-child(odd) a::before {
    background-color: var(--c-blue);
}

.footerMenu li:nth-child(even) a::before {
    background-color: var(--c-green);
}

@media screen and (max-width:1200px) {
    .footerNav {
        justify-content: flex-start;
        width: 100%;
        max-width: none;
    }

    .footerMenu li {
        flex: 0 0 auto;
    }
}

@media screen and (max-width:800px) {
    .footerMenu.-flex {
        gap: 2rem;
    }

    .footerNav {
        max-width: 360px;
    }

    .footerMenu li {
        flex: 0 0 calc((100% - 3rem*2)/3);
    }
}

@media screen and (max-width:640px) {
    .footerNav {
        width: 90%;
        max-width: none;
        margin: 0 auto;
    }

    .footerMenu.-flex {
        column-gap: 3rem;
    }
}


/* --------------------------------------------

バナー

---------------------------------------------- */

.footerBanner.-flex {
    justify-content: center;
    gap: 3rem;
    width: 100%;
    margin: 10rem 0 2.5rem;
}

.footerBanner img {
    max-height: 80px;
}

@media screen and (max-width:1100px) {
    .footerBanner.-flex {
        gap: 2rem;
    }

    .footerBanner img {
        max-height: 60px;
    }
}

@media screen and (max-width:640px) {
    .footerBanner.-flex {
        flex-direction: column;
        gap: 1.5rem;
        margin: 4rem 0 0;
    }

    .footerBanner a {
        margin: 0 auto;
    }

    .footerBanner img {
        max-height: 100px;
    }
}


/* --------------------------------------------

コピーライト

---------------------------------------------- */

.footerCopy {
    width: 100%;
    text-align: center;
    font-size: var(--fz-xs);
}


@media screen and (max-width:640px) {
}


/* --------------------------------------------

pageTop

---------------------------------------------- */

.pageTop {
    position: fixed;
    right: 20px;
    transform: translateY(20px);
    bottom: 20px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.pageTop.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pageTop a {
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    background: var(--c-blue);
    clip-path: polygon(
        50% 0%,
        100% 25%,
        100% 75%,
        50% 100%,
        0% 75%,
        0% 25%
    );
}

.pageTop a::before {
    content: "";
    position: absolute;
    top: 55%;
    left: 50%;
    width: 16px;
    height: 16px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}

@media screen and (max-width:800px) {
    .pageTop {
        right: 10px;
        transform: translateY(10px);
        bottom: 10px;
    }
}

@media screen and (max-width:640px) {
    .pageTop {
        right: 20px;
        transform: translateY(20px);
        bottom: 20px;
    }

    .pageTop a {
        width: 80px;
        height: 80px;
    }
}


/* --------------------------------------------

#footer　印刷時

---------------------------------------------- */
@media print {
    #footer,
    .pageTop {
        display: none;
    }
}