.page_education_6years-of-learning .flow {
  background: transparent linear-gradient(90deg, #98E0EB 0%, #99DED0 50%, #99A9DF 100%) 0% 0% no-repeat padding-box;
  display: grid;
  grid-template: "lbl    stages" 1fr "mirai  mirai" 60px/60px 1fr;
  padding: clamp(20px, 5vw, 60px);
  position: relative;
}
.page_education_6years-of-learning .flow:before {
  background: url(../img/page/education/6years-of-learning/flow_bg.png) repeat;
  bottom: 0;
  content: "";
  left: 0;
  mix-blend-mode: overlay;
  opacity: 0.3;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}
.page_education_6years-of-learning .flow > * {
  position: relative;
  z-index: 1;
}
@media (min-width: 992px) {
  .page_education_6years-of-learning .flow {
    grid-template: "lbl     mirai" 60px "stages  mirai" 1fr/1fr 60px;
  }
}
.page_education_6years-of-learning .flow .stage_label {
  background: transparent linear-gradient(180deg, #A7D6E0 0%, #208CA3 100%) 0% 0% no-repeat padding-box;
  display: grid;
  grid-area: lbl;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, 1fr);
}
.page_education_6years-of-learning .flow .stage_label p {
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  align-content: center;
  color: #ffffff;
  display: grid;
  font-size: 20px;
  font-weight: 500;
  justify-content: start;
  letter-spacing: 0.04em;
  line-height: 1.6;
  padding-top: 1em;
  writing-mode: vertical-rl;
}
@media (min-width: 992px) {
  .page_education_6years-of-learning .flow .stage_label {
    background: transparent linear-gradient(90deg, #A7D6E0 0%, #208CA3 100%) 0% 0% no-repeat padding-box;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
  }
  .page_education_6years-of-learning .flow .stage_label p {
    -ms-writing-mode: unset;
    -webkit-writing-mode: unset;
    justify-content: center;
    padding-top: 0;
    writing-mode: unset;
  }
}
.page_education_6years-of-learning .flow .stages {
  display: grid;
  grid-area: stages;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, 1fr);
}
@media (min-width: 992px) {
  .page_education_6years-of-learning .flow .stages {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
  }
}
.page_education_6years-of-learning .flow .stage {
  background: #ffffff;
  padding: 30px 4vw;
}
.page_education_6years-of-learning .flow .stage.stage_1st, .page_education_6years-of-learning .flow .stage.stage_2nd {
  border-bottom: 1px dashed #CBCBCB;
}
@media (min-width: 992px) {
  .page_education_6years-of-learning .flow .stage {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
  }
  .page_education_6years-of-learning .flow .stage.stage_1st, .page_education_6years-of-learning .flow .stage.stage_2nd {
    border-bottom: none;
    border-right: 1px dashed #CBCBCB;
  }
}
.page_education_6years-of-learning .flow .stage .deco {
  text-align: center;
}
.page_education_6years-of-learning .flow .stage .deco + p {
  color: #737380;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.8571;
  margin-top: 20px;
}
.page_education_6years-of-learning .flow .stage .years {
  justify-content: center;
  margin-bottom: 30px;
  margin-top: 20px;
}
.page_education_6years-of-learning .flow .stage .goal {
  background: #F5F5F5;
  padding: 20px 10px;
  text-align: center;
}
.page_education_6years-of-learning .flow .stage .goal .h {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 2.2857;
}
.page_education_6years-of-learning .flow .stage .goal .d {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.5833;
  margin-top: 0.5em;
}
.page_education_6years-of-learning .flow .mirai {
  background: #F5F5F5;
  display: grid;
  grid-area: mirai;
  place-content: center;
  position: relative;
  text-align: center;
}
.page_education_6years-of-learning .flow .mirai:before {
  border-bottom: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-style: solid;
  border-top: 40px solid #208CA3;
  content: "";
  height: 0;
  left: 0;
  position: absolute;
  top: 0;
  width: 0;
}
.page_education_6years-of-learning .flow .mirai p {
  color: #736650;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
@media (min-width: 992px) {
  .page_education_6years-of-learning .flow .mirai:before {
    border-bottom: 30px solid transparent;
    border-left: 40px solid #208CA3;
    border-right: 0;
    border-top: 30px solid transparent;
  }
  .page_education_6years-of-learning .flow .mirai p {
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
  }
}
.page_education_6years-of-learning .course_flow {
  -moz-column-gap: 15px;
  -webkit-column-gap: 15px;
  column-gap: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 20px;
}
.page_education_6years-of-learning .course_flow .items {
  -moz-column-gap: 15px;
  -webkit-column-gap: 15px;
  column-gap: 15px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 20px;
}
.page_education_6years-of-learning .course_flow .items > div {
  -moz-column-gap: 15px;
  -webkit-column-gap: 15px;
  column-gap: 15px;
  display: grid;
  grid-template: "year      ." auto " val  arrow" 1fr/1fr 26px;
  place-items: center;
  row-gap: 20px;
}
.page_education_6years-of-learning .course_flow .items > div:after {
  background: url(../img/page/education/6years-of-learning/arrow.png) no-repeat;
  background-size: cover;
  content: "";
  display: block;
  grid-area: arrow;
  height: 22px;
  width: 26px;
}
.page_education_6years-of-learning .course_flow .items > div.gl {
  grid-template: "year" auto "val" 1fr/1fr;
}
.page_education_6years-of-learning .course_flow .items > div.gl:after {
  display: none;
}
.page_education_6years-of-learning .course_flow .items > div .year {
  font-size: 16px;
  font-weight: 600;
  grid-area: year;
  letter-spacing: 0.04em;
  line-height: 2;
}
.page_education_6years-of-learning .course_flow .items > div .val {
  grid-area: val;
  height: 100%;
  min-height: 180px;
}
.page_education_6years-of-learning .course_flow .items > div .val.vert {
  border-radius: 2px;
  place-content: center;
  text-align: center;
  width: 70px;
}
.page_education_6years-of-learning .course_flow .items > div .val.vert span {
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: 1;
  writing-mode: vertical-rl;
}
.page_education_6years-of-learning .course_flow .items > div.h1 .val {
  background: #ffffff;
  border: 1px solid rgba(153, 150, 145, 0.4);
  border-radius: 2px;
  color: #208CA3;
}
.page_education_6years-of-learning .course_flow .items > div.cg .val {
  background: #50B7C7;
  color: #ffffff;
}
.page_education_6years-of-learning .course_flow .items > div .val.pat {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  justify-content: space-between;
  letter-spacing: 0.04em;
  line-height: 1.8571;
}
.page_education_6years-of-learning .course_flow .items > div .val.pat span {
  text-align: center;
  width: 100%;
}
.page_education_6years-of-learning .course_flow .items > div.h2 .val.pat, .page_education_6years-of-learning .course_flow .items > div.h3 .val.pat {
  row-gap: 10px;
}
.page_education_6years-of-learning .course_flow .items > div.h2 .val.pat span, .page_education_6years-of-learning .course_flow .items > div.h3 .val.pat span {
  align-content: center;
  border-radius: 4px;
  height: 2.5714285714em;
  padding: 0 0.5em;
}
.page_education_6years-of-learning .course_flow .items > div.h2 .val.pat span {
  background: #ACD8DF;
}
.page_education_6years-of-learning .course_flow .items > div.h3 .val.pat span {
  background: #B4C2ED;
}
.page_education_6years-of-learning .course_flow .items > div.gl .val.pat {
  row-gap: 8px;
}
.page_education_6years-of-learning .course_flow .items > div.gl .val.pat .sep {
  aspect-ratio: 1;
  background: #98E0EB;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  width: 7px;
}
.page_education_6years-of-learning .curriculum h3 {
  margin-top: 40px;
}