@charset "UTF-8";

/* 学術誌論文 */

.ref-page {
  max-width: 1060px;
  margin-inline: auto;
}

.ref-page .main-content {
  max-width: none;
  margin-inline: 0;
  width: 100%;
}

.ref-page .read {
  margin-bottom: 1em;
  line-height: 1.7;
}

/* 分野見出し（style.css の h2 左線を上書き） */
.ref-page h2 {
  display: flex;
  align-items: center;
  margin: 0 0 30px;
  padding: 5px 10px;
  border: 0;
  border-radius: 5px;
  background-color: #7189f3;
  background-image: none;
  color: #fff;
}

.ref-page h2::before {
  display: none;
}

.ref-page h2.m50-t {
  margin-top: 50px;
}

.ref-page h2 img {
  width: 35px;
  margin-right: 10px;
  border-radius: 5px;
}

.ref-page h3 {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 20px;
}

.ref-page .stress {
  background: linear-gradient(transparent 70%, #ffff00 0%);
}

/* 検索・フィルター */
.ref-page .toolsearch {
  margin-bottom: 20px;
}

.ref-page .keyword-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.ref-page .keyword-search-row input[type="text"] {
  flex: 1 1 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.ref-page .keyword-search-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.ref-page .keyword-search-row label {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin: 0;
}

.ref-page .serch_button {
  cursor: pointer;
}

@media (min-width: 768px) {
  .ref-page .keyword-search-row {
    flex-wrap: nowrap;
  }

  .ref-page .keyword-search-row input[type="text"] {
    flex: 1 1 auto;
    width: auto;
  }

  .ref-page .keyword-search-actions {
    flex-shrink: 0;
  }
}

.ref-page #RESULT {
  font-size: 16px;
  font-weight: bold;
}

.ref-page #tags {
  list-style-type: none;
  text-align: center;
  margin: 0 0 24px;
  padding: 0;
}

.ref-page #tags li {
  display: inline-block;
  width: 150px;
  height: 30px;
  padding: 0 10px;
  cursor: pointer;
  border-radius: 5px;
  background-color: #7189f3;
  color: #eeeef7;
  font-weight: bold;
  box-sizing: border-box;
}

.ref-page #tags .select {
  background-color: coral;
}

@media (max-width: 767px) {
  .ref-page #tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0;
  }

  .ref-page #tags li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 30px;
    height: auto;
    padding: 6px 8px;
    font-size: 13px;
    line-height: 1.3;
  }
}

.ref-page .tbox {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0;
}

.ref-page .tbox > li {
  margin: 0;
  padding: 0;
}

.ref-page .toolchip,
.ref-page .toolchip2,
.ref-page .toolchip3 {
  display: none;
  position: absolute;
  padding: 7px 10px;
  border: solid 3px #7189f3;
  border-radius: 10px;
  background: #fff;
  color: #000;
  font-size: 12px;
  line-height: 2;
  z-index: 20;
}

.ref-page .toolchip {
  top: -50px;
  left: 28%;
}

.ref-page .toolchip2 {
  top: -45px;
  left: 28%;
}

.ref-page .toolchip3 {
  width: 130px;
  top: -30px;
  left: -130px;
}

.ref-page .toolsearch:hover .toolchip,
.ref-page .tag_filter:hover .toolchip2 {
  display: inline-block;
}

/* 分野アイコン一覧 */
.ref-page .adaptbox {
  display: table;
  width: 100%;
  margin: 0 0 20px !important;
  padding: 10px;
  list-style-type: none;
  border-radius: 8px;
  background-color: #7189f3;
  font-size: 16px;
  line-height: 1;
  overflow: visible;
}

.ref-page .adaptbox > li {
  display: table-cell;
  float: none;
  width: auto;
  text-align: center;
  border-bottom: 5px solid #7189f3;
  font-size: 14px;
  vertical-align: top;
}

.ref-page .adaptbox > li:hover {
  border-bottom-color: blueviolet;
}

.ref-page .adaptbox a {
  display: block;
  color: #fff;
  text-decoration: none;
}

.ref-page .adaptbox li img {
  display: block;
  width: 45px;
  margin: 0 auto 10px;
  border-radius: 8px;
}

.ref-page .adaptbox li span {
  display: block;
  font-size: 14px;
}

.ref-page .field_cat {
  position: relative;
}

.ref-page .field_cat ul {
  list-style: none;
}

.ref-page .field_cat > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 400px;
  max-width: min(400px, 90vw);
  margin-top: 0;
  padding: 7px;
  border: solid 3px #7189f3;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  line-height: 1.6;
  color: #000;
  box-sizing: border-box;
  text-align: left;
  z-index: 15;
}

.ref-page .bc_name {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  font-weight: bold;
  text-align: left;
}

.ref-page .bcn {
  background-color: #7189f3;
  color: #fff;
}

.ref-page .sc_names {
  position: relative;
  margin: 0;
  padding: 4px;
  overflow: hidden;
  list-style: none;
  border: 1px solid #7189f3;
  color: #555;
  background-color: #fff;
}

.ref-page .bc_name ul li {
  width: 50%;
  margin: 0;
  padding: 1px;
}

.ref-page .bc_name ul li:nth-child(odd) {
  float: left;
  clear: left;
}

.ref-page .bc_name ul li:nth-child(even) {
  float: left;
}

.ref-page .pop_je > li:nth-child(2n + 4) {
  float: left;
  clear: left;
  width: 50%;
  padding: 0 2px 0 0;
}

.ref-page .pop_je > li:nth-child(2n + 5) {
  float: left;
  width: 50%;
  padding: 0 0 0 2px;
}

.ref-page .pop_ji > li:nth-child(3n + 3) {
  float: left;
  clear: left;
  width: 50%;
  padding: 0 2px 0 0;
}

.ref-page .pop_ji > li:nth-child(3n + 4) {
  float: left;
  width: 50%;
  padding: 0 0 0 2px;
}

@media (max-width: 767px) {
  .ref-page .adaptbox {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
  }

  .ref-page .adaptbox > li {
    display: block;
    flex: 0 0 50%;
    width: 50%;
    box-sizing: border-box;
    padding: 4px;
  }

  .ref-page .adaptbox li span {
    font-size: 12px;
  }
}

/* 分野内サブメニュー */
.ref-page .tool-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.ref-page .tool-menu li {
  display: inline-block;
  margin: 1% 2px;
  padding: 0 10px;
  border-radius: 5px;
  background-color: #f5f5f5;
}

.ref-page .tool-menu li a {
  padding: 3px 20px 3px 10px;
  color: #7189f3;
}

.ref-page .bigblock ~ .bigblock {
  margin-top: 20px;
}

/* アコーディオン（文献一覧） */
.ref-page .impactbox .accordion {
  margin: 0 0 20px;
}

.ref-page .impactbox .accordion summary {
  font-size: 18px;
}

.ref-page .impactbox .accordion summary span {
  font-size: 14px;
  font-weight: 600;
}

.ref-page .impactbox .accordion-body {
  padding: 0 0 10px;
}

/* 文献テーブル */
.ref-page .tbl-literature {
  width: 100%;
  margin: 20px 0 0;
  border: 0;
  border-collapse: collapse;
  font-size: 16px;
}

.ref-page .tbl-literature ~ .tbl-literature {
  margin-top: 30px;
}

.ref-page .tbl-literature caption {
  text-align: left;
}

.ref-page .tbl-literature td:nth-child(1) {
  width: 94%;
}

.ref-page .tbl-literature td:nth-child(2) {
  width: 40px;
  padding: 2px;
  text-align: center;
}

.ref-page .tbl-literature td div {
  position: relative;
  min-width: 10px;
  cursor: pointer;
}

.ref-page .tbl-literature td .seach-btn:hover {
  cursor: pointer;
}

.ref-page .year,
.ref-page .area {
  text-align: center;
}

.ref-page .patent td {
  background-color: #ecf7ff;
}

.ref-page .future td {
  background-color: #fefbde;
}

.ref-page .patent tr.noneitem td:first-child,
.ref-page .future tr.noneitem td:first-child {
  border-right: 1px #ddd solid;
}

.ref-page .patent tr.noneitem td {
  border-right-color: #ecf7ff;
}

.ref-page .future tr.noneitem td {
  border-right-color: #fefbde;
}
