@charset "UTF-8";

/* * {
    outline: 1px solid magenta;
} */

/* 
VARIABLES
================================ */
:root {
    --orange: #f1690d;
    --lightyyellow: #f19053;
    --white: #ffffff;
    --black: #000000;
    --dark-grey: #3d3d3d;
    --light-grey: #c8c8c8e1;
    --big-font: 'Open Sans', sans-serif;
    --small-font: 'Noto Sans JP', sans-serif;
}

/* 
GENERAL STYLING
================================ */
body {
    color: var(--dark-grey);
    background-color: var(--white);
    text-align: center;
    font-size: 10px;
    min-height: 460px;
    -webkit-text-size-adjust: 100%;
}
html {
    align-items: center;
    /* viewport 375px のとき font-size 16px*/
    font-size: calc(100vw * 16 / 375);
    
    @media (min-width: 768px) {
      /* viewport 768px のとき font-size 12px*/
      font-size: calc(100vw * 12 / 768);
    }
    
    @media (min-width: 1240px) {
      /* viewport 1240px のとき font-size 16px */
      font-size: calc(100vw * 16 / 1240);
    }
    
    @media (min-width: 1440px) {
      /* viewport 1440px のとき font-size 18px */
      font-size: calc(100vw * 18 / 1440);
    }
  }

  /* 
COMMON
================================ */
p {
    line-height: 1.7;
    }
    img {
    max-width: 100%;
    }
    .title {
    font-family: var(--big-font);
    font-size: min(10vw, 4rem);
    color: var(--orange);
    margin-bottom: 2rem;
    }
    .fadein {
    opacity: 0;
    }

/* LAYOUT
================================ */
.wrapper {
    max-width: 100vw;
    margin: auto;
    padding: 0;
}
.spacer {
    margin-bottom: 60px;
}
.spacer2 {
    margin-bottom: 40px;
}
#profile {
    padding-top: 12%;
    margin-top: -12%;
}
#works {
    padding-top: 42%;
    margin-top: -42%;
}
#contact {
    padding-top: 25%;
    margin-top: -25%;
}


/* 
LOADING
================================ */
#loading {
    display: none;
    &.is-active {
        display: block;
    background-color: var(--white);
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    }
}
#loading-sp {
    display: none;
    &.is-active {
        display: block;
    background-color: var(--white);
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    }
}
.animation {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
}
#loading-screen {
    background-color: var(--orange);
    position: fixed;
    inset: 0;
    z-index: 9998;
    translate: 0 100vh;
}
#loading p {
    font-size: 2rem;
    font-family: var(--small-font);
    color: var(--white);
}

/* 
SLIDE MENU
================================ */
/* 開閉ボタン */
.btn-menu {
    position: fixed;
    right: 1rem;
    top: 0.5rem;
    z-index: 4;
    padding: .5rem 1rem;
    border: none;
    height: 5rem;
    width: 5rem;
    transition: .4s;
}
.btn-menu svg {
    fill: var(--dark-grey);
    margin-top: .25rem;
    height: 2rem;
    width: 2rem;
}

/* 閉じるボタン */
#menu-close {
    border: none;
}
#menu-close svg {
    fill: var(--white);
}

/* スライドメニューパネル */
#menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 4;
    padding: 8rem 2rem 2rem;
    width: max(20vw, 20rem);
    height: 100vh;
    background-color: var(--black);
    box-shadow: 0 0 2rem var(--dark-grey);
    opacity: 0.9;
    font-family: var(--small-font);
    translate: 100vw;
}
.menu-list {
    list-style: none;
}
.menu-list li {
    display: box;
    margin: 1.5rem 0;
    vertical-align: middle;
    opacity: 0;
}
.menu-list a {
    display: block;
    -webkit-box-align: center;
    color: var(--white);
    text-decoration: none;
    font-size: 3rem;
}
.menu-list a:hover {
    color: var(--lightyyellow);
}

/* HEADER
================================ */
header {
    position: sticky;
    top: 0;
    z-index: 3;
    width:100vw;
    margin: 0 calc(50% - 50vw);
    border-bottom: solid 1px var(--orange);
    background-color: rgba(255, 255, 255, 0.80);
    box-shadow: 0 10px 10px -10px rgba(163, 108, 31, 0.5);
}
.header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    height: 12vh;
    margin: auto;
}
.logo-title {
    width: 20%;
    grid-column: 1;
    align-items: left;
    min-width: 250px;
    max-width: 350px;
    margin-left: 20%;
    margin-bottom: 0;
    object-fit: contain;
}
.header-nav {
    width: 15%;
}
.header-nav ul {
    display: flex;
    grid-column: 2;
    font-family: var(--big-font);
    font-weight: 300;
    font-size: .7rem;
    color: grey;
    margin-left: 0;
}
.header-nav ul li {
    border-top: var(--light-grey) solid 1px;
    border-bottom: var(--light-grey) solid 1px;
    padding: 1rem;
}
.header-nav ul li a {
    margin: 3rem;
}
.sns {
    display: flex;
    grid-column: 3;
    max-width: 200px;
    margin: auto;
}
.twitter, .instagram, .fb {
    width: 1.5rem;
    margin: 10px;
    object-fit: contain;
}
.fb {
    width: 1.3rem;
    height: 2rem;
}
.inner-header {
    display: inline-block;
    max-width: 100rem;
    width: 100%;
    height: 100%;
    text-align: left;
    margin: auto;
}
.catch-copy {
    font-family: var(--small-font);
    font-size: .3rem;
    letter-spacing: 0.2rem;
    color: #8f8e8e;
    height: 100%;
    margin-left: 5%;
    padding-bottom: .5rem;
    background-color: none;
}

/* for SP */
.sp-header {
    display: none;
}

/* HERO
================================ */
.hero {
    display: block;
    height: 85vh;
    margin: 2% 5%;
    text-align:left;
}
.profile-info {
    height: 25vh;
    object-fit: contain;
}
.works-info {
    height: 25vh;
    object-fit: contain;
}
.contact-info {
    height: 25vh;
    object-fit: contain;
}

/* for SP */
.sp-top {
    display: none;
}

/* WORKS
=============================== */
.sp-works-title { display: none !important }
.sp-works-thumb { display: none !important }
.works {
    display: flex;
    flex-direction: column-reverse;
}
.works-content .title {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    color: var(--dark-grey);
    font-size: 5rem;
    position: relative;
    padding-bottom: 0rem;
    margin-left: 20%;
    margin-bottom: 0rem;
    letter-spacing: 2rem;
    width: 100%;
}
.works-content .title::after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px var(--light-grey);
    bottom: -3px;
    width: 70%;
  }
.works-image {
    width: min(100%, calc(100rem - 2rem));
    margin: 0 5%;
    position: relative;
}
.works-image::after {
    display: block;
    content: '';
    width: calc(100% - 2rem);
    height: calc(100% - 2.5rem);
    z-index: 3;
    top: 1rem;
    left: 1rem;
    position: absolute;
}
.works-image img {
    aspect-ratio: 8/6;
    object-fit: contain;
    width: 100%;
    margin: 0;
    margin-right: -100px;
}
.works-p {
    position: absolute;
    font-family: initial;
    font-size: .8rem;
    color: var(--dark-grey);
    width: 50%;
    height: 15%;
    top: 65%;
    left: 10%;
    text-align: start;
    padding: 0.5rem;
    margin: auto 30px auto auto;
    z-index: 2;
    overflow-y: scroll;
    border: solid 2px rgba(#fff,.1);
    border: solid 2px rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
    text-shadow: 1px 1.5px 1px var(--white);
    backdrop-filter: blur(6px);
}
.works-thumbnails {
    display: grid;
    gap: 4rem;
    grid-template-columns: repeat(2, 1fr);
    list-style: none;
    margin: 4rem 0 0 20%;
}
.works-thumbnails img {
    aspect-ratio: 3/4;
    object-fit: contain;
    cursor: pointer;
}
.works-thumbnails .img1 {
    object-fit: cover;
}

/* 
PROFILE
=============================== */
.sp-prof-title { display: none !important }
.profile {
    display: block;
}
.profile .title {
    font-family:  'Oswald', sans-serif;
    color: var(--dark-grey);
    font-size: 5rem;
    border-bottom: solid 3px var(--dark-grey);
    position: relative;
    padding-bottom: 0;
    margin-left: 5%;
    margin-bottom: 0rem;
    z-index: 1;
    width: 20%;
    letter-spacing: 1.5rem;
}
.profile .title::after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px var(--light-grey);
    bottom: -3px;
    width: 70%;
  }
.prof-pict {
    position: relative;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
}
.prof-pict img {
    width: 100%;
    vertical-align: top;
    object-fit: contain;
}
.prof-text {
    position: absolute;
    font-family: initial;
    color: var(--white);
    width: 50%;
    height: 36%;
    top: 50%;
    left: 38%;
    text-align: start;
    padding: 0.5rem;
    margin: auto 30px auto auto;
    z-index: 2;
    overflow-y: scroll;
    border: solid 2px rgba(#fff,.1);
    border: solid 2px rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
}
.prof-text h5 {
    font-size: 1rem;
    margin: 0.5rem 0 0 0;
    text-shadow: 1px 1.5px 7px var(--dark-grey);
}
.prof-text h3 {
    font-size: 2rem;
    letter-spacing: 0.15rem;
    margin: 0;
    text-shadow: 1px 1.5px 7px var(--dark-grey);
}
.prof-text h6 {
    font-size: 1rem;
    margin: 0;
    text-shadow: 1px 1.5px 7px var(--dark-grey);
}
.prof-text h4 {
    font-size: 0.9rem;
    letter-spacing: 0.15rem;
}
.prof-text h4 p {
    font-weight: 100;
    margin: 0;
    text-shadow: 1px 1.5px 7px var(--dark-grey);
}

/* 
CONTACT
=============================== */
.contact {
    max-width: 2000px;
    margin: 4rem auto;
}
.contact p {
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    text-align: left;
    margin-left: 5.5%;
    margin-top: 0;
}
@media only screen and (max-width: 768px) {
    .contact {
        width: 95%;
    }
}
.contact .title {
    font-family:'Oswald', sans-serif;
    color: var(--dark-grey);
    font-size: 2rem;
    border-bottom: solid 3px var(--dark-grey);
    position: relative;
    padding-bottom: 0;
    margin-left: 5%;
    margin-bottom: 1rem;
    width: 30%;
    letter-spacing: 1.5rem;
}
.contact .title::after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px var(--light-grey);
    bottom: -3px;
    width: 70%;
  }
.contact form {
    margin: 0 5% 0 5%;
}
.contact form table {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
}
.contact form table tr:first-child td::before {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    height: 1px;
    border-bottom: solid 1px var(--light-grey);
}
@media only screen and (max-width: 768px) {
    .contact form table tr:first-child td::before {
        display: none;
    }
}
.contact form table {
    height: 10%;
}
.contact form table tr th {
    width: 30%;
    font-size: clamp(18px, 1.5rem, 32px);
    font-weight: normal;
    padding: 1em .5em;
    background: var(--dark-grey);
    color: #fff;
    position: relative;
    box-sizing: border-box;
}
@media only screen and (max-width: 768px) {
   .contact form table tr th {
    text-align: center;
    font-size: clamp(18px, 1.5rem, 32px);
    width: 100%;
    display: block;
    padding: .8em .2em;
   }
}
.contact form table tr th span {
    background: var(--white);
    font-size: clamp(14px, 1rem, 24px);
    padding: .3em .3em;
    color: #d90808;
    margin-left: .5em;
    box-sizing: border-box;
}
.contact form table tr th::after {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    height: 1px;
    border-bottom: solid 1px #fff;
}
.contact form table tr td {
    position: relative;
    padding: 1em .5em;
    box-sizing: border-box;
}
@media only screen and (max-width: 768px) {
    .contact form table tr td {
        padding: 1.5em .5em;
        display: block;
        width: 100%;
    }
}
.contact form table tr td:after {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    height: 1px;
    border-bottom: solid 1px rgba(28, 46, 83, 0.5);
}
.contact form table tr select, .contact form table tr textarea, .contact form table tr .wide {
    width: 100%;
    height: 3em;
    padding: 0;
    box-sizing: border-box;
}
.contact form table tr textarea {
    height: 30em;
}

.btn {
    text-align: center;
    margin-top: 2rem;
}
.btn input {
    display: inline-block;
    background: var(--orange);
    font-size: clamp(18px, 1.5rem, 28px);
    padding: .5em 4em;
    color: var(--white);
    text-decoration:rgba(255, 255, 255, 0.90);
    cursor: pointer;
    border: none;
    transition: all 0.4s;
}
button [type="submit"] {
    display: inline-block;
    background: var(--orange);
    font-size: clamp(18px, 1.5rem, 28px);
    padding: .5em 4em;
    color: var(--white);
    text-decoration:rgba(255, 255, 255, 0.90);
    cursor: pointer;
    border: none;
    transition: all 0.4s;
}
.btn-back {
    display: block;
    font-family: var(--small-font);
    color: var(--dark-grey);
    text-align: center;
    margin-top: 2rem;
}
.btn-back a {
    text-decoration: none;
    color: var(--dark-grey);
    font-size: .5rem;
}
.btn-back a:hover {
    color: var(--orange);
}

/* 
FOOTER
=============================== */
footer {
    line-height: 10vh;
    text-align: center;
    margin-top: 5rem;
}
footer div {
    height: 10vh;
}
footer h5 {
    margin: auto;
    font-family: var(--small-font);
    font-weight: 0.5;
    color: var(--dark-grey);
    font-size: .5rem;
}

/* FOR Safari */
 
::-webkit-full-page-media, :future, :root header {
    position: sticky;
    top: 0;
    z-index: 3;
    width: 100vw;
    height: 18vh;
    margin: 0 calc(50% - 50vw);
    margin-bottom: 3vh;
    border-bottom: solid 1px var(--orange);
    background-color: rgba(255, 255, 255, 0.80);
    box-shadow: 0 10px 10px -10px rgba(163, 108, 31, 0.5);
}
::-webkit-full-page-media, :future, :root .header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100rem;
    height: 50%;
    margin: auto;
}
::-webkit-full-page-media, :future, :root .logo-title {
    width: 20%;
    grid-column: 1;
    align-items: left;
    min-width: 300px;
    max-width: 400px;
    margin-left: 20%;
    margin-bottom: 0;
    margin-top: -.5rem;
    object-fit: contain;
}
::-webkit-full-page-media, :future, :root .header-nav {
    width: 15%;
}
::-webkit-full-page-media, :future, :root .header-nav ul {
    display: flex;
    grid-column: 2;
    font-family: var(--big-font);
    font-weight: 300;
    font-size: .2rem;
    color: grey;
    margin-left: 0;
    margin-top: -.5rem;
}
::-webkit-full-page-media, :future, :root .header-nav ul li {
    padding: .25rem;
}
::-webkit-full-page-media, :future, :root .header-nav ul li a {
    margin: .8rem;
}
::-webkit-full-page-media, :future, :root .sns {
    display: flex;
    grid-column: 3;
    max-width: 50px;
    margin: auto;
    margin-top: -.5rem;
}
::-webkit-full-page-media, :future, :root .twitter, .instagram, .fb {
    width: 3rem;
    height: 3rem;
    margin: 10px;
    object-fit: contain;
}
::-webkit-full-page-media, :future, :root .fb {
    width: 2.8rem;
    height: 2.8rem;
}
::-webkit-full-page-media, :future, :root .inner-header {
    display: inline-block;
    max-width: 100rem;
    width: 100%;
    height: 20%;
    text-align: left;
    margin: .3rem auto auto;
}
::-webkit-full-page-media, :future, :root .catch-copy {
    font-family: var(--small-font);
    font-size: 0.15rem;
    color: #8f8e8e;
    letter-spacing: .1rem;
    width: 80%;
    height: 50%;
    margin: .3rem auto .5rem 5%;
    padding-bottom: 0;
    background-color: none;
}

/* for Safari Contents */
::-webkit-full-page-media, :future, :root .works-content .title {
font-family: 'Oswald', sans-serif;
font-weight: 500;
color: var(--dark-grey);
font-size: 2rem;
position: relative;
padding-bottom: 0rem;
margin-left: 5%;
margin-bottom: 0rem;
letter-spacing: .5rem;
width: 100%;
}
::-webkit-full-page-media, :future, :root .works-content .works-image .works-p {
    position: absolute;
    font-family: initial;
    font-size: .2rem;
    color: var(--dark-grey);
    width: 50%;
    height: 18%;
    top: 65%;
    left: 10%;
    text-align: start;
    padding: 0.5rem;
    margin: auto 30px auto auto;
    z-index: 2;
    overflow-y: scroll;
    border: solid 2px rgba(#fff,.1);
    border: solid 2px rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
    text-shadow: 1px 1.5px 1px var(--white);
    backdrop-filter: blur(6px);
}

::-webkit-full-page-media, :future, :root .works-thumbnails {
display: grid;
gap: .8rem;
grid-template-columns: repeat(2, 1fr);
list-style: none;
width: 70%;
height: 70%;
margin: 1rem 0 0 1rem;
}

::-webkit-full-page-media, :future, :root .works-thumbnails img {
aspect-ratio: 3/4;
object-fit: contain;
cursor: pointer;
}

::-webkit-full-page-media, :future, :root .profile .title {
font-family:  'Oswald', sans-serif;
color: var(--dark-grey);
font-size: 2rem;
border-bottom: solid 3px var(--dark-grey);
position: relative;
padding-bottom: 0;
margin-left: 5%;
margin-bottom: 0rem;
z-index: 1;
width: 20%;
letter-spacing: .5rem;
}

::-webkit-full-page-media, :future, :root .prof-text {
position: absolute;
font-family: initial;
color: var(--white);
width: 50%;
height: 36%;
top: 50%;
left: 38%;
text-align: start;
padding: 0.25rem;
margin: auto 30px auto auto;
z-index: 2;
overflow-y: scroll;
border: solid 2px rgba(#fff,.1);
border: solid 2px rgba(255, 255, 255, 0.1);
box-sizing: border-box;
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
backdrop-filter: blur(6px);
}
::-webkit-full-page-media, :future, :root .prof-text h5 {
font-size: .2rem;
margin: .1rem 0 0 0;
text-shadow: 1px 1.5px 7px var(--dark-grey);
}
::-webkit-full-page-media, :future, :root .prof-text h3 {
font-size: .7rem;
letter-spacing: 0.15rem;
margin: 0;
text-shadow: 1px 1.5px 7px var(--dark-grey);
}
::-webkit-full-page-media, :future, :root .prof-text h6 {
font-size: .2rem;
margin: 0;
text-shadow: 1px 1.5px 7px var(--dark-grey);
}
::-webkit-full-page-media, :future, :root .prof-text h4 {
font-size: .25rem;
letter-spacing: 0.08rem;
}
.prof-text h4 p {
font-weight: 100;
margin: 0;
text-shadow: 1px 1.5px 7px var(--dark-grey);
}

::-webkit-full-page-media, :future, :root .go-to-top { 
display: block;
width: .4rem;
margin: 1rem auto 0;
}

::-webkit-full-page-media, :future, :root footer {
line-height: 10vh;
text-align: center;
margin-top: 1rem;
}
::-webkit-full-page-media, :future, :root footer div {
height: 10vh;
}
::-webkit-full-page-media, :future, :root footer h5 {
margin: auto;
font-family: var(--small-font);
font-weight: 0.5;
color: var(--dark-grey);
font-size: .25rem;
}

::-webkit-full-page-media, :future, :root .contact {
max-width: 2000px;
margin: .5rem auto;
}
::-webkit-full-page-media, :future, :root .contact p {
font-size: .5rem;
letter-spacing: 0.1rem;
text-align: left;
margin-left: 5.5%;
margin-top: 0;
}
@media only screen and (max-width: 768px) {
.contact {
    width: 95%;
}
}
::-webkit-full-page-media, :future, :root .contact .title {
font-family:'Oswald', sans-serif;
color: var(--dark-grey);
font-size: 1rem;
border-bottom: solid 3px var(--dark-grey);
position: relative;
padding-bottom: 0;
margin-left: 5%;
margin-bottom: .25rem;
width: 30%;
letter-spacing: .25rem;
}
.contact .title::after {
position: absolute;
content: " ";
display: block;
border-bottom: solid 3px var(--light-grey);
bottom: -3px;
width: 70%;
}


 /* for FireFox */

 @-moz-document url-prefix(){
 header {
    position: sticky;
    top: 0;
    z-index: 3;
    width: 100vw;
    height: 20vh;
    margin: 0 calc(50% - 50vw);
    margin-bottom: 3vh;
    border-bottom: solid 1px var(--orange);
    background-color: rgba(255, 255, 255, 0.80);
    box-shadow: 0 10px 10px -10px rgba(163, 108, 31, 0.5);
}
.header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100rem;
    height: 50%;
    margin: auto;
}
.logo-title {
    width: 20%;
    grid-column: 1;
    align-items: left;
    min-width: 300px;
    max-width: 400px;
    margin-left: 20%;
    margin-bottom: 0;
    margin-top: -.5rem;
    object-fit: contain;
}
.header-nav {
    width: 15%;
}
.header-nav ul {
    display: flex;
    grid-column: 2;
    font-family: var(--big-font);
    font-weight: 300;
    font-size: .25rem;
    color: grey;
    margin-left: 0;
    margin-top: -.5rem;
}
.header-nav ul li {
    padding: .25rem;
}
.header-nav ul li a {
    margin: .8rem;
}
.sns {
    display: flex;
    grid-column: 3;
    max-width: 50px;
    margin: auto;
    margin-top: -.5rem;
}
.instagram, .fb {
    width: 3rem;
    margin: 10px;
    object-fit: contain;
}
.fb {
    width: 2.8rem;
    height: 2.8rem;
}
.inner-header {
    display: inline-block;
    max-width: 100rem;
    width: 100%;
    height: 20%;
    text-align: left;
    margin: .25rem auto auto;
}
.catch-copy {
    font-family: var(--small-font);
    font-size: 0.2rem;
    color: #8f8e8e;
    letter-spacing: .1rem;
    width: 80%;
    height: 50%;
    margin: .3rem auto 1% 5%;
    padding-bottom: 0;
    background-color: none;
}

/* for FireFox */
.works-content .title {
font-family: 'Oswald', sans-serif;
font-weight: 500;
color: var(--dark-grey);
font-size: 2rem;
position: relative;
padding-bottom: 0rem;
margin-left: 5%;
margin-bottom: 0rem;
letter-spacing: .5rem;
width: 100%;
}

.works-thumbnails {
display: grid;
gap: .8rem;
grid-template-columns: repeat(2, 1fr);
list-style: none;
width: 70%;
height: 70%;
margin: 1rem 0 0 1rem;
}

.works-thumbnails img {
aspect-ratio: 3/4;
object-fit: contain;
cursor: pointer;
}

.profile .title {
font-family:  'Oswald', sans-serif;
color: var(--dark-grey);
font-size: 2rem;
border-bottom: solid 3px var(--dark-grey);
position: relative;
padding-bottom: 0;
margin-left: 5%;
margin-bottom: 0rem;
z-index: 1;
width: 20%;
letter-spacing: .5rem;
}

.prof-text {
position: absolute;
font-family: initial;
color: var(--white);
width: 50%;
height: 36%;
top: 50%;
left: 38%;
text-align: start;
padding: 0.25rem;
margin: auto 30px auto auto;
z-index: 2;
overflow-y: scroll;
border: solid 2px rgba(#fff,.1);
border: solid 2px rgba(255, 255, 255, 0.1);
box-sizing: border-box;
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
backdrop-filter: blur(6px);
}
.prof-text h5 {
font-size: .2rem;
margin: .1rem 0 0 0;
text-shadow: 1px 1.5px 7px var(--dark-grey);
letter-spacing: .1rem;
}
.prof-text h3 {
font-size: .7rem;
letter-spacing: 0.15rem;
margin: 0;
text-shadow: 1px 1.5px 7px var(--dark-grey);
}
.prof-text h6 {
font-size: .2rem;
margin: 0 auto .25rem;
letter-spacing: .1rem;
text-shadow: 1px 1.5px 7px var(--dark-grey);
}
.prof-text h4 {
font-size: .25rem;
letter-spacing: 0.08rem;
}
.prof-text h4 p {
font-weight: 100;
margin: 0;
text-shadow: 1px 1.5px 7px var(--dark-grey);
}

.go-to-top { 
display: block;
width: .4rem;
margin: 1rem auto 0;
}

footer {
line-height: 10vh;
text-align: center;
margin-top: 1rem;
}
footer div {
height: 10vh;
}
footer h5 {
margin: auto;
font-family: var(--small-font);
font-weight: 0.5;
color: var(--dark-grey);
font-size: .25rem;
}
.contact {
max-width: 2000px;
margin: .5rem auto;
}
.contact p {
font-size: .5rem;
letter-spacing: 0.1rem;
text-align: left;
margin-left: 5.5%;
margin-top: 0;
}
@media only screen and (max-width: 768px) {
.contact {
    width: 95%;
}
}
.contact .title {
font-family:'Oswald', sans-serif;
color: var(--dark-grey);
font-size: 1rem;
border-bottom: solid 3px var(--dark-grey);
position: relative;
padding-bottom: 0;
margin-left: 5%;
margin-bottom: .25rem;
width: 30%;
letter-spacing: .25rem;
}
.contact .title::after {
position: absolute;
content: " ";
display: block;
border-bottom: solid 3px var(--light-grey);
bottom: -3px;
width: 70%;
}
}

/* 
DESKTOP SIZE
=============================== */
@media (min-width: 1024px) {
    
/* WORKS */
    .works {
        flex-direction: row;
        margin: auto;
    }
    .works-image {
        width: 100%;
        margin-right: 50px;
    }
    .works-image img {
        height: 100%;
    }
    .works-content {
        width: 30vw;
        margin: 0;
        margin-right: -50px;
    }
    .works-content .title {
        margin-top: 0;
    }
    .works-thumbnails {
        gap: 3vw;
        grid-template-columns: repeat(2, 1fr);
    }
    .works-thumbnails img:hover {
        box-shadow: 0 0 1rem rgba(0,0,0,.4);
        transition: .4s;
    }
}
.btn-menu { display: none !important; }
.scrolldown4 { display: none !important;}
.go-to-top { 
    display: block !important;
    width: 1.2rem;
    margin: 2rem auto 0;
}

/*
fuzai.html
=============================== */
    .bg {
        background-color: #EFEDE4;
        width: 100%;
        margin-top: -1%;
    }
    .item5 {
        width: 100vw;
        max-width: 1980px;
        margin: 0 auto 0;
        object-fit: cover;
    }
    .article-title {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 2rem;
    }
    .brand {
        font-family: 'Oswald','sans-serif';
        font-weight: 600;
        font-size: 1rem;
        text-align: start;
        margin-left: 5%;
    }
    .brand2 {
        font-family: 'Oswald','sans-serif';
        font-weight: 600;
        font-size: 2rem;
        text-align: start;
        margin-left: 5%;
        padding-right: 1rem;
        white-space: nowrap;
    }
    .category {
        display: inline-block;
        font-family: var(--big-font);
        font-size: 1rem;
        color: var(--orange);
        text-align: left;
        align-self: center;
        padding-left: 1rem;
        margin-right: 5%;
        border-left: #f1690d solid 1px;
    }
    .article-content p {
        font-family: var(--small-font);
        font-size: .8rem;
        font-weight: 300;
        letter-spacing: .2rem;
        text-align: start;
        padding: 0 5%;
        margin-top: 2%;
    }
    .link {
        font-family: var(--small-font);
        font-size: .8rem;
        font-weight: 300;
        letter-spacing: .2rem;
        margin: 2rem auto 0;
    }
    .link span {
        border-bottom: solid 1px;
        color: var(--orange);
    }
/* 
SMARTPHONE
=============================== */
@media only screen and (max-width: 560px) {
    .wrapper {
        width: 100vw;
    }
    .header {display: none !important; }
    .inner-header { display: none !important;}
    .hero { display: none !important;}
    .works-content { display: none !important; }
    .works-image { display: none !important; }
    .profile .title { display: none !important; }
    #loading {display: none !important; }
    #loading-screen {display: none !important; }
    #loading-sp {display: none !important; }
    
    
    
    /* SP-HEADER */
    header {
        border-bottom: none !important;
        background-color: rgba(255, 255, 255, 0.60);
        box-shadow: none !important;
        height: 10vh;
    }
    .sp-header {
        display: flex !important;
        width: 100%;
        height: 10vh;
        align-items: center;
        justify-content: space-between;
    }
    .logo-sp-header {
        width: 3rem;
        margin-left: 2rem;
    }
    .sp-nav {
        display: flex;
        margin-right: 5rem;
    }
    .sp-nav li {
        list-style: none;
        font-family: var(--small-font);
        font-size: 0.8rem;
        margin: auto;
        padding: 0.3rem;
    }
    .sp-nav li a {
        color: var(--dark-grey);
        text-decoration: none;
    }

    /* SP-HERO */
    .sp-top {
        display: block !important;
        width: 100%;
        height: 70dvh;
        margin:auto;
    }
    .sp-top img {
        width: 50%;
    }
    .sp-top h2 {
        font-family: var(--small-font);
        font-size: 2rem;
        margin: 15% auto 20% auto;
    }

    /*=== 9-1-4 矢印が動いてスクロールを促す  ====*/

/*スクロールダウン全体の場所*/
.scrolldown4 {
    /*描画位置※位置は適宜調整してください*/
    display: block !important;
	position:absolute;
	bottom: 2%;
	right:15%;
    /*矢印の動き1秒かけて永遠にループ*/
	animation: arrowmove 1s ease-in-out infinite;
}

/*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove {
      0%{bottom: 2%;}
      50%{bottom: 5%;}
     100%{bottom: 2%;}
 }

/*Scrollテキストの描写*/
.scrolldown4 span{
    /*描画位置*/
	position: absolute;
	left:-20px;
	bottom:10%;
    /*テキストの形状*/
	color: var(--dark-grey);
	font-size: 0.7rem;
	letter-spacing: 0.05em;
	/*縦書き設定*/
	-ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scrolldown4:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: -50%;
    right: -6px;
    /*矢印の形状*/
    width: 1px;
    height: 20px;
    background: var(--dark-grey);
    transform: skewX(-31deg);
}

.scrolldown4:after{
	content:"";
    /*描画位置*/
	position: absolute;
	bottom:-50%;
	right:0;
    /*矢印の形状*/
	width:1px;
	height: 50px;
	background: var(--dark-grey);
}

/* ハンバーガーメニュー */
    /* 開閉ボタン */
.btn-menu {
    display: -webkit-box !important;
    position: fixed;
    right: .2rem;
    top: .3rem;
    z-index: 4;
    padding: .5rem 1rem;
    border: none;
    height: 5rem;
    width: 5rem;
    transition: .4s;
}
.btn-menu svg {
    fill: var(--dark-grey);
    margin-top: .2rem;
    height: 2rem;
    width: 2rem;
}

/* 閉じるボタン */
#menu-close {
    border: none;
}
#menu-close svg {
    fill: var(--white);
}

/* SP-WORKS */
    .sp-works-title {
        display: inline-block !important;
        font-family: 'oswald', 'sans-serif';
        font-size: 3rem;
        color: var(--dark-grey);
        text-align: left;
        margin-left: 2rem;
        margin-bottom: 2rem;
    }
    .sp-works-thumb {
        display: flex !important;
        flex-direction: column;
        width: 100vw;
        margin: auto;
        margin-top: 1rem;
    }
    .sp-works-thumb p {
        font-family: initial;
        font-size: .75rem;
    }
    .img1 {
        width: 100%;
        margin: .5rem 0 3rem;
        border-top: none;
        border-bottom: #8f8e8e .5px solid;
        box-shadow: 0 10px 10px -10px rgba(163, 108, 31, 0.5);
    }
    .img2, .img3, .img4, .img5, .img6 {
        width: 80%;
        margin: .5rem 0 3rem;
        border-top: #8f8e8e .5px solid;
        border-bottom: #8f8e8e .5px solid;
        box-shadow: 0 10px 10px -10px rgba(163, 108, 31, 0.5);
        padding: 2rem 5rem;
    }
    .main-items {
        display: flex;
        height: 35vh;
        flex-direction: row;
        background-color: rgb(240, 238, 238);
        margin-top: 0;
    }
    .main-items2 {
        display: flex;
        height: 35vh;
        flex-direction: row;
        background-color: rgb(0, 0, 0);
        margin-top: 0;
    }
    .item1 {
        width: 70vw;
        margin: 0 5% 0 0;
        object-fit: cover;
    }
    .item2 {
        width: 20vw;
        object-fit: contain;
        margin: 5% 5% 5% 0;
    }
    .item3 {
        width: 70vw;
        margin: 0 5% 0 0;
        object-fit: cover;
        object-position: 90%;
    }
    .item4 {
        width: 70vw;
        margin: 0 5% 0 0;
        object-fit: cover;
    }
    .item5 {
        width: 100vw;
        margin: 0 5% 0 0;
        object-fit: cover;
    }
    .article-title {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 10%;
    }
    .brand {
        font-family: 'Oswald','sans-serif';
        font-weight: 600;
        font-size: 1rem;
        text-align: start;
        margin-left: 5%;
    }
    .brand2 {
        font-family: 'Oswald','sans-serif';
        font-weight: 600;
        font-size: .9rem;
        text-align: start;
        margin-left: 5%;
        padding-right: 1rem;
        white-space: nowrap;
    }
    .category {
        display: inline-block;
        font-family: var(--big-font);
        font-size: 1rem;
        color: var(--orange);
        text-align: left;
        align-self: center;
        padding-left: 1rem;
        margin-right: 5%;
        border-left: #f1690d solid 1px;
    }
    .article-content p {
        font-family: var(--small-font);
        font-size: .8rem;
        font-weight: 300;
        letter-spacing: .2rem;
        text-align: start;
        padding: 5%;
        margin-top: 5%;
    }
    .link {
        font-family: var(--small-font);
        font-size: .8rem;
        font-weight: 300;
        letter-spacing: .2rem;
        margin: 2rem auto 0;
    }
    .link span {
        border-bottom: solid 1px;
        color: var(--orange);
    }

    /* SP-PROFILE */
    .sp-prof-title {
        display: inline-block !important;
        font-family: 'oswald', 'sans-serif';
        font-size: 3rem;
        color: var(--dark-grey);
        text-align: left;
        margin-left: -140px;
        margin-bottom: .5rem;
    }
    .prof-pict img {
        height: 70vh;
        vertical-align: top;
        object-fit: cover;
        object-position: 30% 20%;
    }
    .prof-text {
        position: absolute;
        font-family: initial;
        color: var(--white);
        width: 100% !important;
        height: 45% !important;
        top: 50% !important;
        left: 0 !important;
        text-align: start;
        padding: 0.5rem;
        margin: auto 30px auto auto;
        z-index: 2;
        overflow-y: scroll;
        border: solid 2px rgba(#fff,.1);
        border: solid 2px rgba(255, 255, 255, 0.1);
        box-sizing: border-box;
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(6px);
    }
    .prof-text h3 {
        font-size: 1.5rem !important;
        letter-spacing: 0.15rem;
        margin: 0;
        text-shadow: 1px 1.5px 7px var(--dark-grey);
    }
    .prof-text h5 {
        font-size: .8rem !important;
        margin: 0.5rem 0 0 0;
        text-shadow: 1px 1.5px 7px var(--dark-grey);
    }
    .prof-text h6 {
        font-size: .8rem !important;
        margin: 0;
        text-shadow: 1px 1.5px 7px var(--dark-grey);
    }
    .prof-text h4 {
        font-size: 1rem !important;
        letter-spacing: 0.15rem;
    }
    /* FOOTER-SP */
    footer h5 {
        margin: auto;
        font-family: var(--small-font);
        font-weight: 0.5;
        color: var(--dark-grey);
        font-size: .6rem !important;
    }
/*====== 9-1-1 縦線が動いてスクロールを促す =======*/

/*スクロールダウン全体の場所*/
.scrolldown1{
    /*描画位置※位置は適宜調整してください*/
	position:absolute;
	left:98%;
	top:10px;
    /*全体の高さ*/
	height:200px;
}

/*Scrollテキストの描写*/
.scrolldown1 span{
    /*描画位置*/
	position: fixed;
	left:-15px;
	top: -15px;
    /*テキストの形状*/
	color: #eee;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
    /*縦書き設定*/
	-ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 線の描写 */
.scrolldown1::after{
	content: "";
    /*描画位置*/
	position: absolute;
	top: 0;
    /*線の形状*/
	width: 3px;
	height: 200px;
	background: #eee;
    /*線の動き1.4秒かけて動く。永遠にループ*/
	animation: pathmove 1.4s ease-in-out infinite;
	opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
	0%{
		height:0;
		top:0;
		opacity: 0;
	}
	30%{
		height:30px;
		opacity: 1;
	}
	100%{
		height:0;
		top:50px;
		opacity: 0;
	}
}

    .go-to-top {
        display: block !important;
        width: 1.2rem !important;
        margin: 2rem auto 0;
    }
    /* SP-FOOTER */
    footer {
        line-height: 10vh;
        text-align: center;
        margin-top: .5rem;
    }
    footer div {
        height: 20px;
    }
    footer h5 {
        margin: auto;
        font-family: var(--small-font);
        font-weight: 0.5;
        color: var(--dark-grey);
        font-size: 0.5rem;
    }
}

/*
TABLET
===================================*/
@media only screen and (min-width:590px) and (max-width:1280px) {

.header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100rem;
    height: 50%;
    margin: auto;
}
.logo-title {
    width: 20%;
    grid-column: 1;
    align-items: left;
    min-width: 250px;
    max-width: 350px;
    margin-left: 0;
    margin-bottom: 0;
    object-fit: contain;
}
.logo-title img {
    width: 20%;
    grid-column: 1;
    align-items: left;
    min-width: 250px;
    max-width: 350px;
    margin-left: 0;
    margin-bottom: 0;
    object-fit: contain;
}
.header-nav {
    width: 10%;
    margin-left: 5%;
}
.header-nav ul {
    display: flex;
    grid-column: 2;
    font-family: var(--big-font);
    font-weight: 300;
    font-size: 1rem;
    color: grey;
    margin-left: 0;
}
.header-nav ul li {
    border-top: var(--light-grey) solid 1px;
    border-bottom: var(--light-grey) solid 1px;
    padding: 1rem;
}
.header-nav ul li a {
    margin: 3rem;
}
.sns {
    display: flex;
    grid-column: 3;
    max-width: 100px;
    margin: auto 5% auto 0 !important;
}
.sns .twitter, .instagram, .fb {
    width: 30px;
}
.sns .fb {
    width: 30px;
}
.works {
    display: flex;
    flex-direction: row;
}
.works-content .title {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    color: var(--dark-grey);
    font-size: 5rem;
    position: relative;
    padding-bottom: 0rem;
    margin-left: 5%;
    margin-bottom: 0rem;
    letter-spacing: 2rem;
    width: 100%;
}
.works-content .title::after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px var(--light-grey);
    bottom: -3px;
    width: 70%;
  }
.works-image {
    width: min(100%, calc(100rem - 2rem));
    margin: 0 5%;
    position: relative;
}
.works-image::after {
    display: block;
    content: '';
    width: calc(100% - 2rem);
    height: calc(100% - 2.5rem);
    z-index: 3;
    top: 1rem;
    left: 1rem;
    position: absolute;
}
.works-image img {
    aspect-ratio: 8/6;
    object-fit: contain;
    width: 100%;
    margin: 0;
    margin-right: -100px;
}
.works-thumbnails {
    display: grid;
    gap: 4rem;
    grid-template-columns: repeat(2, 1fr);
    list-style: none;
    width: 50%;
    margin: 4rem 0 0 5%;
}
.works-thumbnails img {
    aspect-ratio: 3/4;
    object-fit: contain;
    cursor: pointer;
}

#menu-panel { display: none !important }
}