@charset "utf-8";
/* CSS Document */

/* テキスト配置 */
.t-l {
  text-align: left !important;
}

.t-c {
  text-align: center !important;
}

.t-r {
  text-align: right !important;
}

/* 幅設定 */
.mw-50 {
  min-width: 50%;
}

/* フォントウェイト */
.fwb {
  font-weight: bold;
  font-family: 'Kaisei Decol', serif;
}

/* フォントサイズ */
.fs-60 {
  font-size: 60% !important;
}

.fs-70 {
  font-size: 70% !important;
}

.fs-80 {
  font-size: 80% !important;
}

.fs-90 {
  font-size: 90% !important;
}

.fs-110 {
  font-size: 110% !important;
}

.fs-120 {
  font-size: 120% !important;
}

.fs-130 {
  font-size: 130% !important;
}

.fs-140 {
  font-size: 140% !important;
}

.fs-150 {
  font-size: 150% !important;
}

/* カラー設定 */
.red {
  color: var(--accent-red) !important;
  font-weight: bold;
}

.gold {
  color: var(--accent-gold) !important;
  font-weight: bold;
}

.dark {
  color: var(--primary-dark) !important;
}

.blue {
  color: var(--primary-blue) !important;
}

.silver {
  color: var(--accent-silver) !important;
}

/* 和風装飾クラス */
.katana-accent {
  position: relative;
  display: inline-block;
}

.katana-accent::before {
  content: '⚔';
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-gold);
  font-size: 0.8em;
  opacity: 0.7;
}

.katana-accent::after {
  content: '⚔';
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%) scaleX(-1);
  color: var(--accent-red);
  font-size: 0.8em;
  opacity: 0.7;
}

/* 和風ボーダー */
.japanese-border {
  border: 2px solid var(--accent-gold);
  border-radius: 8px;
  position: relative;
}

.japanese-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-red), var(--accent-gold));
  border-radius: 8px 8px 0 0;
}

/* 刀剣グラデーション背景 */
.katana-bg {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-secondary) 50%, #e8e3d8 100%);
  position: relative;
}

.katana-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, var(--accent-gold) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, var(--accent-red) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px;
  opacity: 0.03;
  pointer-events: none;
}

/* 金属光沢効果 */
.metal-shine {
  background: linear-gradient(45deg, 
    var(--accent-silver) 0%, 
    #ffffff 25%, 
    var(--accent-silver) 50%, 
    var(--accent-gold) 75%, 
    var(--accent-silver) 100%);
  background-size: 200% 200%;
  animation: metalShine 3s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes metalShine {
  0%, 100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
}

/* 和風シャドウ */
.japanese-shadow {
  box-shadow: 
    0 4px 8px rgba(26, 26, 46, 0.1),
    0 12px 24px rgba(26, 26, 46, 0.1),
    inset 0 1px 0 rgba(212, 175, 55, 0.2);
}

/* 刀剣ボタンスタイル */
.katana-btn {
  background: linear-gradient(45deg, var(--accent-red), var(--primary-dark));
  color: var(--text-light);
  border: 2px solid var(--accent-gold);
  padding: 12px 24px;
  border-radius: 25px;
  font-family: 'Kaisei Decol', serif;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.katana-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
  transition: left 0.6s ease;
}

.katana-btn:hover::before {
  left: 100%;
}

.katana-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 30, 58, 0.3);
}

/* 和風装飾テキスト */
.ornamental-text {
  position: relative;
  display: inline-block;
  font-family: 'Kaisei Decol', serif;
}

.ornamental-text::before {
  content: '◆';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-gold);
  font-size: 0.7em;
}

.ornamental-text::after {
  content: '◆';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-red);
  font-size: 0.7em;
}

/* 浮遊アニメーション */
.float-animation {
  animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* 回転アニメーション */
.rotate-slow {
  animation: slowRotate 20s linear infinite;
}

@keyframes slowRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* パルスアニメーション */
.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
  }
}

/* 和風区切り線 */
.japanese-divider {
  border: none;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), var(--accent-red), var(--accent-gold), transparent);
  margin: 30px 0;
  position: relative;
}

.japanese-divider::before {
  content: '◆';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-light);
  color: var(--accent-red);
  padding: 0 10px;
  font-size: 0.9em;
}

/* 和風カード */
.japanese-card {
  background: linear-gradient(145deg, #ffffff, var(--bg-secondary));
  border: 2px solid var(--accent-gold);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  box-shadow: 0 8px 25px rgba(26, 26, 46, 0.1);
}

.japanese-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-red), var(--accent-gold));
  border-radius: 12px 12px 0 0;
}

/* 刀剣装飾リスト */
.katana-list {
  list-style: none;
  padding-left: 0;
}

.katana-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
}

.katana-list li::before {
  content: '⚔';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-gold);
  font-size: 0.9em;
}

/* 和風テーブル装飾 */
.japanese-table {
  border: 2px solid var(--accent-gold);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(26, 26, 46, 0.1);
}

.japanese-table thead {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  color: var(--text-light);
}

.japanese-table thead::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gold);
}

/* 強調テキスト */
.emphasis-text {
  color: var(--accent-red);
  font-weight: bold;
  font-family: 'Kaisei Decol', serif;
  position: relative;
}

.emphasis-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-gold));
  border-radius: 1px;
}

/* 和風バッジ */
.japanese-badge {
  background: linear-gradient(45deg, var(--accent-red), var(--primary-dark));
  color: var(--text-light);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8em;
  font-weight: 600;
  border: 1px solid var(--accent-gold);
  display: inline-block;
  font-family: 'Kaisei Decol', serif;
}

/* 和風アラート */
.japanese-alert {
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(212, 175, 55, 0.1));
  border: 2px solid var(--accent-red);
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  position: relative;
}

.japanese-alert::before {
  content: '⚠';
  position: absolute;
  top: 15px;
  left: 15px;
  color: var(--accent-red);
  font-size: 1.2em;
  font-weight: bold;
}

.japanese-alert-content {
  margin-left: 30px;
  color: var(--text-dark);
  font-family: 'Kiwi Maru', serif;
}

/* 和風情報ボックス */
.japanese-info {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.05), rgba(212, 175, 55, 0.05));
  border: 2px solid var(--accent-gold);
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  position: relative;
}

.japanese-info::before {
  content: 'ℹ';
  position: absolute;
  top: 15px;
  left: 15px;
  color: var(--accent-gold);
  font-size: 1.2em;
  font-weight: bold;
}

.japanese-info-content {
  margin-left: 30px;
  color: var(--text-dark);
  font-family: 'Kiwi Maru', serif;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .katana-accent::before,
  .katana-accent::after {
    display: none;
  }
  
  .ornamental-text::before,
  .ornamental-text::after {
    display: none;
  }
  
  .japanese-card {
    padding: 15px;
  }
  
  .katana-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .japanese-alert::before,
  .japanese-info::before {
    position: static;
    display: block;
    margin-bottom: 10px;
  }
  
  .japanese-alert-content,
  .japanese-info-content {
    margin-left: 0;
  }
  
  .katana-list li {
    padding-left: 20px;
  }
}

/* 印刷対応 */
@media print {
  .katana-bg::before,
  .japanese-card::before,
  .float-animation,
  .pulse-glow,
  .rotate-slow {
    display: none !important;
    animation: none !important;
  }
  
  .japanese-shadow {
    box-shadow: none !important;
  }
}

/* ダークモード対応（将来的な拡張用） */
@media (prefers-color-scheme: dark) {
  .japanese-card {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    color: var(--text-light);
  }
  
  .japanese-alert,
  .japanese-info {
    background: rgba(26, 26, 46, 0.8);
    color: var(--text-light);
  }
}

/* アクセシビリティ向上 */
@media (prefers-reduced-motion: reduce) {
  .float-animation,
  .rotate-slow,
  .pulse-glow,
  .metal-shine {
    animation: none !important;
  }
  
  .katana-btn::before {
    transition: none !important;
  }
}

/* 高コントラスト対応 */
@media (prefers-contrast: high) {
  .japanese-card,
  .japanese-alert,
  .japanese-info {
    border-width: 3px;
  }
  
  .emphasis-text::after {
    height: 3px;
  }
}