@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Marcellus&family=Noto+Sans+JP:wght@100..900&display=swap');

:root {
    --main-accent-color: #0022A5;
    --main-text-color: #000000;
    --sub-text-color: #ffffff;
    --gray-text-color: #3B3C40;
    --line-color: #E5E7F3;
}

:root {
    --color-bg:        #e9e6e2; /* 背景ベージュ rgb(233,230,226) */
    --color-base:      #3b3c40; /* 見出しグレー rgb(59,60,64)  */
    --color-text:      #000;
    --color-primary:   #0022a5; /* アクセント青 rgb(0,34,165) */
    --color-store:     #392214; /* ストア茶    rgb(57,34,20) */
    --color-contact-bg:#e5e7f3; /* コンタクト背景 rgb(229,231,243) */
    --color-store-bg:  #e1dedc; /* ストア背景   rgb(225,222,220) */
    --color-card:      rgba(255, 255, 255, .8);

    --font-en:     "Marcellus", serif;
    --font-mincho: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Shippori Mincho", serif;
    --font-gothic: "Noto Sans JP", sans-serif;
    --font-btn: "Marcellus", "Noto Sans JP", sans-serif;

    --content-width: 1200px;
    --side-gutter:   40px;
}

:root {
  --header-height: 80px; /* 初期値（JSで上書きされる） */
}

/* scroll-margin-topも念のため設定（JS未実行時のフォールバックやブラウザネイティブ挙動の補助） */
[id] {
  scroll-margin-top: var(--header-height);
}

body {
}
.content{
}

/* レイアウト用ラッパ（共通パーツではないため幅を持たせて良い） */
.container {
width: 90%;
max-width: var(--content-width);
margin-inline: auto;
/*
padding-inline: var(--side-gutter);
*/
}

.mincho { font-family: var(--font-mincho); }

/* リセットCSS */
* {
    box-sizing: border-box;
    line-height: inherit;
    font-weight: inherit;
    font-size: inherit;
    color:inherit;
    font-family:inherit;
}
h2,h3,h4,h5,h6,p,span{
  text-box-trim: trim-both; /* 上下のスペースをトリム */
  text-box-edge: cap alphabetic; /* 大文字の上端とベースラインで切り取る */
}
html,body,div,h1,h2,h3,h4,h5,h6,ul,ol,li,p,dl,dt,dd,button {
    padding: 0;
    margin: 0;
}
html {
    font-size: 10px;
}
body {
    font-family:"Noto Sans JP", sans-serif;
    line-height: 1.5;
    color: var(--main-text-color);
}
ol,ul,li {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
button, a {
    opacity: 1;
    transition: all .2s ease-out;
    color: inherit;
    text-decoration: none;
}
button:hover, a:hover {
    opacity: .6;
}
textarea, button, input {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    border: none;
}
table{
    border-collapse: collapse;
}

.en{
    font-family: "Marcellus", serif;
}
.en *{
    font-family: inherit;
}
.btn{
    color: var(--main-accent-color);
    border: 1px solid var(--main-accent-color);
    background: #fff;
    width: 280px;
    padding: 16px 0;
    text-align: center;
    font-family: var(--font-btn);
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    display: inline-block;
}
.btn.small-btn{
    padding: 15px 38px;
    width: auto;
    line-height: 1;
}

.flex{
    display: flex;
    flex-wrap: wrap;
}

header{
    z-index: 1000;
}
#wrapper{
    padding: 70px 0 0;
}
._pc{
    display: block;
}
._sp{
    display: none;
}
@media screen and (max-width: 767px){
    ._pc{
        display: none;
    }
    ._sp{
        display: block;
    }
}

/* ハンバーガーメニュー */
.header {
    width: 100%;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
  transition: background-color 0.3s ease;
}

.header.is-scrolled {
  background-color: rgba(255,255,255,0.5);
  background-color: transparent;
}
.header__inner {
    width: 100%;
    margin-inline: auto;
    padding: 0 38px 0 0;
    /*
    display: flex;
    align-items: center;
    justify-content: space-between;
    */
    position: relative;
    height: inherit;
}
.header__logo {
    width: 87px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
  transition: opacity 0.3s ease;
  opacity: 1;
}
.header.is-scrolled .header__logo{
  opacity: 0;
  pointer-events: none;
}
.header__logo a {
    display: block;
}
.header__links {
    display: flex;
    align-items: center;
    position: absolute;
    right: 39px;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
    opacity: 1;
}
.header.is-scrolled .header__links {
  opacity: 0;
  pointer-events: none;
}
.header__link {
    font-family: 'Marcellus';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0.05em;
    color: #0022A5;
    text-transform: uppercase;
}
.header__menu-header {
    display: none;
    position: relative;
    top: 24px;
    left: 326px;
    z-index: 100;
}
.header__lang-blocks {
    display: flex;
    align-items: center;
    position: relative;
    width: fit-content;
}
.header__lang-blocks::after {
    display: block;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    content:"";
    height: 24px;
    width: 2px;
    background-color:  var(--main-text-color);
}
.hamburger.is-open + .header__menu-header {
    display: flex;
}
.header__lang {
    font-size: 14px;
    font-weight: 600;
}
.header__lang + .header__lang {
    margin-left: 41px;
}
.header__sns {
    margin-left: 59px;
    display: block;
    width: 23px;
}
.header__sns img {
    object-fit: contain;
}
/* ハンバーガーボタン */
.header__menu{
    background: rgba(255,255,255,0.5);
    position: absolute;
    left: 0;
    top: 0;
    width: 90px;
    height: 70px;
    transition: background 0.3s ease;
}
.header__menu:has(.is-open){
    background: transparent;
}
.hamburger {
    position: absolute;
    top: 25px;
    z-index: 1000;
    height: 20px;
    width: 50px;
    left: 20px;
    cursor: pointer;
}
.hamburger span {
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--main-accent-color);
    transition: all .3s;
}
.hamburger span:nth-child(1) {
    top: 0;
}
.hamburger span:nth-child(2) {
    bottom: 0;
}
.hamburger.is-open span:nth-child(1) {
    top: 10px;
}
.hamburger.is-open span:nth-child(2) {
    bottom: -8px;
}
.hamburger.is-open span:nth-child(1) {
    transform: translateY(0) rotate(150deg);
}
.hamburger.is-open span:nth-child(2) {
    transform: translateY(-14px) rotate(-150deg);
}
/* spナビメニュー */
.sp-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    padding-top: 120px;
    background-color: rgba(255,255,255,0.85);
    opacity: 0;
    transition: all .3s;
    pointer-events: none;
    box-shadow: 5px 0px 4px rgba(0, 0, 0, 0.25);
}
.sp-nav.is-open {
    opacity: 1;
    pointer-events: auto;
}
.sp-nav-overlay {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, .2);
    opacity: 0;
    transition: all .3s;
}
/*
.sp-nav-overlay.is-open {
    visibility: visible;
    opacity: 1;
}
*/
.is-scroll-allowed {
    overflow: hidden;
}
.sp-nav__wrap {
    overflow-y: auto;
    max-height: calc(100vh - 120px);
    scrollbar-width: none;
}
.sp-nav__wrap::-webkit-scrollbar {
    display: none;
}
.sp-nav__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    border-top: 1px solid var(--main-accent-color);
    padding: 31px 40px;
}
.sp-nav__child-items{
    flex: 1;
}
.sp-nav__item:last-child {
    border-bottom: 1px solid var(--main-accent-color);
}
/*
.sp-nav__item::after {
    position: absolute;
    content:"";
    display: block;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 36px;
    background: no-repeat url(../images/common/icon-arrow-blue_02.svg);
}
*/
.sp-nav__parent-link {
    width: 185px;
}
.sp-nav__parent-link a{
    display: block;
    color: var(--gray-text-color);
    font-family: 'yu-mincho-pr6n', serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.02em;
    line-height: 1;
}
.sp-nav__child-item + .sp-nav__child-item {
    margin-top: 24px;
}
.sp-nav__child-link {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: var(--gray-text-color);
    line-height: 1;
}
.sp-nav__child-link,
.sp-nav__parent-link a{
    transition: all 0.3s ease;
    padding: 0 0 3px;
    border-bottom: 1px solid transparent;
    width: fit-content;
}
.sp-nav__parent-link a:hover,
.sp-nav__child-link:hover{
    opacity: 1;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
}
.sp-nav__footer {
    padding: 0 40px;
}
.sp-nav__btn {
    text-transform: uppercase;
    max-width: 406px;
    width: 100%;
    display: block;
    font-size: 18px;
    margin-top: 50px;
    margin-inline: auto;
    font-family: 'Marcellus';
    background-color: var(--sub-text-color);
}
.sp-nav__privacy {
    display: block;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #3B3C40;
    margin-top: 40px;
    margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
    .header {
        height: 70px;
    }
    .header__inner {
        padding: 0;
    }
    .header__logo {
        width: 82px;
    }

    .header__menu{
        height: 70px;
        width: 70px;
    }
    .hamburger {
        top: 29px;
        height: 13px;
        width: 44px;
        left: 13px;
    }
    .hamburger span {
        width: 44px;
    }
    .header__links {
        position: static;
    }
    .header__link {
        display: none;
    }
    .header__links .header__sns {
        display: block;
        position: absolute;
        right: 23px;
        top: 23px;
        width: 24px;
        height: 24px;
        margin: 0;
    }
    #wrapper {
        padding: 70px 0 0;
    }
    .container {
        width: calc(100% - 50px);
    }

    .hamburger.is-open + .header__menu-header {
        display: none;
    }
    .hamburger.is-open span:nth-child(1) {
        transform: translateY(0) rotate(135deg);
    }
    .hamburger.is-open span:nth-child(1) {
        top: 6px;
    }
    .hamburger.is-open span:nth-child(2) {
        transform: translateY(-12px) rotate(-135deg);
    }
    .sp-nav__item {
        flex-direction: column;
        row-gap: 30px;
        border-top: 1px solid #92A1C7;
        padding: 30px 40px;
    }
    .sp-nav__item:last-child {
        border-bottom: 1px solid #92A1C7;
    }
    .sp-nav__item::after {
        top: 20px;
        transform: unset;
    }
    .sp-nav__child-link {
        padding-left: 50px;
    }
}

/* フッター */
.footer {
    background-color: #E5E7F3;
    color: var(--sub-text-color);
    font-size: 12px;
}
/* フッター上部2カラム */
.footer-main {
    display: flex;
    flex-wrap:wrap;
}
.footer-box {
    width: 50%;
    padding: 42px 40px 40px 40px;
    text-align: center;
    box-sizing: border-box;
    border-top: 2px solid #0022A5;
}
.footer-contact {
    background-color: #E5E7F3;
}
.footer-store{
    background-color: #E1DEDC;
    border-top: 2px solid #392214;
    color: #3B3C40;
}
.footer-title {
    font-size: 44px;
    line-height: 1.13;
    margin-left: 32px;
    letter-spacing: 0.05em;
    color: var(--main-accent-color);
    margin-left: 32px;
}
.footer-title.footer-title--black {
    color: #392214;
}
.footer-text{
    font-family: 'yu-mincho-pr6n', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 28px;
    text-align: center;
    color: #3B3C40;
    margin-top: 35px;
    margin-left: 32px;
}
.footer-info {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    margin: 26px 0 0;
}
.footer-tel {
    text-align: center;
    margin: 48px 0 0;
    color: var(--gray-text-color);
    font-family: 'Marcellus';
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 52px;
    font-size: 44px;
    margin-left: 50px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.footer-tel .en {
    font-size: 32px;
}
.footer-tel .number {
    font-size: 44px;
}
.footer-button {
    margin: 36px 0 0;
    margin-left: 32px;
}
.footer-button .btn {
    width: 220px;
}
.footer-store .footer-title {
    margin-right: 32px;
    margin-left: 0;
}
.footer-store .footer-text {
    margin-right: 32px;
    margin-left: 0;
}
.footer-store .footer-tel {
    margin-right: 32px;
    margin-left: 0;
}
.footer-store .footer-button {
    margin: 30px 32px 0 0;
    color: #3b2314
}
/* フッター下部 */
.footer-bottom {
    padding: 84px 40px 20px;
    background: var(--sub-text-color);
    position: relative;
}
.footer-bottom-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    align-items: flex-end;
}
.copyright {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 1;
    color: #3B3C40;
}
.footer-logo {
    font-family: "YuMincho", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #000000;
    text-align: center;
}
.footer_privacy{
    color: var(--main-text-color);
    text-decoration: underline;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    color: #3B3C40;
    text-align: right;
    text-decoration: none;
}
.site-footer__top {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 55px;
    display: block;
    width: 64px;
    height: 25px;
    color: var(--color-primary);
    z-index: 100;
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.site-footer__top.is-visible {
    opacity: 1 !important;
    pointer-events: auto;
}

@media screen and (max-width: 767px){
    .footer-box{
        width: 100%;
        padding: 22px 30px 40px;
    }
    .footer-title {
        font-size: 30px;
        margin-left: 0;
    }
    .footer-text {
        font-size: 14px;
        line-height: 28px;
        letter-spacing: -0.02em;
        text-align: left;
        margin-left: 0;
    }
    .footer-info {
        text-align: left;
    }
    .footer-tel {
        margin: 30px 0 0;
        line-height: 1;
        margin-left: 0;
    }
    .footer-tel .en {
        font-size: 18px;
    }
    .footer-tel .number {
        font-size: 28px;
    }
    .footer-button {
        margin: 24px 0 0;
    }
    .footer-button .btn {
        max-width: 220px;
    }
    .footer-store .footer-title {
        margin-right: 0;
    }
    .footer-store .footer-text {
        margin-right: 0;
    }
    .footer-store .footer-info {
        margin-top: 30px;
    }
    .footer-store .footer-tel {
        margin-right: 0;

    }
    .footer-store .footer-button {
        margin: 30px 0 0;
        color: #3b2314
    }
    .footer-bottom {
        padding: 64px 26px 16px;
    }
    .footer-bottom-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
    }
    .footer_privacy {
        display: none;
        font-size: 10px;
        order: 2;
    }
    .footer-logo {
        font-size: 14px;
        order: 1;
    }
    .copyright {
        font-size: 8px;
        order: 3;
    }
    .site-footer__top {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
        display: block;
        width: 64px;
        height: 25px;
        color: var(--color-primary);
        opacity: 0 !important;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .wpcf7-not-valid-tip {
        margin-top: 10px;
    }
}

/* =========================================================
   共通クラス：ページタイトル
   ========================================================= */
.page-title {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 78px;
  line-height: 1;
  letter-spacing: .05em;
  color: var(--color-base);
}
@media screen and (max-width: 767px){
    .page-title {
        font-size: 44px;
    }
}

/* =========================================================
   共通クラス：セクションタイトル（英字 + 和文サブ）
   ========================================================= */
.section-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 400;
}
.section-title__en {
  font-family: var(--font-en);
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: .05em;
  white-space: nowrap;
  color: var(--color-base);
}
.section-title__ja {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.02em;
  color: var(--color-text);
}

/* =========================================================
   共通クラス：ボタン（margin / width を持たせない）
   ========================================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 25px;
  font-family: var(--font-gothic);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--color-primary);
  background-color: #fff;
  box-shadow: inset 0 0 0 1px var(--color-primary);
  cursor: pointer;
}
