  /*
Theme Name: 山口大学医学部（本番）
Description: 山口大学医学部のテーマ
Author: アプライド株式会社
Author URI: https://www.applied.ne.jp/web-creat/
*/




/*  共通css 
-------------------------------------------------------*/
.sp {
	display: none;
}
.sp_only {
	display: none;
}
.pc {
	display: block;
}
.text-center {
    text-align: center;
}
.text-right {
	text-align: right;
}
.w50 {
	width: 50%;
}
img.icon {
	vertical-align: middle;
}
.f_left {
    float: left;
    margin-right: 10px !important;
}
.f_right {
    float: right;
    margin-left: 10px !important;
}
.imagebox {
    text-align: center;
    margin-bottom: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.imagebox span {
    text-align: left;
    display: table;
    margin: auto;
}
.left_half {
    float: left;
    width: 50%;
}
table {
    border-top: 1px solid rgba(153, 153, 153, 1);
    border-left: 1px solid rgba(153, 153, 153, 1);
    margin: 1.4em 0;
}
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, dl.triangle dd {
    list-style-type: none !important;
    padding-left: 20px;
    margin: 0.2em 0 !important;
    background: no-repeat url(./../../../images/icon/triangle.gif) 4px 6px;
    border: none;
}

.mcon ul li {
	list-style-type: none !important;
}
ul.item_list_style li a {
	font-weight: bold;
}
ul.item_list_style li.gakka a {
	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
	-ms-flex-wrap: wrap;
  	flex-wrap: wrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}
ul.item_list_style li.gakka h4 {
	width: 50%;
	padding: 0 0 0 40px;
}
ul.item_list_style li.gakka img {
	width: 45%;
}


@media screen and (max-width:768px) {
	.pc {
		display: none;
	}
	.sp {
		display: block;
	}
	.w50 {
		width: 100%;
	}
	.mcon h4 {
		font-size: 16px !important;
	}
	ul.item_list_style li {
		width: 100% !important;
		padding: 10px 10px 10px 30px !important;
	}
	.mcon ul li {
		font-size:15px !important;
	}
	ul.item_list_style li.gakka h4 {
		padding: 0 0 0 30px !important;
	}
	table th, table td {
		font-size: 15px;
	}
}

@media screen and (max-width:479px) {
	.sp_none {
		display: none;
	}
	.sp_only {
		display: block;
	}
	table {
		width: 100%;
	}
	.scroll table{
		width:100%;
	}
	.scroll{
		overflow: auto;　　　　/*tableをスクロールさせる*/
		white-space: nowrap;　　/*tableのセル内にある文字の折り返しを禁止*/
	}
	.scroll::-webkit-scrollbar{　　/*tableにスクロールバーを追加*/
		 height: 5px;
	}
	.scroll::-webkit-scrollbar-track{　　/*tableにスクロールバーを追加*/
		 background: #F1F1F1;
	}
	.scroll::-webkit-scrollbar-thumb {　　/*tableにスクロールバーを追加*/
		 background: #BCBCBC;
	}
	.breadcrumb {
		gap: 0.8em !important;
		font-size: 14px;
	}
	.text-center img {
		margin-bottom: 5px;
	}
	ul.item_list_style li.gakka h4 {
		font-size: 14px !important;
	}
}

/* トップページ */
@media screen and (max-width:1200px) {
	.index_important_wrap {
		padding: 0 2%;
	}
}

/* archiveページ */
ul.item_list_style_parent {
	justify-content: left !important;
}
ul.item_list_style_parent li,
ul.item_list_style li {
	padding: 0 !important;
}
ul.item_list_style_parent li a,
ul.item_list_style li a {
	display: block;
	height: 100%;
}
ul.item_list_style_parent li h4,
ul.item_list_style li h4 {
	padding: 15px 10px 15px 40px !important;
}
ul.item_list_style li div {
	font-size: 1.2em;
    margin-bottom: 5px;
    margin-top: 5px;
	padding: 15px 10px 15px 40px !important;
}
h3.item_list_style_title {
	position: relative;
    margin: 20px 0;
    padding: 10px 10px 10px 30px !important;
    background: #e7f7d4;
    font-size: 22px !important;
    font-weight: 500;
	border-left: none !important;
}
h3.item_list_style_title: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) {
	ul.item_list_style_parent li,
	ul.item_list_style li {
		width: 100% !important;
	}
	ul.item_list_style_parent li h4,
	ul.item_list_style li h4 {
		padding: 10px 10px 10px 30px !important;
	}
	ul.item_list_style li div {
		font-size: 16px !important;
		padding: 10px 10px 10px 30px !important;
	}
	h3.item_list_style_title {
		font-size: 18px !important;
	}
}

@media screen and (max-width:479px) {
	section.one-box {
		margin: 30px 0 0 !important;
	}
}


/* archiveページ ここまで */

/* 固定ページ */
.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 .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;
}
.page .panel-body .box {
	border: 1px solid #999;
    padding: 15px;
	width: 50%;
}
.page .panel-body .kde {
    border-color: #939;
    background-color: #fff4ff;
}
.page .panel-body .mech {
	border-color: #f30;
    background-color: #fff6f4;
}
.page .panel-body .csse {
	border-color: #336799;
    background-color: #f1f8ff;
}
.page .panel-body .apsci {
	background-color: #f7f7f7;
}
.page .panel-body .text-center {
	text-align: center;
	margin-bottom: 5px;
}

/* 固定ページ ここまで */


@media screen and (max-width:768px) {
	.page .panel-body h3 {
		font-size: 18px !important;
	}
	.page .panel-body .u_h3 {
		font-size: 15px;
	}
	.page .panel-body .box {
		width: 100%;
		font-size: 15px;
	}
}


/* singleページ */
.single .panel-body > h3 {
	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 .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;
}
.single .panel-body h3.title {
	position: relative;
    margin: 20px 0 10px;
    padding-bottom: 5px;
    font-size: 1.25rem;
    font-weight: 500;
    border-bottom: 2px solid #ddd;
}
.single .panel-body h3.title::before {
    position: absolute;
    bottom: -2px;
    left: 0;
    content: "";
    width: 8em;
    height: 2px;
    background: #8CC14A;
}
.single .panel-body h4 {
	position: relative;
    margin: 20px 0 10px;
    padding-bottom: 5px;
    font-size: 1.25rem;
    font-weight: 500;
    border-bottom: 2px solid #ddd;
}
.single .panel-body h4::before {
    position: absolute;
    bottom: -2px;
    left: 0;
    content: "";
    width: 8em;
    height: 2px;
    background: #8CC14A;
}
.single .mcon p,
.page .mcon p {
	line-height: 30px;
}
.single #ryugaku_info dt {
	float: left;
}
.single #ryugaku_info dd {
	padding-left: 10em;
    padding-bottom: 5px;
    border-bottom: 1px dotted #999;
    margin-bottom: 10px;
}
.single .dean_box {
	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
	-ms-flex-wrap: wrap;
  	flex-wrap: wrap;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin-bottom: 30px;
}
.single .dean_box img {
	margin-right: 20px;
}
.single .dean_box h3 {
	font-size: 110%;
    color: #2a8756;
}

@media screen and (max-width:768px) {
	.single .panel-body > h3 {
		font-size: 18px !important;
	}
	.single .panel-body h3.title {
	
	}
	.single .mcon p, .page .mcon p {
		line-height: 25px;
		font-size: 15px !important;
	}
	.single .mcon ol li {
		line-height: 25px;
		font-size: 15px !important;
	}
	.single #ryugaku_info dt {
		font-size: 15px;
		width: 100%;
		float: none;
	}
	.single #ryugaku_info dd {
		font-size: 15px;
		width: 100%;
		padding-left: 0;
	}
	.single .u_h3 {
		font-size: 15px;
	}
}

/* singleページ ここまで */

/* 新着情報 */
.single-format-standard .panel-body p.topic {
	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 .panel-body p.topic: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 .breadcrumb > span:first-of-type {
	width: 10%;
}
.single-format-standard .panel-body .imagebox_outer {
    text-align: center;
    display: table;
    margin: auto;
}
.single-format-standard .panel-body .imagebox_outer .f_img_left {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
}

@media screen and (max-width:1200px) {
	.single-format-standard .breadcrumb {
		width: 95%;
		margin: 20px auto 50px !important;
	}
	.single-format-standard .breadcrumb > span:first-of-type {
	 	width: 12%;
	}
}

@media screen and (max-width:768px) {
	.single-format-standard .panel-body p.topic {
		font-size: 18px !important;
	}
	.single-format-standard .breadcrumb {
		margin: 0 auto 50px !important;
	}
	.single-format-standard .breadcrumb > span:first-of-type {
	 	width: 25%;
	}
	.single-format-standard .panel-body .imagebox_outer .f_img_left {
		margin: 0 auto 20px;
		float: none;
	}
}

@media screen and (max-width:600px) {
	.single-format-standard .breadcrumb {
		display: block;
	}
	.single-format-standard .breadcrumb > span:first-of-type {
	 	width: auto;
	}
	.single-format-standard .breadcrumb > span:last-of-type {
	 	display: block;
	}
}

/* 新着情報 ここまで */


/* 新着情報カテゴリ一覧ページ */
.index_main .index_news .index_news_con .tab_pnl {
	border: none !important;
}
.index_news_list {
	border: 1px solid #ccc;
}
.category .index_news_item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-line-pack: justify;
    align-content: space-between;
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
}
.category .index_news_item:last-of-type {
	border-bottom: none;
}
.category .index_news_item .index_news_item_date {
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 15px 0 25px;
}
.category .index_news_item .index_news_item_date time {
	color: #666;
    font-weight: 500;
}
.category .index_news_item .index_news_item_date .index_news_item_cate {
	min-width: 95px;
    margin-left: 20px;
    padding: 5px;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    border-radius: 20px;
}
.category .index_news_item .index_news_item_date .index_news_item_cate.news {
	color: #3aad6e;
    border: 1px solid #3aad6e;
}
.category .index_news_item .index_news_item_date .index_news_item_cate.topics {
	color: #8CC14A;
    border: 1px solid #8CC14A;
}
.category .index_news_item .index_news_item_ttl {
	padding: 0 10px;
}
.index_news_item_icon_new {
	display: inline-block;
    color: #C00;
    font-size: 0.9em;
    font-weight: bold;
    margin-left: 0.3em;
}
.index_news_item_icon_new:before {
	content: "NEW";
}
.archive .news_list {
	border: 1px solid #ccc;
}
.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(/med/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:768px) {
	.index_news_list {
		border: none;
	}
	.archive .news_list {
		border: none;
	}
	.category .index_news_item {
		width: 100%;
		padding: 20px 15px;
		border-bottom: 1px solid #ccc;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	.category .index_news_item:first-of-type {
		border-top: 1px solid #ccc;
	}
	.category .index_news_item .index_news_item_date {
		-webkit-box-pack: start;
		-ms-flex-pack: start;
		justify-content: flex-start;
		margin-bottom: 10px;
		padding: 0;
		width: 100%;
	}
	.category .index_news_item .index_news_item_date time {
		font-size: 0.812rem;
	}
	.category .index_news_item .index_news_item_date .index_news_item_cate {
		padding: 3px 5px;
	}
	.category .index_news_item .index_news_item_ttl {
		font-size: 0.812rem;
		padding: 0;
		width: 100%;
	}
	.category .index_news_item .index_news_item_ttl .index_news_item_icon_new {
		font-size: 0.812rem;
	}
	.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;
	}
}
/* 新着情報カテゴリ一覧ページ ここまで */



/* 固定ページ【学科紹介】department */
.department_list_01 .department_item {
  margin: 0 0 40px;
}

.department_list_01 .department_item a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  background-color: #fff;
  background-image: none;
  color: #111;
  text-decoration: none;
  border: 1px solid #2a8756;
  border-top: 5px solid #2a8756;
}

.department_list_01 .department_item a .department_item_txt {
  width: 50%;
  padding: 20px;
}

.department_list_01 .department_item a .department_item_txt h3 {
  margin: 0 0 10px;
  border: none;
}

.department_list_01 .department_item a .department_item_txt h3::before {
  display: none;
}

.department_list_01 .department_item a .department_item_img {
  position: relative;
  overflow: hidden;
  width: 50%;
}

.department_list_01 .department_item a .department_item_img img {
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  font-family: 'object-fit: cover;';
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
}

.department_list_01 .department_item a:hover .department_item_img img {
  -webkit-transform: scale(1.3);
          transform: scale(1.3);
}

@media screen and (max-width:768px) {
.department_list_01 .department_item {
  margin: 0 0 40px;
}

.department_list_01 .department_item a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  background-color: #fff;
  background-image: none;
  color: #111;
  text-decoration: none;
  border: 1px solid #2a8756;
  border-top: 5px solid #2a8756;
}

.department_list_01 .department_item a .department_item_txt {
  width: 100%;
  padding: 20px;
}

.department_list_01 .department_item a .department_item_txt h3 {
  margin: 0 0 10px;
  border: none;
}

.department_list_01 .department_item a .department_item_txt h3::before {
  display: none;
}

.department_list_01 .department_item a .department_item_img {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.department_list_01 .department_item a .department_item_img img {
  width: 100%;
  height: auto;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
}

.department_list_01 .department_item a:hover .department_item_img img {
  -webkit-transform: scale(1.3);
          transform: scale(1.3);
}
}


/* フッター */
.ft_bg .ft .ft_address .ft_logo img {
	max-width: 300px;
	width: 100%;
	height: auto;
}

/* フッター ここまで */