@charset "utf-8";

/*Webfont読み込み*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");

/* ================================
    unit.aist用　Default styles
   ================================ */
/* ===========================================================
 root
=========================================================== */
:root {
  --theme-color-red: #cf0027;

  --theme-fontColor-black: #333;

  --content-area-width: 1040px;
  --content-area-sidePadding: clamp(5px, 3%, 20px);

  font-family: "Noto Sans JP", YuGothic, "Yu Gothic", sans-serif;

  font-weight: 500;

  scroll-behavior: smooth;
}

/* ===========================================================
 common
=========================================================== */
* {
  box-sizing: border-box;
}

html {
  font-size: 66%;
}

body {
  padding: 0;
  margin: 0;
  font-size: 1.3rem;
  color: var(--theme-fontColor-black);
  line-height: 1.6;
}

a {
  color: var(--theme-color-red);
  text-decoration: underline;
}

a:hover,
a:focus {
  text-decoration: none;
}

img {
  max-width: 100%;
  vertical-align: top;
}

figure{
  margin: 0;
  text-align: center;
}

figcaption{
  margin-top: 0.5em;
}

section{
  margin-bottom: 3em;
}

strong{
  font-weight: bold;
}

/* ===========================================================
 default
=========================================================== */
p {
  margin: 0;
  padding: 10px 2em 15px 2em;
}

ul,
ol {
  margin: 0 0 0 2em;
  padding: 0.5em 0 1em 1em;
}
li {
  margin: 0;
  padding: 0 0 5px 0;
}
ul li li,
ol li li {
  line-height: 1.4;
  padding: 5px 0;
  border-bottom: 1px dotted #dddddd;
}

h1 {
  font-size: 3rem;
  font-weight: normal;
  padding: 0.5em 0;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--theme-color-red);
}

h2 {
  margin: 0 0 20px;
  padding: 10px 0 10px 5px;
  font-size: 2.5rem;
  font-weight: normal;
  line-height: 110%;
  background: url(../img/common/bg_heading_red.svg) repeat-x bottom left / 2px 3px;
}

h3 {
  margin: 0 0 20px;
  padding: 10px 0 10px 5px;
  font-size: 2rem;
  font-weight: normal;
  line-height: 110%;
  background: url(../img/common/bg_heading_gray.svg) repeat-x bottom left / 2px 3px;
}
h4 {
  margin: 30px 0 10px 0;
  padding: 5px 10px;
  font-size: 1.3rem;
  border-bottom: 1px solid #bbbbbb;
  border-left: 7px solid #dddddd;
}
h5 {
  margin: 20px 0 10px 0;
  padding: 5px;
  font-size: 1.3rem;
  border-bottom: 1px solid #cccccc;
}
h6 {
  margin: 20px 0 10px 0;
  padding: 5px;
  font-size: 1.3rem;
  border-bottom: 1px dotted #cccccc;
}


.listTable {
  margin: 30px auto 60px auto;
  border-collapse: collapse;
  border-spacing: 0;
  border-right: 1px solid #aaaaaa;
  border-bottom: 1px solid #aaaaaa;
  border: 3px solid #d7d7d7;
  width: 100%;
}

.listTableWide {
  width: 93%; /* 幅変更用に新規_250605作成 */
}

.listTable th,
.listTable td {
  border-bottom: 1px solid #d7d7d7;
  border-right: 1px solid #d7d7d7;
  border-top: none;
  border-left: none;
  padding: 8px;
}
.listTable th {
  background: #f3f3f3;
  text-align: left;
}

table.listTable caption {
  text-align: left;
  font-size: 1.8rem;
  margin-bottom: 0.5em;
}

.listTable .highlight-cell {
  background-color: rgba(0, 0, 0, 0.02); /* 超控えめな薄グレー */
}

/* ===========================================================
 項目を2列で整理するために追加する
=========================================================== */
.staff-list {
  list-style: none;
  margin: 0; 
  padding-left: 3em;
}

.staff-item {
  display: flex;
  margin-bottom: 0.5em;
}

.staff-role {
  width: 10em;
  font-weight: bold;
}

/*--メンバー写真付きテーブル--*/
table.listTable.member_list td:first-child{
  text-align: center;
}

/*--メンバー写真付きテーブル--*/
img.imgRight {
  float: right;
  margin: 0 0 15px 15px;
}

img.imgLeft {
  float: left;
  margin: 0 15px 15px 0;
}

div.divRight {
  float: right;
  text-align: center;
  margin: 0 0 15px 15px;
}
div.divLeft {
  float: left;
  text-align: center;
  margin: 0 15px 15px 0;
}

span.floatRight {
  float: right;
  margin: 0 0 15px 15px;
}
span.floatLeft {
  float: left;
  margin: 0 15px 15px 0;
}


.listIcon {
  margin-left: 10px;
}

.listIcon > li {
  padding-left: 1.5em;
  list-style: none;
  position: relative;
}

.listIcon > li::before{
  content: '';
  display: block;
  background: #DFDFDF;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  position: absolute;
  left: 0;
  top: 0.5em;
}

.listArrow{
  margin-left: 10px;
}

.listArrow li {
  padding-left: 0.75em;
  position: relative;
  list-style: none;
}

.listArrow li::before{
  content: "";
  display: block;
  background: var(--theme-color-red);
  height: calc(0.5em / 2 * tan(60deg));
  width: 0.4em;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  position: absolute;
  top: 0.5em;
  left: 0;
}

/*2列並び 左寄せ　右寄せの設定*/
ul.half,
ul.row-left,
ul.row-right{
  display: flex;
  gap:0.5em 3em;
  flex-wrap: wrap;
}

ul.half li{
  width: calc(50% - 1.5em);
}

ul.row-right{
  justify-content: flex-end;
}

.defaultList {
  margin-left: 1em;
}
.defaultList li {
  list-style: none;
  text-indent: -1em;
}

/* ===========================================================
 Header
=========================================================== 
*/

header {
  border-bottom: 5px solid var(--theme-color-red);
  margin-bottom: 1em;
}

/* headBody -----------------------------------------------------------*/
#headBody {
  width: var(--content-area-width);
  padding: 1.3em var(--content-area-sidePadding);
  margin: 0 auto;
  text-align: left;
  display: flex;
  gap: 3em;
  justify-content: space-between;
}

#headBody .leftBox {
  flex-shrink: 2;
}

/*header topBox ------------------------------------------------*/

#gHeader {
  background-color: #333333;
}

#gHeader .topBox{
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1em;
}

#gHeader .topBox .topList {
  max-width: 800px;
  margin: 0 0 0 20px;
  padding: 10px 0 9px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 12px;
  flex-grow: 2;
}

#gHeader .topBox .topList li a {
  color: #fff;
  text-decoration: none;
}
#gHeader .topBox .topList li a:hover {
  text-decoration: underline;
}

#gHeader .topBox .rightFixManu {
  display: flex;
  flex-shrink: 2;
}

#gHeader .topBox .searchWrap {
  color: #fff;
  padding: 8px 10px 10px 10px;
  border-left: 1px solid #888;
  display: flex;
  align-items: center;
}
/*header search ------------------------------------------------*/
#gHeader .searchWrap .searchBox {
  display: flex;
}

#gHeader .searchWrap input[type="text"] {
  width: 100%;
  min-width: 80px;
  max-width: 120px;
  background: #222;
  border: 1px solid #888;
  padding: 5px 0 3px 5px;
  color: #eee;
  height: 2em;
}

#gHeader .searchWrap .searchBox .searchBtn {
  min-width: 26px;
  background: url(../img/common/ico_search.svg) no-repeat #6a6a6a center center / 1em;
  border: none;
  cursor: pointer;
  color: #fff;
}

/*header english------------------------------------------------*/
#gHeader .topBox .languageWrap {
  border-left: 1px solid #888;
  display: flex;
  align-items: center;
}

#gHeader .topBox .languageWrap .big {
  display: block;
}

#gHeader .topBox .languageWrap .mid {
  display: none;
}
#gHeader .topBox .languageWrap a {
  font-size: 1.2rem;
  padding: 10px;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}

#gHeader .topBox .languageWrap a:hover,
#gHeader .topBox .languageWrap a:focus {
  text-decoration: underline;
  opacity: 0.7;
}

#gHeader .topBox .languageWrap a .ico_lang {
  background: url(../img/common/ico_language.svg) no-repeat left center / 12px;
  padding-left: 15px;
}

@media all and (max-width: 1349px) {
  #gHeader .topBox .languageWrap .big {
    display: none;
  }
  #gHeader .topBox .languageWrap .mid {
    display: block;
  }
}

/* Logo style ------------------------------------------------*/

header .aistlogo_box {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 1.3em;
  justify-content: flex-start;;
}

header .aistlogo_box .aistlogo img {
  min-width: 150px;
  width: auto;
}

header .aistlogo_box .depname {
  display: flex;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.2;
  align-items: center;
}

header .unitname_box {
  margin: 5px 0 0;
  padding: 0;
}

header .unitname_box .unitname {
  font-size: 2.6rem;
  margin: 0 0 0.2em;
  padding: 0;
  border: none;
}

header .unitname_box .unitname a {
  text-decoration: none;
  color: var(--theme-fontColor-black);
}

header .unitname_en {
  font-size: 1.6rem;
}

/* 産総研トップへ ------------------------------------------------*/

header #headBody .rightBox .btn_aistTop {
  position: relative;
  padding-left: 2em;
  margin-bottom: 2em;
  font-weight: 600;
}

header #headBody .rightBox .btn_aistTop a {
  color: var(--theme-fontColor-black);
  text-decoration: none;
}

header #headBody .rightBox .btn_aistTop a::before {
  content: "";
  display: block;
  width: 1.5em;
  height: 1.5em;
  background: url(../../img/common/ico_aist-top.svg) no-repeat top center / 1.5em;
  position: absolute;
  left: 0;
  top: 0.2em;
}

/* ===========================================================
 footer
=========================================================== */
#footBody {
  background: #474747;
  text-align: center;
  padding: 24px 0 46px;
}
#footBody .btnBox {
  max-width: var(--content-area-width);
  padding: 0 var(--content-area-sidePadding);
  margin: auto;
}
#footBody .btnBox .linkList {
  display: flex;
  justify-content: center;
  margin: 0 0 41px 0;
  padding: 0;
  list-style: none;
  font-size: 1.4rem;
}
#footBody .btnBox .linkList li {
  margin: 0 21px;
  padding: 0;
  line-height: 1.646em;
}
#footBody .btnBox .linkList li a {
  color: #fff;
  text-decoration: none;
}
#footBody .btnBox .linkList li a:hover {
  text-decoration: underline;
}

#footBody .btnBox .footer_logo img {
  max-width: 325px;
  width: calc(100vw - 24px);
  margin: 0 12px;
}

body.lang_en #footBody .btnBox .footer_logo img {
  max-width: 700px;
}

#footBody address {
  color: #fff;
  font-size: 1.2rem;
  font-style: normal;
  line-height: 1.5;
}

/* ===========================================================
 content
=========================================================== */
#mainBody {
  max-width: var(--content-area-width);
  margin: 0 auto;
  text-align: left;
  padding: 0 0 30px;
}
/* breadcrumbs ------------------------------------------------*/
.breadcrumb ol {
  max-width: var(--content-area-width);
  padding: 0 var(--content-area-sidePadding);
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  color: #444444;
  font-weight: 400;
}

.breadcrumb ol li:not(:last-child)::after {
  content: ">";
  margin: 0 0.3em;
}

.breadcrumb ol li a {
  color: #444444;
}
/*========================================================
 ContentPane
 ========================================================*/
#ContentPane {
  min-width: var(--content-area-width);
  padding: 0 var(--content-area-sidePadding);
}

/*========================================================
 mainContents
 ========================================================*/
.mainContents {
  padding: 20px;
}

/*========================================================
 grayLineBox
 ========================================================*/
.grayLineBoxWap .grayLineBox {
  width: 338px;
  min-height: 130px;
  display: inline-block;
  vertical-align: top;
}
.grayLineBoxWap .grayLineBox:first-child {
  margin-right: 25px;
}
.grayLineBox {
  border: 5px #e6e5e5 solid;
  padding: 12px;
  position: relative;
}

.grayLineBox h2 {
  margin: 0 0 15px 0;
  padding: 10px 0 10px 10px;
  font-size: 2rem;
  font-weight: normal;
  background: #f3f3f3;
  border-left: var(--theme-color-red) solid 1px;
  border-bottom: none;
}

/*========================================================
 テキストボックス
 ========================================================*/
/* 高さ：150px ------------------------------------------------*/
.txtbox150 {
  border: 1px dotted #cccccc;
  padding: 15px;
  margin: 10px auto;
  height: 150px;
  width: 95%;
}
/* 高さ：200px ------------------------------------------------*/
.txtbox200 {
  border: 1px dotted #cccccc;
  padding: 15px;
  margin: 10px auto;
  height: 200px;
  width: 95%;
}
/* 高さ：250px ------------------------------------------------*/
.txtbox250 {
  border: 1px dotted #cccccc;
  padding: 15px;
  margin: 10px auto;
  height: 250px;
  width: 95%;
}

/* ===========================================================
 テキストボックス＆画像キャプション
=========================================================== */
/* 枠付き　------------------------------------------------*/

/*--画像・テキスト横並び--*/
.imageTextBox{
  display: flex;
  gap:3em;
  border:1px solid  #cccccc;
  padding: 20px;
  margin-bottom: 3em;
}

.imageTextBox .textBox{
  flex:1;
}

/*線無し*/
.imageTextBox.noborder{
  border: none;
  padding: 0;
}


/* 枠なし（2カラム） ------------------------------------------------*/
.columnbox {
  margin: 30px auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.columnbox div.text_area {
  max-width: 49%;
}
.columnbox div.photo_area {
  max-width: 49%;
  display: table;
}
.columnbox div.photo_area img {
  max-width: 470px;
  height: auto;
}
.txtbox > div:not(:first-of-type),
.columnbox > div:nth-child(2) {
  margin: 0 0 0 20px;
}
.txtbox div.photo_area .caption,
.columnbox div.photo_area .caption {
  display: table-caption;
  caption-side: bottom;
  padding: 10px 0 0;
  text-align: center;
}


/*========================================================
 Whats New
 ========================================================*/
.newsListTitle {
  display: flex;
  background: #f3f3f3;
  border-left: #dc2f3d solid 1px;
  margin: 0 0 15px 0;
  padding: 10px;
  justify-content: space-between;
}
.newsListTitle h2,
.newsListTitle h3,
.newsListTitle h4,
.newsListTitle h5,
.newsListTitle h6 {
  margin: 0;
  padding: 0;
  font-size: 2rem;
  font-weight: normal;
  background: none;
  border: none;
}

/* 一覧へ */

.newslistall a {
  padding-left: 0.75em;
  position: relative;
  display: block;
  font-size: 1.2rem;
  color: #333333;
}

.newslistall a::before {
  content: "";
  display: block;
  background: var(--theme-color-red);
  height: calc(0.5em / 2 * tan(60deg));
  width: 0.4em;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  position: absolute;
  top: 0.5em;
  left: 0;
}

/* 更新履歴　*/

.newsListCont > ul > li {
  display: block;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1em;
  margin-bottom: 1em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  background-color: #fafafa;
}
.newsListCont > ul > li:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.newsListCont {
  margin-top: 3em;
}

/* 組織について　*/

.orgListCont > ul {
  margin: 0 0 2em 2em;
}

.orgListCont > ul > li {
  display: flex;
  gap: 4em;
  width: 100%;
  padding: 0.5em 0;
}

/*========================================================
 研究部門紹介
 ========================================================*/
.photo {
  display: flex;
  gap:3em;
  margin-bottom: 1.2em;
}

.listIcon.group_list {
  font-weight: bold;
  font-size: 1.7rem;
}

.listIcon.group_list li{
  margin-bottom: 1em;
}

.listIcon.group_list a{
  color:var(--theme-fontColor-black);
}

.listIcon.group_list .gl_name{
  font-size: 1.4rem;
  font-weight: normal;
}

/*========================================================
 研究グループ紹介
 ========================================================*/

.group_container {
  margin: 10px auto;
  padding: 10px 5px;
}

.group_container .gl_name {
  font-size: 1.6rem;
}


/*========================================================
 研究成果
 ========================================================*/

/*========================================================
 サイトマップ
 ========================================================*/
/*基本設定*/
.sitemap ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sitemap li {
  list-style: none;
  line-height: 0;
  margin: 0;
  padding: 0;
  border-bottom: none;
  position: relative;
}



.sitemap ul li a {
  display: block;
  color: var(--theme-fontColor-black);
  text-decoration: none;
}
.sitemap ul li a:hover {
  text-decoration: none;
  background-color: #eeeeee;
}

.sitemap ul li a::before{
  content: "";
  display: block;
  background-color: #717070;
  height: calc(0.5em / 2 * tan(60deg));
  width: 0.4em;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  position: absolute;
  top: 1.3em;
  left: 15px;
}


/*第1階層目*/

.sitemap > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap > ul > li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sitemap > ul > li > a {
  display: block;
  margin: 0;
  padding-left: 15px;
  line-height: 2.8em;
  border-bottom: solid 1px #d7d7d7;
  font-size: 2rem;
}

.sitemap > ul > li > a::before{
  background: var(--theme-color-red);
  top: 1.3em;
  left: 0;
}

/*第2階層目*/
.sitemap > ul > li > ul > li > a {
  display: block;
  margin: 0;
  padding-left: 30px;
  line-height: 2.8em;
  border-bottom: solid 1px #d7d7d7;
  font-size: 1.8rem;
}

.sitemap > ul > li > ul > li > a::before{
  background-color: var(--theme-color-red);
  top: 1.3em;
  left: 15px;
}

/*第3階層目*/

.sitemap > ul > li > ul > li > ul > li > a {
  display: block;
  margin: 0;
  padding-left: 100px;
  line-height: 2.8em;
  border-bottom: solid 1px #d7d7d7;
  font-size: 1.7rem;
}

.sitemap > ul > li > ul > li > ul > li > a::before{
  background-color: #717070;
  top: 1.3em;
  left: 85px;
}

/*========================================================
 pagetop
 ========================================================*/
.pagetop {
  width: var(--content-area-width);
  padding:5px var(--content-area-sidePadding);
  text-align: right;
  margin: 0 auto;
}
.pagetop a,
.pagetop a:link,
.pagetop a:visited {
  font-size: 1.1rem;
  color: #666666;
  width: 85px;
  height: 48px;
  text-decoration: none;
}
.pagetop a:hover,
.pagetop a:active {
  color: #cccccc;
  text-decoration: none;
}
/* ===========================================================
 ボタン
=========================================================== */
.comBtn {
  margin-bottom: 3px;
  text-align: center;
margin: 0 auto 30px;
}

.comBtn a{
  padding: 13px 2px 10px;
  display: inline-block;
  min-width: 170px;
  color: #ffffff;
  font-size: 1.4rem;
  text-decoration: none !important;
  text-align: center;
  line-height: 1.4;
  background: url("../img/common/ico_arrow01_white.svg") #001730 no-repeat right 10px center / 7px auto;
}

.comBtn a:hover {
  opacity: 0.7;
}


/*------------------------------------------------------------
	.comBtnList
------------------------------------------------------------*/
.comBtnList {
  width: 720px;
  margin: 0 auto 2em;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.comBtnList li {
  list-style: none;
  padding: 0;
}
.comBtnList li a {
  width: 350px;
  padding: 15px 40px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-wrap: wrap;
  height: 100%;
  color: #ffffff;
  font-size: 1.4rem;
  text-align: center;
  background: #001730 url("../img/common/ico_arrow01_white.svg") no-repeat right 19px center / 7px auto;
}
.comBtnList li a span {
  margin-top: 2px;
  display: block;
  font-size: 1.2rem;
}
.comBtnList li a:hover {
  opacity: 0.7;
}

/*------------------------------------------------------------
	comTextUl
------------------------------------------------------------*/
.comTextUl {
  padding: 0;
  margin: 0;
  list-style: none;
  gap:10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.comTextUl > li {
  padding: 0;
  list-style: none;
  width: calc(50% - 10px/2);
  border: 1px solid #ccc;
}
.comTextUl .list01 {
  max-width: 100%;
  width: 100%;
}
.comTextUl > li a {
  color: #333;
  text-decoration: none;
  padding: 30px 20px 35px;
  min-height: 198px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.625;
  text-align: center;
  border-right: 25px solid #eee;
  position: relative;
  box-sizing: border-box;
}
.comTextUl > li a span.title{
  margin-bottom: 9px;
  font-size: 1.538rem;
  font-weight: bold;
  line-height: 1.6;
  display: block;
}
.comTextUl > li a::after {
  width: 14px;
  height: 14px;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  color: #eee;
  position: absolute;
  content: "";
  background: url("../img/common/ico_arrow01_black.svg") no-repeat right center / 7px auto;
}
.comTextUl > li:hover {
  border-color: #115c9e;
}
.comTextUl > li a:hover {
  color: #115c9e;
  border-color: #115c9e;
}
.comTextUl > li a:hover::after {
  background: url("../img/common/ico_arrow01_white.svg") no-repeat right center / 7px auto;
}
.comTextUl + h2 {
  margin-top: 30px;
}

/* ===========================================================
 その他
=========================================================== */

/* グレー背景テキストエリア */
.textInner {
  margin-bottom: 50px;
  padding: 30px;
  background: #f5f5f5;
}
.textInner h4 {
  color: #115c9e;
  font-size: 1.538rem;
  text-align: center;
  border: none;
  margin: 0 0 10px 0;
}

/*------------------------------------------------------------
	微調整用
------------------------------------------------------------*/

.alignRight {
  text-align: right !important;
}
.alignLeft {
  text-align: left !important;
}
.alignCenter {
  text-align: center !important;
}

.attentionRed {
  font-weight: bold;
  color: var(--theme-color-red);
}

/*------------------------------------------------------------
	スマホ閲覧対応にするための最小限の追記　_250523時点
------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  #headBody,
  #ContentPane,
  #mainBody {
    width: 100%;
    min-width: auto;
    padding: 0 1em;
  }

  .listTable {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .imageTextBox {
    flex-direction: column;
  }
}

/*------------------------------------------------------------
	テキストボックス（表紙冒頭挨拶文用）_250529時点
------------------------------------------------------------*/
.textBox {
  padding: 0.3em 0.8em;  /* 上下0.3em、左右0.8em */
  background-color: #f9f9f9;
  margin-bottom: 2em;
}


/*------------------------------------------------------------
	空白行入れる用（見た目的な空白行）_250529時点
------------------------------------------------------------*/
.spacer {
  margin-top: 0.5em;
}

/*------------------------------------------------------------
	インデント左側空白_250529時点
------------------------------------------------------------*/
ul.custom-indent {
  padding-left: 3em;
}

/*------------------------------------------------------------
	テキストボックス：センター長挨拶文の両端揃え_250530時点
------------------------------------------------------------*/
.imageTextBox.noborder .textBox > p {
  text-align: justify;
  text-justify: inter-ideograph;
}

/*------------------------------------------------------------
    研究者情報アイコン_250604版（テーマカラー対応・凡例調整微調整版）
------------------------------------------------------------*/
.profile-links {
  display: inline-flex;
  gap: 0.5em;
  margin-left: 0.5em;
  vertical-align: middle;
}

.profile-links a {
  text-decoration: none;
  color: #cf0027;  /* 通常：コーポレート赤 */
  font-size: 1.1em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.profile-links a:hover {
  color: #ff3366;  /* ホバー時：明るめの赤 */
  transform: scale(1.2);
}
/* ↓ 凡例のデザイン調整 */
.icon-legend {
  margin-top: 1.5em; /* 最新の設定を残す */
  display: flex;
  gap: 1.2em;
  font-size: 1em;
  color: #444;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

/* アイコン＋テキストをセットで並べる */
.icon-legend .legend-item {
  display: flex;
  align-items: center;
}

/* ↓ 凡例の色変更__250606 */
/* 研究者Homepage（赤） → 既存のまま維持 */

/* アイコンのスタイル */
/* 共通スタイル */
.icon-legend i,
.profile-links i {
  font-size: 1em;
  margin-right: 0.4em;
  vertical-align: middle;
  transition: color 0.2s ease;
}

/* 研究者Homepage（赤） */
.icon-legend .fa-user,
.profile-links .fa-user {
  color: #cf0027;
}
.icon-legend .fa-user:hover,
.profile-links .fa-user:hover {
  color: #ff3366;
}

/* Google Scholar：青 */
.icon-legend .fa-google,
.profile-links .fa-google {
  color: #1a73e8;
}
.icon-legend .fa-google:hover,
.profile-links .fa-google:hover {
  color: #5393f5;
}

/* Web of Science：紫 */
.icon-legend .fa-flask,
.profile-links .fa-flask {
  color: #5E33BF;
}
.icon-legend .fa-flask:hover,
.profile-links .fa-flask:hover {
  color: #7a4de0;
}

/* researchmap：淡い青グレー */
.icon-legend .fa-globe,
.profile-links .fa-globe {
  color: #8da2cc;
}
.icon-legend .fa-globe:hover,
.profile-links .fa-globe:hover {
  color: #a6b9e0;
}

/* 研究室：別赤 */
.icon-legend .fa-microscope,
.profile-links .fa-microscope {
  color: #b22439;
}
.icon-legend .fa-microscope:hover,
.profile-links .fa-microscope:hover {
  color: #e45a6b;
}

/* 凡例テキストサイズ調整 */
.icon-legend .legend-text {
  font-size: 0.92em;
}


/* 組織の表と凡例との行間調整_250604版 */
table.listTable {
  margin-bottom: 1.5em;
}

/* 名前・アイコンの位置調整（右寄せ）_250604版 */
.person-row {
  display: flex;
  justify-content: space-between; /* 左端と右端に分けて配置 */
  align-items: center;            /* 垂直中央揃え */
}

/* デフォルトは狭めにする_25060版 */
.profile-links a {
  margin-left: 0;
}
.profile-links a + a {
  margin-left: 0.1em;  /* 最小限の余白を確保 */
}

/* listTableWide では広めにする */
.listTableWide .profile-links a {
  margin-left: 0.6em;
}

.profile-links {
  white-space: nowrap;            /* 改行させない */
}

/* 凡例の外枠。右端を表の右端に合わせる */
.icon-legend-wrapper {
  width: fit-content;           /* 中身の幅だけ取る */
  margin-left: auto;            /* 右寄せ（親の中で右端にくっつける） */
  margin-right: calc((100% - 93%) / 2); /* 表と同じ右端に揃える */
  padding: 0.75em 1em;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
}

/* 中身のデザインは変更なし（元のまま） */
.icon-legend {
  display: flex;
  gap: 1.2em;
  font-size: 1em;
  color: #444;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.icon-legend i {
  color: #cf0027;
  margin-right: 0.4em;
  font-size: 1em;
  vertical-align: middle;
  position: relative;
  top: -1px; /* ← これで中央に見えるように補正 */
}
.icon-legend-wrapper {
  display: flex;               /* 追加 */
  justify-content: flex-end;
  align-items: center;         /* 枠内で上下中央に揃える */
  width: fit-content;
  margin-left: auto;
  margin-right: calc((100% - 93%) / 2);
  padding: 0.5em 1em;          /* 上下余白を少し減らす */
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
}

/* 幅100%の表の下に配置し、右端に揃えるための凡例 */
.icon-legend-wrapper-full {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: fit-content;          /* 中身の幅だけ取る */
  margin-left: auto;           /* 親要素内で右寄せ */
  margin-right: 0;             /* 100%幅なので余白なしで右端にくっつける */
  padding: 0.5em 1em;          /* 凡例内の余白は元のと同じ */
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
}

.icon-legend-wrapper::before {
  content: "凡例";
  font-weight: normal;
  margin-right: 0.75em;
  color: #666;
  position: relative;
  top: -0.3em;                  /* 上に少しずらす */
  font-size: 0.85em;
}

/* 「凡例」を同じように表示 */
.icon-legend-wrapper-full::before {
  content: "凡例";
  font-weight: normal;
  margin-right: 0.75em;
  color: #666;
  position: relative;
  top: -0.3em;                  /* 上に少しずらす */
  font-size: 0.85em;
}