@charset "utf-8";
/* CSS Document */
#tmp_mainvisual {
  display: none;
  visibility: hidden;
}
#tmp_subject_list {
  background: #fff linear-gradient(to bottom right, #f7f7f7 50%, #fff 50%)
    no-repeat top left/100% 500px;
  padding: clamp(47px, 7vw, 70px) 25px 0 !important;
}
.otherstyle {
  max-width: 1000px;
  padding: 0 0 clamp(47px, 7vw, 70px);
  text-align: center;
}
.otherstyle .ttl .sttl {
  color: #fff;
  padding: 0 25px;
  font-size: clamp(14px, 2.6vw, 26px);
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 50px;
}
.a_i.dep_otherstyle .ttl .sttl {
  background: #cc7645;
}
.g_d_w.dep_otherstyle .ttl .sttl {
  background: #51bec8;
}
.e_b.dep_otherstyle .ttl .sttl {
  background: #6cbc64;
}

.otherstyle .ttl h2 {
  text-align: center;
  color: #2a2c2c !important;
  font-size: clamp(30px, 5.6vw, 56px);
  font-weight: 800;
  line-height: 1.5;
  padding: clamp(7px, 2vw, 20px) 0 clamp(20px, 4vw, 40px);
  letter-spacing: 0.1rem;
}
.otherstyle .txt p {
  text-align: center;
  color: #2a2c2c;
  font-size: clamp(13px, 1.8vw, 18px);
  font-weight: 600;
  line-height: 2;
  padding: 0 0 clamp(7px, 2vw, 20px);
}
.otherstyle .txt p.point {
  display: inline-block;
  text-align: center;
  font-size: clamp(16px, 2.4vw, 24px);
  font-weight: 700;
  font-feature-settings: 'palt';
  line-height: 2;
  text-decoration: underline;
  text-underline-offset: 10px;
  padding: 0 0 clamp(7px, 2vw, 20px);
  position: relative;
}
.a_i.dep_otherstyle .txt p.point {
  color: #cc7645;
}
.g_d_w.dep_otherstyle .txt p.point {
  color: #51bec8;
}
.e_b.dep_otherstyle .txt p.point {
  color: #6cbc64;
}
.otherstyle .txt p.point span {
  font-size: clamp(20px, 3vw, 30px);
}
.otherstyle .txt p.point::after {
  position: absolute;
  content: '';
  right: -10px;
  top: 0;
  display: inline-block;
  height: clamp(13px, 1.5vw, 15px);
  width: clamp(14px, 1.9vw, 19px);
  -webkit-mask: url(../images/point_mark.svg);
  mask: url(../images/point_mark.svg);
  -webkit-mask-size: cover;
  mask-size: cover;
  vertical-align: middle;
}
.a_i.dep_otherstyle .txt p.point::after {
  background-color: #cc7645;
}
.g_d_w.dep_otherstyle .txt p.point::after {
  background-color: #23a4bd;
}
.e_b.dep_otherstyle .txt p.point::after {
  background-color: #6cbc64;
}

.subject_page_b .occupation {
  width: 100%;
  display: grid;
  grid-template-columns: 110px auto;
  align-items: center;
  gap: 0 10px;
}
.subject_page_b .occupation.syokugyou {
  margin: clamp(0px, 3vw, 30px) auto 20px;
}
.subject_page_b .occupation.syokugyou.none {
  display: none;
  visibility: hidden;
}
.subject_page_b .occupation.syusyokusaki {
  margin: 0 auto clamp(50px, 10vw, 100px);
}
.subject_page_b .occupation h3 {
  letter-spacing: 0.04em;
  padding: 0;
}
.subject_page_b .occupation p {
  text-align: left !important;
  letter-spacing: 0.05em;
}
.subject_page_b .occupation span {
  text-align: left !important;
  letter-spacing: 0.05em;
}

.dep_otherstyle ul.color_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(20px, 3vw, 30px);
  padding: 0 0 clamp(15px, 2vw, 20px);
}
.dep_otherstyle ul.color_list li {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 0;
  background: #fff;
  padding: clamp(10px, 1.5vw, 15px) 0 0;
  border-radius: 10px;
  box-shadow: 0 3px 6px 0 rgb(0 0 0 / 16%);
}
.dep_otherstyle ul.color_list li {
  height: clamp(120px, 14vw, 140px);
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
}
.dep_otherstyle ul.color_list li::before {
  position: absolute;
  content: '';
  background: url(../images/dep_click.svg) no-repeat center / 100% auto;
  width: clamp(43px, 5.2vw, 52px);
  height: clamp(51px, 6.2vw, 62px);
  right: -11px;
  bottom: -13px;
  z-index: 10;
}

.dep_otherstyle ul li.txt {
  box-shadow: none;
  height: auto;
  margin: 0;
}
.dep_otherstyle ul.color_list li.txt::before {
  background: none;
}
.dep_otherstyle ul li.txt p {
  text-align: center;
  font-size: clamp(15px, 2.2vw, 22px);
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: end;
  margin: 0 auto;
  position: relative;
}
.a_i.dep_otherstyle ul li.txt.half_day p {
  color: #cc7645;
}
.g_d_w.dep_otherstyle ul li.txt.half_day p {
  color: #51bec8;
}
.e_b.dep_otherstyle ul li.txt.half_day p {
  color: #6cbc64;
}
.a_i.dep_otherstyle ul li.txt.on_br p {
  color: #ff9b12;
}
.g_d_w.dep_otherstyle ul li.txt.on_br p {
  color: #318bc4;
}
.e_b.dep_otherstyle ul li.txt.on_br p {
  color: #5dc453;
}

.dep_otherstyle ul li.txt p::before,
.dep_otherstyle ul li.txt p::after {
  border-radius: 3px; /* 線の両端を丸く */
  content: '';
  height: clamp(2px, 0.3vw, 3px); /* 線の高さ */
  width: clamp(20px, 2.2vw, 25px); /* 線の長さ */
  margin: 0 0 6px;
}
.a_i.dep_otherstyle ul li.txt.half_day p::before,
.a_i.dep_otherstyle ul li.txt.half_day p::after {
  background-color: #cc7645; /* 線の色 */
}
.a_i.dep_otherstyle ul li.txt.on_br p::before,
.a_i.dep_otherstyle ul li.txt.on_br p::after {
  background-color: #ff9b12; /* 線の色 */
}
.g_d_w.dep_otherstyle ul li.txt.half_day p::before,
.g_d_w.dep_otherstyle ul li.txt.half_day p::after {
  background-color: #51bec8; /* 線の色 */
}
.g_d_w.dep_otherstyle ul li.txt.on_br p::before,
.g_d_w.dep_otherstyle ul li.txt.on_br p::after {
  background-color: #318bc4; /* 線の色 */
}
.e_b.dep_otherstyle ul li.txt.half_day p::before,
.e_b.dep_otherstyle ul li.txt.half_day p::after {
  background-color: #6cbc64; /* 線の色 */
}
.e_b.dep_otherstyle ul li.txt.on_br p::before,
.e_b.dep_otherstyle ul li.txt.on_br p::after {
  background-color: #5dc453; /* 線の色 */
}
.dep_otherstyle ul li.txt p::before {
  margin-right: 10px; /* 文字との余白 */
  transform: rotate(45deg); /* 傾ける */
}
.dep_otherstyle ul li.txt p::after {
  margin-left: 10px; /* 文字との余白 */
  transform: rotate(-45deg); /* 傾ける */
}

.dep_otherstyle ul.color_list li a {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0 10px 10px 0;
  z-index: 1;
}
/* half_day */
.dep_otherstyle ul li.half_day a::after {
  position: absolute;
  content: '';
  width: clamp(145px, 19.5vw, 195px);
  height: clamp(145px, 19.5vw, 195px);
  top: 48.5%;
  right: clamp(12%, 3vw, 30%);
  border-radius: 50%;
  transform: translate(50%, -50%);
}
.dep_otherstyle ul li.half_day.a_i {
  background: rgb(235, 160, 80);
  background: linear-gradient(
    315deg,
    rgba(235, 160, 80, 1) 0%,
    rgba(195, 72, 0, 1) 100%
  );
}
.dep_otherstyle ul li.half_day.a_i a::after {
  background: url(../images/open-campus/halfday_li_bg_a_i.jpg) no-repeat 46%
    top/156% auto;
}
.dep_otherstyle ul li.half_day.g_d_w {
  background: linear-gradient(315deg, #81eff8 0%, #0098a5 100%);
}
.dep_otherstyle ul li.half_day.g_d_w a::after {
  background: url(../images/open-campus/halfday_li_bg_g_d_w.jpg) no-repeat 60%
    bottom/160% auto;
}
.dep_otherstyle ul li.half_day.e_b {
  background: linear-gradient(315deg, #81d079 0%, #397733 100%);
}
.dep_otherstyle ul li.half_day.e_b a::after {
  background: url(../images/open-campus/halfday_li_bg_e_b.jpg) no-repeat 42%
    top/160% auto;
}
/* on_br */
.dep_otherstyle ul.color_list li:hover {
  opacity: 0.6;
  transition: all 0.2s linear;
}
.dep_otherstyle ul li.on_br a::after {
  position: absolute;
  content: none; /* 非表示 */
  width: clamp(25px, 4.5vw, 48px);
  height: clamp(21px, 3.5vw, 40px);
  top: 50%;
  left: 6%;
  transform: translate(0, -50%);
}
.dep_otherstyle ul li.on_br.a_i {
  background: rgb(239, 196, 76);
  background: linear-gradient(
    315deg,
    rgba(239, 196, 76, 1) 0%,
    rgba(242, 150, 25, 1) 100%
  );
}
.dep_otherstyle ul li.on_br.a_i a::after {
  background: url(../images/open-campus/onbr_li_bg_a_i.svg) no-repeat
    center/auto clamp(21px, 3.5vw, 40px);
}
.dep_otherstyle ul li.on_br.g_d_w {
  background: linear-gradient(315deg, #5dbbf7 0%, #318bc4 100%);
}
.dep_otherstyle ul li.on_br.g_d_w a::after {
  background: url(../images/open-campus/onbr_li_bg_g_d_w.svg) no-repeat
    center/auto clamp(21px, 3.5vw, 40px);
}
.dep_otherstyle ul li.on_br.e_b {
  background: linear-gradient(315deg, #c9de54 0%, #5dc453 100%);
}
.dep_otherstyle ul li.on_br.e_b a::after {
  background: url(../images/open-campus/onbr_li_bg_e_b.svg) no-repeat
    center/auto clamp(21px, 3.5vw, 40px);
}

.dep_otherstyle ul.color_list li .txt_box {
  padding: 0 clamp(25px, 3vw, 30px);
  min-height: auto;
}
.dep_otherstyle ul li.on_br .txt_box {
}
.dep_otherstyle ul.color_list li .txt_box p {
  color: #fff;
  font-size: clamp(10px, 1.2vw, 12px);
}
.dep_otherstyle ul.color_list li .txt_box p.tag {
  font-weight: 600;
  letter-spacing: 0.02em;
  height: clamp(20px, 2.3vw, 23px);
  line-height: clamp(19px, 2.2vw, 22px);
  background: #fff;
  border-radius: 12px;
  display: inline-block;
  padding: 0 clamp(10px, 1.2vw, 12px);
  z-index: 1;
  position: relative;
}
.dep_otherstyle ul.color_list li.a_i .txt_box p.tag {
  color: #cc7645;
}
.dep_otherstyle ul.color_list li.g_d_w .txt_box p.tag {
  color: #51bec8;
}
.dep_otherstyle ul.color_list li.e_b .txt_box p.tag {
  color: #6cbc64;
}
.dep_otherstyle ul.color_list li .txt_box p.ttl {
  font-size: clamp(22px, 30vw, 30px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
  padding: 0 0 5px;
}
.dep_otherstyle ul li.on_br .txt_box p.ttl {
  font-size: clamp(22px, 30vw, 30px);
}
.dep_otherstyle ul.color_list li .txt_box p.arrow {
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  display: inline-block;
  padding: 0 clamp(25px, 3.5vw, 35px) 0 0;
  background: url(../images/circle_arrow_w0.svg) no-repeat right 2px /
    clamp(20px, 3vw, 30px) auto;
}

@media only screen and (min-width: 1141px) {
  .dep_otherstyle ul li {
  }
}
@media only screen and (max-width: 1140px) {
}
@media only screen and (max-width: 870px) {
  .subject_page_b .occupation {
    margin: 0 0 20px;
    text-align: center;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px 0;
  }
  .subject_page_b .occupation h3 {
    padding: 12px 0;
    text-align: center !important;
  }
  .subject_page_b .occupation p {
    text-align: center !important;
  }
  .subject_page_b .occupation span {
    text-align: center !important;
  }

  .dep_otherstyle .cnt_box {
    max-width: none;
    margin: 0;
    width: 100%;
  }
  .dep_otherstyle ul {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
    grid-gap: clamp(15px, 2vw, 20px) clamp(10px, 1.3vw, 13px);
  }
  .dep_otherstyle ul.color_list {
    width: 100%;
    grid-template-columns: 1fr;
    gap: clamp(10px, 1.5vw, 20px) 0;
  }
  .dep_otherstyle ul.color_list li {
    height: clamp(120px, 14vw, 100px);
  }
  .dep_otherstyle ul.color_list li.txt {
    height: auto;
    margin: 20px 0 0;
  }
  .dep_otherstyle ul.color_list li a::after {
    right: 8%;
    width: clamp(180px, 25vw, 250px);
    height: clamp(160px, 23vw, 230px);
  }
  .dep_otherstyle ul li.on_br a::after {
    left: 4%;
    width: clamp(45px, 5vw, 50px);
    height: clamp(40px, 5vw, 50px);
    background-size: auto 36px !important;
  }
  .dep_otherstyle ul.color_list li .txt_box {
    display: grid;
    grid-template-columns: 1fr 100px 80px;
    align-items: center;
    justify-items: center;
    gap: clamp(10px, 1.5vw, 20px);
  }
  .dep_otherstyle ul li.on_br .txt_box {
  }
  .dep_otherstyle ul.color_list li .txt_box p.tag {
    font-size: 12px;
    position: relative;
  }
  .dep_otherstyle ul.color_list li .txt_box p.ttl {
    font-size: clamp(22px, 2.1vw, 25px);
    padding: 0;
  }
  .dep_otherstyle ul li .btn_box a {
    height: 46px !important;
  }
  .dep_otherstyle ul li.txt.half_day {
    order: 1;
  }
  .dep_otherstyle ul li.txt.on_br {
    order: 3;
  }
  .dep_otherstyle ul li.a_i.half_day {
    order: 2;
  }
  .dep_otherstyle ul li.a_i.on_br {
    order: 4;
  }
}
@media only screen and (max-width: 640px) {
  .dep_otherstyle ul.color_list {
    padding: 0 0 20px;
  }
  .dep_otherstyle ul.color_list li a::after {
    right: 9%;
  }

  .dep_otherstyle ul.color_list li .txt_box {
    grid-template-columns: 1fr;
    align-items: baseline;
    justify-items: start;
    gap: clamp(10px, 1.5vw, 20px) clamp(30px, 6vw, 60px);
  }
  .dep_otherstyle ul.color_list li .txt_box p.ttl {
    padding: 0;
    grid-column: 1;
    grid-row: 1;
  }
  .dep_otherstyle ul.color_list li .txt_box p.arrow {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
  }
  .dep_otherstyle ul li.half_day::after {
    right: 10%;
  }
  .dep_otherstyle ul li.half_day.a_i::after {
    background: url(../images/open-campus/halfday_li_bg_a_i.jpg) no-repeat 46%
      top/156% auto;
  }
  .dep_otherstyle ul li.half_day.g_d_w::after {
    background: url(../images/open-campus/halfday_li_bg_g_d_w.jpg) no-repeat 60%
      bottom/160% auto;
  }
  .dep_otherstyle ul li.half_day.e_b::after {
    background: url(../images/open-campus/halfday_li_bg_e_b.jpg) no-repeat 42%
      top/160% auto;
  }
}
@media only screen and (max-width: 480px) {
  .dep_otherstyle .ttl_box h2 {
    letter-spacing: 0.05em;
  }

  .dep_otherstyle ul.color_list li a::after {
    right: clamp(15%, 13.5vw, 18%);
  }
  .dep_otherstyle ul li.half_day::after {
    right: 14%;
  }
  .dep_otherstyle ul li.half_day.a_i a::after {
    background: url(../images/open-campus/halfday_li_bg_a_i.jpg) no-repeat left
      39% top -7px/147% auto #fff;
  }
  .dep_otherstyle ul li.half_day.g_d_w a::after {
    background: url(../images/open-campus/halfday_li_bg_g_d_w.jpg) no-repeat
      left 42% top -12px/167% auto #fff;
  }
  .dep_otherstyle ul li.half_day.e_b a::after {
    background: url(../images/open-campus/halfday_li_bg_e_b.jpg) no-repeat left
      39% top -7px/162% auto #fff;
  }

  .dep_otherstyle ul.color_list li .txt_box {
    display: block;
  }
  .dep_otherstyle ul.color_list li .txt_box p.tag {
    font-size: clamp(10px, 1.2vw, 12px);
  }
  .dep_otherstyle ul.color_list li .txt_box p.ttl {
    align-items: baseline;
  }
  .dep_otherstyle ul li.on_br .txt_box p.ttl {
    font-size: clamp(20px, 2.4vw, 24px);
  }
  .dep_otherstyle ul li.on_br .txt_box p.ttl span {
    font-size: clamp(16px, 2vw, 20px);
  }
}
@media only screen and (max-width: 375px) {
  .dep_otherstyle ul.color_list li a::after {
    right: 18%;
  }
  .dep_otherstyle ul li.on_br a::after {
    left: 6%;
  }
}

.link h3 {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto 30px;
  padding: 8px clamp(30px, 3.5vw, 35px) 11px;
  border: 2px solid #000;
  border-radius: 9999px;
  background-color: #fff000;
  text-align: center;
  font-size: clamp(18px, 2vw, 20px);
  font-feature-settings: 'palt';
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #000;
  box-shadow: 3px 3px 0 0 rgb(0 0 0 / 100%);
}

.link h3::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 15px 9px 0 9px;
  border-color: #000 transparent transparent;
  translate: -46% 100%;
}

.link h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 10.5px 5.8px 0 5.8px;
  border-color: #fff000 transparent transparent;
  translate: -50% 92%;
}

.link h4 {
  font-size: clamp(18px, 3vw, 30px);
  font-feature-settings: 'palt';
  text-align: center;
  padding: 0 0 clamp(25px, 5.7vw, 57px);
}

.subject ul.flex_box li a {
  display: grid;
}
.subject ul.flex_box li .txt_box {
  min-height: inherit;
  color: #fff;
  padding: clamp(10px, 1.5vw, 15px) clamp(10px, 3vw, 30px)
    clamp(14px, 3vw, 27px) clamp(12px, 3vw, 30px);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: subgrid;
  grid-row: span 2;
  justify-items: start;
  align-items: center;
}
.subject ul.flex_box li .txt_box .subject_name {
  font-size: clamp(12px, 2.4vw, 24px);
  font-weight: 700;
  letter-spacing: 0.03em;
  grid-column: 1;
  grid-row: 1;
  padding: 0 0 10px;
}
.subject ul.flex_box li.game .txt_box .subject_name {
  font-size: clamp(11px, 2.3vw, 23px);
}
.subject ul.flex_box li .txt_box .subject_name span.sub {
  font-size: clamp(10px, 1.5vw, 15px);
  margin: auto 0 0;
  line-height: 1;
}
.subject ul.flex_box li .txt_box .subject_years {
  font-size: clamp(11px, 1.3vw, 13px);
  border: 1px solid #fff;
  padding: 0 clamp(6px, 1.2vw, 12px) 1px !important;
  margin: 4px 0 5px clamp(8px, 1.2vw, 12px) !important;
  margin: 0;
  grid-column: 2;
  grid-row: 1;
}
.subject ul.flex_box li .txt_box .subject_years.pc {
  margin-left: clamp(10px, 1.8vw, 18px);
}
.subject ul.flex_box li .txt_box::after {
  content: none;
}
.subject ul.flex_box li .txt_box .arrow {
  width: clamp(20px, 3.5vw, 30px);
  height: clamp(20px, 3.5vw, 30px);
  grid-column: 2;
  grid-row: 2;
}
.subject ul.flex_box li .txt_box .subject_voice {
  grid-column: 1 / 3;
  grid-row: 2;
  padding: 0 clamp(40px, 6vw, 70px) 0 0;
}
.subject .txt_box::after {
  content: none;
}
.a_i .subject_page_p .subject #tmp_sub1 .txt_box,
.a_i .subject #tmp_sub1 li {
  background: linear-gradient(325deg, #c13c00, #cf5f00);
}
.g_d_w .subject_page_p .subject #tmp_sub1 .txt_box,
.g_d_w .subject #tmp_sub1 li {
  background: linear-gradient(180deg, #81eff8 -40%, #0098a5 50%);
}
.e_b .subject_page_p .subject #tmp_sub1 .txt_box,
.e_b .subject #tmp_sub1 li {
  background: linear-gradient(352deg, #397733, #81d079);
}

@media only screen and (max-width: 870px) {
  .subject ul.flex_box li .txt_box {
    grid-row: span 2;
  }
  .subject ul.flex_box li .txt_box .subject_name {
    grid-column: 1;
    grid-row: 1;
    display: block;
  }
  .subject ul.flex_box li .txt_box .subject_years {
    grid-column: 2 / 4;
    grid-row: 1;
  }
  .subject ul.flex_box li .txt_box .arrow {
    grid-column: 3;
    grid-row: 2;
  }
  .subject ul.flex_box li .txt_box .subject_voice {
    grid-column: 1 / 3;
    grid-row: 2;
    padding: 0;
    margin: 0;
  }
}

/* ========== KOYO追加分（20250430） ========== */
/* ----- 通信課程建築科 ----- */
.a_i .subject #tmp_sub1 li.tsushin {
  background: #f29619;
  height: auto;
}
.subject ul.flex_box li .txt_box .arrow2 {
  width: clamp(20px, 3.5vw, 30px);
  height: clamp(20px, 3.5vw, 30px);
  position: absolute;
  right: 7%;
}
