/* Top-page movie and overlay. Keep separate from global navigation. */
.frame {
  position: relative;
  height: 0;
  padding-top: 56.25%;
}
.frame-container {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.mainimg_box {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 63%;
  height: max-content;
  min-height: 310px;
  margin: auto;
  padding: 30px 55px;
  background: rgba(255, 255, 255, .6);
}
.mainimg_title {
  margin-bottom: 20px;
  color: #0b6d2d;
  font: 400 80px/1.5 游明朝, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", HG明朝E, "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  text-align: center;
}
.mainimg_text {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .frame {
    height: 60vh;
    padding-top: 0;
    overflow: hidden;
  }
  .frame-container { object-fit: cover; }
  .mainimg_box {
    width: 90%;
    min-height: 170px;
    padding: 15px;
  }
  .mainimg_title {
    margin-bottom: 5px;
    font-size: 36px;
  }
  .mainimg_text { font-size: 15px; }
}
