/* =====================================================
   RelyEZ Energy Japan - Main Stylesheet
   夜景＋星空＋ブルー/パープル系の未来感デザイン
   ===================================================== */

/* CSS Variables */
:root {
  /* Colors */
  --color-bg-dark: #0a0e1a;
  --color-bg-medium: #111827;
  --color-bg-light: #1a2235;
  --color-bg-card: #1e2a3f;

  --color-primary: #3b82f6;
  --color-primary-light: #60a5fa;
  --color-primary-dark: #2563eb;

  --color-accent: #8b5cf6;
  --color-accent-light: #a78bfa;

  --color-text-white: #ffffff;
  --color-text-light: #e2e8f0;
  --color-text-muted: #ffffff;
  --color-text-dim: #ffffff;

  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-light: rgba(255, 255, 255, 0.2);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #1a1a3e 50%, #0d1f3c 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  --gradient-card: linear-gradient(180deg, rgba(30, 42, 63, 0.8) 0%, rgba(26, 34, 53, 0.9) 100%);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 0.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-light);
  background-color: var(--color-bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* =====================================================
   Header
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 14, 26, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}
.header-logo{
  display: flex;
}
.header-logo a{
  display: block;
}
.header-logo a span{
  display: block;
}
.header-logo a.logoimg{
  width: 40px;
  margin-right: 20px;
}
.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-white);
  letter-spacing: 0.05em;
}

.logo-sub {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link--cta {
  padding: 0.6rem 1.5rem;
  background: var(--gradient-accent);
  border-radius: 4px;
  color: var(--color-text-white);
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-white);
  transition: var(--transition-base);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  background: url(../images/kvbgl.png);
  background-size: cover;
  background-position: center;
}

/* Stars Animation */
.stars, .stars2, .stars3 {
  position: absolute;
  width: 100%;
  height: 100%;
  background-repeat: repeat;
}

.stars {
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.8), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 230px 80px, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.6), transparent);
  background-size: 350px 350px;
  animation: stars-move 100s linear infinite;
}

.stars2 {
  background-image:
    radial-gradient(1px 1px at 50px 100px, rgba(139,92,246,0.6), transparent),
    radial-gradient(2px 2px at 150px 50px, rgba(59,130,246,0.5), transparent),
    radial-gradient(1px 1px at 250px 180px, rgba(255,255,255,0.4), transparent);
  background-size: 400px 400px;
  animation: stars-move 150s linear infinite;
}

.stars3 {
  background-image:
    radial-gradient(1px 1px at 80px 200px, rgba(96,165,250,0.5), transparent),
    radial-gradient(2px 2px at 200px 100px, rgba(167,139,250,0.4), transparent);
  background-size: 500px 500px;
  animation: stars-move 200s linear infinite;
}

@keyframes stars-move {
  from { transform: translateY(0); }
  to { transform: translateY(-100%); }
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, transparent 60%, rgba(10, 14, 26, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-lg);
  /*background: rgb(255 255 255 / 50%);*/
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  color: rgba(10, 14, 26, 0.9);
  line-height: 1.4;
  margin-bottom: var(--space-lg);
}

.hero-title-line {
  display: block;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgb(255 255 255 / 90%);
  line-height: 1.9;
  margin-bottom: var(--space-xl);
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 4px;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--color-text-white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-white);
  border: 1px solid var(--color-border-light);
}

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

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: fadeIn 1s ease-out 0.5s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--color-text-dim) 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* =====================================================
   Trust Bar
   ===================================================== */
.trust-bar {
  background: var(--color-bg-medium);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: all var(--transition-base);
}

.trust-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-border-light);
  transform: translateY(-2px);
}

.trust-icon {
  font-size: 1.2rem;
  color: var(--color-primary-light);
}

.trust-icon {
  width: 50px;
}
.trust-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-light);
  line-height: 1.4;
}

/* =====================================================
   Distributor Section
   ===================================================== */
.distributor {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-dark);
  position: relative;
}

.distributor::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--color-border) 0%, transparent 100%);
}

.distributor-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.distributor-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: var(--space-md);
}

.distributor-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--color-text-white);
  line-height: 1.4;
  margin-bottom: var(--space-lg);
}

.distributor-text {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 2;
}

/* =====================================================
   Spotlight Section (Pack 52-2)
   ===================================================== */
.spotlight {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-medium) 100%);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.spotlight-image {
  position: relative;
}

.spotlight-image-placeholder {
  aspect-ratio: 4/3;
  background: #FFF/*var(--gradient-card)*/;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.placeholder-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-text-dim);
  text-align: center;
  line-height: 1.6;
}

.spotlight-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 0.4rem 1rem;
  background: var(--gradient-accent);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text-white);
  border-radius: 4px;
}

.spotlight-content {
  padding: var(--space-lg) 0;
}

.spotlight-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-md);
}

.spotlight-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-text-white);
  line-height: 1.5;
  margin-bottom: var(--space-lg);
}

.spotlight-text {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 2;
  margin-bottom: var(--space-xl);
}

/* =====================================================
   News Section
   ===================================================== */
.news-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-medium);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-white);
}

.section-link {
  font-size: 0.9rem;
  color: var(--color-primary-light);
  transition: color var(--transition-fast);
}

.section-link:hover {
  color: var(--color-text-white);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

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

.news-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  transition: background var(--transition-fast);
}

.news-link:hover {
  background: rgba(255, 255, 255, 0.03);
}

.news-date {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--color-text-dim);
  min-width: 100px;
}

.news-category {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 500;
  background: rgba(59, 130, 246, 0.2);
  color: var(--color-primary-light);
  border-radius: 4px;
  min-width: 60px;
  text-align: center;
}

.news-title {
  flex: 1;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
  background: var(--color-bg-dark);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-logo {
  margin-bottom: var(--space-md);
}

.footer-company {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.footer-address {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 2;
}

.footer-nav-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-white);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.footer-nav-list a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: var(--color-text-white);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.copyright {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

/* =====================================================
   Page Header (for sub pages)
   ===================================================== */
.page-header {
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-2xl);
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-header.itembg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url(../images/pack52-2.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-header.projectbg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url(../images/DSC00242.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-header.newsbg::before{
  content: '';
  position: absolute;
  inset: 0;
  background: url(../images/news.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-header.companybg::before{
  content: '';
  position: absolute;
  inset: 0;
  background: url(../images/ofice.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-header.worldbg::before{
  content: '';
  position: absolute;
  inset: 0;
  background: url(../images/worldmap.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-header.bilbg::before{
  content: '';
  position: absolute;
  inset: 0;
  background: url(../images/bilbg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-header.toibg::before{
  content: '';
  position: absolute;
  inset: 0;
  background: url(../images/toibg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header.p-pack52::before{
  content: '';
  position: absolute;
  inset: 0;
  background: url(../images/p-pack52.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-header.p-grid::before{
  content: '';
  position: absolute;
  inset: 0;
  background: url(../images/p-grid.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-header.p-vision::before{
  content: '';
  position: absolute;
  inset: 0;
  background: url(../images/p-vision.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-header-content {
  position: relative;
  z-index: 1;
  width: 30%;
  padding: var(--space-lg);
  /*background: rgba(255, 255, 255, 0.6);*/
}

.page-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: rgba(10, 14, 26, 0.9);
  margin-bottom: var(--space-sm);
}

.page-subtitle {
  font-size: 1rem;
  color: rgba(10, 14, 26, 0.9);
}

/* =====================================================
   Breadcrumb
   ===================================================== */
.breadcrumb {
  padding: var(--space-md) 0;
  background: var(--color-bg-medium);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
}

.breadcrumb-item {
  color: var(--color-text-dim);
}

.breadcrumb-item a {
  color: var(--color-text-muted);
}

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

.breadcrumb-separator {
  color: var(--color-text-dim);
}

/* =====================================================
   Product Cards
   ===================================================== */
.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.product-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.product-card:hover {
  border-color: var(--color-border-light);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-card-image {
  aspect-ratio: 16/10;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dim);
  font-size: 0.85rem;
}

.product-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: var(--space-xs);
}

.product-card-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.product-card-catch {
  font-size: 0.9rem;
  color: var(--color-primary-light);
  margin-bottom: var(--space-md);
}

.product-card-features {
  margin-bottom: var(--space-lg);
}

.product-card-features li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: var(--space-xs);
}

.product-card-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary-light);
}

.product-card .btn {
  width: 100%;
}

/* =====================================================
   Flow Section
   ===================================================== */
.flow-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-medium);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
}

.flow-item {
  text-align: center;
  position: relative;
}

.flow-item::after {
  content: '→';
  position: absolute;
  right: -1rem;
  top: 1.5rem;
  color: var(--color-text-dim);
  font-size: 1.2rem;
}

.flow-item:last-child::after {
  display: none;
}

.flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-white);
  margin-bottom: var(--space-sm);
}

.flow-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-white);
}

/* =====================================================
   Partner Section
   ===================================================== */
.partner-section {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-dark);
}

.partner-box {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.partner-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: var(--space-sm);
}

.partner-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* =====================================================
   Content Sections
   ===================================================== */
.content-section {
  padding: var(--space-2xl) 0;
}

.content-section:nth-child(even) {
  background: var(--color-bg-medium);
}

.content-section:nth-child(odd) {
  background: var(--color-bg-dark);
}

.content-header {
  margin-bottom: var(--space-xl);
}

.content-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
  border-left: 3px solid var(--color-primary);
}

.content-text {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 2;
}

.content-text p {
  margin-bottom: var(--space-md);
}

.content-text p:last-child {
  margin-bottom: 0;
}

/* Feature List */
.feature-list {
  display: grid;
  gap: var(--space-lg);
}

.feature-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: var(--space-lg);
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-white);
  margin-bottom: var(--space-sm);
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* Use Cases */
.use-cases {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.use-case-tag {
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--color-primary-light);
}

/*テーブル*/
.specs-wrap{
  width: 100%;
  padding: 28px 36px;
}

/* 画像のように左右2ブロック */
.specs-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px; /* 中央の余白 */
  align-items:start;
}

.spec-card{
  width:100%;
}

.spec-title{
  font-size: 34px;
  font-weight: 800;
  letter-spacing: .02em;
  margin: 0 0 14px 0;
}

.spec-rule{
  height:0;
  border:0;
  margin: 0 0 18px 0;
}

table.spec-table{
  width:100%;
  border-collapse: collapse;
  table-layout: fixed;
}

table.spec-table tr{
  border-bottom: 1px solid;
}

table.spec-table td{
  padding: 18px 6px;
  vertical-align: middle;
  line-height: 1.2;
  /*white-space: nowrap;*/
  overflow: hidden;
  /*text-overflow: ellipsis;*/
}

table.spec-table td.label{
  width: 40%;
  font-weight: 700;
  padding: 20px 10px;
  background: #002e79;
  /* margin: 5px; */
  border: solid 2px var(--color-bg-medium);
}

table.spec-table td.value{
  width: 60%;
  font-weight: 700;
  padding: 20px 10px;
  background: #00173c;
  /* margin: 5px; */
  border: solid 2px var(--color-bg-medium);
}

@media (max-width: 980px){
  .specs-wrap{ padding: 20px 16px; }
  .specs-grid{ grid-template-columns: 1fr; gap: 28px; }
  .spec-title{ font-size: 28px; }
  table.spec-table td{ font-size: 18px; padding: 14px 4px; }
}
/* Bankability Section */
.bankability-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-medium) 100%);
}

.bankability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.bankability-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-xl);
}

.bankability-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary-light);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.bankability-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

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

.info-table tr {
  border-bottom: 1px solid var(--color-border);
}

.info-table th,
.info-table td {
  padding: var(--space-md);
  text-align: left;
  font-size: 0.9rem;
}

.info-table th {
  width: 150px;
  color: var(--color-text-muted);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
}

.info-table td {
  color: var(--color-text-light);
}

/* =====================================================
   Form Styles
   ===================================================== */
.form-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-medium);
}

.form-grid {
  display: grid;
  gap: var(--space-lg);
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
}

.form-label .required {
  color: #f87171;
  margin-left: 0.3em;
}

.form-input,
.form-textarea,
.form-select {
  padding: var(--space-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-light);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

.form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

.form-checkbox span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  line-height: 1.8;
}

.form-submit {
  text-align: center;
  margin-top: var(--space-lg);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.form-consent input {
  margin-top: 4px;
}

.form-consent label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.form-consent a {
  color: var(--color-primary-light);
  text-decoration: underline;
}

/* =====================================================
   Project Cards
   ===================================================== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.project-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius:0 0 12px 12px;
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.project-card:hover {
  border-color: var(--color-border-light);
  transform: translateY(-2px);
}

.project-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-white);
  margin-bottom: var(--space-md);
}
.project-wrap img{
  border-radius: 12px 12px 0 0;
}
.project-card-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xs) var(--space-md);
  font-size: 0.85rem;
}

.project-card-meta dt {
  color: var(--color-text-dim);
}

.project-card-meta dd {
  color: var(--color-text-muted);
}

/* =====================================================
   News Detail
   ===================================================== */
.news-detail {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-dark);
}

.news-detail-header {
  margin-bottom: var(--space-xl);
  padding-right: var(--space-sm);
  padding-left: var(--space-sm);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.news-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-white);
  line-height: 1.5;
}

.news-detail-body {
  padding-right: var(--space-sm);
  padding-left: var(--space-sm);
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 2;
}

.news-detail-body p {
  margin-bottom: var(--space-md);
}

/* =====================================================
   Policy Pages
   ===================================================== */
.policy-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-dark);
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-white);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
  border-left: 3px solid var(--color-primary);
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 2;
  margin-bottom: var(--space-md);
}

.policy-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.policy-content li {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 2;
  position: relative;
  padding-left: var(--space-md);
}

.policy-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary-light);
}

.policy-date {
  margin-top: var(--space-xl);
  font-size: 0.9rem;
  color: var(--color-text-dim);
}

/* =====================================================
   Responsive
   ===================================================== */
@media (min-width: 1025px) {
  .pcnone{
    display: none;
  }
}
@media (max-width: 1024px) {
  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .product-cards {
    grid-template-columns: 1fr;
  }

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

  .flow-item::after {
    display: none;
  }

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

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

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  .spnone{
    display: none;
  }
  .header-logo a.logoimg{
    width: 30px;
  }
  .logo-main {
    font-size: 1rem;
  }
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.98);
    padding: var(--space-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: var(--space-md);
  }

  .nav-link {
    display: block;
    padding: var(--space-sm);
    font-size: 1rem;
  }

  .trust-items {
    flex-direction: column;
  }

  .trust-item {
    width: 100%;
    justify-content: center;
  }

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

  .partner-box {
    flex-direction: column;
    text-align: center;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .news-link {
    flex-wrap: wrap;
  }

  .news-title {
    width: 100%;
    margin-top: var(--space-sm);
  }

  .page-header-content {
    width: 100%;
    padding: var(--space-sm);
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    padding-bottom: var(--space-xs);
  }

  .info-table td {
    padding-top: 0;
    padding-bottom: var(--space-md);
  }

}
/************************
 *20260308_追記
 * ********************/
.hero-title {
    color: rgb(255 255 255 / 90%);
}
.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%; 
	margin-bottom:20px;
}

.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.page-title {
    color: rgb(255 255 255 / 90%);
    background: #2222229e;
    width: max-content;
    padding: 0px 10px;
}
.page-subtitle {
    color: rgb(255 255 255 / 90%);
    display: block;
    background: #2222229e;
    width: max-content;
    padding: 0px 10px;
}
@media (min-width: 1025px) {
.hero-title-line_pc {
     display: block;
    background: #2222229e;
    width: max-content;
    margin: 6px auto;
}
	.hero-title-line {
    display: block;
    background: #2222229e;
    width: max-content;
    margin: 6px auto;
}
}
@media (max-width: 1024px) {
.hero-title-line_sp {
     display: block;
    background: #2222229e;
    width: max-content;
    margin: 6px auto;	
}
		.hero-title-line {
    display: block;
    background: #2222229e;
    margin: 6px auto;
}
}
@media (max-width: 768px) {
    .trust-items {
        flex-direction: row;
        gap: 10px;
        justify-content: flex-start;
        align-items: flex-start;
    }
	    .trust-item {
        width: 48%;
        justify-content: center;
        min-height: 110px;
    }
	.nav-link--cta{
		    width: 280px;
    text-align: center;
	}
	.nav-list .hero-cta .btn{
		 width: 280px;
	}
}