@charset "utf-8";

/* --------------------------------------------


header


---------------------------------------------- */
#header {
    position: fixed;
    z-index: 9000;
    align-items: center;
    width: 100%;
    height: 6.5rem;
    display: flex;
    justify-content: space-between;
    background-color: var(--c-white);
	box-shadow: 0 3px 10px 0 rgba(203, 203, 203, 0.3);
}
.header__logo {
    width: fit-content; /* 中の画像サイズに自動で合わせる */
    /* max-width: 22em;
    padding-left: 1%; */
    max-width: 14em;
    padding-left: 2%;
}
.header__logo a {
    /* position: relative;
    z-index: 9999;
    display: inline-flex;
    column-gap: 0.2rem;
    align-items: center;
    width: auto;
    padding-left: 1.8rem; */
    /* background-color: aqua; */
}
.header__logo img {
    display: block;
    height: 100%;
}
.header__nav {
	display: flex;
	height: 100%;
}
.headerNav__list {
	display: flex;
	align-items: center;
    height: 100%;
    margin: 0 3rem;
    column-gap: 2em;
}
.headerNav__item {
    line-height: 1;
	letter-spacing: .3rem;
	font-weight: var(--fw-medium);
	font-size: var(--fz-m);
}
.headerNav__item.sales-promotion {
    text-align: center;
    font-size: var(--fz-s);
    line-height: 1.1;
    letter-spacing: .1rem;
}
.headerNav__item:not(.showSp) a {
    position: relative;
    display: inline-block;
    padding: .5rem 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
.headerNav__item.sales-promotion a {
    padding: .4rem 0;
}
.headerNav__item:not(.showSp) a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--c-blue);
    transition: width 0.4s ease;
}
.headerNav__item:not(.showSp) a:hover::after {
    width: 100%;
}

.formLink {
	width: 150px;
	height: 100%;
	padding: 0 .3em;
	box-sizing: content-box;
	background-color: var(--c-blue);
    transition: .3s;
}
.formLink:hover {
    background-color: var(--c-red);
}
.formLink a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 150px;
	height: 100%;
	font-weight: var(--fw-medium);
	color: var(--c-white);
	letter-spacing: .2rem;
}

@media only screen and (max-width: 1070px) {
    #header .showPc {
        display: none !important;
    }
    #header .showSp {
        display: block !important;
    }
    #header {
        min-width: 100%;
        height: 5rem;
    }
    .header__logo {
        width: 100%;
        max-width: 12em;
        padding-left: 3%;
    }
    /* .header__logo img {
        height: 100%;
        max-height: 1.8rem;
    } */
    /* .header__logo a {
        height: 24px;
        margin-left: 0;
    } */
    .header__spBtn {
        position: absolute;
        top: 0;
        bottom: 0;
        margin-block: auto;
        right: 0;
        width: 5rem;
        z-index: 1000;
		background-color: var(--c-blue);
    }

    .header__spBtn .menu-label {
        position: absolute;
        top: 13%;
        left: 21%;
        font-size: 1rem;
        color: var(--c-white);
        letter-spacing: 0.05em;
    }

    .header__spBtn .menuBorder {
        display: inline-block;
        position: absolute;
        left: 29%;
        width: 50%;
        height: 3px;
        margin: 0 auto;
        background-color: var(--c-white);
        transition: 0.5s;
    }

	.header__spBtn .menuBorder:nth-child(2) {
		bottom: 47%;
	}

	.header__spBtn .menuBorder:nth-child(3) {
		bottom: 32%;
		transform: translateY(-50%);
	}

	.header__spBtn .menuBorder:nth-child(4) {
		bottom: 22%;
	}

	#header.is-open .header__spBtn {
		background-color: var(--c-white);
	}
    #header.is-open .header__spBtn .menu-label {
		color: var(--c-red);
	}

	#header.is-open .header__spBtn .menuBorder {
		background-color: var(--c-red);
	}
    /* ボタンクリックで×に変形 */
    #header.is-open .header__spBtn .menuBorder:nth-child(2) {
        transform: translateY(0.8em) rotate(45deg);
    }

    #header.is-open .header__spBtn .menuBorder:nth-child(3) {
        opacity: 0;
    }

    #header.is-open .header__spBtn .menuBorder:nth-child(4) {
        transform: translateY(-0.1em) rotate(-45deg);
    }

    .header__nav {
        position: absolute;
        top: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        transition: all 0.8s ease;
        transform: translateX(100%);
        z-index: 500;
        padding: 1.5em 1em;
        display: block;
		margin-top: 5rem;
		background-color: var(--c-gray-pale);
    }

    #header.is-open .header__nav {
        transform: translateX(0);
    }

    .header__nav .headerNav__list {
		width: 80%;
		height: auto;
		align-items: flex-start;
        flex-direction: column;
        margin: 0 auto 1.3em;
		border-top: 1px solid var(--c-gray-deep);
    }

    .header__nav .headerNav__item {
		width: 100%;
		padding: .8em 1em;
		font-size: var(--fz-l);
		font-weight: var(--fw-bold);
		border-bottom: 1px solid var(--c-gray-deep);
    }
    .headerNav__item:not(.showSp) a::after {
    display: none;
}
    .headerNav__item:not(.showSp) a {
        padding: 0;
    }
    .headerNav__item.sales-promotion {
        text-align: left;
    }
    .headerNav__item.sales-promotion a {
        padding: 0;
    }
	.formLink {
		width: 76%;
		height: auto;
		margin: 0 auto;
		padding: 1em .3em;
		box-sizing: content-box;
		background-color: var(--c-red);
	}
	.formLink a {
		width: 100%;
		height: auto;
		padding: 0 .5em;
		font-size: var(--fz-l);
		font-weight: var(--fw-bold);
		color: var(--c-white);
		letter-spacing: .2rem;
	}

}





/*text animetions*/
@keyframes showTextFromBottom{
  0%{
    transform: translateY( 100% );
  }
  100%{
    transform: translateY( 0px );
  }
}
.anime-up.displayed span{
  animation: showText 1s backwards;
  display: inline-block;
}
.anime-up.displayed > span{
  overflow: hidden;
}
.anime-up.displayed > span > span{
  animation: showTextFromBottom 0.5s backwards;
}






/* --------------------------------------------

#header　印刷時

---------------------------------------------- */
@media print {
	#header {
		display: none;
	}
}