html {
    scroll-behavior: smooth;
}

html[lang='ja'] {
    font-size: 100%;
}

html[lang='en'] {
    letter-spacing: 0.2px;
}

html,
body,
iframe {
    margin: 0;
    padding: 0;
}

/* サイト解析画面（全画面モード）でのヘッダー・メニューの強制非表示 */
body.sitemap-fullscreen-active #header,
body.sitemap-fullscreen-active .header,
body.sitemap-fullscreen-active #header-mobile-menu {
    display: none !important;
}

body,
textarea,
input,
select {
    font-family: 'Noto Sans JP', sans-serif;
}

body.public-white {
    background-color: #fff !important;
}

option:hover {
    cursor: pointer;
}

:root {
    --background-color: #f0f0f1;
/*    --background-color: #e6e3e3;*/
/*    --background-color: #ede7e7;*/
/*
    --background-color: #f1f3f7;
*/
}

body {
    background-color: var(--background-color);
    overflow-y: hidden;
}

body::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

body::-webkit-scrollbar-thumb {
    background-color: lightgray;
    border-radius: 10px;
}

body::-webkit-scrollbar-track {
    background-color: transparent;    
}

textarea::-webkit-scrollbar,
ul::-webkit-scrollbar,
.modal::-webkit-scrollbar,
.modal-content-wrapper::-webkit-scrollbar {
    width: 0.5em;
}

textarea.comment_text::-webkit-scrollbar, div.comment_text::-webkit-scrollbar, .tab-content::-webkit-scrollbar, .tasks-sidebar-menu::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.canvas-container::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

select.project-list::-webkit-scrollbar {
    width: 1em;
}

textarea::-webkit-scrollbar {
    background-color: transparent;
}

ul::-webkit-scrollbar-thumb,
.modal::-webkit-scrollbar-thumb,
.modal-content-wrapper::-webkit-scrollbar-thumb,
.canvas-container::-webkit-scrollbar-thumb,
textarea.comment_text::-webkit-scrollbar-thumb,
div.comment_text::-webkit-scrollbar-thumb,
select.project-list::-webkit-scrollbar-thumb,
.tab-content::-webkit-scrollbar-thumb {
    background-color: dimgray;
}

ul::-webkit-scrollbar-track,
.modal::-webkit-scrollbar-track,
.modal-content-wrapper::-webkit-scrollbar-track,
.canvas-container::-webkit-scrollbar-track,
select.project-list::-webkit-scrollbar-track {
    background-color: #c5c5c5;
}

textarea.comment_text::-webkit-scrollbar-track, div.comment_text::-webkit-scrollbar-track, .tab-content::-webkit-scrollbar-track {
    background-color: #313131;
}

::-webkit-scrollbar-corner {
    background-color: #c5c5c5!important;
}

ul.mention-list::-webkit-scrollbar-thumb {
    background-color: gainsboro;
}

ul.mention-list::-webkit-scrollbar-track {
    background-color: #fafafa;
}

.tasks-sidebar-menu::-webkit-scrollbar-thumb {
    background-color: gainsboro;
    border-radius: 99px;
}

.tasks-sidebar-menu::-webkit-scrollbar-track {
    background-color: transparent;
}

a {
    text-decoration: none;
    color: #000;
    outline: 0;
}

p {
    margin: 0;
    padding: 0;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.modest {
    font-size: 0.93em !important;
}

.small {
    font-size: 0.82em !important;
}

.tiny {
    font-size: 0.75em !important;
}

.hidden {
    display: none!important;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

.top-0 {
    margin-top: 0 !important;
}

.top-5 {
    margin-top: 5px !important;
}

.top-10 {
    margin-top: 10px !important;
}

.top-15 {
    margin-top: 15px !important;
}

.top-20 {
    margin-top: 20px !important;
}

.top-25 {
    margin-top: 25px !important;
}

.top-30 {
    margin-top: 30px !important;
}

.top-35 {
    margin-top: 35px !important;
}

.top-40 {
    margin-top: 40px !important;
}

.top-45 {
    margin-top: 45px !important;
}

.top-50 {
    margin-top: 50px !important;
}

.btm-0 {
    margin-bottom: 0 !important;
}

.btm-5 {
    margin-bottom: 5px !important;
}

.btm-10 {
    margin-bottom: 10px !important;
}

.btm-15 {
    margin-bottom: 15px !important;
}

.btm-20 {
    margin-bottom: 20px !important;
}

.btm-25 {
    margin-bottom: 25px !important;
}

.btm-30 {
    margin-bottom: 30px !important;
}

.btm-35 {
    margin-bottom: 35px !important;
}

.btm-40 {
    margin-bottom: 40px !important;
}

.btm-45 {
    margin-bottom: 45px !important;
}

.btm-50 {
    margin-bottom: 50px !important;
}

.right-0 {
    margin-right: 0 !important;
}

.right-5 {
    margin-right: 5px !important;
}

.right-10 {
    margin-right: 10px !important;
}

.right-15 {
    margin-right: 15px !important;
}

.right-20 {
    margin-right: 20px !important;
}

.right-25 {
    margin-right: 25px !important;
}

.right-30 {
    margin-right: 30px !important;
}

.right-35 {
    margin-right: 35px !important;
}

.right-40 {
    margin-right: 40px !important;
}

.right-45 {
    margin-right: 45px !important;
}

.right-50 {
    margin-right: 50px !important;
}

.left-0 {
    margin-left: 0 !important;
}

.left-5 {
    margin-left: 5px !important;
}

.left-10 {
    margin-left: 10px !important;
}

.left-15 {
    margin-left: 15px !important;
}

.left-20 {
    margin-left: 20px !important;
}

.left-25 {
    margin-left: 25px !important;
}

.left-30 {
    margin-left: 30px !important;
}

.left-35 {
    margin-left: 35px !important;
}

.left-40 {
    margin-left: 40px !important;
}

.left-45 {
    margin-left: 45px !important;
}

.left-50 {
    margin-left: 50px !important;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

button,
input,
textarea,
select {
    border: 0;
    outline: 0;
    cursor: pointer;
    font-family: inherit;
}

button {
    background-color: transparent;
}

button:focus,
input:focus,
textarea:focus,
select:focus {
    border: 0;
    outline: 0;
}

.button {
    background-color: #363636;
    color: #fff;
    height: 40px;
    border-radius: 4px;
    padding: 0 20px;
    height: 38px;
    line-height: 38px;
    font-size: 13.5px;
    border: none;
    display: inline-block;
}

.button:hover {
    background-color: #F4A237;
}

.premium-upgrade {
    background-color: #4285F4;
    border-radius: 4px;
}

.error {
    color: #e41313;
    margin: 10px 0;
    padding: 0;
    letter-spacing: -1px;
    font-size: 15px;
}

.inline-block {
    display: inline-block;
}

.mobile-only {
    display: none;
}

#extension-version {
    display: none;
}

/* 新規プロジェクト: デスクトップ共通レイアウト */
.new-project-input .form-wrapper {
    display: block !important;
}

.new-project-input .form-wrapper.new-project-form-stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-bottom: 24px !important;
}

.new-project-heading-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 12px !important;
}

.new-project-form-heading {
    display: inline-block;
    margin: 0;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.new-project-heading-row .permission-help-link {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 13.5px;
    color: #64748b;
}

.new-project-heading-row .permission-help-link:hover {
    color: #4285f4;
}

.new-project-input .form-wrapper label {
    margin-bottom: 0;
    width: auto;
    white-space: nowrap;
}

.new-project-input .project-name-input-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.new-project-input .project-name {
    flex: 3;
    margin-right: 0 !important;
}

.new-project-input .project-type {
    flex: 1;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 10px;
}

/* 新規プロジェクトのタイプ／モード select のみ 14px（.project-content select.project-type の 15px より強く上書き） */
.projects-dashboard .new-project-input select.project-type,
.projects-dashboard .new-project-input input.project-name {
    font-size: 14px !important;
}

.new-project-input .project-mode-wrap {
    display: none;
    flex: 1;
    min-width: 0;
    align-items: center;
}

.new-project-input .project-mode-wrap.project-mode-wrap--visible {
    display: flex;
}

.new-project-input .project-mode-wrap .project-type {
    width: 100%;
}

.new-project-input button[type="submit"] {
    white-space: nowrap;
}

@media screen and (max-width: 767px) {

    .mobile-only {
        display: block;
    }

    .pc-only {
        display: none;
    }

    .inline-block {
        display: inline-block;
    }
}

/* Header */

.header {
    position: relative;
    width: 100%;
    height: 70px;    
    margin-left: 0;
/*    background-color: #0e0e0e;*/
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 10px;
}

.header .logo {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 14px;
    margin-left: 0;
    margin-top: 3px;
}

.header .logo img {
    height: 36px;
    padding: 0 10px;
}

nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

nav .header-menu-items {
    display: flex;
    list-style: none;
    margin: 0 30px 0 0;
    padding: 0;
}

nav .header-menu-item {
    margin-right: 3px;
    cursor: pointer;
}

nav .header-menu-item.mentions {
    position: relative;
    overflow: visible;
}

nav .header-menu-items a {
    color: #0d0d0d;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 5px 13px;    
    font-weight: normal;
    border-radius: 99px;
    position: relative;
}

html[lang="en"] nav .header-menu-items a {
    font-size: 16px;
    letter-spacing: 0.3px;
    color: #505050;
}

nav .header-menu-items span {
    margin-left: 5px;
}

nav .header-menu-items a.active {
    background-color: #dddde0;
/*    background-color: #cbd9e4;*/
}

nav .header-menu-items:hover a.active {
    background-color: transparent;
}

nav .header-menu-items a.active:hover {
    background-color: #dddde0;    
}

nav .header-menu-items a:hover {
    background-color: #dddde0;
}

nav .header-menu-items a i {
    display: none;
}

.total-mention-count {
    background-color: #4285F4;
    color: #fff;
    border-radius: 99px;
    padding: 1px 5px;
    font-size: 12px;
    min-width: 18px;
    height: 18px;
    line-height: 15px;
    display: none;
    text-align: center;
    position: absolute;
    top: -4px;
    left: calc(100% - 22px);
    z-index: 10;
    box-sizing: border-box;
    font-weight: bold;
}

.mention-count-popup {
    display: none;
    position: absolute;
    top: 32px;
    left: 0;
    font-weight: normal;
    z-index: 100001;
    background-color: #fff;
/*    background-color: #4285F4;*/
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    padding: 0 0 3px;
    text-align: left;
    border: 1px solid #b4b4b4;
    animation-name: fadeDownAnimation10px;
    animation-duration: 0.2s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.mention-count-popup.no-padding {
    padding-bottom: 0;
}

.mention-count-list {
    width: max-content;
}

.mention-count-title {
    background-color: #595959;
/*    background-color: #e9e9e9;*/
    color: #fff;
/*    color: #4b4b4b;*/
    padding: 0 10px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    font-size: 13px;
    line-height: 30px;
    height: 30px;
    width: 100%;
    box-sizing: border-box;
}

.mention-count-option {
    border-radius: 3px;
    cursor: pointer;
    padding: 0 10px;
    color: #000;
    font-size: 14.5px;
    line-height: 30px;
    height: 30px;
    width: 100%;
    min-width: 200px;
    box-sizing: border-box;
}

.mention-count-option i {
    color: #9a9797;
    margin-right: 5px;
}

.mention-count-option .mention-count {
    background-color: #92a7cb; 
/*    background-color: #4285F4;*/
    color: #fff;
    border-radius: 0.5em;
    padding: 0.5px 4px;
    font-size: 0.8em;
    min-width: 0.8em;
    /* display: inline-block; */
    text-align: center;
}

.mention-count-option.option-active, .mention-count-option:hover {
    background-color: #f2f4f7;
/*    background-color: #fff3bc;*/
}

html[lang="en"] .mention-count-option {
    font-size: 14.5px;
}

.header form#page-target-form {
    margin-right: 15px;
    display: flex;
    align-items: center;
    position: relative;
}

.header select.project-list {
    height: 34px;
    min-width: 150px;
    max-width: 240px;
    margin-right: 10px;
    padding: 0 15px 0 5px;
    background-color: #4285F4;
    color: #fff;
    font-size: 0.85em;
    outline: 0;
    border-radius: 3px;
    cursor: pointer;
}

.header input#target-url {
/*    background-color: #313131;*/
    background-color: #363636;
    color: lightgray;
    width: 300px;
    height: 25px;
    margin: 0;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 2px;
    display: flex;
    align-items: center;
}

.header input#target-url.updated {
    background-color: #e58911;
    color: #fff;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.url-input-wrapper-in-header {
    position: relative;
    width: 300px;
    margin-right: 10px;
}

.header button[type="submit"] {
    background-color: dimgray;
    border: none;
    border-radius: 2px;
    color: #fff;
    font-size: 0.7em;
    height: 25px;
    padding: 3px 7px;
    margin: 0 0 0 5px;
    cursor: pointer;
    display: flex;
    border-radius: 2px;
    align-items: center;
}

.header .header-end-items {
    display: flex;
    align-items: center;
}

.header .header-end-items a {
    display: flex;
    align-items: center;
}

.header .user-control {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}

.header .profile-image {
    height: 38px;
    border-radius: 100%;
    margin-right: 10px;
}

.header .no-profile-image {
    height: 30px;
    font-size: 23px;
    color: #313131;
    margin-right: 8px;
}

.header .header-button {
    color: #0d0d0d;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 5px 15px;
    font-weight: bold;
    border-radius: 99px;
    /*
    background-color: #3c3b3b;
    border: none;
    border-radius: 2px;
    color: #fff;
    font-size: 11px;
    height: 25px;
    padding: 0 7px;
    margin: 0 8px 0 5px;
    cursor: pointer;
    display: flex;
    border-radius: 2px;
    align-items: center;
*/
}

.header .header-button:hover {
    background-color: #dddde0;
}

.header .review-header-buttons {
    cursor: pointer;
    border-radius: 5px;
    margin-right: 10px;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header .review-header-button {
    display: flex;
    align-items: center;
    color: #757575;
    font-size: 16px;
    padding-right: 6px;
}

.header .review-header-button.active {
    color: #e58911;
}

html[lang="en"] .header .header-button {
    font-size: 16px;
}

.header-button i {
    margin-right: 4px;
}

.switch-view-buttons {
    display: none;
    cursor: pointer;
    border-radius: 5px;
    margin-right: 10px;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.device-button,
.label-button,
.zoom-button {
    display: flex;
    align-items: center;
    color: #757575;
    font-size: 16px;
    padding-right: 6px;
}

.label-button.starred {
    font-size: 15.5px;
}

.device-button.active,
.label-button.active {
    color: #e58911;
}

.label-button.starred {
}

.hamburger-menu-icon {
    display: none;
}

.header-mobile-menu {
    display: none;
}

.mobile-menu-icon {
    display: none;
}

@media screen and (min-width:768px) and (max-width:1025px) {
    
    .header .logo img {
        height: 32px;
    }

    .header {
        height: 60px;
        padding: 0 15px 0 10px;
    }
    
    .header-menu-item.reivew {
        display: none;
    }
    
    .header .header-end-items {
        display: none;
    }

    .mobile-nav-items {
        position: relative;
    }

    .mobile-nav-items .user-picture-mobile {
        position: absolute;
        top: 10px;
        right: 15px;
        padding: 10px 0 5px;
    }

    .mobile-nav-items .user-picture-mobile img {
        width: 40px;
        border-radius: 9999px;
    }

    .mobile-nav-items .logo {
        position: absolute;
        bottom: 5px;
        right: 15px;
        padding: 10px 0 5px;
    }

    .mobile-nav-items .logo img {
        display: none;
        height: 22px;
    }
    
    .header select.project-list {
        width: 100%;
        min-width: auto;
        font-size: 13px;
        height: 36px;
        max-width: 200px;
    }

    .header .header-side-items {
        display: none;
    }

    .mention-count-popup {
        top: 50px;
    }

    .header form#page-target-form {
        margin: 0;
    }

    .url-input-wrapper-in-header {
        width: 52%;
        margin-right: 0;
    }

    .url-list li,
    .url-list-in-header li {
        font-size: 11.5px;
    }

    .header input#target-url {
        height: 36px;
        width: 100%;
        box-sizing: border-box;
    }

    .switch-view-buttons {
        display: none;
    }

    .header-mobile-menu {
        display: none;
    }

    .header-mobile-menu.show {
        background: #617596;
        display: block;
        width: 100%;
        font-size: 16px;
        padding: 0;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    nav.header-mobile-menu ul {
        flex-direction: column;
        padding-left: 20px;
        line-height: 3em;
        padding: 20px 20px 20px;
    }

    nav.header-mobile-menu ul li {
        margin-left: 5px;
    }

    nav.header-mobile-menu a {
        color: #fff;
        font-size: 16px;
        display: block;
        text-decoration: none;
    }

    .header-mobile-menu .switch-view-buttons {
        display: flex;
        cursor: pointer;
        border-radius: 0;
        margin-right: 0;
        box-shadow: none;
        color: #fff;
        background: #363535;
    }

    .header-mobile-menu .switch-view-buttons .view-button-text {
        display: block;
        font-size: 10px;
        margin-left: 0;
    }

    .device-button,
    .label-button {
        display: block;
        color: #fff;
        font-size: 18px;
        padding-right: 6px;
        width: 20%;
        height: 70px;
    }

    .mobile-menu-icon {
        align-items: center;
        display: flex;
        color: #4a4a4a;
        font-size: 20px;
    }

    .header input[type="submit"] {
        margin-left: 0px;
        padding: 5px 6px;
    }

    .header input[type="button"] {
        margin-left: 0px;
        padding: 5px 6px;
    }

    .zoom-button {
        display: none;
    }

    .header .note {
        display: none;
    }
}

@media screen and (max-width: 767px) {

    .header {
        height: 60px;
        padding: 0 15px 0 10px;
    }

    .header .logo img {
        height: 32px;
        padding-left: 0;
    }

    .header .header-end-items {
        display: none;
    }

    .mobile-nav-items {
        position: relative;
    }

    .mobile-nav-items .user-picture-mobile {
        position: absolute;
        top: 10px;
        right: 15px;
        padding: 10px 0 5px;
    }

    .mobile-nav-items .user-picture-mobile img {
        width: 40px;
        border-radius: 9999px;
    }

    .mobile-nav-items .logo {
        position: absolute;
        bottom: 5px;
        right: 15px;
        padding: 10px 0 5px;
    }

    .mobile-nav-items .logo img {
        display: none;
/*        height: 22px;*/
    }

    .header select.project-list {
        width: 100%;
        min-width: auto;
        font-size: 13px;
        height: 36px;
    }

    .header-menu {
        display: none;
    }
    
    .header .header-side-items {
        display: none;
    }

    .mention-count-popup {
        top: 50px;
    }

    .header form#page-target-form {
        margin: 0;
    }

    .url-input-wrapper-in-header {
        width: 52%;
        margin-right: 0;
    }

    .url-list li,
    .url-list-in-header li {
        font-size: 11.5px;
    }

    .header input#target-url {
        height: 36px;
        width: 100%;
        box-sizing: border-box;
    }

    .switch-view-buttons {
        display: none;
    }

    .header-mobile-menu {
        display: none;
    }

    .header-mobile-menu.show {
        background: #617596;
        display: block;
        width: 100%;
        font-size: 16px;
        padding: 0;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    nav.header-mobile-menu ul {
        flex-direction: column;
        padding-left: 20px;
        line-height: 3em;
        padding: 20px 20px 20px;
    }

    nav.header-mobile-menu ul li {
        margin-left: 5px;
    }

    nav.header-mobile-menu a {
        color: #fff;
        font-size: 16px;
        display: block;
        text-decoration: none;
    }

    .header-mobile-menu .switch-view-buttons {
        display: flex;
        cursor: pointer;
        border-radius: 0;
        margin-right: 0;
        box-shadow: none;
        color: #fff;
        background: #363535;
    }

    .header-mobile-menu .switch-view-buttons .view-button-text {
        display: block;
        font-size: 10px;
        margin-left: 0;
    }

    .device-button,
    .label-button {
        display: block;
        color: #fff;
        font-size: 18px;
        padding-right: 6px;
        width: 20%;
        height: 70px;
    }

    .mobile-menu-icon {
        align-items: center;
        display: flex;
        color: #4a4a4a;
        font-size: 20px;
    }

    .header input[type="submit"] {
        margin-left: 0px;
        padding: 5px 6px;
    }

    .header input[type="button"] {
        margin-left: 0px;
        padding: 5px 6px;
    }

    .zoom-button {
        display: none;
    }

    .header .note {
        display: none;
    }
}

/* Content */

.content-wrapper {
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    min-height: calc(100vh - 105px);
}

body.legal .content-wrapper {
    min-height: calc(100vh - 130px);
}

/* Signup and Login */

.auth-wrapper {
    width: 420px;
    margin: 0 auto;
/*    border: 1px solid #bfbfbf;*/
    border-radius: 5px;
    padding: 50px 70px;
    background-color: #fff;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.03));
    animation-name: fadeUpAnimationClear;
    animation-duration: 1s;
    animation-fill-mode: forwards;
/*    opacity: 0;*/
}

/* Form */

body.auth {
    overflow: visible;
}

.content-main-container.signup {
    padding-top: 10px;
    margin-bottom: 100px;
}

.auth-wrapper .logo-main {
    height: 55px !important;
    display: block !important;
    margin: 0 auto 30px;
}

.auth-wrapper h1 {
    margin-bottom: 20px;
    font-size: 18px;
    letter-spacing: 1px;
}

.auth-wrapper .auth-form {
    margin-bottom: 30px;
    display: block;
}

.auth-wrapper .auth-form input {
    width: 100%;
    margin: 0;
    filter: none;
}

.auth-wrapper .auth-form input::placeholder {
    color: #c2bebe;
}

.content-main-container.signup h2.questionaire {
    font-size: 16px;
    margin: 20px 0 10px;
}

.content-main-container.signup .form-item {
    margin-bottom: 10px;
}

.content-main-container.signup label .required {
    color: #c30c0c;
    margin-left: 2px;
    font-size: 16px;
}

.content-main-container.signup label .label-note {
    font-size: 13px;    
}

.content-main-container select {
    width: 100%;
}

.content-main-container.signup .checkbox input {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.auth-wrapper .auth-form .form-item.select select {
    max-width: 100%;
    width: 100%;
    background: #f1f1f1;
}

select#how-found {
    background: #f1f1f1;
    width: 100%;
}

.form-item.checkbox label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    cursor: pointer;
}

.form-item.checkbox label.last {
    margin-bottom: 20px;
}

.content-main-container.signup .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    cursor: pointer;
}

.auth-wrapper .auth-form input.usage-purpose-checkbox {
    width: auto;
    height: 16px;
    margin-right: 0;
    flex: 0 0 auto;
}

.content-main-container.signup .label + .checkbox-label {
    margin-top: 6px;
}

.content-main-container.signup .form-item.last {
    margin-bottom: 24px;
}

.form-item textarea.current-challenges {
    background: #f1f1f1;
    width: 100%;
    padding: 0.7em;
    box-sizing: border-box;
    border-radius: 5px;
}

.form-item textarea.current-challenges::placeholder {
    color: #9f9f9f;
}

.auth-wrapper .auth-submit-button {
    display: block;
}

.auth-wrapper .auth-submit-button.full-width {
    width: 100%;
}

.auth-wrapper .auth-submit-button i {
    margin-right: 10px;
}

.form-item {
    margin-bottom: 5px;
}

.form-item label {
    margin-bottom: 5px;
    text-align: left;
    font-size: 14px;
}

.form-item.last {
    margin-bottom: 10px;
}

.name-input,
.email-input,
.password-input {
    padding: 10px;
    border-radius: 5px;
    border: none;
    margin-bottom: 5px;
    width: 100%;
    box-sizing: border-box;
    background-color: #f1f1f1;
    filter: none;
}

.password-block {
    position: relative;
}

.password-toggle-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: #a6a1a1;
}

.auth-wrapper button {
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
}

.auth-wrapper .notice,
.auth-wrapper .error {
    font-size: 15px;
    margin-bottom: 15px;
    background-color: #f2f2f2;
    border-radius: 3px;
    padding: 10px;
    letter-spacing: 0px;
}

.auth-wrapper .error {
    color: #d62626;
    background-color: #fbe6e6;
}

.auth-wrapper .message {
    font-size: 13px;
    color: #7c7c7c;
    border-radius: 3px;
}

.auth-wrapper .message a {
    color: #4285F4;
}

/*  */

.content-main-container .auth-buttons {
    text-align: center;
}

.content-main-container button.auth-button {
    background-color: #363636;
    color: #fff;
    height: 54px;
    width: 100%;
    padding: 0 15px;
    border-radius: 3px;
    font-size: 15px;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.15));
}

.content-main-container button.auth-button i {
    margin-right: 8px;
}

.content-main-container button.auth-button.email {
    margin-bottom: 15px;
}

.content-main-container button.auth-button.google {
    background-color: #4285F4;
}

.content-main-container button.auth-button.google img {
    height: 22px;
    padding: 16px;
    margin-right: 10px;
    position: absolute;
    top: 0px;
    left: 0px;
    background: #fff;
    border-radius: 3px 0 0 3px;
}

.content-main-container button:hover,
.content-main-container button:focus,
.content-main-container button.auth-button.google:hover {
    background-color: #F4A237;
    color: #fff;
}

@media screen and (min-width:768px) and (max-width:1025px) {

    .header.no-auth {
        display: none;
    }
    
    .content-wrapper.auth-page {
        min-height: calc(100vh - 35px);        
    }

    .auth-page .content-main-container {
        padding: 30% 30px 0;
    }
        
    .auth-wrapper {
        background: none;
        width: 100%;
        border: none;
        border-radius: 0px;
        padding: 0;
    }

    .auth-wrapper .auth-form input {
        background: #fff;
    }
}

@media screen and (max-width: 767px) {

    .header.no-auth {
        display: none;
    }
    
    .content-wrapper.auth-page {
        min-height: calc(100vh - 35px);        
    }

    .auth-page .content-main-container {
        padding: 30% 30px 0;
    }
        
    .auth-wrapper {
        background: none;
        width: 100%;
        border: none;
        border-radius: 0px;
        padding: 0;
    }

    .auth-wrapper .logo-main {
        height: 50px!important;
    }
    
    .auth-wrapper h1 {
        font-size: 16px;
    }

    .auth-wrapper .auth-form input {
        background: #fff;
    }
}

/* Dashboard page */

.dashboard-data-container {
    max-width: 1350px;
    width: 100%;
    margin: 0 auto;
    padding: 0 50px;
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    flex-direction: column;*/
    box-sizing: border-box;
}

.dashboard-demo-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
/*    line-height: 40px;*/
    background-color: #d9e2ee;
    border-radius: 8px;
    padding: 4px 10px 4px 18px;
    font-size: 16px;
    margin-bottom: 30px;
}

.dashboard-demo-info {
    
}

.dashboard-demo-close {
    background-color: #667a9c;
    color: #fff;
    padding: 5px 10px;
    /* height: 100%; */
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.dashboard-demo-close-link {
    
}

.dashboard-demo-icon {
    margin-right: 5px;
}

.dashboard-demo-date {
    margin-right: 8px;
}

.dashboard-demo-text {
/*    color: #4285F4;*/
}


.dashboard-info-block {
    display: none;
/*    display: flex;*/
    align-items: center;
    height: 40px;
    line-height: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 4px 18px;
    font-size: 16px;
    margin-bottom: 30px;
}

.dashboard-info-icon {
    margin-right: 5px;
}

.dashboard-info-date {
    margin-right: 8px;
}

.dashboard-info-text {
/*    color: #4285F4;*/
}

.dashboard-header-block {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dashboard-header-project-name {
    font-size: 34px;
}

.dashboard-header-right-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dashboard-header-current-date {
    font-size: 16.5px;
    color: gray;
}

.dashboard-demo-open {
    background-color: #dedede;
    color: #999999;
    padding: 5px 10px;
    /* height: 100%; */
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

.dashboard-demo-open:hover {
}

.button.set-completion-date {
    background-color: #e7e7e8;
    color: #262626;
}

.button.set-completion-date:hover {
    background-color: #363636;
    color: #fff;
}

.update-completion-date {
    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 18px;
    color: #b9b9b9;
}

.update-completion-date:hover {
    color: #363636;
}

.dashboard-data {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.03));
}

.digits-block {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.digits-block .dashboard-data {
    position: relative;
    flex: 1;
/*    height: 100px;*/
    box-sizing: border-box;
}

.charts-block {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.dashboard-data.status-donut {
    height: auto;
    /* flex: 1; */
    width: 25%;
}

.dashboard-data.current-status-cumulative {
    height: auto;
    flex: 1;
}

.status-donut .chart-canvas-wrapper, .current-status-cumulative .chart-canvas-wrapper {
    width: 100% !important;
    height: 430px !important;
    margin: 0 auto;
}

.status-donut .chart-canvas {
    width: 100% !important;
    height: auto !important;
    margin: 0 auto;
}

.current-status-cumulative .chart-canvas {
    width: 100% !important;
    height: auto !important;
}

.dashboard-data.snapshot-cumulative {
    width: 100%;
}

.snapshot-cumulative .over-chart-message-wrapper {
    position: absolute;
    top: 0;
    display: flex;
    border-radius: 8px;
    align-items: center;
    right: 0;
    justify-content: center;
    /* width: 100%; */
    bottom: 0;
    /* color: #fff; */
    left: 0;
    background-color: rgb(0,0,0,0);
    right:0;
    margin:0 auto;
    /* left: 0; */
    margin: 0 auto;
    vertical-align: middle;
    z-index: 999;
}

.snapshot-cumulative .over-chart-message {
    padding: 25px 50px;
    background: #f0f0f0;
    color: #000;
    border-radius: 99px;
}

.snapshot-cumulative .over-chart-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #fff;
    background-color: #4285F4;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 15.5px;
    z-index: 9999;
}

.snapshot-cumulative .over-chart-button a {
    color: #fff;
}

.digits-block .dashboard-data-title {
    color: #636363;
    font-size: 15px;
    margin-bottom: 15px;
}

html[lang="en"] .digits-block .dashboard-data-title {
    font-size: 14.5px;
}

.charts-block .dashboard-data-title {
    color: #636363;
    font-size: 18px;
    margin-bottom: 30px;
}

html[lang="en"] .charts-block .dashboard-data-title {
    font-size: 18.5px;
}

.dashboard-data-title .small {
    font-size: 16px;
}

.dashboard-data-value {
    color: #3a3a3a;
    font-size: 42px;
    line-height: 45px;
    height: 50px;
}

.dashboard-data-value .small-text {
    font-size: 21px;
    margin-left: 5px;
    color: gray;
}

.dashboard-data-value .small-text.date-not-set {
    margin-left: 0;    
}

.status-cumulative, .snapshot-cumulative {
/*    display: none;*/
}

.snapshot-cumulative .chart-canvas-wrapper {
    width: 100% !important;
    height: 300px !important;
}

.chart-canvas-wrapper.blur {
    -ms-filter: blur(3px);
    filter: blur(3px);
}

.snapshot-cumulative .chart-canvas {
    width: 100% !important;
    height: 100% !important;
}

@media screen and (max-width:1025px) {
    .snapshot-cumulative .over-chart-message {
        padding: 10px 30px;
        margin: 0 20px;
        font-size: 15.5px;
    }
}

@media screen and (min-width:768px) and (max-width:1025px) {
    .snapshot-cumulative .over-chart-message {
        padding: 10px 30px;
        margin: 0 20px;
        font-size: 15.5px;
    }
}

@media screen and (max-width: 480px) {
    .snapshot-cumulative .over-chart-message {
        padding: 10px 30px;
        margin: 0 20px;
        font-size: 15.5px;
    }
}

/* Review page */

body.review.file {
    overflow-y: hidden;
}

body.review.file .footer {
    display: none;
}

.content-wrapper.review-page {
    width: 100%;
}

/*
.loading {
    z-index: 100;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    background-color: transparent;
}
*/

.content-main-wrapper {
    border: none;
    width: 100%;
    background-color: transparent;
    min-height: calc(100vh - 105px);
    /*    animation: change-color 0.5s ease;*/
}

.content-main-container {
    padding-top: calc((100vh - 80px) / 2 - (40% / 2));
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    /* margin-bottom: 50px; */
    width: 100%;
}

.content-main-container.dashboard {
    padding-top: 15px;    
}

.content-main-container.review {
    padding-top: calc((100vh - 20px) / 2 - (30% / 2));
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    /* margin-bottom: 50px; */
    width: 100%;
}

.guide-title {
    font-size: 20px !important;
}

.keyboard-key {
    height: 60px;
    width: 60px;
    text-align: center;
    line-height: 60px;
    font-size: 16px;
    font-weight: bold;
    padding: 0;
    border: 3px solid #dedede;
    letter-spacing: 0.05em;
    border-radius: 4px;
    display: inline-block;
}

.plus-icon i {
    margin: 0 15px 0;
}

.content-main-container img.logo-main {
    display: flex;
    height: 80px;
    margin-bottom: 35px;
    align-items: center;
}

.content-main-container img.logo-main.small {
    height: 70px;
    margin-bottom: 10px;
}

.content-main-container form {
    display: flex;
    align-items: center;
}

.content-main-container form#page-target-form-main {
    animation: 1.5s ease-in-out 0s 1 normal none running fadeInAnimation;
}

.content-main-container select {
    height: 42px;
    max-width: 270px;
    border-radius: 3px;
    margin-right: 10px;
    padding: 0 15px 0 7px;
    font-size: 0.9em;
    cursor: pointer;
    outline: 0;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.03));
}

.content-main-container input {
    height: 42px;
    border-radius: 3px;
    margin-right: 10px;
    width: 450px;
    padding: 0 8px;
    font-size: 0.9em;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.03));
}

.content-main-container button {
    background-color: #363636;
    color: #fff;
    min-width: fit-content;
    height: 42px;
    padding: 0 16px;
    height: 42px;
    border-radius: 3px;
    font-size: 15px;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.1));
}

.content-main-container button:hover {
    background-color: #F4A237;
    color: #fff;
}

.url-input-wrapper {
    position: relative;
    width: 466px;
    margin-right: 10px;
}

.url-input-wrapper.projects-page {
    position: relative;
    width: 100%;
    margin-right: 10px;
}

.url-list-wrapper-in-header {
    position: absolute;
    width: 100%;
    top: 25px;
    left: 0;
    right: 0;
    z-index: 99999;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.03));
}

.url-list-wrapper-in-tasks {
    display: none;
    position: absolute;
    width: 100%;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 999999;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.03));
}

.url-list-wrapper {
    position: absolute;
    width: 100%;
    top: 40px;
    left: 0;
    left: 0;
    right: 0;
    z-index: 999;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.03));
}

.url-list-in-header {
    background-color: #505050;
    color: #fff;
    border-radius: 0 0 3px 3px;
    font-size: 0.82em;
    width: 100%;
    list-style: none;
    max-height: 450px;
    overflow: auto;
}

.url-list-in-tasks {
    border: 1px solid #bfbfbf;
    background-color: #505050;
    color: #fff;
    border-radius: 0 0 3px 3px;
    font-size: 0.85em;
    width: 100%;
    list-style: none;
    max-height: 450px;
    overflow: auto;
}

.url-list {
/*    background-color: #f5f2f2;*/
    background-color: #f8f8f8;
    border-radius: 0 0 3px 3px;
    font-size: 0.9em;
    width: 100%;
    list-style: none;
    max-height: 450px;
    overflow: auto;
}

.url-list-wrapper.projects-page .url-list {
    background-color: #505050;
    color: #fff;
}

.url-list li,
.url-list-in-header li,
.url-list-in-tasks li {
    padding: 4px 8px;
    word-break: break-all;
    line-height: 1.2em;
    cursor: pointer;
}

.url-list li:first-child,
.url-list-in-header li:first-child,
.url-list-in-tasks li:first-child {
    margin-top: 5px;
}

.url-list li:last-child,
.url-list-in-header li:last-child,
.url-list-in-tasks li:last-child {
    margin-bottom: 5px;
}

.url-list li.active,
.url-list li:hover,
.url-list-in-header li.active,
.url-list-in-header li:hover,
.url-list-in-tasks li.active,
.url-list-in-tasks li:hover
{
    background-color: #4285F4;
    color: #fff;
}

.url-list-wrapper.projects-page .url-list li.active,
.url-list-wrapper.projects-page .url-list li:hover {
    /*
    background-color: #f5f2f2;
    color: #000;
*/
}

.content-normal-container {
    height: auto;
    margin: 50px 0 100px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.quote-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
}

.quote-card {
    max-width: 36rem;
    min-width: 20rem;
    color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    overflow: visible;
    animation-name: fadeUpAnimation;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.quote-author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: -2.2rem 0.5rem 1.5rem -0.7rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    filter: grayscale(1);
}

.quote-license {
    position: absolute;
    left: 11px;
    bottom: 13px;
    font-size: 0.75rem;
    color: #97989a; 
}

.quote-card-content {
    flex: 1;
    padding: 1.5rem 1.3rem 1rem 1rem;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    opacity: 0.5;
    color: #000;
}

.quote-text {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #000;
    padding-right: 2rem;
}

.quote-author {
    text-align: right;
    margin-right: -26px;
}

.quote-author-name {
    /* font-weight: 600; */
    font-size: 0.9rem;
    margin: 0;
    color: #090909;
    font-style: italic;
}

.quote-author-title {
    color: #000000;
    font-size: 0.875rem;
    margin: 0;
    font-style: italic;
}

.quote-fade-in {
    animation: fadeInAnimation 1.5s ease-in-out;
}

.legal-wrapper {
    width: 800px;
}

.legal-wrapper img.logo-main {
    height: 70px;
    display: block;
    margin: 0 auto 50px;
}

.legal-wrapper h1 {
    font-size: 25px;
}

.legal-wrapper h2 {
    font-size: 19px;
}

.legal-wrapper h2 span {
    font-size: 15px;
}

.legal-wrapper p,
.legal-wrapper ol {
    margin-bottom: 20px;
    line-height: 20px;
}

.legal-wrapper ol {
    list-style: decimal;
    margin-left: 1.2em;
    margin-top: 0.5em;
}

.legal-wrapper ol ul {
    list-style: disc;
    margin-left: 1.2em;
    margin-top: 0.5em;
}

.legal-wrapper ul ul {
    margin-top: 0.5em;    
}

.legal-wrapper ol li,
.legal-wrapper ul li {
    margin-bottom: 10px;
    line-height: 18px;
}

.file-size-limit-exceeded .modal-header-image {
    text-align: center;
    margin-bottom: 30px;
}

.file-size-limit-exceeded .modal-header-image img {
    width: 150px;
}

@media screen and (max-width:1025px) { /* iPad pro is included */
    .content-main-container.review {
        padding-top: calc((100vh - 20px) / 2 - (50% / 2));
    }

    .content-main-container form {
        padding: 0 30px;
    }
        
    .quote-card-container {
        bottom: 50px;
    }    
}

@media screen and (min-width:768px) and (max-width:1025px) {

    .content-normal-container {
        margin: 30px 0;
    }
    
    .legal-wrapper {
        width: 90%;
    }

    .legal-wrapper img.logo-main {
        height: 55px;
        display: block;
        margin: 0 auto 35px;
    }

    .legal-wrapper h1 {
        font-size: 22px;
    }

    .legal-wrapper h2 {
        font-size: 17px;
    }

    .legal-wrapper h2 span {
        font-size: 14px;
    }

    .legal-wrapper p,
    .legal-wrapper ol {
        margin-bottom: 20px;
        line-height: 20px;
    }

    .legal-wrapper ol {
        list-style: decimal;
        margin-left: 1.2em;
    }

    .legal-wrapper ol ul {
        list-style: disc;
        margin-left: 1.2em;
        margin-top: 0.5em;
    }

    .legal-wrapper ol li,
    .legal-wrapper ul li {
        margin-bottom: 10px;
        line-height: 18px;
    }
}

@media screen and (max-width: 767px) {

    .content-main-container form {
        padding: 0;
    }

    .content-normal-container {
        margin: 30px 0;
    }

    .legal-wrapper {
        width: 90%;
    }

    .legal-wrapper img.logo-main {
        height: 45px;
        display: block;
        margin: 0 auto 30px;
    }

    .legal-wrapper h1 {
        font-size: 21px;
    }

    .legal-wrapper h2 {
        font-size: 16px;
    }

    .legal-wrapper h2 span {
        font-size: 13px;
    }

    .legal-wrapper p,
    .legal-wrapper ol {
        margin-bottom: 20px;
        line-height: 20px;
    }

    .legal-wrapper ol {
        list-style: decimal;
        margin-left: 1.2em;
    }

    .legal-wrapper ol ul {
        list-style: disc;
        margin-left: 1.2em;
        margin-top: 0.5em;
    }

    .legal-wrapper ol li,
    .legal-wrapper ul li {
        margin-bottom: 10px;
        line-height: 18px;
    }
}

.toasting-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #e48508;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 3px;
    z-index: 2000000002;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.03));
    animation-name: fadeDownAnimation;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

/* Legal page */

body.legal {
    overflow: auto;
}

.policy-update {
    text-align: right;
}

.policy-content {}

.policy-update,
.policy-content p,
.policy-content li {
    color: #3e3e3e;
    font-size: 16px;
}

.legal-about-table {
    border: 1px solid black;
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
}

.legal-about-table th {
    font-weight: bold;
    text-align: left;
}

.legal-about-table th,
.legal-about-table td {
    border: 1px solid black;
    padding: 10px;
    font-size: 0.9em;
}

/* Review page */

.iframe-wrapper {
    margin: 0 auto;
    padding: 5px;
    box-sizing: border-box;
    width: 100%;
    height: calc(100vh - 45px);
    overflow: hidden;
}

.target-page-iframe {
    border: none;
    width: 100%;
    height: 100%;
    background-color: #fff;
    animation: change-color 1s ease;
    overflow: hidden;
}

@keyframes change-color {
    0% {
        background-color: transparent;
    }

    100% {
        background-color: #fff;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    z-index: 2000000001;
    animation-name: fadeInAnimation;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
    overflow: auto;
}

@keyframes fadeInAnimation {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeUpAnimation {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUpAnimationClear {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDownAnimation {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDownAnimation10px {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content-wrapper {
    background-color: #282828;
    position: absolute;
    max-height: 100%; /* Added max-height to limit the height of the modal content */
    max-width: 100%;
    min-width: 940px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    padding: 15px 15px 20px;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    border-radius: 8px;
}

.modal-content {
    margin: 0 auto;
    text-align: center;
}

.modal-header {
    height: 45px;
}

.canvas-container {
    overflow-y: auto;
    max-height: calc(100vh - 264px);
    max-width: calc(100vw - 42px);
    margin-bottom: 15px;    
}

.canvas-wrapper {
    position: relative;
    width: min-content;
    margin: 0 auto;
}

.device-width-control {
    position: absolute;
    top: 70px;
    right: 25px;
    background: #d9d5d5;
    padding: 10px 15px 12px;
    border-radius: 5px;
    display: none;
}

.device-width-title {
    font-size: 12px;
    margin: 0 0 7px;
    border-bottom: 1px solid #b4b4b4;
    padding: 0 0 5px;
}

.tablet-width, .mobile-width {
    width: 40px;
    font-weight: bold;
    color:#e58911;
    background: #d9d5d5;
    border: none;
    padding: 2px 0;
    text-align: center;
    border-radius: 2px;
    font-size: 15.5px;
    cursor: pointer;
}

.tablet-width {
    margin-bottom: 5px!important;
}

.device-width-px {
    font-size: 13px!important;
}

.open-button {
    position: absolute;
    top: 30%;
    right: 3%;
    cursor: pointer;
    width: 50px;
    height: 50px;
    font-size: 20px;
    border-radius: 5px;
    background: #fff;
    color: #a3a2a2;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.open-button:hover {
    transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    .open-button {
        display: none;
    }
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    font-size: 20px;
    border-radius: 5px;
    z-index: 10000;
    background: transparent;
    color: #959595;
    /* Dark mode */
    /* color: #000; Light mode */
}

.trash-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    font-size: 20px;
    border-radius: 5px;
    z-index: 10000;
    background: transparent;
    color: #959595;
    /* Dark mode */
    /* color: #000; Light mode */
}

.close-button:hover,
.trash-button:hover {
    background: #313131;
    /* Dark mode */
    /* background: #F3F3F3; Light mode */
}

.user-picture {
    position: absolute;
    bottom: 12px;
    left: 16px;
    z-index: 10000;
    background: transparent;
    color: #959595;
    padding: 0;
    margin: 0;
}

.user-picture img {
    height: 35px;
    width: 35px;
    border-radius: 35px;
    padding: 0 !important;
    margin: 0;
}

.device-type {
    font-size: 16px;
    padding-top: 1px;
    margin-right: 5px;
    background: transparent;
    color: #959595;
}

/* Canvas */
.canvas {
    overflow: hidden;
/*
    background-image: url(../images/canvas-bg.png);
    background-repeat: repeat;
*/
    border-radius: 3px;
}

.input-wrapper.update-task-modal {
    width: 800px;
    height: 152px;
    margin: 0 auto;
    padding: 0;
}

.input-wrapper {
    width: 700px;
    height: 125px;
    margin: 0 auto;
    padding: 0;
}

.comment-info {
    color: #fff;
    display: flex;
    position: absolute;
    top: 18px;
    left: 20px;
}

.info-number {
    margin-right: 10px;
}

.canvas-tool {
    margin-bottom: 10px;
}

button.tool {
    margin-right: 1px;
    font-size: 22px;
    color: #959595;
    /* Dark mode */
    /* color: #424242; Light mode */
    background-color: transparent;
}

button.color-in-red i {
    color: #ED1A3D;
}

button.color-in-blue i {
    color: #337bf3;
}

button.color-in-green i {
    color: #088508;
}

button.color-in-yellow i {
    color: #e8e87c;
}

button#bgcolorbtn i {
    font-size: 23px;
    margin-top: 1px;
}

button.bgcolor-in-white i {
    color: #fff;
}

button.bgcolor-in-pink i {
    color: #e8b7bf;
}

button.bgcolor-in-yellow i {
    color: #e8e87c;
}


button.tool-active {
    color: #F4A237;
}

button.textbtn {
    padding-right: 0!important
}

button.fontsizebtn {
    padding: 0!important;
}

.fontsizespan {
    border: 1px solid gray!important;
    height: 20px!important;
    width: 20px!important;
    line-height: 20px!important;
    display: inline-block!important;
    text-align: center!important;
    border-radius: 2px!important;
    font-size: 15px!important;
}

.fontsize-popup-container {
    display: inline-flex;
    position: relative;
}

.fontsize-popup {
    display: none;
    position: absolute!important;
    top: 6px!important;
    left: -34px!important;
    z-index: 1!important;
    background-color: #4285F4!important;
    /*    background-color: #f4a43b!important;*/
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2)!important;
    border-radius: 5px!important;
    padding: 10px 0!important;
    text-align: left!important;
}

.fontsize-popup i {
    color: #fff!important;
    margin-left: 5px!important;
}

.fontsize-option {
    cursor: pointer!important;
    padding: 4px 11px!important;
    color: #fff!important;
    font-size: 15px!important;
}

.fontsize-option:hover {
    background-color: #2c71e3!important;
    color: #fff!important;
    /*    background-color: #e29127!important;*/
}

.fontsize-option:hover i {}

.fontsize-selected {
    /*
    background-color: #F4A237!important;
    color: #fff!important;    
*/
}

i.fontsize-active {
    color: #F4A237!important;
}

button#pastebtn {
    display: none;
}

.canvas-text-wrapper {
    position: absolute;
    cursor: move;
    padding: .3em;
    border-radius: 2px;    
}

.canvas-text {
    min-width: 3em;
    line-height: 20px;
    border: 1px dashed #000;
    padding: 6px;
    cursor: text;
    text-align: left;
    border-radius: 2px;
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

.canvas-text-wrapper [contenteditable="plaintext-only"]:focus, .canvas-text-wrapper [contenteditable="plaintext-only"].active {
    border: 2px solid dimgray;
    background-color: rgba(255, 255, 255, 0.9);
}

.canvas-text-wrapper [contenteditable="plaintext-only"].color-in-red {
    color: #ED1A3D!important;
}

.canvas-text-wrapper [contenteditable="plaintext-only"].color-in-blue {
    color: #337bf3!important;
}

.canvas-text-wrapper [contenteditable="plaintext-only"].color-in-yellow {
    color: #e8e87c!important;
}

.canvas-text-wrapper [contenteditable="plaintext-only"].bgcolor-in-white {
    background-color: #fff!important;
}

.canvas-text-wrapper [contenteditable="plaintext-only"].bgcolor-in-pink {
    background-color: #e8b7bf!important;
}

.canvas-text-wrapper [contenteditable="plaintext-only"].bgcolor-in-yellow {
    background-color: #e8e87c!important;
}

#textInput {
    position: absolute;
    background-color: rgba(255,255,255, 0.9);
    border: 1px solid black;
    padding: 5px;
    border-radius: 3px;
    display: none;
}

textarea.inputText {
    background-color: transparent;
    box-sizing: border-box;
    border-radius: 3px;
    width: 700px;
    font-size: 18px;
    font-weight: bold;
    padding: 0 5px;
    line-height: 22px;
    resize: both;
    font-family: inherit;
    border: none;
    overflow: hidden;
}

textarea.inputText::placeholder {
    font-size: 14px;
    padding: 2px 5px;
    font-weight: normal;
}

.input-wrapper.update-task-modal .input-container {
    margin-bottom: 10px;
    display: flex;
    gap: 10px; /* Adjust the gap between the text area and uploader as needed */
}

.input-wrapper.update-task-modal .commentInput {
    flex: 6.5;
    min-width: 0px;
}

.input-wrapper.update-task-modal .tabs-wrapper {
    display: flex;
    flex: 3.5;
    position: relative;
    overflow: visible;
    min-width: 0;
}

.input-wrapper.update-task-modal .tabs-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 110px;
    color: #9f9f9f;
    border-radius: 4px;
    flex-grow: 0;
    cursor: pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.input-wrapper.update-task-modal .tab-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 24px;
    gap: 3px;
}

.input-wrapper.update-task-modal .tab-button {
    font-size: 13.5px;
    width: 100%;
    text-align: center;
    cursor: pointer;
    line-height: 22px;
    color: #9f9f9f;
    background-color: #595959;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom: 3px solid #282828;
}

.input-wrapper.update-task-modal .tab-button:hover {
    opacity: 0.85;
}

.input-wrapper.update-task-modal .assigned-member-count, .input-wrapper.update-task-modal .uploaded-file-count {
    background-color: #A19F9E;
    color: #595959;
    padding: 0 5px;
    line-height: 15px;
    font-size: 12.5px;
    border-radius: 99px;
    margin-left: 3px;
    font-weight: bold;
}

.input-wrapper.update-task-modal .tab-button.active {
    line-height: 24px;
    background-color: #3c3c3c;
    color: #fafafa;
    border-bottom: 3px solid #3c3c3c;
}

.input-wrapper.update-task-modal .tab-button.active .assigned-member-count, .input-wrapper.update-task-modal .tab-button.active .uploaded-file-count {
    color: #3c3c3c;
    background-color: #F4A237;
}

.input-wrapper.update-task-modal .tab-content {
    background-color: #3c3c3c;
    padding: 5px;
    width: 100%;
    height: 100%;
    overflow: auto;
    box-sizing: border-box;
}

.input-wrapper.update-task-modal .tab-content.active {
    display: block;
}

/* アサイン関連 */
.input-wrapper.update-task-modal .assign-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.input-wrapper.update-task-modal .no-assigned-member {
    display: flex;
    border-radius: 3px;
    padding: 4px 7px;
    border: 1px dashed #959595;
    width: 100%;
    height: 100%;
    font-size: 14px;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.input-wrapper.update-task-modal .assigned-member-list {
    font-size: 15px;
    padding: 0 0 0 20px;
    text-align: left;
    list-style-type: disc;
}

.input-wrapper.update-task-modal .assigned-member-list li:last-child {
    padding-bottom: 10px;
}

.input-wrapper.update-task-modal .task-assign-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 2px 10px 4px 12px;
    color: #fff;
    font-size: 14px;
    border-left: 3px solid transparent; /* Added to prevent shifting */
}

.input-wrapper.update-task-modal .task-assign-option:has(input[type="checkbox"]:checked) {
    border-left: 3px solid #F4A237;
    background-color: rgba(244, 162, 55, 0.1);
}

.input-wrapper.update-task-modal .task-assign-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #F4A237;
}

.input-wrapper.update-task-modal .no-assigned-member-header {
    text-align: left;
    font-size: 14px;
}

.input-wrapper.update-task-modal .no-assigned-member-footer {
    text-align: right;
    font-size: 13px;
}

.input-wrapper.update-task-modal .uploader-container {
    height: 100%;
}

.input-wrapper.update-task-modal .file-uploader {
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Aligns children at the start and end of the main axis */
    padding: 4px 7px;
    border: 1px dashed #959595;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.input-wrapper.update-task-modal .file-uploader-header {
    text-align: left; /* Aligns text to the top left */
    font-size: 14px;
}

.input-wrapper.update-task-modal .file-uploader-footer {
    text-align: right; /* Aligns text to the bottom right */
    font-size: 13px;
}

.input-wrapper.update-task-modal .file-list-container {
    text-align: left;
}

.input-wrapper.update-task-modal .file-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.input-wrapper.update-task-modal .file-list i {
    color: #757575;
/*    color: #F4A237!important;*/
    font-size: 15px;
}

.input-wrapper.update-task-modal .file-item {
    display: flex;
    align-items: baseline;
    line-height: 24px;
}

.input-wrapper.update-task-modal .file-name {
    /* color: #F4A237; */
    font-size: 14.5px;
    padding-right: 10px;
}

.input-wrapper.update-task-modal .file-size {
    color: #808080;
    padding-left: 5px;
    font-size: 14px;
}

.input-wrapper.update-task-modal .file-type {
    background: #F4A237;
    padding: 1px 9px;
    font-size: 12px;
    color: #fff;
    border-radius: 999px;
    margin-right: 5px;
    display: none;
}

textarea.comment_text {
    height: 84px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 5px;
    padding: 0.5em 0.75em;
    border-radius: 5px;
    font-size: 15px;
    line-height: 1.25em;
    color: #fff;
    background-color: #3c3c3c;
    box-sizing: border-box;
    overflow-y: scroll;
    resize: none;
}

div.comment_text[contenteditable="plaintext-only"] {
    text-align: left;
    height: 110px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 5px;
    padding: 0.5em 0.75em;
    border-radius: 5px;
    font-size: 15px;
    line-height: 1.5em;
    color: #fff;
    background-color: #3c3c3c;
    box-sizing: border-box;
    overflow-y: scroll;
    resize: none;
}

div.comment_text[contenteditable="plaintext-only"]:focus {
    background-color: #3c3c3c!important;
    outline: 0!important;
    border: none!important;
}

.input-wrapper.update-task-modal textarea.comment_text, .input-wrapper.update-task-modal div.comment_text {
    margin-bottom: 0;
}

textarea.comment_text:focus, div.comment_text:focus {
    background-color: #3c3c3c;
    /* Dark mode */
}

textarea.comment_text::placeholder {
    color: #9f9f9f!important;
    font-size: 14px;
    /* line-height: 2px;*/
    padding: 2px 0;
    font-weight: normal;
}

div.comment_text:empty:before {
    content: attr(data-placeholder);
    color: #9f9f9f!important;
    pointer-events: none;
    display: block; /* For line height to take effect */
}

.commentControl {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.labelbtn {
    display: flex;
    align-items: center;
    height: 32px;
}

button.label {
    margin-right: 1px;
    padding-top: 2px;
    font-size: 19px;
    color: #959595;
    display: flex;
    align-items: center;
    /* Dark mode */
    /* color: #424242; Light mode */
    background-color: transparent;
}

button.label-active {
    color: #F4A237;
}

#duebtn {
    margin-right: 1px;
}

input[type="date"] {
    font-size: 15.5px;
    padding: 5px 8px;
    background-color: #F4A237;
    border-radius: 3px;
    height: 25px;
}

#dueDate {
    font-size: 15px;
    color: #959595;
    cursor: pointer;
    display: inline-block;
}

#reset-due-date {
    display: none;
    padding-top: 2px;
    color: #959595;
    background-color: transparent;
}

.due-date-icon-mobile {
    display: none!important;
}

.statusControl {
    display: flex;
    align-items: center;
    height: 32px;
}

.submitControl {
    display: flex;
    align-items: center;
    height: 32px;
}

.statusControl i {
    margin-right: 5px;
}

.info-status {
    margin-right: 10px;
    cursor: pointer;
    color: #fff;
    font-size: 15px;
    padding-top: 2px;
    width: fit-content;
}

.info-status i {
    margin-left: 5px;
    font-size: 13px;
}

html[lang="en"] .info-status {
    font-size: 14.5px;    
    padding-top: 1px;
}

.status-popup {
    display: none;
    position: absolute;
    top: 25px;
    z-index: 10001;
    background-color: #fff;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0;
    text-align: left;
    width: 140px;
    overflow: hidden;
}

.status-popup i {
    color: #fff;
    margin-left: 5px;
}

.status-option {
    cursor: pointer;
    padding: 4px 15px 4px 12px;
    color: #333;
    font-size: 15px;
    letter-spacing: -0.02em;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    white-space: nowrap;
    gap: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.status-option:last-child {
    border-bottom: none;
}

.status-option:hover {
    background-color: #f8f9fa;
    color: #4285f4;
}

html[lang="en"] .status-option {
    font-size: 15px;
}

.status-active {
    color: #fff !important;
}

/* Status Badge Colors (Shared) */
.status-badge-done { background: #e8f5e9 !important; color: #2e7d32 !important; }
.status-badge-in-review { background: #fff3e0 !important; color: #f57c00 !important; }
.status-badge-returned { background: #ffebee !important; color: #c62828 !important; }
.status-badge-in-progress { background: #e3f2fd !important; color: #1976d2 !important; }
.status-badge-checking { background: #f3e5f5 !important; color: #7b1fa2 !important; }
.status-badge-pending { background: #f5f5f5 !important; color: #616161 !important; }
.status-badge-unset { background: #f0f0f0 !important; color: #666 !important; }

.table-status {
    margin-right: 10px;
    cursor: pointer;
    font-size: 15px;
    width: fit-content;
    padding: 2px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.table-status.no-popup {
    cursor: default;
}

.table-status i {
    margin-left: 0;
    font-size: 10px;
    opacity: 0.5;
}

html[lang="en"] .table-status {
    font-size: 14px;    
    padding-top: 1px;
}

.table-status-popup-wrapper {
    display: none;
    position: absolute;
    top: 0;
    z-index: 10001;
    padding-top: 22px;
}

.table-status-popup {
    background-color: #fff;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0;
    text-align: left;
    width: 120px;
    overflow: hidden;
}

.table-status-popup i {
    color: #fff;
    margin-left: 5px;
}

.table-status-option {
    cursor: pointer;
    padding: 3px 15px 3px 12px;
    color: #333;
    font-size: 14.5px;
    letter-spacing: -0.02em;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    white-space: nowrap;
    gap: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.table-status-option:last-child {
    border-bottom: none;
}

.table-status-option:hover {
    background-color: #f8f9fa;
    color: #4285f4;
}

html[lang="en"] .table-status-option {
    font-size: 14px;
}

.table-status-active {
    color: #fff !important;
}

/* Task Assign popup */

.task-assign-status {
    margin-right: 10px;
    cursor: pointer;
    font-size: 15px;
    width: fit-content;
}

.task-assign-status i {
    margin-left: 3px;
    font-size: 10px;
}

html[lang="en"] .task-assign-status {
    font-size: 14px;    
    padding-top: 1px;
}

.task-assign-popup-modal-wrapper {
    display: none;
    position: absolute;
    top: 0;
    z-index: 10001;
    padding-top: 22px;
}

.task-assign-popup-modal {
    background-color: #fff;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0;
    text-align: left;
    width: max-content;
    overflow: hidden;
}

.task-assign-popup-wrapper {
    display: none;
    position: absolute;
    top: 0;
    z-index: 10001;
    padding-top: 22px;
}

.task-assign-popup {
    background-color: #fff;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0;
    text-align: left;
    width: max-content;
    overflow: hidden;
}

.task-assign-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 4px 15px 4px 12px;
    color: #333;
    font-size: 13.5px;
    letter-spacing: -0.02em;
    border-bottom: 1px solid #f0f0f0;
    gap: 8px;
    border-left: 3px solid transparent; /* Added to prevent shifting */
}

.task-assign-option:last-child {
    border-bottom: none;
}

.task-assign-option:has(input[type="checkbox"]:checked) {
    background-color: rgba(244, 162, 55, 0.05);
}

.task-assign-option:hover {
    background-color: #f8f9fa;
    color: #4285f4;
}

html[lang="en"] .task-assign-option {
    font-size: 13.5px;
}

.task-assign-active {
    color: #fff !important;
}

.task-assign-option input[type="checkbox"] {
  border-radius: 50%;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid transparent; /* Changed from #ddd to transparent */
  width: 14px;
  height: 14px;
  cursor: pointer;
  position: relative;
  background-color: transparent; /* Changed from #fff to transparent */
  transition: all 0.2s;
  margin-left: 0;
}

.task-assign-option:hover input[type="checkbox"] {
    border-color: #ccc;
}

.task-assign-option input[type="checkbox"]:checked {
    background-color: #F4A237;
    border-color: #F4A237;
}

.task-assign-option input[type="checkbox"]:checked:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%) rotate(45deg);
    width: 3px;
    height: 6px;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    content: '';
}

.task-assign-option label {
    color: #333;
    cursor: pointer;
}

.task-assign-option label i {
    margin-right: 5px;
    color: #999;
}

/* Mention  */

.mention-tag {
    color: #4285F4;
    background-color: #f0f0f0;
    padding: 0 4px;
    border-radius: 3px;
    margin: 3px 0;
    display: inline;
    font-size: 0.94em;
}

.content-view .mention-tag {
    background-color: #dddddd;
}

.mention-tag i {
    color: #b7b7b7;
    margin-right: 2px;
    font-size: 0.9em;
}

.mention-tag.to-you {
    background-color: #fff3bc;
/*    background-color: #ffdede;*/
/*    background-color: #eff7ff;*/
}

.content-view .mention-tag.to-you {
    background-color: #f8e179;
}

.mention-tag.to-you.read {
/*
    transition: background-color 2s ease;
    background-color: #fff3bc;
*/
}

.mention-popup {
    display: none;
    position: absolute;
    z-index: 2000000002;
    background-color: #fff;
/*    background-color: #4285F4;*/
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    padding: 0 0 6px;
    text-align: left;
    border: 1px solid #b4b4b4;
/*    max-width: 200px;*/
}

.mention-popup.no-padding {
    padding-bottom: 0;
}

.mention-list {
/*
    max-height: 300px;
    overflow-y: auto;    
*/
}

.mention-option-title {
    background: #595959;
    color: #fff;
    padding: 0 10px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    font-size: 13px;
    line-height: 26px;
    height: 26px;
    width: 100%;
    box-sizing: border-box;
}

.mention-option {
    border-radius: 3px;
    cursor: pointer;
    padding: 0 10px;
    color: #000;
    font-size: 14.7px;
    line-height: 30px;
    height: 30px;
    width: 100%;
    min-width: 200px;
    box-sizing: border-box;
}

.mention-option.no-user {
    cursor: auto;
    font-size: 14px;
    pointer-events: none;
    margin-bottom: 0;
}

.mention-option i {
    color: #9a9797;
    margin-right: 5px;
}

.mention-option .email {
    color: #9c9c9c;
/*    color: #4285F4;*/
    font-size: 0.95em;
    margin-left: 5px;
}

.mention-option.option-active, .mention-option:hover {
/*    background-color: #eff7ff;*/
/*    background-color: #2c71e3;*/
    background-color: #fff3bc;
/*    color: #fff;*/
}

html[lang="en"] .mention-option {
    font-size: 14.5px;
}

.submitbtn {
    background-color: #4285F4;
    color: #fff;
    border-radius: 4px;
    padding: 0 10px;
    min-width: 100px;
    height: 32px;
    line-height: 14px;
    font-size: 14px;
}

.submitbtn:hover,
.submitbtn:focus {
    background-color: #F4A237;
}

@media screen and (min-width:768px) and (max-width:1025px) {

    nav .header-menu-items {
        margin-right: 10px;
    }
    
    nav .header-menu-items a {
        font-size: 14px;
        padding: 5px;
    }
    
    .modal-content-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        padding: 25px 0;
        box-sizing: border-box;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
    }

    .canvas-container {
        overflow-y: auto;
        max-height: none;
        max-width: none;
        margin-bottom: 10px;    
    }
    
    .canvas-wrapper {
        max-height: unset; /* Reset the max-height */
        max-width: unset;  /* Reset the max-width */
    }

    canvas {
        width: 700px !important;
        height: auto !important;
    }

    .input-wrapper {
        width: 550px !important;
    }

    button.label {
        margin-right: 10px;
        font-size: 21px;
    }

    .commentControl {
        position: relative;
    }

    #date-input-wrapper {
        position: absolute;
        font-size: 16px;
        bottom: -1px;
        left: 202px;
        z-index: 100001
    }

    .due-date-icon-mobile {
        display: none!important;
    }

/* Dashboard page */
    .dashboard-data-container {
        padding: 0 30px;
    }

    .update-completion-date {
        bottom: 10px;
        right: 10px;
    }

    .digits-block {
        gap: 20px;
        margin-bottom: 20px;
    }

    .charts-block {
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .digits-block .dashboard-data-title {
        font-size: 16.5px;
        margin-bottom: 15px;
    }

    .charts-block .dashboard-data-title {
        font-size: 16.5px;
    }

    .dashboard-data-value .small-text {
        font-size: 17.5px;
        margin-left: 3px;
    }
}

@media screen and (min-width:850px) and (max-width:1025px) {
    .header select.project-list {
        width: 100%;
        min-width: auto;
        font-size: 13px;
        height: 36px;
        max-width: 200px;
    }

    .dashboard-data-value {
        font-size: 42px;
        line-height: 35px;
        height: 42px;
    }
}

@media screen and (min-width:768px) and (max-width:849px) {
    .header select.project-list {
        max-width: 180px;
    }

    .dashboard-data-value {
        font-size: 37px;
        line-height: 32px;
        height: 38px;
    }
    
    nav .header-menu-items a {
        font-size: 13px;
    }
}

@media screen and (max-width: 767px) {

    .dashboard-data-container {
        padding: 0 20px;
    }
    
    .dashboard-data {
        padding: 13px;
    }

    .digits-block {
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 15px;
        align-items: stretch;
    }

    .digits-block .dashboard-data-title {
        font-size: 15.5px;
        margin-bottom: 6px;
    }

    html[lang="en"] .digits-block .dashboard-data-title {
        font-size: 15.5px;
    }

    .digits-block .dashboard-data {
        position: relative;
        flex-grow: 1;
        flex: auto;
        box-sizing: border-box;
        width: calc(50% - 73px);        
    }

    html[lang="en"] .dashboard-data {
    }
    
    .dashboard-data-value {
        font-size: 32px;
        line-height: 30px;
        height: 31px;
    }
    
    .dashboard-data-value .small-text {
        margin-left: 3px;
    }
    
    .update-completion-date {
        top: auto;
        bottom: 12px;
        right: 15px;        
    }

    .charts-block {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }

    .charts-block .dashboard-data-title {
        font-size: 17px;
        margin-bottom: 15px;
    }
    
    .dashboard-data.status-donut, .dashboard-data.snapshot-cumulative {
        width: 100%;
        box-sizing: border-box;
    }
                
    .modal-content-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        padding: 50px 0;
        box-sizing: border-box;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
    }
    
    .close-button {
        top: 3px;
    }
    
    .user-picture {
        bottom: 7px;
    }
    
    .trash-button {
        bottom: 5px;
    }
    
    .canvas-container {
        overflow-y: auto;
        max-height: none;
        max-width: none;
        margin-bottom: 10px;    
    }

    .canvas-wrapper {
        max-height: unset; /* Reset the max-height */
        max-width: unset;  /* Reset the max-width */
    }
    
    canvas {
        width: 350px !important;
        height: auto !important;
    }

    .modal-info {
        width: 100vw !important;
        height: 100vh !important;
        background-color: rgba(0, 0, 0, 0.6) !important;
    }

    canvas#confettiCanvas {
        top: 50%!important;     /* 縦の中央 */
        left: 50%!important;    /* 横の中央 */
        width: 100vw!important; /* 画面幅全体 */
        height: 100vh!important; /* 画面縦幅全体 */
        transform: translate(-50%, -50%); /* 中央からのオフセット */
    }

    .input-wrapper {
        width: 350px !important;
    }

    button.label {
        margin-right: 10px;
        font-size: 21px;
    }
    
    .commentControl {
        position: relative;
    }
    
    #date-input-wrapper {
        position: absolute;
        font-size: 16px;
        bottom: -42px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100001
    }

    .due-date-wrapper {
        position: absolute;
        font-size: 16px;
        bottom: -40px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100000
    }
    
    .due-date-icon-mobile {
        display: none;
        color: #959595;
    }
    
    #dueDate {
        display: inline-block;
    }

    .user-picture img {
        height: 25px;
        width: 25px;
    }
}

@media screen and (max-width: 480px) {

    .input-wrapper.update-task-modal .input-container {
        flex-direction: column;
    }

    .input-wrapper.update-task-modal {
        height: 220px;
    }

    div.comment_text[contenteditable="plaintext-only"] {
        height: 70px;
    }

    .input-wrapper.update-task-modal .tabs-container {
        height: 90px;
    }

    .commentControl .submitbtn {
        min-width: 120px;
    }
    
    .comment-info {
        top: 10px;
        left: 15px;
    }
    
    .dashboard-demo-block {
        flex-direction: column;
        height: auto;
        padding: 8px 10px;
    }

    .dashboard-demo-open {
        background-color: #dedede;
        color: #999999;
        padding: 5px 10px;
        position: absolute;
        top: 0px;
        right: 0px;
        border-radius: 5px;
        font-size: 18px;
        cursor: pointer;
    }
    
    .dashboard-demo-info {
        margin-bottom: 8px;
        font-size: 15px;
        line-height: 20px;
        text-align: center;
    }
    
    .dashboard-demo-close {
        width: 200px;
        text-align: center;
    }
    
    .dashboard-header-block {
        justify-content: normal;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 10px;
    }

    .dashboard-header-project-name {
        font-size: 25px;
        line-height: 32px;
        padding-right: 48px;
    }
        
    .dashboard-header-right-section {
        display: block;
        width: 100%;
        text-align: right;
    }

    .dashboard-header-current-date {
        font-size: 15px;
    }
    
    .status-donut .chart-canvas {
        width: 90%!important;
    }
}

/* Tasks page */

body.tasks .footer {
    display: none;
}

.content-wrapper.comments-page {
    width: 1100px;
    margin: 0 auto;
    padding: 30px 0 100px;
    box-sizing: border-box;
}

.content-wrapper.tasks-page {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    padding: 0;
    height: calc(100vh - 80px);
}

.tasks-page .filter-wrapper {
    width: 100%;
    margin: 0 auto 18px;
    gap: 50px;
}

.filter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.tasks-page .text-based-filter {
    display: flex;
    flex: 1;
    align-items: center;
}

.tasks-page form#review-page-select-form, form#review-file-select-form {
    margin-right: 10px;
    flex: 1;
    align-items: center;
    position: relative;
}

.tasks-page input#review-page-url, input#review-file-url {
    border: 1px solid #fff;
    color: #373737;
    outline: none;
    cursor: pointer;
    padding: 0 30px 0 30px;
    font-size: 14.5px;
/*    background: #f3efef;*/
/*    background-color: #dddddd;*/
    background-color: #fff;
    border-radius: 3px;
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.03));
}

.tasks-page input#review-page-url::placeholder, input#review-file-url::placeholder {
    font-size: 12.5px;
    font-weight: normal;
}

.tasks-page .url-active input#review-page-url, .url-active input#review-file-url, .file-active input#review-file-url {
    border: 1px solid #4285F4;
    background-color: #fff;
/*    color: #525252;*/
    color: #4285F4;
    font-weight: bold;
}

.tasks-page input#review-page-url.updated, input#review-file-url.updated {
    background-color: #e58911;
    color: #fff;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.url-input-wrapper-in-tasks {
    position: relative;
    width: 100%;
    align-items: center;
/*    border: 1px solid #e5e5e5;*/
}

.url-input-wrapper-in-tasks .page-url-icon, .url-input-wrapper-in-tasks .file-url-icon {
    color: #9f9f9f;
/*    color: #0f0f0f;*/
    position: absolute;
    top: 0.5em;
    left: 0.7em;
    z-index: 99999;
}

.text-search-icon {
    color: #9f9f9f;
    position: absolute;
    top: 0.5em;
    left: 0.7em;
    z-index: 99999;
}

.url-active .url-input-wrapper-in-tasks .page-url-icon, .url-active .url-input-wrapper-in-tasks .file-url-icon, .file-active .url-input-wrapper-in-tasks .file-url-icon, .search-active .text-search-icon {
    color: #4285F4;
}

.filter-buttons {
    display: flex;
    align-items: center;
}

.tasks-page .filter-buttons {
    display: none;
}

.all-filter-reset {
    color: #e58911;
    margin-right: 5px;
    display: none;
}

.all-filter-reset.filter-active {
    display: inline-block;
}

.filter-button {
    background-color: #fff;
/*    background-color: #f3efef;*/
    color: #474646;
    border-radius: 3px;
    padding: 0 8px;
    height: 35px;
    font-size: 12.5px;
    margin-right: 8px;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.03));
}

.filter-button i {
    font-size: 16.5px;
}

.filter-button.filter-active {
    background-color: #e58911;
    color: #fff;
}

.filter-in-review {
    letter-spacing: -0.8px;
}

.tasks-hit-count {
    font-size: 0.85em;
    color: #333F50;
}


/* Override styles for English language */
:lang(en) .filter-in-review {
    letter-spacing: 0;
}

.filter-buttons .no-count {
    display: none;
}

.filter-count {
    margin-left: 2px;
    font-size: 11.5px;
    letter-spacing: -0.5px;
}

.device-filter {
    margin-right: 5px;
}

.search-view-control {
    display: flex;
    align-items: center;
}

.filter-text {
    position: relative;
    display: flex;
    align-items: center;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.03));
/*    border: 1px solid #e5e5e5;*/
}

.filter-text.pc {
    display: flex;
    width: 240px;
}

/* Full Image Toggle */
.full-image-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    white-space: nowrap;
    padding: 0 12px;
    height: 40px;
    border-radius: 3px;
}

.full-image-toggle-wrapper .toggle-label {
    font-size: 13px;
    color: #666;
}

/* Toggle Switch Style */
.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #4285F4;
}

input:focus + .slider {
    box-shadow: 0 0 1px #4285F4;
}

input:checked + .slider:before {
    -webkit-transform: translateX(14px);
    -ms-transform: translateX(14px);
    transform: translateX(14px);
}

.slider.round {
    border-radius: 20px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Full Image View Table Styles */
.comment-table.full-image-view td {
    max-height: none !important;
}

.comment-table.full-image-view td.image {
    max-height: none !important;
    height: auto !important;
}

.comment-table.full-image-view .canvas-image {
    max-height: none !important;
    height: auto !important;
    width: auto !important;
    max-width: 250px !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.comment-table.full-image-view .image-wrapper {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Timeline View Styles */
.tasks-page-timeline {
    display: flex;
    height: calc(100vh - 120px);
    overflow: hidden;
    background: #f0f0f1;
}

.timeline-video-panel {
    flex: 1;
    background: #000;
    display: flex;
    flex-direction: column;
    position: relative;
}

.timeline-video-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.timeline-comments-panel {
    width: 450px;
    background: #fff;
    border-left: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.timeline-comment-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

.timeline-comment-item:hover {
    background: #f9f9f9;
}

.timeline-comment-item.active {
    background: #eef5ff;
    border-left: 4px solid #4285F4;
}

.timeline-comment-time {
    font-size: 12px;
    font-weight: bold;
    color: #4285F4;
    margin-bottom: 5px;
    display: inline-block;
    background: #eef5ff;
    padding: 2px 8px;
    border-radius: 10px;
}

.timeline-comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.timeline-comment-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.timeline-comment-user {
    font-size: 13px;
    font-weight: bold;
}

.timeline-comment-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 10px;
}

.timeline-comment-image {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-top: 8px;
}

.filter-text.mobile {
    display: none;
}

.filter-text input {
    outline: none;
    cursor: pointer;
    padding: 0 25px 0 8px;
    font-size: 14px;
/*    background: #f3efef;*/
    background-color: #fff;
    border-radius: 3px;
    width: 200px;
    height: 35px;
}

.tasks-page .filter-text input {
    border: 1px solid #fff;
    outline: none;
    cursor: pointer;
    padding: 0 25px 0 32px;
    font-size: 14px;
/*    background: #f3efef;*/
/*    background-color: #dddddd;*/
    background-color: #fff;
    border-radius: 3px;
    width: 100%;
    height: 40px;
    box-sizing: border-box;
}

.filter-text input::placeholder {
    font-size: 12.5px;
    font-weight: normal;
}

.tasks-page .filter-text.search-active input {
    border: 1px solid #4285F4;
    background-color: #fff;
    color: #4285F4;
/*    color: #525252;*/
    font-weight: bold;
}

.reset-search-input {
    position: absolute;
    display: inline-block;
    right: 5px;
    color: #959595;
    background-color: transparent;
    z-index: 99999;
}

.reset-page-url, .tasks-page .reset-search-input {
    position: absolute;
    display: none;
    font-size: 0.88em;
    right: 5px;
    top: 0.6em;
    color: #959595;
    background-color: transparent;
    z-index: 99999;
}

.url-active .reset-page-url, .tasks-page .search-active .reset-search-input, .file-active .reset-search-input {
    display: inline-block;
}

.view-button, .view-order-button {
/*    background-color: #f3efef;*/
    background-color: #fff;
    color: #0f0f0f;
    border-radius: 3px;
    padding: 0 10px;
    height: 35px;
    /* line-height: 14px; */
    font-size: 16.5px;
    margin-left: 8px;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.03));
    height: 40px;
    width: 40px;
    box-sizing: border-box;
/*    border: 1px solid #e5e5e5;*/
}

/* sidebar-menu */
.tasks-sidebar-menu {
    min-width: 200px;
    padding: 0 10px 0 10px;
    overflow-y: auto;
}

.tasks-sidebar-menu ul {
    margin: 0 0 1.3em;
}

.menu-block.assign-members {
/*    display: none;*/
}

.tasks-sidebar-menu .filter-all {
    background-color: #fafafa;
    padding: 7px 10px 5px 15px;
    text-align: center;
}

.tasks-sidebar-menu .filter-all, .tasks-sidebar-menu .sidebar-menu-title {
    font-weight: bold;
    margin: 0 0 0.3em;
}

.tasks-sidebar-menu .filter-all.filter-active {
    font-weight: normal;
}

.tasks-sidebar-menu .sidebar-menu-title {
    font-size: 0.91em;
    display: flex;
    align-items: center;
}

.tasks-sidebar-menu .sidebar-menu-title i {
    margin-right: 4px;
}

.tasks-sidebar-menu li {
    display: flex;
    align-items: center;
    color: #373737;
    margin-bottom: 0.1em;
    padding: 0.1em 25px 0.1em 15px;
    border-radius: 99px;
    font-size: 15.5px;
    line-height: 1.2em;
}

.tasks-sidebar-menu li.filter-active {
/*    font-size: 0.9em;*/
}

.tasks-sidebar-menu .filter-link:hover {
    background-color: #4285F4;
    color: #fff;
    font-weight: normal;
}

.tasks-sidebar-menu .filter-all.filter-active, .tasks-sidebar-menu li.filter-active {
    background-color: #4285F4;
    color: #fff;
    font-weight: normal;
/*    font-size: 0.96em;*/
}

.tasks-sidebar-menu .filter-label-text {
    max-width: 190px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.tasks-sidebar-menu .filter-count {
    color: gray;
    margin-left: 3px;
    font-size: 0.8em;
    font-weight: normal;
}

.tasks-sidebar-menu .unread-mentions {
    background-color: #4285F4;
    color: #fff;
    border-radius: 0.5em;
    padding: 0.5px 3px;
    font-size: 0.7em;
    min-width: 0.8em;
    display: inline-block;
    text-align: center;
    line-height: 16px;
}

.tasks-sidebar-menu .filter-active .filter-count, .tasks-sidebar-menu .filter-link:hover .filter-count {
    color: #fff;
}

.tasks-sidebar-menu .no-count .unread-mentions {
    color: #fff;
    background-color: #b6b6b6;
}

.tasks-sidebar-menu .filter-active .unread-mentions {
    color: #4285F4;
    background-color: #fff;
}

.tasks-sidebar-menu .filter-link:hover .unread-mentions {
    background-color: #fff;
    color: #4285F4;
}

.tasks-sidebar-menu .filter-link {
    cursor: pointer;
    position: relative;
}

.tasks-sidebar-menu .no-count {
    display: none;
}

.toggle-assign-button {
    position: relative;
    width: 30px;
    height: 22px;
    margin-left: 10px;
    cursor: pointer;
}

.toggle-assign-button input[type=checkbox] {
    display: none;
}

.toggle-assign-button:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 85%;
    height: 25%;
    border-radius: 20px;
    display: block;
    background: #d2d2d6;
    box-shadow: 0 3px 7px -3px rgba(0, 0, 0, 0.4) inset;
    -webkit-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
}

.toggle-assign-button:after {
    content: "";
    position: absolute;
    top: 4px;
    left: 0px;
    width: 14px;
    height: 14px;
    display: block;
    border-radius: 50px;
    background: #fff;
    box-shadow: 0 3px 12px -4px rgba(0, 0, 0, 1);
    -webkit-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
}

.toggle-assign-button.checked:before {
/*    background: gray;*/
/*    background: #4285F4;*/
    background: #6fa0f2;
}

.toggle-assign-button.checked:after {
    left: 16px;
}

.tasks-sidebar-menu .no-count.unread {
    display: block;
}

.tasks-sidebar-menu .filter-link .remove-filter-icon {
    display: none;
}

.tasks-sidebar-menu .filter-link.filter-active .remove-filter-icon {
    display: block;
    position: absolute;
    top: 0.12em;
    right: 0.4em;
    font-size: 0.88em;
    color: #fff;
    /*    color: #c5c5c5;*/
    /*    color: #969696;*/
    font-weight: bold;
}

.tasks-sidebar-menu .filter-link.filter-active:hover .remove-filter-icon {
/*    color: #ae6608;*/
    color: #fff;
}

.comment-table-wrapper {
    flex-grow: 1;
/*    border-left: 1px solid #bfbfbf;*/
    margin-left: 3px;
}

.tasks-page .comment-table-container-main {
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
    padding: 0 50px;
    box-sizing: border-box;
}

.tasks-page .comment-table-container {
    padding: 0 0 150px;
    box-sizing: border-box;
    height: calc(100vh - 138px);
    overflow-y: scroll;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.tasks-page .comment-table-container::-webkit-scrollbar {
    display: none;
}

.tasks-page .comment-table {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    border-collapse: collapse;
    margin: 0 auto;
    width: 100%;
    border-radius: 3px;
    border-spacing: 0;
/*
    border-collapse: separate;
    border-spacing: 0 15px;
*/
}

.tasks-page .comment-table thead {
    position: sticky;
    top:0;
    left: 0;
    z-index: 99999;
}

.comment-table tr {
    position: relative;
    background-color: transparent;
}

/*
.comment-table tr::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.04);
    pointer-events: none; 
    z-index: -1;
}
*/

.comment-table tr:nth-child(even) {
/*    background-color: #f5f7fa;*/
/*    background-color: #f9f8f8;*/
/*    background-color: #f9f9f9;*/
    background-color: #fff;
}

.comment-table tr:nth-child(odd) {
    background-color: #fff;
}

.comment-table th {
    padding: 3px;
    font-size: 15px;
    font-weight: normal;
/*    background-color: #595959;*/
    background-color: #6f6f6f;
    color: var(--background-color);
    border-right: 1px solid #5b5b5b;
}

.comment-table th.number {
    border-top-left-radius: 3px;
}

.comment-table th.detail {
    border-top-right-radius: 3px;
    border-right: none;
}

.comment-table th.number i {
    font-size: 12px;
}

.comment-table .reply-button {
    display: none;
    position: absolute;
    top: 10px;
    right: 18px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    font-size: 16.5px;
    border-radius: 5px;
    z-index: 10000;
    background: transparent;
    color: #cfcfcf;
}

.comment-table .star-button {
    display: none;
    position: absolute;
    top: 10px;
    right: 18px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    font-size: 16.5px;
    border-radius: 5px;
    z-index: 10000;
    background: transparent;
    color: #cfcfcf;
}

.comment-table .detail a.open-link-button {
    display: none;
    position: absolute;
    top: 11px;
    right: 42px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    font-size: 17.5px;
    border-radius: 5px;
    z-index: 10000;
    background: transparent;
    color: #cacaca!important;
}

.comment-table .detail a.open-link-button:hover {
    text-decoration: none;
}

.comment-table.content-view .reply-button, .comment-table.content-view .star-button {
    display: flex;
    top: 35px;
}

.comment-table.content-view .detail a.open-link-button {
    display: flex;
    top: 37px;
    right: 42px;
}

.comment-table tr:hover .reply-button, .comment-table tr:hover .star-button, .comment-table tr:hover .open-link-button {
    display: flex;
}

.comment-table .star-button.starred {
    display: flex;
}

.comment-table .star-button.starred, .comment-table .star-button.starred:hover {
    color: #fbb356;
}

.comment-table td {
/*    border: 1px solid #cacaca;*/
    padding: 15px 8px;
    font-size: 14px;
    max-height: 400px;
}

.tasks-page .comment-table td {
/*    border: 1px solid #dfdfdf;*/
    border-bottom: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
    border-left: 1px solid #dfdfdf;
}

.tasks-page .comment-table td.number {
    text-align: center;
/*    background-color: #e5e5e5; */
    background-color: #f8f8f8;
    min-width: 20px;
    padding: 15px 0;
/*    vertical-align: top;*/
/*    border-left: 7px solid #b1b1b1;*/
}

.comment-table-row.done td.number {
/*    background-color: #dddddd;*/
}

.comment-table-row.in-review td.number {
/*    background-color: #f0f0ab;*/
}

.comment-table-row.returned td.number {
/*    background-color: #f6d4d9;*/
}

.comment-table-row.in-progress td.number {
/*    background-color: #c6e9c6;*/
}

.comment-table-row.checking td.number {
/*    background-color: #bad0eb;*/
}

.comment-table-row.pending td.number {
/*    background-color: inherit;*/
}

.comment-table-row.unset td.number {
/*    background-color: inherit;*/
}

.comment-table .comment-number-container {
    padding: 2px 5px;
/*
    background: #efefef;
    border-radius: 99px;
    color: #a5a5a5;
    font-size: 13.5px;
*/
}

.comment-table .comment-number-container a {
    color: #6b6b6b;
}

.comment-table td.number, .comment-table td.image, .comment-table td.text, .comment-table td.detail {
    background-color: #fff;
}

.comment-table td.image {
    width: 300px;
    padding: 15px;
}

.comment-table td.image, .comment-table td.text {
    border-right: 1px solid #dfdfdf;
}

.comment-table td.text {
    font-size: 15px;
/*    white-space: pre-wrap;*/
    /* To display line breaks */
    max-width: 450px;
    position: relative;
    padding: 15px 15px 15px 10px;
}

.comment-table td.detail {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.poster-info {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
    padding-left: 5px;
}

.comment-table.content-view .poster-info {
    margin-bottom: 0.3em;
}

.poster-picture {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 5px;
/*    display: none;*/
}

.comment-table.content-view .poster-picture {
    width: 22px;
    height: 22px;
    display: block;
}

.poster-name {
    margin-right: 8px;
    line-height: 22px;
    font-size: 0.92em;
    font-weight: bold;
    color: #5b5b5b;
}

.poster-name i {
    color: gray;
}

.posted-time {
    margin-right: 5px;
    line-height: 22px;
    font-size: 0.9em;
    color: gray;
}

.comment-text-updated {
    font-size: 0.8em;
    color: gray;
}

.read-mark {
    font-size: 1.1em;
    color: #a6a6a6;
}

.comment-table td.text .text-poster {
    line-height: 1.2em;
    color: #363636;
    font-weight: bold;
    font-size: 0.95em;
}

.comment-table td.text .text-container.reply, .vv-card-content .text-container.reply {
    padding-top: 15px;
}

.comment-table td.text .text-container.reply.no-comment-found, .vv-card-content .text-container.reply.no-comment-found {
    padding-top: 0;
}

.comment-table td.text .text-wrapper {
    line-height: 1.5em;
    white-space: pre-wrap;
    padding: 3px 5px;
    transition: 0.1s;
    word-break: break-all;
    overflow-wrap: break-word;
    color: #333;
}

.comment-table td.text .text-wrapper.editable:hover {
    cursor: pointer;
    border: 1px dotted #808080;
    border-radius: 3px;
    transition: 0.1s;
}

.comment-table td.text .text-wrapper.editable:hover .mention-tag {
/*    background-color: #fff;*/
}

.comment-table td.text .text-wrapper.editable:focus .mention-tag {
    background-color: #fff;
}

.comment-table tr:nth-child(odd) [contenteditable="plaintext-only"]:focus, .comment-table tr:nth-child(odd) [contenteditable="plaintext-only"].active {
    border: 1px solid dimgray!important;
    outline: none !important;
    background-color: #eff7ff!important;
/*    background-color: #f6ede6!important;*/
    padding: 3px 5px;
/*    background-color: rgba(255, 255, 255, 0.9);*/
}

.comment-table tr:nth-child(even) [contenteditable="plaintext-only"]:focus, .comment-table tr:nth-child(even) [contenteditable="plaintext-only"].active {
    border: 1px solid dimgray!important;
    outline: none !important;
    background-color: #eff7ff!important;
/*    background-color: #f6ede6!important;*/
    padding: 3px 5px;
/*    background-color: rgba(255, 255, 255, 0.9);*/
}

.comment-table td.text a,
.comment-table td.text a:visited {
    color: #4285F4;
    text-decoration: none;
}

.comment-table td.text a:hover {
    text-decoration: underline;
}

/* .comment-table td.text .edit-comment-button, .comment-table td.text .reply-button {
    display: none!important;
    color: #bdbdbd;
    display: inline-block;
    margin-left: 5px;
} */

.comment-table .comment-files {
    margin: 10px 0;
}

.comment-table .uploaded-file-link {
    display: block;
    color: #4285F4;
    text-decoration: none;
    background: #f0f0f0;
    border-radius: 14.5px;
    font-size: 14.5px;
    margin: 0 0 8px;
    padding: 4px 13px;
    width: fit-content;
    position: relative;
}

.comment-table td.text a.uploaded-file-link .thumbnail {
    display: none;
    position: absolute;
    top: 0;
    left: -170px;
    width: 160px;
    height: auto;
    z-index: 1000;
    border: 2px solid #fff;
    background-image: url(../images/transparent-bg.png);
    background-size: cover;
    border-radius: 3px;
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.2));
}

.comment-table td.text a.uploaded-file-link:hover .thumbnail {
    display: block;
}

.comment-table .uploaded-file-icon {
    padding-right: 6px;
    color: #a2a2a2;
}

.comment-table.content-view .comment-files {
    margin-bottom: 15px;
}

.comment-table.content-view .uploaded-file-link {
    background: transparent;
    border-radius: 999px;
    font-size: 16px;    
    margin-bottom: 0;
    padding: 4px 13px;
}

.comment-table.content-view td.text a.uploaded-file-link .thumbnail {
    top: 35px;
    left: 0px;
}

.comment-table .image-wrapper {
    overflow: hidden;
    text-align: center;
    max-height: 200px;
}

.comment-table .image-wrapper img {
    max-width: 300px;
}

.comment-table td.detail {
    font-size: 14.5px;
    word-break: break-word;
    min-width: 200px;
    max-width: 230px;
    padding-right: 15px;
}

.comment-table ul.fa-ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 30px;
    line-height: 22px;
}

.comment-table .fa-ul li {
    margin-bottom: 2px;
}

.comment-table .fa-ul span {
    color: #282828;
    /*    color: #ff9000; */
}

.comment-table li.detail-url {
    line-height: 15px;
    margin-top: 6px;
    margin-bottom: 6px;
    position: relative;
}

.comment-table .detail a.url {
    font-size: 13.5px;
}

.comment-table li.detail-assign {
/*    display: none;*/
}

.comment-table .detail a,
.comment-table .detail a:visited {
    text-decoration: none;
    color: #000;
}

.comment-table td.detail a:hover {
    text-decoration: underline;
}

.comment-table .canvas-thumbnail {
    max-width: 300px;
}

.background-transition {
    transition: background-color 1s ease;
}

tr.updated-row td.number,
tr.updated-row td.image,
tr.updated-row td.text,
tr.updated-row td.detail {
    /* background-color: #fff9dd!important; */
    background-color: #e9f4ff!important;
    transition: background-color 2s;
}

tr.deleted-row td.number,
tr.deleted-row td.image,
tr.deleted-row td.text,
tr.deleted-row td.detail {
/*    background-color: #d3eaff;*/
    background-color: #d9d9d9!important;
    transition: background-color 0.5s; /* 1sから0.5sに短縮 */
}

.comment-table.no-results {
    display: none;
    margin-bottom: 20px;
}

.comment-table tr.no-results {
    height: 50px;
    background-color: var(--background-color);
}

.comment-table th.spacer,
.comment-table td.spacer {
    /* Spacer to use in vertical view only */
    display: none;
}

.tasks-page .comment-table.content-view {
/*    max-width: 1100px;*/
}

.comment-table.content-view tr.comment-table-head {
    display: none;
}

.comment-table.content-view tr {
    margin-bottom: 20px;
}

.comment-table.content-view td {
    display: block;
    width: 100%;
    border: none;
    padding: 0;
    font-size: 14px;
    max-height: none;
    background: #fff;
}

.comment-table.content-view td.number {
    background-color: #585858;
    color: #fff;
    padding: 3px 0 3px;
    box-sizing: border-box;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.comment-table.content-view td.number a {
    color: #fff;
}

.comment-table.content-view td.image {
    text-align: center;
    width: 100%;
    max-width: none;
}

.comment-table.content-view .image-wrapper {
    text-align: center;
    max-height: none;
    padding: 20px 0 30px;
}

.comment-table.content-view .image-wrapper img {
    height: auto;
    max-height: 600px;
    max-width: 80%;
    border-radius: 5px;
    background: #fff;
    background-image: url(../images/canvas-bg.png);
    background-repeat: repeat;
}

.comment-table.content-view td.text {
    font-size: 17px;
    padding: 0 100px 10px;
    box-sizing: border-box;
    max-width: 100%;
    word-break: break-all;
}

.comment-table.content-view td.text .text-wrapper {
    display: block;
    padding: 15px;
    overflow: hidden;
    border-radius: 3px;
    white-space: pre-wrap;
    background: #f4f2f2;
    display: block !important;
    overflow: visible !important;
    text-overflow: initial !important;
    max-height: none !important;
}

.comment-table.content-view td.detail {
    font-size: 15.5px;
    word-break: break-word;
    min-width: none;
    max-width: none;
    padding: 10px 10px 30px;
    text-align: center;
    box-sizing: border-box;
}

.comment-table.content-view ul.detail-list li {
    display: inline-block;
    margin-right: 50px;
}

.comment-table.content-view td.detail a.url {
    font-size: 16px;
    word-break: break-all!important;
}

/* Show the spacer and set its width when in vertical table view */
.comment-table.content-view td.spacer {
    display: block;
    width: 100%;
    height: 50px;
    background-color: var(--background-color);
}

.comment-table.content-view .updated-row td.number,
.comment-table.content-view .deleted-row td.number {
    background-color: #585858;
    transition: none;
}

.comment-table.content-view .updated-row td.image,
.comment-table.content-view .updated-row td.text,
.comment-table.content-view .updated-row td.detail {
    background-color: #e5f0ff;
    transition: none;
}

.comment-table.content-view .deleted-row td.image,
.comment-table.content-view .deleted-row td.text,
.comment-table.content-view .deleted-row td.detail {
    background-color: #e1d9d9;
    transition: none;
}

.tasks-page .not-found {
    width: 100%;
    max-width: 1100px;
    margin-top: 20px;
    padding: 0 20px;
    box-sizing: border-box;
}

.not-found {
    margin: 0 auto;
    width: 100%;
}

.not-found p {
    margin-top: 10px;
    font-size: 1em;
}

.not-found img {
    max-width: 150px;
}

.not-found.projects-page {
    margin: 0;
}

.not-found.each-project-page {
    margin-bottom: 50px;
    text-align: left;
}

.not-found img.projects-page {
    max-width: 180px;
}

.not-found .button {
    
}

@media (max-width:1300px) {
    .tasks-page .comment-table-container-main {
        padding: 0 35px;
    }
}

@media (max-width:1300px) {
    .tasks-page .comment-table-container-main {
        padding: 0 35px;
    }
    
    .tasks-sidebar-menu {
        min-width: 190px;
    }

    .comment-table td.image {
        max-width: 280px;        
    }

    .comment-table .image-wrapper img {
        max-width: 280px;
    }

    .comment-table td.detail {
        min-width: 180px;
    }
}

@media (max-width:1225px) {
    .tasks-page .comment-table-container-main {
        padding: 0 30px;
    }
    
    .tasks-sidebar-menu {
        min-width: 180px;
    }

    .comment-table td.image {
        max-width: 260px;        
    }

    .comment-table .image-wrapper img {
        max-width: 260px;
    }

    .comment-table td.detail {
        min-width: 165px;
    }
}

@media (max-width:1150px) {
    .tasks-page .comment-table-container-main {
        padding: 0 20px;
    }    

    .tasks-sidebar-menu {
        min-width: 170px;
    }

    .comment-table td.image {
        max-width: 230px;        
    }

    .comment-table .image-wrapper img {
        max-width: 230px;
    }
    
    .comment-table td.detail {
        min-width: 150px;
    }
}

/*@media (max-width:1150px) {*/
@media (max-width:1025px) {
    .content-wrapper.tasks-page {
        display: block;
    }
    .tasks-sidebar-menu {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 100000000;
        background: #fff;
        padding: 20px 10px;
        width: 200px;
        height: 100%;
        filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.1));
    }
    
    .tasks-sidebar-menu li {
        padding: 0.1em 15px;
    }

    .comment-table-wrapper {
        border-left: none;
        margin-left: 0;
    }

    .tasks-page .filter-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .tasks-page .filter-buttons {
        display: flex;
        overflow-x: auto;
        padding: 0 10px 0 0;
        margin-bottom: 15px;
    }

    .filter-button {
        flex-shrink: 0;
        padding: 0;
        height: 60px;
        width: 70px;
        background: #faf8f8;
    }

    .filter-count {
        display: block;
        margin-left: 0;
        font-size: 12.5px;
    }

    .comment-table .star-button {
        display: flex;
        font-size: 16px;
    }

    .comment-table .detail a.open-link-button {
        display: flex;
        top: auto;
        bottom: 8px;
        right: 10px;
        font-size: 16px;
    }
}

@media screen and (min-width:768px) and (max-width:1025px) {

    .content-wrapper.comments-page {
        width: 100%;
        margin: 0 0 30px;
    }
    
    .filter-wrapper {
        display: block;
    }

    .filter-count {
        display: block;
        margin-left: 0;
        font-size: 12.5px;
    }
    
    .tasks-page .filter-wrapper {
        display: flex;
        flex-wrap: wrap;
    }

    .tasks-page form#review-page-select-form, form#review-file-select-form {
        margin-right: 0;
    }

    .all-filter-reset {
        font-size: 18px;
        padding: 0 15px;
    }
    
    .tasks-page .filter-buttons {
        display: flex;
        overflow-x: auto;
        padding: 0 10px 0 0;
        margin-bottom: 15px;        
    }

    .filter-buttons {
        display: flex;
        overflow-x: auto;
        padding: 0 10px 0 0;
        margin-bottom: 15px;
    }

    .filter-button {
        flex-shrink: 0;
        padding: 0;
        height: 60px;
        width: 70px;
        background: #faf8f8;
    }

    .filter-button i {
        font-size: 17px;
    }

    .search-view-control {
        display: block;
    }
    
    .filter-text.pc {
        display: none;
    }

    .filter-text.mobile {
        display: flex;
    }

    .filter-text {
        padding: 0 10px 0 0;
    }

    .filter-text input {
        width: 100%;
        height: 35px;
    }

    .reset-search-input {
        right: 15px;
    }

    .tasks-page .reset-search-input {
        right: 15px;
    }

    .device-filter {
        margin-right: 0;
    }

    .search-view-control {
        display: flex;
        align-items: center;
    }

    .filter-text {
        display: flex;
        align-items: center;
        flex: 1;
    }

    .filter-text input {
        flex: 1;
        height: 40px;
    }

    .view-button, .view-order-button {
        font-size: 20px;
        color: #0f0f0f;
        margin-right: 10px;
        margin-left: 0;
        padding: 0;
        height: 40px;
        width: 50px;
        border-radius: 3px;
        filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.03));
    }

    .tasks-page .view-order-button {
        margin-right: 0;        
    }
    
    .tasks-hit-count {
        margin: 0 10px;
    }

    .comment-table {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
        display: block;
    }

    .comment-table.content-view td.text {
        padding: 0 30px 10px;
    }
    
    .comment-table td.detail {
        min-width: 100px;
    }

    .comment-table .star-button {
        display: flex;
    }

    .comment-table td.image {
        width: 200px;
    }

    .comment-table .comment-files {
        margin: 10px 0;
    }

    .comment-table .image-wrapper {
        max-height: 150px;
    }

    .comment-table .image-wrapper img {
        max-width: 250px;
    }

    .comment-table.content-view td.detail {
        box-sizing: border-box;
    }

    .comment-table.no-results {
        display: none;
    }

    .not-found {
        padding: 20px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 767px) {

    .content-wrapper.comments-page {
        width: 100%;
        margin: 0 0 30px;
    }
    
    .content-wrapper.tasks-page {
        padding-top: 15px;
    }

    .tasks-sidebar-menu {
        display: none;
    }
    
    .tasks-page .text-based-filter {
        display: block;
        margin-bottom: 15px;   
    }
    
    .tasks-page form#review-page-select-form, form#review-file-select-form {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .url-input-wrapper-in-tasks, .url-input-wrapper-in-tasks-files {
        width: 100%;
    }
    
    .tasks-page .filter-text input {
/*
        background-color: #d2d2d2;
        border-color: #d2d2d2;
*/
    }

    .tasks-page .url-active input#review-page-url, .tasks-page .search-active input, .tasks-page .file-active input#review-file-url {
        background-color: #fff;
    }

/*
    .url-input-wrapper-in-tasks {
        display: none;
    }
*/
    
    .tasks-page .filter-buttons {
        display: flex;
        margin-bottom: 15px;
    }

    .filter-wrapper {
        display: block;
    }
    
    .tasks-page .filter-wrapper {
        margin-bottom: 20px;
    }

    .filter-count {
        display: block;
        margin-left: 0;
        font-size: 12.5px;
    }

    .view-button {
        display: none;
    }

    .all-filter-reset {
        font-size: 18px;
        padding: 0 15px;
    }

    .filter-buttons {
        display: flex;
        overflow-x: auto;
        padding: 0 10px 0 0;
        margin-bottom: 15px;
    }

    .filter-button {
        flex-shrink: 0;
        padding: 0;
        height: 60px;
        width: 70px;
        background: #faf8f8;
    }

    .filter-button i {
        font-size: 17px;
    }

    .search-view-control {
        display: block;
        width: 100%;
    }

    .filter-text.pc {
        display: none;
    }

    .filter-text.mobile {
        display: flex;
    }

    .filter-text {
        padding: 0 10px 0 0;
    }

    .filter-text input {
        width: 100%;
        height: 35px;
    }

    .reset-search-input {
        right: 15px;
    }

    .tasks-page .reset-search-input {
        right: 15px;
    }

    .tasks-hit-count {
        margin: 0 10px;
    }

    .device-filter {
        margin-right: 0;
    }

    .search-view-control {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    .filter-text {
        display: flex;
        align-items: center;
        flex: 1;
    }

    .filter-text input {
        flex: 1;
        height: 40px;
    }

    .view-order-button {
        font-size: 20px;
        color: #0f0f0f;
        margin-right: 10px;
        margin-left: 0;
        padding: 0;
        height: 40px;
        width: 50px;
        border-radius: 3px;
        filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.03));
    }

    .tasks-page .view-order-button {
        margin-right: 0;        
    }

    .comment-table {
        width: 100%;
        border-top-left-radius: 0px !important;
        border-top-right-radius: 0px !important;
    }

    .comment-table tr.comment-table-head {
        display: none;
    }

    .comment-table tr {
        margin-bottom: 20px;
    }

    .comment-table td {
        display: block;
        width: 100%;
        border: none;
        padding: 0;
        font-size: 14px;
        max-height: none;
        background: #fff!important;
    }
    
    .tasks-page .comment-table td {
        border: none;
    }

    .comment-table td.number {
        background-color: #fff!important;
        border: none;
        padding: 0 0 15px;
        font-size: 16px;
        border-top-left-radius: 0px !important;
        border-top-right-radius: 0px !important;
    }

    .comment-table .comment-number-container-upper {
        background: var(--background-color);
        height: 20px;
    }

    .comment-table .comment-number-container {
        color: #fff;
        background: #585858;
        width: 20%;
        padding: 3px;
        display: block;
        margin: 0 auto;
        border-radius: 27px;
        margin-top: -15px;
    }

    .comment-table td.number a {
        color: #fff;
    }

    .comment-table td.image {
        text-align: center;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .comment-table .image-wrapper {
        text-align: center;
        max-height: none;
        padding: 15px 0 0px;
    }

    .comment-table .image-wrapper img {
        height: auto;
        max-height: 600px;
        max-width: 90%;
        border-radius: 5px;
        background: #fff;
        background-image: url(../images/canvas-bg.png);
        background-repeat: repeat;
    }

    .comment-table .star-button {
        top: 32px;
        right: 15px;
    }

    .comment-table .detail a.open-link-button {
        top: 34px;
        right: 40px;    
    }

    .comment-table td.text {
        font-size: 16px;
        padding: 10px;
        box-sizing: border-box;
        max-width: 100%;
        word-break: break-all;
    }

    .comment-table.content-view td.text {
        padding: 0 10px 10px;
    }

    .comment-table .uploaded-file-link {
        margin: 0 0 10px;
        padding: 8px 15px;
        border: 1px solid gainsboro;
        background: transparent;
    }

    .comment-table td.text .text-wrapper {
        display: block;
        padding: 15px;
        overflow: hidden;
        border-radius: 3px;
        white-space: pre-wrap;
        background: #d2d0d0;
        background: #f4f2f2;
        display: block !important;
        overflow: visible !important;
        text-overflow: initial !important;
        max-height: none !important;
    }

    .comment-table td.detail {
        font-size: 15.5px;
        word-break: break-word;
        max-width: none;
        padding: 10px 10px 20px;
        text-align: center;
        box-sizing: border-box;
    }

    .comment-table ul.detail-list li {
        display: inline-block;
        margin-right: 50px;
    }

    .comment-table td.detail a.url {
        font-size: 16px;
    }

    /* Show the spacer and set its width when in vertical table view */
    .comment-table td.spacer {
        display: block;
        width: 100%;
        height: 30px;
        background-color: var(--background-color)!important;
    }

    .comment-table .updated-row td.number,
    .comment-table .updated-row td.image,
    .comment-table .updated-row td.text,
    .comment-table .updated-row td.detail {
        background-color: #f0f7ff;
        transition: none;
    }

    .comment-table .deleted-row td.number,
    .comment-table .deleted-row td.image,
    .comment-table .deleted-row td.text,
    .comment-table .deleted-row td.detail {
        background-color: #e1d9d9;
        transition: none;
    }

    .comment-table.no-results {
        display: none;
    }

    .not-found {
        padding: 20px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 480px) {
    
    .header .logo {
        margin-top: 5px;
        margin-left: 5px;
        margin-right: 15px;
    }
    
    .header select.project-list {
        height: 34px;
    }
    
    .header form#page-target-form {
        order: 0;
        flex: 1;
    }
    
    .header-menu {
        display: none;
        order: 1;
    }
    
    .header-menu-item.reivew, .header-menu-item.projects, .header-menu-item.tasks, .header-menu-item.user {
        display: none;
    } 
    
    .mobile-menu-icon {
        order: 2;
    }
    
    .header-menu-item.mentions {
        display: block!important;
    }

    .header-menu-item.mentions .nav-text {
        display: none;
    }
    
    .mention-count-popup {
        top: 50px;
        right: 10px;
    }
    
    .mention-tag {
        background-color: #dddddd;
    }
    
    .mention-tag.to-you {
        background-color: #f8e179;
    }
    
    .mention-popup {
        left: 8%!important;
    }
    
    .mention-option {
        overflow-y: hidden;
    }
    
    .mention-option .email {
        word-break: break-all;
    }

    .content-wrapper.tasks-page {
        padding-top: 0px;
    }

    .tasks-page input#review-page-url, .tasks-page .filter-text input {
        height: 34px;
    }
    
    .view-button, .view-order-button {
        height: 34px;        
    }
    
    .url-input-wrapper-in-tasks .page-url-icon, .text-search-icon {
        top: 0.3em;
    }

    .tasks-page .filter-wrapper {
        padding: 0;
        margin-bottom: 0;
        gap: 0;
    }
    
    .tasks-page .text-based-filter {
        margin-bottom: 0;
    }
    
    .filter-wrapper {
        padding: 0 10px;
    }

    .reset-page-url, .tasks-page .reset-search-input {
        top: 0.4em;
    }

    .filter-buttons {
        display: flex;
        overflow-x: auto;
        padding: 0 10px 0 0;
        margin-bottom: 15px;
        height: 48px;
    }

    .filter-button {
        flex-shrink: 0;
        padding: 0;
        height: 45px;
        line-height: 15px;
        width: 20%;
        background: #faf8f8;
    }

    .filter-button i {
        font-size: 17px;
    }
    
    .filter-count {
        font-size: 12px;
    }

    .tasks-page .comment-table td.number {
        padding: 0;
    }
}

/* Projects page */

body.projects, body.dashboard, body.user {
    overflow-y: auto;
/*    background-color: #e3eaef;*/
}

.content-wrapper.projects-page {
    width: 1150px;
    height: auto;
    margin: 15px auto 30px;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.project-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    min-height: 500px;
    background-color: #fff;
    border-radius: 5px;
    position: relative;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.03));
}

/* left side menu */
.project-menu {
    width: 250px;
    padding: 20px;
    background-color: #f0f0f0;
    border-right: 1px solid #ddd;
}

.sidebar {
    width: 240px;
    background-color: #fff;
    margin: 1.2em 0;
    padding: 0 1em;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    letter-spacing: -0.2px;
    border-right: 1px solid gainsboro;
}

.sidebar-header {
    font-weight: bold;
    margin-bottom: 1em;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin-left: var(--fa-li-margin, 1.8em);
}

.sidebar-menu li {
    font-size: 1em;
    margin: 0.5em 0;
    padding: 0;
    border-radius: 4px;
}

.sidebar-menu li.active {
    /*  background-color: #e9e9e9;*/
}

.sidebar-menu li.menu-item i,
.sidebar-menu li.submenu-item i {
    margin-right: 5px;
}

.sidebar-menu a {
    color: #333;
    text-decoration: none;
}

.sidebar-menu a:hover {
    color: #4285F4;
}

.sidebar-menu a.active {
    color: #0f0f0f;
}

.sidebar-menu li.active a {
    color: #4285F4;
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: 0em;
}

.project-content {
    flex: 1;
    padding: 1.5em 1.5em 2.5em;
}

.notice-block {
    background: whitesmoke;
    padding: 10px 15px;
    border-radius: 5px;
}

.notice-block .notice i {
    color: #0f0f0f;
}

.notice-block .notice {
    color: #4c4949;
}

.alert-block {
    background: #ffeeee;
    padding: 10px 15px;
    color: #c90000;
    border-radius: 5px;
    font-size: 15px;
}

.project-content .important,
.project-content .notice,
.project-content .error,
.project-content .message {
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: 0px;
}

.project-content .message {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #eee;
    color: #444;
}

/* Plan status block: one message = no extra bottom gap; multiple = space from 2nd item downward */
.project-content .project-status-messages .message {
    margin-bottom: 0;
    margin-top: 0;
}

.project-content .project-status-messages .message + .message {
    margin-top: 10px;
}

.project-content .project-status-messages > a.button {
    margin-top: 15px;
}

/* 無料枠の残り案内は補足扱い（メイン行よりやや小さめ。色は本文と同じ） */
.project-content .project-status-messages .project-status-free-slot-hint {
    font-size: 12px;
    color: inherit;
    font-weight: normal;
    margin-left: 6px;
}

/* 有料プラン招待の説明はお知らせ欄の通常サイズ。括弧内プラン名は .small で一段小さく */
.project-content .project-status-messages .project-status-paid-plan-note {
    color: #475569;
    line-height: 1.55;
}

.project-content .important,
.project-content .error {
    color: #d62626;
}

.breadcrums {
    margin-bottom: 30px;
    display: none;
}

.breadcrums i {
    margin: 0 5px;
}

.page-item-wrapper {
    margin-bottom: 20px;
}

.project-item,
.page-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 10px 0;
    min-height: 28px;
}

.project-item .project-name {
    max-width: 500px;
    color: #333;
}

.project-item .project-name i {
    color: #363636;
}

.project-item .project-name i.no-valid-owner {
    color: #e41313;
}

.project-item .project-name:hover {
    color: #4285F4;
}

.project-item .ip-restricted {
    font-size: 0.85em;
    padding: 0;
    border-radius: 100%;
    margin-left: 3px;
    display: inline-block;
    height: 22px;
    text-align: center;
    line-height: 22px;
}

.project-content .project-label {
    font-size: 12px;
    font-weight: normal;
    background: #f3f3f3;
    padding: 2px 7px;
    border-radius: 3px;
    display: inline-block;
    text-align: center;
}

.project-content .project-label.premium {
    color: #ab0707;    
}

.project-content .project-label.archived {
    color: #767676;    
}

.project-item .ip-restricted i {
    color: #ab0707;
}

.project-content .project-label i {
    font-size: 12.5px;
}

.project-item:nth-of-type(odd),
.page-item:nth-of-type(odd),
.member-item:nth-of-type(odd) {
    background-color: #f2f4f7;
    border-radius: 3px;
}

.project-item.active,
.page-item.active,
.member-item.active,
.member-item.active {
    background-color: #d7e6f4;
}

.project-item.hover i,
.page-item.hover i {
    /*    background-color: #424242;*/
}

.default-info.active {
    display: none;
}

.control-buttons {
    display: none;
    color: #fff;
}

.control-buttons.active {
    display: inline-flex;
}

.control-buttons button {
    color: #424242;
    margin-right: 6px;
    margin-left: 6px;
    font-size: 18px;
    line-height: 18px;
}

.control-buttons .copy-link-button {
    font-size: 16px;
}

.control-buttons button:hover {
    color: #4285F4;
}

.control-buttons button.trash-project-button:hover,
.control-buttons button.trash-page-button:hover {
    color: #f44242;
}

.page-url {
  display: flex;
  align-items: center;
  font-size: 15.5px;
  line-height: 1.2em;
  cursor: pointer;
  /* max-width: 490px; */
  color: #333;
  word-break: break-all!important;
}

.page-url:hover {
  overflow: visible;
  white-space: normal;
}

.page-url span {
    color: #333;
}

.page-url:hover {
    color: #4285F4;
}

.project-detail,
.page-detail {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    color: #757474;
    justify-content: flex-end;
    /* min-width: 260px; */
}

.comment-count,
.comment-attention {
    margin-right: 3px;
    min-width: 40px;
    display: none;
}

.progress-rate {
    margin-right: 3px;
    min-width: 60px;
    display: none;
}

.comment-count i,
.progress-rate i,
.comment-attention i {
    margin-right: 3px;
}

.last-updated,
.comment-updated {
    display: inline-block;
}

.project-member-list {
    margin-bottom: 20px;
}

.member-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    min-height: 32px;
    border-radius: 3px;
}

.member-item i {
    margin-right: 8px;
}

.member-item .contact-info {
    display: flex;
    align-items: center;
    max-width: 600px;
}

.member-item .picture {
    display: flex;
    align-items: center;
    margin-right: 8px;
}

.member-item .picture img {
    border-radius: 100%;
    height: 30px;
}

.member-item .name {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.member-item .email {
    display: flex;
    align-items: center;
    margin-right: 10px;
    font-size: 0.9em;
    color: #4285F4;
}

.member-detail {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    color: #757474;
    justify-content: flex-end;
    min-width: 200px;
}

.member-detail .default-info {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.member-permission-trigger {
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    padding: 2px 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.member-permission-trigger:hover {
    background-color: #f0f7ff;
}

.member-permission-label {
    color: #666;
    padding: 2px 5px;
}

.control-buttons.compact {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 30px;
    position: relative;
}

.permission-select {
    height: 40px;
    padding: 0 0.5em;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 15px;
    background-color: #fff;
    margin-right: 5px;
    outline: none;
}

.permission-select:focus {
    border: 1px solid #4285f4 !important;
    outline: none;
}

.permission-help-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    margin-left: auto;
    white-space: nowrap;
}

.permission-help-link:hover {
    color: #4285f4;
}

.permission-help-link i {
    font-size: 16px;
}

.project-member-label-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 0.5em;
}

.project-member-label-row > label {
    margin-bottom: 0;
}

.project-settings-inline-help {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
}

/* プロジェクト設定: メンバー権限モーダル／契約プラン比較モーダル（表・見出し・注記の文字サイズを 14.5px に統一） */
.modal-container.plan-comparison-modal-inner {
    width: min(1100px, 96vw);
    max-width: 1100px;
    max-height: min(92vh, 900px);
    overflow-y: auto;
    padding: 30px 34px 28px;
    position: relative;
}

.modal-container.permission-comparison h2,
.plan-comparison-modal-inner h2 {
    margin-top: 0;
    font-size: 14.5px;
    font-weight: bold;
    padding-right: 40px;
}

#plan-comparison-modal .plan-comparison-intro {
    font-size: 14.5px;
    color: #555;
    line-height: 1.55;
    margin: 0 0 18px;
}

.plan-comparison-table-wrapper {
    overflow-x: auto;
}

#plan-comparison-modal .plan-comparison-table td:not(:first-child) {
    min-width: 7.5em;
}

#plan-comparison-modal .plan-comparison-cell-note {
    font-size: 11px;
    color: #555;
}

#plan-comparison-modal .plan-comparison-cell-note.plan-comparison-cell-note--gap {
    margin-left: 0.3em;
}

#plan-comparison-modal .plan-comparison-footer-note {
    font-size: 14.5px;
    color: #666;
    margin: 18px 0 0;
    line-height: 1.5;
}

/* 新規プロジェクト: タイプ・モード説明モーダル（コンパクト・スクロールなし想定） */
.project-type-mode-modal.modal-info {
    overflow: visible;
}

.modal-container.project-type-mode-modal-inner {
    width: min(520px, 94vw);
    max-width: 520px;
    max-height: none;
    overflow: visible;
    padding: 22px 28px 26px;
    margin: 90px auto 40px;
}

.project-type-mode-modal-inner h2 {
    margin-top: 0;
    font-size: 18px;
    font-weight: bold;
    padding-right: 40px;
    margin-bottom: 12px;
}

.project-type-mode-modal-inner .project-type-mode-modal-intro {
    font-size: 14.5px;
    color: #333;
    margin: 0 0 16px;
    line-height: 1.5;
}

.project-type-mode-modal-inner .project-type-mode-modal-note {
    font-size: 12px;
    color: #64748b;
    margin: 8px 0 0;
    line-height: 1.45;
    text-align: right;
}

.project-type-mode-modal-inner .project-type-mode-section-title {
    font-size: 14.5px;
    font-weight: bold;
    margin: 20px 0 8px;
}

.project-type-mode-modal-inner .project-type-mode-section-title--mode {
    margin-top: 28px;
}

.project-type-mode-modal-inner h2 + .project-type-mode-modal-intro + .project-type-mode-section-title {
    margin-top: 0;
}

.project-type-mode-modal-inner .project-type-mode-help-table {
    margin: 0;
    font-size: 14px;
}

.project-type-mode-modal-inner .project-type-mode-help-table th,
.project-type-mode-modal-inner .project-type-mode-help-table td {
    padding: 6px 10px;
    text-align: left;
}

.project-type-mode-modal-inner .project-type-mode-help-table td:first-child {
    font-weight: 500;
}

.project-type-mode-modal-inner .project-type-mode-help-table td:last-child {
    font-weight: normal;
}

.form-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.permission-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14.5px;
}

.permission-comparison-table th,
.permission-comparison-table td {
    border: 1px solid #ddd;
    padding: 8px 15px;
    text-align: center;
}

.permission-comparison-table th {
    background-color: #f5f5f5;
    font-weight: bold;
    font-size: 14.5px;
}

.permission-comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    font-size: 14.5px;
}

.permission-comparison-table tbody tr:hover {
    background-color: #f9f9f9;
}

#permission-modal .permission-table-wrapper {
    max-height: none;
    overflow-y: visible;
}

.permission-modal-table-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 16px;
    gap: 12px;
    flex-wrap: wrap;
}

.permission-modal-table-foot__note {
    font-size: 14.5px;
    color: #666;
    margin: 0;
    text-align: left;
    flex: 1;
    line-height: 1.45;
}

.permission-modal-table-foot__legend {
    font-size: 14.5px;
    color: #333;
    margin: 0;
    text-align: right;
    white-space: nowrap;
}

.modal-container.permission-comparison {
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
}

.permission-table-wrapper {
    overflow-x: auto;
    max-height: calc(85vh - 150px);
    overflow-y: auto;
}

.modal-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-close-button:hover {
    background-color: #f0f0f0;
    color: #333;
}

.owner-error {
    font-size: 13px;
    color: #e41313;
}

.highlight-marker {
    background: linear-gradient(transparent 60%, rgba(255, 255, 0, 0.4) 60%);
    padding: 0 2px;
}

.member-label {
    padding: 1px 10px;
    border-radius: 15px;
    margin: 0 5px 0;
    box-sizing: border-box;
    font-size: 0.87em;
    text-align: center;
    border: 1px solid #d9dce0;
}

.member-label.premium, .member-label.pro {
    background: #dfe4ed;
}

.member-label.trial, .member-label.free, .member-label.analyst {
    background: #fff;
    color: #5f6773;
}

.member-analysis-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid #dbeafe;
    background: #f0f7ff;
    color: #0369a1;
    cursor: help;
    flex-shrink: 0;
}

.member-analysis-option i {
    margin-right: 0;
    font-size: 12px;
}

.project-content h1 {
    margin: 0 0 30px;
    font-size: 22px;
    letter-spacing: 0.5px;
    max-width: 700px;
}

.project-content h2 {
    margin-bottom: 18px;
    font-size: 18px;
    /*    color: #4285F4;*/
}

.project-content h3 {
    font-weight: bold;
    margin-bottom: 0.5em;
    font-size: 15px;
}

.projects-dashboard,
.projects-settings,
.settings-content,
.pages-content {
    margin: 0 0 35px;
}

.project-content .content-block {
    margin-bottom: 1.5em;
}

.project-content label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5em;
    font-size: 15px;
}

html[lang="en"] .project-content label {
    font-size: 16px;    
}

.project-content input[type="text"] {
    height: 40px;
    padding: 0 0.5em 0 0.5em;
    border: 1px solid #ccc;
    font-size: 15px;
    margin-right: 5px;
    border-radius: 3px;
    box-sizing: border-box;
}

input[type="date"].completion-date {
    background-color: transparent;
    border: 1px solid #ccc;
    margin-right: 5px;
    width: 230px;
}

.project-content input.ip-name {
    width: 230px;
}

.project-content input.project-name {
    width: 300px;
}

.project-content select.project-type {
    height: 40px;
    padding: 0 1em 0 0.5em;
    border: 1px solid #ccc;
    margin-right: 5px;
    border-radius: 3px;
    font-size: 15px;
}

.project-content input.domain-name,
.project-content input.new-member-email {
    width: 300px;
}

.project-content input.domain-name::placeholder,
.project-content input.project-name::placeholder,
.project-content input.new-member-email::placeholder {
    font-size: 0.9em;
}

.domain-list-table-wrapper,
ip-list-table-wrapper {
    margin-bottom: 30px;
}

.domain-list-table,
.ip-list-table {
    border: none;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.domain-list-table th,
.domain-list-table td,
.ip-list-table th,
.ip-list-table td {
    font-size: 15px;
    padding: 5px 22px 5px 5px;
    text-align: left;
    border: none;
}

.domain-list-table th,
.ip-list-table th {
    border-bottom: 1px solid gray;
}

.domain-list-table th:last-child,
.domain-list-table td:last-child,
.ip-list-table th:last-child,
.ip-list-table td:last-child {
    padding-right: 8px;
}

.domain-list-table td,
.ip-list-table td {
    font-size: 15.5px;
}

.domain-item:nth-of-type(odd),
.ip-item:nth-of-type(odd) {
    background-color: #f3f3f3;
    border-radius: 3px;
}

.trash-domain-button i {
    color: #a7a4a4;
}

.new-project-input,
.new-page-input {
    margin-bottom: 30px;
}

.pages-content .new-page-input {
/*    display: none;*/
}

.no-extension-activated {
    display: none;
    padding: 10px;
    border-radius: 3px;
}

.review-page .no-extension-activated {
    background: #fff;    
    padding: 0 0 10px;
}

.project-content input.add-new-page,
.project-content input.add-new-project-input {
    width: 50%;
}

.project-content button[type="submit"] {
    background-color: #363636;
    color: #fff;
    border-radius: 4px;
    padding: 0 15px;
    margin-top: 0;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.project-content button[type="submit"]:active,
.project-content button[type="submit"]:hover,
.project-content button[type="submit"]:focus {
    background-color: #F4A237;
}

.valid-domains-script {
    font-family: Consolas, monospace;
    font-size: 14px;
    line-height: 1.5;
    padding: 10px 15px;
    border-radius: 3px;
    border: 1px solid #ccc;
    background-color: #f8f8f8;
    color: #4285F4;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.project-content p {
    color: #080808;
}

button[type="submit"].trash-member-button {
    background-color: transparent;
    color: #424242;
    font-size: 16px;
    margin: 0 5px 0 15px;
    padding: 0;
    font-size: 16px;
    line-height: 16px;
}

button[type="submit"].trash-member-button.himself {
    color: #c7c7c7;
}

button[type="submit"].trash-member-button:hover {
    color: #f44242;
    background-color: transparent;
}

button[type="submit"].trash-member-button.himself:hover {
    color: #c7c7c7;
    background-color: transparent;
}

.project-content button.toggle-archive-button, .project-content button.toggle-settings-button, .project-content .open-review-page-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    background-color: rgb(256, 256, 256, 0.8);
    color: #0f0f0f;
    border-radius: 25px;
    padding: 0 15px;
    margin-top: 10px;
    height: 32px;
    line-height: 32px;
    font-size: 14.5px;
}

.project-content button.toggle-archive-button:hover, .project-content button.toggle-settings-button:hover, .project-content .open-review-page-btn:hover {
    background-color: #f3f3f3;
}

.project-content button.toggle-archive-button:focus, .project-content button.toggle-settings-button:focus, .project-content .open-review-page-btn:focus {
    background-color: transparent;
}

.project-content button.toggle-archive-button i {
    margin-right: 3px;
}

@media screen and (min-width:768px) and (max-width:1025px) {

    .sidebar {
        display: none;
    }

    .content-wrapper.projects-page,
    .project-content,
    .project-container {
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        box-sizing: border-box;        
    }

    .content-wrapper.projects-page {
        margin: 0 auto 2em;
    }

    .project-content {
        padding: 1.5em 1.5em 0em;
    }

    .project-content h1 {
        margin: 0 0 15px;
        width: 100%;
        max-width: 100%;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    
    .new-page-input label {
        margin-bottom: 10px;
    }

    .url-input-wrapper.projects-page {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        position: relative;
        width: 100%;
        margin-right: 0;
    }
    
    .project-content button[type="submit"] {
        margin-top: 0;
    }

    .project-content button.toggle-archive-button, .project-content button.toggle-settings-button {
        top: 20px;
    }

    .project-item, .page-item, .member-item {
        min-height: 40px;
    }

    .control-buttons button {
        margin-right: 12px;
        margin-left: 12px;
    }

    .project-member-list {
        width: 100%;
    }

    .project-item .project-name {
        max-width: 400px;
    }
    
    .valid-domain-script {
        overflow: scroll;
    }
}

@media screen and (max-width: 767px) {

    .sidebar {
        display: none;
    }

    .content-wrapper.projects-page,
    .project-content,
    .project-container {
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        box-sizing: border-box;        
    }

    .content-wrapper.projects-page {
        margin: 0 auto 2em;
    }

    .project-content {
        padding: 1.5em 1.5em 0em;
    }

    .project-content h1 {
        margin: 0 0 15px;
        width: 100%;
        max-width: 100%;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    
    .new-page-input label {
        margin-bottom: 10px;
    }

    .url-input-wrapper.projects-page {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        position: relative;
        width: 100%;
        margin-right: 0;
    }

    .content-block {
        display: flex;
        margin-bottom: 1.5em;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .form-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

@media screen and (max-width: 768px) {
    .new-project-input .form-wrapper {
        display: block;
    }
    .new-project-heading-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .new-project-heading-row .permission-help-link {
        align-self: flex-end;
    }
    .new-project-input .project-name-input-container {
        flex-direction: column;
        align-items: stretch;
    }
    .new-project-input .project-name,
    .new-project-input .project-type,
    .new-project-input button[type="submit"] {
        width: 100%;
        margin-bottom: 10px;
    }
    .new-project-input .project-mode-wrap.project-mode-wrap--visible {
        width: 100%;
    }
}

 
    .member-item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        position: relative;
    }

    .contact-info {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .member-item .member-item .picture {
        margin-right: 10px;
    }

    .member-item .email {
        display: block;
        width: 100%;
    }

    .member-detail {
        margin-top: 10px;
        min-width: auto;
    }

    .default-info {
        display: flex;
        align-items: center;
        margin-bottom: 0;
    }

    .member-item .default-info.active {
        display: flex;
    }

    .default-info i {
        margin-right: 5px;
    }

    .member-item .control-buttons {
        position: absolute;
        bottom: 10px;
        right: 10px;
        margin: 0;
        padding: 0;
    }

    .member-item .control-buttons button {
        font-size: 21px;
        line-height: 21px;
        margin-right: 12px;
        margin-left: 12px;
        padding: 0;
    }

    .member-item button.trash-member-button {
        font-size: 21px;
        line-height: 21px;
        margin-right: 12px;
        margin-left: 18px;
    }

    .projects-page .new-project-input button[type="submit"] {
       flex-shrink: 0;
    }

    .project-content button[type="submit"] {
        margin-top: 0;
/*        flex-shrink: 0;*/
    }

    .project-content button.toggle-archive-button, .project-content button.toggle-settings-button {
        position: static;
        margin: 0 0 25px;
        padding: 0px;
        width: 100%;
        padding: 0px;
        background: #758db5;
        border-radius: 3px;
        color: #fff;
        font-size: 13.5px;
    }

    .project-content button.toggle-archive-button:hover, .project-content button.toggle-settings-button:hover {
        background: #758db5;
    }

    .project-item,
    .page-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 13px;
    }

    ul.project-name-item {
        margin-left: 25px;
        margin-bottom: 10px;
    }

    .project-item,
    .page-item ul {
        margin-left: 0;
    }

    .project-item span.last-updated,
    .page-item li span {
        display: none;
    }

    .page-url {
        padding: 0 0 10px;
    }

    .page-url li {
        word-break: break-all;
    }

    .page-url:hover,
    .page-url:active {
        color: #333;
    }

    .project-item,
    .page-item,
    .member-item {
        background-color: #f2f4f7;
        border-radius: 3px;
        margin-bottom: 10px;
    }

    .project-item:hover,
    .page-item:hover,
    .member-item:hover {
        background-color: #d7e6f4;
    }

    .project-detail,
    .page-detail {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

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

    .project-item .control-buttons,
    .page-item .control-buttons {
        margin: 10px 0 5px;
    }

    .project-item .control-buttons button,
    .page-item .control-buttons button {
        font-size: 21px;
        margin-right: 15px;
        margin-left: 15px;
    }

    .comment-count,
    .comment-attention,
    .progress-rate {
        margin-right: 5px;
        /* adjust the margin as per your preference */
        min-width: 50px;
    }

    .comment-updated {
        display: none;
    }

    .valid-domain-script {
        overflow: scroll;
    }
}

/* User page */

.content-wrapper.user-info-page {
    min-height: calc(100vh - 135px);
}

.modal-container.welcome {
    width: 800px;
    padding-bottom: 40px;
    border-radius: 8px;
    animation-name: fadeUpAnimation;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.modal-welcome h1 {
    font-size: 28px;
}

.modal-welcome .logo {
    width: 130px;
    display: block;
    margin: 0 auto;
}

.modal-welcome .message {
    font-size: 17px;
    margin-bottom: 15px;
    line-height: 1.5em;
}

.modal-welcome .button {
    font-size: 15.5px;
    height: 44px;
    margin-bottom: 0;
}

.modal-welcome .confirm {
    margin-right: 10px;
}

.modal-welcome .help {
    background-color: #ebe9e9;
    color: #0f0f0f;
}

.user-info {
    position: relative;
    max-width: 800px;
    margin: 30px auto;
    font-size: 1em;
    word-wrap: break-word;
    background: #fff;
    padding: 30px 50px;
    border-radius: 5px;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.03));
    animation-name: fadeUpAnimation;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.logout-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    font-size: 19px;
    border-radius: 5px;
    z-index: 999;
    background: transparent;
    color: #959595;
}

.logout-button:hover {
    background: #f3f3f3;
}

.user-info .plan {
    margin-bottom: 15px;
}

.user-info .no-projects-notice {
    background: #e0ecf7;
    padding: 20px;
    margin: 0 0 30px;
    border-radius: 4px;
}

.user-info .profile {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.user-info .profile img {
    border-radius: 100%;
    width: 50px;
    margin-right: 5px;
}

.user-info .current-user-name:hover {
    cursor: pointer;
}

.user-info .current-user-name:hover .edit-user-name-button {
    color: #F4A237;
}

.user-info .edit-user-name-button {
    margin-left: 7px;
    padding-top: 5px;
    color: #abaaaa;
    font-size: 12.5px;
}

.user-info .edit-user-name-button:hover {
}

.user-info .form-user-name {
        display: none;
/*        flex-wrap: wrap;*/
/*        justify-content: space-between;*/
        align-items: center;
}

.user-info input.user-name {
    border: 1px solid #c6c6c6;
    font-size: 1em;
    /* display: none; */
    border-radius: 3px;
    padding: 0px 5px;
    margin-right: 5px;
    height: 30px;
}

.user-info button.update-user-name {
    background-color: #363636;
    color: #fff;
    border: 1px solid #c6c6c6;
    font-size: 12.5px;
    border-radius: 3px;
    padding: 0px 12px;
    height: 30px;    
}

.user-info button.update-user-name:hover {
    background-color: #F4A237;
}

.user-info .message-wrapper,
.modal-info .message-wrapper {
    margin: 0 0 30px;
}

.user-info .message-alert,
.modal-info .message-alert {
    background: #f7e7d2;
    padding: 12px 15px;
    border-radius: 3px;
    margin-bottom: 15px;
}

.user-info .message {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 18px;
    background: #f8f9fa;
    padding: 0;
    border-radius: 5px;
    color: #444;
}

.user-info .no-projects-notice .message {
    padding: 15px;
}

.user-info .message-wrapper .message {
    margin: 0;
}

.underline {
    border-bottom: 1px solid #d0cece;
    padding-bottom: 5px;
}

.user-info-table {
    border-collapse: collapse;
    margin-bottom: 15px;
}

.user-info-table th, .user-info-table td {
    text-align: left;
    border: 1px solid gray;
    padding: 8px 35px 8px 10px;
    border-radius: 3px;
}

.user-info-table th {
    font-size: 14.5px;
}

.user-info-table td {
    font-size: 15.5px;
    min-width: 300px;
}

.user-info-page .note {
    font-size: 13px;
}

.user-info-form {
    margin-right: 8px;
    display: inline-block;
}

.user-plan-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.user-plan-actions .user-info-form {
    margin-right: 0;
    margin-bottom: 0;
}

.user-plan-actions .user-billing-portal-form {
    margin-left: auto;
}

.user-info-page .button.cancel,
.user-info-page .button.delete {
    background-color: #ebe9e9;
    color: #0f0f0f;
}

.user-info-page .button.cancel:hover {
    background-color: #F4A237;
    color: #fff;
}

.user-info-page .button.caution, .user-info-page .button.delete:hover {
    background-color: #f44242;
    color: #fff;
}

/* Extension Promo Block */
.extension-promo {
    position: relative;
    max-width: 800px;
    margin: 30px auto 0;
    padding: 40px 50px;
    background: #fff;
    border-radius: 5px;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.03));
    text-align: center;
    animation-name: fadeUpAnimation;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.extension-promo .promo-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 35px;
    color: #333;
}

.extension-promo .promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.extension-promo .promo-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.extension-promo .promo-text h4 {
    margin-top: 0;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #3F78E0;
    text-align: center;
}

.extension-promo .promo-text p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
}

.extension-promo .promo-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.extension-promo .promo-action .button {
    background-color: #3F78E0;
    color: #fff;
    padding: 14px 50px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.extension-promo .promo-action .button:hover {
    background-color: #2a59b6;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(63, 120, 224, 0.3);
}

@media (max-width: 767px) {
    .extension-promo .promo-grid {
        grid-template-columns: 1fr;
    }
}

#loading-icon {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    text-align: center;
}

#loading-icon img {
    height: 70px;
    width: 70px;
    margin-bottom: 5px;
}

#loading-icon i {
    font-size: 40px;
    color: #4285F4;
    display: block;
    margin-bottom: 5px;
}

.loading-text {
    font-size: 16px;
    color: #0f0f0f;
    display: block;
}

.red {
    color: #e41313 !important;
}

.gray {
    color: #626161 !important;
}

.modal-info {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    overflow: auto;
}

.modal-info.welcome {
    animation-duration: 1s;
}

.modal-info.modal-welcome {
}

.modal-info .button.cancel {
    background-color: #ebe9e9;
    color: #0f0f0f;
}

.modal-info .button.cancel.welcome {
    background-color: #363636;
    color: #fff;
}

.modal-container {
    background-color: #fff;
    padding: 30px;
    width: 650px;
    margin: 100px auto;
    border-radius: 5px;
    animation-name: fadeUpAnimation;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.modal-container li.project {
    font-size: 14.5px;
}

.modal-container li.project i {
    margin-right: 5px;
    color: #ddafb7;
}

.modal-info .modal-buttons {
    margin-top: 30px;
    text-align: center;
}

@media screen and (min-width:768px) and (max-width:1025px) {
    
    .content-wrapper.user-info-page {
        min-height: calc(100vh - 95px);
    }
    
    .user-info {
        padding: 20px 30px 10px;
        margin: 0px auto;
        border-top-left-radius: 0;
        border-top-right-radius: 0;  
    }
    
    .user-info-table td {
        min-width: auto;
    }
        
    .user-info-form {
        display: inline-block;
        margin-bottom: 15px;
    }

    .user-plan-actions .user-info-form {
        margin-bottom: 0;
    }
    
    .user-info-form button {
        padding: 0 30px;
        height: 50px;
    }

    .user-info-page .modal-buttons button {
        margin-bottom: 15px; 
        padding: 0 30px;
        height: 50px;        
    }
    
    .logout-button {
        top: 15px;
        right: 15px;
    }
    
    .user-info-page .modal-container {
        width: 96%;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 767px) {
    
    .content-wrapper.user-info-page {
        min-height: calc(100vh - 110px);
    }
    
    .user-info {
        padding: 20px 30px 10px;
        margin: 0px auto;
        border-top-left-radius: 0;
        border-top-right-radius: 0;  
    }
    
    .user-info-table th, .user-info-table td {
        padding: 8px 15px 8px 10px;
    }    

    .user-info-table td {
        min-width: auto;
    }

    .user-info-form {
        display: block;
        margin-bottom: 15px;
    }

    .user-plan-actions .user-info-form {
        display: block;
        margin-bottom: 0;
    }

    .user-info-form button, .user-info-page .modal-buttons button {
        width: 100%;
        height: 50px;
    }

    .user-plan-actions .user-info-form button {
        width: auto;
        max-width: 100%;
    }

    .modal-info.modal-welcome .modal-buttons {
        margin-top: 0;
    }

    .user-info-page .modal-buttons button {
        margin-bottom: 15px;        
    }

    .user-info-page .modal-buttons .button.cancel.welcome {
        margin-bottom: 0;        
    }

    .logout-button {
        top: 20px;
        right: 28px;
    }

    .user-info .message {
        padding-right: 20px;
    }
    
    .user-info-page .modal-container {
        width: 96%;
        box-sizing: border-box;
    }
}

/* Footer */
.footer {
    box-sizing: border-box;
    padding: 0 20px;
    width: 100%;
    height: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: gray;
}

.footer a {
    color: gray;
    margin-right: 5px;
}

@media screen and (min-width:1026px) {
    .copyright {
        display: none;
    }
}


@media screen and (min-width:768px) and (max-width:1025px) {
    .footer {
        height: 50px;
        text-align: center
    }
    
    .login {
        display: none
    }
}

@media screen and (max-width: 767px) {
    
    .footer {
        height: 50px;
        text-align: center
    }
    
    .link {
        width: 100%;        
    }

    .login, .copyright {
        display: none;
    }
}

/* 波紋のようなアニメーション */

/* HTML

<div class="inner">
  <span class="point -active"></span>
  <span class="point"></span>
</div>

*/

@keyframes pulseMotion {
    0% {
        transform: translate(-50%, -50%) scale(1, 1);
        background-color: rgba(170, 143, 123, 0.4)
    }

    100% {
        transform: translate(-50%, -50%) scale(6.5, 6.5);
        background-color: rgba(170, 143, 123, 0)
    }
}

.inner {
    display: flex;
    justify-content: center;
}

.point {
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
    margin: 0 20px;
    background-color: #F4A237;
    border-radius: 50%;
    transition: background-color cubic-bezier(0.215, 0.61, 0.355, 1) .4s;
    cursor: pointer;
}

.point.-active {
    background-color: #aa8f7b;
}

.point:focus {
    outline: none;
}

.point:after {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: opacity linear 0.4s;
    content: '';
}

.point.-active:after {
    animation: pulseMotion 1.4s linear infinite;
}

.scroll-top {
    left: 24px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    z-index: 999;
    display: flex;
    color: #9ba0a8;
    font-size: 24px;
    cursor: pointer;
    position: fixed;
    overflow: hidden;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    transition: all 0.2s linear;
    opacity: 0;
    user-select: none;
    pointer-events: none;
}

.scroll-top.active {
    opacity: 1;
    user-select: all;
    pointer-events: all;
}

.scroll-top:hover {
    transform: translateY(-3px);
}

div.embed-window-banner {
/*
    border-left: 1px solid #bdbdbd;
    border-top: 1px solid #bdbdbd;
    border-bottom: 1px solid #bdbdbd;
*/
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.1));
}

@media screen and (min-width:768px) and (max-width:1200px) {

    .scroll-top {
        left: 15px;
        bottom: 50px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    div.embed-window-banner {
        display: none!important;
    }
}

@media screen and (max-width: 767px) {

    .scroll-top {
        left: 15px;
        bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    /* Hide the help icon */
    div.embed-window-banner {
        border-left: 1px solid #bdbdbd;
        border-top: 1px solid #bdbdbd;
        border-bottom: 1px solid #bdbdbd;
/*        display: none!important;*/
    }

} /* @media screen and (max-width: 767px) */


/* End of file */
