@charset "UTF-8";

/* LP内のリセット。サイト共通ヘッダー・フッター・パンくずには適用しない */
.contents-bg,
.contents-bg * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.contents-bg img {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
}

.contents-bg ul,
.contents-bg ol {
  list-style: none;
}

/* 背景エリア：単色 */
.contents-bg {
  background-color: #fff080;
  font-family: Meiryo, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
  line-height: 1;
  text-align: center;
  -webkit-text-size-adjust: 100%;
  position: relative;
}

/* メインコンテンツ */
#contents {
  position: relative;
  z-index: 1;
  max-width: 1056px;
  margin: 0 auto;
  font-size: 0;
}

.content_body.main_v {
  position: relative;
  overflow: visible;
  max-width: 1056px;
  width: 100%;
  margin: 0 auto;
}

.content_body img {
  vertical-align: bottom;
}

/* =========================
  固定バナー
========================= */
.coupon-fix-banner {
  position: fixed;
  top: calc(-1 * (env(safe-area-inset-top, 0px) + 200px));
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1056px;
  z-index: 899; /* 共通ヘッダーとメニューの背面 */
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, top 0.4s ease;
}

.coupon-fix-banner.is-visible {
  top: var(--jobtune-banner-top, env(safe-area-inset-top, 0px));
  opacity: 1;
  pointer-events: auto;
}

.coupon-fix-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.coupon-fix-banner .banner-pc {
  display: block;
}

.coupon-fix-banner .banner-sp {
  display: none;
}

@media (max-width: 767px) {
  .coupon-fix-banner .banner-pc {
    display: none;
  }

  .coupon-fix-banner .banner-sp {
    display: block;
  }
}

/* =========================
  メニューセクション
========================= */
.coupon-menu-section {
  position: relative;
  background-image: url('../images/202611_jobtune_pc_01.webp');
  background-size: 100% auto;
  background-position: left top;
  background-repeat: repeat-y;
}

/* =========================
  メニューグリッド
========================= */
.coupon-menu-grid {
  width: 100%;
  padding: 5% 7.57%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* タイトル・横長画像（1pc / 6pc 等）は2列ぶち抜き */
.coupon-menu-title,
.coupon-menu-wide {
  grid-column: 1 / -1;
}

.coupon-menu-item {
  min-width: 0;
}

/* =========================
  メニューアイテム
========================= */
.coupon-menu-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease var(--reveal-delay, 0ms),
    transform 0.55s ease var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.coupon-menu-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
  カテゴリタイトル（各カテゴリ頭）
  余白は「上 > 下」
  上側 = gap(40px) + margin-top(40px) = 80px
  下側 = gap(40px) + margin-bottom(-16px) = 24px
  ※最初のタイトルは上に section の padding があるため margin-top を 0 に
========================= */
.coupon-menu-title {
  margin-top: 40px;
  margin-bottom: -16px;
  /* ボタンから飛んだ時に固定バナーに隠れない位置
     バナー高さ（PC画像 1056×175 ≒ 幅の16.6%）＋余白（リビールの浮き20px分を含む）。幅はmax1056pxで頭打ち */
  scroll-margin-top: calc(min(100vw, 1056px) * 0.166 + 44px + var(--jobtune-banner-top, 0px));
}

.coupon-menu-title:first-child {
  margin-top: 0;
}

.coupon-menu-title img {
  width: 100%;
}

/* =========================
  湯気アニメ 共通
========================= */

/* .menu-steam-wrap：メニュー画像の相対コンテナ（overflow:hidden で湯気をメニュー画像内に収める） */
.menu-steam-wrap {
  position: relative;
  display: block;
  overflow: hidden;
}

.menu-steam-wrap>img,
.menu-steam-wrap>picture {
  display: block;
  width: 100%;
}

/* .menu-steam-group：湯気コンテナ（各メニューごとに位置を個別調整） */
.menu-steam-group {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  /* デフォルト値（各 steam-menu-N で上書き） */
  bottom: 35%;
  left: 5%;
  width: 90%;
  height: 40%;
}

.menu-steam-group .steam_box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* 湯気1枚のサイズ・起点 */
.menu-steam-group .steam_img {
  position: absolute;
  opacity: 0;
  will-change: transform, opacity;
  mix-blend-mode: screen;
  width: 45%;
  bottom: 0;
  top: auto;
}

/* 湯気3枚の横位置をずらす */
.menu-steam-group .steam_img:nth-child(1) {
  left: 5%;
}

.menu-steam-group .steam_img:nth-child(2) {
  left: 30%;
}

.menu-steam-group .steam_img:nth-child(3) {
  left: 55%;
}

/* =========================
  【湯気グループ 位置・サイズ 個別調整】
  steam-menu-{gt|bm|ym}-N が各メニュー画像に対応（画像を見て概算で入れた初期値）。

  プロパティの意味：
    bottom  : 画像下端から何%上が湯気の起点か（大きいほど画像上寄り）
    left    : グループ左端の横位置（画像幅の%）
    width   : グループの横幅（広くすると湯気が横に広がる）
    height  : 湯気が流れる縦の高さ

  横長画像（gt-1 / gt-6 / bm-1 / ym-1）はPCとSPで絵が違うため、
  SP用の値は下の @media 内で上書き。
========================= */
/* ガスト */
.steam-menu-gt-1 { left: 38%; bottom: 40%; width: 55%; height: 50%; } /* ハンバーグ（横長） */
.steam-menu-gt-2 { left: 15%; bottom: 55%; width: 60%; height: 50%; } /* トマトスープパスタ */
.steam-menu-gt-4 { left: 25%; bottom: 45%; width: 55%; height: 50%; } /* とんてき丼 */
.steam-menu-gt-5 { left: 10%; bottom: 57%; width: 50%; height: 40%; } /* 若鶏グリル */
.steam-menu-gt-6 { left: 20%; bottom: 60%; width: 48%; height: 50%; } /* ステーキ（横長） */

/* バーミヤン */
.steam-menu-bm-1 { left: 15%; bottom: 45%; width: 65%; height: 50%; } /* 麻辣湯（横長） */
.steam-menu-bm-2 { left: 8%;  bottom: 50%; width: 65%; height: 50%; } /* バミ郎そば */
.steam-menu-bm-4 { left: 20%; bottom: 55%; width: 60%; height: 50%; } /* 豚天 */
.steam-menu-bm-5 { left: 10%; bottom: 45%; width: 80%; height: 60%; } /* 麻婆豆腐 */

/* 夢庵 */
.steam-menu-ym-1 { left: 28%; bottom: 60%; width: 55%; height: 50%; } /* 上海老天丼（横長） */
.steam-menu-ym-5 { left: 0%; bottom: 45%; width: 85%; height: 80%; } /* 牛もつ鍋 */

@media (max-width: 767px) {
  .steam-menu-gt-1 { left: 10%; bottom: 40%; width: 60%; }
  .steam-menu-gt-6 { left: 15%; bottom: 58%; width: 60%; }
  .steam-menu-bm-1 { left: 10%; bottom: 50%; width: 80%; }
  .steam-menu-ym-1 { left: 18%; bottom: 50%; width: 80%; }
}

/* =========================
  湯気アニメーション
========================= */
.steam_move1 {
  animation: yuge1 3.5s cubic-bezier(.32, 1, .67, 1) -0.5s infinite;
}

.steam_move2 {
  animation: yuge2 4.0s cubic-bezier(.36, 0, .62, 1) -1.5s infinite;
}

.steam_move3 {
  animation: yuge3 3.8s cubic-bezier(.60, 1, .87, 1) -2.8s infinite;
}

.steam_move4 {
  animation: yuge4 4.2s cubic-bezier(.32, 1, .67, 1) -0.8s infinite;
}

.steam_move5 {
  animation: yuge5 3.6s cubic-bezier(.45, .05, .55, .95) -2.0s infinite;
}

@keyframes yuge1 {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.85);
  }

  15% {
    opacity: 1.0;
  }

  80% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
    transform: translateY(-80px) scale(1.1);
  }
}

@keyframes yuge2 {
  0% {
    opacity: 0;
    transform: translateY(15px) scale(0.9) translateX(10px);
  }

  20% {
    opacity: 1.0;
  }

  75% {
    opacity: 0.4;
  }

  100% {
    opacity: 0;
    transform: translateY(-90px) scale(1.15) translateX(-5px);
  }
}

@keyframes yuge3 {
  0% {
    opacity: 0;
    transform: translateY(25px) scale(0.8) translateX(-8px);
  }

  25% {
    opacity: 1.0;
  }

  70% {
    opacity: 0;
  }

  100% {
    opacity: 0;
    transform: translateY(-70px) scale(1.05) translateX(5px);
  }
}

@keyframes yuge4 {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.88);
  }

  18% {
    opacity: 1.0;
  }

  80% {
    opacity: 0.4;
  }

  100% {
    opacity: 0;
    transform: translateY(-85px) scale(1.12);
  }
}

@keyframes yuge5 {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.82) translateX(5px);
  }

  22% {
    opacity: 1.0;
  }

  72% {
    opacity: 0;
  }

  100% {
    opacity: 0;
    transform: translateY(-75px) scale(1.08) translateX(-8px);
  }
}

/* =========================
  SP レイアウト
========================= */
@media (max-width: 767px) {
  .coupon-menu-section {
    background-image: url('../images/202611_jobtune_sp_01.webp');
  }

  .coupon-menu-grid {
    grid-template-columns: 1fr;
    padding: 3% 5.13%;
    gap: 24px;
  }

  /* 天地余白 3/5：上側 = gap(24) + 24 = 48px／下側 = gap(24) - 10 = 14px */
  .coupon-menu-title {
    margin-top: 24px;
    margin-bottom: -10px;
    /* SPバナー画像 1056×385 ≒ 幅の36.5%＋余白 */
    scroll-margin-top: calc(100vw * 0.365 + 36px + var(--jobtune-banner-top, 0px));
  }

  .coupon-menu-title:first-child {
    margin-top: 0;
  }
}

/* =========================
  sec00
========================= */
.sec00-wrap {
  position: relative;
}

/* =========================
  カテゴリボタン（PC00/SP00の下・横3つ／メニューセクション先頭）
========================= */
.jt-nav {
  padding-top: 3%;
}

.jt-nav ul {
  display: flex;
  justify-content: center;
  gap: 3%;
  width: 87%;
  margin: 0 auto;
}

.jt-nav li {
  width: 27%;
}

.jt-nav a {
  display: block;
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  .jt-nav a:hover {
    opacity: 0.6;
  }
}

@media (max-width: 767px) {
  .jt-nav {
    padding-top: 4%;
  }

  .jt-nav ul {
    width: 86%;
    gap: 2%;
  }

  .jt-nav li {
    width: 31.4%;
  }
}
