.btn, .blue_btn {
    display: inline-block;
    border-style: solid;
    color: white;
    text-decoration: none;
    border-width: 1px;
    border-radius: 10px;
    padding: 3px 12px;
    text-shadow: 1px 1px 3px #000000;
}
@media screen and (width: 480px) {
    .btn, .blue_btn {
        border-width: 2px;
        border-radius: 15px;
        padding: 5px 20px;
        text-shadow: 1px 1px 4px #000000;
    }
}

.btn.btn-info, .blue_btn {
    border-color: #65daf8;
    background: -webkit-linear-gradient(90deg, #015678, #41c2ce);
    background: linear-gradient(to top, #015678, #41c2ce);
}
.btn.btn-legacy {
    border-color: #2a7e53;
    background: -webkit-linear-gradient(90deg, #143b27, #3cb578);
    background: linear-gradient(to top, #143b27, #3cb578);
}
.btn.btn-warning {
    border-color: #f7f845;
    background: -webkit-linear-gradient(90deg, #787714, #cecb20);
    background: linear-gradient(to top, #787714, #cecb20);
}
.btn.btn-danger {
    border-color: #f86565;
    background: -webkit-linear-gradient(90deg, #780101, #ce4141);
    background: linear-gradient(to top, #780101, #ce4141);
}
.btn.disabled, .blue_btn.disabled {
    border-color: #f8e9ea;
    background: -webkit-linear-gradient(90deg, #787674, #cecacb);
    background: linear-gradient(to top, #787674, #cecacb);
}
.btn *, .blue_btn * {
    display: inherit;
}

#searchForm select {
    font-size: inherit;
}

#searchForm .form-group {
    text-align: left;
    line-height: 1.75;
}
#searchForm .form-group > label {
    width: 20%;
    text-align: center;
    display: inline-block;
    vertical-align: top;
}
#searchForm .form-group > select {
    width: 75%;
    display: inline-block;
    vertical-align: top;
    height: 1.5em;
}

#cardList {
    width: 100%;
}

#cardList .card-item {
    display: inline-block;
    position: relative;
    text-decoration: none;
    width: 19%;
    margin: 0.5%;
}
#cardList .card-item > img {
    width: 100%;
    vertical-align: top;
}
#cardList .card-item > .checkmark {
    display: none;
}
#cardList .card-item.selected > .checkmark {
    display: block;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 0; left: 0;
    padding-top: 40%;
}
.warning-icon {
    bottom: 10px;
    font-size: 0.8em;
    padding: 0.1em;
    display: inline-block;
    background: #a42000;
    border: 0.1em solid #FFFFFF;
    border-radius: 50%;
    color: #FFFFFF;
    width: 1em;
    height: 1em;
    line-height: 1em;
    text-align: center;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
}
.warning-icon:before {
    content: "\FF01";
}
#cardList .card-item > .warning-icon {
    position: absolute;
    bottom: 1.50em;
    right: 0.25em;
}

.reinforce-icon {
    bottom: 10px;
    font-size: 0.8em;
    padding: 0.1em;
    display: inline-block;
    background: #00B0F0;
    border: 0.1em solid #FFFFFF;
    border-radius: 50%;
    color: #FFFFFF;
    width: 1em;
    height: 1em;
    line-height: 1em;
    text-align: center;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
}

#cardList .card-item > .reinforce-icon {
    position: absolute;
    top: 0.10em;
    right: 0.25em;
}

#cardList .card-item > .save-icon {
    position: absolute;
    bottom: 0.80em;
    left: 0.25em;
}

#cardList .card-item.selected:before {
    content: " ";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

#fixedCardInfo, #fixedCardInfo * {
    box-sizing: border-box;
}
#fixedCardInfo {
    position: fixed;
    color: white;
    padding: 0.5em;
    background: -webkit-linear-gradient(90deg, rgba(0,0,0,1), rgba(0,0,0,0.7));
    background: linear-gradient(0deg, rgba(0,0,0,1), rgba(0,0,0,0.7));
    width: 100%;
    bottom: 0;
    z-index: 10;
}
#fixedCardInfo label {
    color: #a194ff;
}
#fixedCardInfo .card_info_name {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow-x: hidden;
    padding-bottom: 0.5em;
    line-height: 1.2;
}
#fixedCardInfo .close_button {
    display: inline-block;
    position: absolute;
    bottom: 0.75em;
    right: 0.75em;
}
#fixedCardInfo .close_button > img {
    width: 100%;
    display: block;
}

#mixTabList {
    width: 100%;
    margin-top: 0.25em;
}
#mixTabList > .tab {
    display: inline-block;
    width: 25%;
}
#mixTabList > .tab > img, #engramTabList > .tab > img {
    vertical-align: top;
    width: 100%;
}

#engramTabList {
    margin-top: 0.5em;
    width: 100%;
}
#engramTabList > .tab {
    display: inline-block;
    width: 50%;
}

/* 結晶化プロトコル */
.protocol, .protocol * {
    box-sizing: border-box;
}
.protocol {
    font-size: 87.5%;
    padding: 0.5em;
}
.protocol .protocol_image {
    width: 25%;
    float: left;
}
.protocol_image img {
    width: 100%;
    display: block;
}
.protocol .protocol_info {
    width: 75%;
    float: left;
    padding: 0 2.5%;
}
.protocol_info label {
    color: #a194ff;
}

.button_list {
    margin-top: 1em;
}
.button_list .btn {
    display: block;
    width: 80%;
    margin: 0.75em auto;
    text-align: center;
}

.engram_warning {
    text-align: left;
    font-size: 87.5%;
    color: #ff5354;
}