diff --git a/src/components/DetailImage.astro b/src/components/DetailImage.astro
index 4e18122..5bc6400 100644
--- a/src/components/DetailImage.astro
+++ b/src/components/DetailImage.astro
@@ -5,7 +5,7 @@ interface Props {
}
const { column } = Astro.props;
const className = cn(
- 'md:h-full flex flex-col flex-wrap gap-4 md:gap-10 [&_picture]:block [&_picture]:h-full [&_img]:h-full [&_video]:h-full',
+ 'md:h-full flex flex-col flex-wrap [&>li]:w-full md:[&>li]:w-auto gap-4 md:gap-10 [&_picture]:block md:[&_picture]:h-full md:[&_img]:h-full md:[&_video]:h-full',
{
'md:flex-col': column,
'md:[&>li]:h-full': !column,
diff --git a/src/pages/works/detail.astro b/src/pages/works/detail.astro
index 2e35f45..0ca19a3 100644
--- a/src/pages/works/detail.astro
+++ b/src/pages/works/detail.astro
@@ -44,12 +44,11 @@ const title = '医療従事者サイト';
-
@@ -127,7 +126,7 @@ const title = '医療従事者サイト';
@@ -187,7 +186,7 @@ const title = '医療従事者サイト';