@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

a {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

img {
    max-width: 100%;
    height: auto;
}

html {
    font-size: 16px;
    color: #000;
}

body {
    font-family: "Helvetica Neue",
        Arial,
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        "BIZ UDPGothic",
        Meiryo,
        sans-serif;
    line-height: 1.5;
}

main {
    min-height: calc(100vh - 100px);
    background-color: #D3DEF1;
    padding-bottom: 60px;
}

button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    font-size: 14px;
}

input[type="submit"],
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select {
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #fff;
}

input[type="submit"] {
    font-weight: 500;
    cursor: pointer;
}

button {
    padding: 4px 16px;
    background: #EEE;
    border-radius: 4px;
}

input:not([type="file"]),
textarea {
    border: 1px solid;
    border-radius: 4px;
}

/*--------------------*/
/*Common*/
/*--------------------*/
.page-wrapper {
    max-width: 90%;
    margin: 0 auto;
    padding-top: 40px
}

.title-wrapper {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
}

.page-title {
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-side-info {
    display: flex;
    gap: 36px;
    align-items: center;
    margin-left: 40px;
}

.table-wrapper {
    width: fit-content;
    overflow-x: auto;
    width: 100%;
    margin: 20px 0;
}

table {
    background: #FFF;
    border-collapse: collapse;
    overflow-x: scroll;
    font-size: 14px;
}

table th {
    background: #BBB;
    border: solid 1px #EFEFEF;
    padding: 4px 12px;
    white-space: nowrap;
}

table td {
    border: solid 1px #FFF;
    padding: 2px 8px;
    white-space: nowrap;
    vertical-align: middle;
    word-wrap: break-word;
}

tr:nth-child(2n+1) {
    background: #EFEFEF;
}

.error-msg {
    color: red;
    font-size: 12px;
}

.ok-msg {
    color: green;
    font-size: 12px;
}

.modal-title {
    font-size: 20px;
    padding-bottom: 4px;
    border-bottom: 1px solid #EFEFEF;
    margin-bottom: 12px;
}

.title-anker-button {
    padding: 4px 16px;
    background-color: #001C58;
    border-radius: 4px;
    color: #FFF;
}

.thin {
    opacity: 0.3;
}

.ellipsis {
    max-width: 300px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.flex-jus-ali-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nowrap {
    white-space: nowrap;
}

.form-container {
    padding: 0 12px;
    display: flex;
    margin: 20px 0;
}

.form-tag {
    display: block;
    width: 140px;
    text-align: right;
    margin-right: 20px;
}

.radio-label,
.select-label {
    display: block;
    text-align: right;
}

.radio-container,
.select-container {
    display: flex;
    gap: 24px;
}

.form-container select {
    padding: 8px 12px;
    border-color: #001C58;
}

.w-240 {
    width: 240px;
}

.result-content {
    min-width: 500px;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.center {
    text-align: center;
}

/* Modal Base */
/* Modal Base */
/* Modal Base */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    z-index: 100;
}

.modal-bg {
    position: absolute;
    height: 100vh;
    width: 100%;
    background-color: rgba(200, 200, 200, 0.3);
    z-index: 101;
}

/* Modal Content */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 750px;
    z-index: 102;
}

@media screen and (max-width: 640px) {
    .modal-content {
        width: 80vw;
    }
}

.modal-inner {
    position: relative;
    background: white;
    width: 100%;
    min-height: 100px;
    max-height: 1000px;
    padding: 30px;
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-form-button {
    text-align: right;
}

/* Close Button */
.btn_close {
    display: block;
    position: absolute;
    top: -50px;
    right: 0;
    background-color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: black;
    text-align: center;
    font-size: 30px;
    text-decoration: none;
    line-height: 35px;
    z-index: 105;
}


/*--------------------*/
/*Login*/
/*--------------------*/

.login {
    width: 100%;
    height: 100vh;
    display: grid;
    place-items: center;
    background-color: #001C58;
}

.login .wrapper {
    max-width: 90%;
    text-align: center;
    margin: 0 auto;
    padding: 20px 0;
    overflow: hidden;
    background-color: #FFF;
    border-radius: 20px;
}

.login .wrapper .logo {
    width: 300px;
    max-width: 90%;
}

.login .wrapper .title {
    margin-bottom: 20px;
    font-size: 20px;
}

.login .login-form {
    background: #FFF;
    border-radius: 4px;
    width: 500px;
    max-width: 100%;
    margin: 0 auto;
}

.login .form-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap;
    max-width: 100%;
}

.login .form-group .input-label {
    width: 100px;
    text-align: right;
    padding-right: 16px;
    padding-left: 8px;
}

.login .form-group input {
    height: 40px;
    width: 280px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ddd;
    padding-left: 8px;
    font-size: 16px;
}

.login .exe-btn {
    margin: 20px;
    background-color: #001C58;
    padding: 8px 16px;
    border-radius: 4px;
    color: #FFF;
}

/*--------------------*/
/*header*/
/*--------------------*/
header {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .header-logo {
    padding: 0 24px;
}

header .account {
    padding: 0 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

header .logout-btn {
    background-color: #001C58;
    padding: 8px 16px;
    border-radius: 4px;
    color: #FFF;
}

.menu {
    width: 100%;
    height: 40px;
    background-color: #FFF;
    display: flex;
    border-top: 1px solid #DDD;
}

.menu>li {
    position: relative;
}

.menu>li>a {
    width: 120px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

.menu>li:hover {
    background-color: #ebebeb;
}

.menu>li>ul {
    display: none;
}

.menu>li:hover ul {
    display: block;
    position: absolute;
    padding: 0;
    margin: 0;
    top: 40px;
    left: 0;
    background-color: #FFF;
}

.menu>li ul li>a {
    width: 150px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu>li:hover ul li:hover {
    background-color: #ebebeb;
}

.menu li.active,
.menu a.active {
    background-color: #D3DEF1;
}

/*--------------------*/
/*delivery*/
/*--------------------*/

.csv-fileclear {
    display: none;
}

#multicsv-form .form-container input[type="text"] {
    width: 160px;
    font-size: 16px;
    padding: 4px;
}

#delivery-01 .form-container input[type="text"] {
    width: 200px;
    font-size: 16px;
    padding: 4px;
}

#delivery-01 .form-container textarea {
    width: 400px;
    height: 200px;
    font-size: 16px;
    padding: 4px;
}

.btn-open {
    display: inline;
    padding: 4px 16px;
    border-radius: 4px;
    width: 85px;
    background-color: #001C58;
    color: #FFF;
    font-size: 14px;
}

.btn-stopped {
    width: 90px;
    background-color: #FA514B;
    color: #FFF;
    font-size: 14px;
}

.btn-restart {
    width: 90px;
    background-color: #324ff5;
    color: #FFF;
    font-size: 14px;
}

.btn-completed {
    width: 85px;
    background-color: #BBB;
    color: #000;
    cursor: text;
    font-size: 14px;
}

.btn-pending {
    width: 85px;
    background-color: #BBB;
    color: #000;
    cursor: text;
    font-size: 14px;
}

.btn-delete {
    background-color: #FA514B;
    color: #FFF;
    font-size: 14px;
}

.specified-period-export-csv {
    display: flex;
    align-items: center;
    margin-left: 60px;
}

#delivery-01_button {
    background-color: #001C58;
    color: #FFF;
}

.mr {
    margin-right: 16px;
}

/*--------------------*/
/*result*/
/*--------------------*/

/* .result-table td {
    white-space: normal;
} */

/*--------------------*/
/*sms*/
/*--------------------*/

#sms-01 .form-container input {
    width: 400px;
    font-size: 16px;
    padding: 4px;
}

#sms-01 .form-container textarea {
    width: 400px;
    height: 200px;
    resize: none;
    font-size: 16px;
    padding: 4px;
}

#sms-01_button {
    background-color: #001C58;
    color: #FFF;
}

#text_count {
    font-size: 12px;
}

.insert-tag-container {
    margin-bottom: 8px;
}

.insert-enq,
.insert-url,
.insert-url_2,
.insert-url_3,
.insert-url_4,
.insert-stop {
    font-size: 12px;
    padding: 4px 8px;
    background: #FFC;
    border: 1px solid #DDC;
}


/*--------------------*/
/*templatelist*/
/*--------------------*/

#templatelist-01 .form-container input[type="text"] {
    width: 400px;
    font-size: 16px;
    padding: 4px;
}

#templatelist-01_button {
    background-color: #001C58;
    color: #FFF;
}

/*--------------------*/
/*template*/
/*--------------------*/

.template-name {
    margin: 16px 0;
    font-size: 20px;
}

.template-table {
    flex-basis: 100%;
    flex: 1;
}

.template-table table {
    margin-bottom: 8px;
}

.template-name-wrapper {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.rename-modal-open {
    margin: 16px 0;
}

#question-create .form-container input[type="text"],
#template-rename .form-container input[type="text"],
#question-edit .form-container input[type="text"] {
    width: 400px;
    font-size: 16px;
    padding: 4px;
}

#question-create .form-container textarea,
#question-edit .form-container textarea {
    width: 400px;
    height: 200px;
    resize: none;
    font-size: 16px;
    padding: 4px;
}

#question-create_button,
#template-rename_button,
#question-edit_button {
    background-color: #001C58;
    color: #FFF;
}

.table-iframe-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.iframe-wrapper {
    flex-basis: 320px;
    margin-left: 20px;
    margin-top: 20px;
    background: #FFF;
    border: 10px solid #000;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

iframe {
    display: block;
    width: 100%;
}

#change-target {
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    background: #FFF;
    padding: 4px 8px;
    border-radius: 18px;
    height: 36px;
}


/*--------------------*/
/*category*/
/*--------------------*/

#category-edit .form-container input[type="text"],
#category-create .form-container input[type="text"] {
    width: 400px;
    font-size: 16px;
    padding: 4px;
}

#category-edit_button,
#category-create_button {
    background-color: #001C58;
    color: #FFF;
}

/*--------------------*/
/*view*/
/*--------------------*/

.view-wrapper {
    width: fit-content;
    overflow-x: auto;
    max-width: 100%;
    width: 1000px;
    margin: 20px 0;
    background-color: #FFF;
    padding: 20px;
}

.view-wrapper .form-container input[type="text"] {
    width: 600px;
    font-size: 16px;
    padding: 4px;
}

.view-wrapper .form-container textarea {
    width: 600px;
    height: 200px;
    resize: none;
    font-size: 16px;
    padding: 4px;
}

.view-wrapper_button {
    background-color: #001C58;
    color: #FFF;
}

/*--------------------*/
/*setting*/
/*--------------------*/

.setting-wrapper {
    width: fit-content;
    overflow-x: auto;
    max-width: 100%;
    width: 1000px;
    margin: 20px 0;
    background-color: #FFF;
    padding: 20px;
}

.setting-wrapper .form-container input[type="password"] {
    width: 200px;
    font-size: 16px;
    padding: 4px;
}

.setting_button {
    background-color: #001C58;
    color: #FFF;
}

#loading-window {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: #444;
    opacity: 0.5;
    z-index: 500;
    place-items: center;
    color: #FFF;
    font-size: 20px;
}

.loading-block {
    width: 200px;
    height: 120px;
    display: grid;
    place-items: center;
    z-index: 10;
}

.tablesorter-headerUnSorted {
    background-image: url('/img/caret-sort.svg');
    background-repeat: no-repeat;
    background-position: center right;
}

.tablesorter-headerAsc {
    background-image: url('/img/caret-down.svg');
    background-repeat: no-repeat;
    background-position: center right;
    border-bottom: #000 2px solid;
}

.tablesorter-headerDesc {
    background-image: url('/img/caret-up.svg');
    background-repeat: no-repeat;
    background-position: center right;
    border-bottom: #000 2px solid;
}

.sorter-false {
    background-image: none;
}
