/* =====================================================
   DAISO インターンシップ - 対面IS（ヒットの法則）ページ固有CSS
   ===================================================== */

/* =====================================================
   ヒーロー
   ===================================================== */
.ftof-hero {
  position: relative;
  padding-top: 150px;
  padding-bottom: 200px;
  overflow: hidden;
}

/* 斜めの仕切り付きピンク背景レイヤー（.ai 準拠：左が下・右が上に上がる約5.6°） */
.ftof-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: var(--color-primary);
  background-image: url("../images/ftof-hero-bg.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10vw), 0 100%);
}

.ftof-hero>.container {
  position: relative;
  z-index: 1;
}

.ftof-badge {
  display: inline-block;
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 18px;
  margin-bottom: 28px;
}

.ftof-hero-title {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 900;
  color: #000;
  line-height: 1.55;
  letter-spacing: 2px;
  margin-bottom: 0;
}

/* 「ヒットの法則」だけ白で強調（.ai 準拠） */
.ftof-hero-title .is-hl {
  color: var(--color-white);
}

/* 助詞などを小さく（.ai 準拠：大50pt に対し約0.7em） */
.ftof-hero-title .is-sm {
  font-size: 0.7em;
}

.ftof-hero-illust {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ftof-hero-img {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  margin-inline: auto;
}

/* =====================================================
   ストーリー
   ===================================================== */
.ftof-story {
  position: relative;
  background-color: var(--color-white);
  padding: 120px 0;
}

/* 三角テクスチャ：HEROの斜め部分までせり上げて重ねる（.ai 準拠） */
.ftof-story::before {
  content: "";
  position: absolute;
  top: -80%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 1336px;
  aspect-ratio: 1336 / 760;
  background: url("../images/ftof-story-bg.png") no-repeat top center;
  background-size: contain;
  pointer-events: none;
}

.ftof-story>.container {
  position: relative;
  z-index: 1;
}

.ftof-story-q {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: 28px;
}

.ftof-story-text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 22px;
}

.ftof-story-text:last-child {
  margin-bottom: 0;
}

/* マーケティング円形図（.ai 書き出しSVG） */
.mkt-diagram-img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 0 auto;
}

/* =====================================================
   プログラム内容
   ===================================================== */
.ftof-program {
  background-color: var(--color-bg-gray);
  background-image: url("../images/ftof-program-bg.png");
  background-repeat: no-repeat;
  background-position: 230% top;
  background-size: 70% auto;
  padding: 120px 0;
}

.prog-card {
  height: 100%;
  text-align: center;
}

/* 番号バッジ：円＋下向きポインター（.ai 準拠の吹き出し型） */
.prog-num {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 28px;
}

.prog-num::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -7px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 11px 0 11px;
  border-color: var(--color-primary) transparent transparent transparent;
}

.prog-num b {
  font-size: 1.85rem;
  font-weight: 900;
}

.prog-num small {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.prog-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.prog-illust {
  width: 100%;
  margin-bottom: 24px;
}

.prog-illust-img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-inline: auto;
}

.prog-card-desc {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.85;
  text-align: left;
  margin-bottom: 0;
}

/* =====================================================
   開催概要
   ===================================================== */
.ftof-overview {
  background-color: var(--color-bg-gray);
  background-image: url("../images/ftof-story-bg.png");
  background-repeat: no-repeat;
  background-position: -135% top;
  background-size: 70% auto;
  padding: 120px 0;
}

.ov-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ov-card {
  background-color: var(--color-white);
  padding: 28px 32px;
  height: auto;
}

.ov-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.ov-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ov-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ov-label {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-text);
}

.ov-main {
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.55;
  margin-bottom: 12px;
}

.ov-main.is-small {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
}

.ov-note {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* 選考バナー */
.ov-banner {
  margin-top: 40px;
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 26px 20px;
  position: relative;
}

.ov-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 18px 26px 0 26px;
  border-color: var(--color-bg-gray) transparent transparent transparent;
}

.ov-banner-em {
  display: inline-block;
  background-color: var(--color-white);
  color: var(--color-primary);
  font-size: 1.8rem;
  font-weight: 600;
  border-radius: 5px;
  padding: 2px 14px;
  margin: 0 8px;
  vertical-align: middle;
}

/* =====================================================
   FAQ 上書き（背景白からの繋ぎ）
   ===================================================== */
.faq-section {
  padding-top: 120px;
}

/* =====================================================
   レスポンシブ
   ===================================================== */
@media (max-width: 991.98px) {

  .ftof-hero {
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .ftof-hero-illust {
    margin-top: 40px;
    max-width: 560px;
    margin-inline: auto;
  }

  .ftof-story,
  .ftof-program,
  .ftof-overview {
    padding: 70px 0;
    overflow: hidden;
  }

  .faq-section {
    padding-top: 70px;
  }

  .mkt-diagram-img {
    margin-bottom: 40px;
  }

  .prog-card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 767.98px) {

  .ftof-hero-title {
    font-size: 1.75rem;
    line-height: 1.6;
    display: inline-block;
  }

  .ov-card {
    padding: 22px 20px;
  }

  .ov-label {
    font-size: 1.2rem;
  }

  .ov-main {
    font-size: 1.6rem;
  }

  .ov-main.is-small {
    font-size: 1.1rem;
  }

  .ov-banner {
    font-size: 1.05rem;
    padding: 20px 16px;
  }

  .ftof-hero-img {
    max-width: 420px;
  }
}