/* 洗える品物ガイドセクション専用CSS */

.washing-guide-section {
  padding: 80px 0;
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.washing-guide-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(54, 144, 217, 0.03) 0%, transparent 60%);
  z-index: 0;
}

.washing-guide-section .container {
  position: relative;
  z-index: 1;
}

.washing-guide-section .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.washing-guide-section .sub-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--headings-color);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.washing-guide-section .sub-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--theme-color1) 0%, #3B82F6 100%);
  border-radius: 2px;
}

/* タブスタイル */
.washing-guide-tabs {
  border: none;
  margin-bottom: 30px;
}

.washing-guide-tabs .nav-item {
  margin: 0 5px;
}

.washing-guide-tabs .nav-link {
  background: #ffffff;
  color: #666;
  border: 2px solid #e9ecef;
  border-radius: 30px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 10px;
}

.washing-guide-tabs .nav-link:hover {
  background: #f0f8ff;
  border-color: var(--theme-color1);
  color: var(--theme-color1);
}

.washing-guide-tabs .nav-link.active {
  background: linear-gradient(135deg, var(--theme-color1) 0%, #3B82F6 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(54, 144, 217, 0.3);
}

/* テーブルスタイル */
.table-washing-guide {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  border: none;
}

.table-washing-guide thead {
  background: linear-gradient(135deg, var(--theme-color1) 0%, #3B82F6 100%);
}

.table-washing-guide thead th {
  color: #3690d9;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  padding: 18px 15px;
  border: none;
  vertical-align: middle;
}

.table-washing-guide tbody td {
  text-align: center;
  padding: 15px;
  font-size: 15px;
  color: #333;
  border: 1px solid #f0f0f0;
  vertical-align: middle;
  line-height: 1.6;
}

.table-washing-guide tbody tr {
  transition: background-color 0.3s ease;
}

.table-washing-guide tbody tr:hover {
  background-color: #f8feff;
}

.table-washing-guide tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.table-washing-guide tbody tr:nth-child(even):hover {
  background-color: #f0f8ff;
}

/* 新しいアイコンスタイル */

/* 洗濯可能アイコン */
.wash-ok {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6 0%, #0EB88C 100%);
  box-shadow: 0 3px 12px rgba(14, 184, 140, 0.3);
  position: relative;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.wash-ok::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 6px;
  border-left: 2.5px solid white;
  border-bottom: 2.5px solid white;
  transform: rotate(-45deg);
  top: 9px;
  left: 7px;
}

/* 洗濯不可アイコン */
.wash-ng {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E74C3C 0%, #FF6B6B 100%);
  box-shadow: 0 3px 12px rgba(231, 76, 60, 0.3);
  position: relative;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.wash-ng::before,
.wash-ng::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 2.5px;
  background: white;
  border-radius: 2px;
}

.wash-ng::before {
  transform: rotate(45deg);
}

.wash-ng::after {
  transform: rotate(-45deg);
}

/* 注意アイコン */
.wash-caution {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F39C12 0%, #FFAA33 100%);
  box-shadow: 0 3px 12px rgba(243, 156, 18, 0.3);
  position: relative;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.wash-caution::before {
  content: '!';
  color: white;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ホバーエフェクト */
.wash-ok:hover,
.wash-ng:hover,
.wash-caution:hover {
  transform: scale(1.1);
}

.wash-ok:hover {
  box-shadow: 0 4px 16px rgba(14, 184, 140, 0.4);
}

.wash-ng:hover {
  box-shadow: 0 4px 16px rgba(231, 76, 60, 0.4);
}

.wash-caution:hover {
  box-shadow: 0 4px 16px rgba(243, 156, 18, 0.4);
}

/* 注意書きスタイル */
.washing-notes {
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107;
  border-radius: 8px;
  padding: 20px;
  margin-top: 30px;
}

.washing-notes h6 {
  color: #856404;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.washing-notes h6 i {
  margin-right: 8px;
  font-size: 20px;
}

.washing-notes p {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.washing-notes p:last-child {
  margin-bottom: 0;
}

/* タブコンテンツ */
.tab-content {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* アニメーション効果 */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.table-washing-guide tbody tr:hover .wash-ok,
.table-washing-guide tbody tr:hover .wash-ng,
.table-washing-guide tbody tr:hover .wash-caution {
  animation: pulse 1s ease-in-out infinite;
}

/* レスポンシブ対応 */
@media (max-width: 991.98px) {
  .washing-guide-section {
    padding: 60px 0;
  }
  
  .washing-guide-section .sub-title {
    font-size: 28px;
  }
  
  .washing-guide-tabs .nav-link {
    padding: 10px 20px;
    font-size: 15px;
  }
}

@media (max-width: 767.98px) {
  .washing-guide-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .washing-guide-tabs .nav-item {
    margin: 0 3px 8px;
  }
  
  .washing-guide-tabs .nav-link {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .table-washing-guide {
    font-size: 14px;
  }
  
  .table-washing-guide thead th {
    font-size: 14px;
    padding: 12px 10px;
  }
  
  .table-washing-guide tbody td {
    font-size: 13px;
    padding: 10px 8px;
  }
  
  .wash-ok,
  .wash-ng,
  .wash-caution {
    width: 24px;
    height: 24px;
  }
  
  .wash-ok::before {
    width: 10px;
    height: 5px;
    top: 8px;
    left: 6px;
    border-left-width: 2px;
    border-bottom-width: 2px;
  }
  
  .wash-ng::before,
  .wash-ng::after {
    width: 12px;
    height: 2px;
  }
  
  .wash-caution::before {
    font-size: 14px;
  }
  
  .washing-notes {
    padding: 15px;
  }
  
  .washing-notes h6 {
    font-size: 14px;
  }
  
  .washing-notes p {
    font-size: 12px;
  }
}

@media (max-width: 575.98px) {
  .washing-guide-section {
    padding: 50px 0;
  }
  
  .washing-guide-section .sub-title {
    font-size: 24px;
  }
  
  .table-responsive {
    margin: 0 -15px;
  }
  
  .table-washing-guide {
    border-radius: 0;
  }
}

/* ダークモード対応（オプション） */
@media (prefers-color-scheme: dark) {
  .wash-ok {
    box-shadow: 0 3px 12px rgba(14, 184, 140, 0.5);
  }
  
  .wash-ng {
    box-shadow: 0 3px 12px rgba(231, 76, 60, 0.5);
  }
  
  .wash-caution {
    box-shadow: 0 3px 12px rgba(243, 156, 18, 0.5);
  }
}