/* 初期化 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: MS sans-serif;
}

html {
    scroll-behavior: smooth;
}

.wrapper {
    max-width: 1300px;
    width: 100%;
    margin: 30px 0;
}


.main-title,
.sec-title,
.container,
.item,
.sec-title p,
.mov,
.text p,
.mail-img,
.footer
 {
    text-align: center;
    /* margin: 30px 0; */
    /* padding: 25px 30px; */
}

.plofile,
.skill,
.works,
.contact
{
    margin: 50px 0;
}


/* ヘッダー */
/* 背景に画像*/
header {
    position: relative;
    height: 100vh;
    background: url(mainback.jpg) center center;
    background-size: cover;
    margin-top: 0 auto;
    filter: opacity(80%);
}

/* タイトル設定 */
header h1 { 
    font-size: 350%;
    color: #fff;
    padding-top: 5%;
}

/* 要素設定 */
header nav ul li {
    display: inline-block;
    list-style: none;
}
    
header nav ul li a {
    margin: 10px 15px 0 15px;
    font-size: 200%;
    color: #fff;
}


/* プロフィール 設定 */
.plofile ,
.container
 {
    padding-top: 40px;
}

.container { 
    display: flex;  /* 画像・自己紹介横並び*/
    /* flex-direction: column; */
    /* align-items: center; */
    justify-content: space-evenly; 
    /* padding-top: 40px; */
}

ul{
    display: inline-block;
    list-style: none;
}

/* 画像 */
.container img { 
    width: 230px;
    height: 230px;
    object-fit: cover;
    border-radius: 50%;
    filter: opacity(74%);
}


/* aside */
.aurhor {
    margin-left: auto;
}

.about{
    display: inline-block;
    justify-content: start; /* 左寄せ */
    text-align: left;    /* 左寄せ */
    padding: 50px 24px;
}

/* .about p {
    padding: 40px 0;
} */

/* スキル 設定 */
.item p {
    font-size: 100%;
    text-align: center;
    padding: 10px 0;
    color: rgba(00, 00, 00, 0.5);
}

.item ul  {
    display: flex;
    flex-wrap: wrap; 
    /* justify-content: space-arounf; */
    list-style: none;
}

.item ul li {
    width: 31%;
    margin: 10px 0;
}

.item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    max-width: fit-content;
    margin-top: 15px;
}

.item ul li {
    flex-direction: column;
}


/* works */
/* .works {
    text-align: center;
} */

.mov p {
    font-size: 100%;
    /* text-align: center; */
    padding: 10px 0;
    color: rgba(00, 00, 00, 0.5);
    margin: 10px 0;
}

.mov video {
    width: 400px;
    height: 160px;
    object-fit: cover;
    /* max-width: auto; */
    filter: opacity(85%);
}

.mov {
    cursor: printer;  /* カーソルが上に乗ると transform */
    transition: all 0.3s; /* 0.3秒かけてふんわり変形 */ 
}

.mov video:hover {
    transform: scale(1.1, 1.1);
    opacity: 0.6;  /* (横、縦）←倍率 で変形する */
} 


/* contact */

.text p {
    font-size: 70%;
    /* text-align: center; */
    margin-bottom: 30px;
    padding: 10px 0;
    /* padding-bottom: 4px; */
}

.mail-img img {
    cursor: printer;  /* カーソルが上に乗ると transform */
    width: 28px;
    max-height: 28px;
    transition: all 0.3s;  /* 0.3秒かけてふんわり変形 */
}

.mail-img img:hover {
    transform: scale(1.2, 1.2);  /* (横、縦）←倍率 で変形する */
    opacity: 0.7;    /* ちょい透け */
}

/* フッター 設定 */
footer {
    max-width: 100%;
    height: 20vh;
    background-image: url(IMG_7912.jpg);
    background-size: cover;
    background-position: center;
    filter: opacity(80%);
} 

footer h4 {
    color: #f6f0f0ca;
    /* text-align: center; */
    padding-top: 5%;
}

.gt {
    /* display: block; */
    width: 45px;
    height: 45px;
    /* box-sizing: border-box; */
    background: #ffffff8b;
    border: 1px solid #999;
    padding-top: 10px;
    /* text-align: center; */
    letter-spacing: -1px; /* 文字隙間 */
    font-size: 80%;
    text-decoration: none; /* アンダーライン */
    color: #333333e3;
    opacity: 0.7;  /* 透過度 */
    position: fixed;
    bottom: 20px;
    right: 15px;  
    border-radius: 50%; /* 丸型 */
}

/* メディアクエリ設定 */
@media screen and (max-width: 768px) {
    /* 画面サイズ768px以下なら下記を読み込む */
    .plofil,
    .container
     {
        flex-direction: column;
    }

    .aurhor {
        text-align: center;
    }

    
}


   