:root {
	--contentWidth: clamp(360px,90vw,960px);
	--paragraphWidth: clamp(360px,90vw,540px);
	--color-darkGrey: #221815;
	--color-mediumGrey: #423835;
	--color-accent: #f8b62d;
}

body {
	margin: 0;
}

.wrapper {
	width: 100%;
	overflow: hidden;
}

img {
	max-width: 100%;
}

* {
	box-sizing: border-box;
}

section {
	border: 1px solid grey;
	background: var(--color-darkGrey);
	background-size: 720px auto;
	background-repeat: repeat;
	padding: 2em 0;
}

a {
	color: var(--color-accent);
	display: inline-flex;
	align-items: center;
}
a:hover {
	color: #fff;
}
a:before {
	content: "";
	display: inline-block;
	width: 0.67em;
	height: 0.67em;
	margin-right: 0.33em;
	background: var(--color-accent);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
	transition: translate 0.25s ease;
}
a:hover:before {
	translate: -25%;
}

.nav {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 99;
	padding-top: 12px;
}

.nav.is-blend {	
	mix-blend-mode: difference;
}

.logo {
	width: var(--contentWidth);
	transform-origin: top center;
}

#logo {
	transition: 0.25s ease;
}

#logo.is-shrink {
	width: 33vw;
	max-width: var(--contentWidth);
}

.is-sp #logo.is-shrink {
	width: 50vw;
}


.nav-bottom {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 0 32px 18px;
	display: flex;
	justify-content: space-between;
	box-sizing: border-box;
}

.nav-bottom p, .nav-bottom a {
	font-size: 0.8rem;
	font-weight: 300;
	letter-spacing: 0.2em;
	margin: 0;
	color: #fff;
	text-decoration: none;
}
.cta {
	position: fixed;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	z-index: 999;
	transition: 0.5s ease;
	font-family: sans-serif;
}
#cta { translate: 100%;  }
#cta.show {	translate: 0; }

.cta a {
	background: var(--color-accent);
	padding: 1.5em 2em;
	font-weight: 700;
	font-size: 1.1rem;
	letter-spacing: 0.1em;
	transition: 0.1s;
	color: var(--color-darkGrey) !important;
	text-decoration: none;
	font-family: sans-serif;
}
.cta a:hover {
	color: var(--color-accent) !important;
	background: var(--color-darkGrey);
}
.cta a:before {
	background: var(--color-darkGrey);
}
.cta a:hover:before {
	background: var(--color-accent);
}
.cta p {
	color: var(--color-accent);
	font-family: Murecho, sans-serif;
	font-weight: 600;
	font-size: 1.5rem;
	line-height: 1.2;
	pading: 0.5em 0;
	margin: 0;
	font-family: sans-serif;
}
.cta#cta-sp {
	top: auto;
	bottom: 0;
	width: 100%;
	flex-direction: column-reverse;
}
.cta#cta-sp p {
	background-color: rgba(0,0,0,0.5);
	text-align: center;
}
.cta#cta-sp a {
	padding: 1em;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
.cta#cta-sp a:before {
	content: " ";
	display: block;
	width: 0.67em;
	height: 0.67em;
	margin-right: 0.33em;
	background: var(--color-darkGrey);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}
#cta-sp { translate: 0 100%;  }
#cta-sp.show {	translate: 0 0; }

@media screen and (max-width: 900px){
	.pcbr {
		display: none;
	}
}

.is-sp section:last-of-type {
		padding-bottom: 8.33vh;
	}

#hero {
	background: url('../img/hero_bg-noised.jpg');
	background-size: cover;
	background-position: bottom center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#hero img {
	position: relative;
	z-index: 1;
	max-height: 80vh;
}

@media screen and (min-width: 720px){
	#hero img {
		max-height: clamp(540px,80vh,80vh);
	}
}

.hero_impact {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	text-align: center;
	width: calc(var(--contentWidth) * 0.7);
	z-index: 1;
}

.is-sp .hero_impact {
	width: var(--contentWidth);
	max-width: 600px;
}

#hero h {
	display: inline-block;
	color: #fff;
	letter-spacing: 0.25em;
	font-weight: 800;
	margin-right: -0.25em;
}

#section-title_wrapper {
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translate(-50%,0);
	width: var(--contentWidth);
	display: flex;
	align-items: center;
	flex-direction: column;
	color: #fff;
	z-index: 2;
}
h2#section-title_subtitle {
	display: inline-block;
	color: var(--color-accent);
	transform-origin: center;
	margin: 0;
	line-height: 1.5;
	position: absolute;
	font-size: 12px;
	font-family: sans-serif;
}

h1#section-title {
	display: inline-block;
	transform-origin: bottom center;
	z-index: -1;
	position: relative;
	text-spacing-trim: space-all;
  	padding-right: 0.4em;
	margin: 0;
	line-height: 1;
	font-size: 12px;
	font-family: sans-serif;
}

h1#section-title span.title-okuri {
	position: absolute;
	bottom: 0;
	right: 0.09em;
	width: 0.17em;
	height: 0.17em;
	border-radius: 50%;
	border: 0.09em solid #fff;
	font-family: sans-serif;
}

.content {
	max-width: var(--contentWidth);
	width: 100%;
	margin: auto;
	padding: 2em 1em;
}
.wide {
	padding: 2em 1em;
}

#concept {
	background: url('../img/concept_background-noised.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	text-align: center;
}

h2 {
	color: #fff;
	display: flex;
	align-items: center;
	flex-direction: column;
	font-size: 1.5rem;
	letter-spacing: 0.15em;
	margin-bottom: 2em;
	font-family: sans-serif;
}
h2 span.subtitle {
	color: var(--color-accent);
	font-size: 2em;
	font-weight: 500;
	margin-bottom: -0.67em;
	letter-spacing: 0.1em;
}

h3 {
	color: #fff;
	font-size: 2.5em;
	font-family: Murecho, sans-serif;
	font-weight: 800;
	letter-spacing: 0.05em;
	line-height: 1.2;
}
.subtext {
	font-size: 0.5em;
	font-weight: 600;
}
.subtext img {
	height: 1em;
	display: inline;
	margin-left: 0.25em;
}

h4 {
	color: #fff;
	font-size: 1.2em;
	line-height: 2;
	letter-spacing: 0.15em;
	font-family: sans-serif;
}

h5 {
	color: #fff;
	font-size: 1.66em;
	font-weight: 100;
	letter-spacing: 0.2em;
	margin-bottom: 0em;
	font-family: sans-serif;
}

p {
	color: #fff;
	font-size: 1.1rem;
	line-height: 2;
	letter-spacing: 0.1em;
	font-family: sans-serif;
}
p strong {
	font-weight: 600;
}

li {
	color: #fff;
	font-size: 1.1rem;
	line-height: 2;
	letter-spacing: 0.1em;
}

.service-lists_item, .service-lists_divider {
	display: flex;
	margin: 1em 0;
}

.service-lists_item h3 {
	margin: 0;
}

.service-lists_item h4 {
	padding-left: 1em;
	border-width: 0 0 0 2px;
	border-style: solid;
	border-color: var(--color-accent);
}

.service-lists_item h5 {
	margin: 0;
}
.service-lists_item-image {
	width: 360px;
	margin-right: 1.5em;
}
.service-lists_item_gallery {
	padding: 1em 0;
}
.service-lists_item_gallery .service-lists_item_gallery_inner {
	display: flex;
	flex-flow: row wrap;
	gap: 16px;
	padding: 1em 1em;
	background-color: rgba(255,255,255,0.1);
	width: 100%;
}
.service-lists_item_gallery .image-cover {
	width: calc(25% - (16px * 0.75));
	height: auto;
	aspect-ratio: 1 / 1;
	transition: 0.15s;
}
.service-lists_item_gallery_inner:hover .image-cover {
	opacity: 0.75;
}
.service-lists_item_gallery_inner:hover .image-cover:hover {
	opacity: 1 !important;
}
.service-lists_divider {
	overflow: hidden;
}
.service-lists_divider h5 {
	position: relative;
}
.service-lists_divider h5 .service-lists_divider_el {
	position: absolute;
	left: 100%;
	top: 50%;
	transform: translateX(1em) translateY(-50%);
	width: var(--contentWidth);
	height: 1px;
	background-color: var(--color-accent);
}

.image-cover {
	height: 100%;
	width: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
#gallery_wrapper {
	display: flex;
	flex-direction: row;
	overflow-x: hidden;
}
.gallery {
	display: flex;
	flex-direction: row;
	width: fit-content;
	flex-shrink: 0;
	animation-duration: 25s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

@keyframes gallery-slide {
	0% {
		translate: 0;
	}
	100% {
		translate: -100%;
	}
}

figure {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	justify-content: flex-start;
	flex-direction: row;
}
figure img {
	max-width: 100%;
}
figure.gallery_item, figure#gallery_item-null {
	width: 360px;
	margin: 0;
	box-sizing: border-box;
	margin: 0 0.5em;
	flex-shrink: 0;
}
figure#gallery_item-null {
	visiblity: hidden;
	pointer-events: none;
	position: fixed;
	top: 0;
	right: 100%;
}

@media screen and (max-width: 720px){
	.service-lists_item-image {
		height: 240px;
		margin-right: 0;
	}
	.service-lists_item {
		flex-direction: column;
	}
	.service-lists_item-image {
		padding-bottom: 3em;
	}
.service-lists_item_gallery .image-cover {
	width: calc(50% - (16px * 0.5));
	height: auto;
	aspect-ratio: 1 / 1;
	transition: 0.15s;
}
}

.info-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.75em 0;
}
.info-item h3 {
	font-size: 1.67rem;
	background: var(--color-accent);
	color: #000;
	padding: 0.25em 0.67em;
}
.info-item p {
	font-family: Murecho, sans-serif;
	text-align: center;
	color: #fff;
	line-height: 1.5;
}
.info-item p strong {
}
.flexbox {
	display: flex;
	flex-flow: row wrap;
	gap: 2em;
}
.flex-reverse {
	flex-direction: row-reverse;
}
.flex-6 {
	width: calc(50% - 1em);
}
.flex-4 {
	width: calc(33% - 1em);
	max-width: calc(33% - 1em);
	display: block;
}
.flex-8 {
	width: calc(67% - 1em);
}
.flex-12 {
	width: 100%;
}
@media screen and (max-width: 720px){
	.flex-6 {
		width: 100%;
	}
}

#announce {
	padding: 0em;
}
#announce h2 {
	display: inline-block;
	color: var(--color-accent);
	transform-origin: center;
	margin: 0;
	line-height: 1;
	text-shadow: 0 0 4px rgba(248,182,45,0.5);
}

#announce .wide {
	display: flex;
	justify-content: center;
}

/* LOADER */

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background: url('../img/background_noise.svg'), var(--color-darkGrey);
	background-size: 720px auto;
	background-repeat: repeat;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, transparent calc(50% - 1px), black 50%, black 100%);
    mask-image: linear-gradient(to top, transparent 0%, transparent calc(50% - 1px), black 50%, black 100%);
    -webkit-mask-size: 100% 200%;
    mask-size: 100% 200%;
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
    transition:  mask-position 0.75s ease, -webkit-mask-position 0.75s ease;
}
#loader .logo {
	width: calc(var(--contentWidth) * 0.5);
}

#loader_inner {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background: var(--color-mediumGrey);
}

#loader.fadeaway {
    -webkit-mask-position: 0 100%;
    mask-position: 0 100%;
    pointer-events: none;
}

#loading-text {
    font-family: "Murecho", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    width: 4em;
    font-size: 4rem;
    text-align: right;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding-bottom: 0.2em;
}

#loading-text span {
	display: inline-block;
    transition:  translate 0.75s ease, -webkit-translate 0.75s ease;
}

#loader.fadeaway .logo {
	translate: 0 100%;
	transition: translate 0.75s ease;
}

#loader.fadeaway #loading-text span {
	translate: 0 100%;
}

#loader.fadeaway #loading-text span.count1 { transition-delay: 0s; }
#loader.fadeaway #loading-text span.count2 { transition-delay: 0.025s; }
#loader.fadeaway #loading-text span.count3 { transition-delay: 0.05s; }
#loader.fadeaway #loading-text span.count4 { transition-delay: 0.075s; }

.map {
	width: 66%;
	max-width: var(--contentWidth);
}

.map iframe {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

.map a {
	text-align: right;
}

@media screen and (max-width: 600px){
	#loader {
		flex-direction: column;
		align-items: flex-start;
	}
	#loading-text {
		width: 100%;
		text-align: left;
	}
	.map {
		width: 100%;
	}
}

.paragraph {
	width: 100%;
	max-width: var(--paragraphWidth);
	margin: auto;
}

.paragraph p {
	text-align: left;
}

#howtouse .paragraph {
	padding: 1em 2em;
	margin-bottom: 1.5em;
	background-color: rgba(255,255,255,0.1);
}

@media screen and (max-width: 600px){ 
	#howtouse .paragraph {
		padding: 0.5em 1em;
	}
}