html,
body,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
form,
input,
div {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #fff;
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
}

main {
    flex: 1;
}

footer {
    /* height: 200px; */
    background-image: url(./img/ChatGPT\ Image\ 2026年5月21日\ 09_04_08.png);
    /* background-color: #000; */
    background-size: cover;
}

h1 {
    text-align: center;
}

#visit {
    text-align: center;
    width: 100%;
}

section {
    text-align: center;
}

h3 {
    text-align: center;
    padding-top: 8px;
}

.carousel-img {
    height: 500px;
    object-fit: cover;
}

.product-title {
    margin-right: 900px;
    font-size: 36px;
    white-space: nowrap;
}

.category-title {
    text-align: left;
    font-weight: bold;
}

.category-border {
    border-top: 1px solid #ccc;
    opacity: 0.6;
}

#top-news-list {
    width: fit-content;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.news-dot {
    flex-shrink: 0;
}

.news-link {
    text-decoration: none;
}

/* 採用情報 */
.recruit-message {
    max-width: 1100px;
    margin: 0 auto;
    line-height: 2;
}

/* エラー表示 */

.validation-error-label {
    color: #dc3545;
}

.customer-info-open-btn {
    border: 2px solid #dc3545 !important;
    background-color: #fff !important;
    color: #dc3545 !important;
}

#validation-error-btn {
    background-color: #f8d7da !important;
    border: 1px solid #dc3545 !important;
    color: #842029 !important;
}

.validation-error-btn {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
}

.validation-error {
    border: 2px solid #dc3545 !important;
    background-color: #f8d7da !important;
    padding-left: 8px;
}


/* 画像のマウスホバーで透明度上げる */
.product-img {
    transition: 0.3s ease;
}

#modal-img {
    width: 70%;
}

.product-img:hover {
    opacity: 0.6;
}

.product-img {
    background: #000;
    padding: 2px;
    transition: 0.3s ease;
}

.navbar {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.breadcrumb {
    margin-left: 100px;
    margin-top: 50px;
}

.navbar-toggler {
    border: 2px solid #000;
    border-radius: 10px;
    transition: opacity 0.2s;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 2;
}

.navbar-toggler.hidden {
    opacity: 0;
    pointer-events: none;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* TOP画像調整 */
/* 4枚全体 */
#top-product-list {
    display: flex;
    flex-wrap: wrap;

    justify-content: center;
    gap: 20px;

    max-width: 900px;
    margin: 0 auto;
}

/* 1枚ごとの箱 */
.top-product-box {
    width: 400px;
    text-align: center;
}

/* 画像 */
.top-product-img {
    width: 100%;
    height: 400px;

    object-fit: cover;

    border: 3px solid black;
    border-radius: 10px;

    transition: 0.3s;
}

/* ホバー時 */
.top-product-img:hover {
    opacity: 0.7;
}