/* 全体設定 */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-size: 10px;
    font-family: Arial, sans-serif;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
}

/* エリア系 */
.wrapper{
    background-image: url(../img/bg_pattern.png);
    background-repeat: repeat;
}

.inner {
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
    width: 800px;
}

main {
    width: 100%;
    height: 100%;
    background:
    url(../img/bg_triangle02.png) no-repeat right 8% top 55%/4%,
    url(../img/bg_circle01.png) no-repeat left -18% top -49%/25%,
    url(../img/bg_circle02.png) no-repeat right -2% bottom -230%/43%,
    url(../img/bg_cross01.png) no-repeat left 50% top 6%/3%,
    url(../img/bg_cross02.png) no-repeat  left -2% top 104%/17%,
    url(../img/bg_square01.png) no-repeat right -12% top -48%/30%,
    url(../img/bg_square02.png) no-repeat left 13% top 43%/9%,
    url(../img/bg_triangle01.png) no-repeat left 46% top 51%/32%;
}

main .inner {
    padding: 50px 0;
}

.box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50%;
    min-width: 320px;
    height: 669px;
}

.left_group {
    justify-content: left;
}

/* タイトル系 */
.main_title {
    width: 100%;
    height: 166px;
    color: #FF1F00;
    font-family: "heisei-maru-gothic-std", sans-serif;
}

.SchoolName {
    font-size: 18px;
    line-height: 2.5;
}

.DepartmentName {
    font-size: 52px;
    line-height: 1.2;
}

.group_title {
    color: #1b1b1b;
    font-size: 30px;
    font-family: "heisei-maru-gothic-std", sans-serif;
    line-height: 0.7;
}

/* コンテンツ系 */
section {
    width: 100%;
    border-radius: 30px;
    background-color: #fff;
    box-shadow: 1px 1px 6px -4px rgba(0, 0, 0, 0.25);
}

#introduction {
    background-color: transparent;
    box-shadow: none;
    margin-top: 20px;
}

#introduction a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 23px 0;
    width: 250px;
    background-color: #000;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease 0s;
}

#introduction a:hover {
    background-color: #FF1F00;
    transition: background-color 0.3s ease 0s;
    animation: push .6s;
}

#introduction a .group_title {
    position: absolute;
    top: 19px;
    left: 48px;
    color: #fff;
    font-size: 16px;
}

#introduction a p {
    position: absolute;
    right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    width: 28px;
    height: 28px;
    background-color: #fff;
    border-radius: 50px;
}

#introduction a p img {
    width: 40%;
}

#news_group ul {
    margin: 16px auto;
    width: 90%;
}

#news_group ul li .news {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid #eee;
    color: #1b1b1b;
    transition: color 0.3s ease 0s;
}

#news_group ul li .news:hover {
    color: #FF1F00;
    transition: color 0.3s ease 0s;
}

#news_group ul li .news .left {
    width: 150%;
}

#news_group ul .news03 .news {
    border-bottom: none;
}

#news_group ul li .news .title_area {
    display: flex;
    align-items: center;
}

#news_group ul li .news .course {
    padding: 3px 20px;
    width: fit-content;
    background-color: #333;
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

#news_group ul li .news .gra {
    background-color: #F73B3B;
}

#news_group ul li .news .web {
    background-color: #269EF5;
}

#news_group ul li .news .mov {
    background-color: #9A47EE;
}

#news_group ul li .news .day {
    margin-left: 10px;
    color: #a0a0a0;
    font-size: 12px;
}

#news_group ul li .news .news_text{
    margin-top: 10px;
    width: 92%;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.2;
}

#news_group ul li .news .arrow {
    width: 15px;
}

#news_group .group_title {
    margin-top: 39px;
    text-align: center;
}

#genzaititen_group {
    position: relative;
    height: 393px;
}

#genzaititen_group a {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 30px;
}

#genzaititen_group .group_title {
    position: absolute;
    bottom: 0;
    padding: 20px 20px 10px;
    width: 210px;
    text-align: left;
    background-color: #fff;
    border-radius: 0 30px 0 30px;
    transition: color 0.3s ease 0s;
}

#genzaititen_group a .arrow {
    position: absolute;
    top: 342px;
    left: 203px;
    width: 12px;
}

#genzaititen_group a:hover .group_title {
    color: #FF1F00;
    transition: color 0.3s ease 0s;
}

#genzaititen_group .group_title .title_caption {
    font-size: 14px;
}

#genzaititen_group .group_title .title_genzai {
    line-height: 2;
}

#genzaititen_group a ul {
    width: 100%;
    height: 100%;
}

#genzaititen_group a ul li {
    width: 100%;
    height: 100%;
}

#genzaititen_group a ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#sns_group {
    height: 223px;
}

#sns_group .group_title {
    margin-top: 60px;
    text-align: center;
}

#sns_group ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 35px auto 0;
    width: 76%;
}

#sns_group ul li {
    width: 45px;
}

#sns_group ul li a {
    display: block;
    width: 100%;
}

#sns_group ul li a:hover {
    animation: push .6s;
}

@keyframes push {
	10% { transform: scale(1.2); }
	40% { transform: scale(.9); }
	60% { transform: scale(1.04); }
	80% { transform: scale(.98); }
} 

footer {
    padding: 30px 0;
    width: 100%;
    background-color: #000;
    color: #fff;
}

footer .inner {
    display: flex;
    justify-content: space-between;
    align-content: center;
}

footer h2 {
    width: 200px;
}

footer p {
    padding-top: 9px;
    font-size: 10px;
}



@media screen and (max-width: 959px) {
	/* 959px以下に適用されるCSS（タブレット用） */
    .inner {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin: 0 auto;
        width: 90%;
    }

    .box {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
        min-width: 320px;
        height: 700px;
    }

    .left_group {
        height: 260px;
        justify-content: left;
    }

    .right_group {
        height: 650px;
    }

    .box:nth-child(2) {
        margin-top: 40px;
    }

    main {
        background:
        url(../img/bg_triangle02.png) no-repeat right 7% top 52%/4%,
        url(../img/bg_circle01.png) no-repeat left -40% top -19% / 43%,
        url(../img/bg_circle02.png) no-repeat right -252% bottom -18%/83%,
        url(../img/bg_cross01.png) no-repeat left 75% top 3%/5%,
        url(../img/bg_cross02.png) no-repeat left -2% top 102%/22%,
        url(../img/bg_square01.png) no-repeat right -23% top -12%/40%,
        url(../img/bg_square02.png) no-repeat left -6% top 52%/16%,
        url(../img/bg_triangle01.png) no-repeat left -4% top 17%/50%;
    }

    .main_title {
        width: 100%;
        height: 166px;
        color: #FF1F00;
        font-family: "heisei-maru-gothic-std", sans-serif;
        text-align: center;
    }

    #introduction {
        margin-top: 20px;
    }

    #introduction a {
        margin: auto;
        width: 300px;
    }
    

    #introduction a .group_title {
        position: absolute;
        top: 19px;
        left: 74px;
        color: #fff;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
	/* 480px以下に適用されるCSS（スマホ用） */
    main {
        background:
        url(../img/bg_triangle02.png) no-repeat right 7% top 52%/9%,
        url(../img/bg_circle01.png) no-repeat left -40% top -7% / 46%,
        url(../img/bg_circle02.png) no-repeat right 191% bottom 2%/140%,
        url(../img/bg_cross01.png) no-repeat left 74% top 1%/9%,
        url(../img/bg_cross02.png) no-repeat left -2% top 102%/42%,
        url(../img/bg_square01.png) no-repeat right -23% top -4%/40%,
        url(../img/bg_square02.png) no-repeat left -6% top 52%/25%,
        url(../img/bg_triangle01.png) no-repeat left -124% top 17%/80%;
    }
}
