@charset "utf-8";

/*
==================================================
A/B Test MV Variants - RENTAL-1276
iCLUSTA+ Top Page Main Visual
Figma Design Rebuild
==================================================
*/

/* ----------------------------------------
   Common styles (shared by both variants)
---------------------------------------- */

.mv-ab {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.mv-ab *,
.mv-ab *::before,
.mv-ab *::after {
  box-sizing: border-box;
}

.mv-ab__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* CTA row: label + button pairs side by side */
.mv-ab__cta-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.mv-ab__cta-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mv-ab__cta-label {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.mv-ab__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 52px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  letter-spacing: 0.05em;
  line-height: 1;
  gap: 8px;
  white-space: nowrap;
}

.mv-ab__btn:hover {
  opacity: 0.88;
  transform: translateY(1px);
  text-decoration: none;
  color: inherit;
}

.mv-ab__btn--gray {
  background-color: #e0e0e0;
  color: #333;
  border: none;
  box-shadow: 0 2px 0 #c0c0c0;
}

.mv-ab__btn--gray:hover {
  color: #333;
  background-color: #d5d5d5;
  box-shadow: 0 1px 0 #c0c0c0;
}

.mv-ab__btn--gray .mv-ab__btn-arrow {
  width: 9px;
  height: 7px;
}

.mv-ab__btn--red {
  background-color: #e60033;
  color: #fff;
  border: none;
  box-shadow: 0 3px 0 #b80029;
}

.mv-ab__btn--red:hover {
  background-color: #d1002e;
  box-shadow: 0 2px 0 #b80029;
  color: #fff;
}

.mv-ab__btn--red .mv-ab__btn-arrow {
  width: 9px;
  height: 7px;
}

/* GMO Security badge - shared positioning */
/* コンテンツ幅(1000px)の右端基準で配置。画面が広くても右に逃げない */
.mv-ab__security {
  position: absolute;
  right: max(24px, calc(50% - 500px));
  bottom: 24px;
  z-index: 3;
}

.mv-ab__security img {
  width: 117px;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.mv-ab__security img:hover {
  opacity: 1;
}

/* 注釈テキスト（MV外、白背景上） */
.mv-ab__note {
  font-size: 11px;
  color: #888;
  line-height: 1.6;
  max-width: 1000px;
  margin: 12px auto 2rem;
  padding: 0 20px;
}

/* ----------------------------------------
   A design - Corporate appeal
   Background: gradient + gold geometric pattern
---------------------------------------- */

#contents section.mv-ab--a {
  background: url("/mv-renewal/img/bg-a.jpg") no-repeat center center / cover;
  padding: 48px 0 40px;
  margin-bottom: 0;
  min-height: 435px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Gold pattern - left side */
.mv-ab--a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  aspect-ratio: auto;
  background: url("/mv-renewal/img/bg-a-left.png") no-repeat left top / contain;
  pointer-events: none;
  z-index: 1;
  width: 50%;
}

/* Gold pattern - right side */
.mv-ab--a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  background: url("/mv-renewal/img/bg-a-right.png") no-repeat right top / contain;
  pointer-events: none;
  z-index: 1;
  width: 50%;
}

/* Label - italic skewed gradient text */
.mv-a__label {
  font-size: 42px;
  font-weight: 700;
  font-style: italic;
  transform: skewX(0deg) scaleY(0.99);
  background: linear-gradient(to right, #ffffff, #edd369);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* We need a wrapper for the text-shadow since gradient text can't have text-shadow */
.mv-a__label-wrap {
  display: inline-block;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
}

/* iCLUSTA+ heading */
.mv-a__title {
  font-family: "Lato", "Noto Sans JP", sans-serif;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 24px;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.6), 0 0 4px rgba(0, 0, 0, 0.4);
}

.mv-a__title ruby {
  ruby-align: center;
}

.mv-a__title rt {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  font-family: "Noto Sans JP", sans-serif;
}

/* Feature badges row */
.mv-a__badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 28px;
  flex-wrap: wrap;
  max-width: 720px;
}

.mv-a__badge {
  background: #fff;
  border: 2px solid #f47500;
  border-radius: 4px;
  padding: 16px;
  width: 200px;
  text-align: center;
  flex-shrink: 0;
}

.mv-a__badge-desc {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
  margin: 0 0 4px;
  white-space: nowrap;
}

.mv-a__badge-feature {
  font-size: 24px;
  font-weight: 700;
  font-style: italic;
  transform: skewX(0deg) scaleY(0.99);
  color: #f47500;
  line-height: 1.3;
  margin: 0;
  display: block;
}

/* CTA area for A */
.mv-ab--a .mv-ab__cta-row {
  margin-top: 0;
}

/* ----------------------------------------
   B design - Speed appeal
   Background: black + bg image + gold hue overlay
---------------------------------------- */

#contents section.mv-ab--b {
  background: #000;
  padding: 48px 0 40px;
  margin-bottom: 0;
  min-height: 435px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background image with opacity */
.mv-ab--b::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/mv-renewal/img/bg-b-kv.jpg") no-repeat center center / cover;
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

/* Gold hue blend overlay */
.mv-ab--b::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ebc14b;
  mix-blend-mode: hue;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

/* "WordPress no hyoji sokudo" */
.mv-b__label {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.7), 0 0 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

/* "Kokunai saisoku-kyu" - large italic gradient text */
.mv-b__title {
  font-size: 80px;
  font-weight: 700;
  font-style: italic;
  transform: skewX(0deg) scaleY(0.99);
  background: linear-gradient(to right, #ffffff, #edd369);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  line-height: 1.1;
  position: relative;
  display: inline-block;
}

.mv-b__title-wrap {
  display: inline-block;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
  position: relative;
}

.mv-b__title-note {
  position: absolute;
  top: 0;
  right: -16px;
  font-size: 16px;
  font-style: normal;
  transform: none;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

/* Product name row: "Rental server" + "iCLUSTA+" side by side */
.mv-b__product-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.mv-b__subtitle {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.7), 0 0 4px rgba(0, 0, 0, 0.5);
}

.mv-b__product {
  font-family: "Lato", "Noto Sans JP", sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.7), 0 0 4px rgba(0, 0, 0, 0.5);
}

.mv-b__product ruby {
  ruby-align: center;
}

.mv-b__product rt {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  font-family: "Noto Sans JP", sans-serif;
}

/* WP Cache badge circle */
.mv-b__wp-cache {
  position: absolute;
  right: max(16px, calc(50% - 500px + 120px));
  top: 65px;
  z-index: 3;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.mv-b__wp-cache-circle {
  width: 134px;
  height: 134px;
  border-radius: 50%;
  background: linear-gradient(to left, #CAA40D, #FFCC00);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px;
}

.mv-b__wp-cache-date {
  font-size: 9px;
  font-weight: 500;
  color: #0a0a0a;
  padding: 1px 8px;
  border: 1px solid #0a0a0a;
  display: inline-block;
  line-height: 1.4;
  transform: skewX(-8deg);
  font-family: "D-DIN-PRO", "Lato", "Noto Sans JP", sans-serif;
  white-space: nowrap;
}

.mv-b__wp-cache-name {
  font-size: 18.6px;
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1.3;
  font-style: italic;
  transform: skewX(-8deg) scaleY(0.99);
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.mv-b__wp-cache-link {
  font-size: 8px;
  color: #0a0a0a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.mv-b__wp-cache-link::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-top: 2px solid #0a0a0a;
  border-right: 2px solid #0a0a0a;
  transform: rotate(45deg);
}

.mv-b__wp-cache:hover {
  opacity: 0.88;
  text-decoration: none;
}

.mv-b__wp-cache:hover .mv-b__wp-cache-link {
  text-decoration: none;
}

/* ----------------------------------------
   Responsive - Security badge (800px)
---------------------------------------- */

/* SP版バッジ: デフォルト非表示、768px以下で表示 */
.mv-ab__security--sp {
  display: none;
}

/* PC版バッジ: デフォルト表示 */
.mv-ab__security--pc {
  display: block;
}

@media screen and (max-width: 800px) {
  .mv-ab__security img {
    width: 100px;
  }
}

@media screen and (max-width: 768px) {
  .mv-ab__security--pc {
    display: none;
  }

  .mv-ab__security--sp {
    display: block;
    position: static;
    text-align: center;
    margin-top: 16px;
  }

  .mv-ab__security--sp img {
    width: 100px;
  }
}

/* ----------------------------------------
   Responsive - Tablet (768px)
---------------------------------------- */

@media screen and (max-width: 768px) {
  /* A design responsive */
  .mv-ab--a {
    padding: 36px 0 32px;
    min-height: auto;
  }

  .mv-a__label {
    font-size: 28px;
  }

  .mv-a__title {
    font-size: 40px;
  }

  .mv-a__title rt {
    font-size: 11px;
  }

  .mv-a__badges {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }

  .mv-a__badge {
    width: 85%;
    max-width: 320px;
    padding: 12px 16px;
  }

  .mv-a__badge-feature {
    font-size: 20px;
  }

  .mv-ab__cta-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .mv-ab__btn {
    width: 85%;
    max-width: 320px;
  }

  /* B design responsive */
  .mv-ab--b {
    padding: 36px 0 32px;
    min-height: auto;
  }

  .mv-b__label {
    font-size: 22px;
  }

  .mv-b__title {
    font-size: 52px;
  }

  .mv-b__subtitle {
    font-size: 22px;
  }

  .mv-b__product {
    font-size: 28px;
  }

  .mv-b__product rt {
    font-size: 10px;
  }

  .mv-b__wp-cache {
    position: absolute;
    right: 16px;
    top: 16px;
    margin: 0;
  }

  .mv-ab--b .mv-ab__cta-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .mv-ab--b .mv-ab__btn {
    width: 85%;
    max-width: 320px;
  }
}

/* ----------------------------------------
   Responsive - Mobile (480px)
---------------------------------------- */

@media screen and (max-width: 480px) {
  .mv-a__label {
    font-size: 22px;
  }

  .mv-a__title {
    font-size: 32px;
  }

  .mv-a__badge-desc {
    font-size: 13px;
  }

  .mv-a__badge-feature {
    font-size: 18px;
  }

  .mv-ab__cta-label {
    font-size: 12px;
  }

  .mv-ab__btn {
    font-size: 14px;
    height: 48px;
  }

  .mv-b__label {
    font-size: 18px;
  }

  .mv-b__title {
    font-size: 40px;
  }

  .mv-b__subtitle {
    font-size: 18px;
  }

  .mv-b__product {
    font-size: 24px;
  }

  .mv-b__product-row {
    gap: 6px;
  }

  .mv-b__wp-cache-circle {
    width: 110px;
    height: 110px;
  }

  .mv-b__wp-cache-name {
    font-size: 15px;
  }
}

@media screen and (max-width: 768px) {
  .mv-ab--a::before {
    left: -30%;
    width: 90%;
    height: 100%;
    background-size: auto 100%;
  }

  .mv-ab--a::after {
    right: -30%;
    width: 90%;
    height: 100%;
    background-size: auto 100%;
  }

  .mv-b__wp-cache-circle {
    width: 90px;
    height: 90px;
    padding: 10px;
  }

  .mv-b__wp-cache-date {
    font-size: 7px;
    padding: 1px 3px;
  }

  .mv-b__wp-cache-name {
    font-size: 13px;
  }

  .mv-b__wp-cache-link {
    font-size: 7px;
  }

  .mv-b__wp-cache-link::before {
    width: 4px;
    height: 4px;
    border-width: 1.5px;
  }
}

@media screen and (max-width: 500px) {
  .mv-b__wp-cache {
    top: auto;
    bottom: 50px;
  }
}
