.front-page__hero-wrap{
  position: relative;
}

.front-page__important-notice--sp{
  display: none;
}

.front-page__important-notice--pc{
  display: block;
}

.front-page .page-hero{
  position: relative;
  overflow: clip;
  width: 100%;
  height: 700px;
  margin-left: 0;
  margin-right: 0;
}

.front-page .page-hero__media,
.front-page .page-hero__media picture{
  display: block;
  width: 100%;
  height: 100%;
}

.front-page .page-hero__media > img,
.front-page .page-hero__media picture > img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px){
  .front-page .page-hero__media > img,
  .front-page .page-hero__media picture > img{
    object-position: center center;
  }
}

/* 左下 */
.front-page .page-hero::before{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;

  --w-base: 520px;
  --h-base: 400px;
  --scale: min(0.7, calc(100vw / 1200px));

  width: max(calc(var(--w-base) * 0.8), calc(var(--w-base) * var(--scale)));
  height: max(calc(var(--h-base) * 0.5), calc(var(--h-base) * var(--scale)));

  background: url("../../img/left_down_bg.png") no-repeat left bottom / contain;
}

/* 右上 */
.front-page .page-hero::after{
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;

  --w-base: 560px;
  --h-base: 360px;
  --scale: min(1, calc(100vw / 1200px));

  width: max(calc(var(--w-base) * 0.5), calc(var(--w-base) * var(--scale)));
  height: max(calc(var(--h-base) * 0.5), calc(var(--h-base) * var(--scale)));

  background: url("../../img/right_up_bg.png") no-repeat right top / contain;
}

.front-page .page-hero{
  position: relative;
}

.front-hero-copy{
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding-top: 320px;
  text-align: center;
  color: #fff;
  pointer-events: none;
}

.front-hero-copy__main{
  margin: 0;
  font-size: 55px;
  line-height: 80px;
  letter-spacing: 0.05em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.front-hero-copy__sub{
  margin: 30px 0 0;
  font-size: 29px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.20);
}

/* =========================================================
   スマホ・タブレット用ヒーロー装飾
========================================================= */
@media (max-width: 1024px){
  .front-page__important-notice--sp{
    display: block;
  }

  .front-page__important-notice--pc{
    display: none;
  }

  .front-page .page-hero{
    height: 546px;
  }

  .front-page .page-hero::before,
  .front-page .page-hero::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
  }

  /* 下側の2つ
     4 = 左下の大きい緑（下）
     5 = 左下の小さい青（上）
  */
  .front-page .page-hero::before{
    --circle-4-size: 218px;
    --circle-4-left: -165px;
    --circle-4-bottom: -78px;

    --circle-5-size: 92px;
    --circle-5-left: 0px;
    --circle-5-bottom: -40px;

    background-image:
      radial-gradient(circle closest-side, #1F5EAB 99%, transparent 100%),
      radial-gradient(circle closest-side, #2FAA24 99%, transparent 100%);
    background-size:
      var(--circle-5-size) var(--circle-5-size),
      var(--circle-4-size) var(--circle-4-size);
    background-position:
      left var(--circle-5-left) bottom var(--circle-5-bottom),
      left var(--circle-4-left) bottom var(--circle-4-bottom);
  }

  /* 上側の3つ
     1 = 上中央の小さい緑
     3 = 右上の緑（2より上）
     2 = 右上の大きい青（下）
  */
  .front-page .page-hero::after{
    --circle-1-size: 60px;
    --circle-1-right: 219px;
    --circle-1-top: -21px;

    --circle-2-size: 218px;
    --circle-2-right: -40px;
    --circle-2-top: -110px;

    --circle-3-size: 105px;
    --circle-3-right: -36px;

    --circle-3-top: 23px;

    background-image:
      radial-gradient(circle closest-side, #2FAA24 99%, transparent 100%),
      radial-gradient(circle closest-side, #2FAA24 99%, transparent 100%),
      radial-gradient(circle closest-side, #1F5EAB 99%, transparent 100%);
    background-size:
      var(--circle-1-size) var(--circle-1-size),
      var(--circle-3-size) var(--circle-3-size),
      var(--circle-2-size) var(--circle-2-size);
    background-position:
      right var(--circle-1-right) top var(--circle-1-top),
      right var(--circle-3-right) top var(--circle-3-top),
      right var(--circle-2-right) top var(--circle-2-top);
  }
}

@media (max-width: 1024px){
  .front-hero-copy{
    padding-top: 266px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .front-hero-copy__main{
    margin: 0;
    font-size: 38px;
    line-height: 42px;
    letter-spacing: 0.01em;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  }

  .front-hero-copy__sub{
    margin: 20px 0 0;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.20);
  }
}