html, body {
    height: 100%;
    overflow-y: scroll; /* 必要に応じて縦スクロールを許可 */
    margin: 0; /* マージンをリセット */
}



.top{
	background-image: url("img/top_img/TOP_back00.jpg");
  background-size: cover; 
	background-position: top; 
  background-position: center; /* 背景画像を中央揃え */
  background-repeat: no-repeat; 
	background-color: #fff;
	height: 100vh;
	
}
.top h2{
	font-size: 1.3rem;
	color: #333;
	font-family:Verdana, Geneva, "sans-serif";
	
}
.svg-rogo svg{
	margin-top: 40vh;
}

.svg-rogo{
	margin: 0;
}
/*SVGアニメ*/

.svg-rogo .st0,
.svg-rogo .st1 {
  animation-duration: 2.5s; /* アニメーションの速度を早く */
}

@keyframes draw {
  0% {
    stroke-dasharray: 0, 1000;
  }
  100% {
    stroke-dasharray: 1000, 0;
  }
}

/* SVGアニメーションのスタイル */
.svg-elem-1,
.svg-elem-2,
.svg-elem-3,
.svg-elem-4,
.svg-elem-5,
.svg-elem-6,
.svg-elem-7,
.svg-elem-8,
.svg-elem-9,
.svg-elem-10,
.svg-elem-11,
.svg-elem-12,
.svg-elem-13,
.svg-elem-14,
.svg-elem-15,
.svg-elem-16 {
  stroke: #000; /* 線の色 */
  stroke-width: 2; /* 線の太さ */
  fill: none; /* 中身を透明に */
  stroke-dasharray: 1000; /* 線の描画用 */
  stroke-dashoffset: 1000; /* 描画を開始する位置 */
  animation: draw 1s ease-in-out forwards; /* アニメーションのスピード調整 */
}

/* 塗りのアニメーションを早める */
.svg-elem-30 {
  animation: draw 1s ease-in-out forwards, fill-color 0.5s ease-in 0.3s forwards; /* 0.3秒後に塗り開始 */
}

/* 線を描画するアニメーション */
@keyframes draw {
  0% {
    stroke-dasharray: 0, 1000;
  }
  100% {
    stroke-dasharray: 1000, 0;
  }
}

/* 塗りのアニメーション */
@keyframes fill-color {
  0% {
    fill: transparent; /* 塗りなし */
  }
  
}






/*スクロールダウン*/
/* スクロールダウンの位置 */
.scroll {
  color: #000000;
  position: absolute;
  left: 50%; /* 左右中央 */
  bottom: 5%; 
  transform: translate(-50%, 50%); /* 水平・垂直方向の中央揃え */
}

/* 線のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  background-color: #000;
  bottom: 60px;
  content: "";
  height: 80px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}

/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
/*スクロールここまで*/



.circle-mask {
    position: absolute; /* スクロールに合わせて固定 */
      top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: circle(0px at 50% 50%);
    background: rgba(0, 0, 0, 0.5); /* 適宜変更 */
    z-index: 9999;
}
.content,  .map {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    z-index: 2; /* マスクの前面に表示 */
}

.content.visible, .flow .step.visible, .map.visible {
    opacity: 1;
    transform: translateY(0);
}

.circle-mask {
    clip-path: none; /* マスクを一時的に無効化 */
}



.content {
    padding: 20px;
    color: #fff;	
}


/* 背景動画のスタイル */
.top-text {

  position: relative; /* コンテンツを重ねるために必要 */
  overflow: hidden; /* はみ出しを隠す */
	
}

.background-video {
  position: absolute; /* 背景として配置 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 動画のサイズ調整 */
  z-index: -3; /* 背景に移動 */
}

/* 半透明な黒いフィルター */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* 半透明な黒 */
  z-index: -2; /* テキストの後ろに配置 */
}



/* コンテンツのスタイル */
.top-text h1 {
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #E7F07B;
  margin: 0;
  margin-top: 40vh;
  z-index: 1; /* 背景動画の上に表示 */
}

.top-text h2 {
  font-size: 2rem;
  line-height: 2.5rem;
  margin-top: 50px;
  text-align: center;
  margin-left: 10px;
  color: #fff;
  z-index: 1; /* 背景動画の上に表示 */
}

.top-text ul {
  width: 80%;
  margin: 50px auto;
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  z-index: 1; /* 背景動画の上に表示 */
}

.top-text li {
  list-style: none;
  width: 30%;
  background-color: #E7F07B;
  border-radius: 20px;
  color: #4D4D4D;
  padding: 5px 10px;
  font-size: 1.4rem;
  font-weight: bold;
  z-index: 1; /* 背景動画の上に表示 */
}
@media screen and (max-width: 900px){
	.top-textul{
		width: 100%;
	}
	.top-text ul{
		width: 90%;
		gap:10px;
	}
	.top-text li{
		width: 47%;
		font-size: 1rem;
		padding: 3px 7px;
}
}

/*❎共通ボタン*/
.content-button,.button {
  border-radius: 20px;
 margin: 30px auto 0;
  padding: 10px 20px;
  width: 150px;
  display: block;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #BCEC85, #9AD972);
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}
.content-button:hover,.button:hover {
  background: linear-gradient(135deg, #9AD972, #BCEC85);
  color: #fff;
  transform: translateY(-4px); /* ホバー時に少し浮き上がる動き */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.content-button:active,.button:active {
  transform: translateY(2px); /* クリック時に押し込まれる動き */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.content-button a,.button a{
	font-size: 1.2rem;
	text-decoration: none;
	color: #fff;
	margin-bottom: 50px;
}

/*私たちにできること*/


.animation-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.content-title {
  position: relative;
  overflow: hidden;
  font-weight: bold;
  margin-top: 100px;
	margin-bottom: 50px;
	font-size: 2rem;
	text-align: center;
	color: #E7F07B;
}

.content-title span {
  display: inline-block;
  transform: translateX(-100%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s;
}

.content-title.-visible span {
  transform: translateX(0);
}

/* 下線アニメーション */
.content-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #E7F07B;
  transition: width 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.content-title.-visible::after {
  width: 100%;
}

/*タイトルアニメここまで*/
.content-00 {
  width: 85%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 auto 10px;
}
.content {
  position: relative;
  width: 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 550px;  /* 高さを統一 */
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* h2見出しの高さを固定し、中央揃え */
.content h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #E7F07B;
  height: 3.5em;  /* 高さを固定 */
  display: flex;
  align-items: center;  /* 縦中央揃え */
  justify-content: center; /* 横中央揃え */
  margin: 20px 0 10px;
  text-align: center;
}

/* ulの位置を見出しの下に揃える */
.content ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.content li {
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1.5rem;
  text-align: left;
}

/* ボタンを下部に固定 */



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




.content img {
  height: 150px;
  padding: 15px;
}


@media screen and (max-width: 1200px) {
  .content {
    width: 40%;
	  
  }
}

@media screen and (max-width: 800px) {
  .content {
    width: 80%;
    height: auto;
    padding-bottom: 100px; /* ← ボタン分のスペースを確保 */
  }

  .content-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
}


/*フロー*/
.flow {
	width: 80%;
	margin: 0 auto;
	margin-bottom: 10px;
	display: flex;
	gap: 50px;
}
.flow img {
	width: 150px;
}
.flow h3 {
	font-size: 1.5rem;
}
.flow span {
	font-size: 1.2rem;
}
.step {
	display: flex; /* 横並びを有効にする */
	align-items: center; /* 縦位置を中央揃えに */
	justify-content: space-between; /* 矢印を右側に配置 */
}
.step::after {
	content: '▶︎'; 
	display: inline-block;
	margin: 1rem;
	font-size: 1.5rem; /* 矢印のサイズ */
	transition: transform 0.3s; 
	color: #E7F07B;
}
.step:last-child::after {
	content: ''; /* 矢印を非表示に */
}

@media screen and (max-width: 1200px) {
	.flow {
		display: block; 
		gap: 20px; 
	}
	.step{
		display: block;
	}
	
	.step::after {
		content: '▼'; 
		display: block; 
		margin: 10px auto ; 
		
	}
}

/*ホームページ制作のご案内*/
.hp-banner{
	margin: 50px auto;
}
.hp-banner img{
	max-width: 800px;
	width: 80%;
}


/*マップ*/
.map{
	width: 60%;
	margin: 100px auto;
}
@media screen and (max-width: 900px){
	.map{
		width: 90%;
	}
	.kai{
		display: block;
	}
}
.kai{
	display: none;
}
iframe{
	width: 100%;
	height: 40vh;
}
.map h2{
	text-align: left;
	font-size: 1.5rem;
margin-bottom: 10px;
	border-bottom: solid #fff;
}
.map p{
	font-size: 1.2rem;
	text-align: left;
	margin: 0;
}
.inquiry-button{
	background-color: #E7F07B;
	padding: 5px 10px;
	border-radius: 20px;
}
.inquiry-button a{
	text-decoration: none;
	color: #4D4D4D;
	line-height: 1.5rem;
}

/* 初期非表示の状態 */
.flow .step, .map {
  opacity: 0; /* 表示を隠す */
  transform: translateY(20px); /* 下から現れる */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 表示状態 */
.flow .step.visible, .map.visible {
  opacity: 1; /* 表示する */
  transform: translateY(0); /* 元の位置に戻す */
}