@charset "utf-8";
/* 共通
----------------------------------------------------------- */
body {
    font-family: YuGothic,'Yu Gothic','MS Sans Serif','Verdana',sans-serif;
    -webkit-text-size-adjust: 100%;
    line-height: 1.8;
    color: #333;
}

* {
    -moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

a {
    text-decoration: none;
}

.clearfix:after {
    content:"";
    display:block;
    clear:both;
}

/* header
----------------------------------------------------------- */

.inner {
	max-width: 1080px;
    padding: 0 10px;
    margin: 0 auto;
}

.site_logo {
	margin-right: auto;
    padding: 0;
}

.site_logo a img {
    width: 260px;
}

/* G-navi
----------------------------------------------------------- */

#g_navi {
    margin: 10px auto;
}
#g_navi nav {
    margin: 0 auto;
}
.nav-unshown {
	display:none;
}

.mb {
    display: none;
}

#g_navi li {
    position: relative;
    display: inline-block;
    float: left;
    width: 14%;
    text-align: center;
}

#g_navi li a {
    position: relative;
    display: inline-block;
    text-align: center;
	color: #336699;
    transition: .5s;
    font-weight: bold;
    line-height: 1.3;
}

#g_navi li a span {
    text-align: center;
    transition: .5s;
    font-size: 0.9em;
    font-weight: 500;
    display: inline-block;
}

#g_navi li.active a,
#g_navi li a:hover {
    text-decoration: none;
}

#g_navi li.lang_switch {
	margin-left: 15px;
    display: inline-block;
}
#g_navi li.lang_switch a {
	display: inline-block;
    background: #aaa;
    color: #fff;
    width: 50px;
}
#g_navi li.lang_switch a:hover,
#g_navi li.lang_switch a.active {
    background: #003366;
}

/* 固定 */
.fixed {
	position: fixed;
	top: 0;
	padding: 0;
	width: 100%;
	z-index: 1000;
}

#g_navi.fixed {
	border-bottom: 1px solid #ddd;
}
#g_navi.fixed li {
   bottom: -1px;
}
#g_navi.fixed nav {
	width: 100%;
}

/* eyecatch
----------------------------------------------------------- */
.eyecatch {
	background-size: cover;
    background-image: url(https://www.rs.tus.ac.jp/koyanagi/composites/images/bg-img_koyanagi.jpg);
}

.eyecatch img {
    width: 100%;
}

.eyecatch h2 {
    color: #fff;
    font-weight: bold;
}

.eyecatch .inner .flex_box .flex_left {
    padding: 20px;
}

.eyecatch .inner .flex_box {
    display: flex;
    align-items: center;
}

@media screen and ( max-width:600px ) {
    .eyecatch .inner .flex_box .flex_left ,.eyecatch .inner .flex_box .flex_right {
        width: 100%;
    }

    .eyecatch .inner .flex_box .flex_right img {
    margin-bottom: -40px;
    }

    .eyecatch .inner .flex_box {
        flex-direction: column;
    }
}

@media screen and ( min-width:600px ) {
    .eyecatch .inner .flex_box .flex_left  {
        align-items: center;
        width: 50%;
    }
    .eyecatch .inner .flex_box .flex_right {
        width: 50%;
        padding: 20px;
    }
}

/* sub-header
----------------------------------------------------------- */
.sub_header {
    height: 240px;
	background-size: cover;
    background-image: url(https://www.rs.tus.ac.jp/koyanagi/composites/images/bg-img_koyanagi.jpg);
}

.sub_header .inner {
    display: table;
}

.sub_header .inner .text {
    display: table-cell;
    vertical-align: middle;
    height: 240px;
}

.sub_header .inner p {
    font-weight: bold;
    font-size: 20px;
    color: #fff;
}

@media screen and ( max-width:600px ) {
    .sub_header {
        height: 120px;
    }
    .sub_header .inner .text {
        height: 120px;
    }
}

/* about
----------------------------------------------------------- */

.about {
	padding: 60px 0px;
}

@media screen and ( max-width:600px ) {
    .about {
    padding: 40px 0px;
    }
    .about .title h2 {
    padding: 40px 0 20px 0;
    }
}

.about p {
    font-size: 1em;
    line-height: 1.5;
    padding: 0 0 20px 0;
}

.about .title {
    text-align: center;
}

.about .title h2 {
	padding:0 0 20px 0;
    font-size: 2em;
    font-weight: bold;
    border-bottom: solid #336699 2px;
    color: #336699;
    display: inline-block;
    margin-bottom: 20px;
}

.btn {
    margin: 20px 0;
    text-align: right;
}

.button {
    background: linear-gradient(to bottom right, #336699, #003366);
    color: #fff;
    padding: 18px 32px;
    margin-top: 20px;
}

.button:hover {
    transition: all .5s;
    background: linear-gradient(to bottom right, #003366, #001133);
}

/* News&Event（TOP）
------------------------------------------------------*/

.news_area {
    background: #fff;
    margin-bottom: 60px;
}

.news_title h2 {
    font-size: 1em;
    font-weight: bold;
    color: #003366;
    padding: 20px;
    display: flex;
    align-items: center;
}

.news_area .inner .flex_box .flex_left {
    width: 20%;
    background-color: #eee;
    display: flex;
    align-items: stretch;
}

.news_area .inner .flex_box {
    box-shadow: 0px 1px 3px gray;
    display: flex;
}

.news_area .flex_right {
    flex: 80%;
    max-height: 150px;
    padding-top: 20px;
    overflow-y: scroll;
}

@media screen and ( max-width:600px ) {
    .news_area .inner .flex_box .flex_left ,.news_area .inner .flex_box .flex_right {
        width: 100%;
    }
    .news_area .inner .flex_box{
        flex-direction: column;
    }
}

@media screen and ( min-width:600px ) {
    .news_area .inner .flex_box .flex_left  {
        height: 170px;
        align-items: center;
    }
}

.article_list .article {
    display: table;
    width: 100%;
    padding: 12px;
    border-bottom: 1px solid #ddd;
    -moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.article_list li.article:first-child {
    padding-top: 0px;
}
.article_list li.article:last-child {
    border-bottom: 0px;
}

.article_list .data {
    display: table-cell;
    width: 238px;
}

.article_list .time {
    display: inline-block;
    position: relative;
    top: -1px;
    width: 112px;
}

.article_list .cat {
    position: relative;
    top: -1px;
    display: inline-block;
    width: 100px;
    padding: 1px 0px;
    background: #999;
    text-align: center;
    font-size: 11px;
    color: #fff;
    letter-spacing: 1px;
}
.article_list .cat.type_news {
	background: #336699;
}
.article_list .cat.type_events {
	background: #003366;
}
.article_list .cat a {
    color: #fff;
}
.article_list .cat a:hover {
    text-decoration: none;
    opacity: 0.7;
}
.article_list .area_txt {
    display: table-cell;
}
.article_list .area_txt a {
    color: #333;
    text-decoration: underline;
}
.article_list .area_txt a:hover {
    text-decoration: none;
}
.article_list p {
	margin-top: 0px !important;
	margin-bottom: 0px !important;
    line-height: 2 !important;
    font-size: 13px;
}


/* member
----------------------------------------------------------- */
.member {
	padding: 60px 0px;
}

@media screen and ( max-width:600px ) {
    .member {
    padding: 20px 0px;
    }
}

.member p {
    font-size: 1em;
    line-height: 1.5;
}
.member .title {
    text-align: center;
}
.member .title h2 {
	padding:0 0 20px 0;
    font-size: 2em;
    font-weight: bold;
    border-bottom: solid #336699 2px;
    color: #336699;
    display: inline-block;
    margin-bottom: 20px;
}

.member_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.member_list li {
    width: 30%;
    padding-bottom: 40px;
    text-align: center;
    font-size: 0.9em;
}

.member_list li span {
    display: inline-block;
}

.member_list li .img img {
    width: 60%;
    margin-bottom: 10px;
}

.member_list li h3 {
    font-size: 1.3em;
    font-weight: bold;
    color: #003366;
    text-align: center;
    padding-bottom: 10px;
}

.member_list li .post {
    font-weight: normal;
}

.member_list li .field {
    font-weight: bolder;
    font-size: 0.8em;
}

@media screen and ( max-width:600px ) {
    .member_list li {
    width: 48%;
    font-size: 0.9em;
    padding: 0 5px 40px 5px;
    }
    .member_list li .img img {
        width: 90%;
        margin-bottom: 10px;
    }
}

/* reseach
----------------------------------------------------------- */
#content .inner .reseach{
    margin: 20px 0;
}

.reseach .flex_box .flex_left {
    font-weight: bold;
    color: #003366;
}

.reseach .flex_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
}

.reseach .flex_box .flex_right {
    width: 60%;
}

.reseach .flex_box .flex_left .title h2 {
	padding:0 0 20px 0;
    font-size: 2em;
    font-weight: bold;
    border-bottom: solid #336699 2px;
    color: #336699;
    display: inline-block;
    margin-bottom: 20px;
}

.reseach h3 {
    color: #336699;
    background-color: #eee;
    border-left: solid #336699 4px;
    font-weight: bold;
    font-size: 1.3em;
    padding:10px;
    margin: 40px 0 20px 0;
}

@media screen and ( max-width:600px ) {
    .reseach .flex_box .flex_left ,.reseach .flex_box .flex_right {
        width: 100%;
    }
    .reseach .flex_box {
        flex-direction: column;
        padding: 20px 0;
    }
}

.reseach img {
    width: 100%;
}

.reseach ul li {
    padding: 0 0 10px 10px;
    line-height: 1.5;
}

.reseach ol li {
    padding: 0 0 10px 10px;
    list-style-type: none;
    line-height: 1.5;
}

.reseach p {
    font-size: 1em;
    line-height: 1.5;
    padding-bottom: 10px;
}

.group_leader .flex_box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.group_leader .flex_box .flex_left ,.group_leader .flex_box .flex_right {
    width: 50%;
}

.group_leader .flex_box .flex_left img {
    width: 100%;
}

.group_leader .flex_box .flex_right h4 {
    color: #336699;
    font-weight: bold;
    padding-bottom: 10px;
}

.group_leader .flex_box .flex_right {
    padding-left: 20px;
}

@media screen and ( max-width:600px ) {
    .group_leader .flex_box .flex_left ,.group_leader .flex_box .flex_right {
        width: 100%;
    }
    .group_leader .flex_box {
        flex-direction: column;
        padding: 20px 0;
    }
    .group_leader .flex_box .flex_right {
        padding-left: 0;
    }
}

/* newsevents
----------------------------------------------------------- */
.newsevent {
	padding: 60px 0px;
}

@media screen and ( max-width:600px ) {
    .newsevent {
    padding: 20px 0px;
    }
}

.newsevent p {
    font-size: 1em;
    line-height: 1.5;
}
.newsevent .title {
    text-align: center;
}

.newsevent .title h2 {
	padding:0 0 20px 0;
    font-size: 2em;
    font-weight: bold;
    border-bottom: solid #336699 2px;
    color: #336699;
    display: inline-block;
    margin-bottom: 20px;
}

.newsevent h3 {
    color: #336699;
    background-color: #eee;
    border-left: solid #336699 4px;
    font-weight: bold;
    font-size: 1.3em;
    padding:10px;
    margin: 40px 0 20px 0;
}

/* resources
----------------------------------------------------------- */
.resources {
	padding: 60px 0px;
}

@media screen and ( max-width:600px ) {
    .resources {
    padding: 20px 0px;
    }
}

.resources p {
    font-size: 1em;
    line-height: 1.5;
}
.resources .title {
    text-align: center;
}

.resources .title h2 {
	padding:0 0 20px 0;
    font-size: 2em;
    font-weight: bold;
    border-bottom: solid #336699 2px;
    color: #336699;
    display: inline-block;
    margin-bottom: 20px;
}

.resources h3 {
    color: #336699;
    background-color: #eee;
    border-left: solid #336699 4px;
    font-weight: bold;
    font-size: 1.3em;
    padding:10px;
    margin: 40px 0 20px 0;
}

.resources_content .flex_box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.resources_content .flex_box .flex_left ,.resources_content .flex_box .flex_right {
    width: 50%;
}

.resources_content .flex_box .flex_left img {
    width: 100%;
}

.resources_content .flex_box .flex_right h4 {
    color: #336699;
    font-weight: bold;
    padding-bottom: 10px;
}

.resources_content .flex_box .flex_right {
    padding-left: 20px;
}

@media screen and ( max-width:600px ) {
    .resources_content .flex_box .flex_left ,.resources_content .flex_box .flex_right {
        width: 100%;
    }
    .resources_content .flex_box {
        flex-direction: column;
        padding: 20px 0;
    }
    .resources_content .flex_box .flex_right {
        padding-left: 0;
    }
}

/* contact
----------------------------------------------------------- */
#content .inner .contact{
    padding: 60px 0;
}

.contact .title {
    text-align: center;
}
.contact .title h2 {
	padding:0 0 20px 0;
    font-size: 2em;
    font-weight: bold;
    border-bottom: solid #336699 2px;
    color: #336699;
    display: inline-block;
    margin-bottom: 20px;
}

.contact .flex_box .flex_left p {
    text-align: left;
}

.contact .flex_box {
    display: flex;
    align-items: start;
    justify-content: space-between;
    padding: 40px 0;
}

.contact .flex_box .flex_right {
    width: 50%;
}

.contact .flex_box .flex_left {
    width: 50%;
}

.contact .flex_box .flex_left .title h3 {
	padding:0 0 20px 0;
    font-size: 1.3em;
    font-weight: bold;
    color: #336699;
    display: inline-block;
    margin-bottom: 20px;
    text-align: left;
}

@media screen and ( max-width:600px ) {
    .contact .flex_box .flex_left ,.contact .flex_box .flex_right {
        width: 100%;
    }
    .contact .flex_box {
        flex-direction: column;
        padding: 20px 0;
    }
}

.contact img {
    width: 100%;
}

.contact p {
    font-size: 1em;
    line-height: 1.5;
    padding-bottom: 10px;
    text-align: center;
}

/* footer
----------------------------------------------------------- */

#footer {
    clear: both;
    color: #cfcfcf;
    background: linear-gradient(to bottom right, #336699, #003366);
    line-height: 1.5;
    margin: 0 auto;
    padding: 60px 0;
}

#footer .inner {
    margin: 0 auto;
    text-align:center;
}

.info_area {
    margin: 0 auto;
    padding: 40px;
    background: #eee;
    color: #333;
    text-align: center;
    display: inline-block;
}

@media screen and ( min-width:600px ) {
    .info_area {
    min-width: 600px;
    }
}

.info_area h2 {
    font-weight: bold;
    color: #336699;
}

.info_area h2 span {
    display: inline-block;
}

.info_area .flex_box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    margin: 20px 0;
}

.info_area .flex_box .flex_left a ,.info_area .flex_box .flex_right a {
    background-color: #336699;
    color: #fff;
    padding: 10px;
    margin: 20px 10px;
    width: 180px;
}

@media screen and ( max-width:600px ) {
    .info_area {
        padding: 20px 5px;
        width: 100%;
    }
    .info_area .flex_box .flex_left a ,.info_area .flex_box .flex_right a {
        padding: 10px;
        margin: 20px 5px;
        width: 140px;
        font-size: 0.9em;
    }
    .info_area .flex_box {
    flex-flow: column;
    margin: 0;
    }
    .info_area .flex_box .flex_left, .info_area .flex_box .flex_right {
    margin: 10px 5px;
    }
}

.copyright .inner {
    text-align: center;
    margin:  0 auto;
}

/* 英語版の文字調整 */

.eng .head_title h2,
.eng .head_title h3,
.eng .footer_area p {
    letter-spacing: 0.5px;
}

.notel{
    pointer-events: none;
    }

/* タブレットに適用させるCSS */
@media screen and ( max-width:1024px ) {
	#g_navi nav {
        width: 100%;
    }
    #g_navi li a {
    	padding: 0px;
    }
}

/* スマホに適用させるCSS */
@media screen and ( max-width:770px ) {
	
	p {
    	font-size: 13px;
    }
    img {
        max-width: 100%;
        height: auto;
    }
    
    .pc {
        display: none !important;
    }
    .mb {
        display: block !important;
    }
    
    /* lauout
    ----------------------------------------------------*/
    
	header .site_logo {	
    	padding-top: 0px;
	}
	
    .section {
        clear: both;
        width:100%;
    }
        
    /* TOP
    ----------------------------------------------------------- */
    
    /* News（TOP） */
    
    .article_list .article {
           display: block;
    }
    .home .article_list li.article {
    	padding: 10px;
	    border-top: 1px solid #ddd;
	    border-bottom: 0px;
	}
	
    .article_list .cat, .day_cat .cat {
    	width: 64px;
	    padding: 4px 0px;
	    line-height: 1 !important;
    }
	.article_list .time {
	    width: 100px;
	}
    .article_list .area_txt {
        display: block;
        padding-top: 1px;
    }
	   .article_list p {
	    font-size: 11px;
	}

    /* 開閉アイコン
    ----------------------------------------------------------- */

    #panel-btn {
        display: inline-block;
        position: absolute;
        top: 16px;
        right: 20px;
        z-index: 99999;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        /*
        background: #227ca9;*/
    }
    #panel-btn:hover {
    }
    #panel-btn:active,
    #panel-btn:focus {
        background: none;
    }
    .header_bg #panel-btn-icon,
    .header_bg #panel-btn-icon:before,
    .header_bg #panel-btn-icon:after {
        background: #333;
    }
    #panel-btn-icon {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 14px;
        height: 2px;
        margin: -1px 0 0 -7px;
        background: #333;
        transition: .2s;
    }

    #panel-btn-icon:before, #panel-btn-icon:after{
        display: block;
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 14px;
        height: 2px;
        background: #333;
        transition: .3s;
    }
    #panel-btn-icon:before{
        margin-top: -6px;
    }
    #panel-btn-icon:after{
        margin-top: 4px;
    }
    #panel-btn .close{
        background: transparent;
    }
    #panel-btn .close:before, #panel-btn .close:after{
        margin-top: 0;
    }
    #panel-btn .close:before{
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        background: #fff;
    }
    #panel-btn .close:after{
        transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
        background: #fff;
    }

    /* グローバルメニュー
    ----------------------------------------------------*/
    
    #g_navi {
		margin: 0px;
	}
	#nav-drawer {
		position: fixed;
	    top: 20px;
	    right: 20px;
		z-index: 99999;
	}
	/*アイコンのスペース*/
	#nav-open {
	    display: inline-block;
	    /* text-align: center; */
	    width: 30px;
	    height: 20px;
	    vertical-align: middle;
	}

	/*ハンバーガーアイコンをCSSだけで表現*/
	#nav-open span, #nav-open span::before, #nav-open span::after {
	    position: absolute;
	    height: 2px;/*線の太さ*/
	    width: 15px;/*長さ*/
	    border-radius: 3px;
	    background: #333;
	    display: block;
	    content: '';
	    cursor: pointer;
	}
	
	#nav-open span:before {
	    bottom: -6px;
	}
	#nav-open span:after {
	    bottom: -12px;
	}

	/*閉じる用の薄黒カバー*/
	#nav-close {
	    display: none;
	    position: fixed;
	    z-index: 99;
	    top: 0;
	    right: 0;
	    width: 100%;
	    height: 100%;
	    background: #003366;
	    opacity: 0;
	    transition: .3s ease-in-out;
	}

	/*中身*/
	#nav-content {
	    overflow: auto;
	    position: fixed;
	    top: 0;
	    right: 0;
	    z-index: 9999;
	    width: 75%;/*右側に隙間を作る*/
	    max-width: 330px;
	    height: 100%;
	    background: #fff;
	    transition: .3s ease-in-out;
	    -webkit-transform: translateX(105%);
	    transform: translateX(105%);/*右に隠しておく*/
	}

	/*チェックが入ったら表示*/
	#nav-input:checked ~ #nav-close {
	    display: block;
	    opacity: .5;
	}

	#nav-input:checked ~ #nav-content {
    	background: #fefefe;
	    -webkit-transform: translateX(0%);
	    transform: translateX(0%);/*中身を表示*/
	    box-shadow: 6px 0 25px rgba(0,0,0,.15);
	}
	/*開いた際のエリア部分*/
	.nav-tl-menu {
	    display: block;
	    position: relative;
	    padding: 20px;
	    font-size: 18px;
	    letter-spacing: 3px;
	    color: #fff;
	    background: #003366;
        text-align: center;
	}
    #nav-content li {
	    display: inline-table !important;
	    width: 100%;
	    height: auto;
	    float: none;
	    padding: 0px;
	    border-bottom: 1px solid #aaa;
    }
    #nav-content li:last-child {
    	border-bottom: 0px;
   }
    #nav-content li a {
    	position: relative;
	    display: table-cell;
	    vertical-align: middle;
	    width: 100%;
	    color: #336699;
	    height: auto;
	    padding: 20px;
	    font-size: 14px;
	    border: none;
	    text-align: center;
    }

    #nav-content li a:hover {
        text-decoration:none;
    }
	#g_navi li a:after {
	    content: none;
	}
	/* 言語切り替え */	
    #g_navi li.lang_switch {
	    margin: 10% auto;
	    text-align: center;
    }
    #g_navi li.lang_switch a {
    	width: 80px;
	    padding: 10px;
	    font-size: 13px;
	    text-align: center;
	}
    #nav-content li.lang_switch a:before {
    	content: none;
   }
	#g_navi li.lang_switch a:hover, #g_navi li.lang_switch a.active {
	    background: #003366;
	}
	/* 閉じるボタン */
	#nav-drawer .close {
	    position: absolute;
	    top: 18px;
	    right: 20px;
	    width: 20px;
	    height: 20px;
	}
    #nav-drawer .close:before, #nav-drawer .close:after {
	    display: block;
	    content: "";
	    position: absolute;
	    top: 50%;
	    left: 0;
        margin-top: 0;
	    width: 20px;
	    height: 2px;
    	background: #fff;
	}
    #nav-drawer .close:before{
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
    }
    #nav-drawer .close:after{
        transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
    }

}
