/* related-app.css — page-wrapper + right-column の汎用スタイル */

/* ===== page-wrapper: main + right-column のレイアウト ===== */
.page-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.page-wrapper > main {
    flex: 1 1 auto;
    min-width: 0;
}

/* ===== right-column ===== */
.right-column {
    flex-basis: 100%;
    background-color: lightgray;
}

.right-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px auto 16px 16px;
}

.right-column-header h2 {
    font-size: 1.2rem;
    border-left: 4px solid #555;
    padding-left: 8px;
}

.right-column-header a {
    display: inline-block;
    padding: 6px 16px;
    font-size: 1rem;
    color: #333;
    background-color: #e8e8e8;
    border: 1px solid #aaa;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 0 #999;
    margin-right: 16px;
    transition: background-color 0.15s, box-shadow 0.15s, transform 0.1s;
}

.right-column-header a:hover  { background-color: #d4d4d4; }
.right-column-header a:active { box-shadow: none; transform: translateY(2px); }

/* ===== #link-list ===== */
#link-list {
    list-style: none;
    padding: 0;
}

#link-list li a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin: 10px;
    text-decoration: none;
    color: black;
    background-color: rgb(230, 250, 250);
}

#link-list li a img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background-color: white;
    vertical-align: middle;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #8a8787;
    border-radius: 8px;
}

#link-list li a:hover img {
    transform: scale(1.1);
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.5);
}
