* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'MSGothic003';
    src: url('fonts/msgothic002.ttf') format('truetype');
}

body {
    background-color: #008080; /* ティール背景色 */
    margin: 0; /* 画面の外枠に余白をつけない */
    padding: 0; /* 画面の外枠に余白をつけない */
    overflow: hidden; /* 画面がスクロールされないようにする */
    font-family: 'MSGothic003', 'MS Gothic', 'Pixelated MS Sans Serif', sans-serif;
}

html, body {
    overflow: hidden;
    height: 100%;
}

.taskbar {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 40px;
    background-color: #C0C0C0;
    display: flex;
    align-items: center;
    justify-content: space-between; /* アイテムを左右に配置 */
    z-index: 1001;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #000;
}

.start {
    background: linear-gradient(to bottom, #C0C0C0, #A0A0A0);
    color: black;
    padding: 5px 15px;
    margin: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border: 2px solid #000;
    border-left: 2px solid #FFF;
    border-top: 2px solid #FFF;
    box-shadow: inset -1px -1px 0 0 #808080, inset 1px 1px 0 0 #FFFFFF;
    font-weight: bold;
}

.start:hover {
    background: #A8A8A8;
}

.start.active {
    border: 2px solid #000;
    border-right: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
    box-shadow: inset 2px 2px 0 0 #808080, inset -2px -2px 0 0 #FFF;
}

.start-icon {
    width: 20px;
    height: 20px;
    background-color: white;
    margin-right: 5px;
    background-image: url('path-to-start-icon.png'); /* Use the actual path to the Windows 98 start icon */
    background-size: cover;
}

.start-menu {
    display: none;
    position: fixed;
    bottom: 40px;
    left: 10px;
    width: 200px;
    background-color: #C0C0C0;
    border: 2px solid #000;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 1002;
}

.start-menu-header {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #000;
    background-color: #000080;
    color: white;
}

.start-icon-large {
    width: 30px;
    height: 30px;
    background-image: url('path-to-start-icon.png'); /* Use the actual path to the Windows 98 start icon */
    background-size: cover;
    margin-right: 10px;
}

.start-text {
    font-family: 'MSGothic003', Arial, sans-serif;
    font-size: 14px;
}

.start-menu ul {
    list-style: none;
    margin: 0;
    padding: 10px;
    background-color: #C0C0C0;
}

.start-menu ul li {
    padding: 5px;
    cursor: pointer;
}

.start-menu ul li:hover {
    background-color: #000080;
    color: white;
}

.taskbar-windows {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.taskbar-windows .window-title {
    background-color: #c0c0c0;
    border: none;
    margin: 0 5px;
    padding: 5px;
    cursor: pointer;
    color: #000;
}

.taskbar-windows .window-title.active {
    background-color: #858585;
    color: white;
}

.window {
    position: absolute;
    /*transition: all 0.5s ease; /* アニメーションの対象と時間 */
    z-index: 1;
}

.window-body {
    font-family: 'MSGothic003', Arial, sans-serif;
}

.window.active {
    z-index: 1000;
}

.title-bar {
    cursor: move;
    font-family: 'MSGothic003', Arial, sans-serif;
    /*background: #000080;
    color: white;*/
    padding: 2px 5px;
    transition: width 0.3s ease, left 0.3s ease;
}


.window-body textarea {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.status-bar {
    padding: 5px 10px;
    color: black;
    font-family: '98px', 'MSGothic003';
    font-size: 14px;
    margin-right: 10px;
    text-align: right; /* 時刻をタスクバーの右側に配置 */
}

.calc-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-top: 5px;
}

.calc-buttons button {
    width: 45px;
    height: 30px;
    font-size: 14px;
    font-family: 'MSGothic003', Arial, sans-serif;
    border: 2px solid #000;
    background-color: #C0C0C0;
    cursor: pointer;
}

.calc-buttons button:hover {
    background-color: #A8A8A8;
}


.calc-buttons button:active {
    box-shadow: inset -1px -1px 0 0 #808080;
}

.ie6 {
    width: 600px;
    height: 400px;
    /*background: #C0C0C0;*/
    border: 2px solid black;
    position: absolute;
    left: 50px;
    top: 50px;
}
.toolbar {
    display: flex;
    padding: 5px;
    background: #A0A0A0;
    border-bottom: 2px solid black;
}
.address-bar {
    flex-grow: 1;
    margin: 0 5px;
}
.browser-view {
    width: 100%;
    height: calc(100% - 40px);
    border: none;
}
