/* CRERIA / ヘッダー・SPメニュー */
.cr-header{position:relative;z-index:100;width:100%}
.cr-header__inner{display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:110px;padding:20px 5.2%}
.cr-header__logo{display:block;flex:0 1 clamp(220px,15.625vw,300px);width:clamp(220px,15.625vw,300px);min-width:0}
.cr-header__logo img{width:100%;height:auto}
.cr-header__nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(24px,3.4vw,68px);font-size:15px;line-height:1.5}
.cr-header__nav>a:not(.cr-button){padding:3px;white-space:nowrap;transition:color .25s}
.cr-header__nav .cr-button{min-width:200px;min-height:42px;padding:8px 18px 8px 26px;font-size:16px;line-height:1.5}
.cr-header__nav a>p br{display:none}
.cr-menu__sub a>p{flex:1;min-width:0}
.cr-header__mobile-contact,.cr-menu-toggle{display:none}
.cr-menu{position:fixed;inset:70px 0 0;z-index:99;overflow-y:auto;overscroll-behavior:contain;background:var(--cr-base)}
.cr-menu:not(.is-open){display:none}
.cr-menu__inner{width:62%;max-width:600px;min-height:100%;margin-inline:auto;padding:55px 0 100px}
.cr-menu__links>a{display:block;padding:3px;margin-bottom:36px;color:var(--cr-accent);font-size:24px;font-weight:500;line-height:1.6}
.cr-menu__sub{margin:-8px 0 42px}
.cr-menu__sub a{display:flex;align-items:baseline;gap:10px;padding:3px;margin:0 0 30px;color:var(--cr-text);font-size:20px;line-height:1.7}
.cr-menu__sub a::before{content:'>';flex:none;padding:0}
.cr-pepper{position:relative;display:block;min-width:0;overflow:hidden;aspect-ratio:1.94;background:#795324;color:#fff!important}
.cr-pepper>img{width:100%;height:100%;object-fit:cover}
.cr-pepper__text{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:#0003;text-align:center;font-size:20px;line-height:1.5}
.cr-pepper__text p:first-child{font-family:Arial,sans-serif;font-size:clamp(22px,2.6vw,42px);line-height:1.2}
.cr-pepper__text p:last-child::after{content:'↗';display:inline-block;margin-left:12px;border:1px solid currentColor;font-size:.7em;line-height:1.2}
@media(hover:hover){.cr-header__nav>a:not(.cr-button):hover,.cr-menu__links a:hover{color:var(--cr-accent)}.cr-pepper:hover>img{opacity:.85}}
@media(min-width:1024px) and (max-width:1320px){.cr-header__inner{gap:24px}.cr-header__logo{width:220px;flex-basis:220px}.cr-header__nav{gap:22px;font-size:13px}}
@media(min-width:1024px){.cr-menu{display:none!important}}
@media(max-width:1023px){.cr-header__inner{min-height:70px;padding:0 0 0 5.2%;gap:0;border-bottom:1px solid var(--cr-text)}.cr-header__logo{width:180px;flex-basis:180px;margin-right:auto}.cr-header__nav{display:none}.cr-header__mobile-contact{display:flex;flex:0 0 120px;align-self:stretch;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-inline:1px solid var(--cr-text);font-size:14px;line-height:1.2}.cr-header__mobile-contact::before{content:'';display:block;width:28px;height:19px;border:2px solid var(--cr-text);background:linear-gradient(32deg,transparent 45%,var(--cr-base) 46%,var(--cr-base) 55%,transparent 56%) left top/50% 100% no-repeat,linear-gradient(-32deg,transparent 45%,var(--cr-base) 46%,var(--cr-base) 55%,transparent 56%) right top/50% 100% no-repeat,var(--cr-text)}.cr-menu-toggle{position:relative;display:block;align-self:stretch;flex:0 0 70px;width:70px;min-height:70px;border:0;background:var(--cr-text);color:#fff;cursor:pointer}.cr-menu-toggle::before,.cr-menu-toggle::after,.cr-menu-toggle__line{position:absolute;left:16px;right:16px;height:2px;background:currentColor;content:'';transition:transform .25s,opacity .25s,top .25s}.cr-menu-toggle::before{top:22px}.cr-menu-toggle__line{top:34px}.cr-menu-toggle::after{top:46px}.cr-menu-toggle[aria-expanded=true]::before{top:34px;transform:rotate(40deg)}.cr-menu-toggle[aria-expanded=true]::after{top:34px;transform:rotate(-40deg)}.cr-menu-toggle[aria-expanded=true] .cr-menu-toggle__line{opacity:0}}
@media(max-width:767px){.cr-header__inner{min-height:40px}.cr-header__logo{width:105px;flex-basis:105px}.cr-header__mobile-contact{flex-basis:85px;font-size:11px;gap:2px}.cr-header__mobile-contact::before{width:20px;height:14px;border-width:1px}.cr-menu-toggle{width:40px;flex-basis:40px;min-height:40px}.cr-menu-toggle::before,.cr-menu-toggle::after,.cr-menu-toggle__line{left:6px;right:6px;height:1.5px}.cr-menu-toggle::before{top:10px}.cr-menu-toggle__line{top:19px}.cr-menu-toggle::after{top:28px}.cr-menu-toggle[aria-expanded=true]::before,.cr-menu-toggle[aria-expanded=true]::after{top:19px}.cr-menu{top:40px}.cr-menu__inner{width:62%;padding:56px 0 100px}.cr-menu__links>a{margin-bottom:40px;font-size:18px;line-height:1.5}.cr-menu__sub{margin:-8px 0 42px}.cr-menu__sub a{font-size:14px;margin-bottom:28px;gap:8px}.cr-menu .cr-pepper{margin-top:64px}.cr-menu .cr-pepper__text{font-size:13px}.cr-menu .cr-pepper__text p:first-child{font-size:clamp(19px,5.6vw,25px)}}
body.gjs-dashed .cr-menu{display:none!important}

/* CRERIA / スクロール時の表示。高さを確保して本文の跳ねを防ぐ */
.cr-header.cr-scroll-ready{height:var(--cr-header-height,110px)}
.cr-header.cr-scroll-ready>.cr-header__inner{position:fixed;inset:0 0 auto;z-index:101;background:var(--cr-base);transform:translateY(0);visibility:visible;transition:transform .35s cubic-bezier(.22,.61,.36,1),visibility 0s}
.cr-header.cr-scroll-ready.is-scroll-hidden:not(:has(.cr-menu.is-open)):not(:has(.cr-menu-toggle[aria-expanded="true"])):not(:has(:focus-visible))>.cr-header__inner{transform:translateY(-100%);visibility:hidden;pointer-events:none;transition:transform .35s cubic-bezier(.22,.61,.36,1),visibility 0s .35s}
.cr-header.cr-scroll-ready .cr-menu{top:var(--cr-header-height,70px)}
body.gjs-dashed .cr-header.cr-scroll-ready{height:auto}
body.gjs-dashed .cr-header.cr-scroll-ready>.cr-header__inner{position:relative;inset:auto;transform:none;visibility:visible;pointer-events:auto}


/* 管理画面のSPプレビューではメニューを開いた状態で表示 */
@media (max-width: 1023px) {
  body.gjs-dashed #cr-mobile-menu {
    display: block !important;
  }
}
