/* ロゴの調整 */
.header-logo {
  margin-top: 16px;
}

.is-primary-bg {
background: var(--color-primary-bg);
}


 li.global-nav-item  ul li a.global-nav-link.global-nav-link::after {
    height: 0px;
 }

 li.global-nav-item  ul li a:hover {
   color: rgba(99, 139, 201, 1);
   transition: 0.3s ;
   }

.googlemapiframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.googlemapiframe iframe {
  width: 100%;
  height: 100%;
}

.cta-visual:before {
background: rgba(64, 88, 113, 0.25);
}

h2.cta-visual-title {
  font-size: 28px;
}

.entry-header-visual-box {
    background: rgb(7 60 120 / 70%);
}

/* メイン画像、メインテキストの装飾・アニメーション */
h1.main-visual-catch {
  font-family: 'Zilla Slab Highlight', cursive;
  transform: translateY(-50%);
  overflow: hidden;
  width: 8.5em;
  white-space: nowrap;
  border-right: 2px solid rgba(255, 255, 255, .75);
  animation: typewriter 3s steps(44) 1s 1 normal both,
    blinkTextCursor 500ms steps(44) infinite normal;

}

/* メイン画像、サブテキストの装飾 */
.main-visual-catch-sub {
  font-size: 28px;
  font-weight: bold;
}

@keyframes typewriter {

  /*タイプライターライクなアニメーション*/
  from {
    width: 0;
  }

  to {
    width: 8.5em;
  }
}

@keyframes blinkTextCursor {

  /*点滅するカーソルのアニメーション*/
  from {
    border-right-color: rgba(255, 255, 255, .75);
  }

  to {
    border-right-color: transparent;
  }
}

/* ページタイトルの色を変更 */
.page-title-wrapper {
  background: var(--color-primary-light);
}

/* スマートフォンでの調整 */
@media (max-width: 480px) {

  /* テキストカードの調整 */
  .card-bordered-item {
    width: 100%;
  }

  /* ロゴの調整 */
  .header-logo {
    margin-top: 18px;
    width: 200px;
  }

  h1.main-visual-catch {
    font-size: 32px;
  }

  .main-visual-catch-sub {
    font-size: 20px;
    font-weight: bold;
  }


}

/* ヘッダー固定用 */
.fixed {
  position: fixed;
  top: 0;
  left: 0;
}

/* ヘッダーサブメニュー用 */
ul.global-nav-list ul {
  float: left;
  padding: 0px 0;
  position: absolute;
  left: 0;
  top: 60px;
  display: none;
  background: #c0e4fb;
  color: #000;
  margin: auto calc(100% - 100vw);
  width: 100vw;
  text-align: center;
  animation-name: fadeInAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
  padding: 3px;
}

@keyframes fadeInAnime {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


ul.global-nav-list ul li {
  display: inline-block;
}

ul.global-nav-list li:hover ul {
  display: block;
}

.global-nav-item.stay ul li.global-nav-item {
  border: none;
}

/* topスライド部分　開始 */
.kv {
  height: 97vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.kv .main-copy {
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  letter-spacing: .2em;
}

.kv .sub-copy {
  color: #fff;
  font-size: 20px;
  text-align: center;
}

/* video */
.video {
  width: 100%;
  height: 97vh;
  background: url(../img/kv-alternative.jpg) no-repeat center/cover;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}

.video::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #10394b;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  opacity: .3;
}

.video video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

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

  /* kv */
  .kv {
    min-width: 960px;
  }

  /* video */
  .video {
    min-width: 960px;
  }
}

/* topスライド部分　終了 */
