@import url('./iconfont.css');

@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik-Light.ttf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik-Regular.ttf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik-SemiBold.ttf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

body,
ol,
ul,
h1,
h2,
h3,
h4,
h5,
h6,
p,
th,
td,
dl,
dd,
form,
fieldset,
legend,
input,
textarea,
select {
    margin: 0;
    padding: 0
}

body {
    background: #fff;
    -webkit-text-size-adjust: 100%;
    font-family: 'Rubik';
}

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

a:hover {
    text-decoration: none
}

em {
    font-style: normal
}

li {
    list-style: none
}

img {
    border: 0;
    vertical-align: middle
}

table {
    border-spacing: 0
}

p {
    word-wrap: break-word
}

div,
section,
li {
    box-sizing: border-box
}

input,
textarea {
    outline: none;
    border: none;
    resize: none
}

button {
    border: none;
}

img:not([src]):not([srcset]) {
    visibility: hidden;
}

.pc-style {
    display: block;
}

.mobile-style {
    display: none;
}

.android-style {
    display: none;
}

.flex-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

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

.flex-row {
    display: flex;
    flex-direction: row;
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.container {
    /* max-width: 1200px; */
    max-width: 1080px;
    margin: 0 auto;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

a,
button,
input,
textarea {
    -webkit-tap-highlight-color: transparent;
}
.back-to-top {
    bottom: 8%;
    cursor: pointer;
    color: #fff;
    position: fixed;
    right: 10%;
    text-align: center;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all .3s;
    border: 1px solid rgba(255, 255, 255, 0.50);
    background: rgba(0, 0, 0, 0.15);
}
.back-to-top:hover {
    border: 1px solid rgba(255, 255, 255, 0.50);
    background: rgba(0, 0, 0, 0.50);
}
.back-to-top:hover path {
     fill-opacity: 1;
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
}

.common-margin-top {
    /* margin-top: -70px; */
    padding-top: 70px;
}

@media (max-width: 768px) {
    .common-margin-top {
        /* margin-top: -61px; */
        padding-top: 61px;
    }

    .pc-style {
        display: none;
    }

    .mobile-style {
        display: block;
    }
}