* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f5;
    color: #333;
}

header {
    background-color: #FF9900;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo {
    width: 40px;
    height: auto;
    margin-right: 10px;
}

nav {
    background-color: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    position: relative;
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-list li {
    margin: 0 15px;
}

.nav-list a {
    text-decoration: none;
    color: #ff9900;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-list a:hover {
    background-color: #e2e6ea;
}

/* スマホ対応のメディアクエリ */
@media (max-width: 1100px) {

    nav {
        padding: 0;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        left: 0;
        top: 10px;
        background-color: #f8f9fa;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .nav-list a {
        display: block;
        width: 100%;
        padding: 15px 0;
    }
}

.menu-toggle {
    display: none; /* デフォルトでは非表示 */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 25px;
    z-index: 2;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #ff9900;
    transition: 0.3s;
}

/* スマホ対応のメディアクエリ */
@media (max-width: 1100px) {
    .menu-toggle {
        display: flex; /* スマホで表示 */
    }
}

section {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    scroll-margin-top: 70px; /* ヘッダーで隠れないようにする */
}

p{
    margin: 5px;
}

h2, h3 {
    margin: 5px;
    color: #FF9900;
}

h2 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.5em; /* フォントサイズを調整 */
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70%; /* 下線の幅を調整 */
    height: 3px; /* 下線の太さを調整 */
    background-color: #ff6347; /* 下線の色を調整 */
    border-radius: 2px; /* 角を丸くする */
    transition: width 0.3s ease; /* ホバー時のアニメーション */
}

h2:hover::after {
    width: 100%; /* ホバー時に下線を広げる */
}

.word-strong{
    color: #ff6347;
}

.hours-table {
    width: 80%; /* テーブルの横幅を80%に設定 */
    border-collapse: collapse;
    margin: 0 auto;
    table-layout: fixed; /* テーブルのレイアウトを固定 */
}

.hours-table th, .hours-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
    word-wrap: break-word; /* テキストの折り返しを有効に */
}

.hours-table th {
    background-color: #FF9900;
    color: white;
}

.bg_color_ff9900{
    background-color: #FF9900;
    color: white;
}

.notice {
    margin-top: 20px;
    color: #555;
}

@media (max-width: 600px) {
    .hours-table {
        width: 100%;
        border: 0;
    }

    .hours-table thead {
        display: none;
    }

    .hours-table tr {
        display: block;
        margin-bottom: 10px;
    }

    .hours-table th {
        width: 150px;
    }

    .hours-table td {
        display: block;
        font-size: 0.9em;
        border-bottom: 1px solid #ddd;
        position: relative;
    }

    .hours-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-left: 10px;
        font-weight: bold;
        text-align: left;
    }
}

.price-strong{
    color: #ff6347;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: fixed; /* テーブルのレイアウトを固定 */
}

.pricing-table th, .pricing-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    word-wrap: break-word; /* テキストの折り返しを有効に */
}

.pricing-table th {
    background-color: #FF9900;
    color: white;
}

.styled-section ol {
    padding-left: 20px;
}

.styled-section ol li {
    margin-bottom: 10px;
}

.styled-section ul {
    list-style-type: disc;
    padding-left: 20px;
}

.styled-section p, .styled-section h3 {
    margin: 10px 0;
}

.notice {
    margin-top: 20px;
    color: #555;
    text-align: center;
}

@media (max-width: 600px) {
    .pricing-table {
        border: 0;
    }

    .pricing-table thead {
        display: none;
    }

    .pricing-table tr {
        display: block;
        margin-bottom: 10px;
    }

    .pricing-table td {
        display: block;
        text-align: left;
        font-size: 0.9em;
        border-bottom: 1px solid #ddd;
        position: relative;
        padding-left: 50%;
    }

    .pricing-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        top: 0;
        width: 45%;
        height: 32px;
        padding-left: 10px;
        font-weight: bold;
        text-align: left;
        background-color: #FF9900; /* ラベルの背景色を追加 */
        color: white; /* ラベルの文字色を白に */
        padding-top: 10px;
    }
}


.line-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #00c300;
    color: white;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
}

.line-button:hover {
    background-color: #00a000;
}

footer {
    background-color: #FF9900;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.intro-img{
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    border-radius: 5px;
    margin: 10px auto;
}

.game img {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    border-radius: 5px;
    margin: 10px auto;
}

#filters {
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

#filters table {
    border-collapse: collapse;
    width: 100%;
}

#filters td {
    width: 35%;
    padding: 10px;
    vertical-align: middle;
}

#filters label {
    font-weight: bold;
    color: #333;
}

#filters select, #filters input[type="text"] {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

#filters select:focus, #filters input[type="text"]:focus {
    border-color: #FF9900;
}

#playerCountFilter {
    display: flex;
    align-items: center;
    gap: 10px;
}

#playerCountFilter label {
    margin-right: 5px;
}

#playerCountFilter input[type="checkbox"] {
    margin-right: 5px;
}

/* スマホ対応のメディアクエリ */
@media (max-width: 1100px) {
    #filters {
        width: 100%;
        padding: 10px;
    }

    #filters table {
        width: 100%;
    }

    #filters td {
        display: block;
        width: 100%;
        padding: 5px 0;
    }

    #filters label, #filters select, #filters input[type="text"] {
        width: 100%;
        box-sizing: border-box;
    }

    #playerCountFilter {
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

.game {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.game-info {
    padding: 15px;
}

.game-images {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    border-radius: 5px;
    margin: 10px auto;
}

@media (min-width: 600px) {
    .game {
        flex-direction: row;
        text-align: left;
    }

    .game-info {
        text-align: left;
        padding-left: 20px;
    }
}

.icon {
    width: 25px; /* アイコンの幅を調整 */
    height: 25px; /* アイコンの高さを調整 */
    vertical-align: middle; /* テキストとアイコンを縦方向に中央揃え */
    margin-right: 5px; /* アイコンとテキストの間にスペースを追加 */
}
