/* ==========================================
   Design Tokens
   ========================================== */

:root {
  --color-primary: #2b6cff;
  --color-primary-dark: #1a4fd6;
  --color-primary-light: #eaf0ff;

  --color-accent: #ff7a45;
  --color-accent-dark: #f0592a;
  --color-accent-light: #fff1e8;
  --color-accent-gradient: linear-gradient(135deg, #ff8a5b 0%, #ff5c8a 100%);

  --color-bg: #ffffff;
  --color-bg-alt: #f7f9fc;
  --color-bg-dark: #12162a;

  --color-text: #1f2430;
  --color-text-light: #5b6572;
  --color-text-inverse: #f4f6fb;

  --color-border: #e6e9ef;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(18, 22, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(18, 22, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(18, 22, 42, 0.12);

  --container-width: 1120px;
}

/* ==========================================
   Reset
   ========================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s ease, color 0.15s ease;
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sp-only {
  display: none;
}

/* ==========================================
   Header / Navigation
   ========================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.site-header .logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text);
  white-space: nowrap;
}

.site-header .logo span {
  color: var(--color-primary);
}

.site-header .logo .logo-sub {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.global-nav a {
  display: inline-block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--color-text-light);
  white-space: nowrap;
}

.global-nav a:hover {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.global-nav a[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 700;
  background: var(--color-primary-light);
}

/* ==========================================
   Buttons
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--color-accent-gradient);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(255, 92, 138, 0.35);
}

.btn-secondary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--color-border);
  color: var(--color-text);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-invert {
  border-color: rgba(244, 246, 251, 0.4);
  color: #fff;
  background: transparent;
}

.btn-outline-invert:hover {
  border-color: #fff;
  background: rgba(244, 246, 251, 0.1);
}

/* ==========================================
   Main / Sections
   ========================================== */

main {
  min-height: 60vh;
}

.section {
  padding: 96px 0;
}

.section + .section {
  border-top: 1px solid var(--color-border);
}

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

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.section-desc {
  color: var(--color-text-light);
}

.lead {
  font-size: 1.15rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

/* ==========================================
   Hero
   ========================================== */

.hero {
  padding: 120px 0 80px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(43, 108, 255, 0.14), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(255, 122, 69, 0.16), transparent 45%),
    var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.hero .eyebrow {
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.hero h1 .accent {
  background: var(--color-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
}

.hero-sub {
  padding: 64px 0;
  text-align: center;
}

.hero-sub h1 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

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

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.hero-stats .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
}

.hero-stats .stat-num.is-text {
  font-size: 1.2rem;
}

.hero-stats .stat-num span {
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: 2px;
}

.hero-stats .stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

.site-intro {
  padding: 56px 0;
  text-align: center;
}

.site-intro .intro-text {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--color-text-light);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

/* ==========================================
   Cards
   ========================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.card p {
  color: var(--color-text-light);
}

/* ==========================================
   Training Program Feature
   ========================================== */

.program-feature {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 56px;
}

.section-title.is-sub {
  font-size: 1.4rem;
}

.program-block-title {
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  margin: 48px 0 20px;
}

.program-block-title:first-of-type {
  margin-top: 0;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.price-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
}

.price-card.is-featured {
  background: #fff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.price-card .plan-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.price-card .plan-cap {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.price-card .plan-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.price-card .plan-resit {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.price-card .plan-price span {
  font-size: 0.95rem;
  font-weight: 700;
  margin-left: 2px;
}

.price-card .plan-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
}

.price-card .plan-features {
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.price-card .plan-features li {
  padding: 4px 0;
  border-top: 1px solid var(--color-border);
}

.price-card .plan-features li:first-child {
  border-top: none;
}

.price-card .plan-highlight {
  margin: 16px 0 0;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.9rem;
}

.program-note {
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ==========================================
   Instructor
   ========================================== */

.instructor-card {
  display: flex;
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.instructor-photo {
  flex: none;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.instructor-card.is-large .instructor-photo {
  width: 220px;
  height: 220px;
}

.instructor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-body h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.instructor-title {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.instructor-body p {
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.instructor-body p:last-child {
  margin-bottom: 0;
}

.more-link {
  margin-top: 16px;
  text-align: center;
}

.more-link a {
  font-weight: 700;
  color: var(--color-primary);
}

.more-link a:hover {
  opacity: 0.7;
}

/* ==========================================
   News list
   ========================================== */

.news-list li {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.news-list time {
  flex: none;
  width: 110px;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* ==========================================
   Seminar schedule
   ========================================== */

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.schedule-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.schedule-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.schedule-date {
  flex: none;
  width: 100px;
  height: 84px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.schedule-date.is-oneday {
  background: #eef9d8;
  color: #6b9b0f;
}

.schedule-date .month {
  font-size: 0.8rem;
  font-weight: 700;
}

.schedule-date .day {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.schedule-date .weekday {
  font-size: 0.85rem;
  font-weight: 700;
  margin-left: 1px;
}

.schedule-body {
  flex: 1;
  min-width: 0;
}

.schedule-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
}

.tag-outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-light);
}

.schedule-body h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.schedule-body p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.schedule-action {
  flex: none;
}

@media (max-width: 640px) {
  .schedule-card {
    flex-wrap: wrap;
  }

  .schedule-action {
    width: 100%;
  }

  .schedule-action .btn {
    width: 100%;
  }
}

/* ==========================================
   Seminar history (開催実績)
   ========================================== */

.history-details {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.history-details summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--color-primary);
  list-style: none;
}

.history-details summary::-webkit-details-marker {
  display: none;
}

.history-details .chevron {
  display: inline-block;
  font-size: 0.8em;
  transition: transform 0.2s ease;
}

.history-details[open] .chevron {
  transform: rotate(180deg);
}

.history-body {
  margin-top: 24px;
}

.history-year {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 28px 0 8px;
}

.history-year:first-child {
  margin-top: 0;
}

.history-list {
  display: flex;
  flex-direction: column;
}

.history-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-light);
  flex-wrap: wrap;
}

.history-list .round {
  flex: none;
  width: 60px;
  font-weight: 700;
  color: var(--color-text);
}

.history-list .date {
  flex: none;
  width: 52px;
  font-weight: 700;
  color: var(--color-primary);
}

.history-list .place {
  flex: 1;
  min-width: 200px;
}

/* ==========================================
   Case studies (AI活用事例)
   ========================================== */

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.case-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.case-card h3 {
  font-size: 1.1rem;
  margin: 12px 0 16px;
}

.case-row {
  padding: 12px 0;
  border-top: 1px solid var(--color-border);
}

.case-row:first-of-type {
  border-top: none;
}

.case-row .case-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.case-row.result .case-label {
  color: var(--color-accent-dark);
}

/* ==========================================
   Testimonials (参加者の声)
   ========================================== */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-quote-mark {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary-light);
  line-height: 1;
  margin-bottom: 8px;
}

.testimonial-card p.quote {
  color: var(--color-text);
  margin-bottom: 20px;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  flex: none;
}

.testimonial-person .name {
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-person .role {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ==========================================
   Reasons（選ばれる理由）
   ========================================== */

.reason-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.reason-card {
  text-align: center;
  padding: 8px;
}

.reason-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-accent-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 20px;
}

.reason-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.reason-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* ==========================================
   Numbered steps (導入の流れ)
   ========================================== */

.step-list {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.step-list li {
  counter-increment: step;
  position: relative;
  padding: 32px 24px 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-list li strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-list li p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ==========================================
   Table（会社概要）
   ========================================== */

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.company-table th,
.company-table td {
  text-align: left;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table th {
  width: 200px;
  white-space: nowrap;
  background: var(--color-bg-alt);
  font-weight: 700;
}

.map-placeholder {
  width: 100%;
  aspect-ratio: 16 / 7;
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  margin-top: 24px;
}

/* ==========================================
   CTA band
   ========================================== */

.cta-band {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  text-align: center;
}

.cta-band .section-title {
  color: #fff;
}

.cta-band .section-desc {
  color: rgba(244, 246, 251, 0.7);
}

/* ==========================================
   Footer
   ========================================== */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 56px 0 28px;
  background: var(--color-bg-alt);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
}

.footer-brand p.logo {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-brand p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .global-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
  }

  .global-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .global-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
  }

  .global-nav a {
    padding: 14px 16px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .section {
    padding: 64px 0;
  }

  .footer-top {
    flex-direction: column;
  }

  .company-table th {
    width: 120px;
    padding: 16px;
  }

  .instructor-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .instructor-card .instructor-photo,
  .instructor-card.is-large .instructor-photo {
    width: 160px;
    height: 160px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .schedule-card {
    padding: 20px;
    gap: 16px;
  }

  .schedule-date {
    width: 76px;
    height: 64px;
  }

  .schedule-date .day {
    font-size: 1.3rem;
  }

  .schedule-date .weekday {
    font-size: 0.7rem;
  }

  .sp-only {
    display: inline;
  }
}
