/* CSS Document */
/* =============================================

research

=============================================*/
.research + .footer {
  margin-top: 0;
}
.research {
  position: relative;
  z-index: 0;
}
.research:before {
  content: "";
  display: block;
  position: absolute;
  border-top: 1px solid #ff005d;
  width: 340px;
  transform: rotate(-45deg);
  left: -70px;
  top: 820px;
  z-index: -1;
}
.research .pagettl {
  background-image: url("../images/research_and_training/bg-pagettl_pc.jpg");
}

.research .category-index .category-index--inner .title .en {
  max-width: 340px;
}

.index-section .headline:after {
  background: #ff80ae;
}
.index-section .indexlist li a {
  border: 1px solid #ff80ae;
}
.index-section .indexlist li .txt {
  background: #ff80ae;
}
.index-section .indexlist li .txt.thin {
  letter-spacing: -1px;
  padding: 0 20px 0 5px;
}

.pagettl .title span.en {
  font-size: 4em;
}

.pagettl .title {
  right: 3% !important;
}

.maxw950 {
  max-width: 950px !important;
}

.category-index {
  padding-bottom: 0;
}

@media screen and (max-width: 1024px) {
  .pagettl .title {
    right: 3%;
  }
  .pagettl .title span.en {
    font-size: 3.5em;
  }
}

@media screen and (max-width: 767px) {
  .research .pagettl {
    background-image: url(../images/research_and_training/bg-pagettl_sp.jpg);
  }
  .research:before {
    top: 580px;
    width: 160px;
  }
  .index-anchor li:last-child {
    width: 62%;
  }
  .category-index:after {
    display: none;
  }
  .index-section .indexlist li .txt.thin {
    padding: 0 12px 0 5px;
  }
}
.category-index:after {
  border-top: 1px solid #ff005d;
}
.research + .footer:before {
  border-top: 1px solid #ff005d;
}

/* flex追加 */
.flex {
  justify-content: center;
}

.add_baseline {
  align-items: baseline;
}

.flex_img {
  width: 300px;
}

.flex_text {
  width: 55%;
}

.flex_text p {
  margin: 0 20px 20px 20px;
}

/* アコーディオンボックス */

.accordion {
  margin: 3em auto;
  max-width: 75vw;
}
/*20260831追加*/
@media screen and (max-width: 767px) {
  .accordion {
  margin: 3em auto;
  max-width: 100vw;
}
}
.toggles {
  display: none;
}
.option {
  position: relative;
  margin-bottom: 5em;
}
.accordion_title,
.content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
}
.accordion_title {
  border: solid 1px #ccc;
  padding: 1em;
  display: block;
  color: #fff;
  font-weight: bold;
  background-color: #ff669c;
  font-size: 2em;
}
.accordion_title::after,
.accordion_title::before {
  content: "";
  position: absolute;
  right: 1.25em;
  top: 1.25em;
  width: 2px;
  height: 0.75em;
  background-color: #fff;
  transition: all 0.3s;
}
.accordion_title::after {
  transform: rotate(90deg);
}
.content {
  max-height: 0;
  overflow: hidden;
}
.content p {
  margin: 20px;
  font-size: 1.6em;
  line-height: 1.5;
}
.toggles:checked + .accordion_title + .content {
  max-height: max-content;
  transition: all 1.5s;
  border: solid 1px #707070;
}
.toggles:checked + .accordion_title::before {
  transform: rotate(90deg) !important;
}

.linkbtn {
  display: block;
  margin: 0 auto;
  position: relative;
  text-decoration: none;
  max-width: 360px;
}

.linkbtn span {
  line-height: 1;
  color: #000;
  position: relative;
  background-color: #fff;
  border: 1px solid #000;
  font-weight: 600;
  font-size: 1.6em;
  padding: 10px 20px;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  max-width: 360px;
  text-align: center;
}

.mgb5 {
  margin-bottom: 5em;
}

.mgb40 {
  margin-bottom: 40px;
}

/* table */

/*table {
  width: 95%;
  font-size: 1.3em;
  margin: 0 auto 40px auto;
}

table th {
  background-color: #d7d2d2;
  text-align: center;
  padding: 10px;
}
table th.subtil {
  background-color:transparent;
  text-align: center;
  padding: 10px;
}
table td {
  padding: 10px;
  text-align: center;
}

.center {
  text-align: center;
  width: 5%;
}

.gray {
  background-color: #f4f4f4;
}

.table_text {
  width: 49%;
}

.box1,
.box2 {
  width: 50%;
}*/

/* リード文 */
.research_lead {
  font-size: 1.6em;
  margin: 20px !important;
}

.research_leads {
  font-size: 1.6em;
  margin: 20px 20px 5px 20px !important;
}
/* 余白 */
.linkbtn {
  margin-bottom: 40px;
}

.w10 {
  width: 10%;
}

.mg0 {
  margin: 0 !important;
}

.mg20 {
  margin: 20px 0 40px 0 !important;
}

/*.scroll {
  margin: 20px 20px 40px 20px;
}*/

/*@media screen and (max-width: 767px) {
  .accordion {
    max-width: 100%;
  }
  table th {
    display: block;
  }
  table td {
    display: block;
  }
  .box1,
  .box2,
  .table_text,
  .flex_text {
    width: 100%;
  }
  .flex_img {
    width: 95%;
    margin: 0 auto;
  }
  .center {
    width: 100%;
  }
  .w10 {
    width: 100%;
  }
  .scroll {
    overflow-x: scroll;
    padding-bottom: 20px;
  }
  .y {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
  }
  .t-y {
    display: revert;
  }
  .linkbtn {
    margin: 20px 20px 40px 20px !important;
  }
}*/

/*研究資金*/
.content-funds {
  margin: 0 auto;
  max-width: 970px;
}
.mgb8 {
  margin-bottom: 8em;
}

.anchor-center {
  justify-content: center !important;
}

/*20260520追加*/
a.is-external::after {
  content: "";
  display: inline-block;
  background-image: url(/assets/images/top/external_icon.svg);
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 10px;
  width: 10px;
  height: 10px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*20260831追加*/
details.nest-box {
    border: 1px solid #ccc;
    margin-bottom: 5rem;
    /*padding: 0.5em;*/
}

details.nest-box summary {
        position: relative;
        list-style: none;
        /*padding-left: 24px;*/
        padding: 1em;
        cursor: pointer;
        background-color: #ff669c;
        color: #fff;
        font-size: 2rem;
        font-weight: bold;
    }

details.nest-box summary::-webkit-details-marker {
        display: none;
    }

    /* 横線 */
details.nest-box summary::before,
details.nest-box summary::after {
        content: "";
        position: absolute;
        right: 2rem;
        top: 50%;
        width: 15px;
        height: 2px;
        background: #FFF;
    }

    /* 縦線 */
details.nest-box summary::after {
        transform: rotate(90deg);
        transition: transform 0.3s ease;
    }

    /* 開いたら縦線を消す */
    details[open] summary::after {
        transform: rotate(0deg);
    }

    p {
        margin: 0;
        padding: 1em;
    }

    /*テーブル*/
.table-wrap {
  padding: 0 2rem 2rem;
  width:100%;
  overflow-x: auto; /* はみ出たときに横スクロールさせる */
  -webkit-overflow-scrolling: touch; /* スマホで滑らかにスクロールさせる */
}
.tbl_01 {
  border:1px solid #000;
  border-collapse: collapse;
  margin: 0;
  width: 100%;
  font-size: 1.3em;
}
.tbl_01 tr,.tbl_01 th, .tbl_01 td{
  border:1px solid #000;
  padding: 1rem;
  text-align: center;
}
.tbl_01 tbody tr:nth-child(even) {
  background-color: #f4f4f4;
}
.tbl_01 thead {
  background-color:#d7d2d2;
}
@media screen and (max-width: 768px) {
  .tbl_01 th, .tbl_01 td{
    border-top:0px solid #000;
    border-left:0px solid #000;
    border-right:0px solid #000;
    border-bottom:1px dotted #000;
  }
  .tbl_01 th:last-child, .tbl_01 td:last-child{
    border-bottom:none;
  }
  .tbl_01 tr{
  border-top:0px solid #000;
    border-left:0px solid #000;
    border-right:0px solid #000;
  }
  .tbl_01 th, .tbl_01 td{
    display: block;
    width:100%;
  }
  .tbl_01 th.nobg, .tbl_01 td{
    text-align: center;
  }

}
.tbl_02 {
  border:1px solid #000;
  border-collapse: collapse;
  margin: 0;
  width: 100%;
  font-size: 1.3em;
}
.tbl_02 tr,.tbl_02 th, .tbl_02 td{
  border:1px solid #000;
  padding: 1rem;
  text-align: center;
}
.tbl_02 tbody tr:nth-child(even) {
  background-color: #f4f4f4;
}
.tbl_02 thead {
  background-color:#d7d2d2;
}

.layout_box {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
}
.layout_box .box01 {
  width:50%;
  padding: 2rem;
}
@media screen and (max-width: 767px) {
  .layout_box {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}
.layout_box .box01 {
  width:100%;
  padding: 0rem;
}
.link-mgt {
  padding: 2rem;
}
}