/* ===========================================================
   SUKIMIX NEWS  style.css  — 本サイトとブランド統一
   =========================================================== */

:root {
  --teal:   #10b4c6;
  --teal-d: #0a94a3;
  --red:    #ce1230;
  --lime:   #c7d400;
  --ink:    #1a1a1a;
  --ink-2:  #4a4f52;
  --paper:  #ffffff;
  --paper-2:#f5f7f8;
  --shadow: #9aa0a0;
  --line:   #e6eaec;
  --maxw: 860px;
  --radius: 18px;
  --ease: cubic-bezier(.16,.84,.44,1);
  --font: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
          "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--paper); line-height: 1.85;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.brand-logo { display: inline-flex; align-items: center; line-height: 0; }
.brand-logo img { height: 32px; width: auto; mix-blend-mode: multiply; }
.header-nav { display: flex; gap: 22px; align-items: center; }
.header-nav a { text-decoration: none; font-size: 14px; font-weight: 700; color: var(--ink-2); transition: color .2s var(--ease); }
.header-nav a:hover { color: var(--teal); }

/* ---------- Page head ---------- */
.page-head { padding: clamp(48px, 8vw, 84px) 0 24px; text-align: center; }
.page-head .tag { display:inline-block; font-size: 13px; font-weight: 800; letter-spacing: .18em; color: var(--teal); text-transform: uppercase; }
.page-head h1 { margin: 8px 0 0; font-size: clamp(30px, 6vw, 48px); font-weight: 900; letter-spacing: .04em; }

/* ---------- News list ---------- */
.news-list { padding: 12px 0 clamp(64px, 10vw, 110px); }
.news-item {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 26px 4px; border-top: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: background .2s var(--ease);
}
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-item:hover { background: var(--paper-2); }
.news-thumb {
  flex: 0 0 120px; width: 120px; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, var(--teal), var(--lime));
  display: flex; align-items: center; justify-content: center;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { flex: 1 1 auto; min-width: 0; }
.news-date { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--teal); }
.news-title { margin: 4px 0 6px; font-size: clamp(17px, 2.6vw, 21px); font-weight: 900; line-height: 1.5; }
.news-summary { margin: 0; color: var(--ink-2); font-size: 15px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.empty { padding: 60px 0; text-align: center; color: var(--ink-2); }

/* ---------- Article ---------- */
.article { padding: 8px 0 clamp(64px, 10vw, 110px); }
.article .meta { text-align: center; }
.article .date { font-size: 14px; font-weight: 800; letter-spacing: .06em; color: var(--teal); }
.article h1.title { margin: 8px auto 0; max-width: 22em; font-size: clamp(24px, 4.6vw, 38px); font-weight: 900; line-height: 1.5; text-align: center; }
.article .hero-img { margin: 36px 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.09); }
.article .hero-img img { width: 100%; }

/* 目次 (TOC) */
.article .toc {
  max-width: 40em; margin: 36px auto 0; padding: 18px 22px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px;
}
.article .toc-title { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--teal); text-transform: uppercase; }
.article .toc ul { margin: 0; padding-left: 1.2em; }
.article .toc li { margin: 4px 0; }
.article .toc a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 15px; }
.article .toc a:hover { color: var(--teal); text-decoration: underline; }

/* note風 本文タイポグラフィ */
.article .content { max-width: 40em; margin: 36px auto 0; font-size: 17px; line-height: 2.0; color: #23282b; }
.article .content h2 { scroll-margin-top: 84px; }
.article .content > *:first-child { margin-top: 0; }
.article .content p { margin: 0 0 1.7em; }
.article .content strong { font-weight: 800; }
.article .content a { color: var(--teal-d); text-decoration: underline; text-underline-offset: 2px; font-weight: 700; overflow-wrap: anywhere; }
.article .content a:hover { color: var(--teal); }
.article .content h2 {
  font-size: clamp(20px, 3.4vw, 26px); font-weight: 900; line-height: 1.5;
  margin: 2.2em 0 .8em; padding-bottom: .3em; border-bottom: 2px solid var(--line);
}
.article .content blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--teal);
  color: var(--ink-2); font-style: normal;
}
.article .content blockquote p:last-child { margin-bottom: 0; }
.article .content ul { margin: 1.4em 0; padding-left: 1.4em; }
.article .content li { margin: 0 0 .6em; }
.article .content li::marker { color: var(--teal); }
.article .content hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em auto; width: 64px; border-top-width: 3px; border-radius: 3px; }
.article .content figure { margin: 2em 0; }
.article .content figure img { width: 100%; border-radius: 14px; }
.article .content figcaption { margin-top: 10px; text-align: center; font-size: 13px; color: var(--ink-2); }
.back-row { max-width: 40em; margin: 44px auto 0; text-align: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px;
  font-weight: 800; text-decoration: none; font-size: 15px; background: var(--teal); color: #fff;
  box-shadow: 0 6px 0 0 var(--shadow); transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 0 var(--shadow); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; text-align: center; color: var(--ink-2); font-size: 14px; }
.site-footer .brand-logo { justify-content: center; }
.site-footer .brand-logo img { height: 26px; }
.copyright { color: var(--shadow); font-size: 12px; margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .news-thumb { flex-basis: 84px; width: 84px; }
}
