@charset "UTF-8";
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

@font-face {
  font-family: Ferrari-Sans;
  src: url("../font/Ferrari-SansLight.otf");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: Ferrari-Sans;
  src: url("../font/Ferrari-SansLightItalic.otf");
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: Ferrari-Sans;
  src: url("../font/Ferrari-SansRegular.otf");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: Ferrari-Sans;
  src: url("../font/Ferrari-SansRegularItalic.otf");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: Ferrari-Sans;
  src: url("../font/Ferrari-SansBold.otf");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: Ferrari-Sans;
  src: url("../font/Ferrari-SansBoldItalic.otf");
  font-weight: 600;
  font-style: italic;
}
body {
  background: #141414;
  -webkit-font-smoothing: antialiased;
  color: #fff;
  font-family: Ferrari-Sans, "ヒラギノ角ゴ ProN", "游ゴシック", sans-serif;
  font-weight: 300;
}

a {
  color: #fff;
}

a:hover,
a:active {
  color: #dc291e;
}

a:focus {
  box-shadow: none;
}

#login,
#login_footer {
  box-sizing: border-box;
  width: 100%;
  max-width: 320px;
  padding-right: 10px;
  padding-left: 10px;
  margin: auto;
}

.login .message,
.login .success {
  border-left: 4px solid #dc291e;
  background-color: transparent;
  box-shadow: none;
}

.login #login_error {
  border: 1px solid #dc291e;
  background-color: transparent;
  box-shadow: none;
  color: #dc291e;
  text-align: center;
}

.login .success {
  border-left-color: #fff;
}

.login .password-input-wrapper {
  width: 100%;
}

.login .button.button-secondary {
  width: 40px;
  text-align: center;
}

.login form {
  background: transparent;
  padding: 26px 0 46px;
  border: none;
}

.login .button-primary,
.login .button-primary[disabled] {
  float: none;
  margin: 0 auto;
  border: 1px solid #ffee00 !important;
  border-radius: 0;
  background: transparent !important;
  color: #ffee00 !important;
  box-shadow: none;
  text-shadow: none;
  font-size: 14px;
  padding: 0.5em 2em !important;
  height: auto !important;
  transition: background 100ms linear 0ms, color 100ms linear 0ms;
}

.login .button-primary:hover {
  background: #ffee00 !important;
  border-color: #ffee00 !important;
  color: #000 !important;
}

.login .button-primary[disabled] {
  opacity: 0.1;
}

#login form p.submit {
  text-align: center;
}

.login label {
  color: #fff;
}

.login #nav a,
.login #backtoblog a {
  color: #fff;
}

.login #nav a:hover,
.login #backtoblog a:hover,
.login h1 a:hover {
  color: #dc291e;
}

.login #nav a:focus,
.login #backtoblog a:focus,
.login h1 a:focus {
  color: #dc291e;
}

.login form .input,
.login input[type=text],
.login form input[type=checkbox] {
  background: #222;
  border: none;
  box-shadow: none;
  color: #fff;
  font-size: 16px;
  padding: 0.5em;
}

.login #nav,
.login #backtoblog {
  display: none;
}

.login form .forgetmenot {
  float: none;
  text-align: center;
  padding: 1em 0 2em;
}

#login_footer {
  font-size: 14px;
}
#login_footer .lostpassword {
  text-align: center;
  margin: 0 0 3em;
}
#login_footer .lostpassword a {
  text-decoration: none;
}
#login_footer .lostpassword a::after {
  content: " >";
}
#login_footer .back a {
  box-sizing: border-box;
  display: block;
  width: 100%;
  text-decoration: none;
  color: #fff;
  text-align: center;
  padding: 0.5em 2em;
  border: 1px solid #fff;
  transition: background 100ms linear 0ms, color 100ms linear 0ms;
}
#login_footer .back a:hover {
  background: #fff;
  color: #141414;
}
