/* ==========================================
   閉じる
========================================== */

.plan-change-modal-close {
  position: absolute;

  top: 13px;
  right: 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;

  margin: 0;
  padding: 0;

  border:
    1px solid rgba(212,175,55,.45);

  border-radius: 50%;

  background:
    rgba(255,255,255,.055);

  color: rgba(255,255,255,.9);

  font-size: 21px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;

  transition:
    background .2s ease,
    border-color .2s ease,
    transform .25s ease;
}


.plan-change-modal-close:hover {
  background:
    rgba(247,215,116,.10);

  border-color:
    rgba(247,215,116,.72);

  transform: rotate(90deg);
}


/* ==========================================
   Hero
========================================== */

.plan-upgrade-hero {
  margin-bottom: 24px;
}


.plan-upgrade-label {
  margin: 0 0 8px;

  color: rgba(247,215,116,.62);

  font-size: 10px;
  font-weight: 600;

  letter-spacing: .28em;
}


.plan-upgrade-title {
  margin: 0;

  font-size: 26px;
  font-weight: 700;

  letter-spacing: .08em;

  background:
    linear-gradient(
      180deg,
      #fff6cc 0%,
      #f7d774 45%,
      #c89b32 100%
    );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.plan-upgrade-title::after {
  content: "";

  display: block;

  width: 90px;
  height: 1px;

  margin: 15px auto 0;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(247,215,116,.8),
      transparent
    );
}


.plan-upgrade-lead {
  margin: 16px 0 0;

  color: rgba(255,255,255,.66);

  font-size: 13px;

  line-height: 1.9;
}


/* ==========================================
   現在プラン
========================================== */

.plan-change-modal .member-plan-status {
  margin: 0 auto 24px;
  padding: 10px 15px;

  border:
    1px solid rgba(247,215,116,.22);

  border-radius: 999px;

  background:
    rgba(247,215,116,.055);

  color: rgba(255,255,255,.82);

  font-size: 12px;

  line-height: 1.6;
}


/* ==========================================
   プラン2列
========================================== */

.plan-change-modal .member-plan-options {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;

  margin-top: 18px;
}


/* ==========================================
   共通プランカード
========================================== */

.plan-change-modal .member-plan-option {
  position: relative;

  display: flex;
  flex-direction: column;

  padding: 30px 22px 22px;

  border-radius: 18px;

  text-align: center;

  overflow: visible;
}


/* ==========================================
   NORMAL
========================================== */

.normal-plan-option {
  border:
    1px solid rgba(130,180,255,.38);

  background:
    radial-gradient(
      circle at top,
      rgba(100,155,240,.15),
      transparent 58%
    ),
    rgba(255,255,255,.035);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07);
}


/* ==========================================
   PREMIUM
========================================== */

.premium-plan-option {
  border:
    1px solid rgba(212,175,55,.60);

  background:
    radial-gradient(
      circle at top,
      rgba(247,215,116,.15),
      transparent 58%
    ),
    rgba(255,255,255,.04);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    0 0 24px rgba(212,175,55,.10);
}


/* ==========================================
   おすすめ
========================================== */

.member-plan-recommend {
  position: absolute;

  top: -13px;
  left: 50%;

  transform: translateX(-50%);

  padding: 5px 17px;

  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      #f7df8d,
      #d4af37,
      #ad8425
    );

  color: #3c2a08;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: .08em;

  white-space: nowrap;

  box-shadow:
    0 5px 14px rgba(212,175,55,.22);
}


/* ==========================================
   プラン名
========================================== */

.member-plan-name {
  margin-bottom: 5px;

  font-size: 18px;
  font-weight: 700;

  letter-spacing: .18em;
}


.normal-plan-option .member-plan-name {
  color: #8db9ff;
}


.premium-plan-option .member-plan-name {
  color: #f7d774;
}


.member-plan-jp-name {
  color: rgba(255,255,255,.64);

  font-size: 11px;

  letter-spacing: .08em;
}


/* ==========================================
   価格
========================================== */

.member-plan-price {
  margin: 19px 0 22px;

  color: rgba(255,255,255,.78);

  white-space: nowrap;
}


.member-plan-price-prefix {
  margin-right: 5px;

  font-size: 11px;
}


.member-plan-price strong {
  font-size: 34px;
  font-weight: 700;

  line-height: 1;
}


.normal-plan-option
.member-plan-price strong {
  color: #9bc1ff;
}


.premium-plan-option
.member-plan-price strong {
  color: #f7d774;
}


.member-plan-price-unit {
  margin-left: 3px;

  font-size: 12px;
}


/* ==========================================
   特典
========================================== */

.member-plan-benefits {
  flex: 1;

  margin: 0 0 24px;
  padding: 0;

  list-style: none;

  text-align: left;
}


.member-plan-benefits li {
  position: relative;

  padding:
    10px
    0
    10px
    22px;

  border-bottom:
    1px solid rgba(255,255,255,.07);

  color: rgba(255,255,255,.76);

  font-size: 12px;

  line-height: 1.55;
}


.member-plan-benefits li::before {
  content: "✓";

  position: absolute;

  left: 2px;

  color: #8db9ff;

  font-weight: 700;
}


.premium-plan-option
.member-plan-benefits li::before {
  color: #f7d774;
}


/* ==========================================
   プランボタン
========================================== */

.member-plan-btn {
  width: 100%;

  min-height: 46px;

  padding: 12px 15px;

  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: .05em;

  cursor: pointer;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    opacity .2s ease;
}


.normal-plan-btn {
  border:
    1px solid rgba(130,180,255,.55);

  background:
    linear-gradient(
      135deg,
      #699bea,
      #4d76bc
    );

  color: #fff;
}


.premium-plan-btn {
  border:
    1px solid rgba(247,215,116,.65);

  background:
    linear-gradient(
      135deg,
      #f3dc8c,
      #d4af37,
      #b8962e
    );

  color: #342305;
}


.member-plan-btn:hover:not(:disabled) {
  transform:
    translateY(-2px);

  box-shadow:
    0 10px 22px rgba(0,0,0,.25);
}


.member-plan-btn:disabled {
  opacity: .42;

  cursor: default;

  transform: none;
}


/* ==========================================
   Premium限定鑑定
========================================== */

.member-premium-features {
  margin-top: 32px;
  padding: 25px 20px;

  border:
    1px solid rgba(212,175,55,.20);

  border-radius: 17px;

  background:
    rgba(255,255,255,.025);
}


.member-premium-features h4 {
  margin: 0 0 18px;

  color: #f3d98b;

  font-size: 16px;
  font-weight: 600;

  letter-spacing: .06em;
}


.member-premium-feature-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 9px;
}


.member-premium-feature-grid div {
  padding: 12px 7px;

  border:
    1px solid rgba(212,175,55,.22);

  border-radius: 10px;

  background:
    rgba(247,215,116,.045);

  color: rgba(247,225,160,.86);

  font-size: 11px;
}


/* ==========================================
   支払い説明
========================================== */

.member-plan-payment {
  margin-top: 18px;
  padding: 20px;

  border-top:
    1px solid rgba(255,255,255,.08);
}


.member-plan-payment h4 {
  margin: 0 0 9px;

  color: rgba(255,255,255,.88);

  font-size: 14px;
  font-weight: 600;
}


.member-plan-payment p {
  margin: 0;

  color: rgba(255,255,255,.55);

  font-size: 11px;

  line-height: 1.8;
}


/* ==========================================
   メッセージ
========================================== */

#memberPlanMessage {
  margin: 18px 0 0;

  color: rgba(255,255,255,.82);

  font-size: 12px;

  line-height: 1.7;
}


/* ==========================================
   スマホ
========================================== */

@media (max-width: 768px) {

  .plan-change-modal {
    padding: 10px;
  }


  .plan-change-modal-inner {
    width: 100%;
    max-height: 92vh;

    padding:
      38px
      14px
      24px;

    border-radius: 18px;
  }


  .plan-upgrade-title {
    font-size: 21px;
  }


  .plan-upgrade-lead {
    font-size: 12px;
  }


  .plan-change-modal
  .member-plan-options {
    grid-template-columns: 1fr;

    gap: 22px;
  }


  .plan-change-modal
  .member-plan-option {
    padding:
      27px
      16px
      20px;
  }


  .member-plan-price strong {
    font-size: 31px;
  }


  .member-premium-feature-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


