body {
    font-family: "Noto Sans JP", sans-serif;
    background: #fafafa;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3 {
    font-family: "M PLUS Rounded 1c", sans-serif;
}

/* -------------------------
   中央寄せコンテナ
------------------------- */
.profile,
.plans,
.portfolio,
.points {
    max-width: 900px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* プロフィール全体を横並びに */
.profile {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 20px 30px;
    text-align: left;
}

/* 左ブロック（アイコン + Twitter） */
.profile-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* アイコン */
.icon {
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.icon img {
    border-radius: 50%;
}

/* 右ブロック（名前 + 表） */
.profile-right h1 {
    margin: 0 0 15px;
    font-size: 30px;
    padding-top: 50px;
}

/* 表レイアウト */
.profile-table {
    border-collapse: collapse;
}

.profile-table th {
    text-align: left;
    padding: 4px 15px 4px 0;
    font-weight: normal;
}

.profile-table td {
    padding: 8px 0;
}

.twitter {
    margin-top: 6px;
    font-size: 16px;
}

/* プラン */
.plans {
    padding-top: 20px;
}

.plans h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.plan-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.plan-item h3 {
    margin: 0;
    font-size: 18px;
}

.plan-item p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #555;
}

.price {
    font-size: 18px;
    font-weight: bold;
    text-align: right;
}

/* ポートフォリオ */
.portfolio {
    padding-top: 25px;
    padding-bottom: 50px;
}

.portfolio h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.item {
    height: 162px;
    width: 288px;
    /*border: 1px solid #333;*/
    display: flex;
    align-items: center;
    justify-content: center;
    background: lightgray;
    font-size: 30px;
    color: white;
    font-weight: bold;
}

h2 {
    padding-bottom: 5px;
    border-bottom: 2px solid #777;
}
