@charset "utf-8";

/*--------------------------------------------------------------
  基礎設定
--------------------------------------------------------------*/
#topsection {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: unset;
  border-radius: 0;

  padding: 0;
  aspect-ratio: 16/9;

  display: flex;
  justify-content: center;
  align-items: end;
}

#topsection .content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  position: relative;
  z-index: 1;
  padding: 0;
}

#topsection .content a>img {
  position: absolute;
  bottom: 0;

  width: 100%;
}

#topsection .content a {
  position: absolute;

  display: block;
  margin: 0;
  padding: 0;
  left: 0;
  bottom: 0;
  width: 100%;

  text-align: start;
}

#topsection .content h1 {
  position: absolute;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 400;
  text-align: start;
  left: 3vw;
  bottom: 8.5vw;
  color: #333;

  mix-blend-mode: difference;
}

#topsection .content h1>strong {
  font-weight: 600;
}

#topsection .content h4 {
  position: absolute;
  font-size: clamp(1rem, 1.6vw, 2rem);
  line-height: clamp(1.0rem, 1.8vw, 2.2rem);
  font-weight: 600;
  left: 3vw;
  bottom: 5vw;
  color: #333;
}

#topsection .content h5 {
  position: absolute;
  font-size: 1vw;
  line-height: 1.4vw;
  font-weight: 600;
  left: 3vw;
  bottom: 3vw;
  color: #fff;
}

#topsection span.orangecolor {
  color: rgb(var(--lightyellow-color) / 1.0);
  font-size: unset;
  line-height: unset;
}

@media (max-width: 767.98px) {

  /* sm 以下の画面サイズの場合のスタイル */
  #topsection {
    width: 100vw;
    aspect-ratio: 1/1;
  }

}

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

  /* md の画面サイズの場合のスタイル */
  #topsection {
    width: 100vw;
    aspect-ratio: 1/1;
  }
}

@media (min-width: 992px) {
  /* lg 以上の画面サイズの場合のスタイル */
}

/*--------------------------------------------------------------
  帯テキスト
--------------------------------------------------------------*/

.about-text>a>h3 {
  margin: 1rem 0 0 0;
  font-family: "Noto Serif JP", "Tinos", serif;
  font-weight: 200;
  letter-spacing: 0.1rem;
  opacity: 0.5;
}

.about-text>a>h3::first-letter {
  font-size: 3em;
}

.about-text>a>h5 {
  margin: 0 0 3rem 0;
  padding: 0;
  font-size: 1rem;
  opacity: 0.5;
}

.about-text>a {
  text-align: center;
}

/*--------------------------------------------------------------
  ブログとニュース
--------------------------------------------------------------*/

#news-blog>h3 {
  margin: 1rem 0 0 0;
  font-family: "Noto Serif JP", "Tinos", serif;
  font-weight: 200;
  letter-spacing: 0.1rem;
  opacity: 0.5;
}

#news-blog>h3::first-letter {
  font-size: 3em;
}

#news-blog>h5 {
  margin: 0 0 3rem 0;
  padding: 0;
  font-size: 1rem;
  opacity: 0.5;
}

#news-blog {
  text-align: center;
}


/*--------------------------------------------------------------
  トップページ動画再生用
--------------------------------------------------------------*/

#background-video {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  pointer-events: none;
  aspect-ratio: 16/9;
}

@media (max-width: 767.98px) {

  /* sm 以下の画面サイズの場合のスタイル */
  #background-video {
    width: 100%;
    aspect-ratio: 1/1;
  }
}

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

  /* md の画面サイズの場合のスタイル */
  #background-video {
    width: 100%;
    aspect-ratio: 1/1;
  }
}

@media (min-width: 992px) {
  /* lg 以上の画面サイズの場合のスタイル */
}


/*--------------------------------------------------------------
  ビデオ用
--------------------------------------------------------------*/

/* 動画表示要素 */
.video-container {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: unset;
  aspect-ratio: 16/9;
}



@media (max-width: 767.98px) {

  /* sm 以下の画面サイズの場合のスタイル */
  .video-container {
    width: 100%;
    height: unset;
    aspect-ratio: 1/1;
  }

  .video-container video {
    width: 100%;
    height: unset;
    aspect-ratio: 1/1;
  }

}

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

  /* md の画面サイズの場合のスタイル */
  .video-container {
    width: 100%;
    height: unset;
    aspect-ratio: 1/1;
  }

  .video-container video {
    width: 100%;
    height: unset;
    aspect-ratio: 1/1;
  }
}

@media (min-width: 992px) {
  /* lg 以上の画面サイズの場合のスタイル */
}