@import '01_font-sizes.css';
/* ドロップダウンメニューの基本スタイル */
.dropdown-container {
    position: relative;
    display: flex;
    justify-content: center;
}

/* ドロップダウンの内容 */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 4px;
    z-index: 1000;
    padding: 5px 0;
    width: 500px;
    background-image: url(./images/背景画像/028.webp);
    background-size: 210px;
}

.dropdown-content > p {
    padding-left: 15px;
    margin-left: 0px;
    font-size: 26px;
}

.dropdown-content > p > a {
    padding-left: 20px;
}

.dropdown-content a {
    color: #333;
    padding: 2px 15px;
    text-decoration: none;
    display: block;
    font-size: calc(var(--font-size-lg) + 2px);
    white-space: normal;
    line-height: 1.4;
}

/* ホバー効果 */
.dropdown-container:hover .dropdown-content {
    display: block;
}

.dropdown-content a:hover {
    background: #f5f5f5;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .tab_div {
        flex-direction: column;
    }

    .dropdown-container {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        width: 100%;
        background: #f9f9f9;
    }

    .dropdown-content a {
        padding: 12px 20px;
        border-bottom: 1px solid #eee;
    }

    .a_tab {
        width: 100%;
        box-sizing: border-box;
        border-bottom: 1px solid #eee;
    }
}