/* ==========================================================
   02-mv.css — メインビジュアル
   SP: 390px基準(モバイルファースト) / PC: 768px以上
   ========================================================== */

.mv {
  position: relative;
  overflow: hidden;
  background-color: var(--color-navy);
  background-image:
    radial-gradient(circle at 82% 0%, rgba(201, 162, 75, 0.18) 0%, rgba(201, 162, 75, 0) 65%),
    linear-gradient(to bottom, rgba(0, 11, 31, 0.82) 0%, rgba(0, 11, 31, 0.6) 45%, rgba(0, 11, 31, 0.92) 100%),
    url("../assets/709e03258829adbb2c79517c451655a57b92bd91.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* 中央の縦ゴールドライン(上) */
.mv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(201, 162, 75, 0) 0%, #c9a24b 100%);
}

/* 中央の縦ゴールドライン(下) */
.mv::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 48px;
  background: linear-gradient(to top, #c9a24b 0%, rgba(201, 162, 75, 0) 100%);
}

.mv__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 100vh;
  /* モバイルブラウザのUIバーを除いた実表示高さを優先 */
  min-height: 100svh;
  padding: calc(var(--header-height) + 40px) 24px 60px;
}

/* --- バッジ --- */
.mv__badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid var(--color-gold);
}

.mv__badge-text {
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 3.2px;
}

/* --- 見出し --- */
.mv__title {
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: 1.2px;
  text-align: center;
  text-shadow: 0 3px 20px rgba(0, 11, 31, 0.6);
}

.mv__title-line {
  display: block;
}

.mv__title-em {
  font-style: normal;
  background: linear-gradient(167deg, #e3c87e 0%, #c9a24b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* 透明な文字に親のtext-shadowが透けるため無効化 */
  text-shadow: none;
}

/* 読点はPCのみ表示 */
.mv__title-comma {
  display: none;
}

/* --- リード文 --- */
.mv__lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0.5px;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 11, 31, 0.7);
}

/* BeMENTAL説明文はPCのみ表示 */
.mv__lead-pc {
  display: none;
}

/* --- ボタン --- */
.mv__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 342px;
  margin-top: 8px;
}

.mv__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 1.2px;
  transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.mv__btn:hover {
  opacity: 0.85;
}

.mv__btn--primary {
  background: linear-gradient(135deg, #e3c87e 0%, #c9a24b 100%);
  box-shadow: 0 8px 24px rgba(201, 162, 75, 0.35);
  color: #0a1128;
}

.mv__btn--line {
  background: rgba(0, 11, 31, 0.35);
  border: 1px solid var(--color-gold);
  color: var(--color-white);
}

/* ホバーで色反転(金地×紺文字) */
.mv__btn--line:hover {
  opacity: 1;
  background: var(--color-gold);
  color: #0a1128;
}

.mv__btn--line:hover .mv__btn-icon {
  background-color: #0a1128;
}

.mv__btn-arrow {
  width: 15px;
  height: 11px;
}

/* LINEアイコン(マスク方式でホバー時に色を追従させる) */
.mv__btn-icon {
  width: 16.5px;
  height: 15.1px;
  background-color: var(--color-gold);
  -webkit-mask: url("../assets/3-986.svg") no-repeat center / contain;
  mask: url("../assets/3-986.svg") no-repeat center / contain;
  transition: background-color 0.3s ease;
}

/* ==========================================================
   PC (768px〜)
   ========================================================== */
@media (min-width: 768px) {
  .mv {
    background-image:
      radial-gradient(circle at 62% 0%, rgba(201, 162, 75, 0.16) 0%, rgba(201, 162, 75, 0) 60%),
      linear-gradient(to bottom, rgba(0, 11, 31, 0.82) 0%, rgba(0, 11, 31, 0.66) 45%, rgba(0, 11, 31, 0.9) 100%),
      url("../assets/709e03258829adbb2c79517c451655a57b92bd91.png");
  }

  .mv::before {
    height: 120px;
  }

  .mv::after {
    height: 90px;
  }

  .mv__inner {
    gap: 30px;
    padding: calc(var(--header-height) + 20px) 40px 80px;
  }

  .mv__badge {
    padding: 11px 18px;
  }

  .mv__badge-text {
    font-size: 18px;
    letter-spacing: 5.2px;
  }

  .mv__title {
    font-size: 62px;
    line-height: 111px;
    letter-spacing: 2px;
    text-shadow: 0 4px 30px rgba(0, 11, 31, 0.6);
  }

  .mv__title-comma {
    display: inline;
  }

  .mv__lead {
    font-size: 15px;
    line-height: 31.5px;
    letter-spacing: 0.6px;
    text-shadow: 0 2px 16px rgba(0, 11, 31, 0.7);
  }

  .mv__lead-pc {
    display: inline;
  }

  .mv__buttons {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    max-width: none;
    width: auto;
    margin-top: 10px;
  }

  .mv__btn {
    height: 62px;
    font-size: 16px;
    letter-spacing: 1.3px;
  }

  .mv__btn--primary {
    width: 280px;
  }

  .mv__btn--line {
    padding: 0 42px;
  }
}
