@media screen and (min-width: 768px){
main {
    width: 90%;
    margin: 0 auto;
}

hr {
    color: rgb(0, 50, 100);
}

/*-------body-------*/
.company {
    margin-bottom: 50px;
    margin-left: 50px;
}
.profile {
    margin-bottom: 50px;
    margin-left: 50px;
}
.profile .image{
    display: flex;
    width: 500px;
    height: auto;
    justify-content: space-between;
    align-content:first baseline;
    align-items: flex-start;
    margin-left: 70px;
}
.profile .image .intro{
    margin-left: 50px;
}
.profile .image img{
    width: 250px;
    height: auto;
}
.profile .image .name0{
    display: flex;
    width: 200px;
    height: auto;
    justify-content: space-between;
    align-content:first baseline;
    align-items: flex-start;
    margin-left: 0px;
    margin-bottom: 20px
}
.profile .image .name0 .name-box{
    display: block;
    height: 70px;
    padding: 0;
}

.profile .image .kana{
    left: 0px;
    padding-left: 0px;
    margin-top: 0px;
    font-size: 18px;
    margin-bottom: 0px;
}
.profile .image .name{
    margin-top: -10px;
    font-size: 40px;
    font-weight: 700;
}
.profile .image .comment{
    margin-top: 50px;
    margin-left: 50px;
    display: block;
    width: 500px;
    text-align: left;

}





.career{
    height: 500px;
    margin-bottom: 50px;
}
.career h3{
    text-align: center;
}
.career ul{
    margin-left: 50px;
}
.career .career1{
    margin-bottom: 20px;
}
.career .career1 .role{
    font-weight: bold;
}

.career .career1 .results {
    margin-left: 0px;
}

.service{
    height: auto;
    margin-left: 50px;
    padding-bottom: 30px;
}

}




@media screen and (max-width: 767px) {

main {
    width: 100%;
    margin: 0 auto;
}

hr {
    max-width: 90%;
    color: rgb(0, 50, 100);
}

/*-------body-------*/
h1, h2{
    text-align: center;
}

.company {
    margin-bottom: 50px;
}
.company ul{
    display: block;
    padding: 0;
    margin: 0 auto;
    list-style: none;
    width: auto;
    max-width: 90%;
}
.company ul li{
    margin: 0 auto;
    text-align: left;
    justify-content: center;   /* テキストを中央に配置（横方向） */
    align-items: center;       /* テキストを中央に配置（縦方向） */  
    padding: 5px 0;           /* 上下に余白をつける */
    max-width: 90%;               /* 親要素に合わせて幅を広げる */        
    box-sizing: border-box;
    font-size: 14px;
}
.profile {
    margin-bottom: 50px;
}
.profile .image{
    width: 100%;
    height: auto;
    align-content: center;
    align-items: center;
    margin:0 auto;
}
.profile .image .intro{
    width: 100%;
}
.profile .image img{
    display: block;
    width: 250px;
    height: auto;
    margin: 0 auto;
    margin-bottom: 10px;
}
.profile .image .name0{
    display: flex;
    width: 120px;
    height: auto;
    justify-content: space-between;
    align-content:first baseline;
    align-items: flex-start;
    margin: 0px  auto;
    margin-bottom: 0px;
}
.profile .image .name0 .name-box{
    display: block;
    height: 70px;
    padding: 0;
}

.profile .image .kana{
    left: 0px;
    padding-left: 0px;
    margin-top: 0px;
    font-size: 12px;
    margin-bottom: 0px;
}
.profile .image .name{
    margin-top: -10px;
    font-size: 25px;
    font-weight: 700;
}
.profile .image .comment{
    margin: 0 auto;
    display: block;
    width: 80%;
    text-align: left;
    font-size: 18px;
    font-weight: 400;
}



.career{
    height: auto;
    max-width: 100%;
    margin-bottom: 50px;
    position: relative;
}
.career h3{
    display: block;
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
    margin-bottom: 10px;
}
.career ul{
    width: 100%;
    display: block;
    padding: 0;
    margin: 0 auto;
    list-style: none;
}
.career .career1{
    display: block;
    max-width: 90%;
    margin: 0 auto;
    margin-bottom: 20px;
    font-size: 14px;
    left: 10%;
}

.career .career1 li{
    margin: 0 auto;
    justify-content: center;   /* テキストを中央に配置（横方向） */
    align-items: center;       /* テキストを中央に配置（縦方向） */             /* 親要素に合わせて幅を広げる */        
    box-sizing: border-box;
    font-size: 14px;
}
.career .career1 .role{
    font-weight: bold;
    text-align: center;
}

.career .career1 .results {
    margin: 0 auto;
    text-align: center;
}

.service{
    max-width: 95%;
    margin: 0 auto;
    height: auto;
    padding-bottom: 30px;
    font-size: 16px;
}

.service ul{
    display: block;
    padding: 0;
    margin: 0 auto;
    list-style: none;
    width: auto;
    max-width: 90%;
}
.service ul li{
    margin: 0 auto;
    text-align: left;
    justify-content: center;   /* テキストを中央に配置（横方向） */
    align-items: center;       /* テキストを中央に配置（縦方向） */  
    padding: 5px 0;           /* 上下に余白をつける */
    max-width: 100%;               /* 親要素に合わせて幅を広げる */        
    box-sizing: border-box;
}
	.footer{
		color: white;
	}

}