@charset "UTF-8";

/* ==========================================================================
   全体の設定
   ========================================================================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 40px 20px;
    background-color: #f0f4f8; 
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}


h2 {
    font-size: 22px;
    font-weight: bold;
    color: #2c5282;
    margin-bottom: 28px;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 8px;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #4fd1c5, #63b3ed); 
    border-radius: 2px;
}


table {
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    position: relative;
}

/* ★アクセント：カード上部のグラデーションバー */
table::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #4fd1c5, #63b3ed, #b794f4);
    z-index: 10;
}

tbody {
    display: block;
    padding: 24px 24px 24px 16px;
}

tr {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-bottom: 1px dashed #e2e8f0;
}

tr:last-child {
    border-bottom: none;
}

/* ★アクセント：マウスを乗せた行の色を変える */
tr:hover th,
tr:hover td:not(.p_img) {
    background-color: #f7fafc;
    transition: background-color 0.2s ease;
}

th, td {
    padding: 16px 8px;
    text-align: left;
    font-size: 15px;
    vertical-align: middle;
}

th {
    width: 110px;
    color: #4a5568;
    font-weight: 600;
}

th::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #63b3ed;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    box-shadow: 0 0 6px rgba(99, 179, 237, 0.6);
}

td {
    color: #2d3748;
    font-weight: 500;
}

td.p_img {
    width: 150px;
    padding: 0 0 0 16px;
    text-align: center;
    border-left: 1px dashed #e2e8f0;
}

tr:first-child {
    display: table;
}
tr:first-child th,
tr:first-child td {
    display: table-cell;
}
tr:not(:first-child) {
    display: table;
    width: calc(100% - 150px);
    float: left;
}

/* プロフィール画像 */
td.p_img img {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #edf2f7;
    background-color: #fafafa;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* ★アクセント：アニメーションの準備 */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2); 
}

/* ★アクセント：画像にマウスを乗せたときの動き */
td.p_img:hover img {
    transform: scale(1.08) rotate(5deg);
    border-color: #63b3ed;
    box-shadow: 0 8px 20px rgba(99, 179, 237, 0.3);
}