@charset "utf-8";
/*====================
common
====================*/
:root {
    --primary-black:#2f2f2f;
    --primary-gray:#696969;
    --primary-lightGray: #D9D9D9;
    --primary-white:#FFFFFF;
    --primary-whiteLow: #ECF5F5;
    --outer-height: 100vh;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family:
    "Julius Sans One"
    "Noto Serif JP"
    "Sawarabi Mincho"
    "Sawarabi Gothic"
    ,serif;
    font-style: normal;
    color: var(--primary-black);
    line-height: 1.5;
    letter-spacing: 0.05em;
}

body:before {
    content: "";
    display: block;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: -5;
    width: 100%;
    height: var(--outer-height);
    background-image: url(../image/top-sp.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

img {
    max-width: 100%;
    height: auto;
}

.section__topic {
    font-family: "Julius Sans One";
    font-size: 7vw;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    margin-bottom: 50px;
}

.fadeIn {
    opacity: 0;
    transition: 2s;
}

.fadeIn.is-show {
    opacity: 1;
}

.text_fadein{
	background: #FFF;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 999;
}

.text_fadein p {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: none;
	z-index: 9999;
	width: 60vw;
}

/* common tab */
@media screen and (min-width:768px) {
    .section__topic {
        font-size: 5vw;
        margin-bottom: 75px;
    }
}

/* common pc */
@media screen and (min-width:1025px) {
    .section__topic {
        font-size: 3vw;
        margin-bottom: 100px;
        text-align: left;
    }

    body:before {
        background-image: url(../image/top-pc.png);
    }

    .text_fadein p {
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: none;
        z-index: 9999;
        width: 25vw;
    }
}

/*====================
header
====================*/


/*====================
nav
====================*/
nav {
    display: block;
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    width: 300px;
    background: var(--primary-whiteLow);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: all .5s;
    z-index: 3;
    opacity: 0;
}

.open nav {
    left: 0;
    opacity: 1;
}

nav .inner {
    margin-top: 100px;
    padding: 25px;
}

nav .inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav .inner ul li {
    position: relative;
    margin: 0;
    border-bottom: 1px dotted #333;
}

nav .inner ul li a {
    display: block;
    color: #333;
    font-size: 1.2rem;
    padding: 1.5em;
    text-decoration: none;
    transition-duration: 0.2s;
}

nav .inner ul li a:hover {
    background: #e4e4e4;
}

@media screen and (max-width: 767px) {
    nav {
      left: -220px;
      width: 220px;
    }
}

/* nav tab */
@media screen and (min-width:768px) {
    nav .inner ul li a {
        font-size: 1.4rem;
    }
}

/* nav pc */
@media screen and (min-width:1025px) {
    nav .inner ul li a {
        font-size: 1.6rem;
    }
}

/*====================
toggle_btn
====================*/
.toggle_btn {
    display: block;
    position: fixed;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    transition: all .5s;
    cursor: pointer;
    z-index: 3;
}

.toggle_btn span {
    display: block;
    position: absolute;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-whiteLow);
    border-radius: 4px;
    transition: all .5s;
}

.toggle_btn span.invert {
    background-color: var(--primary-black);
}

.toggle_btn span:nth-child(1) {
    top: 4px;
}

.toggle_btn span:nth-child(2) {
    top: 14px;
}

.toggle_btn span:nth-child(3) {
    bottom: 4px;
}

.open .toggle_btn span {
    background-color: var(--primary-whiteLow);
}

.open .toggle_btn span:nth-child(1) {
    -webkit-transform: translateY(10px) rotate(-315deg);
    transform: translateY(10px) rotate(-315deg);
}

.open .toggle_btn span:nth-child(2) {
    opacity: 0;
}

.open .toggle_btn span:nth-child(3) {
    -webkit-transform: translateY(-10px) rotate(315deg);
    transform: translateY(-10px) rotate(315deg);
}

/*====================
mask
====================*/
#mask {
    display: none;
    transition: all .5s;
}

.open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-black);
    opacity: 0.8;
    z-index: 2;
    cursor: pointer;
}

/*====================
top
====================*/
.section--top {
    padding: 0 5%;
    display: block;
    position: relative;
    height: 100vh;
}

.top__sign {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.scroll_down{
    position:absolute;
    bottom: 0px;
    right: 40px;
  }
  
.scroll_down a{
    position: absolute;
    left: 10px;
    bottom: 87px;
    color: var(--primary-white);
    font-size: 1.4rem;
    font-family: "Julius Sans One";
    letter-spacing: .2em;
    writing-mode: vertical-lr;
    text-decoration: none;
    text-transform: uppercase;
}
  
.scroll_down:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background:var(--primary-white);
    animation:
    circlemove 1.6s ease-in-out infinite,
    cirlemovehide 1.6s ease-out infinite;
}
  
@keyframes circlemove{
    0%{bottom:160px;}
    100%{bottom:0px;}
}
  
@keyframes cirlemovehide{
    0%{opacity:0}
    50%{opacity:1;}
    80%{opacity:0.9;}
    100%{opacity:0;}
}
  
.scroll_down:after{
    content:"";
    position: absolute;
    bottom:0;
    left:0;
    width:2px;
    height: 160px;
    background:var(--primary-white);
}

/* top sp横向き */
@media (orientation: landscape) and (max-width: 767px){
    body:before {
        background-image: url(../image/top-sp.png);
    }

    .top__sign {
        width: 80%;
    }
}

/* top tab */
@media screen and (min-width:768px) {
}

/* top tab横向き */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape){
    body:before {
        background-image: url(../image/top-sp.png);
    }

    .top__sign {
        width: 80%;
    }
}

/* top pc */
@media screen and (min-width:1025px) {
    .top__sign {
        width: 45%;
    }
}

/*====================
about
====================*/
.section--about {
    background-color: var(--primary-white);
    padding: 100px 5%;
    font-family: "Noto Serif JP";
}

.about__img {
    display: block;
    margin:0 auto;
    width: 40vw;
}

.about__name {
    font-size: 5vw;
    font-weight: 400;
}

.about__text {
    margin-top: 10px;
    font-size: 2.5vw;
    font-weight: 400;
    line-height: 2;
}

/* about tab */
@media screen and (min-width:768px) {
    .section--about {
        padding: 150px 10%;
    }

    .about__img {
        width: 30vw;
    }

    .about__name {
        font-size:4vw;
    }

    .about__text {
        font-size:2vw;
    }
}

/* about pc */
@media screen and (min-width:1025px) {
    .section--about {
        padding: 150px 25% 200px;
    }

    .myself {
        display: flex;
        margin: 0 auto;
        justify-content: center;
        align-items: center;
        gap:0 40px;
        width: 45vw;
    }

    .about__name {
        font-size:2vw;
    }

    .about__text {
        font-size:1vw;
        width: 30vw;
    }
}

/*====================
works
====================*/
.section--works {
    padding: 100px 5%;
    background-color: var(--primary-white);
}

.works {
    margin: 50px auto 100px;
    display: grid;
    grid-template-columns:repeat(1,1fr);
    gap: 50px;
}

.works__item {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.works__item-topic {
    margin-top: 10px;
    font-family: "noto serif jp";
    font-weight: lighter;
    font-size: 3vw;
    line-height: 2;
    border-bottom: 1px dotted var(--primary-black);
}

.works__item-text {
    margin-top: 5px;
    font-family: "noto serif jp";
    font-weight: lighter;
    font-size: 2.5vw;
    line-height: 2;
}

.works__item a:hover {
    cursor: pointer;
    transition: 0.4s;
    opacity: 0.4;
}

.works__item:nth-child(n + 3) {
    display: none;
    list-style: none;
}

.works__btn {
    display: block;
    margin: 0 auto;
    font-family: "Julius Sans One";
    font-weight: lighter;
    font-size:2.5vw;
    color: var(--primary-white);
    cursor: pointer;
    background-color: var(--primary-black);
    padding: 1% 4%;
}

.works__btn:hover {
    opacity: 0.7;
    transition: 0.4s;
}

/* works tab */
@media screen and (min-width:768px) {
    .section--works {
        padding: 150px 10%;
    }

    .works {
        margin: 75px auto 150px;
        gap: 100px;
    }

    .works__item-topic {
        margin-top: 10px;
        font-family: "noto serif jp";
        font-weight: lighter;
        font-size: 2.5vw;
        line-height: 2;
        border-bottom: 0.5px dotted var(--primary-black);
    }
    
    .works__item-text {
        margin-top: 5px;
        font-family: "noto serif jp";
        font-weight: lighter;
        font-size: 2vw;
        line-height: 2;
    }

    .works__btn {
        font-size:2vw;
    }
}

/* works pc */
@media screen and (min-width:1025px) {
    .section--works {
        padding: 150px 0 200px;
    }

    .works__tpic {
        padding: 0 25% 0;
    }

    .works__group {
        padding: 0 10%;
    }

    .works {
        margin: 100px auto 200px;
        grid-template-columns:repeat(2,1fr);
    }

    .works__item-topic {
        margin-top: 20px;
        font-family: "noto serif jp";
        font-weight: lighter;
        font-size: 1vw;
        line-height: 2.5;
        border-bottom: 0.5px dotted var(--primary-black);
    }
    
    .works__item-text {
        font-family: "noto serif jp";
        font-weight: lighter;
        font-size: 0.8vw;
        line-height: 2.5;
    }

    .works__btn {
        font-size:0.8vw;
        padding: 1% 4%;
    }
}

/*====================
philosophy
====================*/
.section--philosophy {
    padding: 100px 5%;
    background-color: var(--primary-white);
    text-align: center;
}

.philosophy__topic {
    font-family: "Sawarabi Mincho";
    font-size: 5vw;
    letter-spacing: 3px;
}

.philosophy__text {
    margin-top: 15px;
    font-family: "Sawarabi Mincho";
    font-size: 2.5vw;
    letter-spacing: 2px;
    line-height: 2;
}

.philosophy__sign {
    display: block;
    margin-top: 15px;
    margin-left: 60%;
    width: 35%;
}

/* philosophy tab */
@media screen and (min-width:768px) {
    .section--philosophy {
        padding: 150px 10%;
    }
    
    .philosophy__topic {
        font-size: 4vw;
    }
    
    .philosophy__text {
        margin-top: 25px;
        font-size: 2vw;
        letter-spacing: 2.5px;
        line-height: 2.5;
    }
    
    .philosophy__sign {
        margin-top: 20px;
        width: 30%;
        margin-left: 55%;
    }
}

/* philosophy pc */
@media screen and (min-width:1025px) {
    .section--philosophy {
        padding: 150px 25% 200px;
    }

    .philosophy__topic {
        font-size: 2vw;
    }
    
    .philosophy__text {
        margin-top: 25px;
        font-size: 1vw;
        letter-spacing: 3px;
        line-height: 3;
    }
    
    .philosophy__sign {
        margin-top: 25px;
        width: 25%;
        margin-left: 55%;
    }
}

/*====================
contact
====================*/
.section--contact {
    padding: 100px 5%;
    background-color: var(--primary-white);
}

.form__parts {
    margin-top: 50px;
}

.form__parts:first-of-type {
    margin-top: 0;
}

.form__category {
    font-size: 3vw;
    font-weight: bold;
    font-family: "Julius Sans One";
}

.group {
    margin-top: 2px;
}

input[type="text"],
.group__textArea {
    display: block;
    width: 100%;
    padding: 8px 16px;
    border-radius: 2px;
    border: 1px solid var(--primary-black);
    background-color: var(--primary-white);
    font-size: 1.5rem;
}

input[type="text"]:focus,
.group__textArea:focus {
    outline: solid 1px var(--primary-white);
}

::placeholder {
    color: var(--primary-lightGray);
}

.group__textArea {
    min-height: 150px;
}

.form__parts.form__parts--submit {
    margin-top: 50px;
}

.btn--form {
    font-size: 3vw;
    font-weight: bold;
    font-family: "Julius Sans One";
    color: var(--primary-white);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-black);
    width: 100%;
    padding:2% 5%;
}

.btn--form:hover {
    opacity: 0.8;
}

/* contact tab */
@media screen and (min-width:768px) {
    .section--contact {
        padding: 150px 10%;
    }
    
    .form__parts {
        margin-top: 75px;
    }
    
    .form__category {
        font-size: 2.5vw;
    }
    
    input[type="text"],
    .group__textArea {
        padding: 10px 20px;
        font-size: 2rem;
    }
    
    .group__textArea {
        min-height: 200px;
    }
    
    .form__parts.form__parts--submit {
        margin-top: 75px;
    }
    
    .btn--form {
        font-size: 2.5vw;
    }
}

/* contact pc */
@media screen and (min-width:1025px) {
    .section--contact {
        padding: 150px 25% 200px;
    }
    
    .form__category {
        font-size: 1vw;
    }
    
    input[type="text"],
    .group__textArea {
        padding: 10px 20px;
        font-size: 1.5rem;
    }
    
    .group__textArea {
        min-height: 200px;
    }
    
    .form__parts.form__parts--submit {
        margin-top: 75px;
    }
    
    .btn--form {
        font-size: 1vw;
    }
}

/*====================
scroll
====================*/
.scroll {
    background-color: var(--primary-black);
    padding: 1%;
}

.scroll:hover {
    background-color: var(--primary-gray);
}

.scroll__btn {
    display: block;
    margin: 0 auto;
    width: 8%;
    cursor: pointer;
    z-index: 10;
}

/* scroll tab */
@media screen and (min-width:768px) {
    .scroll__btn {
        width: 6%;
    }
}

/* scroll pc */
@media screen and (min-width:1025px) {
    .scroll {
        padding: 0.5%;
    }

    .scroll__btn {
        width: 3%;
    }
}

/*====================
footer
====================*/
.footer {
    font-family: "julius sans one";
    padding: 5% 10% 1%;
    background-image: url(../image/section4.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sns {
    display: flex;
    gap: 0 13px;
    justify-content: center;
}

.sns__item {
    width: 13%;
    filter: drop-shadow(1px 3px 5px rgba(0, 0, 0, 0.5));
}

.copy {
    color: var(--primary-white);
    margin-top: 40px;
    text-align: center;
    text-shadow:rgba(0,0,0,.5);
    /*writing-mode:vertical-rl;
    text-orientation:sideways;*/
}

/* footer tab */
@media screen and (min-width:768px) {    
    .sns {
        gap: 0 15px;
    }
    
    .sns__item {
        width: 10%;
    }
    
    .copy {
        margin-top: 50px;
    }
}

/* footer pc */
@media screen and (min-width:1025px) {
    .footer {
        padding: 5% 10% 1%;
        background-position: bottom;
    }

    .sns {
        gap: 0 20px;
    }
    
    .sns__item {
        width: 5%;
    }
    
    .copy {
        margin-top: 75px;
    }
}