.unit_page {
    margin: 0 auto;
    max-width: 800px;
    padding: 20px;
    background-color: #fff;
}
.unit_card {
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 7px -7px #007bff;
    border: 2px solid #007bff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.unit_card_icon {
    width: 150px;
    height: 100px;
    background-size: cover;
    border-radius: 4px;
}
.star {
    font-size: 1.3em;
}

.star.yellow {
    color: #ffd700;
}
.star.red {
    color: #ff3b3b;
}
.passive_level {
    padding: 10px 0;
}
.passive_level_flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 5px;
}
.passive_explanation {
    font-size: 0.9em;
    padding: 5px 0;
}
.unit_name {
    font-size: 1.5em;
    font-weight: bold;
}

.unit_meta {
    color: #ddd;
    margin-top: 4px;
}

.section_title {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0 10px;
    padding-left: 8px;
    border-left: 4px solid #333;
}
.legion_skill {
    margin: 40px auto 20px;
    padding: 30px 20px 10px 20px;
    border: 2px solid #007bff;
    background-color: #fff;
}
.legion_skill_title {
    background-color: #007bff;
    color: #fff;
    border-radius: 100vh;
    padding: 10px 1.5em;
    margin: -55px 0 0 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}
.legion_skill_title::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    border: 15px solid transparent;
    width: 0;
    height: 0;
    border-top-color: #007bff;
}
.legion_skill_item {
    margin:1rem;
    padding:0rem;
    list-style-type:none;
    border-radius:5px;
}
.legion_skill_item_header {
    line-height: 1.6;
    padding: 6px 0;
    margin: 5px 0px;
    cursor: pointer;
    user-select: none;
    font-size: 1.3em;
    font-weight: bold;
}
.legion_skill_item_header:not(:last-child) {
    border-bottom:1px dashed #007bff;
    margin-bottom:0;
}
.legion_skill_item_header::before {
    content:'◆';
    padding:10px;
    font-weight:900;
    color:#007bff;
}
.legion_skill_item_header_content {
    display: none;
    padding: 0 10px;
}
.arrow {
    transition: transform 0.25s ease;
    font-size: 16px;
    float: right;
    color:#007bff;
}
.arrow.open {
    transform: rotate(180deg);
}
.legion_skill_item_flex {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.item_tag {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    border: #007bff solid 1px;
    color: #007bff;
    margin: 10px 0;
}
.level_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 5px;
    border-bottom: 1px dotted #eee;
    margin-bottom: 5px;
}
.skill_level {
    font-size: 1.1em;
}
.level_row span {
    font-size: 1.1em;
}
.unit_cooperation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}
/* 協力攻撃 */
.coop_targets a {
    text-decoration: none;
    color: inherit;
}
.coop_target_flex {
    display: flex;
    align-items: center;
    margin: 10px 0;
}
.coop_icon_wrap {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    border-radius: 4px;
}
.coop_icon_wrap img {
    width: 100%;
}
.coop_name {
    padding-left: 20px;
    font-weight: bold;
}
/* ランク色分け */
.UR .coop_name {
    color: #ff4d4d;
}
.SSR .coop_name {
    color: #d4af37;
}
.SR .coop_name {
    color: #b366ff;
}
.R .coop_name {
    color: #4da6ff;
}
.UR .coop_icon_wrap {
    background-color: #ff4d4d;
}
.SSR .coop_icon_wrap {
    background-color: #d4af37;
}
.SR .coop_icon_wrap {
    background-color: #b366ff;
}
.R .coop_icon_wrap {
    background-color: #4da6ff;
}
.obtain_text {
    padding: 20px;
}