/*
Nyusatsu Radar | Impact Theme for Japanese SMEs
*/

/* 1. Variables & Reset (Impact Theme)
----------------------------------- */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, 'Meiryo', 'Hiragino Kaku Gothic ProN', 'MS PGothic', sans-serif;
  
  --color-text: #333333;
  --color-text-muted: #555555;
  --color-bg: #ffffff;
  --color-bg-alt: #fffbe6; /* Light Yellow Highlight */
  --color-border: #adadad;

  --color-primary: #005bac; /* Strong Blue */
  --color-primary-dark: #004a8c;
  --color-secondary: #ffc400; /* Accent Yellow */
  --color-accent-green: #2e7d32; /* Strong Green */
  --color-accent-red: #6b7280; /* Muted gray for pain icons */
  --color-teal: #0F766E; /* Teal for checks */
  --gradient-primary: linear-gradient(180deg, #0066cc, #004a8c);

  --shadow-sm: 0 2px 2px rgba(0,0,0,0.15);
  --shadow-md: 0 4px 5px rgba(0,0,0,0.2);
  --shadow-lg: 0 8px 10px rgba(0,0,0,0.2);
  --radius: 3px; /* Boxier corners */
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-weight: 500;
}

/* 2. Global Styles (Impact Theme)
----------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}
.section.alt {
  background-color: #f4f8ff; /* Light blue bg */
}

h1, .h1 { font-size: 2.6rem; line-height: 1.4; font-weight: 900; margin-bottom: 1rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.1); }
h2, .h2 { font-size: 2.2rem; line-height: 1.4; font-weight: 900; margin-bottom: 2.5rem; text-align: center; color: var(--color-primary-dark); }
p { margin-bottom: 1rem; }

a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 700;
}
a:hover {
  color: var(--color-primary-dark);
  text-decoration: none;
}

/* 3. Buttons (Impact Theme)
----------------------------------- */
.btn {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: 2px solid var(--color-primary-dark);
  padding: 0.8rem 1.6rem;
  font-size: 1.1rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

.btn-primary {
  color: #fff;
  background: var(--gradient-primary);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 1.2rem 2.5rem;
  font-size: 1.3rem;
  font-weight: 900;
}

/* 4. Header (Impact Theme)
----------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 10px 0;
  background-color: #ffffff;
  border-bottom: 3px solid var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

/* Flexbox Helpers */
.flex { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.brand-word { font-weight: 700; font-size: 1.1rem; color: var(--color-text); }
.brand-vertical { font-weight: 500; color: var(--color-text-muted); }

/* 5. Hero Section (Impact Theme)
----------------------------------- */
.hero { padding: 60px 0; border-bottom: 5px solid #e0e0e0; }
.hero-grid { display: grid; grid-template-columns: 1fr; align-items: center; gap: 4rem; }
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero .h1 { font-size: 2.8rem; color: var(--color-primary-dark); font-weight: 900; }
.hero .sub { font-size: 1.1rem; color: var(--color-text); margin: 1.5rem 0 2rem; border-left: 5px solid var(--color-primary); padding-left: 1rem; }
.hero-visual-placeholder { background-color: #eef2f7; border: 2px solid #dde; display: flex; align-items: center; justify-content: center; min-height: 350px; color: #99a; font-size: 1.5rem; font-weight: 700; text-align: center; box-shadow: inset 0 0 15px rgba(0,0,0,0.1); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2rem; }
.chip { background-color: var(--color-secondary); border: 2px solid #FBC02D; padding: 8px 18px; border-radius: 30px; font-size: 1rem; font-weight: 700; color: var(--color-text); box-shadow: var(--shadow-sm); }

/* 6. Pain/Solution Section (Impact Theme)
----------------------------------- */
.pain-solution { padding: 60px 0; }
.pain-solution-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
/* Center arrow and make it more prominent */
.ps-arrow-center {
  justify-self: center;
  align-self: center; /* center vertically between columns on desktop */
  display: grid;
  place-items: center;
  transform: rotate(90deg);
  color: var(--color-primary-dark);
  margin: 0.5rem 0;
  padding: 10px;
  background: var(--color-secondary);
  border: 3px solid #FBC02D;
  border-radius: 9999px;
  box-shadow: var(--shadow-lg);
}
.ps-arrow-center svg { width: 48px; height: 48px; stroke-width: 2; }

@media (min-width: 992px) {
  .pain-solution-grid { grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: start; }
  .ps-arrow-center { transform: rotate(0deg); opacity: 1; }
  .ps-arrow-center svg { width: 64px; height: 64px; stroke-width: 2.5; }
}

.pain-points { opacity: 1; color: #222; padding: 1rem 0; }
.solution-points {
  /* keep structure as-is; add decorative card behind using ::before */
  padding: 1rem 1.25rem; /* add inner whitespace for readability */
  border-radius: var(--radius);
  position: relative;
  z-index: 0;
}
/* Yellow card behind the right column without changing layout */
.solution-points::before {
  content: "";
  position: absolute;
  inset: -8px; /* subtle bleed around content */
  background: var(--color-bg-alt);
  border: 3px solid var(--color-secondary);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-lg);
  z-index: -1;
  pointer-events: none;
}
@media (min-width: 992px) {
  .solution-points::before { inset: -12px; }
}
.column-title { font-size: 1.3rem; font-weight: 900; padding-bottom: 0.8rem; margin-bottom: 1.5rem; border-bottom: 3px solid var(--color-border); }
.column-title.good { color: var(--color-primary-dark); border-bottom-color: var(--color-primary); border-bottom-width: 4px; }
/* Stronger divider and text tone for the pains side */
.pain-points .column-title { color: #222; border-bottom-width: 4px; }
.ps-list { list-style: none; display: grid; grid-auto-rows: auto; row-gap: 2rem; }
.ps-list li { display: flex; align-items: flex-start; gap: 1rem; min-height: 0; }
.ps-list .icon { flex-shrink: 0; width: 24px; height: 24px; margin-top: 5px; }
.pain-points .icon { color: var(--color-text); width: 28px; height: 28px; }
.icon-wrapper--check { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; margin-top: 0; background-color: var(--color-teal, #0F766E); border-radius: 50%; box-shadow: 0 0 0 3px rgba(20,184,166,0.15), 0 8px 20px rgba(15,118,110,0.35); }
.icon-wrapper--check .icon { background-color: #fff; width: 100%; height: 100%; -webkit-mask-size: 58%; mask-size: 58%; }
.ps-list h4 { font-size: 1.2rem; font-weight: 900; margin-bottom: 0.5rem; }
.solution-points .ps-list h4 { color: var(--color-primary-dark); }
.ps-list p { margin: 0; line-height: 1.7; font-size: 1rem; }
.pain-points .ps-list p { color: #222; }
.column-cta { text-align: center; margin-top: 2.5rem; }
/* More breathing room inside the solutions list */
.solution-points .ps-list { row-gap: 2.25rem; }
.solution-points .ps-list li { gap: 1.25rem; }
.solution-points .column-cta { margin-top: 3rem; }
/* Mirror spacing on left to keep rows visually aligned without complex logic */
.pain-points .ps-list { row-gap: 2.25rem; }
.pain-points .ps-list li { gap: 1.25rem; }
.pain-points .column-cta { margin-top: 3rem; }

/* Form tweaks */
/* Hide honeypot name field from users but keep in DOM for bots */
.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-card .actions { text-align: center; }

/* 7. Benefits Section (Impact Theme)
----------------------------------- */
.benefits { background-color: #f4f8ff; }
.section-subtitle { text-align: center; font-size: 1.1rem; color: var(--color-text-muted); max-width: 700px; margin: -1.5rem auto 3.5rem; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.benefit-card { background: var(--color-bg); border-radius: var(--radius); padding: 2rem; text-align: center; border: 3px solid var(--color-primary); box-shadow: var(--shadow-md); }
.benefit-icon-wrapper { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--color-secondary); margin-bottom: 1.5rem; border: 3px solid #FBC02D; }
.benefit-icon-wrapper .icon { color: var(--color-text); width: 40px; height: 40px; }
.benefit-title { font-size: 1.4rem; font-weight: 900; margin-bottom: 0.75rem; color: var(--color-primary-dark); }
.benefit-text { font-size: 1rem; line-height: 1.7; }

/* 8. Samples Section (Impact Theme) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { background: var(--color-bg); border-radius: var(--radius); box-shadow: var(--shadow-md); border: 2px solid var(--color-border); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-body { padding: 1.5rem; }
.card-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.card-meta { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.card-badge { display: inline-block; padding: 3px 10px; border-radius: 5px; font-size: 0.8rem; font-weight: 700; margin-right: 5px; margin-bottom: 5px; }
.card-badge.ok { background-color: #e8f5e9; color: #2e7d32; }
.card-badge.ng { background-color: #ffebee; color: #c62828; }

/* 8.1 Card Header Icon */
.card .card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  background-color: #f9f9f9;
}
.card .card-header .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-primary);
}
.card .card-header span {
  font-weight: 700;
  color: var(--color-text-muted);
}
.card .card-body {
  padding: 1.5rem;
}

/* 9. Form Section (Impact Theme) */
.form-card { background: #f4f8ff; padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 3px solid var(--color-primary); }
.field label { display: block; font-weight: 700; margin-bottom: 0.5rem; }
.field input, .field select, .field textarea { width: 100%; padding: 0.75rem; border: 2px solid var(--color-border); border-radius: var(--radius); font-size: 1rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(0, 91, 172, 0.2); }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }

/* 10. FAQ Section (Impact Theme) */
.faq details { background: #ffffff; border-radius: var(--radius); margin-bottom: 1rem; border: 2px solid var(--color-border); }
.faq summary { padding: 1.5rem; font-weight: 900; cursor: pointer; }

/* 11. Footer (Impact Theme) */
.site-footer { background-color: #e9ecef; color: var(--color-text-muted); padding: 40px 0; border-top: 5px solid var(--color-primary-dark); }

/* 12. Mobile & Sticky CTA */
.sticky-cta { display: none; }
@media (max-width: 768px) {
  .h1, .h1 { font-size: 2rem; }
  .h2, .h2 { font-size: 1.75rem; }
  .section { padding: 50px 0; }
  .site-header .nav { display: none; }
  .sticky-cta { display: block; position: fixed; bottom: 0; left: 0; right: 0; padding: 1rem; background: #ffffff; border-top: 2px solid var(--color-border); z-index: 100; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); }
  .sticky-cta .btn { width: 100%; }
  body { padding-bottom: 80px; }
}

/* Icon definitions */
.icon { display: inline-block; width: 1.5em; height: 1.5em; background-color: currentColor; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain;}
[data-icon="time"] { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");}
[data-icon="filter"] { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'%3E%3C/polygon%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'%3E%3C/polygon%3E%3C/svg%3E");}
[data-icon="file"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='-1 -1 26 26' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22h14a2 2 0 0 0 2-2V7.5L14.5 2H6a2 2 0 0 0-2 2v4V22'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='m16 14-2 2-1-1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='-1 -1 26 26' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22h14a2 2 0 0 0 2-2V7.5L14.5 2H6a2 2 0 0 0-2 2v4V22'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='m16 14-2 2-1-1'/%3E%3C/svg%3E");
}
[data-icon="check"] { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");}
[data-icon="clock-fast"] { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.9 12.5c0-4.4-3.6-8-8-8s-8 3.6-8 8 3.6 8 8 8c.9 0 1.8-.2 2.6-.5'%3E%3C/path%3E%3Cpath d='m17 13-1.5-1.5'%3E%3C/path%3E%3Cpath d='M13 8V2.5'%3E%3C/path%3E%3Cpath d='m10 17.5.5-2'%3E%3C/path%3E%3Cpath d='M3.5 10.5h-2'%3E%3C/path%3E%3Cpath d='M22 18.5c.8 0 1.5-.7 1.5-1.5s-.7-1.5-1.5-1.5-1.5.7-1.5 1.5.7 1.5 1.5 1.5Z'%3E%3C/path%3E%3Cpath d='M18 22l3-3-3-3'%3E%3C/path%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.9 12.5c0-4.4-3.6-8-8-8s-8 3.6-8 8 3.6 8 8 8c.9 0 1.8-.2 2.6-.5'%3E%3C/path%3E%3Cpath d='m17 13-1.5-1.5'%3E%3C/path%3E%3Cpath d='M13 8V2.5'%3E%3C/path%3E%3Cpath d='m10 17.5.5-2'%3E%3C/path%3E%3Cpath d='M3.5 10.5h-2'%3E%3C/path%3E%3Cpath d='M22 18.5c.8 0 1.5-.7 1.5-1.5s-.7-1.5-1.5-1.5-1.5.7-1.5 1.5.7 1.5 1.5 1.5Z'%3E%3C/path%3E%3Cpath d='M18 22l3-3-3-3'%3E%3C/path%3E%3C/svg%3E");}
[data-icon="target-sharp"] { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 3.5.9 6.2m19.6 0L17.8 3.5M20.5 20.5l2.6-2.7M3.5 20.5l-2.6-2.7'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='4'%3E%3C/circle%3E%3Cpath d='M12 2v2'%3E%3C/path%3E%3Cpath d='M12 20v2'%3E%3C/path%3E%3Cpath d='m22 12-2 0'%3E%3C/path%3E%3Cpath d='m4 12-2 0'%3E%3C/path%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 3.5.9 6.2m19.6 0L17.8 3.5M20.5 20.5l2.6-2.7M3.5 20.5l-2.6-2.7'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='4'%3E%3C/circle%3E%3Cpath d='M12 2v2'%3E%3C/path%3E%3Cpath d='M12 20v2'%3E%3C/path%3E%3Cpath d='m22 12-2 0'%3E%3C/path%3E%3Cpath d='m4 12-2 0'%3E%3C/path%3E%3C/svg%3E");}
[data-icon="bell-ring"] { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'%3E%3C/path%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'%3E%3C/path%3E%3Cpath d='M4 2C2.8 3.7 2 5.7 2 8'%3E%3C/path%3E%3Cpath d='M20 8c0-2.3-.8-4.3-2-6'%3E%3C/path%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'%3E%3C/path%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'%3E%3C/path%3E%3Cpath d='M4 2C2.8 3.7 2 5.7 2 8'%3E%3C/path%3E%3Cpath d='M20 8c0-2.3-.8-4.3-2-6'%3E%3C/path%3E%3C/svg%3E");}
