
@font-face{
  font-family: "NotoSansJP";
  font-style: normal;
  font-weight: normal;
  font-weight: 400;
  src: url('../fonts/NotoSansJP/NotoSansCJKjp-Regular.woff2') format("woff2"),
       url('../fonts/NotoSansJP/NotoSansCJKjp-Regular.woff') format("woff");
}
@font-face{
  font-family: "NotoSansJP";
  font-style: normal;
  font-weight: bold;
  font-weight: 700;
  src: url('../fonts/NotoSansJP/NotoSansCJKjp-Bold.woff2') format("woff2"),
       url('../fonts/NotoSansJP/NotoSansCJKjp-Bold.woff') format("woff");
}

@font-face{
  font-family:'RakutenSansUI';
  font-style: normal;
  font-weight: normal;
  font-weight: 400;
  src: url('../fonts/RakutenSans/RakutenSansUI_W_Rg.woff2') format("woff2"),
       url('../fonts/RakutenSans/RakutenSansUI_W_Rg.woff') format("woff");
}

@font-face{
  font-family:'RakutenSansUI';
  font-style: normal;
  font-weight: bold;
  font-weight: 700;
  src:url('../fonts/RakutenSans/RakutenSansUI_W_Bd.woff2') format("woff2"),
      url('../fonts/RakutenSans/RakutenSansUI_W_Bd.woff') format("woff");
}

body{
  font-family: "NotoSansJP";
}

footer{
  font-family:'RakutenSansUI';
}

  h1, h2, h3, hr, ul, li, p ,ul ,ol ,li , body {
    margin: 0;
    padding: 0;
  }

  header{
    line-height: 1.1;
    margin: 0 auto 40px;
    width: calc(100% - 120px);
    max-width: 1320px;
    padding: 17px 0 14px;
    font-size: 82%;
    border-bottom: 1px #BF0000 solid;
  }

  h1 {
    color: #BF0000;
    font-size: 30px;
    font-weight: normal;
    margin-top: 16px;
    line-height: 160%;
    display: inline-block;
  }

  h2 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 8px;
  }
  h2 .title_bold {
    font-weight: bold;
  }

  h2 .title_short {
    line-height: 160%;
  }

  .error-inner {
    padding: 0 60px;
    overflow: hidden;
    word-wrap: break-word
  }

  .errorPage {
    display: flex;
    position: relative;
    max-width: 872px;
    min-height: 250px;
    margin: 0 auto;
    padding-left: 350px;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .errorPage img {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 285px;
  }

  .errorPage_short {
    display: flex;
    position: relative;
    max-width: 872px;
    min-height: 250px;
    margin: 0 auto;
    padding-left: 350px;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .errorPage_short img {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 285px;
  }

  #errorTxt {
    display: block;
    line-height: 160%;
    align-self: center;
  }

  h2.error_title {
    margin-top: 16px;
    font-size: 16px;
    line-height: 160%;
    font-weight: bold;
  }
  .error_text {
    margin-top: 22px;
    font-size: 16px;
    line-height: 160%;
  }
  .error_text_short {
    font-size: 16px;
    line-height: 160%;
  }

  .btn {
    text-align: left;
    margin-top: 30px;
  }
  .btn a {
    display: inline-block;
    text-decoration: none;
    align-items: center;
    border-radius: 4px;
    background-color: #BF0000;
    color: #FFF;
    padding: 8px 16px;
    font-size: 16px;
    line-height: 24px;
  }
  .btn a:hover {
    background-color: #8C0000;
  }
  .btn a:active{
    background-color: #590000;
  }

  .errorInfo {
    max-width: 872px;
    margin: auto;
    background: #F7F7F7;
    border-radius: 12px;
    margin-top: 60px;
    overflow: hidden;
    zoom: 1;
  }

  .errorInfo p {
    overflow: hidden;
    margin: 24px;
    font-size: 16px;
    line-height: 24px;
    zoom: 1;
  }

  .errorInfo:before {
    display: inline-flexbox;
    float: left;
    margin: 24px 14px 0 28px;
    content: url('../img/error/Info_Outline.svg');
  }

  .error_browser {
    display: flex;
    margin: 56px auto 0;
    max-width: 872px;
    justify-content: space-between;
  }

  .visible-sp {
    display: none!important;
  }

  .howto_list {
    list-style-position: inside;
    margin-top: 16px;
  }

  .howto_list li {
    text-indent: -1em;
    padding-left: 1em;
    font-size: 14px;
    margin-bottom: 3px;
    font-size: 14px;
    line-height: 24px;
  }

  ul.howto_list li {
    position: relative;
    list-style: none;
    text-indent: 0;
  }
  ul.howto_list li:before {
    position: absolute;
    left: 0;
    top: 0.7em;
    content: "";
    color: #bf0000;
    width: 5px;
    height: 5px;
    background: #bf0000;
    border-radius: 50%;
  }
  .howto {
    padding-top: 48px;
  }

  .howto_short_list {
    list-style-position: inside;
    margin-top: 16px;
  }

  .howto_short_list li {
    text-indent: -1em;
    padding-left: 1em;
    font-size: 14px;
    margin-bottom: 3px;
    font-size: 14px;
    line-height: 24px;
  }

  ul.howto_short_list li {
    position: relative;
    list-style: none;
    text-indent: 0;
  }
  ul.howto_short_list li:before {
    position: absolute;
    left: 0;
    top: 0.7em;
    content: "";
    color: #bf0000;
    width: 5px;
    height: 5px;
    background: #bf0000;
    border-radius: 50%;
  }
  .howto_short {
    padding-top: 45px;
  }
  .error_browser .howto {
    padding-top: 0;
    position: relative;
    width: calc(50% - 30px);
  }
  .error_browser .howto:first-child:after {
    position: absolute;
    top: 0;
    right: -30px;
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    background: #bf0000;

  }

  .error_access {
    display: flex;
    margin: 56px auto;
    max-width: 872px;
  }

  .error_access h3{
    font-weight: 100;
  }

  .error_access li {
    color: #BF0000;
  }

  .error_access span{
    color: #000000;
  }

  .help {
    text-align: center;
    margin-top: 70px;
    font-size: 14px;
  }

  .help a {
    color: #BF0000;
  }

  .help a:hover {
    color: #8C0000;
  }

  .help a:active {
    text-decoration: none;
  }

  #footer  {
    width: 100vw;
    margin-top: 62px;
    margin-bottom: 45px;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
  }

  #footer_short {
    width: 100vw;
    margin-top: 62px;
    margin-bottom: 45px;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
  }

.langSelect {
    display: block;
    position: relative;
    overflow: visible;
    cursor: pointer;
}
.langSelect p {
    position: absolute;
    bottom: 5px;
    right: -2px;
    color: #686868;
    border: 2px solid #ffffff;
    border-radius: 4px;
    width: 76px;
    height: 24px;
    line-height:24px;
    text-align: center;
    font-size: 12px;
    text-decoration: none;
}
.langSelect p::before {
	display: inline-block;
	content: "";
	width: 20px;
	height: 20px;
	line-height: 1.6em;
	vertical-align: bottom;
  background-image: url(../img/error/world_icon.svg);
  background-repeat: no-repeat;
}
.langSelect p::after {
	display: inline-block;
	content: "";
	width: 12px;
	height: 20px;
	line-height: 1.6em;
	vertical-align: bottom;
  background-image: url(../img/error/arrow_icon.svg);
  background-repeat: no-repeat;
}

.zh p {
  width: 86px;
}

.langSelect p:hover {
  background: #F7F7F7;
}
.langSelect p:active {
color: #bf0000;
background: #F7F7F7;
border: 2px solid #BF0000;
border-radius: 4px;
}
.langSelect p:active::before  {
  background-image: url(../img/error/world_icon_red.svg);
}
.langSelect p:active::after {
  background-image: url(../img/error/arrow_icon_red.svg);
}

.langAction {
  background: #BF0000;
  color: #FFFFFF!important;
}
.langAction::before {
  background-image: url(../img/error/world_icon_white.svg)!important;
}
.langAction::after {
  background-image: url(../img/error/arrow_icon_white.svg)!important;
}
.langAction:hover {
  background: #BF0000!important;
}
.langAction:active {
  background: #F7F7F7!important;
  color: #BF0000!important;
}
.langAction:active::before {
  background-image: url(../img/error/world_icon_red.svg)!important;
}
.langAction:active::after {
  background-image: url(../img/error/arrow_icon_red.svg)!important;
}

.langSelect ul {
    display: none;
    position: absolute;
    right: -1px;
    width: 160px;
    height: 156px;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0px;
    border: 1px solid #EBEBEB;
    background:#FFFFFF;
    border-radius: 4px;
    z-index: 2;
}
.langSelect li {
    float: none;
    display: block;
    margin: 0;
    padding: 0;
    border-bottom: 4px solid #ffffff;
    font-size: 14px;
    line-height: 21px;
}
.langSelect li:last-child {
    border: none;
}
.langSelect li a {
    display: block;
    padding: 8px 20px 7px 16px;
    text-decoration: none;
    background:#FFFFFF;
    font-size: 14px;
    color: #686868;
}
.langSelect li a.active {
    font-weight: bold;
    color: #BF0000;
    background-position: 10px -25px;
    background: url(../img/error/check.svg) 137px 10px no-repeat;
}
.langSelect li a:hover{
    background: #BF0000;
    color: #FFFFFF;
}
.langSelect li a:focus{
  background:#FFFFFF;
  color: #686868;
}

  @media screen and (max-width:767px) {
    header{
      width: 92%;
      margin: 0 15px;
    }
    header img {
      width: 91px;
      height: auto;
    }
    h1 {
      margin: 9px 0 0 0;
      line-height: 160%;
    }
    h2{
      margin-bottom: 12px;
    }

  .error-inner {
    padding: 0 15px;
  }

    .errorCase {
      margin-top: 30px;
      border-top: 1px #BF0000 solid;
    }
    .errorPage {
      display: block;
      max-width: 872px;
      margin: 0 auto;
      padding: 0;
    }
    .errorPage img {
      position: relative;
      top: 0;
      left: 0;
      transform: none;
      margin: 24px auto 0;
      width: 285px;
    }

    .errorPage_short {
      display: block;
      max-width: 872px;
      margin: 0 auto;
      padding: 0;
    }
    .errorPage_short img {
      position: relative;
      top: 0;
      left: 0;
      transform: none;
      margin: 24px auto 0;
      width: 285px;
    }

    h2.error_title {
      margin-top: 40px;
      line-height: 1.3;
      font-weight: bold
    }

    .btn {
      text-align: center;
      margin-top: 30px;
    }

    .sp .btn a:hover , .sp .btn a:active {
      background-color: #bf0000;
    }
    .errorInfo {
      margin-top: 24px;
    }
    .errorInfo:before {
      margin: 24px 10px 0 21px;
    }

    .error_browser {
      display: block;
      margin-top: 24px;
    }
    .visible-pc {
      display: none!important;
    }
    .visible-sp {
      display: block!important;
    }

    .howto {
      margin-top: 24px;
      padding: 24px 0;
      border-top: 1px #bf0000 solid;
    }
    .error_browser .howto {
      width: 100%;
      padding: 24px 0 0;
      border-top: 1px #D1D1D1 solid;
    }
    .howto:first-child {
      border: none;
      padding-top: 0;
    }
    .howto:last-child {
      padding-bottom: 0;
    }
    .error_browser .howto:first-child:after {
      display: none;
    }
    .howto_list li {
      line-height: 20px;
    }

    .howto_short {
      margin-top: 27px;
      padding: 27px 0;
      border-top: 1px #bf0000 solid;
    }
    .error_browser .howto_short {
      width: 100%;
      padding: 24px 0 0;
      border-top: 1px #D1D1D1 solid;
    }
    .howto_short:first-child {
      border: none;
      padding-top: 0;
    }
    .howto_short:last-child {
      padding-bottom: 0;
    }
    .error_browser .howto_short:first-child:after {
      display: none;
    }
    .howto_short_list li {
      line-height: 20px;
    }

    .help {
      text-align: left;
      margin: 32px 0 0;
    }

    .sp .help a:hover {
      color: #bf0000;
    }

    .help a:active {
      text-decoration: underline;
    }
    #footer {
      margin: 48px auto 40px;
    }
    #footer_short {
      margin: 41px auto 44px;
    }

    .langSelect {
      top: 2px;
      overflow: visible;
    }
    .langSelect li{
      overflow: visible;
    }
    .langSelect p:hover {
      background: #FFFFFF;
    }
  }
