/* クリエイティブな見た目の層（2026-11-09 加藤さん「全体的にクリエイティブなデザインに。見やすさも大事」）
   lp.css の後に読む。本文の文字・色の組み合わせ（コントラスト4.5以上）は変えず、
   区切り・見出しの飾り・写真の枠・流れる帯・追従ボタンだけを足す。
   この1ファイルの読み込みを外せば元の見た目に戻る。 */

:root {
  --wave-h: 26px;
  --accent-yellow: #ffe08a;
  --accent-blue: #bcd6ee;
}
@media (min-width: 768px) { :root { --wave-h: 44px; } }

/* ---------- セクションの境目を波に ---------- */
.section { position: relative; --sec-bg: var(--bg); }
.section--gray { --sec-bg: var(--bg-gray); }
.section--blue { --sec-bg: var(--bg-blue); }
.section--pink { --sec-bg: var(--bg-pink); }
.section::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--wave-h) * -1 + 1px); height: var(--wave-h);
  background: var(--sec-bg); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 44' preserveAspectRatio='none'%3E%3Cpath d='M0 44V26C180 6 360 2 560 16s420 30 620 14c110-9 190-20 260-26v40z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 44' preserveAspectRatio='none'%3E%3Cpath d='M0 44V26C180 6 360 2 560 16s420 30 620 14c110-9 190-20 260-26v40z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.section--blue::before, .section--pink:nth-of-type(even)::before { transform: scaleX(-1); }

/* ---------- 見出し: 薄い英字だけ（番号は重なりが多くチープに見えるため外した 2026-11-10） ---------- */
.section-head__lead, .voices__notice { text-wrap: pretty; }
.section-head__en {
  color: rgba(51, 56, 74, .06); background: none; -webkit-text-stroke: 0;
  font-style: normal; letter-spacing: -.025em; font-size: clamp(36px, 8vw, 74px);
}

/* ---------- 写真: ずらした色の影で、ステッカーのような枠に ---------- */
.training .media, .work .media, .experience__photo, .workstyle .media, .message__photo {
  overflow: hidden; border-radius: 24px 24px 88px 24px;
  box-shadow: 14px 14px 0 var(--pink-soft);
}
.work .work-row:nth-child(4n + 2) .media, .workstyle .media { box-shadow: 14px 14px 0 var(--accent-yellow); border-radius: 88px 24px 24px 24px; }
.work .work-row:nth-child(4n + 3) .media, .message__photo { box-shadow: 14px 14px 0 var(--accent-blue); }
.training .media { box-shadow: -14px 14px 0 var(--accent-yellow); border-radius: 50% 50% 32px 50%; }
@media (prefers-reduced-motion: no-preference) {
  .training .media, .experience__photo, .workstyle .media { transition: rotate .4s ease-out; }
  .experience__photo { rotate: -1.5deg; }
  .workstyle .media { rotate: 1.5deg; }
  .experience__photo:hover, .workstyle .media:hover { rotate: 0deg; }
}

/* ---------- 流れる言葉の帯 ---------- */
.ticker { overflow: hidden; padding: 22px 0 calc(var(--wave-h) + 18px); background: var(--bg); }
.ticker--end { padding: calc(var(--wave-h) + 10px) 0 26px; }
.ticker__band {
  margin: 0 -4%; padding: 12px 0; rotate: -2deg;
  background: var(--pink-text); color: #fff; /* 白に対して5.0以上 */
  box-shadow: 0 8px 0 var(--accent-yellow);
}
.ticker--end .ticker__band { rotate: 1.6deg; background: var(--navy); box-shadow: 0 -8px 0 var(--pink-soft); }
.ticker__track { display: flex; width: max-content; }
.ticker__track span {
  display: inline-flex; align-items: center; gap: 22px; padding-right: 22px;
  font-family: var(--font-round); font-size: clamp(17px, 4.4vw, 24px); font-weight: 900; letter-spacing: .06em; white-space: nowrap;
}
.ticker__track span::after { content: "✦"; font-size: .7em; color: var(--accent-yellow); }
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: ticker-run 36s linear infinite; }
  .ticker--end .ticker__track { animation-direction: reverse; }
}
@keyframes ticker-run { to { transform: translateX(-50%); } }

/* ---------- 右下に固定: 年収シミュレーターへのボタン ---------- */
.sim-fab {
  position: fixed; z-index: 65; right: 14px; bottom: calc(84px + env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%;
  background: #fff; color: var(--navy); text-decoration: none;
  box-shadow: 0 10px 24px rgba(120, 60, 70, .22), 0 0 0 2px var(--pink-soft);
  transition: opacity .25s, scale .25s, translate .25s;
}
.sim-fab__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.sim-fab__ring text { font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .08em; fill: var(--pink-text); }
.sim-fab__core {
  position: relative; display: grid; place-items: center; align-content: center; gap: 1px;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--pink-text); color: #fff; text-align: center;
  font-family: var(--font-round); font-size: 11px; font-weight: 900; line-height: 1.25;
}
.sim-fab__icon { width: 15px; height: 15px; }
.sim-fab:hover .sim-fab__core { background: #9f2f4c; }
.sim-fab:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sim-fab.is-away { opacity: 0; scale: .7; translate: 0 16px; pointer-events: none; }
@media (min-width: 900px) {
  .sim-fab { right: 28px; bottom: 28px; width: 124px; height: 124px; }
  .sim-fab__ring text { font-size: 10px; }
  .sim-fab__core { width: 80px; height: 80px; font-size: 14px; }
  .sim-fab__icon { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .sim-fab__ring { animation: fab-spin 16s linear infinite; }
  .sim-fab:hover { scale: 1.06; }
}
@keyframes fab-spin { to { rotate: 360deg; } }

/* ---------- 最後の見直し（2026-11-10 加藤さん「最後デザイン見直して」） ---------- */
/* 見出し: 薄い英字がリボンの裏に半分隠れていたので、リボンの上に出す */
.section-head__en {
  position: static; transform: none; display: block; width: fit-content;
  margin: 0 auto -.1em; color: rgba(51, 56, 74, .09);
}
.message .section-head__en { margin-left: 0; }
/* リンクの矢印だけが次の行に落ちないように */
.text-link { white-space: nowrap; }
@media (min-width: 900px) {
  /* ヘッダー: 目次とLINEボタンの間をあける */
  .site-header__nav { margin-right: 20px; }
  /* 働くしくみ: 3つの箱の高さをそろえる */
  .ses__diagram { align-items: stretch; }
  .ses__node { justify-content: center; }
  .ses__link { align-self: center; }
  /* 給与の3枚を同じ幅に */
  .salary__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* リモートまでの道のり: 番号と文を横に並べ、空きをなくす */
  .remote__steps li { grid-template-columns: 36px 1fr; align-items: center; gap: 12px; padding: 18px 16px; }
  .remote__steps li:not(:last-child)::after { top: calc(50% - 5px); }
  /* 先輩の声: 写真の横で文を上下の中央に */
  .voice-card__body { align-self: center; }
  /* 応募の前に: 点線の箱を文の高さに。選考の流れは上でそろえる */
  .precheck { align-items: center; }
  .flow-steps__item { align-content: start; }
  /* よくある質問: 人物が1問目に重ならないように */
  .faq .char--head { right: -40px; bottom: 0; }
}

/* ---------- 公式LINEのQRコード ---------- */
.cta__qr-box {
  width: 160px; height: 160px; border: 0; border-radius: 0; background: #fff;
}
.cta__qr-box img { display: block; width: 160px; height: 160px; }
