/***ガビックキャンペーン2021***/
.entry-header {
    display: none;
}

#intro .overview {
    text-align: center;
}

#intro .type-link {
    display: flex;
    justify-content: center;
}

#intro .link-a {
    margin: 15px;
}

#intro .link-b {
    margin: 15px;
}

@media screen and (max-width: 736px) {
    #intro .link-a {
        margin: 0px 5px 0px 0px;
    }

    #intro .link-b {
        margin: 0px 0px 0px 5px;
    }
}

.ti-sub {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #F87070;
}

@media screen and (max-width: 736px) {
    .ti-sub {
        text-align: center;
        font-size: 26px;
        font-weight: bold;
        color: #F87070;
        line-height: 30px;
        padding: 10px;
    }
}

#course-two img .title {
    width: 20%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.b-box {
    background-color: #000;
    padding: 20px 10px;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border-radius: 70px;
}
.sub-ti {
    text-align: center;
    color: #000;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4em;
}

.a-detail {
    background: #ffffff;
    padding: 40px 20px;
}
.a-subjects-ti {
    color: #000;
    font-weight: bold;
    font-size: 22px;
    border-bottom: solid #F14141 4px;    
    text-align: center;
}
.a-subjects {
    color: #000;
    font-weight: bold;
    text-align: center;
}
/***コース1***/
#course-one {
    background-color: #DEAC44;
    padding-top: 80px;
    padding-bottom: 80px;
}

@media screen and (max-width: 736px) {
    .sub-ti {        
        font-size: 18px;
    }}



/***コース2***/


#course-two {
    background-color: #F4E7C9;
    padding-top: 80px;
    padding-bottom: 80px;
}

/***コース3***/

#course-three h2+p {
    color: #000;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

#course-three {
    background-color: #DEAC44;
    padding-top: 80px;
    padding-bottom: 80px;
}

/***flow***/
#flow .flow {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.course {
  position: relative;
  padding: 1.5rem 1rem;
    color: #000;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    line-height: 0.5em;
}

.course:after {
   position: absolute;
  bottom: 0;
  left: 0;
    right: 0;
    margin: 0 auto;
  width: 40%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}


#course-one h2,
#course-two h2,
#course-three h2 {
  position: relative;
  padding: 3rem 1rem calc(1rem + 30px);
  background: #fff;
    font-size: 2.0em;
    color: #000;
    float: none;
    margin-right: inherit;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}
#course-one h2:before,
#course-two h2:before,
#course-three h2:before{
  position: absolute;
  top: -5px;
  left: -5px;
  width: 100%;
  height: 100%;
  content: '';
  border: 4px solid #000;
}

@media screen and (max-width: 736px) {
    
    #course-one h2,
#course-two h2,
#course-three h2 {
  font-size: 1.7em;
    width: 90%;
    margin: 0 auto;
}

}
