/* ============================================================
   DESIGN SYSTEM — 共通デザイントークン・ベーススタイル
   ============================================================ */
:root {
  /* Pastel palette */
  --sky:      #5B9BD5;
  --sky-lt:   #EBF4FF;
  --sky-mid:  #C5DEFF;
  --mint:     #52C49A;
  --mint-lt:  #E8FAF3;
  --peach:    #FF9F5E;
  --peach-lt: #FFF1E8;
  --rose:     #F07CA0;
  --rose-lt:  #FFF0F5;
  --lavender: #9B82D4;
  --lav-lt:   #F3EFFF;
  --gold:     #F5C842;
  --gold-lt:  #FFFBE8;
  --teal:     #3BBFB8;
  --teal-lt:  #E8FAFA;

  /* Neutrals */
  --bg:       #F7F9FF;
  --surface:  #FFFFFF;
  --border:   #E6EDF8;
  --text:     #2D3A52;
  --text-2:   #637089;
  --text-3:   #A0ABBE;

  /* Shadows (very soft) */
  --sh-sm:    0 2px 12px rgba(91,155,213,.10);
  --sh-md:    0 6px 24px rgba(91,155,213,.13);
  --sh-lg:    0 12px 40px rgba(91,155,213,.18);
  --sh-hover: 0 8px 32px rgba(91,155,213,.20);

  /* Radius */
  --r-sm:  12px;
  --r-md:  18px;
  --r-lg:  24px;
  --r-xl:  32px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 15px;
  padding-top: 72px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--sky-mid); border-radius: 4px; }


/* ===== HEADER ===== */
.header {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1.5px solid var(--border);
  position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 900;
  box-shadow: 0 2px 16px rgba(91,155,213,.08);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height:70px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
}
.logo-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--sky), var(--mint));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(91,155,213,.3);
}
.logo-name { font-size: 15px; font-weight: 800; line-height: 1.2; }
.logo-sub  { font-size: 10px; color: var(--text-2); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 13px; border-radius: var(--r-sm);
  background: none; border: none; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  transition: all .2s; white-space: nowrap;
}
.nav-btn:hover { background: var(--sky-lt); color: var(--sky); }
.nav-btn.active { background: var(--sky-lt); color: var(--sky); }
.nav-icon { font-size: 16px; }

.btn-login {
  margin-left: 8px; padding: 8px 18px; border-radius: 20px;
  background: linear-gradient(135deg, var(--sky), var(--mint));
  border: none; color: white; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all .2s;
  box-shadow: 0 4px 12px rgba(91,155,213,.3);
}
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(91,155,213,.4); }

.logo-image{
    height:60px;
    margin:5px 0;
}
.nav a{
    text-decoration:none;
}

/* ===== パンくず ===== */

div.navi_pan{
	margin: 8px auto 30px;
	font-family: NotoSans_light;
	font-size: 12px;
}
div.navi_pan ol{
  list-style:none;
 
}
div.navi_pan a{
	color: var(--sky);
   text-decoration:none;
}
div.navi_pan li{
	float:left;
}
div.navi_pan li::after{
	content:" ›";
	margin:0 5px;
}
div.navi_pan li:last-child::after{
	content:"";
}
div.navi_pan li:last-child {
	max-width: 40ch;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

@media (max-width: 640px) {
	div.navi_pan ol {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	div.navi_pan ol::-webkit-scrollbar {
		display: none;
	}
	div.navi_pan li {
		float: none;
		flex-shrink: 0;
	}
	div.navi_pan li:last-child {
		max-width: none;
		overflow: visible;
		white-space: nowrap;
		text-overflow: clip;
	}
}
div.navi_pan:after{
	content: "";
	display: block;
	visibility: hidden;
	clear: both;
	height: 0;
	font-size: 0.1em;
	line-height: 0;
}

/* ===== HAMBURGER ===== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 12px;
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #2D3A52;
  border-radius: 2px;
  transition: all .3s;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1.5px solid #E6EDF8;
  padding: 8px 16px 16px;
  box-shadow: 0 8px 24px rgba(91,155,213,.12);
}
.mobile-menu.open { display: flex; }
.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 8px;
  text-decoration: none;
  color: #637089;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid #E6EDF8;
  transition: color .2s;
}
.mobile-menu-item:last-child { border-bottom: none; }
.mobile-menu-item:hover  { color: #5B9BD5; }
.mobile-menu-item.active { color: #5B9BD5; font-weight: 700; }

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger-btn { display: flex; }
}


/* ===== FOOTER ===== */
footer {
  background: #2D3A52; color: rgba(255,255,255,.65);
  padding: 40px 28px; margin-top: 0;
}
.foot-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.foot-brand {}
.foot-logo { font-size: 15px; font-weight: 800; color: white; margin-bottom: 7px; }
.foot-desc { font-size: 12px; line-height: 1.8; max-width: 260px; }
.foot-col h4 { font-size: 12px; font-weight: 800; color: rgba(255,255,255,.85); margin-bottom: 10px; }
.foot-col a  { display: block; font-size: 12px; color: rgba(255,255,255,.55); text-decoration: none; margin-bottom: 5px; transition: color .2s; }
.foot-col a:hover { color: white; }
.foot-bottom { text-align: center; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-inner { padding: 0 16px; }
  .hero { padding: 36px 16px 48px; }
  .hero-inner { flex-direction: column; gap: 24px; }
  .hero-visual { flex: none; width: 100%; }
  .hero-cta { justify-content: flex-start; }
  .hero-h1 { font-size: 24px; }
  .page-inner { padding: 20px 16px 60px; }
  .dash-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .cat-cards-grid { grid-template-columns: repeat(3,1fr); }
  .course-banner { padding: 20px; }
  .sel-bar { padding: 12px 16px; }
  .test-kpi { grid-template-columns: repeat(2,1fr); }
}

/* ===== PAGE TOP BUTTON ===== */
.pagetop-btn {
  position: fixed;
  bottom: 28px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--mint));
  color: white;
  font-size: 18px;
  line-height: 1;
  border: none; cursor: pointer;
  box-shadow: var(--sh-md);
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s;
  z-index: 800;
}
.pagetop-btn--show {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}
.pagetop-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-hover);
}
