@charset "utf-8";

/* CSS Document */
/* -- common ----------------------------------------------------*/
main.page-main {
    padding: 85px 0 0;
}

main.page-main a {
    display: inline;
}

main.page-main .page_bg {
    position: relative;
    height: 25vw;
    padding: 20px;
    box-sizing: initial;
}

main.page-main .page_bg.co {
    background: url('../img/guideline/bg-img.jpg') center / cover no-repeat;
}

main.page-main.guideline .page_bg.co {
    background: url('../img/guideline/bg-img.jpg') center / cover no-repeat;
}

main.page-main.faculty .page_bg.co {
    background: url('../img/faculty/bg-img.jpg') center / cover no-repeat;
}

main.page-main.about .page_bg.co {
    background: url('../img/about/bg-img.jpg') center / cover no-repeat;
}

main.page-main .page_bg .page_ttl {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    text-align: center;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    color: #fff;
    line-height: 1.5;
}

main.page-main .page_bg .page_ttl h2 {
    font-family: mojito, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: capitalize;
    font-size: 118px;
    line-height: 1;
    margin: 0 0 20px;
    color: #fff;
}

main.page-main .page_bg .page_ttl p {
    font-size: 24px;
    line-height: 1;
    color: #fff;
}

main.page-main .breadcrumb {
    padding: 20px 0;
    background: #F2A9B2;
}

main.page-main .breadcrumb ul {
    max-width: 1040px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
}

main.page-main .breadcrumb a:after {
    position: relative;
    content: '/';
    display: inline-block;
    margin-right: 8px;
    margin-left: 8px;
}

.page-main .text h2 {
    position: relative;
    font-size: 28px;
    font-weight: bold;
    padding-bottom: 10px;
    text-align: center;
    margin: 0 0 30px;
}

.page-main .text h2::before {
    position: absolute;
    content: "・・・";
    color: #AD3140;
    bottom: -10px;
    left: 50%;
    line-height: 1;
    letter-spacing: 5px;
    transform: translateX(-50%);
}

.page-main .text h2::after {
    position: absolute;
    content: "・・";
    color: #F2A9B2;
    bottom: -10px;
    left: 50%;
    line-height: 1;
    letter-spacing: 5px;
    transform: translateX(-50%);
}

/* -- about ----------------------------------------------------*/
.page-main.about .text p {
    margin: 0 0 25px;
    text-align: center;
}

.page-main.about .about_list {
    background: url(../img/top/news_bg.png);
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.page-main.about .about_list ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.page-main.about .about_list ul li {
    width: 32%;
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-top: 35px;
}

.page-main.about .about_list ul li img {
    vertical-align: bottom;
}

.page-main.about .about_list .text {
    padding: 7px;
    background: #fff;
}

.page-main.about .about_list .text::before,
.page-main.about .about_list .text::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    margin: auto;
    content: "";
    vertical-align: middle;
}

.page-main.about .about_list .text::before {
    box-sizing: border-box;
    width: 17px;
    height: 17px;
    background: #a5a5a5;
    transition: 0.5s;
}

.page-main.about .about_list .text::after {
    right: 17px;
    width: 5px;
    height: 5px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.page-main.about .about_list a:hover {
    opacity: 1;
}

.page-main.about .about_list a:hover .text::before {
    background: #AD3140;
}

.page-main.about .about_list .text p {
    font-size: 18px;
    line-height: 1.1;
    font-weight: bold;
    margin: 0 !important;
    text-align: left !important;
}

/* -- faculty ----------------------------------------------------*/
.page-main.faculty .top-img {
    padding: 75px 0 0;
}

.page-main.faculty .top-img .rel {
    margin: 0 0 60px;
}

.page-main.faculty .top-img h3 {
    position: absolute;
    background: #fff;
    bottom: -45px;
    padding: 10px 20px;
    color: #a00000;
    line-height: 1.3;
    letter-spacing: 2px;
    font-size: 48px;
    font-weight: 500;
}

.page-main.faculty .top-img h3 span {
    display: block;
    color: #6f6f6f;
    font-size: 16px;
}

.page-main.faculty .top-img p {
    margin: 0 0 40px;
}

.page-main.faculty .box {
    padding: 60px 0 0;
}

.page-main.faculty .box a {
    display: block;
    padding: 20px 20px 30px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

.page-main.faculty .box a:not(:last-child) {
    margin-bottom: 20px;
}

.page-main.faculty .box h2 {
    position: relative;
    font-size: 28px;
    font-weight: bold;
    padding: 0 0 10px;
    margin: 0 0 20px;
}

.page-main.faculty .box h2:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 2px;
    background: #D5616F;
    z-index: 1;
}

.page-main.faculty .box h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #d7d7d7;
}

.page-main.faculty .box .course {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.page-main.faculty .box .course .img {
    width: 300px !important;
    height: 208px !important;
    overflow: hidden !important;
}

.page-main.faculty .box .course .text {
    box-sizing: border-box;
    width: calc(100% - 326px);
    padding-right: 50px;
    position: relative;
}

.page-main.faculty .box .course .text .color {
    color: #D5616F;
}

.page-main.faculty .box .course .text h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 15px;
}

.page-main.faculty .box .course .text::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: url(../img/icon/arrow03.png) center / cover no-repeat;
}

/* -- common ----------------------------------------------------*/
.page-main.guideline .link_area {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    border-left: 1px solid #d2d2d2;
    border-top: 1px solid #d2d2d2;
    background: url(../img/icon/bg-btn.png);
    text-align: center;
}

.page-main.guideline .link_area li {
    width: calc(100% / 3);
    box-sizing: border-box;
    border-bottom: 1px solid #d2d2d2;
    border-right: 1px solid #d2d2d2;
}

.page-main.guideline .link_area li a {
    display: block;
    padding: 20px 10px;
    background-color: rgba(255, 255, 255, 0.65);
    position: relative;
}

.page-main.guideline .link_area li a::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: url(../img/icon/arrow04.png) center / cover no-repeat;
    -webkit-transform: rotate(-90deg) !important;
    -ms-transform: rotate(-90deg) !important;
    transform: rotate(-90deg) !important;
    top: 30% !important;
}

.page-main.guideline .link_area li:nth-last-child(2),
.page-main.guideline .link_area li:last-child {
    width: calc(100% /2);
}

.page-main.guideline .link_area li:nth-last-child(2) a,
.page-main.guideline .link_area li:last-child a {
    background-color: #F2A9B2;
}

.page-main.guideline .topic,
.page-main.guideline .tuition {
    background: url(../img/top/news_bg.png);
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.page-main.guideline .tuition.none {
    background: none;
}

.page-main.guideline .tuition.none.last {
    border-bottom: none;
}

.page-main.guideline .topic h2,
.page-main.guideline .nyugaku h2,
.page-main.guideline .tuition h2,
.page-main.guideline .scholarship h2 {
    position: relative;
    font-size: 28px;
    font-weight: bold;
    padding: 0 0 10px;
    margin: 0 0 20px;
}

.page-main.guideline .topic h2:before,
.page-main.guideline .nyugaku h2:before,
.page-main.guideline .tuition h2:before,
.page-main.guideline .scholarship h2:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 2px;
    background: #D5616F;
    z-index: 1;
}

.page-main.guideline .topic h2:after,
.page-main.guideline .nyugaku h2:after,
.page-main.guideline .tuition h2:after,
.page-main.guideline .scholarship h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #d7d7d7;
}

.page-main.guideline .box a {
    padding: 20px 20px 30px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

.page-main.guideline .box a:not(:last-child) {
    margin-bottom: 20px;
}

.page-main.guideline .box .course {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.page-main.guideline .box .course .img {
    width: 300px !important;
    height: 208px !important;
    overflow: hidden !important;
}

.page-main.guideline .box .course .text {
    box-sizing: border-box;
    width: calc(100% - 326px);
    padding: 0 50px 0 0;
    position: relative;
}

.page-main.guideline .box .course .text h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 15px;
}

.page-main.guideline .box .course .text::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: url(../img/icon/arrow03.png) center / cover no-repeat;
}

.page-main.guideline .nyugaku a {
    display: block;
    padding: 20px;
    border-bottom: 1px solid #ccc;
}

.page-main.guideline .nyugaku h2 {
    margin: 0;
}

.page-main.guideline .nyugaku h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 5px;
}

.page-main.guideline .tuition .box .course .text {
    width: calc(100% - 330px);
    padding: 0;
}

.page-main.guideline .tuition .box .course .text::before {
    content: none;
}

.page-main.guideline .scholarship .scholar_btn {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px 0 0;
}

.page-main.guideline .scholarship .scholar_btn a {
    position: relative;
    display: block;
    width: 40%;
    padding: 20px;
    line-height: 20px;
    background-color: #543618;
    border-radius: 5px;
    color: #fff;
}

.page-main.guideline .scholarship .scholar_btn a::before {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 16px;
    height: 1px;
    background-color: #fff;
    transform: translateY(-50%);
}

.page-main.guideline .scholarship .scholar_btn a::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    transform-origin: top;
}

/* -- news ----------------------------------------------------*/
main.page-main.news .contact {
    display: none;
}

main.page-main.news .page-wrap {
    background: url(../img/top/news_bg.png);
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

main.page-main.news h2 {
    font-family: mojito, sans-serif;
    font-style: normal;
    font-size: 80px;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1;
}

main.page-main.news h2 p {
    font-size: 20px;
    color: #333;
    font-weight: 500;
    margin: 10px 0 0;
}

main.page-main.news h2 span:before,
main.page-main.news h2 span:after {
    content: "";
    position: absolute;
    height: 1px;
    width: 11px;
    background: #543618;
    top: 50%;
    left: -20px;
}

main.page-main.news h2 span:after {
    left: auto;
    right: -20px;
}

main.page-main.news .news_list {
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    display: flex;
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid #ccc;
}

main.page-main.news .news_list:before {
    position: absolute;
    content: " ";
    border-radius: 50px;
    width: 14px;
    height: 14px;
    background: #543618;
    top: 50%;
    left: auto;
    right: 11px;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
}

main.page-main.news .news_list:after {
    position: absolute;
    content: " ";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3px 0 3px 5px;
    border-color: transparent transparent transparent #ffffff;
    left: auto;
    right: 19px;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
}

main.page-main.news .news_list:nth-child(n+2) {
    margin-top: 15px;
}

main.page-main.news .news_deta {
    width: 115px;
    color: #AD3140;
    font-size: 16px;
    font-weight: bold;
}

main.page-main.news .post-categories {
    display: flex;
    align-items: center;
}

main.page-main.news .post-categories li {
    padding: 0 !important;
    border-bottom: none !important;
    color: #888 !important;
    margin: 0 10px 0 0 !important;
}

/* -- faq ----------------------------------------------------*/
main.page-main.faq p.pt {
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    margin: 0 0 100px;
}

/* -- interview ----------------------------------------------------*/
main.page-main.interview .page_bg.co {
    background: url(../img/interview/bg-img.jpg) center / cover no-repeat;
}

main.page-main.interview .text p {
    margin: 0 0 25px;
    text-align: center;
}

li.interview_content {
    background: linear-gradient(0deg, #F4F4F3 calc(100% - 320px), #fff 320px) no-repeat padding-box;
}

main.page-main.interview .countup {
    counter-reset: rank 0;
    margin-bottom: 115px;
}

main.page-main.interview .profile {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

main.page-main.interview .profile .img_box {
    max-width: 406px;
}

main.page-main.interview .profile .text {
    flex-basis: calc(100% - 446px);
}

main.page-main.interview .profile .text p {
    text-align: left;
    margin-bottom: 0;
}

main.page-main.interview .person {
    font-size: 18px;
    font-family: 'mojito';
    color: #AD3140;
}

main.page-main.interview .person::after {
    counter-increment: rank;
    content: counter(rank, decimal-leading-zero);
    display: inline-block;
    margin-left: 5px;
}

h3.interview_title {
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}

h3.interview_title .bc_c {
    background-color: #543618;
    padding: 0.1em 0.25em;
}

.department {
    font-size: 18px;
    font-weight: bold;
}

.interview_qa {
    margin-top: 50px;
}

.interview_qa .question,
.interview_qa .answer .answer_title {
    display: flex;
    align-items: baseline;
}

.interview_qa .question p,
.interview_qa .answer p,
.interview_qa .initials {
    display: inline-block;
}

.interview_qa .question p,
.interview_qa .answer .answer_title p {
    flex-basis: calc(100% - 50px);
}

.question p,
.interview_qa .answer .answer_title p {
    font-size: 18px;
    font-weight: bold;
}

.initials {
    font-size: 40px;
    text-stroke: 1px #AD3140;
    -webkit-text-stroke: 1px #AD3140;
    color: rgba(0, 0, 0, 0);
    margin-right: 5px;
    width: 45px;
    line-height: 1.25;
}

.question {
    margin-top: 3em;
}

.question p {
    color: #AD3140;
}

.interview_qa .answer>p {
    margin-left: 50px;
}


@media screen and (max-width:1200px) {
    main.page-main {
        padding: 70px 0 0;
    }
}

@media screen and (max-width:1100px) {}

@media screen and (max-width:1040px) {
    main.page-main .page_bg .page_ttl h2 {
        font-size: 50px;
        margin: 0 0 10px;
    }

    main.page-main .page_bg .page_ttl p {
        font-size: 18px;
    }

    main.page-main .breadcrumb ul {
        font-size: 12px;
    }

    /* -- common ----------------------------------------------------*/
    .page-main.faculty .top-img h3 {
        font-size: 36px;
    }


    /* -- common ----------------------------------------------------*/



    /* -- common ----------------------------------------------------*/
}

@media screen and (max-width:1000px) {

    /* -- common ----------------------------------------------------*/
    .page-main.about .about_list ul li {
        margin: 20px 0 0;
        width: 48%;
        background: #fff;
    }

    .page-main.about .about_list .img_box {
        height: 76%;
        overflow: hidden;
    }

    .page-main.about .about_list .text::before,
    .page-main.about .about_list .text::after {
        top: -17px;
        right: 0px;
        bottom: auto;
    }

    .page-main.about .about_list .text::after {
        top: -11px !important;
        right: 7px !important;
    }

    /* -- common ----------------------------------------------------*/


}

@media screen and (max-width:768px) {

    /* -- common ----------------------------------------------------*/
    main.page-main .breadcrumb {
        padding: 10px 0;
    }

    .page-main .text h2 {
        font-size: 20px;
        margin: 0 0 30px;
    }

    /* -- about ----------------------------------------------------*/
    .page-main.about .about_list .text p {
        font-size: 16px;
    }

    /* -- common ----------------------------------------------------*/
    .page-main.faculty .top-img {
        padding: 45px 0 0;
    }

    .page-main.faculty .top-img .rel {
        margin: 0 0 40px;
    }

    .page-main.faculty .top-img h3 {
        font-size: 24px;
        line-height: 1.5;
        bottom: -30px;
        padding: 5px 10px;
    }

    .page-main.faculty .top-img h3 span {
        font-size: 11px;
    }

    .page-main.faculty .box .course .img {
        margin: 0 0 20px;
    }

    .page-main.faculty .box .course .img,
    .page-main.faculty .box .course .text {
        width: 100%;
    }

    .page-main.faculty .box .course .text h3 {
        font-size: 16px;
        margin: 0 0 10px;
    }

    .page-main.faculty .box .course .text::before {
        width: 20px;
        height: 20px;
    }


    /* -- common ----------------------------------------------------*/


    .page-main.guideline .link_area li {
        width: 50%;
    }

    .page-main.guideline .link_area li a {
        padding: 10px 30px 10px 5px;
        font-size: 12px;
    }

    .page-main.guideline .link_area li a::before {
        width: 15px;
        height: 15px;
    }

    .page-main.guideline .box .course .img {
        margin: 0 0 20px;
    }

    .page-main.guideline .box .course .img,
    .page-main.guideline .box .course .text,
    .page-main.guideline .tuition .box .course .text {
        width: 100%;
    }

    .page-main.guideline .tuition .box .course .img {
        width: 100% !important;
    }

    .page-main.guideline .box .course .text h3 {
        font-size: 16px;
        margin: 0 0 10px;
    }

    .page-main.guideline .box .course .text::before {
        width: 20px;
        height: 20px;
    }

    .page-main.guideline .topic h2,
    .page-main.guideline .nyugaku h2,
    .page-main.guideline .tuition h2,
    .page-main.guideline .scholarship h2 {
        font-size: 20px;
        margin: 0 0 30px;
    }

    .page-main.guideline .nyugaku a {
        padding: 15px;
    }

    .page-main.guideline .nyugaku h2 {
        margin: 0;
    }

    .page-main.guideline .nyugaku h3 {
        font-size: 14px;
    }

    .page-main.guideline .scholarship .scholar_btn {
        justify-content: center;
    }

    .page-main.guideline .scholarship .scholar_btn a {
        width: 240px;
        padding: 15px;
        margin: 0 10px 10px;
    }


    main.page-main.news .news_list {
        padding: 8px 20px;
    }

    main.page-main.news .text {
        width: 83%;
    }

    main.page-main.news .news_deta {
        font-size: 14px;
    }

    main.page-main.news .post-categories {
        font-size: 11px;
    }

    /* -- interview ----------------------------------------------------*/
    li.interview_content {
        background: linear-gradient(0deg, #F4F4F2 calc(100% - 130px), #fff 130px) no-repeat padding-box;
    }
    main.page-main.interview .profile .text {
        flex-basis: 100%;
        margin-top: -20px;
    }

    main.page-main.interview .person {
        width: max-content;
        background-color: #fff;
        padding: 0 10px;
    }

    main.page-main.interview .profile .img_box {
        flex-basis: 70%;
    }

    .interview_qa {
        margin-top: 0px;
    }


}


@media screen and (max-width: 540px) {
    /* -- department ----------------------------------------------------*/



    .page-main.about .about_list .img_box {
        height: 99px;
    }

    .page-main.about .about_list .text {
        padding: 3px;
    }

    .page-main.about .about_list .text p {
        font-size: 11px;
    }


}