/* =======================================
   ワイズエピック - モダンデザイン CSS
   ======================================= */

/* ===== CSS Variables ===== */
:root {
  --primary: #1a3a5c;
  --primary-light: #2563a8;
  --accent: #00b4d8;
  --accent-dark: #0096c7;
  --dark: #0d1b2a;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 6px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.06);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
  --font-sans: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--gray-700);
  background-color: var(--gray-50);
  background-image: url('back.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

/* ===== Skip link ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 0;
}

/* ===== Layout ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  background: var(--dark);
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 100%);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1100px;
  margin: 0 auto;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.logo-sub {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.12em;
  font-weight: 500;
  text-transform: uppercase;
}

/* Main Nav */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}

.main-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 14px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  border-radius: var(--radius);
  transition: all var(--transition);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.main-nav a .nav-ja {
  font-size: 12px;
  font-weight: 500;
}

.main-nav a .nav-en {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.main-nav a.active {
  background: var(--accent);
  color: var(--white);
}

.main-nav a.active .nav-en {
  opacity: 0.9;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Hero (Top page) ===== */
.hero {
  background: linear-gradient(135deg, rgba(13,27,42,0.82) 0%, rgba(26,58,92,0.78) 50%, rgba(13,45,74,0.82) 100%);
  color: white;
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,180,216,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(26,58,92,0.6) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,180,216,0.15);
  border: 1px solid rgba(0,180,216,0.35);
  color: var(--accent);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Page Title ===== */
.page-title {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  color: white;
  padding: 56px 24px 48px;
  text-align: center;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.page-title .page-en {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,180,216,0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,180,216,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-1px);
}

/* ===== Main Layout ===== */
.site-main {
  min-height: 60vh;
}

/* ===== Section ===== */
.section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.78);
}

.section-sm {
  padding: 48px 0;
  background: rgba(255, 255, 255, 0.78);
}

.section-alt {
  background: rgba(255, 255, 255, 0.85);
}

.section-dark {
  background: rgba(26, 58, 92, 0.82);
  color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.35;
}

.section-dark .section-title {
  color: white;
}

.section-desc {
  font-size: 15px;
  color: var(--gray-500);
  margin-top: 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Cards ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}

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

.card-body {
  padding: 24px;
}

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--gray-100);
}

.card-img-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--gray-50);
}

.card-img-centered img {
  max-height: 120px;
  object-fit: contain;
}

.card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,180,216,0.1);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-text {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 14px;
}

.card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-link::after {
  content: '→';
}

.card-link:hover {
  color: var(--accent);
}

/* ===== Grid ===== */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== News List ===== */
.news-list {
  list-style: none;
}

.news-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
}

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

.news-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  min-width: 100px;
}

.news-text {
  font-size: 14px;
  color: var(--gray-700);
}

/* ===== Feature Cards ===== */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
}

.feature-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.feature-text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ===== Solution Section ===== */
.solution-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  margin-bottom: 40px;
}

.solution-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.solution-header h2 {
  font-size: 20px;
  font-weight: 700;
}

.solution-body {
  padding: 32px;
}

.solution-body p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.solution-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 24px 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}

.solution-body h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin: 16px 0 8px;
}

.solution-images {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.solution-images img {
  border-radius: var(--radius);
  max-height: 200px;
  object-fit: contain;
  background: var(--gray-50);
  padding: 8px;
}

.solution-img-wrap {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 16px 0;
  flex-wrap: wrap;
}

.solution-img-wrap img {
  border-radius: var(--radius);
  object-fit: contain;
  background: var(--gray-50);
  padding: 8px;
  flex-shrink: 0;
}

/* Use case list */
.use-case-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.use-case-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-700);
  padding: 6px 10px;
  background: var(--gray-50);
  border-radius: 6px;
}

.use-case-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}

/* ===== Table ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 2px solid var(--gray-200);
  width: 160px;
}

.data-table td {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
  line-height: 1.7;
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: none;
}

/* ===== Form ===== */
.form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  max-width: 700px;
  margin: 0 auto;
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-label .required {
  color: #ef4444;
  margin-left: 4px;
  font-size: 12px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.12);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.7;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 8px;
}

.form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,58,92,0.35);
}

.form-note {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 24px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

/* ===== Info Box ===== */
.info-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.info-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

/* ===== Sidebar ===== */
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-bottom: 20px;
}

.sidebar-card h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200);
}

.sidebar-nav {
  list-style: none;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
  margin-bottom: 4px;
}

.sidebar-nav a::before {
  content: '›';
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
}

.sidebar-nav a:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.shop-info {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.8;
}

.shop-name {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 14px;
  margin-bottom: 8px;
}

/* ===== Footer ===== */
.site-footer {
  background: rgba(13, 27, 42, 0.88);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}


.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  margin-top: 12px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-address {
  font-size: 13px;
  line-height: 1.9;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ===== Divider ===== */
.divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 32px 0;
}

/* ===== Tag / Badge ===== */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}

.tag-blue { background: rgba(37,99,168,0.1); color: var(--primary-light); }
.tag-cyan { background: rgba(0,180,216,0.1); color: var(--accent-dark); }

/* ===== Concept page ===== */
.concept-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 24px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.concept-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

.concept-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.concept-content p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.85;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-500);
}

.breadcrumb-inner a {
  color: var(--gray-500);
  text-decoration: none;
}

.breadcrumb-inner a:hover {
  color: var(--primary-light);
}

.breadcrumb-inner span {
  color: var(--gray-400);
}

/* ===== Anchor offset for sticky header ===== */
[id] {
  scroll-margin-top: 90px;
}

/* ===== Privacy ===== */
.prose h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 32px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}

.prose p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 14px;
}

/* ===== Back to top ===== */
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  margin-top: 32px;
  padding: 8px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  transition: all var(--transition);
}

.back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== Utility / Inline style replacement ===== */
.container-narrow-900 { max-width: 900px; }
.container-narrow-860 { max-width: 860px; }
.container-narrow-800 { max-width: 800px; }
.container-narrow-760 { max-width: 760px; }

.text-center { text-align: center; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mb-40 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 12px; }

.footer-privacy-link { color: rgba(255,255,255,0.5); }
.footer-logo { margin-bottom: 12px; }

.hero-note {
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  margin-top: 16px;
}

.new-item-img { max-height: 160px; }

.cta-center { text-align: center; }
.cta-label { color: rgba(0,180,216,0.8); }
.cta-title {
  color: white;
  margin-bottom: 16px;
}
.cta-text {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 32px;
}

.section-lead {
  font-size: 16px;
  color: #374151;
  line-height: 1.8;
}

.hidden-honeypot { display: none; }

.form-required-note {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 16px;
}

.agree-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}

.agree-checkbox {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #1a3a5c;
}

.agree-link { color: #00b4d8; }

.prose-list {
  list-style: disc;
  padding-left: 20px;
  font-size: 14px;
  color: #4b5563;
  line-height: 2;
}

.card-body-lg { padding: 40px; }

.poe-note {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--gray-600);
}

.solution-figure { text-align: center; }
.solution-img-md {
  max-height: 200px;
  max-width: 280px;
}
.solution-caption {
  font-size: 12px;
  color: #6b7280;
  margin-top: 6px;
}
.solution-img-wide {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 16px;
}
.solution-img-thumb {
  max-width: 220px;
  max-height: 165px;
  margin-bottom: 12px;
}
.solution-img-small {
  max-width: 180px;
  max-height: 180px;
}
.solution-p-top { margin-top: 12px; }
.solution-img-vpn {
  max-width: 100%;
  border-radius: 8px;
  margin: 12px 0;
}

.company-hero {
  background: linear-gradient(135deg, #1a3a5c 0%, #0d1b2a 100%);
  border-radius: 16px;
  padding: 48px 40px;
  color: white;
  margin-bottom: 40px;
  text-align: center;
}
.company-hero-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #00b4d8;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.company-hero-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}
.company-hero-text {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.9;
}
.company-card-body {
  padding: 32px 40px;
}
.company-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 24px;
}
.company-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e5e7eb;
}
.company-message {
  background: #f8fafc;
  border-left: 4px solid #00b4d8;
  border-radius: 0 12px 12px 0;
  padding: 36px 40px;
  margin-bottom: 40px;
}
.company-message-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #00b4d8;
  font-weight: 600;
  margin-bottom: 16px;
}
.company-message-text {
  font-size: 14px;
  color: #374151;
  line-height: 2;
}
.company-message-text + .company-message-text {
  margin-top: 20px;
}
.company-message-sign {
  font-size: 13px;
  color: #6b7280;
  margin-top: 20px;
  text-align: right;
}
.company-contact-note {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.8;
  margin-top: 16px;
}

/* ===== Hero内 実績カード ===== */
.hero-stats {
  margin: 36px auto 36px;
  max-width: 700px;
}

/* 「多数」「豊富」などテキスト型数値カード用フォントサイズ */
.stat-num-sm {
  font-size: 28px;
}

/* PCでのみ表示する改行 */
.br-pc { display: inline; }

@media (max-width: 600px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats .stat-card:last-child {
    grid-column: 1 / -1;
  }
  .br-pc { display: none; }
}

/* ===== Stat cards ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 2px;
  }

  .main-nav a {
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .main-nav a .nav-en {
    font-size: 11px;
  }

  .nav-toggle {
    display: flex;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .concept-block {
    flex-direction: column;
    gap: 8px;
    padding: 24px;
  }

  .concept-num {
    font-size: 32px;
  }

  .solution-body {
    padding: 20px;
  }

  .form-wrapper {
    padding: 24px 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 72px 20px 60px;
  }

  .solution-images img {
    max-height: 150px;
  }
}

/* ===== 商品紹介ページ (itemlist.html) ===== */
.product-section {
  margin-bottom: 56px;
}
.product-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--accent);
}
.product-img {
  background: var(--gray-50);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.product-img img {
  max-height: 100px;
  max-width: 100%;
  object-fit: contain;
}
.product-body {
  padding: 16px;
}
.product-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.product-desc {
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 10px;
}
.product-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.product-link:hover {
  color: var(--accent);
}
.cat-nav {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 20px 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}
.cat-nav h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.cat-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.cat-nav-list a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--gray-100);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: all var(--transition);
}
.cat-nav-list a:hover {
  background: var(--accent);
  color: white;
}
.note-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--gray-600);
  margin-top: 40px;
  line-height: 1.7;
}
@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 400px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
