/* custom properties
--------------------------------------------------- */
:root {
    --clr-bg: #ffffff;
    --clr-txt: #525252;
    --clr-ass: #FFF7E8;
    --clr-ass2: #FFF7E8;
    --clr-acc: #BEAE75;
    --clr-muted: #8c8c8c;
    --clr-border: #dddddd;

    --ff: 'Zen Old Mincho', serif;
    --ff-en: 'Cormorant Garamond', serif;
    --fs: 1.4rem;
    --fs-pc: 1.6rem;
    --fs-s: 1.4rem;
    --fs-l: 1.25em;
    --fw: 400;
    --lh: 1.8;
    --ls: 0.07em;

    --bp-tab: 560px;
    --bp-pc: 960px;

    --br: 30px;
    --ts: 0.3s;
    --cont-mw: 1170px;

    --mg: 30px;
    --pd: 15px;
}


/* common 
---------------------------------------------------*/
html {
	font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
}
body {
	font-family: var(--ff);
	font-size: clamp(var(--fs) , 2.5vw, var(--fs-pc));
	color: var(--clr-txt);
	line-height: var(--lh);
	letter-spacing: var(--ls);
	text-align: left;
	font-weight: var(--fw);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-color: var(--clr-bg);
}
a {
	color: var(--clr-txt);
	text-decoration: none;
    transition: var(--ts);
}
a:hover {
	color: var(--clr-txt);
	text-decoration: none;
    opacity: 0.6;
}
.pc {
	display: none !important;
}
.sp {
	display: block !important;
}
img {
	width: 100%;
	height: auto;
}
* {
	box-sizing: border-box;
}

html {
    margin-top: 0 !important;
}
@media(min-width: 960px) {
    .pc {
        display: block !important;
    }
    .sp {
        display: none !important;
    }
}
/* Component
---------------------------------------------------*/
.c-ttl-wrap {
    text-align: left;
}
.c-ttl-en {
    color: var(--clr-acc);
    font-size: clamp(16px, 1.2vw, 20px);
    font-family: var(--ff-en);
}
.c-ttl-ja {
    font-size: clamp(20px, 1.5vw, 24px);
    font-weight: var(--fw);
    line-height: 1.4;
}
.c-ttl_en {
    display: inline-block;
    margin-bottom: 4rem;
    position: relative;
    font-size: clamp(25px, 5vw, 32px);
    font-family: var(--ff-en);
    &:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 100%);
        width: 1px;
        height: 30px;
        background: var(--clr-txt);
    }
}
.c-btn {
    text-align: right;
    a {
        display: inline-block;
        position: relative;
        margin-right: 15px;
        padding: 0 1em 0 0;
        font-size: clamp(16px, 1.5vw, 20px);
        font-family: var(--ff-en);
        &::before {
            content: '';
            position: absolute;
            bottom: 3px;
            right: -15px;
            transform: rotate(30deg);
            width: 12px;
            height: 1px;
            background-color: var(--clr-acc);
            transition: var(--ts);
        }
        &::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: calc(100% + 15px);
            height: 1px;
            background-color: var(--clr-acc);
            transition: var(--ts);
        }
        &:hover {
            &::before {
                right: -20px;
            }

            &::after {
                width: calc(100% + 20px);
            }
        }
    }
}
.c-btn.c-external {
    a {
        padding: 0;
    }
    span:after {
        content: "";
        display: inline-block;
        width: 24px;
        aspect-ratio: 1;
        margin-left: 0.5em;
        background-color: var(--clr-txt);
        mask-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.49773 1H12.9968V4.5M12.247 1.75L8.498 5.5M6.9984 2H2.4996C2.10188 2 1.72045 2.15804 1.43922 2.43934C1.15799 2.72064 1 3.10218 1 3.5V11.5C1 11.8978 1.15799 12.2794 1.43922 12.5607C1.72045 12.842 2.10188 13 2.4996 13H10.4975C10.8952 13 11.2766 12.842 11.5578 12.5607C11.8391 12.2794 11.9971 11.8978 11.9971 11.5V7' stroke='%23525252' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        mask-repeat: no-repeat;
        mask-position: center;
        vertical-align: middle;
    }
}

/* wordpressバー
---------------------------------------------------*/
body.admin-bar {
    padding-top: 0;
    padding-bottom: 46px;
}
#wpadminbar {
    top: auto;
    bottom: 0;
    position: fixed;
    width: 100%;
    z-index: 9999;
}
#wpadminbar {
    top: auto;
    bottom: 0;
}

/* scrollin
---------------------------------------------------*/
.js-scrollin {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.0s ease, transform 1.0s ease;
}
  
.js-scrollin.is-scroll {
    opacity: 1;
    transform: translateY(0);
}

/* keyframes
---------------------------------------------------*/


/* header
---------------------------------------------------*/
.header-logo {
    position: absolute;
    top: 5px;
    left: 12px;
    z-index: 100;
    width: clamp(180px, 30vw, 250px);
}   

.nav-toggle {
    position: fixed;
    top: 30px;
    right: 5%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 30px;
    height: 1px;
    background: var(--clr-txt);
    transition: var(--ts);
    &:nth-child(1) {
        transform: translateY(10px);
    }
    &:nth-child(2) {
        opacity: 1;
    }
    &:nth-child(3)  {
        transform: translateY(-10px);
    }
}
.nav-toggle[aria-expanded="true"] {
    span:nth-child(1) {
        transform: translateY(0) rotate(45deg);
    }
    span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    span:nth-child(3) {
        transform: translateY(-2px) rotate(-45deg);
    }
}

.main-navigation {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    padding: clamp(180px, 15vw, 200px) 0 0;
    background-color: var(--clr-bg);
    background-color: var(--clr-bg);
    opacity: 0;
    transition: all var(--ts);
}
.main-navigation.is-active {
    visibility: visible;
    opacity: 1;
}
.nav-logo {
    position: absolute;
    top: 5px;
    left: 12px;
    width: clamp(180px, 30vw, 250px);
}
.header-nav {
    max-height: calc(100vh - 180px);
    overflow-y: scroll;
    scrollbar-width: none;
    &::-webkit-scrollbar {
        display: none;
    }
    #nav {
        margin: 0 auto;
        list-style: none;
        text-align: center;
    }
    .menu-item:not(:first-child) {
        margin-top: 3rem;
    }
    .menu-item a {
        position: relative;
        padding-bottom: 5px;
        &::before {
            background: var(--clr-acc);
            content: '';
            width: 100%;
            height: 1px;
            position: absolute;
            left: 0;
            bottom: 0;
            margin: auto;
            transform-origin: right top;
            transform: scale(0, 1);
            transition: transform var(--ts);
        }
        &:hover:before {
            transform-origin: left top;
            transform: scale(1, 1);
        }
    }
    .menu-item.external a {
        position: relative;
        &:after {
            content: '';
            display: inline-block;
            width: 16px;
            height: 16px;
            margin-left: 1em;
            background-color: var(--clr-txt);
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
            mask-repeat: no-repeat;
            mask-position: center;
            mask-size: 100%;
            vertical-align: middle;
        }
    }
    .instagram-link {
        margin-top: 3rem;
        a {
            display: block;
            width: 24px;
            height: 24px;
            margin: 0 auto;
            background-color: var(--clr-txt);
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1' stroke-linecap='round' stroke-linejoin='round' %3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'%3E%3C/rect%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'%3E%3C/path%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'%3E%3C/line%3E%3C/svg%3E");
            mask-repeat: no-repeat;
            mask-position: center;
            mask-size: 100%;
            vertical-align: middle;
        }
    }
}


/* footer
---------------------------------------------------*/
.footer {
    position: relative;
    margin: 7rem 0 0;
    padding: 6rem 7rem 8rem;
    border-radius: var(--br) var(--br) 0 0;
    background: url("../img/common/footer-bg.webp") center center / cover no-repeat;
}
.page-top {
    position: absolute;
    bottom: 10rem;
    right: 4rem;
    z-index: 1;
    width: 32px;
    height: 32px;
    transition: opacity 0.4s;
    a {
        display: block;
        width: 100%;
        height: 100%;
        background-color: var(--clr-txt);
        mask-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 19.8333L14 12.8333L7 19.8333M8.16667 7H19.8333' stroke='%23525252'/%3E%3C/svg%3E");
        mask-repeat: no-repeat;
        mask-position: center;
        mask-size: 70%;
        transition: opacity 0.4s;

    }
    :hover {
        opacity: 0.5;
    }
}
.footer-nav {
    .menu {
        list-style: none;
    }
    .menu-item:not(:first-child) {
        margin-top: 3rem;
    }
    .menu-item:last-child {
        position: absolute;
        top: 6rem;
        right: 7rem;
        margin-top: 0;
    }
    .menu-item.external a {
        position: relative;
        &:after {
            content: '';
            display: inline-block;
            width: 16px;
            height: 16px;
            margin-left: 1em;
            background-color: var(--clr-txt);
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
            mask-repeat: no-repeat;
            mask-position: center;
            mask-size: 100%;
            vertical-align: middle;
        }
    }
    .instagram-link {
        position: absolute;
        top: calc(6rem + 1em);
        right: 7rem;
        margin-top: 4.5rem;
        a {
            display: block;
            width: 24px;
            height: 24px;
            margin: 0 auto;
            background-color: var(--clr-txt);
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1' stroke-linecap='round' stroke-linejoin='round' %3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'%3E%3C/rect%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'%3E%3C/path%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'%3E%3C/line%3E%3C/svg%3E");
            mask-repeat: no-repeat;
            mask-position: center;
            mask-size: 100%;
            vertical-align: middle;
        }
    }
}
.footer-logo {
    width: 165px;
    object-fit: contain;
}
.footer-copyright {
    position: absolute;
    right: 2rem;
    bottom: 3rem;
    font-size: 16px;
    font-family: var(--ff-en);
}
@media(min-width: 960px) {
    .footer {
        margin: 24rem auto 0;
        padding: 15rem 0 28rem;
        border-radius: 100px 100px 0 0;
    }
    .page-top {
        bottom: 15rem;
        right: 10%;
        a {
            mask-size: 100%;
        }
    }
    .footer-nav {
        width: fit-content;
        margin: 0 auto;
        position: relative;
        text-align: center;
        .menu {
            display: flex;
            justify-content: center;
        }
        .menu-item:not(:first-child) {
            margin: 0 0 0 3rem;
        }
        .menu-item:last-child {
            position: inherit;
        }
        .menu-item.external a {
            position: relative;
            &:after {
                margin-left: 0.5em;
            }
        }
        .instagram-link {
            top: 5rem;
            right: auto;
            left: 12rem;
            margin-top: 4.5rem;
        }
    }
    .footer-logo {
        margin: 3rem 40% 0 auto;
        text-align: center;
    }
    .footer-copyright {
        right: 10%;
        bottom: 10rem;
    }
}