@charset "utf-8";


/* --------------------
    共通
-------------------- */
body {
    font-family: "Noto Sans JP", sans-serif;
}

main {
    width: 100%;
    margin: 0 auto;
}
img {
    display: inline-block;
    width: 100%;
}
.contents {
    max-width: 960px;
}
.main_color {
    color: #790e28;
}
.bold {
    font-weight: bold;
}


@media screen and (min-width: 769px) {
    .only_sp {
        display: none !important;
    }
}
@media screen and (max-width: 768px) {
    .only_pc {
        display: none !important;
    }
}


/* --------------------
    ヘッダー
-------------------- */
.header {
    background-color: #fff;
    padding: 2% 6%;
}
.header .flex_box {
    display: flex;
    align-items: center;
}
.header .flex_box .logo {
    width: 60%;
}
.header .flex_box .logo img {
    max-width: 50%;
}













/* banner area */

.open-campus-banner {
  margin-top: 40px;
  padding: 0 40px;
}

/* Containers (maintain desktop width/overflow) */
.scroll-container {
  position: relative;
  overflow: hidden;
  width: 940px;
  max-width: 100%;
  margin: 0 auto;
  background: transparent;
}

.scroll-track a {
  display: block;
  box-sizing: border-box;
  flex-shrink: 0;
}
.scroll-track a img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* PC ------------------------------------------- */
@media (min-width: 769px) {
  .scroll-for-sp {
    display: none !important;
  }
  .scroll-for-pc {
    display: block;
  }
  .scroll-for-pc {
    width: 940px;
    margin: 0 auto;
  }
  .scroll-for-pc .scroll-track {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .scroll-for-pc .scroll-track a {
    margin: 0 10px; 
    box-sizing: border-box;
    overflow: hidden;
  }
}

/* SP (Mobile) ---------------------------------- */
@media (max-width: 768px) {
  .scroll-for-pc {
    display: none !important;
  }
  .scroll-for-sp {
    display: block;
    width: 750px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
  }
  .scroll-for-sp .scroll-track a,
  .scroll-for-sp .scroll-track .slick-slide {
    /* width: 256px;   */
  
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;

  }
  .open-campus-banner {
    padding: 0 ;
  }

  .scroll-track a img {
    width: 89.33%;
    height: auto;
    object-fit: cover;
    display: block;
}

 .scroll-for-pc .scroll-track a {
    margin: 0 40px; 
    box-sizing: border-box;
    overflow: hidden;
  }



  

  
}

/* For screens smaller than 750px, full width */
@media (max-width: 750px) {
  .scroll-for-sp {
    width: 100vw;
    max-width: 100%;
    margin: 0;
  }
}

/* Dots Pagination (custom, override Slick) ---- */
.dot-pagination {
  text-align: center;
  margin-top: 15px;
}
.dot-pagination ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 0;
  gap: 10px;
}
.dot-pagination li button {
  font-size: 0; /* hide number text */
}
.dot-pagination li button::before {
  content: "";
}
.dot-pagination button {
  border: none;
  background: #eee;
  width: 40px;
  height: 6px;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
  outline: none;
  transition: background .3s;
}
.dot-pagination .slick-active button {
  background: #666;
}

/* Slick core: Remove arrow buttons */
.slick-arrow {
  display: none !important;
}

/* (Optional) CenterMode "peek" → fade side banners on mobile (SP) */
@media (max-width: 768px) {
  .scroll-for-sp .slick-slide {
    transition: opacity 0.3s;
  }
  .scroll-for-sp .slick-center {
    opacity: 1;
  }
}






/* ボタン */
.btn {
    display: block;
    /* width: 40%; */
    text-align: right;
}
.btn .arrow {
    display: inline-block;
    border: 2px solid #790e28;
    padding: 10px 50px 10px 50px;
    white-space: nowrap;
    position: relative;
}

.btn.btn02 {
    margin: 80px 0 50px 0;
}

.btn.btn02 .arrow {
    font-size: 24px;
    border: 3px solid #790e28;
    padding: 20px 60px;
}

.btn.added-preview .arrow:first-child {
    padding: 20px 75px;
}



.b-nf-area {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

@media screen and (min-width: 769px) {
    .btn .arrow:hover {
        color: #fff;
        background-color: #790e28;
        transition: 0.5s;
    }
}

@media screen and (max-width: 768px) {
    .header {
        background-color: #fff;
        padding: 2% 4%;
    }
    .header .flex_box .logo img {
        max-width: 100%;
    }
    .b-nf-area {
        display: block;
    }
}












/* ボタン */
.btn {
    display: block;
    /* width: 40%; */
    text-align: right;
}
.btn .arrow {
    display: inline-block;
    border: 2px solid #790e28;
    padding: 10px 50px 10px 50px;
    white-space: nowrap;
    position: relative;
}


.btn.btn02 {
    margin: 80px 0 50px 0;
}


.btn.btn02 .arrow {
    font-size: 16px;
    /* font-weight: bold; */
    border: 3px solid #790e28;
    padding: 20px 25px;
    width: 100%;
}

/* .btn.added-preview .arrow:first-child {
    padding: 20px 25px;
} */

.btn.added-preview .arrows:first-child {
    padding: 20px 137px;
}


.b-nf-area {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

@media (max-width: 1136px) {
    .b-nf-area {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .btn.btn02 {
    margin: 50px 0 0 0;
    }

    .btn.btn02 .arrow {
    padding: 20px 38px;
    width: 70%;
    }

    .btn.added-preview .arrows:first-child {
    padding: 20px 50px;
}

 


}







@media screen and (min-width: 769px) {
    .btn .arrow:hover {
        color: #fff;
        background-color: #790e28;
        transition: 0.5s;
    }
    
}
@media screen and (max-width: 768px) {
    .header {
        background-color: #fff;
        padding: 2% 4%;
    }
    .header .flex_box .logo img {
        max-width: 100%;
    }
    .b-nf-area {
    display: block;
    
}


    /* ボタン */
    .btn.btn02 {
    margin: 0 auto 50px auto;
    text-align: center;
    }

    .btn .arrow {
        font-size: 10px;
        padding: 10px 24px 10px 24px;
    }

    .btn.btn02 {
        text-align: center;
        width: 100%;
    }
    .btn.btn02 .arrow {
        font-size: 18px;
        padding: 20px 40px 20px 40px;
        width: 73%;
    }

    .btn.added-preview .arrow:first-child {
        padding: 20px 30.5px;
        width: 73%;
    }
    


    .news_list .view-more-btn {
        padding: 20px 40px;
        width: 285px; 
        font-size: 18px;
        font-weight: bold;
    }

    .contents .pr-website {
        margin: 3rem 3rem;
        color: #000000;
    }
    
    .contents .pr-website a:first-child {
        display: flex;
        font-size: 1.2rem;
        align-items: center;
        justify-content: center;
    }
    
    .contents .pr-website a:last-of-type {
        display: flex;
        font-size: 1.2rem;
        align-items: center;
        justify-content: center;
    }
    
    
}

@media screen and (max-width: 425px) {
    .header {
        background-color: #fff;
        padding: 4% 4%;
    }

    /* ボタン */
    .btn .arrow {
        font-size: 8px;
        padding: 4px 10px 4px 10px;
        border: 1px solid #790e28;
    }

    .btn.btn02 {
        text-align: center;
        width: 100%;
    }
    .btn.btn02 .arrow {
        font-size: 16px;
        padding: 20px 30px 20px 30px;
    }
    
}
















/* --------------------
    メイン
-------------------- */
.fv_area img {
    display: block;
    width: 100%;
    height: auto;
}

.contents {
    max-width: 1200px;
    margin: 0 auto;
}
.contents h2 {
    font-size: 3rem;
    margin: 6rem 0 2rem;
    text-align: center;
}


.news_list {
    width: 90%;
    /* ニュースリスト増えてきたらCO解除 */
    /* height: 300px;
    overflow-y: scroll; */
    margin: 0 auto;
    /* padding-right: 10px; */
}
.news_list dl {
    display: flex;
    flex-wrap: wrap;
}
.news_list dt,
.news_list dd {
    margin-top: 4px;
    padding: 20px 0 20px 30px;
    background-color: #f4f4f4;
    line-height: 2;
}
.news_list dt {
    width: 25%;
    border-radius: 6px 0 0 6px;
}
.news_list dd {
    width: 75%;
    border-radius: 0 6px 6px 0;
    font-weight: 300;
    padding-right: 30px;
}
.news_list dd span {
    text-decoration: underline;

}

.main_contents {
    display: flex;
    flex-wrap: wrap;
    padding: 0 10px;
}
.main_contents .item_yp {
    width: 33.3%;
    padding: 10px;
}
.main_contents .item_yp .pdf {
    border: 4px solid #790e28;
    box-sizing: border-box;
    aspect-ratio: 16/9;
    width: 100%;
    position: relative;
    
}
.main_contents .item_yp .pdf > img {
    width: 20%;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.main_contents .item_yp iframe {
    display: block;
    aspect-ratio: 16/9;
    width: 100%;
    height: 100%;
}
.main_contents .item_yp .school_txt {
    padding: 20px 0;
}
.main_contents .item_yp .school_txt p {
    padding-bottom: 10px;
}
.main_contents .item_yp .school_txt h3 {
    padding-bottom: 20px;
}

.view-more-btn {
    display: block;
    margin: 0 auto;
    margin-top: 2rem;
    background-color: #ffffff;
    color: #790e28;
    border: none;
    font-size: 16px;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    border: 3px solid #790e28;
    padding: 20px 60px;
    width: 390px; 
    text-align: center;
    transition: background-color 0.3s ease;
}


.view-more-btn:hover {
    background-color: #790e28;
    color: white;
    transition: 0.5s;
}


.news_list dt,
.news_list dd {
    transition: all 0.4s ease;
}

.news-hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    border: 0;
}

.pr-website {
    margin: 6rem 6rem;
    color: #000000;
}

.pr-website a:first-child {
    display: flex;
    font-size: 1.5rem;
    align-items: center;
    justify-content: center;
}

.pr-website a:last-of-type {
    display: flex;
    font-size: 1rem;
    align-items: center;
    justify-content: center;
}


@media screen and (max-width: 768px) {
    .main_contents .item_yp {
        width: 100%;
        margin-bottom: 2rem;
    }
    .main_contents .item_yp .pdf > img {
        width: 20%;
    }

    .news_list dl {
        flex-direction: column;
    }
    .news_list dt,
    .news_list dd {
        width: 100%;
        font-size: 14px;
    }
    .news_list dt {
        margin: 30px 0 4px;
        padding: 0 0 0 10px;
        background-color: #fff;
    }
    .news_list dd {
        padding: 10px 10px 10px 20px;
    }
}

@media screen and (max-width: 425px) {
    .contents h2 {
        font-size: 2rem;
        margin: 4rem 0 1rem;
    }

    .news_list {
        padding: 0 4%;
    }

    .main_contents {
        flex-direction: column;
        align-items: center;
        padding: 0 4%;
    }
    .main_contents .item_yp {
        width: 100%;
        margin-bottom: 2rem;
        padding: 0;
    }
    .main_contents .item_yp .pdf > img {
        width: 20%;
    }
    .main_contents .item_yp .school_txt p {
        font-size: 14px;
    }
}

/* --------------------
    フッター
-------------------- */
footer {
    text-align: center;
}
footer .ohori {
    background-color: #1b3057;
    text-align: center;
    padding: 80px 0 60px;
    margin-top: 30px;
}
footer .ohori img {
    width: 392px;
}
footer .ohori p {
    color: #fff;
    font-weight: lighter;
    line-height: 1.6;
    margin-top: 20px;
}
footer .copy {
color: #790e28;
font-weight: 100;
padding: 20px 0;
}

@media screen and (max-width: 768px) {
    footer .ohori {
        margin-top: 10px;
        padding: 40px 0 30px;
    }
    footer .ohori img {
        width: 280px;
    }
    footer .ohori p {
        font-size: 14px;
    }
    footer .copy {
        font-size: 10px;
    }
}

