/* =======================================
   salary.css  —  給与ページ（サイト通常ページ版）
   - ヒーロー / 給与カード（PC=3列, SP=1列）
   - 「上がる会社 / 上がらない会社」強化
   - 「給与を上げるには」強化
   ======================================= */

/* ---- 基本トーン（既存トークン前提） ---- */
:root {
    --sal-card-gap: 1.3rem;
    --sal-radius-lg: 18px;
    --sal-radius-md: 14px;
    --sal-shadow-1: 0 20px 50px rgba(0, 0, 0, .08);
    --sal-shadow-2: 0 14px 34px rgba(0, 0, 0, .10);
    --sal-grad-hero:
        radial-gradient(1200px 600px at 90% -10%, rgba(124, 58, 237, .16), transparent 60%),
        radial-gradient(900px 480px at 10% -10%, rgba(6, 182, 212, .18), transparent 60%),
        conic-gradient(from 180deg at 50% 50%, rgba(16, 185, 129, .12), rgba(124, 58, 237, .10), rgba(6, 182, 212, .08), rgba(16, 185, 129, .12));
}

/* =======================================
   Hero
   ======================================= */
.salary-lp .hero--salary {
    position: relative;
    overflow: clip;
    margin-bottom: 0 !important;
}

.hero__bg--salary::before {
    content: "";
    position: absolute;
    inset: -20% -25% -30% -25%;
    background: var(--sal-grad-hero);
    filter: blur(18px) saturate(120%);
    z-index: -1;
}

.salary-hero__hd {
    max-width: 760px;
}

.salary-hero__eyebrow {
    color: var(--muted);
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.salary-hero__title {
    font-size: clamp(2.2rem, 3.4vw, 3.6rem);
    line-height: 1.15;
    letter-spacing: -.02em;
}

.salary-hero__lead {
    margin-top: 1.2rem;
    font-size: 1rem;
    color: var(--muted);
}

/* =======================================
   給与カード（SP=1列 / PC=3列）
   ======================================= */
.salary-cards-wrap {
    margin-top: clamp(2rem, 4vw, 3rem);
}

/* SP: 1列 */
.salary-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sal-card-gap);
}

/* PC: 3列 */
@media (min-width: 1024px) {
    .salary-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--sal-card-gap);
    }
}

.salary-card {
    border-radius: var(--sal-radius-lg);
    border: 1px solid var(--border);
    background:
        linear-gradient(150deg,
            color-mix(in oklab, var(--layer) 95%, transparent),
            color-mix(in oklab, var(--layer) 86%, transparent));
    box-shadow: var(--sal-shadow-1);
    padding: 1.2rem 1.15rem 1.1rem;
    display: flex;
    flex-direction: column;
}
/* カード全体リンク用 */
.salary-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.salary-card-link:hover .salary-card {
    transform: translateY(-2px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .12);
    transition: transform .18s ease, box-shadow .18s ease;
}

.salary-card__hd {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .8rem;
}

.salary-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background-size: cover;
    background-position: center;
    border: 2px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

.salary-card__eyebrow {
    font-size: .85rem;
    color: var(--muted);
}

.salary-card__name {
    font-size: 1.15rem;
    font-weight: 900;
}

.salary-card__summary {
    margin: .5rem 0 .6rem;
    padding: .7rem .75rem;
    border-radius: var(--sal-radius-md);
    background:
        radial-gradient(90% 80% at 0% 0%, rgba(124, 58, 237, .14), transparent 60%),
        color-mix(in oklab, var(--layer) 95%, transparent);
}

.salary-card__label {
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .2rem;
}

.salary-card__number {
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.4;
}

.salary-card__number span {
    font-size: 1.8rem;
    color: #fe1073;
}

.salary-card__sub {
    margin-top: .2rem;
    font-size: .85rem;
    color: var(--muted);
}

.salary-card__sub span {
    font-weight: 700;
}

.salary-card__spec {
    display: grid;
    gap: .3rem;
    margin: .5rem 0 .7rem;
    font-size: .9rem;
}

.salary-card__spec div {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: .35rem;
}

.salary-card__spec dt {
    font-weight: 700;
    color: color-mix(in oklab, var(--text) 75%, transparent);
}

.salary-card__spec dd {
    margin: 0;
    color: var(--muted);
}

.salary-card__bullets {
    margin: .3rem 0 .8rem;
    padding: .55rem .75rem;
    border-radius: 12px;
    background: color-mix(in oklab, var(--layer) 94%, transparent);
    font-size: .88rem;
}

.salary-card__bullets li {
    padding-left: 1.1rem;
    position: relative;
}

.salary-card__bullets li+li {
    margin-top: .2rem;
}

.salary-card__bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .45em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--brand-3) 75%, transparent);
}

/* 画像差し替え例 */
.salary-card__avatar--img1 {
    background-image: url('../images/salary-lp/omuro.jpg');
}

.salary-card__avatar--img2 {
    background-image: url('../images/salary-lp/koji.jpg');
}

.salary-card__avatar--img3 {
    background-image: url('../images/salary-lp/ichikawa.jpg');
}

.salary-card__cta {
    margin-top: .4rem;
    text-align: center;
}

/* =======================================
   「上がる会社 / 上がらない会社」強化
   ======================================= */
.section--salary-diff {
    /* background: color-mix(in oklab, var(--layer) 96%, transparent); */
}

.salary-diff-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .salary-diff-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.salary-diff-card {
    position: relative;
    border-radius: var(--sal-radius-lg);
    padding: 1.2rem 1.1rem 1.05rem;
    border: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
    background: #fff;
    box-shadow: var(--sal-shadow-2);
    overflow: hidden;
}

.salary-diff-card::after {
    content: "";
    position: absolute;
    inset: -20% -20% auto -10%;
    height: 60%;
    background: radial-gradient(60% 40% at 70% 20%, rgba(255, 255, 255, .18), transparent 60%);
    pointer-events: none;
}

.salary-diff-card h3 {
    display: inline-grid;
    align-items: center;
    grid-auto-flow: column;
    gap: .5rem;
    font-weight: 900;
    font-size: 1.12rem;
    margin: 0 0 .5rem;
}

.salary-diff-card h3::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

/* .salary-diff-card--ng { border-color: color-mix(in oklab, #d97706 35%, var(--border)); } */
.salary-diff-card--ng h3 span {
    color: #d97706;
}

/* .salary-diff-card--ok { border-color: color-mix(in oklab, var(--brand-3) 25%, var(--border)); } */
.salary-diff-card--ok h3 span {
    color: color-mix(in oklab, var(--brand-3) 95%, transparent);
}

.salary-diff-card ul {
    margin: .25rem 0 0;
    padding-left: 1.2rem;
    font-size: .95rem;
    color: var(--muted);
}

.salary-diff-card li {
    list-style: disc;
    margin: .22rem 0;
}

.salary-diff__callout {
    margin-top: 1.8rem;
    padding: 1rem 1.1rem;
    border-radius: var(--sal-radius-md);
    background-color: #f6f6f6;
    font-size: .98rem;
    line-height: 1.9;
    color: #4a4a4a;
    border: 3px #a0a0a0 double;
}

.salary-diff__callout strong {
    font-weight: 900;
    color: #383838;
}
.salary-diff__callout div p.link-btn a.btn--ghost {
}

.btn--ghost:not([disabled]):hover {
    background-color: transparent;
}
.btn:not([disabled]):hover {
    box-shadow: none;
}
.link-btn {
    margin: 15px 0;
}
p.link-btn > .btn--ghost {
    --bgc: transparent;
    --fgc: inherit;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    text-decoration: none;
    padding-bottom: 5px;
    color: #7dadffdb;
    padding-right: 2px;
    font-size: 18px;
    cursor: pointer; /* カード全体がリンクなので、見た目だけポインタに */
}

p.link-btn > .btn--ghost::before {
    content: "▶︎";
    opacity: .85;
    transition: transform .2s ease, opacity .2s ease;
    font-size: 0.7em;
}

p.link-btn > .btn--ghost::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, #7EC4E7 0%, #5E8DE7 75%, #1b317e 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

p.link-btn > .btn--ghost:hover::after {
    transform: scaleX(1);
}

/* =======================================
   「給与を上げるには」強化
   ======================================= */
.section--match {
    background: #fff;
}

.match-grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .match-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.match-block {
    border-radius: var(--sal-radius-lg);
    border: 1px solid var(--border);
    padding: 1rem 1rem .95rem;
    background: linear-gradient(180deg, color-mix(in oklab, var(--layer) 94%, transparent), #fff);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
}

.match-block h3 {
    font-weight: 900;
    margin: 0 0 .35rem;
}

.match-block ul {
    margin: .15rem 0 0;
    padding-left: 1.2rem;
    font-size: .95rem;
    color: var(--muted);
}

.match-block li {
    list-style: disc;
    margin: .25rem 0;
}

.match-steps {
    margin-top: 1.3rem;
    display: grid;
    gap: .9rem;
}

@media (min-width: 900px) {
    .match-steps {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.match-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: .6rem;
    align-items: flex-start;
    border: 1px solid var(--border);
    border-radius: var(--sal-radius-lg);
    background: #fff;
    padding: .8rem .9rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
}

.match-step__num {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.match-step__bd h4 {
    font-size: 1rem;
    margin: 0 0 .2rem;
    font-weight: 900;
}

.match-step__bd p {
    margin: 0;
    font-size: .92rem;
    color: var(--muted);
}

.match-highlight {
    margin-top: 1.6rem;
    padding: 1.05rem 1.1rem;
    border-radius: var(--sal-radius-lg);
    background:
        radial-gradient(80% 70% at 0% 0%, rgb(16 121 185 / 16%), transparent 62%),
        color-mix(in oklab, var(--layer) 96%, transparent);
    line-height: 2em;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
}

.match-highlight strong {
    font-weight: 900;
}

/* =======================================
   セクション共通
   ======================================= */
.section__hd .section__title {
    margin: 0;
}

.section__hd .section__desc {
    margin-top: 1.4rem;
}

.salary-lp .section {
    padding-top: clamp(4rem, 8vw, 6rem);
    padding-bottom: clamp(4rem, 8vw, 6rem);
}

.salary-lp .container {
    width: min(100% - 2rem, var(--maxw, 1200px));
    margin-inline: auto;
}

#salary-diff {
    border-bottom: none !important;
}






/* ===== Hero: intro video（縦型SP / 横型PC） ===== */
.salary-hero__video {
  margin-top: clamp(3rem, 4.8vw, 3.8rem);
}

/* デフォルト：スマホ用 縦長動画 */
.salary-hero__video .video-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(124,58,237,.10), transparent 60%),
    color-mix(in oklab, var(--layer) 96%, transparent);

  /* 縦動画 9:16 */
  aspect-ratio: 9 / 16;
  max-width: 360px;
  margin: 0 auto;
}

/* PCでは横長 16:9 に切り替え */
@media (min-width: 960px) {
  .salary-hero__video .video-frame {
    aspect-ratio: 16 / 9;
    max-width: 960px;
  }
}

/* aspect-ratio 未対応ブラウザ用フォールバック */
@supports not (aspect-ratio: 1) {
  .salary-hero__video .video-frame {
    width: 100%;
    max-width: 360px;
    height: 0;
    padding-top: 177.78%;   /* 9:16 */
    margin: 0 auto;
  }
  @media (min-width: 960px) {
    .salary-hero__video .video-frame {
      max-width: 960px;
      padding-top: 56.25%;  /* 16:9 */
    }
  }
  .salary-hero__video .video-frame .video-el {
    position: absolute;
    inset: 0;
  }
}

.salary-hero__video .video-el {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

/* 動画の前に出した説明テキスト */
.salary-video__desc {
  margin: 0 0 0.8rem;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* キャプション（リンク） */
.salary-hero__video .video-caption {
  margin-top: 1.05rem;
  font-size: .9rem;
  color: var(--muted);
  text-align: left;
}

.salary-hero__video .video-caption__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 700;
  font-size: .92rem;
  color: #7dadffdb;
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
}

.salary-hero__video .video-caption__link::before {
  content: "▶︎";
  font-size: .75em;
  opacity: .85;
  transition: transform .2s ease, opacity .2s ease;
}

.salary-hero__video .video-caption__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #7EC4E7 0%, #5E8DE7 75%, #1b317e 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.salary-hero__video .video-caption__link:hover::before {
  transform: translateX(2px);
  opacity: 1;
}

.salary-hero__video .video-caption__link:hover::after {
  transform: scaleX(1);
}








.salary-hero__video .video-caption {
  margin-top: 1.05rem;
  font-size: .9rem;
  color: var(--muted);
}

/* キャプションをリンクっぽく見せる */
.salary-hero__video .video-caption__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 700;
  font-size: .92rem;
  color: #7dadffdb;
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
}

.salary-hero__video .video-caption__link::before {
  content: "▶︎";
  font-size: .75em;
  opacity: .85;
  transition: transform .2s ease, opacity .2s ease;
}

.salary-hero__video .video-caption__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
      background: linear-gradient(90deg, #7EC4E7 0%, #5E8DE7 75%, #1b317e 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.salary-hero__video .video-caption__link:hover::before {
  transform: translateX(2px);
  opacity: 1;
}

.salary-hero__video .video-caption__link:hover::after {
  transform: scaleX(1);
}









/* =======================================
   フォリオが給与を公開する理由
   ======================================= */

.section--salary-reason {
    background: #fff;
    border-top: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
}

.section--salary-reason .section__hd.section__hd--center {
    text-align: left;
    max-width: 780px;
}

.section--salary-reason .section__hd.section__hd--center .section__desc {
    margin-top: 1.2rem;
}

/* カードレイアウト */
.salary-reason-grid {
    margin-top: 1.8rem;
    display: grid;
    gap: 1.1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .salary-reason-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.salary-reason-card {
    border-radius: var(--sal-radius-lg);
    border: 1px solid var(--border);
    padding: 1.6rem 1rem 1.55rem;
    background:
        radial-gradient(90% 80% at 0% 0%, rgba(124, 58, 237, .06), transparent 60%),
        color-mix(in oklab, var(--layer) 96%, transparent);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .06);
}

.salary-reason-card h3 {
    margin: 0 0 .85rem;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.4;
}

.salary-reason-card p {
    margin: 0;
    font-size: .92rem;
    line-height: 1.9;
    color: var(--muted);
}

/* 補足メッセージ */
.salary-reason-note {
    margin-top: 1.6rem;
    padding: 1.05rem 1.1rem;
    border-radius: var(--sal-radius-md);
    background-color: #f6f6f6;
    font-size: .94rem;
    line-height: 1.9;
    color: #4a4a4a;
    border-left: 4px solid var(--brand-2);
}

.salary-reason-note strong {
    font-weight: 900;
}

/* SPだけ改行を効かせたいとき用（他でも使えます） */
.only-sp {
    display: none;
}

@media (max-width: 767px) {
    .only-sp {
        display: inline;
    }
}



.salary-card__note {
    display: block;
    margin-top: .15rem;
    font-size: .78rem;
    line-height: 1.6;
    color: var(--muted);
}






/* =======================================
   給与LP_トップページ2 だけ header/footer 非表示
   ======================================= */
body.page-template-page-salary-lp2 .header,
body.page-template-page-salary-lp2 .mheader,
body.page-template-page-salary-lp2 .mdrawer,
body.page-template-page-salary-lp2 .footer {
  display: none !important;
}

/* 上のヘッダー分の余白を詰める */
body.page-template-page-salary-lp2 {
  padding-top: 0 !important;
}

