@charset "UTF-8";

/* =========================
   Hero Slider (TGH)
   ========================= */

.tgh-hero{
  width: 100%;
}

.tgh-hero__inner{
  width: 100%;
}

.tgh-hero__viewport{
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 648px;
  background: #d8e7f2;
}

@media (max-width: 800px){
  .tgh-hero__viewport{
    height: 450px;
  }
}

.tgh-hero__track{
  display: flex;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: transform 600ms ease;
}

.tgh-hero__slide{
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.tgh-hero__media{
  display: block;
  width: 100%;
  height: 100%;
}

.tgh-hero__img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* うっすら上下に被せて文字を読みやすく */
.tgh-hero__slide::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(216,231,242,.92) 0%,
    rgba(216,231,242,.70) 14%,
    rgba(216,231,242,.00) 40%,
    rgba(216,231,242,.00) 75%,
    rgba(216,231,242,.55) 100%
  );
  pointer-events: none;
}

/* 文字 */
.tgh-hero__texts{
  position: absolute;
  left: 50%;
  top: 62px;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 32px));
  text-align: center;
  pointer-events: none;
  z-index: 2;
}

.tgh-hero__text-pc{
  display: inline;
}

.tgh-hero__text-sp{
  display: none;
}

.tgh-hero__upper,
.tgh-hero__under{
  margin: 0;
  text-align: center;
  color: #1f5fa8;
  text-shadow: 0 1px 6px rgba(255,255,255,.35);
}

.tgh-hero__upper{
  font-size: 56px;
  font-weight: 700;
  line-height: 1.35;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

.tgh-hero__under{
  margin-top: 20px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

@media (max-width: 800px){
  .tgh-hero__texts{
    top: 42px;
    width: calc(100% - 24px);
  }

  .tgh-hero__text-pc{
    display: none;
  }

  .tgh-hero__text-sp{
    display: inline;
  }

  .tgh-hero__upper{
    font-size: 24px;
    line-height: 1.45;
  }

  .tgh-hero__under{
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.5;
  }
}

/* =========================
   左右ナビ
   ========================= */
.tgh-hero__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background-color .2s ease, opacity .2s ease;
}

.tgh-hero__nav:hover{
  background: rgba(255,255,255,.9);
}

.tgh-hero__nav:focus-visible{
  outline: 3px solid rgba(11,79,134,.35);
  outline-offset: 2px;
}

.tgh-hero__nav--prev{
  left: 18px;
}

.tgh-hero__nav--next{
  right: 18px;
}

.tgh-hero__nav::before{
  content: "";
  width: 12px;
  height: 12px;
  border-top: 3px solid rgba(11,79,134,.9);
  border-right: 3px solid rgba(11,79,134,.9);
}

.tgh-hero__nav--prev::before{
  transform: rotate(-135deg);
  margin-left: 4px;
}

.tgh-hero__nav--next::before{
  transform: rotate(45deg);
  margin-right: 4px;
}

@media (max-width: 800px){
  .tgh-hero__nav{
    width: 42px;
    height: 42px;
  }

  .tgh-hero__nav--prev{
    left: 10px;
  }

  .tgh-hero__nav--next{
    right: 10px;
  }

  .tgh-hero__nav::before{
    width: 10px;
    height: 10px;
    border-top-width: 2px;
    border-right-width: 2px;
  }
}

/* =========================
   ドット
   ========================= */
.tgh-hero__dots{
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.tgh-hero__dot{
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
  cursor: pointer;
  transition: width .25s ease, background-color .25s ease, opacity .25s ease;
}

.tgh-hero__dot:hover{
  background: rgba(255,255,255,.75);
}

.tgh-hero__dot:focus-visible{
  outline: 3px solid rgba(11,79,134,.35);
  outline-offset: 2px;
}

.tgh-hero__dot[aria-current="true"]{
  width: 28px;
  background: rgba(255,255,255,.95);
}

@media (max-width: 800px){
  .tgh-hero__dots{
    bottom: 12px;
    gap: 8px;
  }

  .tgh-hero__dot{
    width: 9px;
    height: 9px;
  }

  .tgh-hero__dot[aria-current="true"]{
    width: 24px;
  }
}