*{
    box-sizing: border-box;
    max-width:1400px;
    width:100%;
    margin:auto;
}


header{
    padding-top:10px;
}
.logo{
    width: 120px; 
    float:left;
    padding-left:10px;
}
.texts{
    float:left;
    width:90%;
    border-bottom: 1px solid black;
    padding-top:30px;
    padding-left:10px;
    padding-right:10px;
}
.text{
    width:30%;
    float:left;
    text-align: center;
    background-color:rgba(0, 0, 0, 0);
    
}


.text a{
    display:block;
    text-decoration: none;
    color:black;
    font-size: 18px;
    height:80px;
    padding:30px 0px;
    transition: background-color 0.5s;
}

.text a:hover{
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.text a:active{
    background-color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.clear{
    clear:left;
}



.contents{
    float:left;
    margin-top:100px;
    text-align: center;
    width: 100%;
}
.contents h1{
    color:rgb(55, 55, 55);
    font-weight: normal;
    font-size:40px;
    margin-bottom:50px;
}



.ab{
    display: block;
    font-size:14px;
    font-weight:normal;
    letter-spacing: 0.12em;
    width:70%;
    margin-bottom:40px;
    color: rgb(55, 55, 55);
}




.career {
    margin-top: 80px;
    padding: 0;
    font-size: 14px;
    line-height: 1.8;
    width: 70%; /* 幅を狭めて中央寄りに */
    margin-left: auto;
    margin-right: auto;
    color: rgb(55, 55, 55); /* 全体の文字色を他と統一 */
}

.career h2 {
    font-size: 40px; /* About me と同じサイズ */
    font-weight: normal; /* 太さを About me と統一 */
    color: rgb(55, 55, 55); /* 色を統一 */
    margin-bottom: 50px; /* 適度なスペース */
    text-align: center; /* 中央揃え */
}


.career ul {
    list-style-type: none; /* 箇条書きの点を削除 */
    padding-left: 0;
}

.career li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.8;
    text-align: left; /* 左揃え */
    padding-left: 15px; /* 内側に少しスペースを追加 */
}

.career li strong {
    color: rgb(55, 55, 55); /* 日付の色も他と統一 */
    font-weight: bold; /* 太字で日付を強調 */
}








.b1 a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color:rgb(55, 55, 55);
    letter-spacing: 0.12em;
    margin-top:40px;
    margin-bottom:30px;
    font-weight:bold;
    padding-left:10px;
    width:180px;
}



.b1 ::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1.5px;
    background: #000000;
    bottom: -1px;
    transform: scale(0, 1);
    transform-origin: right top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
    transition: transform 0.3s;  /*変形の時間*/
    }
    
    .b1 :hover::after {
    transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
    transform-origin: left top; /*左から右に向かう*/
    }
    
    .b2 a {
        position: relative;
        display: inline-block;
        text-decoration: none;
        color:rgb(55, 55, 55);
        letter-spacing: 0.12em;
        margin-bottom:120px;
        margin-top:50px;
        font-weight:bold;
        padding-left:10px;
        width:140px;
        font-size:18px;
    }
    
    
    
    .b2 ::after {
        position: absolute;
        left: 0;
        content: '';
        width: 100%;
        height: 1.5px;
        background: #000000;
        bottom: -1px;
        transform: scale(0, 1);
        transform-origin: right top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
        transition: transform 0.3s;  /*変形の時間*/
        }
        
        .b2 :hover::after {
        transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
        transform-origin: left top; /*左から右に向かう*/
        }


        footer {
            padding: 20px 0; /* 上下の余白 */
            text-align: center; /* 全体を中央揃え */
        }
        
        footer .social-icons {
            display: flex; /* フレックスボックスを使用 */
            justify-content: center; /* アイコンを中央揃え */
            align-items: center; /* アイコンを垂直方向に中央揃え */
            max-width: 200px; /* アイコン全体を中央寄せする幅制限 */
            margin: 0 auto; /* 全体を中央揃え */
            gap: 10px; /* 各アイコン間の間隔 */
        }
        
        footer .social-icons a {
            display: inline-block;
            text-align: center;
        }
        
        footer .social-icons img {
            width: 20px; /* アイコンサイズを調整 */
            height: 20px;
            transition: transform 0.3s ease; /* ホバー時のアニメーション */
        }
        
        footer .social-icons a:hover img {
            transform: scale(1.3); /* ホバー時に拡大 */
        }