html {
    background-color: #f4f7f6;
    color: #1a3326;
    font-family: sans-serif;
}
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 20px;
}
header h1 {
    font-size: 35px;
}
main {
    display: flex;
    flex-direction: column;
    align-items: center; 
    padding: 20px;
}

.heading {
    border-bottom: #208B59 3px solid;
    font-size: 30px;
    margin-top: 60px;
    margin-bottom: 20px;
    display: inline-block;
}

.news {
    background-color: #fff;
    border-radius: 5px;
    padding: 5px 20px;
    border-left: #208B59 5px solid;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.news-text {
    color: #4A6355;
}

.sns-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.project {
    width: 100%;       
    max-width: 500px;  
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    scrollbar-width: none;
}
.project::-webkit-scrollbar {
    display: none;
}
.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    background-color: #ffffff;
    flex: 0 0 90%;
    scroll-snap-align: center;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.project-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.title {
    font-size: 25px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.tag {
    color: #4A6355;
    font-size: 14px;
    margin: 1px 5px;
    background-color: #eef2f0;
}
.explain {
    color: #4A6355;
    font-size: 15px;
    margin: 3px;
    line-height: 1.6;
    text-align: left;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
    list-style: none;
    padding: 0;
}
.skill-item {
    position: relative; 
    cursor: help;       
    display: flex;
    flex-direction: column;
    align-items: center;
}
.skill-item::after {
    content: attr(data-tooltip); 
    position: absolute;
    bottom: 110%;     
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a3326; 
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;         
    visibility: hidden;
    transition: 0.3s;  
    z-index: 10;
}
.skill-item:hover::after {
    opacity: 1;
    visibility: visible;
}

.skill-item i {
    font-size: 40px;
    color: #1a3326;
    margin-bottom: 8px;
}
.skill-item span {
    font-size: 12px;
    font-weight: bold;
    color: #4A6355;
}

.about {
    color: #4A6355;
    font-size: 17px;
}