@charset "utf-8";

/*共通設定=========================================================--*/
html {
    font-size: 100%;
    color: #333;
    background-color: #f9f9f9;
    font-family: "Noto Sans JP", sans-serif;
    scroll-behavior: smooth;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
    vertical-align: bottom;
}

ul,
ol {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    opacity: 0.6;
}

.wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

.sec__title {
    font-size: calc(36/16*1rem);
    text-align: center;
    width: 250px;
    margin: 100px auto 100px;
    padding: 20px;
}

.more {
    text-align: right;
    padding-right: 100px;
    display: block;
}

.neumorphism__top {
    background-color: #f9f9f9;
    /* 要素の色 */
    -webkit-box-shadow: 15px 15px 15px #ededed, -15px -15px 15px #ffffff;
    /* 光と影 */
    box-shadow: 15px 15px 15px #ededed, -15px -15px 15px #ffffff;
    /* 光と影 */
    border-radius: 50px;
    /* 角丸 */
}

.neumorphism2__bottom {
    background: #f9f9f9;
    /* 要素の色 */
    -webkit-box-shadow: -15px -15px 15px #ffffff inset, 15px 15px 15px #ededed inset;
    /* 光と影 */
    box-shadow: -15px -15px 15px #ffffff inset, 15px 15px 15px #ededed inset;
    /* 光と影 */
    border-radius: 40px;
    /* 角丸 */
}

/*ナビメニューのスタイルを指定*/
nav.NavMenu {
    position: fixed;
    /*表示位置を固定*/
    z-index: 2;
    /*重ね順を変更*/
    top: 0;
    /*表示位置を指定*/
    left: 0;
    /*表示位置を指定*/
    background: #fff;
    /*背景を白にする*/
    color: #000;
    /*文字色を黒にする*/
    text-align: center;
    /*テキストを中央揃え*/
    width: 100%;
    /*全幅表示*/
    transform: translateY(-100%);
    /*ナビを上に隠す*/
    transition: all 0.6s;
    /*アニメーションの時間を指定*/
    ;
}

nav.NavMenu ul {
    background: #ccc;
    /*背景をグレーにする*/
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

nav.NavMenu ul li {
    font-size: 1.1em;
    list-style-type: none;
    padding: 0;
    width: 100%;
    border-bottom: 1px dotted #333;
}

nav.NavMenu ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
    /*最後のメニュー項目のみ下線を消す*/
}

nav.NavMenu ul li a {
    display: block;
    /*クリックできる領域を広げる*/
    color: #000;
    padding: 1em 0;
}

/*トグルボタンが押されたときに付与するクラス*/
nav.NavMenu.active {
    transform: translateY(0%);
}

/*トグルボタンのスタイルを指定*/
.Toggle {
    display: block;
    position: fixed;
    /* bodyに対しての絶対位置指定 */
    right: 13px;
    top: 12px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    z-index: 3;
}

.Toggle span {
    display: block;
    position: absolute;
    width: 30px;
    border-bottom: solid 3px #000;
    -webkit-transition: .35s ease-in-out;
    /*変化の速度を指定*/
    -moz-transition: .35s ease-in-out;
    /*変化の速度を指定*/
    transition: .35s ease-in-out;
    /*変化の速度を指定*/
    left: 6px;
}

.Toggle span:nth-child(1) {
    top: 9px;
}

.Toggle span:nth-child(2) {
    top: 18px;
}

.Toggle span:nth-child(3) {
    top: 27px;
}

/* 最初のspanをマイナス45度に */
.Toggle.active span:nth-child(1) {
    top: 18px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

.Toggle {
    opacity: 0;
}


/*ページトップ==========================================-*/

#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    border-radius: 5px;
    width: 60px;
    height: 60px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    transition: all 0.3s;
    opacity: 0.8;
}

#page-top a:hover {
    background: #777;
}

/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateY(100px);
}

/*上に上がる動き*/

#page-top.UpMove {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*下に下がる動き*/

#page-top.DownMove {
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(100px);
    }
}

/*header============================================*/

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.gnav {
    display: flex;
}

.gnav__link {
    margin: 0.5rem;
}

.hero {
    font-size: calc(44/16*1rem);
    padding: 170px 100px 200px 60px;
    width: 760px;
}

/*footer=======================================*/
footer {
    padding: 30px 0;
    text-align: center;
    background-color: #333;
    color: #efefef;
}

/*index-about=====================================*/

.about__group {
    display: flex;
    justify-content: center;
}

.about__img {
    width: 46%;
    text-align: center;
}

.about__myimg {
    width: 64%;
    border-radius: 50px;
}

.about__profile {
    width: 54%;
}

.about__name {
    font-size: calc(32/16*1rem);
    margin-bottom: 20px;
}

.about__name span {
    font-size: calc(1rem);
    font-weight: normal;
}

.about__text {
    font-size: calc(16/16*1rem);
    margin-bottom: 20px;
}

.about__text span {
    font-size: calc(18/16*1rem);
    font-weight: bold;
    margin-bottom: 10px;
}


/*index-skills=================================================*/

.skills {
    padding: 0 40px;
    margin-bottom: 250px;
}

.skills__flex {
    display: flex;
    justify-content: space-around;
}

.tab img {
    width: 90%;
}

.tab-area {
    width: 40%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    background-color: #f9f9f9;
    cursor: pointer;
    height: 28vw;
}

.tab-area .tab {
    width: 100%;
    text-align: center;
    color: #333;
    border-right: 1px solid #999;
    border-left: 1px solid #999;
    border-radius: 25px;
    padding-bottom: 10px;
}

.tab-area .tab:hover {
    opacity: 0.7;
}

.tab-area .tab.active {
    background-color: #ccc;
    color: #000;
    border: none;
}

.content-area {
    width: 50%;
    font-size: 30px;
    text-align: center;
    border: 1px solid #999;
    border-radius: 25px;
    padding: 25px 20px;
    margin-left: 20px;
}

.content-area .content {
    display: none;
}

.content-area .content.show {
    display: block;
}

.content__group {
    display: flex;
    justify-content: center;
    text-align: left;
    margin-top: 20px;
}

.content__group img {
    width: 30%;
    object-fit: contain;
    margin-right: 10px;
}

.content__group p {
    font-size: calc(16/16*1rem);
    margin-bottom: 20px;
    margin-left: 10px;
}

.content__show__text {
    font-size: calc(16/16*1rem);
    margin-top: 40px;
    text-align-last: left;
}

.content__img__group {
    display: flex;
    justify-content: center;
    width: 100%;
}

.content__img__groupimg1 {
    width: 20%;
    margin: 20px 20px 0 0;
    object-fit: contain;
}

.content__img__groupimg2 {
    width: 40%;
    margin: 20px 0;
}

.content__img__groupimg3 {
    width: 30%;
    margin: 20px 20px 0 0;
}

.content__img__groupimg4 {
    width: 30%;
    margin: 20px 0;
}

.content__img__groupimg5 {
    width: 30%;
    height: 200px;
    margin: 20px 20px 0 0;
    object-fit: contain;
}

.content__img__groupimg6 {
    width: 30%;
    height: 200px;
    margin: 20px 0;
    object-fit: contain;
}

/*index-works============================================-*/

.works {
    padding: 0 40px;
    text-align: center;
}

.works__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px 40px;
}

.works__item__img {
    max-width: 400px;
    margin-bottom: 15px;
    object-fit: contain;
}

.works__item__title {
    text-align: left;
    line-height: 2;
    padding: 6px;
}

.works__item__title span {
    font-weight: bold;
    font-size: calc(18/16*1rem);
}

.works__item__text {
    text-align: left;
    line-height: 1.5;
    padding: 6px;
}

.works__item__text a {
    border-bottom: #333 1px solid;
}

/*index-contact*/

.contact__text {
    text-align: center;
    margin-bottom: 100px;
}

@media (max-width: 767px) {

    /*ハンバーガー===================================================*/
    .gnav {
        display: none;
        ;
    }

    .Toggle {
        opacity: 1;
    }

    .header__logo__link {
        font-size: calc(24/16*1rem);
    }

    .hero {
        font-size: calc(24/16*1rem);
        padding: 170px 10px 200px 20px;
        width: 370px;
    }

    .sec__title {
        font-size: calc(24/16*1rem);
        width: 200px;
        margin: 100px auto 60px;
        padding: 20px;
    }

    /*about=====================================*/

    .about__group {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .about__myimg {
        width: 100%;
    }

    .about__profile {
        width: 80%;
        text-align: center;
    }

    .about__name {
        font-size: calc(24/16*1rem);
        margin-bottom: 20px;
        margin-top: 30px;
    }

    .about__text {
        font-size: calc(14/16*1rem);
        margin-bottom: 20px;
    }

    .about__text span {
        font-size: calc(16/16*1rem);
    }

    /*skills=====================================*/
    .skills {
        padding: 0 20px;
        margin-bottom: 150px;
    }

    .skills__flex {
        flex-direction: column;
        align-items: center;
    }

    .tab-area {
        width: 100%;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        gap: 10px;
        height: 100%;
    }

    .tab-area .tab {
        width: 100%;
        font-size: calc(12/16*1rem);
        text-align: center;
        color: #333;
        border-right: 1px solid #999;
        border-left: 1px solid #999;
        border-radius: 25px;
        padding-bottom: 10px;
        margin-bottom: 14px;
    }

    .content-area {
        width: 100%;
        font-size: calc(24/16*1rem);
        margin-left: 0px;
    }

    .content__group p {
        font-size: calc(14/16*1rem);
        margin-bottom: 20px;
        margin-left: 10px;
    }

    .content__show__text {
        font-size: calc(14/16*1rem);
    }

    /*works====================================*/
    .works {
        padding: 0 20px;
    }

    .works__container {
        gap: 60px 20px;
        grid-template-columns: 1fr;
    }

    .works__item__img {
        max-width: 300px;
        object-fit: contain;
    }

    .works__item__title {
        font-size: calc(14/16*1rem);
    }

    .works__item__title span {
        font-size: calc(16/16*1rem);
    }

    .works__item__text {
        font-size: calc(14/16*1rem);
    }
}

@media (max-width: 431px) {

    .header__logo__link {
        font-size: calc(16/16*1rem);
    }

    .hero {
        font-size: calc(18/16*1rem);
        padding: 170px 0px 200px 10px;
        width: 280px;
    }

    /*about===========================================*/

    .about__name {
        font-size: calc(20/16*1rem);
    }

    /*skills========================================*/

    .skills__flex {
        justify-content: space-between;
    }


    .tab-area {
        width: 100%;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        gap: 5px;
        max-height: 115px;
    }

    .tab-area .tab {
        width: 100%;
        font-size: calc(10/16*1rem);
        border-radius: 15px;
        padding-bottom: 0px;
        margin-bottom: 8px;
    }

    .tab img {
        width: 60%;
    }

    .content-area {
        margin-top: 20px;
    }

    .content__group p {
        font-size: calc(12/16*1rem);
        margin-bottom: 20px;
        margin-left: 10px;
    }

    .content__show__text {
        font-size: calc(12/16*1rem);
    }

    /*works=====================================*/
    .works {
        padding: 0 20px;
    }

    .works__container {
        grid-template-columns: 1fr;
        gap: 100px 20px;
    }

    .works__item__img {
        max-width: 300px;
        object-fit: contain;
    }

    .works__item__title {
        font-size: calc(14/16*1rem);
    }

    .works__item__title span {
        font-size: calc(16/16*1rem);
    }

    .works__item__text {
        font-size: calc(14/16*1rem);
        padding-bottom: 14px;
        border-bottom: #333 1px solid;
    }
}