@charset "UTF-8";
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: normal;
}

@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Bold");
  font-weight: bold;
}

@keyframes show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes up {
  from {
    transform: translateY(10px);
  }
  to {
    transform: translateY(0px);
  }
}

html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Yu Gothic", YuGothic, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  color: #473e3e;
  -webkit-text-size-adjust: 100%;
  background: url(../../img/new/common/bg.png) #fcd8d6;
}

@media all and (-ms-high-contrast: none) {
  body {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  }
}

body:before, body:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  min-height: 581px;
}

body:before {
  width: calc(50% + 16px);
  z-index: 1;
  background: #fcd8d6;
}

body:after {
  width: calc(50% - 16px);
  z-index: 2;
  background: #fcd8d6;
}

header, nav, section, article, main, footer {
  display: block;
}

h1, h2, h3, h4 {
  margin: 0;
  padding: 0;
}

a {
  color: #e7281c;
  text-decoration: none;
}

a img {
  border-style: none;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ul.disc {
  list-style-type: disc;
  padding-left: 16px;
}

ol {
  padding-left: 16px;
}

img.alignleft {
  float: left;
  margin: 0 12px 12px 0;
}

img.alignright {
  float: right;
  margin: 0 0 12px 12px;
}

img.aligncenter {
  display: block;
  margin: 0 auto;
}

em {
  color: #64cf1d;
  font-style: normal;
}

strong {
  color: #64cf1d;
}

p {
  margin: 0 0 18px;
}

p:last-of-type {
  margin: 0;
}

label {
  font-size: 18px;
  display: block;
  margin-bottom: 4px;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 344px;
  border: 2px solid #e7281c;
  font-size: 24px;
  color: #473e3e;
  padding: 8px 4px;
  border-radius: 6px;
  -webkit-appearance: none;
}

input[type="submit"] {
  display: block;
  width: 356px;
  height: 54px;
  -webkit-appearance: none;
  border-radius: 0;
  border: none;
  border-radius: 27px;
  background: #e7281c;
  color: #fff;
  font-size: 26px;
  outline: none;
  cursor: pointer;
}

select {
  font-size: 24px;
}

button {
  -webkit-appearance: none;
  border-radius: 0;
}

section .contents_body {
  line-height: 22px;
}

#app_container {
  width: 100vw;
  height: 100vh;
  min-width: 900px;
  min-height: 581px;
  overflow: hidden;
  position: relative;
}

#app {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 1366px;
  height: 882px;
  min-width: 900px;
  min-height: 581px;
  z-index: 10;
}

#app.anim {
  opacity: 0;
  transition: 0.5s;
  transition-property: opacity;
}

#app.on {
  opacity: 1.0;
}

#header_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  background: #fff;
  border-bottom: 4px solid #facecb;
  z-index: 3;
}

header {
  height: 104px;
  position: relative;
  z-index: 10;
  margin-bottom: 26px;
}

header:after {
  content: '';
  display: block;
  width: 490px;
  height: 104px;
  background: url(../../img/new/common/header_bg.svg) no-repeat;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
}

header .logo {
  display: block;
  width: 246px;
  height: 63px;
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  background: url(../../img/new/common/logo.svg) center/100% no-repeat;
  text-indent: 102%;
  white-space: nowrap;
  overflow: hidden;
}

header #logout_btn {
  display: block;
  width: 126px;
  height: 38px;
  position: absolute;
  top: 15px;
  right: 32px;
  border-radius: 19px;
  background: #099aec;
  color: #fff;
  font-size: 18px;
  line-height: 38px;
  text-align: center;
  z-index: 11;
}

header #guide_btn {
  display: block;
  position: absolute;
  top: 16px;
  left: 32px;
  height: 36px;
  line-height: 36px;
  color: #473e3e;
  font-size: 22px;
  z-index: 11;
  opacity: 1.0;
  transition: 0.3s;
}

header #guide_btn:before {
  content: "?";
  display: inline-block;
  width: 36px;
  height: 36px;
  background: url(../../img/new/common/help.svg);
  vertical-align: top;
  margin-right: 12px;
  text-indent: 102%;
  white-space: nowrap;
  overflow: hidden;
}

header #guide_btn:hover {
  opacity: 0.7;
}

header #user_name {
  font-size: 22px;
  height: 68px;
  line-height: 68px;
  position: absolute;
  top: 0;
  right: 176px;
  z-index: 11;
}


nav.menu::-webkit-scrollbar {
  width: 6px;
}

nav.menu::-webkit-scrollbar-thumb {
  background: #e7281c;
  border-radius: 3px;
}

nav.menu ul {
  padding-bottom: 64px;
}

nav.menu ul li {
  width: 512px;
  height: 100px;
  margin: 0 0 12px;
}

nav.menu ul li:last-child {
  margin: 0;
}

nav.menu ul li a:hover {
  opacity: 0.7;
}

nav.menu ul li a .label {
  line-height: 36px;
}

nav.menu ul li a {
  display: flex;
  align-items: center;
  width: 100%;
  height: 96px;
  border-radius: 48px;
  background: #e7281c;
  box-shadow: 0px 4px 0px 0px #c11106;
  color: #fff;
  font-size: 30px;
  box-sizing: border-box;
  position: relative;
  transition: 0.3s;
  opacity: 1.0;
  padding: 0 12px;
}

nav.menu ul li a .progress {
  flex-grow: 1;
  text-align: right;
  box-sizing: border-box;
  padding-right: 18px;
  margin: 0 0 0 12px;
}

nav.menu ul li a.deactive {
  opacity: 1.0;
  color: #e6e6e6;
  background: #c6c6c6;
  box-shadow: 0px 4px 0px 0px #ababab;
}

nav.menu ul li a.deactive:before {
  background-color: #d9d9d9;
  color: #c6c6c6;
}

nav.menu ul li.home_pos a:before {
  background-image: url(../../img/new/common/keyboard_icon.svg);
}

nav.menu ul li.secret a:before {
  background-image: url(../../img/new/common/keyboard_icon.svg);
}

nav.menu ul li.secret a.deactive {
  background-image: url(../../img/new/common/keyboard_icon.svg);
}

nav.menu ul li.drill a:before {
  background-image: url(../../img/new/common/training_icon.svg);
}

nav.menu ul li.drill a.deactive:before {
  background-image: url(../../img/new/common/training_icon_gray.svg);
}

nav.menu ul li.touch a:before {
  background-image: url(../../img/new/common/keyboard_icon.svg);
}

nav.menu ul li.roma_base a:before {
  background-image: url(../../img/new/common/heart_icon.svg);
}

nav.menu ul li.roma_short a:before {
  background-image: url(../../img/new/common/star_icon.svg);
}

nav.menu ul li.roma_long a:before {
  background-image: url(../../img/new/common/thumbsup_icon.svg);
}

nav.menu ul li.roma_long a:before {
  background-image: url(../../img/new/common/thumbsup_icon.svg);
}

nav.menu ul li.original a:before {
  background-image: url(../../img/new/common/logo_h.svg);
}

nav.menu ul li.it a:before {
  background-image: url(../../img/new/common/pc_icon.svg);
}

nav.menu.num ul li a:before {
  display: none;
}

nav.menu.num ul li a .no {
  display: block;
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  color: #e7281c;
  text-align: center;
  font-size: 32px;
  line-height: 72px;
  background-color: #f6cac8;
  margin-right: 12px;
}

nav.menu.drill ul li a:before {
  display: none;
}

nav.menu.drill ul li a .no {
  display: block;
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  color: #e7281c;
  text-align: center;
  font-size: 16px;
  line-height: 72px;
  background-color: #f6cac8;
  margin-right: 12px;
}

nav.menu ul li a:before {
  content: '';
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: url(../../img/new/common/check_icon.svg) center no-repeat #f6cac8;
  margin-right: 12px;
}

nav.menu {
  position: absolute;
  top: 137px;
  left: 770px;
  z-index: 12;
  width: 606px;
  max-height: 745px;
  box-sizing: border-box;
  overflow-x: visible;
  overflow-y: auto;
}

article {
  width: 646px;
  margin: 0 0 0 32px;
  padding-left: 60px;
  box-sizing: border-box;
  position: relative;
}

article #back_btn {
  width: 46px;
  height: 46px;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../../img/new/common/back_ico.svg) center center/100% auto no-repeat;
  text-indent: 102%;
  white-space: nowrap;
  overflow: hidden;
}

article h1 {
  min-height: 46px;
  font-size: 32px;
  color: #e7281c;
  line-height: 46px;
  padding-left: 52px;
  position: relative;
  font-weight: normal;
  margin: 0 0 26px;
}

article h1:before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 40px;
  vertical-align: middle;
  background: url(../../img/new/common/heart_icon.svg) center no-repeat;
  position: absolute;
  top: 3px;
  left: 0;
}

article#touch h1:before {
  background-image: url(../../img/new/common/keyboard_icon.svg);
}

article#training h1:before {
  background-image: url(../../img/new/common/training_icon.svg);
}

article#roma_short h1:before {
  background-image: url(../../img/new/common/star_icon.svg);
}

article#roma_long h1:before {
  background-image: url(../../img/new/common/thumbsup_icon.svg);
}

article#original h1:before {
  background-image: url(../../img/new/common/logo_h.svg);
}

article .contents_body {
  font-size: 20px;
  line-height: 32px;
}

article .contents_body.exp {
  padding-right: 24px;
}


article#hp h1:before {
  background-image: url(../../img/new/common/keyboard_icon.svg);
}

article#roma_short h1:before {
  background-image: url(../../img/new/common/star_icon.svg);
}

article#roma_long h1:before {
  background-image: url(../../img/new/common/thumbsup_icon.svg);
}

article#it h1:before {
  background-image: url(../../img/new/common/pc_icon.svg);
}

footer small {
  display: block;
}

/*Update header*/
header #user_name {
  font-size: 22px;
  height: 68px;
  line-height: 68px;
  position: absolute;
  top: 0;
  right: 160px;
  z-index: 11;
}

#user_name > span {
  white-space: nowrap;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

.rank_list {
  position: absolute;
  width: 586px;
  right: 32px;
  top: 95px;
}

.header-tab {
  background: #ffffff;
  border-radius: 48px;
  height: 47px;
  position: relative;
  top: 35px;
}

.tab_btn.active {
  background: #e7281c;
  color: #fff;
  box-shadow: 0px 2px 0px 0px #e7281c;
}
.tab_btn {
  width: 50%;
  height: 45px;
  border-radius: 48px;
  background: #ffffff;
  color: #e7281c;
  font-size: 20px;
  line-height: 45px;
  box-sizing: border-box;
  position: relative;
  transition: 0.3s;
  opacity: 1.0;
  text-align: center;
  float: left;
  border: none;
  cursor: pointer;
}

.content-tab {
  background: rgba(230, 111, 0, 0.07);
  padding: 10px;
  padding-top: 55px;
  border-radius: 10px;
  border: 1px solid rgba(255, 181, 42, 0.22);
}

#rank-one, #rank-two {
  display: none;
}
.content-tab .active {
  display: block !important;
}

.rank li {
  display: flex;
  margin-bottom: 8px;
  font-size: 20px;
}

.rank li:not(.label) {
  height: 48px;
  color: #473e3e;
  border-radius: 6px;
  background: #fff;
}

.rank li:not(.label) div {
  line-height: 48px;
}
.rank li div.rank {
  width: 128px;
  padding-left: 12px;
  box-sizing: border-box;
}

.rank li div.name {
  flex-grow: 1;
}

.rank li div.score {
  width: 68px;
  padding-right: 12px;
}

.rank li.highlight {
  background: #e7281c;
  color: #fff;
}

nav.menu ul li a.clear:after {
  content: '';
  display: block;
  width: 42px;
  height: 42px;
  background: url(../../img/new/common/star_icon_yellow.svg) center/100% auto no-repeat;
  position: absolute;
  top: -3px;
  left: 54px;
  transform: rotate(-8deg);
}

nav.menu.num ul li a.deactive .no {
  background: #d9d9d9;
  color: #c6c6c6;
}


nav.menu ul li a .progress span {
  font-size: 18px;
}

footer {
  display: block;
  width: 192px;
  height: 14px;
  background: url(../../img/new/common/pwd_etyping_logo.svg) center center/100% 100% no-repeat;
  position: absolute;
  bottom: 10px;
  left: 18px;
  text-indent: 102%;
  white-space: nowrap;
  overflow: hidden;
}

nav.menu ul li.training a:before {
  background-image: url(../../img/new/common/training_icon.svg);
}

article h1 .cat {
  font-size: 18px;
}

article h1.sub {
  line-height: 32px;
}