@charset "UTF-8";

/* =========================================================
   1. リセット & ベーススタイル
========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: #ffffff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  color: #222222;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  /* 画面を100vwに広げた時の、不要な横スクロールを防ぐおまじない */
  overflow-x: hidden; 
}
#vote-construction {
  width: 100%;
  max-width: 480px; /* スマホ時の全体幅制限 */
  margin: 0 auto;
  background-color: #ffffff;
  text-align: center;
  position: relative;
}
#vote-construction img {
  max-width: 100%;
  height: auto;
  font-size: 10px;
  color: #888;
}

/* =========================================================
   2. ファーストビュー (MV)
========================================================= */
#vote-construction .vote-mv {
  background: url('/contents/nikki/event/202608/images/mv_bg_sp.png') center top / cover no-repeat,
              linear-gradient(180deg, #64c2f7 0%, #a2daf9 50%, #e6f5ff 100%);
  padding: 40px 10px 24px;
}
#vote-construction .mv-title-area {
  margin: 0 auto 12px;
  width: 86%;
  max-width: 400px;
}
#vote-construction .mv-logo-area {
  text-align: center;
  margin-bottom: -15px;
  position: relative;
  z-index: 2;
}
#vote-construction .mv-logo-area img {
  width: 180px;
  height: auto;
  display: inline-block;
  transform: translateX(0px);
}
#vote-construction .mv-button-area {
  margin: 0 auto 8px;
  width: 84%;
  max-width: 380px;
}

/* =========================================================
   3. 投票ボタン & アニメーション
========================================================= */
@keyframes buttonShine {
  0% { left: -100%; }
  20%, 100% { left: 200%; }
}
@keyframes buttonPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 5px 0 #d93600, 0 8px 20px rgba(255, 42, 109, 0.35);
  }
  50% {
    transform: scale(1.015);
    box-shadow: 0 3px 0 #d93600, 0 12px 25px rgba(255, 42, 109, 0.5);
  }
}
#vote-construction .button-vote {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(90deg, #ff2a6d 0%, #ff6e00 50%, #ffa800 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  padding: 15px 34px 13px 10px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 5px 0 #d93600, 0 8px 20px rgba(255, 42, 109, 0.35);
  text-decoration: none;
  line-height: 1.2;
  font-family: "M PLUS Rounded 1", sans-serif;
  overflow: hidden;
  animation: buttonPulse 3s infinite ease-in-out;
  text-shadow: 0 1.5px 3px rgba(180, 40, 0, 0.5);
}
#vote-construction .button-vote .btn-inner-border {
  position: absolute;
  top: 2.5px; left: 2.5px; right: 2.5px; bottom: 2.5px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 48px;
  pointer-events: none;
}
#vote-construction .button-vote::before {
  content: '';
  position: absolute;
  top: -50%; left: -100%;
  width: 45%; height: 200%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(25deg);
  animation: buttonShine 3.5s infinite ease-in-out;
  pointer-events: none;
}
#vote-construction .button-vote::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 9px; height: 9px;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  z-index: 2;
  filter: drop-shadow(0 1px 1px rgba(180, 40, 0, 0.4));
}
#vote-construction .button-vote small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  margin-top: 3px;
  opacity: 0.95;
  font-family: "Noto Sans JP", sans-serif;
  text-shadow: none;
}

/* =========================================================
   4. 注意事項リンク & キャンペーンバナー
========================================================= */
#vote-construction .link-notes-area {
  text-align: center;
  padding: 14px 10px 4px;
  background: #ffffff;
}
#vote-construction .link-notes {
  display: inline-block;
  color: #0080cc;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

#vote-construction .campaign-banner {
  margin: 24px auto 16px;
  width: 85%;
  max-width: 340px;
}
#vote-construction .campaign-banner a {
  display: block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
#vote-construction .campaign-banner a:hover {
  opacity: 0.8;
}
#vote-construction .campaign-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.08);
}

/* =========================================================
   5. 概要 & かんたん3ステップ
========================================================= */
#vote-construction .about-section {
  padding: 12px 6px;
}
#vote-construction .about-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
  position: relative;
}
#vote-construction .chara-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}
#vote-construction .chara-left { margin-left: -12px; }
#vote-construction .chara-right { margin-right: -12px; }
#vote-construction .about-header_text {
  flex: 1;
  padding: 0 2px;
  text-align: center;
}
#vote-construction .about-title {
  font-size: 11.8px;
  color: #0066cc;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.5; /* 2行になったときに読みやすいように少し広げました */
  letter-spacing: -0.8px;
  font-family: "Noto Sans JP", sans-serif;
}
#vote-construction .about-header_text p {
  font-size: 9.5px;
  line-height: 1.6;
  margin: 0;
  color: #333333;
  letter-spacing: -0.4px;
}

/* 3ステップ */
#vote-construction .step-ttl {
  font-size: 13.5px;
  color: #0080cc;
  font-weight: 800;
  margin-bottom: 14px;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: -0.4px;
  white-space: nowrap;
}
#vote-construction .step-ttl span {
  color: #ff3366;
  font-size: 1.15em;
  font-weight: 900;
}
#vote-construction .step-cards {
  display: flex;
  gap: 4px;
  justify-content: space-between;
  align-items: stretch;
}
#vote-construction .step-card {
  background: #ffffff;
  border-radius: 10px;
  flex: 1;
  min-width: 0;
  padding: 26px 4px 10px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0; 
  transform: translateY(15px); 
  transition: opacity 0.5s ease, transform 0.5s ease;
}
#vote-construction .step-cards.is-show .step-card,
#vote-construction .step-card.is-show {
  opacity: 1;
  transform: translateY(0);
}
#vote-construction .step-cards.is-show .step-card:nth-child(1) { transition-delay: 0s; }
#vote-construction .step-cards.is-show .step-card:nth-child(2) { transition-delay: 0.15s; }
#vote-construction .step-cards.is-show .step-card:nth-child(3) { transition-delay: 0.3s; }

#vote-construction .step-cards .step-card:nth-child(1) { border: 1.5px solid #ff7593; }
#vote-construction .step-cards .step-card:nth-child(1) h4 { color: #ff3366; }
#vote-construction .step-cards .step-card:nth-child(1) .step-num { background: #ff3366; }

#vote-construction .step-cards .step-card:nth-child(2) { border: 1.5px solid #28c3a6; }
#vote-construction .step-cards .step-card:nth-child(2) h4 { color: #00b894; }
#vote-construction .step-cards .step-card:nth-child(2) .step-num { background: #00b894; }

#vote-construction .step-cards .step-card:nth-child(3) { border: 1.5px solid #ffb326; }
#vote-construction .step-cards .step-card:nth-child(3) h4 { color: #ff9900; }
#vote-construction .step-cards .step-card:nth-child(3) .step-num { background: #ffab00; }

#vote-construction .step-num {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 800;
  font-size: 9.5px;
  line-height: 16px;
  position: absolute;
  top: 5px;
  left: 5px;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}
#vote-construction .step-card h4 {
  font-size: 9.5px;
  font-weight: 700;
  margin: 0 0 2px;
  line-height: 1.3;
  min-height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
#vote-construction .step-img {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0;
  overflow: hidden;
}
#vote-construction .step-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
#vote-construction .step-card p {
  font-size: 8.5px;
  line-height: 1.4;
  margin: 2px 0 0;
  font-weight: 500;
  color: #333333;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: -0.3px;
  word-break: keep-all;
}
#vote-construction .step-card .highlight {
  color: #ff3366;
  font-weight: 700;
  display: block;
  margin-top: 2px;
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: -0.4px;
}
#vote-construction.is-limit .step-card .highlight {
  display: none;
}

/* =========================================================
   6. 注意事項エリア（共通構造）
========================================================= */
#vote-construction .campaign-notes {
  background: #f2f8fe;
  border: 1px solid #d3e9ff;
  border-radius: 14px;
  padding: 18px 12px;
  margin-top: 24px;
  text-align: left;
}
#vote-construction .notes-ttl {
  text-align: center;
  color: #0066cc;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 16px;
  border-bottom: 2px dashed #b3d9ff;
  padding-bottom: 12px;
}
#vote-construction .notes-item {
  margin-bottom: 14px;
}
#vote-construction .notes-item:last-child {
  margin-bottom: 0;
}
#vote-construction .notes-sub-ttl {
  font-size: 10.5px;
  color: #0052cc;
  font-weight: 800;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}
#vote-construction .notes-sub-ttl::before {
  content: '●';
  color: #1882ff;
  margin-right: 4px;
  font-size: 9px;
}
#vote-construction .notes-text {
  font-size: 9px;
  line-height: 1.6;
  color: #444444;
  padding-left: 13px;
}
#vote-construction .notes-text li {
  list-style: none;
  margin-bottom: 3px;
  text-indent: -1em;
  padding-left: 1em;
}
#vote-construction .notes-text li:last-child {
  margin-bottom: 0;
}

/* =========================================================
   7. 下部 CTA & スクロール追従ボタン
========================================================= */
#vote-construction .vote-button-block {
  padding: 18px 10px 80px;
}
#vote-construction .floating-vote-block {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 480px;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  padding: 8px 10px;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
}
#vote-construction .floating-vote-block.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}
#vote-construction .floating-vote-block .button-vote {
  font-size: 16px;
  padding: 12px 32px 10px 10px;
  margin: 0;
  width: 100%;
}
#vote-construction .floating-vote-block .button-vote small {
  font-size: 9px;
}

/* =========================================================
   8. PC表示用メディアクエリ (600px以上)
========================================================= */
@media screen and (min-width: 600px) {
  
  #vote-construction { 
    max-width: 960px; /* ここを960pxで止めておくことで、全体が左にズレるのを防ぎます */
    margin: 0 auto; 
  }
  
  /* ▼ 背景は画面の端から端まで(100vw)広げる安全な書き方 ▼ */
  #vote-construction .vote-mv {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%); /* 中央から左右に均等に広げる魔法 */
    /* 100% auto から cover に戻し、画面端に白枠ができないように完全に敷き詰めます */
    background: url('/contents/nikki/event/202608/images/mv_bg_pc.png') center top / cover no-repeat,
                linear-gradient(180deg, #64c2f7 0%, #a2daf9 50%, #e6f5ff 100%);
    padding: 60px 20px 48px;
  }
  
  /* ▼ パネルが大きくなれるように、コンテナの枠も広げます ▼ */
  #vote-construction .vote-mv_container {
    max-width: 960px; 
    margin: 0 auto;
  }

  /* ▼ 概要やステップなどの下部コンテンツ（ちょうどいい読みやすい幅に） ▼ */
  #vote-construction > div:not(.vote-mv):not(.floating-vote-block) {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* ▼ ロゴ (320pxキープ) & パネル被り解消の余白(0px) ▼ */
  #vote-construction .mv-logo-area {
    margin-bottom: 0px;
  }
  #vote-construction .mv-logo-area img {
    width: 320px;
  }

  /* ▼ SVGの白いパネル（ランキング枠）を大きく表示 ▼ */
  #vote-construction .mv-title-area { 
    width: 94%; 
    max-width: 820px; 
  }
  
  /* ▼ 投票ボタンもパネルに合わせて拡大 ▼ */
  #vote-construction .mv-button-area { 
    width: 80%; 
    max-width: 560px; 
  }
  #vote-construction .button-vote {
    font-size: 26px; 
    padding: 22px 42px 20px 15px;
    box-shadow: 0 6px 0 #d93600, 0 10px 25px rgba(255, 42, 109, 0.35);
  }
  #vote-construction .button-vote small { 
    font-size: 13px; 
    margin-top: 6px; 
  }
  
  /* --- 以下、既存のPC用スタイル --- */
  #vote-construction .link-notes-area { padding: 18px 10px 8px; }
  #vote-construction .link-notes { font-size: 15px; }
  
  #vote-construction .campaign-banner {
    margin: 32px auto 24px;
    width: 75%;
    max-width: 460px;
  }

  #vote-construction .about-section { padding: 20px 14px; }
  #vote-construction .about-header { margin-bottom: 32px; gap: 20px; }
  #vote-construction .about-title { font-size: 20px; margin-bottom: 12px; letter-spacing: -0.4px; }
  #vote-construction .chara-img { width: 110px; height: 110px; }
  #vote-construction .chara-left, #vote-construction .chara-right { margin: 0; }
  #vote-construction .about-header_text p { font-size: 15px; line-height: 1.7; }
  #vote-construction .step-ttl { font-size: 20px; margin-bottom: 22px; }
  #vote-construction .step-cards { gap: 8px; }
  #vote-construction .step-card { padding: 38px 12px 20px; border-radius: 14px; }
  #vote-construction .step-num { width: 22px; height: 22px; font-size: 12px; line-height: 22px; top: 7px; left: 7px; }
  #vote-construction .step-card h4 { font-size: 15px; min-height: 36px; letter-spacing: -0.2px; }
  #vote-construction .step-img { height: 95px; margin: 10px 0; }
  #vote-construction .step-card p { font-size: 13px; line-height: 1.55; }
  #vote-construction .step-card .highlight { font-size: 11.5px; margin-top: 4px; }
  
  #vote-construction .campaign-notes {
    padding: 28px 24px;
    border-radius: 18px;
    margin-top: 36px;
  }
  #vote-construction .notes-ttl { font-size: 18px; margin-bottom: 20px; padding-bottom: 14px; }
  #vote-construction .notes-item { margin-bottom: 20px; }
  #vote-construction .notes-sub-ttl { font-size: 14px; margin-bottom: 6px; }
  #vote-construction .notes-sub-ttl::before { font-size: 12px; margin-right: 6px; }
  #vote-construction .notes-text { font-size: 12.5px; line-height: 1.7; padding-left: 18px; }
  
  #vote-construction .floating-vote-block { max-width: 800px; }
}
