body{

font-family:Arial, sans-serif;
background:#f5f5f5;
margin:0;
padding:0;

}

.container{

max-width:700px;
margin:auto;
padding:40px 20px;
text-align:center;

}

h1{

margin-bottom:10px;

}

.desc{

color:#555;
margin-bottom:20px;

}

.mode{

margin-bottom:15px;

}

.mode button{

margin:0 5px;

}

.input-area{

display:flex;
flex-direction:column;
align-items:center;

gap:10px;
justify-content:center;
flex-wrap:wrap;
margin-bottom:30px;

}

input[type="text"]{

padding:8px;
font-size:16px;
width:120px;

}

button{

padding:8px 14px;
font-size:14px;
cursor:pointer;

}

.palette{

display:flex;
height:120px;
margin-bottom:20px;

}

.colorBox{

flex:1;
display:flex;
align-items:flex-end;
justify-content:center;
color:white;
font-weight:bold;
cursor:pointer;

}

.colorLabel{

background:rgba(0,0,0,0.4);
width:100%;
padding:6px 0;

}

.copyBtn{

margin-bottom:30px;

}

.related a{

color:#0066cc;
text-decoration:none;

}

.related a:hover{

text-decoration:underline;

}

.copied{

position:fixed;
bottom:20px;
left:50%;
transform:translateX(-50%);

background:#333;
color:white;

padding:8px 14px;
border-radius:6px;

font-size:14px;

opacity:0;
transition:opacity 0.3s;

}

.copied.show{

opacity:1;

}

.ct-picker-label{
font-size:12px;
color:#666;
text-align:center;
margin-top:4px;
}

#colorPicker{
cursor:pointer;
}

/* 入力エリア */

.color-input{

display:flex;
align-items:center;
gap:10px;

}

/* カラーピッカー */

.picker-wrap{

display:flex;
flex-direction:column;
align-items:center;

}

/* Generateボタン */

.generate-area{

margin-top:6px;

}

/* ランダムボタン */

.random-area{

display:flex;
gap:10px;

}

/* ボタンデザイン */

button{

padding:10px 16px;
font-size:14px;

border:1px solid #ccc;
border-radius:6px;

background:#f8f8f8;
color:#333;

cursor:pointer;

transition:0.2s;

}

button:hover{

background:#eeeeee;

}

/* Generateだけ少し強調 */

#generateBtn{

background:#e9ecef;
border:1px solid #bbb;

}

#generateBtn:hover{

background:#dde2e6;

}

/* カラーピッカー */

#colorPicker{

cursor:pointer;

}