body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #ff7e5f, #8be9fd);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #333;
}

.contact-section {
    text-align: center;
}

.contact-section h1 {
    font-size: 5em;
    font-weight: bold;
    letter-spacing: 2px;
    color: #333;
    margin-bottom: 20px;
    text-shadow: 5px 5px 5px rgba(216, 216, 216, 0.3);
    font-style: italic;
    position: relative; /* 相対位置指定 */
    top: -60px; /* タイトルだけ上に移動 */
}

.icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.icons a {
    position: relative;
    text-decoration: none;
}

.icons a img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s;
}

.icons a img:hover {
    transform: scale(1.2);
}

/* ツールチップの基本設定 */
.icons a::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -35px; /* ツールチップの位置調整 */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 205, 0.9); /* 薄い黄色 */
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    font-size: 0.9em;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* hover時の表示 */
.icons a:hover::after {
    opacity: 1;
}