  /*
Theme Name: 山口大学創成科学研究科（英語版）
Description: 山口大学創成科学研究科のテーマ
Author: アプライド株式会社
Author URI: https://www.applied.ne.jp/web-creat/
*/

/* 一時的にメニューを消すため */
.w_base > .menu { display: none; }



/*  共通css 
-------------------------------------------------------*/
.sp_only {
	display: none;
}
.text-center {
    text-align: center;
}
.text-right {
	text-align: right;
}


@media screen and (max-width:479px) {
	.sp_only {
		display: block;
	}
}

/* ページ内リンクヘッダー分調整 */
.ad_link,
#departments_list {
	padding-top: 220px;
	margin-top: -220px;
}

@media screen and (max-width:768px) {
	.ad_link,
	#departments_list {
		padding-top: 160px;
		margin-top: -160px;
	}
}


/* トップページ */
.index_slider_bg .index_slider .index_slider_title {
	top: 50% !important;
	-webkit-transform: translate(-50%, -50%) !important;
	transform: translate(-50%, -50%) !important;
}
.index_main .index_info .index_info_con .index_info_item:first-of-type,
.info_list .info_item:first-of-type {
	display: none;
}
.index_main .index_info .index_info_con .index_info_item:last-of-type,
.info_list .info_item:last-of-type {
	display: none;
}
.index_news_con {
	margin: 50px 0 0;
}
.index_news_con .index_news_tab {
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 80px;
}
.index_news_con .index_news_tab > div {
	width: calc((100% - 5px * 3) / 3);
    cursor: pointer;
}
.index_news_con .index_news_tab > div span {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    padding: 14px 0;
    background: #F0F0EE;
    color: #3E3A39;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-bottom: none;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.index_news_con .index_news_tab > div span.active {
	background: #3E3A39;
    color: #fff;
}
.index_news_con .index_news_tab > div span::after {
	position: absolute;
    bottom: -15px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 12px 0 12px;
    border-color: transparent;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.index_news_con .index_news_tab > div span.active::after {
	border-color: #3E3A39 transparent transparent transparent;
}
.index_info_item .index_info_item_date {
	width: 180px;
    padding: 10px;
    text-align: center;
}
.cat_more a {
	position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: right;
    color: #666;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    line-height: 1;
    margin-top: 20px;
}
.cat_more a::before {
	content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    background-image: url(https://ds27i1.cc.yamaguchi-u.ac.jp/~gsti2022/images/icon/icon_archive.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    image-rendering: -webkit-optimize-contrast;
}

@media screen and (max-width:1024px) {
	.index_slider_bg .index_slider .index_slider_title {
		width: 65% !important;
	}
}
@media screen and (max-width:768px) {
	.index_slider_bg .index_slider .index_slider_title {
		width: 80% !important;
	}
	.index_main .index_info h2 {
		font-size: 1.8rem !important;
	}
	.index_info_con .index_info_item {
		display:-webkit-box;
		display:-ms-flexbox;
		display:flex;
		-ms-flex-wrap: wrap;
  		flex-wrap: wrap;
	}
	.index_info_con .index_info_item .index_info_item_date {
		width: 25%;
		padding: 20px 10px !important;			
	}
	.index_info_con .index_info_item .index_info_item_ttl {
		width: 75%;
	}
	.index_info_con .index_info_item .index_info_item_ttl a {
		margin-bottom: 8px;
	}
	p.text-info-more {
		font-size: 15px;
	}
	.index_main .index_info .index_news_con .index_news_tab {
		margin-bottom: 40px;
		padding: 0 10px;
	}
	.index_main .index_info .index_news_con .index_news_tab > div span {
	    padding: 10px 0;
	}
	.index_main .index_info .index_news_con .index_news_tab > div span::after {
		bottom: -10px;
		border-width: 10px 7px 0 7px;
	}
	.cat_more {
		width: 50%;
    	margin: 0 auto;
	}
	.cat_more a {
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		width: 100%;
		padding: 15px 10px;
		background: #2b8756;
		color: #fff;
		font-size: initial;
	}
	.cat_more a::before {
		display: none;
	}
}

@media screen and (max-width:479px) {
	.index_slider_bg .index_slider .index_slider_title {
		width: 85% !important;
	}
	.index_info_con .index_info_item .index_info_item_date {
		width: 100%;
		border-bottom: none !important;
		text-align: center;
	}
	.index_info_con .index_info_item .index_info_item_ttl {
		width: 100%;
	}
	.index_main .index_info .index_news_con .index_news_tab {
		padding: 0;
	}
	.index_main .index_info .index_news_con .index_news_tab > div span {
		font-size: 0.8rem;
	}
}

/* トップページ ここまで */


/* 固定ページ */
.page .panel-body h3 {
	position: relative;
    margin-top:30px !important;
    padding: 10px 10px 10px 30px  !important;
    background: #e7f7d4;
    font-size: 22px !important;
    font-weight: 500;
	border-left: none !important;
}
.page .panel-body h3:before {
	position: absolute;
    top: 50%;
    left: 10px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    content: "";
    display: block;
    width: 5px;
    height: 65%;
    background: #8CC14A;
}
.page .panel-body h3.strong {
	background: transparent;
	border: 1px solid #8CC14A !important;
}
.page .panel-body h3.strong:before {
	display: none;
}
.page .panel-body .u_h3 h4 {
	position: relative;
    margin: 20px 0 10px;
    padding-bottom: 5px;
    font-size: 1.25rem;
    font-weight: 500;
    border-bottom: 2px solid #ddd;
}
.page .panel-body .u_h3 h4::before {
    position: absolute;
    bottom: -2px;
    left: 0;
    content: "";
    width: 8em;
    height: 2px;
    background: #8CC14A;
}
div.to_departments {
    text-align: right;
}
table {
    border-top: 1px solid rgba(153, 153, 153, 1);
    border-left: 1px solid rgba(153, 153, 153, 1);
    margin: 1.4em 0;
	width: 100%;
}
table th {
    border-right: 1px solid rgba(153, 153, 153, 1);
    border-bottom: 1px solid rgba(153, 153, 153, 1);
    background-color: rgba(153, 153, 153, 0.2);
    font-weight: bold;
    padding: 0.6em 0.5em;
    text-align: center;
}
table td {
    border-right: 1px solid rgba(153, 153, 153, 1);
    border-bottom: 1px solid rgba(153, 153, 153, 1);
    padding: 0.6em 0.5em;
}
ul.triangle li {
    list-style-image: url(https://ds27i1.cc.yamaguchi-u.ac.jp/~gsti2022/images/icon/triangle.gif);
    margin: 4px 0 0 22px;
    line-height: 150%;
}
table.sitemap {
	border: none;
}
table.sitemap td {
	border: none;
	padding: 0;
}


@media screen and (max-width:768px) {
	.page .panel-body h3 {
		font-size: 18px !important;
	}
	.page .panel-body .u_h3 {
		font-size: 15px;
	}
	table.sitemap tr {
		display:-webkit-box;
		display:-ms-flexbox;
		display:flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
	}
	table.sitemap td {
		width: 100%;
	}
}

/* 固定ページ ここまで */


/* 新着情報 */
.single-format-standard h3,
.single-format-standard #topics dl dt {
	position: relative;
    margin: 20px 0 30px !important;
    padding: 10px 10px 10px 30px !important;
    background: #e7f7d4;
    font-size: 22px !important;
    font-weight: 500;
	border-left: none !important;
}
.single-format-standard h3:before,
.single-format-standard #topics dl dt:before {
	position: absolute;
    top: 50%;
    left: 10px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    content: "";
    display: block;
    width: 5px;
    height: 65%;
    background: #8CC14A;
}

@media screen and (max-width:768px) {
	.single-format-standard h3,
	.single-format-standard #topics dl dt {
		font-size: 18px !important;
	}
}
/* 新着情報 ここまで */

/* お知らせ年度別表示 */
.nendo_link {
	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
	-ms-flex-wrap: wrap;
  	flex-wrap: wrap;
}
.nendo_link li {
	margin-right: 20px !important;
}
.nendo_link li:last-of-type {
	margin-right: 0px !important;
}
.nendo_area li {
	margin: 0 !important;
	list-style: none !important;
}
.nendo_table {
	margin: 0;
}
.nendo_box {
	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
}
.nendo_box .index_info_item_date a img {
	width:150px;
	height: 150px;
	object-fit: cover;
	max-width: unset;
}
.nendo_box .index_info_item_ttl {
	padding: 10px;
	width: 100%;
}
.nendo_box .index_info_item_ttl a {
	color: #000;
}
.nendo_h3 {
	position: relative;
    margin-top: 30px !important;
    padding: 10px 10px 10px 30px !important;
    background: #e7f7d4;
    font-size: 22px !important;
    font-weight: 500;
    border-left: none !important;
}
.nendo_h3:before {
	position: absolute;
    top: 50%;
    left: 10px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    content: "";
    display: block;
    width: 5px;
    height: 65%;
    background: #8CC14A;
	}

/* お知らせ年度別表示 ここまで */
