@charset "utf-8";
/*
Theme Name: SOLARIS Child - コステック職業訓練
Theme URI: https://kunren.costech.co.jp/
Description: SOLARIS（TCD088）を親テーマとして、コステック職業訓練サイトのトップページを構築するための子テーマです。
Author: 株式会社コステック
Template: solaris_tcd088
Version: 0.9.37
Text Domain: costech-kunren
*/

/* =========================================================
   コステック職業訓練サイト：共通フッター v0.1.7
========================================================= */

#footer {
  background: #f7f8fa;
}

#footer_menu.costech-footer-grid {
  display: grid;
  align-items: start;
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 52px;
  background: #f7f8fa;
  box-sizing: border-box;
}

#footer_menu.costech-footer-grid--menus-1 {
  grid-template-columns: minmax(280px, 1.2fr) minmax(220px, 1fr);
}

#footer_menu.costech-footer-grid--menus-2 {
  grid-template-columns: minmax(280px, 1.25fr) repeat(2, minmax(190px, 1fr));
}

#footer_menu.costech-footer-grid--menus-3 {
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(175px, 1fr));
}

#footer_menu.costech-footer-grid--menus-4 {
  grid-template-columns: minmax(250px, 1.25fr) repeat(4, minmax(150px, 1fr));
}

#footer_menu.costech-footer-grid .footer_menu {
  width: auto;
  min-width: 0;
  height: 100%;
  padding: 0 30px;
  border: 0;
  border-left: 1px solid #e1e5eb;
  box-sizing: border-box;
}

#footer_menu.costech-footer-grid .costech-footer-profile {
  padding-left: 0;
  border-left: 0;
}

#footer_menu.costech-footer-grid .footer_menu:last-of-type {
  padding-right: 0;
  border-right: 0;
}

#footer_menu .footer_menu:not(.costech-footer-profile) li {
  margin: 0 0 13px;
  color: #505666;
  font-size: 14px;
  line-height: 1.65;
}

#footer_menu .footer_menu:not(.costech-footer-profile) li:first-of-type {
  margin: 0 0 22px;
  color: #171a2f;
  font-size: 17px;
  font-weight: 700;
}

#footer_menu .footer_menu:not(.costech-footer-profile) li:first-of-type a,
#footer_menu .footer_menu:not(.costech-footer-profile) li:first-of-type a:link,
#footer_menu .footer_menu:not(.costech-footer-profile) li:first-of-type a:visited {
  color: #171a2f;
}

#footer_menu .footer_menu:not(.costech-footer-profile) li:first-of-type a::before {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin: 0 0 14px;
  border-radius: 3px;
  background: #f58220;
}

#footer_menu .footer_menu:not(.costech-footer-profile) li:not(:first-of-type) a::before {
  content: "›";
  margin-right: 8px;
  color: #f58220;
  font-weight: 700;
}

#footer_menu .footer_menu:not(.costech-footer-profile) a,
#footer_menu .footer_menu:not(.costech-footer-profile) a:link,
#footer_menu .footer_menu:not(.costech-footer-profile) a:visited {
  color: #505666;
  text-decoration: none;
  transition: color 0.2s ease;
}

#footer_menu .footer_menu:not(.costech-footer-profile) a:hover,
#footer_menu .footer_menu:not(.costech-footer-profile) a:focus,
#footer_menu .footer_menu:not(.costech-footer-profile) li:first-of-type a:hover,
#footer_menu .footer_menu:not(.costech-footer-profile) li:first-of-type a:focus {
  color: #f58220;
}

/* 施設情報カラム */
#footer_menu .costech-footer-profile {
  color: #606575;
  text-align: left;
}

#footer_menu .costech-footer-profile #footer_logo {
  margin: 0 0 20px;
  text-align: left;
}

#footer_menu .costech-footer-profile #footer_logo .logo,
#footer_menu .costech-footer-profile #footer_logo .logo a {
  display: block;
  width: auto;
  max-width: 100%;
  text-align: left;
}

#footer_menu .costech-footer-profile #footer_logo .logo_text,
#footer_menu .costech-footer-profile #footer_logo .logo_text a {
  display: inline-block;
  width: auto;
  max-width: 100%;
  color: #171a2f;
  font-size: 19px !important;
  line-height: 1.45;
  text-align: left;
  white-space: nowrap;
}

.costech-footer-info {
  margin: 0;
  color: #606575;
  font-size: 13px;
  line-height: 1.85;
  text-align: left;
}

.costech-footer-info p,
.costech-footer-info address {
  margin: 0;
}

.costech-footer-info__operator {
  color: #343949;
  font-weight: 600;
}

.costech-footer-info__address {
  margin-top: 8px !important;
  font-style: normal;
}

.costech-footer-info__tel {
  margin-top: 10px !important;
  color: #171a2f;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.costech-footer-info__tel span {
  margin-right: 5px;
  color: #7c8290;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.costech-footer-info__tel a,
.costech-footer-info__tel a:link,
.costech-footer-info__tel a:visited,
.costech-footer-info__tel a:hover,
.costech-footer-info__tel a:focus,
.costech-footer-info__tel a:active,
.costech-footer-info__tel [x-apple-data-detectors] {
  color: #171a2f !important;
  -webkit-text-fill-color: #171a2f !important;
  text-decoration: none !important;
  font: inherit !important;
  letter-spacing: inherit !important;
}

.costech-footer-info__tel a:hover,
.costech-footer-info__tel a:focus {
  color: #f58220 !important;
  -webkit-text-fill-color: #f58220 !important;
}

#footer_menu .costech-footer-profile #footer_sns {
  justify-content: flex-start;
  margin: 18px 0 0;
}

#copyright {
  height: auto;
  min-height: 62px;
  padding: 20px 24px;
  border-top: 0;
  background: #0d1022;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  box-sizing: border-box;
}

@media screen and (max-width: 1100px) {
  #footer_menu.costech-footer-grid,
  #footer_menu.costech-footer-grid--menus-1,
  #footer_menu.costech-footer-grid--menus-2,
  #footer_menu.costech-footer-grid--menus-3,
  #footer_menu.costech-footer-grid--menus-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(760px, calc(100% - 48px));
    padding: 48px 0 20px;
  }

  #footer_menu.costech-footer-grid .footer_menu,
  #footer_menu.costech-footer-grid .costech-footer-profile,
  #footer_menu.costech-footer-grid .footer_menu:last-of-type {
    min-height: 0;
    padding: 0 34px 34px;
    border: 0;
    border-left: 1px solid #e1e5eb;
  }

  #footer_menu.costech-footer-grid .footer_menu:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
}

@media screen and (max-width: 750px) {
  #footer_menu.costech-footer-grid,
  #footer_menu.costech-footer-grid--menus-1,
  #footer_menu.costech-footer-grid--menus-2,
  #footer_menu.costech-footer-grid--menus-3,
  #footer_menu.costech-footer-grid--menus-4 {
    display: block;
    width: calc(100% - 48px);
    padding: 22px 0 18px;
  }

  #footer_menu.costech-footer-grid .footer_menu,
  #footer_menu.costech-footer-grid .costech-footer-profile,
  #footer_menu.costech-footer-grid .footer_menu:nth-child(odd),
  #footer_menu.costech-footer-grid .footer_menu:last-of-type {
    width: 100%;
    padding: 28px 0;
    border: 0;
    border-bottom: 1px solid #e1e5eb;
  }

  #footer_menu.costech-footer-grid .footer_menu:last-of-type {
    border-bottom: 0;
  }

  #footer_menu .costech-footer-profile,
  #footer_menu .costech-footer-profile #footer_logo,
  #footer_menu .costech-footer-profile #footer_logo .logo,
  #footer_menu .costech-footer-profile #footer_logo .logo a,
  #footer_menu .costech-footer-profile #footer_logo .logo_text {
    text-align: center;
  }

  #footer_menu .costech-footer-profile #footer_logo .logo_text {
    white-space: normal;
  }

  .costech-footer-info {
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
  }

  .costech-footer-info__tel {
    font-size: 18px;
  }

  #footer_menu .costech-footer-profile #footer_sns {
    justify-content: center;
    margin-top: 18px;
  }

  #footer_menu .footer_menu:not(.costech-footer-profile) li {
    margin-bottom: 11px;
    font-size: 14px;
  }

  #footer_menu .footer_menu:not(.costech-footer-profile) li:first-of-type {
    margin-bottom: 18px;
    font-size: 16px;
  }

  #footer_menu .footer_menu:not(.costech-footer-profile) a {
    padding: 3px 0;
  }

  #copyright {
    min-height: 0;
    padding: 18px 20px;
    font-size: 11px;
  }
}

/* =========================================================
   v0.1.6：施設情報カラムの見出し線とSNS表示を修正
========================================================= */

/* 施設情報カラムにも、ほかの見出しと同じ位置にオレンジ線を表示 */
#footer_menu .costech-footer-profile::before {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin: 0 0 14px;
  border-radius: 3px;
  background: #f58220;
}

/* TCD標準のSNSアイコンを施設情報カラム内で表示 */
#footer_menu .costech-footer-profile #footer_sns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  justify-content: flex-start;
  margin: 18px 0 0;
  padding: 0;
}

#footer_menu .costech-footer-profile #footer_sns li {
  display: inline-block;
  margin: 0 10px 0 0;
  padding: 0;
  border: 0;
}

#footer_menu .costech-footer-profile #footer_sns li:last-child {
  margin-right: 0;
}

#footer_menu .costech-footer-profile #footer_sns a {
  position: relative;
  display: block;
}

@media screen and (max-width: 750px) {
  #footer_menu .costech-footer-profile::before {
    margin-right: auto;
    margin-left: auto;
  }

  #footer_menu .costech-footer-profile #footer_sns {
    justify-content: center;
  }
}


/* =========================================================
   v0.1.8：フッターSNSアイコンを見やすいサイズへ拡大
   KamiBitoサイトのフッター程度の存在感を参考に、
   アイコン本体約30～32px・タップ領域42pxで調整。
========================================================= */

#footer_menu .costech-footer-profile #footer_sns {
  gap: 10px;
  margin-top: 22px;
}

#footer_menu .costech-footer-profile #footer_sns li,
#footer_menu .costech-footer-profile #footer_sns.color_type2 li {
  margin: 0;
}

#footer_menu .costech-footer-profile #footer_sns li a,
#footer_menu .costech-footer-profile #footer_sns.color_type2 li a,
#footer_menu .costech-footer-profile #footer_sns li.insta a,
#footer_menu .costech-footer-profile #footer_sns li.youtube a,
#footer_menu .costech-footer-profile #footer_sns li.contact a,
#footer_menu .costech-footer-profile #footer_sns li.rss a,
#footer_menu .costech-footer-profile #footer_sns li.note a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  line-height: 42px;
  border-radius: 50%;
  text-align: center;
  transition: background-color .2s ease, transform .2s ease;
}

#footer_menu .costech-footer-profile #footer_sns li a::before,
#footer_menu .costech-footer-profile #footer_sns.color_type2 li a::before {
  position: static;
  display: block;
  margin: 0;
  font-size: 31px;
  line-height: 1;
  transform: none;
}

#footer_menu .costech-footer-profile #footer_sns li.line a::before,
#footer_menu .costech-footer-profile #footer_sns.color_type2 li.line a::before {
  top: auto;
  left: auto;
  font-size: 33px;
}

#footer_menu .costech-footer-profile #footer_sns li.insta a::before,
#footer_menu .costech-footer-profile #footer_sns.color_type2 li.insta a::before {
  top: auto;
  left: auto;
  font-size: 31px;
}

#footer_menu .costech-footer-profile #footer_sns li.facebook a::before,
#footer_menu .costech-footer-profile #footer_sns.color_type2 li.facebook a::before,
#footer_menu .costech-footer-profile #footer_sns li.twitter a::before,
#footer_menu .costech-footer-profile #footer_sns.color_type2 li.twitter a::before,
#footer_menu .costech-footer-profile #footer_sns li.tiktok a::before,
#footer_menu .costech-footer-profile #footer_sns.color_type2 li.tiktok a::before,
#footer_menu .costech-footer-profile #footer_sns li.pinterest a::before,
#footer_menu .costech-footer-profile #footer_sns.color_type2 li.pinterest a::before,
#footer_menu .costech-footer-profile #footer_sns li.youtube a::before,
#footer_menu .costech-footer-profile #footer_sns.color_type2 li.youtube a::before,
#footer_menu .costech-footer-profile #footer_sns li.contact a::before,
#footer_menu .costech-footer-profile #footer_sns.color_type2 li.contact a::before,
#footer_menu .costech-footer-profile #footer_sns li.rss a::before,
#footer_menu .costech-footer-profile #footer_sns.color_type2 li.rss a::before {
  top: auto;
  left: auto;
  font-size: 30px;
}

#footer_menu .costech-footer-profile #footer_sns li.note a::before {
  position: static;
  width: 30px;
  height: 30px;
  top: auto;
  left: auto;
}

#footer_menu .costech-footer-profile #footer_sns li a:hover,
#footer_menu .costech-footer-profile #footer_sns li a:focus {
  background: rgba(23, 26, 47, .055);
  transform: translateY(-1px);
}

@media screen and (max-width: 750px) {
  #footer_menu .costech-footer-profile #footer_sns {
    gap: 12px;
    margin-top: 20px;
  }

  #footer_menu .costech-footer-profile #footer_sns li a,
  #footer_menu .costech-footer-profile #footer_sns.color_type2 li a,
  #footer_menu .costech-footer-profile #footer_sns li.insta a,
  #footer_menu .costech-footer-profile #footer_sns li.youtube a,
  #footer_menu .costech-footer-profile #footer_sns li.contact a,
  #footer_menu .costech-footer-profile #footer_sns li.rss a,
  #footer_menu .costech-footer-profile #footer_sns li.note a {
    width: 46px;
    height: 46px;
    line-height: 46px;
  }

  #footer_menu .costech-footer-profile #footer_sns li a::before,
  #footer_menu .costech-footer-profile #footer_sns.color_type2 li a::before {
    font-size: 33px;
  }

  #footer_menu .costech-footer-profile #footer_sns li.line a::before,
  #footer_menu .costech-footer-profile #footer_sns.color_type2 li.line a::before {
    font-size: 35px;
  }

  #footer_menu .costech-footer-profile #footer_sns li.insta a::before,
  #footer_menu .costech-footer-profile #footer_sns.color_type2 li.insta a::before {
    font-size: 33px;
  }
}


/* =========================================================
   v0.2.0：SCF管理画面対応
========================================================= */
.costech-footer-name {
  margin: 0 0 20px;
  color: #171a2f;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}

@media screen and (max-width: 750px) {
  .costech-footer-name {
    text-align: center;
  }
}


/* =========================================================
   ヘッダー・フッターナビゲーション v0.9.6
========================================================= */

/* PCグローバルメニュー */
@media screen and (min-width: 1151px) {
  #global_menu > ul > li > a {
    padding-right: 14px;
    padding-left: 14px;
    letter-spacing: 0.02em;
  }

  #global_menu > ul > li.menu-item-has-children > a {
    padding-right: 30px;
  }

  #global_menu > ul > li.menu-item-has-children > a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 6px;
    height: 6px;
    margin-top: -5px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.8;
  }

  #global_menu ul ul {
    width: 270px;
    padding-top: 4px;
    border-top: 3px solid #f58220;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 16px 36px rgba(8, 10, 26, 0.22);
    overflow: hidden;
  }

  #global_menu ul ul a,
  body.kunren-custom-front #global_menu ul ul a {
    min-height: 0;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: #171a2f;
    color: #fff !important;
    line-height: 1.65;
  }

  #global_menu ul ul li:last-child a {
    border-bottom: 0;
  }

  #global_menu ul ul a:hover,
  #global_menu ul ul a:focus,
  body.kunren-custom-front #global_menu ul ul a:hover,
  body.kunren-custom-front #global_menu ul ul a:focus {
    background: #242842;
    color: #f58220 !important;
  }

  #global_menu > ul > li.costech-nav-parent-toggle > a {
    cursor: pointer;
  }

  #global_menu > ul > li.costech-nav-parent-toggle.costech-submenu-open > ul {
    display: block !important;
  }

  #global_menu > ul > li.costech-nav-course-parent > ul {
    width: 490px;
    max-width: calc(100vw - 40px);
  }

  #global_menu > ul > li.costech-nav-course-parent > ul > li > a {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #global_menu ul ul li.costech-dynamic-course-item > a {
    padding-top: 16px;
    padding-bottom: 16px;
    border-left: 3px solid rgba(245, 130, 32, 0.75);
  }

  #global_menu > ul > li.costech-nav-cta > a,
  body.kunren-custom-front #global_menu > ul > li.costech-nav-cta > a,
  body.kunren-custom-front #header.active #global_menu > ul > li.costech-nav-cta > a,
  body.kunren-custom-front.header_fix #global_menu > ul > li.costech-nav-cta > a {
    height: 48px;
    margin: 16px 0 16px 12px;
    padding: 0 22px;
    border-radius: 999px;
    background: #f58220;
    color: #fff !important;
    line-height: 48px;
    box-shadow: 0 8px 20px rgba(245, 130, 32, 0.24);
  }

  #global_menu > ul > li.costech-nav-cta > a:hover,
  #global_menu > ul > li.costech-nav-cta > a:focus,
  body.kunren-custom-front #global_menu > ul > li.costech-nav-cta > a:hover,
  body.kunren-custom-front #global_menu > ul > li.costech-nav-cta > a:focus {
    background: #d96f10;
    color: #fff !important;
  }
}

/* 画面幅が少し狭いPCでは、メニューを無理に詰めない */
@media screen and (min-width: 1151px) and (max-width: 1280px) {
  #global_menu > ul > li > a {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 13px;
  }

  #global_menu > ul > li.menu-item-has-children > a {
    padding-right: 25px;
  }

  #global_menu > ul > li.menu-item-has-children > a::after {
    right: 11px;
  }

  #global_menu > ul > li.costech-nav-cta > a {
    margin-left: 6px;
    padding-right: 17px;
    padding-left: 17px;
  }
}

/* スマートフォン用ドロワーメニュー */
#mobile_menu li.costech-nav-cta {
  margin: 18px 16px 4px;
}

#mobile_menu li.costech-nav-cta > a {
  height: 54px;
  padding: 0 50px 0 20px;
  border: 0;
  border-radius: 8px;
  background: #f58220;
  color: #fff;
  font-weight: 700;
  line-height: 54px;
  text-align: center;
}

#mobile_menu li.costech-nav-cta > a:hover,
#mobile_menu li.costech-nav-cta > a:focus {
  background: #d96f10;
}

#mobile_menu .sub-menu a {
  background: rgba(255, 255, 255, 0.04);
}

#mobile_menu li.costech-nav-parent-toggle > a {
  cursor: pointer;
}

#mobile_menu li.costech-dynamic-course-item > a {
  padding-top: 13px;
  padding-bottom: 13px;
  line-height: 1.65;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* フッターの先頭項目はクリックできない見出し */
#footer_menu .footer_menu:not(.costech-footer-profile) .costech-footer-heading__text {
  display: block;
  color: #171a2f;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

#footer_menu .footer_menu:not(.costech-footer-profile) .costech-footer-heading__text::before {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin: 0 0 14px;
  border-radius: 3px;
  background: #f58220;
}

#footer_menu .footer_menu:not(.costech-footer-profile) li.costech-footer-heading {
  cursor: default;
}
