body {
  overflow-x: hidden;
}

.header-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  margin-bottom: 45px;
  background: #000;
  text-align: center;
}

.header-404 .logo-404 img {
  display: block;
  width: 107px;
}

.l-404-inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-404 {
  padding-bottom: 50px;
  background: url(../images/404/bg_main_pc.jpg) no-repeat center bottom;
  background-size: cover;
  color: #fff;
  text-align: center;
}

.main-404__content {
  display: table;
  position: relative;
  min-height: 127px;
  margin: 0 auto;
}

.main-404__title {
  margin-bottom: 43px;
}

.main-404__title--cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  min-height: 127px;
  overflow: hidden;
}

.is-animation .main-404__title--cover {
  -webkit-animation: telop 3.8s linear forwards;
          animation: telop 3.8s linear forwards;
}

.main-404__title--cover img {
  max-width: none;
}

.is-animation-end .main-404__title--cover img {
  max-width: 100%;
}

.main-404__title::after {
  display: block;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 81px;
  overflow: hidden;
  -webkit-transform: translate(-7px, -7px);
          transform: translate(-7px, -7px);
  background: url(../images/404/img_main_bar_pc.png) no-repeat center bottom;
  content: "";
  transition: opacity .3s linear;
}

.is-animation .main-404__title::after {
  -webkit-animation: telop-bar 3.8s linear forwards;
          animation: telop-bar 3.8s linear forwards;
}

.is-animation-end .main-404__title::after {
  opacity: 0;
}

.main-404__text {
  font-size: 1.6rem;
  line-height: 1.875;
}

@-webkit-keyframes telop {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes telop {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@-webkit-keyframes telop-bar {
  from {
    left: 0;
  }
  to {
    left: 100%;
  }
}

@keyframes telop-bar {
  from {
    left: 0;
  }
  to {
    left: 100%;
  }
}

.l-404-contents {
  padding-top: 50px;
  color: #000;
}

.l-404-contents .service-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.l-404-contents .service-list__item {
  width: 25%;
  padding: 0 10px;
  text-align: center;
}

.l-404-contents .service-link {
  display: block;
}

.l-404-contents .service-link__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  padding: 8px;
  border: 2px solid;
  border-radius: 8px;
  transition: opacity 0.2s ease;
}

.l-404-contents .service-link__logo img {
  max-height: 100%;
}

.l-404-contents .service-link--dam .service-link__logo {
  border-color: #c7000a;
}

.l-404-contents .service-link--damtomo .service-link__logo {
  border-color: #8bb929;
}

.l-404-contents .service-link--karaokeatdam .service-link__logo {
  border-color: #e02222;
}

.l-404-contents .service-link--damkashi .service-link__logo {
  border-color: #f07f0e;
}

.l-404-contents .service-link--dam .service-link__logo img {
  width: 110px;
}

.l-404-contents .service-link--damtomo .service-link__logo img {
  width: 186px;
}

.l-404-contents .service-link--karaokeatdam .service-link__logo img {
  width: 202px;
}

.l-404-contents .service-link--damkashi .service-link__logo img {
  width: 166px;
}

.l-404-contents .service-link__caption {
  display: inline-block;
  position: relative;
  margin-top: 5px;
  padding-left: 21px;
  font-weight: bold;
  line-height: 1.42857;
}

.l-404-contents .service-link__caption::before {
  display: block;
  position: absolute;
  top: 2px;
  left: 0;
  width: 15px;
  height: 15px;
  background: url(../images/404/icon_link.png) no-repeat left top;
  background-size: contain;
  vertical-align: baseline;
  content: "";
}

.l-404-contents .service-link:hover .service-link__logo {
  opacity: 0.6;
}

.l-404-contents .service-link:hover .service-link__caption {
  text-decoration: underline;
}

.l-404-contents .button-list {
  display: flex;
  align-items: center;
  justify-content: center;
}

.l-404-contents .button-list__item {
  min-width: 300px;
}

.l-404-contents .service-title {
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: bold;
}

.l-404-contents .service-title--dam {
  color: #c7000a;
}

.l-404-contents .service-title--damtomo {
  color: #8bb929;
}

.l-404-contents .service-title--karaokeatdam {
  color: #e02222;
}

.l-404-contents .service-title--damkashi {
  color: #f07f0e;
}

.l-404-contents .contents-title {
  margin-bottom: 12px;
  padding: 0 10px;
  background: #eeeeee;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 26px;
}

.l-404-contents .contents-row {
  display: flex;
  margin: 0 -20px;
}

.l-404-contents .contents-col {
  padding: 0 20px;
}

.l-404-contents .contents-col.col-1 {
  width: 33.333%;
}

.l-404-contents .contents-col.col-2 {
  width: 66.666%;
}

.section-404 {
  margin-top: 0;
  margin-bottom: 70px;
}

.section-404__title {
  margin-bottom: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid #707070;
  font-weight: bold;
  line-height: 1.42857;
}

.section-404-contents {
  margin-bottom: 30px;
}

.section-404-contents + .section-404-contents {
  padding-top: 35px;
  border-top: 1px dashed #cccccc;
}

.section-404-contents .link-list-wrap {
  display: flex;
}

.section-404-contents .link-list-wrap .link-list {
  width: 50%;
}

.section-404-contents .link-list {
  margin-bottom: 35px;
  padding: 0 5px;
}

.section-404-contents .link-list__item {
  margin-bottom: 10px;
}

.section-404-contents .link-item {
  display: inline-block;
  position: relative;
  padding-left: 25px;
  font-size: 1.6rem;
}

.section-404-contents .link-item:hover {
  text-decoration: underline;
}

.section-404-contents .link-item::before {
  display: block;
  position: absolute;
  top: 2px;
  left: 0;
  width: 15px;
  height: 15px;
  background: url(../images/404/icon_link.png) no-repeat left top;
  background-size: contain;
  vertical-align: baseline;
  content: "";
}

.button-404 {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 1.6rem;
  font-weight: bold;
  transition: opacity 0.2s ease-out;
}

.button-404:hover {
  opacity: 0.65;
}

.button-404::before {
  display: block;
  position: absolute;
  top: 50%;
  left: 20px;
  width: 15px;
  height: 15px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background: url(../images/404/icon_link.png) no-repeat left top;
  background-size: contain;
  content: "";
}

.footer-copyright {
  padding: 7px 0;
  background: #e1e1e1;
  font-size: 1.3rem;
  text-align: center;
}

.search-404 {
  padding: 15px 15px 11px;
  background: #eeeeee;
}

.search-404 .karaokesearch-wrap .form-karaokesearch {
  display: table;
  width: auto;
  margin: 0 auto;
}

.search-404 .karaokesearch-wrap .form-karaokesearch .input-wrap .btn-search {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: absolute;
  top: 50%;
  right: 10px;
  width: 20px;
  height: 20px;
  padding: 0;
  overflow: hidden;
  border: none;
  background: url(../images/404/icon_search.png) no-repeat center center;
  background-color: transparent;
  text-indent: 100%;
  white-space: nowrap;
  cursor: pointer;
}

.search-404 .karaokesearch-wrap .form-karaokesearch .keyword {
  display: block;
  margin: 0 auto;
  padding: 12px 38px 12px 12px;
  border: none;
  border-radius: 4px;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.3);
  font-size: 1.5rem;
}

.search-404 .karaokesearch-wrap .trendwords-wrap {
  margin: 10px 0 0 -5px;
}

.search-404 .karaokesearch-wrap .trendwords-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}

.search-404 .karaokesearch-wrap .trendwords-list .trendwords-term {
  margin: 1px 3px 0 0;
  padding: 2px 5px;
  overflow: hidden;
  background: #c6000b;
  color: #FFF;
  font-size: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-404 .karaokesearch-wrap .trendwords-list .trendwords-item {
  display: block;
  margin: 0 0 4px 0;
  padding-left: 5px;
  font-size: inherit;
}

.search-404 .karaokesearch-wrap .trendwords-list .trendwords-item a {
  display: block;
  max-width: 100%;
  height: 28px;
  padding: 0 15px;
  overflow: hidden;
  border: 1px solid #cccccc;
  border-radius: 14px;
  background: #fff;
  font-size: 1.5rem;
  line-height: 28px;
  text-decoration: underline;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-404 .karaokesearch-wrap .trendwords-list .trendwords-item a:hover {
  text-decoration: none;
}

@media screen and (min-width: 769px) {
  .search-404 .karaokesearch-wrap .form-karaokesearch .keyword {
    width: 640px;
    height: 60px;
  }
}

@media screen and (max-width: 768px) {
  body.page-404 {
    padding-bottom: 0;
    font-size: 1.4rem;
  }
  .header-404 {
    height: 36px;
    margin-bottom: 15px;
  }
  .header-404 .logo-404 img {
    width: 78px;
  }
  .main-404 {
    padding-bottom: 25px;
    background-image: url(../images/404/bg_main_sp.jpg);
  }
  .main-404__inner {
    padding: 0 10px;
  }
  .main-404__content {
    display: block;
    min-height: 0;
  }
  .main-404__title {
    margin-bottom: 10px;
  }
  .main-404__title--cover {
    min-height: 0;
  }
  .main-404__text {
    padding: 0 30px;
    font-size: 1.4rem;
    line-height: 1.57143;
    text-align: left;
  }
  .l-404-contents {
    padding-top: 26px;
  }
  .l-404-contents .service-list {
    margin: 0 -7px;
  }
  .l-404-contents .service-list__item {
    width: 50%;
    padding: 0 7px;
  }
  .l-404-contents .service-list > *:nth-child(n+3) {
    margin-top: 25px;
  }
  .l-404-contents .service-link--dam .service-link__logo img {
    width: 96px;
  }
  .l-404-contents .service-link--damtomo .service-link__logo img {
    width: 130px;
  }
  .l-404-contents .service-link--karaokeatdam .service-link__logo img {
    width: 138px;
  }
  .l-404-contents .service-link--damkashi .service-link__logo img {
    width: 124px;
  }
  .l-404-contents .service-link__caption {
    display: block;
    text-align: left;
  }
  .l-404-contents .contents-title {
    margin-bottom: 5px;
  }
  .l-404-contents .contents-row {
    display: block;
  }
  .l-404-contents .contents-col.col-1 {
    width: auto;
  }
  .l-404-contents .contents-col.col-2 {
    width: auto;
  }
  .section-404 {
    margin-bottom: 40px;
  }
  .section-404__title {
    margin-bottom: 20px;
    padding-bottom: 7px;
  }
  .section-404-contents {
    margin-bottom: 10px;
  }
  .section-404-contents + .section-404-contents {
    padding-top: 0;
    border-top: none;
  }
  .section-404-contents .link-list-wrap {
    display: block;
  }
  .section-404-contents .link-list-wrap .link-list {
    width: auto;
  }
  .section-404-contents .link-list {
    margin-bottom: 30px;
    padding: 0;
  }
  .section-404-contents .link-list__item {
    margin-bottom: 0;
    border-bottom: 1px dashed #cccccc;
  }
  .section-404-contents .link-item {
    display: block;
    padding: 7px 0 7px 35px;
  }
  .section-404-contents .link-item::before {
    top: 12px;
    left: 10px;
  }
  .footer-copyright {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    margin-top: 0;
    padding: 0 10px;
    background: transparent;
    font-size: .9rem;
  }
  .search-404 .karaokesearch-wrap .form-karaokesearch {
    width: 100%;
  }
  .search-404 .karaokesearch-wrap .form-karaokesearch .input-wrap .btn-search {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    top: 50%;
    right: 2px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    background-color: transparent;
    background-size: 20px 20px;
    text-indent: 100%;
    white-space: nowrap;
    cursor: pointer;
  }
  .search-404 .karaokesearch-wrap .form-karaokesearch .keyword {
    width: 100%;
    height: 50px;
    padding: 5px 38px 5px 15px;
    border: none;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.3);
    font-size: 1.3rem;
  }
  .search-404 .karaokesearch-wrap .trendwords-list .trendwords-item a {
    font-size: 1.3rem;
  }
}
