@charset "utf-8";

/* loading */
/* .splash {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: var(--black);
	z-index: 9000;
	text-align: center;
}

.splash-logo {
	position: absolute;
    width: 100px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
} */

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/
.splashbg {
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg {
    display: block;
    content: "";
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
	left: 0;
    transform: scaleX(0);
    background-color: var(--black);/*伸びる背景色の設定*/
	animation-name:PageAnime;
	animation-duration:1.2s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
}

@keyframes PageAnime {
	0% {
		transform-origin:left;
		transform:scaleX(0);
	}
	50% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

/*画面遷移の後現れるコンテンツ設定*/
.container {
	opacity: 1;/*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear .container{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay: 0.8s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	    opacity: 0;
	}
	100% {
	    opacity: 1;
    }
}

/* mv */
.mv {
	width: 100%;
    height: 100vh;
    position: sticky;
    top: 0;
    padding: 0 5.3%;
    color: var(--black);
}

.mv-group {
    width: 100%;
    height: 100vh;
    position: relative;
}

.mv-group h1 {
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: inline-block;
    text-align: center;
    text-wrap: nowrap;
}

.mv-group h1 .small {
    font-size: 2rem;
}

.mv-group h1 .big {
    font-size: 4.8rem;
}

/*====== 9-1-1 縦線が動いてスクロールを促す =======*/
/*スクロールダウン全体の場所*/
/* .scrolldown1 {
    /*描画位置※位置は適宜調整してください*/
	/* position:absolute;
	left: 40%;
	bottom: 100px; */
    /*全体の高さ*/
	/* height: 50px;
    animation-timing-function: ease-in-out;
} */

/*Scrollテキストの描写*/
/* .scrolldown1 span {
    /*描画位置*/
	/* position: relative;
    top: -30px; */
    /*テキストの形状*/
	/* color: var(--black);
	font-size: 1.4rem; */
/* } */

/* 線の描写 */
/* .scrolldown1::after {
	content: "";
    /*描画位置*/
	/* position: absolute;
    left: 50%; */
    /*線の形状*/
	/* width: 1px;
	height: 30px;
	background: var(--black); */
    /*線の動き1.4秒かけて動く。永遠にループ*/
	/* animation: pathmove 2.3s 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;
	}
}

/* profile */
.profile {
    background-color: var(--black);
    color: var(--white);
}

.profile-group {
    padding: 30px 5.3%;
}

.profile-contents {
    margin-top: 20px;
}

/* .profile-img img {
    aspect-ratio: 1/1;
} */

.profile-txt-group {
    margin-top: 20px;
}

.profile-name {
    font-size: 2.6rem;
    text-align: center;
    font-weight: 600;
}

.profile-name rt {
    font-size: 1.6rem;
    font-weight: 400;
}

.profile-txt p {
    font-size: 1.4rem;
    margin-top: 20px;
    font-family: "Noto Sans JP";
    font-weight: 300;
}

.profile-btn a {
    font-size: 1.6rem;
    width: 50%;
    text-align: center;
    background-color: var(--gray);
    margin: 20px auto 0;
    /*影の基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    text-decoration: none;
    display: block;
    text-align: center;
    background: transparent;
    outline: none;
    /*アニメーションの指定*/
    transition: all 0.5s ease-out;
}

.profile-btn a span {
    position: relative;
	z-index: 2;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
    /*テキストの形状*/
	display: block;
    padding: 10px 0;
	background: var(--white);
	color: var(--black);
    /*アニメーションの指定*/
    transition: all 0.5s ease-out;
}

.profile-btn a:hover span {
    color: var(--white);
    background-color: transparent;
    border: 1px solid var(--white);
	/* transform: translate(4px, 4px); */
}

.profile-btn a::before {
    content: "";
    /*絶対配置で影の位置を決める*/
    position: absolute;
	z-index: -1;
    top: 4px;
    left: 4px;
    /*影の形状*/
    width: 100%;
    height: 100%;
	border-radius: 25px;
    background-color: var(--black);
}

/* works */
.works {
    color: var(--black);
}

.works-group {
    padding: 30px 5.3%;
}

.works-list {
    margin-top: 20px;
}

.works-list li {
    margin-top: 50px;
}

.works-list li:first-of-type {
    margin-top: 0;
}

.works-img {
    overflow:hidden; /* これを記述することではみ出た部分を非表示にします。 */
    box-shadow: 2px 2px 20px 0px var(--gray);
}

.works-img img {
    transition: 1s all;
}

.works-img img:hover {
    transform: scale(1.1,1.1);
}

.works-annotation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.works-annotation p{
    font-size: 1.4rem;
    background-color: var(--gray);
    width: 31.3%;
    text-align: center;
    padding: 5px 0;
}

.works-name {
    margin-top: 10px;
    font-size: 2.2rem;
    font-weight: 600;
}

.works-region {
    margin-top: 10px;
    font-size: 1.4rem;
}

.works-detail {
    text-align: right;
}

.works-detail p {
    margin-top: 20px;
    font-size: 1.4rem;
    font-family: "Noto Sans JP";
    font-weight: 300;
    display: inline-block;
    border-bottom: 1px solid var(--black);
}

.works-btn a {
    font-size: 1.6rem;
    width: 50%;
    text-align: center;
    background-color: var(--gray);
    margin: 20px auto 0;
    /*影の基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    text-decoration: none;
    display: block;
    text-align: center;
    background: transparent;
    outline: none;
    /*アニメーションの指定*/
    transition: all 0.5s ease-out;
}

.works-btn a span {
    position: relative;
	z-index: 2;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
    /*テキストの形状*/
	display: block;
    padding: 10px 0;
	background: var(--black);
	color: var(--white);
    /*アニメーションの指定*/
    transition: all 0.5s ease-out;
}

.works-btn a:hover span {
    color: var(--black);
    background-color: transparent;
    border: 1px solid var(--black);
	/* transform: translate(4px, 4px); */
}

.works-btn a::before {
    content: "";
    /*絶対配置で影の位置を決める*/
    position: absolute;
	z-index: -1;
    top: 4px;
    left: 4px;
    /*影の形状*/
    width: 100%;
    height: 100%;
	border-radius: 25px;
    background-color: var(--white);
}

/* tb */
@media screen and (min-width: 768px) {
    /* loading */
    /* .splash-logo {
        width: 200px;
    } */

    /* mv */
    .mv {
        padding: 0;
        width: 85.4%;
        margin: 0 auto;
    }

    .mv-group h1 {
        font-size: 5rem;
    }

    .mv-group h1 .small {
        font-size: 3rem;
    }

    .mv-group h1 .big {
        font-size: 9rem
    }

    /*スクロールダウン全体の場所*/
    /* .scrolldown1 {
        /*描画位置※位置は適宜調整してください*/
        /* position:absolute;
        left: 45%;
        bottom: 75px; */
        /*全体の高さ*/
        /* height: 50px;
        animation-timing-function: ease-in-out;
    } */

    /* profile */
    .profile-group {
        padding: 40px 0;
        width: 85.4%;
        margin: 0 auto;
    }

    .profile-contents {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 30px;
    }

    .profile-img {
        width: 40%;
    }

    .profile-txt-group {
        width: 50%;
        margin-top: 0;
    }

    .profile-txt p {
        font-size: 1.6rem;
    }

    .profile-btn a {
        margin: 30px auto 0;
    }

    /* works */
    .works-group {
        padding: 40px 0;
        width: 85.4%;
        margin: 0 auto;
    }

    .works-list {
        margin-top: 30px;
    }

    .works-list li {
        margin-top: 60px;
    }

    .works-list li:first-of-type {
        margin-top: 0;
    }

    .works-contents {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .works-img {
        width: 40%;
        box-shadow: 2px 2px 20px 0px var(--gray);
    }

    .works-txt-group {
        width: 50%;
    }

    .works-annotation {
        margin-top: 0;
    }

    .works-region {
        font-size: 1.6rem;
    }

    .works-detail p {
        font-size: 1.6rem;
    }

    .reverse {
        flex-direction: row-reverse;
    }

    .works-btn a {
        margin: 30px auto 0;
    }
}

/* pc */
@media screen and (min-width: 1280px) {
    loading
    .splash-logo {
        width: 300px;
    }

    /* mv */
    .mv {
        width: 100%;
    }

    .mv-group h1 {
        font-size: 12rem;
        line-height: 1.3;
    }

    .mv-group h1 .small {
        font-size: 6rem;
    }

    .mv-group h1 .big {
        font-size: 20rem;
    }

    /* .scrolldown1 {
        /*描画位置※位置は適宜調整してください*/
        /* position:absolute;
        left: 47%;
        bottom: 100px; */
        /*全体の高さ*/
        /* height: 50px;
        animation-timing-function: ease-in-out; */
    /* } */

    /* profile */
    .profile-group {
        padding: 50px 0;
        width: 57.2%;
        max-width: 1100px;
    }

    .profile-contents {
        margin-top: 40px;
    }

    .profile-img {
        width: 45.4%;
        max-width: 500px;
    }

    .profile-txt-group {
        width: 45.4%;
        max-width: 500px;
    }

    .profile-name {
        font-size: 2.8rem;
    }

    .profile-name rt {
        font-size: 1.8rem;
    }

    .profile-btn a {
        margin: 40px auto 0;
    }

    /* works */
    .works-group {
        padding: 50px 0;
        width: 57.2%;
        max-width: 1100px;
    }

    .works-list {
        margin-top: 40px;
    }

    .works-list li {
        margin-top: 70px;
    }

    .works-img {
        width: 54.5%;
        max-width: 600px;
        box-shadow: 20px 20px 60px 10px var(--gray);
    }

    .works-txt-group {
        width: 38.1%;
        max-width: 420px;
    }

    .works-annotation p {
        width: 32%;
    }

    .works-name {
        font-size: 2.4rem;
    }

    .works-btn a {
        margin: 40px auto 0;
    }
}