.reaction-area {
    padding-bottom: 10px;
}

.reaction-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
    height: 0px;
    overflow: hidden;
    opacity: 0;
    transition: 0.5s;
}

.reaction-ac input{
    display: none;
}

.reaction-ac input:checked ~ .reaction-buttons{
    height: auto;
    /* padding: 5px; */
    /* background: #eaeaea; */
    opacity: 1;
}

.reaction-ac {
    padding: 10px;
    border: 1px solid #ffffff;
    border-radius: 10px;
	background-color: #ededed;
    color: #fff;
}

.reaction-ac label{
    color: #3C2F41;
    font-family:"Font Awesome 5 Free";
    font-weight:900;
    cursor: pointer;
	/*追加部分*/
	display: inline-block;
    padding: 0.3em 1em;
    background-color:#e87a904d;
    border:1px solid #e87a9066;
    border-radius:40px;
    margin:5px 0;
}

.reaction-ac label:hover {
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.2);
}

.reaction-ac label:active {
    box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.15) inset;
    transition-duration: 0.05s;
    transform: scale(0.99);
	/*ここまで*/
}

.reaction-ac label:after{
    color: #3C2F41;
    font-family:"Font Awesome 5 Free";
    font-weight:900;
    content:" \f078";
}

.reaction-ac input:checked ~ label::after {
    color: #3C2F41;
    font-family:"Font Awesome 5 Free";
    font-weight:900;
    content:" \f077";
}

.reaction-ac #open-reaction {
    margin: 2px;
    padding: 0 5px;
    height: 2em;
    line-height: 2em;
    background: #ffffff00;
    color: #3C2F41;
}

.react-btn {
    margin: 2px;
    padding: 0 5px;
    border: 1px solid #fff;
    border-radius: 20px;
    cursor: pointer;
    height: 2em;
    line-height: 2em;
    background: #ffffff00;
    color: #fff;
    transition: 0.3s;
}

.react-btn:hover {
    background: #fafafa;
    color: #666;
}

.reaction-icon {
    width: 1em;
    height: 1em;
    object-fit: contain;
}

.reaction-category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.react-cat-btn {
    margin: 5px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    height: 3em;
    line-height: 3em;
    background: #f6f6f6;
    color: #666;
    transition: 0.3s;
}

.react-cat-btn:hover {
    background-color: #5793d8;
    color: #f0f0f0;
}

.react-cat-btn-selected {
    margin: 5px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    height: 3em;
    line-height: 3em;
    background: #f7aaaa;
    color: #666;
    transition: 0.3s;
}

.react-cat-btn-selected:hover {
    background-color: #57d85d;
    color: #f0f0f0;
}

.reaction-category-tabs div{
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.reaction-history {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    margin-bottom: 10px;
    align-items: center;
    background-color: #e8e8e8;
    border: 1px solid #ffffff00;
    border-radius: 10px;
}

.reaction-history span {
    margin: 3px;
    padding: 0 3px;
    /* border: 0px solid #ddd;
    border-radius: 5px; */
    cursor: default;
    /* height: 3em;
    line-height: 3em;
    background: #ffffff;
    color: #666; */
}

.history-icon {
    width: 1em;
    height: 1em;
    object-fit: contain;
}