@media screen and (min-width: 1024px)  and (max-width: 1381px) {
    html {
        zoom: 83.33%;
    }
}

@media screen and (min-width: 1024px)  and (max-width: 1381px) and (-ms-high-contrast:none) {
    *::-ms-backdrop, html {
        zoom: 1;
        transform: scale(0.8333);
        transform-origin: left top;
        height: calc(100%/0.8333);
        width: calc(100%/0.8333);
        overflow-x: hidden;
    }
}

body {
    font-family: 'Noto Sans JP';
}

.body {
    display: flex;
    flex-direction: row;
    align-items:stretch;
    position: relative;
}

.body-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10,10,10,0.7);
    z-index: 15;
}

@media screen and (min-width: 1024px) {
    .body-overlay {
        display: none !important;
    }
}

/* ———————————————————————————————————————————————————————————— */
/* -- header -- */
/* ———————————————————————————————————————————————————————————— */
.header {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: auto;
    background: var(--color-brand-white);
    z-index: 10;
}

@media screen and (max-width: 1024px) {
    .header {
        position: fixed;
        height: auto;
    }
}

.header-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
}

.header-menu {
    display: none;
    padding: 0px 16px;
}

@media screen and (max-width: 1024px) {
    .header-menu {
        display: block;
    }
}

#header-divider {
    width: 100%;
    background: var(--color-brand-white);
}

.nn-logo {
    width: 105px;
}

@media screen and (max-width: 1024px) {
    .nn-logo {
        width: 100px;
    }
}

#nnds-icon-header-hamburger {
    margin-right: 20px;
}

/* ———————————————————————————————————————————————————————————— */
/* -- Main Menu -- */
/* ———————————————————————————————————————————————————————————— */
.left {
    display: block;
}

@media screen and (max-width: 1024px) {
    .left {
        display: none;
    }
}

@media screen and (min-width: 1025px) {
    .left {
        display: block !important;
    }
}

.left .nnds-link{
    font-size: inherit;
}

.left-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 97px 0px 0px;
    width: 264px;
    height: auto;
    background: var(--color-brand-white);
}

@media screen and (max-width: 1024px) {
    .left-container {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0px;
        width: 320px;
        padding: 32px 0px 0px;
        z-index: 20;
    }
}

.iris-logo {
    padding: 0px 0px 0px 32px;
    margin-bottom: 24px;
}

.iris-logo img {
    width: 100px;
    height: auto;
}

a.home-link, .home-link:hover{
    color: inherit;
    text-decoration: none;
}

.portal-menu {
    display: flex;
    justify-content: space-between;
    flex-flow: column;
    width: 100%;
    height: auto;
    margin-bottom: 12px;
}

.portal-button {
    display: flex;
    justify-content:space-between;
    align-items: center;
    width: 100%;
    height: 48px;
    padding: 0px 32px 0px 32px;
    margin-bottom: 12px;
}

.button {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.button img {
    margin-right: 8px;
}

.other {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 32px;
    width: auto;
    height: auto;
}

.card-compliance {
    width: 215px;
    height: 72px;
    margin-bottom: 16px;
}

.compliance {
    position: absolute;
    width: 120px;
    height: 21px;
    top: 16px;
    left: 17px;
}

.compliance p{
    color: #EA650D !important;
}

.compliance_jp {
    position: absolute;
    width: 120px;
    height: 18px;
    top: 40px;
    left: 17px;
    color: #404040;
}

.icon {
    position: absolute;
    width: 65px;
    height: 68px;
    left: 143px;
}

.default {
    position: absolute;
    width: 215px;
    height: 72px;
    border-radius: 4px;
    border: 1px 0px 0px 0px;
    background: #FFFFFF;
    border: 1px solid #E6DFDA;
    cursor:pointer;
}

.card-useful-contents {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 16px 20px;
    width: 215px;
    height: 167px;
    padding: 16px 16px 20px 16px;
    border-radius: 4px;
    background: #FFFFFF;
    border: 1px solid #E6DFDA
}

.useful-contents {
    width: 200px;
    height: 18px;
    margin-bottom: 9px;
}

.lists {
    width: 96px;
    height: 104px;
}

.useful-link {
    display: flex;
    justify-content: flex-start;
    width: 200px;
    padding: 4px 0px 4px 0px;
    font-size: var(--fontSize-s);
}

.useful-link img {
    margin-right: 8px;
}

.left-menu-close {
    display: none;
    position: absolute;
    width: auto;
    height: auto;
    right: 16px;
    top: 16px;
}

@media screen and (max-width: 1024px) {
    .left-menu-close {
        display: block;
    }
}

/* ———————————————————————————————————————————————————————————— */
/* -- Main Menu（2nd） -- */
/* ———————————————————————————————————————————————————————————— */
.left-second {
    position: absolute;
    width: 232px;
    height: auto;
    padding: 96px 32px;
    top: 63px;
    left: 264px;
    bottom: 0px;
    background: #FFFFFF;
    border: 1px solid #E6DFDA;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

@media all and (-ms-high-contrast:none){
    /* IE11用の微調整 */
    *::-ms-backdrop, .left-second {
        top: 62px;
    }
}

@media screen and (max-width: 1024px) {
    .left-second {
        top: 0;
        left: 0;
        bottom: 0px;
        width: 320px;
        background: var(--color-brand-white);
        z-index: 20;
    }
}

.left-second .nnds-link{
    font-size: inherit;
}

#left-second-menu-2,
#left-second-menu-3,
#left-second-menu-4,
#left-second-menu-5 {
    display: none;
}

.portal-submenu {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    width: 168px;
    height: auto;

}

.portal-submenu-lists {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    width: 168px;
}

.portal-submenu-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    width: 168px;
    font-size: var(--fontSize-s);
    margin-bottom: 20px;
}

.portal-submenu-link a {
    display: block;
    white-space: normal;
    word-wrap: break-word;
    width: 168px;
}

#nnds-divider-portal-submenu-divider {
    width: 168px;
}

.left-submenu-back {
    display: none;
    position: absolute;
    width: auto;
    height: auto;
    left: 16px;
    top: 16px;
}

@media screen and (max-width: 1024px) {
    .left-submenu-back {
        display: block;
    }
}

.left-submenu-close {
    position: absolute;
    width: auto;
    height: auto;
    right: 16px;
    top: 16px;
}

/* ———————————————————————————————————————————————————————————— */
/* -- Main Content -- */
/* ———————————————————————————————————————————————————————————— */
.center {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 93px 28px 0px 28px;
    width: 100%;
    height: auto;
    min-height: 1080px;
    min-width: 0;
}

@media screen and (max-width: 1024px) {
    .center {
        padding: 76px 16px 0px 16px;
    }
}

/* ———————————————————————————————————————————————————————————— */
/* -- My Menu -- */
/* ———————————————————————————————————————————————————————————— */
.right {
    width: auto;
    height: auto;
    margin-top: 63px;
    background: var(--color-brand-white);
    box-shadow: -5px 10px 10px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

@media screen and (max-width: 1024px) {
    .right {
        display: none;
        position: absolute;
        top: 0px;
        bottom: 0px;
        width: 100%;
        margin-top: 0px;
        z-index: 15;
    }
}

.right .nnds-link{
    font-size: inherit;
}

#right-menu {
    display: block;
}

@media screen and (max-width: 1024px) {
    #right-menu {
        display: none;
    }
}

#right-close {
    position: absolute;
    width: 16px;
    height: 16px;
    right: 35px;
    top: 77px;
    z-index: 5;
}

@media screen and (max-width: 1024px) {
    #right-close {
        top: 12px;
        z-index: 15;
    }
}

.my-menu-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 0px 20px;
    width: 100%;
    min-width: 300px;
    height: auto;
}

.user-profile {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    width: 100%;
    height: 36px;
    margin-bottom: 20px;
}

.user-image-gray {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: #FAF9F8;
    border: 1px solid var(--color-sand-200);
    border-radius: 50%;
    margin-right: 12px;
}

.my-menu-List {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    width: 100%;
    height: auto;
}

.my-menu-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.my-menu-content-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: auto;
    height: 20px;
    margin-bottom: 10px;
}

.my-menu-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    height: 100%;
    font-size: var(--fontSize-s);
    margin-bottom: 8px;
}

.my-menu-links:last-child {
    margin-bottom: 0px;
}

.my-menu-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 160px;
    height: auto;
    margin-right: 4px;
}

.my-menu-link img {
    margin-right: 8px;
}

.iris-box {
    width: 24px;
    height: 24px;
}

.my-menu-content-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 0px;
    width: auto;
    height: 100%;
    font-size: var(--fontSize-s);
}

.my-menu-content-link img {
    margin-left: 8px;
}

.notification-list {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: auto;
    height: 54px;
}

.notification-panel-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 9px 0px;
    width: 100%;
    height: 100%;
    background: var(--color-brand-white);
    text-decoration: none;
    color: #404040;
    border-top: 1px solid var(--color-sand-200);
    border-left: 1px solid var(--color-sand-200);
    border-bottom: 1px solid var(--color-sand-200);
    border-radius: 3px 0px 0px 3px;
}

.notification-panel-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 9px 0px;
    width: 100%;
    height: 100%;
    background: var(--color-brand-white);
    text-decoration: none;
    color: #404040;
    border-top: 1px solid var(--color-sand-200);
    border-left: 1px solid var(--color-sand-200);
    border-bottom: 1px solid var(--color-sand-200);
}

.notification-panel-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 9px 0px;
    width: 100%;
    height: 100%;
    background: var(--color-brand-white);
    text-decoration: none;
    color: #404040;
    border: 1px solid var(--color-sand-200);
    border-radius: 0px 3px 3px 0px;
}

.notification-count {
    color: var(--color-mediumOrange-600);
}

.card-hozen {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.card-hozen-list {
    display: flex;
    flex-direction: column;
}

.card-hozen-list > a {
    margin-bottom: 10px;
}

.card-hozen-list > a:last-child {
    margin-bottom: 0px;
}

.card-hozen-title {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.card-hozen-recordtype p {
    max-width: 170px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card-hozen-badge p {
    font-size: var(--fontSize-s) !important;
}

.card-hozen-badge {
    white-space: nowrap;
    margin-left: 5px;
    margin-right: 5px;
    position: absolute; /* 今の位置を基準 */
    right: 18px; /* 右から18px */
}

.card-new-policy-list {
    display: flex;
    flex-direction: column;
}

.card-new-policy-list > a {
    margin-bottom: 10px;
}

.card-new-policy-list > a:last-child {
    margin-bottom: 0px;
}

.card-new-policy {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.card-new-policy-title {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.card-new-policy-owner p {
    max-width: 170px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card-new-policy-no-data {
    width: 328px;
}

.user-news-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
}

.user-news-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: auto;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #404040;
    margin-bottom: var(--size-s);
}

@media screen and (min-width: 1025px) {
    .user-news-item {
        width: 328px;
    }
}

.user-news-item:last-child {
    margin-bottom: 0px;
}

.user-news-title {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    height: auto;
    margin-bottom: 4px;
}

.user-news-title > span {
    margin-right: 8px;
}

.user-news-title > span:last-child {
    margin-right: 0px;
}

.user-news-title-date {
    margin-right: var(--size-m);
}

.user-news-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    height: auto;
    font-size: var(--fontSize-s);
    margin-bottom: var(--size-m);
}

@media screen and (min-width: 1025px) {
    .user-news-content {
        width: 328px;
    }
}

.user-news-content > span {
    margin-right: 4px;
}

.user-news-content > span:last-child {
    margin-right: 0px;
}

/* ———————————————————————————————————————————————————————————— */
/* -- My Menu（close） -- */
/* ———————————————————————————————————————————————————————————— */
#right-open {
    display: none;
}

@media screen and (max-width: 1024px) {
    #right-open {
        display: none !important;
    }
}

.my-menu-button {
    padding: 6px 12px;
    position: fixed;
    width: 60px;
    height: 48px;
    right: 0px;
    top: 75px;
    cursor:pointer;
    background: var(--color-brand-white);
    border-width: 1px 0px 1px 1px;
    border-style: solid;
    border-color: var(--color-sand-200);
    border-radius: 100px 0px 0px 100px;
}

.user-image-orange {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: #EA650D;
    border-radius: 50%;
}

/* ———————————————————————————————————————————————————————————— */
/* -- MR info -- */
/* ———————————————————————————————————————————————————————————— */
/*    ちらつき防止    */
.mr-component-container {
    display: none;
}

/*    PC版表示    */
.mr-component {
    position: fixed;
    background: #fff;
    border-width: 1px 1px 0px 1px;
    border-style: solid;
    border-color: #E6DFDA;
    width: 250px;
    height: 290px;
    border-radius: 8px 8px 0px 0px;
    box-shadow: 0px -2px 12px rgba(0, 0, 0, 0.12);
    padding: 10px;
    z-index: 40;
    bottom: 0px;
    left: 0px;
    box-sizing: content-box;
}

@media screen and (min-width: 1024px)  and (max-width: 1381px) and (-ms-high-contrast:none) {
    *::-ms-backdrop, .mr-component {
        transform: scale(0.8333);
        transform-origin: left bottom;
    }
}

.each-mr-info-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 0.9fr 12px 3.1fr;
    grid-template-columns: 0.9fr 3.1fr;
    -ms-grid-rows: 68px 0px 18px 0px auto;
    grid-template-rows: 68px 18px auto;
    gap: 0px 12px;
}

.each-mr-info-container > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.each-mr-info-container > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}

/* -- 画像 -- */
.mr-image, .mr-image-md {
    width: 100%;
    border-radius: 50%;
}

/* -- ボタン -- */
.mr-btn:hover, .mr-btn-md:hover {
    cursor: pointer;
}

.collapse-btn-container {
    display: none;
	position: absolute;
    top: 12px;
    right: 12px;
}

.change-btn-container {
    -ms-grid-row: 3;
	-ms-grid-column: 1;
	-ms-grid-column-span: 3;
    grid-column: 1/3;
    min-height: 16px;
}

.mr-btns {
    display: flex;
    position: absolute;
    top: 12px;
    right: 12px;
}

.expand-btn-container {
    padding: 4px;
    margin-left: 6px;
}

.mini-btn-container {
    padding: 4px;
    margin-left: 12px;
}

/* -- MR基本情報(氏名・営業部) -- */
.mr-name h4 {
    max-width: 182.9px;
    padding: 2px 0 4px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mr-unit {
    margin-bottom: 6px;
}

/* -- MR詳細(メールアドレス以下) -- */
.mr-details-container {
    display: flex;
    flex-direction: column;
    -ms-grid-row: 4;
	-ms-grid-column: 1;
	-ms-grid-column-span: 3;
	grid-column: 1/3;
    padding: 8px 0 0;
    list-style: none;
	min-width: 0;  /* テキストの長さによってグリッドを崩さないため設定 */
}

.mr-details-container li {
    display: flex;
    flex-direction: column;
    margin-left: 0px;
    margin-bottom: 10px;
}

.mr-details-container li:last-child {
    margin-bottom: 0px;
}

.details-phone > span:first-child {
    margin-bottom: 2px;
}
.details-support > span:first-child {
    margin-bottom: 2px;
}
.details-email > span:first-child {
    margin-bottom: 2px;
}
.details-others > span:first-child {
    margin-bottom: 2px;
}

.mr-msg {
    height: 63px;
    padding: 3px 5px;
    background: #FAF9F8;
    border: 1px solid var(--color-sand-200);
    border-radius: 4px;
}

.mr-email {
    height: 42px;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.support-phone {
    display: flex;
    height: 20px;
}

.support-phone span:nth-child(1) {
    margin-right: 3px;
}

.mr-phone, .unit-phone {
    height: 17.5px;
}

.mr-phone a, .details-others a, .mr-email a, .support-phone a {
    font-size: var(--fontSize-s);
}

.collapsed-mr-component-md {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 14px;
    z-index: 40;
    display: block;
}

.mr-img-container-md {
    background: #fff;
    padding: 5px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 1px solid #E6DFDA;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
}

.mr-img-container-md:hover {
    cursor: pointer;
}

.popup-modal-contents
{
    font-size: var(--fontSize-m);
}
.popup-download-button
{
    margin-top: var(--size-m);
    text-align: right;
}

@media screen and (max-width: 600px) {
    .mr-component {
        display: none;
        margin-left: 12px;
    }

    .mr-btns {
        display: none;
    }
}

/* ———————————————————————————————————————————————————————————— */
/* -- hover -- */
/* ———————————————————————————————————————————————————————————— */
.portal-button:hover {
    background: var(--color-sand-100);
    border-radius: 4px;
    cursor:pointer;
}

.notification-list > a:hover {
    color: #404040;
    text-decoration: none;
}
