/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  color: #1a1a1a;
  background: #fff;
  overflow-x: hidden;
  line-height: 1.8;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== COLORS ===== */
:root {
  --red: #b12023;
  --red-soft: #f24448;
  --black: #1a1a1a;
  --dark-gray: #404040;
  --mid-gray: #8c8c8c;
  --light-gray: #d9d9d9;
  --bg-light: #f7f7f9;
  --bg-cream: #faf8f2;
  --orange: #ff9433;
  --yellow: #ffd133;
  --blue: #338cf2;
  --green: #33c78c;
  --pink: #f56685;
  --purple: #8c59e6;
  --footer-bg: #1e1e24;
}

/* ===== UTILITY ===== */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.section-label .dot {
  width: 10px; height: 10px;
  background: var(--red);
  border-radius: 50%;
}
.section-label span {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 3px;
}
.section-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 16px;
}
.section-title-en {
  font-family: 'Inter', sans-serif;
  font-size: 72px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: 2px;
  margin-bottom: 40px;
  line-height: 1;
}
.section-line {
  width: 50px; height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin-bottom: 32px;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-right.visible { opacity: 1; transform: translateX(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1010;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 46px;
  width: auto;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-gray);
  position: relative;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.3s;
}
.nav-link:hover { color: var(--red); }
.nav-link:hover::after { width: 100%; }
.nav-link .en {
  font-size: 10px;
  color: var(--mid-gray);
  margin-left: 6px;
  font-weight: 400;
}
/* dropdown */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1000;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-gray);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  background: var(--bg-light);
  color: var(--red);
}
/* invisible bridge between link and dropdown */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-cta {
  background: var(--red);
  color: #fff;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(177,32,35,0.3);
}

/* ===== LIQUID BLOB BACKGROUND ===== */
.blob-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden;
  z-index: 0;
}
.blob-bg canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* ===== HERO ===== */
.hero {
  padding-top: 80px;
  min-height: 100vh;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--mid-gray);
  letter-spacing: 6px;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-catch {
  font-size: 72px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}
.hero-catch .underline-wrap {
  position: relative;
  display: inline-block;
}
.hero-catch .underline-wrap::after {
  content: '';
  position: absolute;
  bottom: 4px; left: -4px; right: -4px;
  height: 12px;
  background: var(--red);
  opacity: 0.18;
  border-radius: 6px;
}
.hero-en {
  font-size: 16px;
  color: var(--mid-gray);
  font-weight: 300;
}
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}
.scroll-indicator span {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--mid-gray);
  letter-spacing: 2px;
  font-weight: 500;
}
.scroll-line {
  width: 1px; height: 40px;
  background: var(--mid-gray);
  margin: 8px auto 0;
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ===== ABOUT ===== */
.about { padding: 120px 0; background: #fff; }
.about-inner { display: flex; align-items: center; gap: 80px; }
.about-text { flex: 1; }
.about-body {
  font-size: 16px;
  color: var(--dark-gray);
  line-height: 2;
  margin-bottom: 40px;
}
.about-mvv { flex: 0 0 500px; display: flex; flex-direction: column; gap: 40px; justify-content: center; }
.mvv-item { padding-left: 28px; border-left: 4px solid var(--red); }
.mvv-item.stagger-1 { transition-delay: 0.2s; }
.mvv-item.stagger-2 { transition-delay: 0.5s; }
.mvv-item.stagger-3 { transition-delay: 0.8s; }
.mvv-label { font-family: 'Inter', sans-serif; font-size: 42px; font-weight: 900; color: var(--dark); margin-bottom: 12px; letter-spacing: 1px; line-height: 1; }
.mvv-text { font-size: 20px; font-weight: 600; color: var(--red); line-height: 1.8; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: 1.5px solid var(--black);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--black); color: #fff; }

/* ===== SERVICES (HOME) ===== */
.services-home {
  padding: 100px 0;
  background: var(--bg-light);
  overflow: hidden;
}
.services-home-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 520px;
}
.services-home-side {
  flex: 0 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.services-home-vertical {
  font-family: 'Inter', sans-serif;
  font-size: 72px;
  font-weight: 900;
  color: var(--red);
  writing-mode: vertical-lr;
  text-orientation: mixed;
  letter-spacing: 4px;
  opacity: 0.85;
}
.services-home-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}
.services-home-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 48px;
}
.services-home-concept {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}
/* Circle wrapper handles translation, inner circle handles rotation */
.concept-circle-wrap {
  will-change: transform, opacity;
  opacity: 0;
}
.concept-circle-wrap-left {
  transform: translateX(-200px);
  margin-right: -40px;
  z-index: 1;
}
.concept-circle-wrap-right {
  transform: translateX(200px);
  margin-left: -40px;
}
.concept-circle {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  will-change: transform;
}
.concept-circle-left {
  background: conic-gradient(from 180deg, #e8524a 0%, #f5ad42 40%, #f5d250 70%, #e8524a 100%);
  transform: rotate(-540deg);
}
.concept-circle-right {
  background: conic-gradient(from 0deg, #f5d250 0%, #5dd498 40%, #5ab4ed 70%, #f5d250 100%);
  transform: rotate(540deg);
}
/* Animate in when parent becomes visible */
.visible .concept-circle-wrap-left {
  animation: slide-in-left 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.visible .concept-circle-wrap-left .concept-circle {
  animation: spin-left 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.visible .concept-circle-wrap-right {
  animation: slide-in-right 2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.visible .concept-circle-wrap-right .concept-circle {
  animation: spin-right 2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
@keyframes slide-in-left {
  0%   { opacity: 0; transform: translateX(-200px); }
  20%  { opacity: 1; }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes slide-in-right {
  0%   { opacity: 0; transform: translateX(200px); }
  20%  { opacity: 1; }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes spin-left {
  0%   { transform: rotate(-540deg); }
  100% { transform: rotate(0deg); }
}
@keyframes spin-right {
  0%   { transform: rotate(540deg); }
  100% { transform: rotate(0deg); }
}
.concept-circle::after {
  content: '';
  position: absolute;
  inset: 16px;
  background: var(--bg-light);
  border-radius: 50%;
}
.concept-word {
  position: relative;
  z-index: 2;
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -1px;
  opacity: 0;
  transition: opacity 0.5s ease 1.6s;
}
.visible .concept-word {
  opacity: 1;
}
.concept-cross {
  font-family: 'Inter', sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--red);
  position: relative;
  z-index: 3;
  line-height: 1;
  margin: 0 -8px;
  opacity: 0;
  transform: scale(0) rotate(-180deg);
  transition: opacity 0.4s ease 1.4s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s;
}
.visible .concept-cross {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.services-home-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 900px;
  gap: 40px;
}
.services-home-desc {
  font-size: 15px;
  color: var(--dark-gray);
  line-height: 2;
}
.services-home-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 18px 40px;
  background: var(--red);
  color: #fff;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.services-home-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(177,32,35,0.3);
}

/* ===== WORKS ===== */
.works { padding: 120px 0 100px; background: #fff; overflow: hidden; }
.works-header { margin-bottom: 48px; }
.works-slider-area { position: relative; }
.works-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.15); background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; color: #333; position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; backdrop-filter: blur(4px); }
.works-arrow:hover { background: var(--red); border-color: var(--red); color: #fff; }
.works-prev { left: 20px; }
.works-next { right: 20px; }
.works-slider-wrap { width: 100%; overflow: hidden; }
.works-track {
  display: flex;
  gap: 28px;
  animation: works-scroll 30s linear infinite;
  width: max-content;
}
.works-track:hover { animation-play-state: paused; }
.column-track { animation: column-scroll 35s linear infinite; }
.column-track:hover { animation-play-state: paused; }
@keyframes column-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-2208px); }
}
@keyframes works-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-2208px); }
}
.work-card {
  flex: 0 0 340px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.work-thumb {
  aspect-ratio: 4 / 3;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  overflow: hidden;
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-info { padding: 20px; }
.work-title { font-size: 15px; font-weight: 700; line-height: 1.6; margin-bottom: 10px; }
.work-desc { font-size: 13px; color: var(--dark-gray); line-height: 1.8; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.work-tag { font-size: 12px; color: var(--mid-gray); font-weight: 500; }

/* ===== NEWS ===== */
.news { padding: 120px 0; background: var(--bg-light); }
.news-list { margin-top: 48px; }
.news-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--light-gray);
  transition: background 0.3s, padding-left 0.3s;
  cursor: pointer;
}
.news-item:hover { background: rgba(255,255,255,0.5); padding-left: 12px; }
.news-date {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--mid-gray);
  flex-shrink: 0;
  width: 110px;
}
.news-badge {
  padding: 4px 16px;
  border: 1px solid var(--red);
  border-radius: 14px;
  font-size: 11px;
  color: var(--red);
  font-weight: 500;
  flex-shrink: 0;
}
.news-title { font-size: 15px; flex: 1; }
.news-arrow {
  color: var(--mid-gray);
  font-size: 16px;
  transition: transform 0.3s;
}
.news-item:hover .news-arrow { transform: translateX(4px); }
.btn-center { text-align: center; margin-top: 48px; }

/* ===== CONTACT CTA ===== */
.contact-cta { padding: 80px 0; background: #fff; }
.cta-card {
  background: linear-gradient(135deg, #b12023, #d63035);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: -80px; left: -40px;
}
.cta-card::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  bottom: -60px; right: 60px;
}
.cta-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 5px;
  font-weight: 600;
  margin-bottom: 12px;
}
.cta-title { font-size: 40px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.cta-desc { font-size: 15px; color: rgba(255,255,255,0.85); margin-bottom: 40px; }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: #fff;
  color: var(--red);
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  z-index: 1;
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ===== FOOTER ===== */
.footer {
  background: #141414;
  color: #aaa;
  padding: 80px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
}
.footer-left {
  flex: 0 0 360px;
}
.footer-logo-link { display: inline-block; margin-bottom: 48px; }
.footer-logo-img {
  width: 360px;
  height: auto;
  filter: brightness(0) invert(1);
  max-width: 100%;
}
.footer-policies {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.footer-policies a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.footer-policies a:hover { color: rgba(255,255,255,0.8); }
.footer-divider {
  color: rgba(255,255,255,0.25);
  font-size: 13px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-right {
  display: flex;
  gap: 48px;
}
.footer-nav-col {
  padding-left: 20px;
  position: relative;
}
.footer-nav-col::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 2px;
}
.footer-nav-accent-red::before {
  background: linear-gradient(to bottom, #e8524a, #f5ad42, #f5d250);
}
.footer-nav-accent-green::before {
  background: linear-gradient(to bottom, #f5d250, #5dd498);
}
.footer-nav-accent-blue::before {
  background: linear-gradient(to bottom, #5ab4ed, #8c59e6);
}
.footer-nav-list { list-style: none; }
.footer-nav-list li { margin-bottom: 16px; }
.footer-nav-list li:last-child { margin-bottom: 0; }
.footer-nav-list a {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s;
  white-space: nowrap;
}
.footer-nav-list a:hover { color: #fff; }

/* ===== PAGE HERO (sub pages) ===== */
.page-hero {
  padding-top: 80px;
  padding-bottom: 0;
  min-height: 360px;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 8px;
}
.page-hero-en {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--mid-gray);
  letter-spacing: 4px;
  font-weight: 500;
}

/* ===== COMPANY ===== */
.company-section { padding: 100px 0; }
.info-table { width: 100%; max-width: 800px; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--light-gray); }
.info-table th {
  text-align: left;
  padding: 24px 40px 24px 0;
  font-weight: 600;
  font-size: 15px;
  width: 200px;
  vertical-align: top;
  color: var(--black);
}
.info-table td {
  padding: 24px 0;
  font-size: 15px;
  color: var(--dark-gray);
  line-height: 1.8;
}

/* ===== ACCESS (Company page) ===== */
.access-block { margin-bottom: 60px; }
.access-label { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.access-row { display: flex; gap: 40px; align-items: flex-start; }
.access-map { flex: 1; height: 360px; border-radius: 10px; overflow: hidden; }
.access-info { flex: 0 0 320px; }
.access-address { font-size: 14px; line-height: 2; color: var(--dark); }
.access-detail { margin-top: 20px; padding-top: 20px; border-top: 1px solid #eee; }
.access-detail-label { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.access-detail-text { font-size: 13px; line-height: 2; color: var(--dark-gray); }

/* ===== MEMBER ===== */
.member-section { padding: 100px 0; }
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.member-card { text-align: center; }
.member-photo {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--bg-light);
  margin: 0 auto 20px;
  overflow: hidden;
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.member-role { font-size: 13px; color: var(--mid-gray); margin-bottom: 12px; }
.member-desc { font-size: 14px; color: var(--dark-gray); line-height: 1.7; }

/* ===== NEWS PAGE ===== */
.news-page { padding: 80px 0; }
.news-page-list { max-width: 900px; }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 80px 0; }
.contact-form { max-width: 700px; margin: 0 auto; }
.form-group { margin-bottom: 28px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-label .required {
  font-size: 11px;
  color: var(--red);
  margin-left: 8px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--light-gray);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s;
  background: #fff;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--red);
}
.form-textarea { height: 180px; resize: vertical; }
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 48px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(177,32,35,0.3);
}

/* ===== LEGAL PAGES ===== */
.legal-section {
  padding: 80px 0 100px;
}
.legal-content {
  max-width: 800px;
}
.legal-lead {
  font-size: 15px;
  line-height: 2;
  color: var(--dark);
  margin-bottom: 48px;
}
.legal-block {
  margin-bottom: 40px;
}
.legal-heading {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  padding-left: 16px;
  border-left: 3px solid var(--red);
}
.legal-block p {
  font-size: 14px;
  line-height: 2;
  color: var(--dark-gray);
}
.legal-list {
  list-style: none;
  margin-top: 12px;
}
.legal-list li {
  font-size: 14px;
  line-height: 2;
  color: var(--dark-gray);
  padding-left: 20px;
  position: relative;
}
.legal-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}
.legal-contact {
  margin-top: 16px;
  padding: 20px 24px;
  background: var(--bg-light);
  border-radius: 10px;
  font-size: 14px;
  line-height: 2;
  color: var(--dark);
}
.legal-date {
  margin-top: 48px;
  font-size: 13px;
  color: var(--mid-gray);
  text-align: right;
}

/* ===== NEWS DETAIL ===== */
.news-detail {
  padding: 80px 0 100px;
}
.news-detail-inner {
  max-width: 800px;
}
.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.news-detail-date {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--mid-gray);
}
.news-detail-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
}
.news-detail-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #eee;
}
.news-detail-body {
  font-size: 15px;
  line-height: 2.2;
  color: var(--dark-gray);
}
.news-detail-body p {
  margin-bottom: 24px;
}
.news-detail-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--red);
}
.news-detail-body ul {
  list-style: none;
  margin-bottom: 24px;
}
.news-detail-body ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.news-detail-body ul li::before {
  content: "・";
  position: absolute;
  left: 0;
}
.news-detail-body img {
  width: 100%;
  border-radius: 10px;
  margin: 24px 0;
}
.news-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
}
.news-back:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

/* ===== PAGINATION (shared) ===== */
.works-pagination { display: flex; justify-content: center; gap: 12px; margin-top: 56px; }
.page-btn { width: 52px; height: 52px; border-radius: 12px; border: 1px solid #ddd; background: #fff; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; color: #333; }
.page-btn:hover { border-color: var(--red); color: var(--red); }
.page-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
.page-btn.disabled { opacity: 0.3; cursor: default; pointer-events: none; }

/* ===== COLUMN LIST PAGE ===== */
.column-page { padding: 80px 0 120px; }
.column-categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.column-cat-btn {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #ddd;
  border-radius: 40px;
  background: #fff;
  color: var(--dark-gray);
  cursor: pointer;
  transition: all 0.3s;
}
.column-cat-btn:hover {
  border-color: var(--red);
  color: var(--red);
}
.column-cat-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.column-card {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
}
.column-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.column-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-weight: 600;
  font-size: 13px;
}
.column-info { padding: 20px; }
.column-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.column-card-date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--mid-gray);
}
.column-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.column-card-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
}
.column-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 10px;
  color: var(--dark);
}
.column-card-desc {
  font-size: 13px;
  color: var(--dark-gray);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== COLUMN ARTICLE (SEO) ===== */
.breadcrumb {
  padding: 16px 0;
  background: #fafafa;
  border-bottom: 1px solid #eee;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 12px;
  color: var(--mid-gray);
}
.breadcrumb-list li + li::before {
  content: ">";
  margin-right: 8px;
  color: #ccc;
}
.breadcrumb-list a {
  color: var(--dark-gray);
  text-decoration: none;
}
.breadcrumb-list a:hover { color: var(--red); }

.column-article { padding: 60px 0 100px; }
.column-article-inner { max-width: 800px; }
.column-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.column-article-date {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--mid-gray);
}
.column-article-cat {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}
.column-article-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 32px;
}
.column-article-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-weight: 600;
  margin-bottom: 40px;
}

/* TOC */
.column-toc {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 48px;
}
.column-toc-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.column-toc-list {
  padding-left: 20px;
}
.column-toc-list li {
  font-size: 14px;
  line-height: 2;
}
.column-toc-list a {
  color: var(--dark-gray);
  text-decoration: none;
}
.column-toc-list a:hover { color: var(--red); }

/* Article Body */
.column-article-body {
  font-size: 15px;
  line-height: 2.2;
  color: var(--dark-gray);
}
.column-article-body p { margin-bottom: 24px; }
.column-article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin: 48px 0 20px;
  padding: 12px 0 12px 20px;
  border-left: 4px solid var(--red);
  line-height: 1.5;
}
.column-article-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 32px 0 16px;
}
.column-article-body ul {
  list-style: none;
  margin-bottom: 24px;
  padding: 20px 24px;
  background: #fafafa;
  border-radius: 8px;
}
.column-article-body ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  font-size: 14px;
}
.column-article-body ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* Column CTA Box */
.column-cta-box {
  margin-top: 56px;
  padding: 40px;
  background: var(--dark);
  border-radius: 10px;
  text-align: center;
}
.column-cta-text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.column-cta-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.column-cta-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}
.column-cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Related Articles */
.column-related {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid #eee;
}
.column-related-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}
.column-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.column-related-item {
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
}
.column-related-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}
.column-related-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 12px;
  font-weight: 600;
}
.column-related-name {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--dark);
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== RESPONSIVE: TABLET (max-width: 1024px) ===== */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .header-inner { padding: 0 24px; }
  .section-title-en { font-size: 56px; margin-bottom: 32px; }

  /* About */
  .about { padding: 80px 0; }
  .about-inner { gap: 48px; }
  .about-mvv { flex: 0 0 380px; gap: 32px; }
  .mvv-label { font-size: 34px; }
  .mvv-text { font-size: 17px; }

  /* Services Home */
  .services-home-inner { padding: 0 24px; }
  .concept-circle { width: 220px; height: 220px; }
  .concept-word { font-size: 26px; }
  .concept-cross { font-size: 48px; }

  /* Footer */
  .footer-inner { gap: 40px; }
  .footer-right { gap: 32px; }
  .footer-left { flex: 0 0 280px; }
  .footer-logo-img { width: 280px; }
}

/* ===== RESPONSIVE: HAMBURGER MENU (max-width: 900px) ===== */
@media (max-width: 900px) {
  .hamburger { display: block; }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 40px;
    gap: 0;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    transition: right 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    overflow-y: auto;
    z-index: 1000;
  }
  .nav.open { right: 0; }
  .nav-link {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
  }
  .nav-link::after { display: none; }
  .nav-link .en { display: none; }
  .nav-item {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-item .nav-link {
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    min-width: 0;
  }
  .nav-dropdown a {
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid #f5f5f5;
  }
  .nav-cta {
    margin-top: 20px;
    width: 100%;
    text-align: center;
  }
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
  }
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* ===== RESPONSIVE: MOBILE (max-width: 768px) ===== */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 0 16px; height: 64px; }
  .logo-img { height: 36px; }
  .section-title-en { font-size: 40px; margin-bottom: 24px; }
  .section-title { font-size: 26px; }

  /* Hero */
  .hero { padding-top: 64px; min-height: 100svh; }
  .hero-sub { font-size: 11px; letter-spacing: 4px; margin-bottom: 20px; }
  .hero-catch { font-size: 36px; margin-bottom: 16px; }
  .hero-catch .underline-wrap::after { height: 8px; bottom: 2px; }
  .hero-en { font-size: 13px; }
  .scroll-indicator { bottom: 24px; }
  .scroll-indicator span { font-size: 10px; }
  .scroll-line { height: 28px; }

  /* About */
  .about { padding: 64px 0; }
  .about-inner { flex-direction: column; gap: 40px; }
  .about-text { flex: none; }
  .about-body { font-size: 14px; line-height: 1.9; margin-bottom: 28px; }
  .about-body br { display: none; }
  .about-mvv { flex: none; width: 100%; gap: 28px; }
  .mvv-label { font-size: 28px; margin-bottom: 8px; }
  .mvv-text { font-size: 16px; }
  .mvv-item { padding-left: 20px; }
  .btn-outline { padding: 10px 24px; font-size: 13px; }

  /* Services Home */
  .services-home { padding: 64px 0; overflow: hidden; }
  .services-home-inner {
    flex-direction: column !important;
    padding: 0 20px;
    min-height: auto !important;
    gap: 16px;
  }
  .services-home-side {
    flex: none !important;
    width: 100%;
    justify-content: flex-start;
  }
  .services-home-vertical {
    writing-mode: horizontal-tb !important;
    font-size: 40px;
  }
  .services-home-main { padding: 0; }
  .services-home-visual { margin-bottom: 24px; }
  .services-home-concept {
    gap: 0;
    justify-content: center;
    width: 100%;
  }
  .concept-circle { width: 130px !important; height: 130px !important; }
  .concept-circle-wrap-left { margin-right: -20px; }
  .concept-circle-wrap-right { margin-left: -20px; }
  .concept-circle::after { inset: 8px; }
  .concept-word { font-size: 16px !important; }
  .concept-cross { font-size: 32px; margin: 0 -4px; }
  @keyframes slide-in-left {
    0%   { opacity: 0; transform: translateX(-80px); }
    20%  { opacity: 1; }
    100% { opacity: 1; transform: translateX(0); }
  }
  @keyframes slide-in-right {
    0%   { opacity: 0; transform: translateX(80px); }
    20%  { opacity: 1; }
    100% { opacity: 1; transform: translateX(0); }
  }
  .services-home-bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    align-items: center;
  }
  .services-home-desc { font-size: 14px; }
  .services-home-desc br { display: none; }
  .services-home-btn { padding: 14px 32px; font-size: 14px; }

  /* Works / Column Slider */
  .works { padding: 64px 0 56px; }
  .works-header { margin-bottom: 32px; }
  .works-arrow { width: 40px; height: 40px; }
  .works-prev { left: 8px; }
  .works-next { right: 8px; }
  .work-card { flex: 0 0 280px; }
  .work-info { padding: 16px; }
  .work-title { font-size: 14px; margin-bottom: 8px; }
  .work-desc { font-size: 12px; margin-bottom: 10px; }

  /* News */
  .news { padding: 64px 0; }
  .news-list { margin-top: 32px; }
  .news-item {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 16px 0;
  }
  .news-date { width: auto; font-size: 12px; }
  .news-badge { font-size: 10px; padding: 3px 10px; }
  .news-title { font-size: 14px; flex-basis: 100%; order: 3; }
  .news-arrow { display: none; }
  .btn-center { margin-top: 32px; }

  /* Contact CTA */
  .contact-cta { padding: 48px 0; }
  .cta-card { padding: 48px 24px; border-radius: 16px; }
  .cta-label { font-size: 12px; letter-spacing: 3px; }
  .cta-title { font-size: 24px; margin-bottom: 12px; }
  .cta-desc { font-size: 13px; margin-bottom: 28px; }
  .btn-white { padding: 14px 28px; font-size: 14px; }

  /* Footer */
  .footer { padding: 48px 0; }
  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }
  .footer-left { flex: none; width: 100%; }
  .footer-logo-link { margin-bottom: 32px; }
  .footer-logo-img { width: 240px; }
  .footer-policies { flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
  .footer-policies a { font-size: 12px; }
  .footer-right {
    flex-wrap: wrap;
    gap: 32px;
  }
  .footer-nav-col { min-width: calc(50% - 16px); }
  .footer-nav-list a { font-size: 13px; }
  .footer-nav-list li { margin-bottom: 12px; }

  /* Page Hero (sub pages) */
  .page-hero { min-height: 240px; }
  .page-hero-title { font-size: 28px; }
  .page-hero-en { font-size: 12px; letter-spacing: 3px; }

  /* Company */
  .company-section { padding: 64px 0; }
  .info-table th {
    display: block;
    width: 100%;
    padding: 16px 0 4px;
    font-size: 13px;
    color: var(--red);
  }
  .info-table td {
    display: block;
    padding: 4px 0 16px;
    font-size: 14px;
  }

  /* Access */
  .access-block { margin-bottom: 40px; }
  .access-row { flex-direction: column; gap: 20px; }
  .access-map { flex: none; height: 240px; }
  .access-info { flex: none; }

  /* Member */
  .member-section { padding: 64px 0; }
  .member-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
    margin-top: 32px;
  }
  .member-photo { width: 140px; height: 140px; }
  .member-name { font-size: 15px; }
  .member-role { font-size: 12px; }
  .member-desc { font-size: 13px; }

  /* Contact Form */
  .contact-section { padding: 48px 0; }
  .contact-form { padding: 0; }
  .form-group { margin-bottom: 20px; }
  .form-input, .form-textarea, .form-select {
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 10px;
  }
  .btn-submit { width: 100%; justify-content: center; padding: 14px 32px; font-size: 15px; }

  /* News Page & Detail */
  .news-page { padding: 48px 0; }
  .news-detail { padding: 48px 0 64px; }
  .news-detail-title { font-size: 22px; margin-bottom: 28px; padding-bottom: 24px; }
  .news-detail-body { font-size: 14px; }
  .news-back { padding: 12px 24px; font-size: 13px; }

  /* Column Grid */
  .column-page { padding: 48px 0 80px; }
  .column-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .column-categories { gap: 8px; margin-bottom: 4px; }
  .column-cat-btn { padding: 6px 14px; font-size: 12px; }
  .column-related-grid { grid-template-columns: 1fr; }

  /* Column Article */
  .column-article { padding: 40px 0 64px; }
  .column-article-title { font-size: 22px; margin-bottom: 24px; }
  .column-article-body { font-size: 14px; }
  .column-article-body h2 { font-size: 18px; margin: 32px 0 16px; padding: 10px 0 10px 16px; }
  .column-article-body h3 { font-size: 16px; margin: 24px 0 12px; }
  .column-toc { padding: 20px 24px; }
  .column-cta-box { padding: 28px 20px; }
  .column-cta-text { font-size: 17px; }
  .column-cta-desc { font-size: 13px; }

  /* Pagination */
  .works-pagination { gap: 8px; margin-top: 40px; }
  .page-btn { width: 44px; height: 44px; font-size: 14px; border-radius: 10px; }

  /* Legal */
  .legal-section { padding: 48px 0 64px; }

  /* Works Archive Grid */
  .works-page { padding: 48px 0 80px; }
  .works-page-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Service Detail (Overview page) */
  .service-detail { padding: 64px 0; }
  .service-detail-inner {
    flex-direction: column !important;
    gap: 32px;
  }
  .service-detail-text { flex: none; }
  .service-detail-visual { flex: none; width: 100%; }
  .service-detail-img { width: 100%; height: 220px; }
  .service-detail-num { font-size: 48px; }
  .service-detail-name { font-size: 22px; }

  /* Service Sub Pages (SNS Management etc.) */
  .sd-overview { padding: 64px 0; }
  .sd-overview-inner {
    flex-direction: column;
    gap: 32px;
  }
  .sd-overview-visual { flex: none; width: 100%; }
  .sd-overview-img { width: 100%; height: 240px; }
  .sd-overview-text h2 { font-size: 22px; }
  .sd-challenges-grid { grid-template-columns: 1fr; gap: 16px; }
  .sd-future-grid { grid-template-columns: 1fr; gap: 16px; }
  .sd-flow-steps {
    flex-direction: column;
    gap: 24px;
  }
  .sd-diagram-inner {
    flex-direction: column;
    gap: 24px;
  }
  .sd-diagram-visual {
    flex: none;
    width: 100%;
    max-width: 320px;
    height: 320px;
    margin: 0 auto;
  }
  .sd-diagram-text h2 { font-size: 22px; }
}
