@charset "utf-8";
/* CSS Document */

form#research-category-form label {
  font-size: 0.9em;
  color: var(--black);
}

form#research-category-form {
  background: #ededed;
  padding: 10px;
  border-radius: 10px;
  position: static;
}

form#research-category-form p {
  color: var(--blue);
  border-bottom: 1px solid;
  margin: 0 0 10px 0;
}

ul.research-list {
  display: grid;
  gap: 30px;
}

.r_department-sea-animal {
  background: #4ea1ab;
}

.department > span {
  border-radius: 24px;
  font-size: 0.75em;
  padding: 0 5px 0;
  box-sizing: border-box;
  display: inline;
  color: var(--white);
  text-align: center;
}

.r_department-aquaculture {
  background: #216095;
}

.r_department-future-alignment,
.r_department-future {
  background: #df983d;
}

.r_department-development-d_enagy,
.r_department-development-structural {
  background: #935999;
}

.r_department-use-2-enagy,
.r_department-use-2-mecha,
.r_department-use-2-fisheries {
  background: #e1ca15;
}

.r_department-sea-environment {
  background: #f59b9b;
}

.department span.parent {
  padding: 0 0 0 0;
  line-height: 1.8;
}

.department {
  display: grid;
  gap: 5px;
  margin: 0 auto 20px;
}

.department.d02 {
  display: none;
}

.r-top {
  display: flex;
}

.r-top figure {
  width: 30%;
  border-radius: 10px;
  overflow: hidden;
}

.r-top .name {
  width: 70%;
  padding: 0 0 0 3%;
}

.r-top .name ruby {
  display: block;
  font-size: 0.8em;
  color: #839eb3;
  line-height: 1.5;
}

.r-top .name .potision_top {
  font-size: 0.8em;
  color: var(--text-gray);
}

.r-top .name h5:before {
  content: none;
}

.r-top .name h5 {
  padding: 0;
}

.r_text {
  margin: 20px auto 0;
}

.r_text a.button {
  max-width: none;
}

.dl-wrap dl dt {
  background: #cfe1ef;
}

.dl-wrap dl dd {
  background: var(--white);
}

.dl-wrap dl dt,
.dl-wrap dl dd {
  padding: 5px 10px;
  font-size: 0.9em;
  color: var(--black);
}

.dl-wrap dl:last-child {
  border-bottom: none;
}

.dl-wrap {
  margin: 0 0 20px 0;
}

.dl-wrap dl dd ol li {
  background: none;
  padding: 0;
}

.dl-wrap dl dd ol li a {
  border: 1px solid var(--blue);
  display: block;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  color: var(--blue);
  font-size: 0.9em;
  font-weight: var(--fw-medium);
  background: var(--white);
  transition: 0.4s;
}

.dl-wrap dl dd ol li a i {
  padding: 0 0 0 10px;
}

.dl-wrap dl dd ol li a:hover {
  color: var(--white);
  background: var(--blue);
}

.dl-wrap dl dd ol {
  margin: 10px auto;
}

.dl-wrap dl dd ol li:nth-child(2) {
  margin: 10px auto 0;
}

ul.research-list li {
  background: #f4faff;
  padding: 10px;
  border-radius: 10px;
}

#research-results {
  margin: 30px auto 0;
}

.s-button-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 20px 0;
}

.s-button-wrap .facebook {
  width: 15%;
  text-align: center;
  margin: 0 20px 0 0;
}

.s-button-wrap .hp {
  width: 100%;
}

.s-button-wrap .hp a.button {
  padding: 7px;
  background: #fff;
  border: 1px solid var(--blue);
  color: var(--blue);
}

.s-button-wrap .hp a.button:hover {
  background: var(--blue);
  border: 1px solid var(--blue);
  color: var(--white);
}

@media screen and (min-width: 550px) {
  .all-button-wrap {
    display: flex;
    justify-content: space-between;
  }

  .all-button-wrap .s-button-wrap {
    width: 49%;
    margin: 0;
  }

  .all-button-wrap .button-box {
    width: 48%;
  }

  .s-button-wrap .hp {
    width: 100%;
    margin: 0;
  }

  .s-button-wrap .facebook {
    width: 13%;
    margin: 0 7% 0 1%;
  }

  .s-button-wrap .hp a.button {
    padding: 17px;
  }
}

@media screen and (min-width: 767px) {
  .wp-block-columns {
    width: 100%;
    display: block;
  }

  .templatebox {
    max-width: 1200px;
    margin: auto;
  }

  ul.research-list li {
    padding: 20px;
  }

  .department {
    display: flex;
  }

  .department > span {
    padding: 0 14px;
    font-size: 0.8em;
  }

  .r-top .name h5 {
    font-size: 1.3em;
  }

  .r-top .name ruby {
    font-size: 60%;
    display: inline;
    padding: 0 0 0 10px;
  }

  .r-top .name .potision_top {
    font-size: 0.9em;
  }

  .r-top figure {
    width: 20%;
  }

  .r-top .name {
    width: 80%;
  }

  .dl-wrap dl {
    display: flex;
    border-bottom: 1px dashed #b5c5d1;
  }

  .dl-wrap dl dt {
    width: 20%;
    background: #cfe1ef;
  }

  .dl-wrap dl dd {
    width: 80%;
  }

  .dl-wrap dl dt,
  .dl-wrap dl dd {
    padding: 10px;
  }

  .dl-wrap dl dd ol {
    display: grid;
    gap: 10px;
  }

  .dl-wrap dl dd ol li:nth-child(2) {
    margin: 0;
  }

  .r_text a.button {
    max-width: none;
  }

  .dl-wrap dl dd ol li a {
    font-size: 1em;
  }
}

@media screen and (min-width: 1100px) {
  .templatebox.researchbox {
    display: flex;
    flex-direction: column;
    position: relative;
  }

  form#research-category-form {
    width: 240px;
    position: sticky;
    background: none;
    border-radius: 0;
    padding: 0;
    top: 130px;
    height: 0;
    flex-shrink: 0;
    transition: 0.4s;
  }

  form#research-category-form.stop {
    position: absolute;
    bottom: 400px;
    top: inherit;
    left: 0;
  }

  form#research-category-form p {
    font-weight: var(--fw-bold);
  }

  #research-results {
    margin: 0 0 0 auto;
    padding: 0 0 0 5%;
    width: 78%;
    flex: 1;
    overflow-y: auto;
    right: 0;
  }
  .department.d01 {
    display: none;
  }

  .department.d02 {
    display: flex;
  }

  .department > span {
    font-size: 0.75em;
  }
}

@media screen and (min-width: 1200px) {
  form#research-category-form {
    width: 335px;
  }

  #research-results {
    width: 71%;
  }
}

@media screen and (min-width: 1699px) {
}
