@charset "UTF-8";
/* ==========================
common
============================= */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
body {
    font-family: "YakuHanJP","Noto sans JP","Cormorant Garamond","zen old mincho",serif;
    font-style: normal;
    color: #3b3b3b;
    background-color: #fdfdfd;
    line-height: 1.5;
}
.header--hidden {
  transform: translateY(-100%);
}
/* --- ページ全体フェードイン --- */
#container {
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
#container.visible {
  opacity: 1;
}
/* ==========================
header
============================= */
.nav__sns img{
    width: 30px;
    display: none;
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__item {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    font-family: "Cormorant Garamond";
    font-weight: 500;
}

.header {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    z-index: 300;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4.6% 0;
    transition: 0.8s;
}
.header.scrolled {
    background-color: #fdfdfd;
}

.header__icon img{
    width: 23px;
}

.header__btn {
    display: none;
}

/* 959px以下に適用されるCSS（タブレット用） */
@media screen and (max-width: 959px) {
	.nav__item {
        font-size: 1.4rem;
    }
    .header__icon img{
        width: 24px;
    }
}

/* 480px以下に適用されるCSS（スマホ用） */
@media screen and (max-width: 480px) {
    .header {
        padding: 12px 5.4% 0;
    }
    .header__icon img{
        width: 24px;
    }

    .header__btn {
        display: block;
    }

    .nav__list {
        display: block;
        margin-top: 80px;
        margin-left: 10px;
    }

    .nav__item {
        margin-top: 20px;
        font-size: 2rem;
    }

    .nav__sns {
        display: flex;
        gap: 18px;
        margin-top: 30px;
        margin-left: 10px;
    }

    .nav__sns img{
        width: 18px;
        height: auto;
        display: block;
    }

    .nav {
        background: #fdfdfd;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        padding: 24px 6.4%;
        transform: translateX(100%);
        transition: transform 0.4s;
    }

    .nav.active {
        transform: translateX(30%);
    }

    .header__btn {
        display: block;
        cursor: pointer;
        width: 60px;
        height: 60px;
        position: relative;
        z-index: 999;
    }

    .header__btn-line {
        position: absolute;
        background-color: #3b3b3b;
        display: block;
        width: 28px;
        height: 1px;
        border-radius: 2px;
        top: 30px;
        right: 6.4%;
        transition: all 0.4s;
    }

    .header__btn .header__btn-line:first-child {
        top: 21px;
        right: 6.4%;
    }
    .header__btn .header__btn-line:last-child {
        top: 38px;
        right: 6.4%;
    }
    /* ハンバーガーメニューのアニメーション */
    .header__btn.active .header__btn-line:first-child {
    transform: rotate(45deg);
    top: 30px;
    }
    .header__btn.active .header__btn-line:nth-child(2) {
    opacity: 0;
    }
    .header__btn.active .header__btn-line:last-child {
    transform: rotate(-45deg);
    top: 30px;
    }
}

/* ==========================
footer
============================= */
.footer {
    padding: 20px 6.4%;
    background-color: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #fdfdfd;
}
.footer__sns {
    display: flex;
    gap: 18px;
}
.footer__sns__item {
    transition: 0.4s;
}
.footer__sns__item:hover {
    opacity: 0.4;
}
.footer__sns__item img {
    width: 24px;
    height: 24px;
}
.copy {
    color: white;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* 480px以下に適用されるCSS（スマホ用） */
@media screen and (max-width: 480px) {
    .footer__sns {
        gap: 20px;
    }
    .footer__sns__item img {
        width: 22px;
        height: 22px;
    }
}