html{
    font-family: 'Noto Sans JP', "游ゴシック体", "Yu Gothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
}
*{
    margin: 0;
    padding: 0;
}

hr{
    height: 0;
    border: 0;
    border-top: 1.5px solid #dddede;
}
#union{
    height:1em;
    width:1em;
    display: inherit;
    position: absolute;
    bottom: 3px;
    margin-left: 6px;
}
h1{
    font-size: 24px;
    margin: 24px 0 4px;
}
h2{
    font-size: 16px;
    margin: 16px 0 2px;
}
#d1_5{
    background:#f5f5f5;
    padding: 8px 36px;
    text-align: right;
}
#d3 ul li, .link{
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8; 
    letter-spacing: 0.1px;
}
#d3 ul li{
    line-height: 2; 
}
.name{
    font-size: 12px;
    color: #5E6467;
    font-weight: 500;
    text-align: right;
}
.cap{
    font-size: 12px;
    color: #5E6467;
    font-weight: 400;
    margin-bottom: 1.5px;
}
p{
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.4px;
}
.list li{
    font-size: 14px;
    letter-spacing: 0.4px;
    line-height: 1.7; 
    word-break: keep-all;
}
li a,.link a{
    color: #327BB7;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    position: relative;
}
ul{
    padding-left: 20px;
}
#d1,#d2,#d3,#d4,#d5,#d6{
    margin: 0 16px;
}
#d2,#d3,#d4,#d5{
    margin-bottom: 24px;
}

.parent{
    margin-top: 8px;
}
#d1 img{
    height: 60px;
    margin: 20px 0;
}
.card{
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    border: solid 1.5px #dddede;
    margin-bottom: 12px;
}
.card_img{
    height: 95px;
    overflow: hidden;
}
.card_img img{
    width: 100%;
    transform: translate(0, -25%);
}
.card_text{
    padding: 4px 8px 6px;
}

#d4 .parent{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;
}
#d4 .card{
    width: calc(50% - 8px);
    padding-bottom: 8px;
}
.card_avatar{
    width: 80px;
    margin: auto;
    padding: 12px 0 6px;
}
.avatar{
    width: 100%;
    margin: auto;
    border-radius: 80px;
}
#d4 p{
    text-align: center;
}
#d4 .name{
    font-size: 16px;
    color: #000;
}
#d4 .cap{
    margin: 1px 0 -3px;
}
#d4 .link a{
    font-size: 14px;
    margin: 0 6px 0;
}
#d4 #union{
    margin-left: 4px;
}

#d5 .name{
    text-align: left;
    margin-top: -4px;
}
.bio_img{
    height: 190px;
    border-radius: 8px;
    overflow: hidden;
    margin: 12px 0 12px;
}
#d5 img{
    width: 100%;
    transform: translate(0, -25%);
}
#d5 ul{
    list-style-type: "- ";
    padding-left: 10px;
}

#d6{
    text-align: center;
    padding: 20px 0;
}

@media screen and ( min-width:501px )
{
    body{
        max-width: 500px;
        margin: auto;
        background: white;
        box-shadow: 0 4px 15px rgba(0,0,0,.2)
    }
    html{
        background: #DDDDDD;
    }

    .card_img{
        height: 150px;
    }
    .bio_img{
        height: 240px;
    }

    #d4 .card{
        width: calc(33% - 8px);
    }
}