@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Yu Gothic UI','ヒラギノ丸ゴ ProN','Hiragino Maru Gothic ProN','ヒラギノ角ゴシック','Hiragino Sans',YuGothic,'Yu Gothic','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
    font-size: 16px;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

html {
    scroll-behavior: smooth;
}
.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px #FF8C00;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: 0.2s;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #FF8C00;
    border-right: 3px solid #FF8C00;
    transform: translateY(20%) rotate(-45deg);
    transition: 0.2s;
}

@media (hover: hover) and (pointer: fine) {
.pagetop:hover, .pagetop:hover .pagetop__arrow {
    border-color: #333333;
}
}

.wrapper {
    max-width: 1000px;
    margin: 30px auto 0 auto;
    padding: 0 2%;
}

h2 {
    text-align: center;
    font-size: 30px;
    line-height: 80px;
    margin-top: 70px;
}

/* ヘッダー */
header {
    width: 100%;
    background-color: #FF8C00;
}

h1 {
    margin: 0;
    font-size: 50px;
    line-height: 100px;
    color: #fff;
}

h1 a {
    color: #fff;
    transition: all 0.3s;
}

h1 a:hover {
    color: #333;
}

.header__inner {
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 2%;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li img {
    transition: all 0.3s;
}

nav ul li img:hover {
    transform: scale(1.2);
}

/* アバウト */
#about {
    display: flex;
    align-items: start;
}

.about__img {
    width: 20%;
}

.about__img img {
    width: 100%;
    height: auto;
}

.about__txt {
    width: 80%;
    padding: 0 0 0 50px;
}

.about__name {
    font-size: 18px;
    line-height: 40px;
}

.about__other {
    line-height: 30px;
}

.about__link {
    margin-top: 30px;
    text-align: right;
    font-size: 18px;
}

.about__link a {
    color: #FF8C00;
    transition: 0.3s;
}

.about__link a:hover {
    color: #333;
}

/* ワークス */
.warks__pc ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.warks__pc ul li {
    width: 21%;
    margin-bottom: 23px;
}

.warks__pc ul li img, .warks__pc ul li a img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border: 0.3px solid #333;
    box-shadow: 5px 5px 0 #FF8C00 ;
    transition: all 0.3s;
}

.warks__pc ul li img:hover {
    transform: scale(1.5,1.5);
    border: 0.7px solid #333;
    box-shadow: none;
}

/* スキル */
.skill__contents {
    display: flex;
    margin-bottom: 100px;
}

h3 {
    font-size: 20px;
    line-height: 40px;
    font-weight: normal;
}

.skill__left {
    width: 50%;
    padding:3em;
    border-radius: 30px 60px/60px 30px;
    border: solid 5px #FF8C00;
}

.skill__right {
    width: 50%;
    padding-left: 50px;
}

.skill__left p {
    margin-bottom: 30px;
}

.skill__right p {
    line-height: 30px;
}

/* フッター */
footer {
    background-color: #FF8C00;
    text-align: center;
    align-items: center;
}

.footer__txt {
    padding: 20px 0;
    color: #fff;
}

/* ワークスページ */
.works__wrapper {
    max-width: 1000px;
    margin: 0 auto 100px auto;
    padding: 0 2%;
}

.works__img {
    text-align: center;
}

.works__img img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

h4 {
    font-size: 25px;
    color: #FF8C00;
    font-weight: normal;
    margin: 80px 0 30px 0;
}

.works__img p {
    font-size: 18px;
    text-align: left;
    width: 100%;
    margin: 0 auto;
}

.works__img p a {
    color: #FF8C00;
    transition: all 0.3s;
}

.works__img p a:hover {
    color: #333;
}

/* プロフィール */
.profile p {
    line-height: 30px;
}

.profile__img {
    display: flex;
    width: 100%;
    margin: 30px 0 100px 0;
}

.profile__img li img {
    width: 100%;
    height: auto;
}














/* タブレット */
@media screen and (max-width: 765px) {
h2 {
    line-height: 50px;
    margin-top: 30px;
}

    /* ヘッダー */
.header__inner {
    flex-direction: column;
}

h1 {
    line-height: normal;
    font-size: 30px;
}

/* アバウト */
.about__img {
    width: 30%;
}

.about__img img {
    width: 100%;
    height: auto;
}

.about__txt {
    width: 70%;
    padding-left: 20px;
}

.about__name {
    line-height: normal;
}

.about__link {
    margin-top: 0;
    padding-right: 20px;
}

/* スキル */
.skill__right {
    padding-left: 20px;
}

}













/* 551px未満は非表示 */
@media (min-width: 551px) {
.header__inner__sp {
    display: none;
}

.warks__sp {
    display: none;
}
}









/* スマートフォン */
@media screen and (max-width: 550px) {
.wrapper {
    margin: 0 auto;
    padding: 0 2%;
}


h2 {
    line-height: normal;
    margin-top: 20px;
    font-weight: normal;
}

/* ヘッダー */
.header__inner {
    display: none;
}

header {
    background-color: #fff;
}

.header__inner__sp h1 {
    text-align: center;
    color: #FF8C00;
    font-size: 25px;
    line-height: 60px;
}

.header__inner__sp h1 a {
    color: #FF8C00;
    transition: all 0.3s;
}

.header__inner__sp h1 a:hover {
    color: #333;
}

.header__inner__sp nav ul {
    flex-direction: column;
    display: block;
    background-color: #FF8C00;
    line-height: 40px;
    margin-bottom: 50px;
}

.header__inner__sp nav ul li {
    margin-left: 0;
    font-size: 18px;
    border-bottom: 1px solid #fff;
    text-align: center;
}

.header__inner__sp nav ul li a {
    display: block;
    letter-spacing: 0.08em;
    color: #fff;
}

/* アバウト */
#about {
    flex-direction: column;
    align-items: center;
    margin-top: 5px;
}

.about__img {
    width: 60%;
}

.about__txt {
    width: 100%;
    padding: 0 10px;
}

.about__name {
    text-align: center;
    margin: 10px 0;
}

.about__other {
    line-height: normal;
}

.about__link {
    padding-right: 0;
    margin-bottom: 80px;
}

/* ワークス */
.warks__sp {
    margin-bottom: 80px;
}

.warks__pc {
    display: none;
}

.warks__sp ul {
    width: 100%;
    text-align: center;
}

.warks__sp ul li {
    margin-bottom: 20px;
}

.warks__sp ul li img, .warks__sp ul li a img {
    border-top: 0.3px solid #333;
    border-left: 0.3px solid #333;
    box-shadow: 3px 3px 0 #FF8C00;
    border-bottom-right-radius: 30px;
}

/* スキル */
.skill__contents {
    flex-direction: column;
    padding: 0 2%;
}

.skill__left {
    width: 100%;
    padding: 2em;
}

.skill__right {
    width: 100%;
    padding-left: 0;
    margin-top: 20px;
}

}