/* styles.css */

/* 全体のスタイル */
body {
    background-color: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Noto Sans JP', sans-serif, 'Orbitron';
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    letter-spacing: 0.03em;
    font-size: 18px;
}

/* ヘッダー */
header {
    background: linear-gradient(90deg, #0f0f0f, #1a1a1a, #0f0f0f);
    color: #39ff14;
    padding: 25px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 15px #39ff14;
    border-bottom: 2px solid #39ff14;
}

h1 {
    margin: 0;
    font-size: 2em;
    text-shadow: 0 0 8px #39ff14;
}

/* メイン全体 */
main {
    background-color: #1b1b1b;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 255, 128, 0.15);
    margin: 40px 0 100px;
    padding: 10px;
    width: 85%;
    max-width: 900px;
}

/* 各セクション */
section {
    background-color: #111;
    border-radius: 10px;
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #00ffff55;
    box-shadow: 0 0 10px #00ffff33;
    transition: all 0.3s ease;
}

section:hover {
    box-shadow: 0 0 20px #00ffff88;
    transform: translateY(-3px);
}

/* 見出し */
h2 {
    font-size: 1.6em;
    color: #00ffff;
    text-shadow: 0 0 8px #00ffff;
    border-bottom: 2px solid #00ffff;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.2em;
    color: #ff00ff;
    text-shadow: 0 0 6px #ff00ff;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* テキスト */
p, ul, li {
    font-size: 1em;
    line-height: 1.6;
    color: #ddd;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

/* プロフィール画像 */
.introduction img.portrait {
    max-width: 160px;
    border-radius: 50%;
    display: block;
    margin: 20px auto;
    border: 2px solid #39ff14;
    box-shadow: 0 0 15px #39ff14;
}

.project-card {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* 縦中央 */
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #00ffff66;
    border-radius: 12px;
    padding: 1.2em 1.2em;
    width: 100%;
    box-shadow: 0 0 10px #00ffff33;
    margin: 0 auto;
    gap: 10px;
}

/* 左側（タイトルと説明） */
.project-info {
    text-align: left;
}

.project-info h3 {
    color: #ff66ff;
    text-shadow: 0 0 6px #ff66ff;
    margin: 0 0 0.4em;
}

.project-info p {
    margin: 0;
    line-height: 1.6;
    color: #ffffff;
}

/* 右側のボタン（光るデザイン維持） */
.project-card a {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #00ffff;
    border-radius: 8px;
    color: #00ffff;
    text-decoration: none;
    text-shadow: 0 0 6px #00ffff;
    box-shadow: 0 0 10px #00ffff88;
    transition: all 0.3s ease;
    background-color: transparent;
    white-space: nowrap;
    font-size: 1rem;
    font-weight: bold;
}

.project-card a:hover {
    background-color: #00ffff22;
    box-shadow: 0 0 20px #00ffff;
    color: #ffffff;
    transform: scale(1.05);
}

/* メールアドレスなどのリンク */
a {
    color: #39ff14;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #76ff03;
    text-shadow: 0 0 8px #76ff03;
}

/* フッター */
footer {
    background: #0f0f0f;
    color: #39ff14;
    padding: 1px;
    width: 100%;
    text-align: center;
    position: fixed;
    bottom: 0;
    box-shadow: 0 0 10px #39ff14;
    border-top: 2px solid #39ff14;
    text-shadow: 0 0 6px #39ff14;
}

/* スクロール時にコンテンツがフッターに隠れないように */
body::after {
    content: "";
    display: block;
    height: 10px;
}
