:root{
    --color-black-blue: rgb(28, 28, 86);
}


html{
    width: 100%;
	height: 100%;
	touch-action: manipulation;/*ダブルタップでの拡大無効*/
}

body {
    width: 100%;
    margin: 0;
    font-family: -apple-system;
    overflow-y: scroll;
}

/*body *{outline:1px solid blue;}*/

/*===================================================================================================
## 上部要素
===================================================================================================*/


/*===================================================================================================
## コンテナ
===================================================================================================*/
#container_all{
    
    background: linear-gradient(135deg,#ffffff 0%,#f7fff9 40%,#eefcf2 100%);
    width: 100%;
    position:relative;
    padding-bottom: 20px;
}



/*===================================================================================================
## めぇ紹介コンテンツ
===================================================================================================*/
/* 全体 */
#introduction_container {
    width: 100%;
    position:relative;
    min-width: 0;/* 中身のサイズに引っ張れないようにする */
    margin: auto;
    display: flex;
}

/* メイン */
#indroduction{
    flex: 5;
    aspect-ratio: 1/1;/*この要素の高さで container 全体の高さを引っ張る*/
    background-image: url("./../image/background.PNG");
    background-size: cover;
    background-repeat: no-repeat;
}


/*サブ項目*/
#introduction_sub{
    flex: 2;
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
}


.introduction_sub_section_title{
    position: relative;
    width:92%;
    margin:0 auto;
    text-align: center;

    font-size: 35px;
    font-family: "kokoro";
    letter-spacing: 2px;
    font-weight: 300;

    color: var(--color-black-blue);
}

/*===================================================================================================
## プロフィール
===================================================================================================*/
#profile_item_list{
    position: relative;

    display: grid;
    grid-template-columns: repeat(1, 1fr);

    column-gap: 30px;
    row-gap: 10px;
    padding: 20px;
    margin-bottom: 12px;
}

#profile_item_list .profile_item{
    position: relative;
    width:94%;
    height: 30px;
    margin: 0 auto;
    margin-top: 2px;
    margin-bottom: 5px;

    border-bottom: 1px solid black;
    box-sizing: border-box;
    padding-left: 4px;
    font-size: 18px;
    letter-spacing: 0.5px;
    font-weight: 320;
    color: var(--color-black-blue);

    display: flex;
    flex-direction: column;
    justify-content: center;
}

/*===================================================================================================
## リンクなどの項目リスト
===================================================================================================*/
#link_item_list{
    position: relative;

    display: grid;
    grid-template-columns: repeat(1, 1fr);

    column-gap: 30px;
    row-gap: 10px;
    padding: 20px;
}

#link_item_list .link_item{
    background-color: white;
    position: relative;
    width:90%;
    height: 50px;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;

    border: 1px solid black;
    border-radius: 15px;
    box-sizing: border-box;
    
    display: flex;
    cursor: pointer;

    overflow: hidden;
}

#link_item_list .link_item:hover{
    transform: translateX(15px);
}

#link_item_list .link_item .img{
    position: relative;
    height:100%;
}

#link_item_list .link_item .text_area{
    flex: auto;
    font-size: 22px;
    letter-spacing: 0.5px;
    font-weight: 320;
    color: var(--color-black-blue);

    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* スマホ用 */
/* PC 版の最小値が、フレックス比率の倍数の方が計算しやすい */
@media (max-width: 902px) {
    body{
        zoom:0.8;
    }
    .introduction_sub_section_title{
        font-size: 28px;
    }

    #introduction_container {
        display: block;
    }

    #indroduction {
        order: 1;
        flex: none;
        width:100%;
    }

    #introduction_sub {
        order: 2;
        flex: none;
        width:100%;
        height: fit-content;
        position: relative;
    }

    #profile_item_list{
        grid-template-columns: repeat(2, 1fr);
        column-gap: 11px;
        row-gap: 9px;
        padding: 6px;
    }

    #link_item_list{
        grid-template-columns: repeat(3, 1fr);
        column-gap: 11px;
        row-gap: 9px;
        padding: 6px;
    }

    #link_item_list .link_item{
        height:40px;
    }

    #link_item_list .link_item .text_area{
        font-size: 16px;
        letter-spacing: 1px;
        font-weight: 320;
    }
}


/*===================================================================================================
## フッター
===================================================================================================*/
#footer{
    position: relative;
    
    bottom:0px;
    width:100%;
    height: 144px;
    background-color: rgb(223, 223, 223);
    align-items: center;
    padding-top: 8px;
    
    z-index: 100;
}

#footer #policy{
    padding-top: 6px;
    text-align: center;
    font-size: 15px;
}

#footer #copyright{
    padding-top: 6px;
    width:80%;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
}

#footer #contact{
    padding-top: 6px;
    text-align: center;
    font-size: 15px;
}



