@charset "utf-8";
/* CSS Document */

/* --- キャンペーンティッカー設定 --- */
:root {
  --ticker-bg-color: #ff761b;      /* 全体の背景色 */
  --ticker-text-color: #ffffff;    /* メイン文字色 */
  --ticker-text-color2: #ff761b;    /* サービスエリア用メイン文字色 */
  --badge-bg-color: #ffffff;      /* 吹き出しの背景色 */
  --badge-text-color: #ff761b;    /* 吹き出し内の文字色 */
  --btn-bg-color: #ffdf4d;        /* ボタンの背景色 */
  --btn-text-color: #ff761b;      /* ボタン内の文字色 */
}

.campaign-ticker {
  background-color: var(--ticker-bg-color);
  width: 100%;
}

/* PC版：ティッカー(約55px) + ヘッダー(70px) = 約125px 分下げる */
.mv {
  margin-top: 125px; 
}

/* ティッカー内のリンクエリア */
.campaign-ticker__link {
  display: block;
  padding: 12px 10px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.campaign-ticker__link:hover {
  opacity: 0.9;
}

.campaign-ticker__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  max-width: 1060px;
  margin: 0 auto;
}

.campaign-ticker__inner2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  max-width: 1060px;
  margin: 20px auto -16px;
}

.campaign-ticker i { margin-right: 8px;}

/* 吹き出し（バッジ） */
.campaign-ticker__badge {
  background-color: var(--badge-bg-color);
  color: var(--badge-text-color);
  font-weight: bold;
  padding: 4px 12px;
  font-size: 14px;
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 2px;
}

/* 吹き出しの三角部分（PC用） */
.campaign-ticker__badge::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--badge-bg-color);
}

/* メインテキスト */
.campaign-ticker__text {
  color: var(--ticker-text-color);
  font-weight: bold;
  font-size: 18px;
  margin: 0;
  letter-spacing: 0.05em;
}

/* メインテキスト2 */
.campaign-ticker__text2 {
  color: var(--ticker-text-color2);
  font-weight: bold;
  font-size: 18px;
  margin: 0;
  letter-spacing: 0.05em;
}

/* ボタン形式 */
.campaign-ticker__btn {
  background-color: var(--btn-bg-color);
  color: var(--btn-text-color);
  font-weight: bold;
  padding: 6px 20px;
  border-radius: 25px;
  font-size: 14px;
  position: relative;
}

.campaign-ticker__btn::after {
  content: "▶";
  font-size: 10px;
  margin-left: 8px;
}

/* --- スマートフォン用レイアウト修正 (767px以下) --- */
@media screen and (max-width: 767px) {
	
  .mv {
    margin-top: 174px;
  }
	
  .campaign-ticker__inner {
    flex-direction: column; /* 3段組み */
    gap: 12px; /* 縦の隙間を少し広めに調整 */
  }

  .campaign-ticker__inner2 {
    flex-direction: column; /* 3段組み */
    gap: 12px; /* 縦の隙間を少し広めに調整 */
    margin: 20px auto 0px;
  }

  .campaign-ticker__badge {
    font-size: 13px;
    padding: 2px 10px;
    /* 三角を中央に配置するため relative を維持 */
  }

  /* スマホ版：三角を「右」から「真下中央」へ変更 */
  .campaign-ticker__badge::after {
    display: block; /* 非表示にせず表示させる */
    right: 50%; /* 横位置を中央に */
    top: 100%; /* 枠のすぐ下に配置 */
    transform: translateX(50%); /* 中央寄せの補正 */
    border-width: 10px 6px 0 6px; /* 下向きの三角（上を太く、左右を削る） */
    border-color: var(--badge-bg-color) transparent transparent transparent; /* 上側だけに色を付ける */
  }

  /* テキスト設定 */
  .u-sp-br::before {
    content: "\A";
    white-space: pre;
  }

  .campaign-ticker__text {
    font-size: 16px;
    text-align: center;
    line-height: 1.4;
    margin: 5px 0 0; /* 三角との間隔を微調整 */
  }

  .campaign-ticker__text2 {
    font-size: 16px;
    text-align: center;
    line-height: 1.4;
  }

  .campaign-ticker__btn {
    font-size: 13px;
    margin-top: -5pxl
    padding: 4px 30px;
  }
}