@charset "UTF-8";

/* CSS Document */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: #fff;
}

img {
  max-width: 100%;
}

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

.tabs {
  display: flex;
  margin-bottom: 0;
  width: 100%;
  max-width: 1140px;
  margin: auto;
}

.tabs li {
  width: 100%;
  border-radius: 15px 15px 0 0;
  background: #999;
  list-style-type: none;
  padding: 10px 0;
  text-align: center;
  border-left: solid 1px #fff;
  border-right: solid 1px #fff;
}

.tabs li a {
  color: #fff;
  text-decoration: none;
}

.tabs li.active {
  background-color: #000;
}

.lang-select {
  text-align: right;
  margin-bottom: 2%;

}

.lang-select select {
  font-size: 18px;
  background: none;
  border: none;
  color: #fff;
}

.container {
  max-width: 1170px;
  margin: auto;
  padding: 1rem;
}

.logo {
  text-align: center;
  padding: 10% 0;
}

.logo img {
  max-width: 300px;
}

.logo h2 {
  font-size: 1rem;
  margin-top: 1rem;
}

.screenshot,
.banner {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 1rem;
  height: auto;
}

.input-group {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2%;
}

.input-group input {
  flex: 1 1 70%;
  padding: 20px;
  border-radius: 5px 0 0 5px;
  border: none;
  min-width: 0;
  font-size: 16px;
}

button {
  flex: 1 1 30%;
  padding: 20px 0;
  background-color: #e91e63;
  border: none;
  color: #fff;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  font-size: 16px;
}

.reset-button {
  width: 100%;
  padding: 20px 0;
  background-color: #666;
  border: none;
  color: #fff;
  margin-bottom: 1rem;
  border-radius: 5px;
}

.share-buttons {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.share-buttons button {
  background-color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.section {
  background-color: #fff;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  color: #000;
}

.section h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.section ol {
  list-style: none;
  counter-reset: number;
}

.section ol li {
  position: relative;
  padding-left: 40px;
}

.section ol li::before {
  counter-increment: number;
  content: '（' counter(number) '）';
  position: absolute;
  left: 0;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  color: #fff;
}

footer button {
  padding: 0.5rem;
  background-color: #777;
  border: none;
  color: #fff;
  border-radius: 5px;
  max-width: 600px;
  display: block;
  margin: .5rem auto;
}

footer img {
  width: 250px;
}

.advertisement {
  margin-bottom: 2%;
  text-align: center;
}

.share-buttons button i {
  font-size: 3rem;
}

.share-buttons button.line_btn {
  background: #00B900;
  color: #fff;
}

.share-buttons button.x_btn {
  background: #fff;
}

.sort {
  display: flex;
  justify-content: space-between;
}

.sort_data li {
  width: 32%;
}

.sort_rank li {
  width: 49%;
}

.sort li {
  background: #999;
  text-align: center;
  color: #fff;
  font-size: 15px;
  border-radius: 10px;
  padding: 3% 0;
}

.sort li img {
  width: 50%;
  display: block;
  margin: 5px auto;
}

.sort li.sort_active {
  background: #ed1e79;
}

.sort li a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.submit_btn {
  padding: 10px 0;
  background-color: #ed1e79;
  border: none;
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
  text-align: center;
  display: block;
  text-decoration: none;
}

.image_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.image_list li {
  width: 19%;
}

.image_group {
  position: relative;
  text-align: center;
}

.image_group img {
  border-radius: 5px;
}

.image_tag {
  position: absolute;
  right: 0;
  top: 0;
  background: #c1272d;
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 5px 10px;
  border-radius: 0 5px 0 5px;
}

/*==========================
PC common
==============================*/
@media screen and (min-width: 768px) {
  .pc_w_600 {
    width: 600px;
    margin: 0 auto;
  }

  .pc_url_box {
    display: flex;
    justify-content: space-between;
  }

  .sort li {
    padding: 1% 0;
  }

  .w_80 {
    width: 80%;
  }

  .w_50 {
    width: 49%;
  }

  .w_70 {
    width: 69%;
  }

  .w_60 {
    width: 59%;
  }

  .w_40 {
    width: 40%;
  }

  .w_30 {
    width: 30%;
  }

  .w_20 {
    width: 19%;
  }
}

/*==========================
SP common
==============================*/
@media (max-width: 480px) {
  .tabs {
    justify-content: center;
  }

  .tab-button {
    flex: 1 1 30%;
    text-align: center;
  }

  /*.input-group input, .input-group button {
    flex: 1 1 100%;
    border-radius: 5px;
    margin-bottom: 2%;
  }*/
  .image_list li {
    width: 48%;
  }
}

/* Custom */
.video-list-item .item-image {
  position: relative;
}
.video-list-item .link-icon {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 30px;
  height: 30px;
  z-index: 10;
  background: black;
  border-radius: 50%;
  overflow: hidden;
  padding: 5px;
  border: 1px solid #acacac63;
  object-position: center;
  object-fit: cover;
  transition: 0.3s ease;
}
.video-list-item .link-icon:hover {
  box-shadow: 0px 0px 6px 2px #ffffff;
}
.video-list-item .link-icon img {
  display: block;
  width: 100%;
}
.extraction-result {
  text-align: center;
  padding: 10px;
  margin: 0 0 15px;
  background: #e6f8e2;
  color: #333;
  border-radius: 6px;
}
.extraction-result .msg {
  font-size: 16px;
  font-weight: bold;
  color: green;
  margin: 0 0 10px;
}
.extraction-result .video-download-btn {
  display: inline-block;
  padding: 8px 20px;
  background-color: #00B900;
  color: white;
  cursor: pointer;
  text-decoration: none;
  font-size: 16px;
}