/* ヒーローエリア */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

/* ヒーローエリアの中身 */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out both;
}

/* タイトルとサブタイトル */
.site-title {
    font-size: 3.5rem;
    margin: 0.5em 0 0.2em;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 0 4px 10px #00000033;
}

.site-subtitle {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.85;
}

/* ナビゲーション */
.nav-shortcut {
    margin-top: 2rem;
}

.nav-shortcut ul {
    display: flex;
}

.nav-shortcut ul li a {
    display: inline-block;
    margin: 0 1.2rem;
    padding: 0.5rem 0;
    color: white;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.nav-shortcut ul li a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    left: 0;
    bottom: -4px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-shortcut ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* フェードインアニメーション */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 各セクションを全画面にする */
section {
    height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.profile {
    background-color: #fefefe;
}

.achievements {
    background-color: #dcdcff;
}

.skill {
    background-color: #f7faff;
}

/* セクションのタイトル */
section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #9b9b9b;
    padding-bottom: 0.5rem;
}

/* プロフィール画像 */
.profile-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px #0000001a;
}

.profile-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.margin-left {
    margin-left: 1em;
}

.site-block {
    margin: 1.5rem 0;
    text-align: center;
}

.site-block a {
    display: inline-block;
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.site-block a:hover {
    transform: scale(1.05);
}

.site-block img {
    margin-top: 0.5rem;
}

/* スキル一覧 */
.skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.skill-box {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    transition: transform 0.2s ease;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

.skill-box i {
    font-size: 2.5rem;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.skill-rating {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stars {
    font-size: 1.2rem;
    color: #facc15;
    letter-spacing: 2px;
}

.skill-level {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.2rem;
}

/* お問い合わせフォーム */
.contact {
    padding: 60px 20px;
    background: linear-gradient(to right, #e0eafc, #cfdef3);
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #333;
}

.section-description {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #666;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.form-group {
    width: 100%;
    text-align: left;
}

.form-group.half {
    width: 48%;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
    box-sizing: border-box;
    background: #fff;
}

.submit-button {
    width: 100%;
    background: #0078d4;
    color: #fff;
    font-size: 1.1rem;
    padding: 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #005ea6;
}