
@charset "utf-8";
/* 
Theme name: myportfolio
Authou: Yukino Kasahara
*/
/* RESET CSS------------------------------------------- */
/* デフォルトのマージンを削除 */
* {
    margin: 0;
}
/* フォームのfontに関するデフォルトを削除 */
input, button, textarea, select {
	font: inherit;
}
/* テキストのオーバーフローを回避 */
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
/* ボタンのスタイルリセット */
button{
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}
ul {
    list-style: none;
    padding: 0;
}
/* COMMON CSS------------------------------------------- */
html {
    font-size: 62.5%;
    background-color: #E9E5E0;
}
header, #greeting, #feature, #home_works h2, #contact, #about, #works, #single_works {
    width:80%;
    margin: 0 auto;
}
body {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #332D24;
    line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
.noise_bg {
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 9999999999999999999999999999;
	width: 100%;
	height: 100%;
	opacity: 0.03;
	background-size: 100px 100px;
	pointer-events: none;
}
h2 {
    font-family: "Josefin Sans",
                 "Zen Kaku Gothic New", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 2.4rem;
}
h3 {
    font-family: "Josefin Sans",
                 "Zen Kaku Gothic New", sans-serif;
    font-size: 2rem;
}
h4 {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 1.6rem;
    margin-top: 20px;
}
a, button {
    font-family: "Josefin Sans",
                 "Zen Kaku Gothic New", sans-serif;
    font-weight: 600;
    font-style: italic; 
    font-size: 1.5rem;
    color: #332D24;
    text-decoration: none;
    cursor: pointer;
}
p {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 2.4rem;
    color: #332D24;
}
/* MAIN CSS------------------------------------------- */
/* HEADER------------------------------------------------ */
#sp_header {
    display: none;
}
#pc_header {
    position: fixed;
    top: 0;
    z-index: 10;
    width: 80%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#pc_header nav ul, footer nav ul {
    display: flex;
    justify-content: space-around;
}
#pc_header nav ul li, footer nav ul li {
    padding-left: 16px;
}
#pc_header nav ul li:first-of-type {
    display: none;
}
#pc_header nav a, footer a {
    letter-spacing: 0.3rem;
}
#pc_header a:hover {
    color: #C0B29E;
}
/* FOOTER------------------------------------------------ */
footer {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: #f7f7f7;
    position: sticky;
    top: 100vh;
    width: 100vw;
}
.footer_wrap {
    position: relative;
    z-index: 10;
    width: 80%;
    margin: 0 auto;
    text-align: right;
    padding: 16px 0;
}
footer nav {
    width: 40%;
    margin: 50px 0 70px auto;
}
footer a:hover {
    color: #C0B29E;
}
small {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
}
/* HOME-GREETING------------------------------------------------ */
#greeting {
	height: 100vh;
	width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
	position: fixed;
	top: 0;
}
.greeting-wrap {
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    place-content: center;
    place-items: center;
    height: 100vh;
}
.greet_text {
    width: 100%;
    font-size: 2rem;
    font-weight: 600;
    margin-top: 120px;
    padding-left: 40px;
}
.greet_text span {
    font-size: 1.6rem;
}
.illust_img {
	width: 95%;
    height: auto;
}
.hidden {
    display: none;
}
.scroll_sign {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
    animation: down 4s infinite;
	-webkit-animation: down 4s infinite;
}
.arrow_down {
    margin-top: 6px;
    display: inline-block;
    vertical-align: middle;
    background-color: #332D24;
    line-height: 1;
    position: relative;
    width: 2.5px;
    height: 20px;
    border-radius: 2px;
    transform: rotate(180deg);
}
.arrow_down::before,
.arrow_down::after {
    position: absolute;
    content: '';
    top: -2.5px;
    width: 2.5px;
    height: 14px;
    background: #332D24;
    border-radius: 4px;
}
.arrow_down::before {
    left: 4px;
    transform: rotate(-45deg);
}
.arrow_down::after {
    right: 4px;
    transform: rotate(45deg);
}
@keyframes down {
	0% {
		transform: translate(0);
	}
	20% {
		transform: translateY(15px);
	}
	40% {
		transform: translate(0);
	}
}
@-webkit-keyframes down {
	0% {
		transform: translate(0);
	}
	20% {
		transform: translateY(15px);
	}
	40% {
		transform: translate(0);
	}
}
.skip_btn {
    position: fixed;
    bottom: 20px;
    right: 10%;
    text-align: center;
}
.skip_btn a {
    font-style: normal;
    font-size: 1.2rem;
}
/* HOME-FEATURE------------------------------------------------ */
.up {
	transition: transform 1s ease;
	transform: translateY(-100vh);
}
.down {
	transition: transform 1s ease;
	transform: translateY(30%);
}
#feature {
    margin-top: 4600px;
    position: relative;
}
.fade_in {
    padding-top: 200px;
	opacity: 0;
	transform: translateY(200px);
	transition: opacity 1.5s ease-out,transform 1s ease-out;
}
.fade_in.visible {
	opacity: 1;
	transform: translateY(0);
}
.hand {
    opacity: 0;
    transform: translateX(100px) translateY(0);
    position: absolute;
    top: -100px;
    right: -30px;
    transition: opacity 1.5s ease-out,transform 1s ease-out;
}
.show {
	opacity: 1;
    transform: translateX(0px) translateY(100px);
}
.flow {
    opacity: 0;
    transform: translateX(100px) translateY(0);
    transition: opacity 1.5s ease-out,transform 1.5s ease-out;
}
.flowshow {
    opacity: 1;
    transform: translateX(0px) translateY(100px);
}
/* 宝石1 */
.flow:nth-child(2) {
    width: 12%;
    position: absolute;
    top: 140px;
    right: 300px;
}
/* 宝石2 */
.flow:nth-child(3) {
    width: 12%;
    position: absolute;
    top: 210px;
    right: 150px;
}
/* 宝石３ */
.flow:nth-child(4) {
    width: 10%;
    position: absolute;
    top: 80px;
    right: 270px;
}
/* omoiyari */
.flow:nth-child(5) {
    width: 17%;
    position: absolute;
    top: 200px;
    right: 250px;
}
/* team */
.flow:nth-child(6) {
    width: 14%;
    position: absolute;
    top: 120px;
    right: 160px;
}
.mindtext p {
    margin-top: 32px;
    font-weight: 600;
    font-size: 1.5rem;
}
.omoiyari img, .nakama img {
    display: block;
    width: 40%;
    height: auto;
}
.omoiyari {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    margin-top: 270px;
}
.omoiyari h3 {
    position: relative;
}
.omoiyari h3::before {
    content: 'mind 1.';
    opacity: 0.4;
    font-size: 2.4rem;
    font-family: 600;
    color: #C0B29E;
    position: absolute;
    top: -40px;
    left: 0;
}
.nakama {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
}
.nakama h3 {
    position: relative;
}
.nakama h3::before  {
    content: 'mind 2.';
    opacity: 0.4;
    font-size: 2.4rem;
    font-family: 600;
    color: #C0B29E;
    position: absolute;
    top: -40px;
    left: 0;
}
/* HOME-GREETING2------------------------------------------------ */
/* #greeting2 {
	position: relative;
}
#greeting2 .p_fixed {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
	width: 100vw;
} */
/* HOME-WORKS------------------------------------------------ */
#home_works {
    margin-top: 120px;
    position: relative;
}
#home_works h2 {
    padding-top: 200px;
}
.openbag {
    width: 40%;
    position: absolute;
    top: -110px;
    right: 0;
    overflow: hidden;
    z-index: -5;
}
.workswrapper {
    width: 80%;
    margin: 80px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(100vw* 0.03);
}
.works_postitem {
    padding: 5% 0;
}
.works_postitem p {
    font-family: "Josefin Sans",
                 "Zen Kaku Gothic New", sans-serif;
    font-weight: 600;
    line-height: 2rem;
}
.works_thumbnail {
    display: block;
}
.works_thumbnail img{    
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
}
.works_type {
    margin-top: 16px;
}
.works_more_btn {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    padding: 6px 12px;
    font-size: 1.5rem;
    color: #fff;
    border: 1px solid #C0B29E;
    border-radius: 4px;
    margin: 60px 0;
    background-color: #C0B29E;
}
.works_more_btn a {
    font-weight: 400;
    font-style: normal;
    color: #fff;
}
.works_more_btn:hover {
    background-color: #F2EFEF;
    color: #78674E;
}
.works_more_btn a:hover {
    color: #C0B29E;
}
/* HOME-CONTACT------------------------------------------------ */
#contact {
    background-color: #f7f7f7;
    border-radius: 2px;
    margin: 60px auto 60px auto;
}
#contact h2 {
    text-align: center;
    padding: 60px 0 30px 0;
}
.contact_text {
    text-align: center;
    font-size: 1.5rem;
}
form {
    width: 60%;
    margin: 0 auto;
    padding: 60px 0;
    position: relative;
}
form p {
    font-size: 1.6rem; 
    margin-bottom: 24px;
}
input, textarea {
    background-color: #F2EFEF;
    border: 1px solid #D4D4D4;
    border-radius: 4px;
    margin-top: 8px;
}
input {
    width: 300px;
}
textarea {
    width: 100%;
    height: 200px;
}
.privacypolicy input {
    width: max-content;
    margin-right: 12px;
}
.privacypolicy a {
    color: #C0B29E;
    border-bottom: 1px solid #252323;
}
.privacypolicy a:hover {
    opacity: 0.6;
}
.submit_button {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    padding: 8px 12px;
    font-size: 1.5rem;
    font-weight: 400;
    font-style: normal;
    color: #fff;
    background-color: #C0B29E;
    border-radius: 6px;
}
.submit_button:disabled {
    background-color: #a9a9a9;
}
.submit_button:hover {
    background-color: #78674E;
}

/* ABOUT CSS------------------------------------------- */
#about,#service {
    margin: 120px auto;
}
#about h2 {
    margin-top: 180px;
}
.profile {
    margin-top: 30px;
    display: flex;
    justify-content: left;
    gap: 80px;
}
.profile img {
    width: 30%;
    height: 360px;
    object-fit: cover;
    filter: grayscale(100%);
}
.profile_text {
    width: 40%;
    max-width: 550px;
    margin-top: 60px;
}
.profile p {
    font-family: "Josefin Sans",
                 "Zen Kaku Gothic New", sans-serif;
    line-height: 3rem;
}
.profile p:first-of-type {
    margin-bottom: 30px;
    border-bottom: 1px solid #332D24;
}
.service_wrapper {
    width: 100%;
    margin: 32px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
}
.service_contents {
    width: 24%;
    height: auto;
    text-align: center;
    padding: 16px;
    background-color: #C0B29E;
    border-radius: 2px;
}
.service_contents img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 24px 0;
}
table {
    width: 100%;
    max-width: 800px;
    margin: 30px 0;
}
th ,td {
    font-size: 1.5rem;
}
th {
    width: 24%;
    text-align:left;
}

/* WORKS CSS------------------------------------------- */
#works h2 {
    margin: 240px auto 80px;
}
#works .openbag {
    top: -8%;
}
.category h3 {
    color: #78674E;
    font-size: 1.6rem;
}
.tag_wrapper {
    margin: 8px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 12px;
}
.tag {
    display: block;
    font-size: 1.5rem;
    padding: 3px 12px;
    background-color: rgba(247,247,247,0.7);
    border: 1px solid #C0B29E;
    border-radius: 4px;
}
#works .workswrapper {
    width: 100%;
    margin-top: 30px;
}
.pagenation {
    width: max-content;
    display: flex;
    justify-content: space-between;
    gap: 2%;
    margin: 60px auto;
}
.page-numbers{
    background-color: #f7f7f7;
    border-radius: 3px;
    text-align: center;
    display:inline-block;
    margin-right:10px;
    padding: 8px 16px;
    color:#252323;
}
.page-numbers.current {
    font-size: 1.5rem;
    padding: 8px 16px;
    color:#ffffff;
    background-color: #C0B29E;
}

/* SINGLE-WORKS CSS------------------------------------------- */
.single-post .noise_bg {
    display: none;
}
.single_top_visual {
    position: relative;
}
.works_toptitle {
    position: relative;
    top: 300px;
    left: 0;
    z-index: 20;
}
.title_visual img {
    object-fit: cover;
    width: 580px;
    height: 480px;
    position: absolute;
    top: 100px;
    right: 0;
}
.title_visual img, .cotents_img img {
    border-radius: 2px;
}
#single_works .works_tag,
#single_works .works_title {
    font-family: "Josefin Sans",
    "Zen Kaku Gothic New", sans-serif;
    font-weight: 600;
}
#single_works .works_title {
    font-size: 2.4rem;
    margin: 10px 0 100px 0;
}
#single_works .works_copy {
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-size: 3.6rem;
}
.works_contents {
     position: relative;
     margin-top: 600px;
}
.cotents_img img {
    margin-top: 24px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 2px;
}
.works-text, table {
    margin: 32px 0;
    width: 60%;
    position: relative;
    left: 100%;
    transform: translateX(-100%);
}
table {
    border-collapse: collapse;
}
table th {
    vertical-align: top;
}
table td {
    font-family: "Josefin Sans",
    "Zen Kaku Gothic New", sans-serif;
    font-weight: 600;
}
table th, table td {
    padding: 10px 16px;
    border-bottom: 1px solid #252323;
}
.web_cotents_img {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
}
.longimg {
    width: 60%;
    height: fit-content;
}
.web_cotents_img img:nth-of-type(even) {
    width: 24%;
    height: fit-content;
}
.img-flex {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.img-flex img {
    width: 100%;
    object-fit: cover;
    border-radius: 2px;
}



/* レスポンシブcss */
/* 959px以下に適用（タブレット用） */
@media screen and (max-width: 959px) {
    /* FOOTER -------------------------------------------*/
    footer nav ul {
        display: block;
    }
    /* HOME-GREETING------------------------------------------------ */
	.greeting-wrap {
        width: 50%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        place-content: center;
        place-items: center;
        height: 100vh;
    }
    .greet_text {
        order: 1;
        width: 100%;
        font-size: 2rem;
        font-weight: 600;
        margin-top: 0;
        padding-left: 0px;
    }
    .illust_img {
       width: 100%; 
    }
    /* HOME-FEATURE------------------------------------------------ */
    .fade_in {
        position: relative;
        z-index: 200;
    }
    .hand {
        width: 60%;
        position: absolute;
        top: -40px;
        right: -5%;
    }
    /* 宝石1 */
    .flow:nth-child(2) {
        width: 12%;
        position: absolute;
        top: 140px;
        right: 34%;
    }
    /* 宝石2 */
    .flow:nth-child(3) {
        width: 12%;
        position: absolute;
        top: 210px;
        right: 16%;
    }
    /* 宝石３ */
    .flow:nth-child(4) {
        width: 10%;
        position: absolute;
        top: 80px;
        right: 30%;
    }
    /* omoiyari */
    .flow:nth-child(5) {
        width: 17%;
        position: absolute;
        top: 200px;
        right: 28%;
    }
    /* team */
    .flow:nth-child(6) {
        width: 14%;
        position: absolute;
        top: 120px;
        right: 16%;
    }
    .omoiyari {
        margin-top: 150px;
    }
    .omoiyari, .nakama {
        display: grid;
    }
    .mindtext {
        order: 1;
    }
    .mindtext p {
        margin-top: 12px;
    }
    .omoiyari img, .nakama img {
        margin: 0 auto;
        width: 70%;
    }
    /* HOME-WORKS------------------------------------------------ */
    .openbag {
        width: 40%;
        position: absolute;
        top: -2%;
        right: 0;
    }
    .workswrapper {
        width: 80%;
        margin: 30px auto;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: calc(100vw* 0.03);
    }
    .works_postitem {
        padding: 2% 0;
    }
    /* ABOUT CSS------------------------------------------- */
    .profile {
        margin-top: 30px;
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }
    .profile img {
        width: 40%;
        height: 310px;
        object-fit: cover;
    }
    .profile_text {
        width: 60%;
    }
    .service_wrapper {
        justify-content: space-around;
    }
    .service_contents {
        width: 36%;
    }
    .works-text, table {
        width: 80%;
    }
    /* WORKS CSS------------------------------------------- */
    #works .openbag {
        top: -3%;
        width: 50%;
    }

}
/* 480px以下に適用（スマホ用） */
@media screen and (max-width: 480px) {
    .greeting-wrap {
        width: 80%;
    }
    .hand {
        width: 60%;
        position: absolute;
        top: -40px;
        right: -3%;
    }
    form {
        width: 80%;
    }
    .contact_text {
        width: 90%;
        margin: 0 auto;
    }
    input {
        width: 100%;
    }
    /* HOME-WORKS------------------------------------------------ */
    .openbag {
        width: 60%;
        position: absolute;
        top: 0;
        right: 0;
    }
    /* ABOUT CSS------------------------------------------- */
    .service_wrapper {
        display: block;
    }
    .service_contents {
        width: 90%;
        margin: 24px 0;
    }
    .works-text, table {
        width: 100%;
    }
    /* WORKS CSS------------------------------------------- */
    #works .openbag {
        top: -2%;
        width: 65%;
    }
    /* SINGLE-WORKS CSS------------------------------------------- */
    .cotents_img img {
        height: auto;
    }
    .web_cotents_img {
        display: block;
        width: 100%;
        margin: 0 auto;
    }
    .longimg {
        width: 100%;
        margin-bottom: 20px;
    }
}
