{%require_css%}
<style>
{%scope_css%}

/* =========================
   FV Base
========================= */
.fv_section {
  height: 90vh;
  margin: 0 auto;
  position: relative;
}

/* =========================
   Headline Wrapper
========================= */
.fv_headline_wrap {
  position: relative;
  left: 10%;
  z-index: 10;

  display: flex;
  flex-direction: column;

  height: clamp(180px, 20vw, 420px);

  justify-content: center;
}

/* fallback text */
.fv_headline_top,
.fv_headline_bottom {
  color: var(--red, rgb(207, 5, 5));
  font-size: clamp(42px, 7vw, 89px);
  line-height: 100%;
  margin: 0;
}

/* =========================
   SVG container（行単位）
========================= */
.fv_handwriting {
  height: 48%; /* ← ここを詰めた */
  display: flex;
  align-items: center;
  width: fit-content;
}

/* 上下の隙間調整 */
.fv_handwriting.top {
  margin-bottom: -0.25em;
}

.fv_handwriting.bottom {
  margin-top: -0.25em;
}

/* SVG本体 */
.fv_handwriting svg {
  height: 100%;
  width: auto;
  display: block;
}

/* stroke制御 */
.fv_handwriting path {
  stroke: var(--red, rgb(207, 5, 5));
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================
   Red Card
========================= */
.fv_section .red_card {
  width: 100%;
  background: rgb(207, 5, 5);
  padding: 3.5rem 8.4rem;
  box-shadow: .7rem .7rem rgba(207, 5, 5, 0.2);
  position: relative;
  z-index: 10;
  left: 0;
}

.fv_section .red_card p {
  color: var(--white, #fff);
  font-size: 2.2rem;
}

/* =========================
   Layout
========================= */
.ly_textCont {
  max-width: 110rem;
  position: absolute;
  gap: 2rem;
  width: 60vw;
  left: 0%;
  bottom: 2rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ly_imgCont {
  position: absolute;
  right: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 33px;
}

.item1 {
  height: 100%;
  object-fit: cover;
}

.short_img {
  width: 80%;
}

.img {
  display: flex;
  justify-content: right;
  height: 30vh;
  width: 100%;
}

/* =========================
   Responsive
========================= */
@media (min-width: 1600px) {
  .ly_textCont {
    left: 10%;
  }
}

@media (max-width: 768px) {
  .fv_section .red_card {
    width: 100%;
    padding: 2.5rem 4.4rem;
  }

  .ly_textCont {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .fv_section {
    height: fit-content;
    margin-top: 8rem;
  }

  .ly_imgCont {
    position: relative;
    gap: .8rem;
  }

  .img {
    height: 11vh;
  }

  .fv_section .red_card {
    position: relative;
    padding: 2rem 1.6rem;
  }

  .ly_textCont {
    position: relative;
  }

  .fv_headline_wrap {
    height: clamp(160px, 25vw, 260px);
  }

  .fv_headline_top,
  .fv_headline_bottom {
    font-size: clamp(44px, 7vw, 89px);
  }

  .fv_handwriting {
    height: 48%;
  }

  .fv_section .red_card p {
    font-size: 1.6rem;
  }
}

{%end_scope_css%}
</style>
{%end_require_css%}