/* contact.css - ページ固有のスタイルのみ */

/* コンテンツスタイル */
.section {
    display: flex;
    align-items: center;
    padding: 20px;
    text-align: left;
    margin: 20px auto;
    max-width: 800px;
    box-sizing: border-box;
}

.section {
    position: relative;
}

.section .contact-sphere {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
    cursor: pointer;
    /* index.htmlと同じ3D球体効果 */
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.3) 30%, 
        rgba(0, 0, 0, 0.2) 100%);
    box-shadow: 
        0 0 10px rgba(0, 0, 0, 0.3),
        inset -5px -5px 10px rgba(0, 0, 0, 0.2),
        inset 5px 5px 10px rgba(255, 255, 255, 0.3);
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section .contact-sphere:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 
        0 15px 25px rgba(0, 0, 0, 0.4),
        inset -5px -5px 10px rgba(0, 0, 0, 0.2),
        inset 5px 5px 10px rgba(255, 255, 255, 0.3);
}

.section img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    /* 画像にも軽い3D効果 */
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.3);
}

.section .sphere-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.6) 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(0, 0, 0, 0.1) 100%);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

.text-content {
    flex: 1;
}

.text-content a {
    text-decoration: underline;
    color: black;
}

.text-content a:visited {
    color: black;
}

/* メディアクエリ: 小さい画面用スタイル */
@media (max-width: 600px) {
    .section {
        flex-direction: column;
        align-items: flex-start;
    }
    .section img {
        margin-bottom: 10px;
        margin-right: 0;
    }
}

