@charset "UTF-8";
/* =========================================================
   index.html（企業向け LP）専用スタイル
   デザイン: REB三重労働局LP_v2.pdf 1ページ目 / 1500 × 5698
   ========================================================= */

/* ---------------------------------------------------------
   1. ヒーロー（紺 / 0〜1342px）
--------------------------------------------------------- */
.p-hero {
  position: relative;
  background: var(--c-navy);
}
.p-hero__visual {
  position: relative;
  z-index: 4;
  container-type: inline-size;
  /* ヒーローの主役（ロゴ・人物・日付）の最大幅。背景だけはこの制限を受けない */
  --hero-max: 1280px;
}
.p-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
}
/* 背景（放射＋下端の弧）は画面幅いっぱいのまま。
   高さは前景に合わせ、下端の弧を残して上側をトリミングする */
.p-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.p-hero__bg img {
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
/* 前景。ヒーロー全体の高さはこの要素（最大 1280px）が決める */
.p-hero__fg {
  position: relative;
  z-index: 2;
  display: block;
  max-width: var(--hero-max);
  margin-inline: auto;
}
/* 下端のカーブ（1280px 以上でのみ使用）。
   ここから前景が 1280px で止まり背景だけ広がるため、イラストの足元と
   背景のカーブの間に隙間ができる。全幅のカバーを重ねて塗りつぶす。
   1280px 未満は背景と前景が同じ倍率のままなので、これまで通りカバーは出さない */
.p-hero__visual .p-hero__cover {
  display: none;
}
@media (min-width: 1280px) {
  .p-hero__visual .p-hero__cover {
    display: block;
    position: absolute;
    left: 0;
    /* カバー下端の 22px の塗り足しぶんだけカーブが上がり、
       キャンバス下端まで届いていないイラストの足元を覆う */
    bottom: 0;
    width: 100%;
    aspect-ratio: 1500 / 115.781;
    z-index: 3;
    pointer-events: none;
  }
}

/* ヒーローの日付ブロック（hero.png から切り出した HTML 実装）
   --u = デザイン 1px。cqw なのでヒーロー画像の幅に正確に追従する */
.p-hero__dates {
  position: absolute;
  inset-block: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--hero-max);
  z-index: 3;
  --u: calc(min(100cqw, var(--hero-max)) / 1500);
}
.c-herodate--l { left: calc(423.5 * var(--u)); }
.c-herodate--r { left: calc(901.5 * var(--u)); }
.p-hero__cta {
  position: relative;
  z-index: 4;
  padding-top: 63px;
  padding-bottom: 69px;
}
.p-hero__cta-sub {
  margin-top: 2rem;
}

/* ---------------------------------------------------------
   2.「若者応援就活フェア」について（白 / 1489〜2108px）
      ※ セクション上端は紺の波が終わる 1489px。
--------------------------------------------------------- */
.p-about {
  background: var(--c-white);
  padding-top: 72px;
  padding-bottom: 44px;
  text-align: center;
}
.p-about__lead {
  margin: 76px 0 0;
  color: var(--c-pink);
  font-size: 2rem; /* 32px */
  line-height: 1.5;
}
.p-about__text {
  margin: 35px 0 0;
  font-size: 1.25rem; /* 20px */
  line-height: 1.8;
}

/* ---------------------------------------------------------
   3. 開催概要（水色グラデーション / 2108〜3863px + 波の高さ）
      背景は bg-02.svg（上辺の波＋グラデーション）を .bg-wave で敷く。
      下辺は会場セクション（#38accb）の波が .l-section--wave-gap ぶん重なる。
--------------------------------------------------------- */
.p-outline {
  padding-top: 12px;
  padding-bottom: 20px;
}
.p-outline .bg-wave {
  position: absolute;
  inset-inline: 0;
  top: 0;
  line-height: 0;
  pointer-events: none;
}
.p-outline .bg-wave img {
  display: block;
  max-width: unset;
  width: 120%;
  height: auto;
}
.p-outline .c-wave {
  bottom: 0;
  z-index: 1;
}
.p-outline__chara {
  position: relative;
  z-index: 3;
  display: block;
  width: 456px;
  max-width: 62%;
  margin: 0 auto;
}
.p-outline__heading {
  margin-top: 145px;
}
.p-outline__cards {
  margin-top: 52px;
}
.p-outline__circles {
  margin-top: 84px;
}
.p-outline__circle-list {
  margin: 9.06cqw 0 0; /* 31 / 342 */
  padding: 0;
  list-style: none;
  font-size: 5.26cqw; /* 18 / 342 */
  line-height: 1.55;
}
.p-outline__circle-note {
  margin: 4.09cqw 0 0; /* 14 / 342 */
  font-size: 5.26cqw; /* 18 / 342 */
  line-height: 1.55;
}
.p-outline__circle-big {
  margin: 6.73cqw 0 0; /* 23 / 342 */
  font-size: 17.54cqw; /* 60 / 342 */
  line-height: 1;
}
.p-outline__circle-big .u-sm {
  font-size: 8.19cqw; /* 28 / 342 */
  vertical-align: baseline;
}
.p-outline__circle-free {
  margin: 12.57cqw 0 0; /* 43 / 342 */
  color: var(--c-pink);
  font-size: 19.88cqw; /* 68 / 342 */
  line-height: 1;
}

/* 必須要件 */
.p-req {
  margin-top: 119px;
  text-align: center;
}
.p-req__title {
  margin: 0;
  font-size: 1.5rem; /* 24px */
  line-height: 1;
}
.p-req__list {
  display: inline-block;
  vertical-align: top;
  margin: 41px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.p-req__item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1rem; /* 16px */
  line-height: 1.4;
}
.p-req__list > li + li { margin-top: 17px; }
.p-req__list > .p-req__note-item + .p-req__item,
.p-req__list > .p-req__item + .p-req__note-item { margin-top: 14px; }
.p-req__icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 0;
}
.p-req__note {
  margin: 0 0 0 37px;
  font-size: .875rem; /* 14px */
  line-height: 1.4;
}

/* ---------------------------------------------------------
   4. 会場（#38accb / 3863〜4868px）
      セクション上端は波が終わる位置。波は .p-outline へせり上がる。
--------------------------------------------------------- */
.p-venue {
  background: #38accb;
  padding-top: 88px;
}
.p-venue__cards {
  margin-top: 51px;
  margin-bottom: -90px;
  /* カードが次セクション（紺）へ 90px はみ出すデザイン */
}
.p-venue__col {
  position: relative;
  padding-top: 60px;
  height: 100%;
}
.p-venue__tab {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 17px 24px 15px;
}
.p-venue__card {
  position: relative;
  z-index: 1;
  padding: 74px 33px 38px;
  text-align: center;
  height: 100%;
}
.p-venue__name {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
}
/* Google マップ埋め込み（デザインの地図画像と同じ 458 × 320px 枠） */
.p-venue__card .g-map {
  margin-top: 46px;
  overflow: hidden;
  border-radius: 4px;
  line-height: 0;
}
.p-venue__card .g-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}
.p-venue__access {
  margin-top: 37px;
  text-align: left;
}
.p-venue__access .c-access__item + .c-access__item { margin-top: 15px; }

/* ---------------------------------------------------------
   5. ページ下部 CTA + フッター（紺 / 4868〜5698px）
      セクション上端は波が終わる位置。波は .p-venue へせり上がる。
--------------------------------------------------------- */
.p-footer-cta {
  background: var(--c-navy);
  padding-top: 8px;
}
.p-footer-cta__sub {
  margin-top: 3rem;
}
.l-footer {
  padding-top: 111px;
}

/* 装飾（各セクション基準の相対位置。デザイン座標から算出）
   deco-01: page 1099 - hero top 0
   deco-03: page 3348 - outline top 2108
   deco-04: page 5024 - footer-cta top 4868 */
.p-deco-01 { top: 62%; --deco-x: 174px; width: 1210px; z-index:3; }
.p-deco-03 { top: 64.9%; --deco-x: 157px; width: 1202px; z-index: 1; } /* = 1240px / .p-outline 1910px */

.p-deco-04 { top: 2%;  --deco-x: 87px;  width: 1222px; }

/* ---------------------------------------------------------
   6. レスポンシブ
--------------------------------------------------------- */
@media (max-width: 1199px) {
  .p-outline .bg-wave img {
    width: 200%;
    max-width: unset;
  }
}
@media (max-width: 991.98px) {
  .p-hero__cta { padding-top: 40px; padding-bottom: 50px; }
  .p-hero__cta-sub { margin-top: 40px; }
  .p-about { padding-top: 56px; }
  .p-about__lead { margin-top: 48px; font-size: 1.625rem; }
  .p-about__text { margin-top: 28px; font-size: 1.0625rem; }
  .p-outline__heading { margin-top: 90px; }
  .p-outline__cards { margin-top: 40px; }
  .p-outline__circles { margin-top: 60px; }
  .p-req { margin-top: 80px; }
  .p-venue { padding-top: 70px; }
  .p-venue__cards { margin-top: 40px; margin-bottom: -60px; }
  .p-venue__card { padding: 62px 24px 23px; }
  .p-venue__name { font-size: 1.7rem; }
  .p-footer-cta { padding-top: 16px; }
  .p-footer-cta__sub { margin-top: 50px; }
  .l-footer { padding-top: 80px; }
}

@media (max-width: 767.98px) {
  .p-hero {
    background-image: url("../img/index/hero-bg-sp.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
  }
  /* SP はヒーロー画像が 390px キャンバス。
     日付ブロックは PC 版（1500px キャンバス）の 0.70 倍で配置する */
  .p-hero__dates {
    --sp: calc(100cqw / 390);   /* SP デザイン 1px */
    --u: calc(var(--sp) * .7);  /* ブロック内部は PC 実寸 × 0.7 */
  }
  .c-herodate { top: calc(373.5 * var(--sp)); }
  .c-herodate--l { left: calc(48 * var(--sp)); }
  .c-herodate--r { left: calc(217 * var(--sp)); }
  .p-hero__cta { padding-top: 30px; padding-bottom: 40px; }
  .p-hero__cta-sub { margin-top: 24px; }
  .p-about { padding-top: 40px; padding-bottom: 30px; }
  .p-about__lead { margin-top: 32px; font-size: 1.25rem; }
  .p-about__text { margin-top: 20px; font-size: 1rem; text-align: left; }
  .p-about__lead br,
  .p-about__text br { display: none; }
  .p-outline .bg-wave {top:-3%;}
  .p-outline .bg-wave img {
    width:500%;
    position: relative;
    transform: translateX(-50%);
    left: 50%;
  }
  .p-outline__chara { max-width: 76%; margin-top: 24px; }
  .p-outline__heading { margin-top: 56px; }
  .p-outline__cards { margin-top: 28px; }
  .p-outline__circles { margin-top: 40px; }
  .p-req { margin-top: 56px; }
  .p-req__title { font-size: 1.125rem; }
  .p-req__list { display: block; margin-top: 24px; }
  .p-req__item { font-size: .875rem; gap: 10px; }
  .p-req__icon { width: 18px; height: 18px; }
  .p-req__note { margin-left: 28px; font-size: .75rem; }
  .p-venue { padding-top: 48px; }
  .p-venue__cards { margin-top: 28px; margin-bottom: -40px; }
  .p-venue__col + .p-venue__col { margin-top: 40px; }
  .p-venue__card { padding: 46px 16px 20px; }
  .p-venue__name { font-size: 1.375rem; }
  .p-venue__card .g-map { margin-top: 24px; }
  .p-venue__card .g-map iframe { height: 240px; }
  .p-venue__access { margin-top: 20px; }
  .p-footer-cta { padding-top: 24px; }
  .p-footer-cta__sub { margin-top: 24px; }
  .l-footer { padding-top: 56px; }
}
