@charset "utf-8";

/* font-family: 'Playfair Display', serif;
font-family: 'Zen Maru Gothic', serif; */


/* ======================================== 
メインビジュアル 
======================================== */
/* mv_centerに起点 */
.mv_center {
    position: relative;
    max-width: 100%;
    height: 100vh;
    z-index: 2;
    /* background-color: aqua; */
}

/* ベージュの背景を中央寄せ */
.mv_text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 308px;
    height: 308px;
    /* background-color: #E6D8B3; */
    border-radius: 50%;
    z-index: 3;
}

/* テキストを中央寄せ */
.mv_text_inner {
    position: relative;
    width: 100%;
    top: 50%;
    left: -50%;
    transform: translate(50%, -50%);
}

/* メインビジュアルのイラストの配置 */
.mv-img {
    position: relative;
    width: 100%;
    top: 65%;
    left: -50%;
    transform: translate(50%, -50%);
}

/* メインビジュアルのテキストを一段上に */
.mv_text_inner {
    z-index: 1;
}

/* 右側の金の丸 */
.gold_maru img {
    width: 164px;
    height: 164px;
    position: absolute;
    left: -120px;
    top: 28px;

    animation-name: rotate;
    animation-duration: 330s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;

}

/* 右側の金の丸のアニメーション*/
@keyframes rotate {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(-360deg);
    }
}

/* 右側の金の丸 */
.gold_maru_right img {
    width: 76px;
    height: 76px;
    position: absolute;
    right: -45px;
    top: 50%;

    animation-name: rotate2;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;

    @media screen and (min-width:768px) {
        /* 位置調整 */
        right: -50px;
        bottom: 50%;
    }
}

/* 右側の金の丸を回転させるアニメーション*/
@keyframes rotate2 {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* 赤い丸の線を装飾 */

.red_maru {
    background-color: #ddd;
    position: relative;
}

.red_maru img {
    position: absolute;
    right: -45px;
    bottom: 25px;

    @media screen and (min-width:768px) {
        /* 位置調整 */
        right: -90px;
        bottom: 100px;
    }

}

/* 
.red_maru img::before{
    content: url(../img/Vector\ 10ito_01.png);
    right: 35xp;
} */

/* 赤い丸のcssここまで */

/* メインビジュアルここまで */

/* ======================================== 
aboutセクション 
======================================== */

/* セクションタイトルの装飾 */
.heading {
    position: relative;
    padding-bottom: 30px;
    /* font-size: 1.6rem; */
    text-align: center;
    background-image: linear-gradient(90deg,
            rgba(0 0 0 / 0) 0%, rgba(0 0 0 / 0) 45%,
            #a00 45%, #a00 55%,
            rgba(0 0 0 / 0) 55%, rgba(0 0 0 / 0) 100%);
    background-size: 100% 2px;
    background-repeat: no-repeat;
    background-position: center bottom;
}


.heading::before {
    content: attr(data-en);
    display: block;
    margin-bottom: 10px;
    color: #14001A;
    font-size: 2.4rem;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
}

.about p {
    text-align: center;
}

/* -------------------------------------
    profile-box
------------------------------------- */
/* インナーの幅と余白 */
.inner {
    width: 100%;
    margin: 0 auto;
    padding-top: 56px;
    padding-bottom: 56px;
}

/* プロフィールボックスの中身を縦並び */
.profile-box {
    flex-direction: column;
}

/* プロフィールの画像の幅、余白 */
.profile-box .profile-img {
    text-align: center;
    margin-bottom: 56px;
}

.profile-text {
    border: dotted 4px #a00;
    padding: 24px;
}




/* テキストの下の余白 */
.profile-text p {
    padding-bottom: 10px;
}


/* -------------------------------------
    skill セクション
------------------------------------- */
/* スキルテキストと画像を中央寄せ、下余白 */
.skill-text,
.skill-img {
    text-align: center;
    padding-bottom: 24px;
}

/* skillの画像の大きさ調整、真ん中寄せ */
.skill-img {
    width: 65%;
    height: auto;
    margin: 0 auto;
}

/* スキルテキストのアイコンの上下に余白 */
.skill-text div {
    margin: 1rem 0;
}

/* スキルテキストとサブタイトルの文字の大きさ、太さ、下余白 */
.skill-text .sub-title {
    font-size: 1.8rem;
    font-weight: 500;
    padding-bottom: 10px;
}



/* ======================================== 
about timeline　セクション 
======================================== */

/*タイムライン全体の設定*/
.timeline {
    max-width: 400px;
    width: 100%;
    margin: 50px auto;
    padding: 0 30px;
}

.timeline li {
    /*線の起点とするためrelativeを設定*/
    position: relative;
    list-style: none;
    padding: 0 0 20px 0;
}

.timeline dl {
    margin: 0 0 20px 3em;
}

/*絶対配置で線を設定*/
.border-line {
    /*線の位置*/
    position: absolute;
    left: 0.2em;
    top: 0;
    width: 2px;
    /*線の太さ*/
    height: 0;
    /*はじめは高さを0に*/
    background: #ccc;
}

/*タイムラインの見出し横の丸の位置と形状*/
.timeline li::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background: #666;
    border-radius: 50%;
}


/* ======================================== 
works　セクション 
======================================== */
/* 作品一覧の親グリッド指定　 */
.cards {
    display: grid;
    /* 最小150px以下にならないように折り返す */
    grid-template-columns:
        repeat(auto-fit, minmax(150px, 1fr));
    /* 列の間が24px*/
    gap: 24px;

    /* border: 1px solid #a00; */



}


/* 子のグリッド指定　3行　　 */
.card {
    display: grid;
    /* 親の間隔を引き継ぐ */
    grid-template-rows: subgrid;
    grid-template-columns: subgrid;
    /* 3行 */
    grid-row: span 3;
    /* 横の間隔8px */
    row-gap: 8px;
    /* border: blue 1px solid; */
}

/* works 作品画像 の角の丸み 影　うっすら枠線　余白調整 */
.card img {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
    box-shadow: 8px 9px 20px -2px #cec1c1;
    border: #e7e5e5 solid 1px;
    padding: 1rem 0;
    /* margin: 0 0 1rem; */
    grid-auto-columns: 200px;
}


.card .img-item {
    opacity: 0;
}


/* 最小1.2rem 最大1.8rem */
.card p {
    font-size: clamp(1.2rem, 0.9514rem + 1.0608vw, 1.8rem);
    /* 行間を狭くする */
    line-height: 1;
}

/* カードの最後の画像最初は非表示 */
.last-img {
    display: none;
}

/* ======================================== 
contact　セクション 
======================================== */
/* メールを送るのテキストの右余白 */
.btn-container span {
    padding-right: 1rem;
    font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.btn-container img {
    width: 20px;
    height: 20px;
}

button.btn-container{
    background-color: transparent;
}



/* ======================================== 
aside　セクション 
======================================== */

.contact p {
    text-align: center;
}

.thank_you {
    font-size: clamp(6rem, 10vw, 12rem);
    /* background-color: linear-gradient(149deg, rgba(204, 135, 16, 1) 0%, rgba(255, 255, 255, 1) 27%, rgba(182, 230, 122, 1) 58%, rgba(67, 202, 182, 1) 77%, rgba(208, 169, 0, 1) 100%); */
    font-family: 'WindSong', cursive;
    text-align: center;
    text-shadow: 9px 3px 8px rgba(129, 125, 107, 0.4);

    background: -webkit-linear-gradient(-178deg, rgba(223, 200, 128, 1) 0%, rgba(223, 60, 49, 1) 27%, rgb(241, 208, 105) 50%, rgba(241, 208, 105) 75%, rgba(241, 208, 105) 95%);
    /* 背景色にグラデーションを指定 */
    color: rgba(204, 135, 16, 1);
    /* 非対応のブラウザの為に色を設定 */
    -webkit-background-clip: text;
    /* テキストで切り抜く */
    -webkit-text-fill-color: transparent;
    /* 切り抜いた部分は背景を表示 */
}


/* ======================================== 
topへ戻る　セクション 
======================================== */

.page_top .top {
    font-size: 1rem;
    color: #fff;
    background: #14001A;
    display: flex;
    justify-content: end;
    padding: 10px;
    line-height: 20px;
    text-decoration: underline 1px #fff;
    text-align: right;
}

/* ======================================== 
footer　セクション 
======================================== */
footer {
    background-color: #14001A;
    color: #FFF;
    line-height: 100px;
    text-align: center;
}



/* ======================================== 
works　詳細
======================================== */
/* worksのh2タイトルの上余白の調整 */
.about .mt,
.works .mt {
    margin-top: 64px;
}

/* worksの背景色、上余白 */
.content {
    background-color: #ccc;
    margin: 24px 0;
}




/* タブの幅と余白 */
.item-container {
    width: 100%;
    max-width: 600px;
    margin: 50px auto 0;
}

/* タブの陸翔を横並び、枠線 */
.tab-list {
    display: flex;
    border: 1px solid #ccc;
    font-size: clamp(.8rem, calc(0.10vw + 1rem), 1.2rem);

}

/* タブを均等割、装飾 */
.tab {
    display: flex;
    flex: 1;
    justify-content: center;
    color: #333;
    border-right: 1px solid #ccc;
    padding: 1em .5em;
    cursor: pointer;
}

/* タブの最後のリストの枠線を非表示 */
.tab:last-child {
    border-right: none;
}

/* タブの背景色と色 */
.tab.current {
    /* background-color: #85746c; */
    background-color: #E6D8B3;
    border: none;
    color: #fff;
}

/* ワークスリストを横並び */
/* .content-wrapper {
    display: flex;
    flex-wrap: wrap;

} */

/* コンテントボックスの要素を幅いっぱい600pxと余白と背景色 */
.content-box {
    max-width: 100%;
    background-color: #eee;
    color: #333;
    padding: 1.5rem;
    margin: 24px auto;
}

.content-box img {
    display: block;
    height: auto;
    width: 100%;
}


/* 背景が下から出現＋テキスト */

.bgDU {
    position: relative;
    /*テキストの基点となる位置を定義*/
}

.bgDU span.mask {
    position: relative;
    /*背景色の基点となる位置を定義*/
    display: block;
    line-height: 0;
    /*行の高さを0にする*/
    overflow: hidden;
    /*拡大してはみ出る要素を隠す*/
    box-shadow: 8px 9px 20px -2px #cec1c1;
    /* maskの下に影 */
}

.bgDU span.mask::before {
    content: "";
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    opacity: 0;
    /*透過0*/
    transition: .3s ease-in-out;
    /*移り変わる速さを変更したい場合はこの数値を変更*/
    transform: translateY(100%);
    background: #333;
    /*背景色*/
    width: 100%;
    height: 100%;
}

.bgDU:hover span.mask::before {
    /*hoverした時の変化*/
    opacity: .8;
    /*透過なしに変化*/
    transform: translateY(0);
}

.bgDU span.bg {
    /*画像の上のテキスト*/
    position: absolute;
    opacity: 0;
    /*透過0*/
    transition: .5s ease-in-out;
    /*移り変わる速さを変更したい場合はこの数値を変更*/
    z-index: 3;
    /*テキストを前面に出す*/
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*テキストの位置中央指定*/
    color: #fff;
    font-size: 1.2rem;
    /*テキストの色を変えたい場合はここを修正*/
    line-height: 1.2;
    /*行の高さを1.5にする*/
}

.bgDU:hover span.bg {
    /*hoverした時の変化*/
    opacity: 1;
    /*透過なしに変化*/
}


/* ======================================== 
works web1　詳細
======================================== */

.works-title {
    margin: 24px 24px 0 24px;
}

.works-title .inner {
    padding-bottom: 0;
}

.works-title .title {
    font-size: 1.6rem;

    @media screen and (min-width:768px) {
        font-size: 2.4rem;
    }
}

.works-title .category-label {
    padding-bottom: 8px;
}

.works-title .look {
    font-size: 1.6rem;
    align-items: flex-end;
    display: inline-flex;
}

.works-title img {
    width: 20px;
    height: 20px;
    margin-left: 8px;
}

/* 左から右に下線が流れ、ホバーアウトで左に戻る */
.works-title .look p {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

/* 左から右に下線が流れ、ホバーアウトで左に戻る */
.works-title p::after {
    position: absolute;
    bottom: -3px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #a00;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}

.works-title p:hover::after {
    transform: scale(1, 1);
}



.works-textbox .site_color {
    margin-top: 1rem;
    margin-bottom: 1rem;
    box-shadow: 1rem 1rem 1rem rgba(219, 212, 212, 0.5);
}

/* ワイヤーフレームの周りに影をつける */
.works-textbox .box_shadow {
    box-shadow: 8px 9px 20px -2px #878787;
}

/* バナーや名刺のアイテムの下に影と余白 */
.item-web img {
    box-shadow: 8px 9px 20px -2px #878787;
    display: block;
    width: 70%;
    margin: 0 auto 1.5rem;
}


.item-web img:hover {
    background-color: #fff;
    box-shadow: 8px 9px 20px -2px #878787;
    color: #ddd;
    transition: 1s;
    /*1秒で変化*/
    width: calc(100% + 1rem);
    height: calc(100% + 1rem);
    opacity: .7;
}

/* テキストボックスの最大幅、真ん中寄せ */
.textBox {
    max-width: 960px;
    margin: 0 auto 64px;


}

/*　見出しの文字の大きさ、太さ */
.textBox dt {
    font-size: 1.4rem;
    font-weight: 400;

    @media screen and (min-width:768px) {
        font-size: 1.8rem;
        font-weight: 500;
    }

}

/*  */
.textBox dd {
    margin-bottom: 1rem;

    @media screen and (min-width:768px) {
        margin-bottom: 1.4rem;
        font-size: 1.4rem;
    }
}






@media screen and (min-width:372px) {
    /* 画面幅372px以上に適用 */

    /* 作品一覧の親グリッド指定　 */
    .cards {
        display: grid;
        /* 最小250px以下にならないように折り返す */
        grid-template-columns:
            repeat(auto-fit, minmax(250px, 1fr));
        /* 列の間が24px*/
        gap: 24px;

        /* border: 1px solid #a00; */


    }








}


@media screen and (min-width:768px) {
    /* 画面幅768px以上に適用 */

    /* -------------------------------------
    共通部分
    ------------------------------------- */
    .wraper {
        max-width: 1024px;
        width: 100%;
        margin: 0 auto;
    }

    .inner {
        max-width: 960px;
        width: 100%;
        margin: 0 auto;
        padding-top: 64px;
        padding-bottom: 64px;
    }


    /* -------------------------------------
    ヘッダー-SP
    ------------------------------------- */
    /* PCナビを横並び */
    .PC-nav {
        display: flex;
    }

    /* ハンバーガーメニュー表示 */
    .toggle {
        display: none;
    }

    /* ナビを均等配置と中央寄せ */
    .PC-nav ul {
        justify-content: space-between;
        align-items: center;
    }

    /*最後以外のナビリストに右余白 */
    .PC-nav ul li:not(:last-child) {
        padding-right: 40px;
    }

    /* -------------------------------------
    profile-box
    ------------------------------------- */
    /* プロフィールボックスの中身を横並び */
    .profile-box {
        display: flex;
        flex-direction: row;
    }

    /* プロフィールの画像の幅、余白 */
    .profile-box .profile-img {
        width: 50%;
        padding: 0 24px;
        z-index: 2;
    }



    /* テキストボックスの上下の余白 */
    .profile-text {
        width: 70%;
        border: dotted 4px #a00;
        margin: 10% 0 0 -50px;
    }

    /* テキストの下の余白 */
    .profile-text p {
        padding-bottom: 10px;
    }

    /* -------------------------------------
    sill セクション
    ------------------------------------- */
    .skill-text,
    .skill-img {
        text-align: center;
        padding-bottom: 24px;
        max-width: 480px;
    }

    /* skillの画像の大きさ調整、真ん中寄せ */
    .skill-img {
        width: 50%;
        height: auto;
        margin: 0 auto;
    }

    .skill-text {
        max-width: 320px;
    }

    .skill-text .sub-title {
        font-size: 2.4rem;
        font-weight: 500;
        padding-bottom: 10px;
    }

    .skill .left {
        display: flex;
        justify-content: space-between;
    }

    .skill .right {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    /* works　詳細 */
    .content-box {
        max-width: 100%;
        /* max-width: 600px; */
        background-color: #eee;
        color: #333;
        padding: 3em;
        margin: 5.6rem auto;
    }

    /* 作品一覧の親グリッド指定　 */
    .cards {
        display: grid;
        /* 最小300px以下にならないように折り返す */
        grid-template-columns:
            repeat(auto-fit, minmax(300px, 1fr));
        /* 列の間が30px*/
        gap: 30px;

        /* border: 1px solid #a00; */


    }


    .red_maru img {
        position: absolute;
        right: -43px;
        bottom: 125px;
    }



}










@media screen and (min-width:1008px) {

    /* カードの最後の画像008px以上になったら表示 */
    .last-img {
        display: block;
    }
}


@media screen and (max-width:375px) {
    /* 画面幅375px以下に適用 */


    .gold_maru img {
        left: -77px;
        top: 29px;
    }

    /* 赤色丸の位置 */
    .red_maru img {
        position: absolute;
        right: -8px;
        bottom: 25px;
        width: 20%;

    }
}


/* web1-js */
.box {
    width: 100px;
    height: 100px;
    background-color: #e9defa;
}

/*==================================================
ふわっ
===================================*/


/* box-01 */
.box.displayed {
    animation: fadeInLeft 1s forwards;
    width: 1000px;
}


@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    100% {
        opacity: 1;
        transform: translateY(-100px);
    }
}