body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.navbar {
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #ddd;
}

.navbar-left, .navbar-right {
    display: flex;
    align-items: center;
}

.navbar a {
    color: #000;
    text-decoration: none;
    margin: 0 0.5rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    background-color: #ffd700;
    border: 2px solid #000;
    border-radius: 10px;
    position: relative;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.navbar a:hover {
    background-color: #ffc107;
}

.navbar a.kansai {
    background-color: #87CEFA;
    margin-left: auto;
    margin-right: 8rem;
}

.navbar a.sanko {
    background-color: #ffffff; /* 出典の背景色を白に変更 */
    margin-left: auto;
    margin-right: 2rem;
}

.dropdown {
    position: relative;
}

.dropdown-button:hover + .dropdown-content,
.dropdown-content:hover {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #87CEFA; /* 背景色を青に設定 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 2px solid #000;
    border-radius: 10px;
    z-index: 100;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    width: 235px;
}

.dropdown-content li {
    padding: 0.5rem 1rem;
    list-style-type: none;
    cursor: pointer;
    font-weight: bold;
    color: #000;
    transition: background-color 0.3s ease;
}

.dropdown-content li:hover {
    background-color: #6eafe4; /* ホバー時の背景色を青に設定 */
}

.dropdown1-content {
    display: none;
    position: absolute;
    background-color: #ffffff; /* 出典の背景色を白に設定 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 2px solid #000;
    border-radius: 10px;
    z-index: 100;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    width: 235px;
}

.dropdown1-content li {
    padding: 0.5rem 1rem;
    list-style-type: none;
    cursor: pointer;
    font-weight: bold;
    color: #000;
    transition: background-color 0.3s ease;
}

.dropdown1-content li:hover {
    background-color: #e0e0e0; /* 出典ドロップダウンのホバー時の背景色を薄いグレーに設定 */
}

.frame {
    border: 2px solid #000;
    border-radius: 10px;
    display: block;
    margin: 10px auto;
    width: 1400px; /* 幅を1400pxに設定 */
    height: 700px; /* 高さを700pxに設定 */
    object-fit: contain;
}
