@charset "UTF-8";
/*
 * 全ページ共通「ページトップへ戻る」固定ボタン専用 CSS
 * import.css は編集禁止（Xserver で max-age 7日・キャッシュバスター無し配信のため）。
 * 読み込みは blade 側で mics()->asset() を使いバスター付与する。
 * 公開後に本ファイルを修正する場合は system/config/mics.php の version を bump すること。
 *
 * JS は data/themes/mics/js/common.js:105-134 の既存 .pagetop ハンドラを流用（本タスクでは編集しない）。
 */

.pagetop {
    position: fixed;
    right: 40px;
    bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #00a89d;
    /* Figma 実測 */
    color: #fff;
    /* chevron の currentColor */
    cursor: pointer;
    z-index: 9000;
    -webkit-appearance: none;
    appearance: none;
}

.pagetop__icon {
    width: 40px;
    height: 40px;
}

.pagetop:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .pagetop {
        right: 16px;
        bottom: 16px;
        width: 64px;
        height: 64px;
    }

    .pagetop__icon {
        width: 32px;
        height: 32px;
    }
}
