@charset "UTF-8";
/* ==================================================
   front-page.css - 最終決定版（最強優先度）
   ================================================== */

/* --------------------------------------------------
   1. ページ全体の土台（ベース）設定
   -------------------------------------------------- */
/* ★重要：html:root と書くことで、他のCSSやWP設定に絶対に負けないようにします */
html:root {
  background-color: #000000 !important; /* 下地は完全な黒 */
  margin-top: 0 !important; /* WPの強制余白を完全削除 */
  padding-top: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
}

body {
  background-color: transparent !important; /* コンテンツ領域は透明 */
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  height: 100% !important;
  overflow: hidden !important;
  overscroll-behavior: none; /* バウンド禁止 */
}

/* トップページ専用のコンテナ */
.home {
  position: relative;
  width: 100%;
  height: 100dvh !important;
  overflow: hidden !important;
  background-color: transparent !important;
}

/* --------------------------------------------------
   2. 背景画像（ズレないための「固定パネル」方式）
   -------------------------------------------------- */
.home::before {
  content: "";
  display: block;
  position: fixed;

  /* ★修正：画面より「50px上」から画像を貼る（物理的に隙間をなくす） */
  top: -50px !important;
  left: 0;

  /* 上にずらした分、高さも増やして画面下までカバーする */
  width: 100%;
  height: 120% !important;

  /* ★重要：順位を「0」にする（黒い下地より手前に表示） */
  z-index: 0;

  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    /* テーマフォルダ内の画像を指す絶対パス */
    url(/wp-content/themes/template-site001/images/hero-bg.jpg) no-repeat center
      center/cover;

  background-attachment: scroll;
  pointer-events: none;
}

/* --------------------------------------------------
   3. ヘッダー設定
   -------------------------------------------------- */
.home .site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  width: 100%;
  /* 背景画像(0)より手前 */
  z-index: 1000;
  margin-top: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  transition: all 0.3s ease;
}

.home .site-header.is-scrolled {
  background-color: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 15px 0 !important;
}

#wpadminbar {
  display: none !important;
}

/* --------------------------------------------------
   4. メインコンテンツ（ヒーローエリア）
   -------------------------------------------------- */
.portal-hero {
  position: relative;

  /* 背景画像(0)より手前 */
  z-index: 10;

  width: 100%;
  height: 100% !important;
  min-height: auto !important;

  display: flex;
  flex-direction: column;

  /* 中央揃え設定 */
  justify-content: center;
  align-items: center;

  /* 上の余白（バランス調整） */
  padding-top: 23vh;
  padding-bottom: 5vh;
  padding-left: 20px;
  padding-right: 20px;

  box-sizing: border-box;
}

.hero-content {
  width: 100%;
  max-width: 1000px;
  text-align: center;
  position: relative;
  z-index: 10;
  margin-top: 0;
}

/* --------------------------------------------------
   5. タイトル・サブタイトル
   -------------------------------------------------- */
.portal-title {
  font-size: clamp(2rem, 8vmin, 3.7rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 2vh;

  background: linear-gradient(
    45deg,
    #f0e1b9,
    #c19b4b,
    #ff8c00,
    #8a2be2,
    #c19b4b
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-gradient 6s linear infinite;
}

@keyframes text-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.portal-sub {
  color: #fff;
  font-size: clamp(0.8rem, 2.5vmin, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-bottom: 5vh;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  .portal-title {
    margin-top: 2vh;
  }
  .portal-sub {
    margin-bottom: 4vh;
  }
}

/* --------------------------------------------------
   6. 【非表示】検索・エリア選択
   -------------------------------------------------- */
.search-form,
.area-chips,
.filter-toggle-container {
  display: none !important;
}
.search-container {
  display: block !important;
  width: 100%;
  margin: 0 auto;
}

/* --------------------------------------------------
   7. インボイス登録チェック
   -------------------------------------------------- */
.invoice-wrapper {
  margin: 0 0 4vh;
  color: #fff;
  text-align: center;
  animation: fadeIn 1s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.invoice-check {
  display: inline-flex; /* Flexboxで横並び */
  align-items: center; /* 上下中央揃え */
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s;
  vertical-align: middle; /* 周囲とのズレ防止 */
}
.invoice-check:hover {
  transform: scale(1.02);
}
.invoice-check input {
  display: none;
}

/* ▼▼▼ 修正箇所：文字の行間を締める ▼▼▼ */
.label-text {
  font-size: clamp(0.7rem, 2.3vmin, 1rem);
  font-weight: bold;
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1; /* ★ここが重要！行間を文字の高さピッタリにする */
  padding-top: 2px; /* 微調整：もし文字が低く見える場合はここを増やす */
}
/* ▲▲▲ ここまで ▲▲▲ */

.checkmark {
  width: clamp(16px, 2.4vmin, 20px);
  height: clamp(16px, 2.4vmin, 20px);
  border: 2px solid #c19b4b;
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  flex-shrink: 0; /* ★追加：画面幅が狭くても箱が潰れないようにする */
}
.invoice-check input:checked + .checkmark {
  background: #c19b4b;
}
.invoice-check input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 30%;
  height: 60%;
  border: solid #fff;
  border-width: 0 2px 2px 0;
}
.invoice-check input:checked ~ .label-text {
  color: #c19b4b;
  text-shadow: 0 0 10px rgba(193, 155, 75, 0.5);
}
@media (max-width: 768px) {
  .label-text {
    font-size: 0.75rem;
    font-weight: normal;
  }
  .invoice-wrapper {
    margin-bottom: 30px;
  }
  .invoice-check {
    gap: 6px;
  }
}
/* --------------------------------------------------
   8. カテゴリリンク（食べる・飲む・遊ぶ）
   -------------------------------------------------- */
.category-links {
  display: flex;
  justify-content: center;
  gap: 3vw;
  margin-top: 1vh;
  padding: 0 10px;
}
.category-links a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 22vmin;
  height: 22vmin;
  min-width: 100px;
  min-height: 100px;
  max-width: 200px;
  max-height: 200px;
  background: rgba(10, 20, 40, 0.7);
  border: 2px solid rgba(193, 155, 75, 0.5);
  border-radius: 15px;
  text-decoration: none;
  color: #fff;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}
.category-links a:hover {
  transform: translateY(-5px);
  background: rgba(193, 155, 75, 0.2);
  border-color: #c19b4b;
  box-shadow: 0 15px 30px rgba(193, 155, 75, 0.2);
}
.category-links a i {
  font-size: 6vmin;
  margin-bottom: 2vh;
  color: #c19b4b;
  transition: transform 0.3s;
}
.category-links a:hover i {
  transform: scale(1.1);
}
.category-links a span {
  font-size: clamp(0.8rem, 2.5vmin, 1.2rem);
  font-weight: bold;
  letter-spacing: 0.1em;
}
@media (max-width: 768px) {
  .category-links {
    gap: 15px;
  }
  .category-links a {
    width: 28vmin;
    height: 28vmin;
  }
  .category-links a i {
    font-size: 8vmin;
    margin-bottom: 1vh;
  }
}

/* --------------------------------------------------
   9. フッター（トップページ専用）
   -------------------------------------------------- */
.home .site-footer {
  position: fixed !important;
  bottom: 0 !important;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent !important;
  border: none !important;
  padding: 10px 0 calc(15px + env(safe-area-inset-bottom));
  text-align: center;
  margin-top: 0;
}
.home .footer-bottom {
  display: block;
  border-top: none !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.home .site-footer .footer-container,
.home .mobile-floating-nav {
  display: none !important;
}
.home .copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
@media screen and (max-width: 768px) {
  .home .copyright {
    /* PCの 0.75rem (約12px) から 0.6rem (約9.6px) に縮小 */
    font-size: 0.6rem !important;

    /* 念の為、改行されにくくする */
    white-space: nowrap;

    /* 少し透明度を上げて目立たなくする（お好みで） */
    opacity: 0.8;
  }
}

/* --------------------------------------------------
   10. スマホ専用 隙間・ズレ修正（念の為の再定義）
   -------------------------------------------------- */
@media screen and (max-width: 900px) {
  /* ここでも html:root を使い、確実に上書きする */
  html:root {
    background-color: #000000 !important; /* 黒背景 */
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  body {
    background-color: transparent !important; /* bodyは透明 */
  }
  body.home .site-header {
    top: 0 !important;
    margin-top: 0 !important;
  }
  .home::before {
    top: -50px !important; /* スマホでも確実に上に引き上げる */
    transform: none !important;
  }
}
/* ==================================================
   特集バナー (Pickup Banner) - ゴールド版（目立つ！）
   ================================================== */
.pickup-banner-section {
    width: 90%;
    max-width: 450px;
    margin: 0 auto 25px;
    padding: 0;
}

.pickup-banner-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    /* ▼▼▼ 変更：黒ベースをやめて「ゴールドグラデーション」に ▼▼▼ */
    background: linear-gradient(135deg, #b8860b, #e6c170, #b8860b);
    background-size: 200% 200%; /* キラキラさせるための準備 */
    animation: shineGold 4s ease infinite; /* ゆっくり光が動くアニメ */
    
    border: 1px solid #fff; /* 枠線を白にしてメリハリを */
    border-radius: 10px;
    padding: 10px 20px;
    text-decoration: none;
    color: #222; /* 文字は黒（ダークグレー）で見やすく */
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4); /* 黄金の影 */
    transition: transform 0.2s, box-shadow 0.2s;
}

/* 光が流れるアニメーション定義 */
@keyframes shineGold {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.pickup-banner-link:active {
    transform: scale(0.96);
}

.pickup-content {
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pickup-label {
    display: inline-block;
    /* ▼▼▼ 変更：ラベルを黒背景・金文字に反転 ▼▼▼ */
    background: #000;
    color: #e6c170;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
    align-self: flex-start;
}

.pickup-title {
    font-size: 1.1rem;
    font-weight: 800; /* 太くして力強く */
    margin: 0;
    line-height: 1.2;
    /* ▼▼▼ 変更：文字色を黒に ▼▼▼ */
    color: #1a1a1a;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4); /* 白い影をつけて文字を浮き立たせる */
}

/* 説明文は非表示 */
.pickup-text {
    display: none;
}

.pickup-arrow {
    font-size: 1.2rem;
    /* ▼▼▼ 変更：矢印も黒系に ▼▼▼ */
    color: #000;
    margin-left: 10px;
    z-index: 2;
    opacity: 0.7;
}

/* スマホ調整 */
@media (max-width: 768px) {
    .pickup-banner-section {
        width: 75%; /* 少しだけ幅広に */
    }
    .pickup-label {
        font-size: 0.6rem;
    }
    .pickup-title {
        font-size: 0.8rem;
    }
}