@charset "UTF-8";

*, ::after, ::before { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333333;
  text-align: left;
  background-color: #000;
}

img { width: 100%; display: block; }

/* Footer */
footer {
  text-align: center;
  padding: 10px;
  background: #E3C167;
  margin: 70px auto 0;
}
footer span { color: #fff; font-size: 10px; line-height: 1.2; display: block; }
footer a { color: #fff; }

/* Wrapper & Background */
.wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}
.wrapper:before {
  content: "";
  background-color: #0F0A07;
  width: 100%; min-height: 100vh;
  background-size: cover; background-position: top center;
  position: fixed; z-index: -2; top: 0;
}



.typing-container { position: relative; }

/* Tap Reveal System */
.cover-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 20;
  cursor: pointer;
  transition: opacity 0.3s;
}

/* --- タップ後に出現するボタンのスタイル --- */
.after-open-btn {
    display: none;
    width: 120%;   
    margin-left: -10%; /* 左側に調整 */
    margin-top: 0px;
    animation: 
         fadeIn 0.5s ease forwards,
         dokidoki 1.5s infinite 0.5s; 
}

.voice.is-open .after-open-btn { display: block; }
.voice.is-open .cover-layer { display: none; }

/* 鼓動アニメーション */
@keyframes dokidoki {
    0%   { transform: scale(1.0); }
    5%   { transform: scale(1.05); }
    10%  { transform: scale(1.0); }
    15%  { transform: scale(1.05); }
    20%  { transform: scale(1.0); }
    100% { transform: scale(1.0); }
}

/* フェードイン */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn { width: 100%; margin: 3.5% auto 0; }
.btn a { display: block; }
.midashi_btn {
  margin: 0px auto;
  color: #ffffff;
  font-size: 0.4em;
  text-align: center;
  font-weight: bold;
}

.topimg2{
  position: absolute;
  top: 0%;  
  left: 0%; 
  width: 100%; 
  height: auto;
  z-index: 15;
  background: none;
  -webkit-mask-image: radial-gradient(ellipse at center, black 98%, transparent 98%);
  mask-image: radial-gradient(ellipse at center, black 98%, transparent 98%);
  filter: blur(0.4px);
}

/* TOP Video */
.top-visual-box {
  position: relative;
  width: 100%;
  line-height: 0;
}
.top-video {
  position: absolute;
  top: 18.8%;  
  left: 8.4%; 
  width: 35%; 
  height: auto;
  z-index: 10;
  background: none;
  -webkit-mask-image: radial-gradient(ellipse at center, black 98%, transparent 98%);
  mask-image: radial-gradient(ellipse at center, black 98%, transparent 98%);
  filter: blur(0.4px);
}

/* Last Movie */
.last-movie {
  display: block;
  width: 85%; 
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  border: 2.5px solid #ffffff;
}

/* Floating Push Button */
div#push {
  position: fixed;
  bottom: 4%; right: 3%;
  width: 24%;
  z-index: 150;
}
div#push img {
  border-radius: 14px; 
  box-shadow: 0 0 20px rgb(255, 255, 255), 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Slider Adjustment */
.slick-slide img {
  width: 100%;
  margin: 0px auto;
  border-radius: 5px;
}

.slider .slick-slide > div {
  padding: 0 5px;
}




.cp-section {
  position: relative; /* 子要素の absolute 指定の基準にする */
  padding: 0 4.8vw;    /* 20px / 414 */
  margin-bottom: 12vw; /* 50px / 414 */
}

.cp-frame {
  position: relative;
  width: 100%;
}

.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 2px dashed #ffffff;
  padding-bottom: 7px;
}

.marquee-inner {
  display: inline-flex;
  gap: 40px;
  animation: scroll-left 18s linear infinite;
}

.marquee-inner span {
  font-size: 25px;
  font-weight: bold;
  color: #FD0C70;
  padding-right: 40px;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ロゴを枠線の上に被せるテクニック */
.cp-logo {
  position: absolute;
  /* topもvwで指定することで、画面幅に応じた位置を維持 */
  top: -0.2vw; 
  left: 18.5%; 
  width: 9%; 
  height: auto;
  z-index: 10;
}

.cp-header {
  text-align: center;
  margin-bottom: 4.8vw; /* 20px / 414 */
}

.cp-main-title {
  /* フォントサイズを vw に変更 */
  font-size: 5.1vw;    /* 21px / 414 */
  color: #ffffff;
  margin-left: 3.0%;
  text-shadow: 
    0 0 5px rgba(76, 14, 83, 0.6),
    0 0 10px rgba(76, 14, 83, 0.6);
}


.cp-image-box img {
  margin-top: 4%;
  max-width: 37%;
  margin-left: 5%;
  border-radius: 5px;
}

.cp-text-box {
  position: absolute;
  /* 位置がズレる最大要因なので、pxではなくvwや%で調整 */
  top: -2.5vw; 
  left: 50%;
  transform: translateX(-50%);
  width: 110%; 
  height: auto;
  z-index: 5;
}

.cp-text {
  width: 100%;
  height: auto;
}

.text1{
width: 100%;
  display: block;    /* すでに全体設定にあるなら省略可 */
  margin-left: 50%;  /* 一旦、画像の「左端」を親の中央に持ってくる */
  transform: translateX(-50%); /* 画像の「自分の幅の半分」だけ左に戻す */
  
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 5%;
}