/* 全体 */
html {
    scroll-behavior: smooth;
}

.body {
    color: #373a40;
    font-family: "Inria Serif", serif;
    font-weight: 400;
    font-style: normal;

}

img {
    max-width: 100%;
}

/* .fadeUpTrigger .fadeDownTrigger {
    opacity: 0;
}
 */
/* ヘッダー */
.header {
    display: flex;
    justify-content: space-between;
    margin: 0 2%;
    border-bottom: solid 1px #a02334;
    padding: 15px 0;

}

.nav__list {
    display: flex;

}

.nav__item {
    margin-left: 40px;
}

.nav__item:hover {
    color: #a02334;
}

.header__heading {
    font-size: 20px;
}

.mainvisual-sp {
    display: none;
}

.mainvisual-pc {
    width: 100vw;
    text-align: center;
    overflow-x: hidden;
}

.mainvisual__title {
    font-size: 64px;

    margin-top: 300px;
}

.mainvisual__title-red {
    color: #a02334;
}

.mainvisual__subtitle {
    font-size: 40px;
    margin-bottom: 40px;
}

.mainvisual__text {
    margin-bottom: 300px;
    font-size: 14px;
}

/* スキル */
#skill {
    width: 100%;
    background-color: #fff2e1;
    text-align: center;
    padding: 50px 5%;
}

.skill__title {
    font-size: 40px;
    display: inline;
    border-bottom: solid 1px #a02334;

}

.skill__wrapper {
    display: flex;
    max-width: 1000px;
    margin: 50px auto;
    justify-content: space-between;
}

.skill-item {
    width: 250px;
}

.skill-item__title {
    font-size: 32px;
    margin-bottom: 5px;
}

.skill-item__text {
    text-align: left;
}

.skill-item__icon {
    margin-bottom: 8px;

}

/* ワーク */
#work {
    width: 100%;
    text-align: center;
    padding: 50px 5px;
}

.work__title {
    font-size: 40px;
    display: inline-block;
    border-bottom: solid 1px #a02334;

}

.work-item {
    display: flex;
}

.work-item__image-pc {
    width: 50%;
	border-radius: 15px;
}

.work-item__image-sp {
    display: none;
}

.work-item__caption {
    width: 50%;
    padding: 5%;
}

.work-item__title {
    font-size: 24px;
    margin-top: 40px;
}

.work-item__text {
    line-height: 1.5;
}

.work-item__btn {
    margin-top: 20px;
}

.work__btn {
    width: 200px;

}

/* 自己紹介 */
#about {
    width: 100%;
    background-color: #fff2e1;
    text-align: center;
    padding: 50px 5%;
}

.about__title {
    font-size: 40px;
    display: inline-block;
    border-bottom: solid 1px #a02334;

}

.about__wrapper {
    display: flex;
    max-width: 1000px;
    margin: 50px auto;
    justify-content: space-between;
}

.photo {
    width: 50%;
    max-width: 420px;
    height: 525px;

    img {
        object-fit: cover;
        border-radius: 50%;
    }
}

.profile {
    width: 50%;
    padding: 5%;
}

.profile__text {
    line-height: 1.5;
    margin-top: 40px;
}

/* お問い合わせ */
#contact {
    width: 100%;
    text-align: center;
    padding: 50px 5px;
}

.contact__title {
    font-size: 40px;
    display: inline-block;
    border-bottom: solid 1px #a02334;
    margin-bottom:35px ;
}

#contact {
    max-width: 800px;
    margin: 0 auto;
    overflow-y: hidden;
}

input {
    margin:0 auto 35px;
    height: 40px;
}

textarea {
    height: 100px;
    margin-bottom: 35px;
}


input {
    background: #ead8c0;
    border-radius: 5px;
    width: 100%;
    padding: 0 5%;
    box-shadow: 0 10px 10px -10px;
}

textarea {
    background: #ead8c0;
    border-radius: 5px;
    width: 100%;
    padding: 5%;
    box-shadow: 0 10px 10px -10px;
}

::placeholder {
    color: #a79277;
    text-align: left;
}

.form__submit{
   max-width:210px;
    /*ボタンの形状*/
	background:#a02334;
	border-radius:25px;
    width:100%;
    text-align: center;
	color:#fff2e1;
    outline: none;
    
}
.form__submit:hover{
    border: 1px solid #a02334;
    background-color: #fff;
    color: #a02334;
  
}


/* フッター */
.footer {
    background: #a79277;
    color: #fff2e1;
    height: 70px;
    display: flex;
    justify-content: space-between;
    padding: 20px 5%;
    width: 100%;
}

.footer__link:hover {
    color: #a02334;
}

/* 一覧ページ */
#works {
    text-align: center;
}

.works__title {
    font-size: 40px;
    display: inline-block;
    border-bottom: solid 1px #a02334;
    margin-top: 40px;
}

.works__content {
    margin: 40px auto;
    display: flex;
}

.works-item__inner {
    text-align: center;
    line-height: 1.5;
}

.works-item__title {
    font-size: 24px;
}

.works-item__text,
.works-item__link {
    color: #a79277;
}

/* 詳細ページ */
.detail-body {
    background: #fff2e1;
    font-family: "Inria Serif", serif;
    font-weight: 400;
    font-style: normal;
}

#details {
    text-align: center;
    padding: 0 5%;
}

.details__heading {
    font-size: 40px;
    display: inline-block;
    border-bottom: solid 1px #a02334;
    margin: 40px auto;
}



.details__title {
    font-size: 30px;
    color: #a79277;
    margin-top: 30px;
}

.comment-wrapper {
    max-width: 600px;
    margin: 80px auto;
    text-align: left;
}

.details__comment {
    line-height: 1.5;
}

.dl {
    display: flex;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto 20px;
}

.dl__title {
    width: 30%;
    color: #a79277;
    font-size: 18px;

}

.dl__description {
    width: 70%;
    font-size: 16px;
    text-align: left;
    margin-bottom: 20px;
}

/* レスポンシブ */
@media screen and (max-width:870px) {

    /* ヘッダー */
    .header {
        justify-content: center;
    }

    .header__heading {
        display: none;
    }

    .nav__item {
        margin: 0 20px;
    }

    .scrolldown4 {
        display: none;
    }

    .mainvisual-pc {
        display: none;
    }

    .mainvisual-sp {
        display: block;
        text-align: center;
        overflow-x: hidden;

    }

    .header__heading-sp {
        font-size: 80px;
        margin: 40px auto 20px;

    }

    .mainvisual__title-red {
        font-size: 80px;
        margin: 40px auto 20px;

    }

    .mainvisual__subtitle-sp {
        font-size: 60px;
        margin: 0 auto 80px;

    }

    /* スキル */
    .skill__wrapper {
        flex-direction: column;
        align-items: center;
    }

    .skill-item {
        min-width: 350px;
        margin-bottom: 60px;
    }

    /* ワーク */
    .work__wrapper {
        margin: 0 5%;
    }

    .work__title {
        margin-bottom: 40px;
    }

    .work-item {
        flex-direction: column;
    }

    .work-item__image-pc {
        display: none;
    }

    .work-item__image-sp {
        display: block;
		margin:0 auto;
        width: 90%;
		border-radius: 10px;
    }

    .work-item__caption {
        width: 100%;
        padding: 5%;
    }

    .work__btn {
        margin-top: 60px;
    }

    /* 自己紹介 */
    .about__wrapper {
        flex-direction: column;

    }

    .photo {
        width: 100%;
        margin: 20px auto;
    }

    .profile {
        width: 100%;
    }

    .profile__text {
        margin: 0 auto 40px;
    }

    /* ワークス */
    .works__content {
        flex-direction: column;
    }


/* 詳細 */
.thumb {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
}