/*header*/
header a {
  text-decoration-line:none;
}

/* top mov調整 */
.top-fv-head-list .top-fv-head-sub {
  background: #fff;
  z-index: 1;
}
.top-fv-head-mov video {
  margin:-6.4vw 0 -6.8vw;
  position: relative;
}
@media screen and (max-width: 1000px) {
  .top-fv-head-mov video {margin:-8vh 0 -10vh;}
}
@media screen and (max-width: 500px) {
  .top-fv-head-mov video {margin: -3.7vh 0 -4.3vh;}
}

/* top mov下調整 */
.bg-c-bottom picture::before {
    content: "";
    position: absolute;
    height: 100px;
    width: 100%;
    clip-path: polygon(100% 1%, 27% 100%, 100% 100%); 
    background-color: #e73650;
　　 right: 0;
    bottom: -1px; 
}
.bg-c-bottom::after {
    content: "";
    position: absolute;
    height: 100px;
    width: 100%;
    clip-path: polygon(0 0, 0% 100%, 29% 100%); 
    background-color: #e73650;
　　 left: 0;
    bottom: -1px; 
}
@media screen and (max-width: 500px) {
.bg-c-bottom picture::before,.bg-c-bottom::after {
    height: 35px;
}
}



/* common */
main a {
  color: #e73650;
  text-decoration-line:underline;
}
main .top-guide-list a,main .recommend_wrap a,
main .l-bn-slider a,main .top-fv-head-list a
{ text-decoration:none;}main a.gold {color: #85772a;}
main a.no-under {text-decoration-line:none;}
.red{color: #e73650;}
.bg-beige{background: #eedfbf!important;}

.align-center{text-align: center!important;}
.align-left{text-align: left!important;}
.under-line{border-bottom: 2px solid #e73650;}
.no-hidden{overflow:inherit;}

/* 二重打ち消し線　*/
del {
    background-image: linear-gradient(transparent 0.5em, #e73650 0, #e73650 calc(0.5em + 1px), transparent 0, transparent calc(0.5em + 3px), #e73650 0, #e73650 calc(0.5em + 4px), transparent 0);
    text-decoration: none;
    background-position-y: 3px;
}


/* 注目情報 */
.l-contents .attention{
  border-radius: 0;
  width: fit-content;   
}
.l-contents .attention p{
  margin: 10px 0;
 line-height: 1.6;
}

/* 囲い　*/
.red-fence{
  border: 3px solid #e73650;
  border-radius: 30px;
  padding: 0 30px ;
  margin-top: 30px;
}
.l-contents .red-fence h3.tit-h3-2{
  margin-bottom: 10px;
  padding: 0;
}
.l-contents .red-fence h3.tit-h3-2 + p{
  margin: 0;
  padding: 0;
}
.l-contents .red-fence h3.tit-h3-2 + table{
  margin-top: : 10px;
}
.wp-content .red-fence h4.red + p{
  margin-top: 5px;
}
.l-contents .red-fence h5{
  margin-bottom: 15px;
}
.l-contents .red-fence h5 + table{
  margin-top: 15px;
}
.l-contents .red-fence .cta-link-item a{
  background: #fff;
}

/* 囲いテーブル */
.contents-main-text .red-fence table.default{
  width: inherit;
}
.contents-main-text .red-fence table.default th{
   padding: 10px;
}
.contents-main-text .red-fence table.default td{
   padding: 10px;
}
/* ボタン */
.btn-wrap-left .btn-bdr{
  margin-left: inherit;
  margin-right: inherit;
}  
.link-list {
  margin: 30px!important; -5px 20px;
}
.link-list-item a {
  border: 1px solid #e73650;
}
.link-list-item a:before {
  border-top: 2px solid #e73650;
  border-right: 2px solid #e73650;
}

/* テーブル */
.contents-main-text table.default{
    border: 1px solid #000;
    width: 100%;
  margin: 30px 0;
}
.contents-main-text table.default th{
  background-color: inherit;
  border: 1px solid #000;
}
.contents-main-text table.default td{
  border: 1px solid #000;
}

/* CTAリンク */
.l-contents .cta-link {
  margin: 30px -5px 20px;
  font-size: 0;
  text-align: left;
}
.l-contents .cta-link-item {
  display: inline-block;
  width: 50%;
  margin-bottom: 15px;
  padding: 0 5px;
}
.l-contents .cta-link-item a {
  position: relative;
  display: block;
  padding: 18px 0;
  color: #e73650;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  border-radius: 24px;
  background-color: #fff;
  background: none;
  border: 2px solid #e73650;
  box-shadow: none;
}
.l-contents .cta-link-item a:before {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 12px;
  height: 12px;
  transform-origin: top right;
  border-top: 2px solid #e73650;
  border-right: 2px solid #e73650;
  transform: rotate(45deg);
}
.l-contents .cta-1column{
  display: flex;
  flex-wrap: wrap;
}
.l-contents .cta-1column li{
  width: 100%;
  display: flex;
  justify-content: center;
}
.l-contents .cta-1column li a{
  width: 400px;
}

/* Tel制御 */

.footer-info-desc a[href*="mailto:"],.footer-info-desc a[href*="tel:"] {color: #fff;}

@media (min-width: 501px) { 
          .footer-info-desc a[href*="tel:"] {
            pointer-events: none; 
            cursor: default;
            text-decoration: none;
          }
}

/* 箱 */
.box-flex{
  display: flex;
  align-items: center;
  padding: 5px 20px!important;
}
.line-box{
  border-left: 3px solid #e73650;
  padding-left: 10px;
}

/* アロー arrow */
.d-arrow{
  position: relative;
}
.d-arrow::after{
    content: "";
    display: inline-block;
    position: absolute;
    bottom:-40px;
    left: 0px; 
    width: 100%;
    height: 35px;
    background-image: url('/wp-content/themes/msc2025/assets_new/img/admission/admission-arrow.png');
    background-position: center;
    background-size:contain;
  background-repeat: no-repeat;
  background-color: inherit;  
  z-index: 100;
}

/* 見出し */
/* h2 */
.l-contents h2:not([class]){
  display: flex;
  align-items: center;
  gap: 18px;               /* 見出しテキストとラインの間隔 */
  font-size: 20px;         /* 調整してください */
  font-weight: 800;
  color: #e73650;          /* 見出しの色（赤系） */
  margin: 60px 0 30px;
  padding: 0;
  line-height: 1;
}
.l-contents h2:not([class]):before {
  content: none;
}
.l-contents h2:not([class]):after {
  content: "";
  display: block;
  flex: 1;                 /* 右へ伸びる部分 */
  height: 1px;             /* ラインの太さ（細いライン） */
  margin-left: 6px;        /* テキストとの余白（必要なら調整） */
  /* 二重背景：
     - 上のレイヤーで短い太いバー（見出し色）
     - 下のレイヤーで細いライン（薄めの色） */
  background-image:
    linear-gradient(90deg, #e73650 0 18px, rgba(0,0,0,0) 18px),
    linear-gradient(90deg, #e73650 0 100%);
  background-repeat: no-repeat;
  /* 1つ目は短いバー（幅×高さ）、2つ目は全体の細ライン */
  background-size: 18px 6px, 100% 1px;
  background-position: left center, left center;
  align-self: center;
  border-radius: 2px;
}
.l-contents h2.tit-h2-2{
  color: #e73650;  
  padding: 0;
}
.l-contents h2.tit-h2-2:before{
  content: none;
}
.l-contents h2.tit-h2-2 span{
	border-bottom: solid 3px #e73650; 
}

h2.tit-h2-3{
  display: inline-flex;
  align-items: center;
  padding: 5px 20px;
  font-size: 20px;          /* ← 指定のフォントサイズ */
  color: #e73650;           /* 変更済みのアクセント色 */
  background: #fff;
  border: 1px solid #e73650;/* ボーダー色も合わせて変更 */
  border-radius: 999px;
  white-space: nowrap;
  box-sizing: border-box;
  z-index: 1;
  margin: 0;                /* h2 のデフォルトマージンをリセット */
}
h2.tit-h2-3::before,
h2.tit-h2-4::before
{content: none;}

.pill-heading{
  display: flex;
  align-items: center;              /* 見出しテキストとラインの間隔 */
  color: #e73650;          /* 見出しの色（赤系） */
  margin: 60px 0 30px;
  padding: 0;
  height: 1px;
  background-color: #e73650;      
}

h2.tit-h2-4{
  color: #e73650; 
  margin: 30px 0 0px;
  padding: 20px 0;
  font-size: 20px;
  line-height: 1.5;
  border-radius: inherit;
  background-color: inherit;
  border: none;  
}

.l-contents h2.tit-h2-4 + p,
.l-contents h2.tit-h2-4 + table{
  margin-top: 0;
}

/* h3 */
.l-contents h3:not([class]){
  margin: 30px 0 30px;
  padding: 20px 25px;
  font-size: 18px;
  line-height: 1.5;
  border-radius: inherit;
  background-color: #F4F2E9;
  border: 1px solid #e73650;
}
.l-contents h3.tit-h3-2{
  color: #e73650; 
  margin: 30px 0 0px;
  padding: 20px 0;
  font-size: 20px;
  line-height: 1.5;
  border-radius: inherit;
  background-color: inherit;
  border: none;
}
.l-contents h3.tit-h3-2 + p,
.l-contents h3.tit-h3-2 + ol,
.l-contents h3.tit-h3-2 + h4,
.l-contents h3.tit-h3-2 + table{
  margin-top: 0;
}
h3.tit-h3-3{
    display: flex;
    align-items: center;
  position: relative;
  background: none;
  margin: 0;
  font-size: 21px;
  color: #e73650; 
  width: 100%;
}
h3.tit-h3-3:before,
h3.tit-h3-3:after{
    content: "";
    height: 2px;
    flex-grow: 1;
    background-color: #e73650; 
}
h3.tit-h3-3:before{
    margin-right: 1rem;
}
h3.tit-h3-3:after{
    margin-left: 1rem;
}
h3.tit-h3-4{
  display: inline-block;
  text-align: center;
  background: none;
  margin: 0;
  padding-bottom: 0;
  font-size: 21px;
  color: #e73650; 
  width: 100%;
  border-radius: inherit;
}
h3.tit-h3-4 span{
	border-bottom: solid 3px #e73650; 
}

/* h4 */
.wp-content h4.beige{
  margin: 30px 0 20px;
  font-size: 20px;
  line-height: 1.5;
  background: #f5f1df;
  width: fit-content;
  padding: 5px 20px;
}
.wp-content h3 + h4.beige{
  margin: 10px 0 20px;  
}
.wp-content h4.red{
  color: #e73650; 
  margin: 0;
}
.wp-content h4.red + p{
  margin-top: 15px;
}

/* ul */
.contents-main-text ul.no-style li:before {
  content: none;
}
/* ul.red-circle */
.contents-main-text ul.red-circle {
  margin: 0;
}
.contents-main-text ul.red-circle li {
  position: relative;
  padding-left: 23px;
  font-size: 18px;
  line-height: 1.3333333333;
}
.contents-main-text ul.red-circle li:before {
  content: "●";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  color: #e73650;
  background: none;
  border-radius: 50%;
}

/* ol */
.contents-main-text ol.ol-1 li:first-child h4 {
    margin-top: 0;
}
.contents-main-text ol.ol-1 li h4{
    margin-top: 10px;
    margin-bottom: 5px; 
    color:  #e73650;
}
.contents-main-text ol.ol-1 li h4 + p {
    margin-top: 0;  
    margin-bottom: 10px;
}
.contents-main-text ol.ol-1 li {
  margin-top: 0;
  position: relative;
  padding-left: 26px;
  font-size: 18px;
  line-height: 1.3333333333;
  
}
.contents-main-text ol.ol-1  li + li {
  margin-top: 0px;
}
.contents-main-text ol.ol-1 li:before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  padding: 5px 0;
  color:  #e73650;
  font-size: 24px;
  font-family: "Rubik", system-ui;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  background: none;
}
.contents-main-text ol.ol-1 li:after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/themes/msc2025/assets_new/img/admission/admission-arrow.png');
    background-position: center;
    background-size: contain;
  background-repeat: no-repeat;
}
.contents-main-text ol.ol-1 li:last-child:after {
      content: none;
}
/* ol-red */
.contents-main-text ol.ol-red li:before {
  background: #e73650;
}

/* 画像 */
.l-contents figure:not([class]) {
  border-radius: inherit;
}
.l-contents .figure-2colum{
  display: flex;
  gap:30px;
}
.l-contents .about-consul .figure-2colum{
    padding: 0 40px 40px;
}
@media screen and (max-width: 500px) {
.l-contents .figure-2colum{
    flex-wrap: wrap;
  }
.l-contents .figure-2colum{
  gap:0px;
}
.l-contents .about-consul .figure-2colum{
    padding: 0 0px 20px;
}
}

/* 画像付きボックス */
.img-box-item + .img-box-item {
  margin-top: 0px;
}
.img-box-item-img .img {
  border-radius: inherit;
}
.img-box-item-contents {
  vertical-align: text-top;
}
.l-contents .img-box-item-contents h4{
  margin-bottom: 10px;
}

/* Newsコンテンツ */
.news-contents p a{
  text-decoration-color: #8e7c13!important;
}
.news-contents .mainimg img {
  max-width: inherit;
}
.news-contents .news-main-text .wp-block-image, .news-contents .news-main-text .wp-block-gallery {
  max-width: inherit;
}

/* faq*/
.contents-main-text .toc-list-item a {
  color: #e73650;
  border: 2px solid #e73650;
  border-radius: 22px;
  font-size: 17px;
  display: flex;
  justify-content: center;
}
.contents-main-text .toc-list-item a:before {
  border-top: 2px solid #e73650;
  border-right: 2px solid #e73650;
  top: 50%;
  right: 40px;
  width: 12px;
  height: 12px;
  transform: rotate(135deg) translateY(-50%);
}
.contents-main-text ul.toc-list li:before,
.contents-main-text ul.faq-item-wrap li:before,
.contents-main-text ul.cta-link li:before
{content:none ;}
.contents-main-text ul.toc-list,
.contents-main-text ul.faq-item-wrap{
  margin: 0;
}
.contents-main-text ul.toc-list li {
  position: relative;
  padding-left: 10px;
}
.contents-main-text ul.faq-item-wrap li {
  padding-left: 0px;
}
.contents-main-text ul.faq-item-wrap li h4 {
  margin:0 ;  
}
.contents-main-text ul.faq-item-wrap li span{
 margin: 4px 0 0;
}
.contents-main-text ul.toc-list li + li,
.contents-main-text ul.faq-item-wrap li + li{
  margin-top: 0;
}
@media screen and (max-width: 500px) {
 .contents-main-text ul.faq-item-wrap li span{
 margin: 2px 0 0;
} 
}

/* 学校情報　*/
.correspondence-logo{
  width: 50px;
  height: 30px;
  margin-right: 10px;
}

/* ゴールド目次　*/
.toc-2column,
.toc-3column {
  overflow: hidden;
  margin: 15px -5px 30px;
  .toc-list {
    display: flex;
    font-size: 0;
    margin: 0 !important;
  }
  .toc-list-item {
    display: inline-block;
    width: 50%;
    margin-bottom: 10px;
    padding: 0 5px;
    &::before {
      display: none;
    }
  }
  .toc-list-item a {
    position: relative;
    display: block;
    padding: 10px 0;
    color: #8e7c13;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    border-radius: 28px;
    background-color: #fff;
    border: 1px solid #8e7c13;
  }
  .toc-list-item a:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 30px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #8e7c13;
    border-right: 2px solid #8e7c13;
    transform-origin: top right;
    transform: rotate(135deg) translateY(-50%);
  }
}

.toc-2column{
  .toc-list-item a:before {
    top: 55%;
    transform: rotate(45deg) translateY(-50%);
  }  
}

@media screen and (max-width: 500px) {
  .toc-2column,
  .toc-3column {
     .toc-list {
    flex-wrap: wrap;
    }
    .toc-list-item {
      display: block;
      width: 100%;
      a {
        padding: 12px 0;
      }
    }
  }
.toc-2column{
  .toc-list-item a:before {
    right:10px;
  }  
}
}

/* 学費のご案内　*/
.line-box-tb{
  border-top: 3px solid #e73650;
  border-bottom: 3px solid #e73650;
  margin: 10px 0 30px;
  position: relative;
}
.line-box-tb .check-img{
  position: absolute;
  top:10px;
  right: 0;
  width: 70px;
}
.line-box-tb .img-box{
  margin: 0;
  padding: 15px 0 10px;
}
.line-box-tb .img-box .img-box-item .img-box-item-img{
  margin-right:0px;
  width: 200px;
}
.line-box-tb .img-box .img-box-item .img-box-item-contents{
  padding-left:20px;
}
.line-box-tb .img-box .img-box-item .img-box-item-contents h5{
  margin: 0 0 10px;
}
.line-box-tb .img-box .img-box-item .img-box-item-contents p{
line-height: 1.5;
  font-size: 17px;
}
.l-contents .line-box-tb p:not([class]) {
  margin: 5px 0 0;
}

@media screen and (max-width: 500px) {
.line-box-tb .check-img{
  position: absolute;
  top:-40px;
  transform: rotate(-30deg);
}
 .line-box-tb .img-box .img-box-item{
   display: flex;
   flex-wrap: wrap;
  }
.line-box-tb .img-box .img-box-item .img-box-item-img{
  width: 100%;
}
.line-box-tb .img-box .img-box-item .img-box-item-contents{
  padding-left:0px;
}
  .l-contents .line-box-tb p:not([class]) {
    margin: 20px 0 0;
    font-size: 16px;
  }
}

 /* オープンキャンパス　*/
.l-contents h2.tit-open{
  position: relative;
  margin: 20px 0 30px;
  padding-bottom: 22px;
  font-size: 28px;
  font-weight:bold;
  line-height: 1.5;
}
 .l-contents h2.tit-open:before {
  content: none;
}
@media screen and (max-width: 500px) {
  .l-contents h2.tit-open{
  font-size: 24px;
   margin: 20px 0 10px;
}
}
.l-contents h2.tit-open + div{
  margin: 10px 0 0px;
}

.cam-2colum{
  display: flex;
  overflow: hidden;
}
ul.cam-list {
    display: flex;
  width: 100%;
    margin: 0;
  align-items:first baseline;
  justify-content:space-between;
  }
ul.cam-list li{
  margin: 0;
  padding-left: 0;
  font-size: 20px;
  width: 390px;
  font-weight: bold;
    &::before {
      display: none;
    }
}
ul.cam-list li.cam-list-head li,
ul.cam-list li.cam-list-foot li{
    display:flex;
    width: 100%;
    margin-bottom: 0px;
  border: 2px solid #e73650;
    border-radius: 20px;
  padding: 5px 20px;
    &::before {
      display: none;
    }
  }
ul.cam-list li.cam-list-head li:last-child,
ul.cam-list li.cam-list-foot li:last-child{
  border: none;
  justify-content: center;
}
ul.cam-list li.cam-list-head li:last-child:before,
ul.cam-list li.cam-list-foot li:last-child:before{
    content: "";
    display: inline-block;
    position: absolute;
  top:-10px;
  left: 30px;
    width: 100px;
    height: 30px;
    background-image: url('/wp-content/themes/msc2025/assets_new/img/opencampus/opencampus-img01.png');
    background-position: center;
    background-size:contain;
  background-repeat: no-repeat;
  background-color: inherit;
}
ul.cam-list li.cam-list-head li:last-child:after,
ul.cam-list li.cam-list-foot li:last-child:after{
    content: "";
    display: inline-block;
    position: absolute;
  top:40px;
  left: 140px;
    width: 100px;
    height: 30px;
    background-image: url('/wp-content/themes/msc2025/assets_new/img/admission/admission-arrow.png');
    background-position: center;
    background-size:contain;
  background-repeat: no-repeat;
  background-color: inherit;
}

 ul.cam-list .opencampus-event-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
ul.cam-list .opencampus-event-list-item {
  overflow: hidden;
  margin: 15px 0 0;
  width: 100%;
  padding: 0;
  color: #170900;
  text-decoration: none;
  text-align: center;
  background-color: #fff;
  border-radius: 0;
  box-shadow: inherit;
}
ul.cam-list .opencampus-event-list-item .img {
  margin: -30px -20px 10px;
}
ul.cam-list .opencampus-event-list-item .ttl {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}
ul.cam-list .opencampus-event-list-item .link {
  position: relative;
  display: inline-block;
  padding: 15px 30px 18px;
  margin-bottom: 30px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  color: #e73650;
  text-align: center;
  background-color: inherit;
  border: 2px solid #e73650;
  border-radius: 20px;
}
ul.cam-list .opencampus-event-list-item .link:before {
    content: "";
    position: absolute;
    top: 54%;
    right: 15px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #e73650;
    border-right: 2px solid #e73650;
    transform-origin: top right;
    transform: rotate(45deg) translateY(-50%);
  }

@media screen and (max-width: 500px) {
  .l-contents h2.tit-open{
  font-size: 24px;
   margin: 20px 0 10px;
}

ul.cam-list {
    flex-wrap: wrap;
  width: 100%;
  }
ul.cam-list li{
  width: 100%;
}

ul.cam-list li.cam-list-head li:last-child,
ul.cam-list li.cam-list-foot li:last-child{
  margin: 10px 0 0;
}
ul.cam-list li.cam-list-head li:last-child:before,
ul.cam-list li.cam-list-foot li:last-child:before{
  top:0px;
  left: 3%;
}
ul.cam-list li.cam-list-head li:last-child:after,
ul.cam-list li.cam-list-foot li:last-child:after{
  left: 35%;
}
ul.cam-list .opencampus-event-list {
  gap: 0px;
}
ul.cam-list .cam-list-foot .opencampus-event-list-item  {
  margin: 0 0 40px;
}
ul.cam-list .opencampus-event-list-item .img {
  margin: -20px 0px 15px;
}
ul.cam-list .opencampus-event-list-item .ttl {
  margin-bottom: 15px;
  font-size: 18px;
}
ul.cam-list  .opencampus-event-list-item .link {
  padding: 15px 30px 20px;
}
}

 /* オープンキャンパス　オンライン　*/
.opencampus-deta-area {
  max-width: 100%;
  position: relative;
  margin: 40px 0 30px;
  padding-bottom: 22px;
  font-size: 28px;
  line-height: 1.5;
  font-weight: bold;
}
.opencampus-deta-area.js-switch:before,
.opencampus-deta-area.js-switch:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 20px;
  height: 2px;
  background: #e73650;
  transform-origin: center center;
  transition: 0.3s;
}
.opencampus-deta-area.js-switch:after {
  transform: rotate(90deg);
}
.opencampus-deta-area.active.js-switch:after {
  transform: rotate(0);
}
.opencampus-deta {
  max-width: 100%;
  margin: 20px auto 60px;
}
.js-switch + .opencampus-deta {
  display: none;
}

.js-switch + .opencampus-deta-item-contents {
  display: none;
}
.contents-main-text .opencampus-deta-item {
  overflow: hidden;
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid #D0CDBB;
  border-radius: 8px;
  list-style:none;
  padding: 0;
}
.opencampus-deta-item a.opencampus-deta-item-btn {
  padding: 0px 70px 0px 40px;
}
.opencampus-deta-item a.opencampus-deta-item-btn  p.day{
  margin: 0;
}
.opencampus-deta-item a.opencampus-deta-item-btn  ul.time{
  margin: 15px 0 15px;
}

.opencampus-deta-item p.day {
  margin: 0;
  padding: 0;
}
.opencampus-deta-item ul.time{
  margin: 0 0 15px;
}

.contents-main-text .opencampus-deta-item:before,
.contents-main-text .opencampus-deta-item li:before{
  content: none;
}
.opencampus-deta-item + .opencampus-deta-item {
  margin-top: 20px;
}
.opencampus-deta-item-btn {
  position: relative;
  display: block;
  padding: 20px 70px 20px 40px;
  color: #111;
  text-decoration: none;
  line-height: 1.2;
  background-color: #fff;
  cursor: pointer;
}
.opencampus-deta-item-btn .ttl {
  gap: 6px;
}
.opencampus-deta-item-btn .ttl .area {
  color: #fff;
  padding: 5px 10px 6px;
  font-size: 20px;
  font-weight: 500;
  border-radius: 4px;
  background-color: #e73650;
  white-space: nowrap;
}
.opencampus-deta-item-contents {
  padding: 0px 40px 40px;
}
.opencampus-deta-item-contents .btn-wrap a {
  padding: 0 0 20px;
}
.opencampus-viewmore {
  margin: 30px auto 60px;
}
a.opencampus-deta-item-btn:before{
  content: none;
}
a.opencampus-deta-item-btn ul:before{
  content: "";
  position: absolute;
  top: 50%;
  right: 50px;
  width: auto;
  height: auto;
  border-left: 8px solid #e73650;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transform: translateY(-50%);
  background: none;
}
@media screen and (max-width: 500px) {
  .opencampus-deta-item-btn,
  .opencampus-deta-item-btn ul,
  .opencampus-deta-item a.opencampus-deta-item-btn{
  padding-left:20px;
  }
.opencampus-deta-item ul.time{
  padding: 0;
}
.opencampus-deta-item-btn .ttl .area {
  padding: 5px 10px 6px;
  font-size: 15px;
}
  .opencampus-deta-item-contents {
      padding:  20px 20px;
  }
  .opencampus-deta-item-contents table +.btn-wrap{
    margin: 40px auto 0;
  }
a.opencampus-deta-item-btn ul:before{
  right: 25px;
}
}

  /* 個別相談会のご相談　*/
.about-consul p{
  font-size: 20px;
}
.consul-2colum{
  display: flex;
  overflow: hidden;
  flex-wrap: wrap;
  justify-content: center;
}

ul.consul-list {
    display: flex;
  width: 100%;
    margin: 0;
  align-items:first baseline;
  justify-content:space-between;
  }
ul.consul-list li{
  margin: 0;
  padding-left: 0;
  font-size: 20px;
  width: 390px;
  font-weight: bold;
    &::before {
      display: none;
    }
}
ul.consul-list li ul {
  margin-bottom: 0;
}
ul.consul-list + p{
  position: relative;
  font-size: 20px!important;
  font-weight: bold;
  line-height: 1!important;
  padding-bottom: 15px;
}
ul.consul-list + p::before{
    content: "";
    display: inline-block;
    position: absolute;
  top:-20px;
    left:  275px;
    width: 100px;
    height: 30px;
    background-image: url('/wp-content/themes/msc2025/assets_new/img/opencampus/opencampus-img01.png');
    background-position: center;
    background-size:contain;
  background-repeat: no-repeat;
  background-color: inherit;  
  transform: scale(-1, 1);
}
ul.consul-list + p::after{
    content: "";
    display: inline-block;
    position: absolute;
    top:30px;
    left: 0px; 
    width: 100%;
    height: 35px;
    background-image: url('/wp-content/themes/msc2025/assets_new/img/admission/admission-arrow.png');
    background-position: center;
    background-size:contain;
  background-repeat: no-repeat;
  background-color: inherit;  
  z-index: 100;
}
ul.consul-list li.consul-list-head li,
ul.consul-list li.consul-list-foot li{
    display:flex;
    width: 100%;
    margin-bottom: 0px;
  border: 2px solid #e73650;
    border-radius: 20px;
  padding: 5px 20px;
    &::before {
      display: none;
    }
  }
.consul-2colum + h3.tit-h3-3 + p{
  font-size: 20px;
}
.consul-2colum + h3.tit-h3-3 + p span.red{
  font-weight: bold;
}
.consul-2colum + h3.tit-h3-3 + p + ul{
  margin-bottom: 55px;
}
.consul-2colum + h3.tit-h3-3 + p + ul + p{
  margin-bottom: 30px;
}

@media screen and (max-width: 500px) {
ul.consul-list {
  flex-wrap: wrap;
  width: 100%;
  }
ul.consul-list li{
  width: 100%;
}
ul.consul-list li.consul-list-foot{
  margin-top: 0;
  }
ul.consul-list li.consul-list-foot ul:last-child {
  margin-top: 15px;
  margin-bottom: 20px;
}
ul.consul-list + p{
  position: relative;
  font-size: 20px!important;
  font-weight: bold;
  line-height: 1!important;
  padding-bottom: 20px;
  width: 100%;
  text-align: center;
}
ul.consul-list + p::before{
    content: "";
    display: inline-block;
    position: absolute;
    top:-35px;
    right:  0px;
    width: 90px;
    height: 30px;
    background-image: url('/wp-content/themes/msc2025/assets_new/img/opencampus/opencampus-img01.png');
    background-position: center;
    background-size:contain;
  background-repeat: no-repeat;
  background-color: inherit;  
  transform: scale(-1, 1);
}
ul.consul-list + p::after{
    content: "";
    display: inline-block;
    position: absolute;
    top:30px;
    left: 0px; 
    width: 100%;
    height: 30px;
    background-image: url('/wp-content/themes/msc2025/assets_new/img/admission/admission-arrow.png');
    background-position: center;
    background-size:contain;
  background-repeat: no-repeat;
  background-color: inherit;  
  z-index: 100;
}  
}

/* M-zemi　*/
.m-zemi{
 --gutter: 25px; 
  padding: 25px var(--gutter);
  margin: 0 auto;
  box-sizing: border-box;
}
.m-zemi h2.tit-h2-2{
  font-size: 22px;
  line-height: 2;
}
.m-zemi p{
  font-size: 20px;
}
.m-zemi-2colum{
  display: flex;
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  width: calc(100% + 2 * var(--gutter));  
  box-sizing: border-box;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  position: relative;
  z-index: 100;
}
.m-zemi-head {
  width: 50%; 
  position: relative;
  z-index: 0;
  }
.m-zemi-head figure{
   margin: 0!important;
  position: relative;
  z-index: 0;  
}
.m-zemi-head figure img{
  position: relative;
  z-index: 0;
}
.m-zemi-foot {
  width: 50%; 
  border-left: 2px solid #000;
  }
.m-zemi-foot h2 {
  background-color: #fffbc7;
  height: 50px;
  margin: 0!important;
  border-bottom: 2px solid #000;
  padding: 0 20px!important;
}
.m-zemi-foot ul.red-circle{
  padding: 20px;
}
.m-zemi-foot ul.red-circle li{
  line-height: 1;
}
.m-zemi-foot ul.red-circle.second{
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
}
.m-zemi-foot ul.red-circle.second li{
  line-height: 1;
  margin-left: 10px;
}

@media screen and (max-width: 500px) {
.m-zemi-2colum{
  flex-wrap: wrap;
}
.m-zemi-head {
  width: 100%;
  border-bottom: 2px solid #000;
  }
.m-zemi-foot {
  width: 100%; 
  border-left: none;
  }
}
.m-zemi h3.tit-h3-4{
 padding: 0; 
}
.m-zemi h3.tit-h3-4 + figure{
  text-align: center;
}
.m-zemi h3.tit-h3-4 + figure img{
  max-height: 125px; 
  width: auto;
}
.m-zemi span.i-news{
  margin-left: 40px;
  position: relative;
}
.m-zemi span.i-news:before{
    content: "";
    display: inline-block;
    position: absolute;
    left:  -38px;
    width: 35px;
    height: 35px;
    background-image: url('/wp-content/themes/msc2025/assets_new/img/m-zemi/m-zemi-img14.png');
    background-position: center;
    background-size:contain;
  background-repeat: no-repeat;
  background-color: inherit;  
}

.mzemi-skill{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.contents-main-text ul.mzemi-skill li{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;  
  border: 1px solid #e73650;
  border-radius: 70px;
  height: 130px;
  width: 130px;
  background: #fff;
  font-size: 25px;
  text-align: center;
  font-weight: bold;
}
.contents-main-text ul.mzemi-skill li:before{
  content: none;
}
@media screen and (max-width: 500px) {
.mzemi-skill{gap: 15px;}
.contents-main-text ul.mzemi-skill li{
  height:100px;
  width: 100px;
  font-size: 20px;
}
}

/* support　*/
.support h2.tit-h2-2{
  margin: 25px 0 0;
}
.sup01-2colum{
  display: flex;
  overflow: hidden;
}
ul.sup01-list {
  display: flex;
  width: 100%;
  margin: 0;
  }
ul.sup01-list li{
  font-size: 18px;
  font-weight: bold;
    &::before {
      display: none;
    }
}
ul.sup01-list li.sup01-list-head{
  width:55%;
  margin: 0;
  padding: 0;
}
ul.sup01-list li.sup01-list-head p{
  border-top: 2px solid #e73650;
  padding-top: 10px;
  margin-top: 25px;
}
ul.sup01-list li.sup01-list-head figure{
  width: 95%;
}
ul.sup01-list li.sup01-list-foot{
  width:45%;
  margin: 0 0 25px;
  padding: 0;
}
ul.sup01-list li.sup01-list-foot table.default{
width: 100%;  
  font-weight: normal;
  margin: 15px 0 ;
}
ul.sup01-list li.sup01-list-foot h3.tit-h3-2{
  font-size: 19px;
  margin: 0;
  padding: 0;
}
.l-contents ul.sup01-list li.sup01-list-foot p{
  font-size: 17px;
  font-weight: normal;
  margin: 0 0 10px;
}
@media screen and (max-width: 500px) {
ul.sup01-list {
  flex-wrap: wrap;
  }
ul.sup01-list li.sup01-list-head{
  width:100%;
  margin: 0 0 10px;
}
ul.sup01-list li.sup01-list-head figure{
  width: 100%;
}
ul.sup01-list li.sup01-list-foot{
  width:100%;
  text-align:justify;
}
}

.sup02-2colum{
  display: flex;
  overflow: hidden;
}
.sup02-2colum + h2.tit-h2-2{
  margin: 20px;
}
ul.sup02-list {
  display: flex;
  width: 100%;
  align-items:baseline;
  margin: 10px 0 0;
  }
ul.sup02-list li{
  font-size: 18px;
  font-weight: bold;
    &::before {
      display: none;
    }
}
ul.sup02-list h3.tit-h3-2{
  font-size: 19px;
  margin: 10px 0 5px;
  padding: 0;
}
.l-contents ul.sup02-list p{
  font-size: 17px;
  font-weight: normal;
  text-align: justify;
  margin-bottom: 20px;
}
ul.sup02-list li.sup02-list-head{
  width:50%;
  margin: 0;
  padding: 0;
}
ul.sup02-list li.sup02-list-head p{
  margin-right: 30px;
}
ul.sup02-list li.sup02-list-foot{
  width:50%;
  padding: 0;
}
ul.sup02-list li.sup02-list-foot h3.tit-h3-2,
ul.sup02-list li.sup02-list-foot p,
ul.sup02-list li.sup02-list-foot hr
{margin-left: 30px;}

li.sup02-list-foot .sup02-list-foot-sub{
  display: flex;
  margin-left: 30px;
}
li.sup02-list-foot .sup02-list-foot-sub figure{
  width: 80px;
  margin-right: 20px;
}
li.sup02-list-foot .sup02-list-foot-sub div{
  width: 290px;
}
li.sup02-list-foot .sup02-list-foot-sub h4.red{
  font-size: 17px;
}
li.sup02-list-foot .sup02-list-foot-sub h4.red + p{
  margin: 5px 0 0;  
}

@media screen and (max-width: 500px) {
ul.sup02-list {
  flex-wrap: wrap;
  }
ul.sup02-list li.sup02-list-head{
  width:100%;
}
ul.sup02-list li.sup02-list-head p{
  margin-right: 0px;
}
ul.sup02-list li.sup02-list-foot{
  width:100%;
}
ul.sup02-list li.sup02-list-foot h3.tit-h3-2,
ul.sup02-list li.sup02-list-foot p,
ul.sup02-list li.sup02-list-foot hr
{margin-left: 0;}

li.sup02-list-foot .sup02-list-foot-sub{
  margin-left: 0;
}
}

ul.sup03-list {
  display: flex;
  width: 100%;
  align-items:inherit;
  margin: 10px 0 0;
  }
ul.sup03-list li{
  font-weight: bold;
    &::before {
      display: none;
    }
}
ul.sup03-list h3.tit-h3-2{
  font-size: 19px;
  margin: 0px 0 5px;
  padding: 0;
}
.l-contents ul.sup03-list p{
  font-size: 17px;
  font-weight: normal;
  text-align: justify;
  margin-bottom: 20px;
}
ul.sup03-list li.sup03-list-head{
  width:50%;
  margin: 0;
  padding: 0;
}
ul.sup03-list li.sup03-list-foot{
  width:50%;
  padding: 0;
  margin: 0;
}
ul.sup03-list li.sup03-list-foot h3,
ul.sup03-list li.sup03-list-foot p
{margin-left: 30px;}

.red-fence.sup03-sub{
  display: flex;
  overflow: hidden;
  margin: 0;
  padding: 20px 30px;
  gap:10px;
  justify-content: space-between;
}
.red-fence.sup03-sub p{
  line-height: 1.6;
  margin: 0;  
  font-size: 18px;
}
.sup03-sub figure{
  width: 11%;
}
.red-fence.sup03-sub p.sub-p1{
  width: 58%;
}
.red-fence.sup03-sub p.sub-p2{
 width: 30%;
  padding-left: 20px; 
  border-left: 2px solid #e73650;
 font-size: 17px;
}
@media screen and (max-width: 500px) {
ul.sup03-list {
  flex-wrap: wrap;
  }
ul.sup03-list li.sup03-list-head{
  width: 100%;
}
ul.sup03-list li.sup03-list-foot{
  width: 100%;
}
ul.sup03-list li.sup03-list-foot h3,
ul.sup03-list li.sup03-list-foot p
{margin-left: 0px;}

.red-fence.sup03-sub{
  flex-wrap: wrap;
}
.sup03-sub figure{
  width: 30%;
}
.red-fence.sup03-sub p.sub-p1{
  width: 66%;
  margin-bottom: 5px;
}
.red-fence.sup03-sub p.sub-p2{
 width: 100%;
  padding-top:15px;
  padding-left: 0px; 
  border-top: 2px solid #e73650;
  border-left: none;
}  
}

.sup04-2colum{
  display: flex;
  overflow: hidden;
}
.sup04-2colum + hr{
  margin-bottom: 40px;
}
ul.sup04-list {
  display: flex;
  width: 100%;
  align-items:baseline;
  margin: 5px 0 0;
  justify-content: space-between;
  }
ul.sup04-list li{
    &::before {
      display: none;
    }
}
ul.sup04-list li figure{
  margin: 0!important;
  padding: 0!important;
}
ul.sup04-list h3.tit-h3-2{
  font-size: 19px;
  margin: 10px 0 5px;
  padding: 0;
}
.l-contents ul.sup04-list p{
  font-size: 17px;
  font-weight: normal;
  text-align: justify;
  margin-bottom: 20px;
  margin-top: 10px;
}
.l-contents ul.sup04-list p:last-child{
  margin-bottom: 10px;
}
.l-contents ul.sup04-list p span{
  color: #e73650;
  font-weight: bold;
}
.l-contents ul.sup04-list h3{
 display: flex;
  align-items: center;
  gap: 5px;               /* 見出しテキストとラインの間隔 */
  font-size: 18px;         /* 調整してください */
  color: #000;          /* 見出しの色（赤系） */
  margin: 0;
  padding: 0;
  line-height: 1;
  background: none;
  border: none;
}
.l-contents ul.sup04-list h3:after{
  content: "";
  display: block;
  flex: 1;                 /* 右へ伸びる部分 */
  height: 2px;             /* ラインの太さ（細いライン） */
  margin-left: 6px;        /* テキストとの余白（必要なら調整） */
  background-image:
    linear-gradient(90deg, #000 0 18px, rgba(0,0,0,0) 18px),
    linear-gradient(90deg, #000 0 100%);
  background-repeat: no-repeat;
  /* 1つ目は短いバー（幅×高さ）、2つ目は全体の細ライン */
  background-size: 18px 6px, 100% 2px;
  background-position: left center, left center;
  align-self: center;
  border-radius: 2px;
}
ul.sup04-list li.sup04-list-head{
  width:370px;
  margin: 0!important;
  padding: 0!important;
}
ul.sup04-list li.sup04-list-foot{
  width:370px!important;
  padding: 0!important;
}
li.sup04-list-foot a{
  width: 100%;
    position: relative;
    display: block;
    padding: 15px 0;
    color: #e73650;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    border-radius: 20px;
    background-color: #fff;
    border: 2px solid #e73650;
}
li.sup04-list-foot a:before {
    content: "";
    position: absolute;
    top: 60%;
    right: 30px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #e73650;
    border-right: 2px solid #e73650;
    transform-origin: top right;
    transform: rotate(45deg) translateY(-50%);
  }
.floot-img{
  position: absolute;
  z-index: 100;
  top: -25px;
  right: 15px;
  width: 420px;
}
@media screen and (max-width: 500px) {
ul.sup04-list {
  flex-wrap: wrap;
  margin: 20px 0 0;
  }
.floot-img{
  display: none;
}
}