/**
 * audition.css
 * オーディション応募・送信内容確認・送信完了ページ共通スタイル
 */

/* ヘッダー直下に余白なくKVを敷くため、.l-main の padding-top 分を打ち消す
   （入力ページ .p-audition のみ。確認 .p-audition-confirm／完了 .p-audition-complete には適用しない） */
.l-main.p-audition {
  margin-top: -111px;
}

@media (min-width: 768px) {
  .l-main.p-audition {
    margin-top: -167px;
  }
}

/* ============================================================
   ヒーロー（KV）
   ============================================================ */
.p-audition__hero {
  position: relative;
}

.p-audition__hero-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 390 / 720;
  background: linear-gradient(180deg, #e7ecec 0%, #d9dfe6 100%);
}

.p-audition__hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.p-audition__hero-copy {
  position: absolute;
  top: 11%;
  right: 10.5%;
  font-family: var(--font-base);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: 10px;
  color: #354347;
  writing-mode: vertical-rl;
}

.p-audition__hero-copy--sm {
  font-size: 0.8125em;
}

.p-audition__hero-overlay-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6.1%;
  pointer-events: none;
}

.p-audition__hero-overlay {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  pointer-events: auto;
}

.p-audition__hero-tag {
  display: inline-flex;
  align-items: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 12px;
  line-height: 1.4;
  padding: 4px 12px;
  white-space: nowrap;
}

.p-audition__hero-title {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 18px;
  background: var(--color-primary);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  margin-bottom: 8px;
  white-space: nowrap;
}

.p-audition__hero-cta {
  padding: 10px 20px;
  min-width: 135px;
  border: none;
}

.p-audition__montage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.p-audition__montage img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (min-width: 768px) {
  .p-audition__hero-visual {
    aspect-ratio: 1920 / 982;
  }

  .p-audition__hero-copy {
    top: 20.5%;
    right: 17.7%;
    font-size: 32px;
  }

  .p-audition__hero-overlay-wrap {
    display: block;
    padding-bottom: 0;
    max-width: none;
    --container-pad: 0;
  }

  .p-audition__hero-overlay {
    position: absolute;
    left: 16.21875vw;
    top: 24.322916666666668vw;
  }

  .p-audition__hero-tag {
    width: 267px;
    height: 34px;
    font-size: 16px;
    padding: 0 16px;
  }

  .p-audition__hero-title {
    width: 396px;
    height: 51px;
    font-size: 32px;
    padding: 0 24px;
    margin-bottom: 8px;
  }

  .p-audition__hero-cta {
    width: 12.5vw;
    height: 3.854166666666667vw;
    max-width: 240px;
    max-height: 74px;
    padding: 0;
    font-size: clamp(16px, 1.25vw, 24px);
  }
}
@media (max-width: 767px) {
  .p-audition__hero-overlay-wrap {
    justify-content: center;
  }
}
/* ============================================================
   イントロ（サンミュージックブレーン タレントオーディション）
   ============================================================ */
.p-audition__intro {
  position: relative;
  overflow: hidden;
  padding-block: 90px;
  text-align: center;
  background-image: url("/assets/images/audition/deco-fluid-bg-sp.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.p-audition__intro-deco {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  max-width: 70%;
  pointer-events: none;
}

.p-audition__intro > .l-container {
  position: relative;
}

.p-audition__lead-label {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.p-audition__lead-title {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: var(--fs-h2);
  color: var(--color-primary);
  margin-bottom: 24px;
}

.p-audition__lead-text {
  max-width: 640px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .p-audition__intro {
    background-image: url("/assets/images/audition/deco-fluid-bg.png");
  }

  .p-audition__intro-deco {
    width: 320px;
  }
}

/* ============================================================
   応募資格／選考の流れ
   ============================================================ */
.p-audition__qualify {
  background-color: #f4f7f4;
  padding-block: 48px;
}

.p-audition__qualify-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 32px 20px;
}

@media (min-width: 768px) {
  .p-audition__qualify-card {
    padding: 48px;
  }
}

.p-audition__qualify-box {
  background: var(--color-white);
  border: 1px solid var(--color-primary);
  padding: 24px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .p-audition__qualify-box {
    max-width: 560px;
    margin-inline: auto;
  }
}

.p-audition__qualify-box p {
  margin: 0;
}

.p-audition__steps {
  margin-bottom: 0;
}

/* ============================================================
   応募フォーム
   ============================================================ */
.p-audition__form-section {
  padding-block: 48px;
  scroll-margin-top: 88px;
}

.p-audition__form-intro {
  margin-bottom: 24px;
}

.p-audition__photo-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-audition__photo-item > span {
  display: block;
  margin-bottom: 8px;
}

.p-audition__privacy {
  font-size: 14px;
  color: var(--color-help);
  margin-bottom: 32px;
}

.p-audition__privacy a {
  color: #00e;
  text-decoration: underline;
}

.p-audition__submit {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

/* ============================================================
   よくある質問
   ============================================================ */
.p-audition__faq {
  padding-top: 24px;
}

@media (min-width: 768px) {
  .p-audition__photo-group {
    gap: 24px;
  }

  .p-audition__photo-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .p-audition__photo-item > span {
    margin-bottom: 0;
  }
}

/* ============================================================
   送信内容確認ページ
   ============================================================ */
.p-audition-confirm__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.p-audition-confirm__thumb {
  display: block;
  width: 128px;
  height: 170px;
  object-fit: cover;
  background: #dedede;
  margin-bottom: 8px;
}

/* ============================================================
   送信完了ページ
   ============================================================ */
.p-audition-complete {
  padding-block: 64px 120px;
  text-align: center;
}

.p-audition-complete__text {
  margin-bottom: 32px;
}

.p-audition__photo-heading {
  min-width: 0;
  margin-bottom: 8px;
}

.p-audition__photo-note {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  color: #666;
}

@media (min-width: 768px) {
  .p-audition__photo-heading {
    margin-bottom: 0;
  }
}
