.insert-page.insert-page-342 #toc {
  display: none;
}

body.page-id-300 {
  margin: 0;
}
h1.entry-title {
  font-size: 1.1em;
}

.toc {
  padding: 0em 1.6em;
}

/* 初期表示ナビゲーション */
.initial-nav {
  background: linear-gradient(135deg, #fff, #f8f9fa);
  border-radius: 12px;
  margin-bottom: 5px;
}

.initial-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 15px;
}

.initial-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding: 15px 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: white;
  border: 2px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}

.initial-nav-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(191, 0, 0, 0.15);
  border-color: #bf0000;
  background: linear-gradient(135deg, #fff, #fff5f5);
}

.initial-nav-item.active {
  background: linear-gradient(135deg, #bf0000, #d32f2f);
  color: white;
  border-color: #bf0000;
  box-shadow: 0 6px 20px rgba(191, 0, 0, 0.3);
}

.initial-nav-icon {
  font-size: 20px;
  margin-bottom: 5px;
  display: block;
}

.initial-nav-text {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

/* フローティングナビゲーション */
.floating-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to right, #fff5f5, #ffe9e9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  display: none;
}

.floating-nav.show {
  transform: translateY(0);
}

.nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 12px;
  max-width: 800px;
  margin: 0 auto;
  background: transparent;
}

.nav-item {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  padding: 8px 6px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-item::before {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  height: 2px;
  width: 60%;
  background: #bf0000;
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.nav-item:hover {
  color: #bf0000;
}

.nav-item:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-item.active {
  color: #fff;
  background: #bf0000;
  border-radius: 8px;
  padding: 8px 6px;
}

.nav-item.active::before {
  display: none;
}

.nav-separator {
  color: #aaa;
  font-weight: bold;
  padding: 0 4px;
}

/* スマートフォン対応 */
@media (max-width: 768px) {
  .floating-nav {
    display: block;
  }

  .nav-item {
    font-size: 11px;
    font-weight: bold;
    padding: 6px 4px;
  }

  .nav-item::before {
    height: 2px;
  }
}

/* キャンペーンセクション */
.rakuten-campaigns-section {
  margin: 0 0;
}

.section-heading {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #bf0000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* キャンペーンカード */
.campaign-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.campaign-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
  transition: box-shadow 0.3s;
}

.campaign-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.campaign-card.featured {
  border-color: #bf0000;
  border-width: 2px;
  padding: 10px 10px 10px 10px;
}

.campaign-badge {
  position: absolute;
  top: -10px;
  right: 15px;
  background: #bf0000;
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: bold;
}

.campaign-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.campaign-header i {
  font-size: 1.5rem;
  color: #bf0000;
}

.campaign-header h3 {
  font-size: 1.3rem;
  margin: 0;
}

.campaign-points {
  text-align: center;
  margin: 0.5rem 0;
}

.points-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #bf0000;
}

.points-unit {
  font-size: 1rem;
  color: #666;
  margin-left: 0.3rem;
}

.campaign-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.campaign-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.campaign-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.show-details-btn {
  width: 100%;
  padding: 0.8rem;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.3s;
}

.show-details-btn:hover {
  background: #e9ecef;
}

.show-details-btn.active {
  background: #bf0000;
  color: white;
  border-color: #bf0000;
}

/* キャンペーン詳細 */
.campaign-details {
  margin-top: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

.details-inner {
  padding: 2rem;
}

.detail-block {
  margin-bottom: 2rem;
}

.detail-block h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #333;
}

/* 情報リスト */
.info-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.8rem;
}

.info-list dt {
  font-weight: bold;
  color: #666;
}

.info-list dd {
  margin: 0;
}

/* ステップリスト */
.steps-list {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
}

.steps-list li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: #bf0000;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.steps-list strong {
  display: block;
  margin-bottom: 0.3rem;
}

.steps-list p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

/* テーブル */
.table-wrapper {
  overflow-x: auto;
}

.points-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.points-table th,
.points-table td {
  padding: 0.8rem;
  text-align: left;
  border: 1px solid #e0e0e0;
}

.points-table th {
  background: #f8f9fa;
  font-weight: bold;
}

.points-table tr.highlight {
  background: #fff3cd;
}

.points-table .points {
  color: #bf0000;
  font-weight: bold;
}

/* CTA */
.campaign-cta {
  text-align: center;
  margin: 2rem 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #bf0000;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #ff6b6b;
}

/* FAQ */
.faq-list {
  background: white;
  border-radius: 4px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  padding: 1rem;
  cursor: pointer;
  font-weight: bold;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "Q. ";
  color: #bf0000;
  font-weight: bold;
}

.faq-item[open] summary {
  background: #f8f9fa;
}

.faq-item p {
  padding: 0 1rem 1rem 1rem;
  margin: 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .campaign-cards-grid {
    grid-template-columns: 1fr;
  }

  .info-list {
    grid-template-columns: 1fr;
  }

  .info-list dt {
    margin-bottom: 0.3rem;
  }

  .table-wrapper {
    margin: 0 -1rem;
  }

  .points-table {
    font-size: 0.9rem;
  }
}

/* キャンペーンバナーエリア */
.campaign-banner {
  text-align: center;
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
  border-radius: 12px;
  border: 2px solid #ffc107;
}

.banner-instruction {
  font-size: 0.9rem;
  color: #856404;
  margin-bottom: 1rem;
  font-weight: bold;
}

.campaign-banner-link {
  display: inline-block;
  transition: transform 0.3s;
}

.campaign-banner-link:hover {
  transform: scale(1.02);
}

.campaign-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 詳細ブロックタイトル */
.detail-block-title {
  font-size: 1.3rem;
  margin: 2.5rem 0 1.5rem 0;
  padding: 1rem;
  background: #f8f9fa;
  border-left: 4px solid #bf0000;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-block-title i {
  color: #bf0000;
}

/* キャンペーンリンク */
.campaign-link {
  color: #bf0000;
  text-decoration: none;
  font-weight: bold;
  word-break: break-all;
}

.campaign-link:hover {
  text-decoration: underline;
}

/* FAQ内の条件リスト */
.condition-list ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.condition-list li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.condition-list p {
  margin-top: 1rem;
  font-weight: bold;
  color: #bf0000;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .campaign-intro {
    padding: 0.5rem;
    font-size: 1rem;
  }

  .campaign-banner {
    padding: 1.5rem 1rem;
  }

  .banner-instruction {
    font-size: 0.8rem;
  }

  .detail-block-title {
    font-size: 1.1rem;
    padding: 0.8rem;
  }

  .points-number {
    font-size: 2rem;
  }
}

/* アニメーション効果 */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.campaign-banner-link:hover .campaign-image {
  animation: pulse 0.6s ease-in-out;
}

/* CTAボタンの追加スタイル */
.cta-button {
  font-size: 1.1rem;
  padding: 1.2rem 2.5rem;
  box-shadow: 0 4px 8px rgba(191, 0, 0, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(191, 0, 0, 0.4);
}

.campaign-header h3 {
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: none;
  font-size: 22px;
  padding: 5px 20px;
}

@media screen and (max-width: 834px) {
  .article ul,
  .article ol {
    padding-left: 0px;
  }
}

/* 通常の店舗情報項目 */
/* 基本のリストスタイル */
/* 通常の店舗情報項目 */
/* 基本のリストスタイル */

h2#basic-info {
  margin-bottom: 0px;
}

.basic-info-block {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  margin: 0;
}

.basic-info-block > li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
  align-items: start;
}

.basic-info-block > li:last-child {
  border-bottom: none;
}

.basic-info-block strong {
  color: #333;
  font-weight: bold;
}

.basic-info-block a {
  color: #0066cc;
  text-decoration: none;
  word-break: break-all;
}

.basic-info-block a:hover {
  text-decoration: underline;
}

/* 店舗の特徴項目のスタイル */
.basic-info-block > li.feature-item {
  display: block;
  border: 2px solid #ff6b6b;
  border-radius: 10px;
  padding: 10px;
  margin-top: 20px;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
  position: relative;
}

.basic-info-block > li.feature-item::before {
  content: "✨ 店舗の特徴";
  position: absolute;
  top: -12px;
  left: 20px;
  background: #ff6b6b;
  color: white;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.basic-info-block > li.feature-item strong {
  display: none; /* "店舗の特徴"ラベルを非表示 */
}

/* 特徴セクション内の見出し */
.basic-info-block > li.feature-item h5 {
  margin: 15px 5px;
  padding: 10px 10px;
  background: #ff6b6b;
  color: #fff;
  border-radius: 25px;
  text-align: center;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.basic-info-block > li.feature-item h5 span {
  font-weight: bold;
}

/* 特徴セクション内の説明文 */
.basic-info-block > li.feature-item p {
  background: rgba(255, 255, 255, 0.9);
  color: #444;
  line-height: 1.8;
}

/* レスポンシブデザイン */
@media (max-width: 600px) {
  body {
    padding: 10px;
    padding-top: 0px;
  }

  .basic-info-block {
    padding: 15px;
  }

  .basic-info-block > li {
    grid-template-columns: 80px 1fr;
    font-size: 0.9rem;
  }

  .basic-info-block > li.feature-item {
    margin-top: 15px;
    margin-right: -15px;
    margin-left: 0px;
  }

  .basic-info-block > li.feature-item::before {
    font-size: 0.8rem;
    padding: 4px 12px;
  }
}

.profile_referral_button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;

  height: 60px;
  background: #ff008c;
  color: #fff;
  border-radius: 80px;
  text-decoration: none;
  text-align: center;
  z-index: 999;
  padding: 3px 30px 3px 30px;
}

@media screen and (max-width: 834px) {
  .header-container.is-mobile-header-sticky {
    position: static !important;
    transform: none !important;
    top: auto !important;
  }

  /* フローティング状態のヘッダーを非表示 */
  .header-container.is-floating {
    display: none !important;
  }
}
