@charset "UTF-8";

/* ==========================================================================
   1. 全体共通・デザインシステム設定（有料プランのデザインを適用）
   ========================================================================== */
.mod-freeHTML .hipri-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 .hipri-wrapper .cmn-att li,
.mod-freeHTML .hipri-wrapper .cmn-att li.red {
    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 .hipri-wrapper .cmn-inner {
        max-width: 1052px !important;
        margin: 0 auto !important;
    }
    .mod-freeHTML .hipri-wrapper .cmn-tit {
        font-size: var(--fs-l) !important;
    }
    .mod-freeHTML .hipri-wrapper .about__lead {
        font-size: var(--fs-m) !important;
    }

    /* ご登録・ご利用に必要な環境・書類：3カラム横並びカード */
    .mod-freeHTML .hipri-wrapper .register__need__list {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px !important;
        margin-top: 35px !important;
    }
    .mod-freeHTML .hipri-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 .hipri-wrapper .register__need__list__item .grid-need01,
    .mod-freeHTML .hipri-wrapper .register__need__list__item .grid-need02,
    .mod-freeHTML .hipri-wrapper .register__need__list__item .grid-need03 {
        grid-area: auto !important;
        width: auto !important;
        margin: 0 !important;
    }
    .mod-freeHTML .hipri-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 .hipri-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 .hipri-wrapper .register__need__img {
        height: 140px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 20px !important;
    }
    .mod-freeHTML .hipri-wrapper .register__need__img picture {
        display: block !important;
        max-width: 100% !important;
        max-height: 100% !important;
        height: 100% !important;
    }
    .mod-freeHTML .hipri-wrapper .register__need__img img,
    .mod-freeHTML .hipri-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 .hipri-wrapper .register__need__detial { text-align: left !important; }
    .mod-freeHTML .hipri-wrapper .register__need__txt {
        font-size: var(--fs-body) !important;
        font-weight: normal !important;
        line-height: 1.6 !important;
        color: #333333 !important;
    }
    .mod-freeHTML .hipri-wrapper .register__need__info__tit { font-size: 12px !important; margin-top: 15px !important; }
    .mod-freeHTML .hipri-wrapper .register__need__info__list { font-size: 12px !important; justify-content: center !important; margin-top: 5px !important;}
}

/* ==========================================================================
   3. 各種ボタンの最適化（巨大化の防止とモダンなデザインへの上書き）
   ========================================================================== */
/* 元の外箱（抜け殻のグレー帯）の装飾を画像・疑似要素ごと完全に消去する */
.mod-freeHTML .hipri-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 .hipri-wrapper .cmn-btn::before,
.mod-freeHTML .hipri-wrapper .cmn-btn::after {
    display: none !important;
    content: none !important;
}

/* クソでかスタイルの強制リセットと適正化（リンク自体をボタン化） */
.mod-freeHTML .hipri-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;
    background-color: #005bac !important; /* 標準ブルー */
    color: #ffffff !important;
}

/* 古い枠の疑似要素を消去 */
.mod-freeHTML .hipri-wrapper .cmn-btn a::before {
    display: none !important;
    content: none !important;
}

/* 右側の「＞」矢印をCSSで綺麗に作り直す */
.mod-freeHTML .hipri-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) translateY(-50%) !important;
    transform-origin: center !important;
    background: none !important;
    position: static !important; /* position absoluteを解除 */
}

/* マウスホバー時の浮き上がりアクション */
.mod-freeHTML .hipri-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;
}

/* FAQボタンなど色違い用 */
.mod-freeHTML .hipri-wrapper .cmn-btn.cmn-btn--orange a {
    background-color: #e78019 !important;
}