/**
 * ゼッケン一番 LP スタイル
 * Material Icons 用クラス
 */

/* ナビゲーションアイコン（ヘッダー） */
header nav.main-nav .nav-item .zekken-nav-icon {
  font-size: 18px !important;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.zekken-nav-icon {
  font-size: 18px !important;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
}

/* サイドバーリンク・見出しアイコン */
.zekken-sidebar-icon {
  font-size: 18px !important;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

/* モバイルメニューリンク・見出しアイコン */
.mobile-menu-link .zekken-menu-icon {
  font-size: 20px !important;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.zekken-menu-icon {
  font-size: 20px !important;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

/* セクション見出しアイコン */
section h2 .zekken-section-icon {
  font-size: 28px !important;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.zekken-section-icon {
  font-size: 28px !important;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  vertical-align: middle;
}

/* ボタン内アイコン（送信・このゼッケンを選ぶ） */
.zekken-btn-icon {
  font-size: 20px !important;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

header {
  display: flex;
  flex-direction: column;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 5px;
}

/* PC版: ナビはバナーの下 */
header .header-banner {
  order: 0;
  width: 100%;
  overflow: hidden;
}

header .main-nav {
  order: 1;
}

.header-banner {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
}

.header-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

header h1 {
  margin: 0;
  text-align: center;
  padding: 16px;
}

/* ハンバーガーボタン（モバイルのみ表示）3本線→×アニメーション＋menu・一番右に配置 */
.nav-menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 6px;
  min-height: 44px;
  margin-left: auto;
  padding: 8px 14px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #333;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-menu-btn:hover {
  background-color: #ff6b35;
  color: #fff;
  border-color: #ff6b35;
}

/* 3本線アイコン（::before＝上線、.nav-menu-btn-icon-line＝中央、::after＝下線） */
.nav-menu-btn-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 6px;
}

.nav-menu-btn-icon::before,
.nav-menu-btn-icon::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-menu-btn-icon-line {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0;
  background-color: currentColor;
  border-radius: 1px;
  transition: opacity 0.3s;
}

/* 開いた時：中央線を消し、上下線で×に */
.nav-menu-btn.is-opened .nav-menu-btn-icon-line {
  opacity: 0;
}

.nav-menu-btn.is-opened .nav-menu-btn-icon::before {
  transform: translateY(8px) rotate(45deg);
}

.nav-menu-btn.is-opened .nav-menu-btn-icon::after {
  transform: translateY(-8px) rotate(-45deg);
}

header nav.main-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
  padding: 16px;
  background-color: #fff;
  border-top: 1px solid #e0e0e0; /* PC: バナーの下なので上ボーダー */
  flex-wrap: nowrap;
}

header nav.main-nav .nav-item {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

header nav.main-nav .nav-item:hover {
  background-color: #ff6b35;
  color: #fff;
  border-color: #ff6b35;
  text-decoration: none;
}

header nav.main-nav .nav-item.cart-link {
  background-color: #0066cc;
  color: #fff;
  border-color: #0066cc;
}

header nav.main-nav .nav-item.cart-link:hover {
  background-color: #0052a3;
  border-color: #0052a3;
}

/* タブレット・スマホ対応 */
@media (max-width: 1024px) {
  .main-container {
    flex-direction: column;
  }

  .sidebar {
    flex: 1;
    position: static;
    max-height: none;
    width: 100%;
  }

  .sidebar-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
  }
}

/* モバイル: サイドバー非表示、ハンバーガーメニュー表示、ナビはバナーの上（1024px以下） */
@media (max-width: 1024px) {
  header .main-nav {
    order: 0;
  }

  header .header-banner {
    order: 1;
  }

  .sidebar {
    display: none !important;
  }

  .nav-menu-btn {
    display: inline-flex;
  }

  .nav-item-default {
    display: none !important;
  }

  header nav.main-nav {
    gap: 8px;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    border-top: none;
    border-bottom: 1px solid #e0e0e0; /* ナビが上なので下ボーダー */
    flex-wrap: wrap;
  }

  header nav.main-nav .nav-item {
    padding: 8px 14px;
    font-size: 14px;
    flex-shrink: 0;
  }

  .main-container {
    padding: 10px 16px 16px 16px;
    gap: 16px;
  }
}

/* モバイルメニュー（ハンバーガーから開くパネル） */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.mobile-menu.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.is-open .mobile-menu-backdrop {
  opacity: 1;
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 90vw;
  height: 100%;
  background-color: white;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 24px;
}

.mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  line-height: 1;
  border-radius: 4px;
}

.mobile-menu-close:hover {
  background-color: #f0f0f0;
  color: #333;
}

.mobile-menu-title {
  font-size: 18px;
  font-weight: bold;
  color: #ff6b35;
  margin: 0 0 24px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #ff6b35;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background-color: #f5f5f5;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.2s ease;
}

.mobile-menu-link:hover {
  background-color: #ff6b35;
  color: white;
  text-decoration: none;
}

.mobile-menu-category {
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}

.mobile-menu-category h4 {
  font-size: 14px;
  color: #333;
  margin: 0 0 12px 0;
}

.mobile-menu-category-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background-color: white;
}

/* メインコンテナ（flexレイアウト） */
.main-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 24px 24px 24px;
  gap: 24px;
  align-items: flex-start;
}

/* サイドバー（1カラム） */
.sidebar {
  flex: 0 0 250px;
  min-width: 0; /* 子要素の折り返しを有効に */
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 24px;
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-title {
  font-size: 20px;
  font-weight: bold;
  color: #ff6b35;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 2px solid #ff6b35;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background-color: #f5f5f5;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 14px;
  word-wrap: break-word;
  min-width: 0;
}

.sidebar-link:hover {
  background-color: #ff6b35;
  color: white;
  text-decoration: none;
}

.sidebar-info,
.sidebar-contact {
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}

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

.sidebar-news li {
  padding: 8px 0;
  color: #666;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-news li:last-child {
  border-bottom: none;
}

.sidebar-contact p {
  margin: 8px 0;
  color: #666;
  font-size: 14px;
}

.sidebar-category {
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}

.sidebar-category h4,
.sidebar-info h4,
.sidebar-contact h4 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 16px;
  color: #333;
  margin-bottom: 12px;
  min-width: 0;
}

.sidebar-category-select {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
  color: #333;
  cursor: pointer;
  transition: border-color 0.3s;
  font-family: inherit;
}

.sidebar-category-select:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

.sidebar-category-select optgroup {
  font-weight: bold;
  font-size: 14px;
  color: #000;
  text-decoration: underline;
  text-decoration-color: #0066cc;
}

.sidebar-category-select option {
  padding: 8px;
  font-size: 13px;
  color: #000;
}

/* メインコンテンツ（2カラム分） */
.main-content {
  flex: 1;
  min-width: 0; /* flexboxのオーバーフロー対策 */
}

#hero {
  text-align: center;
  margin-bottom: var(--space-4);
  padding: var(--space-2) 0;
}

.hero-title {
  font-size: var(--text-h1);
  margin: 0 0 var(--space-3) 0;
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-heading);
  color: var(--color-text);
}

/* LPヒーロー直下：注文導線の一文（common.css のタイポと整合） */
.hero-lead {
  max-width: 40rem;
  margin: 0 auto var(--space-4);
  padding: 0 var(--space-4);
  font-size: var(--text-small);
  line-height: var(--leading-body);
  color: var(--color-text-muted);
  text-align: center;
}

.hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-primary-cta {
  margin-top: 8px;
}

#hero h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

/* セクション共通スタイル */
section {
  margin-bottom: var(--space-8);
  padding: var(--space-8) 0;
}

section h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-align: center;
  margin-bottom: 32px;
  color: #333;
  border-bottom: 3px solid #ff6b35;
  padding-bottom: 16px;
}

#process,
#features,
#inquiry,
#product-selection,
#information,
#fullorder,
#sample {
  background-color: #fff;
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius);
  box-shadow:   0 1px 0 rgba(0,0,0,0.06),
  0 4px 6px -4px rgba(0,0,0,0.12);
}

.process-content,
.inquiry-content,
.information-content {
  background-color: white;
  border-radius: 8px;
  padding: 32px;
  border: 1px solid #eee;
}

/* 制作工程：6ステップカードグリッド */
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  grid-template-rows: auto auto auto;
  gap: 16px 8px;
  align-items: stretch;
}

.process-step-card {
  position: relative;
  padding: 20px 16px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  text-align: center;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.process-step-card .process-step-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff6b35;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 24px;
}

.process-step-card .process-step-icon {
  font-size: 32px;
  color: #ff6b35;
  margin-top: 8px;
  margin-bottom: 4px;
}

.process-step-card .process-step-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px;
}

.process-step-card .process-step-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.process-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step-arrow::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #ccc;
}

.process-step-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  border-top: 1px dashed #ddd;
  border-bottom: 1px dashed #ddd;
  margin: 8px 0;
}

.process-step-divider-label {
  font-size: 13px;
  color: #666;
  font-weight: 600;
}

/* グリッド配置（デスクトップ: 3列×2行） */
.process-step-card-1 { grid-column: 1; grid-row: 1; }
.process-steps .process-step-arrow:nth-of-type(1) { grid-column: 2; grid-row: 1; }
.process-step-card-2 { grid-column: 3; grid-row: 1; }
.process-steps .process-step-arrow:nth-of-type(2) { grid-column: 4; grid-row: 1; }
.process-step-card-3 { grid-column: 5; grid-row: 1; }
.process-step-divider { grid-column: 1 / -1; grid-row: 2; }
.process-step-card-4 { grid-column: 1; grid-row: 3; }
.process-steps .process-step-arrow:nth-of-type(3) { grid-column: 2; grid-row: 3; }
.process-step-card-5 { grid-column: 3; grid-row: 3; }
.process-steps .process-step-arrow:nth-of-type(4) { grid-column: 4; grid-row: 3; }
.process-step-card-6 { grid-column: 5; grid-row: 3; }

.inquiry-description {
  margin-bottom: 24px;
  color: #666;
  line-height: 1.8;
  font-size: 14px;
}

.inquiry-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.inquiry-form-group {
  margin-bottom: 24px;
}

.inquiry-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.inquiry-form-group label .required {
  color: #d32f2f;
  margin-left: 4px;
}

.inquiry-form-group input[type="text"],
.inquiry-form-group input[type="email"],
.inquiry-form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.inquiry-form-group input:focus,
.inquiry-form-group textarea:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

.inquiry-form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.inquiry-message-counter {
  text-align: right;
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.inquiry-form-group .error-message {
  color: #d32f2f;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.inquiry-form-group.has-error .error-message {
  display: block;
}

.inquiry-form-group.has-error input,
.inquiry-form-group.has-error textarea {
  border-color: #d32f2f;
}

.inquiry-form-group input[type="file"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.inquiry-attachment-info {
  margin-top: 8px;
}

.inquiry-attachment-hint {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.inquiry-image-preview {
  margin-top: 16px;
}

.inquiry-image-preview-item {
  position: relative;
  display: inline-block;
  max-width: 300px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px;
  background-color: #f9f9f9;
}

.inquiry-image-preview-item img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.inquiry-remove-image-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #d32f2f;
  color: white;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

.inquiry-remove-image-btn:hover {
  background-color: #b71c1c;
}

.inquiry-form-actions {
  margin-top: 32px;
  text-align: center;
}

.inquiry-btn {
  padding: 14px 48px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.inquiry-btn-primary {
  background-color: #ff6b35;
  color: white;
}

.inquiry-btn-primary:hover {
  background-color: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.inquiry-btn-primary:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.inquiry-success-message {
  margin-top: 24px;
  padding: 16px;
  background-color: #e8f5e9;
  border: 1px solid #4caf50;
  border-radius: 4px;
  color: #2e7d32;
}

.inquiry-success-message p {
  margin: 8px 0;
  font-size: 14px;
}

.inquiry-error-message {
  margin-top: 24px;
  padding: 16px;
  background-color: #ffebee;
  border: 1px solid #f44336;
  border-radius: 4px;
  color: #c62828;
}

.inquiry-error-message p {
  margin: 8px 0;
  font-size: 14px;
}

.inquiry-content,
.information-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #666;
}

/* お知らせ（Information）一覧 */
.information-loading,
.information-empty,
.information-error {
  color: #666;
  margin: 0;
  padding: 16px 0;
}

.information-error {
  color: #c62828;
}

.information-item {
  text-align: left;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.information-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.information-item-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0 0 8px 0;
}

.information-item-date {
  font-size: 13px;
  color: #888;
  margin: 0 0 12px 0;
}

.information-item-body {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  white-space: pre-wrap;
  word-break: break-word;
}

.features-content {
  max-width: 900px;
  margin: 0 auto;
  color: #333;
}

.feature-block {
  margin-bottom: 48px;
  padding: 32px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #ff6b35;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block h3 {
  font-size: 18px;
  font-weight: bold;
  color: #ff6b35;
  margin-bottom: 12px;
  line-height: 1.4;
}

.feature-block p {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.feature-intro {
  background: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%);
  border-left-color: #ff6b35;
}

.feature-strength {
  border-left-color: #0066cc;
}

.feature-strength h3 {
  color: #0066cc;
}

.feature-price {
  border-left-color: #4caf50;
}

.feature-price h3 {
  color: #4caf50;
}

.feature-order {
  border-left-color: #ff9800;
}

.feature-order h3 {
  color: #ff9800;
}

.feature-cta {
  background: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%);
  border-left-color: #ff6b35;
}

.feature-cta h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-cta p {
  font-size: 13px;
  line-height: 1.7;
}

/* モバイル対応（1024px以下） */
@media (max-width: 1024px) {
  section h2 {
    font-size: 20px;
  }
  .zekken-section-icon {
    font-size: 22px !important;
    width: 22px;
    height: 22px;
    margin-right: 8px;
  }

  .feature-block {
    padding: 24px 20px;
    margin-bottom: 32px;
  }
  
  .feature-block h3 {
    font-size: 16px;
  }

  .feature-block p {
    font-size: 12px;
    line-height: 1.65;
  }

  .feature-cta h3 {
    font-size: 16px;
  }

  .feature-cta p {
    font-size: 12px;
    line-height: 1.65;
  }
}

/* 狭い画面（480px以下）: セクション見出しをさらに縮小して改行を防ぐ */
@media (max-width: 480px) {
  section h2 {
    font-size: 18px;
  }
}

#product-selection h2 {
  margin-bottom: 16px;
}

/* ゼッケン種類セクション：選び方の説明 */
.product-selection-lead {
  max-width: 40rem;
  margin: 0 auto 16px;
  padding: 8px 16px 12px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #444;
  text-align: center;
  /* 日本語で文節の途中に自動改行されにくくする（2行目は幅が狭い端末で折り返し可） */
  line-break: strict;
  word-break: normal;
}

/* ゼッケン種類直下：注文の流れを短く提示（LPの認知負荷を下げる） */
.order-method-simple {
  max-width: 40rem;
  margin: 0 auto 24px;
  padding: 12px 16px 12px 14px;
  border-left: 4px solid #ff6b35;
  background: #fafafa;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #444;
  box-sizing: border-box;
}
.order-method-simple-title {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.02em;
}
.order-method-simple-list {
  margin: 0;
  padding-left: 1.25rem;
}
.order-method-simple-list li {
  margin-bottom: 6px;
}
.order-method-simple-list li:last-child {
  margin-bottom: 0;
}

/* サイドバー・モバイルメニュー：種類セレクトの補足 */
.sidebar-category-hint {
  font-size: 12px;
  line-height: 1.5;
  color: #555;
  margin: 4px 0 8px;
}

.mobile-menu-category-hint {
  margin-top: 0;
}

/* 制作工程：オンライン注文の前提を一文で */
.process-section-lead {
  max-width: 36rem;
  margin: -16px auto 20px;
  padding: 0 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  text-align: center;
}

#products-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.category-group {
  margin-bottom: 0;
}

/* 大枠（グループ）見出し + 料金表ボタンは1行 */
.category-group-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ff6b35;
}

.category-group-header .category-group-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 0;
  padding: 0;
  border-bottom: none;
  flex: 1;
  min-width: 0;
}

.category-group-header .btn-price-table {
  flex-shrink: 0;
}

.category-group-header--flat {
  justify-content: flex-end;
}

.category-group-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ff6b35;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.product-card {
  background-color: white;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

/* クリック可能なカード */
.product-card[data-clickable="true"] {
  cursor: pointer;
}

.product-card[data-clickable="true"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 2px solid #ff6b35;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.category-header h4 {
  margin: 0;
  font-size: 20px;
  color: #333;
  flex: 1;
}

.category-type {
  font-size: 12px;
  padding: 4px 8px;
  background-color: #f0f0f0;
  border-radius: 4px;
  color: #666;
  white-space: nowrap;
}

.category-description {
  color: #666;
  margin-bottom: 10px;
  line-height: 1.5;
  flex: 1;
  font-size: 14px;
}

.category-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.feature-badge {
  font-size: 12px;
  padding: 4px 10px;
  background-color: #e3f2fd;
  color: #1976d2;
  border-radius: 12px;
  white-space: nowrap;
}

.category-info {
  margin-bottom: 14px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.target-user {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.product-card .price {
  font-size: 20px;
  font-weight: bold;
  color: #ff6b35;
  margin: 0;
}

.btn-primary {
  padding: 12px 24px;
  background-color: #ff6b35;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: var(--text-body);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  font-family: inherit;
}

.btn-price-table.btn-secondary {
  background: #fff5f0;
  color: #c62828;
  border: 2px solid #ff6b35;
  margin: 0;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.btn-price-table.btn-secondary:hover {
  background: #ff6b35;
  color: #fff;
  border-color: #e55a2b;
}

.btn-primary:hover {
  background-color: #e55a2b;
  text-decoration: none;
}

.loading {
  text-align: center;
  color: #666;
}

.error {
  color: #d32f2f;
  text-align: center;
}

footer {
  text-align: center;
  padding: 24px;
  color: #666;
  margin-top: 48px;
}

/* グレーフッター（Endo Vision / EV SERVICE） */
.zekken-footer {
  background-color: #4a4a4a;
  color: #e0e0e0;
  margin-top: 48px;
  padding: 40px 24px 24px;
}

.zekken-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.zekken-footer-section {
  font-size: 14px;
  line-height: 1.6;
}

.zekken-footer-title {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin: 0 0 4px 0;
}

.zekken-footer-subtitle {
  font-size: 13px;
  color: #b0b0b0;
  margin: 0 0 8px 0;
}

.zekken-footer-rep {
  font-size: 12px;
  color: #a0a0a0;
  margin: 0;
}

.zekken-footer-heading {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  margin: 0 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #666;
}

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

.zekken-footer-list li {
  margin-bottom: 8px;
}

.zekken-footer-list a {
  color: #c0c0c0;
  text-decoration: none;
}

.zekken-footer-list a:hover {
  color: #fff;
  text-decoration: underline;
}

.zekken-footer-address,
.zekken-footer-tel,
.zekken-footer-hours,
.zekken-footer-email {
  font-size: 13px;
  margin: 0 0 8px 0;
  color: #b0b0b0;
}

.zekken-footer-tel a,
.zekken-footer-email a {
  color: #c0c0c0;
  text-decoration: none;
}

.zekken-footer-tel a:hover,
.zekken-footer-email a:hover {
  color: #fff;
  text-decoration: underline;
}

.zekken-footer-copyright {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #555;
  font-size: 12px;
  color: #909090;
}

.zekken-footer-copyright p {
  margin: 0;
}

@media (max-width: 1024px) {
  .zekken-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .zekken-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .zekken-footer {
    padding: 32px 16px 20px;
  }
}

.price-table-loading,
.price-table-empty,
.price-table-error {
  color: #666;
  margin: 0;
}

.base-price-table-wrapper {
  overflow-x: auto;
}

.base-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.base-price-table th,
.base-price-table td {
  border: 1px solid #e0e0e0;
  padding: 10px 12px;
  text-align: left;
}

.base-price-table th {
  background-color: #f5f5f5;
  font-weight: 600;
  color: #333;
}

.base-price-table td:not(:first-child):not(:nth-child(2)) {
  color: #333;
  font-weight: 500;
}

/* 料金表: PCは縦＝生地・横＝枚数、スマホは縦＝枚数・横＝生地（responsive.cssで切替） */
.base-price-table-pc-wrap {
  display: block;
}

.base-price-table-mobile-wrap {
  display: none;
}

/* 料金表モーダル */
.price-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
  box-sizing: border-box;
}

.price-modal-overlay[hidden] {
  display: none;
}

.price-modal-content {
  background: #fff;
  border-radius: 8px;
  max-width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.price-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.price-modal-title {
  margin: 0;
  font-size: 1.25rem;
  border: none;
  padding: 0;
}

.price-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  padding: 0 4px;
}

.price-modal-close:hover {
  color: #333;
}

.price-modal-body {
  padding: 16px 20px;
  overflow: auto;
  flex: 1;
  min-height: 0;
}

.price-modal-tier-select-wrap {
  margin-bottom: 12px;
}

.price-modal-tier-select-wrap label {
  margin-right: 8px;
  font-size: 14px;
}

.price-modal-tier-select {
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#price-table-modal-body.base-price-table-wrapper {
  margin-top: 0;
}

.price-modal-size-label {
  margin: 0 0 8px 0;
  font-weight: 600;
  font-size: 14px;
}

.base-price-table-kyudo-notice {
  margin-bottom: 12px;
  font-size: 13px;
  color: #555;
}

/* フルオーダーゼッケンへのリンクカード（ゼッケン種類セクション内） */
.fullorder-link-wrap {
  margin-top: 20px;
}

.fullorder-link-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  background: linear-gradient(135deg, #e3f2fd 0%, #f5f5f5 100%);
  border: 1px solid #90caf9;
  border-radius: 8px;
  text-decoration: none;
  color: #1565c0;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}

.fullorder-link-card:hover {
  background: linear-gradient(135deg, #bbdefb 0%, #eeeeee 100%);
  border-color: #42a5f5;
  color: #0d47a1;
}

.fullorder-link-card .material-icons {
  font-size: 32px;
  margin-bottom: 8px;
}

.fullorder-link-card small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: normal;
  color: #666;
}

/* フルオーダーゼッケンセクション（説明文＋ボタン） */
.fullorder-section-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.fullorder-section-description {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

.fullorder-section-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background-color: #ff6b35;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}

.fullorder-section-btn:hover {
  background-color: #e55a2b;
  color: #fff;
}

.fullorder-section-btn .zekken-btn-icon {
  font-size: 20px;
  width: 20px;
  height: 20px;
}
