/* --- FV全体 --- */
.fv {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  max-width: 1080px;
  width: 88%;
  margin: 0px auto;
  padding-top: 112px;
}

.fv .fv-img {
  max-width: 580px;
  height: auto;
}

.fv .fv-img video {
  width: 100%;
  height: auto;
  border-radius: 16px;
}
/* 動画エリアの背景設定 */
.video-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff; 
}
/* PC用のポスター画像設定 */
@media (min-width: 769px) {
    .video-bg {
        background-image: url('<?php echo get_template_directory_uri(); ?>/src/anni/letsgomrcynd.jpg');
    }
}

/* スマホ用のポスター画像設定 */
@media (max-width: 768px) {
    .video-bg {
        background-image: url('<?php echo get_template_directory_uri(); ?>/src/anni/letsgomrcynd-sp.jpg');
    }
}

.fv .cta-btn {
  margin-top: 16px;
}

/* --- FVテキストエリア --- */
.fv-text .fv-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

/* FVコンテンツ 1段目 (決済手数料など) */
.fv-contents .fv-content-first {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 8px;
  gap: 12px;
}

.fv-contents .fv-content-first .feature {
  position: relative;
  display: inline-block;
  padding: 12px 14px;
  min-width: 120px;
  max-width: 100%;
  background: #f6d019;
  border-radius: 14px;
}

.fv-contents .fv-content-first .feature h2 {
  line-height: 140%;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
}

.fv-contents .fv-content-first .feature:before {
  content: "";
  position: absolute;
  top: 50%;
  right: -24px;
  margin-top: -12px;
  border: 15px solid transparent;
  border-left: 15px solid #f6d019;
}

.fv-contents .fv-content-first .box .text-num {
  font-size: 96px;
  letter-spacing: -0.2rem;
  font-weight: 800;
  line-height: 1;
}

.fv-contents .fv-content-first .box .text-num span {
  font-size: 40px;
  margin-left: 6px;
  vertical-align: baseline;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0rem;
  font-size: 48px;
}

/* FVコンテンツ 2段目 (初期・月額・端末など) */
.fv-contents .fv-content-second {
  display: flex;
  justify-content: flex-start;
  gap: 28px;
  margin-top: 4px;
}

.fv-contents .fv-content-second .box .title {
  display: inline-block;
  position: relative;
  font-size: 20px;
  font-weight: 700;
  padding-bottom: 4px;
}

.fv-contents .fv-content-second .box .title::after {
  height: 3px;
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

/* 各項目の下線カラー */
.fv-contents .fv-content-second .box.initial .title::after { background: #4d79ff; }
.fv-contents .fv-content-second .box.commission .title::after { background: linear-gradient(90deg, #ff4b36, #f6d019, #5186ec); }
.fv-contents .fv-content-second .box.monthly .title::after { background: #FF4B36; }
.fv-contents .fv-content-second .box.terminal .title::after { background: #f6d019; }
.fv-contents .fv-content-second .box.transfer .title::after { background: #17B4CC; }

/* 2段目共通のテキストサイズ設定 */
.fv-contents .fv-content-second .box.monthly .title,
.fv-contents .fv-content-second .box.terminal .title,
.fv-contents .fv-content-second .box.transfer .title,
.fv-contents .fv-content-second .box.initial .title {
  font-size: 18px;
  letter-spacing: 0.1rem;
}

.fv-contents .fv-content-second .box {
  gap: 4px;
  justify-content: center;
  text-align: center;
}

.fv-contents .fv-content-second .box .text-num {
  font-weight: 800;
  font-size: 72px;
  margin-top: 2px;
  letter-spacing: -0.03rem;
  line-height: 1;
}

.fv-contents .fv-content-second .box .text-num span {
  font-size: 24px;
}

.fv-contents .fv-content-second .box .text-num .yenmark {
  letter-spacing: 0;
}

/* --- レスポンシブ (1280px) --- */
@media (max-width: 1280px) {
  .fv .fv-img { max-width: 540px; }
  .fv .cta-btn.tocontact { width: 420px; height: 72px; font-size: 20px; }
  .fv-text .fv-title { font-size: 32px; }
}

/* --- レスポンシブ (1200px / 1140px) --- */
@media (max-width: 1200px) {
  .fv-contents .fv-content-first .feature h2 { font-size: 18px; }
  .fv-contents .fv-content-first .box .text-num { font-size: 88px; }
}
@media (max-width: 1140px) {
  .fv-contents .fv-content-first .feature h2 { font-size: 16px; }
}

/* --- レスポンシブ (1060px) --- */
@media (max-width: 1060px) {
  .fv .cta-btn.tocontact { width: 380px; height: 68px; font-size: 18px; margin-top: 8px; }
  .fv-text .fv-title { font-size: 24px; }
  .fv-contents .fv-content-first .box .title { font-size: 18px; }
  .fv-contents .fv-content-first .box .text-num { font-size: 88px; }
  .fv-contents .fv-content-first .box .text-num span { font-size: 28px; }
  .fv-contents .fv-content-second { gap: 20px; }
  .fv-contents .fv-content-second .box.monthly .title,
  .fv-contents .fv-content-second .box.terminal .title,
  .fv-contents .fv-content-second .box.transfer .title { font-size: 16px; }
}

/* --- レスポンシブ (980px) --- */
@media (max-width: 980px) {
  .fv { padding-top: 132px; }
  .fv .fv-img { max-width: 500px; }
  .fv .cta-btn.tocontact { width: 340px; height: 68px; font-size: 18px; margin-top: 8px; }
  .fv-contents .fv-content-first { margin-top: 16px; }
  .fv-contents .fv-content-first .feature { border-radius: 10px; }
  .fv-contents .fv-content-first .feature h2 { font-size: 14px; }
  .fv-contents .fv-content-first .box .text-num { font-size: 72px; }
  .fv-contents .fv-content-first .box .text-num span { font-size: 28px; }
  .fv-contents .fv-content-second { gap: 16px; }
  .fv-contents .fv-content-second .box.monthly .title,
  .fv-contents .fv-content-second .box.terminal .title,
  .fv-contents .fv-content-second .box.transfer .title,
  .fv-contents .fv-content-second .box.initial .title { font-size: 15px; }
}

/* --- レスポンシブ (768px) --- */
@media (max-width: 768px) {
  .fv { display: block; padding-top: 84px; }
  .fv .fv-img { max-width: 100%; margin-top: 32px; }
  .fv-text .fv-title { font-size: 32px; text-align: center; }
  .fv-contents .fv-content-first { justify-content: center; }
  .fv-contents .fv-content-first .feature h2 { font-size: 20px; }
  .fv-contents .fv-content-first .box .text-num { font-size: 96px; }
  .fv-contents .fv-content-first .box .text-num span { font-size: 48px; }
  .fv-contents .fv-content-second { justify-content: center; gap: 24px; margin-top: 12px; }
  .fv-contents .fv-content-second .box.monthly .title,
  .fv-contents .fv-content-second .box.terminal .title,
  .fv-contents .fv-content-second .box.transfer .title,
  .fv-contents .fv-content-second .box.initial .title { font-size: 18px; }
  .fv-contents .fv-content-second .box .text-num { font-size: 64px; }
  .fv-contents .fv-content-second .box .text-num span { font-size: 24px; }
  .fv .cta-btn.tocontact { width: 100%; max-width: 100%; height: 68px; font-size: 18px; margin-top: 8px; }
}

/* --- レスポンシブ (500px) --- */
@media (max-width: 500px) {
  .fv-text .fv-title { font-size: 20px; }
  .fv-contents { margin-top: 8px; }
  .fv-contents .fv-content-first { margin-top: 8px; }
  .fv-contents .fv-content-first .feature h2 { font-size: 13px; }
  .fv-contents .fv-content-first .box .text-num { font-size: 72px; margin-top: 8px; }
  .fv-contents .fv-content-first .box .text-num span { font-size: 28px; }
  .fv-contents .fv-content-second { gap: 16px; }
  .fv-contents .fv-content-second .box.monthly .title,
  .fv-contents .fv-content-second .box.terminal .title,
  .fv-contents .fv-content-second .box.transfer .title,
  .fv-contents .fv-content-second .box.initial .title { font-size: 14px; }
  .fv-contents .fv-content-second .box .title { font-size: 16px; }
  .fv-contents .fv-content-second .box .text-num { font-size: 56px; }
  .fv-contents .fv-content-second .box .text-num span { font-size: 20px; }
}