
/* === EDO BLACK & GOLD THEME === */
.mr-wrap {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
background-color: #121212; /* 漆黒 */
color: #f0f0f0; /* オフホワイト */
border: 2px solid #d4af37; /* 江戸ゴールド */
border-radius: 8px;
padding: 24px;
margin: 20px 0;
box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.mr-wrap h3, .mr-wrap h4, .mr-wrap h5 {
color: #d4af37 !important;
border-bottom: 1px solid #d4af37;
padding-bottom: 10px;
margin-top: 0;
margin-bottom: 20px;
font-weight: 700;
}

.mr-wrap label {
color: #e0e0e0;
font-weight: 600;
display: block;
margin-bottom: 5px;
}

.mr-wrap input[type="text"],
.mr-wrap input[type="email"],
.mr-wrap input[type="tel"],
.mr-wrap input[type="url"],
.mr-wrap input[type="number"],
.mr-wrap textarea,
.mr-wrap select {
width: 100%;
background-color: #222;
color: #fff;
border: 1px solid #555;
border-radius: 4px;
padding: 12px;
margin-bottom: 15px;
font-size: 16px;
box-sizing: border-box;
transition: border-color 0.3s, box-shadow 0.3s;
}

.mr-wrap input:focus,
.mr-wrap textarea:focus,
.mr-wrap select:focus {
outline: none;
border-color: #d4af37;
box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.mr-wrap fieldset {
border: 1px solid #444;
border-radius: 6px;
padding: 15px;
margin-bottom: 20px;
background: #1a1a1a;
}

.mr-wrap legend {
color: #d4af37;
font-weight: bold;
padding: 0 10px;
}

/* ボタン（金グラデーション） */
.mr-btn, .mr-wrap button {
background: linear-gradient(135deg, #d4af37 0%, #aa8c2c 100%);
color: #000;
border: none;
border-radius: 4px;
padding: 12px 30px;
font-size: 16px;
font-weight: 800;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s;
display: inline-block;
text-align: center;
text-decoration: none;
}

.mr-btn:hover, .mr-wrap button:hover {
background: linear-gradient(135deg, #eac548 0%, #c4a233 100%);
box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
transform: translateY(-2px);
}

.mr-btn:disabled {
background: #555;
color: #999;
cursor: not-allowed;
box-shadow: none;
}

/* メッセージ系 */
.mr-thanks-box {
background: #0f2b15; /* 暗い緑 */
border: 1px solid #16a34a;
border-left: 6px solid #16a34a;
color: #e2e8f0;
padding: 20px;
border-radius: 6px;
}
.mr-thanks-title {
color: #4ade80;
font-weight: bold;
font-size: 1.2em;
}

/* 検索結果・リスト */
#mr_result_list li {
border-bottom: 1px solid #333;
padding: 15px 0;
}
#mr_result_list a {
color: #64b5f6; /* 明るい青 */
text-decoration: none;
font-weight: bold;
}
#mr_result_list a:hover {
text-decoration: underline;
color: #90caf9;
}

/* 詳細表示（テーブル） */
#mr-variety-details.mr-wrap {
background-color: #121212 !important; /* 強制 */
border-color: #d4af37;
}
.mr-detail-table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
color: #e0e0e0;
}
.mr-detail-table th {
background: #1f1f1f;
color: #d4af37;
text-align: left;
border: 1px solid #444;
padding: 12px;
width: 30%;
}
.mr-detail-table td {
border: 1px solid #444;
padding: 12px;
background: #121212;
}

/* タグ（属性チップ） */
.mr-attr-chip {
display: inline-block;
border: 1px solid #d4af37;
color: #d4af37;
border-radius: 20px;
padding: 4px 10px;
margin: 0 5px 5px 0;
font-size: 0.85em;
background: rgba(212, 175, 55, 0.1);
}
.mr-attrs-label {
color: #aaa;
margin-right: 10px;
font-weight: bold;
}

/* スマホ対応 */
@media (max-width: 600px) {
.mr-detail-table th, .mr-detail-table td {
display: block;
width: 100%;
}
.mr-detail-table th {
border-bottom: none;
}
}


/* 上書きは auction ページ内だけに限定 */
.eap-auction .eap-hero-inner{position:relative;background:#000}
@supports (aspect-ratio: 16/9){
  .eap-auction .eap-hero-inner{padding-top:0;aspect-ratio:16/9}
  .eap-auction .eap-hero-inner iframe{height:100%}
}
/* 念のため iframe を常に全面フィット */
.eap-auction .eap-hero-inner iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}

