/* ===============================
   SkillMate Brand Site — Style
   共通スタイル（mentoring-siteのstyle.cssをベースに拡張）
=============================== */
:root {
  --color-primary:      #0f2d5a;
  --color-accent:       #2563eb;
  --color-accent-light: #dbeafe;
  --color-green:        #10b981;
  --color-green-light:  #d1fae5;
  --color-bg:           #ffffff;
  --color-bg-light:     #f8fafc;
  --color-bg-dark:      #0d1b2a;
  --color-text:         #1e293b;
  --color-muted:        #64748b;
  --color-border:       #e2e8f0;

  --font: 'Noto Sans JP', sans-serif;
  --radius-sm:   6px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);

  --max-w: 1120px;
  --gap-section: 96px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity 0.2s; }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section { padding: var(--gap-section) 0; }

/* ======= Typography ======= */
.label-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.label-tag--white { color: rgba(255,255,255,0.65); }
.label-tag--green  { color: var(--color-green); }

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 14px;
}
.section-title--white { color: #fff; }
.section-sub { font-size: 16px; color: var(--color-muted); }
.section-sub--white { color: rgba(255,255,255,0.75); }
.section-header { text-align: center; margin-bottom: 56px; }

/* ======= Buttons ======= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s;
  border: 2px solid transparent;
  white-space: nowrap;
  font-family: var(--font);
}
.btn--primary { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.btn--primary:hover { background: #1d4ed8; border-color: #1d4ed8; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,0.35); }
.btn--outline { background: transparent; color: var(--color-accent); border-color: var(--color-accent); }
.btn--outline:hover { background: var(--color-accent); color: #fff; transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--color-primary); border-color: #fff; }
.btn--white:hover { background: #f0f4f8; transform: translateY(-2px); }
.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--ghost-white:hover { background: rgba(255,255,255,0.12); }
.btn--green { background: var(--color-green); color: #fff; border-color: var(--color-green); }
.btn--green:hover { background: #059669; transform: translateY(-2px); }
.btn--sm  { padding: 10px 22px; font-size: 13px; }
.btn--lg  { padding: 18px 52px; font-size: 17px; }

/* ======= Header ======= */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header__inner { display: flex; align-items: center; height: 70px; gap: 24px; }
.header__logo { flex-shrink: 0; }
.header__logo img { height: 32px; width: auto; }
.header__nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 32px; }
.nav__list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding-bottom: 2px;
}
.nav__list a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width 0.2s;
  border-radius: 2px;
}
.nav__list a:hover { color: var(--color-accent); }
.nav__list a:hover::after { width: 100%; }

.nav--open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  inset: 70px 0 0 0;
  background: #fff;
  padding: 32px 28px;
  gap: 24px;
  border-top: 1px solid var(--color-border);
  z-index: 199;
}
.nav--open .nav__list { flex-direction: column; align-items: flex-start; gap: 20px; }
.nav--open .nav__list a { font-size: 18px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--color-text); border-radius: 2px; transition: all 0.3s; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======= Hero ======= */
.hero {
  background: linear-gradient(145deg, #0f2d5a 0%, #1a3f72 60%, #1e3a8a 100%);
  padding: 100px 0 88px;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96,165,250,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #60a5fa;
  background: rgba(96,165,250,0.15);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  margin-bottom: 24px;
  border: 1px solid rgba(96,165,250,0.25);
}
.hero__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
  color: #fff;
}
.hero__title em { font-style: normal; color: #60a5fa; }
.hero__desc { font-size: 16px; color: rgba(255,255,255,0.78); line-height: 1.85; margin-bottom: 40px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* hero right side — feature pills */
.hero__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero__feature-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: background 0.2s;
}
.hero__feature-pill:hover { background: rgba(255,255,255,0.12); }
.hero__feature-pill__icon { font-size: 28px; flex-shrink: 0; }
.hero__feature-pill__text h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.hero__feature-pill__text p  { font-size: 12px; color: rgba(255,255,255,0.6); }

/* ======= Audience Section (個人/法人) ======= */
.audience-section { background: var(--color-bg-light); }
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.audience-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.audience-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.audience-card__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.audience-card__badge--personal { background: var(--color-accent-light); color: var(--color-accent); }
.audience-card__badge--business { background: var(--color-green-light); color: var(--color-green); }
.audience-card h3 { font-size: 22px; font-weight: 700; color: var(--color-primary); margin-bottom: 12px; }
.audience-card p  { font-size: 14px; color: var(--color-muted); margin-bottom: 28px; line-height: 1.85; }
.audience-card__features { margin-bottom: 32px; }
.audience-card__features li {
  font-size: 14px;
  color: var(--color-text);
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.audience-card__features li:last-child { border-bottom: none; }
.audience-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}
.audience-card--business .audience-card__features li::before { color: var(--color-green); }

/* ======= Exam Cards ======= */
.exam-grid-sm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.exam-card-sm {
  display: block;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: all 0.22s;
  position: relative;
  overflow: hidden;
}
.exam-card-sm::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), #60a5fa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.exam-card-sm:hover { border-color: var(--color-accent); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.exam-card-sm:hover::before { transform: scaleX(1); }
.exam-card-sm__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent);
  background: var(--color-accent-light);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  margin-bottom: 12px;
}
.exam-card-sm h3 { font-size: 15px; font-weight: 700; color: var(--color-primary); margin-bottom: 8px; line-height: 1.4; }
.exam-card-sm p  { font-size: 12px; color: var(--color-muted); line-height: 1.7; margin-bottom: 14px; }
.exam-card-sm .link-arrow { font-size: 12px; font-weight: 700; color: var(--color-accent); }

.exam-card-sm--new {
  background: var(--color-bg-light);
  border-style: dashed;
}
.exam-card-sm--new h3 { color: var(--color-muted); }

/* ======= Delivery Methods ======= */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.delivery-card {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.delivery-card__icon { font-size: 40px; margin-bottom: 14px; }
.delivery-card h3 { font-size: 15px; font-weight: 700; color: var(--color-primary); margin-bottom: 8px; }
.delivery-card p  { font-size: 13px; color: var(--color-muted); line-height: 1.7; }

/* ======= CTA Banner ======= */
.cta-banner {
  background: linear-gradient(135deg, var(--color-accent) 0%, #1e40af 100%);
  padding: 88px 0;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { font-size: clamp(22px, 4vw, 36px); font-weight: 700; margin-bottom: 16px; }
.cta-banner p  { font-size: 16px; color: rgba(255,255,255,0.82); margin-bottom: 44px; }
.cta-banner__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ======= Page Hero ======= */
.page-hero {
  background: linear-gradient(145deg, #eef4ff 0%, #f5f9ff 100%);
  padding: 72px 0 64px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; color: var(--color-primary); margin-bottom: 12px; }
.page-hero p { font-size: 16px; color: var(--color-muted); }

/* ======= Footer ======= */
.footer { background: var(--color-bg-dark); color: rgba(255,255,255,0.6); }
.footer__main {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  padding: 72px 28px 56px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer__brand img { height: 28px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.85; }
.footer__brand p { font-size: 13px; line-height: 1.85; color: rgba(255,255,255,0.5); }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col h4 { font-size: 12px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 28px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__bottom p { font-size: 12px; }
.footer__bottom-links { display: flex; gap: 24px; }
.footer__bottom-links a { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer__bottom-links a:hover { color: #fff; }

/* ======= LP Course Page ======= */
.lp-hero {
  background: linear-gradient(145deg, #0f2d5a 0%, #1a3f72 100%);
  color: #fff;
  padding: 88px 0 72px;
}
.lp-hero__inner { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: center; }
.lp-hero__label { font-size: 12px; font-weight: 700; letter-spacing: 0.15em; color: #60a5fa; text-transform: uppercase; margin-bottom: 16px; }
.lp-hero__title { font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.lp-hero__sub { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.85; margin-bottom: 32px; }

.lp-hero__card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(4px);
}
.lp-hero__card h4 { font-size: 14px; font-weight: 700; color: #60a5fa; margin-bottom: 16px; }
.lp-hero__card-rows { display: flex; flex-direction: column; gap: 12px; }
.lp-hero__card-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.lp-hero__card-row:last-child { border-bottom: none; }
.lp-hero__card-row span:first-child { font-size: 12px; color: rgba(255,255,255,0.6); }
.lp-hero__card-row span:last-child  { font-size: 14px; font-weight: 600; color: #fff; }

.lp-section { padding: 72px 0; }
.lp-section + .lp-section { padding-top: 0; }

.step-list { display: flex; flex-direction: column; gap: 0; counter-reset: step; }
.step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}
.step-item:last-child { border-bottom: none; }
.step-item__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-item h3 { font-size: 18px; font-weight: 700; color: var(--color-primary); margin-bottom: 8px; }
.step-item p  { font-size: 14px; color: var(--color-muted); line-height: 1.8; }

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-primary);
  gap: 16px;
  transition: background 0.2s;
}
.faq-item__q:hover { background: var(--color-bg-light); }
.faq-item__q::after { content: '＋'; font-size: 20px; font-weight: 400; color: var(--color-accent); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.is-open .faq-item__q::after { content: '－'; }
.faq-item__a {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.85;
}
.faq-item.is-open .faq-item__a { display: block; }

/* ======= Responsive ======= */
@media (max-width: 1024px) {
  .exam-grid-sm  { grid-template-columns: repeat(2, 1fr); }
  .delivery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero__inner      { grid-template-columns: 1fr; }
  .hero__features   { display: none; }
  .audience-grid    { grid-template-columns: 1fr; }
  .lp-hero__inner   { grid-template-columns: 1fr; }
  .lp-hero__card    { display: none; }
}

@media (max-width: 768px) {
  :root { --gap-section: 64px; }
  .header__nav, .header > .btn { display: none; }
  .hamburger { display: flex; }
  .footer__main { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav  { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .exam-grid-sm  { grid-template-columns: 1fr; }
  .delivery-grid { grid-template-columns: 1fr 1fr; }
  .hero__cta     { flex-direction: column; }
  .cta-banner__btns { flex-direction: column; align-items: center; }
  .footer__nav   { grid-template-columns: 1fr; }
}
