@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:750px) and (orientation: portrait){
	main, .sidebar {
		display: none;
	}
}

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

.privacy-header{
	position: fixed;
	width: 93%;
	left: 7%;
	right: 0;
	height: 5rem;
	background-image: url("../image/top-obi.jpg");
	background-position: center;
	background-size: cover;
	z-index: 100;
}


.privacy-header{
	font-family: serif;
	color: aliceblue;
}

.title {
	
}
.title h1{
	position: absolute;
	margin-left: 2rem;
	margin-top: 1rem;
	font-size: 1.7rem;
	color: white;
}



@media(max-width:750px) and (orientation: portrait){
	.privacy-header {
		position: relative;
		width: 100%;
		left: 0;
	}
}

/*タイトルｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰ*/

.privacy{
	display: block;
	position: relative;
	width: 90%;
	left: 10%;
	scroll-snap-type: y mandatory;
	overflow: hidden;
}

.header1 h1{
	position: fixed;
	top: 9%;
	left: 12%;
	font-size: 1.7rem;
}

.p-mark{
	position: fixed;
	width: 38%;
	top: 6rem;
	left: 11%;
}

.p-mark img {
	width: 30vw;
}

.policy{
	display: block;
	position: relative;
	width: 55%;
	margin: 6rem 0 2.5% 40%;
	overflow-x: hidden;
}

.policy h2{
	position: relative;
	margin: 5% 0 5% 0;
	text-align: center;
	overflow-x: hidden;
}

.policy h3{
	position: relative;
	margin: 5% 0;
	font-size: 0.8vw;
	text-align: right;
	overflow-x: hidden;
}

.policy h4{
	position: relative;
	margin: 5% 0;
	font-size: 0.8vw;
	text-align: left;
	overflow-x: hidden;
}

.policy p{
	position: relative;
	font-size: 0.8vw;
}

/*スマホ版*/
@media(max-width:750px) and (orientation: portrait){
	.privacy{
		width: 100%;
		margin-top: 1rem; /* ←余白を少しだけ与える */
		left: 0%;
	}

	.title h1 {
		font-size: 1.1rem;
	}
	
	.header1 h1{
		position: relative;
		top: 3%;
		left: 22%;
		z-index: 110;
		font-size: 5.5vw;
	}

	.p-mark{
		position: relative;
		width: 60%;
		left: 0;
		top: auto;   /* ←これを追加！ */
		margin: 1rem auto 0; /* ←自然に下に配置 */
	}


	.policy{
		width: 80%;
		margin: auto;
	}
	
	.p-mark img {
	width: 100vw;
	}

	.policy h2{
		font-size: 5vw;
		text-align: center;
	}

	.policy h3{
		font-size: 2vw;
	}

	.policy h4{
		font-size: 2vw;
	}

	.policy p{
		font-size: 2vw;
	}
}