@charset "UTF-8";

/* ===== スポーツ大会メダルの仕様 ===== */

/* 仕様テーブルのtd枠線を消す */
.pc > table, .pc > table td, .pc > table tr,
.sp > table, .sp > table td, .sp > table tr {
  border: none !important;
  padding: 0 !important;
}

.spec-sheet {
  margin-top: 20px;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
}
.spec-row {
  display: flex;
  border-bottom: 1px solid #f1f5f9;
}
.spec-row:last-child {
  border-bottom: none;
}
.spec-label {
  width: 140px;
  min-width: 140px;
  background: #f1f5f9;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1e3a8a;
  font-weight: bold;
}
.spec-value {
  flex: 1;
  padding: 16px;
  line-height: 1.6;
}
.red-text {
  color: #e50011;
}
.sub-text {
  display: block;
  margin-top: 6px;
  font-size: 0.9em;
  color: #64748b;
}
.link-text {
  color: #3b5ca2;
  text-decoration: underline;
}

/* ===== スポーツ大会メダルの仕様（SP版） ===== */
.spec-sheet-sp {
  margin-top: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
}
.spec-item-sp {
  padding: 15px;
  border-bottom: 1px solid #f1f5f9;
}
.spec-item-sp:last-child {
  border-bottom: none;
}
.spec-title-sp {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1e3a8a;
  font-weight: bold;
  margin-bottom: 8px;
}
.spec-content-sp {
  font-size: 0.9em;
  line-height: 1.5;
}

/* ===== 材質比較セクション ===== */
.comparison-wrapper {
  position: relative;
  margin: 40px 0;
  background: #f8fafc;
  border-radius: 20px;
  padding: 30px;
  border: 1px solid #e2e8f0;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}
.comparison-header-main {
  text-align: center;
  margin-bottom: 30px;
}
.comparison-header-main h2 {
  font-size: 1.6em;
  color: #1e293b;
  border: none;
  padding: 0;
  margin: 0 0 2em !important;
}
.comparison-header-main p {
  color: #64748b;
  font-size: 1em;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 20px;
  align-items: stretch;
}
.material-panel {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}
.material-panel:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.panel-label {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px 5px;
  border-radius: 20px;
  font-size: 0.75em;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  z-index: 5;
  text-align: center;
  line-height: 1.3;
}
.panel-label small {
  display: block;
  font-size: 0.95em;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: none;
  opacity: 0.92;
}
.label-brass {
  background: linear-gradient(90deg, #b45309, #d97706);
}
.label-aluminum {
  background: linear-gradient(90deg, #475569, #64748b);
}
.panel-title {
  font-size: 1.3em;
  font-weight: 900;
  margin: 15px 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.title-brass { color: #1e3a8a; }
.title-aluminum { color: #334155; }
.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  flex-shrink: 0;
}
.icon-brass { background: #eff6ff; color: #1d4ed8; }
.icon-aluminum { background: #f1f5f9; color: #475569; }
.spec-group { margin-bottom: 20px; }
.spec-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.spec-item i {
  margin-top: 4px;
  color: #ec6c00;
  font-size: 0.9em;
  flex-shrink: 0;
}
.spec-text b {
  display: block;
  color: #1e293b;
  margin-bottom: 4px;
  font-size: 1em;
}
.spec-text span {
  color: #64748b;
  font-size: 0.9em;
  line-height: 1.6;
}
.usage-tag-container {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed #e2e8f0;
}
.usage-title {
  font-size: 0.82em;
  color: #94a3b8;
  font-weight: bold;
  margin-bottom: 8px;
  display: block;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  padding: 4px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.82em;
  color: #475569;
}
.tag-highlight {
  background: #fff7ed;
  border-color: #ffedd5;
  color: #ea580c;
}
.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.vs-divider::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 100%;
  background: #e2e8f0;
}
.vs-circle {
  width: 38px;
  height: 38px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #94a3b8;
  font-size: 0.8em;
  z-index: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
@media (max-width: 900px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .vs-divider {
    height: 36px;
    margin: 6px 0;
  }
  .vs-divider::before {
    width: 100%;
    height: 1px;
  }
  .comparison-wrapper {
    padding: 20px 15px;
  }
}

/* ===== メダル フェードスライドショー ===== */
.medal-fade-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 260px;
  margin: 0 auto 16px;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
}
.medal-fade-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  padding: 0;
  box-sizing: border-box;
}
.medal-fade-img.active {
  opacity: 1;
}
.medal-fade-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.medal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: background 0.3s;
}
.medal-dot.active {
  background: #3b5ca2;
}
/* ホバー時カーソルと一時停止インジケーター */
.medal-fade-box {
  cursor: pointer;
}
.medal-fade-box:hover::after {
  content: "⏸";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2em;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  pointer-events: none;
  z-index: 3;
}

/* ===== 仕上げ方法 行タイトル ===== */
.finish-section {
  margin-top: 10px;
}
.finish-row-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: bold;
  color: #fff;
  margin: 16px 0 8px;
}
.label-brass-row {
  background: linear-gradient(90deg, #b45309, #d97706);
}
.label-aluminum-row {
  background: linear-gradient(90deg, #475569, #64748b);
}
