  /*
Theme Name: 山口大学工学部（英語版）
Description: 山口大学工学部（英語版）のテーマ
Author: アプライド株式会社
Author URI: https://www.applied.ne.jp/web-creat/
*/


/*  共通css 
-------------------------------------------------------*/
.sp {
	display: none;
}
.pc {
	display: block;
}

@media screen and (max-width:768px) {
	.pc {
		display: none;
	}
	.sp {
		display: block;
	}
}
	

/* トップページ */
.index_slider_bg .index_slider .index_slider_title {
	top: 50% !important;
	width: 790px !important;
	-webkit-transform: translate(-50%, -50%) !important;
	transform: translate(-50%, -50%) !important;
}
.index_slider_bg .index_slider img {
	object-position: 0 75%;
}
@media screen and (max-width:1024px) {
	.index_slider_bg .index_slider .index_slider_title {
		width: 50% !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_main .index_info .index_info_con .index_info_item {
		display:-webkit-box;
		display:-ms-flexbox;
		display:flex;
		-ms-flex-wrap: wrap;
  		flex-wrap: wrap;
	}
	.index_main .index_info .index_info_con .index_info_item .index_info_item_date {
		width: 25%;
		padding: 20px 10px !important;	
	}
	.index_main .index_info .index_info_con .index_info_item .index_info_item_ttl {
		width: 75%;
	}
	.index_main .index_info .index_info_con .index_info_item .index_info_item_ttl a {
		margin-bottom: 8px;
	}
	p.text-info-more {
		font-size: 15px;
	}
}

@media screen and (max-width:479px) {
	.index_main .index_info .index_info_con .index_info_item .index_info_item_date {
		width: 100%;
		border-bottom: none !important;	
	}
	.index_main .index_info .index_info_con .index_info_item .index_info_item_ttl {
		width: 100%;
	}
}

/* トップページ ここまで */

/* 固定ページ */

.page .subheading_body h4,
.page .subtitle_body h4 {
	position: relative;
    margin: 20px 0 10px;
    padding-bottom: 5px;
    font-size: 1.25rem;
    font-weight: 500;
    border-bottom: 2px solid #ddd;
}
.page .subheading_body h4::before,
.page .subtitle_body h4::before {
    position: absolute;
    bottom: -2px;
    left: 0;
    content: "";
    width: 8em;
    height: 2px;
    background: #8CC14A;
}
.page .mcon p {
	line-height: 30px;
}
.page .mcon ul li {
	list-style-type: none;
}
.page ul.ul_research ul li {
    list-style-type: decimal;
}
.page dt {
    margin-left: 10px;
    font-weight: bold;
}
.page dd {
    margin-bottom: 15px;
    margin-left: 20px;
}
div.subheading_body {
    margin-top: 5px;
   /* margin-left: 10px;*/
    margin-bottom: 1em;
    margin-right: 0;
    text-align: left;
    font-size: 100%;
}
.b_left {
    width: 300px;
    height: 200px;
    float: left;
    margin: 2em;
    position: relative;
}
.b_left img {
    width: 100% !important;
    height: 100% !important;
    margin: 0;
    padding: 0;
	object-fit: cover;
    object-position: center;
}
.b_left p {
    position: absolute;
    color: white;
    bottom: 0;
    width: 100%;
    background: #017952;
    margin: 0 !important;
    padding: 0.5em 0;
    /* line-height: 2em; */
    text-align: center;
    font-size: 150%;
    font-weight: bold;
}
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 {
    list-style-image: url(https://ds27i1.cc.yamaguchi-u.ac.jp/~eng2022/images/icon/triangle.gif);
    margin: 4px 0 0 22px;
    line-height: 150%;
}
table.sitemap {
	border: none;
}
table.sitemap td {
	border: none;
	padding: 0;
	vertical-align: initial;
}
table.sitemap td > ul {
	margin-bottom: 50px;
}

@media screen and (max-width:768px) {
	.page .subtitle_body {
		font-size: 15px;
		line-height: 25px;
	}
	.page .subheading_body h4,
	.page .subtitle_body h4 {
		font-size: 16px;
	}
		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%;
	}
	table.sitemap td > ul {
		margin-bottom: 30px;
	}
}

@media screen and (max-width:479px) {

}


/* 固定ページ ここまで */

/* 新着情報 */
.single-format-standard .subheading_body h4,
.single-format-standard .subtitle_body h4 {
	position: relative;
    margin: 20px 0;
    padding: 10px 10px 10px 30px !important;
    background: #e7f7d4;
    font-size: 22px !important;
    font-weight: 500;
    border-left: none !important;
}
.single-format-standard .subheading_body h4::before,
.single-format-standard .subtitle_body h4::before {
	position: absolute;
    top: 50%;
    left: 10px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    content: "";
    display: block;
    width: 5px;
    height: 65%;
    background: #8CC14A;
}
.single-format-standard .subheading_body img {
	margin-bottom: 10px;
}

@media screen and (max-width:768px) {
	.single-format-standard .subheading_body h4,
	.single-format-standard .subtitle_body h4 {
		font-size: 18px !important;
	}
}

@media screen and (max-width:479px) {
	.single-format-standard .subheading_body {
		text-align: center;
	}
	.single-format-standard .subheading_body h4,
	.single-format-standard .subtitle_body h4 {
		text-align: left;
	}
	.single-format-standard .subheading_body p {
		text-align: left;
	}
}

/* 新着情報 ここまで */


