@charset "UTF-8";

/* =========================================
   基本設定・リセット
   ========================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.8;
  background-color: #f9f9f9;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom; /* 画像の下に隙間ができないようにする */
}

/* =========================================
   共通クラス
   ========================================= */
.container {
  max-width: 1280px; /* コンテンツの最大幅 */
  margin: 0 auto; /* 中央揃え */
  padding: 0 24px; /* 左右の余白 */
}

.section {
  padding: 100px 0; /* セクションの上下余白 */
}

.bg-light {
  background-color: #fff;
}

.bg-dark {
  background-color: #333;
  color: #fff;
}

.section-title {
  font-size: 40px;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.section-subtitle {
  text-align: center;
  margin-top: -40px;
  margin-bottom: 60px;
  color: #666;
}

.highlight {
  color: #d35400; /* オレンジ系の強調色 */
  font-weight: bold;
}

/* =========================================
   S01: メインビジュアル
   ========================================= */
#main-visual {
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: left;
  overflow: hidden;
}

/* 背景画像 */
#main-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/fv_img.png");
  background-size: cover;
  background-position: 75% center;
  z-index: 0;
}

/* 青系グラデーションオーバーレイ */
#main-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 51, 102, 0.85) 0%,
    rgba(44, 62, 80, 0.75) 50%,
    rgba(52, 152, 219, 0.6) 100%
  );
  z-index: 1;
}

/* 装飾：斜めのアクセントライン */
.main-visual-container::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  clip-path: polygon(0 60%, 100% 100%, 0 100%);
  z-index: 2;
}

.main-visual-container {
  width: 100%;
  position: relative;
  z-index: 3;
}

.main-visual-content {
  width: 100%;
  margin-right: auto;
}

.main-copy {
  text-align: left;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.main-copy-large {
  font-size: 80px;
  line-height: 1.1;
  display: block;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.02em;
}

.main-copy-large .lg-break {
  display: none;
}

/* 「！」にアクセントカラー */
.main-copy-large::after {
  content: "";
}

.main-copy-small {
  font-size: 28px;
  line-height: 1.4;
  display: inline-block;
  background: linear-gradient(90deg, #f1c40f, #e67e22);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: none;
}

.sub-copy {
  display: none;
}

/* =========================================
   S02: 総合学科の3つの特徴
   ========================================= */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.feature-item {
  display: flex;
  align-items: center; /* 上下中央 */
  justify-content: space-between;
  gap: 80px; /* ギャップを広めに */
}

/* 偶数番目（またはreverseクラス）は左右入れ替え */
.feature-item.reverse {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1; /* 横幅の割合 */
  /* 全幅指定を解除し、コンテナ内での表示に戻す */
  width: auto;
  margin-left: 0;
  margin-right: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); /* 影を大きくして浮遊感を出す */
  border-radius: 20px; /* 角丸も強めに */
  overflow: hidden;
  max-width: none;
}

/* 画像自体の設定 */
.feature-image img {
  width: 100%;
  object-fit: contain;
  display: block;
}

/* カリキュラム部分の特殊設定（不要になったので通常と同じ扱いに戻す） */
.feature-image:has(.curriculum-visual-container) {
  /* 特になし、他と同じ */
  width: 100%; /* 親のflexに合わせる */
}

.feature-text {
  flex: 1; /* テキストエリアも同じ比率 */
  text-align: left; /* 左揃えに戻す */
  max-width: none;
  padding: 0;
}

.feature-head {
  font-size: 32px;
  margin-bottom: 24px;
  line-height: 1.4;
  color: #003366;
  border-bottom: 4px solid #f1c40f;
  display: inline-block;
  padding-bottom: 8px;
  text-align: left; /* 左揃え */
}

.feature-desc {
  font-size: 16px;
  margin-bottom: 24px;
}

/* カリキュラムグリッド：左右分割に戻るので2列にする */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* スマホ対応 */
@media screen and (max-width: 900px) {
  .feature-item,
  .feature-item.reverse {
    flex-direction: column; /* 縦並び */
    gap: 40px;
  }

  .feature-image img {
    height: 250px; /* スマホでは高さを抑える */
  }

  .feature-head {
    font-size: 24px;
  }

  /* スマホのときのカリキュラムグリッド調整 */
  .curriculum-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.course-card {
  background: white;
  border-radius: 15px;
  padding: 30px 20px; /* 余白を少し増やす */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  height: 100%; /* 高さ揃える */
}

.course-card:hover {
  transform: translateY(-5px); /* ホバー時にふわっと浮く */
}

.course-icon {
  font-size: 40px;
  margin-bottom: 10px;
  display: block;
}

.course-name {
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
  font-weight: bold;
}

.course-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

/* スマホでは1列にするか、そのまま2列で小さくするか。
   今回は2列のままでカードを見やすくする */
@media screen and (max-width: 480px) {
  .curriculum-grid {
    gap: 10px;
  }
  .course-card {
    padding: 15px 8px;
  }
  .course-icon {
    font-size: 32px;
  }
}

/* =========================================
   S03: 比較コンテンツ
   ========================================= */
.comparison-wrap {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: stretch;
}

/* グラフ・構造部分 */
.comparison-graph {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* グラフ部分（構造ビジュアル） */
.structure-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
}

.structure-case {
  width: 100%;
}

.case-label {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.block-container {
  display: flex;
  width: 100%;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  transition: all 0.3s;
}

.block-mandatory {
  background-color: #95a5a6; /* 普通のグレー */
}

.block-elective {
  background-color: #bdc3c7; /* 薄いグレー */
  color: #333;
}

/* 総合学科でのハイライト */
.highlight-case .block-mandatory {
  background-color: #2c3e50; /* 濃いネイビー */
}

.highlight-block {
  background-color: #f1c40f !important; /* 明るい黄色 */
  color: #2c3e50 !important;
  position: relative;
  font-size: 16px;
  line-height: 1.2;
}

.highlight-badge {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  background: #e74c3c;
  color: #fff;
  font-size: 14px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: bold;
}

/* 比率調整クラス */
.sm-8 {
  flex: 8;
}
.sm-4 {
  flex: 1.5;
} /* 必修をかなり小さく見せる演出 */
.sm-2 {
  flex: 2;
}
.sm-6 {
  flex: 3.5;
} /* 選択を大きく見せる */

/* 矢印 */
.structure-arrow {
  font-size: 24px;
  color: #ccc;
  font-weight: bold;
}

/* スマホ調整 */
@media screen and (max-width: 480px) {
  .block-container {
    height: 50px;
  }
  .block {
    font-size: 12px;
  }
  .highlight-block {
    font-size: 13px;
  }
}

/* テーブル部分(削除) → カードリストに変更 */
.comparison-card-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comparison-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #eee;
  /* 横並びにして左にタイトル、右に内容を持ってくる */
  display: flex;
  align-items: center;
  gap: 20px;
}

.comp-header {
  flex: 0 0 140px; /* 固定幅 */
  text-align: center;
  border-right: 2px solid #ddd;
  padding-right: 20px;
}

.comp-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 8px;
}

.comp-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.comp-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between; /* 両端配置 */
}

.comp-row {
  flex: 1;
  text-align: center;
}

.comp-label {
  display: block;
  font-size: 12px;
  color: #7f8c8d;
  margin-bottom: 4px;
}

.comp-text {
  font-size: 16px;
  font-weight: 500;
}

.comp-arrow {
  font-size: 24px;
  color: #ccc;
  margin: 0 16px;
  transform: rotate(-90deg); /* 右向き矢印にする */
}

.highlight-text {
  color: #d35400; /* 強調色 */
  font-weight: bold;
  font-size: 18px; /* 少し大きく */
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
  .comparison-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .comp-header {
    width: 100%;
    border-right: none;
    border-bottom: 2px solid #ddd;
    padding-right: 0;
    padding-bottom: 12px;
    flex: auto;
  }
  .comp-body {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .comp-arrow {
    transform: rotate(0deg); /* 縦向き矢印に戻す */
    margin: 8px 0;
  }

  /* POINTが被らないようにする */
  .highlight-badge {
    position: absolute;
    top: 70%;
    transform: translateY(-50%);
    right: 10px;
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
  }
}

.note {
  font-size: 12px;
  color: #888;
  margin-top: 16px;
}

/* =========================================
   S04: 進路サポート
   ========================================= */
.career-content-column {
  text-align: center;
}

.career-message {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 60px;
  line-height: 1.6;
  color: #2c3e50;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ポップなサークル表示 */
.career-visual-circles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.circle-item {
  width: 160px; /* 正円のサイズ */
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
  position: relative;
}

/* ふわふわ浮くアニメーション */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* それぞれの色と動きを設定 */
.c-uni {
  background: linear-gradient(135deg, #3498db, #2980b9);
  width: 180px; /* 大学だけ少し大きく */
  height: 180px;
  font-size: 20px;
  animation: float 4s ease-in-out infinite;
}

.c-col {
  background: linear-gradient(135deg, #e67e22, #d35400);
  margin-top: 40px; /* ずらして配置 */
  animation: float 4.5s ease-in-out infinite 0.5s;
}

.c-voc {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  animation: float 5s ease-in-out infinite 1s;
}

.c-job {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  margin-top: 40px; /* ずらして配置 */
  animation: float 4.2s ease-in-out infinite 1.5s;
}

.c-oth {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
  color: #333; /* 黄色背景なので文字は黒 */
  width: 130px; /* その他は少し小さく */
  height: 130px;
  font-size: 14px;
  animation: float 4.8s ease-in-out infinite 2s;
}

.circle-item:hover {
  transform: scale(1.1) !important; /* ホバー時は拡大 */
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .career-visual-circles {
    gap: 15px;
  }
  .circle-item {
    width: 100px;
    height: 100px;
    font-size: 12px;
    margin-top: 0; /* ずらしを解除 */
  }
  .c-uni {
    width: 120px;
    height: 120px;
    font-size: 14px;
  }
  .c-oth {
    width: 90px;
    height: 90px;
  }
}

/* =========================================
   S05: 出典・リファレンス
   ========================================= */
#reference {
  background-color: transparent; /* 背景色を透明にして目立たなくする */
  color: #999; /* 文字色を薄いグレーに */
  padding: 20px 0; /* 上下の余白を小さく */
  font-size: 11px; /* 文字サイズを小さく */
  text-align: right; /* 右寄せにして脇役感を出す(お好みで) → 今回は中央か左寄せのまま目立たなくするだけにします */
}

.reference-box {
  border-top: 1px solid #ddd; /* 薄い線で区切る */
  padding-top: 20px;
}

.reference-box h4 {
  margin-bottom: 8px;
  color: #777; /* 見出しもグレーに */
  font-size: 12px;
  font-weight: normal; /* 太字をやめる */
}

.reference-box ul {
  list-style: none;
  margin-bottom: 8px; /* 下マージンを減らす */
}

.reference-box li {
  margin-bottom: 2px; /* リスト間の隙間を詰める */
  display: inline-block; /* 横並びにしてさらにコンパクトにする案もありだが、今回は縦のまま詰める */
  margin-right: 1em; /* 横並びにするなら必要 */
}

/* スマホでは縦並びに戻す、もしくはそのまま */
@media screen and (max-width: 768px) {
  .reference-box li {
    display: block;
    margin-bottom: 4px;
  }
}

/* =========================================
   S06: CTA
   ========================================= */
.cta-section {
  text-align: center;
  background: #f1f1f1;
}

.cta-head {
  font-size: clamp(20px, 4vw, 36px);
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 18px;
  margin-bottom: 40px;
}

.btn-check {
  display: inline-block;
  background-color: #e67e22; /* 目立つオレンジ */
  color: #fff;
  padding: 20px 60px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  transition:
    background-color 0.3s,
    transform 0.2s;
  box-shadow: 0 4px 10px rgba(230, 126, 34, 0.4);
}

.btn-check:hover {
  background-color: #d35400; /* ホバー時に濃く */
  transform: translateY(-2px); /* 少し浮く */
}

/* =========================================
   Footer
   ========================================= */
footer {
  text-align: center;
  padding: 20px 0;
  background: #2c3e50;
  color: #7f8c8d;
  font-size: 14px;
}

/* =========================================
   レスポンシブ (スマホ対応)
   ========================================= */
@media screen and (max-width: 768px) {
  /* 全体の余白調整 */
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  /* メインビジュアル */
  #main-visual {
    height: 100vh;
    height: 100svh;
  }

  .main-visual-container::before {
    height: 120px;
  }

  .main-visual-container::after {
    width: 200px;
    height: 200px;
  }

  .main-copy {
    gap: 16px;
  }

  .main-copy-large {
    font-size: 32px;
    line-height: 1.3;
  }

  .main-copy-large .lg-break {
    display: block;
  }

  .main-copy-small {
    font-size: 18px;
    letter-spacing: 0.05em;
  }

  .sub-copy {
    font-size: 16px;
  }

  /* 特徴セクション */
  .feature-item,
  .feature-item.reverse {
    flex-direction: column; /* 縦並び */
    gap: 30px;
  }

  .feature-head {
    font-size: 24px;
  }

  /* 比較セクション */
  .comparison-wrap {
    flex-direction: column; /* 縦並び */
    gap: 40px;
  }

  .graph-bar {
    font-size: 12px;
  }

  .fill-high {
    width: 70%;
  } /* スマホで見やすく調整 */

  /* 進路サポート */
  .career-content {
    flex-direction: column; /* 縦並び */
    text-align: center;
  }

  .career-tags {
    justify-content: center;
  }

  .btn-check {
    padding: 16px 30px;
    font-size: 16px;
    width: 100%;
    max-width: 320px;
  }
}
