

/*ヘッダー*/
@media (max-width: 1100px) {
    header {
        width: 100%;
        height: 55px;
        top: 0%;
        z-index: 100; /* ヘッダーを他の要素よりも手前に配置 */
        position: fixed;
        color: #fff;
        background-color: #ffffff;
        border: none;
        box-shadow: 0 0 2px rgba(0, 0, 0, 1);
        border-bottom: #000000;
    }
}
@media (min-width: 1100px) {
    /*ヘッダー*/
    header {
        width: 100%;
        height: 55px;
        padding: 0px calc(50% - 537px);
        top: 0%;
        z-index: 100; /* ヘッダーを他の要素よりも手前に配置 */
        position: fixed;
        color: #fff;
        background-color: #ffffff;
        border: none;
        box-shadow: 0 0 2px rgba(0, 0, 0, 1);
        border-bottom: #000000;
    }
}
/* スマホ用のスタイル */
@media (max-width: 700px) {
    header nav {
        height: 100%;
        background-color: #ffffff;
        color: #fff;
        display: flex;
        align-items: center;
        text-align: left;
        margin-left: 20px;
    }
    header nav ul {
        display: none;
    }
    /*ヘッダーボタン*/
    header .header-button {
        display: none;
    }
    
    /*サブメニューアイコン*/
    header .subMenu_icon {
        width: 40px;
        height: 40px;
        color: #fff;
        border-radius: 5px;
        margin-top: auto;
        margin-bottom: auto;
        margin-right: 10px;
        display: flex; /* 横並びにする */
        align-items: center; /* 垂直方向に中央揃え */
        list-style: none;
        align-items: center;
        text-align: left;
        justify-content: center; /* 水平方向に中央揃え */
    }
}
/* PC用のスタイル */
@media (min-width: 700px) {
    header nav {
        height: 100%;
        background-color: #ffffff;
        color: #fff;
        display: flex;
        align-items: center;
        text-align: left;
        margin-left: 20px;
    }
    header nav ul {
        height: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        align-items: center;
        text-align: left;
        justify-content: left; /* 水平方向に中央揃え */
    }
    /*ヘッダーボタン*/
    header .button {
        width: 100px;
        height: 80%;
        font-size: var(--fontSize);
        color: var(--maincolor);
        background-color: rgb(255, 255, 255);
        border: none;
        border-radius: 5px; /* 角を丸くする */
        cursor: pointer;
        margin: 0px 5px;
    }

    /*サブメニューアイコン*/
    header .subMenu_icon {
        width: 40px;
        height: 40px;
        color: #fff;
        border-radius: 5px;
        margin-top: auto;
        margin-bottom: auto;
        margin-right: 10px;
        display: flex; /* 横並びにする */
        align-items: center; /* 垂直方向に中央揃え */
        list-style: none;
        align-items: center;
        text-align: left;
        justify-content: center; /* 水平方向に中央揃え */
    }
}
header .button:hover {
    color: white;
    background-color: var(--maincolor);
}

/*サブメニューアイコン*/
header .subMenu_icon:hover {
    color: white;
    background-color: #000000;
}
header .subMenu_icon img {
    align-items: center; /* 垂直方向に中央揃え */
    justify-content: center; /* 水平方向に中央揃え */
    width: 30px;
    height: 30px;
    border-radius: 10px;
}