@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;
}

.scroll-container {
    position: relative;
    overflow: hidden;
    width: 552px; 
    max-width: 100%;
    margin: 0 auto;
}



/* Desktop: Hide SP, Show PC */
@media screen and (min-width: 769px) {
    .scroll-for-sp {
        display: none;
    }
    .scroll-for-pc {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .scroll-for-pc {
        display: none;
    }
    
    .scroll-track img {
        display: block;
        width: 73.6%;
        margin: 0 auto;
    }

    
}

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















/* ボタン */
.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;
    text-align: center;
}
.btn.btn02 .arrow {
    font-size: 24px;
    /* font-weight: bold; */
    border: 3px solid #790e28;
    padding: 20px 60px 20px 60px;
}

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


.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: 85%;
    }

    .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;
    }
    .btn.added-preview .arrow:first-child {
        padding: 20px 30.5px;
    }


    .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: #790e02;
    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;
    }
}

