@import url(https://www.shinshu-u.ac.jp/jueb5meH/mt-static/support/theme_static/power_cms_eiger/css/base.css);
@import url(https://www.shinshu-u.ac.jp/jueb5meH/mt-static/support/theme_static/power_cms_eiger/css/screen.css);

/* ¥³¥á¥ó¥È¡¢¥È¥é¥Ã¥¯¥Ð¥Ã¥¯ÓÃ */
@import url(https://www.shinshu-u.ac.jp/jueb5meH/mt-static/support/theme_static/power_cms_eiger/css/feedback.css);

@import url(https://www.shinshu-u.ac.jp/institution/iic/styles_webpages.css);


/*
/ ¥µ¥ó¥×¥ë¥¹¥¿¥¤¥ë
*/

/* Body
body {
    font-size: 16px;
    font-family: sans-serif;
}
*/

/* ¥«¥Æ¥´¥ê¥é¥Ù¥ë¥«¥é©`
.label {
  border-radius: 3px;
}

.label.category_basename {
  background-color: green;
}
*/

/* Responsive (Media Query)
body {
  background-color: lightgrey;
}

@media (min-width: 700px) {
  background-color: whitesmoke;
}

@media (min-width: 930px) {
  background-color: white;
}
*/



/* iicÈ«Ìå */
li {
    list-style: none;
}

a:focus, *:focus {
    outline:none; 
}

/* ¥¿¥¤¥È¥ë¥¤¥á©`¥¸Õ{Õû */
[role="banner"] {
    max-width: none;
}

[role="banner"] h1 img {
    max-width: 400px;
}

/* ¥Ø¥Ã¥À©` */
#iicHeader {
    height: 80px;
}

.iicTitle {
    width: 960px;
    margin: 0 auto;
    padding: 10px 0 10px 0;
    display: block;

    height: 60px;
    border-bottom: 1px solid #c0c6c9;
}

.iicTitle h1 {
    display: block;
/*    width: 400px;*/
    float: left;
}

.iicSearch {
    float: right;
    width: 300px;
    height:50px;
    padding:10px;
}

.iicNavi{
    width: 960px;
    margin: 0 auto;
}

@media (max-width: 960px){
  #iicHeader {
    height: 120px;
  }
  .iicTitle {
    width: auto;
  }
}
/* ¥¤¥á©`¥¸Õ{Õû */
/* Grid Layout */
#mainimage {
  position:relative;
/*  width:95%;*/

  display: grid;
  gap: 4px;
  grid-template-columns: 188px 188px 188px 188px 188px;
  grid-template-rows: 124px 124px 124px;
}

#mainimage p{
  margin: 0;
/*  padding: 60px 0 0 0;*/
  padding: 35px 0 0 0;
}

#mainimage .center{
/*  padding: 30px 0 0 0;*/
}

#mainimage div a{
  font-weight:bold;
  color:#fff;
  text-decoration:none;
}

.itemImage {
  grid-column: 1 / 4;
  grid-row: 1 / 4;
}

.itemAbout {
  grid-column: 4;
  grid-row: 1;
  background-color:#e58e26;
  color:#fff;
}

.itemToiawase {
  grid-column: 5;
  grid-row: 1;
  background-color:#0c2461;
  color:#fff;
}

.itemAccess {
  grid-column: 4;
  grid-row: 2;
  background-color:#b71540;
  color:#fff;
}

.itemDummy {
  grid-column: 5;
  grid-row: 2;
  background-color:#007849;
  color:#fff;
}

.itemProject {
  grid-column: 4;
  grid-row: 3;
  background-color:#0a3d62;
  color:#fff;
}

.itemTopics {
  grid-column: 5;
  grid-row: 3;
  background-color:#1e3799;
  color:#fff;
}


/* responsive */
@media (max-width: 960px){

.iicTitle {
    height:120px
  }

#mainimage {
  grid-template-columns: 188px 188px 188px;
  grid-template-rows: 124px 124px 124px 124px 124px;
  }

.itemImage{
    grid-column: 1 / 3;
    grid-row: auto;
}

.itemAbout{
    grid-column: 3;
    grid-row: auto;
}

.itemToiawase{
    grid-column: 3;
    grid-row: auto;
}

.itemAccess{
    grid-column: 1;
    grid-row: 3;
}


.itemDummy{
    grid-column: 3;
    grid-row: 3;
}

.itemProject{
    grid-column: 2;
    grid-row: 3;
}

.itemTopics{
    grid-column: 1;
    grid-row: 4;
}

.itemProject,
.itemTopics,
.itemDummy,
p{
    padding:0;
  }
}


@media (max-width: 600px){

[role="banner"] h1 img {
    max-width: 320px;
}

.iicTitle {
    height:120px
  }

#mainimage {
  grid-template-columns: 348px;
  grid-template-rows: 232px 66px 66px 66px 66px 66px 66px;
  }
  .itemImage,
  .itemProject,
  .itemTopics,
  .itemFaq,
  .itemAbout,
  .itemAccess,
  .itemToiawase,
  .itemDummy {
    grid-column: 1;
      grid-row: auto;
}
  #mainimage p {
    padding:0;
  }
}

/* ¥³¥ó¥Æ¥ó¥Ä·ùÕ{Õû */
#content [role="main"] {
    width: 100%;
    margin: 0;
}

.topcontent{
  border:none;
  padding:0;
}

/* —ÊË÷Î»ÖÃÕ{Õû */
#search input[type="text"] {
    width: 16.18em;
}
#search {
    text-align: right;
}

/* ¥È¥Ã¥×¥Ú©`¥¸¥á¥Ë¥å©`box */
#iicmenu {
  display: block;
  margin: 0 auto;
  padding: 20px 0;
}

#iicmenu h2 {
    margin: 0 0 7px 0;
    padding-bottom: 0.2em;
    font-size: 1.2em;
    text-align: center;
    background-color:#0a3d62;
    color:#fff;
}

/* ¥È¥Ô¥Ã¥¯¥¹Õ{Õû */

#topics {
/*    border: 2px solid #c0c6c9;
    padding: 1em;*/
}

#topics h2 {
    margin: 0 0 7px 0;
    padding-bottom: 0.2em;
    font-size: 1.2em;
    text-align: center;
    background-color:#0a3d62;
    color:#fff;
}

#topics #posts {
    padding: 1em;
}

/* ¥Ð¥Ê©`Õ{Õû */
#banner .bannerBox{
    padding-top:20px;
}

/* ¥µ©`¥Ó¥¹„e¥á¥Ë¥å©` */
.servicemenu {
    margin: 0 0 20px 0;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
/*    justify-content: left; */
    justify-content: center;
    width: 100%;

    padding: 0;
}

.servicemenu li {
    float: left;
    width: 188px;
    margin: 0 4px 4px 0;
}

.servicemenu li a {
    overflow: hidden;
    display: block;
}

.servicemenulink {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    vertical-align: middle;
    border-width: 3px;
    border-style: solid;
    border-color: #c0c6c9;
    height: 124px;
    padding: 27px 0 0 0;
    line-height: 180%;
    background-color:#efefef;
    font-weight: bold;
    text-decoration: none;
}

.gakunairiyo {
    background-color:#d2dde5;
}

/* iconFont´ó¤­¤µ */
.servicemenu .iconFit {
    font-size: 1.5em
}


/* links */
#linkmenu {
    margin: 30px auto;
}

.pagemenu {
    margin: 0 0 20px 0;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;

    padding:0;
}

.pagemenu li {
    float: left;
    width: 188px;
    margin: 0 2% 15px 0;
}

.pagemenu li a {
    overflow: hidden;
    display: block;
}

.pagemenu li img {
    object-fit: contain;
    width: 180px; 
    height: 90px;
}

.pagemenulink {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    vertical-align: middle;
    height: 90px;
    line-height: 180%;
    background-color:#0a3d62;
    text-decoration: none;
    color:#fff;
}

.imglink{
    background:none;
}

.textlink{
    padding: 18px 0 0 0;
}

.topfooter{
   margin-top: 1em;
}

/* ¥Ú©`¥¸ÉÏ²¿¤Ë‘ø¤ë */
.backtotop a{
    text-decoration: none;
}

/* ¥µ©`¥Ó¥¹¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¥Ú©`¥¸ FAQ¤â */
.serviceindex .gakunai{
  margin:2px;
  text-align:right;
}
.serviceindex .gakunai i{
   padding: 0;
   color: #595d66;
}

.serviceindex h2 {
    margin: 0 0 7px 0;
    padding: 0.2em;
    font-size: 1.2em;
    background-color:#0a3d62;
    color:#fff;
}
.serviceindex i {
   padding: 0 1em 0 1em;
}

.serviceindex h3 {
    margin: 0 0 7px 0;
    padding: 0.2em;
    padding-left: 1em;
    font-size: 1.1em;
    border: 1px solid #0a3d62; 
    color:#595d66;
}

.serviceindex h4 {
    margin: 0 0 7px 0;
    padding: 0.2em;
    padding-left: 1em;
    font-size: 1.1em;
    color:#595d66;
    background-color: #c0c6c9;;
}

/*Ó›ÊÂ¥ê¥¹¥È*/
.serviceindex .ichiran ul li {
  line-height: 1.5; /*ÎÄ¤ÎÐÐ¸ß*/
  padding: 0.5em 0; /*Ç°áá¤ÎÎÄ¤È¤ÎÓà°×*/
}

.serviceindex .ichiran ul li:before {
    content: "\f0da";
    font-family: "Font Awesome 5 free";
    font-weight:900;
    color: #595d66;
    padding:0 1em 0 0;
}
.serviceindex .ichiran ul li i {
   padding: 0;
   color: #595d66;
}

.serviceindex .ichiran ul li a{
   text-decoration:none;
}


/*²»Òª¤«¤â*/
[role="contentinfo"] .license {
    margin-bottom: 5%;
}


hr {
  margin: 1em;
}

blockquote {
    border-left: none;
}

table, table th, table td {
    border: none;
}

/* Ó›ÊÂ¤Ç¤Î¥¿¥°¤Î±íÊ¾ */
.iictags{
display: inline-block;
margin-right: 0.5em;
padding: 0 0.5em;
background-color: #4a69bd;
color: white;
font-size: 80%;
text-decoration: none;
}

/* Ó›ÊÂÕ{Õû */
article .entry-content {
    padding-top: 1.618em;
}

/* ¥Ö¥í¥°Ó›ÊÂÐ¡ÒŠ³ö¤· */
.midashi {
    padding-top: 1.618em;
}

/* ¥»¥­¥å¥ê¥Æ¥£ÐÄµÃ¥Ü¥Ã¥¯¥¹ */
.kokoroebox,  .kokoroebox:before, .kokoroebox:after {
	box-sizing: border-box;
}
.kokoroebox div,  .kokoroebox div:before, .kokoroebox div:after {
	box-sizing: border-box;
}
.kokoroebox{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.kokoroebox > div{
	width: 50%;
	padding: 10px;
}
.kokoroebox > div > div {
    background: #f6f6f6;
    position: relative;
    overflow: hidden;
  padding: 5px;
}

.kokoroebox {
    margin: 2em 0;
}
.kokoroebox .box {
    font-size: 1.2em;
    background: #333;
    padding: 4px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.kokoroebox p {
    margin: 0;
}
.kokoroebox .page {
    min-height: 200px;
    max-height: 900px;
}

.circlenum{
 display: inline-block;
 margin-right: 0.5em;
 padding: 0 0.5em;
 background-color: #f2cc21;
 color: white;
 text-decoration: none;

}


/*    ÐÂÈëÉúÏò¤±*/
/* ´µ¤­³ö¤·ïL */
div .balloon {
	position: relative;
	padding: .5em .75em;
	background-color: #00803e;
	color: #ffffff;
	border-radius: 6px;
	font-size: 16px;
	font-weight: bold;
}
div .balloon::after {
	position: absolute;
	top: 100%;
	left: 30px;
	content: '';
	width: 0;
	height: 0;
	border: 10px solid transparent;
	border-top: 15px solid #00803e;
}
/* ´µ¤­³ö¤·ïL 2 */
div .balloon2 {
	position: relative;
	padding: .5em .75em;
	background-color: #ffffff;
	color: #006631;
	border: 2px solid #006631;
	border-radius: 6px;
	font-size: 16px;
/*	font-weight: bold;*/
}

div .balloon2:before {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 30px;
  width: 0;
  height: 0;
  border-top: 15px solid #006631;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}
div .balloon2:after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 30px;
  width: 0;
  height: 0;
  border-top: 15px solid #fff;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}

/*check green*/
div .titlecheck{
	position:relative;
	padding-left:30px;
	border-bottom:2px solid #ccc;
	font-weight: bold;
	font-size: 20px;
	line-height: 38px;
}
 
div .titlecheck:after, .titlecheck:before{
	content:''; 
	height:18px; 
	width:4px; 
	display:block; 
	background:#006631; 
	position:absolute; 
	top:8px; 
	left:15px; 
	border-radius:10px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px; 
	transform:rotate(45deg);
	-webkit-transform:rotate(45deg);
	-moz-transform:rotate(45deg);
	-o-transform:rotate(45deg);
	-ms-transform:rotate(45deg);
}
 
div .titlecheck:before{
	height:10px; 
	transform:rotate(-45deg);
	-webkit-transform:rotate(-45deg);
	-moz-transform:rotate(-45deg);
	-o-transform:rotate(-45deg);
	-ms-transform:rotate(-45deg); 
	top:16px; 
	left:7px
}
/* */
/*check red*/
div .redcheck{
	position:relative;
	padding-left:30px;
	border-bottom:1px solid #ccc;
	font-weight: bold;
	font-size: 18px;
	line-height: 38px;
}
 
div .redcheck:after, .redcheck:before{
	content:''; 
	height:18px; 
	width:4px; 
	display:block; 
	background:#dc143c; 
	position:absolute; 
	top:8px; 
	left:15px; 
	border-radius:10px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px; 
	transform:rotate(45deg);
	-webkit-transform:rotate(45deg);
	-moz-transform:rotate(45deg);
	-o-transform:rotate(45deg);
	-ms-transform:rotate(45deg);
}
 
div .redcheck:before{
	height:10px; 
	transform:rotate(-45deg);
	-webkit-transform:rotate(-45deg);
	-moz-transform:rotate(-45deg);
	-o-transform:rotate(-45deg);
	-ms-transform:rotate(-45deg); 
	top:16px; 
	left:7px
}
