@charset "utf-8";

/*----------------------------------------*/
/* 共通基本設定 */
/*----------------------------------------*/

:root{
    --main-font-color: #444444;
    --main-purple: #bf7eaf;
    --sub-link-purple: #a35b9d;
    --sub-light-gray: #cccccc;
    --sub-gray: #808080;
    --sub-white: #ffffff;
    --sub-pale-pink: #fef5f2;
    --sub-light-red: #eb6e73;
    --sub-red: #b42832;

    --space150: 150px;
    --space120: 120px;
    --space80: 80px;
    --space60: 60px;
    --space40: 40px;
    --space30: 30px;
    --space20: 20px;
    --space15: 15px;
    --space10: 10px;
    --space80-60: 80px;
    --space60-40: 60px;
    --space40-30: 40px;
    --space30-20: 30px;
    --space20-15: 20px;

    --fs60: 6rem;
    --fs40: 4rem;
    --fs32: 3.2rem;
    --fs24: 2.4rem;
    --fs20: 2rem;
    --fs18: 1.8rem;
    --fs18-16: 1.8rem;
    --fs16: 1.6rem;
    --fs15: 1.5rem;
    --fs14: 1.4rem;
    --fs13: 1.3rem;
    --fs12: 1.2rem;
    --fs-marcellus-60: 6rem;
}



/*----------------------------------------*/
/* 基本パーツ */
/*----------------------------------------*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
	font-size: 62.5%;
}

body{
	margin: 0;
	font-family: "Noto Sans JP", serif;
	font-size: var(--fs16);
    font-optical-sizing: auto;
    font-style: normal;
	font-weight: 400;
	letter-spacing: 0.05em;
	line-height: 1.8;
	color: var(--main-font-color);
	word-wrap: break-word;
}

main{
    padding-top: 90px;
    padding-right: 100px;
    overflow: hidden;
}

li{
    list-style: none;
}



/* --- 余白 --- */

.inner{
    padding-left: 50px;
    padding-right: 50px;
    margin-left: auto;
    margin-right: auto;
}

.w1200{
    max-width: 1300px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.pad120{
    padding-top:  var(--space120);
    padding-bottom:  var(--space120);
}

.pad80{
    padding-top: var(--space80);
    padding-bottom:  var(--space80);
}

.mb150{
    margin-bottom: var(--space150);
}

.mb80{
    margin-bottom: var(--space80);
}

.mb40{
    margin-bottom: var(--space40);
}

.mb20{
    margin-bottom: var(--space20);
}

.pt120{
    padding-top:  var(--space120);
}

.pb150{
    padding-bottom: var(--space150);
}


/* --- テキストリンク?ボタン ---*/

a{
    text-decoration: none;
}

a, a::before, a::after, a:hover{
	transition: 0.3s ease;
	cursor: pointer;
}

a:hover{
	opacity: 0.8;
}

a.btn{
    position: relative;
    display: block;
    max-width: 320px;
    width: 100%;
    margin: var(--space80) auto 0 auto;
    padding: 20px 30px;
    background-color: var(--sub-white);
    border: 2px solid var(--sub-link-purple);
    border-radius: 100vmax; /* サイズ可変しても常に角丸 */
    color: var(--sub-link-purple);
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}

a.btn::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--sub-link-purple);
    border-right: 2px solid var(--sub-link-purple);
    transform: translate(0, -50%) rotate(45deg);
}

a.btn:hover{
    background-color: var(--sub-link-purple);
    color: var(--sub-white);
    opacity: 1;
}

a.btn:hover::after{
    border-top: 2px solid var(--sub-white);
    border-right: 2px solid var(--sub-white);
}



/* --- フォント?テキスト --- */

/* 英字専用 */
.f_marcellus{
    font-family: "Marcellus", serif;
    font-weight: 400;
    font-style: normal;
}

/* 明朝体専用 */
.f_serif{
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-style: normal;
}



@media screen and (max-width: 1280px) {
    /*--- タブレット用 --- */

    /*----------------------------------------*/
    /* 共通基本設定 */
    /*----------------------------------------*/
    :root{
        --space150: 120px;
        --space120: 100px;
        --space80: 60px;
        --space60: 40px;
        --space40: 30px;
        --space30: 15px;
        --space20: 15px;
        --space15: 10px;
        --space10: 8px;
        --space80-60: 60px;
        --space60-40: 40px;
        --space40-30: 30px;
        --space30-20: 20px;
        --space20-15: 15px;

        --fs60: 4.8rem;
        --fs40: 3.2rem;
        --fs32: 2.4rem;
        --fs24: 2rem;
        --fs20: 1.8rem;
        --fs18: 1.6rem;
        --fs18-16: 1.6rem;
        --fs16: 1.4rem;
        --fs15: 1.3rem;
        --fs14: 1.2rem;
        --fs13: 1.2rem;
        --fs12: 1rem;
        --fs-marcellus-60: 4.8rem;
    }
    
    main{
        padding-top: 60px;
        padding-right: 0;
    }

    /* --- 余白 --- */
    .inner{
        padding-left: 30px;
        padding-right: 30px;
    }
}


@media screen and (max-width: 900px) {
    /*--- タブレット用 --- */
    
    /*----------------------------------------*/
    /* 共通基本設定 */
    /*----------------------------------------*/
    :root{
        --space150: 100px;
        --space120: 80px;
        --space80: 40px;
        --space60: 30px;
        --space40: 20px;
        --space30: 15px;
        --space20: 10px;
        --space15: 10px;
        --space10: 5px;

        --fs60: 3.2rem;
        --fs40: 2.8rem;
        --fs32: 2rem;
        --fs24: 1.8rem;
        --fs20: 1.6rem;
        --fs18: 1.4rem;
        --fs16: 1.4rem;
        --fs15: 1.3rem;
        --fs14: 1.2rem;
        --fs13: 1.2rem;
        --fs12: 1rem;
        --fs-marcellus-60: 4.2rem;
    }

    /* --- 余白 --- */
    .inner{
        padding-left: 15px;
        padding-right: 15px;
    }

    /* --- テキストリンク?ボタン --- */
    a.btn{
        padding: 15px 30px;
    }

}
    



/*----------------------------------------*/
/* header / sidemenu / footermenu_sp */
/*----------------------------------------*/

/* --- ヘッダーメニュー --- */
header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    width: calc(100% - 100px);
    background-color: var(--sub-white);
}

.header_inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space60);
    width: 100%;
    height: 90px;
    padding: 0 40px;
}

.header_logo{
    max-width: 400px;
    width: 100%;
}

.header_logo img{
    display: block;
}

.header_menu ul{
    display: flex;
    flex-wrap: nowrap;
    gap: var(--space40);
}

.header_menu li a{
    color: var(--main-font-color);
}

.header_menu li a:hover{
    color: var(--sub-link-purple);
}


/* --- サイドメニュー --- */
#sidemenu{
    position: fixed;
    top: 0;
    right: 0;
    width: 100px;
    height: 100vh;
    z-index: 999;
    background-color: var(--main-purple);
}

.sidemenu_btn{
    padding: 80px 10px 40px 10px;
}

.sidemenu_btn ul{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 35px;
}

.sidemenu_btn a{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.sidemenu_btn img{
    width: 100%;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(89%) sepia(100%) saturate(2%) hue-rotate(210deg) brightness(108%) contrast(101%);
}

.sidemenu_btn span{
    color: var(--sub-white);
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0;
    line-height: 1;
}


/* --- ハンバーガーメニュー --- */
.toggle{
    width: 100px;
    height: 90px;
    padding: 25px 15px 15px 15px;
    background-color: var(--main-purple);
}

.togglebtn{
    position: relative;
    display: block;
    width: 40px;
    height: 30px;
    margin: 0 auto;
    cursor: pointer;
}

.togglebtn span{
    position: absolute;
    display: block;
    width: 100%;
    height: 1px;
    transition: .3s;
    background-color: var(--sub-white);
}

.togglebtn span:nth-of-type(1){
    top: 0px;
}

.togglebtn span:nth-of-type(2){
    top: 10px;
}

.togglebtn span:nth-of-type(3){
    top: 20px;
}

/* クリックしたとき */
.togglebtn.active span:nth-of-type(1){
    transform: translateY(10px) rotate(45deg);
}

.togglebtn.active span:nth-of-type(2){
    display: none;
}

.togglebtn.active span:nth-of-type(3){
    transform: translateY(-10px) rotate(-45deg);
}

.navmenu_txt{
    color: var(--sub-white);
    font-size: var(--fs12);
    font-weight: 500;
    text-align: center;
}



/* --- サイドメニュー展開共通 --- */
nav{
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
    position: absolute;
    top: 90px;
    right: 100px;
    overflow-y: scroll;
    width: calc(100vw - 100px);
    height: calc(100vh - 90px);
    padding: 80px;
    background-color: var(--main-font-color);
}

nav.show{
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

nav .title{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: var(--space60);
}

nav .title img{
    width: 38px;
}

nav .title p{
    color: var(--sub-white);
    font-size: var(--fs32);
    font-weight: 500;
}

nav a{
    display: block;
    color: var(--sub-white);
    font-size: var(--fs16);
    font-weight: 500;
}

nav .menu_list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

nav .menu_list a.parent{
    display: block;
    width: 100%;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--main-purple);
    font-size: var(--fs24);
}

nav .menu_list .child a{
    position: relative;
    width: 100%;
    padding-left: 20px;
    padding-bottom: 15px;
}

nav .menu_list .child a::before{
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 8px;
    height: 8px;
    border-top: 1px solid var(--sub-white);
    border-right: 1px solid var(--sub-white);
    transform: rotate(45deg);
}


/* --- メインメニュー展開（全体） --- */
#sidemenu_main > div:nth-child(2){
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* --- メインメニュー展開（左側） --- */
#sidemenu_main .menu_list_left{
    max-width: calc(100% - 360px);
    width: 100%;
}

#sidemenu_main .menu_list > li{
    width: calc((100% - 80px) / 3);
}

.other_menu_list_box{
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.other_menu_list_box ul:first-of-type{
    display: flex;
    flex-wrap: wrap;
    gap: 20px 10px;
}

.other_menu_list_box li:not(:last-of-type) a::after{
    content: "/";
    padding: 0 4px 0 16px;
    color: rgba(255, 255, 255, 0.5);
}

.other_menu_list_box .btn_pink{
    display: none;
}


/* --- メインメニュー展開（右側） --- */
#sidemenu_main .menu_list_right{
    max-width: 320px;
    width: 100%;
}

#sidemenu_main .menu_list_right img{
    border-radius: 5px;
}



/* --- 訪問者別メニュー展開  --- */
#sidemenu_visitor .menu_list{
    flex-wrap: wrap;
    gap: 40px;
}

#sidemenu_visitor .menu_list > li{
    max-width: calc((100% - 80px) / 3);
    width: 100%;
}

#sidemenu_visitor .btn_pink{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    gap: 20px;
}

#sidemenu_visitor .btn_pink a{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 104px;
    padding: 20px;
    border-radius: 5px;
    background-color: var(--sub-pale-pink);
    color: var(--sub-link-purple);
    text-align: center;
}



/* --- 検索メニュー展開 --- */

/* 検索窓 */
#sidemenu_search .search_box{
    padding: var(--space40);
    margin-bottom: var(--space60);
    border-radius: 5px;
    background-color: var(--sub-pale-pink);
}

#sidemenu_search .search_box p{
    margin-bottom: var(--space20);
    font-size: var(--fs18);
    font-weight: 500;
}

#sidemenu_search .search_box_inner{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

#sidemenu_search .search_box_inner input{
    width: calc(100% - 100px);
    padding: 20px 10px;
    border: 1px solid var(--sub-link-purple);
    border-radius: 0;
    background-color: var(--sub-white);
    color: var(--main-font-color);
    font-size: var(--fs16);
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

#sidemenu_search .search_box_inner button{
    width: 100px;
    padding: 19px 10px;
    border: 1px solid var(--sub-link-purple);
    border-radius: 0;
    background-color: var(--sub-link-purple);
    color: var(--sub-white);
    font-size: var(--fs18);
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-style: normal;
    cursor: pointer;
}

/* 絞り込みボタン */
#sidemenu_search fieldset{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border: none;
}

#sidemenu_search legend{
    display: none;
}

#sidemenu_search .filetype_btn {
    display: flex;
    align-items: center;
    gap: 5px;
}


/* リンク */
#sidemenu_search .menu_list{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    gap: var(--space80);
}

#sidemenu_search .menu_list .child{
    display: flex;
    flex-wrap: wrap;
    gap: 0 40px;
}

#sidemenu_search .menu_list .child li{
    max-width: calc((100% - 160px) / 5);
    width: 100%;
}

#sidemenu_search .subtitle{
    margin-bottom: var(--space20);
    color: var(--sub-white);
    font-size: var(--fs18);
    font-weight: 500;
}

#sidemenu_search .subtitle:first-of-type .child{
    margin-bottom: var(--space40);
}


/* --- 閲覧補助メニュー展開（PC） --- */
#sidemenu_support_pc{
    height: auto;
    overflow: auto;
}

#sidemenu_support_pc .menu_list{
    width: 100%;
}

#sidemenu_support_pc .menu_list{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--space80);
}

#sidemenu_support_pc .subtitle{
    margin-bottom: var(--space20);
    color: var(--sub-white);
    font-size: var(--fs20);
    font-weight: 600;
}

#sidemenu_support_pc .child{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#sidemenu_support_pc a{
    width: 100px;
    padding: 15px;
    border-radius: 5px;
    background-color: var(--sub-pale-pink);
    color: var(--sub-link-purple);
    text-align: center;
}

#sidemenu_support_pc a::before{
    content: none;
}

#sidemenu_support_pc a.active{
    background-color: var(--sub-link-purple);
    color: var(--sub-white);
}



/* --- サブメニュー（SP） --- */
#footermenu_sp{
    display: none;
}


@media screen and (max-width: 1600px) {
    /*--- PC用 --- */

    .header_logo{
        max-width: 320px;
    }

    .header_menu ul {
        gap: 20px;
    }

    .header_menu li a{
        font-size: 1.4rem;
    }

    /* --- サイドメニュー --- */
    .sidemenu_btn{
        padding: 60px 8px 40px 8px;
    }

    .sidemenu_btn ul{
        gap: 30px;
    }

    .sidemenu_btn img{
        height: 18px;
    }
}


@media screen and (max-width: 1280px) {
    /*--- PC?タブレット用 --- */

    /* --- ヘッダーメニュー --- */
    header{
        width: 100%;
    }

    .header_inner{
        height: 60px;
        padding: 0 20px;
    }
    
    .header_menu{
        display: none!important;
    }

    .header_logo{
        max-width: 280px;
    }

    .header_menu li a{
        font-size: 1.2rem;
    }


    /* --- サイドメニュー --- */
    #sidemenu{
        background-color: var(--sub-white);
        width: max-content;
        height: 60px;
    }

    .sidemenu_box{
        display: flex;
        flex-wrap: wrap;
        flex-direction: row-reverse;
    }

    .sidemenu_btn{
        padding: 0 5px 0 0;
    }

    .sidemenu_btn ul{
        display: flex;
        flex-wrap: wrap;
        flex-direction: row-reverse;
        align-content: center;
        gap: 0;
    }

    .sidemenu_btn a{
        gap: 10px;
    }

    .sidemenu_btn li:first-child a,
    .sidemenu_btn li:nth-child(2) a{
        width: 54px;
        height: 60px;
    }

    .sidemenu_btn li:nth-child(n+3) a{
        display: none!important;
    }

    .sidemenu_btn img{
        filter: brightness(0) saturate(100%) invert(59%) sepia(15%) saturate(948%) hue-rotate(262deg) brightness(93%) contrast(90%);
    }

    .sidemenu_btn span{
        color: var(--sub-link-purple);
        font-size: 0.9rem;
    }

    /* --- ハンバーガーメニュー --- */
    .toggle{
        width: 60px;
        height: 60px;
        padding: 10px 10px 5px 10px;
    }

    .togglebtn{
        width: 30px;
        height: 25px;
    }

    .togglebtn span{
        height: 2px;
        transform: scaleY(0.5);
    }

    .togglebtn.active span:nth-of-type(1){
        height: 1px;
        transform: translateY(10px) rotate(45deg);
    }
    
    .togglebtn.active span:nth-of-type(2){
        display: none;
    }
    
    .togglebtn.active span:nth-of-type(3){
        height: 1px;
        transform: translateY(-10px) rotate(-45deg);
    }
    


    /* --- サイドメニュー展開共通 --- */
    nav{
        top: 60px;
        right: 0;
        width: 100vw;
        height: calc(100vh - 60px);
        padding: 60px 30px;
    }

    nav .menu_list .child a::before{
        top: 8px;
        left: 0;
        width: 7px;
        height: 7px;
    }


    /* --- メインメニュー展開（左側） --- */
    #sidemenu_main .menu_list_left{
        max-width: 100%;
    }
    
    #sidemenu_main .menu_list > li{
        width: calc((100% - 40px) / 2);
    }

    /* その他のボタン */
    .other_menu_list_box{
        padding: 40px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    .other_menu_list_box ul:first-of-type{
        justify-content: center;
    }

    .other_menu_list_box li:not(:last-of-type) a::after{
        padding: 0 4px 0 11px;
    }

    /* ピンクのボタン（大学ポータルサイト、英語サイト） */
    .other_menu_list_box .btn_pink{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin: 40px auto 0 auto;
    }

    .other_menu_list_box .btn_pink li{
        max-width: 280px;
        width: 100%;
    }

    .other_menu_list_box .btn_pink a{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 15px;
        border-radius: 5px;
        background-color: var(--sub-pale-pink);
        color: var(--sub-link-purple);
        text-align: center;
    }

    .other_menu_list_box .btn_pink li a::after{
        content: none;
    }

    .other_menu_list_box .btn_pink img{
        width: 18px;
        filter: brightness(0) saturate(100%) invert(59%) sepia(15%) saturate(948%) hue-rotate(262deg) brightness(93%) contrast(90%);
    }


    /* --- メインメニュー展開（右側） --- */
    #sidemenu_main .menu_list_right{
        max-width: 280px;
        margin: 0 auto;
    }

    #sidemenu_visitor .btn_pink a{
        min-height: 80px;
        padding: 15px;
    }


    /* --- 検索メニュー展開 --- */
    /* 検索窓 */
    #sidemenu_search .search_box{
        padding: 20px;
    }

    #sidemenu_search .search_box_inner input{
        width: calc(100% - 60px);
        padding: 10px;
    }

    #sidemenu_search .search_box_inner button{
        width: 60px;
        padding: 8px 10px;
    }

    /* リンク */
    #sidemenu_search .menu_list .child li{
        max-width: calc((100% - 80px) / 3);
    }


    
    /* --- 下側サブメニュー（SP） --- */
    #footermenu_sp{
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        z-index: 998;
        display: block;
        width: 100%;
    }

    #footermenu_sp > ul{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        align-content: center;
    }

    #footermenu_sp > ul li{
        width: calc(100% / 3);
    }

    #footermenu_sp > ul li a{
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
        gap: 5px;
        padding: 18px 5px;
        text-align: center;
    }

    #footermenu_sp > ul li:first-of-type a{
        background-color: var(--main-font-color);
    }

    #footermenu_sp > ul li:nth-of-type(2) a{
        background-color: var(--sub-light-red);
    }

    #footermenu_sp > ul li:last-of-type a{
        background-color: var(--sub-link-purple);
    }

    #footermenu_sp > ul li img{
        width: auto;
        height: 12px;
    }

    #footermenu_sp > ul li span{
        color: var(--sub-white);
        font-size: 1.2rem;
        line-height: 1;
    }


    /* --- 閲覧補助メニュー展開（SP） --- */
    #sidemenu_support_pc{
        display: none!important;
    }

    #sidemenu_support_sp{
        position: fixed;
        top: auto;
        bottom: 48px;
        height: 200px;
        padding: 40px;
        overflow: auto;
        z-index: 997;
    }

    #sidemenu_support_sp .menu_list{
        width: 100%;
    }

    #sidemenu_support_sp .menu_list{
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: var(--space80);
    }

    #sidemenu_support_sp .subtitle{
        margin-bottom: var(--space20);
        color: var(--sub-white);
        font-size: var(--fs20);
        font-weight: 600;
    }

    #sidemenu_support_sp .child{
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    #sidemenu_support_sp a{
        width: 100px;
        padding: 15px;
        border-radius: 5px;
        background-color: var(--sub-pale-pink);
        color: var(--sub-link-purple);
        text-align: center;
    }

    #sidemenu_support_sp a::before{
        content: none;
    }

    #sidemenu_support_sp a.active{
        background-color: var(--sub-link-purple);
        color: var(--sub-white);
    }


}


@media screen and (max-width: 900px) {
    /* --- タブレット?スマホ用 --- */

    .header_inner{
        padding: 0 15px;
    }

    /* --- サイドメニュー展開共通 --- */
    nav{
        padding: 40px 15px;
    }

    nav .title{
        gap: 10px;
    }
    
    nav .title img{
        width: 24px;
    }

    nav .menu_list .child a {
        padding-bottom: 10px;
    }

    /* --- メインメニュー展開（左側） --- */
    #sidemenu_main .menu_list > li{
        width: 100%;
    }

    /* --- 訪問者別メニュー  --- */
    #sidemenu_visitor .menu_list > li{
        max-width: 100%;
    }

    /* --- 検索メニュー --- */
    /* リンク */
    #sidemenu_search .menu_list .child li{
        max-width: 100%;
    }

    #sidemenu_search .search_box_inner input {
        padding: 8px;
    }
}


@media screen and (max-width: 600px) {
    /*--- スマホ用 --- */

    .header_logo{
        max-width: 150px;
    }
    

    .sidemenu_btn li:first-child a,
    .sidemenu_btn li:nth-child(2) a{
        width: 48px;
    }

    /* --- 下側サブメニュー（SP） --- */
    #footermenu_sp li span{
        font-size: 1.2rem;
    }
    
    /* --- 閲覧補助メニュー展開（SP） --- */

    #sidemenu_support_sp{
        height: auto;
        padding: 30px 15px;
    }

    #sidemenu_support_sp a{
        padding: 8px;
    }
}





/*----------------------------------------*/
/* footer */
/*----------------------------------------*/

footer{
    padding: 80px 100px 40px 0;
    background-color: var(--main-font-color);
    color: var(--sub-white);
}

footer .inner:first-of-type{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: var(--space80);
}

.footer_left{
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 320px;
}

.footer_right{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 60px;
    max-width: calc(100% - 400px);
    width: 100%;
}

.footer_right ul{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 16px;
    max-width: calc((100% - 120px) / 3);
}

.footer_right li{
    width: 100%;
}

.footer_right a{
    display: block;
    color: var(--sub-white);
}

.copyright{
    font-size: var(--fs12);
    text-align: center;
}


/* --- TOPへ戻るボタン --- */
#PageTop{
	position: fixed;
	bottom: 50px;
	right: 120px;
	z-index: 900;
	text-align: center;
	cursor: pointer;
}

#PageTop a{
	position: relative;
	display: block;
	padding: 30px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.6);
	color: #fff;
	line-height: 1.2;
}

#PageTop a::before{
	position: absolute;
	content: "";
	top: 18px;
	left: 50%;
	transform: translateX(-50%) rotate(-45deg);
    border-top: 2px solid #fafafa;
    border-right: 2px solid #fafafa;
    width: 10px;
    height: 10px;
}

#PageTop a::after {
    content: 'TOP';
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: #fafafa;
    font-size: 14px;
}



@media screen and (max-width: 1280px) {
    /*--- PC?タブレット用 --- */

    footer{
        padding: 60px 0 80px 0;
    }
    
    footer .inner:first-of-type{
        gap: 40px;
    }
    
    .footer_left{
        max-width: 280px;
    }

    .footer_right{
        gap: 40px;
        max-width: calc(100% - 320px);
    }
    
    .footer_right ul{
        max-width: calc((100% - 80px) / 3);
    }
    
    #PageTop{
        right: 20px;
    }
}


@media screen and (max-width: 900px) {
    /*--- タブレット?スマホ用 --- */

    footer .inner:first-of-type{
        flex-direction: column;
    }

    .footer_right{
        flex-direction: column;
        justify-content: flex-start;
        max-width: 100%;
    }

    .footer_right ul{
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 10px 20px;
        max-width: 100%;
        padding-top: var(--space40);
        border-top: 1px solid rgba(255, 255, 255, 0.5);
    }

    .footer_right li{
        max-width: calc((100% - 60px) / 4);
        width: 100%;
    }

}


@media screen and (max-width: 600px) {
    /*--- スマホ用 --- */

    .footer_left img{
        max-width: 240px;
    }

    .footer_right{
        gap: 20px;
    }

    .footer_right li{
        max-width: calc((100% - 20px) / 2);
    }

    .footer_right a{
        font-size: 1.2rem;
    }

    /* --- TOPへ戻るボタン --- */
	#PageTop{
		position: fixed;
		bottom: 50px;
		right: 10px;
	}

	#PageTop a{
		position: relative;
		display: block;
		padding: 24px;
		border-radius: 50%;
		background-color: rgba(0, 0, 0, 0.6);
		color: #fff;
		line-height: 1.2;
	}

	#PageTop a::before{
		position: absolute;
		content: "";
		top: 14px;
		left: 50%;
		transform: translateX(-50%) rotate(-45deg);
		border-top: 1px solid #fafafa;
		border-right: 1px solid #fafafa;
		width: 5px;
		height: 5px;
	}

	#PageTop a::after {
		content: 'TOP';
		position: absolute;
		top: 24px;
		left: 50%;
		transform: translateX(-50%);
		color: #fafafa;
		font-size: 10px;
	}

}


/*----------------------------------------*/
/* アクセシビリティ関連パーツ */
/*----------------------------------------*/

/* --- メニューを飛ばして、本文へスキップ --- */
.hide{
    display: block;
    width: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
}

.skip_btn a{
    display: block;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: var(--sub-link-purple);
    text-align: center;
    color: var(--sub-white);
    font-size: 1.4rem;
}

.skip_btn a:focus{
    height: auto;
    padding: 10px;
}

.skip_btn a:focus span{
    width: 100%;
    height: auto;
}

