/*
 Theme Name:   Innovassist Theme
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme
 Author:       AIDMA
 Author URI:   https://aidma.net
 Template:     understrap
 Version:      1.0.1
*/
.grecaptcha-badge {
  visibility: hidden;
}
.c-hover a:hover {
  opacity: 0.7;
  color: #fff;
}
/** TOPページ */
body.home #mv {
  height: 50vh;
}
body.home #mv .mv-content {
  top: 35%;
}
body.blog .entry-header-top {
  background-image: url(images/single_top.jpg);
}
.home-schedule {
  padding-bottom: 30px;
}
.home-schedule table {
  max-width: 680px;
  margin: 0 auto;
  background-color: #fff;
}
.home-schedule th {
  background-color: #c81528;
  color: #fff;
}
.home-schedule th,
.home-schedule td {
  padding: 10px 15px !important;
  border: 1px solid #ccc;
  text-align: left;
}
.home-report--text {
  padding-top: 1em;
  font-weight: bold;
}
.home-report--text a {
  color: #c81528;
}
.home-topix {
  max-width: 680px;
  margin: 0 auto;
}
.home-topix .wp-block-column:last-child {
  display: none;
}
.home .news_date_category {
  display: flex;
}

.home .news_date_category .news_category {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px 8px;
  min-width: 100px;
  font-size: 14px;
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
}
.home .news_date_category .news_category.news {
  background-color: #e69138;
}
.home .news_date_category .news_category.topics {
  background-color: #e69138;
}
.home .news_date_category .news_category.award-report {
  background-color: #3c78d8;
}
.home .news_date_category .news_category.award,
.home .news_date_category .news_category.award-info {
  background-color: #0097a7;
}

.cat-links.cat-topics {
  background-color: #e69138;
  color: #fff;
  border: 0;
}
.cat-links.cat-award-report {
  background-color: #3c78d8;
  color: #fff;
  border: 0;
}
.cat-links.cat-award {
  background-color: #0097a7;
  color: #fff;
  border: 0;
}

body.archive .entry-header {
  margin-bottom: 0;
}
body.archive .entry-footer {
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  .home-schedule table,
  .home-schedule thead,
  .home-schedule tbody,
  .home-schedule th,
  .home-schedule td,
  .home-schedule tr {
    display: block;
  }
  .home-schedule th,
  .home-schedule td {
    border: 0 !important;
  }
  .home-report--text {
    padding-top: 2em;
  }
  body.home #mv {
    height: 55vh;
  }
  body.home #mv .mv-content {
    top: 45%;
  }
}

ul#main-menu li:nth-last-child(2) a {
  color: #fff;
  background-color: #03346a;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 5px;
}

ul#main-menu li:last-child a {
  background-color: #686a03;
}
.cv .wp-block-buttons .wp-block-button .wp-block-button__link.blue:hover {
  color: #fff;
}
.cv .wp-block-buttons .wp-block-button .wp-block-button__link.green:hover {
  color: #fff;
}
.wp-block-button__link.wp-element-button:hover {
  color: #fff;
}
@media screen and (max-width: 768px) {
  ul#main-menu li:nth-last-child(2) {
    margin-bottom: 10px;
  }
  ul#main-menu li:nth-last-child(2) a {
    max-width: 70%;
    margin: 0 auto;
  }
  ul#main-menu li:last-child {
    margin-bottom: 10px;
  }
  ul#main-menu li:last-child a {
    max-width: 70%;
    margin: 0 auto;
  }
}

.download-pdf-btn {
  padding-top: 1em;
}

.fixed-cv--btn {
  position: fixed;
  top: 50vh;
  right: 60px;
  z-index: 100;
}
.fixed-cv--btn a {
  width: 100px;
  height: 100px;
  background-color: #03346a;
  color: #fff;
  border-radius: 100%;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  position: relative;
  font-weight: bold;
  padding-bottom: 1em;
}

.fixed-cv--btn a::before,
.fixed-cv--btn a::after {
  content: "";
  position: absolute;
  bottom: 15px;
  left: calc(50% - 2px);
  width: 2px;
  height: 15px;
  border-radius: 9999px;
  background-color: #fff;
  transform-origin: 50% calc(100% - 2px);
}

.fixed-cv--btn a::before {
  transform: rotate(45deg);
}
.fixed-cv--btn a::after {
  transform: rotate(-45deg);
}

.wp-block-columns.profiles {
  flex-wrap: wrap !important;
  justify-content: space-between;
}
.wp-block-columns.profiles .wp-block-column {
  width: 48%;
  flex: none;
  position: relative;
  border-bottom: 1px solid #ccc;
}
.wp-block-columns.profiles .wp-block-heading {
  margin: 20px 0;
  position: relative;
  cursor: pointer;
  transition: 0.3s;
}
.wp-block-columns.profiles .wp-block-heading:hover {
  opacity: 0.7;
}
.wp-block-columns.profiles .wp-block-heading::after,
.wp-block-columns.profiles .wp-block-heading::before {
  content: "";
  position: absolute;
  bottom: 0;
  top: 0;
  right: 1em;
  margin: auto;
  width: 4px;
  height: 15px;
  border-radius: 9999px;
  background-color: #03346a;
  transform-origin: 50% calc(100% - 2px);
}

.wp-block-columns.profiles .wp-block-heading::after {
  transform: rotate(45deg);
}
.wp-block-columns.profiles .wp-block-heading::before {
  transform: rotate(-45deg);
}

.wp-block-columns.profiles .wp-block-heading.active::after,
.wp-block-columns.profiles .wp-block-heading.active::before {
  transform-origin: 50% 2px;
}

.wp-block-columns.profiles .wp-block-column p {
  display: none;
}

.footer_link .container .row ul {
  display: flex;
  justify-content: center;
}

.post-navigation .nav-links span {
  flex: 1;
}

@media screen and (max-width: 768px) {
  .download-pdf-btn strong {
    font-size: 19px;
  }
  .fixed-cv--btn {
    top: initial;
    bottom: 64px;
    right: 10px;
  }
  .fixed-cv--btn a {
    display: flex;
    width: 64px;
    height: 64px;
    font-size: 10px;
  }
  .fixed-cv--btn a::before,
  .fixed-cv--btn a::after {
    bottom: 10px;
    width: 2px;
    height: 8px;
    transform-origin: 50% calc(100% - 1px);
  }
  body.single.award article.category-award .wp-block-column.history ul,
  body.single.award_info article.category-award .wp-block-column.history ul,
  body.category-award article.category-award .wp-block-column.history ul {
    flex-wrap: wrap;
    gap: 10px 5%;
  }
  body.single.award article.category-award .wp-block-column.history ul li,
  body.single.award_info article.category-award .wp-block-column.history ul li,
  body.category-award article.category-award .wp-block-column.history ul li {
    width: 45%;
    margin-right: initial;
  }
  .footer_link .container .row ul {
    display: block;
  }
  .wp-block-columns.profiles {
    gap: 20px;
  }
  .wp-block-columns.profiles .wp-block-heading {
    padding-right: 1em;
    font-size: 2.2rem;
  }
  .wp-block-columns.profiles .wp-block-heading::after,
  .wp-block-columns.profiles .wp-block-heading::before {
    right: 20px;
  }
  .post-navigation .nav-links {
    gap: 20px;
  }
}
