@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Darumadrop+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Yomogi&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Zen Maru Gothic", sans-serif;

  background-color: #ff9acb;
  background-image: linear-gradient(
    180deg,
    #fff5fa 0%,
    #ffd1e8 34.9%,
    #ffb6d5 65.1%,
    #ff9acb 100%
  );
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;

  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

/* 泡 */
.bg-bubbles::before,
.bg-bubbles::after {
  content: "";
  position: fixed;
  inset: 0;

  background-image:
    radial-gradient(circle, rgba(255,255,255,0.6) 2px, transparent 3px),
    radial-gradient(circle, rgba(255,255,255,0.4) 3px, transparent 4px),
    radial-gradient(circle, rgba(255,255,255,0.25) 4px, transparent 6px);

  background-size:
    120px 120px,
    180px 180px,
    260px 260px;

  animation: bubbles-up 14s linear infinite;
  pointer-events: none;
  z-index: -1;
}

.bg-bubbles::after {
  opacity: 0.5;
  animation-duration: 22s;
}

@keyframes bubbles-up {
  from {
    background-position:
      0 100%,
      40px 120%,
      80px 140%;
  }
  to {
    background-position:
      0 -200%,
      40px -220%,
      80px -240%;
  }
}

/* タイトル */
.title-fresh,
.title-fresh:link,
.title-fresh:visited {
  font-family: "Darumadrop One", sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  display: block;
  text-align: center;
  letter-spacing: 3px;

  text-shadow:
    0 0 6px rgba(255,150,210,0.7),
    0 0 16px rgba(180,220,255,0.5);

  transition: transform 0.3s ease, color 0.3s ease;
}

/* かわいい */
puku {
  color: #ff6fb5;
  font-family: 'Luckiest Guy', cursive;
  font-size: 26px;
}

pink {
  color: #ff6fb5;
  font-family: 'Yomogi', cursive;
  font-size: 13px;
}

/* ネオン */
.neon-text {
  color: #ff9acb;
  text-shadow:
    0 0 6px #ff69b4,
    0 0 14px #ff1493,
    0 0 30px #ff1493;
}

/* ふわふわ */
@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.float {
  animation: float 3.5s ease-in-out infinite;
}

/* ボックス */
.box {
  max-width: 480px;
  padding: 20px 24px;
  margin: 30px auto;

  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);

  border-radius: 18px;
  border: 1.5px solid rgba(255, 200, 230, 0.6);

  box-shadow:
    0 8px 24px rgba(255, 120, 180, 0.25),
    inset 0 0 20px rgba(255, 255, 255, 0.4);

  color: #c71585;
  font-size: 12px;
  line-height: 1.8;
}

/* 折りたたみ */
.fa-details {
  max-width: 420px;
  margin: 20px auto;
}

.fa-summary {
  list-style: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 14px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;

  font-size: 12px;
  position: relative;
}

.fa-summary::-webkit-details-marker {
  display: none;
}

.fa-summary i {
  font-size: 18px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ハート切り替え */
.icon-heart {
  opacity: 1;
  color: #ff6fb5;
}

.icon-heart-open {
  opacity: 0;
  position: absolute;
  left: 14px;
  color: #ff1493;
}

.fa-details[open] .icon-heart {
  opacity: 0;
  transform: scale(0.7);
}

.fa-details[open] .icon-heart-open {
  opacity: 1;
  animation: pop 0.4s ease;
  text-shadow:
    0 0 6px #ff69b4,
    0 0 14px #ff1493;
}

@keyframes pop {
  0%   { transform: scale(0.6); }
  60%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.fa-content {
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.7;
}

/* なうぷれ */
.marquee-box {
  width: 320px;
  padding: 12px 0;
  margin: 20px auto;

  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);

  border-radius: 22px;
  border: 2px solid #ffd6f0;

  box-shadow:
    0 0 10px rgba(255, 150, 220, 0.8),
    0 0 22px rgba(200, 180, 255, 0.6),
    inset 0 0 12px rgba(255, 255, 255, 0.7);

  overflow: hidden;
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  color: #c71585;
  padding-left: 100%;
  animation: marquee 12s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* 区切り線 */
.divider-line {
  position: relative;
  width: 280px;
  height: 2px;
  margin: 50px auto;

  background: linear-gradient(
    to right,
    transparent,
    #ff69b4,
    transparent
  );

  box-shadow: 0 0 8px rgba(255,105,180,.8);
}

.divider-line::before {
  content: "\f004";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;

  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);

  font-size: 20px;
  color: #fff;

  text-shadow:
    0 0 10px #ff69b4,
    0 0 24px #ff1493;
}
