html, body {
  overflow-x: hidden !important;
}

/* ワークページコンテナ */
.work-container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
}

/* 見出し */
.work-container h2 {
  font-size: 22px;
  margin-bottom: 10px;
  border-left: 4px solid #0096fa;
  padding-left: 10px;
}

/* 画像 */
.work-image {
  text-align: center;
  margin: 25px 0;
}
.work-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
}

/* キャプション */
.caption {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  background: #fafafa;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

/* タグ */
.tags {
  margin-bottom: 20px;
}
.tags a {
  display: inline-block;
  background: #e6f3ff;
  color: #0077cc;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 20px;
  margin: 5px 5px 0 0;
  text-decoration: none;
  transition: background .2s;
}
.tags a:hover {
  background: #cde7ff;
}

/* メタ情報・いいねボタン */
.meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}
.like-btn {
  margin-bottom: 20px;
  display: inline-block;
  padding: 8px 16px;
  background: #ff5b5b;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 20px;
  transition: background .2s;
}
.like-btn:hover {
  background: #e04848;
}

/* ギャラリー差分 */
.gallery {
  grid-template-columns: repeat(auto-fill, minmax(190px,1fr));
  gap: 30px;
  justify-items: center;
}
.card {
  max-width: 210px;
}
.card-title {
  font-size: 15px;
  padding: 10px;
}

/* ページタイトル */
.work-title {
  font-family: "Noto Sans JP","Hiragino Kaku Gothic ProN",sans-serif;
  font-size: 1.8rem;
  color: #222;
  position: relative;
  margin: 40px auto 30px;
  padding-bottom: 12px;
  width: fit-content;
  letter-spacing: 1px;
}
.work-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg,#84fab0 0%,#8fd3f4 100%);
  border-radius: 3px;
  opacity: .9;
}

/* レスポンシブ */
@media(max-width:768px) {
  .work-container { padding: 20px; }
  .work-container h2 { font-size: 20px; }
  .work-image { margin: 20px 0; }
  .work-image img { border-radius: 8px; }
  .caption { font-size: 14px; padding: 12px; }
  .tags a { font-size: 12px; padding: 5px 10px; }
  .meta { font-size: 13px; }
  .like-btn { padding: 6px 12px; font-size: 13px; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: 15px; }
  .card { max-width: 170px; }
  .card-title { font-size: 13px; padding: 8px; }
  .work-title { font-size: 1.5rem; padding-bottom: 10px; }
  .work-title::after { height: 2px; width: 70%; }
}
@media(max-width:480px) {
  .work-container { padding: 15px; }
  .work-container h2 { font-size: 18px; }
  .caption { font-size: 13px; padding: 10px; }
  .tags a { font-size: 11px; padding: 4px 8px; }
  .meta { font-size: 12px; }
  .like-btn { padding: 5px 10px; font-size: 12px; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(120px,1fr)); gap: 10px; }
  .card { max-width: 150px; }
  .card-title { font-size: 12px; padding: 6px; }
  .work-title { font-size: 1.3rem; }
  .work-title::after { height: 2px; width: 80%; }
}
/* 作者欄全体 */
.work-author {
  display:flex;
  align-items:center;
  margin:20px 0 25px;
}

/* リンク */
.author-link {
  display:flex;
  align-items:center;
  text-decoration:none;
  color:#222;
  transition:opacity .2s;
}
.author-link:hover { opacity:.8; }

/* アイコン */
.author-icon {
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:cover;
  margin-right:10px;
  box-shadow:0 2px 6px rgba(0,0,0,.15);
}

/* 名前 */
.author-name {
  font-size:15px;
  font-weight:600;
  letter-spacing:.3px;
}

/* スマホ対応 */
@media(max-width:480px){
  .author-icon { width:36px; height:36px; margin-right:8px; }
  .author-name { font-size:14px; }
}
.auto-desc {
  margin-top:10px;
  font-size:13px;
  color:#666;
  line-height:1.6;
}
