@charset "UTF-8";
/* On Drinking 共通ヘッダー：下層ページ基準。TOP固有の演出は別途実装 */
:root { --header-h: 81px; --header-red: #961414; --header-gray: #9d9d9d; }
html { scroll-padding-top: var(--header-h); }
.header, .header__drawer, .header__overlay { box-sizing: border-box; }
.header *, .header *::before, .header *::after, .header__drawer *, .header__drawer *::before, .header__drawer *::after { box-sizing: border-box; }
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--header-h); background: #fff; border-bottom: 1px solid var(--header-red); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 100%; padding: 0; width: calc(100% - 64px); max-width: 1500px; margin: auto; }
.header__top { flex: 0 0 auto; min-width: 0; }
.header .site-logo { margin: 0; }
.header__logo { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: center; column-gap: 31px; row-gap: 10px; text-decoration: none; }
.header__logo img { display: block; max-width: 100%; width: auto; }
.header__logo-jtm { grid-column: 1; grid-row: 1; height: 11px; width: auto; }
.header__logo-wordmark { grid-column: 1; grid-row: 2; height: 26px; width: auto; align-self: center; }
.header__logo-tagline { grid-column: 2; grid-row: 2; height: 13px; width: auto; align-self: center; }
.header__nav { display: flex; align-items: center; margin-left: auto; min-width: 0; }
.header .gnav { display: flex; gap: 28px; align-items: center; list-style: none; margin: 0; padding: 0; }
.header .gnav__item a { position: relative; display: block; padding: 19px 0; font-family: Inter, sans-serif; font-size: 12px; font-weight: 500; line-height: 20px; color: #222; text-decoration: none; white-space: nowrap; }
.header .gnav__item a:hover { color: var(--header-red); }
.header .gnav__item--current a::after { content: ""; position: absolute; bottom: 12px; left: 50%; width: 16px; height: 1px; background: var(--header-red); transform: translateX(-50%); }
.header__actions { display: flex; align-items: center; gap: 24px; flex: 0 0 auto; }
.header .lang, .header__drawer .lang { display: flex; align-items: center; gap: 12px; }
.header .lang__item, .header__drawer .lang__item { font: 500 11px/1 Inter, sans-serif; color: var(--header-gray); text-decoration: none; }
.header .lang__item--active, .header__drawer .lang__item--active { color: var(--header-red); }
.header .lang__divider, .header__drawer .lang__divider { width: 1px; height: 12px; background: #dadada; }
.header__search-wrap {
    position: relative;
    z-index: 2;
    flex: 0 0 18px;
    width: 18px;
    height: 22px;
}
.header__search-form {
    position: absolute;
    top: 50%;
    right: -7px;
    width: 0;
    height: 40px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 3px;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%);
    transition: width .3s ease, opacity .2s ease, border-color .2s ease, visibility .3s;
}
.header__search-wrap.is-open .header__search-form {
    width: 290px;
    border-color: #ddd;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.header__search-input {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0 40px 0 14px;
    border: 0;
    outline-offset: -3px;
    background: transparent;
    color: #222;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 12px;
}
.header__search {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 22px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.header__search span { position: absolute; top: 3px; left: 2px; width: 12px; height: 12px; border: 1.2px solid var(--header-gray); border-radius: 50%; }
.header__search span::after { content: ""; position: absolute; width: 6px; height: 1.2px; background: var(--header-gray); right: -4px; bottom: -2px; transform: rotate(48deg); }
.header__menu-toggle { display: none; position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.header__menu-toggle span { position: absolute; left: 2px; width: 20px; height: 1px; background: #9d9d9d; }
.header__menu-toggle span:first-child { top: 8px; }
.header__menu-toggle span:last-child { top: 15px; }
.header__overlay { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.5); }
.header__overlay[hidden] { display: none; }
.header__drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(375px, calc(100% - 94px)); min-width: min(280px, 100%); background: #fff; transform: translateX(105%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
.header__drawer.is-open { transform: translateX(0); visibility: visible; }
.header__drawer-top { display: flex; justify-content: flex-end; align-items: center; gap: 26px; height: 60px; padding: 0 20px; }
.header__drawer-close { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.header__drawer-close span { position: absolute; left: 2px; top: 11px; width: 21px; height: 1.5px; background: var(--header-red); }
.header__drawer-close span:first-child { transform: rotate(45deg); }
.header__drawer-close span:last-child { transform: rotate(-45deg); }
.header__drawer-scroll { height: calc(100% - 60px); overflow-y: auto; overscroll-behavior: contain; padding: 0 20px 30px; }
.header__drawer-search { display: flex; align-items: center; height: 44px; background: #f3f3f3; margin-bottom: 16px; }
.header__drawer-search button { position: relative; flex: 0 0 36px; height: 100%; border: 0; background: none; cursor: pointer; }
.header__drawer-search button::before { content: ""; position: absolute; left: 12px; top: 14px; width: 11px; height: 11px; border: 1px solid #999; border-radius: 50%; }
.header__drawer-search button::after { content: ""; position: absolute; left: 22px; top: 25px; width: 6px; height: 1px; background: #999; transform: rotate(45deg); }
.header__drawer-search input { width: 100%; min-width: 0; height: 100%; border: 0; outline-offset: -2px; background: transparent; font-size: 12px; }

.header__drawer-list { margin: 0; padding: 0; list-style: none; }
.header__drawer-item { border-bottom: 1px solid #ccc; }
.header__drawer-item a { font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 500; display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 15px; font-size: 14px; color: #222; text-decoration: none; }
.header__drawer-item a:hover, .header__drawer-item.is-current a { color: var(--header-red); }
.header__drawer-item a.header__external::after {
	content: "";
	display: inline-block;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-left: 8px;
	background-color: #9d9d9d;
	-webkit-mask: url("/assets/images/icon_newwin.svg") no-repeat center / contain;
	mask: url("/assets/images/icon_newwin.svg") no-repeat center / contain;
}
.header__drawer-social { display: flex; flex-direction: column; gap: 22px; padding: 30px 15px; }
.header__drawer-social a { font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 500; font-size: 14px; color: #222; text-decoration: none; }
body:not(.page-top) { padding-top: var(--header-h); }
@media (max-width: 1024px) {
  :root { --header-h: 60px; }
  .header__logo { grid-template-columns: auto; grid-template-rows: 12px 31px; row-gap: 0; column-gap: 0; }
  .header__logo-jtm { height: 9px; }
  .header__logo-wordmark { height: 27px; }
  .header__logo-tagline { display: none !important; }
  .header__inner { gap: 12px; width: 100%; padding: 0 20px; }
  .header__nav, .header__search-wrap { display: none; }
  .header__actions { margin-left: auto; gap: 24px; }
  .header__menu-toggle { display: block; }
}
@media (max-width: 767px) {
  .header__inner { padding: 0 20px; }
  .header__logo { grid-template-columns: auto; }
  .header__logo-jtm { height: 9px; }
  .header__logo-wordmark { height: 25px; }
  .header__actions { gap: 24px; }
}
@media (max-width: 374px) {
  .header__inner { padding: 0 20px; }
  .header__logo-wordmark { height: 24px; }
  .header__actions { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { .header__drawer { transition: none; } }


@media (prefers-reduced-motion: reduce) {
    .header__search-form {
        transition: none;
    }
}
