/*
Theme Name: 京都医療科学大学
Theme URI:
Description:
Version: 1.0
Author: 京都医療科学大学
Author URI:
*/

.art .face{
object-fit:cover;
aspect-ratio: 1.91 / 1;
object-position:top;
}

.secondNavBox_top {display: flex;-webkit-justify-content: left;justify-content: left;-webkit-flex-wrap: wrap;flex-wrap: wrap;}

.secondNav_img__item { width:31%; margin: 32px 1.1% 0 1.1%; border: 1px solid #bbb; position:relative;}/*20240722*/
.secondNav_img__item span {position:absolute; bottom:0; left:0; background:rgba(255,255,255,.9); padding:10px; width:100%; text-align: center;line-height:1.5;}

@media only screen and (max-width: 780px) {
.secondNav_img__item {width: auto;margin-top: 4%;}}

@media only screen and (max-width: 780px) {.tab__item {width:48%;}}
@media only screen and (max-width: 780px) {.tabBoxWrap {padding:0;}}


.for_pc { display: block;}
.for_sp { display: none;}
@media screen and (max-width: 780px) {
.for_pc { display: none;}
.for_sp { display: block;}
}


.fLeft { float: left;}
.fRight { float: right;}

@media screen and (max-width: 780px) {
.fLeft, .fRight { clear: both; float: none; display: block; margin: 10px auto;}
}

.alignleft {float:left;margin:0 20px 20px 0;}
.alignright {float:right;margin:0 0 20px 20px;}
.aligncenter {display: block;margin: 0 auto;}

@media screen and (max-width: 780px) {
.alignleft,
.alignright,
.aligncenter { float: none; width: 100%; max-width: 100%; margin: 0 auto;}
}

/*--- 5 column ----*/
.column_5 > div { box-sizing: border-box; float: left; margin: 0 2px 0 0; padding: 0;}
@media screen and (max-width: 780px) {
.column_5 > div{ float: none; clear: none; box-sizing: border-box; display: inline-block; width: 47%; margin: 0 0 15px 2%; padding: 0;}
}

.catTitle{padding-left: 6em;font-size: 1.4rem;line-height: 1.5;margin: 0 0 20px;}

.localNaviBody .current_page_item, .localNaviBody .current_page_ancestor,
.booking-form .page-item-364, .booking-thanks .page-item-364, .oc-thanks .page-item-1026, .e_advice-thanks .page-item-362
{ background: url(images/common/bg_sidenav_act.png) repeat left top;}
.localNaviBody { border-bottom: #BBB solid 1px;}
.localNaviBody > li { border-top: #999 dotted 1px;}
.localNaviBody > li:first-child { border-top: #BBB solid 1px;}
.localNaviBody > li > a { display: block; padding: 11px 0 11px 16px; color: #333; font-size: 1.4rem; line-height: 1.4; text-decoration: none;}
.localNaviBody > li > a:hover,
.localNaviBody > li.current_page_item a,
.localNaviBody > li > li.current_page_item a { background: url(images/common/bg_sidenav_act.png)repeat left top;}

/* 4th Navi */
.localNaviBody > li > ul { padding: 0 0 12px 32px;}
.localNaviBody > li > ul > li { line-height: 1.6;}
.localNaviBody > li > ul > li > a { text-decoration: none; margin: 0 0 10px 0;}
.localNaviBody > li > ul > li.current_page_item > a { font-weight: bold; color: #EE2F1B;}


/* 5th Navi */
.localNaviBody > li > ul > li > ul { padding-left: 16px; padding-bottom: 12px;}
.localNaviBody > li > ul > li > ul > li { line-height: 1.6; margin-top: 5px;}
.localNaviBody > li > ul > li > ul > li > a { text-decoration: none;}
.localNaviBody > li> ul> li > ul > li.current_page_item > a { font-weight: bold; color: #EE2F1B;}


/* main images */
.campus_info .pageTitleBox { background: url(images/bg_mainimg/campus_info.jpg) no-repeat center center / cover;}
.faculty .pageTitleBox { background: url(images/bg_mainimg/faculty.jpg) no-repeat center center / cover;}
.career .pageTitleBox { background: url(images/bg_mainimg/career.jpg) no-repeat center center / cover;}
.examination .pageTitleBox { background: url(images/bg_mainimg/examination.jpg) no-repeat center center / cover;}
.campus_life .pageTitleBox { background: url(images/bg_mainimg/campus_life.jpg) no-repeat center center / cover;}
.international .pageTitleBox { background: url(images/bg_mainimg/international.jpg) no-repeat center center / cover;}
.relation .pageTitleBox { background: url(images/bg_mainimg/relation.jpg) no-repeat center center / cover;}
.visit_navi .pageTitleBox { background: url(images/bg_mainimg/visit_navi.jpg) no-repeat center center / cover;}
.zaigaku .pageTitleBox { background: url(images/bg_mainimg/zaigaku.jpg) no-repeat center center / cover;}
.school .pageTitleBox { background: url(images/bg_mainimg/school.jpg) no-repeat center center / cover;}
.medical .pageTitleBox { background: url(images/bg_mainimg/medical.jpg) no-repeat center center / cover;}
.general .pageTitleBox { background: url(images/bg_mainimg/general.jpg) no-repeat center center / cover;}
.tanki_grad .pageTitleBox { background: url(images/bg_mainimg/tanki_grad.jpg) no-repeat center center / cover;}
.guardian .pageTitleBox { background: url(images/bg_mainimg/visit_navi.jpg) no-repeat center center / cover;}


/* popup id 1 */
.colorbox1 #sgcboxTopLeft,
.colorbox2 #sgcboxTopLeft,
.colorbox1 #sgcboxTopCenter,
.colorbox2 #sgcboxTopCenter,
.colorbox1 #sgcboxTopRight,
.colorbox2 #sgcboxTopRight,
.colorbox1 #sgcboxBottomLeft,
.colorbox2 #sgcboxBottomLeft,
.colorbox1 #sgcboxBottomCenter,
.colorbox2 #sgcboxBottomCenter,
.colorbox1 #sgcboxBottomRight,
.colorbox2 #sgcboxBottomRight,
.colorbox1 #sgcboxMiddleLeft,
.colorbox2 #sgcboxMiddleLeft,
.colorbox1 #sgcboxMiddleRight,
.colorbox2 #sgcboxMiddleRight
{ background: none!important;}

.colorbox1 #sgcboxLoadedContent,
.colorbox2 #sgcboxLoadedContent
{ padding: 50px 20px 20px 20px; margin-bottom: -15px; line-height: 150%;}
#sgcboxLoadedContent p { padding-bottom: 20px;}
#sg-popup-content-wrapper-1 a,
#sg-popup-content-wrapper-2 a { display: inline-block; width: 50%; background: #00498F; color: #fff; text-decoration: none; border-radius: 5px; font-size: 1.4rem; transition: all 0.3s linear; text-align: center ;padding: .6em 0;}
#sg-popup-content-wrapper-1 a:hover,
#sg-popup-content-wrapper-2 a:hover { opacity: 0.7; color: #FFF;}


/* other */
.sectionInnerBox + .blockSection { padding: 0 0 60px 0;}

/* opencampas e_advice  */
.formParts { padding: 0 0 40px 0; margin: 0 0 40px 0; border-bottom: 1px solid #ccc;}
.topParts { border-top: 1px solid #ccc; margin-top: 30px; padding-top: 40px;}
.formParts dt { font-size: 1.8rem; padding: .5em; margin-bottom: 10px; font-weight: bold;}
.formParts dt label.checkbox input[type="checkbox"] { display: none;}
.formParts dt label.checkbox span.wpcf7-list-item-label { position: relative; display: inline-block; padding: 3px 3px 3px 22px; cursor: pointer;}
.formParts dt label.checkbox span.wpcf7-list-item-label::before { width: 14px; height: 14px; content: ''; position: absolute;  top: 50%; left: 0; margin-top: -8px; background: #fff; border: 2px solid #E8860C;}
.formParts dt label.checkbox span.wpcf7-list-item input[type="checkbox"]:checked + span.wpcf7-list-item-label::after { content: ''; position: absolute; top: 5px; left: 0; width: 15px; height: 5px; border-left: 5px solid #00498F; border-bottom: 5px solid #00498F; -webkit-transform: rotate(-45deg); transform: rotate(-45deg);}
.formParts dd { box-sizing: border-box; padding: 0 0 0 30px; margin-bottom: 10px; line-height: 1.8em; font-size: 1.4rem;}
.formParts dd span { color: #cc0000;}

@media screen and (max-width: 780px) {
.formParts dt label.checkbox span.wpcf7-list-item input[type="checkbox"]:checked + span.wpcf7-list-item-label::after { position: absolute; top: 15px; left: 0; }
}


/* schedule_btn */
.schedule_btn {
color: #FFF;
text-decoration: none;
background: #00498F url(../images/common/bg_hllv3_btn.png) repeat left top;
display: inline-block;
border-radius: 5px;
font-size: 1.4rem;
transition: all 0.3s linear;
text-align: center;
padding: 5px 10px;
margin-left: 15px;
font-weight: normal
}

.schedule_btn:hover { opacity: .8; color: #fff;}
.schedule_btn:visited { color: #fff;}

/* END */
.formCont{ position:relative; display:block;}
.end { position: absolute; width: 100%; height: 100%; left: 0; top: 0; background-color: #00498F; opacity: 0.50; filter: alpha(opacity=50); -ms-filter: "alpha( opacity=50)"; z-index: 98;}
.endText { position: relative; top: 50px; padding: 0; text-align: center; z-index: 99; color:#fff; font-size: 2.5rem; font-weight: bold;}

/* sitemap */
#sitemap_list { width: 60%;}

/*footer*/
@media screen and (max-width: 780px) {
.toiawase #formUnit,
.shiryo #formUnit,
.oc #formUnit,
.e_advice #formUnit,
.visit #formUnit,
.booking-form #formUnit,
.booking-thanks #formUnit
{ display: none;}
.toiawase .blockFooter,
.shiryo .blockFooter,
.oc .blockFooter,
.e_advice .blockFooter,
.visit .blockFooter,
.booking-form  .blockFooter,
.booking-thanks .blockFooter
{ padding-bottom: 0;}
}

/*tellNum*/
a.tellNum[href^="tel:"]:link { color: #333; text-decoration: none;}
@media screen and (max-width: 780px) {
a.tellNum[href^="tel:"]:link { text-decoration: underline;}
}

/*table*/
.modTable03 td { white-space: normal;}

/*form*/
span.wpcf7-list-item {margin:0 !important;}
@media screen and (max-width: 780px) {
.modFormTable { width: 100%;}
.modFormTable th { box-sizing: border-box; width: 100%}
.fp__inputTxt--full { box-sizing: border-box;}
.modFormTable .must { box-sizing: border-box; padding-right: 0; padding-left: 4.5rem;}
.modFormTable .must::after { display: inline-block; width: 3rem; text-align: center; position: absolute; top: 0; left: 0;}
.wpcf7 input[name="tell"],
.wpcf7 input[name="email"],
.wpcf7 input[name="jyusyo1"],
.wpcf7 input[name="jyusyo2"],
.wpcf7 input[name="email_confirm"]{
width: 100%!important;}
}

/*cautionBox*/
.cautionBox { box-sizing: border-box; padding: 20px 40px; border: 1px solid #ff0000; color: #ff0000; line-height: 180%;}
@media screen and (max-width: 780px) {
.cautionBox { padding: 10px;}
}


/* top moshikomi */
.page--top a#formUnit__btn--moshikomi { cursor: default;}


/* plugin ------------*/

/*popup-builder plugin/style/sgcolorbox/sgthemes.css */
.colorbox1 #sgcboxTopLeft,
.colorbox2 #sgcboxTopLeft,
.colorbox1 #sgcboxTopCenter,
.colorbox2 #sgcboxTopCenter,
.colorbox1 #sgcboxTopRight,
.colorbox2 #sgcboxTopRight,
.colorbox1 #sgcboxBottomLeft,
.colorbox2 #sgcboxBottomLeft,
.colorbox1 #sgcboxBottomCenter,
.colorbox2 #sgcboxBottomCenter,
.colorbox1 #sgcboxBottomRight,
.colorbox2 #sgcboxBottomRight,
.colorbox1 #sgcboxMiddleLeft,
.colorbox2 #sgcboxMiddleLeft,
.colorbox1 #sgcboxMiddleRight,
.colorbox2 #sgcboxMiddleRight
{ background: none!important;}

/* list Num ------------*/
.modList01__item_1,
.modList01__item_2,
.modList01__item_3,
.modList01__item_4,
.modList01__item_5,
.modList01__item_6
{ font-size: 1.4rem; line-height: 1.8; text-indent: -2.5rem; padding-left: 2.5rem; margin-top: 5px;}

.modList01__item_1::before { content: "(1)"; font-size: 1.4rem; line-height: 1.4; margin-right: 5px;}
.modList01__item_2::before { content: "(2)"; font-size: 1.4rem; line-height: 1.4; margin-right: 5px;}
.modList01__item_3::before { content: "(3)"; font-size: 1.4rem; line-height: 1.4; margin-right: 5px;}
.modList01__item_4::before { content: "(4)"; font-size: 1.4rem; line-height: 1.4; margin-right: 5px;}
.modList01__item_5::before { content: "(5)"; font-size: 1.4rem; line-height: 1.4; margin-right: 5px;}
.modList01__item_6::before { content: "(6)"; font-size: 1.4rem; line-height: 1.4; margin-right: 5px;}
.modList01__item_7::before { content: "(7)"; font-size: 1.4rem; line-height: 1.4; margin-right: 5px;}
.modList01__item_8::before { content: "(8)"; font-size: 1.4rem; line-height: 1.4; margin-right: 5px;}
.modList01__item_9::before { content: "(9)"; font-size: 1.4rem; line-height: 1.4; margin-right: 5px;}

/* google map */
.ggmap {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}

.ggmap iframe,
.ggmap object,
.ggmap embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

/* contact form 7 */
div.wpcf7-validation-errors { border: 2px solid #ff0000 !important; font-weight :bold; font-size: 120%; padding: 15px !important; text-align: center;}
div.wpcf7-mail-sent-ok { display: none !important;}
span .wpcf7-list-item {display:block !important;}
section.alp p, section.jps p{line-height: 1.5em;}
.jyusyo1 ::placeholder {font-size:0.8em;}



/* lib addon 1804 */
.blockThirdSection ul li {
    margin-top: 15px;
}
.blockThirdSection ul li a {
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 1.4em;
}
.blockThirdSection ul li a::before {
    content: "▶";
    margin-right: 5px;
    font-size: 1rem;
}

/* Top Banner */
.TopBanner{text-align:center;}
/* .blockContentsTop {height:70vmax;} */
.blockContentsTop { 
/* width: 100vw */
width: 100%; 
max-height: 90vh;
}

.mainimgTxt img {
 display: none;
}

.blockMainimg  {
}

@media only screen and (max-width:780px) {

.blockMainimg {
 height: 20vh;
}

.TopImgON{ height:50vh;}
.blockContentsTop {height:initial;}
/*.TopSet{padding-top:50px;margin-bottom:-50px;}*/
}


/* add 202004 */
.indexUpdateBox {
	display: none;
}
.indexNewsBox {
	width: 100%;
	float: none;
}
@media only screen and (max-width:780px) {
.indexPickup__item {
	width: 33.3%;
}
.blockMainimg {
	height: 25vh;
}

}

/* add 202207 */
.otherLeftNavWrap {background-color:#e3edfb;}
.bgblueSet {padding-left:30px;}
.bgblueSet a{background: #00498f;color: #fff;}
i.nav-mail {background-image: url(images/mail.svg);background-repeat: no-repeat;background-size: 2.5em auto;padding: 10px 20px;}


/*電子ブック モーダル 2022/10/13*/
body.open_popup {
    overflow: hidden;
}

.bg_onetime_popup {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}

body.open_popup .bg_onetime_popup {
    opacity: 1;
    visibility: visible;
}

.bg_onetime_popup {
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 9999;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.6);
	opacity: 0;
	visibility: hidden;
	transition: 0.5s;
}

.bg_onetime_popup.open_popup {
	opacity: 1;
	visibility: visible;
}

.onetime_popup {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: 50%;
	min-width:300px;
	background-color: #fff;
	border-radius: 6px;
	box-shadow: rgba(0, 0, 0, 0.6) 0px 0px 0px 14px;
	border-bottom-width: 35px;
	padding:5px;
}

.in_popup{height:300px;overflow-y:scroll;}
.modpop button{font-size:2rem;padding:0.5rem 2rem;cursor: pointer;}
.modpop label{font-size:1.5rem;padding:0 2rem;cursor: pointer;}
.modpop input[type=checkbox] {transform: scale(1.5);margin: 0 10px 0 0;}

@media screen and (max-width: 768px) {
.modpop label{display:block;margin-bottom:20px;}
}

/* 20231222*/

/* page_loop */
#page_loop_wrap {
	padding: 0;
	background: #fff;
	text-align: center;
	overflow: hidden;
	margin-bottom:30px;
}

#page_loop {
	position: relative;
	display: -webkit-flex;
	display: flex;
	width: 100vw;
	height: 150px;
	left: 50%;
	margin-left: -50vw;
	overflow: hidden;
}

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

@media screen and (min-width: 896px) {
	#page_loop {
		height: calc(100vw * .15);
	}

	#page_loop img {
		width: auto;
		/*min-width: 110vw;*/
		height: 100%;
	}
}

#page_loop img:first-child {
	-webkit-animation: loop 80s -40s linear infinite;
	animation: loop 80s -40s linear infinite;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	will-change: transform;
}

#page_loop img+img {
	-webkit-animation: loop2 80s linear infinite;
	animation: loop2 80s linear infinite;
}


@-webkit-keyframes loop {
	0% {
		-webkit-transform: translateX(100%);
		-ms-transform: translateX(100%);
		transform: translateX(100%);
	}

	to {
		-webkit-transform: translateX(-100%);
		-ms-transform: translateX(-100%);
		transform: translateX(-100%);
	}
}

@keyframes loop {
	0% {
		-webkit-transform: translateX(100%);
		-ms-transform: translateX(100%);
		transform: translateX(100%);
	}

	to {
		-webkit-transform: translateX(-100%);
		-ms-transform: translateX(-100%);
		transform: translateX(-100%);
	}
}

@-webkit-keyframes loop2 {
	0% {
		-webkit-transform: translateX(0);
		-ms-transform: translateX(0);
		transform: translateX(0);
	}

	to {
		-webkit-transform: translateX(-200%);
		-ms-transform: translateX(-200%);
		transform: translateX(-200%);
	}
}

@keyframes loop2 {
	0% {
		-webkit-transform: translateX(0);
		-ms-transform: translateX(0);
		transform: translateX(0);
	}

	to {
		-webkit-transform: translateX(-200%);
		-ms-transform: translateX(-200%);
		transform: translateX(-200%);
	}
}

/*20240228*/
.indexNewsArtBox {justify-content: left; column-gap: 1em;}
.underNewsBox{justify-content: left;column-gap: 1em;}
.underNews__item {width: 100%;}


/*20240723*/

/********* Global Navi **********/
.blockHeader { width: 100%;}

.gnavBox {
	clear: both;
	height: 59px;
	background-color: #FFF;
	border-bottom: #E3EDFB solid 1px;
}
.gnavWrap {
	text-align: right;
	padding-right: 3.5%;
}
.gnavItem {
	display: inline-block;
	margin-left: 3.5%;
}
.gnavItem:nth-child(2) {
	margin-left: 3.5%;
}
.gnavItem a {
	line-height: 60px;
	color: #00498F;
	text-decoration: none;
	position: relative;
	display: inline-block;
}
.gnavItem a::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  height: 2px;
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
  background-color: #00498F;
  -webkit-transition: all .3s ease;
  transition: all .2s ease;
}
/*.visitNavItem a:hover {
	color:#333;
}*/
.gnavItem a:hover::after,
.gnavItem a.current::after {
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
  transform: scaleX(1);
}

#globalNavBox .gnavWrap .gnavItem .subMenuWrap { display: none; width: 100vw; background: #fff; border-bottom: #E3EDFB solid 1px; position: absolute; left: 0; top: 140px;}
#globalNavBox .gnavWrap .gnavItem .subMenu { max-width: 1500px; display: flex; flex-wrap: wrap; font-size: 90%; margin: 0 auto;}
#globalNavBox .gnavWrap .gnavItem .subMenu li { width: 16%; margin: 0 2%; text-align: center;}
#globalNavBox .gnavWrap .gnavItem .subMenu li a { align-items: center; justify-content: center; line-height: 1.6em; padding: 20px 0;}


@media only screen and (max-width:780px) {
/********* Global Navi **********/
.gnavBox {
	display: none;
	height: auto;
	background-color: #FFF;
	border-bottom: none;
}
.gnavWrap {
	text-align: left;
	padding-right: 0;
	display: flex;
	-webkit-flex-wrap: wrap; /* Safari */
	flex-wrap:         wrap;
}
.gnavItem {
	display: block;
	margin-left: 0;
	width: 50%;
	border-right: #CCC solid 1px;
	border-bottom: #CCC solid 1px;
}
.gnavItem:nth-child(2n) {
	border-right: none;
}
.gnavItem a {
	line-height: 44px;
	color: #00498F;
	text-decoration: none;
	font-size: 1.3rem;
	padding: 6%;
	display: block;
}
.gnavItem a::after {
	display: none;
}
#globalNavBox .gnavWrap .gnavItem .subMenuWrap { display: none;}
.gnavWrap {
	padding-right: 0;
}
.gnavItem {
	display: inline-block;
	margin-left: 0;
}
.gnavItem:nth-child(2) {
	margin-left: 0;
}
}

/*20240724*/


/********* Footer Sitemap **********/

.fsmnavBox { width: 100%; max-width: 1500px; padding: 40px 0 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1);
font-family: Arial, Helvetica, Verdana, "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
margin: 30px auto;}



.fsmnavBox a,
.fsmnavBox a:visited
{ color: #fff; text-decoration: none;}

.fsmnavWrap { width: 100%; display: flex; justify-content: space-around;}
.fsmnavWrap > li { width: calc(100% / 7); font-weight: bold; font-size: 105%; margin: 0 .5%;} 
.fsmnavWrap > li ul { padding: .8em 0 0 1.5em;}
.fsmnavWrap > li ul li { font-size: 95%; font-weight: normal;}
.fsmnavWrap > li ul li a { display: inline-block; padding-bottom: .8em;}


@media only screen and (max-width:780px) {
.fsmnavBox { display: none;}
}


/*二階層目TOP説明文　20240726*/
.explanation { padding: 20px 0 10px; font-size: 120%; line-height: 1.8em;}

/*二階層目TOPアイキャッチ画像　20240726*/
img.wp-post-image { width: 100%;}

















