/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Zen Maru Gothic', sans-serif;
  background-color: #FAFAFA;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #FAFAFA;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-left {
  width: 40px;
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-right {
  width: 40px;
  display: flex;
  justify-content: flex-end;
}

.header-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.header-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}

.hamburger {
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #333;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background-color: #FAFAFA;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  border-bottom: 1px solid #eee;
}

.mobile-menu li:last-child {
  border-bottom: none;
}

.mobile-menu a {
  display: block;
  padding: 15px 0;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: #FF83BE;
}

/* Main Content */
.main {
  padding-top: 60px;
  position: relative;
  overflow-x: hidden;
}

/* Phone Animation Section */
.phone-section {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.1em;
  line-height: 1.8;
}

.vertical-text-left {
  text-align: right;
  margin-right: 20px;
  align-self: flex-end;
  margin-bottom: 20px;
}

.vertical-text-right {
  text-align: left;
  margin-left: 20px;
  align-self: flex-start;
  margin-top: 20px;
}

/* Highlight text - turns pink after explosion */
.highlight-text {
  transition: color 0.5s ease;
}

.highlight-text.active {
  color: #FF83BE;
}

/* Spin animation for 動く - spins continuously after explosion */
.spin-text {
  display: inline-block;
}

.spin-text.spinning {
  animation: spin-text 1s linear infinite;
}

@keyframes spin-text {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Pulse animation for 唯一無二 */
.pulse-text {
  display: inline-block;
}

.pulse-text.active {
  animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes pulse-text {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

.marker-pink {
  background: linear-gradient(transparent 40%, #FF83BE 40%, #FF83BE 90%, transparent 90%);
  padding: 0 2px;
}

.marker-blue {
  background: linear-gradient(transparent 40%, #2ACDFF 40%, #2ACDFF 90%, transparent 90%);
  padding: 0 2px;
}

.marker-yellow {
  background: linear-gradient(transparent 40%, #FFF34B 40%, #FFF34B 90%, transparent 90%);
  padding: 0 2px;
}

.phone-container {
  width: 280px;
  height: 560px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.phone-container::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 12px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.animation-canvas {
  width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  overflow: hidden;
  cursor: pointer;
}

/* Liquid Effect */
.liquid-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 5;
}

.liquid {
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 100%;
  background: linear-gradient(180deg,
    rgba(255, 131, 190, 0.7) 0%,
    rgba(255, 131, 190, 0.85) 50%,
    rgba(255, 131, 190, 0.95) 100%
  );
  border-radius: 50% 50% 0 0 / 20px 20px 0 0;
}

.liquid-wave {
  position: absolute;
  top: -15px;
  left: -5%;
  width: 110%;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C150,120 350,0 600,60 C850,120 1050,0 1200,60 L1200,120 L0,120 Z' fill='rgba(255,131,190,0.7)'/%3E%3C/svg%3E") repeat-x;
  background-size: 600px 30px;
  animation: wave 3s linear infinite;
}

.liquid-wave-2 {
  position: absolute;
  top: -10px;
  left: -5%;
  width: 110%;
  height: 25px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C150,0 350,120 600,60 C850,0 1050,120 1200,60 L1200,120 L0,120 Z' fill='rgba(42,205,255,0.5)'/%3E%3C/svg%3E") repeat-x;
  background-size: 800px 25px;
  animation: wave 4s linear infinite reverse;
}

.liquid-wave-3 {
  position: absolute;
  top: -8px;
  left: -5%;
  width: 110%;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C200,100 400,20 600,60 C800,100 1000,20 1200,60 L1200,120 L0,120 Z' fill='rgba(255,243,75,0.4)'/%3E%3C/svg%3E") repeat-x;
  background-size: 500px 20px;
  animation: wave 2.5s linear infinite;
}

@keyframes wave {
  0% { background-position-x: 0; }
  100% { background-position-x: 600px; }
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
  transform: scale(0);
  animation: ripple-effect 0.8s ease-out forwards;
  pointer-events: none;
  z-index: 10;
}

@keyframes ripple-effect {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* Drop Effect */
.drop {
  position: absolute;
  width: 20px;
  height: 20px;
  background: radial-gradient(ellipse at 30% 30%,
    rgba(255,255,255,0.8) 0%,
    rgba(255,131,190,0.9) 50%,
    rgba(255,131,190,1) 100%
  );
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: drop-fall 0.6s ease-in forwards;
  pointer-events: none;
  z-index: 8;
}

@keyframes drop-fall {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(var(--drop-distance)) scale(0.8);
    opacity: 0;
  }
}

/* Splash particles */
.splash {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 131, 190, 0.8);
  border-radius: 50%;
  animation: splash 0.5s ease-out forwards;
  pointer-events: none;
  z-index: 9;
}

@keyframes splash {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--splash-x), var(--splash-y)) scale(0);
    opacity: 0;
  }
}

/* Liquid full state */
.liquid-container.full {
  animation: liquid-overflow 1s ease-in-out;
}

@keyframes liquid-overflow {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-5px); }
  75% { transform: translateY(3px); }
}

/* Explosion Effect - outside phone */
.phone-container {
  overflow: visible;
}

.explosion-particle {
  position: absolute;
  pointer-events: none;
  z-index: 100;
  animation: explode 1s ease-out forwards;
}

.explosion-particle.circle {
  border-radius: 50%;
}

.explosion-particle.square {
  border-radius: 6px;
}

.explosion-particle.triangle {
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  border-left: var(--tri-size) solid transparent;
  border-right: var(--tri-size) solid transparent;
  border-bottom: calc(var(--tri-size) * 1.7) solid var(--shape-color);
}

@keyframes explode {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(var(--ex), var(--ey)) scale(0.5) rotate(var(--rotation));
    opacity: 0;
  }
}

/* Falling shapes - same style as existing shapes */
.falling-shape {
  position: fixed;
  top: 0;
  pointer-events: none;
  z-index: 500;
  will-change: transform;
  animation: shape-fall var(--fall-duration) cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.falling-shape.circle {
  border-radius: 50%;
}

.falling-shape.square {
  border-radius: 8px;
}

.falling-shape.triangle {
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  border-left: var(--tri-size) solid transparent;
  border-right: var(--tri-size) solid transparent;
  border-bottom: calc(var(--tri-size) * 1.7) solid var(--shape-color);
}

@keyframes shape-fall {
  0% {
    transform: translateY(-50px) rotate(0deg);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  100% {
    transform: translateY(var(--fall-distance)) rotate(var(--rotation));
    opacity: 1;
  }
}

/* Bounce shape at footer */
.bounce-shape {
  position: fixed;
  bottom: 60px;
  pointer-events: none;
  z-index: 500;
  will-change: transform;
  animation: bounce-up 0.5s ease-out forwards;
}

.bounce-shape.circle {
  border-radius: 50%;
}

.bounce-shape.square {
  border-radius: 8px;
}

.bounce-shape.triangle {
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  border-left: var(--tri-size) solid transparent;
  border-right: var(--tri-size) solid transparent;
  border-bottom: calc(var(--tri-size) * 1.7) solid var(--shape-color);
}

@keyframes bounce-up {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  30% {
    transform: translateY(-80px) scale(0.8);
    opacity: 0.9;
  }
  60% {
    transform: translateY(-30px) scale(0.5);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0) scale(0);
    opacity: 0;
  }
}

/* Flash effect when explosion happens */
.explosion-flash {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  margin-left: -150px;
  margin-top: -150px;
  background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 70%);
  animation: flash 0.4s ease-out forwards;
  pointer-events: none;
  z-index: 100;
}

@keyframes flash {
  0% {
    opacity: 1;
    transform: scale(0.3);
  }
  100% {
    opacity: 0;
    transform: scale(2.5);
  }
}


.shape {
  position: absolute;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  z-index: 15;
}

/* Circle shapes */
.circle-1 {
  width: 60px;
  height: 60px;
  background: #FF83BE;
  border-radius: 50%;
  top: 15%;
  left: 20%;
  animation: float1 4s infinite;
}

.circle-2 {
  width: 40px;
  height: 40px;
  background: #2ACDFF;
  border-radius: 50%;
  top: 60%;
  right: 15%;
  animation: float2 5s infinite;
}

.circle-3 {
  width: 25px;
  height: 25px;
  background: #FFF34B;
  border-radius: 50%;
  bottom: 25%;
  left: 30%;
  animation: float3 3.5s infinite;
}

.circle-4 {
  width: 35px;
  height: 35px;
  background: rgba(255, 131, 190, 0.5);
  border-radius: 50%;
  top: 40%;
  right: 25%;
  animation: float4 4.5s infinite;
}

/* Square shapes */
.square-1 {
  width: 45px;
  height: 45px;
  background: #2ACDFF;
  border-radius: 8px;
  top: 30%;
  left: 60%;
  animation: rotate1 6s infinite;
}

.square-2 {
  width: 30px;
  height: 30px;
  background: #FFF34B;
  border-radius: 6px;
  bottom: 40%;
  left: 15%;
  animation: rotate2 5s infinite;
}

.square-3 {
  width: 50px;
  height: 50px;
  background: rgba(42, 205, 255, 0.4);
  border-radius: 10px;
  bottom: 15%;
  right: 20%;
  animation: rotate3 7s infinite;
}

/* Triangle shape using borders */
.triangle-1 {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 43px solid #FF83BE;
  top: 70%;
  left: 50%;
  animation: bounce1 3s infinite;
}

.triangle-2 {
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 31px solid rgba(255, 243, 75, 0.7);
  top: 20%;
  right: 20%;
  animation: bounce2 4s infinite;
}

/* Small dots */
.dot-1 {
  width: 12px;
  height: 12px;
  background: #FF83BE;
  border-radius: 50%;
  top: 50%;
  left: 10%;
  animation: pulse1 2s infinite;
}

.dot-2 {
  width: 10px;
  height: 10px;
  background: #2ACDFF;
  border-radius: 50%;
  top: 85%;
  left: 45%;
  animation: pulse2 2.5s infinite;
}

.dot-3 {
  width: 14px;
  height: 14px;
  background: #FFF34B;
  border-radius: 50%;
  top: 10%;
  left: 55%;
  animation: pulse3 1.8s infinite;
}

/* Animations */
@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.1); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-25px, 20px) scale(0.9); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, -20px); }
}

@keyframes float4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-10px, 15px) scale(1.1); }
  75% { transform: translate(10px, -10px) scale(0.95); }
}

@keyframes rotate1 {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes rotate2 {
  0% { transform: rotate(0deg) translate(0, 0); }
  50% { transform: rotate(-180deg) translate(10px, -15px); }
  100% { transform: rotate(-360deg) translate(0, 0); }
}

@keyframes rotate3 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes bounce1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes bounce2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(10deg); }
}

@keyframes pulse1 {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.7; }
}

@keyframes pulse2 {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.8); opacity: 0.5; }
}

@keyframes pulse3 {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* Fade In Animation */
.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Intro Section - Chat Style */
.intro-section {
  padding: 60px 20px;
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
}

.chat-container {
  background: #f0f0f0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Chat Header */
.chat-header {
  background: linear-gradient(135deg, #FF6B9D, #C44569);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-left {
  width: 40px;
}

.chat-back {
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.chat-header-center {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar-small {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-avatar-small img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
}

.chat-header-name {
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.chat-header-status {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.chat-header-right {
  display: flex;
  gap: 16px;
}

.chat-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.chat-header-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
  fill: white;
}

/* Chat Messages */
.chat-messages {
  padding: 16px;
  height: 500px;
  overflow-y: auto;
  overflow-anchor: none;
  background: linear-gradient(180deg, #e5ddd5 0%, #d4c9be 100%);
}

/* Date */
.chat-date {
  text-align: center;
  margin: 10px 0 20px;
}

.chat-date::before {
  content: '';
  display: inline-block;
  background: rgba(0, 0, 0, 0.1);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: #666;
}

.chat-date::before {
  content: '今日';
}

/* Message */
.chat-message {
  display: none;
  margin-bottom: 12px;
}

.chat-message.visible {
  display: flex;
  animation: messageSlideIn 0.4s ease forwards;
}

.chat-message.incoming {
  justify-content: flex-start;
}

.chat-message.outgoing {
  justify-content: flex-end;
}

/* Avatar */
.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  flex-shrink: 0;
  font-size: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chat-avatar img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.chat-message.outgoing .chat-avatar {
  display: none;
}

/* Bubble */
.chat-bubble {
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 18px;
  position: relative;
  word-wrap: break-word;
}

.chat-message.incoming .chat-bubble {
  background: white;
  border-top-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chat-message.outgoing .chat-bubble {
  background: #dcf8c6;
  border-top-right-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chat-bubble p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.chat-bubble strong {
  color: #FF6B9D;
}

/* Time & Read */
.chat-time {
  font-size: 11px;
  color: #999;
  margin-left: 8px;
  white-space: nowrap;
}

.chat-read {
  font-size: 11px;
  color: #34b7f1;
  margin-left: 4px;
}

.chat-bubble > .chat-time,
.chat-bubble > .chat-read {
  float: right;
  margin-top: 4px;
}

/* Image Bubble */
.chat-bubble-image {
  padding: 4px;
  max-width: 100%;
}

.chat-bubble-image img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.chat-image-caption {
  padding: 8px 10px 4px;
  font-size: 14px;
}

/* Typing Indicator */
.chat-typing {
  display: flex;
  align-items: center;
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.chat-typing.visible {
  opacity: 1;
}

.typing-indicator {
  background: white;
  padding: 12px 16px;
  border-radius: 18px;
  border-top-left-radius: 4px;
  display: flex;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: #999;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typingBounce {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Message animations */
@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-message.visible {
  animation: messageSlideIn 0.4s ease forwards;
}

/* Scrollbar */
.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

/* Chat Logo Link */
.chat-bubble-link {
  padding: 8px;
}

.chat-logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 16px;
  background: linear-gradient(135deg, #fff5f8, #fff);
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-logo-link:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.chat-logo-link img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 8px;
}

.chat-logo-link span {
  font-size: 13px;
  color: #FF6B9D;
  font-weight: 500;
}

/* Chat Keyboard */
.chat-keyboard {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
}

.chat-input-area {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border-radius: 24px;
  padding: 8px 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.chat-input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.chat-input-icon:hover {
  opacity: 0.8;
}

.chat-input-icon svg {
  width: 22px;
  height: 22px;
  stroke: #666;
}

.chat-input {
  flex: 1;
  min-height: 20px;
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #333;
}

.chat-input-text {
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-cursor {
  width: 2px;
  height: 18px;
  background: #FF6B9D;
  animation: cursorBlink 1s infinite;
  margin-left: 1px;
}

@keyframes cursorBlink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.chat-send-wrapper {
  position: relative;
}

.chat-send-hint {
  position: absolute;
  bottom: 100%;
  right: 0;
  background: #333;
  color: white;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.chat-send-hint::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 16px;
  border: 6px solid transparent;
  border-top-color: #333;
}

.chat-send-hint.visible {
  opacity: 1;
  transform: translateY(0);
  animation: hintBounce 1s ease infinite;
}

@keyframes hintBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.chat-send-btn {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #FF6B9D, #C44569);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.4);
}

.chat-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.5);
}

.chat-send-btn.sending {
  animation: sendPulse 0.3s ease;
}

.chat-send-btn.ready {
  animation: readyPulse 1s ease infinite;
}

@keyframes readyPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.4);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(255, 107, 157, 0.6);
  }
}

@keyframes sendPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.chat-send-btn svg {
  width: 22px;
  height: 22px;
  fill: white;
  margin-left: 2px;
}

/* Features Section */
.features-section {
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.features-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

.features-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* 3D Dice */
.dice-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dice-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  perspective: 600px;
  position: relative;
}

.dice {
  width: 80px;
  height: 80px;
  position: relative;
  transform-style: preserve-3d;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.dice-face {
  position: absolute;
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 12px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.dice-dot {
  width: 14px;
  height: 14px;
  background: #333;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 6面の配置 */
.dice-face.front  { transform: rotateY(0deg) translateZ(40px); }
.dice-face.back   { transform: rotateY(180deg) translateZ(40px); }
.dice-face.right  { transform: rotateY(90deg) translateZ(40px); }
.dice-face.left   { transform: rotateY(-90deg) translateZ(40px); }
.dice-face.top    { transform: rotateX(90deg) translateZ(40px); }
.dice-face.bottom { transform: rotateX(-90deg) translateZ(40px); }

/* 各面のドット配置 */
.dice-face.front { justify-content: center; align-items: center; }

.dice-face.back {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  padding: 10px;
}
.dice-face.back .dice-dot:nth-child(1) { grid-area: 1 / 1; }
.dice-face.back .dice-dot:nth-child(2) { grid-area: 1 / 3; }
.dice-face.back .dice-dot:nth-child(3) { grid-area: 2 / 1; }
.dice-face.back .dice-dot:nth-child(4) { grid-area: 2 / 3; }
.dice-face.back .dice-dot:nth-child(5) { grid-area: 3 / 1; }
.dice-face.back .dice-dot:nth-child(6) { grid-area: 3 / 3; }

.dice-face.right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  padding: 16px;
}

.dice-face.left {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  padding: 10px;
}
.dice-face.left .dice-dot:nth-child(1) { grid-area: 1 / 1; }
.dice-face.left .dice-dot:nth-child(2) { grid-area: 2 / 2; }
.dice-face.left .dice-dot:nth-child(3) { grid-area: 3 / 3; }

.dice-face.top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  padding: 10px;
}
.dice-face.top .dice-dot:nth-child(1) { grid-area: 1 / 1; }
.dice-face.top .dice-dot:nth-child(2) { grid-area: 1 / 3; }
.dice-face.top .dice-dot:nth-child(3) { grid-area: 2 / 2; }
.dice-face.top .dice-dot:nth-child(4) { grid-area: 3 / 1; }
.dice-face.top .dice-dot:nth-child(5) { grid-area: 3 / 3; }

.dice-face.bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  padding: 16px;
}
.dice-face.bottom .dice-dot:nth-child(1) { grid-area: 2 / 1; }
.dice-face.bottom .dice-dot:nth-child(2) { grid-area: 1 / 2; }

/* サイコロの回転状態 */
.dice[data-showing="1"] { transform: rotateY(0deg) rotateX(0deg); }
.dice[data-showing="2"] { transform: rotateX(90deg); }
.dice[data-showing="3"] { transform: rotateY(90deg); }
.dice[data-showing="4"] { transform: rotateY(-90deg); }
.dice[data-showing="5"] { transform: rotateX(-90deg); }
.dice[data-showing="6"] { transform: rotateY(180deg); }

.dice-label {
  font-size: 14px;
  color: #666;
}

/* Dice Indicator */
.dice-indicator-left,
.dice-indicator-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dice-indicator-left {
  right: calc(100% + 60px);
}

.dice-indicator-right {
  left: calc(100% + 60px);
}

.dice-mini {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 4px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 2px;
  padding: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.dice-mini:hover {
  transform: scale(1.1);
}

.dice-mini.active {
  opacity: 0.3;
  transform: scale(0.9);
}

.dice-mini-dot {
  width: 3px;
  height: 3px;
  background: #333;
  border-radius: 50%;
}

/* Mini dice layouts */
.dice-mini[data-value="1"] {
  justify-content: center;
  align-items: center;
}

.dice-mini[data-value="2"] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  padding: 3px;
}
.dice-mini[data-value="2"] .dice-mini-dot:nth-child(1) { grid-area: 2 / 1; }
.dice-mini[data-value="2"] .dice-mini-dot:nth-child(2) { grid-area: 1 / 2; }

.dice-mini[data-value="3"] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  padding: 3px;
}
.dice-mini[data-value="3"] .dice-mini-dot:nth-child(1) { grid-area: 1 / 1; }
.dice-mini[data-value="3"] .dice-mini-dot:nth-child(2) { grid-area: 2 / 2; }
.dice-mini[data-value="3"] .dice-mini-dot:nth-child(3) { grid-area: 3 / 3; }

.dice-mini[data-value="4"] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  padding: 4px;
}

.dice-mini[data-value="5"] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  padding: 3px;
}
.dice-mini[data-value="5"] .dice-mini-dot:nth-child(1) { grid-area: 1 / 1; }
.dice-mini[data-value="5"] .dice-mini-dot:nth-child(2) { grid-area: 1 / 3; }
.dice-mini[data-value="5"] .dice-mini-dot:nth-child(3) { grid-area: 2 / 2; }
.dice-mini[data-value="5"] .dice-mini-dot:nth-child(4) { grid-area: 3 / 1; }
.dice-mini[data-value="5"] .dice-mini-dot:nth-child(5) { grid-area: 3 / 3; }

.dice-mini[data-value="6"] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  padding: 3px 4px;
}

/* Feature Card */
.feature-card {
  background: #fff;
  border-radius: 24px;
  padding: 50px 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  width: 550px;
  min-height: 300px;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card.fade-in {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.feature-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-icon.pink {
  background: rgba(255, 131, 190, 0.15);
  color: #FF83BE;
}

.feature-icon.blue {
  background: rgba(42, 205, 255, 0.15);
  color: #2ACDFF;
}

.feature-icon.yellow {
  background: rgba(255, 243, 75, 0.3);
  color: #E6D800;
}

.feature-icon.green {
  background: rgba(61, 220, 132, 0.15);
  color: #3DDC84;
}

.feature-icon.purple {
  background: rgba(147, 112, 219, 0.15);
  color: #9370DB;
}

.feature-icon.orange {
  background: rgba(255, 165, 0, 0.15);
  color: #FFA500;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.feature-card p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

/* App Download Section */
.app-section {
  padding: 50px 20px;
  background-color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* App section liquid container */
.app-liquid-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}

.app-liquid {
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 100%;
  background: linear-gradient(180deg,
    rgba(42, 205, 255, 0.4) 0%,
    rgba(42, 205, 255, 0.5) 50%,
    rgba(42, 205, 255, 0.6) 100%
  );
}

.app-liquid-wave {
  position: absolute;
  top: -12px;
  left: -5%;
  width: 110%;
  height: 25px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C150,120 350,0 600,60 C850,120 1050,0 1200,60 L1200,120 L0,120 Z' fill='rgba(42,205,255,0.5)'/%3E%3C/svg%3E") repeat-x;
  background-size: 600px 25px;
  animation: app-wave 4s linear infinite;
}

.app-liquid-wave-2 {
  position: absolute;
  top: -8px;
  left: -5%;
  width: 110%;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C150,0 350,120 600,60 C850,0 1050,120 1200,60 L1200,120 L0,120 Z' fill='rgba(42,205,255,0.4)'/%3E%3C/svg%3E") repeat-x;
  background-size: 800px 20px;
  animation: app-wave 5s linear infinite reverse;
}

@keyframes app-wave {
  0% { background-position-x: 0; }
  100% { background-position-x: 600px; }
}

.app-section > *:not(.app-liquid-container) {
  position: relative;
  z-index: 1;
}

/* Water splash effect in app section */
.water-splash-drop {
  position: fixed;
  background: rgba(42, 205, 255, 0.8);
  border-radius: 50%;
  pointer-events: none;
  z-index: 500;
  will-change: transform;
  animation: splash-up 0.6s ease-out forwards;
}

@keyframes splash-up {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--splash-x), var(--splash-y)) scale(0.3);
    opacity: 0;
  }
}

.water-ripple {
  position: fixed;
  border: 2px solid rgba(42, 205, 255, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 500;
  will-change: transform;
  animation: ripple-expand 0.8s ease-out forwards;
}

@keyframes ripple-expand {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    width: 60px;
    height: 30px;
    margin-left: -30px;
    margin-top: -15px;
    opacity: 0;
  }
}

.app-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.app-section p {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.app-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.app-btn-ios {
  background-color: #000;
  color: #fff;
}

.app-btn-ios:hover {
  background-color: #333;
}

.app-btn-android {
  background-color: #3DDC84;
  color: #fff;
}

.app-btn-android:hover {
  background-color: #32c973;
}

.app-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.app-note {
  margin-top: 20px;
  font-size: 12px;
  color: #999;
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: 30px 20px;
  text-align: center;
  background-color: #333;
  color: #fff;
  position: relative;
  z-index: 600;
}

.footer p {
  font-size: 12px;
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 12px;
  color: #ccc;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

/* ==========================================
   Heart Balloon Effect
   ========================================== */

.heart-balloon {
  position: fixed;
  pointer-events: none;
  z-index: 1000;
  transform-origin: center bottom;
}

.heart-balloon-shape {
  position: relative;
  width: 100%;
  height: 100%;
}

.heart-balloon-shape::before,
.heart-balloon-shape::after {
  content: '';
  position: absolute;
  top: 0;
  width: 52%;
  height: 80%;
  border-radius: 50% 50% 0 0;
}

.heart-balloon-shape::before {
  left: 50%;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}

.heart-balloon-shape::after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
}

/* Heart colors */
.heart-balloon.pink .heart-balloon-shape::before,
.heart-balloon.pink .heart-balloon-shape::after {
  background: linear-gradient(135deg, #FF83BE 0%, #ff5a9e 100%);
  box-shadow: inset -3px -3px 10px rgba(255, 255, 255, 0.4);
}

.heart-balloon.blue .heart-balloon-shape::before,
.heart-balloon.blue .heart-balloon-shape::after {
  background: linear-gradient(135deg, #2ACDFF 0%, #00a8e8 100%);
  box-shadow: inset -3px -3px 10px rgba(255, 255, 255, 0.4);
}

.heart-balloon.yellow .heart-balloon-shape::before,
.heart-balloon.yellow .heart-balloon-shape::after {
  background: linear-gradient(135deg, #FFF34B 0%, #ffd700 100%);
  box-shadow: inset -3px -3px 10px rgba(255, 255, 255, 0.4);
}

/* Balloon string */
.heart-balloon-string {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 30px;
  background: linear-gradient(180deg, rgba(150, 150, 150, 0.8) 0%, rgba(150, 150, 150, 0.3) 100%);
  border-radius: 1px;
}

/* Growing animation */
.heart-balloon.growing {
  animation: balloon-pulse 0.3s ease-in-out infinite alternate;
}

@keyframes balloon-pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

/* Float away animation */
.heart-balloon.floating {
  animation: balloon-float-away 3s ease-out forwards;
}

@keyframes balloon-float-away {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
  20% {
    transform: translateY(-100px) rotate(-5deg) scale(1.05);
  }
  40% {
    transform: translateY(-250px) rotate(5deg) scale(1);
  }
  60% {
    transform: translateY(-450px) rotate(-3deg) scale(0.95);
  }
  80% {
    opacity: 0.7;
    transform: translateY(-700px) rotate(3deg) scale(0.9);
  }
  100% {
    opacity: 0;
    transform: translateY(-1000px) rotate(0deg) scale(0.8);
  }
}

/* Shine effect */
.heart-balloon-shine {
  position: absolute;
  top: 15%;
  left: 20%;
  width: 20%;
  height: 20%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  transform: rotate(-30deg);
}

/* ==========================================
   Flow Page Styles
   ========================================== */

/* Flow Hero Section */
.flow-hero {
  padding: 100px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #FAFAFA 100%);
}

.flow-hero-content {
  position: relative;
  z-index: 1;
}

.flow-hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}

.flow-hero-subtitle {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

.flow-hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.flow-deco-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
}

.flow-deco-1 {
  width: 200px;
  height: 200px;
  background: #FF83BE;
  top: -50px;
  right: -50px;
  animation: float1 6s ease-in-out infinite;
}

.flow-deco-2 {
  width: 120px;
  height: 120px;
  background: #2ACDFF;
  bottom: 20px;
  left: -30px;
  animation: float2 5s ease-in-out infinite;
}

.flow-deco-3 {
  width: 80px;
  height: 80px;
  background: #FFF34B;
  top: 50%;
  right: 10%;
  animation: float3 4s ease-in-out infinite;
}

/* Flow Timeline Section */
.flow-timeline {
  padding: 40px 20px 80px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 80px;
  width: 3px;
  background: linear-gradient(
    180deg,
    #FF83BE 0%,
    #2ACDFF 50%,
    #FFF34B 100%
  );
  transform: translateX(-50%);
  opacity: 0.3;
}

.timeline-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--timeline-progress, 0%);
  background: linear-gradient(
    180deg,
    #FF83BE 0%,
    #2ACDFF 50%,
    #FFF34B 100%
  );
  transition: height 0.5s ease;
}

/* Flow Step */
.flow-step {
  position: relative;
  margin-bottom: 60px;
}

.flow-step:last-of-type {
  margin-bottom: 40px;
}

.step-marker {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: all 0.4s ease;
}

.step-marker.active {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 131, 190, 0.3);
}

.step-number {
  font-size: 20px;
  font-weight: 700;
  color: #FF83BE;
}

.flow-step[data-step="2"] .step-number {
  color: #2ACDFF;
}

.flow-step[data-step="3"] .step-number {
  color: #FFF34B;
}

.flow-step[data-step="4"] .step-number {
  color: #FF83BE;
}

.flow-step[data-step="2"] .step-marker.active {
  box-shadow: 0 6px 20px rgba(42, 205, 255, 0.3);
}

.flow-step[data-step="3"] .step-marker.active {
  box-shadow: 0 6px 20px rgba(255, 243, 75, 0.3);
}

.flow-step[data-step="4"] .step-marker.active {
  box-shadow: 0 6px 20px rgba(255, 131, 190, 0.3);
}

.step-content {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 70px;
}

.step-content-reverse {
  flex-direction: row-reverse;
}

.step-image {
  flex: 1;
  max-width: 350px;
  aspect-ratio: 4 / 3;
  background: #e0e0e0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-text {
  flex: 1;
}

.step-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #FF83BE;
  background: rgba(255, 131, 190, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.flow-step[data-step="2"] .step-label {
  color: #2ACDFF;
  background: rgba(42, 205, 255, 0.1);
}

.flow-step[data-step="3"] .step-label {
  color: #d4a900;
  background: rgba(255, 243, 75, 0.3);
}

.flow-step[data-step="4"] .step-label {
  color: #FF83BE;
  background: rgba(255, 131, 190, 0.1);
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}

.step-description {
  font-size: 15px;
  color: #666;
  line-height: 1.9;
  margin-bottom: 16px;
}

.step-note {
  font-size: 13px;
  color: #999;
}

.step-buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.step-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.step-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.step-btn-ios {
  background: #000;
  color: #fff;
}

.step-btn-ios:hover {
  background: #333;
}

.step-btn-android {
  background: #3DDC84;
  color: #fff;
}

.step-btn-android:hover {
  background: #32c973;
}

/* Flow Complete */
.flow-complete {
  text-align: center;
  padding: 20px 0;
}

.complete-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #FF83BE, #2ACDFF);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(255, 131, 190, 0.3);
}

.complete-icon svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

.complete-text {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

/* Flow CTA Section */
.flow-cta {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.flow-cta-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.flow-cta-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.flow-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.flow-cta-note {
  margin-top: 20px;
  font-size: 12px;
  color: #999;
  line-height: 1.6;
}

/* Flow Page Responsive */
@media (max-width: 768px) {
  .flow-hero {
    padding: 80px 20px 40px;
  }

  .flow-hero-title {
    font-size: 26px;
  }

  .timeline-line {
    left: 25px;
  }

  .step-marker {
    left: 25px;
    width: 40px;
    height: 40px;
  }

  .step-number {
    font-size: 16px;
  }

  .step-content {
    flex-direction: column;
    padding-top: 60px;
    padding-left: 60px;
  }

  .step-content-reverse {
    flex-direction: column;
  }

  .step-image {
    max-width: 100%;
    width: 100%;
  }

  .step-title {
    font-size: 20px;
  }

  .step-description {
    font-size: 14px;
  }

  .step-buttons {
    flex-direction: column;
  }

  .step-btn {
    justify-content: center;
  }

  .flow-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .flow-cta-buttons .app-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* Scenes Section */
.scenes-section {
  padding: 60px 20px 100px;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.scenes-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: #333;
}

.scenes-hint {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin-bottom: 30px;
}

/* 3D Carousel */
.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.carousel-container {
  width: 100%;
  max-width: 500px;
  height: 300px;
  perspective: 1000px;
  position: relative;
  overflow: visible;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
  position: absolute;
  width: 200px;
  height: 200px;
  left: 50%;
  top: 50%;
  margin-left: -100px;
  margin-top: -100px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #e0e0e0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-item.active {
  z-index: 10;
  transform: translateZ(0) scale(1.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.carousel-item.prev {
  z-index: 5;
  transform: translateX(-180px) translateZ(-100px) scale(0.85) rotateY(25deg);
  opacity: 0.7;
}

.carousel-item.next {
  z-index: 5;
  transform: translateX(180px) translateZ(-100px) scale(0.85) rotateY(-25deg);
  opacity: 0.7;
}

.carousel-item.far-prev {
  z-index: 2;
  transform: translateX(-280px) translateZ(-200px) scale(0.6) rotateY(40deg);
  opacity: 0.4;
}

.carousel-item.far-next {
  z-index: 2;
  transform: translateX(280px) translateZ(-200px) scale(0.6) rotateY(-40deg);
  opacity: 0.4;
}

.carousel-item.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Carousel Arrows */
.carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  z-index: 20;
}

.carousel-arrow:hover {
  background: #FF83BE;
  transform: scale(1.1);
}

.carousel-arrow:hover svg {
  stroke: #fff;
}

.carousel-arrow svg {
  width: 24px;
  height: 24px;
  stroke: #333;
  transition: stroke 0.2s ease;
}

.carousel-arrow:active {
  transform: scale(0.95);
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot:hover {
  background: #FF83BE;
  transform: scale(1.2);
}

.carousel-dot.active {
  background: #FF83BE;
  width: 30px;
  border-radius: 5px;
}

.scene-text {
  text-align: center;
  margin-top: 30px;
}

.scene-title {
  font-size: 20px;
  color: #333;
  font-weight: 700;
  margin-bottom: 10px;
  transition: opacity 0.3s ease;
}

.scene-description {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  transition: opacity 0.3s ease;
}

.scene-placeholder {
  color: #999;
  font-size: 12px;
  text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
  .header-title {
    font-size: 14px;
  }

  .phone-section {
    gap: 10px;
  }

  .vertical-text {
    font-size: 16px;
  }

  .phone-container {
    width: 260px;
    height: 520px;
    border-radius: 35px;
  }

  .phone-screen {
    border-radius: 22px;
  }

  /* Chat Responsive */
  .intro-section {
    padding: 40px 10px;
  }

  .chat-container {
    border-radius: 20px;
  }

  .chat-messages {
    padding: 12px;
    height: 400px;
  }

  .chat-bubble {
    max-width: 100%;
    padding: 8px 12px;
  }

  .chat-bubble p {
    font-size: 14px;
  }

  .chat-bubble-image {
    max-width: 100%;
  }

  .chat-avatar {
    width: 28px;
    height: 28px;
  }

  .chat-keyboard {
    padding: 8px 10px;
  }

  .chat-input-area {
    padding: 6px 12px;
  }

  .chat-send-btn {
    width: 40px;
    height: 40px;
  }

  .chat-send-btn svg {
    width: 20px;
    height: 20px;
  }

  .chat-logo-link img {
    width: 50px;
    height: 50px;
  }

  .features-container {
    flex-direction: column;
    gap: 30px;
  }

  .feature-card {
    width: 90%;
    min-height: 250px;
    padding: 40px 30px;
  }

  .feature-header {
    gap: 12px;
    margin-bottom: 18px;
  }

  .feature-card h3 {
    font-size: 20px;
  }

  .feature-card p {
    font-size: 15px;
  }

  .app-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Carousel Responsive */
  .carousel-wrapper {
    gap: 10px;
  }

  .carousel-container {
    max-width: 280px;
    height: 220px;
  }

  .carousel-item {
    width: 140px;
    height: 140px;
    margin-left: -70px;
    margin-top: -70px;
  }

  .carousel-item.active {
    transform: translateZ(0) scale(1.3);
  }

  .carousel-item.prev {
    transform: translateX(-100px) translateZ(-80px) scale(0.75) rotateY(25deg);
  }

  .carousel-item.next {
    transform: translateX(100px) translateZ(-80px) scale(0.75) rotateY(-25deg);
  }

  .carousel-item.far-prev,
  .carousel-item.far-next {
    opacity: 0;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .carousel-arrow svg {
    width: 18px;
    height: 18px;
  }

  .carousel-indicators {
    margin-top: 20px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .phone-section {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 30px 20px;
  }

  .vertical-text {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
  }

  .vertical-text-left {
    margin-right: 0;
    margin-bottom: 0;
    align-self: center;
  }

  .vertical-text-right {
    margin-left: 0;
    margin-top: 0;
    align-self: center;
  }

  .phone-container {
    width: min(200px, 60vw);
    aspect-ratio: 1 / 2;
    height: auto;
    border-radius: 30px;
    flex-shrink: 0;
  }

  .phone-container::before {
    width: 60px;
    height: 20px;
    top: 16px;
  }

  .phone-screen {
    border-radius: 22px;
  }
}

/* ==========================================
   Pricing Page Styles
   ========================================== */

/* Pricing Hero Section */
.pricing-hero {
  padding: 100px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #FAFAFA 100%);
}

.pricing-hero-content {
  position: relative;
  z-index: 1;
}

.pricing-hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}

.pricing-hero-subtitle {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

.pricing-hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.pricing-deco-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
}

.pricing-deco-1 {
  width: 180px;
  height: 180px;
  background: #2ACDFF;
  top: -40px;
  left: -40px;
  animation: float2 6s ease-in-out infinite;
}

.pricing-deco-2 {
  width: 100px;
  height: 100px;
  background: #FF83BE;
  bottom: 30px;
  right: -20px;
  animation: float1 5s ease-in-out infinite;
}

.pricing-deco-3 {
  width: 60px;
  height: 60px;
  background: #FFF34B;
  top: 40%;
  left: 15%;
  animation: float3 4s ease-in-out infinite;
}

/* Section Common */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 14px;
  color: #666;
}

/* Template Pricing Section */
.pricing-templates-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.template-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.template-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.template-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f0f0f0;
  position: relative;
  overflow: hidden;
}

.template-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.template-card-placeholder {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
}

.template-card-placeholder svg {
  width: 48px;
  height: 48px;
  color: #ccc;
}

.template-card-info {
  padding: 20px;
  text-align: center;
}

.template-card-name {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.template-card-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.price-yen {
  font-size: 16px;
  font-weight: 700;
  color: #FF83BE;
}

.price-amount {
  font-size: 28px;
  font-weight: 700;
  color: #FF83BE;
}

.price-tax {
  font-size: 12px;
  color: #999;
  margin-left: 4px;
}

.template-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: #999;
}

/* Delivery Pricing Section */
.pricing-delivery-section {
  padding: 60px 20px;
  background: #fff;
}

.pricing-delivery-section .section-header,
.pricing-delivery-section .delivery-grid {
  max-width: 900px;
  margin: 0 auto;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.delivery-card {
  background: #FAFAFA;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.3s ease;
}

.delivery-card:hover {
  transform: translateY(-4px);
}

.delivery-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.delivery-card-icon svg {
  width: 28px;
  height: 28px;
}

.delivery-card-icon.pink {
  background: rgba(255, 131, 190, 0.15);
  color: #FF83BE;
}

.delivery-card-icon.blue {
  background: rgba(42, 205, 255, 0.15);
  color: #2ACDFF;
}

.delivery-card-icon.yellow {
  background: rgba(255, 243, 75, 0.3);
  color: #d4a900;
}

.delivery-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.delivery-card-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
}

.delivery-card-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.delivery-card-price .price-value {
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

.delivery-card-price .price-unit {
  font-size: 14px;
  color: #666;
}

.delivery-card-note {
  font-size: 11px;
  color: #999;
  margin-top: 12px;
}

/* Notes Section */
.pricing-notes-section {
  padding: 60px 20px;
  max-width: 700px;
  margin: 0 auto;
}

.notes-container {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.notes-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.notes-title svg {
  width: 22px;
  height: 22px;
  color: #2ACDFF;
}

.notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notes-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

.notes-list li:last-child {
  margin-bottom: 0;
}

.notes-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #2ACDFF;
  border-radius: 50%;
}

.notes-list li a {
  color: #FF83BE;
  text-decoration: underline;
}

.notes-list li a:hover {
  text-decoration: none;
}

/* Pricing CTA Section */
.pricing-cta {
  padding: 60px 20px;
  background: #FAFAFA;
  text-align: center;
}

.pricing-cta-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.pricing-cta-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.pricing-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Pricing Page Responsive */
@media (max-width: 768px) {
  .pricing-hero {
    padding: 80px 20px 40px;
  }

  .pricing-hero-title {
    font-size: 26px;
  }

  .template-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .delivery-grid {
    grid-template-columns: 1fr;
  }

  .pricing-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .pricing-cta-buttons .app-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ==========================================
   App Guide Page Styles
   ========================================== */

/* Guide Hero Section */
.guide-hero {
  padding: 100px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #FAFAFA 100%);
}

.guide-hero-content {
  position: relative;
  z-index: 1;
}

.guide-hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}

.guide-hero-subtitle {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

.guide-hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.guide-deco-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
}

.guide-deco-1 {
  width: 150px;
  height: 150px;
  background: #FF83BE;
  top: -30px;
  right: -30px;
  animation: float1 6s ease-in-out infinite;
}

.guide-deco-2 {
  width: 100px;
  height: 100px;
  background: #2ACDFF;
  bottom: 20px;
  left: -20px;
  animation: float2 5s ease-in-out infinite;
}

.guide-deco-3 {
  width: 70px;
  height: 70px;
  background: #FFF34B;
  top: 50%;
  left: 10%;
  animation: float3 4s ease-in-out infinite;
}

/* Guide TOC Section */
.guide-toc-section {
  padding: 40px 20px;
  max-width: 700px;
  margin: 0 auto;
}

.guide-toc-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 8px;
}

.guide-toc-subtitle {
  font-size: 13px;
  color: #999;
  text-align: center;
  margin-bottom: 24px;
}

.guide-toc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-toc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.guide-toc-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.guide-toc-item.active {
  background: linear-gradient(135deg, rgba(255, 131, 190, 0.1), rgba(42, 205, 255, 0.1));
  border-left: 3px solid #FF83BE;
}

.toc-number {
  font-size: 14px;
  font-weight: 700;
  color: #FF83BE;
  min-width: 30px;
}

.toc-text {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

.toc-arrow {
  font-size: 14px;
  color: #ccc;
  transition: transform 0.3s ease;
}

.guide-toc-item:hover .toc-arrow {
  transform: translateX(4px);
  color: #FF83BE;
}

/* Guide Content */
.guide-content {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

/* Guide Section */
.guide-section {
  margin-bottom: 60px;
  scroll-margin-top: 80px;
}

.section-header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.section-header-bar.pink {
  background: linear-gradient(135deg, rgba(255, 131, 190, 0.15), rgba(255, 131, 190, 0.05));
  border-left: 4px solid #FF83BE;
}

.section-header-bar.blue {
  background: linear-gradient(135deg, rgba(42, 205, 255, 0.15), rgba(42, 205, 255, 0.05));
  border-left: 4px solid #2ACDFF;
}

.section-header-bar.yellow {
  background: linear-gradient(135deg, rgba(255, 243, 75, 0.3), rgba(255, 243, 75, 0.1));
  border-left: 4px solid #FFF34B;
}

.section-header-bar .section-number {
  font-size: 14px;
  font-weight: 700;
  color: #FF83BE;
}

.section-header-bar.blue .section-number {
  color: #2ACDFF;
}

.section-header-bar.yellow .section-number {
  color: #d4a900;
}

.section-header-bar .section-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.section-body {
  padding: 0 10px;
}

/* Sub TOC */
.sub-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.sub-toc-item {
  display: inline-block;
  padding: 8px 16px;
  background: #f5f5f5;
  border-radius: 20px;
  font-size: 13px;
  color: #666;
  transition: all 0.2s ease;
}

.sub-toc-item:hover {
  background: #FF83BE;
  color: #fff;
}

/* Guide Box */
.guide-box {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

/* Guide Text */
.guide-text {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 16px;
}

.guide-text:last-child {
  margin-bottom: 0;
}

.guide-text a {
  color: #FF83BE;
  text-decoration: underline;
}

.guide-text a:hover {
  text-decoration: none;
}

/* Guide List */
.guide-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.guide-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.guide-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #FF83BE;
  border-radius: 50%;
}

/* Guide Article */
.guide-article {
  margin-bottom: 32px;
  scroll-margin-top: 100px;
}

.article-title {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}

.article-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: #555;
  margin: 20px 0 12px;
}

/* Guide Path */
.guide-path {
  display: inline-block;
  background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
  font-family: monospace;
}

/* Guide Steps */
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.guide-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 14px;
  color: #555;
}

.step-num {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #FF83BE, #ff5a9e);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Guide Note */
.guide-note {
  background: rgba(42, 205, 255, 0.08);
  border-left: 3px solid #2ACDFF;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
}

.guide-note p {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
  line-height: 1.7;
}

.guide-note p:last-child {
  margin-bottom: 0;
}

/* Back to TOC */
.back-to-toc {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #f5f5f5;
  border-radius: 20px;
  font-size: 13px;
  color: #666;
  transition: all 0.2s ease;
}

.back-to-toc:hover {
  background: #333;
  color: #fff;
}

/* Guide Contact */
.guide-contact {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.guide-contact p {
  font-size: 15px;
  color: #666;
}

.guide-contact a {
  color: #FF83BE;
  font-weight: 700;
  text-decoration: underline;
}

.guide-contact a:hover {
  text-decoration: none;
}

/* App Guide Responsive */
@media (max-width: 768px) {
  .guide-hero {
    padding: 80px 20px 40px;
  }

  .guide-hero-title {
    font-size: 26px;
  }

  .guide-toc-item {
    padding: 14px 16px;
  }

  .toc-text {
    font-size: 14px;
  }

  .section-header-bar {
    padding: 14px 16px;
  }

  .section-header-bar .section-title {
    font-size: 18px;
  }

  .sub-toc {
    gap: 8px;
  }

  .sub-toc-item {
    padding: 6px 12px;
    font-size: 12px;
  }

  .guide-path {
    font-size: 12px;
    padding: 8px 12px;
  }
}

/* ==========================================
   Contact Page Styles
   ========================================== */

/* Contact Hero Section */
.contact-hero {
  padding: 100px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #FAFAFA 100%);
}

.contact-hero-content {
  position: relative;
  z-index: 1;
}

.contact-hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}

.contact-hero-subtitle {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

.contact-hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.contact-deco-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
}

.contact-deco-1 {
  width: 160px;
  height: 160px;
  background: #FF83BE;
  top: -40px;
  right: -40px;
  animation: float1 6s ease-in-out infinite;
}

.contact-deco-2 {
  width: 100px;
  height: 100px;
  background: #2ACDFF;
  bottom: 20px;
  left: -30px;
  animation: float2 5s ease-in-out infinite;
}

.contact-deco-3 {
  width: 70px;
  height: 70px;
  background: #FFF34B;
  top: 60%;
  left: 15%;
  animation: float3 4s ease-in-out infinite;
}

/* Contact Form Section */
.contact-form-section {
  padding: 40px 20px 60px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.contact-form-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #FF83BE, #ff5a9e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-form-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.contact-form-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.contact-form-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

.contact-form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #FF83BE, #ff5a9e);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 131, 190, 0.4);
}

.contact-form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 131, 190, 0.5);
}

.contact-form-btn svg {
  width: 18px;
  height: 18px;
}

.contact-form-note {
  font-size: 12px;
  color: #999;
  margin-top: 16px;
}

/* FAQ Section */
.contact-faq-section {
  padding: 60px 20px;
  max-width: 700px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
  box-shadow: 0 4px 20px rgba(255, 131, 190, 0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-question span {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.6;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: #999;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #FF83BE;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 20px 18px;
}

.faq-answer p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

.faq-answer a {
  color: #FF83BE;
  text-decoration: underline;
}

.faq-answer a:hover {
  text-decoration: none;
}

/* Support Section */
.contact-support-section {
  padding: 60px 20px;
  background: #fff;
}

.contact-support-section .section-header {
  max-width: 700px;
  margin: 0 auto 40px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.support-card {
  background: #FAFAFA;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
}

.support-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.support-card-icon svg {
  width: 26px;
  height: 26px;
}

.support-card-icon.pink {
  background: rgba(255, 131, 190, 0.15);
  color: #FF83BE;
}

.support-card-icon.blue {
  background: rgba(42, 205, 255, 0.15);
  color: #2ACDFF;
}

.support-card-icon.yellow {
  background: rgba(255, 243, 75, 0.3);
  color: #d4a900;
}

.support-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.support-card-email {
  font-size: 15px;
  color: #FF83BE;
  font-weight: 600;
  margin-bottom: 8px;
}

.support-card-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

.support-card-note {
  font-size: 11px;
  color: #999;
}

.support-card-link {
  display: inline-block;
  font-size: 14px;
  color: #2ACDFF;
  font-weight: 600;
  transition: color 0.2s ease;
}

.support-card-link:hover {
  color: #00a8e8;
}

.support-card-sns {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.sns-link {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  transition: color 0.2s ease;
}

.sns-link:hover {
  color: #FF83BE;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
  .contact-hero {
    padding: 80px 20px 40px;
  }

  .contact-hero-title {
    font-size: 26px;
  }

  .contact-form-card {
    padding: 30px 20px;
  }

  .contact-form-btn {
    width: 100%;
    padding: 14px 24px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   Legal Pages Styles (Privacy, Terms, Commerce)
   ========================================== */

/* Legal Hero Section */
.legal-hero {
  padding: 100px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #FAFAFA 100%);
}

.legal-hero-content {
  position: relative;
  z-index: 1;
}

.legal-hero-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.legal-hero-updated {
  font-size: 13px;
  color: #999;
}

.legal-hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.legal-deco-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
}

.legal-deco-1 {
  width: 120px;
  height: 120px;
  background: #2ACDFF;
  top: -30px;
  right: -30px;
  animation: float2 6s ease-in-out infinite;
}

.legal-deco-2 {
  width: 80px;
  height: 80px;
  background: #FF83BE;
  bottom: 10px;
  left: -20px;
  animation: float1 5s ease-in-out infinite;
}

/* Legal Content */
.legal-content-section {
  padding: 40px 20px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-intro-text {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 14px;
  color: #555;
  line-height: 1.9;
}

/* Legal Article */
.legal-article {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.legal-article-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(42, 205, 255, 0.08), rgba(42, 205, 255, 0.02));
  border-left: 3px solid #2ACDFF;
  cursor: pointer;
  transition: background 0.2s ease;
}

.legal-article-header:hover {
  background: linear-gradient(135deg, rgba(42, 205, 255, 0.12), rgba(42, 205, 255, 0.04));
}

.legal-article-header.pink {
  background: linear-gradient(135deg, rgba(255, 131, 190, 0.08), rgba(255, 131, 190, 0.02));
  border-left-color: #FF83BE;
}

.legal-article-header.pink:hover {
  background: linear-gradient(135deg, rgba(255, 131, 190, 0.12), rgba(255, 131, 190, 0.04));
}

.legal-article-header.yellow {
  background: linear-gradient(135deg, rgba(255, 243, 75, 0.15), rgba(255, 243, 75, 0.05));
  border-left-color: #FFF34B;
}

.legal-article-title {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: #333;
}

.legal-article-icon {
  width: 20px;
  height: 20px;
  color: #999;
  transition: transform 0.3s ease;
}

.legal-article.active .legal-article-icon {
  transform: rotate(180deg);
  color: #2ACDFF;
}

.legal-article-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.legal-article.active .legal-article-body {
  max-height: 2000px;
}

.legal-article-content {
  padding: 20px;
  border-top: 1px solid #f0f0f0;
}

.legal-text {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 16px;
}

.legal-text:last-child {
  margin-bottom: 0;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.legal-list > li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

.legal-list > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #2ACDFF;
  border-radius: 50%;
}

.legal-list-numbered {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  counter-reset: legal-counter;
}

.legal-list-numbered > li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  counter-increment: legal-counter;
}

.legal-list-numbered > li::before {
  content: counter(legal-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: #2ACDFF;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-sub-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
}

.legal-sub-list > li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

.legal-sub-list > li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: #999;
}

.legal-highlight-box {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}

.legal-highlight-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.legal-note {
  font-size: 12px;
  color: #999;
  line-height: 1.7;
  margin-top: 12px;
}

.legal-contact-box {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.legal-contact-box p {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

.legal-contact-box p:last-child {
  margin-bottom: 0;
}

.legal-contact-box a {
  color: #FF83BE;
}

/* Legal Related Links */
.legal-related-section {
  padding: 40px 20px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.legal-related-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.legal-related-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-related-link {
  display: inline-block;
  padding: 12px 24px;
  background: #fff;
  border-radius: 8px;
  font-size: 14px;
  color: #555;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.legal-related-link:hover {
  background: #FF83BE;
  color: #fff;
  transform: translateY(-2px);
}

/* Legal Page Responsive */
@media (max-width: 768px) {
  .legal-hero {
    padding: 80px 20px 40px;
  }

  .legal-hero-title {
    font-size: 24px;
  }

  .legal-article-header {
    padding: 16px;
  }

  .legal-article-title {
    font-size: 14px;
  }

  .legal-article-content {
    padding: 16px;
  }

  .legal-related-links {
    flex-direction: column;
    align-items: center;
  }

  .legal-related-link {
    width: 100%;
    max-width: 280px;
  }
}

/* Legal Related Grid */
.legal-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.legal-related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.legal-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.legal-related-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-related-icon.pink {
  background: rgba(255, 131, 190, 0.15);
  color: #FF83BE;
}

.legal-related-icon.blue {
  background: rgba(42, 205, 255, 0.15);
  color: #2ACDFF;
}

.legal-related-icon.yellow {
  background: rgba(255, 243, 75, 0.3);
  color: #E6A800;
}

.legal-related-icon svg {
  width: 24px;
  height: 24px;
}

.legal-related-card .legal-related-title {
  font-size: 12px;
  font-weight: 500;
  color: #555;
  text-align: center;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .legal-related-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 16px;
  }

  .legal-related-card {
    padding: 16px 8px;
  }

  .legal-related-icon {
    width: 40px;
    height: 40px;
  }

  .legal-related-icon svg {
    width: 20px;
    height: 20px;
  }

  .legal-related-card .legal-related-title {
    font-size: 10px;
  }
}

/* ========================
   News Page Styles
   ======================== */

/* News Hero */
.news-hero {
  position: relative;
  padding: 100px 20px 60px;
  text-align: center;
  background: linear-gradient(135deg, #FFF8FB 0%, #F0FBFF 50%, #FFFEF5 100%);
  overflow: hidden;
}

.news-hero-content {
  position: relative;
  z-index: 1;
}

.news-hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.news-hero-subtitle {
  font-size: 14px;
  color: #666;
}

.news-hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.news-deco-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
}

.news-deco-1 {
  width: 120px;
  height: 120px;
  background: #FF83BE;
  top: 20%;
  left: -40px;
}

.news-deco-2 {
  width: 80px;
  height: 80px;
  background: #2ACDFF;
  top: 60%;
  right: -20px;
}

.news-deco-3 {
  width: 60px;
  height: 60px;
  background: #FFF34B;
  bottom: 10%;
  left: 20%;
}

/* News Filter */
.news-filter-section {
  padding: 20px;
  background: #FAFAFA;
  position: sticky;
  top: 60px;
  z-index: 100;
}

.news-filter-container {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 600px;
  margin: 0 auto;
}

.news-filter-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  color: #666;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.news-filter-btn:hover {
  border-color: #FF83BE;
  color: #FF83BE;
}

.news-filter-btn.active {
  background: #FF83BE;
  border-color: #FF83BE;
  color: #fff;
}

/* News List */
.news-list-section {
  padding: 30px 20px 60px;
  max-width: 700px;
  margin: 0 auto;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-card {
  display: block;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}

.news-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.news-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.news-category {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 12px;
}

.news-category.pink {
  background: rgba(255, 131, 190, 0.15);
  color: #E0609A;
}

.news-category.blue {
  background: rgba(42, 205, 255, 0.15);
  color: #0099CC;
}

.news-category.yellow {
  background: rgba(255, 243, 75, 0.3);
  color: #B38F00;
}

.news-date {
  font-size: 12px;
  color: #999;
}

.news-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-card-summary {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: #ccc;
  transition: all 0.2s ease;
}

.news-card:hover .news-card-arrow {
  color: #FF83BE;
  transform: translateY(-50%) translateX(4px);
}

.news-card-arrow svg {
  width: 100%;
  height: 100%;
}

/* News Loading */
.news-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #999;
  font-size: 14px;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #f0f0f0;
  border-top-color: #FF83BE;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 12px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* News Empty */
.news-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #999;
  font-size: 14px;
}

.news-empty svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* News Detail Page */
.news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 80px 20px 20px;
  max-width: 700px;
  margin: 0 auto;
  font-size: 13px;
}

.news-breadcrumb a {
  color: #FF83BE;
  transition: opacity 0.2s ease;
}

.news-breadcrumb a:hover {
  opacity: 0.7;
}

.breadcrumb-separator {
  color: #ccc;
  display: flex;
  align-items: center;
}

.breadcrumb-separator svg {
  width: 14px;
  height: 14px;
}

.breadcrumb-current {
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

/* News Detail Section */
.news-detail-section {
  padding: 0 20px 60px;
  max-width: 700px;
  margin: 0 auto;
}

.news-detail-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.news-detail-header {
  padding: 30px 30px 24px;
  border-bottom: 1px solid #f0f0f0;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.news-detail-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  line-height: 1.5;
}

.news-detail-content {
  padding: 30px;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.news-detail-content p {
  margin-bottom: 20px;
}

.news-detail-content p:last-child {
  margin-bottom: 0;
}

.news-detail-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin: 30px 0 16px;
  padding-left: 12px;
  border-left: 3px solid #FF83BE;
}

.news-detail-content h3:first-child {
  margin-top: 0;
}

.news-detail-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.news-detail-content li {
  margin-bottom: 8px;
}

.news-detail-content li:last-child {
  margin-bottom: 0;
}

/* News Error */
.news-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: #999;
  font-size: 14px;
}

.news-error svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.news-back-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #FF83BE;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.news-back-btn:hover {
  background: #E0609A;
  transform: translateY(-2px);
}

/* News Navigation */
.news-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding: 20px 0;
  border-top: 1px solid #f0f0f0;
}

.news-nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #666;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.news-nav-btn:hover:not(.disabled) {
  color: #FF83BE;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-nav-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.news-nav-btn svg {
  width: 18px;
  height: 18px;
}

.news-nav-list {
  flex-direction: column;
  gap: 4px;
}

.news-nav-list svg {
  width: 20px;
  height: 20px;
}

.news-nav-list span {
  font-size: 11px;
}

/* News Page Responsive */
@media (max-width: 768px) {
  .news-hero {
    padding: 80px 20px 40px;
  }

  .news-hero-title {
    font-size: 24px;
  }

  .news-filter-section {
    padding: 16px;
  }

  .news-filter-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .news-list-section {
    padding: 20px 16px 40px;
  }

  .news-card {
    padding: 16px;
    padding-right: 40px;
  }

  .news-card-title {
    font-size: 15px;
  }

  .news-card-summary {
    font-size: 12px;
  }

  .news-card-arrow {
    right: 12px;
    width: 20px;
    height: 20px;
  }

  .news-breadcrumb {
    padding: 70px 16px 16px;
    font-size: 12px;
  }

  .breadcrumb-current {
    max-width: 150px;
  }

  .news-detail-section {
    padding: 0 16px 40px;
  }

  .news-detail-header {
    padding: 20px 20px 16px;
  }

  .news-detail-title {
    font-size: 18px;
  }

  .news-detail-content {
    padding: 20px;
    font-size: 14px;
  }

  .news-detail-content h3 {
    font-size: 15px;
  }

  .news-navigation {
    flex-wrap: wrap;
    gap: 12px;
  }

  .news-nav-btn {
    padding: 10px 12px;
    font-size: 12px;
  }

  .news-nav-prev,
  .news-nav-next {
    flex: 1;
    min-width: 100px;
  }

  .news-nav-list {
    order: -1;
    width: 100%;
    flex-direction: row;
    justify-content: center;
  }
}
