﻿* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Hiragino Sans', 'Meiryo', sans-serif;
}

body {
	background-color: #f0f8ff;
	color: #333;
	line-height: 1.6;
}

.container {
	max-width: 480px;
	min-height: 100vh;
	margin: 0 auto;
	padding: 0;
	background: url('../image/big.gif') center center no-repeat;
	background-size: cover;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.header {
	width: 100%;
	padding-top: 40px;
	text-align: center;
	position: relative;
}

.bot-container {
	position: relative;
	width: 150px;
	height: 150px;
	margin: 0 auto 20px;
}
.whatsapp-btn{
	text-decoration:none;
}
.bot-icon {
	width: 130px;
	height: 130px;
	border-radius: 50%;
	background: #0a1930;
	padding: 10px;
	box-shadow: 0 8px 32px rgba(31, 38, 135, 0.3);
	z-index: 1;
	position: relative;
}

.bot-glow {
	position: absolute;
	top: 0;
	left: 10px;
	width: 130px;
	height: 130px;
	border-radius: 50%;
	background: rgba(0, 149, 255, 0.2);
	filter: blur(15px);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 0.6;
	}

	50% {
		transform: scale(1.05);
		opacity: 0.8;
	}

	100% {
		transform: scale(1);
		opacity: 0.6;
	}
}

.title-box {
	background: linear-gradient(135deg, #0078ff, #00c6ff);
	color: white;
	padding: 12px 25px;
	border-radius: 15px;
	margin-bottom: 30px;
	box-shadow: 0 10px 25px rgba(0, 120, 255, 0.3);
	position: relative;
	overflow: hidden;
}

.title-box::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	animation: shine 3s infinite;
}

@keyframes shine {
	0% {
		left: -100%;
	}

	20% {
		left: 100%;
	}

	100% {
		left: 100%;
	}
}

.title-box h1 {
	font-size: 1.5rem;
	font-weight: 700;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tech-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.1;
	z-index: -1;
	pointer-events: none;
}

.info-box {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(5px);
	border-radius: 20px;
	padding: 25px;
	width: 90%;
	margin: 20px auto;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	text-align: center;
	border: 1px solid rgba(255, 255, 255, 0.5);
	position: relative;
	overflow: hidden;
}

.info-box::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100px;
	height: 100px;
	background: linear-gradient(135deg, transparent, rgba(0, 120, 255, 0.1));
	border-radius: 50% 0 0 0;
}

.accuracy {
	font-size: 1.8rem;
	font-weight: bold;
	color: #0066cc;
	margin-bottom: 15px;
	position: relative;
	display: inline-block;
}

.accuracy::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	width: 50%;
	height: 3px;
	background: linear-gradient(90deg, transparent, #0066cc, transparent);
}

.description {
	font-size: 0.95rem;
	margin-bottom: 15px;
	color: #333;
	line-height: 1.7;
}

.users-count {
	font-size: 0.9rem;
	color: #0066cc;
	margin-top: 20px;
	padding: 10px;
	background: rgba(0, 102, 204, 0.1);
	border-radius: 30px;
	display: inline-block;
}

.input-container {
	width: 90%;
	margin: 15px auto;
	position: relative;
}

.stock-input {
	width: 100%;
	padding: 15px 20px;
	border-radius: 30px;
	border: 2px solid rgba(0, 120, 255, 0.3);
	margin-bottom: 20px;
	font-size: 1rem;
	text-align: center;
	background: rgba(255, 255, 255, 0.9);
	transition: all 0.3s;
	box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

.stock-input:focus {
	outline: none;
	border-color: #0066cc;
	box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.analyze-btn {
	width: 100%;
	background: linear-gradient(45deg, #0052cc, #0099ff);
	color: white;
	padding: 15px;
	border: none;
	border-radius: 30px;
	font-size: 1.2rem;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s;
	box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
	position: relative;
	overflow: hidden;
}

.analyze-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(0, 102, 255, 0.4);
	background: linear-gradient(45deg, #0046b3, #0088f0);
}

.analyze-btn:active {
	transform: translateY(1px);
}

.analyze-btn::after {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: rgba(255, 255, 255, 0.1);
	transform: rotate(45deg);
	transition: all 0.3s;
}

.analyze-btn:hover::after {
	left: 100%;
}

/* モーダルウィンドウのスタイル */
.modal {
	display: none;
	position: fixed;
	z-index: 100;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	overflow: auto;
	backdrop-filter: blur(5px);
}

.modal-content {
	background: rgba(255, 255, 255, 0.95);
	margin: 15% auto;
	padding: 30px;
	width: 85%;
	max-width: 450px;
	border-radius: 20px;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
	text-align: center;
	position: relative;
	border: 1px solid rgba(255, 255, 255, 0.2);
	animation: modalFadeIn 0.5s;
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.modal-header {
	margin-bottom: 25px;
	position: relative;
}

.modal-header h2 {
	color: #0052cc;
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.loading-text {
	margin: 10px 0;
	color: #0066cc;
	font-weight: bold;
	font-size: 1.1rem;
}

.progress-container {
	margin: 20px 0;
}

.progress-label {
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
	color: #333;
	font-size: 0.95rem;
}

.progress-bar {
	width: 100%;
	height: 14px;
	background-color: #e9ecef;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 20px;
	box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.progress {
	width: 0%;
	height: 100%;
	background: linear-gradient(90deg, #0066ff, #00ccff);
	border-radius: 10px;
	transition: width 0.5s;
	position: relative;
}

.progress::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(45deg,
			rgba(255, 255, 255, 0.2) 25%,
			transparent 25%,
			transparent 50%,
			rgba(255, 255, 255, 0.2) 50%,
			rgba(255, 255, 255, 0.2) 75%,
			transparent 75%,
			transparent);
	background-size: 20px 20px;
	animation: progressStripes 1s linear infinite;
}

@keyframes progressStripes {
	from {
		background-position: 0 0;
	}

	to {
		background-position: 20px 0;
	}
}

.whatsapp-btn {
	display: none;
	margin-top: 25px;
	padding: 15px 30px;
	background: linear-gradient(45deg, #25d366, #128c7e);
	color: white;
	border: none;
	border-radius: 30px;
	font-weight: bold;
	font-size: 1.1rem;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.whatsapp-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn::before {
	content: "✓";
	margin-right: 8px;
}

.whatsapp-btn::after {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: rgba(255, 255, 255, 0.1);
	transform: rotate(45deg);
	transition: all 0.3s;
}

.whatsapp-btn:hover::after {
	left: 100%;
}

/* フローティングパーティクル */
.particles {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: -1;
}

.particle {
	position: absolute;
	width: 10px;
	height: 10px;
	background: rgba(0, 120, 255, 0.1);
	border-radius: 50%;
	animation: float 15s infinite linear;
}

@keyframes float {
	0% {
		transform: translateY(0) rotate(0deg);
		opacity: 0;
	}

	10% {
		opacity: 1;
	}

	90% {
		opacity: 1;
	}

	100% {
		transform: translateY(-500px) rotate(360deg);
		opacity: 0;
	}
}

@media (min-width: 768px) {
	.container {
		border-left: 1px solid rgba(0, 120, 255, 0.2);
		border-right: 1px solid rgba(0, 120, 255, 0.2);
		box-shadow: 0 0 40px rgba(0, 120, 255, 0.1);
	}
}

/* 成功アニメーション */
.checkmark-circle {
	display: none;
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	position: relative;
}

.checkmark-circle .background {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #25d366;
	animation: scaleUp 0.5s;
}

.checkmark-circle .checkmark {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 25px;
	border-left: 4px solid white;
	border-bottom: 4px solid white;
	transform-origin: left top;
	transform: rotate(-45deg) translate(-50%, -50%);
	animation: checkmarkDraw 0.5s forwards 0.5s;
	opacity: 0;
}

@keyframes scaleUp {
	from {
		transform: scale(0);
	}

	to {
		transform: scale(1);
	}
}

@keyframes checkmarkDraw {
	from {
		opacity: 0;
		width: 0;
		height: 0;
	}

	to {
		opacity: 1;
		width: 40px;
		height: 25px;
	}
}



    50% {
        transform: translateX(-50%) scale(1.15);
    }
}
/* Add spacing around text blocks */
.message-block__text, .page-subsection__text {
    padding-left: 16px;
    padding-right: 16px;
}

/* Bottom Floating Button — Only show on mobile */
.floating-btn {
  display: none; /* 默认不显示 */
}

@media (max-width: 767px) {
  .floating-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
    padding: 16px 32px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    animation: bounce 2s infinite;
    text-decoration: none;
    white-space: nowrap;
  }

  .floating-btn .btn-icon {
    height: 28px;
    width: auto;
  }

  @keyframes bounce {
    0%, 100% {
      transform: translateX(-50%) scale(1);
    }
    50% {
      transform: translateX(-50%) scale(1.1);
    }
  }
}
