/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --background: #faf8f5;
  --foreground: #2d2a26;
  --card: #ffffff;
  --card-foreground: #2d2a26;
  --primary: #3d3832;
  --primary-foreground: #faf8f5;
  --secondary: #f2efe9;
  --secondary-foreground: #3d3832;
  --muted: #e8e4dd;
  --muted-foreground: #6b6560;
  --accent: #e5e1d9;
  --accent-foreground: #3d3832;
  --border: #ddd9d1;
  --radius: 0.75rem;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.06);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}

p {
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.container-sm {
  max-width: 900px;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--muted-foreground);
}

.hidden {
  display: none !important;
}

.hidden-mobile {
  display: none;
}

@media (min-width: 640px) {
  .hidden-mobile {
    display: inline;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .header-container {
    padding: 0 1.5rem;
  }
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 0.875rem;
}

.logo-text {
  font-weight: 600;
  color: var(--foreground);
}

.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--foreground);
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
}

.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  color: var(--foreground);
}

.mobile-menu {
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav .nav-link {
  padding: 0.5rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: #2d2a26;
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.btn-outline:hover {
  background-color: var(--secondary);
}

/* Hero内ボタン（暗い背景上でのコントラスト確保） */
.hero .btn-primary {
  background-color: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.hero .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.hero .btn-outline {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.hero .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-lg {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 16px;
  height: 16px;
}

.btn-icon-sm {
  width: 16px;
  height: 16px;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-buttons-sm {
  gap: 0.5rem;
}

.cta-note {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 0.75rem;
}

/* Hero内CTA注釈 */
.hero .cta-note {
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Badges */
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: 9999px;
}

/* Hero内バッジ */
.hero .badge {
  background-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

/* Sections */
.section {
  padding: 5rem 1rem;
}

@media (min-width: 640px) {
  .section {
    padding: 5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 5rem 2rem;
  }
}

.section-lg {
  padding: 6rem 1rem;
}

@media (min-width: 640px) {
  .section-lg {
    padding: 6rem 1.5rem;
  }
}

.bg-card {
  background-color: var(--card);
}

.section-title {
  font-size: 1.5rem;
  color: var(--foreground);
  text-align: center;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.section-subtitle {
  color: var(--muted-foreground);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-conclusion {
  text-align: center;
  font-weight: 500;
  color: var(--foreground);
  margin-top: 2rem;
}

/* Hero - Dashboard背景スタイル */
.hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  background-image: url("img/SUITE_Dashboard.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Hero オーバーレイ（上部が濃いグラデーション） */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.60) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: 0;
}

/* Hero コンテンツ（前面表示） */
.hero .container {
  position: relative;
  z-index: 1;
}

/* Hero 画像カラム非表示 */
.hero-image {
  display: none;
}

/* Hero グリッドを1カラム中央寄せに変更 */
.hero-grid {
  display: block;
  max-width: 820px;
  margin: 0 auto;
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-title .text-muted {
  color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 768px;
  margin: 0 auto 1rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Cards */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-hover {
  transition: box-shadow 0.2s;
}

.card-hover:hover {
  box-shadow: var(--shadow-md);
}

.card-content {
  padding: 1.5rem;
}

.card-header {
  padding: 1.5rem 1.5rem 0;
}

.card-body {
  padding: 0 1.5rem 1.5rem;
}

.card-footer {
  padding: 0 1.5rem 1.5rem;
}

.card-accent {
  background-color: var(--accent);
  border-color: var(--accent);
}

.card-highlight {
  border-color: rgba(61, 56, 50, 0.2);
  background-color: rgba(242, 239, 233, 0.5);
}

.card-icon {
  width: 32px;
  height: 32px;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.card-icon-lg {
  width: 40px;
  height: 40px;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.card-title-sm {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.card-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.card-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Problem Grid */
.problem-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Features Grid */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Detail Button */
.detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.detail-btn:hover {
  color: var(--foreground);
}

/* Timeline */
.timeline {
  position: relative;
  margin: 3rem 0;
}

.timeline-line {
  display: none;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border);
  transform: translateY(-50%);
}

@media (min-width: 768px) {
  .timeline-line {
    display: block;
  }
}

.timeline-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .timeline-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.timeline-item {
  position: relative;
}

.timeline-icon {
  width: 48px;
  height: 48px;
  background-color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.timeline-icon svg {
  width: 24px;
  height: 24px;
  color: var(--foreground);
}

.timeline-step {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.timeline-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-top: 0.25rem;
}

.timeline-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* Tips Grid */
.tips-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .tips-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tip-icon {
  width: 48px;
  height: 48px;
  background-color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.tip-icon svg {
  width: 24px;
  height: 24px;
  color: var(--foreground);
}

.tip-text {
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.6;
}

/* Comparison Grid */
.comparison-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.comparison-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.comparison-icon.muted {
  background-color: var(--muted);
}

.comparison-icon.muted svg {
  color: var(--muted-foreground);
}

.comparison-icon.primary {
  background-color: var(--primary);
}

.comparison-icon.primary svg {
  color: var(--primary-foreground);
}

.comparison-icon svg {
  width: 20px;
  height: 20px;
}

/* Onboarding Grid */
.onboarding-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .onboarding-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.onboarding-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.onboarding-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onboarding-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary-foreground);
}

.onboarding-step {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(107, 101, 96, 0.3);
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background-color: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion-item {
  background-color: var(--card);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  transition: background-color 0.2s;
}

.accordion-trigger:hover {
  background-color: var(--secondary);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  color: var(--muted-foreground);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content.open {
  max-height: 500px;
}

.accordion-content p {
  padding: 0 1.5rem 1rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* External Link */
.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
  margin-top: 1.5rem;
}

.external-link:hover {
  color: var(--foreground);
}

.link-icon {
  width: 12px;
  height: 12px;
}

.link-icon-sm {
  width: 12px;
  height: 12px;
}

/* Prose */
.prose {
  max-width: none;
}

.prose p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.prose-text {
  color: var(--muted-foreground);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.highlight-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.small-text {
  font-size: 0.875rem;
  margin-top: 2rem;
}

/* Footer */
.footer {
  padding: 3rem 1rem;
  border-top: 1px solid var(--border);
  background-color: var(--card);
}

@media (min-width: 640px) {
  .footer {
    padding: 3rem 1.5rem;
  }
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal {
  position: relative;
  background-color: var(--card);
  border-radius: var(--radius);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-foreground);
  border-radius: 0.25rem;
  transition: background-color 0.2s;
}

.modal-close:hover {
  background-color: var(--secondary);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-header {
  padding: 1.5rem 1.5rem 0;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  padding-right: 2rem;
}

.modal-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.modal-body {
  padding: 1rem 1.5rem;
}

.modal-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .modal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.modal-col {
  order: 2;
}

@media (min-width: 768px) {
  .modal-col {
    order: 1;
  }
}

.modal-image-col {
  order: 1;
}

@media (min-width: 768px) {
  .modal-image-col {
    order: 2;
  }
}

.modal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
}

.modal-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.modal-note {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: var(--accent);
  border-radius: var(--radius);
}

.modal-note-title {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.modal-note .external-link {
  margin-top: 0;
}

.modal-image {
  aspect-ratio: 4 / 3;
  background-color: var(--muted);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image-placeholder {
  text-align: center;
}

.placeholder-icon {
  width: 64px;
  height: 64px;
  background-color: var(--secondary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 2rem;
}

.placeholder-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.modal-image-caption {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 0.5rem;
}

.modal-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.modal-footer .cta-buttons {
  flex-direction: row;
  flex-wrap: wrap;
}

.modal-footer .btn {
  flex: 1;
  min-width: 150px;
}

/* ===== LP Illustration Styles ===== */

/* 共通 */
.lp-illustration {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* サムネイル（中核機能カード用） */
.lp-illustration--thumb {
  width: 140px;
  height: auto;
  border-radius: 14px;
  opacity: 0.95;
  flex-shrink: 0;
}

/* Hero画像 */
.lp-illustration--hero {
  max-width: 520px;
  margin: 0 auto;
}

/* 共同設計画像 */
.lp-illustration--codesign {
  max-width: 400px;
}

/* Hero 2カラムレイアウト */
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  text-align: center;
}

/* Hero画像は背景に変更したため非表示 - hero-imageは.hero内で display: none に設定済み */

@media (min-width: 1024px) {
  .hero-grid {
    /* 1カラム中央寄せを維持 */
    display: block;
    max-width: 820px;
    margin: 0 auto;
  }
  .hero-content {
    text-align: center;
  }
  .hero-content .cta-buttons {
    justify-content: center;
  }
  .hero-content .badges {
    justify-content: center;
  }
  .hero-content .cta-note {
    text-align: center;
  }
  .hero-content .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  /* Hero画像は非表示のためコメントアウト */
  /* .lp-illustration--hero {
    max-width: 100%;
  } */
}

/* 中核機能カード サムネ付きヘッダー */
.card-header--with-thumb {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.card-header__text {
  flex: 1;
  min-width: 0;
}

@media (max-width: 639px) {
  .lp-illustration--thumb {
    width: 100px;
  }
}

/* 共同設計カード 2カラム */
.card--codesign {
  overflow: hidden;
}

.codesign-grid {
  display: grid;
  gap: 1.5rem;
}

.codesign-text {
  order: 1;
}

.codesign-image {
  order: 2;
}

@media (min-width: 768px) {
  .codesign-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .codesign-text {
    order: 1;
  }
  .codesign-image {
    order: 2;
  }
}

/* モーダル画像 */
.ws-modal__img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.ws-modal__caption {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.7;
  text-align: center;
}
