/* ==========================================================
   酔り満ち style.css（メイン）
   BEM／1行1プロパティ
   画面幅で切り替える指定は responsive.css にまとめています
   ========================================================== */

/* ==========================================================
   Base
   ========================================================== */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
}

a {
  color: #2a2620;
}

a:hover {
  color: #000000;
}

/* ==========================================================
   Utility
   ========================================================== */
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ==========================================================
   Page（和紙の背景）
   ========================================================== */
.page {
  min-height: 100vh;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: #2a2620;
  background-color: #ffffff;
  background-image: url(../images/bg-washi.webp);
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
}

/* ==========================================================
   Hero（メインビジュアル）
   ========================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 1485 / 768;
  padding: 72px 24px;
  overflow: hidden;
  border: 0;
  outline: 0;
  background-color: transparent;
  background-image: url(../images/hero-sky.webp);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
}

/* 両端の装飾（花・ランプ） */
.hero__deco {
  position: absolute;
  top: 0;
  width: auto;
  height: 85%;
  pointer-events: none;
}

.hero__deco--left {
  left: 0;
}

.hero__deco--right {
  right: 0;
}

/* キャッチコピー（縦書き） */
.hero__copy {
  position: absolute;
  top: 9%;
  left: 21%;
  width: auto;
  height: 34%;
  pointer-events: none;
}

/* 人物イラスト */
.hero__figure {
  position: absolute;
  right: 7%;
  bottom: 20%;
  width: 44%;
  height: auto;
  pointer-events: none;
}

/* スマホ用の花（PCでは表示しない） */
.hero__sp-flower {
  display: none;
}

/* 中央（グラス＋ロゴ） */
.hero__center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding-bottom: 22%;
  pointer-events: none;
}

.hero__glass-wrap {
  position: relative;
  width: 13%;
  max-width: 420px;
}

.hero__glass {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero__liquid {
  clip-path: url(#yrmLiqClip);
}

/* ロゴ（酔り満ち＋英字） */
.hero__logo {
  position: absolute;
  top: 113%;
  left: -25%;
  width: 150%;
}

.hero__logo-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* ==========================================================
   Whisky（国産ウイスキーをこゝろゆくまで。）
   ========================================================== */
.whisky {
  box-sizing: border-box;
  width: 100%;
  padding: 72px 24px 140px;
}

.whisky__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
  max-width: 1120px;
  margin: 0 auto;
}

.whisky__title {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.whisky__title-img {
  display: block;
  width: 480px;
  max-width: 86%;
  height: auto;
}

.whisky__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 72px;
  width: 100%;
}

.whisky__media {
  display: flex;
  flex: 1 1 380px;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.whisky__media-img {
  display: block;
  width: 85%;
  height: auto;
}

.whisky__text {
  display: flex;
  flex: 1 1 420px;
  flex-direction: column;
  align-self: flex-start;
  gap: 20px;
  min-width: 0;
  font-size: 16px;
  line-height: 2.1;
  color: #2a2620;
}

.whisky__paragraph {
  margin: 0;
}

/* ==========================================================
   Japanese Whisky（ジャパニーズウイスキーとは）
   ========================================================== */
.jw {
  box-sizing: border-box;
  width: 100%;
  padding: 40px 24px 120px;
  overflow-x: clip;
}

.jw__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px 72px;
  max-width: 1160px;
  margin: 0 auto;
}

/* 縦書きの見出しブロック */
.jw__head {
  position: relative;
  z-index: 0;
  display: flex;
  flex: 0 0 auto;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 28px;
}

.jw__deco {
  position: absolute;
  bottom: -40px;
  left: -130px;
  z-index: -1;
  width: 220px;
  height: auto;
  pointer-events: none;
}

.jw__title {
  margin: 0;
  line-height: 0;
}

.jw__title-img {
  display: block;
  width: 30px;
  max-width: none;
  height: auto;
}

/* 横書きの見出し（スマホ用・PCでは表示しない） */
.jw__title-img--h {
  display: none;
}

.jw__lead {
  height: 360px;
  margin: 0;
  padding-top: 64px;
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
}

/* 工程の流れ */
.jw__body {
  display: flex;
  flex: 999 1 560px;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}

.jw__label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: #8a6224;
}

.jw__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jw-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(50% + 52px);
  width: calc(100% + 16px - 104px);
  border-top: 1px dashed rgba(4, 24, 65, 0.3);
  transition:
    opacity 1.6s cubic-bezier(.22, .61, .36, 1),
    transform 1.6s cubic-bezier(.22, .61, .36, 1),
    filter 1.6s cubic-bezier(.22, .61, .36, 1);
}

/* 工程が折り返す幅では破線を非表示 */

/* 破線もスクロールでふわっと（工程より少し先に） */
.is-waiting .jw-step:not(:last-child)::after {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(6px);
}

.is-visible .jw-step:not(:last-child)::after {
  opacity: 1;
  transform: none;
  filter: none;
  transition-delay: .3s;
}

.jw-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.jw-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
}

.jw-step__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jw-step__num {
  font-family: 'Shippori Mincho', serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #b8893a;
}

.jw-step__name {
  margin: 0;
  font-family: 'Shippori Mincho', serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #041841;
}

.jw-step__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
}

/* スクロール表示の順番（見出し → 工程を左から順に → 注記） */
.is-visible .jw__body .jw__label {
  transition-delay: .2s;
}

.is-visible .jw-step:nth-child(1) {
  transition-delay: .35s;
}

.is-visible .jw-step:nth-child(2) {
  transition-delay: .5s;
}

.is-visible .jw-step:nth-child(3) {
  transition-delay: .65s;
}

.is-visible .jw-step:nth-child(4) {
  transition-delay: .8s;
}

.is-visible .jw-step:nth-child(5) {
  transition-delay: .95s;
}

.is-visible .jw__note {
  transition-delay: 1.15s;
}

.jw__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: #6f665a;
}

/* ==========================================================
   Lineup（取り扱い銘柄）
   ========================================================== */
.lineup {
  position: relative;
  z-index: 0;
  box-sizing: border-box;
  width: 100%;
  padding: 40px 24px 160px;
  overflow-x: clip;
  color: #2a2620;
}

/* 右下に敷く樽のイラスト */
.lineup__bg {
  position: absolute;
  right: -40px;
  bottom: -10px;
  z-index: -1;
  width: 640px;
  max-width: 60%;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
}

.lineup__inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 1160px;
  margin: 0 auto;
}

.lineup__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.lineup__label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: #8a6224;
}

.lineup__title {
  margin: 0;
  line-height: 0;
}

.lineup__title-img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
}

.lineup__lead {
  margin: 0;
  font-size: 13px;
  line-height: 2;
  color: #6f665a;
}

.lineup__groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px 32px;
}

.lineup__region {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #b8893a;
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #041841;
}

.lineup__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lineup__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lineup__name {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.lineup__meta {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #6f665a;
}

.is-visible .lineup__group:nth-child(2) {
  transition-delay: .15s;
}

.is-visible .lineup__group:nth-child(3) {
  transition-delay: .3s;
}

.is-visible .lineup__group:nth-child(4) {
  transition-delay: .45s;
}

.is-visible .lineup__group:nth-child(5) {
  transition-delay: .6s;
}

/* ==========================================================
   Recommend（今日のおすすめ）
   ========================================================== */
.rec {
  box-sizing: border-box;
  width: 100%;
  padding: 40px 24px 160px;
  color: #2a2620;
}

.rec__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  max-width: 1160px;
  margin: 0 auto;
}

.rec__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.rec__label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: #8a6224;
}

.rec__title {
  margin: 0;
  line-height: 0;
}

.rec__title-img {
  display: block;
  width: 232px;
  max-width: 100%;
  height: auto;
}

.rec__lead {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.06em;
}

.rec__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rec-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(4, 24, 65, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.rec-card__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 260px;
  padding: 40px 0 12px;
  background: radial-gradient(ellipse at 50% 70%, rgba(232, 172, 72, 0.22), rgba(232, 172, 72, 0) 65%);
}

.rec-card__num {
  position: absolute;
  top: 20px;
  left: 24px;
  font-family: 'Shippori Mincho', serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #b8893a;
}

.rec-card__img {
  display: block;
  width: auto;
  max-width: 80%;
  height: 100%;
  object-fit: contain;
}

.rec-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 28px 32px;
  border-top: 1px solid rgba(4, 24, 65, 0.08);
}

.rec-card__dist {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #6f665a;
}

.rec-card__name {
  margin: -8px 0 0;
  font-family: 'Shippori Mincho', serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: #041841;
}

.rec-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rec-card__tag {
  padding: 3px 12px;
  border: 1px solid rgba(138, 98, 36, 0.45);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8a6224;
}

.rec-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 2;
}

.is-visible .rec-card:nth-child(1) {
  transition-delay: .3s;
}

.is-visible .rec-card:nth-child(2) {
  transition-delay: .5s;
}

.is-visible .rec-card:nth-child(3) {
  transition-delay: .7s;
}

/* ==========================================================
   Marquee（横に流れ続ける写真の帯）
   ========================================================== */
.marquee {
  box-sizing: border-box;
  width: 100%;
  padding: 0 0 160px 10vw;
  overflow: hidden;
  /* 左の余白には写真を出さない */
  clip-path: inset(0 0 0 10vw);
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  /* 1枠ずつ「カチッ」とはまるように、最後にキュッと止まる動き */
  transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}

.marquee__list {
  display: flex;
  gap: 3.5vw;
  margin: 0;
  padding: 0 3.5vw 0 0;
  list-style: none;
}

.marquee__item {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* 2枚＋3枚目の半分が見える幅：(100 - 左余白10 - 間隔3.5×2) ÷ 2.5 */
  width: 33.2vw;
  aspect-ratio: 3 / 2;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(4, 24, 65, 0.5);
  background: repeating-linear-gradient(135deg, #efe8da 0 14px, #f6f1e7 14px 28px);
}

.marquee__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* マウスのない端末（スマホ・タブレット）は指で横スクロール */

/* ==========================================================
   Shop（店舗情報）
   ========================================================== */
.shop {
  box-sizing: border-box;
  width: 100%;
  padding: 40px 24px 160px;
  color: #2a2620;
}

.shop__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  max-width: 1160px;
  margin: 0 auto;
}

.shop__body {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 48px 64px;
  width: 100%;
}

.shop__info {
  display: flex;
  flex: 1 1 440px;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.shop__name {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0;
  font-family: 'Shippori Mincho', serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #041841;
}

.shop__name-sub {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: #8a6224;
}

.shop__list {
  margin: 0;
}

.shop__row {
  display: grid;
  grid-template-columns: 7em minmax(0, 1fr);
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(4, 24, 65, 0.15);
}

.shop__row:last-child {
  border-bottom: 0;
}

.shop__term {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #041841;
}

.shop__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.shop__holiday {
  margin-left: 1.5em;
}

.shop__maplink {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #8a6224;
  vertical-align: -2px;
  transition: color .3s ease;
}

.shop__maplink:hover {
  color: #041841;
}

.shop__maplink-icon {
  display: block;
  width: 16px;
  height: 16px;
}

.shop__map {
  position: relative;
  display: flex;
  flex: 1 1 420px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 360px;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: rgba(4, 24, 65, 0.55);
  background: repeating-linear-gradient(135deg, #efe8da 0 14px, #f6f1e7 14px 28px);
}

.shop__photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.is-visible .shop__info {
  transition-delay: .3s;
}

.is-visible .shop__map {
  transition-delay: .5s;
}

/* ==========================================================
   SNSボタン（右下に追従）
   ========================================================== */
.sns-float {
  position: fixed;
  right: 0;
  bottom: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 56px;
  height: 64px;
  overflow: hidden;
  border-radius: 12px 0 0 12px;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(4, 24, 65, 0.18);
  opacity: 0.45;
  transition:
    opacity .5s ease,
    width .3s ease,
    padding-right .3s ease;
}

/* 背景のグラデーション画像（透かし具合を切り替えるため別レイヤー） */
.sns-float::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(../images/sns-insta-bg.webp);
  background-position: center;
  background-size: cover;
  transition: opacity .5s ease;
}

/* スクロール中：くっきり表示し、背景を少し透かす */
.sns-float.is-active {
  opacity: 1;
}

.sns-float.is-active::before {
  opacity: 0.8;
}

.sns-float:hover,
.sns-float:focus-visible {
  width: 62px;
  padding-right: 6px;
  color: #ffffff;
  opacity: 1;
}

.sns-float:hover::before,
.sns-float:focus-visible::before {
  opacity: 1;
}

.sns-float:focus-visible {
  outline: 2px solid #041841;
  outline-offset: 3px;
}

.sns-float__icon {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
}

.page.is-loading .sns-float {
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  padding: 64px 24px 0;
  overflow: hidden;
  color: #f9f8f5;
  background-color: #0b1a4a;
  background-image: url(../images/footer-bg.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.footer__logo {
  display: block;
  width: 130px;
  max-width: 34%;
  height: auto;
  opacity: 0.9;
}

.footer__body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 1160px;
}

.footer__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 右下の関連店舗ロゴ */
.footer__partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__partner {
  display: block;
  width: auto;
  height: 24px;
  opacity: 0.85;
  transition: opacity .3s ease;
}

.footer__partner:hover {
  opacity: 0.45;
}

.footer__partner-link {
  display: block;
}

.footer__partner--taisho {
  height: 36px;
}

.footer__partner--neucoffee {
  height: 20px;
}

.footer__address {
  margin: 40px 0 0;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.1em;
  color: rgba(249, 248, 245, 0.85);
  text-align: left;
}

.footer__hours {
  margin: 4px 0 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(249, 248, 245, 0.85);
  text-align: left;
}

.footer__address-en {
  margin: 4px 0 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(249, 248, 245, 0.85);
  text-align: left;
}

.footer__sns {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.footer__sns-link {
  display: block;
  color: rgba(249, 248, 245, 0.85);
  transition: opacity .3s ease;
}

.footer__sns-link:hover {
  color: rgba(249, 248, 245, 0.85);
  opacity: 0.5;
}

.footer__sns-icon {
  display: block;
  width: 22px;
  height: 22px;
}

.footer__notice {
  margin: 20px 0 0;
  font-size: 10px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: rgba(249, 248, 245, 0.6);
  text-align: left;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 1160px;
  margin-top: 48px;
  padding-bottom: 14px;
}

.footer__copy {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(249, 248, 245, 0.5);
}

/* ==========================================================
   Animation：ページ表示時にふわっと浮かぶ
   ========================================================== */
@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.a-float {
  opacity: 0;
  animation: floatIn 3s cubic-bezier(.22, .61, .36, 1) .4s forwards;
}

.a-float--late {
  animation-delay: 1.5s;
}

.a-float--last {
  animation-delay: 2.75s;
}

/* ==========================================================
   Animation：ロゴの文字が1文字ずつ降りる／英字がふわっと出る
   ========================================================== */
@keyframes charDrop {
  0% {
    opacity: 0;
    transform: translateY(-130px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes enFade {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__logo-char {
  opacity: 0;
  transform-box: fill-box;
  animation: charDrop 2s cubic-bezier(.22, .61, .36, 1) forwards;
}

.hero__logo-char--1 {
  animation-delay: 6.9s;
}

.hero__logo-char--2 {
  animation-delay: 7.35s;
}

.hero__logo-char--3 {
  animation-delay: 7.8s;
}

.hero__logo-char--4 {
  animation-delay: 8.25s;
}

.hero__logo-en {
  opacity: 0;
  transform-box: fill-box;
  animation: enFade 2.75s cubic-bezier(.22, .61, .36, 1) 9.9s forwards;
}

/* ==========================================================
   Animation：スクロールでふわっと浮かぶ（ウイスキー）
   ========================================================== */
.reveal__item {
  transition:
    opacity 1.6s cubic-bezier(.22, .61, .36, 1),
    transform 1.6s cubic-bezier(.22, .61, .36, 1),
    filter 1.6s cubic-bezier(.22, .61, .36, 1);
}

.is-waiting .reveal__item {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(6px);
}

.is-visible .reveal__item {
  opacity: 1;
  transform: none;
  filter: none;
}

.is-visible .reveal__item--delay1 {
  transition-delay: .35s;
}

.is-visible .reveal__item--delay2 {
  transition-delay: .7s;
}

/* ==========================================================
   Loader（ローディング：グラスにウイスキーを注ぐ）
   ========================================================== */
@keyframes loaderFailsafe {
  to {
    visibility: hidden;
    opacity: 0;
  }
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  background-color: #ffffff;
  background-image: url(../images/bg-washi.webp);
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
  transition:
    opacity .9s cubic-bezier(.22, .61, .36, 1),
    visibility 0s linear .9s;
  /* JSが動かなかった場合でも12秒後には必ず消える */
  animation: loaderFailsafe 0s linear 12s forwards;
}

.loader.is-done {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.loader__glass {
  display: block;
  width: 120px;
  max-width: 28vw;
  height: auto;
  overflow: visible;
}

.loader__liquid {
  clip-path: url(#yrmLoadClip);
}

/* ローディング中はメインビジュアルの演出を一時停止 */
.page.is-loading .a-float,
.page.is-loading .hero__logo-char,
.page.is-loading .hero__logo-en {
  animation-play-state: paused;
}

/* ==========================================================
   視差効果を減らす設定の人にはアニメーションなし
   ========================================================== */

/* ==========================================================
   スマホ幅（600px以下）のレイアウト
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  .a-float,
  .hero__logo-char,
  .hero__logo-en {
    opacity: 1;
    animation: none;
  }

  .reveal__item {
    transition: none;
  }

  .jw-step:not(:last-child)::after {
    transition: none;
  }

  .is-waiting .jw-step:not(:last-child)::after {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .loader {
    display: none;
  }

  .is-waiting .reveal__item {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* 今日のおすすめ：空のタグは表示しない（JSが無効なときの保険） */
.rec-card__tag:empty {
  display: none;
}
