/* ========================================
   Variables
======================================== */
:root {
  --brand: #0b5cff;
  --brand-dark: #0747d4;
  --ink: #0a0f1f;
  --muted: #5a6477;
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --border: rgba(10, 15, 31, 0.1);
  --shadow: 0 20px 80px rgba(11, 92, 255, 0.15);
  --radius: 24px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "YuGothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========================================
   Layout
======================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.narrow {
  max-width: 900px;
  margin: 0 auto;
}

/* ========================================
   Header
======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 24px;
  color: var(--ink);
}

.brand-mark {
  color: var(--brand);
  display: flex;
  align-items: center;
}

.brand-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav a:hover {
  background: rgba(11, 92, 255, 0.08);
  color: var(--brand);
}

/* ========================================
   Hero Section
======================================== */
.hero {
  padding: 140px 0 160px;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(11, 92, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  background: rgba(11, 92, 255, 0.1);
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.subhead {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--ink);
  line-height: 1.4;
}

.lead {
  font-size: 20px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ========================================
   Sections
======================================== */
.section {
  padding: 120px 0;
}

.section-alt {
  background: var(--bg-alt);
}

h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  margin-bottom: 60px;
  text-align: center;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
  line-height: 1.3;
}

h4 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.4;
}

.subsection-title {
  font-size: 32px;
  font-weight: 800;
  margin: 80px 0 40px;
  text-align: center;
}

/* ========================================
   Text Elements
======================================== */
.intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.intro-text p {
  font-size: 20px;
  line-height: 1.9;
  color: var(--ink);
}

.text-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 50px;
  box-shadow: var(--shadow);
  text-align: center;
}

.text-card p {
  font-size: 22px;
  line-height: 2;
  color: var(--ink);
}

.note-box {
  background: rgba(11, 92, 255, 0.05);
  border: 2px solid rgba(11, 92, 255, 0.15);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.note-box p {
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
}

/* ========================================
   Issues & Solutions
======================================== */
.issues-list {
  max-width: 800px;
  margin: 0 auto 100px;
}

.issue-item {
  display: flex;
  align-items: center;
  gap: 24px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 30px 40px;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.issue-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 40px rgba(11, 92, 255, 0.15);
  border-color: rgba(11, 92, 255, 0.3);
}

.issue-icon {
  font-size: 56px;
  flex-shrink: 0;
}

.issue-item p {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
}

.solution-section {
  margin-top: 80px;
}

.solution-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.solution-icon {
  width: 104px;
  height: 104px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  font-size: 52px;
  margin: 0 auto 34px;
  position: relative;
  color: #ffffff;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.40), transparent 55%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow:
    0 26px 90px rgba(11, 92, 255, 0.28),
    0 10px 30px rgba(11, 92, 255, 0.22);
  transform: translateZ(0);
  animation: float 3.2s ease-in-out infinite;
}

.solution-icon::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 34px;
  background: conic-gradient(
    from 200deg,
    rgba(11, 92, 255, 0.00),
    rgba(11, 92, 255, 0.55),
    rgba(11, 92, 255, 0.10),
    rgba(11, 92, 255, 0.00)
  );
  filter: blur(10px);
  opacity: 0.9;
  z-index: -1;
}

.solution-icon::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.28),
    rgba(255, 255, 255, 0.06)
  );
  border: 1px solid rgba(255, 255, 255, 0.22);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .solution-icon {
    animation: none;
  }
}

.solution-header h3 {
  margin: 0;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.solution-card {
  background: white;
  border: 3px solid rgba(11, 92, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-dark) 100%);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.solution-card:hover::before {
  transform: scaleX(1);
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(11, 92, 255, 0.2);
  border-color: var(--brand);
}

.solution-number {
  font-size: 48px;
  font-weight: 900;
  color: rgba(11, 92, 255, 0.15);
  margin-bottom: 16px;
}

.solution-card h4 {
  font-size: 20px;
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
  font-weight: 800;
}

/* ========================================
   Media List (Accordion)
======================================== */
.media-accordion {
  max-width: 980px;
  margin: 40px auto 0;
  display: grid;
  gap: 16px;
}

.media-item {
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(11, 92, 255, 0.40), rgba(11, 92, 255, 0.10)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 18px 60px rgba(11, 92, 255, 0.10);
}

.media-summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  user-select: none;
}

/* hide default marker */
.media-summary::-webkit-details-marker { display: none; }

.media-summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 3px solid rgba(11, 92, 255, 0.85);
  border-bottom: 3px solid rgba(11, 92, 255, 0.85);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.25s ease;
}

.media-item[open] .media-summary::after {
  transform: translateY(-55%) rotate(225deg);
}

.media-kicker {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: rgba(11, 92, 255, 0.85);
  background: rgba(11, 92, 255, 0.10);
  border: 1px solid rgba(11, 92, 255, 0.22);
  letter-spacing: 0.12em;
  flex: 0 0 auto;
}

.media-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.media-body {
  padding: 0 24px 22px;
  color: var(--muted);
}

.media-body p {
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
}

.media-item[open] {
  box-shadow: 0 26px 80px rgba(11, 92, 255, 0.16);
}

.media-item[open] .media-summary {
  background:
    radial-gradient(circle at 10% 50%, rgba(11, 92, 255, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(11, 92, 255, 0.04), rgba(255, 255, 255, 0));
}

/* ========================================
   Flow
======================================== */
.flow-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.flow-item {
  background: white;
  border: 3px solid var(--border);
  border-radius: 20px;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: all 0.3s;
  min-width: 180px;
  text-align: center;
}

.flow-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(11, 92, 255, 0.15);
  border-color: rgba(11, 92, 255, 0.4);
}

.flow-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(11, 92, 255, 0.35);
}

.flow-text {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--ink);
}

.flow-arrow {
  font-size: 40px;
  color: var(--brand);
  font-weight: 900;
  flex-shrink: 0;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% {
    opacity: 0.6;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(5px);
  }
}

/* ========================================
   Strength
======================================== */
.strength-box {
  background: white;
  border: 3px solid rgba(11, 92, 255, 0.15);
  border-radius: var(--radius);
  padding: 50px;
  box-shadow: var(--shadow);
  margin-top: 40px;
}

.strength-list {
  display: grid;
  gap: 24px;
}

.strength-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(11, 92, 255, 0.02) 0%, rgba(11, 92, 255, 0.05) 100%);
  border-radius: 16px;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.strength-item:hover {
  border-color: rgba(11, 92, 255, 0.3);
  background: rgba(11, 92, 255, 0.08);
  transform: translateX(10px);
}

.strength-check {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(11, 92, 255, 0.3);
}

.strength-content h4 {
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 800;
}

.strength-content p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   Pricing & Contact
======================================== */
.pricing-box,
.contact-box {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 60px;
  text-align: center;
  box-shadow: var(--shadow);
}

.pricing-box p,
.contact-box p {
  font-size: 20px;
  line-height: 1.9;
  color: var(--ink);
  margin-bottom: 40px;
}

.cta-note {
  background: rgba(11, 92, 255, 0.08);
  border: 2px dashed rgba(11, 92, 255, 0.3);
  border-radius: 16px;
  padding: 30px;
}

.cta-note p {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
}

/* ========================================
   Footer
======================================== */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 60px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 20px;
}

.footer-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.copyright {
  font-size: 14px;
  color: var(--muted);
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }
  
  .header-inner {
    padding: 20px 30px;
  }
  
  h1 {
    font-size: clamp(36px, 5vw, 56px);
  }
  
  h2 {
    font-size: clamp(32px, 4vw, 48px);
  }
  
  .section {
    padding: 100px 0;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .header-inner {
    padding: 16px 20px;
  }
  
  .nav {
    display: none;
  }
  
  .brand-icon {
    width: 28px;
    height: 28px;
  }
  
  .footer-icon {
    width: 24px;
    height: 24px;
  }
  
  .hero {
    padding: 80px 0 100px;
  }
  
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 32px;
    margin-bottom: 40px;
  }
  
  h3 {
    font-size: 28px;
  }
  
  .subhead {
    font-size: 20px;
  }
  
  .lead {
    font-size: 16px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .text-card,
  .pricing-box,
  .contact-box,
  .solution-box {
    padding: 40px 30px;
  }
  
  .solution-grid {
    grid-template-columns: 1fr;
  }

  /* Media accordion */
  .media-summary {
    padding: 20px 20px;
  }

  .media-kicker {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .media-title {
    font-size: 20px;
  }

  .media-body {
    padding: 0 20px 20px;
  }
  
  .issue-item {
    padding: 25px 30px;
  }
  
  .issue-item:hover {
    transform: translateX(5px);
  }
  
  .intro-text p {
    font-size: 16px;
  }
  
  .text-card p {
    font-size: 18px;
  }
  
  /* Flow - 縦並びに */
  .flow-container {
    flex-direction: column;
    gap: 0;
  }
  
  .flow-item {
    width: 100%;
    max-width: 400px;
  }
  
  .flow-arrow {
    font-size: 36px;
    transform: rotate(90deg);
    margin: 10px 0;
  }
  
  @keyframes arrowPulse {
    0%, 100% {
      opacity: 0.6;
      transform: rotate(90deg) translateX(0);
    }
    50% {
      opacity: 1;
      transform: rotate(90deg) translateX(5px);
    }
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 0 80px;
  }
  
  h1 {
    font-size: 28px;
  }
  
  h2 {
    font-size: 26px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .text-card,
  .pricing-box,
  .contact-box,
  .solution-box {
    padding: 30px 20px;
  }
  
  .flow-item {
    padding: 30px 20px;
  }
  
  .issue-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 25px 20px;
  }
  
  .issue-icon {
    font-size: 40px;
  }
  
  .issue-item p {
    font-size: 16px;
  }
  
  .solution-icon {
    width: 70px;
    height: 70px;
    font-size: 36px;
  }
  
  .solution-number {
    font-size: 32px;
  }
  
  .solution-card {
    padding: 30px 20px;
  }
  
  /* (old media-card-new removed) */
  
  .strength-box {
    padding: 30px 20px;
  }
  
  .strength-item {
    flex-direction: column;
    gap: 16px;
    padding: 25px 20px;
  }
  
  .strength-check {
    width: 45px;
    height: 45px;
    font-size: 24px;
  }
  
  .strength-content h4 {
    font-size: 18px;
  }
  
  .flow-number {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
  
  .flow-text {
    font-size: 16px;
  }
}
