@charset "UTF-8";

/* =========================================================
   VARIABLES
   各サイトに合わせて、ここのカラーコードを変更してください。
========================================================= */
:root {
  /* メインカラー (黄〜オレンジ系) */
  --theme-primary: #ffb800;
  /* サブカラー (赤系) */
  --theme-secondary: #e6002d;
  /* サブカラーの薄い背景色 (赤系の薄い色) */
  --theme-secondary-light: #fff0f2;
  /* アイコンやアクセントカラー */
  --theme-accent-green: #37b37e;

  /* テキスト・背景・境界線などの共通カラー */
  --text-main: #333333;
  --text-light: #666666;
  --bg-body: #fffdef;
  --bg-white: #ffffff;
  --border-color: #e5e5e5;

  --font-family: 'Noto Sans JP', sans-serif;
}

/* =========================================================
   LAYOUT (SP)
========================================================= */
.pg-wrapper {
  width: 100%;
  float: left;
  padding: 15px;
  padding-top: 30px;
  /* ヘッダーの重なりを防ぐために上部余白を追加 */
  box-sizing: border-box;
}

.pg-box {
  background-color: var(--bg-white);
  padding: 25px 15px;
  /* SP用に余白を縮小 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  /* SPでは少し角丸にすると綺麗です */
  box-sizing: border-box;
}

/* =========================================================
   COMPONENTS
========================================================= */

/* 大見出し */
.pg-main-title {
  text-align: center;
  font-size: 24px;
  /* SP用に縮小 */
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--text-main);
  line-height: 1.4;
  display: block !important;
}

/* タイトル共通 */
.pg-section-title {
  text-align: center;
  font-size: 20px;
  /* SP用に縮小 */
  font-weight: 700;
  margin: 0 0 20px;
}

.pg-section-title span {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.pg-section-title span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--theme-primary);
}

/* 事前にご確認ください ボックス */
.pg-notice-box {
  border: 2px solid var(--theme-secondary);
}

.pg-notice-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.pg-notice-list li {
  margin-bottom: 15px;
}

.pg-notice-list li:last-child {
  margin-bottom: 0;
}

.pg-list-title {
  font-size: 16.5px;
  font-weight: 700;
  display: flex;
  align-items: flex-start;
  /* 複数行になった場合に備えて上揃え */
  margin: 0 0 8px;
}

.pg-icon-check {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--theme-accent-green);
  border-radius: 50%;
  position: relative;
  margin-right: 10px;
  margin-top: 1px;
  flex-shrink: 0;
}

.pg-icon-check::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  top: 3px;
  left: 7px;
  transform: rotate(45deg);
}

.pg-list-desc {
  font-size: 14.5px;
  /* SP用に縮小 */
  color: var(--text-light);
  margin: 0;
  padding-left: 30px;
}

.pg-alert-message {
  background-color: var(--theme-secondary-light);
  color: var(--theme-secondary);
  font-weight: 700;
  font-size: 15px;
  text-align: left;
  /* SPでは左揃えの方が見やすいです */
  padding: 12px;
  border-radius: 6px;
  line-height: 1.5;
}

/* 矢印ディバイダー */
.pg-arrow-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 15px 0;
  gap: -5px;
  clear: both;
}

.pg-arrow-divider span {
  display: block;
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  float: none;
  width: 20px;
  height: 20px;
  border-right: 3px solid #444444;
  border-bottom: 3px solid #444444;
  transform: rotate(45deg);
  margin-top: -8px;
}

.pg-arrow-divider span:first-child {
  margin-top: 0;
}

/* 決済時の手順 ボックス */
.pg-steps-box {
  border: 2px solid var(--theme-primary);
}

.pg-steps-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pg-step-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  /* SPではテキストと画像を縦並びに変更 */
  align-items: center;
  box-sizing: border-box;
}

.pg-step-text {
  width: 100%;
  padding-right: 0;
  margin-bottom: 20px;
  /* 画像とのマージン */
  text-align: center;
  /* タイトルは中央揃え */
}

.pg-step-label {
  color: var(--theme-secondary);
  font-weight: 700;
  font-size: 17px;
  display: inline-block;
  margin-bottom: 6px;
}

.pg-step-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.4;
}

.pg-step-desc {
  font-size: 14.5px;
  color: var(--text-light);
  margin: 0;
  text-align: left;
  /* 説明文は左揃えで読みやすく */
}

.pg-step-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================================================
   CSS IMAGE ARTS (SP用に少しスケールダウン)
========================================================= */

/* STEP 1: クレジットカード */
.css-img-step1 {
  position: relative;
  width: 170px;
  height: 110px;
  transform: scale(0.9);
}

.card-front {
  position: absolute;
  width: 110px;
  height: 70px;
  background-color: #315cd5;
  border-radius: 8px;
  left: 0;
  bottom: 10px;
  z-index: 1;
}

.card-chip {
  width: 18px;
  height: 14px;
  background-color: #f1cf65;
  border-radius: 3px;
  position: absolute;
  left: 12px;
  top: 25px;
}

.card-back {
  position: absolute;
  width: 110px;
  height: 70px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  right: 0;
  top: 10px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.card-stripe {
  width: 100%;
  height: 14px;
  background-color: #333;
  margin-top: 12px;
}

.card-cvc-box {
  width: 50px;
  height: 20px;
  border: 1px solid var(--theme-secondary);
  margin: 12px 12px 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 4px;
  position: relative;
  background-color: #fff;
}

.card-cvc-line {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background-color: #ccc;
}

.cvc-mark {
  color: var(--theme-secondary);
  font-size: 9px;
  font-weight: 700;
}

/* STEP 2: スマホSMS認証 */
.css-img-step2 {
  width: 100%;
  height: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.9);
}

.phone-frame {
  width: 66px;
  height: 110px;
  border: 4px solid #333;
  border-radius: 12px;
  background-color: #fff;
  padding: 5px;
  box-sizing: content-box;
}

.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-title {
  font-size: 8px;
  font-weight: 700;
  margin-top: 12px;
}

.phone-dots {
  display: flex;
  gap: 5px;
  margin-top: 20px;
}

.phone-dots span {
  width: 7px;
  height: 7px;
  background-color: #eb4578;
  border-radius: 50%;
}

.phone-btn {
  width: 44px;
  height: 14px;
  background-color: #eb4578;
  border-radius: 7px;
  color: #fff;
  font-size: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

/* STEP 3: メール認証 */
.css-img-step3 {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.9);
}

.mail-box {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 140px;
  background-color: #fdfdfd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
}

.mail-header {
  background-color: #f5f5f5;
  font-size: 10px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--border-color);
  border-radius: 8px 8px 0 0;
  color: #555;
}

.mail-body {
  padding: 15px 12px;
}

.mail-label {
  font-size: 9px;
  margin-bottom: 6px;
  color: var(--text-main);
}

.mail-input {
  border: 1px solid var(--theme-primary);
  border-radius: 4px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  background-color: #fffcf2;
  letter-spacing: 2px;
}

/* STEP 4: 決済画面 */
.css-img-step4 {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.9);
}

.pay-box {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 130px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pay-title {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pay-amount {
  width: 100%;
  height: 24px;
  background-color: #f0f0f0;
  border-radius: 4px;
  font-size: 11px;
  display: flex;
  align-items: center;
  padding-left: 8px;
  color: #888;
  margin-bottom: 15px;
}

.pay-btn {
  background-color: var(--theme-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 90%;
  height: 24px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}