    /* アイコン変更ボタンで背景を薄暗くする */
    .back_screen {
        display: none;
        position: absolute;
        right: 0;
        width: 100%;
        height: 200vh;
        background: rgba(0, 0, 0, 0.3);
        z-index: 50;
        opacity: 0;
        transition: opacity 0.3s ease-out;
        justify-content: center;
        align-items: center;
    }

    .back_screen.visible {
        display: flex;
        opacity: 1;
    }

    .ic_card {
        width: 30%;
        height: 30%;
        background: white;
        border-radius: 10px;
        transition: border-radius 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        display: none;
        transform: translateY(-20px);
        opacity: 0;
    }

    .ic_card.visible {
        display: block;
        transform: translateY(0);
        opacity: 1;
        width: 400px;
        height: 350px;
        margin-top: 40%;
        position: absolute;
    }

    .shadow {
        box-shadow: inset 0 -3em 3em rgba(0, 0, 0, 0.1),
            0 0 0 2px rgb(190, 190, 190),
            0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
    }

    /* アイコン変更ページ */
    .self_pr_image_item {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: 100%;
    }

    .self_pr_image_item img {
        width: 50%;
        height: 55%;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    /* 画像を変更するボタン */
    .self_pr_image_btn {
        display: block;
        width: 150px;
        margin: 20px auto 0 auto;
        border-radius: 8px;
        border: 2px solid black;
        background: #e8e8e8;
        color: #111111;
        font-weight: 600;
        padding: 10px 20px;
        text-align: center;
        cursor: pointer;
    }

    .self_pr_image_btn:hover {
        transform: translateY(-0.33em);
        transition: all 0.2s ease-in-out;
        background: #212121;
        color: #ffffff;
    }

    .self_pr_image_btn:hover > label {
        color: #ffffff;
    }

    .self_pr_image_btn label {
        cursor: pointer;
        margin: 0;
        color: black;
    }

    .self_pr_image_btn input[type="file"] {
        display: none;
    }

    /* crop モーダル */
    .overlay.none {
        display: none;
    }

    .overlay {
        position: absolute;
    }

    .overlay .modal {
        display: block;
        position: absolute !important;
        width: 400px;
        height: 486px;
        border-radius: 12px;
        background-color: #FFF;
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, .16), 0 1px 1px 0 rgba(0, 0, 0, .04);
        padding: 10px;
        text-align: center;
        cursor: pointer;
        z-index: 100;
        top: -350px;
    }

    .overlay #modal_img {
        display: none;
    }

    #out.none {
        display: none;
    }

    .input-range {
        -webkit-appearance: none;
        appearance: none;
        cursor: pointer;
        background: #8acdff;
        height: 14px;
        width: 100%;
        border-radius: 10px;
        border: solid 3px #dff1ff;
        outline: 0;
        margin: 10px auto 0 auto;
    }

    .input-range:focus {
        box-shadow: 0 0 3px rgb(0, 161, 255);
    }

    .input-range::-webkit-slider-thumb {
        -webkit-appearance: none;
        background: #53aeff;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15);
    }

    .input-range::-moz-range-thumb {
        background: #53aeff;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15);
        border: none;
    }

    .input-range::-moz-focus-outer {
        border: 0;
    }

    .input-range:active::-webkit-slider-thumb {
        box-shadow: 0px 5px 10px -2px rgba(0, 0, 0, 0.3);
    }

    .crop_des {
        font-size: 13px;
        line-height: 150%;
        margin: 0;
    }

    .crop_btn {
        display: flex;
        justify-content: center;
        margin-top: 5%;
    }

    .crop_btn a {
        --button_radius: 0.75em;
        --button_color: #e8e8e8;
        --button_outline_color: #000000;
        font-size: 17px;
        font-weight: bold;
        border: none;
        border-radius: var(--button_radius);
        background: var(--button_outline_color);
    }

    /* cancel / ok 共通スタイル。
       white-space: nowrap で「キャンセル」が折り返してボタン高さが変わるのを防ぐ。
       width: 160px は 140px だと「キャンセル」5文字のコンテンツ幅がギリギリのため余裕を持たせた値。 */
    .crop_btn .cancel,
    .crop_btn .ok {
        width: 160px;
        display: block;
        box-sizing: border-box;
        border: 2px solid var(--button_outline_color);
        border-radius: var(--button_radius);
        padding: 0.75em 1.5em;
        background: var(--button_color);
        color: var(--button_outline_color);
        text-align: center;
        line-height: 1.4;
        white-space: nowrap;
        text-decoration: none;
        transform: translateY(-0.2em);
        transition: transform 0.1s ease;
    }

    .crop_btn .cancel { margin-right: 10px; }
    .crop_btn .ok     { margin-left:  10px; }

    .crop_btn a:hover {
        transform: translateY(-0.33em);
        transition: all 0.2s ease-in-out;
        background: #212121;
        color: #ffffff;
    }

    .crop_btn a:active {
        transform: translateY(0);
    }

    /*
     * SweetAlert2 の確認ダイアログを .header（z-index:1100）より前面に表示するための上書き。
     * .back_screen は .header の子要素のため .header のスタッキングコンテキスト内に属し、
     * Swal のデフォルト z-index:1060 では .header に隠れてしまう。
     */
    .swal2-container {
        z-index: 9999 !important;
    }
