header{
  padding-top: 300px;
  height:500px;
  background-repeat: no-repeat;
  background-image: url(img/header.jpg);
background-size:100%;
}
body{
    background-color:#fcf7fb;
	margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

mark {
  background: linear-gradient(transparent 50%, #ffb3de 50%);
}

h1{
    text-align: left;
    font-size: 35px;
    font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  padding: 0.5em;/*文字周りの余白*/
  color: #000000;/*文字色*/
  background: #fae3f0;/*背景色*/
  border-left: solid 5px #ffa8d9;/*左線（実線 太さ 色）*/
}

h2{
       text-align: left;
    font-size: 25px;
	font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h3{
  font-size:1px;
  font-family: "Noto Sans JP", sans-serif;
}

h4{
	font-size:12px;
  font-family: "Noto Sans JP", sans-serif;
}

/*ナビゲーション*/
nav {
    padding:10px;
}

nav a {
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
 font-size:21px;
}

    nav li{
    display: inline-block;
    padding-right:20px;
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
  font-size:26px;
}

nav ul {
  margin-top: 0px;
  margin-bottom: 0px;
      text-align:center;
}


/*ナビゲーション*/

/*========= ナビゲーションドロップダウンのためのCSS ===============*/

/*==ナビゲーション全体の設定*/
nav{
	background:#fff;
	color:#000;
	text-align: center;
	right: 0;
left: 0; 
box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1);
position:fixed; 
}
/*ナビゲーションを横並びに*/
nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
}
/*2階層目以降は横並びにしない*/
nav ul ul{
	display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li{
	position: relative;
}

/*ナビゲーションのリンク設定*/
nav ul li a{
	display: block;
	text-decoration: none;
	color: #000;
	padding:10px 40px;
	transition:all .3s;
	
}
nav ul ul li.has-child::before{
	content:'';
	position: absolute;
	left:6px;
	top:17px;
	width:6px;
	height:6px;
    border-top: 2px solid #fff;
    border-right:2px solid #fff;
    transform: rotate(45deg);
}

nav ul li li a{
	padding:1px 3px;
}

/*3階層目を持つliの矢印の設定*/
nav ul ul li.has-child::before{
	content:'';
	position: absolute;
	left:6px;
	top:17px;
	width:6px;
	height:6px;
    border-top: 2px solid #999;
    border-right:2px solid #999;
    transform: rotate(45deg);
}
/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
nav li.has-child ul{
    /*絶対配置で位置を指定*/
	position: absolute;
	left:0;
	top:62px;
	z-index: 4;
    /*形状を指定*/
	background:#fff;
	width:180px;
    /*はじめは非表示*/
	visibility: hidden;
	opacity: 0;
    /*アニメーション設定*/
	transition: all .3s;
}


/*hoverしたら表示*/
nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/
nav li.has-child ul li a{
	color: #000;
}

nav li.has-child ul li:last-child > a{
 border-bottom:none;
 }

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active{
	background:#fff;
}

/*3階層目の位置*/
nav li.has-child ul ul{
	top:0;
	left:240px;
	background:#fff;
}

nav li.has-child ul ul li a:hover,
nav li.has-child ul ul li a:active{
	background:#fff;
}
/*矢印の位置と向き*/
nav ul li.has-child::before{
	left:20px;	
}

nav ul ul li.has-child::before{
	left:-10px;
}
    
nav ul li.has-child.active::before{
    transform: rotate(-45deg);
}

/*==768px以下の形状*/

@media screen and (max-width:768px){
	nav{
		padding: 0;
	}
	
	nav ul{
		display: block;
	}
	
	nav li.has-child ul,
	nav li.has-child ul ul{
  	position: relative;
	left:0;
	top:0;
	width:100%;
}
	
nav ul li a{
	border-bottom:1px solid #fff;
}

}


small{
	background: #7a6f69;
	color:#f8f3f5;
	display: block;
	text-align: center;
	padding:100px;
  }
  
  .text-box {
	width: 900px;
	margin: 0 auto;
	padding: 0 1em;
	}

	nav li.has-child ul {
		position: absolute;
		left: 50%;               /* 親liの中央を基準に */
		top: 60px;
		transform: translateX(-55%);  /* 真ん中に調整 */
		z-index: 4;
		background: #fff;
		width: 195px;
		visibility: hidden;
		opacity: 0;
		transition: all .3s;
		box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1);
	}
/*矢印が右に移動する*/
.btnarrow4 {
    position: relative;
    display: inline-block;
    padding: 0.6em 2em; /* ← 余白を増やしてボタンを大きく */
    font-size: 1.2rem;  /* ← テキストを少し大きく */
	font-family: "Noto Sans JP", sans-serif;
    color: #333;
    text-decoration: none;
    outline: none;
}

/*矢印と下線の形状*/
.btnarrow4::before {
    content: '';
    position: absolute;
    bottom: -10px;   /* 少し下げてバランス調整 */
    left: 15%;
    width: 85%;
    height: 2px;     /* 下線を少し太く */
    background: #333;
    transition: all .3s;
}

.btnarrow4::after {
    content: '';
    position: absolute;
    bottom: -5px;    /* 下線と少し間を取る */
    right: 0;
    width: 20px;     /* 矢印を少し長く */
    height: 2px;     /* 矢印を太く */
    background: #333;
    transform: rotate(35deg);
    transition: all .3s;
}

/*hoverした際の移動*/
.btnarrow4:hover::before {
    left: 20%;
}

.btnarrow4:hover::after {
    right: -5%;
}

.btn-container {
  text-align: right;
}
/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#d872b9;
	border-radius: 5px;
	width: 60px;
	height: 60px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #7a6f69;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}