body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
header {
    background-color: #35424a;
    color: #ffffff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #e8491d 3px solid;
}
header h1 {
    margin: 0;
    text-align: center;
    padding-bottom: 10px;
}
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px;
}
.highlight {
    color: #e8491d;
    font-weight: bold;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
th {
    background-color: #35424a;
    color: white;
}
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}
.gallery-item {
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-5px);
}
.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
.reviews {
    margin-top: 40px;
    margin-bottom: 40px;
}
.review {
    display: flex;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.review-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-right: 20px;
    flex-shrink: 0;
}
.review-content {
    flex-grow: 1;
}
.review-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #35424a;
}
.review-text {
    line-height: 1.8;
}
.slideshow-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin-right: 20px;
    flex-shrink: 0;
}
.slideshow-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.slideshow-slide.active {
    opacity: 1;
}
.slideshow-dots {
    text-align: center;
    margin-top: 5px;
}
.slideshow-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #bbb;
    margin: 0 5px;
    cursor: pointer;
}
.slideshow-dot.active {
    background-color: #e8491d;
}
.image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    font-size: 0.8em;
}
@media (max-width: 768px) {
    .review {
        flex-direction: column;
    }
    .review-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .slideshow-container {
        width: 100%;
        height: 0;
        padding-bottom: 100%; /* アスペクト比を1:1に保持 */
        position: relative;
        margin-right: 0;
        margin-bottom: 30px;
    }
    .slideshow-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .slideshow-slide .review-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .slideshow-dots {
        position: absolute;
        bottom: -25px;
        left: 0;
        right: 0;
        text-align: center;
    }
    .image-label {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 5px 0 5px 0;
        margin: 0;
    }
    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}
