@charset "UTF-8";

/* =========================================================
   竜輝工業 - お知らせ・Instagram (news.css)
   ========================================================= */

/* ---------- Layout ---------- */
.news__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

/* ---------- News list ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-item { border-bottom: 1px solid var(--line); }
.news-item a {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 24px 8px;
  transition: background 0.3s var(--ease);
}
.news-item a:hover { background: var(--bg-soft); }
.news-item time {
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.news-cat {
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 999px;
  color: #fff;
  white-space: nowrap;
}
.news-cat--info { background: var(--blue); }
.news-cat--work { background: var(--gold-600); color: var(--navy-900); }
.news-title { font-size: 0.94rem; color: var(--ink); transition: color 0.3s var(--ease); }
.news-item a:hover .news-title { color: var(--blue); }
@media (max-width: 600px) {
  .news-item a { grid-template-columns: auto auto; row-gap: 10px; padding: 20px 6px; }
  .news-title { grid-column: 1 / -1; }
}

/* ---------- Sidebar ---------- */
.news-side__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.news-side__title {
  font-size: 1rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.news-side__cats li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.9rem; color: var(--text); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--info { background: var(--blue); }
.dot--work { background: var(--gold-600); }
.news-side__line { text-align: center; background: linear-gradient(135deg, var(--bg-tint), #fff); }
.news-side__line p { font-size: 0.9rem; margin-bottom: 16px; color: var(--text); }
.news-side__line .btn { width: 100%; }
@media (max-width: 860px) {
  .news__layout { grid-template-columns: 1fr; }
  .news__side { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .news-side__card { margin-bottom: 0; }
}
@media (max-width: 540px) { .news__side { grid-template-columns: 1fr; } }

/* ---------- Instagram ---------- */
.ig-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.ig-head__profile { display: flex; align-items: center; gap: 18px; }
.ig-head__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  flex-shrink: 0;
}
.ig-head__name { font-family: var(--font-en); font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.ig-head__bio { font-size: 0.84rem; color: var(--muted); }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.ig-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ig-tile__ico {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.1em;
}
.ig-tile__hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,205,0.78);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.ig-tile:hover .ig-tile__hover { opacity: 1; }
.ig-tile--a { background: linear-gradient(135deg, #0e2058, #0000cd); }
.ig-tile--b { background: linear-gradient(135deg, #1b2a52, #2a4bd7); }
.ig-tile--c { background: linear-gradient(135deg, #102a66, #1b32d8); }
.ig-tile--d { background: linear-gradient(135deg, #060f2c, #0e2058); }
.ig-tile--e { background: linear-gradient(135deg, #14224a, #3b54e6); }
.ig-tile--f { background: linear-gradient(135deg, #0a1840, #0000cd); }
@media (max-width: 760px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }

.ig-note { margin-top: 26px; text-align: center; font-size: 0.84rem; color: var(--muted); }
.ig-note a { color: var(--blue); }
.ig-note a:hover { text-decoration: underline; }
