/* ========================================
FV
======================================== */

.fv {
  position: relative;
  overflow: hidden;
  margin-top: 90px;
}

/* 背景 */

.fv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ========================================
ラッパー
======================================== */

.wrapper {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px 50px;
}

/* ========================================
PC/SP切り替え
======================================== */

.pc {
  display: block;
}

.sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

/* ========================================
KV
======================================== */

.main-kv {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

/* ========================================
コンテンツ
======================================== */

.content {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .content {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
  }
}

/* ========================================
左
======================================== */

.campaign-area {
  flex: 1;
}

.campaign-box {
  width: 100%;
}

/* ========================================
右
======================================== */

.side-area {
  width: 320px;
  flex-shrink: 0;
}

.side-banner {
  width: 100%;
  aspect-ratio: 320 / 280;
  background-image: url("../img/video_cp/fv_03.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

@media screen and (max-width: 768px) {
  .side-banner {
    aspect-ratio: 320 / 100;
    background-image: url("../img/video_cp/fv_03_sp.png");
  }
}

/* ========================================
キャンペーン情報
======================================== */

.campaign-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

/* 左 */

.campaign-label {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
}

.campaign-date {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
}

.campaign-date-strong {
  font-size: 60px;
}

/* ボタン */

.campaign-buttons {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.campaign-btn {
  width: 320px;
  height: 88px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 21px;
  font-weight: 700;
  transition:
    background 0.3s,
    border 0.3s,
    transform 0.3s,
    color 0.3s;
}

.campaign-btn:hover {
  background: rgba(255, 255, 255, 1);
  border-color: #fff;
  color: rgb(0, 47, 255);
  transform: translateY(-3px);
}

/* ========================================
TROUBLE
======================================== */

.trouble {
  position: relative;
  overflow: hidden;
}

/* ========================================
INNER
======================================== */

.trouble-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px 0;
  position: relative;
  z-index: 2;
}

/* ========================================
タイトル
======================================== */

.trouble-title {
  text-align: center;
  font-size: 44px;
  font-weight: 700;
  color: #000;
  margin-bottom: 30px;
}

.trouble-title span {
  font-size: 74px;
  font-weight: 900;
}

/* ========================================
カード
======================================== */

.trouble-cards {
  display: flex;
  gap: 30px;
  position: relative;
  z-index: 3;
}

.trouble-card {
  position: relative;
  flex: 1;
  min-height: 220px;
  background: #fff;
  border: 6px solid #14b8f5;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.trouble-quote {
  position: absolute;
  top: -35px;
  left: 20px;
  font-size: 120px;
  font-weight: 900;
  color: #ffb400;
  line-height: 1;
}

.trouble-text {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.7;
  color: #000;
}

/* ========================================
解決エリア
======================================== */

.solution-area {
  position: relative;
  margin-top: -80px;
  background: #0066ff;
  padding: 180px 20px 100px;
  clip-path: polygon(0 0, 50% 18%, 100% 0, 100% 78%, 50% 100%, 0 78%);
}

.solution-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

/* ========================================
タイトル
======================================== */

.solution-title {
  font-size: 70px;
  font-weight: 900;
  color: #fff;
  line-height: 1.4;
}

.solution-line {
  width: 100%;
  max-width: 1100px;
  height: 15px;
  background: #ffb300;
  margin: 10px auto 40px;
}

/* ========================================
小テキスト
======================================== */

.solution-small {
  font-size: 50px;
  font-weight: 700;
  color: #fff;
}

/* ========================================
バナー
======================================== */

.solution-banner-wrap {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.solution-icon {
  position: absolute;
  left: -40px;
  top: -33px;
  width: 90px;
  z-index: 2;
}

.solution-banner {
  background: #ff403f;
  color: #fff;
  font-size: 70px;
  font-weight: 900;
  padding: 25px 50px;
  line-height: 1.2;
}

.solution-bottom {
  font-size: 50px;
  font-weight: 900;
  color: #fff;
}

/* ========================================
PLAN
======================================== */

.plan {
  width: 100%;
  padding: 100px 20px 60px;
}

.plan-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* タイトル */

.plan-title {
  text-align: center;
  font-size: 44px;
  font-weight: 900;
  color: #000;
  margin-bottom: 70px;
}

/* カード */

.plan-cards {
  width: 100%;
  display: flex;
  gap: 36px;
}

/* カード共通 */

.plan-card {
  position: relative;
  flex: 1;
  background: #fff;
  border-radius: 30px;
  padding: 30px 0 55px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* カラー */

.plan-card.basic {
  border: 6px solid #14b8f5;
}

.plan-card.silver {
  border: 6px solid #9d9d9d;
}

.plan-card.golden {
  border: 6px solid #f2a500;
}

/* おすすめ */

.plan-recommend {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff4343;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
}

/* プラン名 */

.plan-name {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 15px;
}

/* 価格 */

.plan-price-wrap {
  margin-bottom: 30px;
}

.plan-price-before {
  position: relative;
  display: inline-block;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 15px;
}

.plan-price-before::after {
  content: "";
  position: absolute;
  left: -5%;
  top: 50%;
  width: 110%;
  height: 3px;
  background: #000;
  transform: rotate(-4deg);
}

.plan-discount {
  font-size: 20px;
  font-weight: 900;
  color: #9f9f9f;
  margin-bottom: 0px;
}

.plan-price-after {
  font-size: 66px;
  font-weight: 900;
  color: #ff4343;
  line-height: 1;
}

.plan-price-tax {
  font-size: 16px;
  margin-top: 1rem;
}

/* 説明文 */

.plan-text {
  font-size: 22px;
  font-weight: 600;
  line-height: 2;
  margin-bottom: 25px;
}

/* 埋め込み動画 */
.plan-video {
  width: calc(100% - 50px);
  max-width: 500px;
  margin: 0 auto 30px;
  position: relative;
}

@media screen and (max-width: 768px) {
  .plan-video {
    width: 100%;
  }
}

.plan-video:before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9のアスペクト比を維持 */
}

.plan-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* リンク */

.plan-link {
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  color: #14b8f5;
}

.plan-link:hover {
  opacity: 0.7;
}

/* 注意事項 */

.plan-notes {
  margin-top: 70px;
  text-align: center;
}

.plan-note {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.8;
}

/* ========================================
WORKS
======================================== */

.works {
  padding: 40px 0 100px;
  overflow: visible;
}

.works-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* タイトル */

.works-title {
  text-align: center;
  font-size: 44px;
  font-weight: 900;
  margin-bottom: 70px;
}

/* ========================================
SWIPER
======================================== */

.works-swiper {
  width: 100%;
  overflow: hidden;
  padding: 20px 0 40px;
}

.swiper-wrapper {
  align-items: stretch;
}

.swiper-slide {
  padding: 20px 0;
  height: auto;
}

/* ========================================
CARD
======================================== */

.works-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 470px;
  background: #fff;
  border-radius: 26px;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 5px 5px 10px rgba(2, 2, 0, 0.1);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.works-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

/* 画像 */

.works-image-wrap {
  position: relative;
}

.works-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* カテゴリ */

.works-category {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #14b8f5;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 6px 15px;
  border-radius: 999px;
  border: 4px solid #fff;
}

/* テキスト */

.works-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px 34px 40px;
}

/* タイトル高さ固定 */

.works-name {
  min-height: 90px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.6;
  color: #000;
  margin-bottom: 10px;
}

/* 説明文高さ固定 */

.works-text {
  min-height: 130px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
  color: #000;
}

/* ========================================
SWIPER ARROW
======================================== */

.swiper-button-prev,
.swiper-button-next {
  color: #1163f0;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 32px;
  font-weight: 900;
}

/* ========================================
SP
======================================== */

@media screen and (max-width: 768px) {
  .works {
    padding: 80px 0;
  }

  .works-title {
    font-size: 42px;
    margin-bottom: 40px;
  }

  .works-swiper {
    padding: 0 20px 20px;
  }

  .works-image {
    height: 200px;
  }

  .works-category {
    font-size: 16px;
    padding: 8px 14px;
    border-width: 2px;
  }

  .works-content {
    padding: 20px;
  }

  .works-name {
    font-size: 22px;
  }

  .works-text {
    font-size: 18px;
  }

  .works-card {
    min-height: 460px;
  }

  .works-name {
    min-height: 70px;
  }

  .works-text {
    min-height: 90px;
  }
}

/* ========================================
SP
======================================== */

@media screen and (max-width: 768px) {
  .wrapper {
    padding: 20px 15px 40px;
  }

  .content {
    flex-direction: column;
  }

  .side-area {
    width: 100%;
  }

  .campaign-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .campaign-label {
    font-size: 22px;
  }

  .campaign-date {
    font-size: 24px;
  }

  .campaign-date-strong {
    font-size: 42px;
  }

  .campaign-buttons {
    flex-direction: column;
    width: 100%;
  }

  .campaign-btn {
    width: 100%;
    height: 70px;
    font-size: 20px;
  }

  .trouble-title {
    font-size: 30px;
  }

  .trouble-title span {
    font-size: 46px;
  }

  .trouble-cards {
    flex-direction: column;
  }

  .trouble-card {
    position: relative;
    flex: 1;
    min-height: 220px;
    background: #fff;
    border: 6px solid #14b8f5;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }

  .trouble-text {
    font-size: 28px;
  }

  .solution-area {
    padding: 130px 20px 80px;
  }

  .solution-title {
    font-size: 42px;
  }

  .solution-line {
    height: 10px;
  }

  .solution-small {
    font-size: 28px;
  }

  .solution-icon {
    width: 60px;
    left: -15px;
    top: -20px;
  }

  .solution-banner {
    font-size: 34px;
    padding: 20px 25px;
  }

  .solution-bottom {
    font-size: 30px;
  }

  .plan {
    padding: 70px 15px 90px;
  }

  .plan-title {
    font-size: 42px;
    margin-bottom: 40px;
  }

  .plan-cards {
    flex-direction: column;
    gap: 50px;
  }

  .plan-card {
    padding: 40px 25px 45px;
    border-width: 4px;
  }

  .plan-recommend {
    font-size: 18px;
    padding: 10px 20px;
  }

  .plan-name {
    font-size: 30px;
  }

  .plan-price-before {
    font-size: 40px;
  }

  .plan-price-after {
    font-size: 50px;
  }

  .plan-discount {
    font-size: 24px;
  }

  .plan-text {
    font-size: 18px;
  }

  .plan-link {
    font-size: 18px;
  }

  .plan-note {
    font-size: 16px;
    text-align: left;
  }
}

/* ========================================
CONTACT TITLE
======================================== */

.contact-title {
  position: relative;
  height: 200px;
  overflow: hidden;
}

/* 背景 */

.contact-title-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 内側 */

.contact-title-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* タイトル画像 */

.contact-title-image {
  width: 100%;
  max-width: 1000px;
}

/* ========================================
SP
======================================== */

@media screen and (max-width: 768px) {
  .contact-title {
    height: 120px;
  }

  .contact-title-image {
    width: 92%;
  }
}

#contact_cp .policy_block p {
  font-size: 0.8rem;
}
