@charset "utf-8";

/* =========================================================
   Sugakico Brand Site - 全ページ共通スタイル
   - CSS変数 / ベース / コンテナ
   - プレースホルダ(.ph)
   - 共通見出し / 共通ボタン
   - ヘッダー(PC/SP) / ハンバーガーオーバーレイ
   - フローティング(右下) / PageTop / SP下部固定
   - フッター
   ========================================================= */

/* ----- 変数 (スガキコ公式パレット) ----- */
:root {
  /* ブランドカラー */
  --red:         #E72220; /* プライマリ赤 (ヘッダー/CTA) */
  --red-deep:    #D12C3F; /* 深赤・アクセント */
  --yellow:      #FFF95C; /* 明るい黄(蛍光気味) */
  --yellow-mid:  #F4CA4C; /* マスタード */
  --yellow-pale: #F9EBB2; /* 淡い黄 */
  --tan:         #C89F69; /* タン/ベージュ */
  --green:       #009245; /* 緑 */

  /* 背景・中性色 */
  --cream:       #F0F0E4; /* オフホワイト(パネル背景) */
  --cream-light: #F0F0E4; /* ページ背景 */
  --white:       #FFFFFF;
  --gray:        #ACACAC; /* グレー(枠線等) */
  --gray-dark:   #707070; /* ダークグレー(本文) */
  --black:       #000000;

  /* セマンティック */
  --text:        #000000; /* 本文テキスト */
  --text-strong: #000000; /* 強調 */
  --text-mute:   #ACACAC; /* 補足 */
  --line:        #ACACAC; /* ボーダー */

  /* レイアウト */
  --header-h-pc: 83px;
  --header-h-sp: 70px;

  /* ----- フォント ----- */
  --font-sans: "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック Medium",
    "Yu Gothic Medium", "游ゴシック", "Yu Gothic", -apple-system,
    BlinkMacSystemFont, "Helvetica Neue", "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
  --font-mincho: "Zen Old Mincho", "游明朝", "Yu Mincho", "ヒラギノ明朝 Pro",
    "Hiragino Mincho Pro", "MS P明朝", serif;
  --font-en: "Josefin Sans", "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ----- ベース ----- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h-pc);
}

body {
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--text);
  background: var(--cream-light);
  line-height: 1.8;
}

/* 明朝/英字 ユーティリティ */
.font-mincho { font-family: var(--font-mincho); }
.font-en { font-family: var(--font-en); }

main {
  margin-top: var(--header-h-pc);
  background: var(--cream-light);
}

/* ヘッダーは1110px以下でSP(ハンバーガー)化 → ヘッダー高さもSP値に揃える */
@media (max-width: 1110px) {
  html {
    scroll-padding-top: var(--header-h-sp);
  }
  main {
    margin-top: var(--header-h-sp);
  }
}
/* body本文・各セクションは従来通り768pxで切替 */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
}

.container {
  width: 1080px;
  max-width: 94%;
  margin: 0 auto;
}

.sp-only { display: none; }
.pc-only { display: block; }
@media (max-width: 768px) {
  .sp-only { display: block; }
  .pc-only { display: none !important; }
}

/* ===== プレースホルダ ===== */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gray);
  background-image:
    linear-gradient(135deg, transparent 49%, rgba(0,0,0,.06) 49%, rgba(0,0,0,.06) 51%, transparent 51%),
    linear-gradient(45deg, transparent 49%, rgba(0,0,0,.06) 49%, rgba(0,0,0,.06) 51%, transparent 51%);
  background-size: 20px 20px;
  color: var(--text-strong);
  font-size: 12px;
  letter-spacing: .04em;
  border: 1px dashed var(--gray-dark);
  overflow: hidden;
  min-height: 60px;
}
.ph::after {
  content: attr(data-label);
  display: block;
  padding: 6px 10px;
  background: rgba(255,255,255,.75);
  border-radius: 4px;
  font-weight: 700;
  color: var(--text-strong);
  white-space: pre-line;
}
.ph.dark { background-color: var(--black); color: var(--white); }
.ph.dark::after { background: rgba(0,0,0,.5); color: var(--white); }
.ph.red { background-color: var(--red); color: var(--white); }
.ph.red::after { background: rgba(0,0,0,.25); color: var(--white); }
.ph.circle { border-radius: 50%; }
.ph.square { aspect-ratio: 1/1; }
.ph.wide { aspect-ratio: 16/9; }

/* ===== 共通見出し ===== */
.heading {
  text-align: center;
  margin-bottom: 32px;
}
.heading h2 {
  font-family: var(--font-mincho);
  font-size: 28px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: .15em;
  margin-bottom: 6px;
}
.heading .en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--text-mute);
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .heading h2 { font-size: 22px; }
}

/* ===== 共通ボタン ===== */
.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 240px;
  padding: 16px 32px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  border-radius: 999px;
  transition: opacity .2s;
}
.btn-red:hover { opacity: .85; }
.btn-red::after {
  content: "▶";
  font-size: 12px;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 240px;
  padding: 16px 32px;
  background: #fff;
  color: var(--red);
  border: 2px solid var(--red);
  font-weight: 700;
  font-size: 20px;
  border-radius: 999px;
}
.btn-white::after {
  content: "▶";
  font-size: 12px;
}

/* ===========================================================
   HEADER (PC)
   =========================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h-pc);
  background: var(--red);
  color: #fff;
  z-index: 1000;
  border-radius: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 20px 0 28px;
  gap: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand .catch {
  font-size: 10px;
  line-height: 1.2;
  margin-bottom: 2px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.brand .logo {
  display: block;
  width: 150px;
  height: 44px;
}
.brand .logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-wrap {
  display: flex;
  flex-direction: column;
}

.gnav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 48px;
  margin: 0 48px 0 0;
}
.gnav > li {
  position: relative;
}
.gnav > li > a,
.gnav > li > .gnav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  transition: opacity .2s;
  white-space: nowrap;
}
.gnav > li > a:hover,
.gnav > li > .gnav-trigger:hover {
  opacity: .85;
}
.gnav .caret {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s;
}
.gnav > li.is-open .caret {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.gnav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  min-width: 240px;
  background: #fff;
  color: var(--text-strong);
  border-radius: 8px;
  padding: 16px 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 10;
}
.gnav > li.is-open > .gnav-dropdown,
.gnav > li:hover > .gnav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.gnav-dropdown li a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  transition: background .15s;
}
.gnav-dropdown li a:hover {
  background: var(--cream);
}

.header-search {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 28px 0 22px;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--white);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
  flex-shrink: 0;
  margin-right: 48px;
  transition: opacity .2s;
}
.header-search:hover { opacity: .85; }
.header-search img {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.burger {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: transform .25s, opacity .2s;
}
body.is-burger-open .burger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
body.is-burger-open .burger span:nth-child(2) {
  opacity: 0;
}
body.is-burger-open .burger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* PC ハンバーガー展開 → 下にメニュー帯 */
.burger-panel {
  position: fixed;
  top: var(--header-h-pc);
  left: 0;
  right: 0;
  background: var(--cream);
  color: var(--text);
  padding: 10px 24px 18px;
  box-shadow: 0 8px 16px rgba(0,0,0,.08);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .3s, opacity .3s, visibility .3s;
  z-index: 999;
}
body.is-burger-open .burger-panel {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.burger-panel ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.burger-panel ul li {
    display: flex;
    align-items: center;
}
.burger-panel li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--red);
  font-size: 15px;
}
.burger-panel .sep {
  color: var(--line);
}
.burger-panel .sns {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.burger-panel .sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s;
}
.burger-panel .sns a:hover { opacity: .7; }
.burger-panel .sns img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.burger-panel .sns .ph {
  width: 28px;
  height: 28px;
  min-height: 0;
  border-radius: 6px;
}

/* ===========================================================
   HEADER (SP)
   =========================================================== */
.sp-header {
  display: none;
}
/* ===== ヘッダーのみ 1110px 以下でSP(ハンバーガー)化 =====
   ※ body本文・各セクションは768pxのまま。ヘッダーだけ先行してSP化する */
@media (max-width: 1110px) {
  .site-header { height: var(--header-h-sp); }
  /* PC用ハンバーガーパネルはこの帯域では使わない(SPメニューを使用) */
  .burger-panel { display: none; }
  .header-inner { display: none; }
  .sp-header {
    display: flex;
    align-items: center;
    height: var(--header-h-sp);
    padding: 0 0 0 12px;
    color: #fff;
  }
  .sp-header .brand .logo {
    width: 130px;
    height: 40px;
  }
  .sp-header .brand .catch {
    font-size: 9px;
  }
  .sp-header .sp-actions {
    margin-left: auto;
    display: flex;
    align-items: stretch;
    height: 100%;
  }
  .sp-header .sp-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    gap: 4px;
  }
  .sp-header .sp-btn img.ico {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
  }
  /* メニュー / 店舗検索 の間のみデバイダー */
  .sp-header .sp-btn + .sp-btn {
    border-left: 1px solid rgba(255,255,255,.4);
  }
  .sp-header .burger {
    width: 56px;
    height: 100%;
    margin-left: 4px;
  }

  /* メニュー展開時はSPヘッダー内のロゴを非表示にする */
  body.is-burger-open .sp-header .brand {
    visibility: hidden;
  }

  /* SP メニュー展開オーバーレイ
     - 通常時: display: none で完全非表示
     - 展開時: ページ内に普通の要素として展開し、下方向にスクロール可能
  */
  .sp-menu-overlay {
    display: none;
    background: var(--red);
    color: #fff;
    padding: 16px 16px 40px;
    z-index: 998;
  }
  body.is-burger-open .sp-menu-overlay {
    display: block;
    border-radius: 0;
  }

  /* 展開時: ヘッダーの固定と装飾を解除し、ページ最上部に普通に流し込む */
  body.is-burger-open .site-header {
    position: static;
    border-radius: 0;
    box-shadow: none;
  }

  /* 展開時: メイン・フッターなど周辺要素を全て非表示 (ページ全体をメニュー画面に) */
  body.is-burger-open main {
    display: none;
  }
  body.is-burger-open .site-footer,
  body.is-burger-open .sp-bottom-fixed,
  body.is-burger-open .page-top,
  body.is-burger-open .floating-side {
    display: none;
  }
  .sp-menu-overlay ul.sp-menu-list {
    border-top: 1px solid rgba(255,255,255,.3);
  }
  .sp-menu-overlay ul.sp-menu-list > li {
    border-bottom: 1px solid rgba(255,255,255,.3);
  }
  .sp-menu-overlay ul.sp-menu-list > li > a,
  .sp-menu-overlay ul.sp-menu-list > li > .sp-menu-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 18px 8px;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    text-align: left;
  }
  /* ">" 矢印 (has-arrow リンク用) */
  .sp-menu-overlay ul.sp-menu-list > li > a.has-arrow::after {
    content: "";
    margin-left: auto;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
  }
  /* ⊕ プラス (has-child の閉じた状態) */
  .sp-menu-overlay ul.sp-menu-list > li.has-child > .sp-menu-trigger::after {
    content: "";
    margin-left: auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    background:
      linear-gradient(#fff, #fff) center / 10px 1.5px no-repeat,
      linear-gradient(#fff, #fff) center / 1.5px 10px no-repeat;
  }
  /* ⊖ マイナス (開いた状態) */
  .sp-menu-overlay ul.sp-menu-list > li.has-child.is-open > .sp-menu-trigger::after {
    background:
      linear-gradient(#fff, #fff) center / 10px 1.5px no-repeat;
  }
  .sp-menu-overlay .sp-submenu {
    padding: 0 0 12px 0;
    display: none;
  }
  .sp-menu-overlay li.is-open > .sp-submenu {
    display: block;
  }
  .sp-menu-overlay .sp-submenu li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
  }
  /* ▶ プレイアイコン (白丸 + 赤三角) */
  .sp-menu-overlay .sp-submenu li a::after {
    content: "▶";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #fff;
    color: var(--red);
    border-radius: 50%;
    font-size: 9px;
    line-height: 1;
    padding-left: 1px;
    flex-shrink: 0;
  }
  .sp-menu-overlay .sns-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 20px;
  }
  .sp-menu-overlay .sns-row .ph { height: 56px; }
  .sp-menu-overlay .footer-links-sp {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 700;
    line-height: 2;
  }
  .sp-menu-overlay .footer-links-sp a {
    display: block;
    color: #fff;
  }
}

/* ===========================================================
   フローティング(右)：アプリDL / オンラインショップ
   - 画面右端ピッタリに配置、左側のみ角丸
   - 上部: 白背景 赤文字ラベル / 下部: 赤背景 白アイコン
   =========================================================== */
.floating-side {
  position: fixed;
  right: -2px;
  top: 40%;
  transform: translateY(-50%);
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.floating-side a {
  width: 72px;
  padding: 0 0 12px;
  background: var(--red-deep);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  border: 2px solid #fff;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  transition: opacity .2s;
  overflow: hidden;
}
.floating-side a:hover { opacity: .9; }
.floating-side a .label {
  display: block;
  width: 100%;
  padding: 4px 2px;
  background: var(--white);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}
.floating-side a img {
  display: block;
  width: 35px;
  height: 35px;
  object-fit: contain;
}
.floating-side a img[src*="icon_app"] {
  width: 50px;
  height: 50px;
}
@media (max-width: 768px) {
  .floating-side { display: none; }
}

/* PageTop */
.page-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  z-index: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
}
.page-top::before {
  content: "▲";
  font-size: 12px;
  line-height: 1;
  color: var(--red);
}
@media (max-width: 768px) {
  .page-top {
    bottom: 96px;
    right: 12px;
    width: 48px;
    height: 48px;
  }
}

/* SP下部固定 2連ボタン（1本の赤ピル＋白フチ・中央に白い仕切り線） */
.sp-bottom-fixed {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 700;
}
@media (max-width: 768px) {
  .sp-bottom-fixed {
    display: flex;
    background: var(--red);
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .25);
    transform: translateY(180%);          /* 初期は隠す（少しスクロールで下から表示） */
  }
  .sp-bottom-fixed.is-ready { transition: transform .35s ease; }   /* 初回スクロール以降アニメ */
  .sp-bottom-fixed.is-visible { transform: translateY(0); }
  .sp-bottom-fixed a {
    flex: 1;
    min-height: 58px;
    padding: 8px 12px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
  }
  .sp-bottom-fixed a + a { border-left: 2px solid #fff; }   /* 中央の白い仕切り線 */
  .sp-bottom-fixed a img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
  }
  .sp-bottom-fixed a span { flex: 1; }            /* 2行テキスト用（無くても可） */
  .sp-bottom-fixed a::after {
    content: "";
    flex-shrink: 0;
    margin-left: auto;                            /* ▶ を右端へ */
    width: 0;
    height: 0;
    border-left: 7px solid #fff;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
  }
}

/* ===========================================================
   ページヒーロー(下層共通) / パンくず
   =========================================================== */
.page-hero {
  padding: 56px 0;
  text-align: center;
  background: var(--cream);
}
.page-hero h1 {
  font-family: var(--font-sans);
  font-size: 36px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: .15em;
  margin-bottom: 4px;
}
.page-hero .en {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--red);
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .page-hero { padding: 32px 0 16px; }
  .page-hero h1 { font-size: 22px; }
}

.breadcrumb {
  padding: 24px 0 100px;
  background: var(--white);
  color: var(--text);
  font-size: 14px;
}
.breadcrumb ol {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb li + li::before {
  content: ">";
  color: var(--text-mute);
}
.breadcrumb a {
  color: var(--text);
  text-decoration: underline;
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb li[aria-current="page"] { color: var(--text); }

/* ===========================================================
   ポリシー・規約 本文
   =========================================================== */
.policy {
  background: var(--white);
  padding: 0 0 88px;
}

.policy .lead { line-height: 2; margin-bottom: 8px; }
.policy ol {
  list-style: decimal;
  padding-left: 1.6em;
  margin: 16px 0 24px;
}
.policy ol li { line-height: 1.9; margin-bottom: 6px; }
.policy ol li .note { display: block; margin-top: 12px; }
.policy .sign {
  margin: 36px 0 8px;
  line-height: 2;
  font-weight: 700;
}
.policy h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 56px 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.policy h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.policy p { line-height: 2; margin-bottom: 16px; }
@media (max-width: 768px) {
  .policy h2 { font-size: 19px; }
  .policy h3 { font-size: 16px; }
}

/* ===========================================================
   セクション: アプリ訴求 (共通: 複数ページで使用)
   - phone 画像は赤背景の上端からはみ出る
   - 右側に「お得なクーポンも！」吹き出し + ストアバッジ
   =========================================================== */
.sec-app {
    background: var(--red);
    color: #fff;
    padding: 80px 0 50px;
    overflow: visible;
}
.app-flex {
    display: flex;
    gap: 2%;
    align-items: flex-end;
}
.app-flex .text {
    width: 33%;
}
.app-flex .text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.5;
}
.app-flex .text .btn-white {
    min-width: 200px;
    padding: 10px 32px;
    gap: 18px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 0.2);
}
.app-flex .phone {
  position: relative;
  width: 49%;
}
.app-flex .phone .phone-img {
    position: absolute;
    bottom: -50px;
    width: 85%;
    max-width: none;
    height: auto;
}
.app-flex .phone .ph {
  width: 220px;
  height: 380px;
  border-radius: 24px;
  background-color: var(--black);
  color: var(--white);
}
.app-flex .phone .bubble {
    position: absolute;
    top: 35%;
    right: -27%;
    width: 40%;
    background: url('../imgs/common/bubble_coupon.svg') no-repeat center / contain;
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    aspect-ratio: 5 / 3.2;
}
/* 吹き出しSVGが13度傾いているのでテキストも同じ角度に */
.app-flex .phone .bubble > span {
    display: inline-block;
    font-weight: 800;
    font-size: 17px;
    line-height: 1.3;
    transform: rotate(13deg);
    transform-origin: center;
}
.app-flex .stores {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    width: 12%;
}
.app-flex .stores img {
  display: block;
  width: 180px;
  height: auto;
}
.app-flex .stores .ph {
  width: 160px;
  height: 50px;
  border-radius: 8px;
}
@media (max-width: 1100px) {
.app-flex .text .btn-white {
    font-size: 14px;
}
.app-flex .phone .bubble {
    right: -30%;
    aspect-ratio: 5 / 4;
    top: 29%;
}
}
@media (max-width: 1000px) {
  .app-flex .text {
    width: 30%;
}
  .app-flex .text h2 {
    font-size: 22px;
}
}
@media (max-width: 900px) {
.app-flex .phone .phone-img {
    width: 110%;
}
}
@media (max-width: 768px) {
  /*.sec-app { display: none; }*/
  .app-flex { grid-template-columns: 1fr; text-align: center; }
  .app-flex .text h2 { font-size: 20px; }
  .app-flex .stores { align-items: center; }
}
@media (max-width: 660px) {
.app-flex .text h2 {
    font-size: 15px;
}
.app-flex .text .btn-white {
  font-size: 14px;
    min-width: 165px;
    padding: 10px 18px;
    gap: 3px;
}
.app-flex .phone .bubble {
    top: 13%;
    width: 52%;
}
}


@media (max-width: 550px) {
.sec-app {
    padding: 40px 0 295px;
}

.app-flex {
    display: block;
}
.app-flex .text {
    width: 100%;
}
.app-flex .text h2 {
    margin-bottom: 18px;
    font-size: 24px;
}
.app-flex .phone {
    width: 100%;
}
.app-flex .phone .phone-img {
    width: 78%;
    bottom: -295px;
}
.app-flex .phone .bubble {
    top: 10%;
    width: 50%;
}
.app-flex .stores {
    align-items: flex-end;
    justify-content: flex-end;
    gap: 4px;
    width: 27%;
    margin-top: 140px;
    float: right;
}
}
@media (max-width: 480px) {
  .sec-app {
    padding: 40px 0 240px;
}
.app-flex .phone .phone-img {
    bottom: -240px;
}
.app-flex .phone .bubble {
    width: 55%;
}

}

/* ===========================================================
   ステップタイトル：赤円に破線
   =========================================================== */
.step {
  display: flex;
  justify-content: center;
}
.stepCircle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--red);
  color: white;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.stepCircle::before {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  content: url(../imgs/common/vdotline.svg);
}
/* ===========================================================
   セクション区切り：波
   =========================================================== */
.nami {
  position: relative;
}
.nami::after {
  background-color: var(--cream);
  content: '';
  position: absolute;
  bottom: -50px;
  width: 100%;
  height: 100px;
  --mask: radial-gradient(51.61px at 50% calc(100% - 72px), #000 99%, #0000 101%) calc(50% - 60px) 100%/120px 51% repeat-x,
    radial-gradient(51.61px at 50% calc(100% + 42px), #0000 99%, #000 101%) 50% calc(100% - 30px)/120px calc(51% - 30px) repeat-x;
  -webkit-mask: var(--mask);
  mask: var(--mask);
}


.asobi-hero.nami::after {
  top: -50px;
}

@media (max-width: 768px) {
  .nami::after {
    bottom: -45px;
    height: 90px;
    --mask: radial-gradient(27.10px at 50% calc(100% - 38px), #000 99%, #0000 101%) calc(50% - 31.5px) 100%/63px 51% repeat-x,
    radial-gradient(27.10px at 50% calc(100% + 22px), #0000 99%, #000 101%) 50% calc(100% - 16px)/63px calc(51% - 16px) repeat-x;
}
}



/* ===========================================================
   32px bold centar 見出し
   =========================================================== */
.info-midashi {
    font-size: 32px;
    font-weight: 700;
    border-bottom: 1px solid var(--gray-dark);
    letter-spacing: normal;
    padding-bottom: .3em;
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 768px) {
.info-midashi {
    font-size: 24px;
}
}

/* ===========================================================
   PDFボタン
   =========================================================== */
.pdf-btn {
    position: relative;
    border-radius: 30px;
    background: var(--red);
    max-width: 370px;
    padding: 8px 0px;
    text-align: center;
    margin: 4px 4px 0px 0px;
    display: block;
    color: #fff;
    box-shadow: 0 3px 6px rgb(0 0 0 / 0.2);
    margin-bottom: 24px;
    font-weight: 900;
}
.pdf-btn::after {
  content: '';
    position: absolute;
    display: inline-block;
    width: 22px;
    height: 27px;
    background-image: url(../imgs/icon_pdf.svg);
    background-repeat: no-repeat;
    background-size: cover;
    top: 50%;
    transform: translateY(-50% );
    right: 10%;
}
@media (max-width: 768px) {
.pdf-btn {
    margin: 24px auto;
}
}
/* ===========================================================
   虫眼鏡ボタン
   =========================================================== */
.glass-btn {
    position: relative;
    border-radius: 30px;
    background: var(--red);
    max-width: 370px;
    padding: 5px 40px 5px 62px;
    text-align: center;
    display: block;
    color: #fff;
    box-shadow: 0 3px 6px rgb(0 0 0 / 0.2);
    font-weight: 900;
}
.glass-btn::after {
  content: '';
    position: absolute;
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url(../imgs/common/icon_glass.svg);
    background-repeat: no-repeat;
    background-size: cover;
    top: 50%;
    transform: translateY(-50% );
    left: 5%;
}
@media (max-width: 768px) {
.glass-btn {
    position: relative;
    border-radius: 30px;
    background: var(--red);
    max-width: 370px;
    padding: 8px 26px 8px 48px;
    text-align: center;
    display: block;
    color: #fff;
    box-shadow: 0 3px 6px rgb(0 0 0 / 0.2);
    font-weight: 900;
}
}
/* ===========================================================
   サイト内リンクボタン 白
   =========================================================== */
.inlink-btn {
    position: relative;
    border-radius: 30px;
    background: var(--white);
    max-width: 370px;
    padding: 8px 0px;
    text-align: center;
    margin: 4px 4px 0px 0px;
    display: block;
    color: var(--red);
    box-shadow: 0 3px 6px rgb(0 0 0 / 0.2);
    margin-bottom: 24px;
    font-weight: 900;
    border: 3px solid;
}
.inlink-btn::after {
  content: '';
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 9px solid transparent;
    border-right: 9px solid transparent;
    border-left: 12px solid var(--red);
    border-bottom: 9px solid transparent;
    top: 33%;
    right: 8%;
}
@media (max-width: 768px) {
.inlink-btn {
    margin: 24px auto;
}
}

/* ===========================================================
   サイト内リンクボタン 赤
   =========================================================== */
.inlinkred-btn {
    position: relative;
    border-radius: 30px;
    background: var(--red);
    max-width: 370px;
    padding: 8px 0px;
    text-align: center;
    margin: 4px 4px 0px 0px;
    display: block;
    color: var(--white);
    box-shadow: 0 3px 6px rgb(0 0 0 / 0.2);
    margin-bottom: 24px;
    font-weight: 900;
}
.inlinkred-btn::after {
  content: '';
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 9px solid transparent;
    border-right: 9px solid transparent;
    border-left: 12px solid var(--white);
    border-bottom: 9px solid transparent;
    top: 33%;
    right: 8%;
}
@media (max-width: 768px) {
.inlinkred-btn {
    margin: 24px auto;
}
}

/* ===========================================================
   戻るボタン
   =========================================================== */
.backlink-btn {
    position: relative;
    border-radius: 30px;
    background: var(--white);
    max-width: 370px;
    padding: 8px 0px;
    text-align: center;
    margin: 4px 4px 0px 0px;
    display: block;
    color: var(--red);
    box-shadow: 0 3px 6px rgb(0 0 0 / 0.2);
    margin-bottom: 24px;
    font-weight: 900;
    border: 3px solid;
}
.backlink-btn::after {
  content: '';
    position: absolute;
    width: 12px;
    height: 16px;
    top: 50%;
    margin-left: .5em;
    transform: translateY(-50% );
    left: 10%;
    display: inline-block;
    background: var(--red);
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
@media (max-width: 768px) {
.backlink-btn {
    margin: 24px auto;
}
}

/* ===========================================================
   外部リンクボタン 白
   =========================================================== */
.exlink-btn {
    position: relative;
    border-radius: 30px;
    background: var(--white);
    max-width: 370px;
    padding: 8px 0px;
    text-align: center;
    margin: 4px 4px 0px 0px;
    display: block;
    color: var(--red);
    box-shadow: 0 3px 6px rgb(0 0 0 / 0.2);
    margin-bottom: 24px;
    font-weight: 900;
    border: 3px solid;
}
.exlink-btn::after {
  content: '';
    position: absolute;
    display: inline-block;
    width: 16px;
    height: 18px;
    background-image: url(../imgs/common/icon_newtabred.svg);
    background-repeat: no-repeat;
    background-size: cover;
    top: 50%;
    margin-left: .5em;
    transform: translateY(-50% );
    right: 10%;
}
@media (max-width: 768px) {
.exlink-btn {
    margin: 24px auto;
}
}/* ===========================================================
   外部リンクボタン 赤
   =========================================================== */
.exlinkred-btn {
    position: relative;
    border-radius: 30px;
    background: var(--red);
    max-width: 370px;
    padding: 8px 0px;
    text-align: center;
    margin: 4px 4px 0px 0px;
    display: block;
    color: var(--white);
    box-shadow: 0 3px 6px rgb(0 0 0 / 0.2);
    margin-bottom: 24px;
    font-weight: 900;
}
.exlinkred-btn::after {
  content: '';
    position: absolute;
    display: inline-block;
    width: 16px;
    height: 18px;
    background-image: url(../imgs/common/icon_newtab.svg);
    background-repeat: no-repeat;
    background-size: cover;
    top: 50%;
    margin-left: .5em;
    transform: translateY(-50% );
    right: 10%;
}
@media (max-width: 768px) {
.exlinkred-btn {
    margin: 24px auto;
}
}

/* ===========================================================
   セクション: オンラインショップバナー
   =========================================================== */
.bnr_online {
    text-align: center;
    margin: 250px 0 10px;
}
   .bnr_online img {
    margin: 0 auto;
}
  .bnr_online a {
    /*display: block;*/
    transition: opacity .2s;
  }
  .bnr_online a:hover {
    opacity: .85;
    transition: all 1s;
  }
@media (max-width: 768px) {
  .bnr_online {
    margin: 100px 0 0;
}
}
/* ===========================================================
   セクション: 店舗検索バナー
   =========================================================== */
   .bnr_shopsearch {
    text-align: center;
    margin: 0 0 250px;
}
   .bnr_shopsearch img {
    margin: 0 auto;
}
  .bnr_shopsearch a {
    /*display: block;*/
    transition: opacity .2s;
  }
  .bnr_shopsearch a:hover {
    opacity: .85;
    transition: all 1s;
  }
@media (max-width: 768px) {
  .bnr_shopsearch {
    margin: 0 0 100px;
}
}


/* ===========================================================
   セクション: SNS row (共通)
   =========================================================== */
.sec-sns {
  padding: 48px 0;
  background: var(--cream);
}
.sns-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 520px;
  margin: 0 auto;
  align-items: center;
}
.sns-row a {
  display: block;
  transition: opacity .2s;
}
.sns-row a:hover { opacity: .85; }
.sns-row img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.sns-row .ph { height: 72px; border-radius: 8px; }
@media (max-width: 768px) {
  .sns-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { background: transparent; }

/* 上段: 黒背景・サイトマップ */
.footer-main {
  background: var(--black);
  color: var(--white);
  padding: 64px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-col h4 {
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.4);
  margin-bottom: 20px;
}
.footer-col h4 a { color: inherit; }
.footer-col h4 a:hover { text-decoration: underline; }
.footer-col ul li {
  font-size: 16px;
  line-height: 2.8;
}
.footer-col ul li a {
  color: var(--white);
  font-weight: 500;
}
.footer-col ul li a:hover { text-decoration: underline; }
/* 4列目: 2グループ目との余白 */
.footer-col ul + ul { margin-top: 28px; }
.footer-col--notitle ul li {
  font-size: 18px;
  font-weight: 700;
}

/* 4列目: タイトルなし、2グループ */
.footer-col--notitle {
  padding-top: 0;
}
.footer-col--notitle ul + ul {
  margin-top: 28px;
}

/* 下段: 白背景・規約系+コピーライト */
.footer-bottom {
  background: var(--white);
  color: var(--text);
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom ul {
  display: flex;
  gap: 40px;
}
.footer-bottom ul li a {
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 700;
}
.footer-bottom ul li a:hover { text-decoration: underline; }
.footer-bottom .copy {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-strong);
}

@media (max-width: 768px) {
  /* SPではサイトマップ(4列)は非表示 */
  .footer-main { display: none; }
  /* SP下部固定ボタン(高さ約56px + 8px余白)に隠れないよう下paddingを確保 */
  .footer-bottom { padding: 24px 0 100px; }
  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-bottom ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-bottom ul li a { font-size: 14px; }
}
