@charset "utf-8";

/* loading */
.loading {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: var(--white);
}

/*デフォルトのマウスカーソルを非表示にする*/
html,
body,
a {
    cursor: none;
}

/*独自のマウスカーソルを作成*/
.cursor {
    position: fixed;
    /*丸の大きさと色の指定*/
    background: #3398db;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;/*真ん中にくるようにマイナスマージンで調整*/
    z-index: 1000;/*一番手前に来るように*/
    pointer-events: none;/*クリックできなくなるのを防ぐため。noneで対応*/
    opacity: 0;
    transition: transform 0.5s;/*アニメーションの秒数指定*/
}

/*aタグにホバーした時に見た目変化*/
.cursor.active {
    transform: scale(2);
}

/* common */
:root {
    --black: #050514;
    --white: #F1F5F8;
    --gray: #CCCCCC;
}

html {
    font-size: 62.5%;
    /* scroll-behavior: smooth; */
}

body {
    font-family: "Klee One", "Noto Sans JP", Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
    background-color: var(--white);
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.5;
}

.delay-time-1-half {
    animation-delay: 1.5s;
}

.delay-time-02 {
    animation-delay: 0.2s;
}

.delay-time-04 {
    animation-delay: 0.4s;
}

.delay-time-06 {
    animation-delay: 0.6s;
}


.fadeInTrigger {
	opacity: 0;
    animation-timing-function: ease-out;
}

.fadeInUpTrigger {
    opacity: 0;
}

.blur{
	animation-name: blurAnime;
	animation-duration: 1.5s;
    animation-delay: 1s;
	animation-fill-mode: forwards;
    transition: ease-out;
}

@keyframes blurAnime{
    from {
        filter: blur(10px);
        transform: scale(1.02);
        opacity: 0;
    }

    to {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }
}

.blur2 {
	animation-name: blurAnime;
	animation-duration: 1.5s;
	animation-fill-mode: forwards;
    transition: ease-out;
}

@keyframes blurAnime{
    from {
        filter: blur(10px);
        transform: scale(1.02);
        opacity: 0;
    }

    to {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }
}

.blurTrigger{
    opacity: 0;
}

.blurTrigger2 {
    opacity: 0;
}

/*==================================================
背景色が伸びて出現
===================================*/

/* 全共通 */

.bgextend {
	animation-name: bgextendAnimeBase;
	animation-duration: 1.5s;
    animation-delay: 0.5s;
	animation-fill-mode: forwards;
    animation-timing-function: ease-out;
	position: relative;
	overflow: hidden;/* はみ出た色要素を隠す */
	opacity:0;
}

@keyframes bgextendAnimeBase{
    from {
        opacity:0;
    }

    to {
        opacity:1;
    }
}

/*中の要素*/
.bgappear {
	animation-name:bgextendAnimeSecond;
	animation-duration:1s;
	animation-delay: 0.6s;
	animation-fill-mode:forwards;
    animation-timing-function: ease-out;
	opacity: 0;
}

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

/*左から右*/
.bgLRextend::before {
	animation-name:bgLRextendAnime;
	animation-duration:1s;
	animation-fill-mode: forwards;
    animation-timing-function: ease-out;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--gray);/*伸びる背景色の設定*/
}

@keyframes bgLRextendAnime {
	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);
	}
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgLRextendTrigger{
    opacity: 0;
}

.img-blur {
    opacity: 0;
    filter: blur(50px);
    transform: scale(1.1);
    transition: 1.5s ease-out;
}

.blur-img {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    animation-name: blur-photo;
}

/* header */
/* .header-group {
    padding: 10px 5%;
}

h1 {
    font-size: 2.4rem;
    color: var(--black);
} */

/*==================================================
5-2-2 2本線が×に
===================================*/

/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.hamburger {
/*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
	position: fixed;
    top: 0;
    right: 0;
	width: 30px;
    height: 30px;
    color: var(--black);
    z-index: 100;
    background-color: var(--white);
}
/*ボタン内側*/

.hamburger span {
    display: inline-block;
    transition: all .4s ease-out;/*アニメーションの設定*/
    position: absolute;
    left: 13px;
    height: 2px;
	background-color: var(--black);
}


.hamburger span:nth-of-type(1) {
	top: 22px;
    width: 50%;
}

.hamburger span:nth-of-type(2) {
	top: 29px;
    width: 50%;
}

/*activeクラスが付与されると線が回転して×に*/

.hamburger.active span:nth-of-type(1) {
    top: 20px;
    left: 16px;
    transform: translateY(6px) rotate(-45deg);
    width: 35%;
}

.hamburger.active span:nth-of-type(2) {
    top: 32px;
    left: 16px;
    transform: translateY(-6px) rotate(45deg);
    width: 35%;
}

nav {
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    /* nav 初期表示 */
    /* transform: translateY(100%); */
    opacity: 0;
    visibility: hidden;
}

nav.active {
    visibility: visible;
    opacity: 1;
}

nav ul {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

nav li {
    margin-top: 30px;
    /* opacity: 0; */
}

.myfadein {
    animation-name: myfadeInAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes myfadeInAnime {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

nav li:first-child {
    margin-top: 0;
}

nav a {
    color: var(--black);
    display: block;
    font-size: 2.2rem;
    transition: 0.9s;
    padding: 5px 20px;
    text-align: center;
}

nav a:hover {
    background-color: var(--black);
    color: var(--white);
}

.ty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    overflow: hidden;
    padding-top: 70px;
}

.ty li {
    font-size: 2.6rem;
    font-style: normal;
    white-space: nowrap;
    animation : scrollSample01 10s linear infinite;
}

@keyframes scrollSample01 {
    0% {
        transform: translateX(0)
    }
    100% {
        transform: translateX(-100%)
    }
}

/*====== 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;
	}
}

/*== 背景が流れる（左から右） */
.bgleft:before {
    content: '';
    /*絶対配置で位置を指定*/
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    /*色や形状*/
    background: var(--black);/*背景色*/
    width: 100%;
	height: 100%;
    /*アニメーション*/
    transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transform: scale(0, 1);
	transform-origin: right top;
}

/*hoverした際の形状*/
.bgleft:hover:before {
	transform-origin:left top;
	transform:scale(1, 1);
}

/* main */
main {
    position: relative;
    background-color: var(--white);
}

/* footer */
footer {
    background: rgb(5,5,20);
    background: linear-gradient(0deg, rgba(5,5,20,1) 0%, rgb(0, 63, 113) 50%);
    color: var(--white);
    position: relative;
}

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

.footer-group .ty {
    padding-top: 0;
}

.contact-group {
    margin-top: 20px;
    text-align: center;
}

.contact-group p {
    font-family: "Noto Sans JP";
    font-size: 1.4rem;
    font-weight: 300;
}

.mail {
    display: block;
}

.contact-group a {
    font-family: "Noto Sans JP";
    font-size: 2rem;
    font-weight: 500;
    transition: 0.7s;
    display: inline-block;
    border-bottom: 1px solid var(--white);
    margin-top: 10px;
    color: var(--black);
    text-shadow: 1px 0 0 var(--white), 0 1px 0 var(--white), -1px 0 0 var(--white), 0 -1px 0 var(--white);
}

.contact-group a:hover {
    text-shadow: none;
    color: var(--white);
}

.copy {
    margin-top: 20px;
    text-align: center;
}

small {
    font-size: 1rem;
}

/* tb */
@media screen and (min-width: 768px) {
    h2 {
        font-size: 3.4rem;
    }

    /* .hamburger {
        width: 75px;
        height: 75px;
    }

    .hamburger span {
        left: 50%;
        height: 2px;
        transform: translate(-50%);
    }

    .hamburger span:nth-of-type(1) {
        top: 27.5px;
        width: 50%;
    }

    .hamburger span:nth-of-type(2) {
        top: 37.5px;
        width: 50%;
    }

    .hamburger.active span:nth-of-type(1) {
        top: 30px;
        left: 22px;
        transform: translateY(6px) rotate(-45deg);
        width: 35%;
    }

    .hamburger.active span:nth-of-type(2) {
        top: 42px;
        left: 22px;
        transform: translateY(-6px) rotate(45deg);
        width: 35%;
    } */

    /* nav */
    nav a {
        font-size: 2.6rem;
    }

    .scrolldown1 {
        bottom: 100px;
        left: 45%;
    }

    .scrolldown1 span {
        top: -30px;
    }


    .scrolldown1::after {
        width: 2px;
        height: 40px;
    }

    @keyframes pathmove {
        0% {
            height: 0;
            top: 0;
            opacity: 0;
        }

        30% {
            height: 40px;
            opacity: 1;
        }

        100% {
            height:0;
            top:50px;
            opacity: 0;
        }
    }

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

    .contact-group {
        margin-top: 30px;
    }

    .contact-group a {
        font-size: 2.4rem;
    }

    .copy {
        margin-top: 30px;
    }
}

/* pc */
@media screen and (min-width: 1280px) {
    h2 {
        font-size: 3.8rem;
    }

    .hamburger {
        width: 75px;
        height: 75px;
    }

    .hamburger span {
        left: 50%;
        height: 2px;
        transform: translate(-50%);
    }

    .hamburger span:nth-of-type(1) {
        top: 28.5px;
        width: 50%;
    }

    .hamburger span:nth-of-type(2) {
        top: 38.5px;
        width: 50%;
    }

    .hamburger.active span:nth-of-type(1) {
        top: 30px;
        left: 25px;
        transform: translateY(6px) rotate(-45deg);
        width: 35%;
    }

    .hamburger.active span:nth-of-type(2) {
        top: 42px;
        left: 25px;
        transform: translateY(-6px) rotate(45deg);
        width: 35%;
    }

    nav a {
        font-size: 3rem;
    }

    .scrolldown1 {
        left: 47%;
    }

    .scrolldown1 span {
        font-size: 1.6rem;
    }

    .scrolldown1::after {
        width: 3px;
        height: 50px;
    }

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

    .contact-group {
        margin-top: 40px;
    }

    .contact-group p {
        font-size: 1.6rem;
    }

    .contact-group a {
        font-size: 2.8rem;
    }

    .copy {
        margin-top: 40px;
    }
}