body {
    background: url("img/bg.png") repeat;
    color: #333;
    font-family: "Michroma", "M PLUS 1 Code", monospace;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.window-frame {
    border: 2px solid #c0d4e9;
    background: linear-gradient(to bottom, #f0f4f9, #e2e8f0);
    border-radius: 8px;
    width: 90%;
    max-width: 960px;
    margin: 2em auto;
    box-shadow: inset 0 0 6px #aac8e6, 0 0 6px #aac8e6;
}

.title-bar {
    background: linear-gradient(to right, #e8f0f9, #d6e3f1);
    color: #4e61a5;
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 13px;
    border-radius: 8px 8px 0 0;
    box-shadow: inset 0 -1px 0 #c6d6ea;
    border-bottom: 1px solid #b0c8df;
}

.sidebar {
    float: left;
    width: 160px;
    background: linear-gradient(to bottom, #e8f1fb, #d6e4f3);
    height: 100%;
    padding: 1em;
    box-sizing: border-box;
    border-right: 2px solid #b0d4f1;
    border-radius: 0 12px 12px 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li a {
    text-decoration: none;
    color: #4e61a5;
    display: block;
    padding: 4px 0;
    font-size: 13px;
}

.main {
    margin-left: 180px;
    padding: 1em;
    background: linear-gradient(to bottom, #ffffff, #eef4fa);
    border-radius: 0 0 12px 12px;
    box-shadow: inset 0 1px 0 #ccf2ff;
}

h2 {
    font-size: 16px;
    color: #4e61a5;
    border-bottom: 1px dashed #8dbfe7;
    padding-bottom: 2px;
    margin-top: 1.5em;
}

a {
    color: #3359aa;
    text-decoration: underline dotted;
}

/* 英文のみのスタイル */
.en-text {
    color: #778899;
    font-size: 13px;
    display: block;
    margin-top: 4px;
    font-family: 'WDXL Lubrifont JP N', monospace;
}

.glassy-button {
    position: relative;
    display: inline-block;
    padding: 9px 12px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(to top, #c0e6ff 0%, #2a72d8 100%);
    border: 2px solid #0074cc;
    border-radius: 30px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.6),
        0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

.glassy-button::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 10%;
    width: 80%;
    height: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    pointer-events: none;
}

.profile-card {
    display: flex;
    justify-content: center;
    margin: 2em 0;
}

.profile-glass {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 1.5em;
    box-shadow: 0 2px 6px rgba(120, 160, 200, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* ▼ アイコン周り */
.profile-avatar-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin-right: 1.5em;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(67, 129, 187, 0.3);

}

/* ▼ 上部のハイライト */
.profile-avatar-highlight {
    content: "";
    position: absolute;
    top: 3px;
    left: 30px;
    width: 30%;
    height: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    filter: blur(1px);
    z-index: 2;
}

/* ▼ テキストとボタン */
.profile-info .name {
    font-size: 16px;
    margin: 0 0 0.3em;
    color: #536ca2;
}

.profile-info .desc {
    font-size: 13px;
    color: #6677aa;
    margin: 0 0 0.8em;
}

/* 中央寄せリンク用 */
.profile-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0.5em;
}

.mini-link {
    display: inline-block;
    padding: 4px 10px;
    font-size: 10px;
    border-radius: 10px;
    background: linear-gradient(to bottom, #e6f7ff, #b8bfd4);
    color: #424d69;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(100, 150, 200, 0.3), inset 0 1px 0 #ffffff;
    transition: 0.2s;
}

.mini-link:hover {
    background: linear-gradient(to bottom, #d0efff, #a5bbff);
    box-shadow: 0 2px 5px rgba(80, 140, 180, 0.5), inset 0 1px 0 #ffffff;
}

.glassy-slider {
    margin: 2em auto;
    width: 80%;
    max-width: 400px;
    /* 正方形にしやすく */
    aspect-ratio: 1 / 1;
    /* CSSで正方形を維持 */
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(150, 200, 255, 0.2), inset 0 0 8px rgba(180, 220, 255, 0.3);
    position: relative;
}

.glassy-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画像を切り取ってでも埋める */
    display: block;
}

.slider-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
    gap: 3px;
}

.btn-skinny {
    background: linear-gradient(to bottom, #dff6ff, #9ba6b6);
    border: 1px solid #8a98a6;
    color: #727792;
    padding: 4px 11px;
    font-size: 12x;
    border-radius: 3px;
    box-shadow: inset 0 1px 1px white, 0 1px 2px rgba(100, 150, 200, 0.4);
    font-family: "M PLUS 1 Code", sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-skinny:hover {
    background: linear-gradient(to top, #c6eeff, #504c74);
    box-shadow: inset 0 1px 1px white, 0 2px 4px rgba(80, 130, 180, 0.5);
}

.work-history {
    background: rgba(225, 235, 245, 0.35);
    /* くすみ感のある青グレー */
    border: 1px solid #a0bdd0;
    border-radius: 12px;
    box-shadow: inset 0 2px 6px rgba(160, 190, 220, 0.5), 0 0 4px rgba(120, 160, 200, 0.3);
    padding: 1em;
    margin: 2em auto;
    max-width: 620px;
    font-family: "M PLUS 1 Code", sans-serif;
    color: #2c3e50;
}

.work-history h3 {
    font-size: 16px;
    color: #446;
    margin-bottom: 1em;
    border-bottom: 1px dashed #a8c4d9;
    padding-bottom: 6px;
}

.year-block {
    margin-bottom: 1.2em;
}

.year-block h4 {
    font-size: 15px;
    color: #54738d;
    margin-bottom: 0.4em;
    font-weight: bold;
    border-left: 4px solid #aac4d5;
}

.year-block ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1em;
}

.year-block li {
    font-size: 14px;
    color: #333;
    padding: 4px 0;
    border-bottom: 1px dotted rgba(120, 150, 170, 0.2);
}