/* ============================================================
   KOTO FASHION SCHOOL — course-content.css
   course-content/index.html 固有スタイル
   共通スタイルは /css/common.css を参照
============================================================ */

/* ===== INTRO SECTION ===== */
.intro {
  background: #EEF5FF;
}
.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-text p {
  font-size: 15px;
  font-weight: 300;
  line-height: 2.2;
  color: var(--dark);
  margin-bottom: 20px;
}
.intro-text strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.05em;
  line-height: 2;
  margin: 24px 0;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
}
.intro-visual {
  position: relative;
}
.intro-visual-main {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(245,200,0,0.08), rgba(0,91,187,0.12));
  border: 1px solid rgba(245,200,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.intro-visual-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro-visual-main::before {
  content: 'FASHION';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  font-style: italic;
  color: rgba(0,91,187,0.15);
  letter-spacing: -0.03em;
  pointer-events: none;
}
.intro-visual-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--blue-dark);
  border: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.badge-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.badge-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  text-align: center;
  line-height: 1.4;
}

/* ===== QUALIFICATIONS ===== */
.qualifications {
  background: var(--white);
}
.qual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
}
.qual-box {
  background: var(--light);
  border-left: 4px solid var(--blue-dark);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}
.qual-box:hover {
  background: var(--blue-dark);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,61,128,0.2);
}
.qual-box:hover .qual-box-title,
.qual-box:hover .qual-item { color: var(--white); }
.qual-box:hover .qual-item::before { background: var(--gold); }
.qual-box-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  font-weight: 300;
  color: rgba(0,0,0,0.05);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 24px;
  transition: color 0.4s;
}
.qual-box:hover .qual-box-num { color: rgba(245,200,0,0.12); }
.qual-box-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--blue-dark);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,61,128,0.1);
  transition: color 0.4s;
}
.qual-box:hover .qual-box-title { border-bottom-color: rgba(255,255,255,0.15); }
.qual-item {
  font-size: 13px;
  font-weight: 300;
  color: var(--dark);
  line-height: 2;
  letter-spacing: 0.05em;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: color 0.4s;
}
.qual-item::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 10px;
  flex-shrink: 0;
  transition: background 0.4s;
}

/* ===== SUBJECTS ===== */
.subjects { background: var(--blue-dark); }
.subjects .section-title { color: var(--white); }
.subjects .section-title-jp { color: rgba(255,255,255,0.55); }
.subjects .section-tag-text { color: var(--gold); }
.subjects .section-tag-line { background: var(--gold); }
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 64px;
}
.subject-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: default;
  background: var(--charcoal);
}
.subject-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
  filter: brightness(0.85);
}
.subject-card:hover .subject-card-img {
  transform: scale(1.07);
  filter: brightness(0.65);
}
.subject-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.05) 0%, rgba(0,10,30,0.25) 40%, rgba(0,10,30,0.72) 100%);
  transition: background 0.4s;
}
.subject-card:hover .subject-card-overlay {
  background: linear-gradient(to bottom, rgba(255,255,255,0.05) 0%, rgba(0,10,30,0.35) 35%, rgba(0,10,30,0.82) 100%);
}
.subject-card::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0; top: 0;
  width: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
}
.subject-card:hover::before { opacity: 1; }
.subject-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  z-index: 2;
}
.subject-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  font-style: italic;
  margin-bottom: 10px;
  display: block;
  transition: opacity 0.3s;
}
.subject-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.4;
  letter-spacing: 0.08em;
  margin-bottom: 0;
  transition: color 0.4s, margin-bottom 0.4s;
}
.subject-card:hover .subject-title {
  color: var(--gold-light);
  margin-bottom: 14px;
}
.subject-text {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease;
}
.subject-card:hover .subject-text {
  max-height: 120px;
  opacity: 1;
}
.subject-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
}
.subject-card:hover .subject-accent { opacity: 1; }

/* ===== TIMETABLE ===== */
.timetable-section { background: var(--cream); }
.timetable-wrap {
  margin-top: 64px;
  overflow-x: auto;
  border-radius: 4px;
  box-shadow: 0 4px 40px rgba(0,61,128,0.08);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--white);
}
thead tr { background: var(--blue-dark); }
thead th {
  padding: 18px 24px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.85);
  border-bottom: 2px solid rgba(245,200,0,0.3);
  white-space: nowrap;
}
thead th:first-child { text-align: left; }
tbody tr {
  border-bottom: 1px solid rgba(0,61,128,0.07);
  transition: background 0.2s;
}
tbody tr:hover { background: var(--light); }
tbody tr:last-child { border-bottom: none; }
tbody td {
  padding: 16px 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 300;
  color: var(--dark);
  letter-spacing: 0.05em;
}
tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--black);
  font-size: 13px;
  letter-spacing: 0.08em;
}
tfoot tr { background: var(--blue-dark); }
tfoot td {
  padding: 16px 24px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
}
tfoot td:first-child { text-align: left; }
.subject-tag {
  display: inline-block;
  background: rgba(0,61,128,0.08);
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.1em;
  margin-left: 8px;
  vertical-align: middle;
}

/* ===== OC BANNER ===== */
.oc-banner { background: var(--white); padding: 80px 0; }
.oc-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: var(--cream);
  border: 1px solid rgba(245,200,0,0.3);
  padding: 60px 72px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.oc-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
}
.oc-inner::after {
  content: 'OC';
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 180px;
  font-weight: 300;
  color: rgba(245,200,0,0.07);
  line-height: 1;
  font-style: italic;
}
.oc-text { flex: 1; }
.oc-eyebrow {
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  margin-bottom: 16px;
}
.oc-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--black);
  line-height: 1.6;
  margin-bottom: 12px;
}
.oc-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
  line-height: 2;
  max-width: 420px;
}
.oc-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.btn-oc-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--gold);
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  border-radius: 2px;
  transition: all 0.3s;
  white-space: nowrap;
}
.btn-oc-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}
.btn-oc-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border: 1px solid var(--blue-dark);
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  border-radius: 2px;
  transition: all 0.3s;
  white-space: nowrap;
}
.btn-oc-secondary:hover {
  background: var(--blue-dark);
  color: var(--white);
}

/* ===== SNS BAR ===== */
.sns-icon { font-size: 14px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .intro-inner { grid-template-columns: 1fr; gap: 48px; }
  .intro-visual { order: -1; }
  .qual-grid { grid-template-columns: 1fr; }
  .subjects-grid { grid-template-columns: 1fr 1fr; }
  .oc-inner::after { display: none; }
}
@media (max-width: 768px) {
  .subjects-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .subject-card { aspect-ratio: 3/4; }
  .intro-inner { gap: 36px; }
  .intro-visual-badge { width: 90px; height: 90px; bottom: -16px; left: -12px; }
  .badge-number { font-size: 26px; }
  .oc-inner { flex-direction: column; padding: 36px 24px; gap: 28px; }
  .oc-title { font-size: 20px; }
  .oc-actions { flex-direction: row; flex-wrap: wrap; }
  .btn-oc-primary, .btn-oc-secondary {
    flex: 1;
    min-width: 140px;
    padding: 14px 16px;
    font-size: 11px;
  }
}
@media (max-width: 480px) {
  .qual-grid { grid-template-columns: 1fr; }
  .subjects-grid { grid-template-columns: 1fr; }
  .subject-card { aspect-ratio: 4/3; }
}
