@charset "UTF-8";

/* =========================================
   GAIA Project Campaign Banner - Final Ver.
   File Name: campaign-muso.css
   ========================================= */

/* --- Base Container --- */
.gaia-campaign-banner {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  max-width: 800px;
  margin: 30px auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  color: #333;
  box-sizing: border-box;
}

.gaia-campaign-banner * {
  box-sizing: border-box;
}

/* --- Header Section --- */
.gaia-campaign-header {
  background: #b71c1c; /* ブランドカラー：ボルドー */
  color: #fff;
  padding: 15px 20px;
  text-align: center;
}

.campaign-label {
  display: inline-block;
  background: #d4af37; /* ゴールド */
  color: #fff;
  font-size: 0.8rem;
  padding: 2px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  font-weight: bold;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.campaign-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.3;
}

/* --- Body Section --- */
.gaia-campaign-body {
  padding: 20px 25px;
}

/* --- Impact Area (Discount & Date) --- */
.impact-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* 上下中央揃え */
  justify-content: space-between;
  margin-bottom: 25px;
  gap: 20px;
}

/* Discount Box Styles */
.discount-box {
  flex: 1 1 300px; /* 幅を確保 */
  background: #fff5f5;
  padding: 15px 10px;
  border-radius: 6px;
  border: 2px solid #b71c1c;
   
  /* 横並び設定 */
  display: flex;
  align-items: baseline; /* 文字のベースラインを揃える */
  justify-content: center;
  flex-wrap: wrap; /* 画面が狭いときは折り返す */
  column-gap: 8px; /* テキストと数字の間隔 */
}

.d-text {
  font-size: 1rem;
  color: #555;
  font-weight: bold;    /* 太字に変更 */
  white-space: nowrap; /* 途中で改行させない */
}

.d-rate {
  font-weight: bold;
  color: #b71c1c;
  line-height: 1;
  white-space: nowrap;
}

.d-rate .arrow {
  font-size: 1.2rem;
  color: #888;
  margin-right: 4px;
}

.d-rate .number {
  font-size: 3.5rem;
  letter-spacing: -0.05em;
}

.d-rate .unit {
  font-size: 1.5rem;
  margin-left: 2px;
}

/* Date Box Styles */
.date-box {
  flex: 1 1 280px;
  text-align: center;
}

.date-title {
  font-size: 0.9rem;
  font-weight: bold;
  color: #555;
  margin: 0;
  background: #eee;
  display: inline-block;
  padding: 4px 18px;
  border-radius: 15px;
}

.date-time {
  /* 日程を大きく強調 */
  font-size: 1.4rem; 
  font-weight: bold;
  color: #333;
  margin-top: 10px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.date-time .range {
  color: #ccc;
  margin: 0 8px;
  vertical-align: 2px;
  font-size: 0.8em;
}

.date-time .day {
  font-size: 0.7em; /* 数字に対して少し小さく */
  font-weight: normal;
  margin-left: 2px;
}

/* --- Condition Area --- */
.condition-area {
  border-top: 1px dashed #ccc;
  padding-top: 25px;
  margin-bottom: 25px;
}

.condition-head {
  font-size: 1rem;
  margin: 0 0 15px;
  color: #333;
  border-left: 5px solid #b71c1c;
  padding-left: 12px;
  line-height: 1.4;
}

.condition-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.condition-list li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* マーカー装飾 */
.marker {
  display: inline-block;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 4px;
  margin-right: 10px;
  color: #fff;
  font-weight: bold;
  vertical-align: 1px;
  line-height: 1;
  box-shadow: 0 2px 3px rgba(0,0,0,0.15);
}

/* 青色マーカー：条件（ユーザー希望によりグレーのまま） */
.marker.condition {
  background-color: #4c4948; 
}

/* 赤色マーカー：注意（ユーザー希望によりグレーのまま） */
.marker.alert {
  background-color: #4c4948;
}

.condition-list strong {
  color: #b71c1c;
  background: linear-gradient(transparent 65%, #ffecb3 65%);
  padding: 0 2px;
}

/* --- Note/Footer Area --- */
.note-area {
  background: #f8f9fa;
  padding: 18px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #666;
  border: 1px solid #eee;
}

.note-area dl {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.note-area dt {
  width: 100%;
  font-weight: bold;
  margin-bottom: 4px;
  color: #444;
  display: flex;
  align-items: center;
}

.note-area dt::before {
  content: "■";
  color: #ccc;
  font-size: 0.8em;
  margin-right: 6px;
}

.note-area dd {
  width: 100%;
  margin: 0 0 15px 0;
  line-height: 1.6;
  padding-left: 1.2em; /* dtのアイコン分インデント */
}

.note-area dd:last-child {
  margin-bottom: 0;
}

/* --- Mobile Responsive --- */
@media (max-width: 600px) {
  .gaia-campaign-banner {
    margin: 15px 10px;
    border-radius: 6px;
  }
   
  .campaign-title {
    font-size: 1.2rem;
  }

  /* 縦積みに変更 */
  .impact-area {
    flex-direction: column;
    gap: 20px;
  }
   
  .discount-box, 
  .date-box {
    width: 100%;
    flex: auto;
  }

  /* スマホでは数字を少し抑えめに */
  .d-rate .number {
    font-size: 3rem;
  }
   
  /* ▼ 日程サイズ拡大（ここだけ変更しています） */
  .date-time {
    font-size: 2.6rem; /* 2.2remから2.6remへ拡大 */
    line-height: 1.1;
    letter-spacing: -0.05em; /* 文字間を詰めて改行を防ぐ */
  }
  
  .date-time .day {
    font-size: 0.5em; /* バランス調整 */
  }
  
  .note-area {
    padding: 15px;
  }
}