@charset "UTF-8" ;

:root {
    --font-size-base: 16px;
}

/*######################################################
カスタムプロパティ
######################################################*/
/* Webフォントは inc/enqueue.php で読み込みます。 */

/* =====================
フォント
===================== */

:root {
    --font-family-base: "Noto Sans JP", sans-serif;
    --font-family-en: "Playfair Display SC", serif;
    --font-family-entry: "Playfair Display", serif;
    --font-family-tag: "Zen Kaku Gothic New", sans-serif;
    --font-family-min: "Shippori Mincho B1", serif;
}

/* =====================
インナー幅の設定
===================== */

:root {
    --width-inner: 1080px;
    --width-inner-s: 760px;
    --width-top: 1200px;
}

/* =====================
カラー設定
===================== */

:root {
    --color-main: #031730;
    --color-white: #ffffff;
    --color-body-bg: #121212;
    --color-body-text: #ffffff;
    --color-top-bg: #121212;
    --color-loading-bg: #000000;
    --color-top-gold: #cfbd88;
    --color-top-accent: #a78032;
    --color-top-muted: #a0a0a0;
    --color-top-border: #a0a0a0;
    --color-top-overlay: #121212cc;
    --color-top-fade: #12121280;
    --color-top-line: #06c755;
    --header-height: clamp(72px, 6.25vw, 90px);
}

/*######################################################
reset css
######################################################*/

html {
    scrollbar-gutter: stable;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--color-body-bg);
    color: var(--color-body-text);
    width: 100%;
    font-family: var(--font-family-base);
    font-weight: 400;
    font-size: var(--font-size-base);
    line-height: 1.75;
    -webkit-text-size-adjust: 100%;
    text-align: justify;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

* {
    font-feature-settings: normal;
    font-size: inherit;
    line-height: inherit;
    line-break: strict;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

html,
body,
div,
p,
span,
h1,
h2,
h3,
h4,
h5,
h6,
iframe,
blockquote,
pre,
a,
address,
em,
img,
small,
strike,
strong,
sub,
sup,
b,
u,
i,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
ul,
ol,
li,
dl,
dt,
dd,
form,
label,
article,
aside,
canvas,
details,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    z-index: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

em {
    font-style: normal;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

th,
td {
    text-align: left;
}

ol,
ul {
    padding-left: 1.25em;
}

/*######################################################
基本設定
######################################################*/
/* =====================
フォーカスリング
マウス・タッチ操作時は非表示、キーボード操作時は表示
===================== */

*:focus:not(:focus-visible) {
    outline: none;
}

/* =====================
telリンク無効
===================== */

@media (any-hover: hover) {

    a[href^="tel:"],
	a[href^="tel:"]::after {
        pointer-events: none !important;
        content: none !important;
        text-decoration: none;
    }
}

/* =====================
管理画面バー
===================== */

#wpadminbar {
    position: fixed;
}

/* =====================
スクリーンリーダー用のスキップリンク
===================== */

.site-skip-link {
    position: fixed;
    inset: 8px auto auto 8px;
    z-index: 11000;
    padding: 12px 20px;
    background: var(--color-white);
    color: var(--color-top-bg);
    transform: translateY(-150%);
}

.site-skip-link:focus-visible {
    transform: translateY(0);
}

/*######################################################
ヘッダー
######################################################*/

.header {
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: var(--color-top-bg);
    color: var(--color-white);
    font-family: var(--font-family-base);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

body.admin-bar .header {
    top: 32px;
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1920px;
    margin-inline: auto;
}

.header__title {
    flex: 0 0 auto;
    line-height: 1;
}

.header__title a {
    display: block;
    position: relative;
}

.header__title a img {
    display: block;
    width: 100%;
    height: 100%;
    object-position: left center;
}

.header a {
    color: inherit;
    text-decoration: none;
}

/* ==============================
ハンバーガーボタン
============================== */

.hum-btn {
    display: none;
}

.hum-btn__text {
    font-size: var(--font-size-base);
}

.header__drawer {
    margin-inline: auto 0;
}

/**************************************************
ドロワーメニュー中身
**************************************************/

/* メニュー */

.drawer-menu__main a {
    text-decoration: none;
    display: block;
    border-bottom: 1px solid transparent;
}

.drawer-menu__content {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.6667vw, 24px);
    padding-block: 0;
}

.drawer-menu__info {
    display: none;
}

.drawer-menu__nav {
    display: flex;
    align-items: center;
}

.drawer-menu__main {
    display: flex;
    align-items: center;
    padding: 0;
    list-style: none;
}

.drawer-menu__main a {
    color: var(--color-white);
}

.drawer-menu__main a {
    position: relative;
}

/*######################################################
メイン
######################################################*/

.main {
    padding-block: var(--header-height) 0;
    margin-top: 0;
}

.main [id] {
    scroll-margin-top: calc(var(--header-height) + 0px);
}

picture {
    display: block;
    height: 100%;
}

.main picture img {
    object-fit: cover;
}


/*######################################################
ヘッダー・フッター
######################################################*/

.header__content {
    width: calc(100% - clamp(32px, 4.1667vw, 60px));
    min-height: var(--header-height);
    gap: clamp(8px, 1.6667vw, 24px);
}

.header__title a {
    width: clamp(100px, 9.3056vw, 134px);
    height: auto;
    aspect-ratio: 134 / 58;
}

.header__title a img {
    object-fit: fill;
}

.site-menu__entry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 42px 12px;
    border-radius: 100px;
    background: var(--color-top-accent);
    color: var(--color-white);
    font-family: var(--font-family-entry);
    font-size: var(--font-size-base);
    font-weight: 700;
    line-height: 1;
    letter-spacing: .05em;
    white-space: nowrap;
    padding-inline: clamp(12px, calc(4.4643vw - 22.2857px), 42px);
}

.site-menu__entry::after {
    content: "";
    display: block;
    flex: 0 0 6.83105px;
    width: 6.83105px;
    height: 8.36719px;
    background: url("../images/common/entry-arrow.svg") center / contain no-repeat;
}

.site-footer {
    padding-block: clamp(64px, 4.4444vw, 100px) clamp(40px, 6.9444vw, 100px);
    background: var(--color-top-bg);
    color: var(--color-white);
}

.site-footer__inner.inner {
    width: calc(100% - 48px);
    max-width: var(--width-top);
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer__list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 0;
    list-style: none;
    font-size: var(--font-size-base);
    line-height: 1;
    letter-spacing: .05em;
}

.site-footer__legal {
    display: flex;
    justify-content: flex-end;
    min-height: 14px;
    margin-top: clamp(40px, 25.9155px + 3.7559vw, 80px);
    font-size: var(--font-size-base);
    line-height: 1;
    letter-spacing: .05em;
}

.site-footer__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(32px, 29.1831px + 0.7512vw, 40px);
}

.site-footer__logo {
    display: block;
    position: relative;
    flex: 0 0 auto;
    width: clamp(220px, 23.4722vw, 338px);
    height: auto;
    overflow: hidden;
    aspect-ratio: 338 / 146;
}

.site-footer__logo img {
    position: absolute;
    width: 105.61%;
    height: 133.53%;
    inset: -16.4% auto auto -5.61%;
    max-width: none;
}

.site-footer__copyright {
    font-size: 12px;
    line-height: normal;
    letter-spacing: .05em;
}

.site-footer__copyright small {
    font-size: 12px;
}

.drawer-menu__nav {
    gap: clamp(8px, calc(4.1667vw - 24px), 36px);
}

.drawer-menu__main {
    gap: clamp(8px, calc(4.1667vw - 24px), 36px);
}

.drawer-menu__main a {
    padding: 0;
    border: 0;
    font-size: var(--font-size-base);
    line-height: 1;
    letter-spacing: .05em;
    white-space: nowrap;
}

.header__title picture,
.site-footer__logo picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hum-btn {
    position: fixed;
    z-index: 9999;
    top: 12px;
    right: 20px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border: none;
    background-color: var(--color-top-bg);
    color: var(--color-white);
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.admin-bar .hum-btn {
    top: 56px;
}

.hum-btn__line {
    content: "";
    position: absolute;
    left: 50%;
    width: 70%;
    height: 2px;
    background-color: currentColor;
    border-radius: 999px;
    transform: translateX(-50%);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: block;
    top: 12px;
}

.hum-btn__line::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    border-radius: 999px;
    transform: translateX(-50%) translateY(-6px);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: block;
}

.hum-btn__line::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    border-radius: 999px;
    transform: translateX(-50%) translateY(6px);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: block;
}

.hum-btn__text {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    margin: 0;
    color: currentColor;
    line-height: 1;
    transition: opacity 0.3s;
}

.hum-btn[aria-expanded="true"] .hum-btn__text {
    opacity: 0;
}

.hum-btn[aria-expanded="true"] .hum-btn__line {
    background-color: transparent;
}

.hum-btn[aria-expanded="true"] .hum-btn__line::before {
    transform: translateY(6px) translateX(-50%) rotate(45deg);
}

.hum-btn[aria-expanded="true"] .hum-btn__line::after {
    transform: translateY(6px) translateX(-50%) rotate(-45deg);
}

.header__drawer {
    min-width: 0;
}

.drawer-menu__main {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 12px;
}

.drawer-menu__nav {
    min-width: 0;
}

.site-menu__entry {
    flex-shrink: 0;
}

@media (max-width: 1079px) {

    .main [id] {
        scroll-margin-top: 20px;
    }

    html {
        scroll-padding-top: 0;
    }

    .header {
        position: absolute;
    }

    .header__content {
        padding-right: 52px;
    }

    .hum-btn {
        display: grid;
    }

    body.is-drawerOpen {
        overflow: hidden;
    }

    .header__drawer {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
        position: fixed;
        top: 0;
        z-index: 9998;
        right: -120%;
        width: 100%;
        height: 100dvh;
        background: var(--color-top-bg);
        transition: right 0.4s ease;
        padding-inline: 20px;
    }

    .header__drawer::-webkit-scrollbar {
        display: none;
    }

    body.is-drawerOpen .header__drawer {
        right: 0;
    }

    .drawer-menu__content {
        justify-content: center;
        min-height: 100dvh;
        max-width: calc(100% - 48px);
        margin-inline: auto;
        flex-direction: column-reverse;
        padding-block: 100px 40px;
    }

    .drawer-menu__nav {
        margin-inline: 0;
        border: 0;
        padding: 0;
        display: block;
    }

    .drawer-menu__main a {
        padding: 12px 0;
        line-height: 1.75;
    }

    .site-menu__entry {
        margin-top: 24px;
        padding-inline: 42px;
    }

    .drawer-menu__main {
        display: block;
    }
}

@media (max-width: 767px) {

    :root {
        --font-size-base: 14px;
    }

    .site-footer__list {
        justify-content: flex-start;
        gap: 20px 12px;
        line-height: 1.5;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__legal {
        justify-content: center;
        text-align: center;
    }

    .site-footer__bottom {
        align-items: center;
        flex-direction: column;
        margin-top: 24px;
    }

    .site-footer__copyright {
        align-self: center;
        text-align: center;
    }

}
