@charset "UTF-8";

/* ==========================================================================
   1. 共通スタイル（ベース・ユーティリティ）
   ========================================================================== */
picture img {
  width: 100%;
  height: auto;
  display: block;
}

.sp-br {
  display: none;
}
.breadcrumbs + .pg_ttl.short {
    min-height: 100px;
}
@media screen and (max-width: 600px) {
  .sp-br {
    display: block;
  }
}

.text-indent {
  text-indent: -1.5em;
  padding-left: 1.5em;
}

/* 目次 */
.index {
  background: #f9f9f9;
  border: 1px solid #aaa;
  padding: 10px;
  width: auto;
  display: table;
  margin: 80px auto;
}

.toc_title {
  text-align: center;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.toc_list {
  margin-top: 1em;
}

.index li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.index a {
  padding: 5px 0;
  display: block;
}


/* ==========================================================================
   2. レイアウト・セクション
   ========================================================================== */
section.main,
section.copy {
  width: 100vw;
  overflow: hidden;
}

section.main img,
section.copy img {
  width: 100%;
  height: auto;
  display: block;
}

section.main {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

section.copy {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 0 30px;
}

.link_box_area p {
  margin: 0;
  font-size: 1.5rem;
  line-height: 3rem;
  font-weight: unset;
}


/* ==========================================================================
   3. タブ切り替え（Tab）
   ========================================================================== */
.tab-container {
  max-width: 1300px;
  margin: 0 auto;
}

.tab-container .tab-wrapper {
  background: #F2F1ED;
  padding: 60px;
  border-radius: 8px;
}

.tab-wrapper .block02 {
  margin-bottom: 0;
}

.tab-labels {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
  gap: 20px 12px;
  justify-content: left;
}

.tab-labels label {
  width: calc(25% - 9px);
  min-width: 70px;
  background-color: #ffffff;
  font-size: 16px;
  letter-spacing: 0.05em;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
  transition: background-color 0.3s, color 0.3s;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  padding: 8px;
}

/* タブボタンの色定義 & Hover / Active */
.tab-labels .btn_all { border: solid 2px #000; }
.tab-labels label.btn_all:hover, .tab-labels label.btn_all.active {
  background-color: #000; color: #fff; border: solid 2px #000; z-index: 1;
}

.tab-labels .btn_keiei { border: solid 2px #EC6D65; }
.tab-labels label.btn_keiei:hover, .tab-labels label.btn_keiei.active {
  background-color: #EC6D65; color: #fff; border: solid 2px #EC6D65; z-index: 1;
}

.tab-labels .btn_off { border: solid 2px #66BF97; }
.tab-labels label.btn_off:hover, .tab-labels label.btn_off.active {
  background-color: #66BF97; color: #fff; border: solid 2px #66BF97; z-index: 1;
}

.tab-labels .btn_aiit { border: solid 2px #D4CB69; }
.tab-labels label.btn_aiit:hover, .tab-labels label.btn_aiit.active {
  background-color: #D4CB69; color: #fff; border: solid 2px #D4CB69; z-index: 1;
}

.tab-labels .btn_spo { border: solid 2px #5185C5; }
.tab-labels label.btn_spo:hover, .tab-labels label.btn_spo.active {
  background-color: #5185C5; color: #fff; border: solid 2px #5185C5; z-index: 1;
}

.tab-labels .btn_flo { border: solid 2px #EE86A8; }
.tab-labels label.btn_flo:hover, .tab-labels label.btn_flo.active {
  background-color: #EE86A8; color: #fff; border: solid 2px #EE86A8; z-index: 1;
}

.tab-labels .btn_pet { border: solid 2px #f6ae6a; }
.tab-labels label.btn_pet:hover, .tab-labels label.btn_pet.active {
  background-color: #FFAE62; color: #fff; border: solid 2px #FFAE62; z-index: 1;
}

/* タブコンテンツの表示制御 */
.tab-contents {
  margin-bottom: 100px;
}

.tab-contents > div {
  display: none;
  padding: 1.5em 1em;
}

.tab-contents > div.active {
  display: block;
}


/* ==========================================================================
   4. カードレイアウト（Card）※1つ目のコードの見た目を優先
   ========================================================================== */
.card {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-items: stretch;
  gap: 60px 40px;
  margin: 80px 60px 0 60px;
  padding: 0;
  list-style: none;
}

.card__item {
  width: calc(33.3333333333% - 27px);
  flex: 0 1 calc(33.3333333333% - 27px);
  box-sizing: border-box;
  list-style: none;
  background: #fff;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.0509803922);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 450px;
  position: relative;
}

.card__item a {
  display: block;
  text-decoration: none;
  color: #222222;
}

.card__item a:hover {
  opacity: 0.6;
  transition: 0.5s;
}

.card__img-area {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.card__img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card h3 {
  font-size: 18px;
  position: sticky;
  z-index: 1;
}

.card__title {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

.text-area {
  padding: 20px 20px 90px 20px;
  line-height: 1.6;
  letter-spacing: 0.07em;
  position: relative;
}

/* アイコン装飾 (before) */
.text-area-busi::before {
  content: "";
  position: absolute;
  background-image: url(/files/work/keiei_icon.png);
  background-repeat: no-repeat;
  background-size: 47px;
  height: 43px;
  width: 47px;
  top: 140px;
  right: 20px;
}

.text-area-off::before {
  content: "";
  position: absolute;
  background-image: url(/files/work/office_icon.png);
  background-repeat: no-repeat;
  background-size: 48px;
  height: 42px;
  width: 48px;
  top: 140px;
  right: 20px;
}

.text-area-aiit::before {
  content: "";
  position: absolute;
  background-image: url(/files/work/AIIT_icon.png);
  background-repeat: no-repeat;
  background-size: 48px;
  height: 42px;
  width: 48px;
  top: 140px;
  right: 20px;
}

.text-area-sports::before {
  content: "";
  position: absolute;
  background-image: url(/files/work/sports_icon.png);
  background-repeat: no-repeat;
  background-size: 49px;
  height: 42px;
  width: 49px;
  top: 140px;
  right: 20px;
}

.text-area-flower::before {
  content: "";
  position: absolute;
  background-image: url(/files/work/flower_icon.png);
  background-repeat: no-repeat;
  background-size: 36px;
  height: 49px;
  width: 36px;
  top: 140px;
  right: 20px;
}

.text-area-pet::before {
  content: "";
  position: absolute;
  background-image: url(/files/work/pet_icon.png);
  background-repeat: no-repeat;
  background-size: 48px;
  height: 48px;
  width: 48px;
  top: 140px;
  right: 20px;
}


/* ==========================================================================
   5. ボタン・資格・その他コンポーネント
   ========================================================================== */
.button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70%;
  margin: 0 auto;
  padding: .9em 2em;
  border: none;
  border-radius: 5px;
  background-color: #727171;
  color: #fff;
  font-weight: 600;
  font-size: 1em;
  position: absolute;
  bottom: 15px;
  left: 20px;
}

.btn.longer a, 
.btn.longer .under_line {
  width: 90%;
  margin: 0 auto;
}

.btn .under_line::before {
  position: absolute;
  left: auto;
  display: block;
  height: 1.3rem;
  color: #222;
  content: "\e93c";
  letter-spacing: 0;
  font-size: 1rem;
  font-family: "tsb";
}

/* 資格ページ */
.shikaku_method {
  font-size: 1.3rem;
  line-height: 2.5rem;
}

.shikaku_method dt {
  font-weight: bold;
}

.shikaku_method dd {
  padding-bottom: 16px;
}

.shikaku_method dd::before {
  content: "ー";
  margin-right: 0.3em;
}

.shikaku_method_no dd::before {
  content: none;
}

ul.circle > li a,
.shikaku_method dd a {
  color: #26a69a;
  border-bottom: solid 1px;
}

.shikaku_n {
  background: #fb547c;
  padding: 5px 10px;
  display: inline-block;
  margin-bottom: 16px;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.6rem;
}

.shikaku_p {
  background: #54a7fb;
  padding: 5px 10px;
  display: inline-block;
  margin-bottom: 16px;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.6rem;
}

/* テーブルエリア */
.table_test {
  display: flex;
  gap: 30px;
}

.table_test > div {
  width: calc(100% / 3);
}


/* ==========================================================================
   6. レスポンシブ（メディアクエリ）
   ========================================================================== */

/* タブレット（768px 〜 1020px） */
@media (max-width: 1020px) and (min-width: 768px) {
  .text-area-busi::before,
  .text-area-off::before,
  .text-area-aiit::before,
  .text-area-sports::before,
  .text-area-flower::before,
  .text-area-pet::before {
    top: 170px;
  }
}

/* スマホ・タブレット（768px以下） */
@media screen and (max-width: 768px) {
  .btn.longer .under_line {
    width: 300px;
  }
  .btn a, .btn .under_line {
    padding: 10px 0;
  }
}

/* スマホ（767px以下） */
@media screen and (max-width: 767px) {
  .pg_ttl.short .inner h1 {
    font-size: 2.3rem;
  }
    h2.sec_head.mini {
        font-size: 2.3rem;
    }
  .tab_area {
    margin-top: 0;
  }
  .tab_area .tab-labels {
    margin-bottom: 0;
  }
  .tab_area .tab-labels label {
    width: calc(50% - 6px);
    font-size: 13px;
    height: 74px;
  }

  section.copy {
    width: 280px;
    margin: 0 auto;
  }

  .tab-container .tab-wrapper {
    background: #F2F1ED;
    padding: 40px 20px;
    border-radius: 8px;
    margin: 0px 20px;
  }

  .tab-contents {
    padding: 4% 5%;
  }

  .card {
    gap: 10px;
    display: block;
    margin: 60px 0 0 0;
  }

  .card .card__item {
    width: 100%;
    flex: initial;
    background: #fff;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.0509803922);
    list-style: none;
    margin-bottom: 40px;
    height: auto;
  }

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

  .text-area-busi::before,
  .text-area-off::before,
  .text-area-aiit::before,
  .text-area-sports::before,
  .text-area-flower::before,
  .text-area-pet::before {
    top: initial;
    bottom: 10%;
  }

  .button {
    bottom: 20px;
  }

  .table_test {
    display: block;
  }

  .table_test > div {
    width: 100%;
  }

  .pt20 {
    padding-top: 20px;
  }
}
/* ==========================================================================
  記事のスタイル
   ========================================================================== */
/* 学科ボタン部分 */
.course-link {
  max-width: 1000px;
  margin: 0 auto 20px;
  padding: 40px 40px 36px;
  background: #fff;
  border: 3px solid #000;
  border-radius: 14px;
  box-sizing: border-box;
}
.course-link-box {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.course-link-box img {
  width: 40%;
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
  display: block;
}
.course-link-text {
  flex: 1;
}
.course-link-title {
  margin: 0 0 20px;
  padding-bottom: 10px;
  position: relative;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
}
.course-link-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 1px;
  background: #333;
}
.course-link-btn-box {
  display: flex;
  gap: 20px;
margin-top: 20px;
}
.course-link-btn-box a {
  flex: 1;
  text-decoration: none;
}
.course-link-btn {
  position: relative;
  padding: 18px 40px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-align: center;
  border-radius: 8px;
  transition: opacity 0.3s;
}
.course-link-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}
.course-link-btn.oc { background: #ec7d77; }
.course-link-btn.shiryo { background: #6fa5d4; }
.course-link-btn-box a:hover .course-link-btn { opacity: 0.7; }

@media screen and (max-width: 768px) {
  .course-link { padding: 20px 16px; }
  .course-link-box { flex-direction: column; gap: 20px; }
  .course-link-box img { width: 100%; }
  .course-link-title { font-size: 20px; margin-bottom: 14px; padding-bottom: 14px; }
  .course-link-btn-box { flex-direction: column; gap: 12px; margin-top: 20px; }
.course-link-btn-box {
margin-top: 0px;
}
}
