@charset "UTF-8";
/* =========================================================
   ocampus-test.css
   オープンキャンパス（test）ページ専用 追加スタイル
   ※ ocampus.css とは別管理。新クラスにスコープしているため
     /ocampus/（本番OCページ）には一切影響しない。
   ========================================================= */

/* ---------------------------------------------------------
   1) 学科紹介(#service_flow) の4学科カードを横一列にする
   --------------------------------------------------------- */
#service_flow .flowArea.octest-gakka4 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px;
  margin: 0 auto !important;
  max-width: 1120px;
}

#service_flow .flowArea.octest-gakka4 .flowBox {
  width: auto !important;
  /* 既存の 33.3333% / 50% / 100% を解除 */
  margin: 0 !important;
  float: none !important;
}

#service_flow .flowArea.octest-gakka4 .flowBox .inner {
  height: 100%;
  /* 行内のカード高さを揃える */
}

/* 写真ブロック削除で :nth-child がずれるため、学科ごとのバッジ色を再指定 */
#service_flow .flowArea.octest-gakka4 .flowBox:nth-child(1) h3:before {
  color: #f47c09 !important;
}

/* はりきゅう */
#service_flow .flowArea.octest-gakka4 .flowBox:nth-child(2) h3:before {
  color: #00af66 !important;
}

/* 柔道整復 */
#service_flow .flowArea.octest-gakka4 .flowBox:nth-child(3) h3:before {
  color: #f3439c !important;
}

/* 介護福祉 */
#service_flow .flowArea.octest-gakka4 .flowBox:nth-child(4) h3:before {
  color: #ea193e !important;
}

/* スポーツトレーナー */

/* レスポンシブ：タブレット=2列／スマホ=1列 */
@media only screen and (max-width: 900px) {
  #service_flow .flowArea.octest-gakka4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media only screen and (max-width: 560px) {
  #service_flow .flowArea.octest-gakka4 {
    grid-template-columns: 1fr !important;
  }

  #service_flow .flowArea.octest-gakka4 .flowBox {
    margin-top: 0 !important;
  }
}


/* ---------------------------------------------------------
   2) #oc-support を2カラム化
      左 = チャット相談（既存 .apply-box）／右 = アンケート結果への導線
   --------------------------------------------------------- */
#oc-support .octest-oc2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}

/* 左カラム：既存チャットボックスを2カラム幅に最適化 */
#oc-support .octest-oc2col>.apply-box {
  margin: 0;
  height: 100%;
  box-sizing: border-box;
  padding: 48px 34px;
  /* 2カラム時は余白を詰める */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 右カラム：アンケートCTA */
.octest-survey-cta {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  box-shadow: 0 20px 40px rgb(121 121 121 / 12%);
  height: 100%;
  box-sizing: border-box;
}

.octest-survey-cta__lead {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.9;
  color: #333;
  margin: 0;
}

.octest-survey-cta__imglink {
  display: block;
  line-height: 0;
}

.octest-survey-cta__imglink img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.octest-survey-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  align-self: center;
  background: #f5a623;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .04em;
  padding: 16px 34px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(245, 166, 35, .3);
  transition: opacity .2s, transform .2s;
}

.octest-survey-cta__btn:hover {
  opacity: .9;
  transform: translateY(-2px);
}

.octest-survey-cta__btn .arrow {
  font-size: 11px;
}

/* スマホ：2カラム → 縦積み（1カラム） */
@media only screen and (max-width: 768px) {
  #oc-support .octest-oc2col {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  #oc-support .octest-oc2col>.apply-box {
    padding: 36px 24px;
  }
}