@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);


p {
    margin-bottom: 0;
}

table tr th {
    font-size: 12px;
    font-family: "Noto Sans JP";
    color: #757575;
    font-weight: 700;
    letter-spacing: 0.2px;
    word-break: break-all;
    text-align: center;
}

table tr td {
    font-size: 14px;
    font-family: "Noto Sans JP";
    letter-spacing: 0.2px;
    color: #333;
    word-break: break-all;
}

.vertical-align-middle {
    vertical-align: middle;
}

.container {
    display: block;
    position: relative;
    padding-left: 28px;
    font-size: 16px;
    font-family: "Noto Sans JP";
    letter-spacing: 0.2px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.container input.hidden {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

    .container input.hidden {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 20.88px;
    height: 21px;
    border: 1px solid #C6C2C2;
    border-radius: 4px;
    background: #FFFFFF;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: var(--green10);
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: var(--green1);
    border: none;
}

.modal-header .close {
    padding: 0;
}

.modal-header.show-shadow {
    box-shadow: 0px 4px 13px rgba(168, 168, 168, 0.11);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 7px;
    top: 5px;
    width: 7px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.table td {
    vertical-align: middle;
}

/*globals*/
a,
a:focus,
a:hover {
    text-decoration: none;
}

html,
body {
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    --ck-z-default: 1071;
    --ck-z-panel: calc( var(--ck-z-default) + 999);
}

/* 
 * CKEditorのスタイルカスタマイズ
 */
.ck.ck-block-toolbar-button {
    transform: translateX( 8px );
}

.ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable) {
    box-shadow: none !important
}

.ck.ck-editor__editable_inline[dir=ltr] {
    overflow-wrap: break-word;
}

.ck.ck-editor__editable_inline > :first-child {
     margin-top: 0 !important;
}

/* 箇条書きリスト用 (main.cssで上書きされているため再設定) */
div.ck.ck-content ul {
    padding-inline-start: 40px;
}

/* 箇条書きリスト用 (main.cssで上書きされているため再設定) */
div.ck.ck-content ul li {
    list-style-type: disc;
}

/* 箇条書きリスト用 (main.cssで上書きされているため再設定) */
div.ck.ck-content li {
    margin-block-end: 16px;
    margin-bottom: 1rem;
}

/* CKEditorのロゴ削除 */
.ck-powered-by {
    display: none;
}
/* CKEditorのロゴ削除 */
.ck-powered-by-balloon{
    display: none;
}

input[type="checkbox"i] {
    width: 32.82px;
    height: 22px;
}

.dropdown-menu {
    padding: 0;
}

    .dropdown-menu .dropdown-item,
    .dropdown-menu .dropdown-item span {
        padding: 7.5px 16px !important;
        font-size: 14px;
        font-family: "Noto Sans JP";
    }

    .dropdown-menu .dropdown-header {
        height: 27px;
        padding: 2px 20px;
        font-size: 14px;
        font-family: "Noto Sans JP";
    }

    .dropdown-menu .dropdown-item {
        min-height: 32px;
    }

.dropdown-toggle {
    padding-left: 16px;
}



.modal-xl {
    max-width: 1300px;
    margin: 5px auto;
}

    .modal-xl .wrapper {
        margin: 0 auto;
    }

.form-control {
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0;
    font-size: 14px;
}

    .form-control.invalid {
        border-color: #EB5757 !important;
    }

    .form-control:focus {
        border-color: #2D7FF9 !important;
    }

.form-control-time {
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0;
    font-size: 14px;
    width: 65px;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    outline: none;
}

    .form-control-time.invalid {
        border-color: #EB5757 !important;
    }

    .form-control-time:focus {
        border-color: #2D7FF9 !important;
    }

hr {
    margin-top: 10px;
    margin-bottom: 10px;
    border-top: 1px solid #dee2e6;
}

.modal-lg {
    max-width: 1044px;
}

.modal-mid {
    /*max-width: 842px;*/
    max-width: 650px;
}

.table-hover tbody tr:hover {
    background-color: var(--green9);
    cursor: pointer;
}

.table th,
.table td {
    padding-left: 8px;
    padding-right: 8px;
}

.form-control::-webkit-input-placeholder {
    color: #A4A4A4;
    font-size: 14px;
    font-family: "Noto Sans JP";
    letter-spacing: 0.2px;
}

.shadow-none {
    box-shadow: none !important;
}

.modal-content {
    border-radius: 16px;
}

table tr:last-child td {
    border-bottom: 1px solid #dee2e6;
}

.modal-body table input[type=number] {
    width: 56px;
    height: 30px;
    border-radius: 4px;
    border-style: solid;
    -webkit-appearance: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}

.invalid-feedback {
    font-size: 12px;
    font-weight: 700;
}

.form-control.is-invalid {
    border-top: none;
    border-left: none;
    border-right: none;
    border-color: #EB5757;
}

    .form-control:focus,
    .form-control.is-invalid:focus {
        box-shadow: none;
    }

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

/* 
 * badges
 */
.badges {
    padding: 0px 5px 1px;
    font-size: 12px;
    font-weight: 700;
    min-width: 50px;
    text-align: center;
    letter-spacing: 0.4px;
    font-family: "Noto Sans JP";
    background-color: transparent;
    border-radius: 4px;
    line-height: initial;
    display: inline-block;
}

.small-badge {
    max-height: 20px;
}

.badge-green {
    color: var(--green1);
    border: 1px solid var(--green3);
}

.badge-lightgreen {
    color: var(--green3);
    border: 1px solid var(--green3);
}

.badge-tale {
    color: #3B9DBD;
    border: 1px solid #3B9DBD;
}

.badge-purple {
    color: #868CB7;
    border: 1px solid #868CB7;
}

.badge-limegreen {
    color: #A1AF2F;
    border: 1px solid #A1AF2F;
}

.badge-orange {
    color: #EA733B;
    border: 1px solid #EA733B;
}

.badge-blue {
    color: #3B9DBD;
    border: 1px solid #3B9DBD;
}

.badge-gray {
    color: #757575;
    border: 1px solid #757575;
}

.badge-lightgray {
    color: #D3D3D3;
    border: 1px solid #D3D3D3;
}

@media (min-width: 576px) {
    .modalless-dialog {
        max-width: none !important;
    }
}

.badge-light-blue {
    color: #86ADE9;
    border: 1px solid #86ADE9;
}

.badge-light-blue {
    color: #86ADE9;
    border: 1px solid #86ADE9;
}

.pagination .page-item a.page-link {
    width: 31px;
    height: 32px;
    line-height: normal;
    text-align: center;
    border: 1px solid #dee2e6;
}


.pagination .page-item a.navigation {
    width: 40px;
    height: 32px;
    line-height: 0;
    text-align: center;
    border: 1px solid #dee2e6;
}


.page-item.active .page-link {
    color: var(--green1);
    background-color: var(--green9);
    border: 1px solid var(--gray3);
    font-weight: bold;
}

.page-link:hover {
    background-color: var(--green10);
    border: 1px solid #dee2e6;
}

select.form-control:not([size]):not([multiple]) {
    height: auto;
}

.select-hidden {
    display: none;
    visibility: hidden;
    padding-right: 10px;
}

.select {
    cursor: pointer;
    position: relative;
    font-size: 14px;
    font-family: "Noto Sans JP";
    color: #fff;
    height: 40px;
}

.select-styled {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: transparent;
    padding: 8px 15px;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    color: #333;
    border-bottom: 1px solid #dee2e6;
}

    .select-styled:after {
        content: " ";
        background: url(images/arrow.svg) no-repeat;
        width: 20px;
        height: 20px;
        width: 0;
        height: 0;
        border: 10px solid transparent;
        border-color: #fff transparent transparent transparent;
        position: absolute;
        top: 9px;
        right: 19px;
    }

    .select-styled:active, .select-styled.active {
        background-color: var(--white);
    }

.select-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 999;
    margin: 0;
    padding: 6px 0 !important;
    list-style: none;
    color: var(--black);
    background-color: var(--white);
    box-shadow: 0px 3px 6px -4px rgba(0, 0, 0, 0.12), 0px 6px 16px rgba(0, 0, 0, 0.08), 0px 9px 28px 8px rgba(0, 0, 0, 0.05);
    border-radius: 2px;
}

    .select-options li {
        margin: 0;
        padding: 16px !important;
        -moz-transition: all 0.15s ease-in;
        -o-transition: all 0.15s ease-in;
        -webkit-transition: all 0.15s ease-in;
        transition: all 0.15s ease-in;
    }

        .select-options li:hover {
            background-color: var(--green9);
        }

        .select-options li[rel="hide"] {
            display: none;
        }

.accordion > .card {
    overflow: inherit;
}

.table td, .table th {
    vertical-align: middle;
    padding: 13px 16px;
    min-height: 48px !important;
}

.three-rows-label thead th, .three-rows-label {
    padding: 8.75px 16px;
    vertical-align: middle;
    height: 35px !important;
}

.spinner-border {
    color: #007660;
}

.rotate-180 {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
}

.sm-btn-outline-secondary > i,
.xs-btn-outline-secondary > i {
    font-size: 13px;
}

.tooltip .tooltip-inner {
    background: rgba(51, 51, 51, 0.85);
    border-radius: 3px;
    color: #fff;
    display: block;
    font-size: 12px;
    font-weight: 400;
    padding: 14px 19px;
    font-family: "Noto Sans JP";
    letter-spacing: 0.2px;
    border-radius: 8px;
    max-width: 350px;
    text-align: left;
}

 .tooltip.top .tooltip-arrow {
    border-top-color: #E20F09;
}

.tooltip .arrow:before {
    visibility:hidden;
}

/* 音声再生Seekバー関連 */
/* Seekバー（緑） */
input#seekbar {
    -webkit-appearance: none !important;
    appearance: none !important;
    height: 8px;
    width: calc(100% - 24px); /* 右端の余白を調整 */
    background: linear-gradient(to right, var(--green1) 0%, var(--green1) 50%, var(--green4) 50%, var(--green4) 100%);
    background-color: var(--green4) !important;
    border-radius: 2px;
    outline: none;
    accent-color: var(--green1) !important;
}

input#seekbar::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    background-color: var(--green1);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    /*margin-top: -1px;*/
    cursor: pointer;
}

input#seekbar::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

/* ボリュームバー（グレー） */
input#volumebar {
    -webkit-appearance: none !important;
    appearance: none !important;
    height: 4px;
    width: 120px;
    background: linear-gradient(to right, var(--gray6) 0%, var(--gray6) 50%, var(--gray3) 50%, var(--gray3) 100%);
    background-color: var(--gray3) !important;
    border-radius: 2px;
    outline: none;
    accent-color: var(--gray6) !important;
}

input#volumebar::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    background-color: var(--gray6);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    /*margin-top: -1px;*/
    cursor: pointer;
}

input#volumebar::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

/* ツールチップの見た目 */
.audio-tooltip {
    position: absolute;
    transform: translateX(-50%);
    top: -30px; /* 必要に応じて調整 */
    background: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    pointer-events: none;
    z-index: var(--zindex-hover);
    min-width: 120px;
    max-width: 180px;
    white-space: nowrap;
    text-align: center;
}
/* オーディオプレイヤー共通の左端揃えクラス */
.audio-align-left {
    margin-left: 12px; /* 再生ボタンのアイコンに合わせて調整 */
}
/* シークバーの幅調整 */
.audio-seekbar {
  width: calc(100% - 24px); /* 右端の余白を調整 */
  max-width: calc(100vw - 48px); /* ビューポート幅に対する最大幅も調整 */
}

.audio-speed-dropdown {
    position: relative;
    display: inline-block;
}

.audio-speed-dropdown-toggle {
    background: none;
    border: none;
    outline: none;
    padding: 4px 8px;
    font-size: 12px;
    color: var(--gray6);
    cursor: pointer;
    border-radius: 4px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.audio-speed-dropdown-toggle:hover {
    background-color: var(--green9);
    color: var(--gray8);
}

.audio-speed-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--gray3);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 100px;
    margin-top: 2px;
}

.audio-speed-dropdown-item {
    padding: 3px 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray7);
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.audio-speed-dropdown-item:hover {
    background-color: var(--gray1);
    color: var(--gray8);
}

.audio-speed-dropdown-item.selected {
    background-color: var(--green9);
    color: var(--gray8);
    font-weight: 500;
}

.audio-speed-dropdown-item:first-child {
    border-radius: 4px 4px 0 0;
}

.audio-speed-dropdown-item:last-child {
    border-radius: 0 0 4px 4px;
}

.audio-speed-dropdown-item:only-child {
    border-radius: 4px;
}