/* となりのAI通信 — 共通スタイル */

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --serif: 'Shippori Mincho', serif;
  --sans: 'Noto Sans JP', sans-serif;
  --ink:   #1a1a1a;
  --ink2:  #444444;
  --gray:  #888888;
  --border:#d8d4ce;
  --paper: #f5f2ed;
  --cream: #faf8f4;
  --white: #ffffff;
  --gold:  #c8a96e;
  --gold2: #a8893e;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--ink);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-mark svg { display: block; }

.logo-text .name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--ink);
}

.logo-text .en {
  font-family: var(--sans);
  font-size: 7px;
  letter-spacing: 0.22em;
  color: var(--gray);
  margin-top: 4px;
  font-weight: 300;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink2);
  font-weight: 400;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--white);
  background: var(--ink);
  padding: 9px 18px;
  font-weight: 500;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--gold2); }

/* Hero slider CSS moved to bottom */

/* ============================================================
   CATEGORY BAR
   ============================================================ */
.category-bar {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.category-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
}

.cat-item {
  flex: 1;
  padding: 20px 16px;
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
  text-align: center;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}

.cat-item:first-child { border-left: 1px solid var(--border); }

.cat-item:hover { background: var(--paper); }

.cat-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
}

.cat-icon {
  font-size: 18px;
  margin-bottom: 6px;
}

.cat-label {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.05em;
  display: block;
}

.cat-count {
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 0.08em;
  margin-top: 2px;
  display: block;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
}

/* Section headers */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--ink);
}

.section-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.section-more {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--gray);
  transition: color 0.2s;
}

.section-more:hover { color: var(--gold2); }

/* ============================================================
   ARTICLE CARDS
   ============================================================ */

/* Feature article */
.feature-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 24px;
  transition: box-shadow 0.2s;
  cursor: pointer;
}

.feature-article:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.feature-img {
  background: var(--paper);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-img-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.feature-img-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--gray);
}

.feature-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold2);
  border: 1px solid var(--gold);
  display: inline-block;
  padding: 2px 8px;
  margin-bottom: 0;
}

.article-tag {
  display: inline-block !important;
  width: auto !important;
}

.grid-large-body .article-tag,
.grid-medium-body .article-tag,
.article-item-body .article-tag,
.article-header .article-tag {
  display: inline-block !important;
  width: auto !important;
}

.feature-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.feature-excerpt {
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.9;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.08em;
}

.article-meta-sep { color: var(--border); }

/* Article list */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0;
  border: 0.5px solid var(--border);
  border-top: none;
  cursor: pointer;
  transition: background 0.15s;
}

.article-item:first-child { border-top: none; }

.article-item:hover { background: var(--paper); }

.article-item-thumb {
  background: var(--paper);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.article-item-body {
  padding: 16px 20px;
}

.article-item-tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold2);
  margin-bottom: 6px;
}

.article-item-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 6px;
}

.article-item-meta {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.06em;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { }

.sidebar-block {
  margin-bottom: 40px;
}

/* Newsletter */
.newsletter-block {
  background: var(--ink);
  padding: 0 0 28px;
  margin-bottom: 40px;
  border: 1px solid var(--gold);
}
.newsletter-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  padding: 8px 24px;
  border-bottom: 1px solid rgba(200,169,110,0.3);
  margin-bottom: 20px;
}
.newsletter-body {
  padding: 0 24px;
}

.newsletter-icon {
  margin-bottom: 12px;
}

.newsletter-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin-bottom: 10px;
}

.newsletter-desc {
  font-size: 12.5px;
  color: #888;
  line-height: 1.8;
  margin-bottom: 20px;
}

.newsletter-input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-family: var(--sans);
  font-size: 12px;
  padding: 11px 14px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-input::placeholder { color: #555; }
.newsletter-input:focus { border-color: var(--gold); }

.newsletter-btn {
  width: 100%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-btn:hover { background: var(--gold2); color: var(--white); }

.newsletter-note {
  font-size: 10.5px;
  color: #555;
  margin-top: 10px;
  text-align: center;
  letter-spacing: 0.05em;
}

/* Ranking */
.rank-list { }

.rank-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: opacity 0.15s;
}

.rank-item:hover { opacity: 0.7; }
.rank-item:last-child { border-bottom: none; }

.rank-num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
}

.rank-num.top { color: var(--gold); }

.rank-title {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}

.rank-tag {
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Tags */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink2);
  border: 0.5px solid var(--border);
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.tag-item:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ============================================================
   CONCEPT STRIP
   ============================================================ */
.concept-strip {
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.concept-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.concept-logo {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
}

.concept-copy {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 20px;
}

.concept-body {
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--ink2);
}

.concept-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.concept-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
}

.concept-point-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}

.concept-point-text .label {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.concept-point-text .desc {
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.8;
}

/* ============================================================
   SPONSOR STRIP
   ============================================================ */
.sponsor-strip {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.sponsor-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.sponsor-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--gray);
  white-space: nowrap;
  flex-shrink: 0;
}

.sponsor-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
  flex-shrink: 0;
}

.sponsor-items {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.sponsor-item {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink2);
  letter-spacing: 0.08em;
  opacity: 0.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--white);
  border-top: 2px solid var(--ink);
}

.footer-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand { grid-column: 1 / 2; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
}

.footer-logo-en {
  font-family: var(--sans);
  font-size: 7px;
  letter-spacing: 0.22em;
  color: #555;
  margin-top: 3px;
  font-weight: 300;
}

.footer-tagline {
  font-size: 11px;
  color: #555;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

.footer-col-title {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: #555;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #2a2a2a;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 13px;
  color: #666;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 11px;
  color: #444;
  letter-spacing: 0.1em;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-link {
  font-size: 10px;
  color: #444;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.footer-bottom-link:hover { color: var(--gold); }



/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner         { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 40px; }
  .main-content       { grid-template-columns: 1fr; padding: 40px 24px; gap: 40px; }
  .feature-article    { grid-template-columns: 1fr; }
  .feature-img        { min-height: 200px; }
  .concept-inner      { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px; }
  .footer-main        { grid-template-columns: 1fr 1fr; padding: 48px 24px 32px; gap: 32px; }
  .category-inner     { overflow-x: auto; padding: 0 24px; -webkit-overflow-scrolling: touch; }
  .cat-item           { min-width: 90px; padding: 16px 12px; }
  .sponsor-inner      { padding: 20px 24px; flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 600px) {
  .site-nav           { display: none; }
  .header-inner       { padding: 0 16px; }
  .hero-inner         { padding: 36px 16px 32px; }
  .hero-title         { font-size: 28px; }
  .hero-desc          { font-size: 13px; }
  .hero-eyebrow       { font-size: 9px; }
  .btn-primary        { padding: 12px 20px; font-size: 11px; }
  .main-content       { padding: 32px 16px; }
  .section-header     { margin-bottom: 16px; }
  .feature-img        { min-height: 180px; }
  .feature-body       { padding: 20px; }
  .feature-title      { font-size: 17px; }
  .feature-excerpt    { font-size: 12px; display: none; }
  .article-item       { grid-template-columns: 90px 1fr; }
  .article-item-thumb img { width: 90px !important; min-height: 90px !important; }
  .article-item-body  { padding: 12px 14px; }
  .article-item-title { font-size: 13px; }
  .concept-inner      { padding: 36px 16px; }
  .concept-copy       { font-size: 18px; }
  .concept-body       { font-size: 12px; }
  .concept-point      { padding: 16px; }
  .newsletter-block   { padding: 24px 18px; }
  .footer-main        { grid-template-columns: 1fr; padding: 36px 16px; gap: 28px; }
  .footer-bottom      { flex-direction: column; gap: 12px; padding: 16px; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .category-inner     { padding: 0 16px; }
  .cat-item           { min-width: 80px; padding: 14px 10px; }
  .cat-label          { font-size: 11px; }
  .cat-count          { font-size: 9px; }
  .sponsor-inner      { padding: 16px; gap: 12px; }
  .sponsor-items      { gap: 16px; }
}


/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 520px;
  background: #1a1a1a;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.slide-bg {
  position: absolute;
  inset: 0;
}

.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.40) 50%,
    rgba(0,0,0,0.10) 100%
  );
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
  max-width: 680px;
}

.slide-tag {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slide-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.slide-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 16px;
}

.slide-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 10px 22px;
  transition: all 0.2s;
  align-self: flex-start;
}

.slide-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}

.slider-arrow:hover { background: rgba(255,255,255,0.2); }
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 64px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.dot.active {
  background: var(--gold);
  width: 40px;
}

/* Counter */
.slide-counter {
  position: absolute;
  bottom: 20px;
  right: 64px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.slide-counter span {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
}

#currentSlide { color: var(--white); }

.counter-sep {
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.3) !important;
}

/* Slide animation */
.slide-content > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide.active .slide-content > * {
  opacity: 1;
  transform: translateY(0);
}

.slide.active .slide-tag   { transition-delay: 0.15s; }
.slide.active .slide-title { transition-delay: 0.25s; }
.slide.active .slide-meta  { transition-delay: 0.35s; }
.slide.active .slide-btn   { transition-delay: 0.42s; }

@media (max-width: 900px) {
  .hero-slider { height: 420px; }
  .slide-content { padding: 40px; }
}

@media (max-width: 600px) {
  .hero-slider { height: 360px; }
  .slide-content { padding: 24px 20px; max-width: 100%; }
  .slide-title { font-size: 20px; }
  .slider-dots { left: 20px; bottom: 20px; }
  .slide-counter { right: 20px; }
  .slider-prev { left: 12px; }
  .slider-next { right: 12px; }
}


/* ============================================================
   SEARCH STRIP
   ============================================================ */
.search-strip {
  background: var(--white);
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--border);
}

.search-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  height: 68px;
  gap: 0;
}

.search-label {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink);
  white-space: nowrap;
  margin-right: 24px;
  flex-shrink: 0;
  font-weight: 600;
}

.search-form {
  display: flex;
  align-items: center;
  flex: 1;
  border: 1.5px solid var(--border);
  background: var(--paper);
  padding: 0 16px;
  transition: border-color 0.2s;
}

.search-form:focus-within {
  border-color: var(--ink);
  background: var(--white);
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  padding: 12px 0;
  letter-spacing: 0.05em;
}

.search-input::placeholder {
  color: #bbb;
  letter-spacing: 0.06em;
}

.search-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 4px 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink2);
  transition: color 0.2s;
  flex-shrink: 0;
}

.search-btn:hover { color: var(--gold2); }

.search-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
  margin: 0 24px;
  flex-shrink: 0;
}

.search-tags {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-items: center;
}

.search-tags-label {
  font-size: 9.5px;
  letter-spacing: 0.15em;
  color: var(--gray);
  margin-right: 4px;
  white-space: nowrap;
}

.search-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink2);
  border: 0.5px solid var(--border);
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.search-tag:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

@media (max-width: 900px) {
  .search-tags { display: none; }
  .search-divider { display: none; }
}

@media (max-width: 600px) {
  .search-inner { padding: 0 16px; height: 52px; }
  .search-label { display: none; }
}


/* ============================================================
   ARTICLE GRID (重み付け)
   ============================================================ */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.grid-large {
  grid-column: 1 / -1;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  cursor: pointer;
  transition: opacity 0.15s;
}
.grid-large:hover { opacity: 0.88; }

.grid-large-img {
  min-height: 260px;
  overflow: hidden;
  position: relative;
}
.grid-large-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.grid-large-body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.grid-large-title {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.grid-large-excerpt {
  font-size: 12.5px;
  color: var(--ink2);
  line-height: 1.9;
  margin-bottom: 16px;
}

.grid-medium {
  background: var(--white);
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  flex-direction: column;
}
.grid-medium:hover { background: var(--paper); }
.grid-medium-img {
  height: 160px;
  overflow: hidden;
}
.grid-medium-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.grid-medium-body {
  padding: 16px 18px 18px;
  flex: 1;
}
.grid-medium-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 8px;
}

/* ============================================================
   EDITOR COLUMN
   ============================================================ */
.editor-block {
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 3px solid var(--ink);
  padding: 22px 22px 20px;
  margin-bottom: 40px;
}
.editor-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.editor-avatar {
  width: 36px;
  height: 36px;
  background: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.editor-info .name {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.editor-info .role {
  font-size: 9.5px;
  color: var(--gray);
  letter-spacing: 0.1em;
  margin-top: 1px;
}
.editor-label {
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: var(--gold2);
  margin-left: auto;
}
.editor-text {
  font-size: 12.5px;
  line-height: 2;
  color: var(--ink2);
}
.editor-date {
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 0.08em;
  margin-top: 12px;
  text-align: right;
}

/* ============================================================
   GLOSSARY (用語解説)
   ============================================================ */
.glossary-block {
  border: 1px solid var(--border);
  margin-bottom: 40px;
  overflow: hidden;
}
.glossary-header {
  background: var(--ink);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.glossary-header-title {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.12em;
}
.glossary-week {
  font-size: 9px;
  color: var(--gold);
  letter-spacing: 0.12em;
}
.glossary-body {
  padding: 18px 16px;
  background: var(--white);
}
.glossary-term {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.glossary-reading {
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.glossary-def {
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.9;
}
.glossary-example {
  font-size: 11px;
  color: var(--gray);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  line-height: 1.8;
}

/* ============================================================
   Q&A CORNER
   ============================================================ */
.qa-section {
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.qa-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 32px;
}
.qa-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--ink);
}
.qa-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.qa-desc {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.06em;
}
.qa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.qa-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 22px 20px;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.qa-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}
.qa-q {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.qa-q::before {
  content: 'Q. ';
  color: var(--gold2);
  font-size: 13px;
}
.qa-a {
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.8;
}
.qa-a::before {
  content: 'A. ';
  color: var(--gray);
  font-size: 11px;
}
.qa-more {
  text-align: center;
  margin-top: 24px;
}
.qa-more a {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink2);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.qa-more a:hover { color: var(--gold2); }

@media (max-width: 900px) {
  .grid-large { grid-template-columns: 1fr; }
  .grid-large-img { min-height: 200px; }
  .qa-grid { grid-template-columns: 1fr; }
  .qa-inner { padding: 40px 24px; }
}
@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; }
  .grid-medium-img { height: 140px; }
  .qa-inner { padding: 32px 16px; }
  .qa-grid { gap: 12px; }
}

/* ============================================================
   LEAD FORMS STRIP
   ============================================================ */
.lead-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lead-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 32px;
}

.lead-header {
  text-align: center;
  margin-bottom: 40px;
}

.lead-header-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold2);
  margin-bottom: 10px;
}

.lead-header-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.05em;
}

.lead-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.lead-card {
  background: var(--white);
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}

.lead-card:hover {
  background: var(--paper);
}

.lead-card-num {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lead-card-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.lead-card-icon {
  width: 40px;
  height: 40px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.lead-card-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.lead-card-desc {
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 20px;
}

.lead-card-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.lead-card-item {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--gray);
  border: 0.5px solid var(--border);
  padding: 3px 8px;
}

.lead-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
  font-weight: 500;
}

.lead-card-btn svg {
  transition: transform 0.2s;
}

.lead-card:hover .lead-card-btn svg {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .lead-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-inner { padding: 40px 24px; }
}

@media (max-width: 600px) {
  .lead-grid { grid-template-columns: 1fr; }
  .lead-inner { padding: 32px 16px; }
  .lead-header-title { font-size: 17px; }
}