.layout {
    display: flex;
    min-height: 100vh;
}

.side-menu {
    width: 200px;
    background: #eee;
    padding: 24px 12px 24px 24px;
    box-sizing: border-box;
}

.side-menu h2 {
    font-size: 1.2em;
    margin-top: 0;
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu li {
    margin-bottom: 12px;
}

.side-menu a {
    text-decoration: none;
    color: #333;
}

.side-menu a:hover {
    text-decoration: underline;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    flex: 1;
}

.image-slider {
    width: 50%;
    max-width: 600px;
    margin: 0 auto 20px auto;
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    gap: 0;
    scroll-behavior: smooth;
}

.image-slider img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    scroll-snap-align: center;
    border-radius: 4px;
    object-fit: contain;
}

.product-info {
    margin-top: 20px;
}

.product-title {
    font-size: 2em;
    margin-bottom: 10px;
}

.product-description {
    margin-bottom: 20px;
}

.product-price {
    font-size: 1.5em;
    color: #e60000;
}

/* 追加例: style.css に追記 */
/* 製品一覧リスト用 */
.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.product-list li {
    width: 180px;
    text-align: center;
    background: #fafafa;
    border-radius: 8px;
    box-shadow: 0 2px 8px #0001;
    padding: 16px 8px;
    transition: box-shadow 0.2s;
}

.product-list li:hover {
    box-shadow: 0 4px 16px #0002;
}

.product-thumb {
    width: 100%;
    max-width: 140px;
    height: auto;
    border-radius: 4px;
    margin-bottom: 8px;
}

.philosophy {
    width: 100%;
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.philosophy h2 {
    font-size: 1.5em;
    margin-bottom: 16px;
}

.philosophy p {
    line-height: 1.6;
    color: #555;
}
