* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
}

/* 全体 */
body {
    background: #cfcfcf;
}

/* ヘッダー */
.header {
    background: #3f3f3f;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 12px 20px;
}

.logo {
    height: 80px;
    margin-right: 20px;
}

.header-nav a {
    color: #fff;
    text-decoration: none;
    margin-right: 18px;
    font-size: 14px;
}

.page-title{
    text-align: center;
    padding: 30px 0;
    font-size: 32px;
    color:#fff;
    background: #bdbdbd;
    letter-spacing: 4px;
}

.portfolio-card{
    width:900px;
    margin: 40px auto;
    background-color: #8c8c8c;
    border-radius: 40px;
    padding: 30px;
    color:#fff;
    position: relative;
}

.card-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* 切り替えスイッチ */
/* スイッチ全体 */
/* ===== 公開 / 非公開 トグル ===== */
.publish-toggle {
    display: inline-flex;
    border: 2px solid #000;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.toggle-btn {
    min-width: 80px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    background: #fff;
    color: #aaa;
    transition: background 0.2s, color 0.2s;
}

/* 公開（ON） */
.toggle-btn.public.active {
    background: linear-gradient(#2fa84f, #1f7a36);
    color: #fff;
}

/* 非公開（ON） */
.toggle-btn.private.active {
    background: #e53935;
    color: #fff;
}

/* hover */
.toggle-btn:not(.active):hover {
    background: #f2f2f2;
}




.card-inner{
    display: flex;
    gap:30px;
}
.left-area{
    text-align: center;
}

.thumb{
    width:220px;
    height: 220px;
    background: linear-gradient(#aaa,#888);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #222;
}

.edit-buttons{
    margin-top:10px;
}

.card-text h2{
    margin: 0 0 10px;
    font-size: 26px;
}

.catch{
    font-size: 20px;
    margin-bottom: 10px;
}

.desc{
    font-size: 16px;
    margin-bottom: 15px;
}

.meta{
    font-size:16px;
    line-height: 1.8;
}

.btn{
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 14px;
}

.btn-update{
    background: #00a2ff;
    color: #fff;
}

.btn-delete{
    background: #c0c0c0;
    color: #ff3b3b;
}
.btn-detail{
    background: #1e6f8f;
    color: #fff;
    position: absolute;
    bottom: 30px;
    right: 40px;
}
.bottom-action{
    display: flex;
    justify-content: flex-end;
    margin-right: 2rem;
}
.circle{
  display: flex;
  background: #fff; 
  margin-right: 10px; 
  margin-bottom: 2rem;
  border-radius: 50%;
  width: 50px;
  height: 50px;
}
