﻿/*上付き文字 */

sup {
  font-size: 70%;
  vertical-align: top;
  position: relative;
  top: -0.1em; 
}

/*下付き文字 */
sub {
	font-size: 70%;
	vertical-align: bottom;
	position: relative;
	bottom: -0.1em;
}

/*（num)リスト */
ol.list_brackets{
  padding:0 0 0 1.3em;
  margin:10px 5px;
}
ol.list_brackets li{
  list-style-type:none;
  list-style-position:inside;
  counter-increment: cnt;
  padding: 0.2em 0 1.3em 0.2em;
  text-indent: -1.3em;
}
ol.list_brackets li:before{
  display: marker;
  content: "(" counter(cnt) ")  ";
}

/*アスタリスクリスト */
ol.list_ast{
  padding:0 0 0 1.3em;
  margin:10px 5px;
}
ol.list_ast li{
  list-style-type:none;
  list-style-position:inside;
  counter-increment: cnt;
  padding: 0.2em 0 1.3em 0.2em;
  text-indent: -1.3em;
}
ol.list_ast li:before{
  display: marker;
  content: "※" counter(cnt)"  ";
}

/*ハイフンリスト */
ol.list_hyphen{
  padding:0 0 0 1.3em;
  margin:30px 5px 0px 5px;
}
ol.list_hyphen li{
  list-style-type:none;
  list-style-position:inside;
  counter-increment: cnt;
  padding: 0.2em 0 1.3em 0.2em;
  text-indent: -0.7em;
}
ol.list_hyphen li:before{
  display: marker;
  content: "- ";
}




/*ボックス（グレーバックに、タイトル付き）*/
.box_grey {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #333333;
    background: #F2F2F2;
}
.box_grey .box_grey-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #333333;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box_grey p {
    margin: 0; 
    padding: 0;
}

/*ボックス（オレンジバックに、タイトル付き）*/
.box_orange {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #D43200;
    background: #FFF2EE;
}
.box_orange .box_orange-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #D43200;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box_orange p {
    margin: 0; 
    padding: 0;
    color:#D43200;
}


/*テーブル、オンカーソルで背景グレー, skd.jsと併用すること*/
.custom-table {
    border-collapse: collapse;
}

.custom-table td {
    transition: background-color 0.3s ease;
}

.custom-table td:hover {
    background-color: lightgray;
}

/*見出し*/
.head_blue {
  border-bottom: solid 3px #cce4ff;
  position: relative;
}

.head_blue:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #5472cd;
  bottom: -3px;
  width: 20%;
}

/*アンダーライン付きリンクアナウンス*/
.announcement {
  position: relative;
  cursor: pointer;
  padding-bottom: 5px;
  display: inline-block;
}

.underline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #8c8c8c;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.announcement:hover .underline {
  opacity: 0.5;
}

.announcement:hover {
  opacity: 0.5;
} 

/*大学からのお知らせ用２カラムグリッド*/
.ann_container {
  display: grid;
  grid-template-columns: 240px 1fr;
  border: 1px solid #333333;
}

.ann_column {
  padding: 20px;
}

.ann_left-column {
  background-color: #333333;
  color: #fff;
  border-right: 1px solid #333333;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ann_right-column {
  background-color: #fff;
  color: #000;
}

.ann_right-column a {
  text-decoration: none;
  color: inherit;
}

.ann_right-column a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .ann_container {
    grid-template-columns: 1fr;
  }
  .ann_left-column {
    border-right: none;
  }
}