@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
  --primary: #0A192F;
  --primary-light: #1E293B;
  --accent: #D97706;
  --accent-hover: #B45309;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;
  --border: #E2E8F0;
  --radius: 8px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Noto Sans JP', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: #FFFFFF;
  line-height: 1.7;
}

body {
  overflow-x: hidden;
}

a {
  color: #2563EB;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- HEADER & NAV --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

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

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.main-nav a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 14px;
}

.header-cta .btn {
  padding: 8px 18px;
  font-size: 14px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: #FFFFFF;
  padding: 14px 28px;
  font-size: 16px;
  box-shadow: 0 2px 4px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--primary-light);
  color: #FFFFFF;
  padding: 12px 24px;
  font-size: 14px;
}

.btn-secondary:hover {
  background-color: var(--primary);
  text-decoration: none;
}

/* --- HERO SECTION --- */
.hero-section {
  background: linear-gradient(135deg, #0A192F 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 80px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(217, 119, 6, 0.2);
  border: 1px solid rgba(217, 119, 6, 0.5);
  color: #FBBF24;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: 16px;
  color: #CBD5E1;
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-cta-wrap {
  margin-bottom: 30px;
}

.hero-img-container img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #E2E8F0;
}

.trust-icon {
  width: 20px;
  height: 20px;
  fill: #D97706;
  flex-shrink: 0;
}

/* --- SECTIONS COMMON --- */
.section-padding {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.section-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
}

/* --- VALUE CARDS (6 Blocks) --- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.value-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.value-card-body {
  padding: 24px;
  flex-grow: 1;
}

.value-icon-wrap {
  width: 44px;
  height: 44px;
  background: #EFF6FF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.value-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: #2563EB;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

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

/* --- CREDIBILITY SECTIONS --- */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.framework-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
  border-left: 4px solid #2563EB;
}

.framework-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.framework-card p {
  font-size: 14px;
  color: var(--text-main);
}

/* Curriculum Timeline */
.curriculum-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.curriculum-item {
  display: flex;
  gap: 20px;
  background: #FFFFFF;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.curriculum-time {
  background: var(--primary);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  height: fit-content;
}

.curriculum-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.curriculum-text p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Table styles */
.data-table-wrap {
  overflow-x: auto;
  margin-top: 20px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border: 1px solid var(--border);
  font-size: 14px;
}

.data-table th, .data-table td {
  padding: 14px 18px;
  border: 1px solid var(--border);
  text-align: left;
}

.data-table th {
  background: #F1F5F9;
  font-weight: 700;
  color: var(--primary);
}

/* Audience Grid */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.audience-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
}

.audience-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.audience-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Scope Table */
.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.scope-box {
  background: #FFFFFF;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.scope-box.included { border-top: 4px solid #10B981; }
.scope-box.excluded { border-top: 4px solid #EF4444; }

.scope-box h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.scope-box ul {
  list-style: none;
}

.scope-box li {
  font-size: 14px;
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
}

.scope-box.included li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10B981;
  font-weight: bold;
}

.scope-box.excluded li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #EF4444;
  font-weight: bold;
}

/* Steps Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  background: #FFFFFF;
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
  position: relative;
}

.step-num {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 10px;
}

.process-step h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- FAQ ACCORDION --- */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.8;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* --- ABOUT SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.8;
}

.about-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* --- FORM SECTION --- */
.form-container-box {
  max-width: 680px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08);
}

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

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

.form-group label .req {
  color: #EF4444;
  margin-left: 4px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.phone-input-wrap {
  display: flex;
  align-items: center;
}

.phone-prefix {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-right: none;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 6px 0 0 6px;
}

.phone-input-wrap input {
  border-radius: 0 6px 6px 0 !important;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.checkbox-label input {
  margin-top: 3px;
}

.error-msg {
  display: none;
  color: #EF4444;
  font-size: 12px;
  margin-top: 4px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  margin-top: 10px;
}

/* Success & Error Panels */
.success-panel {
  text-align: center;
  padding: 20px 0;
}

.checkmark-svg {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
}

.checkmark-circle {
  stroke: #10B981;
  stroke-width: 3;
}

.checkmark-check {
  stroke: #10B981;
  stroke-width: 4;
  stroke-linecap: round;
}

.success-panel h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 12px;
}

.success-panel p {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 12px;
}

.privacy-note {
  font-size: 12px !important;
  color: var(--text-muted) !important;
}

.error-panel {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  padding: 14px;
  border-radius: 6px;
  font-size: 14px;
  margin-top: 16px;
}

/* --- FOOTER --- */
.site-footer {
  background-color: var(--primary);
  color: #94A3B8;
  padding: 60px 0 30px 0;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.operator-block {
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 6px;
  margin-top: 14px;
  line-height: 1.8;
}

.footer-col h5 {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #CBD5E1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 2px solid var(--accent);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  z-index: 9999;
  padding: 20px 0;
}

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

.cookie-text {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .hero-grid, .grid-2col, .about-grid, .scope-grid {
    grid-template-columns: 1fr;
  }
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .audience-grid, .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .value-grid, .audience-grid, .process-steps {
    grid-template-columns: 1fr;
  }
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions .btn {
    flex: 1;
  }
}