/* Home.css */

* {
    box-sizing: border-box;
}


nav {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 70px;

    background-color: rgb(14, 57, 200);

    display: flex;
    align-items: center;

    z-index: 1000;
}

ul {
    display: flex;
}

li {
    padding-right: 30px;
    list-style: none;
}

.menu_link {
    color: white;
}


body {
    margin: 0;
    min-height: 100vh;
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    color: #1f2a44;
    background-color: cornflowerblue;
    line-height: 1.6;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 20px;
    padding-top: 90px;
    box-sizing: border-box;
}

bio {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 920px;
    margin: 18px auto;
    padding: 24px 28px;
    background: aliceblue;
    border: 1px solid rgba(0, 0, 255, 0.454);
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(30, 58, 90, 0.07);
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;           /* アイコン同士の間隔 */
    margin-top: 30px;
}

.social-links a {
    display: inline-block;
    padding: 0;
}

.social-links a::after {
    content: none;       /* 矢印を消す */
}

.youtube {
    width: 190px;
    height: 190px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.x {
    width: 128px;
    height: 128px;
    object-fit: contain;
    transition: transform 0.2s ease;
    padding-left: 32px;
}

.social-links img:hover {
    transform: scale(1.1);
}


body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: -1;
}

h1,
h2,
table {
    width: min(900px, 100%);
    margin-left: auto;
    margin-right: auto;
}

h1 {
    margin-top: 0;
    margin-bottom: 28px;
    padding: 28px 20px;
    text-align: center;
    font-size: clamp(2rem, 6vw, 3.4rem);
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.08em;
}

h2 {
    margin-top: 18px;
    margin-bottom: 14px;
    padding: 14px 18px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(31, 42, 68, 0.18);
    font-size: clamp(1.2rem, 3vw, 1.7rem);
}

table {
    font-size: 20px;
    border-collapse: collapse;
    overflow: hidden;
    margin-bottom: 28px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(31, 42, 68, 0.18);
}

th,
td {
    padding: 14px 18px;
    text-align: center;
    border-bottom: 1px solid rgba(100, 149, 237, 0.25);
}

thead th {
    color: #ffffff;
    background-color: #4169c9;
    font-weight: 700;
}

tbody th {
    background-color: rgba(100, 149, 237, 0.18);
}

tbody tr:last-child th,
tbody tr:last-child td {
    border-bottom: none;
}

a {
    color: #2448a8;
    text-decoration: none;
    display: block;
    position: relative;
    padding-right: 28px;
}

a::after {
    content: "›";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4em;
    transition: transform 0.2s ease;
}

a:hover,
a:focus {
    color: #e1892b;
    text-decoration: underline;
}

a:hover::after,
a:focus::after {
    transform: translate(4px, -50%);
}

@media (max-width: 640px) {
    body {
        padding: 20px 12px;
    }

    h1 {
        padding: 20px 10px;
        margin-bottom: 18px;
        letter-spacing: 0.04em;
    }

    h2 {
        padding: 12px 14px;
        border-radius: 14px;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 14px;
    }

    th,
    td {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
}


