/*
Theme Name: 神戸大学 産官学連携本部HP
Version: 0.0
*/

.top_page {
  padding-bottom: 10vw;
}

#top_slider {
  margin: 9vw 0 5vw;
}

/* Swiperの高さを指定する */
#top_slider .swiper {
  width: 100%;
  height: 60vh !important;
}


.home-mv,
.home-mv_img {
  position: relative;
  max-width: 1960px;
  margin: auto;
}

@media (min-width: 768px) {

  .home-mv,
  .home-mv_img {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .home-mv_img {
    display: block;
    width: 100%;
    max-height: calc(100vh - 60px);
    overflow: hidden;
  }
}

@media (min-width: 768px) {
  .home-mv_img>img {
    width: 100%;
    height: calc(100vh - 60px);
    -o-object-fit: cover;
    object-fit: cover;
  }
}

.home-mv__slider {
  overflow: hidden;
  position: relative;
  opacity: 0;
}

@media (min-width: 768px) {
  .home-mv__slider {
    width: 100%;
    height: 100vh;
  }
}

.home-mv__slider::before {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  background-color: #fff;
  z-index: 10;
}

.js_sliderload .home-mv__slider {
  opacity: 1;
}

.js_sliderload .home-mv__slider_1::before {
  opacity: 0;
  transform: translate3d(100%, 0, 0);
  transition: transform 1.08s cubic-bezier(.16, .765, 0, 1) .5s, opacity 1.08s cubic-bezier(.235, .07, .255, .94) .5s;
}

@media (min-width: 768px) {
  .js_sliderload .home-mv__slider_1::before {
    transform: translate3d(0, 100%, 0);
  }
}

.js_sliderload .home-mv__slider_2::before {
  opacity: 0;
  transform: translate3d(-100%, 0, 0);
  transition: transform 1.08s cubic-bezier(.16, .765, 0, 1) .5s, opacity 1.08s cubic-bezier(.235, .07, .255, .94) .5s;
}

@media (min-width: 768px) {
  .js_sliderload .home-mv__slider_2::before {
    transform: translate3d(0, -100%, 0);
  }
}

.home-mv__slider-item {
  display: block;
  margin: 0;
  transform: scale(1.1);
  -webkit-animation: none;
  animation: none;
}

.home-mv__slider-item.swiper-slide-active.zoom .home-mv__slider-img,
.home-mv__slider-item.swiper-slide-prev.zoom .home-mv__slider-img {
  transform: scale(1.1);
  -webkit-animation: home-mv-scale 9.8s linear both;
  animation: home-mv-scale 9.8s linear both;
}

.home-mv__slider-item.swiper-slide-active.moveup .home-mv__slider-img,
.home-mv__slider-item.swiper-slide-prev.moveup .home-mv__slider-img {
  transform: scale(1.1) translate3d(0, 5%, 0);
  -webkit-animation: home-mv-moveup 9.8s linear both;
  animation: home-mv-moveup 9.8s linear both;
}

.home-mv__slider-item.swiper-slide-active.movedown .home-mv__slider-img,
.home-mv__slider-item.swiper-slide-prev.movedown .home-mv__slider-img {
  transform: scale(1.1) translate3d(0, -5%, 0);
  -webkit-animation: home-mv-movedown 9.8s linear both;
  animation: home-mv-movedown 9.8s linear both;
}

.home-mv__slider-item.swiper-slide-active.moveleft .home-mv__slider-img,
.home-mv__slider-item.swiper-slide-prev.moveleft .home-mv__slider-img {
  transform: scale(1.1) translate3d(-5%, 0, 0);
  -webkit-animation: home-mv-moveleft 9.8s linear both;
  animation: home-mv-moveleft 9.8s linear both;
}

.home-mv__slider-item.swiper-slide-active.moveright .home-mv__slider-img,
.home-mv__slider-item.swiper-slide-prev.moveright .home-mv__slider-img {
  transform: scale(1.1) translate3d(5%, 0, 0);
  -webkit-animation: home-mv-moveright 9.8s linear both;
  animation: home-mv-moveright 9.8s linear both;
}

@media (max-width: 767.98px) {
  .home-mv__slider-item {
    aspect-ratio: 3/2;
  }
}

.home-mv__slider-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transform: scale(1.1) translate3d(0, 0, 0);
  margin-bottom: 0 !important;
}

.section_title {
  font-size: 3vw;
  font-family: Outfit, Roboto, sans-serif;
}

#top_news {
  padding-left: 1.438vw;
  padding-right: 1.438vw;
}

#top_news .important_box {
  display: flex;
  justify-content: center;
}

#top_news .important_icon {
  flex-basis: auto;
  display: flex;
  align-items: center;
  padding-right: 2vw;
  border-right: 1px solid #222;
  white-space: nowrap;
}

#top_news .important_icon::before {
  content: '';
  width: 1.438vw;
  height: 1.438vw;
  display: inline-block;
  background-image: url(./img/red_icon.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.719vw;
}

#top_news .important_item {
  display: flex;
  padding-left: 1.438vw;
  margin-bottom: 0.3vw;
}

#top_news .important_date {
  min-width: 7em;
  display: block;
}

#top_news .important_box a {
  text-decoration: unset;
  padding: .5em 0;
}

.text-right {
  text-align: right !important;
}

.col {
  flex-grow: 1;
  max-width: 100%;
}

.btn_style {
  text-decoration: unset;
  position: relative;
  padding-left: 0;
  padding-right: 1.078vw;
  width: 100%;
  max-width: 28.756vw;
  border-radius: 40px;
  border: 1px solid #222;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2em;
  min-height: 3.6em;
}

.btn_style:hover {
  background-color: #0e2f92;
  color: #FFFFFF;
  text-decoration: underline;
}

.btn_style::after {
  content: '';
  width: 20px;
  height: 20px;
  display: inline-block;
  background-image: url(./img/angle-right-solid_blue.svg);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  right: 1vw;
}

.btn_style:hover::after {
  background-image: url(./img/angle-right-solid_white.svg);
}

#top_vision {
  max-width: 80%;
  margin: auto;
  padding-left: 1.438vw;
  padding-right: 1.438vw;
  position: relative;
  border-left: 1px solid #222;
  margin-top: 6vw;
}

#top_vision .vision_sub-title {
  font-size: 1.7vw;
  font-weight: 400;
}

#top_vision .btns {
  justify-content: flex-start;
}

#top_vision .btns .col {
  width: 32%;
  max-width: 32%;
  margin: 2vw 1vw 0 0;
}

.top_page .section_text {
  font-size: 1.2vw;
}

.top_page .section_text .text_bold {
  font-size: 1.2vw;
}

#top_activities {
  margin-top: 8.627vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
}

#top_activities img {
  width: 36vw;
  height: auto;
}

#top_activities .section_right {
  position: relative;
  margin: 2vw 2vw 0 0vw;
  width: 57%;
}

#top_activities .top_text {
  font-size: 1.2vw;
  display: flex;
  margin-right: 10vw;
  justify-content: right;
}

#top_activities .top_text::before {
  content: '';
  width: 5.751vw;
  border-bottom: 1px solid #222;
  display: flex;
  padding-top: 1vw;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin-right: 2.157vw;
}

.btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#top_activities .btns .col {
  width: 48%;
  max-width: 48%;
  margin: 2vw 1vw 0 0;
}

#top_seeds {
  margin-top: 8.627vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
}

#top_seeds .section_left {
  position: relative;
  margin: 2vw 2vw 6vw auto;
  width: 57%;
  text-align: right;
  text-align: -webkit-right;
}

#top_seeds .top_text {
  font-size: 1.2vw;
  display: flex;
  margin-right: 10vw;
  justify-content: left;
}

#top_seeds .top_text::after {
  content: '';
  width: 5.751vw;
  border-bottom: 1px solid #222;
  display: flex;
  padding-top: 1vw;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin-left: 2.157vw;
}

#top_seeds .section_text {
  width: 70%;
}

#top_seeds .btns .col {
  width: 48%;
  max-width: 48%;
  margin: 2vw 1vw 0 0;
}

#top_seeds img {
  width: 36vw;
  height: auto;
}

#top_links {
  max-width: 80%;
  margin: auto;
  padding-left: 1.438vw;
  padding-right: 1.438vw;
  position: relative;
  border-left: 1px solid #222;
  margin-top: 8vw;
}

#top_links .btns::after {
  display: block;
  content: "";
  width: 30%;
  margin: 2vw 1vw 0 0;
}

#top_links .btns .col {
  width: 30%;
  max-width: 30%;
  margin: 2vw 1vw 0 0;
}

#top_links .btns .col:nth-of-type(3n) {
  margin: 2vw 0 0 0;
}

#top_contact {
  max-width: 80%;
  margin: auto;
  padding-left: 1.438vw;
  padding-right: 1.438vw;
  margin-top: 8vw;
}

#top_contact .btns {
  justify-content: center;
  text-align: -webkit-center;
}

.btn_style02 {
  text-decoration: unset;
  position: relative;
  padding-left: 0;
  padding-right: 1.078vw;
  width: 100%;
  max-width: 28.756vw;
  border-radius: 50px;
  border: 1px solid #222;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.6em;
  min-height: 3.6em;
  padding: 1vw 0;
}

.btn_style02 .in {
  color: #1916EB;
}

.btn_style02 .out {
  color: #17AF19;
}

.btn_style02:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.btn_style02.in:hover {
  background-color: #1916EB;
}

.btn_style02.out:hover {
  background-color: #17AF19;
}

/* lower_layer */
.lower_layer {
  margin: 11vw 8vw 8vw;
}

.lower_layer nav p {
  font-size: 1vw;
}

.lower_layer h1 {
  text-align: center;
  font-size: 2vw;
  margin: 4vw auto;
}

.lower_layer h2 {
  font-weight: 400;
  font-size: 2vw;
  margin: 4vw auto;
  border-left: 1px solid #222;
  padding: 0.5vw 1.5vw;
}

.lower_layer p {
  font-size: 1.2vw;
}

.lower_layer .font-weight-bold {
  font-size: 1.2vw;
  font-weight: bold;
}

.lower_layer p a {
  font-size: 1.2vw;
  text-decoration: underline;
}

.lower_layer a {
  font-size: 1.2vw;
  text-decoration: underline;
}

.lower_layer_img {
  display: block;
  text-align: center;
}

/*__about 組織図サイズ調整*/
.lower_layer_img_structure {
  display: block;
  margin: 0 auto;
  width: 80%;
}

.lower_layer_img_structure img {
  display: block;
  margin: 0 auto;
}

/*__entrepreneur 画像サイズ調整*/
.entrepreneur_img {
  text-align: left;
  margin: 0 auto;
}

.lower_layer_img.entrepreneur_img img {
  width: 25vw;
  box-sizing: border-box;
}

.lower_layer_img img {
  width: 50vw;
  height: auto;
}

#lower_layer_contact {
  max-width: 80%;
  margin: auto;
  padding-left: 1.438vw;
  padding-right: 1.438vw;
  margin-top: 8vw;
}

/*表のCSS移植*/
table.table05 {
	border-collapse:collapse;
	width:100%;
	margin:0 auto;
	border-left: solid 1px #D2D2D2;
	border-top: solid 1px #D2D2D2;
}
table.table05 th,table.table05 td{
	border-right: solid 1px #D2D2D2;
	padding: 10px;
  font-size: 1.2vw;
}
table.table05 tr{
	border-bottom: solid 1px #D2D2D2;
}
table.table05 tr:nth-child(odd){
	background: #F1F1F1;
}
table.table05 th{
	background: #575757;
	color: #fff;
}
table.table05 a{
	text-decoration: none;
	color: #000;
}
table.table05 a:hover{
	opacity: 0.6;
	transition: 0.2s;
}

/*共同研究ページの表*/
table.table06 {
  border-collapse: collapse;
  width: 100%;
  margin: 0 auto;
  border-left: solid 1px #D2D2D2;
  border-right: solid 1px #D2D2D2;
  border-top: solid 1px #D2D2D2;
  table-layout: fixed; /* 列幅を固定 */
}

table.table06 th,
table.table06 td {
  border-right: solid 1px #D2D2D2;
  padding: 10px;
  font-size: 1vw;
  word-wrap: break-word;
}

table.table06 tr {
  border-bottom: solid 1px #D2D2D2;
}

/* 左端の列（1列目）のセルだけ中央揃えにする */
table.table06 td:first-child {
  text-align: center;
}

table.table06 tr:nth-child(odd) {
  background: #F1F1F1;
}

table.table06 th {
  background: #575757;
  color: #fff;
  text-align: center;
}

table.table06 a {
  text-decoration: none;
  color: #000;
}

table.table06 a:hover {
  opacity: 0.6;
  transition: 0.2s;
}


/*本部長名サイズ調整__*/
.about_greeting_name {
  font-size: 1.6vw !important;
}

/*__本部長名サイズ調整*/

.indent-1em {
  display: inline-block;
  /* 改行後の“ひとかたまり”として扱う */
  margin-left: 1em;
  /* 1文字＝1em 相当で右へ */
}

.news .news_list {
  padding-left: 0;
}

.news .news_list li {
  margin-bottom: 1vw;
}


.news .news_list li .news_title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  width: 77%;
}

.news .news_list li .news_date {
  padding-right: 5vw;
}

.search h1 {
  position: relative;
  text-align: center;
  letter-spacing: .02em;
  padding-bottom: 2vw;
  margin-top: 2vw;
}

.search .page-tit_ja {
  font-weight: 400;
  display: block;
  font-size: 1.6vw;
  margin-top: 3vw;
}

.search .page-tit_en {
  font-weight: 300;
  display: block;
  font-size: 4vw;
}

.search h1::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  width: 5vw;
  height: 2px;
  background: #222;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

#search_box {
  margin: 0 auto;
  text-align: center;
}

#search_box tbody {
  margin-top: 0;
  border-bottom: none !important;
  margin-bottom: 0 !important;
  height: 6.7vw;
}

#___gcse_0 .gsc-input-box {
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 5px;
  margin: 0;
  margin-right: 10px;
  border-color: #999;
}

#___gcse_0 .gsc-control-wrapper-cse form {
  box-sizing: border-box !important;
  max-width: 55vw;
  margin: auto;
}

#___gcse_0 .gsc-search-button-v2 {
  background-color: var(--theme, #0e2f92);
  border-color: var(--theme, #0e2f92);
  border-radius: 0;
  padding: 1.9vw;
  border-radius: 5px;
}

.gsib_a {
  padding: 1vw;
}

#___gcse_0 .gsc-search-button svg {
  width: 2.95vw;
  height: 2.95vw;
}


@media all and (max-width: 670px) {
  .section_title {
    font-size: 11vw;
  }

  .top_page .section_text {
    font-size: 3.5vw;
  }

  .top_page .section_text .text_bold {
    font-size: 3.5vw;
  }

  #top_slider {
    margin-bottom: 12vw;
  }

  #top_news {
    padding-left: 7.5vw;
    padding-right: 7.5vw;
  }

  #top_news .important_box {
    display: block;
  }

  #top_news .important_icon {
    border: unset;
    font-size: 4vw;
  }

  #top_news .important_icon::before {
    width: 6vw;
    height: 6vw;
    margin-right: 5vw;
  }

  #top_news .important_list {
    margin-top: 5vw;
  }

  #top_vision {
    max-width: 90%;
    padding-left: 4.5vw;
    padding-right: 4.5vw;
    margin-top: 12vw;
  }

  #top_vision .vision_sub-title {
    font-size: 5.7vw;
  }

  .btn_style {
    max-width: 77vw;
    border-radius: 3.4vw;
    font-size: 2.4vw;
    padding: 2vw 8vw 2vw 5vw;
    min-height: 11vw;
  }

  #top_vision .btns {
    justify-content: space-between;
  }

  #top_vision .btns .col {
    width: 47%;
    max-width: 47%;
  }

  #top_activities {
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 12vw;
  }

  #top_activities .section_right {
    margin: 0 auto;
    width: 90%;
  }

  #top_activities .top_text {
    font-size: 3.2vw;
    display: flex;
    margin-right: 0;
    justify-content: right;
  }

  #top_activities .top_text::before {
    padding-top: 2vw;
  }

  #top_activities img {
    width: 73vw;
    margin: 0 auto 3vw;
  }

  #top_seeds {
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 12vw;
  }

  #top_seeds .section_left {
    margin: 0 auto;
    width: 90%;
  }

  #top_seeds .top_text {
    font-size: 3.2vw;
    display: flex;
    margin-left: 0;
    justify-content: left;
  }

  #top_seeds .top_text::before {
    padding-top: 2vw;
  }

  #top_seeds .section_text {
    width: 100%;
  }

  #top_seeds img {
    width: 73vw;
    margin: 0 auto 3vw;
  }

  #top_links {
    padding-left: 4.5vw;
    padding-right: 4.5vw;
    margin-top: 12vw;
    max-width: 90%;
  }

  #top_links .btns::after {
    display: block;
    content: "";
    width: 48%;
    margin: 3vw 1vw 0 0;
  }

  #top_links .btns .col {
    width: 48%;
    max-width: 48%;
    margin: 3vw 1vw 0 0;
  }

  #top_links .btns .col:nth-of-type(3n) {
    margin: 3vw 1vw 0 0;
  }

  #top_contact {
    max-width: 90%;
  }

  .btn_style02 {
    max-width: 40vw;
    line-height: 1.4em;
    padding: 3vw 0;
  }

  .btn_style02.in {
    color: #1916EB;
  }

  .btn_style02.out {
    color: #17AF19;
  }

  .lower_layer {
    margin: 19vw 8vw 12vw;
  }

  .lower_layer_nav a {
    font-size: 2.5vw;
  }

  .lower_layer h1 {
    font-size: 5.5vw;
    margin: 10vw auto;
  }

  .lower_layer h2 {
    font-size: 5vw;
    margin: 6vw auto;
    padding: 2.5vw 2.5vw;
  }

  .lower_layer p {
    font-size: 3.2vw;
  }

  .lower_layer .font-weight-bold {
    font-size: 3.2vw;
    font-weight: bold;
  }

  .lower_layer p a {
    font-size: 3.2vw;
  }

  .lower_layer_img img {
    width: 88vw;
    max-width: 100%;
  }

  #lower_layer_contact {
    max-width: 100%;
    padding: 0;
  }

  /*本部長名サイズ調整__*/
  .about_greeting_name {
    font-size: 4.4vw !important;
  }

  /*__本部長名サイズ調整*/

  #lower_layer_contact .col {
    display: flex;
    justify-content: center;
  }

  .news .news_list li .news_date {
    padding-right: 3vw;
  }

  /*__entrepreneur 画像サイズ調整*/
  .entrepreneur_img {
    width: 60vw;
  }

  .search h1 {
    padding-bottom: 5vw;
  }

  .search .page-tit_ja {
    font-size: 3vw;
    margin-top: 3vw;
  }

  .search .page-tit_en {
    font-size: 8vw;
  }

  .search h1::after {
    width: 10vw;
  }
}

/* 共通設定：一応の初期値として記載（任意） */
:target {
  scroll-margin-top: 11vw;
}

/* スマートフォン向け：幅768px未満に対して適用 */
@media screen and (max-width: 767px) {
  :target {
    scroll-margin-top: 19vw;
  }
}