@charset "UTF-8";

/* ==========================================================================
   1. 全体共通・デザインシステム設定
   ========================================================================== */
.mod-freeHTML .paid-plan-wrapper {
    --fs-l: 24px;       /* セクション大見出し */
    --fs-m: 18px;       /* リード文・中見出し */
    --fs-s: 15px;       /* ブロック内タイトル */
    --fs-body: 13px;    /* 標準説明文 */
    --fs-note: 11px;    /* 注釈・補足 */
    --color-orange: #e78019;
    --color-green: #2ba745;
    --color-blue: #005bac;
    --bg-purple: #dfdfee;
}

/* 目立ちすぎてまとまりを欠いていた赤色の注釈を上品なダークグレーに統合 */
.mod-freeHTML .paid-plan-wrapper .cmn-att--red__li,
.mod-freeHTML .paid-plan-wrapper .cmn-att {
    color: #555555 !important;
    font-size: var(--fs-note) !important;
    font-weight: normal !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

/* ==========================================================================
   2. PC表示時（画面幅 641px 以上）のレイアウト設定
   ========================================================================== */
@media (min-width: 641px) {
    /* 横への無限の広がりを抑え、共通の最大幅に完全集約 */
    .mod-freeHTML .paid-plan-wrapper .cmn-inner {
        max-width: 1052px !important;
        margin: 0 auto !important;
    }
    .mod-freeHTML .paid-plan-wrapper .cmn-tit {
        font-size: var(--fs-l) !important;
    }
    .mod-freeHTML .paid-plan-wrapper .about__tit,
    .mod-freeHTML .paid-plan-wrapper .about__lead {
        font-size: var(--fs-m) !important;
    }

    /* おすすめポイント：アイコンカラー背景・完全白抜き・高さ統一 */
    .mod-freeHTML .paid-plan-wrapper .about__point {
        display: flex !important;
        align-items: stretch !important; /* 左右のボックス高さを完全に強制統一 */
        gap: 24px !important;
    }
    .mod-freeHTML .paid-plan-wrapper .about__point__box {
        flex: 1 !important;
        padding: 35px 24px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        border-radius: 8px !important;
    }
    .mod-freeHTML .paid-plan-wrapper .about__point__box:nth-child(1) { background-color: var(--color-orange) !important; }
    .mod-freeHTML .paid-plan-wrapper .about__point__box:nth-child(2) { background-color: var(--color-green) !important; }
    .mod-freeHTML .paid-plan-wrapper .about__point__box:nth-child(3) { background-color: var(--color-blue) !important; }

    .mod-freeHTML .paid-plan-wrapper .about__point__box .about__point__tit {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
        padding-bottom: 15px !important;
        display: flex !important;
        align-items: center !important;
    }
    .mod-freeHTML .paid-plan-wrapper .about__point__box .about__point__tit__mid,
    .mod-freeHTML .paid-plan-wrapper .about__point__box .about__point__tit__lar,
    .mod-freeHTML .paid-plan-wrapper .about__point__box .about__point__tit__sml,
    .mod-freeHTML .paid-plan-wrapper .about__point__box .about__point__txt {
        color: #ffffff !important;
    }
    .mod-freeHTML .paid-plan-wrapper .about__point__box .about__point__tit__mid { font-size: 14px !important; }
    .mod-freeHTML .paid-plan-wrapper .about__point__box .about__point__tit__lar { font-size: 24px !important; }
    .mod-freeHTML .paid-plan-wrapper .about__point__box .about__point__tit__lar sup {
        font-size: 11px !important;
        position: relative !important;
        top: -6px !important;
    }
    .mod-freeHTML .paid-plan-wrapper .about__point__box .about__point__tit__sml { font-size: 11px !important; margin-left: 8px !important; }
    .mod-freeHTML .paid-plan-wrapper .about__point__box .about__point__txt {
        font-size: var(--fs-body) !important;
        line-height: 1.6 !important;
        margin-top: 20px !important;
        text-align: left !important;
    }

    /* ご登録・ご利用に必要な環境・書類：3カラム横並びカード */
    .mod-freeHTML .paid-plan-wrapper .register__need__list {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px !important;
        margin-top: 35px !important;
    }
    .mod-freeHTML .paid-plan-wrapper .register__need__list__item {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 55px 20px 25px 20px !important;
        border: 1px solid #0075af !important;
        background: #ffffff !important;
        position: relative !important;
        grid-template-columns: none !important;
        grid-template-areas: none !important;
    }
    .mod-freeHTML .paid-plan-wrapper .register__need__list__item .grid-need01,
    .mod-freeHTML .paid-plan-wrapper .register__need__list__item .grid-need02,
    .mod-freeHTML .paid-plan-wrapper .register__need__list__item .grid-need03 {
        grid-area: auto !important;
        width: auto !important;
        margin: 0 !important;
    }
    .mod-freeHTML .paid-plan-wrapper .register__need__num {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 34px !important;
        font-size: 16px !important;
        margin: 0 !important;
    }
    .mod-freeHTML .paid-plan-wrapper .register__need__heading {
        font-size: var(--fs-s) !important;
        font-weight: bold !important;
        color: #0075af !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        min-height: 45px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .mod-freeHTML .paid-plan-wrapper .register__need__img {
        height: 140px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 20px !important;
    }
    .mod-freeHTML .paid-plan-wrapper .register__need__img picture {
        display: block !important;
        max-width: 100% !important;
        max-height: 100% !important;
        height: 100% !important;
    }
    .mod-freeHTML .paid-plan-wrapper .register__need__img img,
    .mod-freeHTML .paid-plan-wrapper .register__need__img picture img {
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }
    .mod-freeHTML .paid-plan-wrapper .register__need__detial { text-align: left !important; }
    .mod-freeHTML .paid-plan-wrapper .register__need__txt {
        font-size: var(--fs-body) !important;
        font-weight: normal !important;
        line-height: 1.6 !important;
        color: #333333 !important;
    }
    .mod-freeHTML .paid-plan-wrapper .register__need__info__tit { font-size: 12px !important; margin-top: 15px !important; }
    .mod-freeHTML .paid-plan-wrapper .register__need__info__list { font-size: 12px !important; justify-content: center !important; margin-top: 5px !important;}

    /* 登録ステップ（PC表示：4連の横並び正円） */
    .mod-freeHTML .paid-plan-wrapper .register__step__list {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 0 !important;
        max-width: 920px !important;
        margin: 35px auto 0 !important;
    }
    .mod-freeHTML .paid-plan-wrapper .register__step__list_item {
        width: 21.6666666667% !important;
        aspect-ratio: 1 / 1 !important;
        position: relative !important;
    }
    .mod-freeHTML .paid-plan-wrapper .register__step__li__arrow {
        position: absolute !important;
        right: -17% !important;
        top: 50% !important;
        transform: translateY(-50%) rotate(45deg) !important; /* 横向き矢印 */
    }
}

/* ==========================================================================
   3. 登録ステップ（PC・SP共通ベース ＆ SP表示時縦並び）
   ========================================================================== */
.mod-freeHTML .paid-plan-wrapper .register__step {
    padding: 0 !important;
    margin: 50px 0 0 0 !important;
    border-radius: 0 !important;
}
.mod-freeHTML .paid-plan-wrapper .register__step__list {
    padding: 0 !important;
    list-style: none !important;
}
.mod-freeHTML .paid-plan-wrapper .register__step__list_item {
    flex-shrink: 0 !important; /* 画面幅が縮んでも円が潰れないように固定 */
}

/* 円形ステップの基本デザイン */
.mod-freeHTML .paid-plan-wrapper .register__step__li {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 3px solid #003f8f !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    text-decoration: none !important;
    cursor: pointer !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    padding: 10px !important;
}

/* リンクホバー演出（STEP1〜3） */
.mod-freeHTML .paid-plan-wrapper .register__step__list_item a.register__step__li:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12) !important;
    border-color: var(--color-blue) !important;
}

.mod-freeHTML .paid-plan-wrapper .register__step__li__txt { font-size: 11px !important; color: #666666 !important; margin: 0 !important; line-height: 1 !important; }
.mod-freeHTML .paid-plan-wrapper .register__step__li__txt__lar { font-size: 22px !important; color: #003f8f !important; margin: 3px 0 0 0 !important; font-weight: bold !important; line-height: 1 !important; }
.mod-freeHTML .paid-plan-wrapper .register__step__li__tit {
    font-size: 13px !important;
    font-weight: bold !important;
    color: #222222 !important;
    margin: 8px 0 0 0 !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

/* ステップ間の矢印（共通CSS描画） */
.mod-freeHTML .paid-plan-wrapper .register__step__li__arrow {
    width: 12px;
    height: 12px;
    border-top: 3px solid #005bac !important;
    border-right: 3px solid #005bac !important;
    background: none !important;
    display: block !important;
}

/* 4つ目の正円（登録完了：青背景白抜き）の個別指定 */
.mod-freeHTML .paid-plan-wrapper .register__step__li.step-complete {
    background-color: #003f8f !important;
    cursor: default !important;
}
.mod-freeHTML .paid-plan-wrapper .step-complete .register__step__li__tit {
    color: #ffffff !important;
}
.mod-freeHTML .paid-plan-wrapper .register__step__li__check {
    width: 35% !important;
    margin: 0 auto !important;
    filter: brightness(0) invert(1); /* チェック画像を美しく白抜き化 */
}
.mod-freeHTML .paid-plan-wrapper .register__step__li__check img {
    width: 100% !important;
    height: auto !important;
}

/* 大きな登録ステップ ＆ 詳細エリアを包む薄紫背景グループ */
.mod-freeHTML .paid-plan-wrapper .cmn-section.register-step-group {
    background-color: var(--bg-purple) !important;
    padding: 60px 0 !important;
    margin: 50px 0 0 0 !important;
}

/* スマホ表示時（画面幅 640px 以下）：ステップを縦スクロールに切り替え */
@media (max-width: 640px) {
    .mod-freeHTML .paid-plan-wrapper .register__step__list {
        display: flex !important;
        flex-direction: column !important; /* 縦並び */
        gap: 35px !important;
        padding: 15px 0 !important;
    }
    .mod-freeHTML .paid-plan-wrapper .register__step__list_item {
        width: 55% !important;
        max-width: 220px !important;
        aspect-ratio: 1 / 1 !important;
    }
    .mod-freeHTML .paid-plan-wrapper .register__step__li__arrow {
        position: absolute !important;
        right: 50% !important;
        top: auto !important;
        bottom: -25px !important;
        margin-right: -6px !important;
        transform: rotate(135deg) !important; /* 下向き矢印に変形 */
    }
    .mod-freeHTML .paid-plan-wrapper .register__step__li__tit {
        font-size: 12px !important;
    }
}

/* ==========================================================================
   4. ご登録手順（STEP3） Swiperスライダー専用デザイン
   ========================================================================== */
.mod-freeHTML .stepSwiper {
    width: 100%;
    padding-bottom: 50px; /* 下部ナビドット用のセーフエリア */
}

/* 全スライドの高さを一番高いコンテンツに強制統一（ガクガク防止） */
.mod-freeHTML .stepSwiper .swiper-slide {
    height: auto !important; 
    display: flex !important;
}

/* スライドコンテンツの中央寄せ・テキストの広がり制御 */
.mod-freeHTML .stepSwiper-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 40px; /* 左右の矢印ナビと被らないように内側余白を設定 */
    box-sizing: border-box;
}

/* スライド画像を中央にゆったり大きめに表示 */
.mod-freeHTML .stepSwiper-img {
    width: 100%;
    max-width: 380px;
    margin-bottom: 25px;
    text-align: center;
}
.mod-freeHTML .stepSwiper-img img {
    width: 100%;
    height: auto;
}

/* スライド内の説明文テキスト（左揃えで可読性を担保） */
.mod-freeHTML .stepSwiper-txt {
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
    width: 100%;
    margin-bottom: 20px;
    color: #333333;
}

/* 注釈・補足説明用：テキストのみのすっきりしたライトグレー背景ボックス */
.mod-freeHTML .stepSwiper-note {
    width: 100%;
    background-color: #f5f5f5;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: left;
    margin-top: 10px;
    box-sizing: border-box;
}
.mod-freeHTML .stepSwiper-note p {
    font-size: 12px;
    line-height: 1.5;
    color: #555555;
    margin: 0;
}
.mod-freeHTML .stepSwiper-note .note-title {
    color: #d71313;
    font-weight: bold;
    margin-bottom: 8px;
}

/* Swiper純正ナビゲーションパーツのカラーをブランドブルーに統合 */
.mod-freeHTML .swiper-button-next,
.mod-freeHTML .swiper-button-prev {
    color: #005bac !important;
}
.mod-freeHTML .swiper-pagination-bullet-active {
    background: #005bac !important;
}

/* ==========================================================================
   5. 各種ボタンの最適化（巨大化の防止とモダンなデザインへの上書き）
   ========================================================================== */
/* 元の外箱（抜け殻のグレー帯）の装飾を画像・疑似要素ごと完全に消去する */
.mod-freeHTML .paid-plan-wrapper .cmn-btn {
    text-align: center !important;
    margin: 40px auto !important;
    background: none !important;              /* 背景画像やグラデーションを消す */
    background-color: transparent !important; /* 背景色を透明にする */
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* 念のため、疑似要素（::before / ::after）で枠が作られていた場合も消去 */
.mod-freeHTML .paid-plan-wrapper .cmn-btn::before,
.mod-freeHTML .paid-plan-wrapper .cmn-btn::after {
    display: none !important;
    content: none !important;
}

/* クソでかスタイルの強制リセットと適正化（リンク自体をボタン化） */
.mod-freeHTML .paid-plan-wrapper .cmn-btn a {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 320px !important; /* ここでボタンの横幅を適正サイズに制限！ */
    min-height: 54px !important;
    padding: 10px 20px !important; /* 異常な余白をリセット */
    font-size: 16px !important; /* 異常な文字サイズをリセット */
    font-weight: bold !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    border-radius: 8px !important; /* 今風の丸み */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important; /* ドギツイ影を上品なシャドウに */
    border: none !important; /* ダサい二重線を消去 */
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    white-space: normal !important;
}

/* 右側の「＞」矢印をCSSで綺麗に作り直す */
.mod-freeHTML .paid-plan-wrapper .cmn-btn a::after {
    content: "" !important;
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    margin-left: 15px !important;
    border-top: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
    transform: rotate(45deg) !important;
    background: none !important;
}

/* マウスホバー時の浮き上がりアクション */
.mod-freeHTML .paid-plan-wrapper .cmn-btn a:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15) !important;
    opacity: 0.9 !important;
}

/* ▼ STEP2：Brother Online登録ボタン（ブランドブルー） */
.mod-freeHTML .paid-plan-wrapper .warranty__link .cmn-btn a {
    background-color: #005bac !important;
    color: #ffffff !important;
}

/* ▼ FAQボタン（上品なパープル） */
.mod-freeHTML .paid-plan-wrapper .cmn-btn.cmn-btn--purple a {
    background-color: #7b6ba7 !important; 
    color: #ffffff !important;
}