@charset "UTF-8";
/*====================================================*/
/* common */
/*====================================================*/
html{
    font-size: 62.5%;
}
body {
    background-color: #ECE7E1;
    color: #242424;
    font-family: 'Noto Serif JP', serif;
    font-optical-sizing: auto;
    font-style: normal;
    letter-spacing: 0.05em;
}
img {
    max-width: 100%;
}
a {
    display: block;
}
dt {
    font-weight: normal;
}

:root {
    --main-color: #ECE7E1;
    --point-color: #242424;
    --font-Instrument: "Instrument Serif", serif;
    --hover-transition: all .3s ease;
}


/*====================================================*/
/* layout */
/*====================================================*/
/* .wrap_p {
    padding-left : calc( 80 * 100% / 750 );
    padding-right : calc( 80 * 100% / 750 );
}
.wrap_m {
    margin-left : calc( 80 * 100% / 750 );
    margin-right : calc( 80 * 100% / 750 );
}

@media print,screen and (min-width: 550px) and (max-width:1024px){
    .wrap_p {
        padding-left : calc( 100 * 100% / 1025 );
        padding-right : calc( 100 * 100% / 1025 );
    }
    .wrap_m {
        margin-left : calc( 100 * 100% / 1025 );
        margin-right : calc( 100 * 100% / 1025 );
    }
}
@media print,screen and (min-width: 1025px){
    .wrap_p {
        padding-left : calc( 150 * 100% / 1500 );
        padding-right : calc( 150 * 100% / 1500 );
    }
    .wrap_m {
        margin-left : calc( 150 * 100% / 1500 );
        margin-right : calc( 150 * 100% / 1500 );
    }
}
@media print,screen and (min-width: 1500px){
    .wrap_p {
        padding-left : calc( ( 100% - 1200px ) / 2 );
        padding-right : calc( ( 100% - 1200px ) / 2 );
    }
    .wrap_m {
        margin-left : calc( ( 100% - 1200px ) / 2 );
        margin-right : calc( ( 100% - 1200px ) / 2 );
    }
} */


/*====================================================*/
/* header */
/*====================================================*/
#header {
    width: 100%;
    background-color: #fff;
    font-family: var(--font-Instrument);
}
.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    margin-left : calc( 40 * 100% / 750 );
    margin-right : calc( 40 * 100% / 750 );
    padding: 1em 0;
}
.header-logo {
    font-size: 2.5rem;
}
#header a {
    transition: var(--hover-transition);
}
#header nav a:hover {
    opacity: 0.7;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
@media print,screen and (max-width: 1024px){
    .header-navi {
        display: none;
    }
    .header-logo {
        position: relative;
        z-index: 100;
    }
    .toggle {
        width: 4rem;
        height: 4rem;
        background-color: var(--point-color);
        border-radius: 60vh;
        position: relative;
        z-index: 100;
        cursor: pointer;
    }
    .toggle span {
        display: block;
        width: 2.5rem;
        height: 1px;
        background-color: #fff;
        position: absolute;
        transition: opacity .3s,transform .3s;
    }
    .toggle span:first-of-type {
        top: 1.5rem;
        left: 0.75rem;
    }
    .toggle span:nth-of-type(2) {
        bottom: 1.5rem;
        left: 0.75rem;
    }
    .toggle.active {
        background-color: transparent;
        border: 1px solid var(--point-color);
    }
    .toggle.active span {
        background-color: var(--point-color);
    }
    .toggle.active span:first-of-type {
        top: 50%;
        transform: rotate(45deg);
    }
    .toggle.active span:nth-of-type(2) {
        top: 50%;
        transform: rotate(-45deg);
    }

    .toggle-wrap {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--main-color);
        z-index: 50;
        overflow: auto;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .toggle-wrap.active {
        opacity: 1;
        visibility: visible;
    }
    .toggle-inner {
        width: 100%;
        margin-top: 12rem;
        padding-left : calc( 50 * 100% / 750 );
        padding-right : calc( 50 * 100% / 750 );
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .toggle-navi li {
        margin-bottom: 1em;
        font-size: 2rem;
        letter-spacing: 0.05em;
        text-align: center;
    }
}
@media print,screen and (min-width: 1025px){
    .header-wrap {
        margin-left : calc( 100 * 100% / 1500 );
        margin-right : calc( 100 * 100% / 1500 );
        padding: 0.5em 0;
    }
    .header-wrap::after {
        content: "";
        display: block;
        width: 5em;
    }
    .header-navi ul {
        display: flex;
        align-items: center;
        margin-top: 0.5em;
        font-size: 2.4rem;
    }
    .header-navi li:not(:last-of-type) {
        margin-right: 2em;
    }
    .header-navi a {
        padding: 0.25em 0;
    }
    .header-logo {
        font-size: 5rem;
    }
    .toggle,
    .toggle-wrap {
        display: none;
    }
}
@media print,screen and (min-width: 1500px){
    .header-wrap {
        margin-left : calc( ( 100% - 1300px ) / 2 );
        margin-right : calc( ( 100% - 1300px ) / 2 );
    }
}

/*====================================================*/
/* footer */
/*====================================================*/
#footer {
    padding: 1em 0;
    font-family: var(--font-Instrument);
    font-size: 1rem;
    text-align: center
}
@media print,screen and (min-width: 1025px){
    #footer {
        font-size: 1.2rem;
    }
}

/*====================================================*/
/* footer */
/*====================================================*/
.link-btn::after {
    content: "";
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    margin-left: 2em;
    background-image: url(../img/common/arrow.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
}



/*====================================================*/
/* アニメーション */
/*====================================================*/
.slide-top.active {
    -webkit-animation: slide-top 1.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-top 1.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}