/* ============================================
   追加CSS（旧: WordPress「追加CSS」で管理していたスタイル）
   テーマ Version 2.0 で統合
   ============================================ */

/* ============================================
   MV ファーストビュー即時アニメーション（JS不要）
   ============================================ */
@keyframes mvFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mv-animate {
  opacity: 0;
  animation: mvFadeInUp 0.8s ease-out forwards;
}
.mv-animate-delay {
  animation-delay: 0.2s;
}

/* SNSシェアブロック非表示 */
.sns-share-block { display: none; }

/* 予約ボタン line-height調整（正常化） */
.btn-reserve .link-btn { line-height: 1.4; height: auto; min-height: 56px; padding: 10px 24px; }


/* LINEボタン（緑色→薄緑に控えめ化） */
/* トップMV */
.mv-txt .mv-btn.btn-line .link-btn {
	background-color: #fafffa;
	border-color: rgb(7,181,59);
	color: #004400;
}
.mv-txt .mv-btn.btn-line .link-btn:hover {
	background-color: #ddffdd;
	border-color: rgb(7,181,59);
}
.mv-txt .mv-btn.btn-line .link-btn:hover,
.mv-txt .mv-btn.btn-line .link-btn:hover span,
.mv-txt .mv-btn.btn-line .link-btn:hover .txt,
.mv-txt .mv-btn.btn-line .link-btn:hover .sub-txt,
.mv-txt .mv-btn.btn-line .link-btn:hover .tx-small {
	color: #004400;
}

/* 画面下部 追従CTA */
#fix-cta .fix-content-list .btn-line a {
	background-color: #fafffa;
	border-color: rgb(7,181,59);
	color: #004400;
}
#fix-cta .fix-content-list .btn-line a:hover {
	background-color: #ddffdd;
	color: #004400;
}

/* フッター */
#footer .footer-contact .footer-contact-box .cv-list .btn-line a {
	background-color: #fafffa;
	border-color: rgb(7,181,59);
	color: #004400;
}
#footer .footer-contact .footer-contact-box .cv-list .btn-line a:hover {
	background-color: #ddffdd;
	color: #004400;
}

/* トップイントロボタン余白 */
.p-top-intro-btn {
	margin: 0px 0px 100px 0;
}

/* フラッシュアニメーションの定義 */
@keyframes flashAttention {
	0% { background-color: #fff; }
	50% { background-color: #fffccc; }
	100% { background-color: #fff; }
}

/* JavaScriptで付与するクラス */
#fix-cta.is-flashing {
	animation: flashAttention 0.8s ease-in-out 2;
}

/* ============================================
   プランセクション：スマホでタップ可能と分かるUI
   ============================================ */
@media screen and (max-width: 768px) {
  .p-top-plan-list li a {
    display: block;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
  }
  .p-top-plan-list li a:active {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  }
  .p-top-plan-list .item-txt {
    padding: 0 20px 20px;
  }
  /* 「詳しく見る →」テキスト表示 */
  .p-top-plan-list li a::after {
    content: "詳しく見る →";
    display: block;
    text-align: center;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #F091A7;
    border-radius: 0 0 10px 10px;
    letter-spacing: 0.08em;
  }
}

/* ============================================
   メディアセクション
   ============================================ */

.media-press-section {
	padding: 60px 20px;
	background-color: #fcfdfd;
}

.media-press-inner {
	max-width: 1100px;
	margin: 0 auto;
}

/* グリッドレイアウト */
.media-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
}

/* カードデザイン */
.media-card {
	background: #fff;
	border: 1px solid #eef5f5;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(90, 185, 189, 0.08);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease;
}

.media-card:hover {
	transform: translateY(-5px);
}

/* 画像エリア */
.media-thumb {
	height: 180px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	border-bottom: 1px solid #f0f6f6;
}

.media-thumb img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* 記事切り抜き用 */
.media-thumb.is-clip img {
	border: 1px solid #eee;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 画像なし時のプレースホルダー */
.media-thumb.no-image {
	background: linear-gradient(135deg, #f0fbfb 0%, #e6f7f7 100%);
	color: #3ABFBE;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 20px;
	letter-spacing: 0.15em;
}

.media-thumb.no-image .no-image-text {
	border: 2px solid rgba(58, 191, 190, 0.4);
	padding: 8px 18px;
	border-radius: 6px;
}

/* テキストエリア */
.media-info {
	padding: 25px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.media-tag {
	align-self: flex-start;
	font-size: 10px;
	font-weight: bold;
	color: #fff;
	background: #5ab9bd;
	padding: 2px 12px;
	border-radius: 20px;
	margin-bottom: 12px;
}

.media-date {
	font-size: 12px;
	color: #aaa;
	margin-bottom: 8px;
}

.media-headline {
	font-size: 18px;
	color: #333;
	line-height: 1.5;
	margin: 0 0 12px 0;
	font-weight: 600;
}

.media-caption {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 15px;
}

.media-more {
	margin-top: auto;
	font-size: 13px;
	color: #5ab9bd;
	font-weight: bold;
	text-decoration: none;
	border-bottom: 1.5px solid #5ab9bd;
	align-self: flex-start;
}

/* スマホ用 */
@media (max-width: 480px) {
	.media-grid {
		grid-template-columns: 1fr;
	}
	.media-headline {
		font-size: 17px;
	}
}

/* ============================================
   キーワード検索フォーム
   ============================================ */
.column-search-box__search {
  margin-top: 20px;
}
.column-search-box__search .ttl {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
.column-search-form {
  width: 100%;
  box-sizing: border-box;
}
.search-input-wrap {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  max-width: 100%;
}
.search-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 14px;
  border: none;
  outline: none;
  font-size: 14px;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.search-input::placeholder {
  color: #aaa;
}
.search-submit {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  padding: 10px 0;
  border: none;
  background: #b8860b;
  color: #fff;
  cursor: pointer;
  transition: background .3s ease;
}
.search-submit:hover {
  background: #9a7209;
}
.sidebar_search {
  margin-top: 30px;
}
.sidebar_search .column-search-form {
  margin-top: 10px;
}

/* サイドバーはみ出し防止（2カラムレイアウト補助） */
.content-row #main-column {
  min-width: 0;
  box-sizing: border-box;
}
.content-row #side-column {
  box-sizing: border-box;
  overflow: hidden;
}
#side-column,
.nav-sticky {
  max-width: 100%;
  box-sizing: border-box;
}
.sidebar_keyword,
.sidebar_category,
.sidebar_search,
.sidebar_cta {
  max-width: 100%;
  overflow: hidden;
  word-break: break-all;
}
/* 記事本文の幅制限 */
.sigle-article_body {
  max-width: 80rem;
}

/* ============================================
   トップページ 無料相談CTAセクション
   ============================================ */
.top-reserve-section {
  padding: 70px 20px;
  background: linear-gradient(135deg, #fff5f7 0%, #fde8ed 50%, #fff5f7 100%);
}
.top-reserve-section .sec-heading {
  margin-bottom: 40px;
}
.top-reserve-btns {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.top-reserve-btn {
  flex: 1;
  max-width: 360px;
}
.top-reserve-btn.btn-reserve .reserve-link {
  background: #F091A7;
  color: #fff;
  box-shadow: 0 6px 20px rgba(240, 145, 167, 0.4);
}
.top-reserve-btn.btn-reserve .reserve-link:hover {
  background: #FC7796;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(252, 119, 150, 0.5);
}
.top-reserve-btn.btn-reserve .reserve-link .txt,
.top-reserve-btn.btn-reserve .reserve-link .sub-txt {
  color: #fff;
}
.top-reserve-btn.btn-shindan .reserve-link {
  background: #fff;
  color: #333;
  border: 2px solid #3ABFBE;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.top-reserve-btn.btn-shindan .reserve-link:hover {
  background: #f0fafa;
  color: #333;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.top-reserve-btn.btn-shindan .reserve-link .txt,
.top-reserve-btn.btn-shindan .reserve-link .sub-txt {
  color: #333;
}
.top-reserve-btn .reserve-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  min-height: 110px;
  font-family: "Montserrat", sans-serif;
}
.top-reserve-btn .reserve-link .sub-txt {
  font-size: 12px;
  margin-bottom: 6px;
  opacity: 0.85;
}
.top-reserve-btn .reserve-link .txt {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
@media (max-width: 600px) {
  .top-reserve-section {
    padding: 50px 15px;
  }
  .top-reserve-btns {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .top-reserve-btn {
    max-width: 100%;
    width: 100%;
  }
  .top-reserve-btn .reserve-link .txt {
    font-size: 17px;
  }
}


/* ============================================
   記事内CTA（自動挿入）
   ============================================ */
.inline-cta {
  margin: 40px 0;
  padding: 30px 25px;
  background: linear-gradient(135deg, #fff5f7 0%, #fde8ed 100%);
  border: 2px solid #F091A7;
  border-radius: 12px;
  text-align: center;
}
.inline-cta__lead {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}
.inline-cta__btns {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.inline-cta__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  max-width: 280px;
  padding: 18px 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 700;
}
.inline-cta__btn.is-reserve {
  background: #F091A7;
  color: #fff;
  box-shadow: 0 4px 12px rgba(240, 145, 167, 0.3);
}
.inline-cta__btn.is-reserve:hover {
  background: #FC7796;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(252, 119, 150, 0.4);
}
.inline-cta__btn.is-shindan {
  background: #f0fafa;
  color: #1a5c5c;
  border: 2px solid #3ABFBE;
}
.inline-cta__btn.is-shindan:hover {
  background: #d6f2f2;
  color: #1a5c5c;
  transform: translateY(-2px);
}
.inline-cta__sub {
  font-size: 11px;
  font-weight: 400;
  margin-bottom: 4px;
}
.inline-cta__txt {
  font-size: 16px;
}
@media (max-width: 600px) {
  .inline-cta {
    margin: 30px 0;
    padding: 20px 15px;
  }
  .inline-cta__lead {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .inline-cta__btns {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .inline-cta__btn {
    max-width: 100%;
    width: 100%;
    padding: 12px 15px;
  }
  .inline-cta__sub {
    font-size: 10px;
    margin-bottom: 2px;
  }
  .inline-cta__txt {
    font-size: 14px;
  }
}

/* ============================================
   サイドバーCTA
   ============================================ */
.sidebar_cta {
  margin-bottom: 30px;
}
.sidebar-cta-box {
  background: linear-gradient(135deg, #fff5f7 0%, #fde8ed 100%);
  border: 2px solid #F091A7;
  border-radius: 10px;
  padding: 20px 15px;
  text-align: center;
}
.sidebar-cta-lead {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}
.sidebar-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 700;
  margin-bottom: 10px;
}
.sidebar-cta-btn:last-child {
  margin-bottom: 0;
}
.sidebar-cta-btn.is-reserve {
  background: #F091A7;
  color: #fff;
  box-shadow: 0 3px 8px rgba(240, 145, 167, 0.25);
}
.sidebar-cta-btn.is-reserve:hover {
  background: #FC7796;
  color: #fff;
  transform: translateY(-1px);
}
.sidebar-cta-btn.is-shindan {
  background: #f0fafa;
  color: #1a5c5c;
  border: 2px solid #3ABFBE;
}
.sidebar-cta-btn.is-shindan:hover {
  background: #d6f2f2;
  color: #1a5c5c;
}
.sidebar-cta-sub {
  font-size: 10px;
  font-weight: 400;
  margin-bottom: 3px;
}
.sidebar-cta-txt {
  font-size: 14px;
}

/* ============================================
   コラム一覧ページCTAカード
   ============================================ */
.list-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
  padding: 25px 20px;
  background: linear-gradient(135deg, #fff5f7 0%, #fde8ed 100%);
  border: 2px solid #F091A7;
  border-radius: 12px;
  text-align: center;
  box-sizing: border-box;
}
.list-cta-lead {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
}
.list-cta-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
}
.list-cta-btn.is-reserve {
  background: #F091A7;
  color: #fff;
  box-shadow: 0 3px 10px rgba(240, 145, 167, 0.3);
}
.list-cta-btn.is-reserve:hover {
  background: #FC7796;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(252, 119, 150, 0.4);
}

/* ============================================
   記事カード 抜粋文
   ============================================ */
.entry-excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   ユーティリティ: 改行禁止
   カスタマイザー入力時に <span class="nowrap">テキスト</span> で使用
   ============================================ */
.nowrap {
  white-space: nowrap;
}

/* ============================================
   キャンペーンバナー（MV内）
   ============================================ */
.mv-campaign-banner {
  display: block;
  max-width: 100%;
  margin: 0 auto 2.4rem;
  border-radius: 1.2rem;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 16px rgba(240, 145, 167, 0.2);
}
.mv-campaign-banner:hover {
  opacity: 0.88;
  transform: scale(1.02);
}
.mv-campaign-banner img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 1180px) {
  .mv-campaign-banner {
    border-radius: 1rem;
    margin: 2rem auto 2rem;
  }
}
@media screen and (max-width: 768px) {
  .mv-campaign-banner {
    border-radius: 0.8rem;
    margin: 1.6rem 0;
  }
}

/* ============================================
   キャンペーン詳細セクション
   ============================================ */
.top-campaign-section {
  background-color: #FFF0ED;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.campaign-content {
  max-width: 800px;
  margin: 0 auto;
}

/* ヒーロー画像 */
.campaign-hero-image {
  margin-bottom: 4rem;
  text-align: center;
}
.campaign-hero-image img {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 0 auto;
  border-radius: 1.6rem;
}

/* 特典カード */
.campaign-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}
.campaign-benefit-card {
  background: #fff;
  border: 2px solid #F091A7;
  border-radius: 1.6rem;
  padding: 2.4rem 2rem;
  text-align: center;
  position: relative;
  overflow: visible;
}

/* ラベル（特典1, 特典2） */
.campaign-benefit-label {
  display: inline-block;
  background-color: #A5A041;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 0.5rem 2.4rem;
  border-radius: 4rem;
  position: absolute;
  top: -1.4rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  letter-spacing: 0.1em;
}

/* 説明文 */
.campaign-benefit-desc {
  font-size: 1.6rem;
  font-weight: 600;
  color: #333;
  line-height: 1.6;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* ハイライト数字 */
.campaign-benefit-highlight {
  font-size: 4.2rem;
  font-weight: 900;
  color: #E8546B;
  line-height: 1.2;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  letter-spacing: 0.02em;
}

/* 情報テーブル */
.campaign-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 4rem;
  font-size: 1.5rem;
  line-height: 1.7;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #ddd;
}
.campaign-info-table tr + tr {
  border-top: 1px solid #ddd;
}
.campaign-info-table th {
  background-color: #A5A041;
  color: #fff;
  font-weight: 700;
  padding: 1.6rem 2rem;
  white-space: nowrap;
  width: 14rem;
  text-align: center;
  vertical-align: middle;
  font-size: 1.4rem;
}
.campaign-info-table td {
  padding: 1.6rem 2.4rem;
  color: #333;
  vertical-align: middle;
  text-align: center;
}

/* CTAボタン */
.campaign-cta {
  text-align: center;
}
.campaign-cta-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #F091A7;
  border: 2px solid #F091A7;
  color: #fff;
  padding: 2rem 6rem;
  border-radius: 8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  min-width: 360px;
  box-shadow: 0 6px 20px rgba(240, 145, 167, 0.4);
}
.campaign-cta-btn:hover {
  background: #FC7796;
  border-color: #FC7796;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(252, 119, 150, 0.5);
}
.campaign-cta-sub {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: flex-end;
  line-height: 1.2;
}
.campaign-cta-sub::before,
.campaign-cta-sub::after {
  content: '';
  width: 1px;
  height: 14px;
  background-color: #fff;
}
.campaign-cta-sub::before {
  margin-right: 8px;
  transform: rotate(-30deg);
}
.campaign-cta-sub::after {
  margin-left: 8px;
  transform: rotate(30deg);
}
.campaign-cta-main {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.campaign-cta-btn .btn-arw {
  background-color: #fff;
}
.campaign-cta-btn .btn-arw svg {
  fill: #F091A7;
}
.campaign-cta-btn .btn-arw:before {
  background: #FC7796;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .top-campaign-section {
    padding: 5rem 0;
  }
  .campaign-content {
    padding: 0 2rem;
  }
  .campaign-hero-image {
    margin-bottom: 3rem;
  }
  .campaign-hero-image img {
    border-radius: 1rem;
  }
  .campaign-benefits {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    margin-bottom: 3rem;
  }
  .campaign-benefit-highlight {
    font-size: 3.2rem;
  }
  .campaign-info-table {
    font-size: 1.3rem;
    margin-bottom: 3rem;
  }
  .campaign-info-table th {
    display: block;
    width: 100%;
    padding: 1rem 1.6rem;
    font-size: 1.3rem;
  }
  .campaign-info-table td {
    display: block;
    padding: 1.2rem 1.6rem;
  }
  .campaign-cta-btn {
    min-width: auto;
    width: 100%;
    max-width: 360px;
    padding: 1.8rem 3rem;
  }
  .campaign-cta-main {
    font-size: 1.8rem;
  }
}

/* ============================================
   キャンペーンポップアップ
   ============================================ */
.campaign-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.campaign-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}
.campaign-popup-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  width: 500px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.4s ease;
}
.campaign-popup-overlay.show .campaign-popup-content {
  transform: scale(1);
}
.campaign-popup-content img {
  width: 100%;
  height: auto;
  display: block;
}
.campaign-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.campaign-popup-close:hover {
  background: rgba(0, 0, 0, 0.8);
}
@media (max-width: 767px) {
  .campaign-popup-content {
    width: 85%;
  }
}

/* ============================================
   トップページ MV直下 テキスト帯状キャンペーンリンク
   ============================================ */
/* ============================================
   トップページ MV直下 テキスト帯状キャンペーンリンク
   ============================================ */
.p-top-campaign-bar {
  width: 100%;
  position: relative;
  z-index: 10;
  overflow: hidden;
  transition: background-color 0.3s ease, background-image 0.3s ease, box-shadow 0.3s ease;
}

.p-top-campaign-bar.has-shadow {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.p-top-campaign-bar .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.p-top-campaign-bar .campaign-bar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1.4;
  letter-spacing: 0.04em;
  transition: color 0.3s ease, transform 0.2s ease;
  width: 100%;
}

.p-top-campaign-bar .campaign-bar-badge {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  margin-right: 1.2rem;
  flex-shrink: 0;
  letter-spacing: 0.05em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
  text-shadow: none !important;
}

/* 脈動（パルス）キーフレーム */
@keyframes badgePulseKeyframe {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
.p-top-campaign-bar .campaign-bar-badge.is-pulse {
  animation: badgePulseKeyframe 2.5s infinite ease-in-out;
}

.p-top-campaign-bar:hover .campaign-bar-badge {
  transform: scale(1.08);
}

.p-top-campaign-bar .campaign-bar-text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-top-campaign-bar .campaign-bar-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.p-top-campaign-bar .campaign-bar-arrow svg {
  stroke: currentColor;
  width: 18px;
  height: 18px;
  display: block;
}
.p-top-campaign-bar .campaign-bar-arrow .arrow-emoji {
  font-style: normal;
  display: inline-block;
}

/* 最後尾アイコン アニメーション定義 */
/* 1. スライド（ホバー時右移動） */
.p-top-campaign-bar:hover .campaign-bar-arrow.anim-slide {
  transform: translateX(6px);
}

/* 2. 常時横バウンス（ゆらゆら動く） */
@keyframes arrowBounceKeyframe {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}
.p-top-campaign-bar .campaign-bar-arrow.anim-bounce {
  animation: arrowBounceKeyframe 1.6s infinite ease-in-out;
}

/* 3. 脈動（拡大縮小） */
@keyframes arrowPulseKeyframe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
}
.p-top-campaign-bar .campaign-bar-arrow.anim-pulse {
  animation: arrowPulseKeyframe 1.8s infinite ease-in-out;
}

/* 4. なし */
.p-top-campaign-bar:hover .campaign-bar-arrow.anim-none {
  transform: none;
}

/* 光沢（シマー）流動アニメーション */
@keyframes campaignShimmerKeyframe {
  0% {
    transform: translateX(-100%) rotate(25deg);
  }
  20% {
    transform: translateX(250%) rotate(25deg);
  }
  100% {
    transform: translateX(250%) rotate(25deg);
  }
}
.p-top-campaign-bar .campaign-bar-shimmer-effect {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
  animation: campaignShimmerKeyframe 4.5s infinite ease-in-out;
}

/* レスポンシブ調整（スマホ） */
@media screen and (max-width: 768px) {
  .p-top-campaign-bar .inner {
    padding: 0 1rem;
  }
  .p-top-campaign-bar .campaign-bar-badge {
    font-size: 1.0rem;
    padding: 0.15rem 0.6rem;
    margin-right: 0.8rem;
  }
}
@media screen and (max-width: 480px) {
  .p-top-campaign-bar .campaign-bar-link {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 0.4rem;
  }
  .p-top-campaign-bar .campaign-bar-badge {
    margin-right: 0;
  }
  .p-top-campaign-bar .campaign-bar-text {
    white-space: normal;
  }
}

