/* Global styles */
:root {
    --primary: #6cvbbb5ce7;
  ::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:#efefef;border-radius:6px}::-webkit-scrollbar-thumb{background:#d5d5d5;border-radius:6px}::-webkit-scrollbar-thumb:hover{background:#c4c4c4}
  }

  * {
    font-family: "Lato", sans-serif;
  }

  hr {
    margin-bottom: 0;
  }

  .table {
    word-break: keep-all;
}

  .navbar {
    min-height: 5rem;
  }

  .button.is-primary {
    background: var(--primary);

  }

  .button.is-primary:hover {
    background: hsl(247, 84%, 63%);
    -webkit-transition: all .2s;
    transition: all .2s;
  }

  /* Helper styles */

  .icon-padding-left {
    margin-left: 0.5rem;
    color: #212121;
  }

  .icon-padding-right {
    margin-right: 0.5rem;
  }

  /* Hero styles */

  .hero {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .hero .title {
    color: rgb(255, 255, 255);
    text-shadow: 1px 1px 2px rgba(150, 150, 150, 1);
  }

  .hero .input {
    width: 400px;
  }

  /* Featured styles */

  .featured {
    padding: 4rem 0;
  }
  .featured .level {
    padding-bottom: 1rem;
    border-bottom: 1px solid lightgrey;
  }
  .featured .level-item h2 {
    color: var(--primary);
    font-weight: 600;
  }
  .featured article .subtitle {
    margin-top: 1rem;
    color: #212121;
  }

  /* Categories styles */

  .category {
    margin-top: 2rem;
  }

  .category span {
    opacity: 0.5;
    font-size: 1rem;
    margin-left: 1rem;
    font-weight: 400;
  }

  .category ul {
    list-style: none;
    padding: 0;
  }

  .category li {
    padding-top: 1rem;
  }

  .category .category-more {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    margin-top: 1rem;
  }

  /* Footer styles */

  .footer {
    margin-top: 5rem;
    border-top: 1px solid var(--primary);
  }
  .footer .links {
    display: flex;
    justify-content: center;
  }
  .footer .links a {
    margin: 0 1rem;
  }
  .search-form .control {
    display: flex;
    align-items: center;
  }

  @media (max-width: 1024px) {
    .featured .level-item h2 {
      padding-left: 2em;
    }
    .featured .content p {
      padding-left: 2em;
      padding-right: 2em;
    }
  }

  .card-img {
    max-width: 100%;
    height: auto;
  }

  .card-title {
    font-size: 1.25em;
    font-weight: bold;
  }

  .card-text {
    font-size: 1em;
  }
  .table img {
    max-width: 100px; /* サムネイルの最大幅を制限 */
    height: auto;
  }
  .detail .table img{
    max-width: 300px; /* サムネイルの最大幅を制限 */
    height: auto;
  }
  .title.is-3{
    padding: 2rem
  }
  .title .is-4{
    padding: 2rem
  }
  .field.is-grouped > .control.results {
    margin-right: 0;
 }

  .button.is-primary.is-outlined {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
    font-weight: bold;
  }
  .button.is-primary.is-outlined:hover {
    background: hsl(247, 84%, 63%);
    border-color: hsl(247, 84%, 63%);
    color: #fff;
    -webkit-transition: all .2s;
    transition: all .2s;
  }
  .navbar-item img {
    max-height: 2.25rem;
  }
  .no-spin::-webkit-inner-spin-button,
  .no-spin::-webkit-outer-spin-button {
      -webkit-appearance: none;
      margin: 0;
      -moz-appearance:textfield;
  }
  .tabs {
    margin-bottom: -1px !important;
    position: relative;
    }
    .tab-content {
    padding: 60px;
    top: 197px;
    color: #000;
    background-color: white;
    }
    .tab-pane {
    display: none;
    }
    .tab-pane.is-active {
    display: block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    }
    .is-active {
    display: initial;
    }

    .cent{
    display: block;
    margin: 10px auto;
    padding: 5px;
    border: 1px solid #ccc}

    .video
    {display: block;
    margin: 0 auto;}

    /* CSS from http://embedresponsively.com */
    .embed-container {
      position: relative;
      padding-bottom: 56.25%;
      height: 0;
      overflow: hidden;
      max-width: 100%;
    }
    .embed-container iframe,
    .embed-container object,
    .embed-container embed {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
    .column.no-padding {
      padding: 0;
  }
    .column.no-padding-bottom {
      padding-bottom: 0;
    }
    .column.is-center {
      text-align: center;
    }
    .tab-content.no-padding-top{
      padding-top: 0;
    }

    .button.is-detailed.is-outlined {
      background-color: transparent;
      border-color: #000;
      color: #000;
    }
    .button.is-detailed.is-outlined:hover {
      background:  #f40f02;
      border-color:  #f40f02;
      color: #fff;
    }
    .button.is-detailed:hover {
      background:  #f40f02;
    }

    .btn-border {
      border-radius: 0;
      border-color: #fff;
    }
    .btn-border:hover {
      border-color:  #fff;
      color:  #f40f02;
      -webkit-transition: all .4s;
      transition: all .4s;
    }
    .btn-border:before,
    .btn-border:after {
      position: absolute;

      width: 100%;
      height: 2px;

      content: '';
      -webkit-transition: all .4s;
      transition: all .4s;

      background:  #000;
    }

    .btn-border:before {
      top: 0;
      left: 0;
    }

    .btn-border:after {
      right: 0;
      bottom: 0;
    }

    .btn-border:hover:before,
    .btn-border:hover:after {
      width: 0;
      color:  #f40f02;
    }
    .button.btn-border.is-small.is-mobile.few-padding {
      padding: 0.4rem;
  }
  .is-centered.dropdown-content.is-pdf {
    box-shadow: none;
    margin-bottom: 3rem;
}
.index-header {
  padding: 10% 0 10% 0;
  background: #484848;
}