@font-face {
  font-family: "NotoJP";
  src: url("./assets/NotoSansJP-Regular.ttf") format("truetype");
  font-display: swap;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "NotoJP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ===== Layout ===== */
.container { width: min(1100px, 100% - 40px); margin: 0 auto; }
.container-narrow { max-width: 760px; }
.section { padding: 96px 0; }
.section-gray { background: #f8f9fb; }
.section-dark {
  background: linear-gradient(160deg, #0f1b3d 0%, #1e3a6e 100%);
  color: #fff;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #eee;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
  width: min(1100px, 100% - 40px);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.05rem;
  white-space: nowrap;
}
.logo img { border-radius: 10px; }
.gnav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
}
.gnav a:hover { color: #2563eb; }
.header-actions { margin-left: 16px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: 200ms ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 64px 0 0;
  z-index: 90;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  font-size: 1.1rem;
  font-weight: 700;
}
.mobile-menu.open { display: flex; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.10); }

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; }
.btn-accent { background: #f59e0b; color: #fff; }
.btn-accent:hover { background: #d97706; }
.btn-ghost { background: transparent; color: #1a1a2e; border: 1.5px solid #d1d5db; }
.btn-ghost:hover { border-color: #2563eb; color: #2563eb; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: #fff; }
.btn-white { background: #fff; color: #1a1a2e; }
.btn-white:hover { background: #f1f5f9; }
.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ghost-light:hover { border-color: #fff; }

/* ===== Hero ===== */
.hero {
  padding: 80px 0 64px;
  background: linear-gradient(180deg, #f0f5ff 0%, #fff 100%);
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: #dbeafe;
  color: #1e40af;
}
.hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.03em;
}
.hero h1 .h1-line {
  display: block;
}
.hero h1 em {
  font-style: normal;
  color: #2563eb;
}
.hero-sub {
  margin-top: 20px;
  font-size: 1rem;
  color: #64748b;
  max-width: 520px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: #94a3b8;
}
.hero-img {
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(0,0,0,0.04);
}

/* ===== Numbers ===== */
.numbers {
  padding: 40px 0;
  background: #fff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.num-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
}
.num-item + .num-item { border-left: 1px solid #e5e7eb; }
.num-value {
  font-size: 2rem;
  font-weight: 900;
  color: #2563eb;
  letter-spacing: -0.03em;
}
.num-value small { font-size: 0.9rem; }
.num-label { font-size: 0.82rem; color: #64748b; font-weight: 600; margin-top: 4px; }

/* ===== Section Header ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: #dbeafe;
  color: #1e40af;
  margin-bottom: 16px;
}
.section-tag-light { background: rgba(255,255,255,0.15); color: #93c5fd; }
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.03em;
}
.section-header-light h2 { color: #fff; }
.section-sub { margin-top: 12px; color: #64748b; font-size: 1rem; }

/* ===== Problems ===== */
.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem-card {
  padding: 32px 28px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: box-shadow 200ms ease;
}
.problem-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.problem-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.82rem;
  font-weight: 900;
}
.problem-card h3 { margin-top: 16px; font-size: 1.08rem; font-weight: 800; }
.problem-card p { margin-top: 10px; font-size: 0.9rem; color: #64748b; }
.problem-arrow {
  display: flex;
  justify-content: center;
  margin: 16px 0;
  color: #2563eb;
}
.problem-solution {
  font-size: 0.88rem;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 10px;
  padding: 12px 16px;
}

/* ===== Features ===== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-block-reverse { direction: rtl; }
.feature-block-reverse > * { direction: ltr; }
.feature-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.feature-text h3 {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.feature-text p { margin-top: 16px; color: #64748b; font-size: 0.98rem; }
.feature-img img {
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
}

.features-more {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-mini {
  padding: 28px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
}
.feature-mini h4 { font-size: 1rem; font-weight: 800; }
.feature-mini p { margin-top: 8px; font-size: 0.88rem; color: #64748b; }

/* ===== Flow ===== */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.flow-step {
  text-align: center;
  position: relative;
  padding: 32px 20px;
  border-radius: 16px;
  background: #f8f9fb;
  border: 1px solid #e5e7eb;
}
.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
}
.flow-step h3 { margin-top: 16px; font-size: 1rem; font-weight: 800; }
.flow-step p { margin-top: 10px; font-size: 0.88rem; color: #64748b; }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.price-card-featured {
  background: rgba(255,255,255,0.12);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.2), 0 24px 48px rgba(0,0,0,0.2);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 24px;
  border-radius: 999px;
  background: #f59e0b;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}
.price-head h3 { font-size: 1.2rem; font-weight: 900; }
.price-desc { margin-top: 6px; font-size: 0.86rem; color: rgba(255,255,255,0.6); }
.price-amount { margin-top: 16px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.price-yen { font-size: 2.6rem; font-weight: 900; letter-spacing: -0.04em; }
.price-per { font-size: 0.92rem; color: rgba(255,255,255,0.7); }
.price-per small { display: block; margin-top: 4px; font-size: 0.78rem; color: rgba(255,255,255,0.5); }

.price-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 10px;
  flex: 1;
}
.price-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.price-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.price-list li.yes::before {
  background-color: rgba(74, 222, 128, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-5' stroke='%234ade80' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.price-list li.no::before {
  background-color: rgba(255,255,255,0.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5h6' stroke='rgba(255,255,255,0.3)' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.price-list li.no { color: rgba(255,255,255,0.35); }
.price-list li.bold { color: #fff; font-weight: 700; }
.price-card .btn { margin-top: auto; }
.price-note { margin-top: 12px; font-size: 0.78rem; color: rgba(255,255,255,0.4); text-align: center; }

/* ===== FAQ ===== */
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  padding: 20px 24px;
  border-radius: 12px;
  background: #f8f9fb;
  border: 1px solid #e5e7eb;
}
.faq-list details[open] { background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: #94a3b8;
  transition: transform 200ms ease;
}
details[open] summary::after { content: "-"; }
.faq-list p { margin-top: 12px; color: #64748b; font-size: 0.92rem; }

/* ===== CTA Section ===== */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #fff;
}
.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.cta-section p { margin-top: 16px; color: rgba(255,255,255,0.8); max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid #e5e7eb;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img { border-radius: 8px; }
.footer-brand strong { font-size: 0.95rem; }
.footer-brand p { font-size: 0.78rem; color: #94a3b8; margin-top: 2px; }
.footer-links {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: #94a3b8;
}
.footer-links a:hover { color: #2563eb; }

/* ===== Blog ===== */
.blog-hero {
  padding: 80px 0 40px;
  background: linear-gradient(180deg, #f0f5ff 0%, #fff 100%);
  text-align: center;
}
.blog-hero h1 {
  margin-top: 16px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.blog-hero p {
  margin-top: 16px;
  color: #64748b;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}
.post-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.post-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.post-card a {
  display: block;
  padding: 28px 32px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: #94a3b8;
}
.post-category {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 800;
}
.post-card h2 {
  margin-top: 12px;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -0.02em;
}
.post-card p {
  margin-top: 10px;
  color: #64748b;
  font-size: 0.92rem;
}
.post-read {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #2563eb;
}

/* Article page */
.article {
  padding: 48px 0 80px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 24px;
}
.breadcrumb a:hover { color: #2563eb; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 16px;
}
.article h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.article-lead {
  margin-top: 24px;
  font-size: 1.04rem;
  color: #475569;
  line-height: 1.9;
  padding: 20px 24px;
  background: #f8f9fb;
  border-left: 4px solid #2563eb;
  border-radius: 4px;
}
.article h2 {
  margin-top: 48px;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -0.02em;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
}
.article p {
  margin-top: 16px;
  color: #334155;
  line-height: 1.95;
}
.article a {
  color: #2563eb;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.article a:hover { text-decoration-thickness: 2px; }
.article strong { font-weight: 800; }

/* ===== Responsive: Tablet ===== */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
  .problems-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .feature-block,
  .feature-block-reverse { grid-template-columns: 1fr; gap: 32px; }
  .feature-block-reverse { direction: ltr; }
  .features-more { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .num-item:nth-child(3) { border-left: 0; border-top: 1px solid #e5e7eb; }
  .num-item:nth-child(4) { border-top: 1px solid #e5e7eb; }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 640px) {
  .gnav, .header-actions { display: none; }
  .hamburger { display: flex; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 40px; }
  .hero h1 br { display: none; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .flow-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-direction: column; gap: 10px; }
  .section-header h2 br { display: none; }
}
