@charset "utf-8";

/* =========================
   全体
   ========================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  margin: 0;
  padding: 0;
  background: #fbfbf2;
  color: #263238;
  line-height: 1.8;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

/* =========================
   ヘッダー・ナビゲーション
   ========================= */
header {
  position: relative;
  z-index: 20;
}

.nav-container {
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 0.8rem clamp(1rem, 4vw, 2.5rem);
  background: #25292a;
  color: #fff;
}

.site-title {
  font-size: clamp(0.82rem, 1.4vw, 1.15rem);
  line-height: 1.4;
  margin: 0;
  font-weight: 700;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: clamp(0.7rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.25s ease;
}

.navbar a:hover,
.navbar a:focus-visible {
  opacity: 0.7;
}

.menu-toggle {
  display: none;
  width: 30px;
  height: 25px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* =========================
   ヒーロー
   titleback.jpg を背景写真として使用
   ========================= */
.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;

  background:
    url("titleback.jpg") center / cover no-repeat;

  color: #fff;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;

  /* 写真を残しながら、文字を読みやすくする青いフィルター */
  background:
    linear-gradient(
      90deg,
      rgba(0, 61, 100, 0.78),
      rgba(0, 61, 100, 0.38)
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1000px, calc(100% - 40px));
  margin: auto;
  padding: 60px 0;
}

.hero-label {
  margin: 0 0 1rem;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero h2 {
  margin: 0 0 1.3rem;
  font-size: clamp(2.3rem, 5.5vw, 4.5rem);
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.hero-description {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.9;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-badge {
  display: inline-block;
  margin-top: 1.7rem;
  padding: 0.35rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
}

/* =========================
   共通セクション
   ========================= */
.section-inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.concept {
  padding: clamp(55px, 8vw, 90px) 20px;
  text-align: center;
  background: #f8f4ef;
}

.concept-light {
  background: #fffdf9;
}

.section-kicker {
  margin: 0 0 0.25rem;
  color: #1976d2;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.concept h2,
.section-heading {
  margin: 0 0 1.5rem;
  color: #263238;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.35;
}

.site-desc {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(0.95rem, 1.7vw, 1.1rem);
}

/* =========================
   講座カード
   ========================= */
.seminar-list {
  padding: clamp(55px, 8vw, 90px) 20px;
  background: #f5f7f8;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.seminar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.seminar-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 18px;
  background: #293132;
  color: #fff;
  box-shadow: 0 10px 28px rgba(25, 35, 38, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.seminar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #2196f3;
}

.seminar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(25, 35, 38, 0.2);
}

.card-number {
  position: absolute;
  top: 18px;
  right: 24px;
  color: rgba(255, 255, 255, 0.12);
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 900;
}

.card-label {
  margin: 0 0 0.4rem;
  color: #8fd0ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.seminar-card h3 {
  margin: 0 0 1.4rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.4;
}

.seminar-meta {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.seminar-meta p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

.seminar-meta span {
  display: inline-block;
  min-width: 4em;
  margin-right: 0.4rem;
  color: #8fd0ff;
  font-weight: 700;
}

.card-description {
  min-height: 5.2em;
  margin: 1.3rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.92);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.35rem;
  border-radius: 7px;
  background: #2196f3;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  background: #1976d2;
  transform: translateX(2px);
}

/* =========================
   ページトップボタン
   ========================= */
#page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;

  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;

  background: #293132;
  color: #fff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);

  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background 0.2s ease;
}

#page-top span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

#page-top {
  font-size: 1.2rem;
  line-height: 1;
}

#page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#page-top:hover,
#page-top:focus-visible {
  background: #2196f3;
}

@media (max-width: 768px) {
  #page-top {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
}

/* =========================
   フッター
   ========================= */
footer {
  padding: 1.4rem 1rem;
  background: #eceeef;
  color: #465055;
  text-align: center;
  font-size: 0.85rem;
}

footer p {
  margin: 0;
}

/* =========================
   スマートフォン
   ========================= */
@media (max-width: 768px) {
  .nav-container {
    min-height: 60px;
  }

  .site-title {
    max-width: calc(100% - 45px);
  }

  .navbar {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    width: min(240px, 80vw);
    padding: 1rem;
    background: #25292a;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  }

  .navbar ul {
    flex-direction: column;
    gap: 0;
  }

  .navbar li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .navbar a {
    display: block;
    padding: 0.8rem 0.2rem;
  }

  .navbar.active {
    display: block;
  }

  .menu-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .hero {
    min-height: 500px;
    background-position: center;
  }

  .hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(0, 61, 100, 0.62),
        rgba(0, 40, 70, 0.72)
      );
  }

  .hero-content {
    width: min(100% - 30px, 700px);
  }

  .hero h2 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .hero-description br {
    display: none;
  }

  .seminar-grid {
    grid-template-columns: 1fr;
  }

  .seminar-card {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 460px;
  }

  .hero-label {
    letter-spacing: 0.03em;
  }

  .hero-badge {
    margin-top: 1.3rem;
  }

  .section-inner {
    width: min(100% - 28px, 1100px);
  }

  .seminar-list {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* キーボード操作時の見やすいフォーカス */
:focus-visible {
  outline: 3px solid #8fd0ff;
  outline-offset: 3px;
}


/* =========================
   講座詳細ページ
   index.html と共通のデザインシステム
   ========================= */
.detail-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 76px) 20px;
  background:
    linear-gradient(90deg, rgba(0, 61, 100, 0.96), rgba(0, 61, 100, 0.78)),
    url("titleback.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.detail-hero-inner {
  width: min(900px, calc(100% - 20px));
  margin: 0 auto;
}

.detail-hero .section-kicker {
  color: #8fd0ff;
}

.detail-hero h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  line-height: 1.3;
}

.detail-hero p:not(.section-kicker) {
  margin: 0;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
}

.detail-badge {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.35rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.detail-content {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(35px, 5vw, 60px) 0 70px;
}

/* 既存サイトの「白いカード」を index の雰囲気に合わせて再構成 */
.card {
  margin: 0 0 24px;
  padding: clamp(24px, 4vw, 36px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(30, 45, 50, 0.10);
}

.card h2 {
  margin: 0 0 1.2rem;
  padding-left: 0.8rem;
  border-left: 5px solid #2196f3;
  color: #263238;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.4;
}

.card p {
  margin: 0 0 0.8rem;
}

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

/* 開催情報 */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.info-card {
  padding: 24px 26px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 45, 50, 0.08);
  border-top: 4px solid #2196f3;
}

.info-label {
  margin: 0 0 0.35rem;
  color: #1976d2;
  font-size: 1.2rem;
  font-weight: 800;
}

.info-value {
  margin: 0;
  color: #263238;
  font-size: 1.15rem;
  font-weight: 700;
}

.info-note {
  margin: 0.25rem 0 0;
  color: #667278;
  font-size: 0.85rem;
}

/* カリキュラム */
.curriculum-card {
  padding-bottom: 10px;
}

.card-heading {
  margin-bottom: 2rem;
}

.card-heading .section-kicker {
  margin-bottom: 0.15rem;
}

.card-heading h2 {
  margin-bottom: 0;
}

.day-block {
  padding: 0 0 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e6eaec;
}

.day-block:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.day-block h3 {
  margin: 0 0 1rem;
  color: #263238;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.day-block h3 span {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.18rem 0.55rem;
  border-radius: 5px;
  background: #e9f5ff;
  color: #1976d2;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  vertical-align: middle;
}

.day-block ol {
  margin: 0;
  padding-left: 1.5rem;
}

.day-block ol > li {
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.day-block ul {
  margin-top: 0.35rem;
  padding-left: 1.3rem;
}

.day-block ul li {
  margin-bottom: 0.25rem;
  font-weight: 400;
}

/* 申込み */
.apply-card {
  margin-top: 24px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 16px;
  background: #293132;
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 28px rgba(25, 35, 38, 0.14);
}

.apply-card .section-kicker {
  color: #8fd0ff;
}

.apply-card h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.apply-card p {
  margin: 0 0 1.2rem;
}

.btn-large {
  padding: 0.85rem 1.6rem;
  font-size: 1.05rem;
}

.apply-note {
  display: inline-block;
  margin-left: 0.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.back-link {
  margin: 28px 0 0;
  text-align: center;
}

.back-link a {
  color: #1976d2;
  font-weight: 700;
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .detail-content {
    width: min(100% - 28px, 1000px);
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .apply-note {
    display: block;
    margin: 0.7rem 0 0;
  }
}

@media (max-width: 480px) {
  .detail-hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .detail-content {
    width: calc(100% - 20px);
  }

  .card,
  .info-card {
    padding: 22px 18px;
  }

  .day-block h3 span {
    display: block;
    width: fit-content;
    margin-bottom: 0.35rem;
  }
}

/* =========================
   研修の特徴：4つのポイント
   ========================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.feature-card {
  position: relative;
  min-height: 150px;
  padding: 28px 28px 26px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(30, 45, 50, 0.10);
  border-top: 4px solid #2196f3;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #e9f5ff;
}

.feature-number {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 12px;
  color: #1976d2;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #263238;
  font-size: 1.05rem;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card {
    min-height: auto;
    padding: 22px 22px 20px;
  }
}
