@charset "utf-8";

/*============================================================
common
============================================================*/
:root {
    --colorPrimary: #213640;
    --colorSecondary: #D2B76D;
    --contentPadding: 4.2%;
}

html {
    font-size: 62.5%;
}

body {
    color: var(--colorPrimary);
    font-family: "Noto Serif JP", "Shippori Mincho", serif;
    font-style: normal;
    line-height: 1.5;
}

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

.title {
    color: var(--colorPrimary);
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
}

.title span {
    display: block;
    font-size: 1.0rem;
    font-weight: 700;
}

.title span::after {
    display: block;
    content: '';
    width: 70px;
    height: 1.5px;
    background-color: var(--colorSecondary);
    margin: 10px auto 0;
}

/* フェードアップアニメーション 対象：.mainVisual */
.fadeInCss {
    animation-name: fadeInCss;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeInCss {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* フェードアップアニメーション 対象：.about */
.fadeInCssFast {
    animation-name: fadeInCssFast;
    animation-duration: 4s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeInCssFast {
    from {
        transform: translateY(80px);
        transition: all 1.5s ease-out;
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* フェードインアニメーション 対象：.news .menu .access */
.fadeIn {
    transform: translateY(80px);
    transition: all 1.5s ease-out;
    opacity: 0;
}

.fadeIn.scrollin {
    transform: translateY(0);
    opacity: 1;
}

/* common pc */
@media screen and (min-width: 769px) {
    .title {
        font-size: 3.2rem;
    }

    .title span {
        font-size: 1.5rem;
    }

    .title span::after {
        width: 90px;
    }

}/* pc 769px */


/*============================================================
header
============================================================*/
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px var(--contentPadding);
}

.logo {
    width: 90px;
}

.nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(210, 183, 109, 0.98);
    transform: translateX(-100%);
    z-index: 100;
    padding: 25px var(--contentPadding) 0;
    transition: transform 0.5s;
}

/* ハンバガーメニュー展開 */
.nav.active {
    transform: translateX(0);
}

.nav__logo {
    margin: 0 auto;
}

.nav__list {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 60px auto 0;
    gap: 30px 0;
}

.nav__item {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: normal;
    border-bottom: solid 1.5 var(--colorPrimary);
}

.hamburgerMenu {
    position: absolute;
    top: 32px;
    right: 32px;
    cursor: pointer;
    z-index: 500;
}

.hamburgerMenu span {
    display: block;
    width: 16px;
    height: 1.5px;
    background-color: var(--colorPrimary);
    transition: ease 0.4s ease-out;
}

.hamburgerMenu span:nth-child(1) {
    top: 0;
}

.hamburgerMenu span:nth-child(2) {
    margin: 4px 0;
}

.hamburgerMenu span:nth-child(3) {
    top: 0;
}

/* ハンバガーメニュー展開 */
.hamburgerMenu.active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
    transition: transform 0.5s ease-out;
}

/* ハンバガーメニュー展開 */
.hamburgerMenu.active span:nth-child(2) {
    opacity: 0;
    transition: transform 0.5s ease-out;
}

/* ハンバガーメニュー展開 */
.hamburgerMenu.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    transition: transform 0.5s ease-out;
}

/* header pc */
@media screen and (min-width: 769px) {
    .nav__logo {
        display: none;
    }

    .nav {
        position: static;
        opacity: 1;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        background-color: transparent;
        transform: translateX(0);
        z-index: 0;
        padding: 0;
    }

    .nav__list {
        flex-direction: row;
        margin-top: 0;
        gap: 0 30px;
    }

    .nav__item {
        font-size: 1.6rem;
    }

    .nav__item a {
        position: relative;
    }

    .nav__item a::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 1px;
        width: 100%;
        height: 2px;
        background-color: var(--colorPrimary);
        transition: all 0.3s;
        transform: scale(0, 1);
        transform-origin: center top;
    }

    .nav__item a:hover::after {
        transform: scale(1, 1);
    }

    .hamburgerMenu {
        display: none;
    }

}/* pc 769px */


/*============================================================
footer
============================================================*/
/* footer */
.footer {
    padding: 50px var(--contentPadding) 10px;
}

.logo--footer {
    margin: 0 auto;
}

.footerNav__list {
    display: flex;
    justify-content: center;
    gap: 0 20px;
    margin-top: 30px;
}

.footerNav__item {
    font-size: 1.4rem;
    font-weight: 400;
}

.footerNav__item a:hover {
    cursor: pointer;
    opacity: 0.5;
}

.snsIcon__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 40px;
    margin-top: 30px;
}

.snsIcon__item img {
    color: var(--colorPrimary);
    width: 24px;
    height: 24px;
}

.snsIcon__item a:hover {
    cursor: pointer;
    opacity: 0.5;
}

.copyright {
    text-align: center;
    margin-top: 30px;
}

.copyright small {
    font-size: 1.2rem;
    font-weight: 400;
}

/* footer pc */
@media screen and (min-width: 769px) {
    .footer {
        padding: 80px var(--contentPadding) 20px;
    }

    .footerNav__list {
        margin-top: 30px;
    }

    .footerNav__item {
        font-size: 1.8rem;
        margin-left: 30px;
    }

    .snsIcon__list {
        gap: 0 30px;
        margin-top: 30px;
    }

    .snsIcon__item img {
        width: 30px;
        height: 30px;
    }

    .copyright small {
        font-size: 1.4rem;
    }

}/* px 769px */