/* リセットと基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    background: linear-gradient(
        rgba(0, 0, 0, 0.2), 
        rgba(0, 0, 0, 0.2)
    ),
    url('背景エナドリNo.png') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    padding: 20px;
}

p, h1, h2, h3, h4, h5, h6 {
    color: #fff;
}

.tip-cards {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.card {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    flex: 1;
    min-width: 200px;
    color: #333; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

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

#displayArea {
    margin-top: 20px;
    padding: 20px;            /* ボックスの内側に余白を作る */
    border: 5px solid #ffcc00; /* 黄色の枠線 */
    background-color: #333;   /* 背景を濃いグレーにして黄色文字を見やすく */
    border-radius: 15px;      /* 角を丸く */
    text-align: center;
}

#displayArea p {
    font-size: 2rem;
    font-weight: bold;
    color: yellow;            /* 指定通りの黄色 */
    margin-bottom: 15px;      /* メッセージと画像の間の余白 */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* 文字に影をつけて読みやすく */
}

#displayArea img {
    border: 3px solid #fff;   /* 画像に白枠をつけて強調 */
    border-radius: 10px;
}
.text-box {
    background-color: #ffffff; /* 白い背景 */
    color: blue !important;    /* 文字色を青に */
    padding: 10px;             /* 文字と枠の間の余白 */
    border: 3px solid red;    /* 枠線 */
    border-radius: 10px;       /* 角を丸くする */
    font-weight: 900;          /* 太文字 */
    font-size: 1.0rem;         /* サイズ */
    margin: 20px 0;            /* 上下の余白 */
    line-height: 1.5;          /* 行間を広げて読みやすく */
}
/* ボタンのデザインを整えました */
.btn {
    padding: 20px 30px;
    font-size: 16px;
    cursor: pointer;
    background-color: #3498db; /* 青系の背景色 */
    color: white;              /* 文字色白 */
    border: none;              /* 枠線なし */
    border-radius: 5px;        /* 角丸 */
    font-weight: bold;
    display: block;  /* ブロック要素にする */
    margin: 20px auto; /* 上下20px、左右は自動で中央 */
}

.btn:hover {
    background-color: #2980b9; /* ホバー時に少し暗くして変化をつける */
}}