@charset "utf-8";

/*全体の設定*/
body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    background-color: #fffaf0;
    color: #333;

}


@media screen and (min-width: 1024px) {
    .wrapper {
        margin-left: 50px;
        margin-right: 50px;
    }
}

* {
    margin: 0;
    padding: 0;
}

/*文字のアニメーション*/
/* <div class="text">と<spna>で囲んだメインの文字*/

.text {
    overflow: hidden;
}

.text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: slideInFromBottom 1s forwards;
    animation-delay: 0.5s;
    /* 0.1秒ずつ遅延して表示 */
}

@keyframes slideInFromBottom {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*スクロールでふわっと*/
.fadeUp {
    -webkit-animation-name: fadeUpAnime;
    animation-name: fadeUpAnime;
    /*アニメーションの名前*/
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    /*アニメーションの実行時間*/
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    /*アニメーション後、要素が表示されたままにする*/
}

@-webkit-keyframes fadeUpAnime {
    0% {
        opacity: 0;
        /*非表示*/
        -webkit-transform: translateY(100px);
        transform: translateY(100px);
        /*縦方向に100pxずらす*/
    }

    100% {
        opacity: 1;
        /*表示*/
        -webkit-transform: translateY(0);
        transform: translateY(0);
        /*元の位置*/
    }
}

@keyframes fadeUpAnime {
    0% {
        opacity: 0;
        /*非表示*/
        -webkit-transform: translateY(100px);
        transform: translateY(100px);
        /*縦方向に100pxずらす*/
    }

    100% {
        opacity: 1;
        /*表示*/
        -webkit-transform: translateY(0);
        transform: translateY(0);
        /*元の位置*/
    }
}

.fadeUpTrigger {
    opacity: 0;
    /*非表示*/
}

/*ハンバーガーメニュー*/

::before,
::after {
    box-sizing: inherit;
}

button {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    vertical-align: middle;
    text-align: inherit;
    font: inherit;
    -webkit-appearance: none;
    appearance: none;

}

/**************** 以下、ハンバーガーボタンのスタイリング ****************/
.btn {
    /* ボタンの配置位置  */
    position: fixed;
    top: 15px;
    right: 16px;
    /* 最前面に */
    z-index: 10;
    /* ボタンの大きさ  */
    width: 48px;
    height: 48px;
}

/***** 真ん中のバーガー線 *****/
.btn-line {
    display: block;
    /* バーガー線の位置基準として設定 */
    position: relative;
    /* 線の長さと高さ */
    width: 70%;
    height: 1px;
    /* バーガー線の色 */
    background-color: #333;
    transition: .2s;

}

/***** 上下のバーガー線 *****/
.btn-line::before,
.btn-line::after {
    content: "";
    /* 基準線と同じ大きさと色 */
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #333;
    transition: .5s;
}

.btn-line::before {
    /* 上の線の位置 */
    transform: translateY(-12px);
}

.btn-line::after {
    /* 下の線の位置 */
    transform: translateY(12px);
}

/***** メニューオープン時 *****/
.btn-line.open {
    /* 真ん中の線を透明に */
    background-color: transparent;
}

.btn-line.open::before,
.btn-line.open::after {
    content: "";
    background-color: #333;
    transition: .2s;
}

.btn-line.open::before {
    /* 上の線を傾ける */
    transform: rotate(45deg);
}

.btn-line.open::after {
    /* 上の線を傾ける */
    transform: rotate(-45deg);
}

/**************** ここまで、ハンバーガーボタンのスタイリング ****************/
/**************** 以下、メニューのスタイリング ****************/
.menu {
    /* メニューを縦に */
    display: flex;
    flex-direction: column;
    position: fixed;
    /* メニューの位置マイナス指定で画面外に */
    right: -100%;
    top: 0%;
    width: 100%;
    height: 50vh;
    color: #333;
    background-color: #fffaf0;
    transition: .3s;
}

.menu-list {
    /* メニューテキスト位置をリスト内中心に */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.menu-list:hover {
    background-color: rgba(155, 142, 102, 0.123);
    color: #333;
    cursor: pointer;
    transition: .3s;
}


/***** メニューオープン時位置0にして画面内に *****/
.menu.open {
    right: 0;
}

/* 1024px以上はハンバーガーボタン非表示、ヘッダー固定 */
@media screen and (min-width: 1024px) {
    .btn {
        display: none;
    }

    .menu {
        /* メニューを横に */
        display: flex;
        flex-direction: row;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 80px;
        margin-right: 50px;
    }
}


/*ヘッダー*/

header {
    position: fixed;

    width: 100%;
    height: 80px;
    z-index: 10;

}


.top_title {
    margin-top: 20px;
    margin-bottom: 24px;
    margin-left: 20px;

}

@media screen and (min-width: 1024px) {
    .top_title {
        margin-top: 20px;
        margin-bottom: 24px;
        float: left;


    }

    header {
        background-color: #fffaf0;
    }
}



/*リンクのスタイル*/
a {
    text-decoration: none;
    text-align: center;
    color: #333;
}


.link_btn {
    /* メニューテキスト位置をリスト内中心に */
    display: flex;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 50px;
    border-right: #333;
    border-bottom: 1px solid #333;
    background-color: rgba(155, 142, 102, 0.123);
}

.link_btn:hover {
    background-color: rgba(155, 142, 102, 0.123);
    color: #333;
    cursor: pointer;
    transition: .3s;
    opacity: 0.5;
}


/*リンクの文字*/
.link_sub {
    font-size: 12px;
    color: brown;
}


/*TOPのメイン画像*/
/*sp*/

.main_img {
    padding-top: 200px;
    width: 600px;
    border-radius:
        67% 33% 36% 64% / 54% 50% 50% 46%;
    margin-left: auto;
    margin-right: auto;
}

.main {
    position: relative;
    margin-bottom: 32px;
}

.main_title {
    position: absolute;
    top: 23%;
    left: 25%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 40px;
    font-family: "DM Serif Text", serif;
    color: #333;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline;
    padding: .4em;
    line-height: 1;

}

.main_text {
    position: absolute;
    top: 36%;
    left: 30%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    color: #fff;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline;
    /*padding: .4em;*/
    line-height: 2;
    background-color: #333333a6;

}

@media screen and (min-width: 1024px) {
    .main_img {
        padding-top: 100px;
        margin-left: 100px;
        width: 600px;
        border-radius: 54% 46% 76% 24% / 61% 50% 50% 39%;
    }

    .main {
        position: relative;
    }

    .main_title {
        position: absolute;
        top: 50%;
        left: 72%;
        -ms-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        margin: 0;
        padding: 0;
        font-size: 70px;
        font-family: "DM Serif Text", serif;
        color: #333;
        background-color: #fffaf0;
    }


    .main_text {
        position: absolute;
        top: 80%;
        left: 72%;
        -ms-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        margin: 0;
        padding: 0;
        font-family: 'Noto Sans JP', sans-serif;
        color: #333;
        background-color: #fffaf0;
    }

}

/*ページタイトル*/
.under_title {
    margin-bottom: 36px;
}


/*about*/
.about {
    text-align: center;

}


.about_content {
    display: block;
    margin-bottom: 64px;

}


.about h3 {
    padding-top: 24px;
}

.about_img {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}



@media screen and (min-width: 1024px) {
    .about_img {
        height: 350px;
        width: auto;
        margin-left: 100px;
        margin-right: 0;
        margin-top: auto;
        margin-bottom: auto;

    }

    .about_content {
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        padding-left: 10%;
        padding-right: 10%;
        padding-bottom: 32px;
        padding-top: 32px;
    }

}

/*work*/
.work {
    text-align: center;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 24px;
}

.web img {
    width: 300px;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    border: solid 1px #333;
    margin-top: 32px;
    margin-bottom: 8px;
}

.banner img {
    width: 300px;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    border: solid 1px #333;
    margin-top: 32px;
    margin-bottom: 8px;
}

.web,
.banner a:hover {
    opacity: 0.8;
}

.description {
    color: brown;
    font-size: 12px;
}

/*pcでの並び*/
@media screen and (min-width: 1024px) {

    .web,
    .banner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 5px;
    }

}

/*タブ*/
/*タブ切り替え全体のスタイル*/


/*spタブのスタイル*/
.tabs {
    margin-top: 30px;
    padding-bottom: 10px;
    background-color: #fffaf0;
    width: 100%;
    margin: 0 auto;
}

/*spタブのスタイル*/
.tab_item {
    margin-bottom: 20px;
    width: calc(100%/2);
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    color: #333;
    display: block;
    float: left;
    text-align: center;
    transition: all 0.2s ease;
    background-color: #fffaf0;
    color: #333;
    border-bottom: none;
}



.tab_item:hover {
    cursor: pointer;
    transition: .3s;
    opacity: 0.5;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
    display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
    display: none;
    margin-left: auto;
    margin-right: auto;
    clear: both;
    overflow: hidden;
    padding-bottom: 24px;
}


/*選択されているタブのコンテンツのみを表示*/
#web:checked~#web_content,
#banner:checked~#banner_content {
    display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked+.tab_item {

    border-bottom: solid #333 1px;
    background-color: rgba(155, 142, 102, 0.123);
}

.web a:hover {
    opacity: 0.5;
}


/*pcタブ*/
@media screen and (min-width: 1024px) {
    .tabs {
        margin-top: 30px;
        padding-bottom: 10px;

        width: 700px;
        margin: 0 auto;

    }

    /*タブのスタイル*/
    .tab_item {
        width: calc(100%/2);
        height: 50px;
        line-height: 50px;
        font-size: 16px;
        color: #333;
        display: block;
        float: left;
        text-align: center;
        transition: all 0.2s ease;
        background-color: #fffaf0;

    }
}


/*問い合わせ*/
.contact {
    text-align: center;
}

.contact_text {
    display: flex;
    background-color: #fff;
    width: 300px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    justify-content: center;
    border: dotted #333 1px;
}

.contact a:hover {
    opacity: 0.5;
}

/*フッター*/
footer {
    background-color: rgba(155, 142, 102, 0.123);
    padding-top: 30px;
    padding-left: 10%;
    padding-right: 10%;
}

.footer_text {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 12px;
}

.footer_link {
    display: flex;
    list-style: none;
    justify-content: center;

}

.footer_link a:hover {
    opacity: 0.5;
}

footer li {
    display: flex;
    width: 150px;
    justify-content: center;
}


/*下層ページ*/
/*下層aboutぺージ*/

.under_about {
    padding-top: 120px;
    text-align: center;
    margin-left: 8%;
    margin-right: 8%;


}


.under_about_content {
    display: block;
    margin-bottom: 64px;
    padding-left: 5%;
    padding-right: 5%;
}


.under_about h3 {
    padding-top: 24px;
    padding-bottom: 12px;
}

.under_about_img {
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}


.under_about_text br {
    display: none;
}

.under_about_text,
.under_skill_text {
    text-align: left;
}




@media screen and (min-width: 1024px) {
    .under_about {
        margin-left: auto;
        margin-right: auto;
    }

    .under_about_img {
        height: 350px;
        margin-left: 100px;
        margin-right: 0;
        margin-top: auto;
        margin-bottom: auto;
    }

    .under_about_content {
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        padding-left: 10%;
        padding-right: 10%;
        padding-bottom: 32px;
        padding-top: 32px;
    }

    .under_about_text br {
        display: inline;
    }

    .under_about_text,
    .under_skill_text {
        text-align: center;
    }
}

/*経歴*/

.title_date {
    font-size: 12px;
    font-weight: normal;
    color: brown;
}

.text_career {
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 5px;
}

.career br {
    display: none;
}

.under_skill_text br {
    display: none;
}

.career_flex {
    text-align: left;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 64px;
}

.under_career_img {
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.under_skill_text {
    padding-left: 5%;
    padding-right: 5%;
}

@media screen and (min-width: 1024px) {
    .under_career_text {
        width: 800px;
    }

    .career_flex {
        text-align: left;
        display: flex;
        justify-content: space-between;
        padding-left: 15%;
        padding-right: 15%;
    }

    .under_career_img {
        height: 350px;
        margin-top: auto;
        margin-bottom: auto;
        margin-left: 10px;
        margin-right: 10px;
    }

    .career br {
        display: inline;
    }

    .under_skill_text br {
        display: inline;
    }

}

/*デザイン下層ページ*/
.under_work {
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 120px;
    text-align: center;
}