body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 50px;
}

.slider {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.slider-item img {
    width: 100%;
    height: auto;
}

.progress-bars-container {
    background-color: black;  /* 背景を黒に設定 */
    padding: 40px 0;  /* 上下の余白を増やす */
}

.progress-bars {
    display: flex;
    justify-content: center;  /* ゲージ全体を中心に寄せる */
    align-items: center;
    gap: 10px;  /* ゲージ間の隙間 */
}

.progress-bar {
    width: 80px;  /* ゲージの幅を小さく */
    height: 5px;  /* ゲージの高さを小さく */
    background-color: #333;
    overflow: hidden;
    cursor: pointer;  /* マウスオーバー時に手の形にする */
    border-radius: 0;  /* 角をとがらせる */
}

.progress {
    height: 100%;
    width: 0;
    background-color: red;  /* ゲージの動きを赤色に設定 */
    transition: width 5s linear;
}

.progress-bar:hover {
    background-color: gray;  /* マウスオーバー時に濃い灰色にする */
}

.menu-button {
    padding: 10px 20px;
    font-size: 16px;
    color: #000000;
    background-color: #ffffff;
    border: none;
    border-radius: 30px;  /* ここでメニューボタンの丸みを設定 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
}

.menu-button:hover {
    background-color: #f5f5f5;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.logo {
    height: 35px;
    width: auto;
    padding: 10px;
    z-index: 10;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: white;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-shrink: 0;  /* ロゴのコンテナが縮まないようにする */
}

.header-content {
    display: flex;
    justify-content: center;  /* ヘッダーの内容を中央寄せにする */
    align-items: center;
    flex-grow: 1;  /* ヘッダーの内容がロゴとナビゲーションの間に広がるようにする */
}

.nav-toggle {
    order: 2;
    flex-shrink: 0;  /* ナビゲーション切り替えボタンが縮まないようにする */
    display: flex;
    justify-content: flex-end;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.nav-list {
    display: flex;
    list-style-type: none;
    gap: 20px;
    padding: 0;
    margin: 0 auto;
    align-items: center;
}

.nav-item a {
    text-decoration: none;
    color: inherit;
    padding: 10px;
    transition: color 0.3s;
}

.nav-item a:hover {
    color: #3498db;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    background-color: #1a1a1a;  /* メインコンテンツの背景色を#1a1a1aに設定 */
}

footer {
    background-color: #f9f9f9;
    padding: 10px 0;
    text-align: center;
    border-top: 1px solid #e4e4e4;
    font-size: 0.9rem;
    margin-top: 50px;
}

.slick-prev,
.slick-next {
    background: transparent;
    color: transparent;
}

.slick-dots {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 15px;
    border-radius: 30px;
    border: 1px solid #000000;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 10px;
    list-style-type: none;
    background: #efefef;
    margin: 0;
}

.slick-dots li {
    position: static;
    width: 5px;
    height: 5px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.slick-dots li button {
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.slick-dots li.slick-active {
    background-color: #000000;
}

.news-container, .button-container {
    background-color: #1a1a1a;  /* 背景色を#1a1a1aに設定 */
    color: #ffffff;  /* テキスト色を白に設定 */
}

.news-container h1 {
    font-size: 2em;
    text-align: center;
}

.news-list {
    list-style-type: none;
    padding: 0;
}

.news-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.news-list li .date {
    flex: 1;
}

.news-list li .category {
    flex: 1;
    text-align: center;
    background-color: #89a2eb;  /* お知らせと同じ青色 */
    color: #fff;
    padding: 5px;
    border-radius: 5px;
}

.news-list li .content {
    flex: 5;
    padding-left: 10px;
}

.news-list li a {
    text-decoration: none;
    color: inherit;
    display: flex;
    width: 100%;
}

.button-container {
    display: grid;
    place-items: center;
    height: 10vh;
    padding-bottom: 15px;
}

.rounded-button {
    padding: 10px 20px;
    font-size: 16px;
    color: #000000;
    background-color: #ffffff;
    border: none;
    border-radius: 30px;  /* 丸みを増やす */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
}

.rounded-button:hover {
    background-color: #f5f5f5;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
    .close-button {
        display: none;
    }

    .nav-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .close-button {
        display: none;  /* モバイル画面でのみ表示 */
    }

    .nav-list.active .close-button {
        display: block;  /* ナビゲーションがアクティブのときに表示 */
    }

    .nav-toggle {
        display: flex;  /* モバイル画面でメニューボタンを表示 */
    }

    .nav-list {
        display: none;  /* モバイル画面でナビゲーションメニューを非表示にする */
        flex-direction: column;
        align-items: center;
        position: fixed;
        width: 100%;
        top: 60px;
        left: 0;
        background-color: #fff;
        padding-top: 10px;
        padding-bottom: 10px;
        z-index: 1001;  /* メニューを他の要素の上に表示 */
    }

    .nav-list.active {
        display: flex;  /* メニューボタンがクリックされたときにメニューを表示 */
    }

    .logo-container {
        order: -1;  /* ロゴをヘッダーの最上部に移動 */
    }
}

/* 追加部分 */
.recommendation-container {
    padding: 20px;
    background-color: #000;  /* Set background color to black */
    color: white;  /* Set text color to white */
}

.recommendation-container .header {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.card-container-wrapper {
    position: relative;
}

.card-container {
    display: flex;
    overflow-x: auto;
    gap: 20px; /* Increased gap between cards */
    scroll-behavior: smooth;
    padding-bottom: 60px; /* Increased space for the scrollbar and buttons */
}

.card {
    background-color: #f0f0f0;  /* Set card background color to light gray */
    border-radius: 10px; /* カードの丸みを調整 */
    flex: 0 0 auto;
    width: 300px;
    margin-right: 10px;
    position: relative;
}

.card img {
    width: 100%;
    border-top-left-radius: 10px; /* カードの丸みを調整 */
    border-top-right-radius: 10px; /* カードの丸みを調整 */
}

.card-content {
    padding: 15px;
    color: black; /* Set text color to black */
}

.card-content .category {
    color: #999;
    font-size: 14px;
    margin-bottom: 5px;
}

.card-content .title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.card-content .title a {
    color: black; /* Set text color to black */
    text-decoration: none; /* Remove underline from links */
}

.card-content .title a:hover {
    color: #555; /* Slightly lighter black on hover */
}

.arrows {
    position: absolute;
    bottom: 30px; /* Increased space between buttons and scrollbar */
    right: 10px;
    display: flex;
    gap: 20px; /* Increased gap between buttons */
}

.arrows .arrow {
    background-color: #3c3c3c;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.arrows .arrow svg {
    fill: white;
}

/* Custom scrollbar styles for Webkit browsers */
.card-container::-webkit-scrollbar {
    height: 5px;
}

.card-container::-webkit-scrollbar-thumb {
    background-color: red;
    border-radius: 6px;
}

.card-container::-webkit-scrollbar-track {
    background-color: #333;
}

/* すべての製品セクション */
.all-products-container {
    padding: 20px;
    background-color: #fff;  /* Set background color to white */
    color: black;  /* Set text color to black */
}

.all-products-container .header {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.card-container-wrapper {
    position: relative;
}

.card-container {
    display: flex;
    overflow-x: auto;
    gap: 20px; /* Increased gap between cards */
    scroll-behavior: smooth;
    padding-bottom: 60px; /* Increased space for the scrollbar and buttons */
}

.card {
    background-color: #f0f0f0;  /* Set card background color to light gray */
    border-radius: 10px; /* カードの丸みを調整 */
    flex: 0 0 auto;
    width: 300px;
    margin-right: 10px;
    position: relative;
}

.card img {
    width: 100%;
    border-top-left-radius: 10px; /* カードの丸みを調整 */
    border-top-right-radius: 10px; /* カードの丸みを調整 */
}

.card-content {
    padding: 15px;
    color: black; /* Set text color to black */
}

.card-content .category {
    color: #333;
    font-size: 14px;
    margin-bottom: 5px;
}

.card-content .title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.card-content .title a {
    color: black; /* Set text color to black */
    text-decoration: none; /* Remove underline from links */
}

.card-content .title a:hover {
    color: #555; /* Slightly lighter black on hover */
}

.arrows {
    position: absolute;
    bottom: 30px; /* Increased space between buttons and scrollbar */
    right: 10px;
    display: flex;
    gap: 20px; /* Increased gap between buttons */
}

.arrows .arrow {
    background-color: #ccc;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.arrows .arrow svg {
    fill: black;
}

/* Custom scrollbar styles for Webkit browsers */
.card-container::-webkit-scrollbar {
    height: 5px;
}

.card-container::-webkit-scrollbar-thumb {
    background-color: red;
    border-radius: 6px;
}

.card-container::-webkit-scrollbar-track {
    background-color: #333;
}

/* ボタンスタイルの追加 */
.product-button {
    padding: 8px 16px; /* ボタンのパディングを少し小さくする */
    font-size: 14px; /* フォントサイズを少し小さくする */
    color: #000; /* 黒色のテキスト */
    background-color: #f0f0f0; /* カードの色と同じにする */
    border: 0.5px solid #000; /* 細い黒色の枠線 */
    border-radius: 10px; /* カードの丸みと同じにする */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); /* シャドウを少し小さくする */
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    text-align: center;
    margin: 5px; /* ボタン間の距離を調整 */
}

.product-button:hover {
    background-color: #e0e0e0; /* ホバー時の色を少し濃くする */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); /* シャドウを少し小さくする */
}

/* タイトル内のボタンの親要素のスタイルを調整 */
.card-content .title {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* ボタン間の距離を調整 */
    justify-content: flex-start; /* ボタンを左に揃える */
}
