/* FV専用。スポーツ用品に囲まれた中央へHTMLコピーを重ねる。 */
.fes-header {
  max-width: 1440px;
  margin: auto;
  padding: 20px 5%;
  min-height: 88px;
  gap: 20px;
  border-bottom: 0;
}

.fes-header .fes-brand {
  font-family: 'Zen Kaku Gothic New','Noto Sans JP',sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -.055em;
  line-height: 1.1;
}

.fes-header .fes-brand span {
  font-family: 'Montserrat',sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .04em;
  margin-top: 5px;
}

.fes-header .fes-cta {
  background: #db3d00;
  color: #fff;
  box-shadow: none;
  border-radius: 3px;
  font-family: 'M PLUS 1p',sans-serif;
  font-weight: 800;
}

.fes-header .fes-cta:hover {
  background: #d93f00;
}

.hero {
  --hero-accent: #ff7836;
  --hero-sub: #079fec;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 0;
  background: #fff;
  color: #111;
  font-family: 'Noto Sans JP',sans-serif;
  font-weight: 500;
  border-bottom: 1px solid #e5e5e5;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 48px,1200px);
  margin-inline: auto;
  padding: 52px 0 64px;
}

.hero::before {
  content: none;
}

.hero .hero-title {
  position: static;
  width: 100%;
  font-family: 'Zen Kaku Gothic New','Noto Sans JP',sans-serif;
  font-weight: 900;
  font-size: clamp(26px,7.5vw,56px);
  line-height: 1.3;
  letter-spacing: -.065em;
  margin: 0 0 28px;
  transform: none;
  overflow-wrap: normal;
}

.hero .hero-title::before {
  content: none;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-title-line:first-child {
  font-size: .85em;
}

.hero-distance {
  display: inline-block;
  color: var(--hero-accent);
  font-size: 2.1282em;
  line-height: 1;
  letter-spacing: -.07em;
  margin-inline: .03em;
  font-weight: 900;
}

.hero-distance span {
  font-size: .7em;
  letter-spacing: -.035em;
}

.hero-question {
  margin-top: 10px;
  font-size: 1.2054em;
}

.hero .hero-program {
  font-family: 'M PLUS 1p','Noto Sans JP',sans-serif;
  font-size: clamp(18px,4.7vw,25px);
  display: table;
  width: fit-content;
  max-width: 100%;
  background: #111;
  color: #fff;
  padding: 10px 18px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -.045em;
  margin: 0 0 20px;
}

.hero-program > span:first-child {
  color: var(--hero-sub);
  margin-inline: .15em;
}

.hero .hero-capacity {
  display: flex;
  width: fit-content;
  align-items: baseline;
  gap: 5px;
  padding: 8px 16px;
  background: var(--hero-accent);
  color: #111;
  font-family: 'M PLUS 1p',sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 28px;
}

.hero-capacity strong {
  color: #111;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.fes .hero-cta {
  width: 100%;
  max-width: 440px;
  min-height: 68px;
  border-radius: 3px;
  padding: 16px 24px;
  font-family: 'M PLUS 1p',sans-serif;
  font-size: 19px;
  font-weight: 800;
  background: #e74700;
  color: #fff;
  box-shadow: none;
}

.fes .hero-cta:hover {
  background: #d93f00;
}

.hero-visual {
  position: absolute;
  z-index: 0;
  width: 420px;
  height: 420px;
  right: -290px;
  bottom: -195px;
  transform: rotate(-28deg);
  pointer-events: none;
}

.hero-visual svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: var(--hero-sub);
  stroke-opacity: .25;
  stroke-width: 11;
}

.hero-visual path:last-child {
  stroke: var(--hero-sub);
  stroke-opacity: .65;
}

@media(max-width:767px) {
  .hero-title-line:first-child {
    font-size: .75em;
  }

  .hero-distance {
    font-size: 2.412em;
  }

  .hero-question {
    font-size: min(1.2054em,calc((100vw - 48px)/9.1));
    letter-spacing: -.11em;
  }

  .hero .hero-program {
    padding: 10px 12px;
  }

  .fes-header {
    min-height: 76px;
    padding: 18px 24px;
  }

  .fes-header .fes-brand {
    font-size: 24px;
  }

  .fes-header .fes-cta-small {
    display: none;
  }
}

@media(min-width:768px) {
  .hero-content {
    width: min(90%,1200px);
    padding: 70px 0 86px;
  }

  .hero .hero-title {
    font-size: clamp(48px,5.3vw,80px);
    margin-bottom: 34px;
    line-height: 1.2;
  }

  .hero-question {
    margin-top: 18px;
  }

  .hero .hero-program {
    font-size: 30px;
    margin-bottom: 22px;
  }

  .hero .hero-capacity {
    font-size: 20px;
    margin-bottom: 32px;
  }

  .hero-capacity strong {
    font-size: 42px;
  }

  .fes .hero-cta {
    min-height: 76px;
    font-size: 22px;
  }

  .hero-visual {
    width: 800px;
    height: 800px;
    right: -425px;
    bottom: -440px;
  }

  .hero-visual svg {
    stroke-width: 12;
  }
}

@media(prefers-reduced-motion:no-preference) {
  .hero-cta {
    transition: background-color .15s ease;
  }
}

.fes-header a:focus-visible,.hero a:focus-visible {
  outline: 3px solid #ff7836;
  outline-offset: 4px;
}

/* 手書きラフの中央ポスター構成：文字の大小で申込まで誘導する。 */
.hero-content {
  text-align: center;
  padding-top: 32px;
}

.hero .hero-title {
  text-align: center;
}

.hero-title-line:first-child {
  font-size: .85em;
}

.hero-question {
  margin-top: 14px;
}

.hero .hero-program {
  margin-inline: auto;
  background: none;
  color: #111;
  padding: 0 0 8px;
  border-bottom: 3px solid var(--hero-sub);
}

.hero .hero-capacity {
  background: none;
  padding: 0;
  margin: 0 auto 8px;
  font-size: 28px;
  gap: 14px;
  line-height: 1;
}

.hero-capacity strong {
  color: var(--hero-accent);
  font-size: 68px;
}

.hero-capacity strong span {
  font-size: .55em;
  margin-left: 4px;
}

.hero .hero-priority {
  display: table;
  margin: 0 auto 22px;
  padding: 5px 26px;
  color: #111;
  border: 2px solid var(--hero-sub);
  border-radius: 50%;
  font-family: 'M PLUS 1p',sans-serif;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .08em;
}

.fes .hero-cta {
  display: flex;
  margin-inline: auto;
}

.hero-cta strong {
  font-size: 1.25em;
  font-weight: 900;
}

@media(min-width:768px) {
  .hero-content {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .hero-title-line:first-child {
    transform: translateX(-12px);
  }

  .hero-question {
    transform: translateX(12px);
  }

  .hero .hero-capacity {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .hero-capacity strong {
    font-size: 96px;
  }

  .hero .hero-priority {
    font-size: 28px;
    margin-bottom: 26px;
  }
}

@media(max-width:767px) {
  .hero-content {
    padding-top: 24px;
    padding-bottom: 34px;
  }

  .hero-title-line:first-child {
    font-size: .75em;
  }

  .hero .hero-title {
    margin-bottom: 20px;
  }

  .hero .hero-program {
    margin-bottom: 18px;
    font-size: 18px;
  }

  .hero .hero-capacity {
    font-size: 23px;
  }

  .hero-capacity strong {
    font-size: 58px;
  }

  .hero .hero-priority {
    font-size: 21px;
    margin-bottom: 18px;
  }
}

.fes-header .fes-cta > span,.hero .hero-cta > span,.hero .hero-cta strong {
  color: inherit;
}

/* 一枚の広告ビジュアル。画像全体は薄めず、中央だけ可読性を確保する。 */
.hero {
  display: grid;
  place-items: center;
  aspect-ratio: 6823/4449;
  min-height: 680px;
}

.hero .hero-visual {
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
  background: none;
}

.hero .hero-content {
  width: min(67.2%,918.4px);
  padding: 32px 24px;
  margin: 40px auto;
  background: none;
}

.hero .hero-content::before {
  content: none;
}

.hero .hero-title {
  font-size: clamp(40.32px,4.144vw,69.44px);
  margin-bottom: 24px;
}

.hero .hero-title-line:first-child,.hero .hero-question {
  transform: none;
}

.hero .hero-audience {
  margin-bottom: 20px;
}

.hero .hero-program {
  font-size: 25.68px;
  margin-bottom: 18px;
}

.hero .hero-capacity {
  font-size: 28.89px;
  margin-bottom: 24px;
}

.hero .hero-capacity strong {
  font-size: 78.4px;
}

@media(max-width:767px) {
  .hero {
    aspect-ratio: auto;
    min-height: 580px;
  }

  .hero .hero-content {
    width: calc(100% - 32px);
    padding: 26px 12px;
    margin: 32px auto;
  }

  .hero .hero-title {
    font-size: clamp(26.88px,7.616vw,47.04px);
  }

  .hero .hero-question {
    font-size: min(1.2054em,calc((100vw - 56px)/9.1));
  }

  .hero .hero-audience {
    font-size: 13px;
    padding-inline: 12px;
  }

  .hero .hero-program {
    font-size: 19.26px;
  }

  .hero .hero-capacity {
    font-size: 18px;
  }

  .hero .hero-capacity strong {
    font-size: 60.48px;
  }
}

/* 対象を最初に示し、内容・定員・申込へ誘導する。 */
.hero .hero-audience {
  display: table;
  margin: 0 auto 22px;
  padding: 0 18px;
  border-inline: 4px solid var(--hero-sub);
  font-family: 'M PLUS 1p',sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .08em;
}

.hero .hero-capacity {
  margin-bottom: 24px;
}

.hero-capacity strong {
  font-size: 64px;
}

.hero .hero-event {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #333;
}

@media(min-width:768px) {
  .hero .hero-audience {
    font-size: 21.4px;
    margin-bottom: 26px;
  }

  .hero-capacity strong {
    font-size: 86px;
  }

  .hero .hero-capacity {
    margin-bottom: 28px;
  }

  .hero .hero-event {
    font-size: 14.98px;
  }
}

@media(max-width:767px) {
  .hero .hero-audience {
    font-size: 14.98px;
    margin-bottom: 18px;
  }

  .hero-title-line:first-child {
    letter-spacing: -.075em;
  }

  .hero-capacity strong {
    font-size: 54px;
  }

  .hero .hero-capacity {
    font-size: 18px;
    gap: 10px;
    margin-bottom: 20px;
  }

  .hero .hero-event {
    font-size: 11.77px;
  }
}

/* CTAは色・形を維持し、中央エリアに合わせて約6%拡大。 */
.fes .hero-cta {
  max-width: 466px;
  min-height: 72px;
  font-size: 20.14px;
}

@media(min-width:768px) {
  .fes .hero-cta {
    min-height: 80.56px;
    font-size: 23.32px;
  }
}

/* 通常のヘッダーと、イベント名・中央の訴求を整理したFV。 */
.fes-header {
  display: grid;
  grid-template-columns: 1fr auto;
  max-width: 1600px;
  padding: 18px 5%;
  background: #fff;
}

.fes-header .fes-header-nav {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 2;
  gap: 22px;
  overflow-x: auto;
  padding: 4px 0;
}

.fes-header-nav a {
  flex: none;
  color: #111;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.fes-header-nav a:hover {
  color: #079fec;
}

.fes-header .fes-cta-small {
  display: flex;
  font-size: 13px;
  min-height: 44px;
  padding: 10px 16px;
}

.hero {
  box-sizing: border-box;
  aspect-ratio: auto;
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: auto auto;
  padding: 32px 0 48px;
  min-height: 860px;
}

.fv-event-logo {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: flex-start;
  width: min(67.2%,918px);
  margin: 0 auto -20px;
}

.fv-event-logo img {
  display: block;
  width: clamp(280px,34vw,520px);
  max-width: 90%;
  height: auto;
  object-fit: contain;
  transform: rotate(-8deg);
  transform-origin: left bottom;
}

.hero .hero-content {
  width: min(67.2%,918px);
  margin: 16px auto 20px;
  padding: 40px 24px 48px;
  background: none;
  color: #111;
}

.hero .hero-content::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255,255,255,.93);
  pointer-events: none;
}

.hero .hero-title {
  color: #111;
  font-size: clamp(40.32px,4.144vw,69.44px);
}

.hero .hero-audience {
  color: #079fec;
}

.hero .hero-program {
  color: #111;
  font-size: 25.68px;
}

.hero .hero-capacity {
  color: #111;
  font-size: 28.89px;
}

.hero .hero-capacity strong {
  color: var(--hero-accent);
  font-size: 78.4px;
}

.hero .hero-event {
  display: table;
  margin: 0 auto 24px;
  padding: 8px 0 0;
  background: none;
  color: #111;
  line-height: 1.4;
}

.hero-event time {
  display: block;
  font-family: 'M PLUS 1p',sans-serif;
  font-size: clamp(23px,2.4vw,34px);
  font-weight: 800;
  white-space: nowrap;
}

.hero-event time span {
  font-size: .65em;
  margin-left: 4px;
}

.hero .hero-event p {
  margin: 5px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

@media(min-width:1200px) {
  .fes-header {
    display: flex;
    gap: 24px;
  }

  .fes-header .fes-header-nav {
    margin-left: auto;
    gap: 18px;
    overflow: visible;
  }
}

@media(max-width:767px) {
  .fes-header {
    gap: 12px;
    padding: 16px 20px 12px;
  }

  .fes-header .fes-brand {
    font-size: 21px;
  }

  .fes-header .fes-cta-small {
    font-size: 11px;
    padding: 10px 12px;
  }

  .fes-header .fes-header-nav {
    gap: 18px;
    max-width: 100%;
  }

  .hero {
    min-height: 0;
    padding: 28px 0 20px;
  }

  .fv-event-logo {
    width: calc(100% - 24px);
    margin-bottom: -12px;
  }

  .fv-event-logo img {
    width: min(72vw,380px);
  }

  .hero .hero-content {
    width: calc(100% - 24px);
    padding: 40px 12px 48px;
    margin: 12px auto 20px;
  }

  .hero .hero-content::before {
    inset: 0;
    border-radius: 50% / 25%;
  }

  .hero .hero-title {
    font-size: clamp(26.88px,7.616vw,47.04px);
  }

  .hero .hero-question {
    font-size: min(1.2054em,calc((100vw - 56px)/9.1));
  }

  .hero .hero-program {
    font-size: 19.26px;
  }

  .hero .hero-capacity {
    font-size: 18px;
  }

  .hero .hero-capacity strong {
    font-size: 60.48px;
  }

  .hero .hero-event {
    padding: 8px 0 0;
    margin-bottom: 20px;
  }

  .hero-event time {
    font-size: 23px;
  }

  .hero .hero-event p {
    font-size: 18px;
  }
}

/* ロゴ・白い楕円・装飾は完成ビジュアルに含まれる。HTMLは申込情報のみ。 */
.hero {
  display: block;
  aspect-ratio: auto;
  min-height: 65.2vw;
  padding: 25vw 0 4vw;
}

.hero .hero-visual {
  background: none center top / cover no-repeat;
}

.hero .hero-content {
  width: min(67.2%,918px);
  margin: 0 auto;
  padding: 0 24px;
  transform: translateY(-24px);
}

.hero .hero-content::before {
  content: none;
}

.hero .hero-title {
  font-size: clamp(30px,3.65vw,66px);
  margin-bottom: 20px;
}

.hero .hero-audience {
  margin-bottom: 18px;
}

.hero .hero-program {
  font-size: clamp(18px,1.7vw,28px);
  margin-bottom: 16px;
}

.hero .hero-capacity {
  font-size: clamp(20px,2vw,30px);
  margin-bottom: 18px;
}

.hero .hero-capacity strong {
  font-size: clamp(54px,5.1vw,84px);
}

.hero .hero-event {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  margin: 0 auto 20px;
  padding: 0;
  border: 0;
  gap: 0;
}

.hero .hero-event time {
  font-size: clamp(18px,1.8vw,28px);
}

.hero .hero-event p {
  margin: 0;
  font-size: clamp(15px,1.3vw,22px);
}

.hero .hero-event-divider {
  margin-inline: 5px;
}

.fes .hero-cta {
  min-height: 64px;
  font-size: 20px;
}

@media(max-width:767px) {
  .hero {
    min-height: 0;
    padding: 30vw 0 42px;
  }

  .hero .hero-visual {
    top: 24vw;
    height: calc(100% - 24vw);
    background-size: 100% 150%;
    background-position: center bottom;
  }

  /* 上部のロゴは元の縦横比で見せ、下部の白い楕円は縦長の情報に合わせる。 */
  .hero .hero-visual::after {
    content: '';
    position: absolute;
    left: 0;
    top: -24vw;
    width: 100%;
    height: 24vw;
  }

  .hero .hero-content {
    width: calc(100% - 32px);
    padding: 24px 8px 20px;
    transform: translateY(-16px);
  }

  .hero .hero-title {
    font-size: clamp(25px,7.2vw,47px);
  }

  .hero .hero-question {
    font-size: min(1.2054em,calc((100vw - 48px)/9.1));
  }

  .hero .hero-audience {
    font-size: 14px;
    padding-inline: 10px;
  }

  .hero .hero-program {
    font-size: 18px;
  }

  .hero .hero-capacity {
    font-size: 18px;
  }

  .hero .hero-capacity strong {
    font-size: 56px;
  }

  .hero .hero-event time {
    font-size: 18px;
  }

  .hero .hero-event p {
    font-size: 15px;
  }

  .hero .hero-event-divider {
    display: none;
  }

  .hero .hero-event {
    flex-direction: column;
    align-items: center;
    gap: 3px;
  }

  .fes .hero-cta {
    max-width: 250px;
    min-height: 60px;
    padding-inline: 18px;
    font-size: 17px;
  }
}

/* スマートフォン専用の完成ビジュアル。PCの背景には影響しない。 */
@media(max-width:767px) {
  .hero {
    padding-top: 52vw;
    min-height: 177.78vw;
  }

  .hero .hero-visual {
    top: 0;
    height: 100%;
    background-size: 100% 100%;
    background-position: center top;
  }

  .hero .hero-visual::after {
    content: none;
  }

  .hero .hero-content {
    padding-top: 24px;
  }
}

/* 講習と測定をひとまとまりで伝えるアイコン付きプログラム帯。 */
.hero .hero-program {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 20px;
  padding: 12px 20px;
  border: 1px solid #d3edf8;
  border-bottom: 1px solid #d3edf8;
  background: #f3fbfe;
  color: #111;
  font-size: clamp(20px,1.9vw,29px);
  line-height: 1.4;
  font-weight: 800;
}

.hero-program-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.hero .hero-program .hero-program-icon {
  display: block;
  flex: none;
  width: 34px;
  height: 34px;
  color: #079fec;
}

.hero .hero-program .hero-program-plus {
  color: #079fec;
  font-size: 1.35em;
  line-height: 1;
}

.hero .hero-program .hero-program-measure {
  color: #111;
}

@media(max-width:767px) {
  .hero .hero-program {
    gap: 8px;
    padding: 12px 8px;
    font-size: clamp(16px,4.3vw,20px);
    margin-bottom: 20px;
  }

  .hero-program-item {
    gap: 5px;
  }

  .hero .hero-program .hero-program-icon {
    width: 24px;
    height: 24px;
  }
}

.hero .hero-program .hero-program-item, .hero .hero-program .hero-program-item > span {
  color: #111;
}

/* PCはヘッダーを重ね、開催情報とCTAまで最初の画面に収める。 */
@media(min-width:768px) {
  .fes-landing > .fes-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    min-height: 76px;
    padding-block: 12px;
    background: rgba(255,255,255,.94);
  }

  .fes-landing .hero {
    height: 100svh;
    min-height: 700px;
    padding: 0;
  }

  .fes-landing .hero .hero-visual {
    background-position: center top;
    background-size: 100% 100%;
  }

  .fes-landing .hero .hero-content {
    position: absolute;
    top: 43%;
    left: 50%;
    width: min(74%,1000px);
    margin: 0;
    padding: 0 20px;
    transform: translateX(-50%);
  }

  .fes-landing .hero .hero-audience {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .fes-landing .hero .hero-title {
    font-size: clamp(30px,3vw,48px);
    margin-bottom: 12px;
    line-height: 1.1;
  }

  .fes-landing .hero .hero-distance {
    font-size: 1.5em;
  }

  .fes-landing .hero .hero-program {
    font-size: 21px;
    padding: 8px 16px;
    margin-bottom: 12px;
  }

  .fes-landing .hero .hero-program-icon {
    width: 28px;
    height: 28px;
  }

  .fes-landing .hero .hero-capacity {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .fes-landing .hero .hero-capacity strong {
    font-size: 56px;
  }

  .fes-landing .hero .hero-event {
    margin-bottom: 12px;
  }

  .fes-landing .hero .hero-event time {
    font-size: 23px;
  }

  .fes-landing .hero .hero-event p {
    font-size: 18px;
  }

  .fes-landing .hero .hero-cta {
    min-height: 56px;
    max-width: 400px;
    font-size: 19px;
  }
}

@media(min-width:768px) and (max-height:800px) {
  .fes-landing .hero .hero-content {
    top: 41%;
  }

  .fes-landing .hero .hero-title {
    font-size: clamp(28px,2.6vw,40px);
    margin-bottom: 8px;
  }

  .fes-landing .hero .hero-audience {
    margin-bottom: 6px;
  }

  .fes-landing .hero .hero-program {
    padding-block: 6px;
    margin-bottom: 8px;
    font-size: 19px;
  }

  .fes-landing .hero .hero-capacity {
    margin-bottom: 6px;
  }

  .fes-landing .hero .hero-capacity strong {
    font-size: 48px;
  }

  .fes-landing .hero .hero-event {
    margin-bottom: 8px;
  }
}

/* PC背景は元画像の縦横比を保ち、縦横別々に引き伸ばさない。 */
@media(min-width:768px) {
  .fes-landing .hero .hero-visual {
    background-size: cover;
    background-position: center top;
  }
}

/* 画像全体を幅に合わせて表示し、文字だけを初期画面内にまとめる。 */
@media(min-width:768px) {
  .fes-landing .hero {
    height: auto;
    min-height: max(700px,65.2vw);
  }

  .fes-landing .hero .hero-visual {
    background-size: 100% auto;
    background-position: center top;
  }

  .fes-landing .hero .hero-content {
    top: clamp(270px,32svh,340px);
  }
}

/* 背景のロゴと楕円は固定し、その内側の情報だけを通常フローで整理。 */
@media(min-width:768px) {
  .fes-landing .hero .hero-content {
    top: 29vw;
    width: min(72%,1000px);
  }

  .fes-landing .hero .hero-audience {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .fes-landing .hero .hero-title {
    font-size: clamp(28px,2.5vw,46px);
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .fes-landing .hero .hero-question {
    margin-top: 6px;
  }

  .fes-landing .hero .hero-program {
    font-size: clamp(18px,1.45vw,23px);
    padding: 8px 16px;
    margin-bottom: 0;
  }

  .fes-landing .hero .hero-capacity {
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .fes-landing .hero .hero-capacity strong {
    font-size: 52px;
  }

  .fes-landing .hero .hero-event {
    margin-bottom: 16px;
    line-height: 1.4;
  }

  .fes-landing .hero .hero-cta {
    min-height: 56px;
  }
}

@media(max-width:767px) {
  .hero .hero-content {
    padding-top: 30px;
    padding-bottom: 12px;
  }

  .hero .hero-audience {
    margin-bottom: 12px;
  }

  .hero .hero-title {
    margin-bottom: 12px;
    font-size: clamp(24px,6.7vw,43px);
    line-height: 1.15;
  }

  .hero .hero-question {
    margin-top: 5px;
  }

  .hero .hero-program {
    margin-bottom: 0;
    padding-block: 8px;
  }

  .hero .hero-capacity {
    margin-bottom: 12px;
  }

  .hero .hero-capacity strong {
    font-size: 48px;
  }

  .hero .hero-event {
    margin-bottom: 14px;
  }
}

/* メインコピーを強くし、ランナーを除いた分を読みやすい余白に配分。 */
@media(min-width:768px) {
  .fes-landing .hero .hero-title {
    font-size: clamp(34px,3.1vw,56px);
    line-height: 1.18;
    margin-bottom: 18px;
  }

  .fes-landing .hero .hero-program {
    margin-bottom: 18px;
  }
}

@media(max-width:767px) {
  .hero .hero-title {
    font-size: clamp(27px,7.6vw,48px);
    line-height: 1.18;
    margin-bottom: 16px;
  }

  .hero .hero-question {
    font-size: min(1.2054em,calc((100vw - 48px)/9.1));
  }

  .hero .hero-program {
    margin-bottom: 18px;
  }
}

/* 原画像を加工せず、アイコン右側にHTMLラベルを重ねる。 */
.fes-landing .hero .fv-program-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: min(100%,600px);
  max-width: 100%;
  margin: 0 auto 16px;
  padding: 0;
  border: 0;
  background: none;
}

.fv-program-badge {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  max-width: 290px;
}

.fv-program-badge img {
  display: block;
  width: 100%;
  height: auto;
}

.fes-landing .hero .fv-program-badge__text {
  position: absolute;
  top: 45%;
  left: 60%;
  transform: translate(-50%,-50%);
  color: #fff;
  font-weight: 900;
  font-size: clamp(20px,1.9vw,28px);
  line-height: 1;
  white-space: nowrap;
}

@media(max-width:767px) {
  .fes-landing .hero .fv-program-badges {
    gap: 8px;
    margin-bottom: 16px;
  }

  .fes-landing .hero .fv-program-badge__text {
    font-size: clamp(13px,3.55vw,20px);
  }
}

/* 横長のPC背景の白い楕円に、情報ブロック全体を収める。 */
@media(min-width:768px) {
  .fes-landing .hero .hero-content {
    top: 25vw;
    width: 72%;
    max-width: 1100px;
    padding: 0 16px;
  }

  .fes-landing .hero .hero-title {
    font-size: clamp(24px,2.65vw,51px);
    line-height: 1.1;
    margin-bottom: 1vw;
  }

  .fes-landing .hero .hero-question {
    font-size: 1.08em;
    margin-top: .4vw;
  }

  .fes-landing .hero .hero-distance {
    font-size: 1.4em;
  }

  .fes-landing .hero .fv-program-badges {
    width: 36vw;
    max-width: 620px;
    gap: 1vw;
    margin-bottom: .8vw;
  }

  .fes-landing .hero .fv-program-badge {
    max-width: none;
  }

  .fes-landing .hero .fv-program-badge__text {
    font-size: clamp(14px,1.35vw,26px);
  }

  .fes-landing .hero .hero-capacity {
    font-size: clamp(16px,1.45vw,27px);
    margin-bottom: .7vw;
    line-height: 1.1;
  }

  .fes-landing .hero .hero-capacity strong {
    font-size: clamp(34px,3.2vw,61px);
  }

  .fes-landing .hero .hero-event {
    margin-bottom: .8vw;
    line-height: 1.3;
  }

  .fes-landing .hero .hero-event time {
    font-size: clamp(15px,1.55vw,28px);
  }

  .fes-landing .hero .hero-event p {
    font-size: clamp(13px,1.25vw,23px);
  }

  .fes-landing .hero .hero-cta {
    min-height: 0;
    width: 28vw;
    max-width: 480px;
    padding: .9vw 1.6vw;
    font-size: clamp(15px,1.35vw,24px);
  }
}

@media(min-width:768px) {
  .fes-landing .hero .hero-content {
    top: 24.5vw;
  }

  .fes-landing .hero .fv-program-badges {
    width: 34vw;
  }
}

/* メインコピーを約10%拡大。 */
@media(min-width:768px) {
  .fes-landing .hero .hero-title {
    font-size: clamp(26px,2.9vw,56px);
  }
}

@media(max-width:767px) {
  .hero .hero-title {
    font-size: clamp(29px,8.2vw,51px);
  }
}

/* メインコピーを現在のサイズからさらに20%拡大。 */
@media(min-width:768px) {
  .fes-landing .hero .hero-title {
    font-size: clamp(31.2px,3.48vw,67.2px);
  }
}

@media(max-width:767px) {
  .hero .hero-title {
    font-size: clamp(34.8px,9.84vw,61.2px);
  }

  .hero .hero-question {
    font-size: min(1.2054em,calc((100vw - 48px)/9.1));
  }
}

/* 背景を動かさず、FV内の情報全体を少し上へ。 */
@media(min-width:768px) {
  .fes-landing .hero .hero-content {
    top: calc(24.5vw - 20px);
  }
}

@media(max-width:767px) {
  .hero .hero-content {
    transform: translateY(-28px);
  }
}

/* バッジ画像は維持し、重ねるラベルだけ約15%拡大。 */
@media(min-width:768px) {
  .fes-landing .hero .fv-program-badge__text {
    font-size: clamp(16px,1.55vw,30px);
  }
}

@media(max-width:767px) {
  .fes-landing .hero .fv-program-badge__text {
    font-size: clamp(15px,4.08vw,23px);
  }
}

/* PCのFVは背景画像（1366×768）と同じ縦横比に合わせる。 */
@media(min-width:768px) {
  .fes-landing .hero {
    aspect-ratio: 1366 / 768;
    height: auto;
    min-height: 0;
    padding: 0;
  }
}

/* 背景方式の位置・サイズをDOM画像で再現。前面のコピー配置は維持。 */
.hero .hero-visual__media {
  display: block;
}

.hero-visual__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media(max-width:767px) {
  .hero-visual__media img {
    /* 既存のbackground-size: 100% 100%と同じ伸縮。 */
    object-fit: fill;
  }
}

/* 定員の近くに締切を添え、白い楕円内の余白を維持する。 */
.fes-landing .hero .hero-capacity {
  margin-bottom: 4px;
}

.hero .hero-deadline {
  margin: 0 0 8px;
  color: #111;
  font-size: clamp(14px,1.3vw,20px);
  font-weight: 800;
  line-height: 1.3;
}

.hero-deadline time {
  color: #e74700;
}

.hero-capacity-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media(min-width:768px) {
  .hero .hero-capacity-group {
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 20px;
    margin-bottom: .7vw;
  }

  .fes-landing .hero .hero-capacity-group > p {
    margin: 0;
  }
}
