@charset "utf-8";
/*--home.css-トップページで使用するスタイルを定義------*/

/* 共通スタイル */
:root {
    --color-orange: #F39800;
    --color-yellow: #feff80;
    --color-green: #009E96;
    --color-pink: #ffcbbe;
    --color-blue: #A4CFEE;
    --color-gray: #F5F5F5;
    --color-text: #333333;
    --color-link: #3A508A;
}

.section_inner {
    max-width: 65.625rem;
    margin: 0 auto;
}

.section_title span.title_en {
    font-size: 1.1rem;
    color: #824002;
    display: flex;
    align-items: center;
    font-weight: 600;
    position: relative;
    padding-left: 1.3rem;
    margin-top: 0;
    margin-bottom: 0.1rem;
}

.section_title span.title_en::before {
    content: "";
    display: block;
    width: 0.8rem;
    height: 0.8rem;
    background: #804000;
    border-radius: 50%;
    position: absolute;
    top: calc(50% - 0.4rem);
    left: 0;
}

.section_title span.title_ja {
    font-size: 2.2rem;
    color: #333;
}

/* メインビジュアル */
.main_visual {
    position: relative;
    height: 34.375rem;
    background-image: url('../shared/home/bg_catch.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    margin-bottom: 3rem;
}

.main_visual_inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.main_visual_content {
    position: absolute;
    top: 5.265rem;
    left: 50%;
}

.main_visual_content img {
    width: 40rem;
    height: auto;
}

.main_visual_title {
    font-size: 5rem;
    font-weight: bold;
    color: var(--color-yellow);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0.25rem rgba(0, 0, 0, 0.5);
}

.main_visual_subtitle {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.main_visual_school_name {
    box-sizing: border-box;
    width: 38.75rem;
    position: absolute;
    bottom: -5rem;
    left: 51%;
    background-color: #fff;
    color: #333;
    padding: 2.5rem 5rem;
}

.main_visual_school_name br.sp {
    display: none;
}

.catch_text {
    color: #333;
    font-weight: 600;
    font-size: 1.5rem;
    margin-right: 0.625rem;
}

.main_visual_school_name p {
    color: #333;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 2.1;
}


/* お知らせセクション */
.news_section {
    padding: 0 0 3rem 0;
    background-color: #fff;
    border-bottom: 2px solid #8292a1;
}

.news_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

/* タブメニュー */
.news_tabs {
    margin-bottom: 1.5rem;
}

.tab_list {
    display: flex;
    border-bottom: 1px solid #696969;
}

.tab_item {
    padding: 0.25rem 1.5rem;
    background-color: #f5f5f5;
    margin-right: 0.25rem;
    border-bottom: none;
    cursor: pointer;
    color: #333;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    border: 1px solid #f5f5f5;
    border-top: 3px solid #f5f5f5;
    border-bottom: 1px solid #696969;
    margin-bottom: -1px;
}

/*
.tab_item a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.875rem;
}
*/

.tab_item.active {
    background-color: #fff;
    border: 1px solid #696969;
    border-bottom: 1px solid #fff;
    border-top: 3px solid #F7AA02;
    margin-bottom: -1px;
}

.tab_item:hover {
    background-color: #eee;
}

.tab_item.active:hover {
    background-color: #fff;
}

.news_list {
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.news_list ul {
    display: none;
}

.news_list ul.active {
    display: block;
}

.news_list ul li {
    padding: 0.2rem 0;
    border-bottom: 1px solid #eee;
}

.news_item {
    display: flex;
    align-items: flex-start;
    padding: 1.05rem 1rem;
    color: #222;
    transition: .3s all ease;
}

a.news_item:hover {
    background: #fff2ce;
    border-radius: 0.3rem;
}

.news_date {
    width: 8.75rem;
    font-size: 0.875rem;
    color: #333;
    flex-shrink: 0;
}

.news_category {
    width: 7.5rem;
    font-size: 0.75rem;
    padding: 0.125rem;
    text-align: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    font-weight: 500;
}

.cat_important {
    background-color: #804000;
    color: #fff;
}

.cat_event {
    background-color: #FECCBD;
    color: #333;
}

.cat_news {
    background-color: #fff;
    color: #333;
    border: 1px solid #333;
}

.cat_faculty {
    background-color: #BFE4FF;
    color: #333;
}

.cat_admissions {
    background-color: #d6ffce;
    color: #333;
}

.news_title {
    flex-grow: 1;
    font-size: 0.9375rem;
}

.news_title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news_title a:hover {
    text-decoration: underline;
}

.news_label_new {
    display: inline-block;
    background-color: #fb5a14;
    color: #fff;
    font-size: 0.8rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
    text-align: center;
}

.news_more {
    font-size: 1rem;
    text-align: right;
    color: #333;
    border-bottom: 1px solid #333;
}

.news_more a::after {
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('../shared/arr_01.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 0.5rem;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.more_link {
    display: block;
    text-decoration: none;
    font-weight: bold;
    transition: color;
    color: #333;
    padding: 0.5rem;
}

.more_link:hover {
    color: var(--color-orange);
}

/* アイコンメニューセクション */
.icon_menu_section {
    padding: 3rem 0;
}

.menu_header {
    margin-bottom: 2rem;
}

.icon_menu_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.icon_menu_column {}

.icon_column_orange .icon_menu_item {}

.icon_column_orange .icon_menu_icon {
    background-color: #f6aa00;
    padding: 1.5rem 1rem;
    border-radius: 0.625rem;
    box-shadow: 0 2px 0.25rem rgba(0, 0, 0, 0.1);
}

.icon_column_green .icon_menu_item {}

.icon_column_green .icon_menu_icon {
    background-color: #02af7a;
    padding: 1.5rem 1rem;
    border-radius: 0.625rem;
    box-shadow: 0 2px 0.25rem rgba(0, 0, 0, 0.1);
}

.icon_menu_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
}

.icon_menu_wrapper {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    position: relative;
}

.icon_menu_wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.5rem;
    z-index: 2;
}

.icon_menu_item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--color-text);
    position: relative;
    border-radius: 0.625rem;
    z-index: 1;
}

.icon_menu_icon {
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}

.icon_menu_icon img {
    width: 5rem;
    height: 5rem;
}

.icon_menu_text {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
}

.icon_menu_arrow {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
}

.icon_menu_arrow img {
    width: 100%;
    height: auto;
}

.icon_menu_name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    margin-top: -1px;
}

.banner_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.banner {
    display: flex;
    text-decoration: none;
    color: var(--color-text);
    align-items: flex-start;
    flex-direction: column;
}

.banner_content_inner01 {
    display: flex;
}

.banner_content_inner02 {
    display: flex;
}

.banner_pink {}

.banner_yellow {}

.banner_wrapper img {
    border-radius: 0.7rem;
}

.banner_icon {
    width: 7rem;
    height: auto;
}

.banner_icon img {
    width: 5rem;
    height: 5rem;
}

.banner_content {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    background-color: #ffcbbe;
    border-radius: 0.5rem;
    height: 7.85rem;
}

.banner_content2 {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    background-color: #ffff81;
    border-radius: 0.5rem;
    height: 7.85rem;
}

.banner_title {
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.banner_text {
    font-size: 1rem;
}

.banner_arrow img {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
}

.banner_name {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0.75rem 1rem;
}

.banner_name_text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

/* 学部紹介セクション */
.faculty_section {
    padding: 4rem 0;
    background-color: #bfe4ff;
    text-align: center;
}

.faculty_section .section_title {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faculty_section span.title_en {
    color: #333;
}

.faculty_section .section_title span.title_en::before {
    background: #333;
}

.faculty_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 57.5rem;
    margin: 0 auto;
}

.faculty_item_container a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #222;
}

.faculty_item {
    display: block;
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 0.25rem rgba(0, 0, 0, 0.1);
    background-color: #fff;
    margin-bottom: 1rem;
}

.faculty_item img {
    width: 100%;
}

.faculty_name_wrapper {
    width: 100%;
    position: relative;
}

.faculty_name {
    font-weight: 600;
    font-size: 1.5rem;
}

.faculty_arrow {
    display: block;
    position: absolute;
    top: calc(50% - 0.75rem);
    right: 3rem;
}

.faculty_arrow img {
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: middle;
}

/* ピックアップバナー */
.pickup_section {
    overflow: hidden;
    padding: 3rem 0;
    background-color: #fff;
}

.pickup_slider {
    position: relative;
}

.pickup_slider_container {
    display: flex;
    justify-content: center;
}

.pickup_slide {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.pickup_slide .pickup_img {
    /*体裁調整用暫定*/
    width: 22.5rem;
    height: 8.375rem;
    background: #e5e5e5;
}

.pickup_slide img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.pickup_slider_nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

.slider_prev,
.slider_next {
    background: none;
    border: none;
    font-size: 0;
    width: 2.5rem;
    height: 2.5rem;
    position: relative;
    cursor: pointer;
}

.slider_prev::before,
.slider_next::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 0.75rem;
    height: 0.75rem;
    border-top: 2px solid #666;
    border-right: 2px solid #666;
}

.slider_prev::before {
    left: 1rem;
    transform: translateY(-50%) rotate(-135deg);
}

.slider_next::before {
    right: 1rem;
    transform: translateY(-50%) rotate(45deg);
}

.slider_dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.slider_dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
}

.slider_dot.active {
    background-color: var(--color-orange);
}

/*ipad*/
@media screen and (min-width:1px) and (max-width:1024px) {
    .main_visual {
        height: 25.375rem;
        margin-bottom: 4rem;
    }

    .main_visual_content {
        top: 4.265rem;
        left: 35%;
    }

    .main_visual_content img {
        width: 25rem;
    }

    .main_visual_school_name {
        width: 33rem;
        position: absolute;
        bottom: -5rem;
        left: 35%;
        padding: 1.5rem 2rem;
    }

    .section_inner {
        max-width: 90vw;
    }

    .icon_menu_name {
        gap: 0.5rem;
        padding: 0.75rem 0.5rem;
    }

    .banner_icon {
        margin-right: 0;
    }

    .banner_text {
        height: 3.2rem;
    }

    .pickup_slide {
        gap: 1rem;
    }

    .pickup_slide .pickup_img {
        width: calc((90vw - 2rem) / 3);
        height: calc((90vw - 2rem) / 3 / 22.5 * 8.375);
    }
}

@media screen and (min-width:1px) and (max-width:479px) {
    .main_visual {
        margin-bottom: 13rem;
        height: 26.375rem;
        background-image: url(../shared/home/bg.jpg);
        background-size: auto 100%;
        background-position: left -10vw top;
    }

    .main_visual_content {
        top: 1rem;
        left: 10vw;
    }

    .main_visual_content img {
        width: 80vw;
    }

    .main_visual_school_name {
        width: 100%;
        position: absolute;
        top: calc(100% - 3rem);
        bottom: unset;
        left: 0;
        padding: 1.5rem 7.5vw;
        background: unset;
    }

    .main_visual_school_name::before {
        content: "";
        display: block;
        width: 50%;
        height: 3em;
        background: #fff;
        position: absolute;
        top: 0;
        left: 0;
    }

    .main_visual_school_name p {
        color: #333;
        font-weight: 500;
        font-size: 0.9rem;
        line-height: 1.7;
        position: relative;
        z-index: 1;
    }

    .main_visual_school_name br.sp {
        display: block;
    }

    .section_inner {
        max-width: 85vw;
    }

    .section_title span.title_ja {
        font-size: 1.6rem;
    }

    .news_more {
        font-size: 0.9rem;
    }

    .more_link {
        padding: 0.3rem;
    }

    .news_more a::after {
        width: 1.3rem;
        height: 1.3rem;
    }

    .tab_item {
        padding: 0.25rem 0.5rem;
        border-top: 3px solid #f5f5f5;
        font-size: 0.9rem;
    }

    .tab_item a {
        font-size: 0.8rem;
    }

    .news_list {
        padding: 0;
        margin-bottom: 0;
    }

    .news_item {
        flex-wrap: wrap;
        padding: 0.5rem 0.3rem;
        /*border-bottom: 1px dotted #aaa;*/
    }

    .news_title {
        margin-top: 0.3rem;
        width: 100%;
        font-size: 0.85rem;
    }

    .news_label_new {
        font-size: 0.75rem;
        padding: 0.125rem 0.3rem;
    }

    .menu_header {
        margin-bottom: 1rem;
    }

    .icon_menu_container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .icon_menu_column {
        width: 100%;
    }

    .icon_menu_grid {
        gap: 0.5rem 1.5rem;
    }

    .icon_menu_item {
        padding: 1rem;
    }

    .icon_menu_icon img {
        width: 4rem;
        height: 4rem;
    }

    .icon_menu_arrow {
        width: 1.3rem;
        height: 1.3rem;
    }

    .banner_container {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    
    .banner_wrapper {
        width: 100%;
    }

    .banner {
        padding: 1rem;
    }

    .banner_icon img {
        width: 4rem;
        height: 4rem;
    }

    .banner_title {
        font-size: 1.3rem;
    }

    .banner_text {
        height: auto;
        font-size: 0.9rem;
    }
    .faculty_section {
        padding: 2rem 0;
    }

    .faculty_grid {
        width: 70vw;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .pickup_section {
        padding: 2rem;
    }

    .pickup_slide {
        flex-direction: column;
    }

    .pickup_slide .pickup_img {
        width: 70vw;
        height: calc(70vw / 22.5* 8.375);
    }

}