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

:root {
  --bg: #ffffff;
  --bg-light: #f5f5f5;
  --dark: #0a0a0a;
  --white: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #ea580c;
  --grad-start: #fbbf24;
  --grad-end: #ea580c;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif; line-height: 1.3; }

.section { padding: 120px 0; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1.5px solid currentColor;
  padding-top: 10px;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 48px;
  color: var(--text);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--grad-end);
  border: 2px solid var(--grad-end);
}
.btn-outline:hover {
  background: var(--grad-end);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full { width: 100%; text-align: center; }

.btn-coming-soon {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
  border: 1.5px dashed #cbd5e1;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
}

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

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

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

.nav { display: flex; gap: 36px; }
.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  position: relative;
  transition: color 0.25s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

.nav a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 200px 0 140px;
  background:
    linear-gradient(rgba(0,0,0,0.52), rgba(0,0,0,0.52)),
    url('hero.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 400;
  line-height: 1.0;
  margin-bottom: 28px;
  color: var(--white);
  letter-spacing: 0.05em;
}

.typing-cursor {
  display: inline-block;
  color: var(--orange);
  animation: blink 0.8s step-end infinite;
  font-weight: 300;
  margin-left: 2px;
}

.typing-cursor.done {
  animation: blink-fade 0.8s step-end 3 forwards;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes blink-fade {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-desc {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 48px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-desc.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

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

.hero-bg-shape { display: none; }

/* ===== ABOUT ===== */
.about {
  background: var(--white);
}

.about-single {
  max-width: 800px;
}

.about-ja {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text);
  padding: 20px 0;
  line-height: 1.5;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.about-ja.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-ja:last-child {
  border-bottom: none;
}

.about-ja:first-child {
  padding-top: 0;
}

/* ===== BUSINESS ===== */
.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.business-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.business-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.business-card.featured {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(234, 88, 12, 0.05));
  border: 1px solid rgba(234, 88, 12, 0.15);
}

.business-icon { font-size: 36px; margin-bottom: 16px; }

.business-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.business-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.badge {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: var(--white);
}

.badge-future {
  background: var(--bg);
  color: var(--text-muted);
}

/* ===== PRODUCT ===== */
.product { background: var(--bg-light); }

.product-info {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.product-visual {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.2s;
}

.product-info.visible,
.product-visual.visible {
  opacity: 1;
  transform: translateX(0);
}

.product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.product-logo-wrap { margin-bottom: 20px; }

.product-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-desc {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.product-features li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 10px 12px 10px 36px;
  position: relative;
  border-radius: 8px;
  cursor: default;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.product-features li::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  transition: transform 0.25s ease;
}

.product-features li:hover {
  background: #fff7ed;
  color: var(--accent);
  transform: translateX(6px);
}

.product-features li:hover::before {
  transform: translateY(-50%) scale(1.4);
}

/* Mockup */
.product-mockup {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(234, 88, 12, 0.1);
}

.mockup-bar {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}
.mockup-bar-title {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: none !important;
  font-size: 12px;
  font-weight: 700;
  color: white;
  margin-left: auto;
  letter-spacing: 0.05em;
}

.mockup-content { padding: 24px; }

.mockup-panel {
  display: none;
}

.mockup-panel.active {
  display: block;
}

.product-mockup {
  transition: opacity 0.25s ease;
}

.product-mockup.fade-out {
  opacity: 0;
}

.product-mockup.fade-in {
  opacity: 1;
}

.mockup-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mockup-screen-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.mockup-badge-new {
  font-size: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
}

.mockup-date {
  font-size: 11px;
  color: var(--text-muted);
}

.mockup-table-row {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.8fr;
  align-items: center;
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 6px;
  margin-bottom: 4px;
  background: var(--bg-light);
  color: var(--text-muted);
}

.mockup-table-row.head {
  background: none;
  font-weight: 700;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  padding-bottom: 4px;
}

.badge-status {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
}
.badge-status.green  { background: #dcfce7; color: #16a34a; }
.badge-status.orange { background: #fff7ed; color: var(--accent); }
.badge-status.gray   { background: #f1f5f9; color: #64748b; }
.badge-status.blue   { background: #dbeafe; color: #1d4ed8; }
.badge-status.purple { background: #ede9fe; color: #7c3aed; }
.badge-status.yellow { background: #fef9c3; color: #a16207; }

.color-tag {
  display: inline-block;
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
}
.color-tag.red    { background: #fee2e2; color: #dc2626; }
.color-tag.yellow { background: #fef9c3; color: #a16207; }
.color-tag.pink   { background: #fce7f3; color: #db2777; }
.color-tag.white-tag { background: #f1f5f9; color: #64748b; }

.time { font-weight: 700; color: var(--text); }

.mockup-summary-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 4px;
}

.summary-card {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 10px 12px;
}

.summary-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.summary-value {
  font-size: 15px;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.summary-value.green  { color: #16a34a; }
.summary-value.orange { color: var(--accent); }
.summary-value.blue   { color: #1d4ed8; }

.japan-map-wrap {
  display: flex;
  justify-content: center;
  padding: 4px 0;
}

.japan-map-container {
  position: relative;
  width: 160px;
}

.japan-map-img {
  width: 100%;
  height: auto;
  display: block;
}

.map-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  animation: cityPulse 2.4s ease-in-out infinite;
}

.map-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(234,88,12,0.25);
  animation: cityPulse 2.4s ease-in-out infinite;
}

.city-group {
  animation: cityPulse 2.4s ease-in-out infinite;
}

@keyframes cityPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.5; }
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot.green { background: #22c55e; }
.dot.orange { background: var(--grad-end); }
.dot.gray { background: #94a3b8; }

/* ===== CONTACT ===== */
.contact-form {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-form.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact .section-title,
.contact-desc {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact .section-title.visible,
.contact-desc.visible {
  opacity: 1;
  transform: translateY(0);
}
.contact-desc {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 16px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
  max-width: 640px;
}

.hidden { display: none; }

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.required { color: var(--grad-end); }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--grad-end);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
  background: var(--white);
}

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

/* ===== LOGO SECTION ===== */
.logo-section {
  background: var(--white);
  padding: 80px 0;
}

.logo-section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.logo-section-inner a {
  display: block;
  cursor: pointer;
}

.logo-section-img {
  height: 160px;
  width: auto;
}

.logo-section-img.sway {
  animation: sway 1.2s ease-in-out forwards;
}

@keyframes sway {
  0%   { transform: rotate(0deg); }
  15%  { transform: rotate(8deg); }
  30%  { transform: rotate(-8deg); }
  45%  { transform: rotate(6deg); }
  60%  { transform: rotate(-6deg); }
  75%  { transform: rotate(3deg); }
  88%  { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}

.instagram-icon {
  width: 24px;
  height: 24px;
  opacity: 0.6;
  transition: transform 0.4s ease, opacity 0.4s ease;
  cursor: pointer;
}

.instagram-icon:hover {
  transform: scale(1.4);
  opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  height: 80px !important;
}

.footer-company {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.footer-copy {
  font-size: 13px;
  color: #64748b;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    border-bottom: 1px solid rgba(234, 88, 12, 0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav.open { display: flex; }
  .nav a { font-size: 16px; }

  .hamburger { display: flex; }

  .hero { padding: 120px 0 80px; }

  .hero-desc .pc-br { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  .business-grid { grid-template-columns: 1fr; }
  .business-card.featured { grid-column: span 1; }

  .product-inner { grid-template-columns: 1fr; gap: 40px; }

  .contact-form { padding: 32px 24px; }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .btn { text-align: center; }
}
