/*
 * redesignのCSSを全て読み込む
 * redesignのディレクトリパスは後ほど修正する
 */
:root {
    --Num-gap-20: 20px;
    --Num-padding-20: 20px;
    --Num-padding-24: 24px;
    --Num-radius-sm: 6px;
    --Num-radius-base: 8px;
    --Border-border-intense: #B6C1CA;
    --Border-border-default: #DCE0E5;
    --Background-bg-primary-hover: #142F5B;
    --Background-bg-base: #FFF;
    --Background-bg-secondary: #F6F7F9;
    --Neutrals-neutral-100: #EDF0F2;
    --Primary-Colour01: #1F4F9A;
    --Primary-primary-300: #CCE0FF;
    --Danger-danger-500: #DF0C3D;
    --Warning-warning-300: #FFDE66;

    --Texts-text-base: #14181F;
    --Texts-text-secondary: #525E6F;
    --Texts-text-muted: #6F7C8E;

    --Primary-white: #FFFFFF;
    --Primary-primary-100: #F0F7FF;
    --Primary-primary-200: #E0EDFF;
    --Primary-primary-300: #CCE0FF;
    
    --Overlay-bg: rgba(20, 24, 31, 0.5);
    --Modal-shadow: 0px 8px 24px rgba(20, 24, 31, 0.12);

    --Permitted-Group-Width: 720px;
    --Card-Search-Width: 1028px;
    --Card-Width: 720px;
    --Service-usage-width : 1085px;
}

body {
    /* Typography/text-base-500 */
    font-family: "Noto Sans JP";
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 21px */
    color: var(--Texts-text-base, #14181F);
}

h1 {
    margin: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    color: var(--Primary-Colour01, #1F4F9A);
    &:hover {
        color: var(--Texts-text-muted, #6F7C8E);
        
        path {
            stroke: var(--Texts-text-muted, #6F7C8E);
        }
    }
}

button, select {
    cursor: pointer;
}

/* サイドバーがない画面の設定（旧デザイン） */
body.no-sidebar {
    .main {
        width: var(--Card-Search-Width);
        margin: auto;
    }
    header {
        h1 {
            width: calc(var(--Card-Search-Width) + 150px);
            margin: 0 auto;
            margin-bottom: 8px;
        }

        border-bottom: 1px solid #b6b6b6;
        p {
            margin-bottom: 1rem;
            margin-top: 0;
            font-weight: 400;
        }

        .clear {
            clear: both;
        }

        .right {
            font-size: 20px;
            float: right;
            text-align: right;
        }
    }
}/* ログインページのみのスタイル */
.login-container {
    /* boxを中央に配置 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: absolute;
    width: 100%;
    min-width: 1366px;
    height: 100%;
    
}

.login-heading {
    color: var(--Texts-text-base, #14181F);

    /* Header4 */
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.12px;

    width: 100%;
}

/* ログイン後のスタイル */
.container {
    min-width: 1366px;
    height: 100%;
    flex-shrink: 0;
    background: var(--Background-bg-base, #FFF);

    flex-direction: row;
    justify-content: flex-start;
}
.main {
    margin: 0 0 30px auto;
    padding: 8px 20px 18px;
    width: calc(100% - 281px);
}

/* サイドバー */
.sidebar {
    width: 240px;
    flex-shrink: 0;

    border-right: 1px solid var(--Border-border-default, #DCE0E5);
    background: var(--Sidebar, #FAFCFF);

    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    box-sizing: border-box;

    z-index: 2;

    & .sidebar-logo {
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--Sidebar, #FAFCFF);
        padding: 8px 0;
    }

    & .sidebar-scrollable {
        overflow-y: scroll;
        scrollbar-width: none;
        height: 100%;
    }
}
.sidebar a, .sidebar label {
    border-radius: var(--Num-radius-base, 8px);

    &:not(.logo-sidebar):hover {
        background: var(--Primary-primary-100, #F0F7FF);
    }

    path { stroke: #14181F; }
    &:hover {
        color: var(--Primary-Colour01, #1F4F9A);
        path { stroke: var(--Primary-Colour01, #1F4F9A); }
    }

    .icon-obj_sidebar-arrow path { stroke: #525E6F !important; }
}
.menu {
    box-sizing: border-box;
    width: 100%;
}
.menu-item {
    padding: 2px 12px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    flex-shrink: 0;
    align-self: stretch;

    position: relative;
}
.menu-item a, .menu-item label {
    display: flex;
    height: 40px;
    padding: 6px 8px;
    justify-content: flex-start;
    align-items: center;
    flex-shrink: 0;
    align-self: stretch;
    color: var(--Texts-text-base, #14181F);

    gap: 12px;
    flex: 1 0 0;
    box-sizing: border-box;
}
.menu-item.on > a, .menu-item.on > label{
    color: var(--Primary-Colour01, #1F4F9A);
    background: var(--Primary-primary-200, #E0EDFF);
    &:hover {
        color: var(--Primary-Colour01, #1F4F9A);
    }

    :not(.icon-obj_sidebar-arrow) path { stroke: var(--Primary-Colour01, #1F4F9A) !important; }
}

.menu-item > a,
.menu-item > label {
    /* Typography/text-base-500 */
    font-family: "Noto Sans JP";
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 21px */

    text-decoration: none;
    color: inherit;
}

.menu-dropdown {
    display: none;
    position: absolute;
    left: 225px;
    width: 216px;
    padding: 8px 0;
    
    border: 1px solid var(--Border-border-default, #DCE0E5);
    background: var(--Background-bg-raised, #FFF);

    /* Shadows/Shadow-3 */
    box-shadow: 0 6px 12px 0 rgba(51, 51, 51, 0.08);

    z-index: 2;
    text-align: left;
    border-radius: 8px;
}
.menu-dropdown-item {
    padding: 2px 8px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    flex-shrink: 0;
    align-self: stretch;

    position: relative;
}
.menu-dropdown-item > a {
    display: flex;
    height: 40px;
    padding: 6px 8px;
    justify-content: flex-start;
    align-items: center;
    flex-shrink: 0;
    align-self: stretch;
    color: var(--Texts-text-base, #14181F);

    text-decoration: none;
    border-radius: var(--Num-radius-base, 8px);

    &:hover {
        background: var(--Primary-primary-200, #E0EDFF);
        color: var(--Primary-Colour01, #1F4F9A);
    }

    box-sizing: border-box;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 16px 20px 16px 260px;
    /* width: calc(100% - 281px); */
    width: 100%;

    /* body 3 */
    font-family: "Noto Sans JP";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 145%; /* 17.4px */

    position: fixed;
    bottom: 0;
    right: 0;
    background: var(--Background-bg-base, #FFF);
    border-top: 1px solid var(--Border-border-default, #DCE0E5);
    z-index: 1;
    box-sizing: border-box;
}
.footer p {
    margin: 0;
    padding: 0;
}

/* サイドメニュー縮小 */
.sidebar .close-sidebar {
    display: block;
}
.sidebar .open-sidebar {
    display: none;
}
#sidebar-toggle:checked {
    ~ .main {
        width: calc(100% - 141px);
    }
    ~ .sidebar {
        width: 100px;
        .close-sidebar {
            display: none;
        }
        .sidebar-logo {
            border-bottom: 1px solid var(--Border-border-default, #DCE0E5);
        }
        .open-sidebar {
            display: block;
        }
        .icon-obj_sidebar-arrow {
            width: 7px;
            height: 9px;
            flex-shrink: 0;

            top: 26%;
            right: 15px;
        }
        .menu-item {
            padding: 2px;
        }
        .menu-item span {
            flex: 1 1 100%;
        }
        .menu-item > a,
        .menu-item > label {
            display: flex;
            height: 70px;
            padding: 15px 0 12px;
            align-items: center;
            justify-content: center;
            gap: 6px;
            align-self: stretch;

            /* Typography/text-xs */
            font-size: 11px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;

            text-align: center;
            flex-wrap: wrap;
            box-sizing: border-box;
        }
        .icon-obj_sidebar-arrow {
            width: 6px;
            height: 11px;
        }

        .sidebar-dropdowns {
            .menu-dropdown {
                left: 99px;

                .menu-dropdown .menu-item{
                    padding: 2px 12px;
                }
                .menu-dropdown a,
                .menu-dropdown label {
                    /* Typography/text-base-500 */
                    font-family: "Noto Sans JP";
                    font-size: 15px;
                    font-style: normal;
                    font-weight: 500;
                    line-height: 140%; /* 21px */
                    text-align: left;
                }
            }
        }
    }

    ~ .footer {
        padding: 16px 20px 16px 120px;
    }
}

/* #sidebar-toggle:checked ~ .footer {
    width: calc(100% - 141px);
} */

.row {
    display: flex;
    column-gap: 12px;
    align-items: center;
}
.row+.row {
    /* margin-top: var(--Num-gap-20, 20px); */
    margin-top: 8px;
}
.col {
    align-items: center;
    column-gap: 6px;
    max-width: 100%;
}
.col-fluid {
    flex: 1 1 0;
}

.heading {
    color: var(--Texts-text-base, #14181F);

    /* Typography/text-h4 */
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 28px */

    width: 100%;
    margin: 0;
}
.heading-sub {
    color: #000;

    /* Typography/text-base-500 */
    font-family: "Noto Sans JP";
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 21px */

    width: 100%;
    margin: 0;
    margin: 0 auto 16px 0;
}

.table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;

    .table-row {
        /* align-items: center; */
        flex-shrink: 0;
    }
    .table-header {
        padding: 8px 0px;
        /* align-items: center; */
        gap: 4px;
        flex-shrink: 0;
        border-bottom: 1px solid var(--Border-border-default, #DCE0E5);
        background: var(--Primary-primary-200, #E0EDFF);
        text-align: left;
    }
    .table-header th {
        color: var(--Texts-text-base, #14181F);

        /* Typography/text-base-500 */
        font-family: "Noto Sans JP";
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 140%; /* 21px */
    }

    .table-body td {
        box-sizing: border-box;
        /* 必要に応じてテキスト配置や背景色など追加 */

        min-width: 0;
        height: 55px;   /* 最低サイズで、可変にしたい */
        border-bottom: 1px solid var(--Border-border-default, #DCE0E5);

        position: relative;
        word-wrap: break-word;

        /* リスト内文字 */
        font-family: "Noto Sans JP";
        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%; /* 18.2px */
    }

    th, td {
        padding: 16px 12px;
    }
    .table-row_csv-evidence td {
        padding: 8px 8px;
        vertical-align: top;
        white-space: normal;
    }

    /* thに設定するクラス */
    .table-fuzzyrate { width: 72px; }
    .table-type { width: 100px; }
    .table-year { width: 58px; }
    .table-address { min-width: 90px; }
    .table-date { width: 86px; }
    .table-datetime { width: 150px; }
    .table-tag { width: 110px; }
    .table-title { width: 400px; min-width: 200px; }
    .table-birthday { width: 90px; }
    .table-corporatenumber { width: 120px; }
    .table-target-resource { width: 60px; }
    .table-search-function { width: 90px; }
    .table-download { width: 160px; }
    .table-history-note { width: 180px; }
    .table-lookup { width: 55px; }
    .table-lookup-button { width: 75px; }
    .table-checkbox { width: 40px; }
    .table-group { width: 200px; }
    .table-mfa { width: 80px; }
    .table-edit { width: 100px; }
    .table-assign-role { width: 180px; }

    /* tdに設定するクラス */
    .table-history-note-content {
        padding: 8px 12px;
        white-space: normal;
    }
    .table-note-content {
        color: var(--Texts-text-base, #14181F);
        flex: 1 0 0;

        white-space: normal;

        /* Typography/text-xs */
        font-family: "Noto Sans JP";
        font-size: 11px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }
    .table-lookup-content {
        text-align: center;
        text-align: -webkit-center;
        text-align: -moz-center;
        text-align: -ms-center;
        text-align: -o-center;
    }
}
.table-modal {
    margin: 0 auto;
    border-spacing: 56px 8px;

    td:nth-child(n+2) {
        margin-left: 56px;
    }

    th {
        min-width: 127px;
        text-align: left;
        font-weight: inherit;
    }

    td {
        text-align: left;
    }

    i {
        margin-right: 8px;
        vertical-align: inherit;
    }
}

/* 文章 */
.text-secondary {
    color: var(--Texts-text-muted, #6F7C8E);
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    margin-bottom: 6px;
}
.text-small {
    overflow: hidden;
    color: var(--Texts-text-base, #14181F);

    /* Typography/text-xs */
    font-family: "Noto Sans JP";
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.text-info {
    color: var(--Texts-text-base, #14181F);

    /* Body4 */
    font-family: "Noto Sans JP";
    font-size: 9px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}
.text-notification {
    color: var(--Texts-text-danger, #DF0C3D);
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    margin-bottom: 6px;
}
.rumor-notification {
    border-top: 1px solid #000;
    padding-top: 4px;

    color: #000;

    /* Body2 */
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 145%; /* 20.3px */
}
.text-paginator {
    display: flex;
    padding: 5px 12px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0px;
    text-align: center;
    /* bold/body1-Bold */
    font-family: "Noto Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px; /* 157.143% */
    color: var(--Texts-text-active, #3348FF);

    * {
        padding: 5px 12px;
        box-sizing: border-box;
    }

    a {
        text-align: center;
        font-family: "Noto Sans";
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px; /* 157.143% */
        color: var(--Texts-text-muted, #6F7C8E);
        
        text-decoration: none;
    }
}

/* エラーページ */
.error {
    flex-shrink: 0;
    justify-content: center;
    align-items: center;

    box-sizing: border-box;
    padding: var(--Num-padding-20, 20px) var(--Num-padding-24, 24px);

    /* position: absolute;
    top: 0;
    display: flex; */
}
.error-heading {
    color: var(--Texts-text-base, #14181F);
    text-align: center;

    /* Header1 */
    font-family: "Noto Sans JP";
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.72px;
}
.error-message {
    color: var(--Texts-text-base, #14181F);
    text-align: center;

    /* Header4 */
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.12px;

    margin: 0;
}
.alert {
    display: flex;
    width: 581px;
    height: 40px;
    padding: 8px 8px 8px 12px;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border-radius: var(--Num-radius-base, 8px);
    background: var(--Warning-warning-200, #FFED9E);
}
.note-error {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 4px;

    color: var(--Texts-text-danger, #DF0C3D);

    /* Typography/text-xs */
    font-family: "Noto Sans JP";
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.flash {
    display: flex;
    min-width: 586px;
    min-height: 40px;
    padding: 8px 8px 8px 12px;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;

    box-sizing: border-box;
}
.flash_small {
    display: flex;
    width: 90px;
    height: 32px;
    min-height: 0;
    padding: 8px;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;

    box-sizing: border-box;

    div p {
        color: var(--Texts-text-base, #14181F);
        /* body 3 */
        font-family: "Noto Sans JP";
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 145%; /* 17.4px */
    }
}
.flash-succeeded {
    border-radius: var(--Num-radius-base, 8px);
    background: var(--Info-info-200, #B3F8EB);
}
.flash-error {
    border-radius: var(--Num-radius-base, 8px);
    background: var(--Danger-danger-200, #FFDEE0);
}
.flash-info {
    border-radius: var(--Num-radius-base, 8px);
    background: var(--Danger-danger-200, #FFDEE0);
}

.flash p {
    margin: 0;

    color: var(--Texts-text-base, #14181F);

    /* Typography/text-base-500 */
    font-family: "Noto Sans JP";
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 21px */
}

.search-result_container {
    max-width: 1028px;
    align-items: normal;
    justify-content: space-between;
}

/* ページ戻るボタン */
.page-back-button {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--Texts-text-base, #14181F);
    text-decoration: none;
    /* Typography/text-xs */
    font-family: "Noto Sans JP";
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* {{template "alert" .SessionMessage}} の 場所確保用 */
.message-container {
    min-height: 40px;
    &.with-margin {
        margin-top: 2px;
        margin-bottom: 2px;
    } 
}

/* 利用状況 */
.service-usage-container {
    width: var(--Service-usage-width);
    a {
        color: var(--Texts-text-base, #14181F);
    }

    .text-primary {
        color: var(--Primary-Colour01, #1F4F9A);

        /* Typography/text-base-500 */
        font-family: "Noto Sans JP";
        font-size: 15px;
        font-style: normal;
        font-weight: 500;
        line-height: 140%; /* 21px */
    }
    .text-emphasis {
        color: var(--Texts-text-base, #14181F);

        /* Typography/text-h5 */
        font-family: "Noto Sans JP";
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: 140%; /* 25.2px */
        .yearly-search-count-label,.contact-count-label {
            font-weight: 400;
        }
        &.yearly-info {
            font-weight: 400;
        }
    }
    .text-normal {
        color: var(--Texts-text-base, #14181F);

        /* Typography/text-long-paragraph */
        font-family: "Noto Sans JP";
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px; /* 150% */
        &.update-at {
            font-size: 15px;
        }
    }
    .text-small {
        color: var(--Texts-text-base, #14181F);

        /* Typography/text-xs */
        font-family: "Noto Sans JP";
        font-size: 11px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    h1 {
        color: var(--Texts-text-base, #14181F);

        /* Typography/text-h4 */
        font-family: "Noto Sans JP";
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 140%; /* 28px */
    }

    .top-info {
        .row.usage-period {
            &.trial {
                height: auto;
            }
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            height: 50px;

            .col.period-info {
                width: 898px;
            }

            .col.actions {
                height: 100%;
            }

            .usage-period-head {
                align-items: center;
            }

            .row.yearly-info {
                display: block;
                height: 25px;
            }

            .form-button.update-service-usage {
                display: flex;
                height: 32px;
                width: 188px;
                padding: 8px;
                justify-content: center;
                align-items: center;
                flex-shrink: 0;
                color: var(--Texts-text-white, #FFF);

                /* Typography/text-base-500 */
                font-family: "Noto Sans JP";
                font-size: 15px;
                font-style: normal;
                font-weight: 500;
                line-height: 140%; /* 21px */
                /* Btn-effect */
                box-shadow: 0 7px 12px 0 rgba(255, 255, 255, 0.08) inset, 0 -2px 2px 0 rgba(48, 48, 48, 0.10) inset;
            }
        }

        .row.cards {

            .card-usage.service-usage {
                display: block;
                height: 190px;
                box-sizing: border-box;
                .body-text {
                    color: var(--Texts-text-base, #14181F);

                    /* Typography/text-base */
                    font-family: "Noto Sans JP";
                    font-size: 15px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 140%; /* 21px */
                }
                &::before {
                    bottom: 14px;
                }
            }
        }
    }

    .amounts {
        width: 794px;
        .row.details {
            align-items: flex-start;
        }
        .col.first {
            width: 355px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            column-gap: 4px;
        }
        .row.g-searchs {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            column-gap: 3px;
        }
        hr {
            border: none;
            border-top: 1px solid #000;
            margin-top: 16px;
            margin-bottom: 24px;
        }
        .text-normal {
            font-size: 15px;
            line-height: 140%; /* 21px */
        }
        .text-item {
            color: var(--Texts-text-base, #14181F);

            /* Typography/text-base-500 */
            font-family: "Noto Sans JP";
            font-size: 15px;
            font-style: normal;
            font-weight: 500;
            line-height: 140%; /* 21px */
        }
        .text-note {
            color: var(--Texts-text-base, #14181F);

            /* body 3 */
            font-family: "Noto Sans JP";
            font-size: 12px;
            font-style: normal;
            font-weight: 400;
            line-height: 145%; /* 17.4px */
        }
    }



    .unit-pricing {
        .table.accordion-table {
            margin-top: 64px;
            /* アコーディオンがOPENの時 */
            &.is-open {
                thead tr::after {
                    transform: translateY(-50%) rotate(180deg);	
                }
                tbody {
                    display: table-row-group;
                    animation: slideDown 0.3s ease-out; /* アニメーションを適用 */
                }
            }

            thead {
                cursor: pointer;
                user-select: none;

                &:hover {
                    background-color: #dbeaff;
                }

                tr {
                    position: relative;
                    /* シェブロン */
                    &::after {
                        content: ''; 
                        background-image: url("/img/icon-arrow_down.svg"); 
                        background-repeat: no-repeat;
                        background-position: center; 
                        background-size: 100% auto; 
                        
                        position: absolute;
                        right: 20px;
                        top: 50%;
                        transform: translateY(-50%) rotate(0deg); /* 初期は下向き */
                        transition: transform 0.2s ease-in-out;
                        width: 14px;  /* SVGの元の幅 */
                        height: 8px; /* SVGの元の高さ */
                    }
                }
            }

            tbody {
                display: none; /* 初期状態では非表示 */
                tr:nth-child(even) {
                    color: var(--Texts-text-secondary, #525E6F);
                }
            }

            tr {
                border-bottom: 1px solid var(--Border-border-default, #DCE0E5);
            }
            th {
                padding: 8px 12px;
                height: 44px;
                box-sizing: border-box;

                color: var(--Texts-text-base, #14181F);

                font-family: "Noto Sans JP";
                font-size: 15px;
                font-style: normal;
                font-weight: 500;
                line-height: 140%; /* 21px */
            }
            td {
                padding: 8px;
                height: 44px;
                box-sizing: border-box;

                overflow: hidden;
                text-overflow: ellipsis;

                /* Typography/text-base */
                font-family: "Noto Sans JP";
                font-size: 15px;
                font-style: normal;
                font-weight: 400;
                line-height: 140%; /* 21px */
            }

        }

    }

    .histories {
        margin-top: 84px;
        h1 {
            margin-bottom: 10px;
        }
        .table {
            width: auto;
            th,td {
                padding: 8px;
                box-sizing: border-box;
                font-weight: 400;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            /* ヘッダを改行させない調整 */
            th {
                padding: 8px 4px;
                &:first-child {
                    padding-left: 8px;
                }
            }
        }
    }
}

/* スライドアニメーションの定義 */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* お知らせ詳細 */
table {
    .announcement-title {
        color: var(--Texts-text-base, #14181F);

        /* Typography/text-base-lg-500 */
        font-family: "Noto Sans JP";
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: 140%; /* 25.2px */
    }
    .announcement-content {
        display: block;
        margin-top: 24px!important;
        color: var(--Texts-text-base, #14181F);

        /* Typography/text-base */
        font-family: "Noto Sans JP";
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%; /* 21px */

        white-space: normal;
        word-break: break-word;
        word-wrap: break-word;
    }
    .announcement-link {
        display: inline-block;
        margin-top: 20px;
    }

}

/*
 * カード関連
 */
.card-login {
    width: 810px;
    /* height: 505px; */
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    border-radius: var(--Num-radius-base, 8px);
    border: 1px solid var(--Border-border-default, #DCE0E5);
    background: var(--Background-bg-base, #FFF);

    /* Shadows/Shadow-1 */
    box-shadow: 0px 1px 2px 0px rgba(128, 128, 128, 0.12);

    box-sizing: border-box;
    padding: var(--Num-padding-20, 20px) var(--Num-padding-24, 24px);
}
.card-login-img {
    width: 263px;
    height: 394px;
    flex-shrink: 0;
    border-radius: 32px;
    background: url(/img/card-login.jpg) lightgray 50% / cover no-repeat;
    opacity: 0.7;
}

.card-search {
    display: flex;
    width: var(--Card-Search-Width);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;

    border-radius: 8px;
    border: 1px solid var(--Border-border-default, #DCE0E5);
    background: var(--Background-bg-raised, #FFF);
    box-shadow: 0px 4px 4px 0px var(--Border-border-default, #DCE0E5);

    box-sizing: border-box;
}
.card-search > * {
    /* max-width: 720px; */
}

.card-account {
    display: flex;
    min-width: 216px;
    max-width: 500px;
    padding: 7px 12px;
    justify-content: space-between;
    align-items: center;

    border-radius: var(--Num-radius-base, 8px);
    border: 1px solid var(--Border-border-intense, #B6C1CA);
    background: var(--Background-bg-raised, #FFF);

    /* Shadows/Shadow-1 */
    box-shadow: 0px 1px 2px 0px rgba(128, 128, 128, 0.12);
}
.card_account_name {
    color: var(--Texts-text-base, #14181F);
    font-size: 15px;
    font-weight: 500;
}
.card-account_status {
    color: var(--Primary-Colour01, #1F4F9A);
    font-size: 11px;
}
.card-account .row+.row {
    margin-top: 0;
}

.card-usage {
    display: flex;
    width: 351px;
    height: 190px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

    box-sizing: border-box;
    position: relative;
}
.card-usage::before {
    display: flex;
    content: '';
    width: 42px;
    height: 42px;
    padding: 3.062px 3.063px 3.063px 3.062px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.2;

    position: absolute;
    bottom: 30px;
    right: 20px;
}
.card-usage_now, .card-service_usage_domestic {
    border-radius: var(--Num-radius-base, 8px);
    background: var(--Primary-primary-100, #F0F7FF);
    color: var(--Texts-text-secondary, #525E6F);
}
.card-usage_now::before {
    background: url(/img/icon-usage_now.svg) no-repeat center center;
}
.card-service_usage_domestic::before {
    background: url(/img/icon-service_usage_domestic.svg) no-repeat center center;
}
.card-usage_1monthago, .card-service_usage_overseas {
    border-radius: var(--Num-radius-base, 8px);
    background: var(--Warning-warning-100, #FFF6D1);
    color: var(--Texts-text-secondary, #525E6F);
}
.card-usage_1monthago::before {
    background: url(/img/icon-usage_1monthago.svg) no-repeat center center;
}
.card-service_usage_overseas::before {
    background: url(/img/icon-service_usage_overseas.svg) no-repeat center center;
}
.card-usage_2monthago, .card-service_usage_rumor {
    border-radius: var(--Num-radius-base, 8px);
    background: var(--Info-info-100, #D4FCF3);
    color: var(--Texts-text-secondary, #525E6F);
}
.card-usage_2monthago::before {
    background: url(/img/icon-usage_2monthago.svg) no-repeat center center;
}
.card-service_usage_rumor::before {
    background: url(/img/icon-service_usage_rumor.svg) no-repeat center center;
}

.card-usage_heading {
    /* Typography/text-base */
    font-family: "Noto Sans JP";
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 21px */

    margin: 24px auto 33px 0;
}
.card-usage_body {
    color: var(--Texts-text-secondary, #525E6F);
    font-family: Inter;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%; /* 50.4px */

    width: 100%;
}

.card-form {
    display: flex;
    /* padding: 24px; */
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;

    border-radius: 8px;
    border: 1px solid var(--Border-border-default, #DCE0E5);
    background: var(--Background-bg-raised, #FFF);
    box-shadow: 0px 4px 4px 0px var(--Border-border-default, #DCE0E5);
}

.card-980 {
    width: 980px;
}

.card-search-history {
    display: flex;
    width: 1045px;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;

    border-radius: 8px;
    border: 1px solid var(--Border-border-default, #DCE0E5);
    background: var(--Background-bg-raised, #FFF);
    box-shadow: 0px 4px 4px 0px var(--Border-border-default, #DCE0E5);

    box-sizing: border-box;
}

.card-extended-filter {
    display: flex;
    position: relative;
    width: 995px;
    height: 264px;
    padding-bottom: 218px;
    flex-shrink: 0;
    border-radius: var(--Num-radius-base, 8px);
    border: 1px solid var(--Border-border-default, #DCE0E5);
    background: var(--Background-bg-base, #FFF);

    box-sizing: border-box;
    flex-direction: column;
    margin-top: -10px; /* 行間gap打ち消し */
    padding: 24px 10px;

    > * {
        width: 860px;
    }
    .card-extended-filter-close {
        position: absolute;
        top: 12px;
        right: 12px;
        border: none;
        cursor: pointer;
        display: flex;
        width: 20px;
        height: 20px;
        padding: 4.167px 1.666px 4.167px 1.667px;
    }
}
/* salesforce で使っている card */
.card {
    display: block;
    width: var(--Card-Width, 720px);
    height: 200px;

    border-radius: 0px 0px var(--Num-radius-base, 8px) var(--Num-radius-base, 8px);
    border: 1px solid var(--Border-border-default, #DCE0E5);
    background: var(--Background-bg-base, #FFF);

    .card-header {
        display: flex;
        align-items: center;
        padding: 6.029px 8.615px 6.029px 16px;
        height: 46px;
        box-sizing: border-box;

        background: var(--Primary-primary-300, #CCE0FF);
        color: var(--Texts-text-base, #14181F);
        font-family: Inter;
        font-size: 15px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }
    .card-body>row {
        display: flex;
        justify-content: space-between;
    }
}

.card-inner {
    border-radius: 8px;
    border: 1px solid var(--Border-border-intense, #B6C1CA);
    padding: 17px 14px;
    flex-direction: column;
}

/*
 * フォーム関連
 */
.form {
    display: flex;
    padding: var(--Num-padding-20, 20px) var(--Num-padding-24, 24px);
    flex-direction: column;
    align-items: flex-start;
}

.form-item + .form-item {
    margin-top: 20px;
}

.form-item {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    position: relative;
}
.form-item > * {
    flex: 1 0 0;
}
.form-item-checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    /* margin: 10px 0; */
    /* margin-bottom: 10px; */
}

.form-label {
    justify-content: space-between;
    align-items: flex-start;

    color: var(--Texts-text-base, #14181F);

    /* Typography/text-base-500 */
    font-family: "Noto Sans JP";
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 21px */

    white-space: nowrap;
    /* 必須項目 */
    &.required {
        justify-content: flex-start;
    }
}
.form-heading {
    display: flex;
    padding-bottom: 6px;
}

.label-input-file {
    display: flex;
    width: 280px;
    /* height: 44px;
    padding: 8px 12px; */
    padding: 12px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;

    border-radius: var(--Num-radius-base, 8px);
    background: var(--Primary-primary-300, #CCE0FF);

    /* Btn-effect */
    box-shadow: 0 7px 12px 0 rgba(255, 255, 255, 0.08) inset, 0 -2px 2px 0 rgba(48, 48, 48, 0.10) inset;

    color: var(--Primary-Colour01, #1F4F9A);

    /* Typography/text-base-500 */
    font-family: "Noto Sans JP";
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 21px */
}
.label-input-file:hover {
    border-radius: var(--Num-radius-base, 8px);
    background: var(--Primary-primary-100, #F0F7FF);
    cursor: pointer;
}

.label-input-image {
    display: flex;
    width: 177px;
    height: 32px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;

    border-radius: var(--Num-radius-base, 8px);
    background: var(--Primary-primary-300, #CCE0FF);

    /* Btn-effect */
    box-shadow: 0 7px 12px 0 rgba(255, 255, 255, 0.08) inset, 0 -2px 2px 0 rgba(48, 48, 48, 0.10) inset;

    color: var(--Primary-Colour01, #1F4F9A);

    /* Typography/text-base-500 */
    font-family: "Noto Sans JP";
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 21px */
}
.label-input-image:hover {
    border-radius: var(--Num-radius-base, 8px);
    background: var(--Primary-primary-100, #F0F7FF);
    cursor: pointer;
}
.selected-file {
    color: var(--Primary-Colour01, #1F4F9A);
    font-family: "Noto Sans JP";
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.form-input-text,
.form-input-text:-webkit-autofill {
    display: flex;
    /* height: 40px; */
    min-height: 40px;
    padding: 8px 10px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid var(--Border-border-default, #DCE0E5);
    background: var(--Neutrals-neutral-0, #FFF);

    box-sizing: border-box;
    width: 100%;
    max-width: 720px;

    color: var(--Texts-text-base, #14181F);

    /* Typography/text-base */
    font-family: "Noto Sans JP";
    font-size: 15px; /* TODO: Chromeのオートフィルによるフォントサイズの変更 */
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 21px */
}

.form-input-date {
    display: flex;
    /* height: 40px; */
    min-height: 40px;
    padding: 8px 10px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid var(--Border-border-default, #DCE0E5);
    background: var(--Neutrals-neutral-0, #FFF);

    /* Btn-effect */
    box-shadow: 0 7px 12px 0 rgba(255, 255, 255, 0.08) inset, 0 -2px 2px 0 rgba(48, 48, 48, 0.10) inset;

    box-sizing: border-box;
    width: 100%;
    max-width: 720px;

    color: var(--Texts-text-base, #14181F);

    /* Typography/text-base */
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 21px */
}
.form-input-date::-webkit-calendar-picker-indicator {
    position: absolute;   /* 絶対位置指定 */
    right: 10px;           /* 右端からの距離 */

    background: url('/img/icon-calendar.svg') no-repeat right 32px center, url('/img/icon-arrow_down.svg') no-repeat right 10px center;
    background-size: 20px 20px, 12px 12px;
    width: 52px; /* 画像2つ分の幅を確保 */
    height: 20px;
    position: absolute;
    right: 0;
    cursor: pointer;
    opacity: 1;
}

.form-input-icon {
    display: flex;
    width: 32px;
    height: 32px;
    padding: 6px;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 5px;
    right: 5px;
    
    box-sizing: border-box;
}
.form-input-radio {
    width: 20px;
    height: 20px;
    flex: 0 1 20px;

    accent-color: var(--Primary-Colour01, #1F4F9A);
}
.form-input-checkbox {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 8px;
    flex: 0 1 20px;

    accent-color: var(--Primary-Colour01, #1F4F9A);
}

.form-select {
    display: flex;
    padding: 10.5px 36px 10.5px 12px;
    height: 40px;
    align-items: center;
    gap: 8px;

    border-radius: var(--Num-radius-base, 8px);
    border: 1px solid var(--Border-border-default, #DCE0E5);
    background: var(--Neutrals-neutral-0, #FFF);

    /* Btn-effect */
    box-shadow: 0 7px 12px 0 rgba(255, 255, 255, 0.08) inset, 0 -2px 2px 0 rgba(48, 48, 48, 0.10) inset;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url(/img/icon-arrow_down.svg) no-repeat;
    background-position: right 12px center; /* 右端から12px、縦は中央 */

    &.w-720 {
        width: 720px;
    }
}
/* スクロールバー非表示（multiple時） */
.form-select[multiple] {
    overflow: hidden;
    /* Windowsなどで消えない場合は下記も追加 */
    scrollbar-width: none; /* Firefox */
}
.form-select[multiple]::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
.form-select::-ms-expand {
    display: none; /* IEのドロップダウン矢印を非表示 */
}
.form-select::after {
    /* content: '';
    display: flex;
    width: 16px;
    height: 16px;
    padding: 1.333px 1.334px 1.333px 1.333px;
    justify-content: center;
    align-items: center;
    background: url(/img/icon-arrow_down.svg) no-repeat center center; */
}

a.form-button {
    padding: 0;
    text-decoration: none;
    color: var(--Primary-Colour01, #1F4F9A);
}

.form-button {
    display: flex;
    height: 40px;
    padding: 8px 0;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border: none;
    cursor: pointer;

    box-sizing: border-box;
}
.form-button_mini {
    display: flex;
    width: 80px;
    height: 40px;
    padding: 8px 0;
    justify-content: center;
    align-items: center;
    gap: 2px;
    align-self: stretch;
    border: none;
}

.button-primary {
    border-radius: var(--Num-radius-base, 8px);
    background: var(--Primary-Colour01, #1F4F9A);

    /* Btn-effect */
    /* box-shadow: 0 7px 12px 0 rgba(255, 255, 255, 0.08) inset, 0 -2px 2px 0 rgba(48, 48, 48, 0.10) inset; */
    color: var(--Texts-text-white, #FFF);

    &:hover {
        background: var(--Background-bg-primary-hover, #142F5B) !important;
    }
}

.button-danger {
    border-radius: var(--Num-radius-base, 8px);
    background: var(--Danger-danger-500, #DF0C3D);

    /* Btn-effect */
    box-shadow: 0 7px 12px 0 rgba(255, 255, 255, 0.08) inset, 0 -2px 2px 0 rgba(48, 48, 48, 0.10) inset;
}
 
.button-clear {
    border-radius: var(--Num-radius-base, 8px);
    border: 1px solid var(--Border-border-intense, #B6C1CA);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.10) 100%), var(--Background-bg-base, #FFF);

    /* Btn-effect */
    /* box-shadow: 0 7px 12px 0 rgba(255, 255, 255, 0.08) inset, 0 -2px 2px 0 rgba(48, 48, 48, 0.10) inset; */
    color: var(--Texts-text-base, #14181F);
    &:hover {
        background: var(--Background-bg-secondary, #F6F7F9) !important;
    }
}

.button-secondary {
    border-radius: var(--Num-radius-base, 8px);
    border: 1px solid var(--Border-border-intense, #B6C1CA);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.10) 100%), var(--Primary-primary-100, #F0F7FF);

    /* Btn-effect */
    box-shadow: 0 7px 12px 0 rgba(255, 255, 255, 0.08) inset, 0 -2px 2px 0 rgba(48, 48, 48, 0.10) inset;
    &:hover {
       background: linear-gradient(0deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.10) 100%), var(--Primary-primary-300, #CCE0FF);
    }
}

.button-append {
    display: flex;
    width: 250px;
    height: 40px;
    padding: 8px 10px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid var(--Border-border-default, #DCE0E5);
    background: var(--Primary-primary-200, #E0EDFF);

    box-sizing: border-box;
    justify-content: space-between;

    cursor: pointer;
}

.button-lookup {
    display: flex;
    width: 56px;
    height: 20px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    border-radius: var(--Num-radius-base, 8px);
    border: 1px solid var(--Border-border-intense, #B6C1CA);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.10) 100%), var(--Background-bg-base, #FFF);

    /* Btn-effect */
    box-shadow: 0px 7px 12px 0px rgba(255, 255, 255, 0.08) inset, 0px -2px 2px 0px rgba(48, 48, 48, 0.10) inset;

    &.button-warning {
        background: linear-gradient(0deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.10) 100%), var(--Warning-warning-300, #FFDE66);
        &:hover {
            background: var(--Warning-warning-200, #FFED9E);
        }
    }

    color: var(--Texts-text-base, #14181F);

    /* body 3 */
    font-family: "Noto Sans JP";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 145%; /* 17.4px */

    &.icon-button:hover {
        background: var(--Background-bg-secondary, #F6F7F9);
    }
}

.button-280 {
    width: 280px;
}
.button-group {
    display: flex;
    gap: 8px;
}
.button-modify {
    display: flex;
    width: 128px;
    height: 42px;
    padding: 6px 8px;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;

    border-radius: var(--Num-radius-base, 8px);
    background: var(--Primary-white, #FFF);
    border: 1px solid var(--Border-border-default, #DCE0E5);

    text-align: center;
    justify-content: center;

    &.modified {
        background: var(--Primary-primary-200, #E0EDFF);
        border: none;
    }
    &:hover {
        background: var(--Primary-primary-100, #F0F7FF);
        border: 1px solid var(--Border-border-default, #DCE0E5) !important;
        cursor: pointer;
    }
}

.form-textarea {
    min-height: 50px;
    flex-shrink: 0;
    padding: 10px;

    border-radius: 8px;
    border: 1px solid var(--Border-border-intense, #B6C1CA);

    box-sizing: border-box;

    resize: vertical;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
}

.form-textarea-note {
    min-width: 180px;
    width: 180px;
    min-height: 50px;
    height: 50px;
    flex-shrink: 0;
    padding: 4px 5px;

    border-radius: 8px;
    border: 1px solid var(--Border-border-intense, #B6C1CA);

    box-sizing: border-box;
    overflow: hidden;

    color: var(--Texts-text-base, #14181F);

    /* Typography/text-xs */
    font-family: "Noto Sans JP";
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    resize: auto;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
}

.form-error {
    border-radius: var(--Num-radius-base, 8px) !important;
    border: 1px solid var(--Danger-danger-500, #DF0C3D) !important;
    background: var(--Neutrals-neutral-0, #FFF) !important;
}
.form-description {
    color: var(--Texts-text-base, #14181F);
    margin: 0 0;

    /* Typography/text-base */
    font-family: "Noto Sans JP";
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;

    word-break: keep-all;
}
.form-helper {
    color: var(--Texts-text-base, #14181F);
    margin: 6px 0;

    /* Typography/text-xs */
    font-family: "Noto Sans JP";
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    word-break: keep-all;
}

.form-error-message {
    display: flex;
    color: var(--Danger-danger-500, #DF0C3D);
    margin: 6px 0;
    gap: 6px;

    /* Typography/text-xs */
    font-family: "Noto Sans JP";
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.form-success-message {
    display: flex;
    color: var(--Texts-text-success, #00A81C);
    margin: 6px 0;
    gap: 6px;
    
    font-family: "Noto Sans JP";
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.form-input-right-icon {
    position: absolute;
    right: 4px;
    top: 4px;
}

.form-sublink {
    color: var(--Texts-text-active, #3348FF);
    text-align: right;

    /* Typography/text-base-500 */
    font-family: "Noto Sans JP";
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 21px */
}

/* 参照可能グループ */
.permitted_group_root, .form-item {
    /* 複数選択時のスタイル */
    .select2-container--default{
        .select2-selection--single, .select2-selection--multiple {
            min-height: 40px;
            border-radius: 8px;
            border: 1px solid var(--Border-border-default, #DCE0E5);
            background: var(--Neutrals-neutral-0, #FFF);
            font-family: "Noto Sans JP";
            font-size: 15px;
            font-weight: 400;
            line-height: 140%;
            /* box-sizing: border-box; */
            min-width: 720px;
            display: block;

            /* スクロール時のアイコンの位置調整 */
            position: relative;
            padding-right: 24px !important; /* アイコン分の余白を確保 */
            box-sizing: border-box;

            /* Btn-effect */
            box-shadow: 0 7px 12px 0 rgba(255, 255, 255, 0.08) inset, 0 -2px 2px 0 rgba(48, 48, 48, 0.10) inset;

            /* 選択済みタグ（チップ）のスタイル */
            .select2-selection__choice {
                background: var(--Primary-primary-200, #E0EDFF);
                color: var(--Primary-Colour01, #1F4F9A);
                border-radius: 6px;
                border: none;
                padding: 2px 8px;
                margin: 2px 4px 2px 0;
                font-size: 14px;
                white-space: nowrap;
            }

            /* 入力ボックスも横並びに */
            .select2-search--inline {
                display: inline-flex;
                align-items: center;
                background: none!important;
            }

            &:focus {
               border-color: var(--Primary-Colour01, #1F4F9A);
                outline: none;
             }

            /* 選択済みタグの親要素も横並びに */
            .select2-selection__rendered {
                display: flex;
                flex-wrap: nowrap;
                align-items: center;
                gap: 4px;
                overflow-x: auto;
                white-space: nowrap;
                padding: 0;
                text-overflow: ellipsis;
                white-space: nowrap;
                margin-top: 4px;
                margin-left: 8px;
                /* 選択済みタグや入力欄がアイコンの下に隠れないようにする */
                margin-right: 20px; /* 必要に応じて調整 */

                li {
                    cursor: pointer;
                    color: var(--Feature-primary-700, #6D12A1);
                    text-align: center;
                    font-family: Inter;
                    font-size: 13px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: normal;
                    border-radius: 29px;
                    background: var(--Feature-feature-100, #F6EBFF);

                    /* 選択された項目 */
                    .select2-selection__choice__remove {
                        /* 元の「×」の文字を非表示にする */
                        color: transparent;
                        /* SVG背景画像を表示するスペースを確保 */
                        display: inline-block;
                        width: 9.333px;
                        flex-shrink: 0;

                        /* SVGを背景として設定 */
                        background: url(/img/icon-check_multiselect.svg) no-repeat center center;
                        background-size: contain;
                    }
                }
                /* 入力 */
                input {
                    border: none;
                    &:focus {
                        outline: none;
                    }
                }
            }

            /* ↓アイコンを右端に固定し、スクロールしても重ならないように */
            &::after {
                content: '';
                position: absolute;
                top: 50%;
                right: 12px;
                width: 13px;
                height: 13px;
                transform: translateY(-50%);
                background: url(/img/icon-arrow_down.svg) no-repeat center center;
                background-size: contain;
                pointer-events: none;
                z-index: 2; /* アイコンを前面に */
            }
        }

        .select2-selection--single {
            min-width: auto;
        }
        .select2-selection__arrow {
            display: none; /* 元の矢印を非表示に */
        }

    }
    .select2-selection__rendered {
        overflow: hidden;
    }
}

/* 入力フォームフォーカス時の共通スタイル */
.form-input-text:focus,
.form-select:focus,
.form-textarea:focus,
.form-textarea-note:focus {
    outline: none;
    border-color: var(--Primary-Colour01, #1F4F9A);
    box-shadow: 0 0 0 1px var(--Primary-Colour01, #1F4F9A);
}

/* MFA設定拡張 */
.form {
    &.mfa {
        padding: var(--Num-padding-20, 20px) 26px;
        display: block;
        align-items: flex-start;

        h2 {
            color: var(--Texts-text-base, #14181F);

            font-family: "Noto Sans JP";
            font-size: 18px;
            font-style: normal;
            font-weight: 700;
            line-height: 140%;

            margin-top: 0;
            margin-bottom: 32px;
        }

        ol {
            padding-left: 22px;
        }
    }
} 
