@charset "utf-8";
/* CSS Document */

/* サイドバーレイアウト */

main {
	position: fixed;
    width: 7%;
    height: 100vh;
    top: 0;
    left: 0;
	background-color: #FFFFFF;
	background-image: url("../image/top-back.jpg");
	background-size: cover;
    box-shadow: 0px 0px 4px 0px #666;
	z-index: 100;
}
main img {
	width: 50px;
	margin-left: 5px;
	margin-top: 20px;
}
/*サイドバースマホ版*/
@media(max-width:640px){
	main, .sidebar {
		display: none;
	}
}

/*全体ｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰ*/

.process{
	display: block;
	position: relative;
	width: 93%;
	left: 7%;
}

/*スマホ版*/
@media(max-width:640px){
	.process{
		width: 100%;
		left: 0%;
	}
}
/*タイトルｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰ*/
h1.title{
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 100%;
	height: 8vh;
	background-color: lightblue;
	font-size: 2.5vw;
	color: white;
	text-shadow: 1px 1px 1px #808080;
	text-align: center;
}

/*スマホ版*/
@media(max-width:640px){
	h1.title{
		height: 4vh;
		font-size: 1rem;
	}
}

/*横スクロールJSあり*/
.container-slide {
	overflow-x: auto;
	scroll-behavior: smooth;
	max-width: 100%;
	display: flex;
	gap: 1px;
/*	overflow-x: hidden;*/
}

@media (prefers-reduced-motion) {
  .container {
		scroll-behavior: auto;
	}
}

.item-slide {
	user-select: none;
	flex: none;
	width: 100%;
	padding: 2rem 0%;
	background: lightblue;
}

.item-slide-box {
	display: flex; /* 横並びにする */
	align-items: flex-start; /* 上揃え */
	gap: 2vw; /* 画像とテキストの間の余白 */
}

.item-slide img {
	margin-left: 3vw;
	width: 45%; /* お好みで調整 */
	height: auto;
}

.item-slide-explanation {
	display: flex;
	flex-direction: column; /* 縦並び */
	justify-content: flex-start;
	width: 60%; /* お好みで調整 */
}

.item-slide-explanation h2 {
	position: relative;
	width: 80%;
	left: 0%;
    padding: 0em 1em 0rem .5rem;
    margin: 0em 0 0;
    color: #232323;
    background: #fff8e8;
    border-left: solid 10px #ffc06e;
	font-size: 1.8em;
	margin-bottom: .2em;
}

.item-slide-explanation p {
	text-align: justify;
	line-height: 1.6;
	margin-right: 3vw;
}

.scroll {
	font-family: system-ui;
	font-size: 1rem;
	max-width: 80%;
	margin: auto;
	padding: 0rem 1.5rem 0;
}

code {
	padding: 0 0.3rem;
	border-radius: 0.5rem;
	border: solid 2px #ffcc66;
	background: #ffffee;
	font-weight: bolder;
}

.container-wrapper {
	position: relative;
}

.button {
	position: absolute;
	width: 3rem;
	height: 3rem;
	justify-content: center;
	align-items: center;
	user-select: none;
	background: #F29600;
	border-radius: 100%;
	font-size: 1.8em;
	top: 50%;
	margin: -1.5rem -5rem;
	border: none;
	color: white;
}

.button.left {
	left: 0;
}

.button.right {
	right: 0;
}

/*スライドスマホ版*/
@media(max-width:640px){
	.button {
		display: none;
	  }
	
	 .container-slide {
		display: block !important;  /* 横並び flex を無効化 */
		position: relative;
		overflow-x: visible !important;  /* 横スクロールを解除 */
		scroll-snap-type: none !important; /* スナップ無効 */
	  }

	  .item-slide {
		width: 100% !important;
		scroll-snap-align: none !important;
		margin-bottom: 5vh;
	  }

	  .item-slide-box {
		display: block !important;
		padding: 0 5vw;
	  }

	  .item-slide img {
		width: 90%;
		margin: 0 auto 2vh;
		display: block;
	  }

	  .item-slide-explanation {
		width: 100%;
	  }

	  .item-slide-explanation h2 {
		font-size: 4vw;
	  }

	  .item-slide-explanation p {
		font-size: 3vw;
		margin-right: 0;
		padding: 0 1vw;
	  }

	  .button.left,
	  .button.right {
		display: none !important;
	  }

	  .scroll-progress-bar,
	  .scroll-progress-labels {
		display: none !important;
	  }
}




/* 横スクロール進捗バー */
.scroll-progress-bar {
	position: relative;
	height: 6px;
	width: 80%;
	background: #eee;
	margin: auto;
	margin-bottom: 10px;
	overflow: hidden;
}

.scroll-progress-indicator {
	height: 100%;
	width: 0%;
	background: #27acd9;
	transition: width 0.1s linear;
}

.scroll-progress-labels {
	display: flex;
	justify-content: space-between;
	padding: 0 2vw;
	font-size: 1vw;
	color: #444;
	margin-bottom: 0.3em;
}

.scroll-progress-labels span {
	white-space: nowrap;
	text-align: center;
	flex: 1;
}

.scroll-progress-labels {
	display: flex;
	justify-content: space-between;
	padding: 0 2vw;
	font-size: 1vw;
	color: #444;
	margin-bottom: 0.3em;
	position: relative;
}

.scroll-progress-labels .label {
	flex: 1;
	text-align: center;
	position: relative;
	padding-bottom: 4px;
	transition: color 0.3s ease;
}

.container-slide {
	scroll-snap-type: x mandatory;
	overflow-x: auto;
	scroll-behavior: smooth;
	display: flex;
	gap: 1px;
	
	scrollbar-width: none;       /* Firefox用 */
	-ms-overflow-style: none;    /* IE 10+用 */
}

.container-slide::-webkit-scrollbar {
	display: none;
}

.item-slide {
	scroll-snap-align: center;
	flex: none;
	width: 100%;
}

/* マーカー効果 */
.scroll-progress-labels .label.active {
	color: #F29600;
	font-weight: bold;
}

.scroll-progress-labels .label.active::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 25%;
	width: 50%;
	height: 3px;
	background-color: #F29600;
	border-radius: 2px;
}

/*スマホ版横スクロール進捗バー非表示*/
@media(max-width:640px){
  .scroll-progress-bar, .scroll-progress-labels {
		display: none;
	  }
}

/*プロセスｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰ*/

h2.title{
	position: relative;
	width: 50%;
	margin: 3%;
	font-size: 2vw;
	background: linear-gradient(transparent 50%, yellow 50%);
}

.contact{
	position: relative;
	bottom: 0;
	text-align: center;
	margin-top: 0vh;
}

.contact p{
	margin-top: 3vh;
	font-size: 2vw;
}


/*お問い合わせボタン*/
.contact-bt {
	position: relative;
	top: 0;
	margin-top: 3vh;
	margin-bottom: 5vh;
}
a.contact-btn {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 50vw;
	margin: auto;
	padding: 1vw 1vw;
	font-size: 2vw;
	font-weight: bold;
	color: #000000;
	background-color: #FFE700; 
	border-bottom: 2px solid #27acd9;
	border-radius: 100vh;
	box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
	transition: 0.5s;
	z-index: 101;
}
a.contact-btn:hover {
	color: #fff;
	background: #27acd9;
	border-bottom: 2px solid #fff;
	transform: translateY(3px);
}

/*スマホ版*/
@media(max-width:640px){
	.slidearea{
/*		height: 190vh;*/
	}

	h2.title{
		display: block;
		position: relative;
		width: 70%;
		top: 2rem;
		text-align: center;
		margin: auto;
		font-size: 1rem;
	}
	
	.container-wrapper {
		top: 3rem;
	}
	
	.slideindex{
		display: none;
	}
	
	.slide{
		width: 100%;
		height: 100%;
		white-space: normal;
	}

	.wrap{
		position: relative;
/*		height: 190vh;*/
	}

	.slidesection{
		display: block;
		margin: 15% 10%;
	}

	.slidesection h2{
		width: 40%;
		font-size: 4vw;
	}

	.slidesection h2{
		width: 60%;
		padding: 15% 6%;
	}

	.slidesection p{
		position: absolute;
		width: 60%;
		padding: 2%;
		font-size: 2vw;
		white-space: normal;
		z-index: 10;
	}

	.contact {
		width: 75%;
		top: 2rem;
		margin: auto;
	}
	.contact p{
		font-size: .8rem;
	}
}

/*お問い合わせフォームボタンスマホ版*/
@media(max-width:640px){
	.contact-bt {
		position: relative;
		top: 0;
		margin-top: 4rem;
		margin-bottom: 5vh;
	}
	a.contact-btn {
		display: block;
		text-align: center;
		vertical-align: middle;
		text-decoration: none;
		width: 60vw;
		margin: auto;
		padding: 2vw 2vw;
		font-size: 1rem;
		font-weight: bold;
		color: #000000;
		background-color: #FFE700; 
		border-bottom: 2px solid #27acd9;
		border-radius: 100vh;
		box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
		transition: 0.5s;
		z-index: 101;
	}
	a.contact-btn:hover {
		color: #fff;
		background: #27acd9;
		border-bottom: 2px solid #fff;
		transform: translateY(3px);
	}
}

/*こんなことありませんか？*/
.question {
	position: relative; /* または static */
	margin-bottom: 13rem;
}

.question-title {
	display: flex;
	position: relative;
	justify-content: center;
	align-items: center;
	width: 70%;
	height: 6vh;
	top: 5vh;
	margin: auto;
	background-color: coral;
	border-radius: 10px;
	font-size: 2.5vw;
	color: white;
	text-shadow: 1px 1px 1px #808080;
	text-align: center;
	z-index: 50;
}

.question img {
	display: block;
	position: relative;
	margin: 0 auto;
	width: 80%;
	top: 5rem;
}

.question p {
	display: block;
	position: relative;
	margin: 0 auto;
	width: 70%;
	top: 8rem;
	font-size: 2vw;
	text-align: justify;
}

/*こんなことありませんかスマホ版*/
@media(max-width:640px){
	.question {
		position: relative; /* または static */
		margin-bottom: 4rem;
	}

	.question-title {
		display: flex;
		position: relative;
		justify-content: center;
		align-items: center;
		width: 70%;
		height: 6vh;
		top: 1rem;
		margin: auto;
		background-color: coral;
		border-radius: 10px;
		font-size: 1rem;
		color: white;
		text-shadow: 1px 1px 1px #808080;
		text-align: center;
		z-index: 50;
	}

	.question img {
		display: block;
		position: relative;
		margin: 0 auto;
		width: 90%;
		top: 2rem;
	}

	.question p {
		display: block;
		position: relative;
		margin: 0 auto;
		width: 85%;
		top: 3rem;
		font-size: .8rem;
		text-align: justify;
	}
}