
/*:::::::::::::::
base
:::::::::::::::*/
/* frame */
.main {
  padding-top: 50px;
}
@media (min-width: 768px) {
  .main {
    padding-top: 0;
  }
}
.containere {
  width: 92%;
  margin-inline: auto;
  max-width: 1080px;
}
.p-product,
.p-project,
.p-movie,
.contact,
#footer {
  padding: 0;
  padding-block: clamp(70px, 9.2vw, 90px);
  text-align: center;
}
/* テキスト */
@media (max-width: 480px) {
  .c-left-sp {
    text-align: left;
  }
  .u-hidden-sp {
    display: none;
  }
}
@media (min-width: 480px) {
  .u-hidden-pc {
    display: none;
  }
}
/* 余白付与 */
.u-mt-sss {
  margin-top: clamp(5px, 9.2vw, 10px);
}
.u-mt-ss {
  margin-top: clamp(10px, 9.2vw, 15px);
}
.u-mt-s {
  margin-top: clamp(20px, 9.2vw, 30px);
}
.u-mt-m {
  margin-top: clamp(30px, 9.2vw, 40px);
}
.u-mt-l {
  margin-top: clamp(40px, 9.2vw, 50px);
}
.u-mt-xl {
  margin-top: clamp(50px, 9.2vw, 60px);
}
/* img */
.p-product .c-title img,
.p-project .c-title img,
.p-movie .c-title img {
  width: 100%;
  display: block;
  margin-inline: auto;
  max-height: 42px;
}
img.c-base {
  width: 100%;
  display: block;
  margin-inline: auto;
}
img.c-base.u-h-16 {
  max-height: 16px;
}
img.c-base.u-h-42 {
  max-height: 42px;
}
img.c-base.u-h-66 {
  max-height: 66px;
}
img.c-base.u-h-90 {
  max-height: 90px;
}
img.c-base.u-w-340 {
  max-width: 340px;
}
img.c-base.u-w-480 {
  max-width: 480px;
}
img.c-base.u-w-540 {
  max-width: 540px;
}
img.c-base.u-w-720 {
  max-width: 720px;
}
/* ボタン */
.c-button {
  display: inline-block;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  transition: all .3s;
  cursor: pointer;
  line-height: 0;
}
.c-button:hover {
  transform: scale(1.1, 1.1);
  opacity: 1;
}
/* 影付与 */
.u-shadow {
  filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.4));
}

/*:::::::::::::::
ページナビ
:::::::::::::::*/
.p-bdnavi {
  background-color: black;
  color: white;
  padding: 0;
  padding-block: clamp(50px, 9.2vw, 70px);
  text-align: center;
  width: 100%;
}
.p-bdnavi-card {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 662px) {
  .p-bdnavi-card {
    width: 90%;
    margin-inline: auto;
  }
  .p-bdnavi-card-list:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 10px);
    margin-inline: auto;
  }
}
@media (min-width: 662px) {
  .p-bdnavi-card {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
/*:::::::::::::::
メイン画像
:::::::::::::::*/
.p-main {
  background-color: black;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
@media (max-width: 662px) {
.p-main {
  aspect-ratio: 16 / 14
}
}
@media (min-width: 992px) {
  .p-main {
    aspect-ratio: inherit;
    max-height: 620px;
  }
}
/* タイトル画像 */
/* タイトル画像 */
.p-main-img {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 960px;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
}
.p-main-img .u-bg {
  width: 130%;
  height: 130%;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 992px) {
  .p-main-img .u-bg {
  width: 100%;
  height: 100%;
}
}
.p-main-img .u-blackthunder {
  position: absolute;
  bottom:5%;
  right: 5%;
  width: 25%;
}
@media (min-width: 992px) {
  .p-main-img .u-blackthunder {
    bottom:15%;
    right: 0;
  }
}
.p-main-img .u-copy {
  position: absolute;
  top:5%;
  left: 5%;
  width: 30%;
}
@media (min-width: 992px) {
  .p-main-img .u-copy {
  left: 0;
}
}
.p-main-img .u-item {
  position: absolute;
  top:48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45%;
  max-width: 430px;
}
@media (max-width: 662px) {
.p-main-img img.u-item {
  top: 48%;
  left: 53%;
  width: 68%;
}
}
/* スクロール */
.p-main-scroll {
  position: absolute;
  z-index: 100;
  right: 20px;
  bottom: 140px;
}
@media (max-width: 480px) {
  .p-main-scroll {
    display: none;
  }
}
.p-main-scroll-inner {
  position: relative;
}
.p-main-scroll-inner::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 26px;
  width: 1px;
  height: 100px;
  margin: auto;
  background: #B2B2B2;
}
.p-main-scroll-inner::after {
  border-radius: 100%;
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  width: 7px;
  height: 7px;
  margin-left: -4px;
  background-color: #E41B24;
  -webkit-animation: sdb 2s infinite;
  animation: sdb 2s infinite;
}
/*:::::::::::::::
BACKDOOR PROJECT とは
:::::::::::::::*/
.p-bdabout {
  background-color: #282828;
  color: white;
  padding: 0;
  padding-block: 50px;
  width: 100%;
}
@media (min-width: 768px) {
  .p-bdabout {
    padding-block: 40px;
  }
}
.p-bdabout-group {
  display: flex;
  gap: 20px;
  align-items: center;
}
@media (max-width: 768px) {
  .p-bdabout-group {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .p-bdabout-group-txt {
    width: 100%;
  }
}
.p-bdabout-group-txt h2 {
  font-family: 'Castoro', serif;
  font-size: clamp(1.75rem, 0.813rem + 2.08vw, 2.375rem);
  display: flex;
  gap: 0 10px;
  align-items: baseline;
  flex-wrap: wrap;
}
.p-bdabout-group-txt h2 .small {
  font-size: clamp(1.125rem, 0.188rem + 2.08vw, 1.75rem);
}
@media (min-width: 780px) {
  .p-bdabout-group-txt h2 .big {
    font-size: clamp(2.375rem, 1.438rem + 2.08vw, 3rem);
  }
}
.p-bdabout-group-txt p {
  font-size: clamp(1rem, 0.813rem + 0.42vw, 1.125rem);
}
.p-bdabout-group-btn {
  margin-left: auto;
}
@media (max-width: 768px) {
  .p-bdabout-group-btn {
    line-height: 1.8;
  }
}
.p-bdabout-group-btn p a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 50px;
  background: #666;
  color: #FFF;
}
@media (max-width: 768px) {
  .p-bdabout-group-btn {
    width: 100%;
  }
  .p-bdabout-group-btn p {
    margin-inline: auto;
    text-align: center;
  }
  .p-bdabout-group-btn p a {
    width: 50%;
    margin: auto;
    letter-spacing: 1px;
  }
}
/*:::::::::::::::
outline
:::::::::::::::*/
.p-outline {
  color: white;
  text-align: center;
  position: relative;
  width: 100%;
}
/* txt */
.p-outline p {
  line-height: 2;
}
/* オーバーレイ画像 */
.p-outline-overlay img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 992px) {
  .p-outline .p-outline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
  }
  .p-outline-overlay img {
    height: 100%;
  }
}
/* コンテンツ */
.p-outline .p-outline-img img {
  max-width: clamp(180px, -73.6px + 33.02vw, 250px);
}
@media (max-width: 992px) {
  .p-outline-overlay img {
    aspect-ratio: 16 / 9;
  }
}
@media (max-width: 662px) {
  .p-outline-overlay img {
    aspect-ratio: 16 / 12;
  }
}
@media (min-width: 992px) {
  .p-outline .containere {
    position: relative;
    z-index: 100;
    padding-block: clamp(1.875rem, -4.721rem + 10.64vw, 3.125rem);
    text-align: left;
    aspect-ratio: 16 / 9;
  }
  .p-outline .p-outline-txt {
    position: absolute;
    right: 0;
    bottom: clamp(1.875rem, -1.423rem + 5.32vw, 2.5rem);
  }
  .p-outline .p-outline-img img {
    margin-inline: inherit;
  }
}
@media (max-width: 992px) {
  .p-outline .p-outline-img,
  .p-outline .p-outline-txt {
    margin-top: clamp(30px, 9.2vw, 40px);
  }
}
/*:::::::::::::::
product
:::::::::::::::*/
.p-product {
  color: white;
}
/* txt */
.p-product .c-title-item {
  font-size: clamp(1.25rem, 0.393rem + 1.79vw, 1.5rem);
  line-height: 1.6;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}
.p-product strong {
  display: block;
}
/* スライド */
.p-product .p-product-slide {
  max-width: 540px;
  margin-inline: auto;
}
.p-product .p-product-slide .thumbnail-img {
  opacity: .5;
  transition: opacity .3s linear;
  cursor: pointer;
}
.p-product .p-product-slide .thumbnail-img.slick-current {
  opacity: 1;
}
.p-product .p-product-slide .slider-dt-thumbnail .slick-track {
  display: flex;
  gap: 20px;
  width: 100% !important;
  margin-top: 20px;
}
@media (max-width: 768px) {
.p-product .p-product-slide .slider-dt-thumbnail .slick-track {
  gap: 10px;
  margin-top: 10px;
}
}
.p-product .p-product-slide .slider-dt-thumbnail .slick-track:before,
.p-product .p-product-slide .slider-dt-thumbnail .slick-track:after {
  content: none;
}
.p-product .p-product-slide .slider-dt-thumbnail .slick-track .thumbnail-img {
  width: 100% !important;
  float: none;
}
/*:::::::::::::::
project
:::::::::::::::*/
.p-project {
  background-color: #ffe300;
  color: black;
}
/* txt */
.p-project .c-cacthcopy {
  font-size: clamp(1.625rem, -0.518rem + 4.46vw, 2.25rem);
  line-height: 1.3;
  text-align: center;
  font-weight: 900;
}
/* ボタン */
.p-project .c-button img {
  display: block;
  max-height: 66px;
  height: auto;
}
/*:::::::::::::::
movie
:::::::::::::::*/
.p-movie {
  color: white;
}
.p-movie .p-movie-group {
  display: grid;
  gap: 30px;
  margin-inline: auto;
  grid-template-columns: 1fr;
  max-width: 500px;
}
@media (min-width: 992px) {
  .p-movie .p-movie-group:has(> :nth-child(2)) {
    grid-template-columns: 1fr 1fr;
    max-width: inherit;
  }
}
.p-movie-group-list {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.p-movie-group-list iframe {
  width: 100%;
  height: 100%;
}
/*:::::::::::::::
contact
:::::::::::::::*/
.containere {
  width: 92%;
  margin-inline: auto;
  max-width: 1080px;
}
.contact_inner .c-title {
  font-family: "游明朝", "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  font-size: clamp(2.5rem, -1.786rem + 8.93vw, 3.75rem);
  line-height: 1;
  text-align: center;
  font-weight: 600;
  margin-bottom: 30px;
}
.contact_inner .c-title.u-title-white {
  color: white;
}
.contact_inner .contact__send {
  margin-bottom: 30px;
}
.contact_inner .grecaptcha-badge {
  margin-inline: auto;
}
/*:::::::::::::::
footer
:::::::::::::::*/
#footer .footer__logo {
  margin-bottom: 40px;
}
/*:::::::::::::::
keyframes
:::::::::::::::*/
@-webkit-keyframes sdb {
  0% {
    -webkit-transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    -webkit-transform: translate(0, 100px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 100px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* =========================================
     アニメーション設定：メイン短縮・追加10秒版
========================================= */
.color-y1 { fill: #ffe300; }
.color-y2 { fill: #ffff00; }
.bg-svg { overflow: visible; }
.burst-anim {
  transform-origin: center;
  transform-box: fill-box;
  opacity: 0;
  animation: pop-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes pop-in {
  0%   { opacity: 0; transform: scale(0); }
  60%  { opacity: 1; transform: scale(1.1); } 
  100% { opacity: 1; transform: scale(1); }
}
.bolt-anim {
  transform-origin: center;
  transform-box: fill-box;
  opacity: 0;
  animation: 
    bolt-entry-sharp 0.3s cubic-bezier(0.19, 1, 0.22, 1) forwards,
    electric-loop-early 4s 0.3s infinite;
}
.bolt-anim:nth-of-type(2n) { 
  animation-duration: 0.3s, 3.5s;
  animation-delay: 0.05s, 0.35s; 
}
.bolt-anim:nth-of-type(3n) { 
  animation-duration: 0.3s, 5.2s;
  animation-delay: 0.1s, 0.4s; 
}
.bolt-anim:nth-of-type(5n) { 
  animation-duration: 0.3s, 2.8s;
  animation-delay: 0s, 0.3s; 
}
.bolt-anim:nth-of-type(7n) { 
  animation-duration: 0.3s, 8.0s;
  animation-delay: 0s, 0.3s; 
}
@keyframes bolt-entry-sharp {
  0%   { opacity: 0; transform: scale(0.4); } 
  60%  { opacity: 1; transform: scale(1.2); } 
  100% { opacity: 1; transform: scale(1); }   
}
@keyframes electric-loop-early {
  0%   { opacity: 1; transform: scale(1); filter: brightness(1); }
  10%  { opacity: 0.3; transform: scale(0.95); }
  12%  { opacity: 1;   transform: scale(1.1); filter: brightness(2); }
  14%  { opacity: 0.3; }
  15%  { opacity: 1;   filter: brightness(1.5); }
  25%  { opacity: 1;   transform: scale(1); filter: brightness(1); }
  100% { opacity: 1;   transform: scale(1); filter: brightness(1); }
}
.bolt-reverse-anim {
  transform-origin: center;
  transform-box: fill-box;
  opacity: 0;
  animation: electric-appear-loop 10s infinite;
  animation-delay: 2s;
}
.bolt-reverse-anim:nth-of-type(2n) { animation-delay: 3.0s; animation-duration: 9.5s; }
.bolt-reverse-anim:nth-of-type(3n) { animation-delay: 5.0s; animation-duration: 11s; }
.bolt-reverse-anim:nth-of-type(5n) { animation-delay: 7.0s; animation-duration: 8.5s; }
.bolt-reverse-anim:nth-of-type(7n) { animation-delay: 9.0s; animation-duration: 13s; }
@keyframes electric-appear-loop {
  0%, 90% { opacity: 0; }
  91%  { opacity: 1; transform: scale(1.1); filter: brightness(2); }
  92%  { opacity: 0.2; }
  93%  { opacity: 1; filter: brightness(1.5); }
  95%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}