/* Reset */

body {
    font-family: var(--font-regular);
    font-size: 15px;
    color: var(--clr-text-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.5;
    padding: 0;
    margin: 0;
}

a,
input,
textarea,
button {
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
}

a,
a:hover {
    color: inherit;
    text-decoration: none;
}

p,
address,
figure {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-style: none;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.ckeditor h2 {
    font-size: 1.5em;
}

.ckeditor a {
    color: -webkit-link;
    text-decoration: underline;
}

.ckeditor p {
    margin-bottom: 1rem;
}

.ckeditor img {
    height: auto !important;
}

.a2a_kit .a2a_svg {
    width: 30px;
    height: 30px;
    line-height: 30px;
}


/* Main */

.quote-hidden:before,
.quote-hidden:after {
    content: unset;
}

.figcaption-hidden {
    overflow: hidden;
    width: 0;
    height: 0;
}

.hidden-seoh {
    overflow: hidden;
    visibility: hidden;
    height: 0;
    margin: 0;
}

.hidden {
    display: none;
}

.body-container {
    position: relative;
    background: #fff;
}

.wrap-home {
    max-width: 100%;
    padding: 0;
}

.wrap-content {
    width: min(100% - var(--space-x, 2rem), var(--w, 1200px));
    margin: 0 auto;
}

.grab-container {
    overflow: auto;
    display: -webkit-box;
    cursor: -webkit-grab;
    cursor: -moz-grab;
    cursor: grab;
}

.is-fixed {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
}

.is-fixed.was-scrolled {
    -webkit-box-shadow: 0px 2px 4px 0px #00000080;
    -moz-box-shadow: 0px 2px 4px 0px #00000080;
    box-shadow: 0px 2px 4px 0px #00000080;
}


/* Media Support */

.rps-xl--visible[class*='rps-xl'][class*='--visible'],
.rps-lg--visible[class*='rps-lg'][class*='--visible'],
.rps-md--visible[class*='rps-md'][class*='--visible'],
.rps-sm--visible[class*='rps-sm'][class*='--visible'] {
    display: none;
}


/* Space */

.mg-b\:0\.5rem {
    margin-bottom: 0.5rem;
}

.mg-b\:1rem {
    margin-bottom: 1rem;
}

.mg-b\:1\.5rem {
    margin-bottom: 1.5rem;
}

.mg-b\:2rem {
    margin-bottom: 2rem;
}

.mg-b\:2\.5rem {
    margin-bottom: 2.5rem;
}


/* Flex Box */

.flex-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -webkit-calc(-1 * var(--space-x, 0.625rem)) -webkit-calc(-1 * var(--space-y, 1.25rem));
    margin: 0 -moz-calc(-1 * var(--space-x, 0.625rem)) -moz-calc(-1 * var(--space-y, 1.25rem));
    margin: 0 calc(-1 * var(--space-x, 0.625rem)) calc(-1 * var(--space-y, 1.25rem));
}

.flex-container>div[class*='item'] {
    width: -webkit-calc(100% / var(--columns, 4) - -webkit-calc(var(--space-x, 0.625rem) * 2));
    width: -moz-calc(100% / var(--columns, 4) - -moz-calc(var(--space-x, 0.625rem) * 2));
    width: calc(100% / var(--columns, 4) - calc(var(--space-x, 0.625rem) * 2));
    margin: 0 var(--space-x, 0.625rem) var(--space-y, 1.25rem);
}

.flex-container>div[class*='item']>[class*='-inner'] {
    height: 100%;
}


/* Grid Box */

.grid-container {
    display: grid;
    grid-template-columns: repeat(var(--columns, 4), 1fr);
    grid-gap: var(--gap-c, 1.25rem) var(--gap-r, 1.25rem);
}


/* Text Truncate */

.text-split {
    overflow: hidden;
    display: -webkit-box;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--line-clamp, 3);
}

.text-split--fixed-height {
    height: -webkit-calc(var(--line-clamp, 3) * var(--line-height, 1.5em));
    height: -moz-calc(var(--line-clamp, 3) * var(--line-height, 1.5em));
    height: calc(var(--line-clamp, 3) * var(--line-height, 1.5em));
    line-height: var(--line-height, 1.5em);
}


/* Transition All */

.transition {
    -webkit-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    transition: all .3s ease-out;
}
