@charset "utf-8";
/* =========================
common 
========================= */
:root {
    --primary-black: #303030;
    --primary-white: #F9F9F9;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Noto Sans Japanese',
    Arial, 
    sans-serif;
    font-style: normal;
    color: var(--primary-black);
    background-color: var(--primary-white);
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

.topicIcon {
    color: var(--primary-black);
    font-family: Montserrat;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 1.4px;

    border-radius: 20px;
    border: 1px solid var(--primary-black);
    background: #FFF;
    display: inline-block;
    padding: 4px 16px;

    transition: 0.2s;
}

.nav__item {
    color: var(--primary-black);
    font-family: Montserrat;
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 1.8px;
}

.topic {
    color: var(--primary-black);
    text-align: center;
    font-family: Montserrat;
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 3.2px;
    margin-top: 64px;
}

/* =========================
header 
========================= */
.header {
    padding: 32px 4.2% 0px ;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* nav初期表示 */
.nav {
    background: linear-gradient(60deg, #D09A9A,#DAE2F8 70%);
    opacity: 0.9;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.4s;
}

.nav__header {
    padding: 32px 4.2% 20px ;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__btn {
    display: block;
    width: 30px;
    height: 30px;
    margin-left: 24px;
    margin-bottom: 10px;
}

.nav__menu {
    justify-content: flex-end;
    padding: 24px 36px 20px ;
}

.nav__list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 48px;
}

.nav__item {
    color: var(--primary-black);
    font-family: Montserrat;
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 2.4px;

}

.nav__item:hover {
    background: linear-gradient(to right, #D09A9A,#DAE2F8);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav__sns {
    margin-top: 80px;
}

.sns__list {
    display: flex;
    justify-content: flex-end;
}

.sns__item:first-of-type {
    margin-left: 0;
}

.sns__item {
	position: relative;
    width: 28px;
    height: 28px;
    margin-left: 36px;
	display: block;
	overflow: hidden;
	cursor: pointer;
}
.sns__item img {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 100%;
	display: block;
	-webkit-transition: .1s ease-in-out;
	transition: .1s ease-in-out;
}
.sns__item:hover img:nth-of-type(2) {
	opacity: 0;
}





/* nav.active表示 */
.nav.active {
    transform: translateX(0);
}

.header__btn {
    display: block;
    width: 30px;
    height: 30px;
    margin-left: 24px;
    margin-bottom: 10px;
}

/* .header pc */
@media screen and (min-width:769px){
    .header {
        max-width: 1280px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav {
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        position: relative;
        transform: translate(0);
        opacity: 1;
    }

    .nav::before {
        content: '';
        display: block;
        width: 9px;
        height: 34px;
        background-image: url(../images/kakko_mae.svg);
        position: absolute;
        top: 11px;
        left: -60px;
    }

    .nav::after {
        content: '';
        display: block;
        width: 9px;
        height: 34px;
        background-image: url(../images/kakko_ato.svg);
        position: absolute;
        top: 11px;
        right: -60px;
    }

    .nav__list{
        margin-top: 16px;
        flex-direction: row;
        align-items: center;
        gap: 44px;
    }

    .nav__item {
        font-size: 2rem;
    }

    .nav__header {
        display: none;
    } 

    .header__btn {
        display: none;
    }

    .nav__sns {
        display: none;
    }

    .sns__list {
        display: none;
    }

    .nav__menu {
        padding: 0px;
    }

}/* pc 769px */


/* =========================
footer
========================= */

.footer {
    text-align: center;
}

.footernav {
    display: none;
}

.copy {
    display: block;
    width: 100%;
    margin: 36px auto 16px;
}

.copy small {
    color: #303030;
    text-align: center;
    font-family: Montserrat;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.6px;
}

.topBtn {
    display: inline-block;
    padding: 30px 30px;
    text-decoration: none;
    border-radius: 50%;
    font-weight: bold;
    color: #FFF;
    background-image: linear-gradient(45deg, #D09A9A 0%, #DAE2F8 80%);
    opacity: 0.7;
    position: fixed;
    bottom: 5%;
    right: 5%;
}

.topBtn::after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-image: url(../images/arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 20px;
    bottom: 25px;
    transform: rotate(-90deg);
}

@media screen and (min-width:769px){
.footernav {
    display: block;
}

.footernav__list {
    margin-top: 64px;
}

.footernav__list {
    display: flex;
    justify-content: center;
    gap: 28px;
}

.footernav__item {
    color: #303138;
    font-family: Montserrat;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 1.8px;
    position: relative;
}


.footernav__item:hover {
    background: linear-gradient(to right, #D09A9A,#DAE2F8);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footernav__item:first-child::before {
    content: '';
    display: block;
    width: 7px;
    height: 27px;
    background-image: url(../images/kakko_mae_foot.svg);
    position: absolute;
    top: -2px;
    left: -50px;
}

.footernav__item:last-child::after {
    content: '';
    display: block;
    width: 7px;
    height: 27px;
    background-image: url(../images/kakko_ato_foot.svg);
    position: absolute;
    top: -4px;
    right: -50px;
}

.footersns__list {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.footersns__item {
	position: relative;
    width: 22px;
    height: 22px;
    margin-left: 30px;
	display: block;
	overflow: hidden;
	cursor: pointer;
}
.footersns__item img {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 100%;
	display: block;
	-webkit-transition: .1s ease-in-out;
	transition: .1s ease-in-out;
}
.footersns__item:hover img:nth-of-type(2) {
	opacity: 0;
}

.footersns__item:first-of-type {
    margin-left: 0;
}

}
