@charset "utf-8";

/* 基本 ここから */
* {
    box-sizing: border-box;
    /* ボックスをサイズを固定してwidthがpaddingから逆算した大きさになる */
}

body {
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style-type: none;
    padding: 0;
}



/* ロゴ */
.logo {
    display: flex;
    justify-content: left;
    gap: 5px;
}

.sign img {
    width: 70px;
    height: auto;
    margin: 0 0 0 10px;
}

.title img {
    width: 250px;
    height: auto;
    margin: 30px 0 0 0;
}

/* ロゴ */



/* トップ */
.top {
    background-image: url("../images/gold_cross.png");
    background-size: cover;
    text-align: center;
}

.top img {
    width: 140px;
    height: auto;
    vertical-align: bottom;
}

.top a {
    display: inline-block;
    margin: 40px 30px;
}

/* 回転＝transform: rotate（正:右回転　負:左回転）*/
.profile {
    transform: rotate(-10deg);
}

.skills {
    transform: rotate(5deg);
}

.portfolio {
    transform: rotate(-5deg);
}

.contact {
    transform: rotate(10deg);
}

/* トップ */



/* さわり */
.about {
    background-image: url("../images/gold_brush.png");
    background-size: cover;
    text-align: center;
    margin: 70px 0;
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.about .tip {
    width: 31.25%;
    padding: 25px 5px 0 20px;
}

.about .tip img {
    width: 450px;
    height: auto;
    transform: rotate(25deg);
    /* 回転（正:右回転　負:左回転）*/
}

.about .main {
    position: relative;
    z-index: 1;
    /* relative＝相対位置（absolute＝絶対位置、static＝デフォ）*/
    /* z-index＝レイヤー順（数字大きいほうが上） */
}

.about .main .fullname {
    margin: 220px 0 15px 0;
    font-size: 3rem;
    font-family: Monotype Corsiva;
}

.about .main .content {
    margin-bottom: 10px;
}

.about .ribbon {
    width: 34%;
    padding: 440px 20px 90px 5px;
    display: flex;
    justify-content: end;
    position: relative;
    z-index: 2;
    /* relative＝相対位置（absolute＝絶対位置、static＝デフォ）*/
    /* z-index＝レイヤー順（数字大きいほうが上） */
}

.about .ribbon img {
    width: 500px;
    height: auto;
    transform: rotate(-20deg);
    /* 回転（正:右回転　負:左回転）*/
}

/* さわり */



/* スキル */
.list {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 65%;
    height: 150px;
    margin: 0 auto 50px;
    position: relative;
}

.list li {
    width: 150px;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.6s;    
    /* 0.6秒かけて裏返るアニメーション */
    /* all = 全てのcssプロパティに対してアニメーションを設定する */
    /* 今回は left にアニメーションがかかる */
    transform: translateX(-50%);
    /* 通常だと左端基準だが左に50%ずらすことによって中央基準にして計算しやすくする */
}

.list .list-button {
    cursor: pointer;
}

.list .red {
    z-index: 6;
}

.list.active .red {
    left: 0;
}

.list .white {
    z-index: 5;
}

.list.active .white {
    left: 20%;
}

.list .blue {
    z-index: 4;
}

.list.active .blue {
    left: 40%;
}

.list .green {
    z-index: 3;
}

.list.active .green {
    left: 60%;
}

.list .yellow {
    z-index: 2;
}

.list.active .yellow {
    left: 80%;
}

.list .gold {
    z-index: 1;
}

.list.active .gold {
    left: 100%;
}


.list img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* スキル */



/* ポートフォリオ */
.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 110px;
}

.card {
    position: relative;
    /* カードの裏と表の画像を絶対配置するための起点に設定する */
    width: 160px;
    height: 250px;
    /* カードの大きさを設定する */
}

.card .ura,
.card .omote {
    transition: all 0.6s;
    /* 0.6秒かけて裏返るアニメーション */
    /* all = 全てのcssプロパティに対してアニメーションを設定する */
    /* 今回は transform: rotateY にアニメーションがかかる */
    position: absolute;
    left: 0;
    top: 0;
    /* absolute で .card の左上に絶対配置 */
    /* 裏返るように見せるために裏と表を同じ位置に重ねる */
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    /* transform: rotateY がマイナスのとき（裏返っているとき）非表示にする */
}

.card .ura {
  transform: rotateY(0);
  /* 要素の形を変化させずに 垂直軸 で回転させる（0度回転状態にする = 裏面の画像を表にする） */
}

.card .omote {
  transform: rotateY(-180deg);
  /* 初期値では裏を見せたい */
  /* 要素の形を変化させずに 垂直軸 で回転させる（-180度回転状態にする = 表面の画像を右回転？で裏返す） */
  /* 要素の形を変化させる場合 = transform scale など */
}

.card:hover .ura {
  transform: rotateY(180deg);
  /* 要素の形を変化させずに 垂直軸 で回転させる（180度回転状態にする = 裏面の画像を左回転？で裏返す） */
}

.card:hover .omote {
  transform: rotateY(0);
  /* 要素の形を変化させずに 垂直軸 で回転させる（0度回転状態にする = 表面の画像を表にする） */
}

.card img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ポートフォリオ */



/* フッター */
.footer {
    text-align: center;
}

.footer-top {
    background-image: url("../images/gold_line_top.jpg");
    background-size: cover;
    background-position-y: bottom;
    background-position-x: center;
    min-height: 320px;
}

.footer-bottom {
    background-image: url("../images/gold_line_bottom.jpg");
    background-size: cover;
    background-position-y: top;
    background-position-x: center;
    min-height: 220px;
    padding-top: 50px;
}

.footer-nav {
    padding: 40px 0;
    display: flex;
    justify-content: center;
    gap: 50px;
}

.footer img {
    width: 100px;
    height: auto;
}

/* フッター */

/* 基本 ここまで */





/* profileページ ここから */

/* 経歴 */
.background {
    background-image: url("../images/table.jpeg");
    background-position: center;
    background-repeat: no-repeat;
    margin: 70px 0 0;
}

.p_content {
    max-width: 100%;
    width: 700px;
    margin: 0 auto;
    padding-top: 90px;
    padding-bottom: 100px;
}

.uminchu {
    padding: 0 0 40px 160px;
}

.career {
    padding: 0 0 0 220px;
}

/* 経歴 */



/* 詳細トランプ */

/* 詳細トランプ */

/* profileページ ここまで */






/* portfolioページ ここから */

/* カルーセル */
.carousel {
    margin-top: 70px;
}

.carousel-top {
    background-image: url("../images/carousel_top.png");
    background-size: cover;
    background-position-y: bottom;
    background-position-x: center;
    min-height: 250px;
}

.carousel-middle {
    background-image: url("../images/carousel_middle.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
    gap: 70px;
    overflow: hidden;
    /* はみ出た分を非表示 */
}

.carousel-bottom {
    background-image: url("../images/carousel_bottom.png");
    background-size: cover;
    background-position-y: top;
    background-position-x: center;
    min-height: 250px;
}

.carousel img {
    width: 170px;
    height: auto;
    vertical-align: bottom;

}

/* カルーセル */



/* 作品 */


/* 作品 */


/* portfolioページ ここまで */





/* contactページ ここから */

/* フォーム */
.frame {
    background-image: url("../images/frame.png");
    background-size: 1000px;
    background-position: top center;
    background-repeat: no-repeat;
    margin: 70px 0 0;
}

.items {
    padding: 100px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.whiteframe {
    background-image: url("../images/white_frame.png");
    background-repeat: no-repeat;
    padding: 10px 45px;
    width: 255px;
    height: 55px;
}

.whiteframe input,
.whiteframe select {
    padding: 8px 0;
    width: 100%;
}

.squareframe {
    background-image: url("../images/square_frame.png");
    background-repeat: no-repeat;
    padding: 40px;
    width: 400px;
    height: 400px;
}

.whiteframe input,
.whiteframe select,
.squareframe textarea {
    border: none;
    border-bottom: 1px dashed #cc9900;
    border-right: 1px dashed #cc9900;
    background-color: transparent;
    /* transparent＝背景色を透明に */
}

.squareframe textarea {
    width: 100%;
    height: 100%;
    border-right: none;
}

.submit {
    display: block;
    width: 200px;
    height: auto;
    margin: 20px auto 0 auto;
    padding: 0;
    border: 0;
    background-color: transparent;
    /* transparent＝背景色を透明に */
}

.item p {
    padding-left: 30px;
}

.item p,
.itemb p {
    margin-top: 0;
    margin-bottom: 5px;
}



/* contactページ ここまで */