@font-face {
    font-family: '游ゴシック';
    src: url('/static/webfonts/yu-gothic.woff') format('woff');
    font-weight: normal;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: '游ゴシック' !important;
    display: flex;
    flex-direction: column;
}

.YuGothic {
    font-family: '游ゴシック';
}

.back-button:focus,
#btnClear:focus {
    outline: none !important;
}

/*BUTTON*/
.btn {
    width: 100%;
    color: white !important;
    padding: 10px !important;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s, transform 0.3s;
    font-family: '游ゴシック';
    border-radius: 10px !important;
}

.btn-default {
    border: 0px;
    background-color: #BFBFBF;
    color: black;
}

.btn-gradient-green {
    border: 0px;
    background: linear-gradient(to bottom, #8fd642, #4caf50);
    border-radius: 12px !important;
}

.btn-gradient-blue {
    border: 0px;
    background: -webkit-linear-gradient(45deg, hsla(185, 63%, 41%, 1) 48%, hsla(220, 61%, 79%, 1) 100%);
    color: white;
}

/*FONT*/
.font-xxlarge {
    font-size: 1.7em !important;
    font-family: '游ゴシック';
}

.font-xlarge {
    font-size: 1.6em !important;
    font-family: '游ゴシック';
}

.font-large {
    font-size: 1.5em !important;
    font-family: '游ゴシック';
}

.font-medium {
    font-size: 1.4em !important;
    font-family: '游ゴシック';
}

.font-normal {
    font-size: 1.25em !important;
    font-family: '游ゴシック';
}

.font-small {
    font-size: 1.15em !important;
    font-family: '游ゴシック';
}

.font-smallest {
    font-size: 1em !important;
    font-family: '游ゴシック';
}

.font-xsmall {
    font-size: 0.8em !important;
    font-family: '游ゴシック';
}

.font-xxsmall {
    font-size: 0.75em !important;
    font-family: '游ゴシック';
}

.font-m-bold {
    font-weight: 500 !important;
}

.font-bold {
    font-weight: 600 !important;
}

/*HEADER*/
.back-button {
    background-color: transparent;
    border: none;
}

/*FOOTER*/
.btn-footer-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: white;
}

.fa-gear,
.fa-home {
    color: #000;
    font-size: 1.1em;
}

.btn-setting,
.btn-home {
    background-color: transparent;
    border: none;
    align-content: center;
    border: 1px solid lightgray;
    padding: 0.7em;
    width: 50%;
    font-size: 1.3em;
}

/* Default font size for desktop */
.back-button {
    font-size: 20px;
}

.container {
    background-color: #ffffff;
    justify-content: center;
    align-items: center;
    margin: 48px auto !important;
    /* padding-bottom: calc(55px + env(safe-area-inset-bottom));  */
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-top: calc(env(safe-area-inset-top) + 10px) !important;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: calc(env(safe-area-inset-bottom) + 10px) !important;
}

main {
    flex: 1;
    display: flex !important;
    flex-direction: column;
    margin-top: 50px;
    /* margin-bottom: 50px; */
    overflow-y: auto;
}

/*tooltip*/
.tooltip-container {
    position: relative;
    display: inline-block;
}

.tool-tip .tooltiptext {
    position: absolute;
    background-color: white;
    width: 100%;
    border-radius: 10px;
    display: none;
    justify-content: flex-end;
    align-items: center;
    padding: 7px 12px;
    margin-top: 8px;
    font-size: 14px;
    white-space: normal;
    border: 1px solid #767171;
    transform: translateX(-50%);
    transition: opacity 0.3s ease-in-out;
    z-index: 2;
    left: 50%;
}

.tooltip-container:hover .tool-tip .tooltiptext {
    display: block;
    visibility: visible;
    opacity: 1;
}

.btn-text-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.txt-row {
    margin-left: 1px !important;
    margin-right: 1px !important;
}

.txt-row-m20 {
    margin-left: 20px !important;
    margin-right: 20px !important;
}

.txt-row-m15 {
    margin-left: 15px !important;
    margin-right: 15px !important;
}

.font-txt {
    font-size: 0.9em !important;
}

.title-container {
    width: 73% !important;
    margin-left: 0px !important;
}

@media (max-width: 575.98px) {
    .container {
        margin: 10px auto !important;
    }

    header {
        margin-left: -10px !important;
    }
}

@media (min-width: 360.98px) {
    .title {
        white-space: nowrap !important;
    }
}