html {
    scroll-behavior: smooth;
}

body {
    letter-spacing: 0;
    font: {
        weight: 400;
        style: normal;
        family: 'Open Sans', PingFang SC, Hiragino Sans GB, Microsoft YaHei, STHeiti,
            WenQuanYi Micro Hei, Helvetica, Arial, sans-serif;
        size: var(--farallon-text-size-normal);
    }
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-font-feature-settings: 'liga' on;
    color: var(--farallon-text-color);
    line-height: 1.8;
    background-color: var(--farallon-background-gray);
    word-break: break-all;
}

h1,
h2,
h3,
h4,
h5 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 400;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

p {
    margin-top: 0;
    margin-bottom: 0;
}

button,
input,
textarea {
    appearance: none;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-family: 'Open Sans', PingFang SC, Hiragino Sans GB, Microsoft YaHei, STHeiti,
        WenQuanYi Micro Hei, Helvetica, Arial, sans-serif;
    font-size: var(--farallon-text-size-normal);
    color: var(--farallon-text-color);
}

.sep {
    &::before {
        content: '/';
        margin: 0 5px;
    }
}

.notice--wrapper {
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    font-size: var(--farallon-text-size-smallest);
    max-width: 800px;
    padding: 10px 15px;
    border-radius: 8px;
    position: fixed;
    z-index: 1000;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s transform;

    @media (max-width: 768px) {
        width: 80%;
    }
}

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

.u-overflowYHidden {
    overflow-y: hidden;
}

.u-cursorPointer {
    cursor: pointer;
}

.u-hide {
    display: none;
}

@media screen and (max-width: 768px) {
    .u-xs-hide {
        display: none;
    }

    .u-xs-show {
        display: inline;
    }
}
