@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 (PC)
========================================================= */
.pg-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 250px;
}

.pg-box {
    background-color: var(--bg-white);
    padding: 30px;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

/* =========================================================
   COMPONENTS
========================================================= */

/* 大見出し */
.pg-main-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 30px;
    color: var(--text-main);
}

/* タイトル共通 */
.pg-section-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 25px;
}

.pg-section-title span {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.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: 3px solid var(--theme-secondary);
}

.pg-notice-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.pg-notice-list li {
    margin-bottom: 20px;
}

.pg-notice-list li:last-child {
    margin-bottom: 0;
}

.pg-list-title {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin: 0 0 8px;
}

.pg-icon-check {
    display: inline-block;
    width: 22px;
    height: 22px;
    background-color: var(--theme-accent-green);
    border-radius: 50%;
    position: relative;
    margin-right: 12px;
    flex-shrink: 0;
}

.pg-icon-check::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    top: 4px;
    left: 8px;
    transform: rotate(45deg);
}

.pg-list-desc {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
    padding-left: 34px;
}

.pg-alert-message {
    background-color: var(--theme-secondary-light);
    color: var(--theme-secondary);
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    padding: 15px;
    border-radius: 6px;
}

/* 矢印ディバイダー */
.pg-arrow-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
    gap: -5px;
    clear: both;
}

.pg-arrow-divider span {
    display: block;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    float: none;
    width: 24px;
    height: 24px;
    border-right: 4px solid #444444;
    border-bottom: 4px solid #444444;
    transform: rotate(45deg);
    margin-top: -10px;
}

.pg-arrow-divider span:first-child {
    margin-top: 0;
}

/* 決済時の手順 ボックス */
.pg-steps-box {
    border: 3px solid var(--theme-primary);
}

.pg-steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pg-step-item {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pg-step-text {
    flex: 1;
    padding-right: 30px;
}

.pg-step-label {
    color: var(--theme-secondary);
    font-weight: 700;
    font-size: 16px;
    display: 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: 16px;
    color: var(--text-light);
    margin: 0;
}

.pg-step-visual {
    width: 200px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

/* =========================================================
   CSS IMAGE ARTS
========================================================= */

/* STEP 1: クレジットカード */
.css-img-step1 {
    position: relative;
    width: 170px;
    height: 110px;
}

.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: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 66px;
    height: 110px;
    border: 4px solid #333;
    border-radius: 12px;
    background-color: #fff;
    padding: 5px;
}

.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: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.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;
}

.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;
}

/* =========================================================
   ACTION BOX (下部)
========================================================= */
.pg-action-box {
    background-color: var(--theme-primary);
    padding: 40px;
    text-align: center;
    color: #fff;
    margin-top: 30px;
}

.pg-action-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px;
}

.pg-action-desc {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 30px;
}

.pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: var(--theme-primary);
    padding: 0 40px;
    height: 50px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: opacity 0.3s;
}

.pg-btn:hover {
    opacity: 0.8;
}

.pg-btn::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--theme-primary);
    border-right: 2px solid var(--theme-primary);
    transform: rotate(45deg);
    margin-left: 15px;
}

/* 注釈 */
.pg-footer-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 20px;
}