/* =======================================
Component: Button
======================================= */
.c-button {
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: 600;
text-align: center;
text-decoration: none;
border: none;
border-radius: 4px;
cursor: pointer;
background-color: #3b82f6;
color: #fff;
transition: background-color 0.2s ease;
line-height: 1.25;
vertical-align: middle;
height:none;
}
/* サイズバリエーション: */
.c-button--sm {
font-size: 13px;
padding: 8px 16px;
}
.c-button--md {
font-size: 15px;
padding: 12px 24px;
}
.c-button--lg {
font-size: 18px;
padding: 16px 32px;
}
.c-button:hover {
background-color: #2563eb;
}
/* =======================================
Layout: Button Wrap
======================================= */
.l-button-wrap {
display: flex;
flex-wrap: wrap;
justify-content: center; /* ←必要に応じてcenterやendに変更可 */
align-items: center;
gap: 16px;
margin: 20px 0;
}
.l-button-wrap--center {
justify-content: center;
}
.l-button-wrap--start {
justify-content: flex-start;
}
.l-button-wrap--end {
justify-content: flex-end;
}
.l-button-wrap--column {
flex-direction: column;
}目次
コメント