/* ===== 全体設定 ===== */
body {
    background: linear-gradient(135deg, #eef2ff, #f9fafb);
    font-family: "Segoe UI", "メイリオ", sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* ===== タイトル ===== */
h1.description {
    text-align: center;
    margin-top: 30px;
    font-weight: bold;
    font-size: 2rem;
    color: #2c3e50;
}

/* ===== 説明文 ===== */
.description + div {
    text-align: center;
    color: #555;
    margin-bottom: 25px;
}

/* ===== 入力エリア ===== */
.input-area {
    max-width: 750px;
    margin: auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    gap: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

/* ===== 入力欄 ===== */
.input-area input {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
    transition: 0.3s;
}

/* フォーカス時 */
.input-area input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(99,102,241,0.25);
}

/* ===== 検索ボタン ===== */
#checkBtn {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: white;
    font-weight: bold;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    transition: 0.3s;
    cursor: pointer;
    min-width: 120px;
}

/* ホバー */
#checkBtn:hover {
    box-shadow: 0 4px 12px rgba(79,70,229,0.4);
    transform: translateY(-1px);
}

/* ===== ページボタン ===== */
.page-btn {
    text-align: center;
    margin-top: 15px;
}

/* ===== 結果表示エリア ===== */
#result {
    max-width: 750px;
    margin: 30px auto;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
}

/* 見出し */
#result h2 {
    background: #4f46e5;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 16px;
    display: inline-block;
}

/* 結果リスト */
div.content{
    padding: 6px 10px;
    border-bottom: 1px dashed #ddd;
    transition: 0.2s;
}

/* ホバー */
div.content:hover {
    background: #f2f4ff;
    cursor: pointer;
}

/* ===== 注意文 ===== */
.notice {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin-bottom: 30px;
}

/* ===== ローディング ===== */
.finding{
	font-weight: bold;
	font-size: 1.2rem;
}

.wave span {
  display: inline-block;
  animation: waveAnim 1.2s infinite ease-in-out;
}

.wave span:nth-child(1) { animation-delay: 0s; }
.wave span:nth-child(2) { animation-delay: 0.1s; }
.wave span:nth-child(3) { animation-delay: 0.2s; }
.wave span:nth-child(4) { animation-delay: 0.3s; }
.wave span:nth-child(5) { animation-delay: 0.4s; }

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


/* ===== スマホ対応 ===== */
@media (max-width: 400px) {
	.input-area {
			flex-direction: column;
			width: 100%;
	}

	#checkBtn {
			width: 100%;
	}
/*
	html{
		width: 100%;
	}
*/
}
