```css
/* =========================
   Base
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    background:#f3f5f7;
    color:#333;
    font-family:
        "Yu Gothic",
        "Meiryo",
        sans-serif;

}

.container {
    width:95%;
    max-width: 700px;
    margin: 20px auto;
}


/* =========================
   Panel
========================= */

.panel{

    background:#fff;

    border:1px solid #ddd;

    border-radius:10px;

    padding:14px;

    margin-bottom:12px;

    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

/* 見出し小さく */
.panel h2 {
    font-size:16px;

    color:#666;

    letter-spacing:2px;

    margin-bottom:10px;
}

.panel h3{

    margin-top:20px;

    margin-bottom:10px;

    color:#555;

}


/* =========================
   Header
========================= */

.panel-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}


/* =========================
   Candidate
========================= */

.candidate-area{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:15px;

}

.badge{

    background:#222;

    color:#fff;

    border-radius:999px;

    padding:2px 10px;

    font-size:14px;

}

.description{

    color:#777;

    margin-bottom:20px;

}

.divider{

    text-align:center;

    color:#999;

    margin:25px 0;

}


/* =========================
   Form
========================= */

.form{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.form label{

    display:flex;

    flex-direction:column;

    gap:8px;

}

input[type=text],
textarea{

    border:1px solid #ccc;

    border-radius:8px;

    padding:8px;

    font-size:13px;

    transition:.2s;

}

input[type=text]:focus,
textarea:focus{

    outline:none;

    border-color:#4a90e2;

    box-shadow:0 0 0 3px rgba(74,144,226,.15);

}


/* =========================
   Buttons
========================= */

button{

    cursor:pointer;

    transition:.2s;

    font-size:15px;

}

.primary-btn{

    width:100%;

    padding:10px;

    background:#222;

    color:white;

    border:none;

    border-radius:6px;

    font-size:16px;

    font-weight:bold;

}

.primary-btn:hover{

    background:#444;

}

.primary-btn.small{

    width:auto;

    padding:8px 14px;

    font-size:13px;

}

.outline-btn{

    padding:10px 16px;

    background:white;

    border:2px solid #333;

    border-radius:6px;

}

.outline-btn:hover{

    background:#333;

    color:white;

}


/* =========================
   Tag
========================= */

.tag-group{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

}

.tag-item{

    display:flex;

    align-items:center;

    gap:6px;

    background:#f5f5f5;

    border:1px solid #ddd;

    border-radius:20px;

    padding:8px 12px;

    transition:.2s;

}

.tag-item:hover{

    background:#ececec;

}


/* =========================
   Checkbox
========================= */

.checkbox{

    display:flex;

    align-items:center;

    gap:8px;

    margin-top:10px;

}


/* =========================
   Result
========================= */

.result-area{

    margin-top:25px;

    min-height:120px;

    border:2px dashed #ddd;

    border-radius:8px;

    padding:20px;

    background:#fafafa;

}

.result-empty{

    color:#999;

    text-align:center;

    margin-top:30px;

}

.result-card{

    animation:fade .3s;

}

.result-card h3{

    font-size:28px;

    margin-bottom:15px;

}

.result-card p{

    line-height:1.8;

}


/* =========================
   Cards
========================= */

.card{

    background:white;

    border:1px solid #ddd;

    border-radius:8px;

    padding:18px;

    margin-bottom:18px;

    transition:.2s;

}

.result-card p {
    white-space: pre-wrap;
}

.card:hover{

    transform:translateY(-2px);

    box-shadow:0 8px 18px rgba(0,0,0,.08);

}

.card-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.card-title{

    font-size:22px;

    font-weight:bold;

}

.card-detail{

    margin:18px 0;

    white-space:pre-wrap;

    line-height:1.7;

}

.card-tags{

    display:flex;

    flex-wrap:wrap;

    gap:8px;

    margin-bottom:15px;

}

.tag-chip{

    background:#e8f1ff;

    color:#245;

    padding:4px 10px;

    border-radius:999px;

    font-size:13px;

}

.card-buttons{

    display:flex;

    gap:10px;

}

.card-buttons button{

    padding:8px 14px;

}


/* =========================
   Favorite
========================= */

.favorite{

    font-size:24px;

    cursor:pointer;

    user-select:none;

    transition:.2s;

}

.favorite:hover{

    transform:scale(1.2);

}


/* =========================
   Animation
========================= */

@keyframes fade{

    from{

        opacity:0;
        transform:translateY(10px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}


/* =========================
   Responsive
========================= */

@media(max-width:700px){

    .panel-header{

        flex-direction:column;

        align-items:stretch;

        gap:15px;

    }

    .card-header{

        flex-direction:column;

        align-items:flex-start;

        gap:10px;

    }

    .card-buttons{

        flex-wrap:wrap;

    }

}
```
