@charset "UTF-8";

/* ============================================
   基本設定 (Reset & Base)
   ============================================ */
*,
::after,
::before {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: #333333;
  text-align: left;
  background-color: #000;
  overflow-x: hidden;
}

img {
  width: 100%;
  vertical-align: bottom; /* 画像下の隙間対策 */
}

/* ============================================
   レイアウト・背景 (Wrapper & Background)
   ============================================ */
.wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh; /* height:100vhだとスマホで切れることがあるためmin-height推奨 */
  z-index: 1;
  margin-top: 10px;
  margin-bottom: -20px;
}

/* 背景画像（奥） */
.wrapper:before {
  content: "";
  background-image: url(https://koiroom.net/mume/imgs/tn02_backimg.png);
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: top center;
  position: fixed;
  z-index: -2;
  top: 0;
}

/* 背景ノイズテクスチャ（手前） */
.wrapper:after {
  content: "";
  background-image: url(https://koiroom.net/mume/imgs/tn02_backimg.png);
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: top center;
  position: fixed;
  top: 0;
  z-index: -1;
}

/* トップ画像 */
.topimg {
  margin-top: -10px;
  display: block;
}

/* ============================================
   スライダー設定 (Slick Slider)
   ※修正済み：ガタつき・見切れ防止版
   ============================================ */
.slider {
  overflow: hidden; /* 本体からはみ出しは隠す */
  padding: 0;
}

/* スライダーのレーン：Flexbox化して上下中央揃え */
.slider .slick-track {
  display: flex !important;
  align-items: center !important;
}

/* スライド表示エリア：影が見切れないように上下に余裕を持たせる */
.slider .slick-list {
  overflow: visible !important;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

/* スライド個別の設定 */
.slider .slick-slide {
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  outline: none; /* フォーカス時の枠線を消す */
}

/* スライド内の画像設定 */
.slider .slick-slide img {
  width: 83%;        /* 画像サイズ */
  height: auto;
  margin: 0 !important; /* 隙間の原因となるマージンを排除 */
  display: block !important;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  border: solid 2px #fff;
}

/* 背景のグラデーションリング（装飾用） */
.slider div::before {
  content: "";
  position: absolute;
  width: 91%;
  height: 91%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 1;
  box-shadow: none;
  pointer-events: none;
}

/* ============================================
   吹き出し・メッセージ (Voice & Chat)
   ============================================ */
.voice {
  width: 100%;
  margin: 0 auto 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.voice02 { margin-top: 30px; }
.voice03 { margin-bottom: 40px; }

/* アイコン部分 */
.fukidashi_icon {
  width: 36%;
  margin: -6px 0 0 26px;
  padding-left: 0;
}

.fukidashi_icon img {
  opacity: 1;
  filter: drop-shadow(0px 0px 8px rgba(255, 255, 255, 0.9));
}

/* テキスト部分（枠） */
.fukidashi_text {
  width: 50%;
  margin: 0 3.52% 0 1%;
  padding-left: 10px;
  position: relative; /* 入力中アイコンの基準 */
}

.hukidashi {
  border: 10px #fff;
}

/* --- 入力中アニメーション関連 --- */
.typing-container {
  position: relative;
  width: 100%;
  height: auto;
}

.typing-icon {
  display: block;
  width: 100%;
  height: auto;
  animation: slow-blink 2s infinite ease-in-out;
}

/* 各吹き出しの遅延設定 */
.typing-icon.typing-01 { animation-delay: 0s; }
.typing-icon.typing-02 { animation-delay: 1s; }
.typing-icon.typing-03 { animation-delay: 2s; }

@keyframes slow-blink {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

/* ============================================
   動画・オーバーレイレイアウト (Video & Overlay)
   ============================================ */
/* 重ね合わせコンテナ共通 */
.overlap-container,
.overlap-container-2 {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

/* 横並び・動画ボックス */
.videobox {
  width: 100%;
  position: relative;
  margin: 0 10px 10px;
}

/* テキスト装飾 */
.videobox p,
.videobox p2,
.videobox p4 {
  position: absolute;
  color: #ffffff;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
}
.videobox p { top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 0.7em; }
.videobox p2 { bottom: 10px; left: 10px; font-size: 0.7em; }
.videobox p2 online { font-size: 1.2em; color: #00ff00; }
.videobox p4 { bottom: 10px; right: 10px; font-size: 0.8em; }

/* 動画・画像スタイル */
.videobox > img:first-child {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 10;
}

video {
  width: 170px;
  height: 170px;
  background: #000000;
  border-radius: 10px;
  box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
}

/* --- Overlay: Loveline (ハートの線) --- */
.loveline-overlay {
  position: absolute;
  width: 30%;
  height: auto;
  z-index: 20;
  opacity: 0; /* アニメーション開始前は非表示 */
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

/* 1人目の配置 */
.liveimg1 {
  position: relative;
  transform: translateX(-25px);
  width: 80%;
  right: 3%;
}
.liveimg1 .loveline-overlay {
  top: 20%;
  right: 8%;
  left: auto;
}

/* 2人目の配置 */
.lovegif2 {
  margin-top: -40px;
}
.loveimg2 {
  position: relative;
  transform: translateX(10px);
  width: 80%;
  margin-top: 30px;
  left: 5%;
}
.loveimg2 .loveline-overlay {
  top: 9%;
  left: 5%;
  right: auto;
}

/* --- Overlay: Kou (効果音文字) --- */
.overlay-kou1 {
  position: absolute;
  z-index: 50;
  top: 47.1%;
  left: 10.7%;
  width: 28%;
  max-width: 150px;
  height: auto;
  transform: translate(5%, 5%);
}

.overlay-kou2 {
  position: absolute;
  z-index: 50;
  top: 43.7%;
  right: 9.8%;
  left: auto;
  width: 27%;
  max-width: 150px;
  height: auto;
  transform: translate(-5%, 5%);
}

/* GIF動画エリア */
.lovegif {
  width: 75%;
  display: block;
  margin: 0 auto;
  position: relative;
}
.lovegif video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
  max-width: none;
}

/* ============================================
   ボタン・見出し・その他 (Buttons & Headings)
   ============================================ */
.btn {
  width: 86%;
  margin: 3.5% auto 0;
}
.btn a {
  display: block;
}

.midashi1 {
  margin: 0 auto;
  color: #ffffff;
  font-size: 1.2em;
  text-align: center;
  font-weight: bold;
}

.midashi_btn {
  margin: 0 auto;
  color: #ffffff;
  font-size: 0.8em;
  text-align: center;
  font-weight: bold;
}

.mentext {
  margin-top: 15px;
  margin-bottom: -10px;
}

.yokonarabe,
.yokonarabe_btn {
  width: 84%;
  display: flex;
  justify-content: center;
  margin: 0 10px;
}

/* 三角形（使用箇所不明だが維持） */
.triangle {
  width: 0;
  height: 0;
  margin: 0 auto;
  border-style: solid;
  border-right: 80px solid transparent;
  border-left: 80px solid transparent;
  border-bottom: 0;
  opacity: 0.7;
}

/* ============================================
   追尾ボタン (Floating Button)
   ============================================ */
div#push {
  position: fixed;
  bottom: 4%;
  right: 3%;
  width: 24%;
  z-index: 150;
  margin: 0;
  padding: 0;
}

div#push a {
  display: block;
  line-height: 0;
  padding: 0;
  margin: 0;
}

div#push img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 
    0 0 10px rgba(255, 255, 255, 0.7),
    0 15px 30px rgba(0, 0, 0, 0.7),
    0 5px 5px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
}

/* ============================================
   アニメーション (Animations)
   ============================================ */
/* ボタンのドキドキ */
.dokidoki {
  animation: dokidoki 1.5s infinite;
}

@keyframes dokidoki {
  0% { transform: scale(1.05); }
  5% { transform: scale(1); }
  50% { -webkit-transform: scale(1.05); }
  55% { transform: scale(1); }
  90% { -webkit-transform: scale(1.05); }
  95% { transform: scale(1); }
  100% { -webkit-transform: scale(1.05); }
}

/* ============================================
   フッター (Footer)
   ============================================ */
footer {
  text-align: center;
  padding: 10px;
  background: #E24C9B;
  margin: 50px auto 0;
}

footer span {
  color: #fff;
  font-size: 10px;
  line-height: 1.2;
  display: block;
}

footer a {
  color: #fff;
}

.clearfix:after {
  content: "";
  clear: both;
  display: block;
}