/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic', sans-serif;
  color: #3d2314;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #3d2314;
  letter-spacing: 0.12em;
  text-decoration: none;
  cursor: pointer;
}
.logo img {
  height: 40px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-item {
  text-align: center;
  cursor: pointer;
}
.nav-item span {
  display: block;
  font-size: 0.78rem;
  color: #3d2314;
  font-weight: 500;
}
.nav-item small {
  display: block;
  font-size: 0.58rem;
  color: #aaa;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-item:hover span { color: #a07050; }
.btn-koretatsu {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #3d2314;
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-koretatsu:hover { background: #5a3520; }
.btn-koretatsu svg { flex-shrink: 0; }

/* ===== HERO ===== */
#top {
  position: relative;
  overflow: hidden;
  margin-top: 72px;
}
.hero-slides {
  position: relative;
  width: 100%;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
  position: relative;
}
.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.3s;
}
.hero-dot.active { background: #fff; }

/* ===== SECTION COMMON ===== */
.section-title {
  text-align: center;
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #3d2314;
}
.section-lead {
  text-align: center;
  font-size: 0.88rem;
  line-height: 2;
  color: #555;
  max-width: 680px;
  margin: 0 auto 48px;
}
.divider {
  width: 40px;
  height: 2px;
  background: #a07050;
  margin: 0 auto 32px;
}

/* ===== CONCEPT ===== */
#concept {
  padding: 88px 40px 0;
  background: #faf6f1;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1020px;
  margin: 0 auto 56px;
}
.problem-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.problem-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.problem-card-body {
  padding: 20px 20px 24px;
  text-align: center;
}
.problem-label {
  font-style: italic;
  font-size: 0.72rem;
  color: #a07050;
  margin-bottom: 8px;
}
.problem-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #3d2314;
  margin-bottom: 10px;
}
.problem-comment {
  font-size: 0.78rem;
  line-height: 1.9;
  color: #666;
  text-align: left;
}
.concept-mid {
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center;
}
.concept-mid h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #3d2314;
}
.concept-mid p {
  font-size: 0.88rem;
  line-height: 2.2;
  color: #555;
}
.concept-lead { white-space: nowrap; }

/* Philosophy band */
.philosophy-band {
  background: #3e2a1a url('images/mokume.jpg') center center / cover no-repeat;
  padding: 64px 40px;
  text-align: center;
  color: #e8d5be;
  margin-left: -40px;
  margin-right: -40px;
}
.philosophy-band .sub {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: #c8a060;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.philosophy-band h2 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  line-height: 2.4;
  max-width: 760px;
  margin: 0 auto;
}

/* ===== 同時設計 ===== */
#simultaneous {
  padding: 80px 40px;
  background: #faf6f1;
  text-align: center;
}
.simultaneous-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
}
.simultaneous-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  text-align: center;
}
.simultaneous-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.simultaneous-card-tag,
.simultaneous-card-sub,
.simultaneous-card p {
  padding-left: 28px;
  padding-right: 28px;
}
.simultaneous-card-tag { padding-top: 24px; }
.simultaneous-card p   { padding-bottom: 28px; }
.simultaneous-card-tag,
.simultaneous-card-sub {
  display: block;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2a1608;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.simultaneous-card p {
  font-size: 0.82rem;
  line-height: 1.9;
  color: #666;
}

/* ===== WORKS (Services) ===== */
#works {
  padding: 88px 40px;
  background: #fff;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto;
}
.service-card {
  background: #faf6f1;
  border-radius: 4px;
  padding: 40px 20px 32px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); }
.service-icon { margin: 0 auto 18px; color: #a07050; }
.service-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: #3d2314; }
.service-card p { font-size: 0.78rem; line-height: 1.9; color: #666; }
.service-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.72rem;
  color: #a07050;
  border-bottom: 1px solid #a07050;
  padding-bottom: 1px;
}
.service-link:hover { color: #3d2314; border-color: #3d2314; }

/* ===== ABOUT RIB ===== */
#about {
  padding: 88px 40px;
  background: #fff;
}
.about-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1020px;
  margin: 0 auto 56px;
  border-left: 4px solid #3d2314;
  padding-left: 16px;
}
.about-section-header h2 { font-size: 1.1rem; font-weight: 700; color: #3d2314; }
.about-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1020px;
  margin: 0 auto 72px;
}
.about-item:last-child { margin-bottom: 0; }
.about-item.reverse { direction: rtl; }
.about-item.reverse > * { direction: ltr; }
.about-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
}
.about-text .label-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.about-text .label-row::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: #a07050;
  flex-shrink: 0;
}
.about-text .label-row h3 { font-size: 1.1rem; font-weight: 700; color: #3d2314; }
.about-text p { font-size: 0.84rem; line-height: 2.1; color: #555; }

/* ===== NEWS (TOP) ===== */
#news {
  padding: 88px 40px;
  background: #f5f0e8;
}
.news-list {
  max-width: 900px;
  margin: 0 auto;
}
.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 2px;
  margin-bottom: 3px;
  transition: background 0.15s;
}
.news-item:hover { background: #fdf9f5; }
a.news-item { text-decoration: none; color: inherit; cursor: pointer; }
.news-date { font-size: 0.78rem; color: #888; white-space: nowrap; min-width: 80px; }
.news-badge {
  background: #5a3520;
  color: #fff;
  font-size: 0.62rem;
  padding: 3px 10px;
  border-radius: 2px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.news-title { font-size: 0.84rem; color: #3d2314; }

/* ===== CONTACT ===== */
#contact { background: #3d2314; padding: 80px 40px; }
.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 4px;
  padding: 56px 48px;
  text-align: center;
}
.contact-inner h2 { font-size: 1.5rem; font-weight: 700; color: #3d2314; margin-bottom: 8px; }
.contact-inner .contact-lead { font-size: 0.84rem; color: #666; margin-bottom: 32px; line-height: 1.8; }
.btn-contact-form {
  display: block;
  width: 100%;
  background: #5a3520;
  color: #fff;
  padding: 18px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 2px;
  margin-bottom: 18px;
  cursor: pointer;
  border: none;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  text-decoration: none;
  text-align: center;
}
.btn-contact-form:hover { background: #3d2314; }
.contact-email { font-size: 0.82rem; color: #a07050; margin-bottom: 4px; }

/* ===== FOOTER ===== */
footer { background: #261208; color: #c8a880; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 40px 48px;
}
.footer-logo { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: 0.12em; margin-bottom: 6px; }
.footer-tagline { font-size: 0.7rem; color: #a07050; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-company { font-size: 0.78rem; color: #a07050; line-height: 2; }
.footer-company a { color: #c8a880; text-decoration: underline; }
.footer-company a:hover { color: #fff; }
.footer-nav-col h4,
.footer-contact-col h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  border-left: 3px solid #a07050;
  padding-left: 10px;
  margin-bottom: 20px;
}
.footer-nav-col ul { list-style: none; }
.footer-nav-col ul li { margin-bottom: 12px; }
.footer-nav-col ul li a { font-size: 0.78rem; color: #c8a880; transition: color 0.15s; }
.footer-nav-col ul li a:hover { color: #fff; }
.footer-sns { display: flex; gap: 20px; align-items: center; }
.footer-sns a { font-size: 0.78rem; color: #c8a880; display: flex; align-items: center; gap: 6px; transition: color 0.15s; }
.footer-sns a:hover { color: #fff; }
.privacy-link {
  font-size: 0.72rem;
  color: #a07050;
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  margin-top: 12px;
  display: inline-block;
}
.privacy-link:hover { color: #c8a880; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 40px;
  text-align: center;
  font-size: 0.72rem;
  color: #a07050;
}

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 4px;
  padding: 48px;
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.modal-box h2 { font-size: 1.2rem; font-weight: 700; color: #3d2314; margin-bottom: 24px; border-bottom: 2px solid #f0ebe0; padding-bottom: 16px; }
.modal-box h3 { font-size: 0.9rem; font-weight: 700; color: #3d2314; margin: 24px 0 8px; }
.modal-box p { font-size: 0.80rem; line-height: 2; color: #555; }
.modal-close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 1.4rem;
  cursor: pointer;
  color: #aaa;
  background: none;
  border: none;
  line-height: 1;
  padding: 4px;
}
.modal-close:hover { color: #555; }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px 4px;
  z-index: 201;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #3d2314; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== PAGE HERO (サブページ共通) ===== */
.page-hero {
  background: #3d2314;
  margin-top: 72px;
  padding: 56px 40px;
  text-align: center;
}
.page-hero .page-en {
  font-size: 0.63rem;
  letter-spacing: 0.3em;
  color: #a07050;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
}

/* ===== NEWS ARCHIVE ===== */
.news-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 40px 96px;
}
.news-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.news-filter button {
  font-size: 0.72rem;
  padding: 6px 16px;
  border: 1px solid #e0d8d0;
  border-radius: 2px;
  background: #fff;
  color: #3d2314;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.news-filter button.active,
.news-filter button:hover { background: #8b2030; color: #fff; border-color: #8b2030; }
.news-list-full { border-top: 1px solid #e8e0d8; }
.news-row {
  display: grid;
  grid-template-columns: 120px 80px 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px 16px;
  border-bottom: 1px solid #e8e0d8;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.news-row:hover { background: #faf6f1; }
.news-row-date { font-size: 0.78rem; color: #aaa; letter-spacing: 0.06em; white-space: nowrap; }
.news-row-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 2px;
  text-align: center;
}
.badge-news    { background: rgba(61,35,20,0.08);  color: #3d2314; }
.badge-info    { background: rgba(139,32,48,0.08); color: #8b2030; }
.badge-service { background: rgba(80,110,60,0.10); color: #4a6838; }
.badge-recruit { background: rgba(60,80,130,0.10); color: #3c5082; }
.news-row-title { font-size: 0.88rem; font-weight: 500; color: #3d2314; line-height: 1.6; }
.news-row:hover .news-row-title { color: #8b2030; text-decoration: underline; }

/* ===== NEWS DETAIL ===== */
.detail-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 40px 96px;
}
.news-meta { display: flex; align-items: center; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid #e8e0d8; margin-bottom: 40px; }
.news-meta-date { font-size: 0.82rem; color: #aaa; letter-spacing: 0.06em; }
.news-meta-badge { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; padding: 3px 12px; border-radius: 2px; }
.news-body p { font-size: 0.88rem; line-height: 2.3; color: #444; margin-bottom: 24px; }
.news-body h2 { font-size: 1.05rem; font-weight: 700; color: #3d2314; margin: 36px 0 14px; padding-left: 14px; border-left: 4px solid #8b2030; line-height: 1.6; }
.news-body ul, .news-body ol { padding-left: 1.4em; margin-bottom: 20px; }
.news-body li { font-size: 0.88rem; line-height: 2.1; color: #444; }
.news-body .note { background: #faf6f1; border-left: 3px solid #c8a880; padding: 16px 20px; border-radius: 0 4px 4px 0; margin: 28px 0; font-size: 0.82rem; color: #666; line-height: 2; }
.news-body a { color: #8b2030; text-decoration: underline; }
.news-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 36px; border-top: 1px solid #e8e0d8; }
.news-nav a { display: block; padding: 14px 18px; border: 1px solid #e0d8d0; border-radius: 4px; text-decoration: none; color: #3d2314; transition: border-color 0.15s, background 0.15s; }
.news-nav a:hover { border-color: #8b2030; background: #faf6f1; }
.news-nav .nav-label { font-size: 0.62rem; letter-spacing: 0.15em; color: #8b2030; text-transform: uppercase; margin-bottom: 6px; }
.news-nav .nav-title { font-size: 0.80rem; font-weight: 600; line-height: 1.6; }
.news-nav .next { text-align: right; }
.back-to-list { display: inline-block; margin-top: 32px; font-size: 0.82rem; color: #8b2030; text-decoration: none; border-bottom: 1px solid #8b2030; padding-bottom: 2px; }
.back-to-list:hover { opacity: 0.7; }

/* ===== COLUMN ARCHIVE ===== */
.column-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 72px 40px 96px;
}
.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.column-card {
  background: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.column-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.10); }
.column-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.column-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #e8ddd0 0%, #d4c4b0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.column-card-img-placeholder svg { opacity: 0.3; }
.column-card-body { padding: 20px 22px 28px; }
.column-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.column-card-date { font-size: 0.72rem; color: #aaa; letter-spacing: 0.06em; }
.column-card-tag { font-size: 0.65rem; color: #8b2030; background: rgba(139,32,48,0.08); padding: 2px 8px; border-radius: 2px; letter-spacing: 0.06em; }
.column-card-body h3 { font-size: 0.95rem; font-weight: 700; color: #3d2314; line-height: 1.7; margin-bottom: 10px; border-left: 3px solid #8b2030; padding-left: 10px; }
.column-card-body p { font-size: 0.78rem; color: #666; line-height: 1.9; }

/* ===== COLUMN DETAIL ===== */
.column-detail-wrapper {
  max-width: 1060px;
  margin: 0 auto;
  padding: 64px 40px 96px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: start;
}
.article { min-width: 0; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid #e8e0d8; }
.article-date { font-size: 0.78rem; color: #aaa; letter-spacing: 0.06em; }
.article-tag { font-size: 0.65rem; color: #8b2030; background: rgba(139,32,48,0.08); padding: 3px 10px; border-radius: 2px; letter-spacing: 0.06em; }
.article-eyecatch { width: 100%; height: 400px; object-fit: cover; border-radius: 4px; margin-bottom: 40px; display: block; }
.article-eyecatch-placeholder { width: 100%; height: 400px; background: linear-gradient(135deg, #e8ddd0 0%, #c8b498 100%); border-radius: 4px; margin-bottom: 40px; display: flex; align-items: center; justify-content: center; }
.article-eyecatch-placeholder svg { opacity: 0.25; }
.article-body h2 { font-size: 1.15rem; font-weight: 700; color: #3d2314; margin: 40px 0 16px; padding-left: 14px; border-left: 4px solid #8b2030; line-height: 1.6; }
.article-body h3 { font-size: 1rem; font-weight: 700; color: #3d2314; margin: 32px 0 12px; }
.article-body p { font-size: 0.88rem; line-height: 2.2; color: #444; margin-bottom: 20px; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin-bottom: 20px; }
.article-body li { font-size: 0.88rem; line-height: 2.1; color: #444; }
.article-body .note { background: #faf6f1; border-left: 3px solid #c8a880; padding: 16px 20px; border-radius: 0 4px 4px 0; margin: 28px 0; font-size: 0.82rem; color: #666; line-height: 2; }
.article-body figure { margin: 32px 0; }
.article-body figure img { width: 100%; height: 260px; object-fit: cover; border-radius: 4px; display: block; }
.article-body figcaption { font-size: 0.72rem; color: #aaa; text-align: center; margin-top: 8px; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 40px; border-top: 1px solid #e8e0d8; }
.article-nav a { display: block; padding: 16px 20px; border: 1px solid #e0d8d0; border-radius: 4px; text-decoration: none; color: #3d2314; transition: border-color 0.15s, background 0.15s; }
.article-nav a:hover { border-color: #8b2030; background: #faf6f1; }
.article-nav .nav-label { font-size: 0.62rem; letter-spacing: 0.15em; color: #8b2030; text-transform: uppercase; margin-bottom: 6px; }
.article-nav .nav-title { font-size: 0.82rem; font-weight: 600; line-height: 1.6; }
.article-nav .next { text-align: right; }

/* ===== SIDEBAR ===== */
.sidebar { position: sticky; top: 96px; }
.sidebar-section { margin-bottom: 40px; }
.sidebar-section h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #3d2314; border-left: 3px solid #8b2030; padding-left: 10px; margin-bottom: 16px; }
.sidebar-card { display: block; text-decoration: none; color: inherit; padding: 12px 0; border-bottom: 1px solid #f0ebe0; transition: opacity 0.15s; }
.sidebar-card:hover { opacity: 0.7; }
.sidebar-card-date { font-size: 0.65rem; color: #aaa; margin-bottom: 4px; }
.sidebar-card-title { font-size: 0.78rem; font-weight: 600; color: #3d2314; line-height: 1.6; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { font-size: 0.68rem; color: #8b2030; background: rgba(139,32,48,0.07); padding: 4px 10px; border-radius: 2px; text-decoration: none; transition: background 0.15s; }
.tag-list a:hover { background: rgba(139,32,48,0.15); }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e0d8d0;
  border-radius: 2px;
  font-size: 0.82rem;
  color: #3d2314;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: #8b2030; color: #fff; border-color: #8b2030; }

/* ===== TABLET (〜1024px) ===== */
@media (max-width: 1024px) {
  header { padding: 0 24px; }
  nav { gap: 20px; }
  section { padding: 64px 24px; }
  #concept { padding: 80px 24px 0; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .column-detail-wrapper { grid-template-columns: 1fr; gap: 40px; padding: 48px 32px 80px; }
  .column-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { position: static; }
}

/* ===== MOBILE (〜768px) ===== */
@media (max-width: 768px) {
  header { padding: 0 20px; height: 60px; }
  .logo img { height: 32px; }
  .logo { font-size: 1.2rem; }
  .hamburger { display: flex; }
  nav {
    display: none;
    position: fixed;
    top: 60px; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 199;
    overflow-y: auto;
  }
  nav.open { display: flex; }
  .nav-item span { font-size: 1.1rem; }
  .nav-item small { font-size: 0.72rem; }
  .btn-koretatsu { font-size: 0.95rem; padding: 12px 28px; }
  #top { min-height: unset; margin-top: 60px; }
  section { padding: 56px 20px; }
  #concept { padding: 56px 20px 0; }
  .concept-lead { white-space: normal; }
  .problem-grid { grid-template-columns: 1fr; }
  .simultaneous-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .about-item { grid-template-columns: 1fr; gap: 28px; }
  .about-item.reverse { direction: ltr; }
  .about-img { height: 220px; }
  .news-item { padding: 14px 16px; gap: 10px; flex-wrap: wrap; }
  .news-date { min-width: auto; }
  .news-title { width: 100%; }
  .contact-inner { padding: 36px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px 28px; }
  .footer-bottom { padding: 16px 20px; }
  .philosophy-band { padding: 48px 20px; margin-left: -20px; margin-right: -20px; }
  .page-hero { margin-top: 60px; padding: 40px 20px; }
  .news-container { padding: 40px 20px 64px; }
  .news-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 12px; }
  .detail-wrapper { padding: 36px 20px 56px; }
  .news-meta { flex-wrap: wrap; gap: 8px; }
  .news-nav { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .news-nav .next { text-align: left; }
  .column-container { padding: 48px 20px 64px; }
  .column-grid { grid-template-columns: 1fr; gap: 20px; }
  .column-detail-wrapper { padding: 36px 20px 56px; gap: 32px; }
  .article-meta { flex-wrap: wrap; gap: 8px; }
  .article-eyecatch-placeholder { height: 220px; }
  .article-body h2 { font-size: 1rem; margin: 28px 0 12px; }
  .article-body h3 { font-size: 0.92rem; }
  .article-body p { font-size: 0.84rem; line-height: 2.1; }
  .article-body li { font-size: 0.84rem; }
  .article-nav { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .article-nav .next { text-align: left; }
}

/* ===== GUTENBERG ブロック — コラム本文スタイル調整 ===== */

/* Gutenberg がデフォルトで付与するマージンをリセット */
.article-body .wp-block-heading,
.article-body .wp-block-paragraph,
.article-body .wp-block-list,
.article-body .wp-block-image,
.article-body .wp-block-quote {
  margin-block-start: 0;
  margin-block-end: 0;
}

/* 見出し (h2) — 左ボーダー */
.article-body h2,
.article-body .wp-block-heading h2,
.article-body h2.wp-block-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #3d2314;
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid #8b2030;
  line-height: 1.6;
}

/* 見出し (h3) */
.article-body h3,
.article-body h3.wp-block-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #3d2314;
  margin: 32px 0 12px;
}

/* 段落 */
.article-body p,
.article-body .wp-block-paragraph {
  font-size: 0.88rem;
  line-height: 2.2;
  color: #444;
  margin-bottom: 20px;
}

/* リスト */
.article-body ul,
.article-body ol,
.article-body .wp-block-list {
  padding-left: 1.4em;
  margin-bottom: 20px;
}
.article-body li {
  font-size: 0.88rem;
  line-height: 2.1;
  color: #444;
}

/* 画像ブロック */
.article-body .wp-block-image {
  margin: 32px 0;
}
.article-body .wp-block-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}
.article-body .wp-block-image figcaption,
.article-body .wp-block-image .wp-element-caption {
  font-size: 0.72rem;
  color: #aaa;
  text-align: center;
  margin-top: 8px;
}

/* 引用ブロック */
.article-body .wp-block-quote {
  background: #faf6f1;
  border-left: 3px solid #c8a880;
  padding: 16px 20px;
  border-radius: 0 4px 4px 0;
  margin: 28px 0;
  font-size: 0.82rem;
  color: #666;
  line-height: 2;
  font-style: normal;
}
.article-body .wp-block-quote p {
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 0;
}
.article-body .wp-block-quote cite,
.article-body .wp-block-quote .wp-block-quote__citation {
  font-size: 0.72rem;
  color: #aaa;
  display: block;
  margin-top: 8px;
}

/* ノートスタイル（段落ブロック → スタイル「ノート」） */
.article-body p.is-style-rib-note,
.article-body .wp-block-paragraph.is-style-rib-note {
  background: #faf6f1;
  border-left: 3px solid #c8a880;
  padding: 16px 20px;
  border-radius: 0 4px 4px 0;
  margin: 28px 0;
  font-size: 0.82rem;
  color: #666;
  line-height: 2;
}

/* セパレーター */
.article-body .wp-block-separator {
  border: none;
  border-top: 1px solid #e8e0d8;
  margin: 40px 0;
}

/* ===== Gutenberg エディタ画面用 (add_editor_style) ===== */
.editor-styles-wrapper .article-body h2,
.editor-styles-wrapper h2.wp-block-heading {
  padding-left: 14px;
  border-left: 4px solid #8b2030;
}
.editor-styles-wrapper p.is-style-rib-note {
  background: #faf6f1;
  border-left: 3px solid #c8a880;
  padding: 16px 20px;
  border-radius: 0 4px 4px 0;
  font-size: 0.82rem;
  color: #666;
  line-height: 2;
}

/* ===== コラムカテゴリーアーカイブ ===== */
.page-hero-sub {
  font-size: 0.6em;
  font-weight: 400;
  color: #c8a880;
  display: inline-block;
  margin-left: 0.3em;
}
.column-cat-breadcrumb {
  margin-bottom: 32px;
}
.column-cat-breadcrumb a {
  font-size: 0.82rem;
  color: #8b2030;
  text-decoration: none;
  border-bottom: 1px solid #8b2030;
  padding-bottom: 2px;
}
.column-cat-breadcrumb a:hover { opacity: 0.7; }

/* ===== 会社概要ページ ===== */
.company-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 40px 96px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 64px;
}
.company-table tr { border-bottom: 1px solid #e8e0d8; }
.company-table tr:first-child { border-top: 1px solid #e8e0d8; }
.company-table th {
  width: 180px;
  padding: 20px 24px 20px 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #3d2314;
  vertical-align: top;
  white-space: nowrap;
}
.company-table td {
  padding: 20px 0;
  font-size: 0.88rem;
  color: #444;
  line-height: 2;
}
.company-table td a { color: #8b2030; text-decoration: underline; }
.company-table td ul { list-style: none; padding: 0; margin: 0; }
.company-table td ul li {
  padding-left: 1em;
  position: relative;
  line-height: 2;
}
.company-table td ul li::before {
  content: '―';
  position: absolute;
  left: 0;
  color: #8b2030;
  font-size: 0.7em;
  top: 0.35em;
}

.map-section { margin-bottom: 64px; }
.map-section h2,
.member-section h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #3d2314;
  border-left: 4px solid #8b2030;
  padding-left: 12px;
  margin-bottom: 20px;
}
.member-section h2 { margin-bottom: 32px; }
.map-wrap {
  width: 100%;
  height: 360px;
  background: #e8e0d8;
  border-radius: 4px;
  overflow: hidden;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }
.map-address { font-size: 0.75rem; color: #aaa; margin-top: 10px; }

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.member-card { text-align: center; }
.member-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e8ddd0 0%, #d4c4b0 100%);
  border-radius: 4px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.member-avatar svg { opacity: 0.25; }
.member-role {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: #8b2030;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.member-name { font-size: 0.95rem; font-weight: 700; color: #3d2314; margin-bottom: 8px; }
.member-name-en { font-size: 0.68rem; color: #aaa; letter-spacing: 0.1em; margin-bottom: 12px; }
.member-desc { font-size: 0.75rem; color: #666; line-height: 1.9; text-align: left; }

@media (max-width: 768px) {
  .company-container { padding: 48px 20px 64px; }
  .company-table th { width: 100px; font-size: 0.78rem; padding-right: 16px; }
  .company-table td { font-size: 0.82rem; }
  .map-wrap { height: 260px; }
  .member-grid { grid-template-columns: 1fr; gap: 32px; }
}
