@charset "UTF-8";
/**
 * market vista - LP経由セルフサインアップ 追加スタイル
 *
 * price.php / signup.php / signup-complete.php でのみ読み込む。
 * プランカード本体は既存 style.css の .price-card 系をそのまま流用しているため、
 * ここには「トグル」「フォーム」「エラー表示」など新規要素だけを置く。
 *
 * style.scss をコンパイルし直す必要がないよう、あえて別ファイルにしている。
 */

/* ============================================================
   共通
   ============================================================ */

/*
  display を指定した要素にも hidden 属性を効かせる。
  ブラウザ既定の [hidden]{display:none} は作者側の display 指定に負けるため、
  .lp-plan-bubble（inline-flex）などが hidden でも消えなかった。
*/
[hidden] {
  display: none !important;
}

.lp-status {
  grid-column: 1 / -1;
  padding: 40px 0;
  text-align: center;
  font-size: 15px;
  color: #556;
}

.lp-error {
  margin: 0 auto 32px;
  padding: 16px 20px;
  max-width: 720px;
  border: 1px solid #f0c2be;
  border-left: 4px solid #b3261e;
  border-radius: 6px;
  background: #fdf4f3;
  color: #8c1d18;
  font-size: 15px;
  line-height: 1.7;
}

/* カード領域（flex）に出すときも、バナーと同じ幅・中央寄せになるようにする */
.price-cards > .lp-error {
  flex: 1 1 100%;
  margin-bottom: 0;
}

/* ============================================================
   出店代行オプション（フルパック限定・MV-1133）

   選択は Stripe の決済画面で行うので、ここは掲示のみ。
   ============================================================ */

.lp-options {
  margin: 80px auto 0;
  padding: 40px 36px;
  max-width: 1000px;
  border-radius: 12px;
  background: #fff;
  /* ぼかしなしの段差シャドウ。下だけに出す（サイトの他のカードと同じ表現） */
  box-shadow: 0 8px 0 rgba(17, 51, 102, .15);
}

.lp-options-head {
  margin-bottom: 28px;
  text-align: center;
}

.lp-options-ttl {
  color: #113366;
  font-size: 1.875rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.lp-options-lead {
  margin-top: 14px;
  color: #44506b;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}

.lp-options-lead strong {
  color: #FB602C;
  font-weight: 900;
}

.lp-options-list {
  border-top: 1px dashed rgba(17, 51, 102, .2);
}

.lp-options-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 24px;
  padding: 20px 4px;
  border-bottom: 1px dashed rgba(17, 51, 102, .2);
}

.lp-options-name {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #113366;
  font-size: 1.0625rem;
  font-weight: 900;
  line-height: 1.5;
}

/* セット名の左に付けるプラスのマーク（追加できるオプションであることを示す） */
.lp-options-name::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-color: #FB602C;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* 金額は料金カードと同じ組み（税込 / 数値 / 単位） */
.lp-options-price {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #113366;
  line-height: 1;
  white-space: nowrap;
  text-align: right;
}

/* 「1アカウント追加につき」のような前置き。価格の上に小さなタグとして置く */
.lp-options-price .prefix {
  display: block;
  width: fit-content;
  margin: 0 0 6px auto; /* 価格が右寄せなので右に揃える */
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(17, 51, 102, .07);
  color: rgba(17, 51, 102, .75);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.lp-options-price .tax-label {
  margin-right: 6px;
  font-size: .8rem;
  font-weight: 700;
  vertical-align: .35em;
}

.lp-options-price .value {
  font-family: "Montserrat", sans-serif;
  font-size: 2.125rem;
  font-weight: 900;
  letter-spacing: -.02em;
}

.lp-options-price .unit {
  margin-left: 3px;
  font-size: .9rem;
  font-weight: 700;
}

.lp-options-desc {
  grid-column: 1;
  color: #44506b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

/*
  注意書き。対象オプションの直後に 1 行として出す。

  1 列で並ぶ案A では、直前の項目の区切り線を注釈の下へ移して
  「その項目の一部」に見えるようにする。
*/
.lp-options-note-item {
  padding: 0 4px 20px;
}

/* 直前の項目の区切り線を注釈の下へ移し、注釈がその項目の一部に見えるようにする */
.lp-options-item:has(+ .lp-options-note-item) {
  padding-bottom: 12px;
  border-bottom: none;
}

.lp-options-note-item {
  border-bottom: 1px dashed rgba(17, 51, 102, .2);
}

.lp-options-note {
  padding: 12px 16px;
  border-radius: 6px;
  background: #FFF9E6;
  color: #113366;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

@media screen and (max-width: 768px) {
  .lp-options {
    margin-top: 56px;
    padding: 28px 18px;
  }

  .lp-options-ttl {
    font-size: 1.25rem;
  }

  /* 幅が足りないので金額を名称の下に落とす */
  .lp-options-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lp-options-price {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }

  .lp-options-price .prefix {
    display: inline;
    margin: 0 6px 0 0;
  }

  .lp-options-price .value {
    font-size: 1.5rem;
  }
}

/*
  フルパックのカードに出す 1 行の案内。
  すぐ上に大きな申し込みボタンがあるので、枠線もホバーの色も付けず、
  文字と小さな山括弧だけで示す。
*/
.lp-plan-option-link {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  color: #FB602C;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

/* 行き先があることを示す小さな山括弧 */
.lp-plan-option-link::after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(135deg);
}

.lp-note {
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.5;
  color: #113366;
}

.lp-note a {
  color: inherit;
  text-decoration: underline;
}

/* ============================================================
   ① 料金ページ - 月払い / 年払いトグル
   ============================================================ */

.lp-billing-toggle {
  display: flex;
  justify-content: center;
  margin: 0 auto 48px;
}

/*
  白地のトラックに、選択中だけネイビーを塗る。
  枠線もシャドウも使わず、塗り分けだけで状態を示す。
*/
.lp-billing-toggle-inner {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: #fff;
}

.lp-billing-toggle button {
  min-width: 200px;
  padding: 15px 44px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(17, 51, 102, .55);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.lp-billing-toggle button:hover {
  color: #113366;
}

.lp-billing-toggle button.is-active {
  background: #113366;
  color: #fff;
}

.lp-billing-toggle button:focus-visible {
  outline: 2px solid #113366;
  outline-offset: 2px;
}

/* ============================================================
   セクションの余白

   この CSS はトップページ（プランCTAのため）でも読み込むので、
   素の .sec には手を出さず、専用の .lp-sec を付けたセクションだけに効かせる。
   ============================================================ */

/* SIGN UP / ご契約完了 */
.lp-sec {
  padding: 0 0 150px;
}

/* 料金ページ（.lp-sec.price のほうが詳細度が高いので上の指定に勝つ） */
.lp-sec.price {
  padding: 0 0 150px;
}

/* 申し込みボタン（カード内）。サイト共通の段差シャドウ + 押し込みアニメーション */
.lp-plan-cta {
  display: block;
  margin-top: 24px;
  padding: 16px 24px;
  border-radius: 50px;
  background: #113366; /* $navy */
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-plan-cta:hover {
  transform: translateY(4px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

/* フルパックは価格表示と同じオレンジ（$orange） */
.price-card.is-best .lp-plan-cta {
  background: #FB602C;
}

/* ============================================================
   ① 料金ページ - 年払い選択時の装飾
   年額プランがあるカード（スタンダード / プレミアム）にのみ .is-yearly が付く。
   フルパックは年額が無いため装飾せず、月払い時の見た目のままにする。
   ============================================================ */

.price-card.is-yearly {
  box-shadow:
    0 8px 0 0 rgba(17, 51, 102, .22),
    0 22px 38px -20px rgba(17, 51, 102, .55);
}

/* ヘッダーを単色ネイビーから奥行きのあるグラデーションに */
.price-card.is-yearly .price-card-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(118deg, #0c2349 0%, #113366 46%, #1d4f96 100%);
}

/* ヘッダー下端のゴールドライン */
.price-card.is-yearly .price-card-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #FFBB00, #FFD600 50%, #FFBB00);
}

/* ヘッダーを斜めに横切る控えめな光沢 */
.price-card.is-yearly .price-card-header::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -20%;
  width: 55%;
  height: 220%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .10) 50%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

/*
  年払い時の「2ヶ月分お得」。カード枠の上に吹き出しで出す。
  フルパックの「おすすめ」バッジ（.price-card.is-best .price-card-badge）と
  同じ形・同じ位置関係に揃えている。
  .price-card-body ではなく .price-card 直下に置く必要がある（JS 側で挿入）。
*/
.lp-plan-bubble {
  position: absolute;
  top: -52px;
  left: 15%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 165px;
  height: 40px;
  padding: 0 26px;
  border-radius: 26px;
  background: #FFD600; /* $light-yellow。「おすすめ」バッジと同じ単色 */
  color: #113366;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .06em;
  white-space: nowrap;
  animation: lp-pop-up .45s cubic-bezier(.34, 1.56, .64, 1) both;
}

/* しっぽは右向き（「おすすめ」バッジと同じ） */
.lp-plan-bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 98%;
  transform: translate(-1px, -50%);
  width: 0;
  height: 0;
  border-left: 14px solid #FFD600;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

/* 吹き出しの右に置くカワウソ。左右反転させて吹き出し側に向ける */
.lp-plan-kawauso {
  position: absolute;
  top: -55px;
  right: 55px;
  z-index: 0;
  width: 70px;
  height: auto;
  transform: scaleX(-1);
  pointer-events: none;
  animation: lp-pop-up .45s cubic-bezier(.34, 1.56, .64, 1) .06s both;
}

/*
  年払いに切り替えたときに下からひょいと出る。
  hidden 解除で display が none から変わるタイミングで毎回再生される。

  移動は transform ではなく translate プロパティを使う。
  .lp-plan-kawauso の scaleX(-1) や、900px 以下の吹き出しの
  translateX による位置決めを打ち消さないため。
*/
@keyframes lp-pop-up {
  from {
    opacity: 0;
    translate: 0 20px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* 動きを控えたい設定の環境では出現だけにする */
@media (prefers-reduced-motion: reduce) {
  .lp-plan-bubble,
  .lp-plan-kawauso {
    animation: none;
  }
}

@media screen and (max-width: 900px) {
  .lp-plan-bubble {
    top: -44px;
    left: 50%;
    min-width: 145px;
    height: 36px;
    padding: 0 20px;
    font-size: 14px;
    transform: translateX(calc(-100% - 22px));
  }

  .lp-plan-kawauso {
    top: -46px;
    right: auto;
    left: 50%;
    width: 58px;
    transform: scaleX(-1) translateX(-4px);
  }
}

/* ============================================================
   ② アカウント新規登録
   ============================================================ */

.lp-signup {
  margin: 0 auto;
  max-width: 640px;
}

/*
  見出しの余白をページ単位で上書きする。
  この CSS は style.css より後に読み込まれるので、モバイル指定
  （.page-head の @media）も一緒に潰してしまう。下の @media で戻している。
*/
.lp-page-head-signup {
  padding: 150px 25px 50px;
}

/* 料金プランページ。カード側に margin-top 150px があるので下は 0 */
.lp-page-head-price {
  padding: 150px 25px 0;
}

@media screen and (max-width: 768px) {
  .lp-page-head-signup {
    padding: 120px 16px 50px;
  }

  .lp-page-head-price {
    padding: 120px 16px 0;
  }
}

/*
  SIGN UP 脇のイラスト。他ページの kawauso1 とは絵柄が違うので、このページだけ調整する。
  style.css の .page-head .page-head-inner .page-head-inner-ttl img に詳細度で
  勝つ必要があるため、セレクタを同じ深さまで書く。
*/
.page-head.lp-page-head-signup .page-head-inner .page-head-inner-ttl img {
  top: 10px;
  width: 105px;
}

@media screen and (max-width: 768px) {
  .page-head.lp-page-head-signup .page-head-inner .page-head-inner-ttl img {
    width: 66px;
  }
}

/*
  フルパックの「初心者でも安心なプラン」のように、年額が無いプランの注記を目立たせる。
  カード側のオレンジ（$orange）に寄せた淡いピル。
*/
.price-card .price-card-yearly.lp-plan-note-accent {
  align-self: center;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(251, 96, 44, .12);
  color: #FB602C;
  letter-spacing: .04em;
}

/*
  特典リストの詰め。
  style.css は max-width: 285px で中央寄せしているため、カード内の左右に
  余白が残り「makevillage スタンダードプラン」も折り返していた。
  幅の制限を外してカードの内寸いっぱいに使い、行間と余白を詰める。
*/
.price .price-card-features {
  max-width: none;
  padding: 14px 0;
  margin-bottom: 18px;
}

.price .price-card-features li {
  gap: 8px;
  padding: 3px 0;
  letter-spacing: .02em;
}


/*
  選択中のプラン。
  料金ページのプランカード（ネイビーのヘッダー + 白いボディ + 段差シャドウ、
  金額は Montserrat）と同じ組み方にして、サイト内のトーンに合わせる。
*/
.lp-selected-plan {
  margin-bottom: 40px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 0 0 rgba(0, 0, 0, .15);
  overflow: hidden;
  text-align: center;
}

.lp-selected-plan-label {
  padding: 15px 20px;
  background: #113366;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .1em;
}

.lp-selected-plan-body {
  padding: 26px 20px 24px;
}

/* プラン名と支払サイクルは横並び（幅が足りなければ折り返す） */
.lp-selected-plan-head {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.lp-selected-plan-name {
  color: #113366;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .04em;
}

.lp-selected-plan-cycle {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 999px;
  background: #FFD600;
  color: #113366;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .06em;
}

.lp-selected-plan-price {
  margin-top: 18px;
  color: #113366;
  line-height: 1;
}

.lp-selected-plan-price .tax-label {
  margin-right: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  vertical-align: .4em;
}

.lp-selected-plan-price .value {
  font-family: "Montserrat", sans-serif;
  font-size: 3.1rem;
  font-weight: 900;
  letter-spacing: -.03rem;
}

.lp-selected-plan-price .unit {
  margin-left: 4px;
  font-size: 1.15rem;
  font-weight: 700;
}

.lp-change-plan {
  display: inline-block;
  margin-top: 24px;
  color: #113366;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
}

.lp-field {
  margin-bottom: 8px;
}

/* お問い合わせフォームの見出し（.formTable th）と同じスタイル */
.lp-field label {
  display: block;
  margin-bottom: 15px;
  color: #113366;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

/* お問い合わせフォーム（.contact .formTable td input）と同じスタイル */
.lp-field input[type="email"] {
  display: block;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 5px;
  background: #fff;
  color: #113366;
  font-size: 16px; /* iOS で入力時にズームされないよう 16px 未満にしない */
  font-weight: 700;
  line-height: 1.5;
}

.lp-field input[type="email"]:focus {
  outline: none;
}

.lp-field-help {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: #667;
}

.lp-consent {
  margin: 28px 0 20px;
  padding: 16px 18px;
  border-radius: 8px;
  background: #f7f9fc;
  font-size: 13px;
  line-height: 1.9;
  color: #44506b;
}

.lp-consent a {
  color: #113366;
  text-decoration: underline;
}

/* サイト共通のボタン表現（段差シャドウ + 押し込むアニメーション）に合わせる */
.lp-submit {
  display: block;
  padding: 18px 24px;
  width: 100%;
  border: none;
  border-radius: 50px;
  background: #113366;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-submit:hover:not(:disabled) {
  transform: translateY(4px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.lp-submit:disabled {
  opacity: .5;
  cursor: default;
}

/* ============================================================
   完了メッセージ（②の送信後 / ③のご契約完了）

   見た目は thanks.php と同じ .thanks .thanks-inner を使うため、
   ここでは専用スタイルを持たない。
   ============================================================ */

/* 送信成功時にフォーカスを移すが、枠線は出さない */
#signup-success:focus {
  outline: none;
}

/* ============================================================
   レスポンシブ
   ============================================================ */

@media screen and (max-width: 860px) {
  .lp-billing-toggle {
    margin-bottom: 32px;
  }

  .lp-billing-toggle button {
    padding: 12px 24px;
    font-size: 14px;
  }

  .lp-coupon {
    padding: 24px 18px;
  }

  .lp-coupon-code {
    padding: 12px 20px;
    font-size: 18px;
    letter-spacing: .08em;
  }

  .lp-selected-plan-label {
    font-size: 15px;
  }

  .lp-selected-plan-name {
    font-size: 1.45rem;
  }

  .lp-selected-plan-price .value {
    font-size: 2.4rem;
  }
}

/*
  入力欄まわりのモバイル指定は、お問い合わせフォームと同じ 768px で切り替える。
  ただし input の font-size は 16px を維持する（14px にすると iOS Safari が
  フォーカス時にページを拡大してしまうため。ここだけ意図的に揃えていない）。
*/
@media screen and (max-width: 768px) {
  .lp-field label {
    margin-bottom: 10px;
    font-size: 15px;
  }

  .lp-field input[type="email"] {
    padding: 12px 14px;
  }
}
