@charset "UTF-8";

/*
  株式会社富山データー機器サービス 採用サイト
  デザインテイストのご確認用（FV → A案 → B案 の3画面）
  共通：ページ送りの器・FV・A案／B案の表示ラベル
*/

/* ===== 変数 ===== */
:root {
  --column-width: 480px;
  --side-bg: #E6E8EB;
  --frame-line: rgba(26, 26, 26, 0.18);
}

/* ===== リセット ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: var(--side-bg);
  color: #1A1A1A;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
p,
figure {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

/* 言葉の途中で折り返さない（入りきらなければ、まとまりごと次の行へ） */
.keep {
  display: inline-block;
}

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

/* ===== ページ送りの器（中央の列だけがスクロールする） ===== */
.swipe-container {
  position: relative;
  width: min(100%, var(--column-width));
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: #FFFFFF;
}

.swipe-container::-webkit-scrollbar {
  display: none;
}

.swipe-section {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* PC表示時の、中央列の左右の境目（スクロールに関わらず同じ場所） */
.column-frame {
  display: none;
}

@media (min-width: 481px) {
  .column-frame {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 40;
    width: var(--column-width);
    border-right: 1px solid var(--frame-line);
    border-left: 1px solid var(--frame-line);
    transform: translateX(-50%);
    pointer-events: none;
  }
}

/* ===== FV（動画入ります・どちらの案にも寄せない無彩色） ===== */
.fv {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 20%),
    #6B7078;
  color: #FFFFFF;
  text-align: center;
}

.fv__text {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
}

.fv__guide {
  margin-top: 40px;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.fv__guide-strong {
  font-weight: 500;
  font-size: 15px;
}

.fv__scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-decoration: none;
  transform: translateX(-50%);
}

.fv__scroll-arrow {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid #FFFFFF;
  border-bottom: 1.5px solid #FFFFFF;
  transform: rotate(45deg);
  animation: fv-arrow 1.6s ease-in-out infinite;
}

@keyframes fv-arrow {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }

  50% {
    transform: translateY(5px) rotate(45deg);
  }
}

/* ===== A案／B案の表示ラベル（確認用。本番では消す） ===== */
.taste-badge {
  position: absolute;
  top: calc(var(--badge-top, 64px) + 8px);
  right: 10px;
  z-index: 20;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.78);
  color: #FFFFFF;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
  pointer-events: none;
}

/* ===== 画面に入ったときの出方（共通の器。動きは各案のCSS） ===== */
.js-in {
  opacity: 0;
}

.swipe-section.is-active .js-in {
  opacity: 1;
}

/* ===== 動きを減らす設定 ===== */
@media (prefers-reduced-motion: reduce) {
  .swipe-container {
    scroll-behavior: auto;
  }

  .fv__scroll-arrow {
    animation: none;
  }

  .js-in {
    opacity: 1;
  }
}
