

@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Marmelad&display=swap');



*,
*::after,
*::before {
	box-sizing: border-box;
}

/* https://vegaprotocol.github.io/alpha-lyrae/ */

@font-face {
	font-family: 'AlphaLyrae';
	src: url('../fonts/AlphaLyrae-Medium.woff2') format('woff2'),
	url('../fonts/AlphaLyrae-Medium.woff') format('woff');
	font-style: normal;
}

@font-feature-values 'AlphaLyrae' { 
  @styleset { ss01: 1; ss02: 2; ss03: 3; ss04: 4; ss05: 5 } 
}

html, body {
	overflow-x: hidden;
	width: 100vw;
}

:root {
	font-size: 14px;
	--color-text: #ffffff;
	--color-bg: #e2e1e0;
	--color-bg-alt: hsl(331, 87%, 36%);
	--color-link: #fff;
	--color-link-hover: #fff;
	--color-title: #ffffff;
}

body {
	margin: 0;
	color: var(--color-text);
	background-color: var(--color-bg);
	font-family: 'Kanit', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Page Loader */
.js .loading::before,
.js .loading::after {
	content: '';
	position: fixed;
	z-index: 1000;
}

.js .loading::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	border-radius: 50%;
	opacity: 0.4;
	background: var(--color-link);
	animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
	to {
		opacity: 1;
		transform: scale3d(0.5,0.5,1);
	}
}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
	cursor: pointer;
}

a:hover {
	color: var(--color-link-hover);
	outline: none;
}

/* Better focus styles from https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible */
a:focus {
	/* Provide a fallback style for browsers
	 that don't support :focus-visible */
	outline: none;
	background: lightgrey;
}

a:focus:not(:focus-visible) {
	/* Remove the focus indicator on mouse-focus for browsers
	 that do support :focus-visible */
	background: transparent;
}

a:focus-visible {
	/* Draw a very noticeable focus style for
	 keyboard-focus on browsers that do support
	 :focus-visible */
	outline: 2px solid red;
	background: transparent;
}

.unbutton {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	cursor: pointer;
}

.unbutton:focus {
	outline: none;
}

.frame {
	position: relative;
	width: 100%;
	padding: 1rem;
	display: grid;
	grid-template-columns: 100%;
	grid-template-areas: 'title' 'back' 'prev' 'sponsor';
	grid-gap: 0.5rem;
	justify-items: start;
	align-self: start;
	justify-self: start;
	pointer-events: none;
	align-items: center;
}

body #cdawrap {
    justify-self: start;
}

.frame a {
	pointer-events: auto;
}

.frame a:not(.frame__title-back) {
	white-space: nowrap;
	overflow: hidden;
	position: relative;
}

.frame a:not(.frame__title-back)::before {
	content: '';
	height: 1px;
	width: 100%;
	background: currentColor;
	position: absolute;
	top: 90%;
	transition: transform 0.3s;
	transform-origin: 0% 50%;
}

.frame a:not(.frame__title-back):hover::before {
	transform: scaleX(0);
	transform-origin: 100% 50%;
}

.frame__title {
	grid-area: title;
	font-size: inherit;
	margin: 0;
	font-weight: inherit;
}

.frame__prev {
	grid-area: prev;
}

.frame__credits {
	grid-area: credits;
}

.intro {
	height: calc(100vh);
	padding-top: 10vh;
    text-align: center;
    place-items: center;
    display: grid;
    grid-template-areas: 'intro';
    background: linear-gradient(0deg, transparent, var(--color-bg-alt));
}

.intro__title {
	grid-area: intro;
    place-items: center;
    margin: 0;
    display: grid;
    position: relative;
    z-index: 100;
}

.intro__title-pre {
    font-size: clamp(2rem,20vw,10rem);
    color: var(--color-title);
    font-weight: 400;
    text-transform: uppercase;
    font-family: 'AlphaLyrae', sans-serif
}

.intro__title-pre::first-letter {
	font-feature-settings: 'ss01' 1;
}

.intro__title-sub {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.intro__info {
	width: 200px;
    height: 90px;
    border-radius: 150px 150px 0 0;
    opacity: 1;
    padding: 1rem;
    line-height: 4.5rem;
    position: relative;
    align-self: end;
    color: black;
    background-color: #fff;
}

.intro__info::after {
	content: "";
    width: 1px;
    height: 2rem;
    background: #000000;
    position: absolute;
    top: 5.5rem;
    left: 50%;
}

.content__title {
	font-size: 2rem;
	font-weight: normal;
}

.credits {
	font-size: 2rem;
	text-align: center;
	margin: 50vh auto;
}

.card-wrap {
	margin-top: 5vh;
	display: grid;
	grid-gap: 2rem;
	grid-auto-flow: row;
	grid-template-columns: 340px;
}

.card-wrap2 {
	margin-top: 30vh;
	display: grid;
	grid-gap: 2rem;
	grid-auto-flow: row;
	grid-template-columns: 340px;
}

.card__image {
	display: block;
	border-radius: 7px;
	background-size: cover;
	background-position: 50% 50%;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
}

.card__title {
	font-weight: normal;
	font-size: 1.3rem;
	margin-top: 10px;
}

.content-wrap {
	display: grid;
	gap: 0vh;
	margin-bottom: 0vh;
}

.content {
	flex: none;
	display: grid;	
	place-items: center;
	line-height: 1.2;
	grid-template-areas: 'title' 'layout' '...';
	grid-template-rows: 3.5vw auto 3.5vw;
	gap: 1rem;
}

.content-wrap .content {
    margin-top: 20vh;
    padding-bottom: 20vh;
}

.content--intro {
	grid-area: intro;
}

.content__img-wrap {
	grid-area: layout;
}

.content__img {
	--img-width: 60vw;
	--img-height: 40vh;
	--img-ar: auto;
	--img-inner-margin-x: 0px;
	--img-inner-margin-y: 0px;
	position: relative;
	overflow: hidden;
	display: grid;
	place-items: center;
	width: var(--img-width);
	height: var(--img-height);
	aspect-ratio: var(--img-ar);
}

.content__img--1 {
	--img-width: 70vw;
	--img-height: auto;
	--img-ar: 16/8;
}

.content__img--2 {
	--img-width: 100vw;
	--img-height: 100vh;
}

.content__img--3 {
	--img-width: 100vw;
	--img-height: 200vh;
}

.content__img--4 {
	--img-width: 40vw;
	--img-height: auto;
	--img-ar: 0.8;
}

.content__img--5 {
	--img-width: 60vw;
	--img-height: auto;
	--img-ar: 1;
}

.content__img--6 {
	--img-width: 70vw;
	--img-height: auto;
	--img-ar: 16/8;
}

.content__img-inner {
	grid-area: 1 / -1;
	width: calc(100% + var(--img-inner-margin-x) * 2);
	height: calc(100% + var(--img-inner-margin-y) * 2);
	background-size: cover;
	background-position: 50% 50%;
}

.content__img-inner--hidden {
	opacity: 0;
}

.content__text {
	font-family: 'AlphaLyrae', sans-serif;
	position: relative;
	z-index: 100;
	grid-area: title;
	text-transform: uppercase;
	font-size: clamp(2rem, 6vw, 4rem);
	margin: 0;
	display: flex;
	flex-direction: column;
	font-weight: 400;
	line-height: 0.8;
	font-family: 'AlphaLyrae', sans-serif;
}

.content__text span span {
	display: inline-block;
}

.content__text span span.whitespace {
	white-space: pre;
}

.content__text span:nth-child(3n) {
	font-feature-settings: 'ss01' 1;
}

.content__text--large {
	font-size: clamp(2rem, 7vw, 6rem);
}
.content__text--large2 {
	font-size: 3rem;
	text-align: left;
	line-height: 3rem;
}
.content__text--large3 {
	font-size: 4.5rem;
	text-align: left;
	line-height: 3rem;
}

.content__text--center {
	text-align: center;
	align-self: stretch;
	justify-content: space-between;
	grid-row: 1 / span 3;
}

.content__text--left {
	justify-self: start;
	padding: 3rem;
	grid-area: layout;
	align-self: center;
}

.content__text-tiny {
	text-transform: none;
	font-family: 'Tenon', sans-serif;
	font-size: 1.5rem;
	font-weight: 300;
	max-width: 400px;
	line-height: 1.2;
	margin-top: 10vh;
}

@media screen and (min-width: 53em) {
	.frame {
		grid-template-columns: 1fr auto auto auto;
		grid-template-areas: 'title back prev sponsor';
		justify-items: start;
		grid-gap: 2rem;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
	}

	.frame__prev {
		justify-self: end;
	}

	.title {
		font-size: clamp(2rem,15vw,9rem);
	}

	.content__img--4 {
		--img-width: 30vw;
	}

	.content__img--5 {
		--img-width: 40vw;
	}

	.card-wrap {
		grid-template-columns: repeat(3,340px);
	}
	.card-wrap2 {
		grid-template-columns: repeat(2,340px);
	}

	body #cdawrap {
	    justify-self: end;
	}


}

.moible_h{
	display: none;
}
.homelogo_m img{
	width: 90vw;
    position: absolute;
	margin: 10vh 5vw;
	text-align: center;
}


@media only screen and (max-width: 768px) {
	/* ammon */
	.intro #item-intro{
		display: none;	
	}
	#item-1{
		display: none;
	}
	#item-2{
		display: none;
	}
	.moible_h{
		display:block!important;
	}
	.logo_about {
		width: 25vh;
		margin-bottom: 5vh;
	}
	.content__text--large {
		font-size: 5rem;
		line-height: 5rem;
	}
	.content__text--large2 {
		font-size: 2.5rem;
		line-height: 2.5rem;
	}
	.content__text--large3{
		font-size: 3rem;
		line-height: 3rem;
		margin: 5vw;
	}
	#slogan .content__text{
		margin-bottom: 60vh;
	}
	.txt_box2 {
		margin-left: 10vw!important;
	}
	.pc_h{
		display: none;
	}

  }

.logo{
	width: 250px;
	margin-left: 56px;
	margin-top: 10px;
}
.logo_footer{
	width: 250px;
}
.logo_home{
	width: 450px;
}
.logo_about{

	width: 30vh;
}
.slogan{
	font-family: 'Marmelad', sans-serif;
	font-size: 30px;
	color: #000000;
	padding-top: 20vh;
	padding-bottom: 20vh;
	line-height: 2.5em;;
	height: 100vh;

}

#slogan .container::before {
    content: "“";
    position: absolute;
    margin-left: -175px;
    margin-top: 40px;
    font-weight: bold;
    font-size: 8em;
    color: #d92f79;
    font-family: Georgia, Times, serif;
}
#slogan .container::after {
    content: "”";
    position: absolute;
    margin-top: 110px;
    margin-left: 40px;
    font-weight: bold;
    font-size: 8em;
    color: #d92f79;
    font-family: Georgia, Times, serif;
}
.about_logo{
	width: 50%;
	margin-top: 50px;
	margin-bottom: 30px;
}
.item1_txt{
	margin-top: 20px;
	font-size: 30px;
	width: 80%;
	text-align: center;
	font-weight: bolder;
	margin-bottom: 15vh;
}
.img_s{
	width: 100%;
}
.type2{
	margin-top: 90px!important;
	grid-template-rows: 3.5vw auto 3.5vw 23vw;
}

.title_goal{
	margin-bottom: 30px;
}

  .bg-video-wrap {
	position: fixed;
	overflow: hidden;
	width: 100%;
	height: 100vh;
	background: url(../img/home_bg01.jpg) no-repeat center center/cover;
  }
  video {
	min-width: 100%;
	min-height: 100vh;
	z-index: 1;
  }
  .overlay {
	width: 100%;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
	background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.3) 50%, rgba(0,0,0,.3) 30%);
	background-size: 5px 5px;
	z-index: 2;
  }
  .overlay2 {
	width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0), #d92f79);
    z-index: 2;
  }

  .intro .content {
    grid-template-rows: 0;
}

#service h2{
	font-family: 'AlphaLyrae', sans-serif;
    position: relative;
    z-index: 100;
    grid-area: title;
    text-transform: uppercase;
    font-size: clamp(2rem, 6vw, 4rem);
    margin: 0;
    display: flex;
    flex-direction: column;
    font-weight: 400;
    line-height: 0.8;
    font-family: 'AlphaLyrae', sans-serif;
}
#service .content{
	padding: 5vh 5vw 5vh 5vw;
}
.bot-box{
	align-content: end;
}
.txt_left{
	text-align: left;
}
.txt_box{
	margin-left: 10vw;
}
.txt_box2{
	margin-left: 3vw;
}
.txt_h{
	color: #fd348b;
	text-transform: uppercase;
	font-weight: 700;
}
.pos_box{
	position: absolute;
}
.slogan_txt{
margin: 10vh 10vw;
text-align: center;
font-size: 2rem;
font-weight: 200;
padding-top: 5rem;
}
.mail{
	font-size: 1.5rem;
	font-weight: 300;
}
.mail i{
	margin-left: 10px;
	text-decoration:none;
}
.mail i:hover{
	color: #d92f79;
	text-decoration:none;
}