:root {
    --left-bg-color: rgba(0, 0, 0, 0.5);
    --left-button-hover-color: rgba(0, 0, 0, 0.3);
    --right-bg-color: rgba(0, 0, 0, 0.5);
    --right-button-hover-color: rgba(0, 0, 0, 0.3);
    --hover-width: 75%;
    --other-width: 25%;
    --speed: 1000ms;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: #dee3e8;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(255, 255, 255, 0.4);
}

html,
body {
    width: 100%;
    margin: 0 auto;
    min-height: 100%;
    overflow-x: hidden;
    /*font-family: Baskerville;*/
    /*font-family: 'Amiri', serif;*/
    font-family: 'Noto Serif JP', serif;
    font-size: 14px;
}

body {
    background: #fff;
    color: #000;
    /*background-image: url('../static/imgs/0-0.svg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top;*/
}

header {
    /*position: absolute;*/
    /*z-index: 1;*/
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 1px 1px 6px 0px #e4e4e4;
}

header a {
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
}

header a.logo img {
    height: 2.6em;
    width: auto;
}

section {
    display: flex;
    width: 100%;
}

footer {
    margin-top: 10em;
    border-top: 1px solid #e4e4e4;
    padding: 4em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ccc;
}

nav {
    display: grid;
    grid-template-columns: 1fr repeat(1, auto) 1fr;
    grid-column-gap: 5px;
    justify-items: center;
    width: 100%;
}

nav a:nth-child(1) {
    grid-column-start: 2;
}

nav a:nth-child(2) {
    margin-left: auto;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.85em;
}
.nav-link{
    padding: 1rem;
    display: flex;
    justify-content: end;
    align-items: center;
    letter-spacing: 1px;
}

p {
    line-height: 1.8;
}

h1 {
    font-size: 2.2rem;
    margin-top: 0.2em;
}

h2 {
    font-size: 2.4em;
}

h4 {
    margin-bottom: 0.4em;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: bold;
}

/*select {

    white-space: normal;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    border: none;
    color: #000;
    background-image: url('../static/imgs/arrow.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - 1em) center;
    background-size: 1.5em auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}*/
button {
    cursor: pointer;
}

select:focus,
button:focus {
    outline: none;
}

svg {
    -moz-user-select: none;
    outline: none;
    border: none;
}

*::selection {
    background-color: transparent;
}

*::-moz-selection {
    background-color: transparent;
}

* {
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    /*IE10*/
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

input[type="radio"] {
    position: absolute;
    visibility: hidden;
    display: none;
}

.sans-serif {}

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

.text-light {
    font-style: italic;
    color: #999;
}

.text-italic {
    font-style: italic;
}

.text-bold {
    font-weight: bold;
}

.text-bold-italic {
    font-weight: bold;
    font-style: italic;
}

.foot-note {
    font-size: 0.85em;
    color: #999;
}

/*#mousetips {
    position: fixed;
    z-index: 600;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.4em 1em;
    border-radius: 0.4em;
    box-shadow: 0 0rem 0.2rem 0 rgba(0, 0, 0, 0.14);
}*/

.hide {
    display: none !important;
}

.out{

    top:-100% !important;
}
/*#mousetips p {
    font-size: 0.8rem;
}

#mousetips .highlight {
    font-weight: 700;
}*/

/*.slider {
    -webkit-appearance: none;
    width: 100%;
    outline: none;
    opacity: 1;
    -webkit-transition: .2s;
    transition: opacity .2s;
    cursor: pointer;
}
*/
/*.slider:hover{
    opacity: 0.8;
}*/
/*.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    outline: none;
    border: none;
}

.slider::-moz-range-thumb {
    cursor: pointer;
    border: none;
    outline: none;
}
.share {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2em;
    margin-bottom: 4em;
}*/

/*.social-links {
    width: 20em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2em;
    border-top: 1px dotted rgba(255, 255, 255, 0.4);

}

.social-links a {
    height: 3em;
    width: 3em;
    border-radius: 100%;
    border: 1px solid #fff;
    margin: 0 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.social-links a svg {
    color: #fff;
    font-size: 1.2em;
}

.social-links a:hover {
    opacity: 1;
}*/

@media screen and (max-width: 767px) {
    footer {
        padding: 2em;
    }
    header a.logo img{
        height: 2em;
    }
    .nav-link{
        font-size:0.75em;
    }
    nav{
        grid-template-columns: 1fr 1fr;
    }
    nav a:nth-child(1){
        grid-column-start: 1;
        margin-right: 2.2em;
    }
}