:root {
    --header-height: 80px;
    --base-font-size: 14px;
}
@media only screen and (min-width: 768px) {
    :root {
        --header-height: 125px;
        --base-font-size: 16px;
    }
}

html,body {
    scroll-behavior: auto !important;
}

.top-wrapper {
    overflow-x: clip;
}

/* component */
.o-heading {
    color: #b19468;
    text-align: center;
}

.o-heading--left {
    text-align: left;
}

.o-heading .__en {
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    margin: 0;
}

.o-heading .__ja {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-feature-settings: "palt";
    font-size: 14px;
    margin: 0;
}

/* layout */
.l-inner {
    width: calc(100% - 30px);
    margin-inline: auto;
}
@media only screen and (min-width: 768px) {
    .l-inner {
        width: 93.75%;
        max-width: 1200px;
    }
}

body:not(.front_page) .l-header-spacer {
    padding-top: var(--header-height);
}


/* header */
.ec-drawerRole .ec-headerLinkArea .ec-headerLink__item {
    font-family: "EB Garamond", "Noto Serif JP", serif;
    font-weight: 500;
}

.ec-overlayRole {
    height: 100%;
    z-index: 10;
}
.ec-drawerRole {
    transform: translateX(300px);
    right: 0;
    left: auto;
    height: 100%;
    display: block;
}
.ec-drawerRoleClose {
    right: 270px;
    left: auto;
}

.have_curtain .ec-overlayRole {
    display: block;
}
.ec-drawerRole.is_active {
    display: block;
}
.ec-drawerRoleClose.is_active  {
    display: inline-block;
}
.ec-itemNav__nav {
    display: block;
}
.ec-itemNav__nav li {
    float: none;
    width: 100%;
}
.ec-itemNav__nav li a {
    text-align: left;
    border-bottom: 1px solid #E8E8E8;
}
.ec-headerLink__item:hover {
    text-decoration: none;
}
.ec-headerLink__item.--child::before {
    display: inline-block;
    content: "-";
}
@media only screen and (min-width: 768px) {
    .ec-drawerRole {
        width: 320px;
        transform: translateX(360px);
    }
    .ec-drawerRoleClose {
        right: 330px;
        left: auto;
    }
}

.g-header .ec-headerNavSP {
    display: block;
    padding: 0;
    width: 35px;
    height: 35px;
    color: #333;
    background: transparent;
    position: relative;
    top: auto;
    left: auto;
    z-index: 1000;
    margin-inline: max(15px,calc(60/1920*100vw));
}
@media only screen and (min-width: 768px) {
    .g-header .ec-headerNavSP {
        width: 55px;
        height: 55px;
    }
}

.g-header .ec-headerNavSP span {
    display: block;
    position: absolute;
    height: 1px;
    width: 100%;
    background-color: #333;
    top: calc(50% - 1px);
}
@media only screen and (min-width: 768px) {
    .g-header .ec-headerNavSP span {
        height: 2px;
    }
}

.g-header .ec-headerNavSP span:first-child {
    transform: translateY(-4px);
}
.g-header .ec-headerNavSP span:last-child {
    transform: translateY(4px);
}

.g-header {
    position: fixed;
    height: var(--header-height);
    left: 0;
    right: 0;
    top: 0;
    z-index: 9;
    background-color: #fff;
    transition: background-color 0.3s, transform 0.3s,height 0.3s;
    will-change: background-color,transform;
}
.g-header.is-hidden {
    transform: translateY(-100%);
}
.g-header.is-scrolled {
    height: calc(var(--header-height) * .64);
}
body.front_page .g-header {
    background-color: transparent;
}
body.front_page .g-header.is-scrolled {
    background-color: #fff;
}

.g-header a {
    color: #333;
    vertical-align: middle;
}

.g-header a:hover {
    color: #333;
    text-decoration: none;
}

.g-header ul,.g-header li {
    padding-left: 0;
    margin-bottom: 0;
    list-style-type: none;
}

.g-header__right {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.g-header__center {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
@media only screen and (min-width: 768px) {
    .g-header__center {
        justify-content: center;
    }
}

.g-header__nav {
    display: flex;
    gap: 15px;
    margin-inline: 15px;
}
@media only screen and (min-width: 768px) {
    .g-header__nav {
        gap: 26px;
        margin-inline: 0;
    }
}

.g-header__nav .__icon {
    height: 20px;
    width: auto;
}
@media only screen and (min-width: 768px) {
    .g-header__nav .__icon {
        height: 25px;
    }
}

.g-header__logo {
    display: block;
    height: min(50%, 57px);
    margin-inline: max(15px,calc(60/1920*100vw));
}

.g-header__logo img {
    width: auto;
    height: 100%;
}

/* footer before */
body:not(.front_page) .t-footer-before {
    margin-top: 30px;
}

.t-footer-before {
    position: relative;
    width: 100%;
    height: calc(400/1920*100vw);
    min-height: 200px;
}

.t-footer-before::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / .25);
    z-index: 1;
}

.t-footer-before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 85%;

}

/* footer */
.g-footer {
    background-color: #fff;
    padding-top: max(100px,calc(200/1920*100%));
    padding-bottom: 30px;
    font-size: var(--base-font-size);
}

.g-footer a {
    color: #333;
    vertical-align: middle;
}

.g-footer a:hover {
    color: #333;
    text-decoration: none;
}

.g-footer ul,.g-footer li {
    padding-left: 0;
    margin-bottom: 0;
    list-style-type: none;
}

@media (min-width: 768px) {
    .g-footer__layout {
        display: flex;
        justify-content: space-between;
    }
}

.g-footer__info .__logo {
    display: flex;
    gap: calc(40/16 * 1em);
    justify-content: flex-start;
    margin-bottom: calc(30/16 * 1em);
}

.g-footer__info .__logo img.__left {
    width: calc(129/16 * 1em);
    height: auto;
}
.g-footer__info .__logo img.__right {
    width: calc(82/16 * 1em);
    height: auto;
}

.g-footer__info .__note {
    font-size: calc(16/16 * 1em);
    letter-spacing: 0.05em;
}

.g-footer .__copyright {
    color: #a2a2a2;
    font-size: calc(13/16 * 1em);
    margin-top: 2em;
}
@media (min-width: 768px) {
    .g-footer .__copyright {
        margin-top: 0;
    }
}

.g-footer__foot {
    border-top: 1px solid #ccc;
    margin-top: 20px;
    padding-top: 30px;
}

.g-footer__nav-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 12px;
    margin-top: 3em;
}
@media (min-width: 768px) {
    .g-footer__nav-2col {
        grid-template-columns: auto auto;
        column-gap: 100px;
        row-gap: 12px;
        justify-content: flex-end;
        margin-top: 0;
    }
}

.g-footer__nav-2col .__parent {
    font-size: calc(16/16 * 1em);
}
.g-footer__nav-2col .__child {
    font-size: 12px;
    margin-top: .5em;
}
.g-footer__nav-2col .__child::before {
    display: inline-block;
    vertical-align: middle;
    content: "-";
}

.g-footer__nav-horizon {
    display: flex;
    flex-wrap: wrap;
    column-gap: 2em;
    row-gap: 1em;
    font-size: 12px;
    margin-top: 3em;
}
@media (min-width: 768px) {
    .g-footer__nav-horizon {
        justify-content: flex-end;
    }
}


.g-footer__sns {
    display: flex;
    gap: 15px;
}

.ec-blockTopBtn {
    font-size: clamp(10px,calc(13/1400*100vw),13px);
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100 / 13 * 1em); /*5.6em;*/
    height: calc(100 / 13 * 1em); /*5.6em;*/
    right:  clamp(15px,calc(60/1920*100vw),80px);
    bottom: clamp(15px,calc(52/1920*100vw),70px);
    opacity: 1;
    line-height: 1.2;
    background-color: #b19468;
    color: #fff;
    border-radius: 50%;
    z-index: 9;
    transition: opacity .3s;

}
.ec-blockTopBtn:hover {
    opacity: .8;
}

/* news */
.c-top-newsArticle {
    --news-padding: 15px;
    position: relative;
    display: block;
    color: #333;
    border-bottom: 1px solid #39404a;
    padding-block: var(--news-padding);
    padding-left: var(--news-padding);
    padding-right: calc(var(--news-padding) * 2 + 13px);
    transition: color .5s, background-color .5s;
    font-size: var(--base-font-size);
}
.c-top-newsArticle:first-child {
    border-top: 1px solid #39404a;
}
@media (min-width: 768px) {
    .c-top-newsArticle {
        --news-padding: 30px;
    }
}
.c-top-newsArticle::after {
    content: "";
    position: absolute;
    right: var(--news-padding);
    top: calc(50% - 6px);
    width: 13px;
    height: 12px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 12"><g><path style="fill: %23040000" d="M7.04,12c-.14,0-.28-.05-.38-.16-.21-.21-.21-.56,0-.77l5.03-5.07L6.66.93c-.21-.21-.21-.56,0-.77.21-.21.55-.21.77,0l5.42,5.46c.1.1.16.24.16.39s-.06.28-.16.39l-5.42,5.45c-.11.11-.24.16-.38.16Z"/><path style="fill: %23040000" d="M12.46,6.55H.54c-.3,0-.54-.24-.54-.55s.24-.55.54-.55h11.92c.3,0,.54.24.54.55s-.24.55-.54.55Z"/></g></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform .5s;
}

.c-top-newsArticle:hover {
    color: #333;
    background-color: rgb(255 255 255 / .6);
    text-decoration: none;
}
.c-top-newsArticle:hover::after {
    transform: translateX(4px);
    /* background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 12"><g><path style="fill: %237e7e7e" d="M7.04,12c-.14,0-.28-.05-.38-.16-.21-.21-.21-.56,0-.77l5.03-5.07L6.66.93c-.21-.21-.21-.56,0-.77.21-.21.55-.21.77,0l5.42,5.46c.1.1.16.24.16.39s-.06.28-.16.39l-5.42,5.45c-.11.11-.24.16-.38.16Z"/><path style="fill: %237e7e7e" d="M12.46,6.55H.54c-.3,0-.54-.24-.54-.55s.24-.55.54-.55h11.92c.3,0,.54.24.54.55s-.24.55-.54.55Z"/></g></svg>'); */
}

.c-top-newsArticle__inner {
    display: grid;
    align-items: center;
    grid-template-columns: 80px 1fr;
    gap: calc(50/30 * var(--news-padding));
}
.c-top-newsArticle img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.c-top-newsArticle .__date {
    display: block;
    font-size: calc(14/16 * 1em);
}
.c-top-newsArticle .__title {
    display: block;
    font-size: calc(16/16 * 1em);
    letter-spacing: 0.1em;
    margin-top: 0.5em;
    overflow-wrap: anywhere; /* 収まらない場合に折り返す */
    word-break: normal; /* 単語の分割はデフォルトに依存 */
    line-break: strict; /* 禁則処理を厳格に適用 */
}
@media (min-width: 768px) {
    .c-top-newsArticle__content {
        display: flex;
        align-items: center;
    }
    .c-top-newsArticle .__date {
        margin-right: 1.5em;
    }
    .c-top-newsArticle .__title {
        margin-top: 0;
    }
}

/* utility */
.en {
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 500;
}

.serif {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-feature-settings: "palt";
}

.sans {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-feature-settings: "palt";
}

.bold {
    font-weight: bold;
}

.gold {
    color: #b19468;
}
