/* 全体 */
body {
      font-family: "FOT-筑紫アンティークL明朝 Std L", "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;

    background: #f5f7fa;
    margin: 0;
    padding: 40px 20px;
    color: #333;
}

/* コンテナ */
.container {
    max-width: 900px;
    margin: auto;
}

/* 見出し */
h1 {
    font-size: 28px;
    margin-bottom: 30px;
}

/* カード */
.card {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    transition: 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

/* ボタン */
button {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    background: #4338ca;
}

/* 入力欄 */
input[type="text"],
select {
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

/* タグ */
.tag {
    display: inline-block;
    background: #e0e7ff;
    color: #4338ca;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 6px;
    text-decoration: none;
}

.tag:hover {
    background: #c7d2fe;
}

/* リンク */
a {
    text-decoration: none;
    color: #4f46e5;
}

a:hover {
    text-decoration: underline;
}

.answer-section {
        text-align: right;  
}

.answer {
    font-size: 20px;
    color: #ff2727;
}

.answer-reading {
    font-size: 16px;
    color: #36363671;
}