@charset "UTF-8";
/* CSS Document */


body {
	padding:0;
	margin:0;
}

.bk01 {
	background-color: #eee;
}

.st_header {
	background-image: url("../images/visual.jpg");
	background-size: cover;
	min-height: 700px;
	background-position: center center;
	position: relative;
	padding: 5em;
}

.st_header .top_ttl {
	width: 50%;
	margin: 10% 10% 10% 40%;
	text-align: right;
}

.st_wrap {
	clear: both;
	width:100%;
	max-width: 900px;
    text-align: center;
	padding: 2% 0;
	margin: 0 auto;
	font-family: "Noto Sans JP", sans-serif;
	color: #8d866b;
}

.st_wrap h1 {
	font-family: "Lato", sans-serif;
    font-weight: 400;
	font-size: 28px;
	text-align: center;
	margin: 3% auto 2%;
	line-height: 1.6em;
    padding: 0;
}

.st_wrap h2 {
    font-weight: 400;
	font-size: 26px;
	text-align: center;
	margin: 7% auto 1%;
	line-height: 1.8em;
    padding: 0;
}

.st_wrap h3 {
    font-weight: 400;
	font-size: 25px;
	text-align: left;
	margin: 2% auto 3%;
	line-height: 1.5em;
}

.st_wrap h3 span {
	border-bottom: solid 2px #000;
}

.st_wrap h4 {
	font-family: "Lato", sans-serif;
	font-size: 36px;
    font-weight: 700;
	text-align: center;
	margin: 5% auto 3%;
}

.wrap_content {
    background-color: #ebebe9;
	padding: 20px 20px 30px;
	margin: 3% auto;
}

.catch {
  display: flex;
  align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
}
.catch:before, .catch:after {
  border-top: 1px solid;
  content: "";
  width: 2em; /* 線の長さ */
}
.catch:before {
  margin-right: 1em; /* 文字の右隣 */
}
.catch:after {
  margin-left: 1em; /* 文字の左隣 */
}

.co01 {
    color: #fff;
}

.co02 {
    color: #8d866b;
}

.flxbox {
	display: flex;
	justify-content: space-around;
	gap: 3%;
}

.flxitem {
	width: calc((100% - 3%) / 3);
	text-align: left;
}

figure {
	margin: 0;
	padding: 0;
	position: relative;
}

.st_wrap p {
	margin: 3% 0;
    text-align: left;
    font-size: 13px;    
    line-height: 1.6em;
}

.st_wrap h3 {
    font-family: "din-2014", sans-serif;
	font-weight: 700;
	font-size: 24px;
	color: #8d866b;
}

.logo {
	width: 60%;
	max-width: 400px;
	margin: 10% auto;
}

.Main {
	width: 100%;
	margin: 3% auto;
}

.sp {
	display:none;
}

.Lead {
	font-weight: 400;
	text-align: center;
	font-size: 15px;
	padding: 0;
	line-height: 1.8em;
	margin: 5% auto;
}

.Logo  { width: 15%; max-width: 200px; margin: 10% auto 5%;}

.clear {
	clear:both;
}

.link_box {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.link {
	width: 48%;
	margin: 1%;
}

.item_box {
	width: 95%;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
}

.item_box_item {
	width: 40%;
}

.item_box_txt {
	width: 60%;
}

.txt_rht {
	width: 70%;
	margin: 2% 0 2% 30%;
}

.txt_lft {
	width: 70%;
	margin: 2% 25% 2% 5%;
}

.btntxt {
	font-family: "Lato", sans-serif;
	font-size: 45px;
	font-weight: 600;
	letter-spacing: 0.025em;
	color: #fff;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	text-shadow: 2px 2px 3px #777;
}

.btntxt2 {
	font-family: "Lato", sans-serif;
	font-size: 24px;
	font-weight: 600;
	width: 100%;
	letter-spacing: 0.025em;
	color: #fff;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	text-shadow: 2px 2px 3px #777;
}

.triangle-button{
	width: 25%;
    border-radius: 4px;
    color: #000;
    display: block;
    padding: 4px;
	font-size: 17px;
	font-weight: 400;
    position: relative;
    text-align: center;
    text-decoration: none;
	float: right;
}

.triangle-button::after{
    content: '';
    display: inline-block;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-color: transparent transparent transparent #000;
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.triangle-button{
    color: #000;
    display: block;
    position: relative;
    text-align: center;
    text-decoration: none;
}

.triangle-button::after{
    content: '';
    display: inline-block;
    border-style: solid;
    border-width: 7px 0 7px 7px;
    border-color: transparent transparent transparent #000;
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.btn-1 {
	display: block;
    width: 40%;
    max-width: 150px;
    font-size: 12px;
    margin: 4% 0 0;
    padding: 4px;
    font-weight: 600;
    color: #fff;
    background-color: #8d866b;
	float: right;
}

.btn-2 {
	display: block;
    width: 40%;
    max-width: 150px;
    font-size: 12px;
    margin: 4% 5% 0;
    padding: 4px;
    font-weight: 600;
    color: #fff;
    background-color: #8d866b;
}

.btn-3 {
	display: block;
    width: 40%;
    max-width: 300px;
    font-size: 15px;
    margin: 5% auto 2%; 
    padding: 5px;
    font-weight: 600;
    color: #fff;
    background-color: #8d866b;
}

.point_video {
	width: 100%;
	margin: 3% auto 5%;
}

/*cssアニメーション*/


	.typing-container {
      display: flex;
      flex-direction: column;
      align-items: flex-end; /* 右詰め */
      padding: 20px;
      font-family: "din-2014", sans-serif;
	  font-weight: 700;
      font-size: 70px; /* ★フォントサイズを50pxに設定 */
      line-height: 1.5em;
	  color: #fff;	
    }

    /* 各行共通 */
    .line {
      display: inline-block;
      white-space: nowrap;
      overflow: hidden;
      border-right: 4px solid transparent;
      width: 0;
    }

    /* 1行目 (7文字) */
    .line-1 {
      animation: 
        type1 0.7s steps(7, end) 0s forwards,
        cursor 0.7s step-end 0s;
    }

    /* 2行目 (13文字) */
    .line-2 {
      animation: 
        type2 1.3s steps(13, end) 0.7s forwards,
        cursor 1.3s step-end 0.7s;
    }

    /* 3行目 (5文字) */
    .line-3 {
      font-size: 0.75em; /* 約37.5px */
      animation: 
        type3 0.5s steps(5, end) 2.0s forwards,
        blink 0.8s step-end 2.5s infinite;
    }

    /* アニメーション定義 */
    @keyframes type1 { to { width: 7ch; } }
    @keyframes type2 { to { width: 13ch; } }
    @keyframes type3 { to { width: 5ch; } }

    @keyframes cursor {
      from, to { border-color: #fff; }
    }

    @keyframes blink {
      from, to { border-color: transparent; }
      50% { border-color: #fff; }
    }

/* レスポンシブ対応コンテナ */
  .animated-box {
    width: 100%;
    max-width: 500px; /* PC表示時の最大幅 */
    height: auto;
  }

  .animated-box svg {
    width: 100%;
    height: auto;
    display: block;
  }

  /* 線の基本スタイル */
  .draw-path {
    fill: none;
    stroke: #8e8d85;
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease-in-out forwards;
  }


  /* テキストの基本スタイル */
  .draw-text {
    fill: #8e8d85;
    font-size: 22px;
    font-weight: bold;
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out 1.8s forwards;
  }

  /* アニメーション定義 */
  @keyframes drawLine {
    to {
      stroke-dashoffset: 0;
    }
  }

  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }


@media only screen and (max-width: 750px) {
	
	#Main {
	margin:0 auto 2%;
	}
	.pc {
		display:none;
	}
	.sp {
		display:block;
	}
	.st_header {
		height: 30vh;
		min-height: 300px;
		background-position: top center;
		padding: 1em;
	}
	
	.st_header .top_ttl {
    	width: 100%;
    	margin: 30% auto;
	}
	
	.typing-container {
		font-size: 30px;	
		padding: 0;
	}
	
	.st_wrap {
		width: 96%;
		margin: 2% auto;
	}

    .st_wrap p {
        font-size: 12px;
    }
    
	.st_wrap h1 {
		font-size: 18px;
		margin: 4% auto 2%;
	}	
    
    .st_wrap h2 {
        font-size: 18px;
		line-height: 1.6em;
    }
    
    .st_wrap h3 {
        font-size: 18px;
    }
	
	.wrap_content {
		width: 80%;
		margin: 4% auto;
	}
    
	.Lead {
		font-size: 13px;
	}
	
	.flxbox {
		flex-direction: column;
	}
	
	.flxitem {
		width: 100%;
		margin: 2% auto 5%;
	}
	
	.item_box {
		width: 90%;
		flex-direction: column;
	}
	
	.item_box_item {
		width: 100%;
		margin: 0 auto;
		order: 1;
	}
	
	.item_box_txt {
		width: 100%;
		order: 2;
	}
	
	.txt_rht, .txt_lft {
    	width: 100%;
    	margin: 2% 0;
	}
	
    .btn-1, .btn-2 {
        font-size: 14px;
		margin: 2% 0 8%;
    }
	
	.btn-3 {
		font-size: 16px;
		width: 90%;
		margin: 8% auto 3%;
	}
	
	.triangle-button {
		font-size: 13px;
	}
	
	.triangle-button::after {
	    border-width: 5px 0 5px 5px;
	}
		
	.btntxt {
		font-size: 22px;
	}
	
	.btntxt2 {
		font-size: 18px;
	}
	
}



