@charset "UTF-8";

/* loading */
.loading {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #e5e5e5;
    z-index: 999;
    text-align: center;
}
.loading__logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    font-size: 2.4rem;
    letter-spacing: 0.2em;
	color: var(--color-black);
    width: 80%;
    display: flex;
    justify-content: center;
}


/* mainVisual */
.mainvisual {
    width: 100%;
    height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.mainvisual__title {
    padding-inline: 30px;
    z-index: -1;
}

.mainvisual__maintext {
    display: block;
    font-size: 12vw;
    margin-block-end: 50px;
    letter-spacing: 0.15em;
    line-height: 1.2;
}

.mainvisual__subtext {
    text-align: right;
    display: block;
    margin-inline-start: 45%;
    letter-spacing: 0.15em;
    font-size: 6.4vw;
}
.mainvisual__subtext span {
    will-change: transform;
    display: inline-block;
}

.mainvisual__wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.mainvisual__line {
    position: absolute;
    content: "";
    width: 40%;
    height: 2px;
    background-color: var(--color-black);
}

svg[class^="mainvisual__bg-shape"] {
    position: absolute;
    z-index: -2;
}
.mainvisual__bg-shape1 {
    top: 55px;
    left: 15px;
    width: 200px;
    height: auto;
    transform: rotate(-180deg);
}
.mainvisual__bg-shape2 {
    top: 130px;
    left: -90px;
    width: 250px;
    height: auto;
}
.mainvisual__bg-shape3 {
    bottom: 0;
    right: -60px;
    width: 200px;
    height: auto;
    transform: rotate(90deg);
}


@media(min-width: 768px) {
    .mainvisual {
        justify-content: center;
    }

    .mainvisual__maintext {
        font-size: 6.2rem;
        margin-block-end: 80px;
    }

    .mainvisual__subtext {
        font-size: 3.8rem;
        margin-left: calc(100% - 274px);
    }

    .mainvisual__line {
        width: 390px;
    }

    .mainvisual__bg-shape1 {
        max-width: 340px;
        width: 28vw;
        left: -50px;
    }
    .mainvisual__bg-shape2 {
        width: 31vw;
        max-width: 420px;
        top: 180px;
        left: 30px;
    }
    .mainvisual__bg-shape3 {
        width: 30vw;
        max-width: 400px;
        bottom: 0;
    }
    
}


/* scrolldown */
.scrolldown1{
	position:absolute;
	left:50%;
	bottom:10px;
	height:50px;
}

.scrolldown1 span{
	position: absolute;
	left:-15px;
	top: -15px;
	color: var(--color-black);
	font-size: 1.2rem;
	letter-spacing: 0.05em;
}

.scrolldown1::after{
	content: "";
	position: absolute;
	top: 0;
	width: 1px;
	height: 30px;
	background: var(--color-black);
	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;
	}
}



/* heading */
.heading__wrapper {
    display: flex;
    justify-content: center;
}

h2.heading {
    font-size: clamp(3rem, 2.636rem + 1.82vw, 4rem);
    margin-block-end: 60px;
    position: relative;
    display: inline-block;
    flex-flow: column;
    justify-content: center;
    z-index: 2;
}

.heading__text {
    display: block;
    margin-block-end: 30px;
}

.heading__line__wrapper {
    display: flex;
    justify-content: center;
}

.heading__line {
    display: block;
    position: absolute;
    content: "";
    width: 75px;
    height: 2px;
    background-color: var(--color-black);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s cubic-bezier(0.75, 0, 0.25, 1) 0.3s;
}

.heading__line.is-show {
    transform: scaleX(1);
}

@media(min-width: 768px) {
    h2.heading {
        margin-block-end: 80px;
    }
}


/* Works */
.works-list__item:not(:last-of-type) {
    margin-bottom: 48px;
}

.works-list__link {
    display: flex;
    flex-direction: column;
}

.works-list__category {
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-block-end: 5px;
}

.works-list__image {
    order: -1;
    margin-block-end: 16px;
    overflow: hidden;
    text-align: center;
}

.works-list__image img {
    border-radius: 12px;
    transition: 0.8s all;
}

.works-list__image img:hover {
    transform:scale(1.2,1.2);
    transition:0.8s all;
}

.works-list__title {
    font-size: 1.5rem;
}

.fadeDelay1 {
  transition-delay: 0.1s;
}
.fadeDelay2 {
  transition-delay: 0.2s;
}

@media(min-width: 768px) {
    .works-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 30px;
        row-gap: 1em;
    }
}


/* Skill */
.skill__item:not(:last-of-type) {
    margin-block-end: 40px;
}

.skill__title {
    font-size: 2.4rem;
    text-align: center;
}

.skill__title--subtext {
    display: block;
    font-size: 1.4rem;
    color: var(--color-gray);
    margin-block-start: 8px;
}

.skill__icon {
    text-align: center;
    margin-block: 30px;
}

.skill__description {
    line-height: 2;
}

.skill__item:first-of-type {
  transition-delay: 0s;
}

.skill__item:nth-of-type(2) {
  transition-delay: 0.2s;
}

@media(min-width: 768px) {
    .skill__container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 80px;
    }
}


/* About */
.about .sec__inner {
    position: relative;
    overflow: hidden;
}

svg[class^="about__bg-shape"] {
    position: absolute;
    z-index: 1;
}

.about__bg-shape1 {
    top: 120px;
    left: -50px;
    width: 260px;
    height: auto;
    transform: rotate(-180deg);
}

.about__bg-shape2 {
    bottom: 0;
    right: -100px;
    width: 300px;
    height: auto;
    transform: rotate(90deg);
}

.about__container {
    display: flex;
    flex-direction: column;
}

.about__image {
    order: -1;
    overflow: hidden;
    text-align: center;
    margin-block-end: 50px;
    transition-delay: 0s;
    z-index: 2;
}

.about__image img {
    width: 86%;
}

.about__item {
    transition-delay: 0.2s;
    z-index: 2;
}

.about__name {
    font-size: 2.6rem;
}

.about__name--subtext {
    display: block;
    font-size: 1.4rem;
    color: var(--color-gray);
    margin-block-start: 8px;   
}

.about__description {
    line-height: 2;
    margin-block-start: 25px;
}

@media(min-width: 768px) {
    .about__container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 60px;
        align-self: start;
    }
    .about__image {
        margin-block: 0;
    }
    .about__block {
        padding-block-start: 20px;
    }
    .about__bg-shape1 {
        max-width: 300px;
        width: 30vw;
        left: -20px;
    }
    .about__bg-shape2 {
        width: 37vw;
        max-width: 370px;
        right: -20px;
    }
}