@charset "UTF-8";
/* ==========================================================
   BAR 余白 — bar-yohaku.com
   navy × gold / Shippori Mincho × Cormorant Garamond
   ========================================================== */

:root {
  /* 配色はBar Hotel箱根香山と同一（#002538 / #ab6333 / #c18259 / #e6e7e8 / #b4aca4） */
  --navy-950: #001b29;
  --navy-900: #002538;
  --navy-800: #06304a;
  --navy-700: #0d3d55;
  --gold: #ab6333;
  --gold-soft: #c18259;
  --ivory: #e6e7e8;
  --ivory-dim: #b4aca4;
  --line: rgba(193, 130, 89, .38);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth; scroll-padding-top: 80px;
  /* バウンス（オーバースクロール）時の背景色。既定は上端用のネイビー。
     下半分までスクロールしたらJSがフッター色(#b4aca4)に切り替える */
  background-color: #002538;
}

body {
  font-family: "Shippori Mincho", "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  background: var(--navy-900);
  color: var(--ivory);
  line-height: 2;
  letter-spacing: .06em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.en { font-family: "Cormorant Garamond", serif; letter-spacing: .16em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

::selection { background: rgba(180, 172, 164, .4); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center;
  gap: clamp(14px, 2vw, 26px);
  padding: 22px clamp(20px, 4vw, 44px);
  transition: padding .5s var(--ease);
}
.header__logo { margin-right: auto; }
/* ヘッダーは常に背景透過・境界線なし（スクロール時は少しだけ低く） */
.header.is-scrolled {
  padding-top: 14px; padding-bottom: 14px;
}
.header__logo img { width: clamp(132px, 14vw, 170px); height: auto; }
.header__nav ul { display: flex; gap: clamp(20px, 3vw, 40px); }
.header__nav a {
  font-family: "Marcellus", "Cormorant Garamond", serif;
  font-size: 14px; letter-spacing: .22em;
  position: relative; padding: 6px 2px;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__logo-img--dark { display: none; }
/* ライト背景（ACCESS以降）に重なったら紺に切り替え */
.header.is-on-light .header__logo-img--light { display: none; }
.header.is-on-light .header__logo-img--dark { display: block; }
.header.is-on-light .header__nav a,
.header.is-on-light .header__insta { color: var(--navy-900); }
.header.is-on-light .header__menu-btn span { background: var(--navy-900); }

/* ドロワー展開中：背景が濃紺になるため、ライト背景上でも白系に固定 */
.header.is-drawer-open .header__logo-img--dark { display: none; }
.header.is-drawer-open .header__logo-img--light { display: block; }
.header.is-drawer-open .header__insta { color: var(--ivory-dim); }
.header.is-drawer-open .header__menu-btn span { background: var(--ivory); }

/* Instagram icon */
.header__insta {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  color: var(--ivory-dim);
  transition: color .4s;
}
.header__insta:hover { color: var(--gold-soft); }
.header__insta svg { width: 19px; height: 19px; }

/* hamburger */
.header__menu-btn {
  display: none;
  width: 46px; height: 46px;
  background: none; border: none; cursor: pointer;
  position: relative; z-index: 120;
}
.header__menu-btn span {
  position: absolute; left: 10px; width: 26px; height: 1px;
  background: var(--ivory); transition: transform .4s var(--ease), top .4s var(--ease), opacity .3s;
}
.header__menu-btn span:nth-child(1) { top: 19px; }
.header__menu-btn span:nth-child(2) { top: 27px; }
.header__menu-btn.is-open span:nth-child(1) { top: 23px; transform: rotate(25deg); }
.header__menu-btn.is-open span:nth-child(2) { top: 23px; transform: rotate(-25deg); }

/* ---------- Drawer (mobile) ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 90; /* ヘッダー(100)より下：×ボタンを見せる */
  background: rgba(0, 27, 41, .96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer ul { display: grid; gap: 28px; text-align: center; }
.drawer a { display: inline-grid; gap: 2px; }
.drawer .en { font-family: "Marcellus", "Cormorant Garamond", serif; font-size: 20px; color: #c18259; /* セクション見出しと同色 */ }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 37, 56, .55) 0%, rgba(0, 37, 56, .78) 55%, var(--navy-900) 100%);
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  filter: blur(18px) saturate(.82) brightness(.92);
  transform: scale(1.1);
  animation: heroReveal 3.6s .2s var(--ease) forwards;
}
@keyframes heroReveal {
  to { opacity: 1; filter: blur(0) saturate(.82) brightness(.92); transform: scale(1); }
}

.hero__inner { position: relative; text-align: center; padding: 0 24px; }
.hero__copy {
  font-size: clamp(22px, 3.2vw, 34px);
  letter-spacing: .42em; text-indent: .42em;
  color: var(--ivory);
  opacity: 0; animation: fadeBlur 2.8s 1.4s var(--ease) forwards;
}
.hero__scroll {
  position: absolute; bottom: 0; right: clamp(24px, 4vw, 48px);
  font-size: 11px; letter-spacing: .3em; color: var(--ivory-dim);
  writing-mode: vertical-rl;
  display: inline-flex; align-items: center; gap: 14px;
  padding-bottom: 96px;
  opacity: 0; animation: fadeUp 1.6s 3s var(--ease) forwards;
}
.hero__scroll i {
  position: absolute; bottom: 0; right: 50%;
  width: 1px; height: 80px; overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; top: -100%; left: 0;
  width: 1px; height: 100%; background: var(--gold);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 45% { top: 0; } 100% { top: 100%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeBlur {
  from { opacity: 0; filter: blur(10px); transform: translateY(14px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

/* ---------- Sections (common) ---------- */
.section { padding: clamp(96px, 14vw, 160px) clamp(24px, 6vw, 48px); }
.section__head { text-align: center; margin-bottom: clamp(48px, 7vw, 80px); }
.section__en {
  font-family: "Marcellus", "Cormorant Garamond", serif;
  font-size: 38px; font-weight: 400;
  line-height: 1;
  letter-spacing: .2em; text-indent: .2em;
  color: #c18259;
}
.section__en::after {
  content: ""; display: block; width: 44px; height: 1px;
  background: var(--gold); margin: 24px auto 0;
}

/* reveal animation */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Concept ---------- */
.concept { text-align: center; }
/* PC・タブレットは縦書き、スマホは横書き */
.concept__text {
  writing-mode: vertical-rl;
  height: clamp(420px, 58vh, 520px);
  width: fit-content;
  margin: 0 auto;
  text-align: initial;
}
.concept__lead {
  font-size: clamp(17px, 2.2vw, 21px); letter-spacing: .2em;
  line-height: 3;
  color: var(--gold-soft); /* タイトルと同色のゴールド */
}
.concept__body {
  font-size: clamp(13.5px, 1.5vw, 15px); color: var(--gold-soft);
  line-height: 3.1;
  margin-right: clamp(40px, 6vw, 80px); /* 縦書き時：リードとの間隔 */
}
.concept__lead p + p,
.concept__body p + p { margin-top: 0; }
.concept__body p span { display: block; } /* 縦書き時は1フレーズ=1列 */

/* ---------- Seat（写真と文章を棒線で繋ぐ交互レイアウト） ---------- */
.seat__item {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 72px); align-items: center;
  max-width: 1140px; margin: 0 auto;
}
.seat__item + .seat__item { margin-top: clamp(72px, 10vw, 128px); }
.seat__item--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } /* 写真が常に7fr幅になるよう反転 */
.seat__item--rev .seat__img { order: 2; }
.seat__item--rev .seat__text { order: 1; }
.seat__img { overflow: hidden; }
.seat__img img {
  width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover; object-position: center;
  filter: saturate(.9) brightness(.96);
  transition: transform 1.6s var(--ease);
}
.seat__item:hover .seat__img img { transform: scale(1.03); }
.seat__text { position: relative; text-align: left; }
/* 棒線：テキスト側から写真の上まで伸ばす */
.seat__text::before {
  content: ""; position: absolute; top: 17px;
  right: 100%; margin-right: calc(clamp(36px, 5vw, 72px) * -0.4);
  width: clamp(90px, 13vw, 180px); height: 1px;
  background: var(--gold); z-index: 1;
}
.seat__item--rev .seat__text::before {
  right: auto; left: 100%;
  margin-right: 0; margin-left: calc(clamp(36px, 5vw, 72px) * -0.4);
}
.seat__title {
  font-size: clamp(20px, 2.2vw, 26px); font-weight: 400;
  letter-spacing: .18em; color: var(--gold-soft);
  padding-left: clamp(70px, 9vw, 130px); /* 棒線ぶんの逃げ */
  line-height: 1.3;
}
.seat__item--rev .seat__title { padding-left: 0; }
.seat__desc {
  margin-top: 22px;
  font-size: 13.5px; line-height: 2.3;
}

/* ---------- Cocktails ---------- */
.cocktail {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 80px); align-items: center;
  max-width: 980px; margin: 0 auto;
  width: 100%;
}

.cocktail__img { position: relative; }
.cocktail__img img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  filter: saturate(1.18) brightness(1.03); /* 食品写真なので美味しく見える彩度に */
}

.cocktail__name {
  margin-top: 0;
  font-size: clamp(24px, 3vw, 32px); font-weight: 500; letter-spacing: .14em;
  line-height: 1.5;
  font-variant-numeric: lining-nums; /* Cormorantのオールドスタイル数字を通常の数字に */
}
.cocktail__name.en { font-weight: 500; letter-spacing: .1em; }
.cocktail__desc {
  margin-top: 24px; font-size: 13.5px; line-height: 2.3; color: var(--ivory);
  text-align: justify;
}
.cocktail__more { display: none; }

/* カクテルカルーセル */
.cocktail-carousel {
  position: relative;
  max-width: 1140px; margin: 0 auto;
  padding: 0 clamp(40px, 6vw, 72px);
}
.cocktail-carousel__viewport { overflow: hidden; }
.cocktail-carousel__track {
  display: flex;
  transition: transform .7s var(--ease);
}
.cocktail-carousel__slide {
  flex: 0 0 100%; min-width: 0;
  display: flex; align-items: flex-start; /* 写真の位置を全スライドで固定 */
  padding: 0 2px;
}
.cocktail-carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  color: var(--ivory-dim);
  transition: color .4s;
}
.cocktail-carousel__btn:hover { color: var(--gold-soft); }
.cocktail-carousel__btn--prev { left: 0; }
.cocktail-carousel__btn--next { right: 0; }
.cocktail-carousel__btn span {
  display: block; width: 13px; height: 13px; margin: 0 auto;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
}
.cocktail-carousel__btn--prev span { transform: rotate(-135deg); }
.cocktail-carousel__btn--next span { transform: rotate(45deg); }
.cocktail-carousel__dots {
  display: flex; gap: 14px; justify-content: center;
  margin-top: clamp(36px, 5vw, 48px);
}
.cocktail-carousel__dots button {
  width: 7px; height: 7px; padding: 0;
  border: none; border-radius: 50%; cursor: pointer;
  background: rgba(180, 172, 164, .35);
  transition: background .4s, transform .4s;
}
.cocktail-carousel__dots button.is-active { background: var(--gold-soft); transform: scale(1.3); }

/* ---------- Event（ウォームグレー背景：フッターと同色） ---------- */
.event { text-align: center; background: #b4aca4; color: var(--navy-900); }
.event .section__en { color: #fff; }
.event__lead {
  font-size: clamp(13.5px, 1.5vw, 15px); line-height: 2.4;
}
.event__terms {
  max-width: 520px; margin: clamp(44px, 6vw, 64px) auto 0;
  text-align: left;
}
.event__terms div {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px;
  padding: 16px 4px; border-bottom: 1px solid rgba(0, 37, 56, .25);
}
.event__terms div:first-child { border-top: 1px solid rgba(0, 37, 56, .25); }
.event__terms dt {
  font-size: 12px; color: var(--gold); letter-spacing: .24em; padding-top: 3px;
}
.event__terms dd { font-size: 13.5px; line-height: 2; }
.event__terms .note { font-size: 12px; color: rgba(0, 37, 56, .65); }
.event__terms a {
  border-bottom: 1px solid rgba(0, 37, 56, .45);
  padding-bottom: 1px;
  transition: color .4s;
}
.event__terms a:hover { color: var(--gold); }

/* ---------- Access（ライト背景） ---------- */
.access { background: #e6e7e8; color: var(--navy-900); }
.access__inner {
  max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 72px); align-items: start;
}
.access__table div {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px;
  padding: 22px 4px; border-bottom: 1px solid rgba(193, 130, 89, .22);
}
.access__table div:first-child { border-top: 1px solid rgba(193, 130, 89, .22); }
.access__table dt {
  font-size: 13px; color: var(--gold); letter-spacing: .24em; padding-top: 3px;
}
.access__table dd { font-size: 14px; line-height: 2.1; }
.access__table .note { font-size: 12px; color: #7d776f; }
.access__table a { border-bottom: 1px solid var(--line); padding-bottom: 1px; }

.access__map { position: relative; aspect-ratio: 4 / 3; }
.access__map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(.2) contrast(.96);
}
.access__map::after {
  content: ""; position: absolute; inset: 12px -12px -12px 12px;
  border: 1px solid var(--line); z-index: -1;
}
.access__sns-note {
  text-align: center; margin-top: clamp(48px, 7vw, 72px);
  font-size: 13px; color: #5f5952;
}
.access__sns-note a { color: var(--gold); border-bottom: 1px solid var(--line); padding-bottom: 1px; }

/* ---------- Footer（ウォームグレー背景） ---------- */
.footer {
  padding: clamp(64px, 9vw, 96px) 24px 40px;
  text-align: center;
  background: #b4aca4; color: var(--navy-900);
}
.footer__logo { width: clamp(180px, 20vw, 240px); margin: 0 auto; }
.footer__tel { margin-top: 32px; font-size: 13px; letter-spacing: .12em; }
.footer__tel a { border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .4s; }
.footer__tel a:hover { border-color: var(--gold); }
.footer__copy { margin-top: 44px; font-size: 11px; color: rgba(0, 37, 56, .75); letter-spacing: .14em; }
.footer__copy .ja { font-family: inherit; font-size: 10px; }

/* ---------- Responsive ---------- */
.br-sp { display: none; }

@media (max-width: 860px) {
  .seat__item { grid-template-columns: 1fr; gap: 28px; max-width: 560px; }
  .seat__item--rev .seat__img { order: 0; }
  .seat__item--rev .seat__text { order: 0; }
  .seat__text::before,
  .seat__item--rev .seat__text::before { display: none; } /* スマホでは棒線を出さない */
  .seat__title, .seat__item--rev .seat__title { padding-left: 0; }

  .cocktail { grid-template-columns: 1fr; gap: 24px; max-width: 560px; }
  .cocktail-carousel { padding: 0 30px; }
  .cocktail-carousel__btn { width: 36px; }
  /* 矢印は写真（4:5）の縦中央に配置 */
  .cocktail-carousel__btn {
    top: calc(min(100vw - 60px, 560px) * 0.625);
    transform: translateY(-50%);
    color: var(--ivory);
  }

  /* 写真とカクテル名のみ表示し、説明文はVIEW MOREで開閉 */
  .cocktail__desc { display: none; }
  .cocktail.is-open .cocktail__desc { display: block; }
  .cocktail__text { text-align: center; }
  .cocktail.is-open .cocktail__text { text-align: left; }
  .cocktail.is-open .cocktail__name { text-align: center; }
  .cocktail__name { margin-top: 0; }
  .cocktail__more {
    display: inline-block;
    margin-top: 14px;
    background: none; border: none; cursor: pointer;
    font-size: 11px; letter-spacing: .28em;
    color: var(--ivory-dim);
    border-bottom: 1px solid var(--line);
    padding: 0 2px 4px;
  }
  .cocktail.is-open .cocktail__more { color: var(--gold-soft); }
  .cocktail.is-open .cocktail__text { display: flex; flex-direction: column; }
  .cocktail.is-open .cocktail__more { align-self: center; order: 10; }
  .access__inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .header__nav { display: none; }
  .header__menu-btn { display: block; }
  .header__insta { width: 34px; height: 34px; }
  .hero__scroll { right: 18px; }
  .br-sp { display: inline; }
  .access__table div { grid-template-columns: 86px 1fr; }

  /* コンセプト：スマホは横書き */
  .concept__text { writing-mode: horizontal-tb; height: auto; width: auto; text-align: center; }
  .concept__lead { font-size: 15.5px; letter-spacing: .14em; line-height: 2.6; }
  .concept__body {
    margin-right: 0; margin-top: 40px;
    text-align: left; line-height: 2.4;
  }
  .concept__body p + p { margin-top: .9em; }
  .concept__body p span { display: inline; } /* スマホは細かい改行をしない */

  .event__terms div { grid-template-columns: 86px 1fr; }
}

/* ---------- QA capture mode (?noanim) ---------- */
.no-anim .hero { min-height: 760px; }
.no-anim .hero__copy,
.no-anim .hero__scroll { animation: none; opacity: 1; transform: none; filter: none; }
.no-anim .hero__bg img {
  animation: none; opacity: 1; transform: none;
  filter: saturate(.82) brightness(.92);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__copy, .hero__scroll { animation: none; opacity: 1; transform: none; filter: none; }
  .hero__bg img { animation: none; opacity: 1; transform: none; filter: saturate(.82) brightness(.92); }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .gallery__item img { transition: none; }
}
