@charset "UTF-8";
:root {
  --video-height-pc: 50vw;
}

/* variables */
/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
  box-sizing: border-box;
}

/*
  2. Remove default margin
*/
* {
  margin: 0;
}

/*
  Typographic tweaks!
  3. Add accessible line-height
  4. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image: url(../media/abstract-background-with-colorful-lights.jpg);
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-color: #EA74FA;
  font-family: "M PLUS Rounded 1c", sans-serif;
  margin: 0;
  padding: 0;
}

/*
  5. Improve media defaults
*/
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/*
  6. Remove built-in form typography styles
*/
input, button, textarea, select {
  font: inherit;
}

/*
  7. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/*
  8. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

/* components */
.button {
  background-color: #FF0080;
  text-align: center;
  display: block;
  width: 60%;
  min-width: 200px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 20px;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
}
@media screen and (max-width: 768px) {
  .button {
    font-size: 1rem;
    width: 80%;
  }
}
.button:hover {
  background-color: #FF0080;
  opacity: 0.9;
}

header {
  width: 1000px;
  display: flex;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  header {
    width: 100%;
  }
}
header .header-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
header .header-container .header-logo {
  background-color: rgba(28, 27, 28, 0.941);
  width: 180px;
  display: flex;
  align-items: center;
  padding: 20px 30px;
}
header .header-container .header-logo img {
  width: 100%;
}
@media screen and (max-width: 768px) {
  header .header-container .header-logo {
    width: 40%;
  }
}
header .header-container .header-translate {
  display: flex;
  background-color: rgba(28, 27, 28, 0.941);
  align-items: center;
  padding: 10px 30px;
  color: rgb(243, 243, 243);
}
@media screen and (max-width: 768px) {
  header .header-container .header-translate {
    width: 55%;
    padding: 10px;
  }
}
@media screen and (min-width: 769px) {
  header .header-container .header-translate {
    width: 400px;
  }
}
header .header-container .header-translate #google_translate_element {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  header .header-container .header-translate #google_translate_element {
    justify-content: flex-start;
  }
}
header .header-container .header-translate #google_translate_element .goog-te-gadget {
  font-family: "M PLUS Rounded 1c", sans-serif;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}
header .header-container .header-translate #google_translate_element .goog-te-gadget span {
  margin-left: 10px;
}
header .header-container .header-translate #google_translate_element .goog-te-gadget .goog-te-combo {
  background-color: rgba(28, 27, 28, 0.941);
  border: 1px solid #FF0080;
  color: rgb(243, 243, 243);
  padding: 5px 10px;
  border-radius: 5px;
  appearance: none;
  -webkit-appearance: none;
  background-image: none;
}
@media screen and (max-width: 768px) {
  header .header-container .header-translate #google_translate_element .goog-te-gadget .goog-te-combo {
    width: 100px;
  }
}
header .header-container .header-translate #google_translate_element .goog-te-gadget .goog-te-combo:hover {
  border-color: #FF0080;
  opacity: 0.9;
}
header .header-container .header-translate #google_translate_element .goog-te-gadget .goog-te-combo option {
  background-color: rgba(28, 27, 28, 0.941);
  color: rgb(243, 243, 243);
}

main {
  width: 1000px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  /* ヒーローイメージの上のオーバーレイの位置は右端、大きさは親要素の20%にする */
}
@media screen and (max-width: 768px) {
  main {
    width: 100%;
  }
}
main .hero-image {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: 20px;
}
@media screen and (min-width: 769px) {
  main .hero-image {
    height: 650px;
    aspect-ratio: 16/9;
  }
}
@media screen and (max-width: 768px) {
  main .hero-image {
    height: 350px;
    aspect-ratio: 1/1;
  }
}
main .hero-image .hero-image-container {
  position: absolute;
  width: 100%;
  height: 100%;
}
main .hero-image .video-area {
  position: absolute;
  width: 100%;
  height: 100%;
}
main .hero-image .video-area video {
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: none;
  max-height: none;
}
@media screen and (max-width: 768px) {
  main .hero-image .video-area video {
    width: 110%;
    height: 110%;
  }
}
main .hero-image .hero-image-overlay {
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
  position: absolute;
}
@media screen and (min-width: 769px) {
  main .hero-image .hero-image-overlay {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
@media screen and (max-width: 768px) {
  main .hero-image .hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    align-items: center;
  }
}
main .hero-image .hero-image-overlay .hero-image-overlay-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
main .hero-image .hero-image-overlay .hero-image-overlay-content p {
  font-size: 1rem;
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
  main .hero-image .hero-image-overlay .hero-image-overlay-content p {
    font-size: 0.8rem;
    margin-top: 10px;
  }
}
main .hero-image .hero-image-overlay .hero-image-overlay-content .title-karaon {
  margin-top: 20px;
}
@media screen and (min-width: 769px) {
  main .hero-image .hero-image-overlay .hero-image-overlay-content .title-karaon {
    width: 200px;
  }
}
@media screen and (max-width: 768px) {
  main .hero-image .hero-image-overlay .hero-image-overlay-content .title-karaon {
    width: 40%;
    margin-top: 10px;
  }
}
@media screen and (min-width: 769px) {
  main .hero-image .hero-image-overlay .logo-karaokedotonline {
    height: 150px;
  }
}
@media screen and (max-width: 768px) {
  main .hero-image .hero-image-overlay .logo-karaokedotonline {
    width: 30%;
  }
}
main .notifications {
  width: 100%;
  color: rgb(243, 243, 243);
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}
@media screen and (max-width: 768px) {
  main .notifications {
    flex-direction: column;
    gap: 20px;
  }
}
main .notifications .notifications-content {
  width: 50%;
  background-color: rgba(28, 27, 28, 0.941);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  main .notifications .notifications-content {
    width: 96%;
    margin: 0 auto;
  }
}
main .notifications p {
  font-size: 1.5rem;
  text-align: center;
}
main .features {
  width: 100%;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: rgb(243, 243, 243);
  background-color: rgba(28, 27, 28, 0.941);
  background-image: url(../media/section-bg.png);
  background-repeat: no-repeat;
  background-position: left top;
  padding: 50px;
}
@media screen and (max-width: 768px) {
  main .features {
    width: 96%;
    margin-left: auto;
    margin-right: auto;
    background-size: 40px;
    padding: 30px;
  }
}
main .features h3 {
  font-weight: normal;
  font-size: 2rem;
  text-align: center;
  color: rgb(243, 243, 243);
  margin-bottom: 40px;
}
main .features h3 span {
  color: #EA74FA;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  main .features h3 {
    font-size: 1.2rem;
  }
}
main .features p {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 768px) {
  main .features p {
    font-size: 0.8rem;
  }
}
main .features .features-content {
  width: 100%;
}
main .features .features-content .features-content-video {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  margin: 20px auto;
  position: relative;
}
main .features .features-content .features-content-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
main .features .features-content-2 {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2%;
  flex-wrap: wrap;
}
@media screen and (max-width: 768px) {
  main .features .features-content-2 {
    flex-direction: column;
    gap: 20px;
  }
}
main .features .features-content-2 .feature-with-baloon-on-image {
  width: 48%;
  position: relative;
}
@media screen and (max-width: 768px) {
  main .features .features-content-2 .feature-with-baloon-on-image {
    width: 100%;
  }
}
main .features .features-content-2 .feature-with-baloon-on-image img {
  width: 70%;
  margin-left: auto;
}
main .features .features-content-2 .feature-with-baloon-on-image .feature-with-baloon-on-image-text {
  font-weight: bold;
  width: 65%;
  position: absolute;
  top: 50%;
  color: black;
  right: 50%;
  transform: translate(10%, -50%);
  background-color: white;
  padding: 20px;
  text-align: center;
  box-shadow: 8px 8px 0 #EA74FA;
}
main .features .features-content-2 .feature-with-baloon-on-image .feature-with-baloon-on-image-text p {
  margin-bottom: 0px;
}
@media screen and (max-width: 768px) {
  main .features .features-content-2 .feature-with-baloon-on-image .feature-with-baloon-on-image-text {
    width: 60%;
    font-size: 12px;
    padding: 10px;
  }
}
main .features .features-content-2 .feature-with-baloon-on-image:nth-child(2n) {
  left: 0;
}
main .features .features-content-2 .feature-with-baloon-on-image:nth-child(2n) img {
  margin-right: auto;
  margin-left: 0;
}
main .features .features-content-2 .feature-with-baloon-on-image:nth-child(2n) .feature-with-baloon-on-image-text {
  right: 0;
  left: 50%;
  transform: translate(-10%, -50%);
}
main .features .features-content-3 {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 5%;
}
main .features .features-content-3 .features-content-3-image:nth-child(2) {
  width: 50%;
}
@media screen and (max-width: 768px) {
  main .features .features-content-3 {
    flex-direction: column;
    align-items: center;
  }
  main .features .features-content-3 .features-content-3-image:nth-child(2) {
    order: -1;
    width: 80%;
  }
}
main .features .features-content-3 .features-content-3-image {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
@media screen and (max-width: 768px) {
  main .features .features-content-3 .features-content-3-image {
    flex-direction: row;
    width: 100%;
    margin-bottom: 30px;
  }
}
main .features .features-content-3 .features-content-3-image .features-content-3-image-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}
main .features .features-content-3 .features-content-3-image p {
  font-size: 1.5rem;
  text-align: center;
  margin-top: 20px;
}
main .features .features-content-3 .features-content-3-image p:nth-child(2) {
  font-size: 0.9rem;
  margin-bottom: 40px;
}
main .features .features-content-3 .features-content-3-image img {
  width: 100%;
}
@media screen and (max-width: 768px) {
  main .features .features-content-3 .features-content-3-image img {
    width: 50%;
  }
}
main .features .features-content-3 .features-content-3-image.comic {
  margin-bottom: 30px;
}
main .features .features-content-3 .features-content-3-image.comic img {
  width: auto;
  max-height: 80vh;
}

.gallery {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}

.gallery-main {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.gallery-main-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9のアスペクト比 */
}

.gallery-main-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-main-image img.active {
  opacity: 1;
}

/* ナビゲーションボタン */
.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.gallery-prev:hover,
.gallery-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.gallery-prev {
  left: 20px;
}

.gallery-next {
  right: 20px;
}

/* サムネイルコンテナ */
.gallery-thumbs-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

/* サムネイル */
.gallery-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: nowrap;
  padding: 0 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 10px 0;
  width: 100%;
  max-width: 800px; /* サムネイル全体の最大幅を制限 */
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  flex: 0 0 80px;
  height: 60px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  opacity: 0.6;
}

.gallery-thumb.active {
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .gallery-thumb {
    width: 60px;
    height: 45px;
  }
  .gallery-prev,
  .gallery-next {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}
footer {
  width: 1000px;
  color: rgb(243, 243, 243);
  background-color: rgba(28, 27, 28, 0.941);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
}
@media screen and (max-width: 768px) {
  footer {
    width: 100%;
  }
}
footer p {
  font-size: 0.8rem;
}
