/*
Theme Name: Tessera Child
Theme URI: https://themeforest.net/user/egemenerd/portfolio?ref=egemenerd
Description: Tessera Child Theme
Author: Egemenerd
Author URI: http://themeforest.net/user/egemenerd?ref=egemenerd
Template: tessera
Version: 1.0
*/

@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);

body {
  background: #f4f4f4;
  word-break: break-all;
}

a {
  color: #4e93df;
  text-decoration: underline;
}

a:hover {
  color: #043565;
  text-decoration: underline;
}

.noto {
  font-family: 'Noto Sans JP', sans-serif;
}

.navbar-expand-lg > .container, .container {
  padding-left: 0;
  padding-right: 0;
  width: 900px;
  margin: 0 auto;
}

.header-line {
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #fa373c, #f45c79, #b9539c, #485cc1, #0095d4);
  margin-bottom: 10px;
}

#tessera-header {
  background: #ffffff;
  z-index: auto;
  padding-bottom: 70px;
}

.archive #tessera-header,
.single #tessera-header,
.error404 #tessera-header,
.search #tessera-header {
  padding-bottom: 40px;
}


#tessera-header-img {
  position: absolute;
  right: 0;
  bottom: -90px;
  width: 330px;
  height: auto;
}

#tessera-header.tessera-header-no-seperator #tessera-bar-wrapper {
  margin-top: 10px;
}

#tessera-bar-wrapper {
  padding-bottom: 10px;
  margin-top: 10px;
  /* background: url(images/top_contents_img01.png); */
}

.tessera-main-menu {
  margin-top: -10px;
}

.navbar-nav .nav-link {
  font-size: 14px;
}

#tessera-header-menu .navbar-brand, #tessera-header-menu .navbar-toggler, #tessera-header-menu .navbar-nav .nav-link {
  color: #000000;
  font-weight: normal;
}

#tessera-header-menu {
  border-bottom: none;
  z-index: 100;
}

#tessera-header-menu a {
  text-decoration: none;
  /* transition-duration: 1.0s; */
}

#tessera-header-menu .navbar-nav .nav-link:hover {
  text-decoration: underline;
  opacity: 1;
}

#tessera-bar-search .btn, #tessera-bar-search .btn:hover {
  color: #000000;
}

.tessera-bar {
  background: #ffffff;
}

#tessera-header-wrapper {
  position: relative;
}

#tessera-header-wrapper h1 {
  color: #000000;
  margin-bottom: 30px;
  margin-top: 20px;
  text-align: center;
  font-size: 27px;
  font-weight: 400;
  border-bottom: #053566 1px solid;
  width: 350px;
}

#tessera-header-wrapper h1 span {
  font-size: 12px;
  display: inline-block;
  margin-left: 10px;
}

.tessera-bar {
  border-radius: 3px;;
}

.tessera-bar-inner {
  width: 100%;
  display: block;
  margin: 0 auto;
}

.tessera-bar-inner.search-bar {
  width: 60%;
  margin: 0;
}
/* .archive .tessera-bar-inner.search-bar,
.single .tessera-bar-inner.search-bar,
.error404 .tessera-bar-inner.search-bar,
.search .tessera-bar-inner.search-bar {
  margin: 0 auto;
} */

#tessera-bar-search .form-control::placeholder {
  color: #999999;
}

/* IE */
#tessera-bar-search .form-control:-ms-input-placeholder {
  color: #999999;
}

/* Edge */
#tessera-bar-search .form-control::-ms-input-placeholder {
  color: #999999;
}

#tessera-bar-search .form-control {
  color: #000000!important;
  height: 50px;
}

#tessera-bar-search .btn, #tessera-bar-search .btn:hover {
  height: 50px;
}

#tessera-bar-search-form .form-control {
  padding: 0;
}

.input-group {
  border: 1px #ddd solid;
  border-radius: 5px;
}

h2.news_lists_h2 {
  border-bottom: 1px #676767 solid;
  padding-bottom: 10px;
  color: #101419;
  font-size: 18px;
  margin-bottom: 15px;
}

.news_list {
  margin-bottom: 8px;
}

.news_lists {
  margin-top: 10px;
}

.list__date {
  display: inline-block;
  width: 140px;
  vertical-align: top;
}

.list__title a {
  display: inline-block;
  width: calc(100% - 170px);
}

.news_archive_link {
  float: right;
  display: block;
}

.category-container {
  margin-top: 60px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.category-container .category-box {
  position: relative;
  z-index: 1;
  padding: 20px 30px;
  width: 48%;
  margin-bottom: 30px;
  border: 1px #676767 solid;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  background: #ffffff;
}

.category-container .category-box {
  position: relative;
}

.category-container .category-box:before {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  display: inline-block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fa373c, #f45c79, #b9539c, #485cc1, #0095d4) no-repeat;
  border-radius: 0 0 5px 5px;
  /* transition: 1s; */
}

.category-container .category-box:hover {
  border-bottom: 1px transparent solid;
}

.category-container .category-box:hover:before{
  width: 100%;
}

/* .category-container .category-box:hover {
  background: rgba(255,255,255,0.5);
} */

.category-box .category-img {
  width: 80px;
  height: auto;
  align-items: center;
  display: block;
}

.category-box .category-text {
  width: calc(100% - 120px);
}

.category-box .category-text h2 {
  margin-bottom: 20px;
  color: #043565;
  font-size: 24px;
}

.category-box .category-text p {
  margin-bottom: 0;
}

.category-box .category-text a {
  position: absolute;
  text-decoration: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.card {
  position: relative;
}

.card:before {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  display: inline-block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fa373c, #f45c79, #b9539c, #485cc1, #0095d4) no-repeat;
  border-radius: 0 0 0.25em 0.25em;
}

.card:hover:before{
  width: 100%;
}

.card-title a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

body.tessera .card-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.tessera-meta-tags span {
  position: relative;
}

.tessera-meta-tags a {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}


/* archive */

#tessera-bar-wrapper.breadcrumb-wrapper {
  padding-bottom: 10px;
}

.tessera-bar.bggray {
  background: none;
}

.tessera-bar .breadcrumb {
  font-size: 14px;
  line-height: 50px;
}

.tessera-bar .breadcrumb-item + .breadcrumb-item::before {
  color: #043565;
}

.tessera-bar .breadcrumb a {
  color: #043565;
}

.tessera-bar .breadcrumb-item.active {
  color: #043565;
}

.tessera-bar .breadcrumb a:hover {
  color: #043565;
}

.tessera-bar .breadcrumb {
  padding: 0;
}

#tessera-main-wrapper {
  padding: 0 0 60px;
  width: 900px;
  margin: 0 auto;
}

.card-list {
  margin-bottom: 20px;
}

.card-list .card-body {
  padding: 30px 40px;
}

.card-list-right {
  padding: 10px;
}

#tessera-page-title {
  padding: 0 0 30px;
  text-align: center;
}

#tessera-page-title h1 {
  color: #101419;
  background: linear-gradient(90deg, #fa373c, #f45c79, #b9539c, #485cc1, #0095d4) center bottom/100% 2px no-repeat;
  display: inline-block;
}

.single #tessera-page-title h1 {
  background: none;
}

#tessera-page-title p {
  font-style: normal;
  color: #101419;
  font-size: 16px;
}

#tessera-page-title a {
  color: #4e93df;
}

#tessera-page-title a:hover {
  color: #043565;
}

.badge {
  margin-right: 10px;
}

.badge a {
  text-decoration: none;
}


/* single */
.single-article {
  margin-top: 20px;
  padding: 60px 100px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.badge.badge-secondary a, .badge-secondary[href]:hover, .badge-secondary[href]:focus {
  color: #043565!important;
}

#tessera-page-title h1 {
  padding-bottom: 10px;
  margin-bottom: 10px;
  font-size: 28px;
}

.tessera-meta-tags {
  margin-bottom: 5px;
}

.tessera-meta-date {
  font-size: 14px;
}

.tessera-meta-date i {
  margin-right: 5px;
}

.single-article h1 {
  text-align: center;
  border-bottom: #101419 1px solid;
  padding-bottom: 5px;
}

.single-article h2 {
  margin-bottom: 1rem;
}

.single-article h3 {
  margin-bottom: 1rem;
}

.single-article h4 {
  margin-bottom: 1rem;
}

.single-article h5 {
  margin-bottom: 1rem;
}

.single-article h6 {
  margin-bottom: 1rem;
}

.single-article th {
  background: #f5f5f5;
}

.single-article blockquote {
  border-left: 5px solid #043565;
  background: none;
}

body.tessera .alignleft {
  margin: 0 2rem 2rem 0;
}

body.tessera .aligncenter {
  margin-bottom: 0;
}

body.tessera .alignright {
  margin: 0 0 2rem 2rem;
}

body.tessera .wp-caption {
  padding-bottom: 0;
}


/* search, error404 */
.search #tessera-page-title,
.error404 #tessera-page-title {
  padding-top: 50px;
}

body.error404 #tessera-page-title h1 {
  font-size: 28px;
}

body.error404 #tessera-page-title .to-top {
  margin-top: 30px;
}

/* footer */
#tessera-footer {
  background: #ffffff;
  padding-bottom: 10px;
}

#tessera-footer-bottom {
  padding: 25px 0 0;
}

#tessera-footer .logo {
  margin-bottom: 10px;
  width: 400px;
}

#tessera-footer .link {
  margin-bottom: 25px;
}

#tessera-footer .link a {
  color: #043565;
  font-size: 14px;
  text-decoration: none;
}

#tessera-footer .copyright {
  font-size: 13px;
  margin-bottom: 0;
}

#tessera-footer .copyright a {
  color: #043565;
  text-decoration: none;
}

@media only screen and (max-width: 960px) {
  #tessera-main-wrapper {
    width: 90%;
  }

  #tessera-bar-wrapper {
    padding: 0 0 40px;
  }

  .navbar-expand-lg > .container, .container {
    width: 90%;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 768px) {
  #tessera-header {
    padding-bottom: 0;
  }

  .archive #tessera-header, .single #tessera-header, .error404 #tessera-header, .search #tessera-header {
    padding-bottom: 0;;
  }

  #tessera-header-img {
    display: none;
  }

  .tessera-bar-inner.search-bar {
    width: 100%;
  }

  .news_archive_link {
    position: relative;
  }

  .category-container {
    margin-top: 40px;
  }

  .category-container .category-box {
    width: 48%;
    display: block;
  }

  .category-box .category-img {
    width: 70%;
    height: auto;
    margin: 0 auto 20px;
  }

  .category-box .category-text {
    width: 100%;
  }
}

@media only screen and (max-width: 575px) {
  #tessera-header-wrapper h1 {
    width: 100%;
    border-bottom: none;
  }

  #tessera-header-wrapper h1 span {
    margin-left: 0;
    width: 100%;
    border-top:#053566 1px solid;
    padding-top: 8px;
  }

  h2.news_lists_h2 {
    font-size: 20px;
  }

  #tessera-footer .logo {
    width: 100%;
  }

  .category-container .category-box {
    width: 100%;
  }

  .category-box .category-img {
    width: 30%;
    margin-top: 10px;
  }

  .single-article {
    padding: 50px 30px;
  }
}