@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&family=Shippori+Mincho+B1:wght@500;600&family=Zen+Kaku+Gothic+New:wght@400;500&display=swap");

:root {
  --bg: #F4F5F2;
  --paper: #FFFFFF;
  --ink: #1C1F24;
  --sub: #5B616B;
  --line: #C9CDD2;
  --accent: #E4573D;
  --serif: "Shippori Mincho B1", serif;
  --sans: "Zen Kaku Gothic New", sans-serif;
  --en: "Cormorant Garamond", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.tarnar-blog-front {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin: 0;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 160px 0; }
.section--paper { background: var(--paper); }
.section-title { font-size: 32px; margin-bottom: 16px; }
.lead { color: var(--sub); max-width: 36em; margin-bottom: 40px; }
.lead a { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { opacity: 0.88; }
.btn--line { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.preview-note {
  margin: 0;
  padding: 10px 24px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.site-header__logo {
  font-family: var(--serif);
  font-size: 18px;
  text-decoration: none;
}
.site-header__tools { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--line);
  font: inherit;
  color: var(--ink);
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0 0 16px;
}
.site-nav a { text-decoration: none; font-size: 14px; }
.site-nav a:hover { text-decoration: underline; }

.hero { padding: 72px 0 32px; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(180px, 5fr);
  gap: 48px;
  align-items: end;
}
.hero h1 { font-size: 40px; max-width: 14em; }
.hero__lead { margin-top: 24px; max-width: 35em; font-size: 17px; }
.hero__staff { margin: 0; }
.staff { width: 100%; height: auto; display: block; }
.staff line {
  stroke: var(--line);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: staff-draw 0.8s ease forwards;
}
.staff line.mid { stroke: var(--accent); }
.hero__staff figcaption { margin-top: 12px; color: var(--sub); font-size: 13px; }

@keyframes staff-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .staff line { animation: none; stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

.theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.theme-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 24px 12px;
}
.theme-card h3 { font-size: 22px; margin-bottom: 12px; }
.theme-card ul { list-style: none; margin: 0; padding: 0; }
.theme-card li { border-top: 1px solid var(--line); }
.theme-card a { display: block; padding: 12px 0; text-decoration: none; }
.theme-card a:hover { text-decoration: underline; }

.posts-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
}
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-list a {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.post-list time { color: var(--sub); font-size: 14px; }
.post-list a:hover span { text-decoration: underline; }
.more { margin-top: 20px; }
.more a { color: var(--ink); }

.author {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 48px;
  align-items: start;
}
.author__photo { margin: 0; background: var(--paper); }
.author__photo img { width: 100%; display: block; }
.author p { margin-top: 16px; max-width: 36em; }
.author__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.author__links a { color: var(--ink); }

.legacy { max-width: 42em; font-size: 16px; }
.legacy h2 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 72px 0 16px;
}
.legacy h3 { font-family: var(--serif); font-size: 20px; margin: 40px 0 12px; }
.legacy p { margin: 0 0 1.2em; }
.legacy ul, .legacy ol { padding-left: 1.3em; }
.legacy a { color: var(--ink); }
.legacy img, .legacy video, .legacy iframe { max-width: 100%; }
.legacy table { width: 100%; border-collapse: collapse; }
.legacy th, .legacy td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }

.trial { padding: 96px 0 120px; text-align: center; }
.trial h2 { font-size: 28px; }
.trial p { margin: 16px auto 28px; color: var(--sub); }

.site-footer { border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}
.footer-name { font-family: var(--serif); font-size: 18px; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid li { padding: 6px 0; }

.tarnar-group-band { border-top: 1px solid var(--line); padding: 48px 0 32px; }
.tarnar-group-band .group-band__head {
  font-family: var(--en);
  font-size: 28px;
  letter-spacing: 0.04em;
  margin: 0;
}
.tarnar-group-band .group-band__tag { color: var(--sub); margin: 4px 0 20px; font-size: 14px; }
.tarnar-group-band .group-band__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tarnar-group-band a { text-decoration: none; font-size: 14px; }
.tarnar-group-band a:hover { text-decoration: underline; }
.tarnar-group-band .copyright { color: var(--sub); font-size: 12px; margin-top: 24px; }

@media (max-width: 800px) {
  .section { padding: 96px 0; }
  .container { padding: 0 16px; }
  .section-title { font-size: 26px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; border-top: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 0 16px; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: 12px 0; }
  .hero { padding: 40px 0 8px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 30px; }
  .hero__staff { margin-top: 8px; }
  .theme-grid, .posts-grid, .author, .footer-grid { grid-template-columns: 1fr; }
  .posts-grid { gap: 64px; }
  .post-list a { grid-template-columns: 1fr; gap: 2px; }
  .trial h2 { font-size: 22px; }
  .site-header__inner { min-height: 60px; }
  .site-header .btn { min-height: 44px; padding: 0 12px; font-size: 13px; }
}

/* 2026-10-14 トップの見直し：写真・数字・新着カード */
.hero__photo { margin: 0; }
.hero__photo img { width: 100%; max-width: 360px; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: 4px; }
.hero__photo figcaption { margin-top: 10px; color: var(--sub); font-size: 13px; }
.hero__facts { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.hero__facts li { display: grid; gap: 2px; }
.hero__facts b { font-size: 32px; line-height: 1; color: var(--accent); font-family: var(--font-heading); }
.hero__facts span { font-size: 13px; color: var(--sub); }
.posts-grid > div:last-child { min-width: 0; }
.new-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.new-cards a { display: grid; gap: 6px; color: var(--ink); text-decoration: none; }
.new-cards img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; display: block; border: 1px solid var(--line); }
.new-cards time { color: var(--sub); font-size: 13px; }
.new-cards span { font-size: 15px; line-height: 1.6; }
.new-cards a:hover span { text-decoration: underline; }
@media (max-width: 800px) { .hero__photo img { max-width: 240px; } .new-cards { grid-template-columns: 1fr 1fr; gap: 12px; } .new-cards span { font-size: 14px; } }
.posts-grid > div:first-child .post-list time { display: none; }
.posts-grid > div:first-child .post-list a { grid-template-columns: 1fr; }
@media (max-width: 600px) {
  .site-header__logo { font-size: 15px; white-space: nowrap; }
  .site-header__tools { gap: 6px; }
  .site-header__tools .btn { padding: 8px 10px; font-size: 12px; white-space: nowrap; }
  .menu-toggle { padding: 8px 10px; font-size: 12px; white-space: nowrap; }
}
