@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800;900&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
    --atsugi-blue: #0077ff;
    --atsugi-cyan: #00c8ff;
    --atsugi-green: #22c55e;
    --atsugi-orange: #ff8a00;
    --atsugi-pink: #ff4d8d;
    --atsugi-dark: #0f172a;
    --atsugi-text: #1f2937;
    --atsugi-muted: #64748b;
    --atsugi-card: rgba(255, 255, 255, 0.92);
}

/* ===============================
   ページ全体
   =============================== */

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', system-ui, sans-serif;
    color: var(--atsugi-text);
    background:
        radial-gradient(circle at 15% 12%, rgba(0, 119, 255, 0.18), transparent 28%),
        radial-gradient(circle at 85% 18%, rgba(255, 138, 0, 0.16), transparent 30%),
        radial-gradient(circle at 70% 85%, rgba(34, 197, 94, 0.16), transparent 32%),
        linear-gradient(135deg, #f8fbff 0%, #edf8ff 45%, #fff8ec 100%);
    background-attachment: fixed;
    letter-spacing: 0.04em;
}

/* 背景のふわふわ装飾 */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(circle, rgba(0, 119, 255, 0.10) 0 46px, transparent 47px),
        radial-gradient(circle, rgba(255, 77, 141, 0.10) 0 34px, transparent 35px),
        radial-gradient(circle, rgba(34, 197, 94, 0.10) 0 42px, transparent 43px);
    background-position:
        8% 18%,
        90% 12%,
        78% 88%;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* ===============================
   見出し
   =============================== */

h2 {
    text-align: center;
    margin-top: 64px;
    margin-bottom: 36px;
    font-size: clamp(2.2rem, 6vw, 4.4rem);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: transparent;
    background: linear-gradient(90deg, var(--atsugi-blue), var(--atsugi-green), var(--atsugi-orange));
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 10px 22px rgba(0, 119, 255, 0.22));
}

h2::after {
    content: "";
    display: block;
    width: 140px;
    height: 8px;
    margin: 22px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--atsugi-blue), var(--atsugi-green), var(--atsugi-orange));
    box-shadow: 0 10px 24px rgba(0, 119, 255, 0.28);
}

/* ===============================
   プロフィール表
   =============================== */

table {
    margin: 0 auto 80px;
    border-collapse: separate;
    border-spacing: 0;
    width: min(820px, calc(100% - 32px));
    background: var(--atsugi-card);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 30px;
    overflow: hidden;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.16),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: profileFadeUp 0.75s ease both;
}

@keyframes profileFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

th {
    width: 230px;
    padding: 20px 24px;
    background:
        linear-gradient(135deg, rgba(0, 119, 255, 0.95), rgba(34, 197, 94, 0.92));
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    text-align: right;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.24);
}

td {
    padding: 20px 28px;
    color: var(--atsugi-text);
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.56);
}

tr {
    transition: transform 0.25s ease, background 0.25s ease;
}

tr:hover td {
    background: rgba(239, 248, 255, 0.92);
}

tr:last-child th,
tr:last-child td {
    border-bottom: none;
}

/* ===============================
   プロフィール画像
   =============================== */

.p_img {
    width: 250px;
    text-align: center;
    vertical-align: middle;
    background:
        radial-gradient(circle at center, rgba(0, 119, 255, 0.16), transparent 56%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.80), rgba(236, 248, 255, 0.88));
}

.p_img img {
    width: 176px;
    height: 176px;
    object-fit: contain;
    padding: 18px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow:
        0 0 0 8px rgba(0, 119, 255, 0.08),
        0 0 0 16px rgba(34, 197, 94, 0.08),
        0 18px 40px rgba(15, 23, 42, 0.22);
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.p_img img:hover {
    transform: translateY(-6px) scale(1.05) rotate(-2deg);
    box-shadow:
        0 0 0 8px rgba(0, 119, 255, 0.12),
        0 0 0 18px rgba(255, 138, 0, 0.14),
        0 26px 56px rgba(15, 23, 42, 0.28);
    filter: saturate(1.12) contrast(1.04);
}

/* ===============================
   スマホ対応
   =============================== */

@media (max-width: 760px) {
    h2 {
        margin-top: 42px;
        margin-bottom: 28px;
        font-size: 2.4rem;
    }

    table,
    tbody,
    tr,
    th,
    td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    table {
        width: calc(100% - 24px);
        border-radius: 24px;
    }

    th {
        text-align: left;
        padding: 16px 22px;
        border-bottom: none;
    }

    td {
        padding: 16px 22px 22px;
    }

    .p_img {
        width: 100%;
        padding: 32px 0;
    }

    .p_img img {
        width: 150px;
        height: 150px;
    }
}

/* ===============================
   動きが苦手な環境向け
   =============================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}