@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);

body {
  font-family: 'Open Sans', sans-serif;
  color: white;
      font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
overflow-x: hidden;
}
h1 {
  margin: 0 auto;
  font-size: 7em;
  font-weight: bold;
  color: white;
  top: 40%;
  text-align: center;
}
.h1-span{
margin-top: 0.5em;
font-size: 0.4em;
}





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

p{
  font-family: "Noto Sans JP", sans-serif;
}
.wrap {
  min-height: 180vh;
  /* background: linear-gradient(tomato, crimson); */
    background: linear-gradient(tomato, #93d1ca);

  top: 0 !important;
}
.scroll-deck {
  height: 110vh;
  position: relative;
  margin-top: -100px;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}
.scroll-deck1 {
  h1 {
    opacity: 0;
    &.active {
      animation: hi 0.5s ease 2s backwards;
    }
  } 
}

@keyframes hi {
  from {
    transform: translate3d(-20px, 0, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}


@media screen and (max-width: 700px) {
  h1 {
    font-size: 4em;
  }
  .scroll-deck {
  height: 85vh;
}

}







:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --dark-color: #2F2F2F;
    --light-color: #F7FFF7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
      height: 100%

}
ul {
    list-style: none;
}


/* 画面幅が1024px以上の時は */
@media screen and (min-width: 1024px) {
  .ps{
    display: block; /* PCを改行して */
  }

  .sp{
    display: none; /* SPの改行を隠す */
  }
}

/* 画面幅が560px以下の時は */
@media screen and (max-width: 560px) {
  .ps{
    display: none; /* PCの改行を隠して */
  }

  .sp{
    display: block; /* SPを改行する */
  }

}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10000;
}

.logo img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
}


nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

main {
    padding: 2rem 5%;
    width: 100%;
    height: auto;
}


main::before {
  content: "";
  display: block;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: -1;
  width: 100%;
  height: 100vh;
    background-image: url("img/batu.png");
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: center top 25%;
    background-color: rgba(255, 229, 200, 0.8);

}

.conts {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  font-size: 40px;
  text-align: center;
  padding: 5%;
  max-width: 800px;
  margin: 0 auto;
}


section {
    padding: 4em 0;
    margin-bottom: 2em;
    text-align: center;
    scroll-margin-top: 80px;
}
@media screen and (max-width: 768px) {
section {
    padding: 1em 0;
}
main::before {
  background-size: 180%;
}

}




#hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 6rem 1rem;
    border-radius: 2em;
    margin-bottom: 4rem;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2em auto 0 auto;
}

.about-content p{
text-align: center;
font-size: 1.5em;
font-weight: bold;
line-height: 1.85em;
}

@media screen and (max-width: 700px) {

.about-content p{
text-align: center;
font-size: 1.1em;
font-weight: bold;
line-height: 1.85em;
}

@media screen and (max-width: 450px) {
.about-content p{
font-size: 0.8em;
}


}


}


.about-image {
    max-width: 200px;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 4em;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.3em;
}

.cta-button:hover {
    transform: translateY(-3px);
}

h2 {
    width: fit-content;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 auto 2em auto;
flex: 1;
    background: #fff;
    padding: 0.5em 2em;
    border: 2px solid #ffa0a0;
    box-shadow: 10px 10px  #ffa0a0;
    text-align: left;
}

@media screen and (max-width: 700px) {
    h2 {
        font-size: 1.5rem;
    }
}




#services {
    display: flex;
    flex-direction: column;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2em auto;
    width: 90%;
}

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

.service-image {
    width: 50%;
    display: flex;
  justify-content: center;
  padding: 1em;
}

.service-image img {
    width: 100%;
    display: block;
    margin: 0 auto;
    height: auto;
    object-fit: scale-down;
    border-radius: 2em;
    text-align: center;
}

.service-description {
    flex: 1;
    background: #fff;
    padding: 2rem;
    margin: 2em;
    border-radius: 2em;
    text-align: left;
    width: 45%;
}

.service-description h3 {
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-weight: bold;
    font-size: 1.2em;
}

#contact .cta-button {
    background: var(--primary-color);
    color: #fff;
    margin-top: 2em;
}
#contact p {
  text-align: center;
  font-size: 1.25em;

}

@media screen and (max-width: 700px) {
.service-item {
    display: block;
    align-items: center;
        margin: 0 auto;

}
.service-image img {
  width: 90%;
    margin: 1em auto;
}
.service-image {
    width: 100%;
}
.service-description {
  margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 2em;
    text-align: left;
    width: 100%;
}

}


#aboutus dl{
    display: block;
    margin: 2em auto;
    width: 55%;
    text-align: left;
}


#aboutus dl dt{
  width: 20%;
    font-weight: bold;
    margin-right: 1em;
}

#aboutus dl dd{
    width: 80%;

}
#aboutus dl div{
width: 100%;
display: flex;
margin: 0.5em auto;
}

@media screen and (max-width: 700px) {
#aboutus dl{
    display: block;
    margin: 2em auto;
    width: 100%;
    text-align: center;
}

#aboutus dl div{
width: 100%;
display: block;
margin: 0.5em auto;
margin: 0 auto;
}
#aboutus dl dt{
  width: 100%;
    font-weight: bold;
}

#aboutus dl dd{
    width: 100%;

}

}















footer {
    text-align: center;
    padding: 2rem 0;
    background: var(--dark-color);
    color: var(--light-color);
    margin-top: 4rem;
}

footer p{
    text-align: center;

}
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    transform: translateX(-50px);
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.slide-in-right {
    transform: translateX(50px);
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.slide-in-left.visible, .slide-in-right.visible {
    transform: translateX(0);
    opacity: 1;
}

/* Opening Animation */
#opening {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 1s ease-out;
    transition: opacity 1s ease-out;
    width: 100%;
    height: 100vh
}

#opening.fade-out {
    opacity: 0;
}

#opening img {
    width: 60%;
    height: auto;
    max-width: 260px;
    display: block;
    margin: 0 auto;
}



ul.workflow{
    width: 80%;
    margin: 2em auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}
.workflow li{
    display: flex;
    width: 60%;
    margin:  2em auto;
background-color: rgba(255, 255, 255, 0.8);
    border-radius: 3em;
    padding: 1em 0;
    }
    .workflow li p.hosoku
    {
    display: block;
    }
.workflow li div:first-child{
display: flex;
flex-wrap: nowrap;
justify-content: left;
width:100%;
margin: 0 auto 0 4em;
align-items: center;
}
.workflow li div p{
font-size: 2em;
font-weight: bold;
line-height: 1.25em;
}
.workflow li div h5{
font-size: 5em;
margin-right: 0.5em;
font-family: "Squada One", sans-serif;
  font-weight: 400;
  font-style: normal; 
font-size: 3em;

}

.workflow li div img{
    display: block;
    margin: 0 auto;
width: 60%;
}






/* 縦スライドここから */
.block {
  width: 60%;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: -webkit-sticky;
  position: sticky;
  top: 15%;
  border-radius: 5em;
  margin: 5em auto 0 auto;
  flex-wrap: nowrap;
    font-family: "Noto Sans JP", sans-serif;

}
.block p {
  display: inline-block;
  font-size: 60px;
    font-family: "Noto Sans JP", sans-serif;
  padding: 0;
  margin: 0 auto;
}


.block-one {
  background: #ffffff;
  color: #4b4b4b;
  z-index: 100;
}
.block-two {
  background: #ffffff;
  color: #4b4b4b;

  z-index: 200;
}
.block-three {
  background: #ffffff;
  color: #4b4b4b;

  z-index: 300;
}
.block-four {
  background: #ffffff;
    color: #4b4b4b;

  z-index: 400;
}
.block-five {
  background: #ffffff;
    color: #4b4b4b;

  z-index: 500;
}


.block ul li {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}
.block ul li p{
font-size: 3em;
font-weight: bold;
letter-spacing: 0.15em;
line-height: 1.25em;
    font-family: "Noto Sans JP", sans-serif;

}
.block ul p{
  display: block;
font-size: 1.2em;
font-weight: bold;
line-height: 1.6em;
text-align: center;
margin: 0 auto;
    font-family: "Noto Sans JP", sans-serif;

}
.block img {
    display: block;
width: 50%;
margin: -1 auto 0 auto;
}
.num {
  font-size: 4em;
  font-weight: bold;
  display: block;
  text-align: right;
  font-family: "Squada One", sans-serif;
  font-style: normal;
margin-right: 0.5em;
}




@media screen and (max-width: 1000px) {
.block {
  width: 100%;
    border-radius: 2em;

}

}
@media screen and (max-width: 700px) {

.block {
  width: 100%;
}
.block p {
  display: inline-block;
  font-size: 60px;
  font-family: 'Great Vibes', cursive;
  padding: 0;
  margin: 0;
}

.block ul li p{
font-size: 1.5em;
font-weight: bold;
letter-spacing: 0.15em;
line-height: 1.25em;
margin: 0 ;
}
.block ul p{
font-size: 0.8em;

}
.num {
  font-size: 2.5em;
}
.block img {
    display: block;
width: 70%;
margin: -1 auto 0 auto;
}

}

















#page-top {
  position: fixed;
  right: 10px;
  z-index: 600;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, bottom 0.3s ease;
}

#page-top.is-show {
  opacity: 1;
  visibility: visible;
}

#page-top img {
  width: 80px;
  display: block;
  transition: transform 0.3s ease;
}

#page-top:hover img {
  transform: translateY(-8px);
}
@media screen and (max-width: 700px) {
#page-top img {
  width: 50px;
}

}





/* ハンバーガー */
/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:0;
    right: -120%;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:rgba(255, 255, 255, 0.75);
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center;
    font-size: 1.15em;
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:auto;
	right: 120px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 5px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

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

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

@media screen and (max-width: 700px) {
.openbtn{
	right: 10px;
}
}


/*=== 9-1-2 丸が動いてスクロールを促す ====*/

/*スクロールダウン全体の場所*/
.scrolldown2{
    /*描画位置※位置は適宜調整してください*/
	position:absolute;
	top:350px;
	left:50%;
}

/*Scrollテキストの描写*/
.scrolldown2 span{
    /*描画位置*/
	position: absolute;
	left:10px;
	bottom:10px;
    /*テキストの形状*/
	color: #eee;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
	/*縦書き設定*/
	-ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 丸の描写 */
.scrolldown2:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom:0;
    left:-4px;
    /*丸の形状*/
	width:10px;
	height:10px;
	border-radius: 50%;
	background:#eee;
    /*丸の動き1.6秒かけて透過し、永遠にループ*/
	animation:
		circlemove 1.6s ease-in-out infinite,
		cirlemovehide 1.6s ease-out infinite;
}

/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove{
      0%{bottom:45px;}
     100%{bottom:-5px;}
 }

/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide{
      0%{opacity:0}
     50%{opacity:1;}
    80%{opacity:0.9;}
	100%{opacity:0;}
 }

/* 線の描写 */
.scrolldown2:after{
	content:"";
    /*描画位置*/
	position: absolute;
	bottom:0;
	left:0;
    /*線の形状*/
	width:2px;
	height: 50px;
	background:#eee;
}






