@charset "utf-8"

/* ADDITIONAL RESET
 * -----------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video
  margin: 0
  padding: 0
  border: 0
  font: inherit
  font-size: 100%
  vertical-align: baseline

html
  line-height: 1

ol, ul
  list-style: none

table
  border-collapse: collapse
  border-spacing: 0

caption, th, td
  text-align: left
  font-weight: normal
  vertical-align: middle

q, blockquote
  quotes: none

q:before, q:after, blockquote:before, blockquote:after
  content: ""
  content: none

a img
  border: none

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary
  display: block

*,
*:before,
*:after
  box-sizing: border-box

body *
  max-height: 99999em
  word-break: break-word

img
  display: inline-block
  vertical-align: middle
  max-width: 100%
  height: auto

input,
label,
select,
button
  line-height: inherit

input,
label,
select,
button,
textarea
  margin: 0
  border: 0
  padding: 0
  word-break: normal
  display: inline-block
  vertical-align: middle
  white-space: normal
  background: none
  -webkit-appearance: none
  font: inherit

button:focus
  outline: 0
input:focus,
textarea:focus,
select:focus
  outline: auto

input[type=search]
  -webkit-appearance: textfield

::-webkit-search-decoration
  display: none

textarea
  overflow: auto
  white-space: pre-line
  resize: none

/* PRINTING
 * -----------------------------------------------*/

@media print
  body
    -webkit-print-color-adjust: exact
  html,
  body
    margin: 0
  @page
    margin: 0
  @page :left
    margin: 0
  @page :right
    margin: 0
  @page :first
    margin-top: 0

/* GENERAL
 * -----------------------------------------------*/

body
  color: $base-font-color
  font-family: $base-font-sans
  font-weight: $base-font-weight
  line-height: $base-line-height
  -webkit-text-size-adjust: none
  -moz-text-size-adjust: none
  -ms-text-size-adjust: none

a
  color: $base-font-color
  text-decoration: none

.hidden
  display: none

.is-light
  font-weight: 300

.is-italic
  font-style: italic

.is-bold
  font-weight: bold

.is-normal
  font-weight: normal


/* RESPONSIVE
 * -----------------------------------------------*/

+desktop

  body
    font-size: $base-font-size

  .container
    min-width: $base-width

  .sm
    display: none !important

  .trans
    opacity: 1
    transition: opacity .26s ease
    &:hover
      opacity: .8
@media print
  body
    transform: scale(.6) !important
    transform-origin: left top
    width: 60% !important
+mobile

  html
    font-size: calc(100vw / 7.5)

  body
    font-size: $base-font-size-sp

  .container
    min-width: 320px

  .wrapper
    width: auto
    padding-left: .4rem
    padding-right: .4rem

  .md
    display: none !important
