
.ev {
  /* 色(既存サイトの配色に合わせています) */
  --ev-cream:  #f8f7ec;   /* .thanks の背景 */
  --ev-cream2: #fff7e5;   /* .news の背景 */
  --ev-gold:   #f0c56a;   /* .news の罫線 */
  --ev-gold-d: #C59E47;   /* フッター等のゴールド */
  --ev-gold-t: #a9791f;   /* 文字用の濃いゴールド */
  --ev-peach:  #F6C6A2;   /* .news_item タグの色 */
  --ev-dark:   #191919;   /* フッターの色 */
  --ev-text:   #222;
  --ev-line:   #e6e6e6;

  color: var(--ev-text);
  font-family: "小塚ゴシック Pro R", "Hiragino Sans", sans-serif;
  line-height: 1.9;
  font-size: 16px;
}
.ev *, .ev *::before, .ev *::after { box-sizing: border-box; }
.ev img { max-width: 100%; height: auto; }
.ev h1, .ev h2, .ev h3, .ev p { margin: 0; }
.ev p { margin-bottom: 1em; }
.ev a { text-decoration: none; }
.ev ul, .ev ol { list-style: none; margin: 0; padding: 0; }

/* 固定ヘッダーに隠れないように */
.ev section, .ev header { scroll-margin-top: 80px; }

.ev-tbd { color: var(--ev-gold-t); font-weight: bold; }

/* ===== レイアウト ===== */
.ev-section { padding: 80px 0; text-align: center; }
.ev-section--news {
  background: var(--ev-cream2);
  border-top: 3px solid var(--ev-gold);
  border-bottom: 3px solid var(--ev-gold);
}
.ev-section--cream { background: var(--ev-cream); }
.ev-section--dark  { background: var(--ev-dark); color: #fff; }
.ev-inner { width: 90%; max-width: 1000px; margin: 0 auto; }
.ev-inner--narrow { max-width: 760px; }

/* ===== 見出し(英字+日本語) ===== */
.ev-heading {
  margin-bottom: 40px !important;
  font-size: 27.2px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .05em;
}
.ev-heading small {
  display: block;
  margin-bottom: 6px;
  font-size: 12.8px;
  font-weight: 400;
  letter-spacing: .3em;
  color: var(--ev-gold-t);
}
.ev-heading::after {
  content: "";
  display: block;
  width: 40px; height: 3px;
  margin: 16px auto 0;
  background: var(--ev-gold);
}
.ev-heading--light small { color: var(--ev-gold); }
.ev-heading--light { color: #fff; }

/* 小見出し(参加方法のグループ名など) */
.ev-subheading {
  margin: 0 0 36px !important;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .1em;
}
.ev-subheading::before,
.ev-subheading::after {
  content: "";
  display: inline-block;
  width: 28px; height: 2px;
  margin: 0 14px;
  vertical-align: middle;
  background: var(--ev-gold);
}
.ev-steps + .ev-subheading { margin-top: 72px !important; }

/* ===== ヒーロー(既存の .thanks のカード風) ===== */
.ev-hero {
  max-width: 960px;
  margin: 30px auto;
  overflow: hidden;
  background: var(--ev-cream);
  border-radius: 12px;
  text-align: center;
  animation: ev-fade .9s ease both;
}
.ev-hero__img { display: block; width: 100%; }
.ev-hero__body { padding: 40px 20px 48px; }
.ev-eyebrow {
  margin-bottom: 12px !important;
  font-size: 13.6px;
  letter-spacing: .3em;
  color: var(--ev-gold-t);
}
.ev-hero__title {
  margin-bottom: 20px !important;
  font-size: clamp(35.2px, 7vw, 48px);
  line-height: 1.4;
  color: var(--ev-text);
}
.ev-hero__title span { color: var(--ev-gold-d); }
.ev-hero__sub {
  display: inline-block;
  margin-bottom: 16px !important;
  padding: 2px 24px;
  border: 1px solid var(--ev-text);
  font-size: 16.8px;
  letter-spacing: .2em;
}
.ev-hero__date { margin-bottom: 28px !important; }

/* ヒーロー内のキャンペーン名チップ */
.ev-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 20px !important;
}
.ev-chips li {
  padding: 4px 18px;
  background: var(--ev-dark);
  color: var(--ev-gold);
  border-radius: 20px;
  font-size: 14.4px;
  font-weight: bold;
  letter-spacing: .08em;
}

/* ===== ボタン ===== */
.ev-btn {
  display: inline-block;
  padding: 14px 44px;
  border: 2px solid var(--ev-dark);
  border-radius: 40px;
  font-weight: bold;
  letter-spacing: .08em;
  text-align: center;
  transition: .25s;
}
.ev-btn--primary { background: var(--ev-dark); color: #fff !important; }
.ev-btn--primary:hover { background: var(--ev-gold); border-color: var(--ev-gold); color: var(--ev-dark) !important; }
.ev-btn--outline { color: var(--ev-dark) !important; background: transparent; }
.ev-btn--outline:hover { background: var(--ev-dark); color: #fff !important; }
.ev-btn--gold { background: var(--ev-gold); border-color: var(--ev-gold); color: var(--ev-dark) !important; }
.ev-btn--gold:hover { background: #fff; border-color: #fff; }
.ev-btn--ghost { background: transparent; border-color: #fff; color: #fff !important; }
.ev-btn--ghost:hover { background: #fff; color: var(--ev-dark) !important; }
.ev-btn--large { padding: 18px 48px; font-size: 18px; }
.ev-btn--small { padding: 8px 28px; font-size: 14.4px; }

/* ===== 最新情報(既存の .news_list 風) ===== */
.ev-news { border-top: 1px solid var(--ev-line); background: #fff; text-align: left; }
.ev-news li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--ev-line);
  transition: background .2s;
}
.ev-news li:hover { background: #fff3d9; }
.ev-news time { font-size: 15px; }
.ev-news p { margin: 0; line-height: 1.6; flex: 1 1 240px; }
.ev-tag {
  display: inline-block;
  min-width: 4em;
  padding: 2px 10px;
  background: var(--ev-peach);
  border-radius: 14px;
  font-size: 14px;
  white-space: nowrap;
  text-align: center;
}

/* ===== 参加方法 ===== */
.ev-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ev-step {
  position: relative;
  padding: 44px 24px 28px;
  background: var(--ev-cream);
  border-radius: 12px;
}
.ev-step__num {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  padding: 2px 18px;
  background: var(--ev-dark);
  color: var(--ev-gold);
  font-weight: bold;
  letter-spacing: .1em;
  border-radius: 20px;
}
.ev-step h3 { margin-bottom: 8px !important; font-size: 17.6px; font-weight: 700; }
.ev-step p { margin: 0; font-size: 15.2px; }

/* ===== 開催概要 ===== */
.ev-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; text-align: left; }
.ev-table th, .ev-table td { padding: 18px 20px; border-bottom: 1px solid var(--ev-line); vertical-align: top; }
.ev-table th { width: 28%; background: var(--ev-cream2); font-weight: 700; white-space: nowrap; }
.ev-table tr:last-child th, .ev-table tr:last-child td { border-bottom: 0; }

/* ===== カード ===== */
.ev-cards { display: grid; gap: 28px; }
.ev-cards--1 { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
.ev-cards--1 .ev-card { text-align: center; }
.ev-cards--2 { grid-template-columns: repeat(2, 1fr); }
.ev-cards--2 .ev-card { text-align: center; }
.ev-cards--3 { grid-template-columns: repeat(3, 1fr); }
.ev-card {
  padding: 32px 28px;
  background: var(--ev-cream);
  border-radius: 12px;
  text-align: left;
}
.ev-card h3 { margin: 12px 0 !important; font-size: 18.4px; font-weight: 700; line-height: 1.5; }
.ev-card p { margin-bottom: 20px !important; font-size: 15.2px; }
.ev-label {
  display: inline-block;
  padding: 2px 16px;
  background: var(--ev-dark);
  color: #fff;
  font-size: 12.8px;
  letter-spacing: .1em;
  border-radius: 14px;
}
.ev-label--alt { background: var(--ev-peach); color: var(--ev-text); }
.ev-label--gold { background: var(--ev-gold); color: var(--ev-dark); font-weight: bold; }
.ev-card--prize { padding: 0 0 12px; overflow: hidden; background: #fff; }
.ev-card--prize h3, .ev-card--prize p { padding: 0 24px; }
.ev-card__img { height: 200px; background: center / cover no-repeat #ddd; }
.ev-card__img--blank { background: linear-gradient(135deg, var(--ev-cream), #e9e6d2); }

/* キャンペーン内容カード */
.ev-card--campaign {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 24px 32px;
  background: #fff;
  border-top: 4px solid var(--ev-gold);
  text-align: center;
}
.ev-card--campaign p { flex: 1; }
.ev-card__no {
  position: absolute;
  top: 10px; left: 16px;
  color: var(--ev-gold);
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: .05em;
}
.ev-card--hot { border-top-color: var(--ev-dark); box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }

/* ===== FAQ ===== */
.ev-faq { border-bottom: 1px solid var(--ev-line); text-align: left; }
.ev-faq summary {
  position: relative;
  padding: 20px 40px 20px 8px;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
}
.ev-faq summary::-webkit-details-marker { display: none; }
.ev-faq summary::after {
  content: "+";
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--ev-gold-d);
  font-size: 24px;
}
.ev-faq[open] summary::after { content: "−"; }
.ev-faq p { margin: 0; padding: 0 8px 20px; }

/* ===== 応募エリア ===== */
.ev-cta__text { margin-bottom: 28px !important; font-size: 17.6px; }
.ev-cta .ev-tbd { color: var(--ev-gold); }
.ev-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.ev-note { margin: 28px 0 0 !important; font-size: 13.6px; opacity: .8; }

/* ===== 注意事項 ===== */
.ev-notice { margin-bottom: 40px; font-size: 14.4px; text-align: left; }
.ev-notice li { position: relative; padding-left: 1.2em; }
.ev-notice li::before { content: "※"; position: absolute; left: 0; }
.ev-closing { font-weight: bold; font-size: 17.6px; }

/* ===== スマホ用 固定ボタン(PCでは非表示) ===== */
.ev-fixed-cta { display: none; }

@keyframes ev-fade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  .ev { padding-bottom: 60px; }
  .ev-section { padding: 60px 0; }
  .ev-steps, .ev-cards--2, .ev-cards--3 { grid-template-columns: 1fr; }
  .ev-steps { gap: 36px; }
  .ev-steps + .ev-subheading { margin-top: 56px !important; }
  .ev-table th, .ev-table td { display: block; width: 100%; }
  .ev-table th { border-bottom: 0; padding-bottom: 4px; white-space: normal; }
  .ev-table td { padding-top: 4px; }
  .ev-hero { margin: 16px auto; }
  .ev-btn--large { width: 100%; padding: 16px 20px; font-size: 16px; }
  .ev-fixed-cta {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 100;
    padding: 16px;
    background: var(--ev-dark);
    color: var(--ev-gold) !important;
    font-weight: bold;
    letter-spacing: .1em;
    text-align: center;
  }
}

/* ===== 景品リード文・賞ラベル ===== */
.ev-prize-lead { margin-bottom: 32px !important; }
.ev-card--prize .ev-label { margin: 16px 24px 0; }
.ev-card--prize h3 { margin-top: 8px !important; }
.ev-card--prize small { font-size: 13px; opacity: .8; }

/* ===== 応募条件リスト ===== */
.ev-conds { counter-reset: cond; margin: 0 0 20px; }
.ev-conds li { position: relative; margin-bottom: 10px; padding-left: 2.2em; font-size: 15.2px; line-height: 1.7; }
.ev-conds li::before {
  counter-increment: cond; content: counter(cond);
  position: absolute; left: 0; top: 2px;
  width: 1.6em; height: 1.6em; line-height: 1.6em;
  background: var(--ev-dark); color: var(--ev-gold);
  border-radius: 50%; font-size: 13px; font-weight: bold; text-align: center;
}
.ev-card u { text-decoration: none; background: linear-gradient(transparent 60%, var(--ev-gold) 60%); }

/* ===== 景品ビジュアル(コーヒー画像+賞品画像の重ね合わせ) ===== */
.ev-prize-visual {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #ddd center / cover no-repeat;   /* 画像はHTML側で指定 */
}
/* 賞品の後ろを明るくして、黒い賞品を目立たせる */
.ev-prize-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 85% 48%, rgba(255,247,229,.95), rgba(240,197,106,.35) 30%, rgba(240,197,106,0) 45%);
}
/* 賞品画像(背景透過PNG) */
.ev-prize-visual__item {
  position: absolute;
  right: -20%; bottom: 18%;
  max-width: 60%; max-height: 90%;
  width: auto; height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.6));
  transform: rotate(-3deg);
  transition: transform .4s;
}
.ev-card--prize:hover .ev-prize-visual__item { transform: rotate(0) scale(1.06); }

/* ===== 応募ボタンの受付前(押せない・横線入り) ===== */
.ev-btn--wait,
.ev-btn--wait:hover {
  pointer-events: none;            /* クリック不可 */
  cursor: not-allowed;
  opacity: .5;
  text-decoration: line-through !important;   /* 文字に横線 */
  text-decoration-thickness: 2px;
}
.ev-btn--outline.ev-btn--wait:hover { background: transparent; color: var(--ev-dark) !important; }
.ev-btn--gold.ev-btn--wait:hover { background: var(--ev-gold); border-color: var(--ev-gold); }

/* ===== 景品画像の「準備中」表示 ===== */
.ev-prize-visual__soon {
  position: absolute;
  right: 4%; bottom: 30%;
  width: 35%; height: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(25, 25, 25, .72);
  border: 2px dashed var(--ev-gold);
  border-radius: 10px;
  color: var(--ev-gold);
  font-size: 14px; font-weight: bold; letter-spacing: .1em; text-align: center;
}
