@charset "utf-8";

/* Main image: English link */
.mainimg-lang{
  position: absolute;
  top: 80px; /* place below header */
  right: 18px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.85);
  color: #fff;
  padding: 8px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
}
.mainimg-lang:hover{ background: rgba(255, 255, 255, 0.8);}
@media (max-width: 1024px){
  /* slightly reduced gap for medium screens */
  .mainimg-lang{ top: 74px; right: 14px; padding: 7px 10px; font-size: 0.95rem; border-radius: 18px; }
}
@media (max-width: 767px){
  /* header becomes taller on small devices; keep link closer */
  .mainimg-lang{ top: 32px; right: 12px; padding: 6px 10px; font-size: 0.92rem; border-radius: 16px; }
}
@media (max-width: 480px){
  .mainimg-lang{ top: 24px; right: 10px; padding: 6px 8px; font-size: 0.9rem; border-radius: 14px; }
}

/*----------------------------------------------------
	 トピックス
----------------------------------------------------*/
#topicsList dl.flexbox{
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	padding: 16px 0;
	border-bottom: 1px solid #eeeeee;
}

#topicsList dl.flexbox:last-of-type{
	border-bottom: none;
}

section[id^="topics"] dl.flexbox dd[class*="cat_"]{
	display: inline-block;
	margin: 0 1.2em;
	padding: 6px 10px;
	color: #fff;
	font-size: 12px;
	line-height: 1em;
	white-space: nowrap;
}

section[id^="topics"] dl.flexbox dd.cat_topics{
	background-color: #217fc4;
}

#topicsList dl.flexbox dd a{
	color: #333;
	text-decoration: none;
}

#topicsList dl.flexbox dd a:hover{
	text-decoration: underline;
}

#topicsList .pagenation{
	margin: 30px auto 0;
}

#topicsList .pagenation ul{
	justify-content: center;
	width: 100%;
}

 .my-list ul{
	list-style-type: none;
}


#topicsList .pagenation ul li{
	list-style: none;
}

#topicsList .pagenation ul li a{
	display: block;
	width: 3em;
	height: 3em;
	line-height: 3em;
	color: #153272;
	border: 1px solid #153272;
	text-decoration: none;
	text-align: center;
}

#topicsList .pagenation ul li a:hover ,
#topicsList .pagenation ul li.active a{
	color: #fff;
	background-color: #153272;
}

#topicsList .pagenation ul li.prev a ,
#topicsList .pagenation ul li.next a{
	border: none;
	width: 2em;
}

#topicsList .pagenation ul li.prev a:before{
	content: '';
	display: inline-block;
	width: 10px;
	height: 10px;
	border-left: 1px solid #153272;
	border-bottom: 1px solid #153272;
	transform: rotate(45deg);
}

#topicsList .pagenation ul li.next a:before{
	content: '';
	display: inline-block;
	width: 10px;
	height: 10px;
	border-right: 1px solid #153272;
	border-top: 1px solid #153272;
	transform: rotate(45deg);
}

#topicsList .pagenation ul li.next a:hover ,
#topicsList .pagenation ul li.prev a:hover{
	background-color: #fff;
}

#topics h2{
	margin-top: .5em;
	padding-bottom: .5em;
	font-size: 18px;
	font-weight: bold;
	border-bottom: 1px solid #333;
}

/*----------------------------------------------------
	 トピックス和
----------------------------------------------------*/

#topics .topicImgWrap{
	width: 100%;
	margin: 30px auto 0;
}

#topics .flex.three1-2 img.topicImg01{
	padding-right: 10px;
}

#topics .flex.three1-2 img.topicImg03{
	margin-top: 10px;
}

#topics .flex.three1-2 .right{
	width: 100%;
}

#topics .flex > img {
    flex: 1 1 auto;
	padding-right: 1%;
}

#topics .topicImgWrap.topics-side3 .flex > img{
	width: 33.33%;
}

#topics .topicImgWrap.topics-side3 .flex > img:last-child{
	padding-right: 0;
}


/*----------------------------------------------------
	 蒙弼
----------------------------------------------------*/

.page-msg .topics h2 {
    position: relative;
    text-align: center;
}
.box4 {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 60px;
}
.box4inner {
    width: 100%;
    margin: 50px 0 0 0;
    padding: 60px 10px 30px 10px;
    text-align: center;
    margin-bottom: 100px;
    background: #EEEEEE;
}

.box4 h3 {
    display: inline-block;
    font-size: 2.3rem;
    background: none;
    height: auto;
    padding: 0 30px;
    border-bottom: 12px solid #BCD8ED;
    margin: 0 auto;
    box-sizing: border-box;
    line-height: 100%;
    text-align: center;
}
.box4 h3 span {
    display: block;
    font-size: 1.3rem;
    background: none;
    height: auto;
    padding: 0;
    margin: 0 0 -5px 0;
    box-sizing: border-box;
    line-height: 100%;
    text-align: center;
    position: relative;
}
.box4 h4 {
    display: block;
    font-size: 1.5rem;
    color: #000000;
    background: none;
    height: auto;
    padding: 0;
    border-bottom: 0;
    margin: 0 0 -46px 0;
    box-sizing: border-box;
    line-height: 100%;
    text-align: center;
    position: relative;
    z-index: 100;
    font-weight: normal;
}
.box4inner p {
    display: block;
    margin: 0;
    padding: 30px 45px;
    background: #FFFFFF;
    text-align: left;
    box-sizing: border-box;
    z-index: 10;
    font-weight: normal;
}
.box4inner img {
    margin: 0 0 50px 0;
}

.content-left-inner p {
    margin-top: 35px;
}

.box5 h4 {
    display: block;
    background: none;
    height: auto;
    padding: 0 30px;
    border-bottom: 3px solid #EEEEEE;
    margin: 0 0 120px 0;
    box-sizing: border-box;
    line-height: 100%;
    text-align: center;
}
.box5 h4 span {
    display: block;
    font-size: 1.5rem;
    color: #217FC4;
    padding: 110px 0 0 0;
    margin: 0 0 -70px 0;
    min-height: 80px;
    background: url(/sis/common/images/information/h4_bg2.png) no-repeat top center;
}
.box5 {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 50px 0;
    text-align: center;
    margin-bottom: 150px;
    border-bottom: 3px solid #EEEEEE;
}
.box6 h3 {
    font-size: 1.5rem;
    background: url(https://www.u-hyogo.ac.jp/sis/common/img/common/h3_bg.png) repeat-x center;
    height: 40px;
    padding: 6px 30px;
    margin: 0 0 50px 0;
    box-sizing: border-box;
    line-height: 100%;
}
.box6 p {
    margin: 0 0 50px 0;
    padding: 0;
    text-align: center;
}
.box6 h4 {
    font-size: 1.2rem;
    color: #000000;
    margin: 0 0 20px 0;
}
.flexbox {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: flex-start;
}
.flexbox2 {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
}
.flexbox2 dl.item01 {
    background: #EDCCB0;
}
.flexbox2 dl {
    display: block;
    width: 260px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-sizing: border-box;
    text-align: center;
}
.flexbox2 dl.item01 dt {
    color: #D67828;
}
.flexbox2 dl dt {
    display: block;
    background: #FFFFFF;
    padding: 2px 0;
    margin: 0 0 14px 0;
    font-size: 1.3rem;
}
.flexbox2 dl.item02 {
    background: #AECEE7;
}
.flexbox2 dl.item02 dt {
    color: #217FC4;
}
.flexbox2 dl {
    display: block;
    width: 260px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-sizing: border-box;
    text-align: center;
}
.flexbox2 dl.item03 {
    background: #B2E1DD;
}
.flexbox2 dl.item03 dt {
    color: #2CB6AA;
}
.flexbox2 dl {
    display: block;
    width: 260px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-sizing: border-box;
    text-align: center;
}
.box6 p.p02 {
    margin: 0;
    padding: 20px;
    border: 3px solid #EEEEEE;
    text-align: left;
}
.topics h2 {
    position: relative;
    text-align: center;
    font-size: 2em;
    font-weight: 500;
}
.box.topics {
    margin: 50px auto 75px;
}
.box7 {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 100px;
}
.box7 h3 span {
    display: block;
    font-size: 1.3rem;
    background: none;
    height: auto;
    padding: 0;
    margin: 0 0 -5px 0;
    box-sizing: border-box;
    line-height: 100%;
    text-align: center;
    position: relative;
}
.box7 h3 {
    display: inline-block;
    font-size: 1.3rem;
    background: none;
    height: auto;
    padding: 0 30px;
    border-bottom: 12px solid #BCD8ED;
    margin: 0 auto;
    box-sizing: border-box;
    line-height: 100%;
    text-align: center;
}
.box7 p {
    margin: 0 0 50px 0;
    padding: 0;
    text-align: center;
}
.box7inner {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 50px;
    padding: 0 0px;
}
.flexbox3{
	 display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-content: flex-start;
	background:#EEEEEE;
	margin-top:130px;
}
.flexbox3 dl{
	 display:block;
	padding:20px 25px;
	margin-bottom:30px;
	text-align:center;
}
.flexbox3 dl dt{
	display:block;
	background:#FFFFFF;
	padding:2px 0;
	margin:-105px 0 14px 0;
}
.flexbox3 dl dt span{
	display:block;
	background:#227FC4;
	padding:2px 0;
	margin:120px 0 0 0;
	border-radius:15px;
	font-size:0.9rem;
	color:#FFFFFF;
}
.flexbox3 dl dd{
	display:block;
	padding:0;
	font-size:0.9rem;
	color:#000000;
	text-align:center;
	letter-spacing:0;
	line-height:120%;
}
.flexbox3 dl.empty {  height: 0;  margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; border:0; width:0; }
.flexbox3 dl.item01{ width:178px;  }
.flexbox3 dl.item01 dt{ background:url("/sis/common/images/information/flexbox3_item01.png") no-repeat top center; }
.flexbox3 dl.item02{ width:297px;  }
.flexbox3 dl.item02 dt{ background:url("/sis/common/images/information/flexbox3_item02.png") no-repeat top center; }
.flexbox3 dl.item03{ width:196px;  }
.flexbox3 dl.item03 dt{ background:url("/sis/common/images/information/flexbox3_item03.png") no-repeat top center; }
	@media screen and (max-width:1290px) {
	.flexbox3{ display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start; background:#EEEEEE; margin-top:130px; }
	.flexbox3 dl{ display:block; padding:20px 25px; margin-bottom:80px; text-align:center; }
	.flexbox3 dl.item01{ max-width:178px; width:100%;  }
	.flexbox3 dl.item02{ max-width:297px; width:100%;  }
	.flexbox3 dl.item03{ max-width:196px; width:100%;  }
	}
/*----------------------------------------------------
	 カリキュラム
----------------------------------------------------*/
.flexbox {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: flex-start;
    box-sizing: border-box;
}
.flexbox dl {
    display: block;
    max-width: 398px;
    width: 100%;
    padding: 20px 10px 20px 10px;
    margin-bottom: 50px;
    text-align: center;
}
.flexbox h4 {
    font-size: 1.3rem;
    color: #217FC4;
    margin: 0 0 20px 0;
	font-weight: normal;
}
.flexbox dl dd {
    display: block;
    padding: 20px 0 0 0;
    text-align: left;
}
/*----------------------------------------------------
	 f薦二I
----------------------------------------------------*/
.flex-container	{
	display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
/*----------------------------------------------------
	 <= 1000px
----------------------------------------------------*/
@media (max-width: 1000px) {
  nav#gnav .flex li {
    width: 100%;
  }
}
/*----------------------------------------------------
	phone - tablet <= 767px
----------------------------------------------------*/
@media (max-width: 767px) {
  #mainimg .container {
    padding-top: 200px;
    padding-bottom: 50px;
  }
}
/*----------------------------------------------------
	phone <= 480px
----------------------------------------------------*/
@media (max-width: 480px) {
  header .inn {
    padding-top: 14px;
  }
  .box5 {
    margin-bottom: 80px;
  }
  .box4 {
    margin-bottom: 0;
  }
  .flexbox2 {
    display: flex;
    justify-content: center;
  }
  .flex-container {
    display: block;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
	text-align: center;
  }
  .info .flex {
    display: block;
  }
  .flex .smart {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .flex {
    display: block;
  }

/*----------------------------------------------------
	 トピックス和
----------------------------------------------------*/
	#topics .flex.three1-2 img.topicImg01 {
    	padding: 0 0 10px 0;
	}

	#topics .topicImgWrap.topics-side3 .flex > img {
    	width: 100%;
		padding: 0;
		margin-bottom: 10px;
	}
}

/*----------------------------------------------------
  トップペ`ジ タイポグラフィ?噫易 y匯オ`バ`ライド
  - 嶄忽昇科利A咾涼_晒
  - font-weight のXp
  - セクションg噫易リズムのy匯
----------------------------------------------------*/

/* ===== ベ`スの云猟テキスト ===== */
#index #main {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

#index #main p {
  font-weight: 400;
}

/* ===== セクションg噫易のy匯 ===== */
#index #main #top_welcome {
  margin-bottom: 64px;
}

#index #main #top_topics {
  margin-bottom: 64px;
}

#index #main #top_examinee {
  margin: 10px auto 64px;
}

/* ===== Fusion Welcome セクション ===== */
#index #main #top_welcome .fusion-copy h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}

#index #main #top_welcome .fusion-copy p {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.75;
  margin: 0 0 12px;
}

/* Fusion Diagram 坪 */
#index #main #top_welcome .fusion-circle h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

#index #main #top_welcome .fusion-circle p {
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.55;
}

#index #main #top_welcome .fusion-skill h4 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 600;
}

#index #main #top_welcome .fusion-skill p {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.5;
}

/* ===== TOPICS セクション ===== */
#index #main #top_topics .flex .tit h2 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

#index #main #top_topics .flex .tit h2::after {
  height: 4px;
  margin: 8px auto 0;
}

#index #main #top_topics .flex .list ul li .date {
  font-size: 0.85rem;
  font-weight: 400;
  color: #888;
}

#index #main #top_topics .flex .list ul li .cat span {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 8px;
}

#index #main #top_topics .flex .list ul li p,
#index #main #top_topics .flex .list ul li > a {
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.6;
}

#index #main #top_topics a.topics_link {
  font-size: 0.9rem;
  font-weight: 400;
}

/* ===== 鞭Y伏セクション ===== */
#index #main #top_examinee .section_head h2 {
  font-size: 1.75rem;
  font-weight: 600;
  border-bottom-width: 4px;
  padding-bottom: 8px;
}

#index #main #top_examinee .panel_body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 6px;
}

#index #main #top_examinee .panel_body p {
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.55;
}

#index #main #top_examinee .panel_links a {
  font-size: 0.85rem;
  font-weight: 400;
  padding: 5px 8px;
}

/* ショ`トカットカ`ド┘▲ぅ灰黐逸はそのままS隔 */
#index #main #top_examinee .shortcut_card {
  padding: 12px 8px 8px;
}

#index #main #top_examinee .shortcut_card .shortcut_label {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 4px;
}

/* サイトマップ */
#index #main #top_examinee .sitemap_head h2 {
  font-size: 1.75rem;
  font-weight: 600;
  border-bottom-width: 4px;
  padding-bottom: 8px;
  border-image: linear-gradient(90deg, #13c8d9, #27458f) 1;
  border-bottom: 4px solid transparent;
}

#index #main #top_examinee .sitemap_primary a {
  font-size: 1rem;
  font-weight: 500;
}

#index #main #top_examinee .sitemap_primary a .material-symbols-outlined {
  font-size: 1.2rem;
}

#index #main #top_examinee .site_col h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 6px;
}

#index #main #top_examinee .site_col ul li {
  font-size: 0.85rem;
  margin: 0 0 3px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 860px) {
  /* Fusion Diagram モバイル ！ fusion-diagram.css の clamp ､鮠S隔 */
  #index #main #top_welcome .fusion-circle h3 {
    font-size: clamp(0.96rem, 4.2vw, 1.28rem);
    font-weight: 600;
  }

  #index #main #top_welcome .fusion-circle p {
    font-size: clamp(0.64rem, 2.15vw, 0.82rem);
    font-weight: 400;
    line-height: 1.42;
  }

  #index #main #top_welcome .fusion-skill h4 {
    font-size: clamp(0.9rem, 4.1vw, 1.2rem);
    font-weight: 600;
  }

  #index #main #top_welcome .fusion-skill p {
    font-size: clamp(0.62rem, 2.35vw, 0.8rem);
    font-weight: 400;
  }
}

@media (max-width: 767px) {
  #index #main #top_welcome .fusion-copy h2 {
    font-size: clamp(1.2rem, 4.5vw, 1.5rem);
  }

  #index #main #top_welcome .fusion-copy p {
    font-size: 0.9rem;
  }

  #index #main #top_topics .flex .tit h2 {
    font-size: 1.5rem;
  }

  #index #main #top_examinee .section_head h2,
  #index #main #top_examinee .sitemap_head h2 {
    font-size: 1.5rem;
  }

  #index #main #top_welcome,
  #index #main #top_topics,
  #index #main #top_examinee {
    margin-bottom: 48px;
  }
}

@media (max-width: 520px) {
  #index #main #top_welcome .fusion-circle h3 {
    font-size: clamp(0.86rem, 3.8vw, 1.1rem);
  }

  #index #main #top_welcome .fusion-circle p {
    font-size: clamp(0.58rem, 2vw, 0.72rem);
  }

  #index #main #top_welcome .fusion-skill h4 {
    font-size: clamp(0.86rem, 4.2vw, 1.08rem);
  }

  #index #main #top_welcome .fusion-skill p {
    font-size: clamp(0.6rem, 2.3vw, 0.74rem);
  }

  #index #main #top_welcome .fusion-copy h2 {
    font-size: clamp(1.1rem, 4.5vw, 1.35rem);
    line-height: 1.45;
  }

  #index #main #top_welcome .fusion-copy p {
    font-size: 0.88rem;
  }
}

/*----------------------------------------------------
  怱匯E
----------------------------------------------------*/
#thesis-list-section .content-left-inner > p {
  margin-top: 12px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
}

#thesis-list-section .base_t {
  font-size: 0.85rem;
  line-height: 1.4;
}

#thesis-list-section .base_t th,
#thesis-list-section .base_t td {
  padding-top: 6px;
  padding-bottom: 6px;
}

/*----------------------------------------------------
	 僥伏の蕗
----------------------------------------------------*/
#student-voice .box-section {
	background: #f7f9fc;
	padding: 40px;
	margin: 30px 0 60px 0;
	border-radius: 8px;
	border-left: 4px solid #072f80;
}

#student-voice .box-section p {
	margin: 0;
	line-height: 1.8;
}

#student-voice .section-wrapper {
	display: flex;
	gap: 40px;
	margin-bottom: 80px;
	align-items: center;
}

#student-voice .section-wrapper.reverse {
	flex-direction: row-reverse;
}

#student-voice .section-content {
	flex: 1;
}

#student-voice .section-image {
	flex: 0 0 300px;
	height: 250px;
  border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#student-voice .voice-heading {
	position: relative;
	margin: 0 0 25px 0;
	padding-bottom: 15px;
	font-size: 1.5em;
	font-weight: 600;
	color: #153272;
}

#student-voice .voice-heading:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100px;
	height: 3px;
	background: linear-gradient(to right, #072f80, #153272);
	border-radius: 2px;
}

#student-voice .voice-list {
	margin: 0;
	padding-left: 1.4em;
}

#student-voice .voice-list li {
  margin-bottom: 0.75em;
}

#student-voice .voice-list li:last-child {
  margin-bottom: 0;
}

#student-voice .box-section h3 {
	margin: 0 0 20px 0;
	font-size: 1.5em;
	color: #072f80;
	font-weight: 600;
}

@media (max-width: 768px) {
	#student-voice .section-wrapper {
		flex-direction: column;
		gap: 20px;
	}

	#student-voice .section-wrapper.reverse {
		flex-direction: column;
	}

	#student-voice .section-image {
		flex: 1;
		min-width: 100%;
	}
}
