#wrap {
  background-image: url(img/006.gif);
  max-width: 1920px;
  min-width: 500px;
  text-align: left;
  margin: auto;
}

/*ページ全体*/
html {
  scroll-behavior: smooth;
}
.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #000055;
  border: solid 2px #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: translateY(20%) rotate(-45deg);
}

.large-text {
  font-size: 20pt; /* h2と同じフォントサイズ */
  text-align: left;
}

/*ヘッダー*/
#header {
  width: 100%;
  height: 150px;
  /*background-image:url(img/title2.png);*/
  text-align: center;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000055;
}

/*sideWrap=メニュー全体*/
#sideWrap {
  background-color: rgb(238, 238, 238);
}


/*メニューボタン*/
/*==ナビゲーション全体の設定*/
nav {
  background: #9e9e9e;
  text-align: center;
  margin-top: 0px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0px;
}

/*2階層目以降は横並びにしない*/
nav ul ul {
  display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li {
  position: relative;
  margin-top: 5px;
  margin-bottom: 5px;
}

/*スマホ用ボタンhidden*/
.drawer_hidden {
  display: none;
}

.drawer_open {
  display: none;
}
#menuIcon{
  display: none;
}

.nav_item.active a {
  color: #000055;
}


/*ナビゲーションのリンク設定*/
nav ul li a {
  display: block;
  text-decoration: none;
  color: #fff;
  padding: 5px 15px;
  transition: all .3s;
}

nav ul li li a {
  padding: 10px 35px;
}

nav ul li a:hover {
  color: #000055;
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
nav ul li.has-child::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 25px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #999;
  border-right: 2px solid #999;
  transform: rotate(135deg);
}


/*下の階層を持っているulの指定*/
nav li.has-child ul {
  /*絶対配置で位置を指定*/
  position: absolute;
  left: 0;
  top: 62px;
  z-index: 4;
  /*形状を指定*/
  background: #28BFE7;
  width: 300px;
  /*はじめは非表示*/
  visibility: hidden;
  opacity: 0;
  /*アニメーション設定*/
  transition: all .3s;
}

/*hoverしたら表示*/
nav li.has-child:hover>ul,
nav li.has-child ul li:hover>ul,
nav li.has-child:active>ul,
nav li.has-child ul li:active>ul {
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/
nav li.has-child ul li a {
  color: #fff;
  border-bottom: solid 1px rgba(255, 255, 255, 0.6);
}

nav li.has-child ul li:last-child a {
  border-bottom: none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active {
  background: #3577CA;
}

#enjp {
  color: #008ebd;
}

#titlelink a {
  text-decoration: none;
  white-space: nowrap;
  margin-bottom: 10px;
  display: inline-block;
}


/*現在ページ*/
#titlelink strong {
  border-left: 2px solid #bbd;
  border-top: 2px solid #bbd;
  border-right: 2px solid #99b;
  border-bottom: 2px solid #99b;
  background-color: #c0c0c0;
  text-align: center;
  font-size: medium;
  padding: 0.1em 0.5em 0.1em 0.5em;
  text-decoration: none;
  color: #000;
  width: 7em;
  margin: 2px 0px 50px 0px;
  height: 1.7em;
}

.menu:hover {
  color: #557;
  background-color: #dde;
  font-size: medium;
  text-align: center;
  text-decoration: none;
  margin: 2px 0px;
  padding: 0.1em 0.5em 0.1em 0.5em;
  border-top: 2px solid #99b;
  border-left: 2px solid #99b;
  border-bottom: 2px solid #bbd;
  border-right: 2px solid #bbd;
  width: 7em;
  height: 1.7em
}

.menu {
  border-left: 2px solid #bbd;
  border-top: 2px solid #bbd;
  border-right: 2px solid #99b;
  border-bottom: 2px solid #99b;
  background-color: #d5d5e5;
  text-align: center;
  font-size: medium;
  padding: 0.1em 0.5em 0.1em 0.5em;
  text-decoration: none;
  color: #557;
  width: 7em;
  margin: 2px 0px;
  height: 1.7em;
}



/*業績ドロップダウンメニュー*/
.hvmenu>li {
  display: inline-block;
  position: relative;
}

.hvmenu>li>ul {
  display: none;

}

.hvmenu>li:hover ul {
  display: block;
  position: absolute;
  padding: 10px;
  margin: 0;
  top: 2em;
  left: 0;
  list-style-type: none;
  background-color: #000055;
}

.hvmenu>li:hover ul li a {
  border-bottom: 1px solid white;
}

.hvmenu>li:hover ul a {
  text-decoration: none;
  color: white;
  font-size: 16pt;
}


/*言語切り替え*/
#language {
  border-left: 2px solid #bbd;
  border-top: 2px solid #bbd;
  border-right: 2px solid #99b;
  border-bottom: 2px solid #99b;
  background-color: #ffffe0;
  text-align: center;
  font-size: medium;
  padding: 0.1em 0.5em 0.1em 0.5em;
  text-decoration: none;
  color: #557;
  width: 7em;
  margin: 2px 0px;
  height: 1.7em;
}

/*ヘッダーリンク*/
.link {
  width: 80%;
  text-align: right;

}

.link a {
  margin: 5pt;
  color: #000055;
}




/*本文*/
#inner {
  margin: 10px 0px;
  background-image: url(img/006.gif);
  text-align: center;
}

/*メインコンテンツ*/
#mainWrap {
  margin: auto;
  max-width: 1024px;
  padding-right: 10px;
  padding-left: 10px;
  text-align: left;
  font-size: 12pt;
}

#mainWrap h2 {
  margin-left: 0pt;
  padding-left: 10pt;
  font-size: 20pt;
  color: #ffffff;
  background-color: #000055;
}



/*メインコンテンツ内ボタン*/
#mainButton {
  margin-top: 30px;
}

#mainButton a {
  border-left: 2px solid #002992;
  border-top: 2px solid #002992;
  border-right: 2px solid #002992;
  border-bottom: 2px solid #002992;
  background-color: #dff;
  text-align: center;
  font-size: large;
  padding: 0.1em 0.5em 0.1em 0.5em;
  text-decoration: none;
  color: black;
  width: 7em;
  margin: 2px 0px;
  height: 1.7em;
}

#mainButton strong {
  border-left: 3px solid #002992;
  border-top: 3px solid #002992;
  border-right: 3px solid #002992;
  border-bottom: 3px solid #002992;
  background-color: #1e1eff;
  text-align: center;
  font-size: large;
  padding: 0.1em 0.5em 0.1em 0.5em;
  text-decoration: none;
  color: #fff;
  width: 7em;
  margin: 2px 0px;
  height: 1.7em;
}


/*テキスト装飾*/
.textBold {
  color: red;
  font-size: 20pt;
  font-weight: bold;
}

.dashed {
  text-decoration: underline dashed black
}

/*ホーム*/
#index {
  text-align: center;
}

#index img {
  width: auto;
  height: auto;
  margin-top: 20px;
}

i {
  transform: skewX(-20deg); 
  color: #000; 
  display: inline-block;
}



/*お知らせ全般*/
#news-list {
  list-style: none outside;
  margin: 0;
  padding: 0;
}

#news-list .item {
  display: flex;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}

#news-list .item:first-child {
  border-top: 1px solid #CCC;
}

#news-list .item .date {
  margin: 0;
  min-width: 140px;
  font-size: 18px;
  color: #999;
  padding: 0 20px 0 0;
}

/*イベント*/
#news-list .item .redLabel {
  margin: 0;
  min-width: 140px;
  padding: 0 0 0 10px;
}

#news-list .item .redLabel span {
  background: red;
  color: #FFF;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
}

#news-list .item .blueLabel {
  margin: 0;
  min-width: 140px;
  padding: 0 0 0 10px;
}

#news-list .item .blueLabel span {
  background: blue;
  color: #FFF;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
}

#news-list .item .grayLabel {
  margin: 0;
  min-width: 140px;
  padding: 0 0 0 10px;
}

#news-list .item .grayLabel span {
  background: gray;
  color: #FFF;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
}

#news-list .item .contents {
  margin: 0;
  width: 100%;
  font-size: 16px;
}



/*業績ページ*/
/*業績サイドメニュー(２カラム)*/
#works {
  width: 95%;
  max-width: 1100px;
  margin: 0 auto;
}

article {
  float: left;
  width: 70%;
}

/*presentationsへ*/

aside {
  float: right;
  width: 30%
}


/*sideMenuへ*/


/*カテゴリ選択ボタン　カテゴリ下に年ホバー選択ボタンデザイン？*/
/*カテゴリ tab*/
/*メインタブ*/
#worksTab tab {
  display: table;
  margin: 1em auto 2em;
  padding: 0;
  width: 100%;
  text-align: center;
}

#worksTab tab li {
  display: table-cell;
  min-width: 50px;
}

#worksTab tab li a {
  display: block;
  border-radius: 10px 10px 0 0;
  border-bottom: 3px solid #00bfff;
  width: 100%;
  padding: 10px 0;
  text-decoration: none;
  color: White;
  font-weight: bold;
  cursor: pointer;
}

/*表示中*/
#worksTab tab li.current {
  border-radius: 10px 10px 0 0;
  background-color: #00bfff;
}

/*その他*/
#worksTab tab li.label {
  border-radius: 10px 10px 0 0;
  background-color: LightGray;
}

#worksTab tab li:hover {
  background-color: rgb(146, 146, 146);
  border-radius: 10px 10px 0 0;
}

/*業績リスト*/
#works li {
  margin-top: 20pt;
  margin-left: 20pt;

}

#works p {
  margin: 2pt;
  font-size: 12pt;
}

#presentations h2 {
  margin-left: -50pt;
  font-size: 20pt;
  color: #ffffff;
  background-color: #000055;
}

#papers h2 {
  margin-left: -50pt;
  font-size: 20pt;
  color: #ffffff;
  background-color: #000055;
}

#magazin {
  font-style: italic;
}


#works li .award {
  font-weight: bold;
}

/*title,author,event,place,dateのクラス設定済　必要に応じてサイズ変更*/

/*業績サイドメニュー*/
#sideMenu h4 {
  margin-bottom: 1px;
  text-align: center;
}

#sideMenu {
  background-color: rgba(20, 100, 100, 0.1);
  margin-left: 30px;
}

#sideMenu ul {
  margin: 5%;
  padding: 0;
  list-style-type: none;
}

#sideMenu li {
  padding: 2%;
  margin: 0;

}

#sideMenu li.active {
  background: #2c3e50;
}

#sideMenu li.active a {
  color: #fff;
}

#sideMenu li a {
  display: block;
  border-bottom: 1px solid #474655;
  padding: 3px;
  text-decoration: none;
  color: #333;
  margin: 1px 0px;
  text-align: left;
  font-size: 14px;
}


#sideMenu li:hover {
  background: #34495e;
}

#sideMenu li:hover a {
  color: #fff;
}


/*
@media screen and (max-width: 767px) {
  #news-list .item a {
    flex-wrap: wrap;
  }

  #news-list .item .date {
    min-width: 100px;
  }

  #news-list .item .contents {
    margin-top: 10px;
  }
}
*/
/* お知らせ装飾 */
* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

body {
  margin: 20px;
}




/*ギャラリーページ*/
/*->表紙*/
.gallery {
  display: inline-block;
}

.gallery img {
  width: auto;
  height: 200px;
}


/*album*/
/*日付ラベル*/
.picday{
  position: relative;
  background: linear-gradient(-45deg,#000055 0%,#000055 49%,#ffffff 49%,#ffffff 51%,#000055 51%,#000055 100%);
  width:200px;
  height: 200px;
  border:solid 10px #005;/*線の種類・太さ・色*/
  border-top-width: 15px;
  border-bottom-width: 15px;
  border-right-width: 10px;
  border-left-width: 10px;
}
/*斜線をもう少し削りたい 
.picday::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -20px;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: #fde7d1 transparent transparent transparent;
  border-width: 20px 20px 0 20px;
}*/
.picday p{
  color: #ffffff;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left:20px;
  margin-right: 20px;
  font-size: 50px;
}


/*equipment 画像配置*/
section {
  display: grid;
  /* グリッド表示 */
  gap: 10px;
  /* 間隔10px */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  /* 等間隔フレックス */

}

section div {
  margin: 0px auto 10px;
  /* 外余白左右自動 */
  text-align: center;
  /* 中央寄せ */
  background: #ffffff;
  /*背景色の指定*/
  padding: 10px;
}

section div p {
  padding: 0pt;
  margin: 0pt;
}

section img {
  height: 200px;
  /*正方形で表示*/
  width: 200px;
}

/*リンク集*/



/*??*/
#clear {
  clear: both;
}

#clear hr {
  display: none;
}


/*フッター*/
#footer {
  /*
background-image:url(img/copyright.gif);
width:800px;height:120px;
*/
  border-top-color: #808080;
  border-top-style: solid;
  border-top-width: thin;
}


/*コピーライト*/
#Copyright {
  margin: auto;
  text-align: left;
}

#Copyright:after {
  content: "Copyright(c) 2010 - 2025\a
 USUI Laboratory, \a Faculty of Frontiers of innovative Research in Science and Technology (FIRST), \a Konan University";
 font-weight: 100;
  /* font-size: small; */

}

/* スマホ 767px以下 
@media only screen and (max-width: 767px) {
  .wrap{
    width: 100%;
  }
  .main{
    float: none;
    width: 90%;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }
  .side-menu{
    /* floatを解除 
    float: none;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}
*/

/*test*/

/*https://coco-factory.jp/ugokuweb/move01-cat/globalnavigation/*/


/*==768px以下の形状*/

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

  #titlelink{
    background-color: #858585;
    display:flex;
    
  }
  #titlelink p{
    color: #fff;
  }
  nav ul {
    display: block;
  }

  /* ここから下がハンバーガーメニューに関するCSS */
  /*2階層目を持つliの矢印の設定*/
  nav ul li.has-child::before {
    content: '';
    left: 480px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #999;
    border-right: 2px solid #999;
    transform: rotate(135deg);
  }
  /*下の階層を持っているulの指定*/
nav li.has-child ul {
  /*絶対配置で位置を指定*/
  position: absolute;
  left: 40%;
  top: 30px;
  z-index: 4;
  /*形状を指定*/
  background: #6e6e6eba;
  width: 300px;
  /*はじめは非表示*/
  visibility: hidden;
  opacity: 0;
  /*アニメーション設定*/
  transition: all .3s;
  border: 2px solid #232323; /* 枠の色と太さを指定 */
  border-radius: 5px; /* 角を丸くする場合 */
}

  /* チェックボックスを非表示にする */
  .drawer_hidden {
    display: none;
  }

  /* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;/* 重なり順を一番上にする */
  cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
#menuIcon{
  display: block;
}
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #fff;
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}
 
  

  /* メニューのデザイン*/
  .nav_content {
    width: 100%;
    height: 100%;
    position: fixed;
    bottom: 100%;
    left: 0%;
    /* メニューを画面の外に飛ばす */
    z-index: 99;
    background: rgb(110, 110, 110);
    transition: .5s;
    text-align: center;
    padding-top: 20px;
  }


  /* アイコンがクリックされたらメニューを表示 */
  #drawer_input:checked~.nav_content {
    bottom: 0;
    /* メニューを画面に入れる */

  }
  #drawer_input:checked~.smallMenuClose {
    display: block;
    /* メニューを画面に入れる */

  }

}