:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text: #000000;
  --muted: #64748b;
  --primary: #3b82f6;
  --primary-contrast: #ffffff;
  --accent: #06b6d4;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.15);
  
  /* セクション別カラーテーマ（背景色のみ） */
  --hero-bg: linear-gradient(180deg, #f8fafc, #e2e8f0 60%);
  --hero-accent: rgb(255, 255, 255), rgba(255, 255, 255, 0.982);
  
  --about-bg: #fef3c7;
  --about-accent: #f97316;
  
  --business-bg: #fefefe;
  --business-accent: #ffffff;
  
  --products-bg: #dcfce7;
  --products-accent: #a19d9a;
  
  --company-info-bg: #ffffff;
  --company-info-accent: #ffffff;
  
  --news-bg: #f4f0f08f;
  --news-accent: #665353;
  --contact-bg: #fef3c7;
  --contact-accent: #f59e0b;
}

* {
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
  background: var(--hero-bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 1080px;
  padding: 0 20px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.brand-mark {
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.4));
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all .2s ease;
  position: relative;
}

.nav a:hover {
  color: var(--text);
  background: var(--surface-alt);
}

/* ドロップダウンメニュー */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-toggle::after {
  content: '▼';
  margin-left: 6px;
  font-size: 10px;
  transition: transform .2s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow);
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .2s ease;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--text);
  text-decoration: none;
  transition: background .2s ease;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: var(--surface-alt);
  color: var(--primary);
}

.hero {
  padding: 96px 0 72px;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(59, 130, 246, 0.15), transparent 60%),
              radial-gradient(1000px 500px at 80% -20%, rgba(6, 182, 212, 0.12), transparent 60%);
}

/* ヒーローセクションの左右レイアウト */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-left {
  text-align: left;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 25px var(--shadow-hover);
  transition: transform .3s ease;
}

.hero-image:hover {
  transform: scale(1.02);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  
  .hero-left {
    text-align: center;
  }
  
  .hero-image {
    max-width: 100%;
  }
}

.hero-title {
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 10px;
}

.hero-subtitle {
  color: var(--muted);
  margin: 0 0 24px;
}

.hero-actions { display: flex; gap: 12px; }

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all .2s ease;
  box-shadow: 0 1px 3px var(--shadow);
}

.btn:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 4px 12px var(--shadow-hover);
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: white;
  border: none;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn.primary:hover {
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--products-bg);
}

/* 会社案内セクション */
#about {
  background: var(--about-bg);
}

/* 創業目的の左右レイアウト */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
  align-items: center;
  min-height: 400px;
}

.about-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.about-left h3 {
  font-size: 48px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 24px;
  text-align: center;
  line-height: 1.2;
}

.vision-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  line-height: 1.4;
  margin: 0;
  padding: 0 10px;
}

.about-right h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 16px;
}

.about-right p {
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 16px;
}

.about-right p:last-child {
  margin-bottom: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .about-left {
    padding-right: 0;
  }
}

/* 事業内容セクション */
#business {
  background: var(--business-bg);
}

/* 商品ラインナップセクション */
#products {
  background: var(--products-bg);
}

/* 会社概要セクション */
#company-info {
  background: var(--company-info-bg);
}

/* ニュースセクション */
#news {
  background: var(--news-bg);
}

/* お問い合わせセクション */
#contact {
  background: var(--contact-bg);
}

.section-title {
  font-size: 24px;
  margin: 0 0 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px var(--shadow);
  transition: all .2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.card-title {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text);
}

.card-text {
  margin: 0;
  color: var(--muted);
}

.news {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

/* 記事カードのスタイル */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.article-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.article-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: 24px;
}

.article-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.4;
}

.article-excerpt {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
  max-height: 4.8em; /* line-height * 3行 */
  overflow: hidden;
  position: relative;
}

.article-excerpt::after {
  content: "...";
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--bg);
  padding-left: 4px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.article-date {
  color: var(--muted);
}

.article-source {
  color: var(--primary);
  font-weight: 500;
}

.article-comments {
  text-align: right;
}

.comment-count {
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
}

/* コメントセクションのスタイル */
.comment-section {
  background: var(--surface-alt);
  border-radius: 16px;
  padding: 32px;
  margin-top: 40px;
}

.comment-section h3 {
  margin: 0 0 24px;
  color: var(--text);
  font-size: 20px;
}

.comment-form {
  max-width: 600px;
}

.comment-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.comment-form .form-group {
  margin-bottom: 20px;
}

.comment-form label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.comment-form input,
.comment-form select,
.comment-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 16px;
  background: white;
}

.comment-form textarea {
  resize: vertical;
  min-height: 100px;
}

.comment-form .btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .comment-form .form-row {
    grid-template-columns: 1fr;
  }
}

.contact-actions { 
  display: flex; 
  gap: 12px; 
  flex-wrap: wrap; 
}

.contact-actions .btn.primary {
  background: linear-gradient(135deg, var(--contact-accent), #d97706);
  border-color: var(--contact-accent);
}

/* 商品ラインナップ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 320px));
  gap: 24px;
  margin-top: 32px;
  justify-content: center;
}

.product-card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 12px var(--shadow);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform .3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px var(--shadow-hover);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-image {
  font-size: 64px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.product-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}

.product-description {
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.6;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  background: var(--surface-alt);
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .product-card {
    padding: 20px;
  }
  
  .product-image {
    font-size: 48px;
  }
}

/* 事業内容 */
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.business-card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 12px var(--shadow);
  transition: all .3s ease;
}

.business-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.business-icon {
  font-size: 48px;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.business-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}

.business-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* 会社概要 */
.company-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.info-item {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px var(--shadow);
  transition: all .2s ease;
}

.info-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--shadow-hover);
}

.info-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 16px;
  color: var(--text);
  line-height: 1.5;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .business-grid,
  .company-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .business-card,
  .info-item {
    padding: 20px;
  }
  
  .business-icon {
    font-size: 40px;
  }
}

.site-footer {
  padding: 24px 0 40px;
  color: var(--muted);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--surface-alt);
}

/* 画像の基本スタイル */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ロゴ画像のスタイル */
.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-right: 12px;
}

/* ヒーロー背景画像のスタイル */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* 会社イメージ画像のスタイル */
.company-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 12px var(--shadow);
  margin-bottom: 24px;
}

/* 事業内容カードの画像スタイル */
.business-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

/* 商品画像のスタイル */
.product-image img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 16px;
}

/* 専用ページ用の機能カード */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 12px var(--shadow);
  transition: all .3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
}

.feature-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* 事業カード内のボタンスタイル */
.business-card .btn-primary {
  margin-top: 16px;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: white;
  border: none;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  transition: all .2s ease;
}

.business-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card {
    padding: 20px;
  }
}

/* NFC名刺カードページ専用スタイル */
.future-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.intro-question {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 24px;
  line-height: 1.3;
}

.intro-text {
  font-size: 18px;
  color: var(--text);
  margin: 0 0 20px;
  line-height: 1.6;
}

.intro-highlight {
  font-size: 25px;
  font-weight: 600;
  color: #000000;
  line-height: 1.5;
  margin: 0;
}

/* 6つの理由カード */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.reason-card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px var(--shadow);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.reason-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.reason-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.reason-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.4;
}

.reason-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* 比較テーブル */
.comparison-table {
  margin-top: 32px;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow);
}

.comparison-table th {
  background: var(--primary);
  color: white;
  padding: 16px;
  text-align: left;
  font-weight: 600;
}

.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) {
  background: var(--surface-alt);
}

/* 利用シーン */
.usage-scenarios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.scenario-card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 12px var(--shadow);
  transition: all .3s ease;
}

.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.scenario-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.scenario-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
}

.scenario-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* 結論部分 */
.conclusion {
  text-align: center;
  margin-top: 48px;
  padding: 32px;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.conclusion-text {
  font-size: 18px;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.6;
}

.conclusion-cta {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
  line-height: 1.4;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .usage-scenarios {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .reason-card,
  .scenario-card {
    padding: 20px;
  }
  
  .intro-question {
    font-size: 20px;
  }
  
  .intro-highlight {
    font-size: 18px;
  }
}

/* ブランド名ハイライト */
.highlight-brand {
  font-weight: 1000;
  font-size: 1.2em;
  color: #000000;
}

/* サービス概要レイアウト */
.service-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.service-overview-left {
  padding-right: 24px;
}

.service-overview-left .section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-overview-right h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 20px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  line-height: 1.6;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list strong {
  color: var(--primary);
  font-weight: 600;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .service-overview-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .service-overview-left {
    padding-right: 0;
  }
}

/* ブランドリンク */
.brand-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-link:hover {
  text-decoration: none;
  color: inherit;
}

/* 注文システム用スタイル */
.order-process {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 40px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.process-step {
  text-align: left;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 32px;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.process-step.active::after {
  background: var(--primary);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-weight: 600;
  color: var(--text);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.process-step.active .step-number {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.process-step .step-content {
  flex: 1;
}

.process-step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.process-step.active h3 {
  color: var(--primary);
}

.order-cta {
  text-align: center;
  margin-top: 40px;
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
}

/* 注文ステップ */
.order-step {
  display: none;
}

.order-step.active {
  display: block;
}

/* ベースカード選択 */
.base-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.base-card {
  background: var(--surface);
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all .3s ease;
}

.base-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow-hover);
  border-color: var(--primary);
}

.base-card.selected {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
}

.card-image {
  font-size: 48px;
  margin-bottom: 16px;
}

.base-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
}

.base-card p {
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

.card-features {
  display: flex;
  justify-content: space-around;
  gap: 12px;
}

.card-features span {
  background: var(--surface-alt);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}

/* デザイン選択 */
.designs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.design-card {
  background: var(--surface);
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all .3s ease;
}

.design-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--shadow-hover);
}

.design-card.selected {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
}

.design-image {
  font-size: 36px;
  margin-bottom: 12px;
}

.design-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}

.design-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

/* サービス選択 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.service-option {
  background: var(--surface);
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all .3s ease;
}

.service-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--shadow-hover);
}

.service-option.selected {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
}

.service-option h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
}

.service-option p {
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

.service-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

/* 注文完了 */
.order-summary {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  border-top: 2px solid var(--primary);
  margin-top: 16px;
  padding-top: 20px;
}

.summary-item .label {
  color: var(--muted);
}

.summary-item .value {
  font-weight: 600;
  color: var(--text);
}

/* ステップアクション */
.step-actions {
  text-align: center;
  margin-top: 32px;
}

.step-actions .btn {
  margin: 0 8px;
}

/* デスクトップ版ではハンバーガーメニューを非表示 */
@media (min-width: 769px) {
  .nav {
    display: flex !important;
    gap: 8px;
  }
  
  .nav a {
    padding: 8px 16px;
    font-size: 16px;
  }
  
  .hamburger-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
  }
  
  .mobile-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
  }
}

/* ハンバーガーメニューボタン */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

/* デスクトップ版のナビゲーション */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all .2s ease;
  position: relative;
  font-size: 16px;
}

.nav a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
}

/* デスクトップ版のドロップダウンメニュー */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow);
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
  
  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* モバイルメニュー */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  
  .mobile-menu.active {
    right: 0;
  }
  
  .mobile-menu-content {
    padding: 20px;
  }
  
  .mobile-menu-section {
    margin-bottom: 30px;
  }
  
  .mobile-menu-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
  }
  
  .mobile-menu-item {
    display: block;
    padding: 12px 0;
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: color 0.2s ease;
  }
  
  .mobile-menu-item:hover {
    color: var(--primary);
  }
  
  .mobile-menu-item:last-child {
    border-bottom: none;
  }
  
  /* スマートフォン用のヒーローセクション */
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  
  .hero-left {
    order: 2;
  }
  
  .hero-right {
    order: 1;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-image {
    width: 100%;
    max-width: 280px;
    height: auto;
  }
  
  /* スマートフォン用のコンテンツレイアウト */
  .about-content {
    flex-direction: column;
    gap: 24px;
  }
  
  .business-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .business-card {
    padding: 20px;
  }
  
  .order-process {
    gap: 20px;
  }
  
  .base-cards-grid,
  .designs-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .btn-large {
    padding: 14px 24px;
    font-size: 16px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .product-card {
    padding: 20px;
  }
  
  .company-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .info-item {
    padding: 16px;
  }
  
  /* スマートフォン用のナビゲーション */
  .news-tabs {
    flex-direction: column;
    gap: 8px;
  }
  
  .tab-button {
    width: 100%;
    padding: 12px;
  }
  
  .news-item {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
  
  .news-date {
    font-size: 14px;
  }
  
  .news-title {
    font-size: 16px;
  }
  
  .contact-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .contact-actions .btn {
    width: 100%;
    text-align: center;
  }
  
  /* スマートフォン用のドロップダウン */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    margin-top: 8px;
  }
  
  .dropdown-menu a {
    padding: 8px 16px;
    border-radius: 0;
  }
  
  .dropdown:hover .dropdown-menu {
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }


/* 小さなスマートフォン用の表示 */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .business-card h3 {
    font-size: 18px;
  }
  
  .product-title {
    font-size: 18px;
  }
  
  .catalog-section-title {
    font-size: 20px;
  }
  
  .business-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .company-info-grid {
    grid-template-columns: 1fr;
  }
}

/* 商品カードの注文ボタン */
.product-card .btn-secondary {
  margin-top: 16px;
  width: 100%;
  text-align: center;
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
  transition: all .2s ease;
}

.product-card .btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

/* 商品ラインナップセクション */
.catalog-section {
  margin-bottom: 60px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.catalog-section:last-child {
  margin-bottom: 0;
}

.catalog-section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 32px;
  text-align: center;
  position: relative;
}

.catalog-section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* Coming Soon カード */
.coming-soon-grid {
  display: flex;
  justify-content: center;
  margin: 32px 0;
}

.coming-soon-card {
  background: var(--surface);
  border: 2px dashed rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  max-width: 500px;
  width: 100%;
}

.coming-soon-icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.coming-soon-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 16px;
}

.coming-soon-card p {
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.6;
}

.coming-soon-card p:last-child {
  margin-bottom: 0;
  font-size: 14px;
  opacity: 0.8;
}