@charset "urf-8";
/* ========== common ========== */
img{
  max-width: 100%;
  width:auto;
}

strong, b{
  font-weight: bold;
}

em{
  font-style: italic;
}

.l_cont .c_cont-main h1{
  font-size: 2.375rem;
  font-weight: 700;
  border-bottom: 1px solid #111;
  padding-bottom: 35px;
  line-height: 1.2;
}

.l_cont .c_cont-main  .c_cont-box .c_cont-01 h2{
  margin-top: 20px;
}

.l_cont .c_cont-main h3{
  font-weight: 700;
  padding-bottom: 10px;
}

.l_cont .c_cont-main article a{
  color: #74ad10;
  text-decoration: underline;
}

.l_cont .c_cont-main article ul.list{
  margin:2em 0;
  list-style: disc;
  padding-left:1em;
}

.l_cont .c_cont-main article strong{
  font-weight: bold;
}

@media screen and (max-width:768px) {
  .l_cont .c_cont-main h1{
    font-size: 1.63rem;
    padding-bottom: 20px;
    line-height: 1.9rem;
  }

  .l_cont .c_cont-main  .c_cont-box .c_cont-01 h2{
    margin-top: 25px;
  }
}

/* mainvisual  */
.l_admissions .l_mainvisual {
  background-image: url(/g-cube/wp-content/themes/gcube/common/images/admissions/mv_admissions.jpg);
  background-size: cover;
}

@media screen and (max-width:768px) {
  .l_admissions .l_mainvisual {
    background-image: url(/g-cube/wp-content/themes/gcube/common/images/admissions/mv_admissions_sp.jpg);
    background-size: cover;
  }
}

/* ========== c_news-list ========== */
.c_news-list ul li {
    display: flex;
    margin-bottom: 20px;
  }
.c_news-list ul li:last-child {
    margin-bottom: 0;
  }

  .c_news-list .p_news-date {
    display: inline-flex;
    width: 140px;
  }
  .c_news-list .p_news-tag {
    display: inline-block;
    margin-right: 35px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #fff;
    width: 80px;
    height:-moz-fit-content;
    height:fit-content;
    text-align: center;
  }

  .c_news-list .p_news-link {
    width:calc(100% - 255px);
  }

  .c_news-list .p_news {
    background-color: #ffad12;
  }
  .c_news-list .p_seminars {
    background-color: #6255a4;
  }
  .c_news-list .p_event {
    background-color: #73ad0f;
  }

  .c_news-list .p_new {
    color: #c70000;
    margin-right:10px;
    font-weight: 700;
  }

  .c_news-list .p_new + .p_news-link{
    width:calc(100% - 290px);
  }


@media screen and (max-width:768px) {
.c_news-list ul li {
    margin-bottom: 25px;
    display: block;
  }
.c_news-list ul li:last-child {
    margin-bottom: 0;
  }

  .c_news-list .p_news-date {
    margin-right: 10px;
    width: auto;
  }
  .c_news-list .p_news-tag {
    margin-right: 0;
    padding: 1px 10px;
    width:auto;
  }
  .c_news-list .p_news-link, .c_news-list .p_new + .p_news-link{
    margin-top: 6px;
    width:100%;
  }
 .c_news-list .p_news-link a {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .c_news-list .p_new {
    margin:0 10px;
  }

}

/* ========== button ========== */
#p-btn {
  display: inline-block;
  border: 1px solid #111;
  padding: 13px 45px;
  position: relative;
  color:inherit;
  text-decoration: none;
}

#p-btn:before,
#p-btn:after{
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  right: 8px;
  height: 1px;
  background: #111;
  transition: all .3s;
}

#p-btn:hover:before,
#p-btn:hover:after{
  right: 0px;
}

#p-btn:before{
  width: 37px;
  transform: translate(30px, 0px);
}
#p-btn:after{
  width: 12px;
  transform-origin: right center;
  transform: translate(30px, 0px) rotate(35deg);
}

#p-btn.back:before,
#p-btn.back:after{
  right:0;
  left:8px;
}

#p-btn.back:hover:before,
#p-btn.back:hover:after{
  left:0;
}

#p-btn.back:before{
  transform: translate(-30px, 0px);
}
#p-btn.back:after{
  transform-origin: left center;
  transform: translate(-30px, 0px) rotate(-35deg);
}

@media screen and (max-width:768px) {
#p-btn {
  background: rgba(255,255,255,0.8);
}
}

/*.c_intern-box*/
.c_intern-box {
  margin-bottom: 80px;
}

.c_intern-box .p_intern-box {
  width: 70%;
  margin: 10px 0 0 35px;
}
.c_intern-box .p_img {
  width: 32%;
}

#l_internship .c_intern-box .p_img img{
  width:100%;
}

.c_intern-box .p_name {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 15px !important;
}
.c_intern-box .p_information {
  font-size: 0.875rem;
  line-height: 1.7rem;
}
.c_intern-box .p_intern-txt {
  
}

.c_intern-box .p_article{
  margin-top: 1em;
}

.c_intern_top {
  display: flex;
}

#l_message .c_intern-box .p_intern-box, #l_student-voices .c_intern-box .p_intern-box{
  width: calc(100% - 185px);
}
#l_message .c_intern-box .p_img, #l_student-voices .c_intern-box .p_img{
  width: 150px;
}

#l_message .p_message-box{
  position:relative;
  margin-bottom: 35px;
}

#l_message .p_message-title{
  position:absolute;
  width:60%;
  padding:0.5em;
  top:50%;
  left:40%;
  transform: translateY(-50%);
}

#l_message .p_message-title .p_title{
  font-size: 1.8rem;
  font-weight: bold;
  color:#6255a4;
}

#l_message .p_message-title p.p_name{
  margin-bottom: 0!important;
}

@media screen and (max-width:768px) {
.c_intern-box {
  margin-bottom: 60px;
}

.c_intern-box .p_intern-box {
  width: 70%;
  margin: 5px 0 0 15px;
}
.c_intern-box .p_img {
  width: 32%;
}
.c_intern-box .p_name {
  font-weight: 700;
  font-size: 1.0rem;
}
.c_intern-box .p_information {
  font-size: 0.813rem;
  line-height: 1.2rem;
  margin-bottom: 30px !important;
  font-weight: normal;
}
.c_intern_top {
  display: flex;
}
.c_intern-box .p_intern-txt {
  font-weight: normal;
  margin: 15px 0 20px;
}

.c_btn-area {
  text-align: center;
}

#l_message .c_intern-box .p_intern-box, #l_student-voices .c_intern-box .p_intern-box{
  width: calc(100% - 123px);
}
#l_message .c_intern-box .p_img, #l_student-voices .c_intern-box .p_img{
  width: 108px;
}

#l_message .p_message-box{
  margin-bottom: 10px;
}

#l_message .p_message-title .p_title{
  font-size: 1.2em;
  font-weight: bold;
  color:#6255a4;
  line-height: 1.2;
}
}

@media screen and (max-width:376px) {
  #l_message .p_message-title{
    width:55%;
    left:45%;
  }
}