/* ===================================
   CRT TV Modal System
   サイト共通プライバシーポリシーモーダル
   =================================== */

/* ===================================
   CRT オーバーレイ（背景暗転）
   =================================== */
.crt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: background 0.3s, opacity 0.3s, visibility 0.3s;
}

.crt-overlay.active {
  opacity: 1;
  visibility: visible;
  background: rgba(30, 30, 40, 0.75);
}

/* スキャンライン効果（カードの後ろに配置） */
.crt-scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.08) 0px,
    rgba(0, 0, 0, 0.08) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s;
}

.crt-overlay.active .crt-scanlines {
  opacity: 1;
  animation: scanline-flicker 0.08s infinite;
}

@keyframes scanline-flicker {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.75; }
}

/* ===================================
   CRT モーダル本体
   =================================== */
.crt-modal {
  position: relative;
  width: 90%;
  max-width: 750px;
  max-height: 88vh;
  z-index: 100000;
  transform: scaleY(0) scaleX(0);
  opacity: 0;
}

/* テレビONエフェクト */
.crt-modal.turning-on {
  animation: crt-turn-on 0.35s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
}

@keyframes crt-turn-on {
  0% {
    transform: scaleY(0.003) scaleX(0);
    opacity: 1;
    filter: brightness(50) saturate(0);
  }
  20% {
    transform: scaleY(0.003) scaleX(0.8);
    filter: brightness(30) saturate(0);
  }
  35% {
    transform: scaleY(0.005) scaleX(1);
    filter: brightness(10);
  }
  50% {
    transform: scaleY(0.02) scaleX(1);
    filter: brightness(3);
  }
  75% {
    transform: scaleY(0.6) scaleX(1);
    filter: brightness(1.3);
  }
  100% {
    transform: scaleY(1) scaleX(1);
    opacity: 1;
    filter: brightness(1);
  }
}

/* テレビON完了状態 */
.crt-modal.on {
  transform: scaleY(1) scaleX(1);
  opacity: 1;
  filter: brightness(1);
}

/* テレビOFFエフェクト */
.crt-modal.turning-off {
  animation: crt-turn-off 0.28s cubic-bezier(0.4, 0, 0.9, 0.4) forwards;
}

@keyframes crt-turn-off {
  0% {
    transform: scaleY(1) scaleX(1);
    filter: brightness(1);
    opacity: 1;
  }
  30% {
    transform: scaleY(0.008) scaleX(1);
    filter: brightness(3);
  }
  60% {
    transform: scaleY(0.004) scaleX(0.6);
    filter: brightness(20);
  }
  100% {
    transform: scaleY(0) scaleX(0);
    filter: brightness(50) saturate(0);
    opacity: 0;
  }
}

/* ===================================
   CRT スクリーン
   =================================== */
.crt-screen {
  background: linear-gradient(150deg, #0a0e14 0%, #141a22 50%, #0d1117 100%);
  border: 5px solid #2a2a2a;
  border-radius: 12px;
  box-shadow:
    0 0 0 8px #1a1a1a,
    0 0 0 12px #2d2d2d,
    0 0 80px rgba(0, 0, 0, 0.8),
    inset 0 0 120px rgba(255, 149, 0, 0.02),
    inset 0 0 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

/* CRT画面の端の暗さ（ビネット効果） */
.crt-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
  z-index: 10;
}

/* 画面の反射光 */
.crt-screen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 25% 15%, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 30%);
  pointer-events: none;
  z-index: 11;
}

/* ===================================
   閉じるボタン（電源ボタン風）
   =================================== */
.crt-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border: 2px solid #3a3a3a;
  border-radius: 50%;
  color: #666;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.crt-close-btn:hover {
  background: linear-gradient(145deg, #dc3545, #a71d2a);
  border-color: #dc3545;
  color: white;
  transform: scale(1.08);
  box-shadow:
    0 0 25px rgba(220, 53, 69, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.crt-close-btn:active {
  transform: scale(0.95);
}

.crt-close-btn i {
  color: inherit;
  transition: transform 0.3s;
}

.crt-close-btn:hover i {
  transform: rotate(180deg);
}

/* ===================================
   CRT ヘッダー
   =================================== */
.crt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255, 149, 0, 0.15);
  background: rgba(0, 0, 0, 0.4);
}

.crt-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ff9500;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 0 15px rgba(255, 149, 0, 0.6);
  letter-spacing: 0.02em;
}

.crt-title i {
  color: #ff9500;
  font-size: 1rem;
}

.crt-date {
  font-size: 0.72rem;
  color: #555;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  font-family: 'Consolas', 'Monaco', monospace;
}

/* ===================================
   CRT コンテンツ
   =================================== */
.crt-content {
  padding: 28px;
  max-height: calc(88vh - 100px);
  overflow-y: auto;
  color: #c9d1d9;
  font-size: 0.9rem;
  line-height: 1.9;
}

/* ポリシーセクション */
.policy-section {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.policy-section:last-of-type {
  border-bottom: none;
  margin-bottom: 24px;
}

.policy-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #ff9500;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 0 8px rgba(255, 149, 0, 0.3);
}

.policy-section h3 i {
  color: #ff9500;
  font-size: 0.85rem;
  opacity: 0.85;
}

.policy-section p {
  margin-bottom: 12px;
  color: #adbac7;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section a {
  color: #ff9500;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 149, 0, 0.35);
  transition: all 0.2s;
}

.policy-section a:hover {
  color: #ffb852;
  border-bottom-style: solid;
  text-shadow: 0 0 10px rgba(255, 149, 0, 0.4);
}

/* ポリシーフッター */
.policy-footer {
  background: rgba(255, 149, 0, 0.06);
  padding: 18px 22px;
  border-radius: 8px;
  border-left: 3px solid #ff9500;
}

.policy-footer p {
  margin: 0;
  color: #adbac7;
  font-size: 0.88rem;
}

.policy-footer i {
  color: #ff9500;
  margin-right: 10px;
}

.policy-footer a {
  color: #ff9500;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 149, 0, 0.4);
}

.policy-footer a:hover {
  color: #ffb852;
  border-bottom-style: solid;
}

/* ===================================
   CRT コンテンツ スクロールバー
   =================================== */
.crt-content::-webkit-scrollbar {
  width: 10px;
}

.crt-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 5px;
}

.crt-content::-webkit-scrollbar-thumb {
  background: rgba(255, 149, 0, 0.25);
  border-radius: 5px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.crt-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 149, 0, 0.45);
  background-clip: padding-box;
}

/* ===================================
   フッターのプライバシーリンク
   =================================== */
.privacy-link-footer {
  cursor: pointer;
  color: inherit;
  transition: color 0.2s;
}

.privacy-link-footer:hover {
  color: #ff9500;
}

/* ===================================
   レスポンシブ
   =================================== */
@media (max-width: 768px) {
  .crt-modal {
    width: 96%;
    max-height: 92vh;
  }

  .crt-screen {
    border-width: 4px;
    border-radius: 10px;
    box-shadow:
      0 0 0 5px #1a1a1a,
      0 0 0 8px #2d2d2d,
      0 0 50px rgba(0, 0, 0, 0.7);
  }

  .crt-header {
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .crt-title {
    font-size: 1rem;
  }

  .crt-content {
    padding: 20px;
    max-height: calc(92vh - 90px);
    font-size: 0.85rem;
  }

  .crt-close-btn {
    width: 42px;
    height: 42px;
    top: 14px;
    right: 14px;
    font-size: 1rem;
  }

  .policy-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .policy-section h3 {
    font-size: 0.95rem;
  }

  .policy-footer {
    padding: 14px 18px;
  }
}

@media (max-width: 480px) {
  .crt-screen {
    border-width: 3px;
    box-shadow:
      0 0 0 4px #1a1a1a,
      0 0 0 6px #2d2d2d,
      0 0 30px rgba(0, 0, 0, 0.6);
  }

  .crt-header {
    padding: 14px 16px;
  }

  .crt-content {
    padding: 16px;
    line-height: 1.8;
  }
}

/* ===================================
   CRT プロフィールモーダル（ライトモード）
   =================================== */
.crt-modal-profile {
  max-width: 850px;
  max-height: 90vh;
}

.crt-screen-profile {
  height: 80vh;
  max-height: 700px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 0 80px rgba(0, 0, 0, 0.2);
}

.crt-screen-profile::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  border-radius: 16px;
}

.crt-screen-profile::after {
  background: none;
}

/* プロフィールモーダル用閉じるボタン（グラスモーフィズム） */
.crt-screen-profile .crt-close-btn {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.crt-screen-profile .crt-close-btn:hover {
  background: rgba(255, 80, 80, 0.8);
  border-color: rgba(255, 80, 80, 0.6);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 80, 80, 0.4);
}

/* プロフィールスライダー */
.profile-slider {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

/* ショートカットメニュー */
.profile-shortcut-menu {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.profile-shortcut {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}

/* 背景色の横スライドエフェクト用 */
.profile-shortcut::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
    rgba(255, 149, 0, 0.9) 0%,
    rgba(255, 180, 50, 0.95) 50%,
    rgba(255, 149, 0, 0.9) 100%
  );
  border-radius: 20px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.profile-shortcut:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  transform: translateY(-1px);
}

.profile-shortcut.active {
  border-color: rgba(255, 149, 0, 0.8);
  color: white;
  box-shadow: 0 4px 16px rgba(255, 149, 0, 0.4);
  text-shadow: none;
}

.profile-shortcut.active::before {
  transform: translateX(0);
}

/* 左から右への遷移アニメーション */
.profile-shortcut.filling-right::before {
  animation: fillFromLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 右から左への遷移アニメーション */
.profile-shortcut.filling-left::before {
  animation: fillFromRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 抜けていくアニメーション（左へ） */
.profile-shortcut.emptying-left::before {
  animation: emptyToLeft 0.3s ease-out forwards;
}

/* 抜けていくアニメーション（右へ） */
.profile-shortcut.emptying-right::before {
  animation: emptyToRight 0.3s ease-out forwards;
}

@keyframes fillFromLeft {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

@keyframes fillFromRight {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0); }
}

@keyframes emptyToLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes emptyToRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.profile-shortcut .num {
  font-weight: 700;
  font-size: 0.65rem;
  opacity: 0.7;
}

.profile-shortcut.active .num {
  opacity: 1;
}

.profile-shortcut .label {
  font-weight: 500;
}

/* カードコンテナ */
.profile-cards-container {
  flex: 1;
  position: relative;
  perspective: 1200px;
  overflow: hidden;
}

/* 各カード */
.profile-card {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateZ(-100px) rotateY(15deg);
  width: 90%;
  max-width: 650px;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-card.active {
  transform: translateX(-50%) translateZ(0) rotateY(0);
  opacity: 1;
  pointer-events: auto;
}

.profile-card.exit-left {
  transform: translateX(-150%) translateZ(-100px) rotateY(-15deg);
  opacity: 0;
}

.profile-card.exit-right {
  transform: translateX(50%) translateZ(-100px) rotateY(15deg);
  opacity: 0;
}

/* カード内部（グラスモーフィズム） */
.profile-card-inner {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  padding: 28px 32px;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.profile-card-number {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 149, 0, 0.1);
  line-height: 1;
  user-select: none;
}

.profile-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ff9500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-card-title i {
  color: #ff9500;
  font-size: 1rem;
}

.profile-card-content {
  color: #444;
  font-size: 0.9rem;
  line-height: 1.8;
}

.profile-card-content p {
  margin-bottom: 0.8rem;
}

.profile-card-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, #ff9500, transparent);
  margin: 1rem 0;
}

.profile-card-content a {
  color: #e07800;
  text-decoration: none;
  border-bottom: 1px dotted #ff9500;
  transition: all 0.2s;
}

.profile-card-content a:hover {
  color: #ff6b35;
  border-bottom-style: solid;
}

.profile-card-content .small-text {
  font-size: 0.8rem;
  color: #888;
}

/* ナビボタン（グラスモーフィズム） */
.profile-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s;
  z-index: 50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-nav-btn:hover {
  background: rgba(255, 149, 0, 0.9);
  border-color: rgba(255, 149, 0, 0.8);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 149, 0, 0.5);
  transform: translateY(-50%) scale(1.05);
}

.profile-prev-btn { left: 8px; }
.profile-next-btn { right: 8px; }

.profile-nav-btn i {
  color: inherit;
}

/* ドットインジケーター */
.profile-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.profile-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}

.profile-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.profile-dot.active {
  background: rgba(255, 149, 0, 0.9);
  border-color: rgba(255, 149, 0, 0.8);
  box-shadow: 0 0 12px rgba(255, 149, 0, 0.6);
}

/* しずく落下アニメーション（出ていく） */
.profile-dot.dropping {
  animation: dotDrop 0.35s cubic-bezier(0.4, 0, 1, 1) forwards;
}

/* 上から降りてくるアニメーション（入ってくる） */
.profile-dot.rising {
  animation: dotRise 0.4s cubic-bezier(0, 0, 0.2, 1.2) forwards;
}

@keyframes dotDrop {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  60% {
    transform: translateY(20px) scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: translateY(30px) scale(0.5);
    opacity: 0;
  }
}

@keyframes dotRise {
  0% {
    transform: translateY(-25px) scale(0.5);
    opacity: 0;
  }
  50% {
    transform: translateY(3px) scale(1.1);
    opacity: 1;
  }
  75% {
    transform: translateY(-2px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* プロフィール内のボタン */
.profile-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
  color: white !important;
  text-decoration: none !important;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  transition: all 0.25s;
  box-shadow: 0 4px 12px rgba(255, 149, 0, 0.25);
}

.profile-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 149, 0, 0.35);
  color: white !important;
}

.profile-btn-primary i {
  color: white !important;
}

.profile-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  color: #ff9500 !important;
  text-decoration: none !important;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 2px solid #ff9500;
  transition: all 0.25s;
}

.profile-btn-secondary:hover {
  background: #ff9500;
  color: white !important;
}

.profile-btn-secondary i {
  color: inherit !important;
}

/* お問い合わせボックス */
.profile-contact-box {
  text-align: center;
  padding: 16px;
  background: rgba(255, 149, 0, 0.05);
  border-radius: 8px;
  margin-top: 16px;
  border: 1px dashed rgba(255, 149, 0, 0.2);
}

.profile-contact-box .contact-lead {
  color: #888 !important;
  font-size: 0.8rem;
  margin-bottom: 10px !important;
}

.profile-contact-box .contact-lead i {
  color: #ff9500 !important;
}

/* リンク情報 */
.profile-link-info {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.profile-link-text {
  flex: 1;
  min-width: 160px;
}

.profile-link-text p {
  margin-bottom: 0.4rem;
}

.profile-banner-area {
  flex-shrink: 0;
}

.profile-banner-img {
  max-width: 160px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.profile-history-notes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 149, 0, 0.15);
}

.profile-history-notes span {
  font-size: 0.7rem;
  color: #666;
  padding: 2px 8px;
  background: rgba(255, 149, 0, 0.05);
  border-radius: 12px;
}

/* 縦並びの年表 */
.profile-history-notes.profile-history-vertical {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

/* 自己紹介 */
.profile-intro-text {
  font-size: 0.95rem;
  line-height: 1.9;
}

.profile-email-info {
  color: #888 !important;
  font-size: 0.8rem;
  padding: 6px 12px;
  background: rgba(255, 149, 0, 0.05);
  border-radius: 4px;
  display: inline-block;
}

.profile-email-info i {
  color: #ff9500 !important;
}

.profile-sub-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ff9500;
  margin: 14px 0 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-sub-title i {
  font-size: 0.8rem;
}

.profile-social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.profile-social-grid a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: rgba(255, 149, 0, 0.05);
  color: #aaa !important;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none !important;
  border: none !important;
  transition: all 0.2s;
}

.profile-social-grid a:hover {
  background: #ff9500;
  color: white !important;
}

.profile-social-grid a i {
  color: #ff9500;
  font-size: 0.8rem;
}

.profile-social-grid a:hover i {
  color: white;
}

/* ロゴエリア */
.profile-logo-area {
  text-align: center;
  margin-bottom: 14px;
}

.profile-logo-img {
  max-width: 140px;
}

/* 寄稿リスト */
.profile-contribution-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-contribution-list li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 149, 0, 0.1);
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.85rem;
}

.profile-contribution-list li:last-child {
  border-bottom: none;
}

.profile-contribution-list .date {
  font-size: 0.65rem;
  font-weight: 700;
  color: #ff9500;
  background: rgba(255, 149, 0, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* お仕事ボタン */
.profile-work-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  align-items: center;
}

.profile-work-or {
  font-size: 0.8rem;
  color: #888;
}

/* プライバシーボタン */
.profile-privacy-intro {
  color: #888;
  margin-bottom: 16px;
}

.profile-privacy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  padding: 14px 20px;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 2px solid #444;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}

.profile-privacy-btn:hover {
  border-color: #ff9500;
  box-shadow: 0 0 20px rgba(255, 149, 0, 0.2);
}

.profile-privacy-btn .btn-icon {
  font-size: 1.3rem;
  color: #666;
  transition: color 0.3s;
}

.profile-privacy-btn:hover .btn-icon {
  color: #ff9500;
}

.profile-privacy-btn .btn-text {
  font-size: 0.9rem;
  font-weight: 600;
}

.profile-privacy-btn .btn-hint {
  font-size: 0.6rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border: 1px solid #444;
  border-radius: 3px;
}

/* スクロールバー */
.profile-card-inner::-webkit-scrollbar {
  width: 6px;
}

.profile-card-inner::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.profile-card-inner::-webkit-scrollbar-thumb {
  background: rgba(255, 149, 0, 0.2);
  border-radius: 3px;
}

.profile-card-inner::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 149, 0, 0.4);
}

/* ===================================
   プライバシーポリシー（スクロール表示）
   =================================== */
.profile-policy-scroll {
  max-height: calc(100% - 60px);
  overflow-y: auto;
  padding-right: 8px;
}

/* カード内のスクロールを確実に有効に */
.profile-card[data-card="6"] .profile-card-inner {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.profile-card[data-card="6"] .profile-card-title {
  flex-shrink: 0;
}

.profile-card[data-card="6"] .profile-card-content {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding-bottom: 24px;
}

.profile-card[data-card="6"] .profile-card-number {
  flex-shrink: 0;
}

.policy-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #888;
  background: rgba(255, 149, 0, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.policy-date i {
  color: #ff9500;
  font-size: 0.7rem;
}

.policy-item {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(255, 149, 0, 0.15);
}

.policy-item:last-of-type {
  border-bottom: none;
  margin-bottom: 12px;
  padding-bottom: 0;
}

.policy-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-item h4 i {
  color: #ff9500;
  font-size: 0.8rem;
  opacity: 0.85;
}

.policy-item p {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* プロフィールモーダル レスポンシブ */
@media (max-width: 768px) {
  .crt-modal-profile {
    max-height: 80vh;
  }

  .crt-screen-profile {
    height: 70vh;
    max-height: none;
  }

  .profile-slider {
    padding: 12px;
  }

  .profile-shortcut-menu {
    gap: 4px;
    margin-bottom: 10px;
  }

  .profile-shortcut {
    padding: 5px 8px;
    font-size: 0.7rem;
  }

  .profile-shortcut .label {
    display: none;
  }

  .profile-card {
    width: 95%;
  }

  .profile-card-inner {
    padding: 16px;
    border-radius: 10px;
  }

  .profile-card-number {
    font-size: 2rem;
  }

  .profile-card-title {
    font-size: 0.95rem;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }

  .profile-card-content {
    font-size: 0.8rem;
  }

  .profile-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .profile-prev-btn { left: 4px; }
  .profile-next-btn { right: 4px; }

  .profile-link-info {
    flex-direction: column;
  }

  .profile-banner-img {
    max-width: 100%;
  }

  .profile-work-buttons {
    flex-direction: column;
  }

  /* ポリシー表示レスポンシブ */
  .policy-item {
    margin-bottom: 10px;
    padding-bottom: 8px;
  }

  .policy-item h4 {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }

  .policy-item p {
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .policy-date {
    font-size: 0.65rem;
    margin-bottom: 10px;
    padding: 3px 8px;
  }

  /* 閉じるボタン位置調整 */
  .crt-screen-profile .crt-close-btn {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* ソーシャルグリッド調整 */
  .profile-social-grid {
    gap: 4px;
  }

  .profile-social-grid a {
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .profile-dots {
    margin-top: 10px;
  }
}

/* 小さいスマホ向け（480px以下） */
@media (max-width: 480px) {
  .crt-modal-profile {
    width: 98%;
    max-height: 98vh;
  }

  .crt-screen-profile {
    height: 92vh;
    border-width: 3px;
    border-radius: 8px;
    box-shadow:
      0 0 0 4px #f5ebe0,
      0 0 0 6px #e0d0c0,
      0 0 40px rgba(0, 0, 0, 0.2);
  }

  .profile-slider {
    padding: 8px;
  }

  .profile-shortcut-menu {
    gap: 3px;
    margin-bottom: 8px;
  }

  .profile-shortcut {
    padding: 4px 6px;
    font-size: 0.65rem;
  }

  .profile-card-inner {
    padding: 14px;
  }

  .profile-card-number {
    font-size: 2rem;
    top: 8px;
    right: 12px;
  }

  .profile-card-title {
    font-size: 0.9rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .profile-card-content {
    font-size: 0.8rem;
    line-height: 1.7;
  }

  .profile-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .profile-prev-btn { left: 2px; }
  .profile-next-btn { right: 2px; }

  .profile-dots {
    margin-top: 10px;
    gap: 6px;
  }

  .profile-dot {
    width: 6px;
    height: 6px;
  }

  .profile-btn-primary,
  .profile-btn-secondary {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .profile-contact-box {
    padding: 12px;
  }

  .profile-contribution-list li {
    font-size: 0.78rem;
    padding: 6px 0;
  }

  .profile-contribution-list .date {
    font-size: 0.6rem;
    padding: 2px 4px;
  }
}
