
@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;
}
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;
}
.all-wrap {
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 100%;
    min-height: 100vh;
}
/* 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,
footer 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 {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: #f7f7f7;
    
}
.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-scl-area {
    height: 300vh;
}
.greeting-scl-box {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center
}
.greeting-item {
    display: grid;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    position: absolute; /* 位置を固定　↓上下左右中央 */
    inset-block: 0;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}
.greet-text{
    width: 80%;
    position: relative;
    top: 0;
    left: 50%;
    font-size: 2rem;
    font-weight: 600;
}
/* アスペクト比 */
/* 700 x 680  */
/* 14 x 13.6  */
.grt-illust img {
    width: 60vmin; /* ビューポートの幅または高さどちらかの最小値に合わせて幅を計算 */
    aspect-ratio: 14 / 13.6; /* 今回使用する画像が1枚700x380で作成されているから */
}
.greeting-item.is-active .greet-text,.greeting-item.is-active .grt-illust {
    opacity: 1
}
.greeting-item:nth-child(1) .greet-text,.greeting-item:nth-child(1) .grt-illust {
   animation-name: fadein;
   animation-duration: 3s;
}
@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.greeting-item .greet-text,.greeting-item .grt-illust {
    opacity: 0;
    transition: var(--transit-default)
}
.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.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------------------------------------------------ */
.fade-in {
	opacity: 0;
	transform: translateY(200px);
	transition: opacity 1.5s ease-out,transform 1s ease-out;
}
.fade-in.is-active {
	opacity: 1;
	transform: translateY(0);
}
.hand-animation img {
    opacity: 0;
}
.hand {
    width: 50%;
    position: relative;
    top: -240px;
    left: 100%;
    transform: translateX(-70%) translateY(0);
    transition: opacity 1.2s ease-out,transform 1.3s ease-out;
}
.hand-animation img.show {
	opacity: 1;
    transform: translateX(-100%) translateY(100px) rotate(15deg);
}
.flow {
    transform: translateX(100px) translateY(0);
    transition: opacity 1s ease-out,transform 1s ease-out;
}
/* 宝石1 */
.flow:nth-child(2) {
    width: 12%;
    position: relative;
    top: -400px;
    left: 20%;
}
/* 宝石2 */
.flow:nth-child(3) {
    width: 12%;
    position: relative;
    top: -120px;
    left: -10%;
}
/* 宝石３ */
.flow:nth-child(4) {
    width: 7%;
    position: relative;
    top: -260px;
    left: -10%;
}
/* omoiyari */
.flow:nth-child(5) {
    width: 17%;
    position: relative;
    top: 30px;
    left: -20%;
}
/* team */
.flow:nth-child(6) {
    width: 14%;
    position: relative;
    top: -390px;
    left: 40%;
}
.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: 120px;
}
.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-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;
}
.works_more_btn a {
    font-weight: 400;
    font-style: normal;
}
.works_more_btn:hover {
    background-color: #F2EFEF;
}
/* HOME-CONTACT------------------------------------------------ */
#contact {
    background-color: #f7f7f7;
    border-radius: 2px;
    margin: 60px auto 60px auto;
}
#contact h2 ,.confirm h2 ,.complete h2 {
    text-align: center;
    padding: 60px 0 30px 0;
}
.confirm h2 ,.complete h2 {
    margin-top: 60px;
}
.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 ,.prev_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 ,.prev_button:hover {
    background-color: #78674E;
}
.button-wrap p {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
}
/* 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: 100%;
    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 {
    margin-bottom: 30px;
}

/* カタログテスト用 */
.catalog {
    width: 80%;
    max-width: 1200px;
    margin-inline: auto;
}
.catalog-page-title {
    text-align: center;
}
.catalog-page-title h2 {
    color: #EE6F1C;
}
.catalog-page-title p:first-of-type {
    color: #EE6F1C;
    font-size: 1.25rem;
} 
.catalog-page-title p:last-child{
    color: red;
    font-size: 1rem;
}
.catalog-tags {
    display: flex;
    gap: 12px;
    justify-content: start;
    flex-wrap: wrap;
}
.tag-wrap {
    border: solid 2px #EE6F1C;
    border-radius: 100vmax;
    padding: 2px 8px;
}
.tag-wrap a {
    color: black;
    text-decoration: none;
}
.catalog-data-area {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 20px;
}
.catalog-box {
    width: 25%;
    border: 2px solid #EE6F1C;
    border-radius: 10px;
    padding: 16px;
    position: relative;
    margin-bottom: 30px;
}
.tag-name {
    display: inline;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #EE6F1C;
    border-radius: 9px 0 10px 0;
    padding: 6px 16px;
    color: #fff;
    font-size: 0.8rem;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
}
.catalog-wrap {
    display: flex;
    margin-top: 36px;
}
.catalog-link {
    flex: 1;
    width: 30%;
    height: auto;
}
.catalog-img img {
    aspect-ratio: 1 / 1.414;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.catalog-info {
    flex: 2;
    margin-left: 10px;
}


/* レスポンシブcss */
/* 959px以下に適用（タブレット用） */
@media screen and (max-width: 959px) {
    /* FOOTER -------------------------------------------*/
    footer nav ul {
        display: block;
    }
    /* HOME-GREETING------------------------------------------------ */
	.greeting-item {
        width: 50%;
        margin: 5% auto 0;
        display: grid;
        place-content: center;
        place-items: center;
        height: 100vh;
    }
    .greet-text {
        order: 0;
        width: 100%;
        font-size: 2rem;
        font-weight: 600;
        margin-top: 0;
        padding-left: 0px;
        position: relative;
        left: 0;
    }
    .illust-img {
       width: 100%; 
    }
    /* HOME-FEATURE------------------------------------------------ */
    .hand {
        width: 60%;
        position: relative;
        top: -240px;
        left: 100%;
        transform: translateX(-70%) translateY(0);
    }
    /* 宝石1 */
    .flow:nth-child(2) {
        width: 12%;
        position: relative;
        top: -400px;
        left: 0;
    }
    /* 宝石2 */
    .flow:nth-child(3) {
        width: 12%;
        position: relative;
        top: -180px;
        left: -20%;
    }
    /* 宝石３ */
    .flow:nth-child(4) {
        width: 7%;
        position: relative;
        top: -330px;
        left: -10%;
    }
    /* omoiyari */
    .flow:nth-child(5) {
        width: 17%;
        position: relative;
        top: -270px;
        left: 65%;
    }
    /* team */
    .flow:nth-child(6) {
        width: 14%;
        position: relative;
        top: -510px;
        left: 40%;
    }
    .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------------------------------------------------ */
    .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%;
    }
    /* SINGLE-WORKS CSS------------------------------------------- */
    .works_toptitle {
        position: relative;
        top: 160px;
        left: 0;
        z-index: 20;
    }
    .title_visual img {
        position: relative;
        object-fit: cover;
        width: 100%;
        height: auto;
        text-align: center;
    }
    .works_contents {
        position: relative;
        margin-top: 160px;
   }
}
/* 480px以下に適用（スマホ用） */
@media screen and (max-width: 480px) {
    .greeting-item {
        width: 80%;
    }
    .hand-animation {
        display: none;
    }
    .omoiyari {
        margin-top: 60px;
    }
    .openbag {
        width: 50%;
        position: absolute;
        top: -20px;
        right: 0;
        overflow: hidden;
        z-index: -5;
    }
    form {
        width: 80%;
    }
    .contact_text {
        width: 90%;
        margin: 0 auto;
    }
    input {
        width: 100%;
    }
    /* 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;
    }
}
