@charset "utf-8";
/*==========================
common
==========================*/
:root {
    --primary-white: #FDFDFD;
    --primary-black: #333333;
    --primary-lightGray: #cccccc;
    --primary-gray: #F7F7F7;
    --contentPaddingPC: 7.2%;
    --contentwidthPC: 1200px;
    --contentPaddingSP: 4.2%;
    --contentPaddingTb: 4.3%;
}

html {
    font-size: 62.5%;
}

body {
    font-family:
        'Zen Old Mincho',
        '游明朝',
        serif;
    font-weight: 400;
    font-style: normal;
    color: var(--primary-black);
    background-color: var(--primary-white, #FDFDFD);
    line-height: 1;
}

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

.btn {
    display: block;
    width: 100%;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--primary-lightGray);
    font-family: "EB Garamond";
    font-size: 2.0rem;
    letter-spacing: 0.48px;
    margin-top: 40px;
    color: #fff;
    background-color: var(--primary-black);
}

.loading {
    opacity: 1;
    background-color: #fff;
    -webkit-transition: 2s cubic-bezier(0.39, 0.57, 0.56, 1);
    transition: 2s cubic-bezier(0.39, 0.57, 0.56, 1);
    width: 100vw;
    height: 100svh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ==================
header 
====================*/

.header__item {
    /* background-color: var(--primary-white); */
    mix-blend-mode: difference;
    width: 100%;
    display: flex;
    padding: 24px var(--contentPaddingSP) 8px;
    position: fixed;
    z-index: 10;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.header__logo {
    width: 55px;
    height: 100%;
    pointer-events: auto;
}

.hamburger {
    margin-top: 16px;
    cursor: pointer;
    pointer-events: auto;
}

.hamburger__line {
    margin: 0 auto;
    width: 38px;
    height: 23px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger__line span {
    display: block;
    height: 1px;
    background-color: #bbb;
    transition: all 0.4s ease;
}

.hamburger__menu {
    color: #bbb;
    text-align: center;
    margin: 8px auto;
    font-size: 1.6rem;
    font-family: "EB Garamond";
    letter-spacing: 1.68px;
}

/* メニューアイコンアニメーション */
.hamburger__line.is-active span:nth-child(1) {
    transform: translateY(11px) rotate(30deg);
}

.hamburger__line.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger__line.is-active span:nth-child(3) {
    transform: translateY(-11px) rotate(-30deg);
}

/* .nav初期表示 */
.nav {
    background-color: var(--primary-white);
    position: fixed;
    z-index: 9;
    width: 100%;
    height: 100vh;
    padding: 159px 8.5% 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.topics_wrapper a {
    margin-top: 48px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    position: relative;
    width: fit-content;
}

.topics_wrapper a::after {
    position: absolute;
    content: '';
    height: 1px;
    width: 100%;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-black);
}

.topics_wrapper time {
    font-family: "Cormorant Garamond";
    font-size: 1.6rem;
    line-height: 1.5
}

.topics_wrapper p {
    position: relative;
    font-size: 1.6rem;
    letter-spacing: 1.12px;
    line-height: 1.5;
    width: fit-content;
}

.nav__item {
    margin-top: 32px;
    font-family: "EB Garamond";
    font-size: 2.4rem;
    letter-spacing: 1.68px;
}

.nav__item:first-of-type {
    margin-top: 0;
}

.nav__item span {
    font-family: "Zen Old Mincho";
    font-size: 1.6rem;
    letter-spacing: 1.12px;
    margin-left: 16px;
}

.nav__subMenu {
    margin-top: 48px;
}

.menu__subItem {
    font-family: "EB Garamond";
    font-size: 1.8rem;
    letter-spacing: 1.4px;
}

.menu__sns {
    width: 18px;
    height: 18px;
    margin-top: 16px;
}

/* .nav.active表示 */
.nav.is-active {
    opacity: 1;
    visibility: visible;
}

.main {
    background-color: var(--primary-white);
    padding: 144px var(--contentPaddingSP) 0px;
}

.page__title div{
    display: inline-block;
}

.page__title div:first-child span{
    display: inline-block;
        font-family: "EB Garamond";
        font-size: 6.4rem;
        letter-spacing: 1.92px;
    }

.page__title div:last-child span {
    display: inline-block;
    font-family: "Zen Old Mincho";
    font-size: 1.6rem;
    letter-spacing: 1.12px;
    margin-left: 16px;
}

.pageScroll {
    opacity: 0;
    visibility: hidden;
    transition: 1.5s all cubic-bezier(.275,0,0,1);
    transform: translateY(30px);
}

.pageScroll.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.copy {
    text-align: center;
    font-family: "EB Garamond";
    font-size: 1.4rem;
    margin: 104px 0 48px;
}


/* タブレット */

@media screen and (min-width:768px) and (max-width:1023px) {
    .header__item {
        padding: 24px var(--contentPaddingTb) 8px;
        /* background-color: var(--primary-white); */
        width: 100%;
        justify-content: space-between;
        align-items: center; 
        z-index: 50;
    }

    .nav {
        padding: 112px 144px 0 48px;
        width: fit-content;
        display: flex;
        flex-direction: column;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 20;
    }

    .topics_wrapper {
        width: 222px;
    }

    .topics_wrapper a {
        position: relative;
        margin-top: 56px;
    }

    .topics_wrapper p {
        display: -webkit-box;
        -webkit-line-clamp: 2; /* ここを1にすれば1行に省略 */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-top: 0;
    }

    .topics_wrapper a::after {
        position: absolute;
        content: '';
        height: 1px;
        width: 100%;
        top: auto;
        bottom: -5px;
        left: 0;
        background-color: var(--primary-lightGray);
    }

    .nav__item {
        font-size: 2.4rem;
        color: var(--primary-black); 
	width: 222px;
    }

    .menu__subItem {
        color: var(--primary-black); 
    }

    .nav__subMenu {
        margin-top: 56px;
    }

    .overlay {
        position: fixed;
        z-index: 100;
        top: 0;
        left: 0;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5); 
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.4s ease;
        width: calc(100% - 414px);
    }

    .overlay.is-active {
        opacity: 1;
        visibility: visible;
    }

    .main {
        background-color: var(--primary-white);
        padding: 104px var(--contentPaddingTb) 0;
    }

    .page__title div:first-child span {
        font-size: 8.8rem;
        letter-spacing: 2.64px;
    }

    .page__title div:last-child span {
        font-size: 2.4rem;
        letter-spacing: 1.68px;
        margin-left: 32px;
    }

    .btn {
        width: fit-content;
        padding: 30px 138px;
        margin: 64px auto 0;
        font-size: 2.4rem;
        letter-spacing: 0.72px;
        transition: 0.4s all ease;
    }

}

/* pc */

@media screen and (min-width:1024px) {

    .header__item {
        background-color: transparent;
        width: 100%;
        padding: 24px 0 0 0;
        justify-content: space-between;
        align-items: center; 
        z-index: 50;
    }
    
    .header__logo {
        width: var(--contentPaddingPC);
        height: 100%;
    }
    
    .logo__img {
        width: 55px;
        display: block;
        margin: 0 auto;
        height: 100%;
    }

    .hamburger {
        width: var(--contentPaddingPC);
    }

    .hamburger__line {
        margin: 0 auto;
    }
    
    .nav {
        padding: 96px 144px 0 48px;
        width: fit-content;
        display: flex;
        flex-direction: column;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 20;
    }

     .topics_wrapper {
        width: 222px;
    }

    .topics_wrapper a {
        position: relative;
        margin-top: 56px;
        align-items: flex-start;
    }

    .topics_wrapper p {
        margin-top: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* ここを1にすれば1行に省略 */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .topics_wrapper a::after {
        position: absolute;
        content: '';
        height: 1px;
        width: 100%;
        top: auto;
        bottom: -5px;
        left: 0;
        background-color: var(--primary-lightGray);
    }

    .nav__item {
        font-size: 2.4rem;
        color: var(--primary-black); 
	width: 222px;
    }


    .nav__subMenu {
        margin-top: 56px;
    }

    .overlay {
        position: fixed;
        z-index: 100;
        top: 0;
        left: 0;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5); 
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.4s ease;
        width: calc(100% - 414px);
    }

    .overlay.is-active {
        opacity: 1;
        visibility: visible;
    }

    .main {
        background-color: var(--primary-white);
        padding: 88px var(--contentPaddingPC) 0;
    }

    .page__title div:first-child span {
        font-size: 8.8rem;
        letter-spacing: 2.64px;
    }

    .page__title div:last-child span {
        font-size: 2.4rem;
        letter-spacing: 1.68px;
        margin-left: 32px;
    }

    .btn {
        width: fit-content;
        padding: 30px 138px;
        margin: 64px auto 0;
        font-size: 2.4rem;
        letter-spacing: 0.72px;
        transition: 0.4s all ease;
    }

    .btn:hover {
        background-color: transparent;
        color: var(--primary-black);
    }

}