@charset "UTF-8";

/* ============================================================
   ケイタスプラン リファラルLP
   素材パック 05_spec/design_tokens.json の値をもとに作成
   スマホ基準（375px）→ タブレット（768px）→ PC（1024px）
   ============================================================ */

:root {
  --blue: #0876e8;
  --deep-blue: #005fcc;
  --aqua: #13bfc4;
  --sky: #eaf7ff;
  --sky-soft: #f5fbff;
  --border-blue: #c9e4f7;
  --line: #e2f0fb;
  --ink: #111111;
  --ink-soft: #444b53;
  --ink-mute: #6a7480;
  --orange: #ffa51f;
  --orange-deep: #f18a00;
  --white: #ffffff;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 10px rgba(8, 118, 232, 0.07);
  --wrap: 1080px;
  --header-h: 60px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-feature-settings: "palt" 1;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--deep-blue);
}

table {
  border-collapse: collapse;
}

/* ---------- 共通ユーティリティ ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--blue);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- ボタン ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
  line-height: 1.3;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--blue {
  background: linear-gradient(180deg, #2a8ef2 0%, var(--blue) 55%, var(--deep-blue) 100%);
}

.btn--orange {
  background: linear-gradient(180deg, #ffbb52 0%, var(--orange) 55%, var(--orange-deep) 100%);
}

.btn--sm {
  min-height: 40px;
  padding: 6px 18px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.btn--lg {
  width: 100%;
  max-width: 340px;
  min-height: 56px;
  font-size: 19px;
}

.btn__icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
}

.btn--sm .btn__icon {
  width: 16px;
  height: 16px;
}

.btn__icon--stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- ヘッダー ---------- */

.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 3px solid var(--blue);
}

.lp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: var(--wrap);
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 8px 16px;
}

.lp-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
}

.lp-logo img {
  width: auto;
  height: 28px;
}

/* ---------- 紹介コードバナー ---------- */

.ref-banner {
  background: linear-gradient(90deg, var(--sky) 0%, #ddf1ff 100%);
  border-bottom: 1px solid var(--border-blue);
}

.ref-banner__text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--ink-soft);
}

.ref-banner__label {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.ref-banner__code {
  color: var(--deep-blue);
  font-size: 16px;
  letter-spacing: 0.06em;
}

.ref-banner__note {
  font-size: 13px;
  color: var(--ink-mute);
}

/* ---------- ヒーロー ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f3fafe 45%, var(--sky) 100%);
  padding-bottom: 84px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 28px 16px 0;
}

.hero__title {
  font-size: clamp(34px, 10vw, 52px);
  line-height: 1.18;
  letter-spacing: 0.01em;
  font-weight: 900;
}

.hero__title-accent,
.hero__title-main {
  display: block;
}

.hero__title-accent {
  color: var(--blue);
}

.hero__catch {
  margin-top: 14px;
  color: var(--blue);
  font-size: clamp(16px, 4.4vw, 20px);
  font-weight: 700;
}

.hero__lead {
  margin-top: 10px;
  font-size: clamp(14px, 3.8vw, 16px);
  color: var(--ink-soft);
}

.hero__roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.hero-role {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-role__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.hero-role__tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(11px, 2.9vw, 14px);
  line-height: 1.25;
  box-shadow: var(--shadow);
  transition: filter 0.15s ease;
}

.hero-role__tag:hover {
  filter: brightness(1.07);
}

.hero-role__tag--blue {
  background: linear-gradient(135deg, #1f8bf0 0%, var(--deep-blue) 100%);
}

.hero-role__tag--aqua {
  background: linear-gradient(135deg, #2ad0c6 0%, #0a9fa8 100%);
}

.hero-role__tag--sky {
  background: linear-gradient(135deg, #6ab7ef 0%, #3d8ed4 100%);
}

.hero-role__icon {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.hero__skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: url("assets/bg/city-skyline.svg") repeat-x bottom center / auto 100%;
}

/* ---------- セクション共通 ---------- */

.section {
  padding: 34px 0;
}

.section--roles {
  background: var(--white);
}

.section--compare,
.section--duo {
  background: var(--sky-soft);
}

.section--benefits,
.section--faq {
  background: var(--white);
}

.section--company {
  background: var(--sky-soft);
  padding-bottom: 40px;
}

.section-title {
  color: var(--blue);
  font-size: clamp(20px, 5.4vw, 26px);
  font-weight: 800;
  text-align: center;
  line-height: 1.4;
}

.section-title--sm {
  font-size: clamp(18px, 4.8vw, 22px);
}

.section-title--line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-title--line::before,
.section-title--line::after {
  content: "";
  flex: 1 1 0;
  max-width: 120px;
  height: 2px;
  background: var(--border-blue);
}

.pill-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--sky);
  border: 1px solid var(--border-blue);
  color: #0c3f74;
  font-weight: 800;
  font-size: clamp(13px, 3.6vw, 15px);
}

.pill__mark {
  color: #f5c518;
  font-size: 1.15em;
}

/* ---------- 3職種カード ---------- */

.role {
  display: grid;
  gap: 0;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.role + .role {
  margin-top: 18px;
}

.role__intro {
  padding: 18px 16px;
}

.role__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.role__icon {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
}

.role__name {
  font-size: clamp(19px, 5vw, 24px);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.role__lead {
  margin-top: 10px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
}

.role__desc {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.role__specs {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--line);
  gap: 1px;
  border-top: 1px solid var(--line);
}

.spec {
  padding: 12px 14px;
  background: var(--white);
}

.spec dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  text-align: center;
}

.spec dd {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.spec--money {
  background: var(--sky-soft);
}

.spec--accent dt {
  color: var(--deep-blue);
}

.spec--warm dt {
  color: #e0700c;
}

/* 説明文が長いセル（勤務エリア・研修体制）だけ左寄せにする */
.spec--body dd {
  text-align: left;
  color: var(--ink-soft);
  font-size: 13px;
}

.money {
  display: block;
  color: var(--blue);
  font-weight: 800;
  font-size: clamp(16px, 4.4vw, 19px);
  line-height: 1.3;
}

.money .nw {
  white-space: nowrap;
}

.money b {
  font-size: 1.4em;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.money__sub {
  display: block;
  margin-top: 2px;
  color: var(--deep-blue);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- 3職種の比較 ---------- */

.table-scroll {
  margin-top: 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
}

.compare {
  width: 100%;
  min-width: 640px;
  background: var(--white);
  font-size: 13px;
}

.compare th,
.compare td {
  border: 1px solid var(--border-blue);
  padding: 10px 12px;
  vertical-align: middle;
}

.compare__corner {
  background: var(--sky);
  border-color: var(--border-blue);
  width: 88px;
}

.compare__head {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.compare__head--blue {
  background: #3f9bf0;
  border-color: #3f9bf0;
}

.compare__head--aqua {
  background: #2bbfc0;
  border-color: #2bbfc0;
}

.compare tbody th {
  background: var(--sky);
  font-weight: 700;
  text-align: center;
  color: var(--ink);
  width: 88px;
}

.compare tbody td {
  text-align: center;
  color: var(--ink-soft);
  line-height: 1.65;
}

.compare__money {
  display: block;
  color: var(--blue);
  font-weight: 800;
  font-size: 15px;
}

.compare__sub {
  display: block;
  color: var(--deep-blue);
  font-size: 11px;
  font-weight: 700;
}

.table-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-mute);
  text-align: center;
}

/* ---------- 働く魅力 ---------- */

.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
  padding: 18px 16px;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius);
  background: var(--sky-soft);
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.benefit__icon {
  width: 44px;
  height: 44px;
  flex: none;
}

.benefit__title {
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.benefit__text {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- おすすめ／応募の流れ ---------- */

.duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  padding: 18px 16px;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card .section-title {
  margin-bottom: 14px;
}

.recommend {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
}

.checks {
  display: grid;
  gap: 10px;
}

.checks li {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--blue)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E")
    center / 15px 15px no-repeat;
}

.recommend__photo {
  width: 100%;
  max-width: 260px;
  justify-self: center;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 10px;
}

.flow__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.flow__icon {
  width: 40px;
  height: 40px;
}

.flow__text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */

.faqs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.faq {
  padding: 16px;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.faq__q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--deep-blue);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.faq__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.faq__a {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ---------- 会社概要 ---------- */

.company {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.company__photo {
  width: 100%;
  max-width: 320px;
  justify-self: center;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.company__title {
  text-align: center;
}

.company__list {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.company__row {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 10px;
  align-items: start;
}

.company__row dt {
  color: var(--ink-soft);
  font-weight: 700;
}

.company__row dd {
  color: var(--ink);
  line-height: 1.7;
}

/* ---------- 下部CTA ---------- */

.cta {
  padding: 26px 16px 32px;
  background: linear-gradient(180deg, #ffffff 0%, var(--sky) 100%);
  border-top: 1px solid var(--border-blue);
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: var(--wrap);
  margin-inline: auto;
}

.cta__note {
  max-width: 720px;
  margin: 14px auto 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border-blue);
  color: var(--ink-soft);
  font-size: 13px;
  text-align: center;
}

/* ---------- フッター ---------- */

.lp-footer {
  padding: 18px 16px 24px;
  background: var(--deep-blue);
  color: var(--white);
  text-align: center;
}

.lp-footer__copy {
  font-size: 12px;
  opacity: 0.92;
}

/* ============================================================
   タブレット以上
   ============================================================ */

@media (min-width: 768px) {
  .section {
    padding: 46px 0;
  }

  .hero {
    padding-bottom: 110px;
  }

  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 24px;
    padding-top: 40px;
  }

  .hero__roles {
    margin-top: 0;
    gap: 10px;
  }

  .hero__skyline {
    height: 120px;
  }

  .pill-row {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
  }

  .pill-row .section-title--line {
    flex: 1 1 auto;
  }

  .role {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  }

  .role__intro {
    padding: 20px;
    border-right: 1px solid var(--line);
  }

  .role__specs {
    grid-template-columns: repeat(3, 1fr);
    border-top: 0;
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 22px;
    padding: 22px;
  }

  .duo {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .card {
    padding: 20px;
  }

  .recommend {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .recommend__photo {
    width: 200px;
  }

  .flow {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .flow__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 42px;
    right: -9px;
    width: 0;
    height: 0;
    border-left: 9px solid var(--blue);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
  }

  .faqs {
    grid-template-columns: repeat(3, 1fr);
  }

  .company {
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 24px;
    align-items: center;
  }

  .company__photo {
    width: 260px;
  }

  .company__title {
    text-align: left;
    white-space: nowrap;
  }

  .cta__inner {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }

  .table-hint {
    display: none;
  }
}

/* ============================================================
   PC
   ============================================================ */

@media (min-width: 1024px) {
  body {
    font-size: 16px;
  }

  .lp-logo img {
    height: 34px;
  }

  .hero__inner {
    padding-top: 48px;
  }

  .benefits {
    grid-template-columns: repeat(4, 1fr);
  }

  .compare {
    font-size: 14px;
  }

  .compare__corner,
  .compare tbody th {
    width: 120px;
  }
}

/* ---------- 動きを減らす設定への配慮 ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* ---------- 印刷 ---------- */

@media print {
  .lp-header,
  .cta,
  .skip-link {
    display: none;
  }

  body {
    background: #fff;
  }
}
