@font-face {
  font-family: 'Arimo';
  src: url('assets/Arimo-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NotoSerifJP';
  src: url('assets/NotoSerifJP.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NotoSansJP';
  src: url('assets/NotoSansJP-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Arimo', sans-serif;
  background: url("images/intermissionL.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  min-height: 1024px;
  overflow-x: hidden;
  position: relative;
}
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,1);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader.fade-out {
  opacity: 0;
  visibility: hidden;
}
.loader img {
  max-width: 950px;
  max-height: 950px;
}

body.dark-mode {
  background: url("images/intermissionD.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.credits-container {
  padding: 220px 60px 100px 60px;
  max-width: 600px;
}

.credits-section {
  margin-bottom: 30px;
}

.section-title {
  font-size: 14px;
  font-weight: bold;
  color: #000;
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
}

body.dark-mode .section-title {
  color: #fff;
}

.credit-item {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  margin-left: 20px;
}

.credit-name {
  font-size: 14px;
  color: #000;
  margin-right: 8px;
}

body.dark-mode .credit-name {
  color: #fff;
}

.info-link {
  color: #000;
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.3s ease;
}

body.dark-mode .info-link {
  color: #fff;
}

.info-link:hover {
  opacity: 0.6;
}

.v6_60 {
  width: 100%;
  height: 162px;
  background: url("images/v6_60.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 24px 64px;
  margin: 16px;
  opacity: 1;
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
}
.v6_61 {
  width: 253px;
  height: 114px;
  background: url("images/v6_61.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 1;
  position: absolute;
  top: 50px;
  left: 64px;
  overflow: hidden;
}
.v6_62 {
  width: 976px;
  height: 46px;
  background: url("images/v6_62.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  margin: 32px;
  opacity: 1;
  position: absolute;
  top: 58px;
  left: 400px;
  overflow: hidden;
}
.v6_63 {
  width: 120px;
  height: 46px;
  background: url("images/vhome.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  position: absolute;
  top: 0px;
  left: 0px;
  opacity: 1;
  cursor: pointer;
}
.v6_64 {
  width: 120px;
  height: 46px;
  background: url("images/vstudio.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  position: absolute;
  top: 0px;
  left: 180px;
  opacity: 1;
}
.v6_65 {
  width: 120px;
  height: 46px;
  background: url("images/vpress.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  position: absolute;
  top: 0px;
  left: 360px;
  opacity: 1;
}
.v6_66 {
  width: 120px;
  height: 46px;
  background: url("images/vcontact.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  position: absolute;
  top: 0px;
  left: 540px;
  opacity: 1;
}

.v6_67 {
  width: 120px;
  height: 46px;
  background: url("images/lm.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  position: absolute;
  top: 0px;
  left: 720px;
  opacity: 1;
  cursor: pointer;
}

.v6_38 {
  width: 100%;
  height: 50px;
  background: rgba(255,37,183,1);
  opacity: 1;
  position: absolute;
  top: 1022px;
  left: 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
}
.v6_39 {
  position: relative;
  margin: 0;
  margin-right: 60px;
}
.v6_40 {
  position: relative;
  margin: 0;
}
.v6_41 {
  color: rgba(0,0,0,1);
  font-family: NotoSansJP;
  font-weight: Semi Bold;
  font-size: 16px;
  white-space: nowrap;
}

body.dark-mode .v6_41 {
  color: rgba(255,255,255,1);
}

.v6_42 {
  width: 221px;
  height: 25px;
  position: relative;
  display: flex;
  align-items: center;
}
.v6_43 {
  width: 25px;
  height: 25px;
  background: url("images/v6_43.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: absolute;
  top: 0px;
  left: -110px;
  overflow: hidden;
  cursor: pointer;
  transition: filter 0.3s ease;
}
.v6_43:hover {
  filter: invert(1);
}
.v6_44 {
  width: 25px;
  height: 25px;
  background: url("images/v6_44.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: absolute;
  top: 0px;
  left: -61px;
  overflow: hidden;
  cursor: pointer;
  transition: filter 0.3s ease;
}
.v6_44:hover {
  filter: invert(1);
}
.v6_45 {
  width: 25px;
  height: 25px;
  background: url("images/v6_45.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: absolute;
  top: 0px;
  left: -12px;
  overflow: hidden;
  cursor: pointer;
  transition: filter 0.3s ease;
}
.v6_45:hover {
  filter: invert(1);
}
.v6_46 {
  width: 25px;
  height: 25px;
  background: url("images/v6_46.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: absolute;
  top: 0px;
  left: 37px;
  overflow: hidden;
  cursor: pointer;
  transition: filter 0.3s ease;
}
.v6_46:hover {
  filter: invert(1);
}
.v6_47 {
  width: 25px;
  height: 25px;
  background: url("images/v6_47.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: relative;
  top: 0px;
  left: 86px;
  overflow: hidden;
  cursor: pointer;
  transition: filter 0.3s ease;
}
.v6_47:hover {
  filter: invert(1);
}

.cookie-declaration-container {
  position: absolute;
  left: 45%;
  transform: translateX(-50%);
}

.cookie-declaration-btn {
  background: none;
  border: none;
  color: rgba(0,0,0,1);
  font-family: NotoSansJP;
  font-weight: Semi Bold;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

body.dark-mode .cookie-declaration-btn {
  color: rgba(255,255,255,1);
}

.cookie-declaration-btn:hover {
  opacity: 0.7;
}

.cookie-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cookie-popup {
  width: 600px;
  max-width: 90%;
  background: url("images/vcookie.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  overflow: hidden;
  animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  padding: 40px;
  box-sizing: border-box;
}

@keyframes popIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.cookie-popup-header {
  padding: 16px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cookie-popup-title {
  font-family: NotoSansJP;
  font-weight: bold;
  font-size: 24px;
  color: white;
  letter-spacing: 1px;
}

.cookie-popup-content {
  padding: 20px 40px;
  max-width: 100%;
  box-sizing: border-box;
}

.cookie-text {
  font-family: NotoSansJP;
  font-size: 16px;
  line-height: 1.6;
  color: white;
  margin: 0 0 24px 0;
  word-wrap: break-word;
}

.cookie-text-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: white;
  margin: 24px 0 0 0;
  word-wrap: break-word;
}

.cookie-popup-footer {
  padding: 20px 0px;
  text-align: center;
}

.cookie-ok-btn {
  cursor: pointer;
  max-width: 200px;
}