html, body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  font-weight: 300;
  color: #000;
  line-height: 1.8;
}
a{
  text-decoration: none;
  color: #000;
  img{
    transition: .3s;
  }
&:hover{
  transition: .3s;
  opacity: 0.8;
  img{
    transform: scale(1.05);
  }
}
}
h1,h2,h3, .serif{
  font-family: "Noto Serif Display", serif;
  font-weight: 400;
}
h1{
  font-size: 48px;
}
h2 { 
  font-size: 36px; 
  margin-bottom: 20px; 
  margin-top: 80px;
}
h3.service-caption{
  font-size: 24px;
  border-bottom: 1px solid #929292;
  padding-bottom: 10px;
}
.text-en{
  font-family: "Kumbh Sans", sans-serif;
  font-size: 16px;
}

/* 画面幅が601px以上のとき */
@media (min-width: 601px) {
h1{
  font-size: 60px;
}
h2 { 
  font-size: 48px; 
  margin-bottom: 20px; 
}
h3.service-caption{
  font-size: 36px;

}
}


ul {
  margin: 0;
  padding: 0;
  li{
  list-style: none;
  
}
}

/* ===== Hero ===== */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#img-color,
#img-gray-wrapper {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#img-gray-wrapper {
  z-index: 2;
  pointer-events: none;
}

#img-color { z-index: 1; }

#img-gray {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.window-frame {
  position: fixed;
  width: 300px;
  height: 0px;
  top: 50px;
  left: 50px;
  border: 1px solid blue;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}
#frame-1 {
  width: 200px;
  top: 250px;
  left: 200px;
}
#frame-2 {
  width: 300px;
  top: 300px;
  right: 300px;
  left: auto;
}

#frame-3 {
  width: 100px;
  top: 600px;
  right: 500px;
  left: auto;
}

#frame-4 {
  width: 100px;
  top: 750px;

  left: 600px;
}



.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  animation: bounce 1.5s infinite;
  z-index: 5;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ===== Sections ===== */
.content-section {
  position: relative;
  min-height: 100vh;
  background-image:url("../images/bg.png");
  z-index: 10;
}

/* .content-section:nth-of-type(even):not(.no-bg) {
  background: #222;
} */

.no-bg {
  background: none !important;
}

#lottie-container {
  width: 100%;
  height: 400px;
  margin-top: 40px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  width: calc(100vw - 40px);
  img{
    width: 100%;
  }
}


p { line-height: 1.8; }

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

/* ===== Footer ===== */
#footer {
  background: #fff;
  text-align: center;
  z-index: 11;
  position: relative;
}

.footer-title {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: bold;
}

.footer-nav {
  margin-bottom: 30px;
}

.footer-nav a {
  color: #000;
  margin: 0 12px;
  text-decoration: none;
}

.footer-address {
  font-style: normal;
  line-height: 1.7;
  margin-bottom: 30px;
  opacity: .8;
}

small {
  font-size: 12px;
  opacity: .6;
}
.wrap{
  width: 100%;
  margin-top: -100vh;
}
.sticky{
  min-height: 100vh;
  background-image:url("../images/bg.png");
  z-index: 10;
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;

}
#about, #intro{
  position: sticky;
  z-index: 4;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  
}
#intro{
  .text-en{
    font-size: 20px;
  }
}
#contact{
  background: linear-gradient(to bottom, #000000, #5500FF);
color: #fff;
width: 100%;
}
#geometry {
div.container{
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #767676;
  width: 100vw;
  padding: 0;å
}
video{
  width: 100vw;
  max-width: 500px;
}
}
#member{
  min-height: 70vh;

  ul{
    display: flex;
    gap: 20px;
    justify-content: center;
    img:hover{
      outline: solid 10px #000;
      transition: .3s;
    }
  }

}
#contact{
  
  text-align: center;
    display: flex;
  align-items: center;
  justify-content: center;
  h2{
    font-size: 72px;
  }
  img{
    margin-top: 50px;
    max-width: 500px;
  }
    img.line{
    height: 400px;
    position: absolute;
    z-index: 9999;
    top: -200px;
    right: 0;
  left: 0;
  margin: auto;
  }
}
#service{
  display: flex;
  justify-content: center;
  align-items: center;

  li{
    margin-block: 80px;
  }
}
#work{
  ul{
    display: flex;
    flex-flow: column;
    gap: 40px;
    align-items: center;
  }
}

/* セクションごとに高さを設定してスクロールできるように */
.fade{
  opacity: 0;          
  transform: translateY(50px); /* 少し下にずらす */
  transition: opacity 2s ease-out, transform 1s ease-out; /* フェードインのアニメーション */
}

/* 表示されたときのクラス */
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.box {
  position: relative; /* 子要素の絶対配置の基準 */
  width: 200px;
  height: 150px;
  background-color: #f0f0f0;
  margin: 50px;
}

.dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: #5500FF;
}

/* 上左 */
.top-left {
  top: -13px;   /* 上から10px */
  left: 0;     /* 左端に揃える */
}

/* 上右 */
.top-right {
  top: -13px;
  right: 0;    /* 右端に揃える */
}

/* 下左 */
.bottom-left {
  bottom: -13px; /* 下から10px */
  left: 0;
}

/* 下右 */
.bottom-right {
  bottom: -13px;
  right: 0;
}

#fixed-header{
  position: fixed;
  z-index: 9999;
  transition: .5s;
  width: 90vw;
}

#fixed-header.is-show {
  background: #fff;
}
#fixed-header.is-show h1 a{
  background-image: url(../images/logo.svg);
}
#fixed-header.is-show a{
  color: #333;
}


#fixed-header h1{
	color: #000000;
	font-size: 16px;
}

@media (max-width:1199px){


#nav_check{
	position: fixed;
	top: 0;
	right: 0;
	display: none;
}


#nav_button{
	display: block;
	width: 70px;
	height: 70px;
	background:#fff url(../images/ico_navi.svg);
	background-size: 100% auto;
	overflow: hidden;
	cursor: pointer;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1000;
}
#nav_back{
	display: block;
	width: 100vw;
	height: 100vh;
	background-color: #101a27a1;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	left:-100vw;
	transition-duration: .2s;
	transition-timing-function: ease-out;

	backdrop-filter: blur(10px);
}
.nav_content{
	position: fixed;
	top: 0;
	right:  0px;
	z-index: 500;
	background-color: #fff;
	height: 100vh;
	width: 0px;
	padding: 80px 1em 1em;
	text-align: left;
	opacity: 0;
	transition-duration: .3s;
	transition-timing-function: ease-out;
}
.nav_content li{
	margin-bottom: 1em;
}

#nav_check:checked ~ .nav_content{
	
	width: 200px;
	opacity: 1;
	
	/* 変化の対象となる要素の指定。デフォルトのallは変化したもの全て */
	transition-property: all;
	/* 変化の所要時間 */
	transition-duration: .5s;
	/* 変化し始めるまでの待ち時間 */
	/* transition-delay: .2s; */
	/* 変化時の緩急 */
	transition-timing-function: ease-out; 
	/* transition-timing-function:cubic-bezier(.12,.97,.88,.04); */
}
#nav_check:checked ~ .nav_content a{
	color: #333;
}
#nav_check:checked ~ #nav_button{
	background-position: 0% 100%;
}

#nav_check:checked ~ #nav_back{
	left: 0;
}

}
@media(min-width:1200px){
	#nav_check{
		display: none;
	}
		.nav_content{
		display: flex;
		justify-content: center;
		gap: 80px;
	}
	.hdr{
		display: flex;
		padding: 20px 40px;
		justify-content: space-between;
	}
	h1 a{
		margin-top: -20px;
	width: 350px;
	height: 40px;
	background-image: url(../images/logo_w.svg);
	background-repeat: no-repeat;

}
.gnavi{
	display: flex;
	align-items: center;
}
}