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

/* ===== ABOUT INTRO ===== */
  .about-intro { background: var(--cream); }
  .about-intro-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .about-intro-text p { font-size: 15px; font-weight: 300; line-height: 2.2; color: var(--dark); margin-bottom: 20px; }
  .about-intro-visual { position: relative; }
  .about-intro-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; border: 1px solid rgba(245,200,0,0.15); display: block; }
  .about-intro-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; }

  /* ===== STATS ===== */
  .stats-section { background: var(--blue-dark); padding: 80px 0; }
  .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
  .stat-card { background: rgba(255,255,255,0.04); padding: 48px 32px; text-align: center; border: 1px solid rgba(255,255,255,0.06); transition: all 0.4s; }
  .stat-card:hover { background: rgba(245,200,0,0.07); border-color: rgba(245,200,0,0.2); }
  .stat-number { font-family: 'Cormorant Garamond', serif; font-size: clamp(48px, 5vw, 72px); font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 12px; }
  .stat-number sup { font-size: 0.4em; vertical-align: super; }
  .stat-label { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.55); letter-spacing: 0.15em; line-height: 1.8; }

  /* ===== TIMELINE ===== */
  .timeline-section { background: var(--white); }
  .timeline { position: relative; margin-top: 64px; }
  /* 中央縦線 */
  .timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, transparent, rgba(245,200,0,0.6) 5%, rgba(245,200,0,0.6) 95%, transparent); transform: translateX(-50%); }

  .timeline-item { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 0; margin-bottom: 0; position: relative; }
  .timeline-item > * { grid-row: 1; }
  /* 左側コンテンツ（偶数） */
  .timeline-item:nth-child(even) .timeline-content { grid-column: 1; text-align: right; padding: 32px 48px 32px 0; }
  .timeline-item:nth-child(even) .timeline-empty { grid-column: 3; }
  /* 右側コンテンツ（奇数） */
  .timeline-item:nth-child(odd) .timeline-content { grid-column: 3; text-align: left; padding: 32px 0 32px 48px; }
  .timeline-item:nth-child(odd) .timeline-empty { grid-column: 1; }

  .timeline-center { grid-column: 2; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; }
  .timeline-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--white); box-shadow: 0 0 0 3px rgba(245,200,0,0.25); margin-top: 32px; flex-shrink: 0; transition: transform 0.3s; }
  .timeline-item:hover .timeline-dot { transform: scale(1.4); }

  .timeline-year { font-family: 'Cormorant Garamond', serif; font-size: 13px; font-weight: 400; color: var(--gold); letter-spacing: 0.2em; margin-bottom: 8px; display: block; }
  .timeline-event { font-size: 13px; font-weight: 300; color: var(--dark); line-height: 1.9; }
  .timeline-event strong { display: block; font-size: 12px; font-weight: 500; color: var(--black); letter-spacing: 0.05em; margin-bottom: 4px; }

  /* ハイライト年（節目） */
  .timeline-item.milestone .timeline-dot { width: 18px; height: 18px; background: var(--gold); box-shadow: 0 0 0 5px rgba(245,200,0,0.2); margin-top: 29px; }
  .timeline-item.milestone .timeline-year { font-size: 15px; }
  .timeline-item.milestone .timeline-content { background: var(--light); border-radius: 4px; }
  .timeline-item.milestone:nth-child(even) .timeline-content { padding-right: 48px; }
  .timeline-item.milestone:nth-child(odd) .timeline-content { padding-left: 48px; }

  /* 受賞バッジ */
  .award-badge { display: inline-block; background: rgba(245,200,0,0.1); border: 1px solid rgba(245,200,0,0.3); color: var(--gold-dark); font-size: 10px; font-weight: 500; padding: 2px 10px; border-radius: 2px; letter-spacing: 0.1em; margin-top: 6px; }

  /* ===== PHOTO STRIP ===== */
  .photo-strip { background: var(--blue-dark); padding: 0; overflow: hidden; }
  .photo-strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
  .photo-strip-item { position: relative; aspect-ratio: 16/9; overflow: hidden; }
  .photo-strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.4,0,0.2,1); filter: brightness(0.75); }
  .photo-strip-item:hover img { transform: scale(1.06); filter: brightness(0.9); }
  .photo-strip-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,20,60,0.7) 100%); }

  /* ===== SUB NAV ===== */
  .sub-nav-section { background: var(--cream); padding: 64px 0; }
  .sub-nav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
  .sub-nav-card { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid rgba(0,61,128,0.1); padding: 28px 28px 24px; border-radius: 3px; transition: all 0.3s; position: relative; overflow: hidden; }
  .sub-nav-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); opacity: 0; transition: opacity 0.3s; }
  .sub-nav-card:hover { border-color: rgba(245,200,0,0.4); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,61,128,0.1); }
  .sub-nav-card:hover::before { opacity: 1; }
  .sub-nav-card:hover .sub-nav-title { color: var(--blue); }
  .sub-nav-label { font-family: 'Outfit', sans-serif; font-size: 9px; font-weight: 600; letter-spacing: 0.35em; color: var(--gold-dark); text-transform: uppercase; margin-bottom: 10px; }
  .sub-nav-title { font-family: 'Noto Serif JP', serif; font-size: 16px; font-weight: 400; color: var(--black); letter-spacing: 0.08em; margin-bottom: 10px; transition: color 0.3s; }
  .sub-nav-desc { font-size: 12px; font-weight: 300; color: var(--mid); line-height: 1.9; flex: 1; }
  .sub-nav-arrow { font-size: 16px; color: var(--gold); margin-top: 16px; transition: transform 0.3s; }
  .sub-nav-card:hover .sub-nav-arrow { transform: translateX(4px); }

  /* ===== 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 ===== */

  /* ===== FOOTER ===== */

  /* ===== PHILOSOPHY CARDS ===== */
  .philosophy-card {
    background: var(--light); padding: 36px 24px;
    position: relative; text-align: center;
  }
  .philosophy-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px; font-weight: 300; color: #f5c800;
    line-height: 1; display: block; margin-bottom: 16px;
  }
  .philosophy-text {
    font-size: 13px; font-weight: 300; color: var(--dark);
    line-height: 1.9; letter-spacing: 0.03em;
  }

  /* ===== OVERVIEW GRID ===== */
  .overview-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-top: 64px;
  }
  .overview-card {
    background: var(--white); border: 1px solid rgba(0,61,128,0.08);
    border-radius: 4px; overflow: hidden; transition: all 0.4s;
  }
  .overview-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,61,128,0.12); border-color: rgba(245,200,0,0.3); }
  .overview-card-img-wrap { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
  .overview-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
  .overview-card:hover .overview-card-img-wrap img { transform: scale(1.05); }
  .overview-card-body { padding: 28px; }
  .overview-label { font-family: 'Outfit', sans-serif; font-size: 9px; font-weight: 600; letter-spacing: 0.35em; color: var(--gold-dark); text-transform: uppercase; display: block; margin-bottom: 10px; }
  .overview-title { font-family: 'Noto Serif JP', serif; font-size: 16px; font-weight: 400; color: var(--black); letter-spacing: 0.05em; margin-bottom: 14px; line-height: 1.5; }
  .overview-text { font-size: 13px; font-weight: 300; color: var(--mid); line-height: 2; }

  /* ===== RESPONSIVE additions ===== */
  @media (max-width: 1024px) {
    .overview-grid { grid-template-columns: 1fr; gap: 16px; }
  }
  @media (max-width: 768px) {
    [style*="grid-template-columns:repeat(5"] { grid-template-columns: 1fr 1fr !important; }
    .overview-grid { grid-template-columns: 1fr; }
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 1024px) {
    .about-intro-inner { grid-template-columns: 1fr; gap: 48px; }
    .about-intro-visual { order: -1; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .sub-nav-grid { grid-template-columns: repeat(2, 1fr); }
    .oc-inner::after { display: none; }
    /* タイムライン：1024px以下でも2カラム維持 */
  }
  @media (max-width: 768px) {
    /* タイムラインをシングルカラムに */
    .timeline::before { left: 24px; }
    .timeline-item { grid-template-columns: 48px 1fr; }
    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content { grid-column: 2; text-align: left; padding: 24px 0 24px 24px; }
    .timeline-item:nth-child(even) .timeline-empty,
    .timeline-item:nth-child(odd) .timeline-empty { display: none; }
    .timeline-center { grid-column: 1; align-items: center; }
    .timeline-dot { margin-top: 28px; }
    .timeline-item.milestone .timeline-content { padding-left: 24px !important; padding-right: 0 !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .photo-strip-inner { grid-template-columns: 1fr; }
    .sub-nav-grid { grid-template-columns: 1fr; }
    .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; }
    .about-intro-badge { width: 90px; height: 90px; bottom: -16px; left: -12px; }
    .badge-number { font-size: 26px; }
  }
  @media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
  }