@charset "utf-8";


/* --------------------------------------------

    footer

---------------------------------------------- */

.footer {
    position: relative;
    padding: 60px 0 120px;
    color: var(--c-white);
    background-color: var(--c-bg);
    z-index: 10;
}

.footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('../_image/common/footer_bg.svg') no-repeat right bottom; background-size: contain;
    z-index: 1;
}

.footer__container {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 1%;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto 60px;
    z-index: 2;
}

.footer__contact,
.footer__logo,
.footer__menu {
    flex: 1 1 33%;
}

.footer__logo {
    text-align: center;
}

.footer__logo img {
    max-width: 250px;
}

.contactTitle {
    margin-bottom: 30px;
    font-size: var(--fz-indexTitle__inner);
}

.contactName {
    margin-bottom: 20px;
    font-size: var(--fz-l);
}

.footer__contact address {
    margin-bottom: 20px;
}

.footer__instagram {
    display: block;
    width: 1.2em;
    margin-top: 20px;
}

.footer__menu {
    display: flex;
    justify-content: end;
}

.footer__menuList__item {
    position: relative;
    padding-left: 40px;
}

.footer__menuList__item:not(:last-child) {
    margin-bottom: 25px;
}

.footer__menuList__item::before {
    content: "";
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 20px;
	height: 1px;
	background-color: var(--c-white);
    cursor: pointer;
}


.footer__menu a {
    display: block;
    color: var(--c-white);
    transition: 0.3s;
}

.footer__menuList__item::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 10%;
	transform: translate(-50%, -50%) scale(0);
	width: 60px;
	height: 60px;
	background: rgba(160, 200, 240, 0.4);
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
}

@media (hover:hover) {
	.footer__menuList__item:hover a {
		color: #2772b9;
		transform: translateX(6px);
	}

	.footer__menuList__item:hover::after {
		animation: hamburgerRipple 0.8s ease-out;
	}
}

.copyright {
    position: relative;
    text-align: center;
    color: var(--c-white);
    font-size: var(--fz-copyRight);
    z-index: 2;
}


@media only screen and (max-width:1200px) {
    .footer__logo img {
    max-width: 220px;
}
}

@media only screen and (max-width:640px) {
    .footer {
        padding: 60px 0 120px;
    }

    .footer::after {
        background: url('../_image/common/footer_bg_sp.svg') no-repeat right bottom; background-size: contain;
    }

    .footer__container {
        flex-direction: column;
    }

    .footer__logo {
        order: 1;
        margin-bottom: 60px;
    }

    .footer__logo img {
        max-width: 200px;
    }

    .footer__contact {
        order: 2;
        margin-bottom: 60px;
    }

    .contactTitle {
        margin-bottom: 15px;
    }

    .contactName {
        margin-bottom: 10px;
        font-size: var(--fz-m);
    }

    .footer__contact address {
        margin-bottom: 10px;
        font-size: var(--fz-s);
    }

    .footer__contact:not(.contactName) {
        font-size: var(--fz-s);
    }

    .footer__instagram {
        width: 1.5em;
        margin-top: 10px;
    }

    .footer__menu {
        order: 3;
        justify-content: flex-start;
    }

    .copyright {
        width: 90%;
        margin: 0 auto;
        text-align: left;
    }
}


/* --------------------------------------------
    トップページに戻る
---------------------------------------------- */

.pageTop {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    background: url('../_image/common/page_top_bg.svg') no-repeat center / cover;
    z-index: 10;
}

.pageTop::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;          
    background-color: var(--c-bg);
    pointer-events: none;
}

.pageTop__container img {
    height: 30px;
    margin-bottom: 10px;
    transform: rotate(180deg);
}

.pageTop__container p {
    letter-spacing: 0.15em;
    text-align: center;
    color: var(--c-white);
}

@media (hover:hover) {
    .pageTop:hover img {
        opacity: 1;
        transform: translateY(-10px) rotate(180deg);
    }
}

@media only screen and (max-width:640px) {
    .pageTop {
        height: 160px;
    }

    .pageTop__container img {
        margin-bottom: 8px;
    }

    .pageTop__container p {
        font-size: var(--fz-s);
    }
}


/* --------------------------------------------

#footer　印刷時

---------------------------------------------- */

@media print {
    #footer {
        display: none;
    }
}
