/* =============================
   講師専用サイト
   ============================= */

.instructor-login-body,
.instructor-portal-body {
  background: linear-gradient(to right, #FFF3F3 0%, #ffffff 55%, #ffffff 100%);
  min-height: 100vh;
}

/* ---- ヘッダー（デザイン準拠） ---- */
.instructor-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
  height: 72px;
}

.instructor-header-inner {
  width: 100%;
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
}

.instructor-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.instructor-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.instructor-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
}

.instructor-brand-name {
  font-size: 11px;
  font-weight: 600;
  color: #444;
  letter-spacing: 0.04em;
}

.instructor-brand-sub {
  font-size: 11px;
  color: #888;
  letter-spacing: 0.04em;
}

.instructor-header-right {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.instructor-header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.instructor-header-nav a {
  font-size: 15px;
  color: #555;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.instructor-header-nav a:hover {
  color: #e28d94;
}

.instructor-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-instructor-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 6px;
  background: #e28d94;
  color: #fff !important;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-instructor-header:hover {
  background: #d0747c;
}

.btn-instructor-header--outline {
  background: #fff;
  color: #e28d94 !important;
  border: 1px solid #e28d94;
}

.btn-instructor-header--outline:hover {
  background: #fff5f6;
}

.instructor-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.instructor-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #e28d94;
}

.instructor-sp-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 99;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 12px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.instructor-sp-nav[hidden] {
  display: none !important;
}

.instructor-sp-nav a {
  padding: 12px 4px;
  border-bottom: 1px solid #f5ecee;
  color: #555;
  font-size: 14px;
}

/* ---- ログイン ---- */
.instructor-login-main {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
}

.instructor-login-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid #f0e0e4;
  border-radius: 12px;
  padding: 40px 32px;
}

.instructor-login-title {
  font-size: 28px;
  color: #333;
  text-align: center;
  margin-bottom: 8px;
}

.instructor-login-lead {
  text-align: center;
  color: #777;
  font-size: 13px;
  margin-bottom: 28px;
}

.instructor-label {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}

.instructor-input {
  width: 100%;
  height: 48px;
  border: 1px solid #e8d0d4;
  border-radius: 8px;
  padding: 0 14px;
  margin-bottom: 16px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
}

.instructor-input:focus {
  outline: none;
  border-color: #e28d94;
  box-shadow: 0 0 0 3px rgba(226, 141, 148, 0.15);
}

.instructor-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}

.btn-instructor-primary {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 6px;
  background: #e28d94;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-instructor-primary:hover {
  background: #d0747c;
}

.instructor-login-links {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
}

.instructor-login-links a {
  color: #e28d94;
  text-decoration: underline;
}

.instructor-login-note {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: #999;
  line-height: 1.7;
}

.instructor-alert {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 18px;
  line-height: 1.6;
}

.instructor-alert--error {
  background: #fff1f2;
  color: #a34d57;
}

.instructor-alert--ok {
  background: #f3faf4;
  color: #3d6b45;
}

/* ---- ポータル本体（NEWS中心） ---- */
.instructor-portal-main {
  padding: 120px 40px 100px;
  max-width: 1100px;
  margin: 0 auto;
  min-height: calc(100vh - 280px);
}

.instructor-news-head {
  margin-bottom: 36px;
}

.instructor-news-en {
  font-family: 'Zen Old Mincho', serif;
  font-size: 42px;
  font-weight: 400;
  color: #222;
  letter-spacing: 0.35em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.instructor-news-title {
  font-size: 14px;
  color: #555;
  letter-spacing: 0.08em;
}

.instructor-news-list {
  border-top: 1px solid #e8e8e8;
}

.instructor-news-item {
  display: block;
  padding: 22px 4px 24px;
  border-bottom: 1px solid #e8e8e8;
  transition: opacity 0.2s ease;
}

.instructor-news-item:hover {
  opacity: 0.72;
}

.instructor-news-item time {
  display: block;
  color: #999;
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.instructor-news-item-title {
  display: block;
  color: #666;
  font-size: 17px;
  line-height: 1.9;
}

.instructor-news-empty {
  color: #999;
  font-size: 14px;
  padding: 24px 0;
  border-top: 1px solid #e8e8e8;
}

.instructor-news-pager {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.instructor-news-pager-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #e8d0d4;
  border-radius: 6px;
  color: #666;
  font-size: 13px;
}

.instructor-news-pager-link:hover {
  border-color: #e28d94;
  color: #e28d94;
}

.instructor-news-pager-link.is-current {
  background: #e28d94;
  border-color: #e28d94;
  color: #fff;
}

/* ---- フッター ---- */
.instructor-footer {
  background: #fff8f8;
  text-align: center;
}

.instructor-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 40px 32px;
}

.instructor-footer-brand img {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.instructor-footer-name {
  font-size: 12px;
  color: #555;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.instructor-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 11px;
  color: #999;
}

.instructor-footer-links a {
  color: #888;
}

.instructor-footer-links a:hover {
  color: #e28d94;
}

.instructor-footer-sns {
  margin-bottom: 16px;
}

.instructor-footer-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e28d94;
  color: #fff;
}

.instructor-footer-sns a:hover {
  background: #d0747c;
}

.instructor-footer-copy {
  font-size: 10px;
  color: #bbb;
}

/* ログインページ用の簡易フッター互換 */
.instructor-login-body .instructor-footer {
  background: transparent;
  padding: 28px 16px 40px;
}

.instructor-login-body .instructor-footer p {
  font-size: 12px;
  color: #aaa;
}

@media (max-width: 900px) {
  .instructor-header-right {
    display: none;
  }

  .instructor-hamburger {
    display: flex;
  }

  .instructor-portal-main {
    padding: 110px 24px 72px;
  }

  .instructor-footer-inner {
    padding: 40px 24px 28px;
  }

  .instructor-news-en {
    font-size: 34px;
    letter-spacing: 0.28em;
  }
}
