/* ==========================================================================
   医療法人九州惠会 上田歯科医院 採用サイト - エディトリアル・クラフトデザイン
   （脱AI感 ＋ AFURI風 ダイナミック・スクロールアニメーション ＆ Lenis スムーススクロール）
   ========================================================================== */

:root {
  /* 上質で自然なカラーパレット */
  --c-dark: #161b22;
  --c-deep: #1e2634;
  --c-navy: #1b365d;
  --c-gold: #b3822a;
  --c-gold-subtle: #f5eedf;
  --c-sand: #faf8f5;
  --c-stone: #f0ebe1;
  --c-border: #ded8cb;
  --c-border-light: #ece7dc;
  --c-text: #2c333e;
  --c-text-sub: #5c6675;
  --c-text-muted: #8894a4;
  --c-white: #ffffff;

  /* フォント */
  --font-serif: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --font-sans: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --font-en: 'Red Hat Text', 'Inter', -apple-system, sans-serif;

  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Lenis スムーススクロール推奨スタイル
   ========================================================================== */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* リセット & ベース */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--c-text);
  background-color: var(--c-sand);
  line-height: 1.95;
  letter-spacing: 0.04em;
  padding-bottom: 74px;
  overflow-x: hidden;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}

h1, h2, h3, h4, h5, h6 {
  word-break: auto-phrase;
  overflow-wrap: break-word;
  line-break: strict;
}

p {
  overflow-wrap: break-word;
  line-break: strict;
}

/* 改行コントロール */
.br-pc {
  display: inline;
}
.br-sp {
  display: none;
}
.u-nowrap {
  white-space: nowrap;
  display: inline-block;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* レイアウトコンテナ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
}

/* ==========================================================================
   ヘッダー（上部固定バナー・ナビゲーション）
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid var(--c-border-light);
  transition: var(--transition);
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.site-header.header-scrolled {
  background: rgba(250, 248, 245, 0.98);
  box-shadow: 0 4px 24px rgba(22, 27, 34, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo-icon {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
  display: block;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
}

.header-logo-corp {
  font-size: 0.68rem;
  color: var(--c-text-muted);
  letter-spacing: 0.12em;
  font-weight: 500;
}

.header-logo-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-deep);
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.header-logo-badge {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--c-gold);
  background: var(--c-gold-subtle);
  padding: 2px 8px;
  border-radius: 2px;
  margin-left: 8px;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: 0.04em;
  position: relative;
  padding: 6px 2px;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-gold);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--c-deep);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta-group {
  display: none;
}

/* ボタン共通 ＆ マイクロインタラクション */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 14px 28px;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.06em;
  border-radius: 3px;
  text-align: center;
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-dark {
  background: var(--c-deep);
  color: var(--c-white);
  border: 1px solid var(--c-deep);
}

.btn-dark:hover {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: var(--c-white);
  box-shadow: 0 8px 20px rgba(27, 54, 93, 0.25);
}

.btn-gold {
  background: var(--c-gold);
  color: var(--c-white);
}

.btn-gold:hover {
  background: #9d7021;
  color: var(--c-white);
  box-shadow: 0 8px 20px rgba(179, 130, 42, 0.3);
}

.btn-line {
  background: #06c755;
  color: var(--c-white);
}

.btn-line:hover {
  background: #05a847;
  color: var(--c-white);
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.25);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--c-deep);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  background: var(--c-white);
  color: var(--c-navy);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   ヒーローセクション（シネマティック）
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 100px;
  background-color: var(--c-dark);
  color: var(--c-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.6) contrast(1.05);
  transform: scale(1.05);
  transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-bg.is-loaded img {
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(22, 27, 34, 0.25) 0%,
    rgba(22, 27, 34, 0.6) 50%,
    rgba(22, 27, 34, 0.95) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 880px;
}

.hero-meta {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: #ffdf8d;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(26px);
  filter: blur(3px);
  transition: opacity 2.6s cubic-bezier(0.16, 1, 0.3, 1), transform 2.6s cubic-bezier(0.16, 1, 0.3, 1), filter 2.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.hero-title.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hero-text {
  font-size: 1.1rem;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 40px;
}

.hero-facts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-fact-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  transition: var(--transition-fast);
}

.hero-fact-tag:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 223, 141, 0.5);
  transform: translateY(-2px);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   公的認定ロゴ・無限ループティッカースクロール（Marquee）
   ========================================================================== */
.cert-ticker-section {
  background-color: var(--c-stone);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 24px 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.cert-ticker-header {
  text-align: center;
  margin-bottom: 16px;
}

.cert-ticker-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.cert-ticker-wrap {
  display: flex;
  overflow: hidden;
  user-select: none;
  position: relative;
  width: 100%;
}

.cert-ticker-track {
  display: flex;
  gap: 20px;
  animation: marquee 35s linear infinite;
  flex-shrink: 0;
  will-change: transform;
}

.cert-ticker-wrap:hover .cert-ticker-track {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.cert-logo-card {
  flex-shrink: 0;
  height: 68px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(22, 27, 34, 0.03);
  cursor: pointer;
}

.cert-logo-card img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.cert-logo-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--c-gold);
  box-shadow: 0 10px 24px rgba(22, 27, 34, 0.12);
}

/* ==========================================================================
   ストーリー・南島原と私たちの理念 ＆ パララックス
   ========================================================================== */
.story-section {
  padding: 140px 0;
  background-color: var(--c-sand);
}

.story-lead-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 100px;
}

.story-sub {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--c-gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.story-heading {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-deep);
  margin-bottom: 24px;
}

.story-lead-p {
  font-size: 1.05rem;
  line-height: 2.2;
  color: var(--c-text-sub);
}

/* 2カラムストーリーブロック */
.story-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 120px;
}

.story-block.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.story-block.reverse .story-img-col {
  order: 2;
}

.story-block.reverse .story-txt-col {
  order: 1;
}

/* パララックス画像コンテナ */
.story-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 16px 40px rgba(22, 27, 34, 0.08);
}

.story-img-wrap img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}

.story-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(0deg, rgba(22, 27, 34, 0.85) 0%, transparent 100%);
  color: var(--c-white);
  font-size: 0.82rem;
  z-index: 2;
}

.story-num {
  font-family: var(--font-en);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.5;
}

.story-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 20px;
  line-height: 1.45;
}

.story-desc {
  font-size: 0.95rem;
  color: var(--c-text-sub);
  line-height: 2.1;
}

/* 拡張プロジェクト */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.project-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  padding: 40px 36px;
  border-radius: 4px;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-gold);
  box-shadow: 0 16px 40px rgba(22, 27, 34, 0.08);
}

.project-tag {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  display: block;
}

.project-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 16px;
}

.project-text {
  font-size: 0.92rem;
  color: var(--c-text-sub);
  line-height: 1.95;
}

/* ==========================================================================
   数字で見る医院の実態（クリーン・高信頼デザイン）
   ========================================================================== */
.facts-section {
  padding: 130px 0;
  background-color: var(--c-stone);
  color: var(--c-text);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  position: relative;
}

.facts-header {
  text-align: center;
  margin-bottom: 70px;
}

.facts-sub {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--c-gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.facts-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--c-deep);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.fact-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  padding: 40px 30px;
  text-align: center;
  border-radius: 4px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(22, 27, 34, 0.03);
}

.fact-card:hover {
  transform: translateY(-8px);
  border-color: var(--c-gold);
  box-shadow: 0 20px 48px rgba(22, 27, 34, 0.09);
}

.fact-figure-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

.fact-figure {
  font-family: var(--font-en);
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--c-deep);
  line-height: 1;
}

.fact-unit {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-gold);
}

.fact-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 12px;
}

.fact-desc {
  font-size: 0.86rem;
  color: var(--c-text-sub);
  line-height: 1.8;
}

/* ==========================================================================
   募集職種（全6職種）
   ========================================================================== */
.jobs-section {
  padding: 140px 0;
  background-color: var(--c-white);
}

.jobs-header {
  text-align: center;
  margin-bottom: 80px;
}

.jobs-sub {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--c-gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.jobs-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 16px;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.job-card {
  background: var(--c-sand);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
}

.job-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(22, 27, 34, 0.08);
  border-color: var(--c-gold);
}

.job-img-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background-color: var(--c-stone);
}

.job-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.job-card:hover .job-img-wrap img {
  transform: scale(1.08);
}

.job-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--c-border-light);
}

.job-type-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--c-deep);
  color: var(--c-white);
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 12px;
  border-radius: 2px;
}

.job-type-tag.highlight {
  background: #962828;
}

.job-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 6px;
}

.job-catch {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-gold);
}

.job-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.job-points {
  margin-bottom: 24px;
}

.job-point-li {
  font-size: 0.88rem;
  color: var(--c-text-sub);
  margin-bottom: 10px;
  line-height: 1.6;
  position: relative;
  padding-left: 14px;
}

.job-point-li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--c-gold);
  font-weight: 700;
}

.job-salary-box {
  background: var(--c-white);
  border: 1px solid var(--c-border-light);
  padding: 16px 18px;
  margin-bottom: 20px;
  border-radius: 3px;
}

.job-salary-lbl {
  font-size: 0.72rem;
  color: var(--c-text-muted);
  margin-bottom: 2px;
}

.job-salary-val {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-deep);
  line-height: 1.35;
}

.job-salary-sub {
  font-size: 0.72rem;
  color: var(--c-gold);
  margin-top: 4px;
}

/* ==========================================================================
   先輩スタッフの声（横スクロールカルーセル ＆ WordPress連携設計）
   ========================================================================== */
.voices-section {
  padding: 140px 0;
  background-color: var(--c-stone);
  overflow: hidden;
  position: relative;
}

.voices-header-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.voices-header-left {
  max-width: 680px;
}

.voices-nav-btns {
  display: flex;
  align-items: center;
  gap: 12px;
}

.voices-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: var(--c-white);
  color: var(--c-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(22, 27, 34, 0.05);
  user-select: none;
}

.voices-nav-btn:hover {
  background: var(--c-deep);
  color: var(--c-white);
  border-color: var(--c-deep);
  transform: scale(1.06);
}

.voices-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0 40px;
  cursor: grab;
  user-select: none;
}

.voices-slider-container:active,
.voices-slider-container.is-dragging {
  cursor: grabbing;
}

.voices-slider-track {
  display: flex;
  gap: 28px;
  width: max-content;
  will-change: transform;
}

.voice-card {
  width: 420px;
  max-width: 85vw;
  flex-shrink: 0;
  background: var(--c-white);
  padding: 38px 32px;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(22, 27, 34, 0.03);
}

.voice-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(22, 27, 34, 0.08);
  border-color: var(--c-gold);
}

.voice-role-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-gold);
  background: var(--c-gold-subtle);
  padding: 3px 10px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.voice-h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-deep);
  line-height: 1.7;
  margin-bottom: 18px;
}

.voice-text {
  font-size: 0.92rem;
  color: var(--c-text-sub);
  line-height: 1.95;
  margin-bottom: 24px;
}

.voice-meta {
  padding-top: 18px;
  border-top: 1px solid var(--c-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.voice-author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.voice-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--c-gold-subtle);
  flex-shrink: 0;
}

.voice-name {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--c-deep);
}

.voice-tenure {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   職場の日常・イベント写真集（リアル写真 ＆ AIイラストレーション 3レーンフロー）
   ========================================================================== */
.gallery-album-section {
  padding: 130px 0;
  background-color: var(--c-white);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
  position: relative;
}

.gallery-album-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 50px;
}

.gallery-lead-paragraphs {
  margin-top: 24px;
}

.gallery-lead-sub-p {
  font-size: 0.95rem;
  color: var(--c-text-sub);
  line-height: 1.95;
  margin-top: 14px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ai-illust-notice {
  display: inline-block;
  background: var(--c-sand);
  border: 1px solid var(--c-border);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--c-text-sub);
  margin-top: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.gallery-marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  padding: 10px 0;
}

.gallery-marquee-lane {
  display: flex;
  gap: 20px;
  width: max-content;
  user-select: none;
  cursor: grab;
  will-change: transform;
}

.gallery-marquee-lane:active {
  cursor: grabbing;
}

.gallery-card {
  position: relative;
  width: 340px;
  height: 220px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(22, 27, 34, 0.06);
  background-color: var(--c-stone);
  border: 1px solid var(--c-border-light);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(22, 27, 34, 0.14);
  border-color: var(--c-gold);
  z-index: 5;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.voice-meta {
  padding-top: 16px;
  border-top: 1px solid var(--c-border-light);
}

.voice-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-deep);
}

.voice-job {
  font-size: 0.78rem;
  color: var(--c-text-muted);
}

/* ==========================================================================
   福利厚生 ＆ 認定ギャラリー
   ========================================================================== */
.benefits-section {
  padding: 140px 0;
  background-color: var(--c-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.benefit-card {
  background: var(--c-sand);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 28px 22px;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(22, 27, 34, 0.06);
  border-color: var(--c-gold);
}

.benefit-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 10px;
}

.benefit-desc {
  font-size: 0.85rem;
  color: var(--c-text-sub);
  line-height: 1.75;
}

.cert-gallery-box {
  background: var(--c-sand);
  padding: 48px 36px;
  border: 1px solid var(--c-border);
  border-radius: 4px;
}

.cert-gallery-header {
  text-align: center;
  margin-bottom: 32px;
}

.cert-gallery-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 8px;
}

.cert-gallery-desc {
  font-size: 0.88rem;
  color: var(--c-text-sub);
}

.cert-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.cert-gallery-link {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(22, 27, 34, 0.02);
  transition: var(--transition);
}

.cert-gallery-link:hover {
  transform: translateY(-6px);
  border-color: var(--c-gold);
  box-shadow: 0 16px 36px rgba(22, 27, 34, 0.1);
}

.cert-gallery-img-wrap {
  background: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--c-border-light);
  height: 90px;
}

.cert-gallery-img-wrap img {
  max-height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

.cert-gallery-info {
  padding: 14px 18px;
  background: var(--c-sand);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cert-gallery-title-text {
  font-family: var(--font-serif);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--c-deep);
  line-height: 1.4;
  margin-bottom: 4px;
}

.cert-gallery-sub-text {
  font-size: 0.78rem;
  color: var(--c-gold);
  font-weight: 600;
  line-height: 1.4;
}

/* ==========================================================================
   理事長メッセージ
   ========================================================================== */
.message-section {
  padding: 140px 0;
  background-color: var(--c-sand);
}

.message-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(22, 27, 34, 0.05);
}

.message-img-side {
  height: 100%;
  min-height: 480px;
  overflow: hidden;
  background-color: var(--c-stone);
}

.message-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.message-card:hover .message-img-side img {
  transform: scale(1.03);
}

.message-text-side {
  padding: 50px 44px;
}

.message-role-tag {
  font-size: 0.8rem;
  color: var(--c-gold);
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 4px;
}

.message-leader-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 24px;
}

.message-h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.6;
  margin-bottom: 20px;
}

.message-body-p {
  font-size: 0.92rem;
  color: var(--c-text-sub);
  line-height: 2;
  margin-bottom: 14px;
}

/* ==========================================================================
   選考の流れ（6ステップ） ＆ FAQ
   ========================================================================== */
.flow-section {
  padding: 140px 0;
  background-color: var(--c-white);
}

.flow-steps {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 auto 80px;
  max-width: 1200px;
}

.flow-step {
  flex: 1 1 200px;
  max-width: 224px;
  min-width: 180px;
  background: var(--c-sand);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 32px 20px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.flow-step:hover {
  transform: translateY(-6px);
  border-color: var(--c-gold);
  box-shadow: 0 16px 36px rgba(22, 27, 34, 0.09);
}

.flow-step-idx {
  font-family: var(--font-en);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--c-gold);
  margin-bottom: 8px;
}

.flow-step-lbl {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 10px;
  line-height: 1.4;
}

.flow-step-txt {
  font-size: 0.82rem;
  color: var(--c-text-sub);
  line-height: 1.65;
}

/* FAQ */
.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

.faq-card {
  background: var(--c-sand);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  margin-bottom: 14px;
  transition: var(--transition);
}

.faq-card:hover {
  border-color: var(--c-gold);
}

.faq-q {
  padding: 20px 24px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-q::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--c-gold);
  transition: var(--transition);
}

.faq-card.active .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 24px 22px;
  font-size: 0.92rem;
  color: var(--c-text-sub);
  line-height: 1.9;
  display: none;
}

.faq-card.active .faq-a {
  display: block;
}

/* ==========================================================================
   フッター ＆ 応募導線
   ========================================================================== */
.cta-section {
  padding: 120px 0;
  background-color: var(--c-deep);
  color: var(--c-white);
  text-align: center;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 2;
}

/* ==========================================================================
   カジュアル面談・見学申込フォーム
   ========================================================================== */
.entry-form-wrap {
  max-width: 760px;
  margin: 40px auto 0;
  background: var(--c-white);
  border-radius: 12px;
  padding: 48px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  text-align: left;
  color: var(--c-text);
}

.entry-form-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-border-light);
}

.entry-form-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 10px;
}

.entry-form-subtitle {
  font-size: 0.92rem;
  color: var(--c-text-sub);
  line-height: 1.7;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 8px;
}

.form-badge-req {
  font-size: 0.7rem;
  font-weight: 700;
  background: #e11d48;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.form-badge-opt {
  font-size: 0.7rem;
  font-weight: 600;
  background: #94a3b8;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--c-text);
  background: #faf8f5;
  transition: var(--transition);
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(179, 130, 42, 0.15);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.form-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #faf8f5;
  border: 1px solid var(--c-border);
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.form-radio-label:hover {
  border-color: var(--c-gold);
}

.form-radio-label input[type="radio"] {
  accent-color: var(--c-gold);
  width: 18px;
  height: 18px;
}

.form-privacy-box {
  background: #faf8f5;
  border: 1px solid var(--c-border-light);
  padding: 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--c-text-sub);
  line-height: 1.7;
  margin-bottom: 24px;
}

.form-submit-btn {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--c-gold);
  color: var(--c-white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(179, 130, 42, 0.3);
  letter-spacing: 0.08em;
}

.form-submit-btn:hover {
  background: #9d7021;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(179, 130, 42, 0.4);
}

.form-complete-msg {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-complete-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 12px;
}

.form-complete-text {
  font-size: 0.98rem;
  color: var(--c-text-sub);
  line-height: 1.9;
}

@media (max-width: 768px) {
  .entry-form-wrap {
    padding: 32px 20px;
    margin-top: 28px;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
  }
  .form-radio-group {
    grid-template-columns: 1fr;
  }
}

.footer-section {
  background-color: var(--c-dark);
  color: rgba(255, 255, 255, 0.55);
  padding: 70px 0 35px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-clinic-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 14px;
}

.footer-text {
  line-height: 2;
  color: rgba(255, 255, 255, 0.65);
}

.footer-menu-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 16px;
}

.footer-menu-ul li {
  margin-bottom: 10px;
}

.footer-menu-ul a:hover {
  color: #ffdf8d;
}

.footer-cr {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
}

/* スマホ固定バー */
.floating-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(16px);
  padding: 8px 12px;
  border-top: 1px solid var(--c-border);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.floating-bottom-bar .btn {
  padding: 12px 6px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.floating-bottom-bar .btn-gold,
.floating-bottom-bar a[href="#entry"] {
  flex: 1.7;
  max-width: 320px;
  font-size: clamp(0.78rem, 3.4vw, 0.92rem);
}

.floating-bottom-bar .btn-dark,
.floating-bottom-bar a[href^="tel:"] {
  flex: 1;
  max-width: 140px;
  font-size: clamp(0.75rem, 3.0vw, 0.86rem);
}

/* ==========================================================================
   10ヵ年ビジョンロードマップ（2025〜2035）
   ========================================================================== */
.vision-section {
  padding: 140px 0;
  background-color: var(--c-deep);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}

.vision-header {
  text-align: center;
  margin-bottom: 80px;
}

.vision-sub {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: #ffdf8d;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.vision-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.vision-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 820px;
  margin: 0 auto;
  line-height: 2.1;
}

.vision-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
  position: relative;
}

.vision-phase-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: var(--transition);
  position: relative;
}

.vision-phase-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: #ffdf8d;
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.vision-phase-tag {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffdf8d;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
  display: block;
}

.vision-phase-period {
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 12px;
}

.vision-phase-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffdf8d;
  margin-bottom: 14px;
  line-height: 1.4;
}

.vision-phase-desc {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.85;
}

.vision-pillars-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 36px;
  border-radius: 4px;
}

.vision-pillars-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffdf8d;
  text-align: center;
  margin-bottom: 24px;
}

.vision-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.vision-pillar-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 20px;
  border-radius: 4px;
}

.vision-pillar-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 8px;
}

.vision-pillar-txt {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

/* ==========================================================================
   安全なReveal（スクロールフェードイン）スタイル
   ※ JSがなくてもデフォルトで完全表示（opacity: 1）を保証
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .story-block,
  .story-block.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .story-block.reverse .story-img-col {
    order: 1;
  }
  .story-block.reverse .story-txt-col {
    order: 2;
  }
  .jobs-grid,
  .voices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vision-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vision-pillars-grid {
    grid-template-columns: 1fr;
  }
  .message-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .flow-steps {
    display: flex;
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .br-pc {
    display: none !important;
  }
  .br-sp {
    display: inline !important;
  }
  .container {
    padding: 0 20px;
  }
  .hero-section {
    padding-top: 105px;
    padding-bottom: 60px;
    min-height: auto;
  }
  .hero-meta {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
  }
  .hero-title {
    font-size: clamp(1.75rem, 6.2vw, 2.2rem);
    line-height: 1.38;
    margin-bottom: 16px;
  }
  .hero-text {
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 24px;
    text-align: justify;
  }
  .hero-facts-row {
    gap: 8px;
    margin-bottom: 28px;
  }
  .hero-fact-tag {
    font-size: 0.76rem;
    padding: 5px 12px;
    white-space: nowrap;
  }
  .story-heading,
  .jobs-title,
  .vision-title,
  .facts-title,
  .benefits-title,
  .message-name,
  .cta-title {
    font-size: clamp(1.5rem, 5.2vw, 1.95rem);
    line-height: 1.4;
  }
  .story-lead-p,
  .vision-lead,
  .facts-lead,
  .benefits-lead {
    font-size: 0.96rem;
    line-height: 1.9;
    text-align: justify;
  }
  .header-nav {
    display: none;
  }
  .header-logo-icon {
    width: 36px;
    height: 36px;
  }
  .header-logo-name {
    font-size: clamp(1.05rem, 4.0vw, 1.2rem);
  }
  .jobs-grid,
  .voices-grid,
  .facts-grid,
  .benefits-grid,
  .vision-timeline-grid {
    grid-template-columns: 1fr;
  }
  /* スマホ版スタッフの声：無限エンドレスループ ＆ スワイプ対応 */
  .voices-section {
    padding: 80px 0;
  }
  .voices-header-wrap {
    margin-bottom: 24px;
  }
  .voices-slider-container {
    overflow: hidden !important;
    padding: 12px 0 24px;
    touch-action: pan-y;
  }
  .voices-slider-track {
    display: flex;
    gap: 16px;
    width: max-content;
    will-change: transform;
  }
  .voice-card {
    width: 82vw !important;
    max-width: 320px !important;
    flex-shrink: 0 !important;
    padding: 24px 20px;
  }
  .flow-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 50px;
  }
  .flow-step {
    max-width: 100%;
    min-height: 140px;
    padding: 30px 24px;
    border-radius: 8px;
  }
  .flow-step-idx {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }
  .flow-step-lbl {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }
  .flow-step-txt {
    font-size: 0.88rem;
    line-height: 1.75;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .message-text-side {
    padding: 32px 20px;
  }
}

/* ==========================================================================
   職種詳細ページ（Job Detail Page）専用デザインシステム
   ========================================================================== */

/* パンくずリスト */
.job-breadcrumbs {
  padding-top: 100px;
  padding-bottom: 20px;
  background: var(--c-sand);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--c-text-muted);
}

.breadcrumb-list a {
  color: var(--c-text-sub);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb-list a:hover {
  color: var(--c-gold);
}

.breadcrumb-separator {
  color: var(--c-border);
}

/* 職種詳細ヒーロー */
.job-detail-hero {
  position: relative;
  padding: 40px 0 80px;
  background: var(--c-sand);
  border-bottom: 1px solid var(--c-border-light);
}

.job-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.job-hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.job-hero-tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 3px;
  background: var(--c-stone);
  color: var(--c-deep);
  letter-spacing: 0.04em;
}

.job-hero-tag.tag-gold {
  background: var(--c-gold-subtle);
  color: var(--c-gold);
}

.job-hero-tag.tag-navy {
  background: var(--c-deep);
  color: var(--c-white);
}

.job-hero-en {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.job-hero-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--c-deep);
  line-height: 1.25;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.job-hero-catch {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1.5;
  margin-bottom: 20px;
}

.job-hero-lead {
  font-size: 1rem;
  color: var(--c-text-sub);
  line-height: 1.9;
  margin-bottom: 32px;
}

.job-hero-facts-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--c-white);
  padding: 20px;
  border-radius: 6px;
  border: 1px solid var(--c-border-light);
  margin-bottom: 32px;
}

.job-hero-fact-item {
  text-align: center;
}

.job-hero-fact-lbl {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  margin-bottom: 4px;
}

.job-hero-fact-val {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-deep);
}

.job-hero-fact-unit {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--c-text);
  margin-left: 2px;
}

.job-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.job-hero-visual {
  position: relative;
}

.job-hero-img-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(22, 27, 34, 0.12);
  border: 1px solid var(--c-border);
}

.job-hero-img-wrap img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

/* 担当AI社員ナビゲーター バナー＆紹介ボックス */
.ai-navigator-section {
  padding: 70px 0;
  background: var(--c-stone);
  border-bottom: 1px solid var(--c-border);
}

.ai-navigator-card {
  background: var(--c-white);
  border: 2px solid var(--c-gold-subtle);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 12px 36px rgba(22, 27, 34, 0.06);
  position: relative;
  overflow: hidden;
}

.ai-navigator-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-deep), var(--c-gold));
}

.ai-nav-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.ai-nav-avatar-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--c-white);
  border: 2px solid var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(179, 130, 42, 0.25);
  flex-shrink: 0;
}

.ai-nav-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.ai-nav-avatar-icon {
  font-size: 2rem;
}

.ai-nav-status-dot {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #10b981;
  border: 2.5px solid var(--c-white);
  z-index: 2;
}

.ai-nav-meta {
  flex: 1;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--c-deep);
  color: var(--c-white);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.ai-badge-sparkle {
  color: #fbbf24;
}

.ai-nav-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-nav-role-sub {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-text-muted);
}

.ai-speech-bubble {
  background: var(--c-sand);
  border: 1px solid var(--c-border-light);
  border-radius: 8px;
  padding: 24px;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--c-text);
  margin-bottom: 32px;
  position: relative;
}

.ai-speech-bubble::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 36px;
  width: 14px;
  height: 14px;
  background: var(--c-sand);
  border-left: 1px solid var(--c-border-light);
  border-top: 1px solid var(--c-border-light);
  transform: rotate(45deg);
}

.ai-points-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ai-point-card {
  background: var(--c-sand);
  border: 1px solid var(--c-border-light);
  border-radius: 6px;
  padding: 20px;
  transition: var(--transition);
}

.ai-point-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-gold);
  box-shadow: 0 8px 20px rgba(22, 27, 34, 0.06);
}

.ai-point-num {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--c-gold);
  margin-bottom: 6px;
}

.ai-point-card-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 8px;
  line-height: 1.4;
}

.ai-point-card-desc {
  font-size: 0.88rem;
  color: var(--c-text-sub);
  line-height: 1.7;
}

/* 業務内容・設備環境セクション */
.job-content-section {
  padding: 90px 0;
  background: var(--c-sand);
}

.job-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.job-work-card {
  background: var(--c-white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--c-border-light);
  box-shadow: 0 4px 16px rgba(22, 27, 34, 0.04);
  transition: var(--transition);
}

.job-work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(22, 27, 34, 0.08);
}

.job-work-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.job-work-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.job-work-card:hover .job-work-img-wrap img {
  transform: scale(1.04);
}

/* AI生成画像の注釈バッジ */
.img-ai-note {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(22, 27, 34, 0.65);
  color: #ffffff;
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
  z-index: 2;
  line-height: 1.2;
}

.job-work-body {
  padding: 24px;
}

.job-work-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: block;
}

.job-work-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 12px;
  line-height: 1.4;
}

.job-work-desc {
  font-size: 0.9rem;
  color: var(--c-text-sub);
  line-height: 1.75;
}

/* 1日のスケジュールタイムライン */
.schedule-section {
  padding: 90px 0;
  background: var(--c-white);
  border-top: 1px solid var(--c-border-light);
  border-bottom: 1px solid var(--c-border-light);
}

.schedule-tabs-wrap {
  margin-top: 40px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.schedule-pattern-card {
  background: var(--c-sand);
  border: 1px solid var(--c-border-light);
  border-radius: 8px;
  padding: 32px;
}

.schedule-pattern-header {
  border-bottom: 2px solid var(--c-gold);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.schedule-pattern-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: 0.06em;
}

.schedule-pattern-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-top: 4px;
}

.schedule-pattern-time {
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text-sub);
  margin-top: 2px;
}

.timeline-list {
  position: relative;
  padding-left: 28px;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  width: 2px;
  background: var(--c-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-white);
  border: 3px solid var(--c-gold);
  box-sizing: border-box;
}

.timeline-time {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--c-gold);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.timeline-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--c-text-sub);
  line-height: 1.65;
}

/* Grade 1〜5 評価・キャリアパスセクション */
.grade-section {
  padding: 90px 0;
  background: var(--c-sand);
}

.grade-lead-box {
  background: var(--c-white);
  border-left: 4px solid var(--c-gold);
  padding: 20px 24px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 32px;
}

.grade-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.grade-card {
  background: var(--c-white);
  border: 1px solid var(--c-border-light);
  border-radius: 6px;
  padding: 20px 16px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.grade-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-gold);
  box-shadow: 0 8px 24px rgba(22, 27, 34, 0.08);
}

.grade-badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--c-deep);
  color: var(--c-white);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.grade-card.active-start .grade-badge {
  background: var(--c-gold);
}

.grade-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 8px;
}

.grade-salary {
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-deep);
  margin-bottom: 8px;
}

.grade-salary small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--c-text-sub);
}

.grade-desc {
  font-size: 0.78rem;
  color: var(--c-text-sub);
  line-height: 1.55;
  text-align: left;
}

.salary-models-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.salary-model-card {
  background: var(--c-white);
  border: 1px solid var(--c-border-light);
  border-radius: 8px;
  padding: 24px 28px;
}

.salary-model-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--c-border-light);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.salary-model-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-gold);
}

.salary-model-total {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--c-deep);
}

.salary-breakdown {
  font-size: 0.88rem;
  color: var(--c-text-sub);
  line-height: 1.8;
}

/* 募集要項・待遇詳細テーブル */
.terms-section {
  padding: 90px 0;
  background: var(--c-white);
  border-top: 1px solid var(--c-border-light);
  border-bottom: 1px solid var(--c-border-light);
}

.terms-table-wrap {
  margin-top: 40px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  overflow: hidden;
}

.terms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.terms-table th,
.terms-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--c-border-light);
  text-align: left;
  line-height: 1.8;
}

.terms-table tr:last-child th,
.terms-table tr:last-child td {
  border-bottom: none;
}

.terms-table th {
  width: 28%;
  background: var(--c-sand);
  font-weight: 700;
  color: var(--c-deep);
  vertical-align: top;
  border-right: 1px solid var(--c-border-light);
}

.terms-table td {
  background: var(--c-white);
  color: var(--c-text);
}

/* 他職種へのスイッチ案内カード */
.other-jobs-section {
  padding: 90px 0;
  background: var(--c-sand);
}

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

.other-job-card {
  background: var(--c-white);
  border: 1px solid var(--c-border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.other-job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(22, 27, 34, 0.08);
  border-color: var(--c-gold);
}

.other-job-img-wrap {
  height: 160px;
  overflow: hidden;
}

.other-job-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.other-job-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.other-job-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 4px;
}

.other-job-salary {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-gold);
  margin-bottom: 12px;
}

.other-job-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-deep);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.other-job-card:hover .other-job-link {
  color: var(--c-gold);
}

/* レスポンシブ（職種詳細） */
@media (max-width: 1024px) {
  .job-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .job-hero-img-wrap img {
    height: 340px;
  }
  .ai-points-grid,
  .job-work-grid,
  .other-jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grade-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .job-hero-title {
    font-size: clamp(1.5rem, 5.6vw, 1.95rem);
    line-height: 1.35;
    word-break: auto-phrase;
  }
  .job-hero-badge-row {
    gap: 6px;
  }
  .job-hero-tag {
    font-size: 0.75rem;
    padding: 3px 10px;
    white-space: nowrap;
  }
  .job-hero-facts-box {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ai-navigator-card {
    padding: 24px 16px;
  }
  .ai-speech-bubble {
    font-size: 0.92rem;
    line-height: 1.85;
    text-align: justify;
  }
  .ai-points-title {
    font-size: clamp(1.15rem, 4.2vw, 1.35rem);
    line-height: 1.45;
    word-break: auto-phrase;
  }
  .ai-point-card-title {
    font-size: clamp(1.02rem, 3.8vw, 1.2rem);
    line-height: 1.45;
    word-break: auto-phrase;
  }
  .ai-point-card-text {
    font-size: 0.9rem;
    line-height: 1.85;
    text-align: justify;
  }
  .job-section-title {
    font-size: clamp(1.4rem, 5.0vw, 1.85rem);
    line-height: 1.4;
    word-break: auto-phrase;
  }
  .job-work-title {
    font-size: 1.1rem;
    line-height: 1.4;
    word-break: auto-phrase;
  }
  .job-work-desc {
    font-size: 0.9rem;
    line-height: 1.85;
  }
  .ai-points-grid,
  .job-work-grid,
  .schedule-grid,
  .salary-models-grid,
  .other-jobs-grid {
    grid-template-columns: 1fr;
  }
  .grade-cards-grid {
    grid-template-columns: 1fr;
  }
  .terms-table th,
  .terms-table td {
    display: block;
    width: 100%;
    border-right: none;
  }
  .terms-table th {
    background: var(--c-stone);
    border-bottom: 1px solid var(--c-border-light);
    padding: 12px 16px;
  }
  .terms-table td {
    padding: 16px;
  }
}

/* 職種詳細 先輩スタッフの声（枚数に応じた美しい中央バランス配置） */
.job-voices-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 1040px;
  margin: 40px auto 0;
}

.job-voices-grid .voice-card {
  width: 100%;
  max-width: 480px;
  flex: 1 1 360px;
  margin: 0;
  box-shadow: 0 4px 16px rgba(22, 27, 34, 0.04);
}

.job-voices-grid.is-single {
  max-width: 680px;
}

.job-voices-grid.is-single .voice-card {
  max-width: 680px;
}

@media (max-width: 768px) {
  .job-voices-grid {
    margin-top: 24px;
    gap: 20px;
  }
  .job-voices-grid .voice-card {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   オープニング・スプラッシュアニメーション
   ========================================================================== */
.site-opening {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background-color: #0f141c;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 2.0s cubic-bezier(0.25, 1, 0.5, 1), visibility 2.0s cubic-bezier(0.25, 1, 0.5, 1);
}

.site-opening.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 写真スライドレイヤー */
.opening-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.opening-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.55s ease-in-out, transform 1.2s ease-out;
}

.opening-slide.is-active {
  opacity: 1;
  transform: scale(1.0);
}

/* 落ち着いたダークオーバーレイ（写真を見やすく親しみやすく引き締める） */
.opening-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at center, rgba(15, 20, 28, 0.35) 0%, rgba(15, 20, 28, 0.75) 100%);
}

/* ローディングプログレス（真ん中やや下） */
.opening-progress-wrap {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 5;
  width: 90%;
  max-width: 280px;
  transition: opacity 0.4s ease;
}

.opening-loading-text {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
  text-transform: uppercase;
}

#openingPercent {
  color: var(--c-gold);
  margin-left: 6px;
  display: inline-block;
  min-width: 42px;
  text-align: left;
}

.opening-bar-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.opening-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #c59b27, #e5b84c);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(229, 184, 76, 0.6);
  transition: width 0.08s linear;
}

/* 最終幕：HP内の紺色カラー＋白文字メッセージ */
.opening-finale-screen {
  position: absolute;
  inset: 0;
  z-index: 10;
  background-color: var(--c-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 2.0s cubic-bezier(0.25, 1, 0.5, 1), visibility 2.0s cubic-bezier(0.25, 1, 0.5, 1);
}

.opening-finale-screen.is-shown {
  opacity: 1;
  visibility: visible;
}

.opening-finale-content {
  max-width: 680px;
  transform: translateY(10px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.opening-finale-screen.is-shown .opening-finale-content {
  transform: translateY(0);
}

.opening-finale-logo {
  margin-bottom: 20px;
}

.opening-finale-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 6px;
}

.opening-finale-lead {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.16em;
  margin-bottom: 16px;
  font-weight: 500;
}

.opening-finale-message {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 5.0vw, 2.25rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  line-height: 1.55;
  margin: 0;
}

.op-line {
  display: block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1), transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}

.op-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* スキップボタン */
.opening-skip-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 15;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.opening-skip-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

