
body {
  
  font-family: "DotGothic16", sans-serif;
  background-color: #ffeff6; /* 薄いピンク */
  background-image: radial-gradient(white 10%, transparent 11%);
  background-size: 20px 20px; /* 水玉の大きさと間隔 */
 
}


h1 {
  font-size: 120px;     /* 好きなサイズに調整（例: 32px） */
  text-align: center;
  margin-top: 30px;
}







.update-log {
  max-width: 400px;       /* PCでは最大400px */
  width: 90%;             /* スマホでは画面の90%まで広がる */
  margin:40px auto;      /* 中央寄せ */
  padding: 10px;
  background: #fffacd;    /* 薄い黄色背景 */
  border: 2px dashed #ff9900;
  font-size: 14px;
  box-sizing: border-box; /* 幅計算にpaddingを含める（崩れ防止） */
}

.update-log h2 {
  margin-top: 0;
  font-size: 18px;
  text-align: center;
  background-color: #ff1493;  /* ビビッドピンク見出し */
  color: #fff;
  padding: 5px;
}
.coming-soon {
  width: 300px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
  background: #ffe4e1;         /* ピンクっぽい背景 */
  border: 3px dashed #ff1493;  /* 平成感ある点線枠 */
  font-size: 18px;
  font-weight: normal;
}
/* ようこそ */
.welcome {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-top: 40px;     /* 上の余白 */
  margin-bottom: 20px;  /* 下との間隔 */
}

/* サイト説明全体 */
.site-description {
  text-align: center;
  margin: 20px auto 40px;
  width: 80%;
  line-height: 1.2;
}

/* 説明文（大きめと小さめに分ける） */
.site-description .main-text {
  font-size: 14px;
  margin-bottom: 10px;
  color: #5d5d5d;
}

.site-description .sub-text {
  font-size: 14px;
  color: #5d5d5d;   /* 少し薄めで控えめに */
}

 


main {
  padding-bottom: 60px; /* フッターの高さ分だけ余白を確保 */
}

p  { font-size: 1rem; }



/* タイトル */
.site-header h1 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 2rem;
}

/* ナビゲーション */
.page-links {
  margin: 0 auto;
}
.page-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 24px;
}
.page-links li { margin: 0; padding: 0; }
.page-links a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 1rem;
  padding: 4px 6px;
}
.page-links a:hover { color: #ffb356; }

.about-section {
  max-width: 400px;
  margin: 20px auto;
  text-align: center;               /* 文字を真ん中に */
}

.infobox {
  width: 350px;
  margin: 20px auto;
  background: #fff;
  border: 1px solid #ff1493;   /* 外枠はピンクの実線 */
  padding: 10px;
  box-shadow: 4px 4px 0 #ffc7ec;
  font-size: 14px;
  text-align: left;
}

.infobox h3 {
  margin: 0;
  padding: 8px;
  background: #ffb6d9;        /* ピンク帯 */
  color: #000;
  text-align: center;
  font-weight: bold;
}

.infobox table {
  width: 100%;
  border-collapse: collapse;
}

.infobox th,
.infobox td {
  border: 1px solid #ff1493;   /* ← 点線から実線に変更 */
  padding: 6px;
}

.infobox th {
  background: #ffe4f2;
  width: 35%;
}

.infobox h3 {
  margin: 0;
  padding: 8px;
  background: #ffb6d9;
  color: #000;
  text-align: center;
  font-weight: bold;
}
.infobox-icon {
  display: block;
  margin: 10px auto;
  width: 120px;
  height: auto;  /* 丸くするなら */
  background: #fff;       /* アイコンの背景を白く */
  padding: 4px;           /* 背景が見える余白 */
 
}



.link-banners .banner:hover {
  transform: translateY(-3px);
  background: #ffe4f2;
}

.update-log h2 {
  margin: 0 auto 10px;   /* 中央寄せ */
  font-size: 18px;
  text-align: center;
  background-color: #ff1493;
  color: #fff;
  padding: 10px;
  width: 200px;          /* ←ここで幅を指定 */
  border-radius: 6px;    /* ←角丸にすると可愛い（オプション） */
   animation: blink-text 1s step-start infinite;
}

 


@keyframes blink-text {
  50% {
    color: transparent; /* 文字だけ消える */
  }
}
/* 横並びのウィキ風レイアウト */
.about-layout {
  max-width: 1000px;
  width: 92%;
  margin: 20px auto;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* インフォボックス（左に出したい場合は order: 0 のまま） */
.infobox {
  width: 300px;
  flex: 0 0 300px;     /* 固定幅のサイド箱 */
  margin: 0;           /* 中央寄せ用の auto は消す/上書き */
  background: #fff;
  border: 3px solid #ff1493;
  padding: 10px;
  box-shadow: 4px 4px 0 #ff66cc;
  font-size: 13px;
}

/* 記事本文（残り幅） */
.wiki-article {
  flex: 1 1 auto;
  min-width: 0;        /* 長い単語でのはみ出し防止 */
}

/* インフォボックスの見出し・表まわり（既存を流用可） */
.infobox h3 {
  margin: 0 0 8px;
  padding: 8px;
  background: #ffb6d9;
  text-align: center;
  font-weight: bold;
  color: #000;
}
.infobox table { width: 100%; border-collapse: collapse; }
.infobox th, .infobox td { border: 1px solid #ff1493; padding: 6px; }
.infobox th { background: #ffe4f2; width: 35%; }
.infobox-icon {
  display: block; margin: 10px auto; width: 150px; height: auto;
  border-radius: 50%; background:#fff; padding:4px; 
}

/* 画面が狭い時は縦並びに */
@media (max-width: 800px) {
  .about-layout { flex-direction: column; }
  .infobox { width: 100%; flex: none; }
}
/* 右にインフォボックス、左に本文 */
.about-layout { flex-direction: row-reverse; }
.super-bold {
  font-weight: 900;      /* 極太 */
  color: #000000;        /* ビビッドピンク */
}
body {
  color: #222222;  /* 全体の文字色をピンクに */
}
.pink-text {
  color: #ff227ee9;  /* ビビッドピンク */
}
.wiki-article p {
  line-height: 1.4;  /* デフォより狭め */
}
.wiki-article ul {
  font-size: 16px;   /* 全体の文章より少し大きく */
  line-height: 1.5;  /* 行間をちょっとゆるめて見やすく */
  padding-left: 20px; /* 箇条書きのインデント調整 */
}

.wiki-article li {
  margin-bottom: 6px; /* 項目間に少し余白をつける */
}
.wiki-article h2 {
  border-bottom: 2px solid #ff1493; /* ピンクのシンプルな線 */
  padding-bottom: 4px;              /* 見出しと線の間 */
  margin-bottom: 12px;              /* 線と本文の間 */
  font-size: 20px;                  /* 見出しをちょっと強調 */
}
.wiki-article h3 {
  border-bottom: 2px solid #ff1493; /* ピンクのシンプルな線 */
  padding-bottom: 4px;              /* 見出しと線の間 */
  margin-bottom: 12px;              /* 線と本文の間 */
  font-size: 20px;                  /* 見出しをちょっと強調 */
}
.link-center {
  text-align: center;  /* 中央寄せ */
  margin: 20px 0;      /* 上下に余白 */
}

.link-center a {
  color: #ff1493;       /* ピンク色にする例 */
  text-decoration: underline; /* 下線あり */
}
.external-links {
  text-align: center;
  margin: 15px auto;
}




.external-links h3 {
  font-size: 18px;
  border-bottom: 2px solid #ff1493; /* Wikipedia風の細い線 */
  margin-bottom: 10px;
  padding-bottom: 2px;
}

.external-links ul {
  list-style-type: none; /* Wikipediaは外部リンクに●を付けない */
  margin: 0;
  padding: 0;
}

.external-links li {
  margin: 4px 0;
}

.external-links a {
  color: #ff1493;           /* Wikipediaの標準リンク青 */
  text-decoration: underline;
}

.external-links a:hover {
  color: #ffc6ec;           /* Wikipedia風 hover色 */
}
.banner-link {
  display: block;
  text-align: center;
  margin: 20px 0 20px;  /* 上の余白を 10px にして少し上げる */
}

.kirakira-icon {
  width: 15px;   /* 好きなサイズに調整 */
  height: auto;
  margin-left: 5px; /* 文字とアイコンの間の余白 */
  vertical-align: middle; /* テキストの高さに合わせる */
}

.ext-icon {
  width: 14px;             /* アイコンの大きさ（調整可） */
  height: 14px;
  margin-left: 4px;        /* テキストとアイコンの間 */
  vertical-align: middle;  /* テキストと高さを揃える */
}
/* 外部リンク専用スタイル */
.external-link {
  color: #ff1493;           /* ピンク */
  text-decoration: underline;
}



/* コンテンツと被らないよう、下部に少し余白を増やす */
main { padding-bottom: 100px; }  /* 60px → 大きめに */

/* スマホでは中央下で全幅に */
@media (max-width: 600px) {
  footer.site-footer {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: rgba(255,255,255,0.9);
    border-top: 1px solid #ececec;
    padding: 8px 12px;
  }

  /* 見出しや画像も縮める */
  .site-header h1 { font-size: clamp(22px, 8vw, 36px); }
  .banner-link img { width: 180px; height: auto; }
  .chara-img { width: 120px; } /* index のキャラ画像 [oai_citation:4‡style.css](sediment://file_00000000479861f7adb51d79c329ea06) */
}

.banner-caption {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  color: #ff1493;
  margin-bottom: 30px;
  text-shadow: 1px 1px 0 #ffffff, 2px 2px 0 #ff66cc;
  animation: blink-caption 1s step-start infinite;
}

@keyframes blink-caption {
  50% {
    color: #111111;
    text-shadow: 1px 1px 0 #ff66cc, 2px 2px 0 #ff1493;
  }
}

.page-links ul { flex-wrap: wrap; gap: 16px; } /* すでにflex指定あり [oai_citation:7‡style.css](sediment://file_00000000479861f7adb51d79c329ea06) */

.link-info {
  max-width: 500px;
  margin: 20px auto;
  padding: 10px;
  background: #fff8fb;     /* 平成っぽい薄ピンク背景 */
  border: 2px dotted #ff66cc;
  font-size: 14px;
  text-align: center;
  margin-bottom: 60px; 
  
}

.link-info textarea {
  width: 100%;
  font-family: monospace;
  font-size: 12px;
  background: #f9f9f9;
  border: 1px solid #ccc;
  resize: none;
}
.page-bottom-banner {
  text-align: center;   /* 真ん中に置く */
  margin: 40px 0 20px;  /* 上下に余白 */
  font-size: 12px;
   color: #ffadad;
}

.page-bottom-banner img {
  width: 200px;   /* サイズは調整 */
  height: auto;
}
.bottom-banner {
  display: flex;
  justify-content: center;  /* 中央に配置 */
  align-items: center;      /* 縦位置を揃える */
  gap: 12px;                /* バナーと文字の間隔 */
  margin: 40px 0 20px;      /* 上下の余白 */
 
}

.bottom-banner img {
  display: block;  /* 画像下に余計な隙間を作らない */
  width: 200px;   /* バナーのサイズ調整 */
  height: auto;
}


.banner-box img {
  display: block;       /* 1枚ごとに改行 */
  margin: 10px auto;     /* 自動で中央寄せ + 上下余白 */
}
.wiki-article h3 {
  border-bottom: 2px solid #ff1493;
  padding-bottom: 4px;
  margin-bottom: 12px;
  font-size: 20px;
  display: block;     /* ブロック要素化（デフォでblockだけど明示） */
  width: 100%;        /* 横いっぱいに伸ばす */
}
.external-links h3 {
  font-size: 18px;
  border-bottom: 2px solid #ff1493;
  margin-bottom: 10px;
  padding-bottom: 2px;
  width: 100%;
}
/* --- about の h3（人物・外部リンク）の下線を本文幅いっぱいに延ばす --- */
.wiki-article h3{
  display: block;      /* 必ずブロック要素として扱う */
  width: 100%;         /* 本文エリアの横幅いっぱい */
  border-bottom: 2px solid #ff1493;
  padding-bottom: 4px;
  margin-bottom: 12px;
}

/* （紛らわしい inline-block を無効化） */
.external-links h3{
  display: block;      /* もし .external-links を使っても全幅にする */
  width: 100%;
}

ワーク
.work-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}



/* バナーを横並びに中央配置 */
.work-banners {
  display: flex;
  justify-content: center;   /* 横方向の中央揃え */
  gap: 20px;                 /* バナー同士の間隔 */
  margin-bottom: 20px;
  flex-wrap: wrap;           /* 画面が狭いときは折り返す */
}

/* バナー画像（全部同じサイズに） */
.work-banner {
  width: 300px;              /* バナーの幅 */
  height: 80px;              /* バナーの高さ */
  object-fit: cover;         /* 画像がバナー枠に収まるよう調整 */
  cursor: pointer;
  display: block;
  border: 2px solid #ff99cc;
  box-shadow: 2px 2px 0 #ff1493;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* ホバー時のエフェクト */
.work-banner:hover {
  transform: scale(1.05);
  box-shadow: 4px 4px 0 #ff66cc;
}

/* もし文字入りバナーを使う場合、文字を中央に重ねる */
.work-banner-text {
  position: relative;
  width: 300px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  color: #fff;                /* 文字色（バナー背景によって調整） */
  background: linear-gradient(90deg, #ff66cc, #ff1493);
  cursor: pointer;
  border: 2px solid #ff99cc;
  box-shadow: 2px 2px 0 #ff1493;
  transition: transform 0.2s, box-shadow 0.2s;
}

.work-banner-text:hover {
  transform: scale(1.05);
  box-shadow: 4px 4px 0 #ff66cc;
}



.work-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
  gap: 20px;            /* 画像と画像の間隔 */
  margin-top: 20px;
}

.work-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border: none;         /* 枠なしでシンプルに */
}
/* バナー全体 */
.work-banners {
  display: flex;
  justify-content: center;  /* 横並びで中央に配置 */
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* 文字入りバナー */
.work-banner-text {
  width: 300px;             /* バナーの幅 */
  height: 80px;             /* バナーの高さ */
  display: flex;
  align-items: center;      /* 縦方向の中央揃え */
  justify-content: center;  /* 横方向の中央揃え */
  font-size: 24px;          /* 文字を大きくする */
  font-weight: bold;
  color: #fff;              /* 白文字（背景によって調整） */
  background: linear-gradient(90deg, #ff66cc, #ff1493);
  border: 2px solid #ff99cc;
  box-shadow: 2px 2px 0 #ff1493;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;       /* 文字を中央寄せ */
}

.work-banner-text:hover {
  transform: scale(1.05);
  box-shadow: 4px 4px 0 #ff66cc;
}
/* ページとギャラリー（シンプル・タイル） */
.work-page { max-width: 1000px; margin: 0 auto; padding: 20px; text-align: center; }
.work-banners { display: flex; justify-content: center; gap: 20px; margin: 12px 0 20px; }
.work-banner-text {
  width: 300px; height: 80px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: bold; color: #fff; cursor: pointer; text-align: center;
  background: linear-gradient(90deg, #ff66cc, #ff1493);
  border: 2px solid #ff99cc; box-shadow: 2px 2px 0 #ff1493; transition: transform .2s, box-shadow .2s;
}
.work-banner-text:hover { transform: scale(1.05); box-shadow: 4px 4px 0 #ff66cc; }

.work-gallery { 
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 20px;
}
.work-gallery img { width: 100%; height: auto; display: block; border: none; }
/* Works ページのベース */
.work-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

/* バナー横並び＆中央 */
.work-banners {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 12px 0 20px;
  flex-wrap: wrap;
}

/* 文字バナー（中央・大きめ文字） */
.work-banner-text {
  width: 300px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: bold; color: #fff; text-align: center; cursor: pointer;
  background: linear-gradient(90deg, #ff66cc, #ff1493);
  border: 2px solid #ff99cc; box-shadow: 2px 2px 0 #ff1493;
  transition: transform .2s, box-shadow .2s;
}
.work-banner-text:hover { transform: scale(1.05); box-shadow: 4px 4px 0 #ff66cc; }

/* シンプルなタイルギャラリー */
.work-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 20px;
}
.work-gallery img { width: 100%; height: auto; display: block; border: none; }
/* ギャラリーを正方形タイルに */
.work-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.work-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: pointer;
  border: none;
}

/* ライトボックス */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}
.lightbox-content {
  max-width: 90%;
  max-height: 90%;
}
.close, .prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}
.close {
  top: 20px;
  right: 35px;
  font-size: 50px;
}
.prev { left: 20px; }
.next { right: 20px; }
/* タップしやすく・行間ゆったり */
:root {
  --tap: 44px;         /* 最低タップ領域 */
}

/* 600px以下＝スマホ想定 */
@media (max-width: 600px) {
  /* ページ余白を少し広めに */
  .work-page { padding: 16px; }

  /* バナー：文字は少し小さく、でも中央で読みやすく */
  .work-banner-text {
    width: 100%;
    max-width: 360px;
    height: 64px;
    font-size: 20px;
    border-width: 2px;
    margin: 0 auto;
  }

  /* ギャラリー：小さめタイルで詰めすぎない */
  .work-gallery {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 16px;
  }


  .work-gallery img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  /* ライトボックス：ボタン大きめ＆押しやすく */
  .close, .prev, .next {
    font-size: 42px;
    padding: 8px 12px;
    line-height: 1;
    min-width: var(--tap);
    min-height: var(--tap);
  }
  .close { top: 16px; right: 16px; font-size: 48px; }
  .prev { left: 8px; }
  .next { right: 8px; }
}

/* iOSの青いタップハイライトを消す（見た目すっきり） */
.work-banner-text,
.work-gallery img,
.prev,.next,.close {
  -webkit-tap-highlight-color: transparent;
}

.site-header{
  background: #ffffff;              /* 薄ピンク */
  border: 1px  #ff66cc;       /* ピンク点線の四角枠 */
  box-shadow: 2px 3px 0 #ff1493;    /* ずらした影で“ステッカー感” */
  padding: 10px 16px;
   max-width: 500px; 
  margin:20px auto 13px;           /* 上下に余白 */
  text-align: center;               /* 中身を中央寄せ */
}

/* ナビの並びを中央に（必要なら） */
.site-header .page-links ul{
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
a {
  color: #ff3399;
  text-decoration: none;
}

.blink {
  animation: blink 1s step-start infinite;
  color: #111111;       /* 濃いピンクで目立たせる */
  font-weight: normal;
  margin-right: 8px;    /* 文字と「バナーを〜」の間に余白 */
}

@keyframes blink {
  50% { opacity: 0; }
}
.counter img {
  vertical-align: middle;
  image-rendering: pixelated; /* ドット感ほしい時 */
}

/* テキスト版に数字を強調したいとき */
#visits {
  font-family: "Courier New", ui-monospace, monospace;
  letter-spacing: 0.05em;
  padding: 0 .25em;
  border-bottom: 2px dotted hotpink; /* 平成っぽライン */
}

.counter-text {
  text-align: center;
  font-size: 16px;
  color: #000;
  margin-top: 10px;
  margin-bottom: 30px;
}
#visits {
  font-family: "Courier New", ui-monospace, monospace;
  letter-spacing: .05em;
  padding: 0 .25em;
  border-bottom: 2px dotted hotpink;
}
.counter-text {
  text-align: center;   /* ←これで中身全部を中央寄せ */
  font-size: 16px;
  color: #000;
  margin-top: 10px;
  margin-bottom: 30px;
}

.counter-text img {
  display: inline-block; /* 画像をインラインブロック化で中央揃え安定 */
  vertical-align: middle;
}
.counter-text { text-align: center; } /* 既に定義ありでOK */

/* --- 来訪者カウンター --- */
.counter-box {
  display: flex;
  justify-content: center;  /* 横方向の中央寄せ */
  align-items: center;       /* 縦方向の中央揃え */
  gap: 6px;                  /* 各要素の間隔 */
  flex-wrap: wrap;           /* スマホで折り返しOK */
  font-size: 16px;
  color: #000;
  margin-top: 10px;
  margin-bottom: 30px;
  text-align: center;
}

.counter-box img {
  vertical-align: middle;
}

.counter-link img {
  display: inline-block;
}

/* --- 更新記録（左寄せ） --- */
.update-log ul {
  text-align: left;
  padding-left: 20px;
  list-style-type: disc;
}

.update-log li {
  margin-bottom: 6px;
}
/* === スマホでも横並びを維持しつつ縮む === */
@media (max-width: 600px) {
  .about-layout {
    flex-wrap: wrap;        /* はみ出さず自動で折り返す */
    width: 100%;            /* 画面幅にフィット */
    max-width: none;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .infobox {
    flex: 1 1 100%;         /* 自動調整して100%以内に収まる */
    min-width: 260px;       /* 小さすぎ防止 */
  }

  .wiki-article {
    flex: 1 1 100%;         /* こちらも幅調整 */
    min-width: 260px;
  }

  img, table {
    max-width: 100%;
    height: auto;
  }
}
/* === 共通：スマホ(～600px)で全ページを画面幅にフィットさせる === */
@media (max-width: 600px) {
  /* ヘッダーを全幅＆左右の余白ゼロに */
  .site-header{
    width: 100%;
    max-width: none;
    margin: 0;           /* 真ん中の白い箱にならないように */
    border-left: none;
    border-right: none;
    box-sizing: border-box;
    padding: 10px 12px;
  }

  /* 主要コンテナを全幅＋内側余白だけ */
  .work-page,
  .site-description,
  .update-log,
  .link-info {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
  }

  /* Works のボタンは横いっぱい（でも大きすぎない） */
  .work-banner-text{
    width: 100%;
    max-width: 360px;   /* 余白を残したい時はここで上限 */
    height: 64px;
    margin: 0 auto 12px;
    font-size: 20px;
  }
}
/* 全ての画像をスマホ幅に合わせる */
img {
  max-width: 100%;
  height: auto;
}

/* 横スクロール防止 */
html, body {
  width: 100%;
  overflow-x: hidden;
}
/* 作品ギャラリー */
.work-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

/* ギャラリー画像の整え */
.work-gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* スマホ表示調整 */
@media (max-width: 600px) {
  .work-gallery {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 6px;
  }
}
