/*
Theme Name: PAStsukuba2020
Theme URL: https://grad.pas.tsukuba.ac.jp/
Description: 筑波大学大学院　理工情報生命学術院　数理物質科学研究群テーマテンプレート
Author: NSL
Version: 1.0.0
License: NSL
License URI: テーマのライセンスのURI
*/

@import url("css/reset.css");
@import url("css/globalnav.css");
@import url("css/front-page.css");
@import url("css/sidebar.css");
@import url("css/customize.css");
@import url("css/search.css");/*20210906*/

/* ------------------------------------
全体 
------------------------------------ */
html, 
body {
    margin: 0;
    padding: 0;
    font-size: 16px !important;
    font-family: 'Noto Sans JP','Roboto', sans-serif !important;
}
body, 
#container {
    margin: 0;
    padding: 0; 
}

/* ------------------------------------
共通
------------------------------------ */
#wrapper{
    max-width: 1024px; 
}

img {
    max-width: 100%;
    height: auto;
}

.non-sp {/*スマホでは表示しない*/
    display: none;
}

/* コンテンツ内見出し */
main h1,
main h2,
main h3,
main h4 {
    clear: both;
}

main h1 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-left: 11px;
}

main h2 {
    font-size: 1.2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    position: relative;
}

main h2:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 4px);
}

main h3 {
    margin: 2rem 0 0.3rem 0;
    font-size: 1rem;
    padding-left: 8px;
}

/* header */
header#header {
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
}
header .header__inner {
    margin: 0 auto;
    padding: 0.2rem;
    display: flex; 
    justify-content: space-between;
}
header .header__inner .header_left .header_logo{
    text-align: left;
    margin: 0.1rem 1rem 0 1rem;
}
header .header__inner .header_left h1 {
    font-size: 1rem;
    text-align: left;
    margin: 0 1rem 0.5rem 1rem;
    line-height: 1.3rem;
    font-weight: normal;
}
header .header__inner .header_left h1 span {
    display: block;
}
header .header__inner .header_left h1 span.sp_title_h1_01 {
    border-bottom: solid 1px #000;
    margin: 0 0 0.3rem 0;
    padding-bottom: 0.2rem;
}
header .header__inner .header_left h1 span i {
    display: block;
    font-size: 1.2rem;
    font-style: normal;
}
header .header__inner .header_left .header_menu {
    display: none;
}
header .header__inner .header_left .sp_title a {
    text-decoration: none;
    color: #000;
}


/* グローバルナビ */
div#globalnav {
    margin: -40px 0 0 0;
    padding: 0;
    text-align: center;
}

/* main */
#container {
    width:100%;
    height:100%;
    text-align: center;
    background: url(img/top_background_img.jpg);
    background-size: cover;
    overflow: hidden;
    background-position: top center;
}
#wrapper {
    margin: 0 auto;
    text-align: left;
}
#wrapper main {
    margin: 1.5rem 1rem;
}
#wrapper main .main_inner {
    margin: 0;
    padding: 3rem 1rem;
    background: #fff;
    font-size: 0.9rem;
    line-height: 1.6rem;
    position: relative;
    word-wrap: break-word !important;
}
#wrapper main .main_inner p {
    margin: 0.2rem 0;
}
#wrapper main .main_inner ul,
#wrapper main .main_inner ol {
    margin: 1rem 0 1rem 1.2rem;
    word-wrap: break-word !important;
}
#wrapper aside {
    margin: 1rem;
    padding: 0;
}

/* footer */
footer#footer {
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
}
footer .footer__inner {
    margin: 0 auto;
}
footer .footer__inner .footer_right {
    margin: 0;   
    padding: 0;
}
footer .footer__inner .footer_right ul {
    list-style: none;
}
footer .footer__inner .footer_right ul li {
    margin: 0;
    border-bottom: 1px dashed #fff;
    text-align: left;
}
ul.footer_menu li img {
    margin-right: 0.4rem;
    vertical-align: middle;
}
footer .footer__inner .footer_right ul li a {
    display: block;
    padding-left: 1rem;
    text-decoration: none;
    height: 45px;
    line-height: 45px;
}
footer .footer__inner .footer_right p {
    margin: 1rem auto;
}
footer .footer__inner .footer_left {
    margin: 0;
    text-align: center;
}
footer .footer__inner .footer_left a {
    text-decoration: none;
}
footer .footer__inner .footer_left img {
    margin: 0.5rem 1rem;
}
/*footer .footer__inner .footer_left a img:last-child{*//*20240205フッターリンク先分岐*/
footer .footer__inner .footer_left a img.site_name_img{
    width: 90%;
    max-width: 377px;
}

footer .footer__inner .footer_left p.en { /* フッター英語サイト名 */
    margin: 0 auto 1rem auto;
    font-size: 0.9rem;
    max-width: 330px;
}
footer .footer__inner .footer_left p.en .sp_title_en { /* フッター英語サイト名 */
    display: block;
    border-bottom: 1px solid #fff;
    margin-bottom: 0.3rem;
    padding-bottom: 0.3rem;
}

footer .copyright {
    display: block;
    line-height: 1rem;
    padding: 0.5rem;
}

/* 言語スイッチャー */
.wpml-ls-statics-shortcode_actions, 
.wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu, 
.wpml-ls-statics-shortcode_actions a {
    border-color: #999 !important;
    border-radius: 5px;
}
.wpml-ls-statics-shortcode_actions:hover, 
.wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu:hover, 
.wpml-ls-statics-shortcode_actions a:hover {
    border-color: transparent!important;
}
.wpml-ls-statics-shortcode_actions {
    background-color: #fff !important;
    width:110px;
    height:40px;
}
.wpml-ls-statics-shortcode_actions a {
    color: #000000;
    background-color: transparent !important;
}
.wpml-ls-legacy-list-horizontal>ul {
    border-color: #999 !important;
    border-radius: 5px;
}
.wpml-ls-legacy-list-horizontal>ul:hover,
.wpml-ls-legacy-list-horizontal>ul:hover a {
    background-color: #55c0d0;
    color:#fff;
    border: none;
} 
.wpml-ls-legacy-list-horizontal {
    padding: 0 !important;
    margin-right: 0;
    margin-left: auto;
    margin-bottom: 1.3rem;
    width: 90px;
}
.wpml-ls-legacy-list-horizontal a {
    padding: 10px 0 !important;
}
.wpml-ls-legacy-list-horizontal a span {
    vertical-align: unset !important;
}
.wpml-ls-legacy-list-horizontal .wpml-ls-flag {
    vertical-align: unset !important;
}

/* searchform表示関連 */
/*20210907 研究者検索機能追加による変更（削除）↓*/
/*
.searchform {
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
}
.searchfield {
    width: 170px;
    height: 32px;
    background-color: #fff;
    border: 1px solid #000;
    font-size: 14px;
    padding: 10px;
    line-height: 1.1rem;
    margin-right: 7px;
}
.searchico {
    display: table-cell;
    font-size: 1.4rem;
    transition: 0.5s ease;
    background: #55c0d0;
    color: #fff;
    width: 32px;
    height: 32px;
    padding: 0;
    text-align: center;
    vertical-align: middle;    
}
.searchform {
    display: none;
}
main .searchform {
    display: flex !important;
    justify-content: flex-end;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: solid 1px #ccc;
}
*/
/*20210907 研究者検索機能追加による変更（削除）↑*/

/* パンくずリスト */
ol#breadcrumb {
    font-size: 11px;
    padding: 0.4rem 1rem;
    background-color: #f9fdfd;
    list-style: none;
}
ol#breadcrumb li {
    display: inline;
}
ol#breadcrumb li a {
    margin: 0 0.5rem 0 0;
    text-decoration: none;
}
ol#breadcrumb li a:hover {
    text-decoration: underline;
}

/* ページナビゲーション */
/*wp-pagenavi base*/
.wp-pagenavi {
    clear: both;
    text-align:center;
    overflow: auto;
    height: 50px;
    padding-top: 10px;
    display:flex;
}

.wp-pagenavi a, .wp-pagenavi span {
    color: #999;
    background-color: #FFF;
    border: solid 1px #55c0cf;
    padding: 8px 15px;
    margin: 0 2px;
    white-space: nowrap;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    text-align: center;
    text-decoration:none;
}
.wp-pagenavi a:hover{
    color:#FFF !important; 
    background-color:#999; 
    border-color:#999;
}
.wp-pagenavi span.current{
    color: #FFF;
    background-color: #55c0cf;
    border-color: #55c0cf;
    font-weight: bold;
}

/*下部関連リンク部分*/
.top_link__inner {
    margin: 0 auto;
    padding: 1rem;
    max-width: 950px;
}
.top_link__inner h2 {
    font-size: 1.2rem;
    color: #582488;
    margin-bottom: 0.8rem;
}
.top_link__inner .top_link__inner_content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    border-top: solid 1px #a6e0e8;
    padding: 1.5rem 0;
}
.top_link__inner .top_link__inner_content a {
    display: block;
    margin: 1rem;
}
.top_link__inner .top_link__inner_content a img {
    width: 100%;
    height: auto;
}
.top_link__inner .top_link__inner_content a img:hover {
    opacity: 0.5;
}

/* ------------------------------------
トップページ
------------------------------------ */
#wrapper main.front-page .main_inner {
    background-color: transparent;
    padding: 0;
}
.top_img {
    margin: 0;
    padding: 0;
}
.top_img img{
    width: 100%;
}
.top_important_news {
    margin: 0;
    border-bottom: 4px solid #582488;
}
.top_important_news__inner {   
    background: #fff;
}
.top_important_news h2 {
    margin: 0;
    padding: 0.5rem;
    background: #582488;
    color: #fff;
    font-size: 1.3rem;
    font-weight: normal;
}
.top_important_news a {
    color: #000;
}
.su-tabs {
    background-color: transparent!important;
}
.su-tabs-nav span{
    padding: 10px 20px !important;
    background-color: #e1fbff !important;
    border: 1px solid #a6e0e8;
    border-top-left-radius: 5px !important;
    border-top-right-radius: 5px !important;
    box-sizing: content-box !important;
}
.su-tabs-nav span.su-tabs-current {
    background: #fff !important;
    border-bottom: 1px solid #fff;
}
.su-tabs-panes {
    border: 1px solid #a6e0e8 !important;  
    box-sizing: content-box !important;
    margin-top: -1px;
}
.top_link {
    width: 100%;
    background: #fff;
}

/* ------------------------------------
検索結果
------------------------------------ */
/*
.search_results dd {
padding-left: 0.5rem;
border-bottom: 1px dotted #ccc;
}
*/
ul.search_lists li.list dl dt a {
    color: #3E4ECA !important;
    text-decoration: none;
    font-size: 1.2rem;
}

/* ------------------------------------
各固定ページ
------------------------------------ */
/* ページ内上部リンク */
.page-menu-link {
    font-size: 0.5rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    margin: auto;
}
.page-menu-link a {
    margin: 0 0.3rem;
    color: #582488;
    text-decoration: none;
}
.page-menu-link a:hover {
    text-decoration: underline;
}
ul.page-menu-link_en {
    list-style: none;
    text-align: end;
}
ul.page-menu-link_en li {
    margin: 0;
    line-height: 1.3rem;
}

/* アンダーラインなしのh2 */
h2.underline-none {
    border-bottom: none;
    margin-bottom: 0;
}
h2.underline-none:after {
    display: none;
}

/* ページ内上部お知らせ等 */
p.notice {
    font-size: 0.75rem;
    position: absolute;
    top: 0;
    margin: 0.5rem 0.5rem 0 0 !important;
    color: #1828b1;
    line-height: 0.9rem;
}

p.caution{
    font-size: 0.9rem;
    position: relative;
    margin: 1rem 0 !important;
    padding: 0.4rem;
    color: #ff4141;
    border: 1px solid #ff4141;
}


/* 画像回り込み */
main img.page_float_right {
    float: right;
    clear: both;
    margin: 0 0 1rem 1rem;
}
main img.page_float_left {
    float: left;
    clear: both;
    margin: 0 1rem 1rem 0;
}

/* 画像横並べ */
.page_img_block {
    margin-bottom: 2rem;
    display: flex;
    wrap: multiple !important;
}
.page_img_block img {
    padding-right: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    width: auto;
}
.page_img_block p.page_img_block_right {
    text-align: right;
    padding-bottom: 1rem;
    margin-top: 0;
}
/* 関連センター画像 */
#environ .page_img_block img {
    height: 100%;
}

/* キャプション付き画像 */
.page_img_block .wp-caption,
.page_img_block_nims .wp-caption {
    width: auto !important;
    margin-right: 1rem;
    margin-bottom: 1rem;
}
.page_img_block > p,
.page_img_block_nims > p {
    flex: 1;
    margin-bottom: 0 !important;
}
.page_img_block .wp-caption img,
.page_img_block_nims .wp-caption img {
    margin-bottom: 0;
}
p.wp-caption-text {
    font-size: 0.75rem;
    margin: 0 auto !important;
    line-height: 1.3rem;
    margin-bottom: 1rem;
    max-width: 230px;
    text-align: left;
}
.alignright {
    flex-flow: row-reverse;
} 
.alignright img {
    padding-right: 0;
}
.alignright .wp-caption {
    width: auto !important;
    margin-right: 0;
    margin-left: 0;
}

/*画像センター*/
.aligncenter {
    text-align: center;
    margin: 3rem 0 1rem 0 !important;
}

/* スケジュール */
.schedule_block h2 {
    border-bottom: none;
    margin-bottom: 0;
}
.schedule_block h2:after {
    display: none;
}
.schedule_block h2 img {
    margin-right: 0.5rem;
}

.schedule_block ul{
    margin: 0!important;
    list-style: none;
    padding: 0.8rem;
    background-size: auto auto;
    background-color: rgba(255, 255, 255, 1);
    background-image: repeating-linear-gradient(134deg, transparent, transparent 5px, rgba(236, 255, 239, 1) 5px, rgba(236, 255, 239, 1) 11px );
    border: solid 1px #c2ffcb;
}

.schedule_block ul li {
    margin: 0.5rem 0;
}
.schedule_block ul li:after {
    display: block;
    content: '▼';
    color: #c2ffcb;
    transform: scale(1.3, 0.6);
    margin: 0 3rem;
    max-width: 300px;
}
.schedule_block ul li:last-child:after {
    display: none;
}
.schedule_block ul li span {
    display: block;
    color: #31acbd;
    width: 7.5rem; 
}

/* テーブル01 */
table.table_01 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 1rem;
    table-layout: fixed;
    word-break: break-all;
}
table.table_01 th,
table.table_01 td{
    margin: 1rem 0;
    padding: 1rem 0;
    min-height: 5rem;
    display: block;
    font-size: 0.75rem;
}

table.table_01 th {
    min-height: 3rem;
    text-align: left;
}
table.table_01 th a {
    color: #1828b1 !important;
    text-decoration: none;
}
table.table_01 th a:hover {
    text-decoration: underline;
}
table.table_01 th img {
    margin-right: 0.5rem;
}
table.table_01 td {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* テーブル01　学位プログラム */
table.d_program th,
table.d_program td {
    font-size: 0.85rem;
    padding: 0.8rem 0;
}

table.tbl_after_courses td{
    margin: 0.8rem 0; 
    padding: 0.8rem 0;
}


/* テーブル02 */
.table_02_scroll {
    overflow: auto;
    white-space: nowrap;
}
table.table_02 {
    width: 580px;
    border-collapse: collapse;
    font-size: 0.75rem;
    background-color: #f2fff4;
    background-size: auto auto;
    background-color: rgba(255, 255, 255, 1);
    background-image: repeating-linear-gradient(134deg, transparent, transparent 5px, rgba(236, 255, 239, 1) 5px, rgba(236, 255, 239, 1) 11px );
}
table.table_02 th,
table.table_02 td {
    padding: 0.5rem 1rem; 
    border-bottom: 1px solid #99eea5;
    border-right: 1px solid #99eea5;
    text-align: center;
}
table.table_02 th:last-child,
table.table_02 td:last-child {
    border-right: none;
}
table.table_02 tr:last-child td {
    border-bottom: none;
}
table.table_02 td:first-child {
    text-align: left;
    border-right: none;
}
table.table_02 th:nth-of-type(2),
table.table_02 td:nth-of-type(2) {
    background-color: #fff4c3;
    border-right: none;
}
table.table_02 th {
    background-color: #99eea5;
}
table.table_02 th:first-child {
    text-align: left;
}

/* リストの扱い */
main ol > li,
main ul > li {
    margin-bottom: 0.3rem;
}
main ul > li > ul {
    margin-top: 0.3rem !important;
    margin-bottom: 0.5rem !important;
}

/* お知らせ一覧のリスト */
ul.lists {
    margin: 0 !important;
    padding: 0;
    list-style: none;
}
ul.lists li.list {
    margin: 0 0 1rem 0;
    word-wrap: break-word;
}
ul.lists li.list dl dt {
    font-size: 1rem;
}
ul.lists li.list dl dd {
    margin-bottom: 1rem;
}
ul.lists li.list dl dd a {
    color: #3E4ECA !important;
    text-decoration: none;
    font-size: 138%;
    font-weight: bold;
}
/* dl */
main dl {

}
main dl dt {
    font-weight: bold;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}
main dl dd {
    margin-bottom: 2rem;
}

/* リストスタイルのないリスト */
ul.list-style_none,
ol.list-style_none{
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: left;
}

/* お知らせ詳細ページ */
.single_date-cat {
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    border-bottom: solid 1px #c7f5fc;
    position: relative;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.single_date-cat p:not(:first-child) {
    display: inline-block;
    margin: 0.2rem !important;
}

.single_date-cat:after {
    content: "";
    border-bottom: solid 2px #55c0cf;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 4px);
    z-index:-1;
}
.single_date-cat p {
    margin: 0 0.5rem !important;
}

/* メッセージ署名 */
.massage_tittle_name {
    text-align: right;
    margin-top: 1rem;
}
.massage_tittle_name p span {
    font-weight: bold;
}

/* インターンシップ受け入れ情報 */
ol.internship {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
ol.internship li:after {
    display: block;
    content: '↓';
    margin: 0 1rem;
}
ol.internship li:last-child:after {
    display: none;
}

/*卒業後の進路*/
.after_courses-glaph{
    overflow: auto;
}

.after_courses-glaph img{
    width: auto;
    max-width: none;
    height: 271px;
}


/* サイトマップ */
#sitemap ul {
    list-style: none;
    margin-left: 0 !important;
    padding-left: 0;
}
#sitemap ul > li > ul {
    margin-left: 1.3rem !important;
}
#sitemap ul li img {
    margin-right: 0.3rem;
}

@media screen and (max-width: 550px) { /*画像横ならべ処理*/
    .page_img_block {
        display: block;
        text-align: center;
    }
    .page_img_block > p {
        text-align: left;
    } 
    .page_img_block .wp-caption {
        width: auto !important;
        margin-right: 0;
    }
    .page_img_block img {
        padding-right: 0;
    }
    /* 画像回り込み */
    .alignright,
    .alignleft {
        text-align: center;
    } 
    main img.page_float_right,
    main img.page_float_left {
        float: none;
        margin: 0;
    }
    /* コンテンツ上部英語メニュー */
    ul.page-menu-link_en {
        margin-top: -0.4rem !important;
    }
    ul.page-menu-link_en li {
        line-height: 0.8rem;
    }


} 

@media screen and (min-width: 551px) { /*画像横ならべ処理*/
    .alignright .wp-caption {
        margin-left: 1rem;
    }
    .page_img_block_nims {
        display: flex;
    }
    .single_date-cat {
        display: flex;
    }
    .single_date-cat p:not(:first-child) {
        display: inline-block;
        margin: 0 0.2rem !important;
    }
}

@media screen and (min-width: 918px) { /*タブレット縦以上*/

    /* フレックスボックス設定 */
    header .header__inner,
    #wrapper,
    footer .footer__inner {
        display: flex; 
        justify-content: space-between;
    }
    #wrapper aside {
        margin: 0;
    }

    .non-pc {/*PCでは表示しない*/
        display: none;
    }

    .non-sp {/*スマホでは表示しない*/
        display: inline;
    }

    /* 見出し */
    main h1 {
        margin-top: 1.3rem;
    }

    /* ヘッダー&フッターメニュー */
    header .header__inner .header_left ul.header_menu,
    footer .footer__inner .footer_right ul.footer_menu {
        display: flex !important;
        list-style: none;
        margin: 0.8rem 0 auto 0.5rem;;
        font-size: 0.76rem;
        height: 1.2rem;
    }
    ul.header_menu li{
        display: block;
        padding: 0 0.7rem;       
        height: 1.2rem;
        border-right: 1px solid #9a9a9a;
    }
    ul.header_menu li:first-child{
        border-left: 1px solid #9a9a9a;
    }
    ul.header_menu li img {
        margin-right: 0.4rem;
        vertical-align: middle;
    }
    ul.header_menu li a {
        color: #000;
    }
    ul.footer_menu li{
        display: block;
        padding: 0 0.7rem;       
        height: 1.2rem;
        border-right: 1px solid #168292;
    }
    ul.footer_menu li:first-child{
        border-left: 1px solid #168292;
    }
    ul.header_menu li a,
    ul.footer_menu li a {
        text-decoration: none;
        line-height: 1.2rem !important;
    }
    ul.header_menu li a:hover,
    ul.footer_menu li a:hover {
        text-decoration: underline !important;
        line-height: 1.2rem !important;
    }

    /*header*/

    .header_left {
        display: flex;
    }    
    header .header__inner .header_left .header_logo {
        margin: 30px 0 15px 1rem;
    }
    header .header__inner .header_left ul.header_menu {
        margin: 20px 0 20px 20px;
    }
    header .header__inner .header_left ul.header_menu {
        margin: 20px 0 20px 20px;
    }
    header .header__inner .header_left #logo {
        margin-left: 20px;
        padding: 0;
        text-align: left;
    }
    header .header__inner .header_left #logo img {
        margin: 0;
    }
    .header_right {
        display: block;
        margin-top: 0.8rem;
        margin-right: 1rem;
    }
    header .header__inner .header_right,
    header .header__inner .header_left .header_menu {
        display: block !important;
    }
    header .header__inner .header_left .header_menu li img {

    }
    header .header__inner .header_right form {
        height:50%;
    }
/*20210907 研究者検索機能追加による変更（削除）↓*/
/*
    .searchico:hover {
        color: #ece195;
    }
*/
/*20210907 研究者検索機能追加による変更（削除）↑*/

    /* 言語スイッチャー */
    .wpml-ls-statics-shortcode_actions, 
    .wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu, 
    .wpml-ls-statics-shortcode_actions a {
        border-color: #999 !important;
        border-radius: 5px;
    }
    .wpml-ls-statics-shortcode_actions:hover, 
    .wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu:hover, 
    .wpml-ls-statics-shortcode_actions a:hover {
        border-color: transparent!important;
    }
    .wpml-ls-statics-shortcode_actions {
        background-color: #fff !important;
        width:145px;
        height:27px
    }
    .wpml-ls-legacy-list-horizontal a {
        padding: 5px 10px !important;
    }
    .wpml-ls-statics-shortcode_actions a span {
        display: inline;
    }

    /* searchform */
    .searchform {
        display: flex;
    }

    /* グローバルナビ */
    div#globalnav {
        margin: 0;
        padding: 0;
        text-align: center;
    }


    /**/
    #wrapper {
        margin: 0 auto;
        padding: 40px 0;
        justify-content: stretch;
    }
    main {
        margin: 0 !important;
        padding: 0 36px 0 0;
        width: 100%;
        max-width: 794px;
    }
    #wrapper main .main_inner {
        margin: 0;
        padding: 50px;
        background: #fff;
    }
    aside {
        min-width: 200px !important;
        max-width: 250px;
        margin-top: 0 !important;
        margin-left: 0 !important;
    }

    /*footer*/

    .footer__inner {
        display: flex;

    }
    .footer_left {
        text-align: left !important;
        margin: 1rem auto 2rem 0 !important;
        -webkit-box-ordinal-group: 1;
        -ms-flex-order: 1;
        -webkit-order: 1;
        order: 1;
    }
    footer .footer__inner .footer_left img {
        margin-bottom: 1rem;
        display: block;
    }
    footer#footer .footer_right {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 2;
        -webkit-order: 2;
        order: 2;
        text-align: right;
        padding-right: 1rem;
    }
    footer .footer__inner .footer_right ul {
        margin-top: 2rem !important;
        justify-content: flex-end;
    }
    footer .footer__inner .footer_right ul li {
        margin: 0;
        border-bottom: none;
        text-align: center;
    }
    footer .footer__inner .footer_right ul li a {
        display: block;
        padding: 0;       
        height: 1.2rem;

    }
    footer .footer__inner .footer_right ul li a:hover {
        background: none;
    }
    footer .footer__inner .footer_right p {
        margin: 3rem auto 0 auto;
    }
    footer .footer__inner .footer_right p a {
        font-size: 0.9rem;
        text-decoration: none;
    }

    footer .footer__inner .footer_left p.en { /* フッター英語サイト名 */
        margin: 0 1rem 1rem 1rem;
    }

    /* トップページ */
    #wrapper main.front-page .main_inner {
        margin: 0;
        padding: 0;
        background-color: transparent;
    }
    .top_img {
        margin: 0;
        padding: 0;
    }
    .top_img img{
        width: auto;
    }
    .top_important_news {
        text-align: center;
    }
    .top_important_news__inner {
        margin: 0 auto;
        display: flex;
    }
    .top_important_news__inner h2 {
        display: block;
        width: 145px;
        height:90px;
        padding: 1.5rem 2.5rem;
        font-size:1rem;
        text-align: left;
    }

    /* 固定ページ上部リンク */
    .page-menu-link {
        font-size: 0.7rem;
        position: absolute;
        top: 1rem;
        right: 3rem;
    }
    .page-menu-link a {
        display: inline-block;
        margin: 0 1rem;
        padding: 0 0 0 25px;
        color: #582488 !important;
        text-decoration: none;
        position: relative;
    }
    .page-menu-link a:before,
    .page-menu-link a:after {
        content: "";
        display: block;
        -webkit-transform: skewX(45deg);
        transform: skewX(45deg);
        position: absolute;
        left: 0;
        bottom: 11px;
    }
    .page-menu-link a:before {
        width: 12px;
        height: 1px;
        background: #582488;
    }
    .page-menu-link a:after {
        width: 1px;
        height: 5px;
        background: #582488;
        left: 9px; 
    }
    .page-menu-link_en li {
        display: inline-block;
        border-right: 1px solid #000;
    }
    .page-menu-link_en li:last-child {
        border-right: none;
        margin-right: 0;
    }
    .page-menu-link_en li:last-child a {
        margin-right: 0;
    }

    /* ページナビゲーション */
    /*wp-pagenavi base*/
    .wp-pagenavi {
        clear: both;
        text-align:center;
        overflow: auto;
        height: 50px;
        padding-top: 10px;
        display:block;
    }

    /* 画像横並べ
    .page_img_block p.page_img_block_right {
    padding-bottom: 10rem;
}
    */

    /*下部関連リンク部分*/
    .top_link__inner h2 {
        text-align: left;
    }

    /* スケジュール */
    .schedule_block ul li span {
        display: inline-block;
        color: #31acbd;
        width: 7.3rem; 
    }
    .schedule_block ul li:after {
        margin-left: 3.5rem;
    }

    /* テーブル01 */
    table.table_01 th,
    table.table_01 td {
        display: table-cell;
    }
    table.table_01 th {
        min-height: 5rem !important;
    }

    /* テーブル01　学位プログラム */
    table.d_program th,
    table.d_program td {
        font-size: 0.85rem;
    }

    /*オープンキャンパス　スケジュール*/
    .schedule_block ul{
        padding: 2rem;
    }

    .open_campus_contact{
        text-align: right;
    }

    /* サイトマップ */
    #sitemap a {
        color: #000 !important;
        text-decoration: none;
    }
    #sitemap ul > li > ul {
        margin-left: 3rem !important;
        font-size: 0.8rem;
    }
    #sitemap ul li img {
        margin-right: 0.8rem;
    }
    #sitemap ul > li > ul > li >ul {
        font-size: 0.75rem;
    }
}


/* 研究群長メッセージ*/
#message_wrapper {
    clear: left;
}

#message_wrapper img {
    float: left;
    padding: 0 2rem 2rem 2rem;
    width: 312px;
}


@media screen and (max-width: 663px) {
    #message_wrapper img {
        float: none;
    }

    #message_wrapper {
        text-align: center;
    }

    #message_wrapper p {
        text-align: left;
    }

    #message_wrapper img {
        padding-bottom: 1rem;
    }
}

@media screen and (max-width: 388px) {
    #message_wrapper img {
        width: 229px;
    }
}