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%);
}
h{
	  display: flex;
    align-items:flex-start;
}
h img{
  height:auto;
  width:15%;
}
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: 30px;
font-family: "Noto Sans JP", sans-serif;
font-weight: 400;
font-style: normal;
}

h3{
     text-align: left;
  font-size: 25px;
font-family: "Noto Sans JP", sans-serif;
font-weight: 400;
font-style: normal;
}

h4{
font-size:12px;
font-family: "Noto Sans JP", sans-serif;
}

/*ナビゲーション*/
nav {
     z-index: 9999; /* かなり前面に出す */
  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);
}
/* 矢印が左に移動する（←） */
.btnarrow-left {
    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;
}

/* 下線 */
.btnarrow-left::before {
    content: '';
    position: absolute;
    bottom: -10px;  /* ← 少し下げて他と揃える */
    right: 15%;     /* ← 左矢印なので右基準 */
    width: 85%;
    height: 2px;    /* ← 下線の太さを統一 */
    background: #333;
    transition: all .3s;
}

/* 矢印本体 */
.btnarrow-left::after {
    content: '';
    position: absolute;
    bottom: -5px;   /* ← 他と同じ高さ */
    left: 0;        /* ← 左端に配置 */
    width: 20px;    /* ← 長さを統一 */
    height: 2px;    /* ← 太さを統一 */
    background: #333;
    transform: rotate(-35deg); /* ← 左向きに傾ける */
    transition: all .3s;
}

/* hover時の動き */
.btnarrow-left:hover::before {
    right: 20%;   /* ← 下線が左にスライド */
}

.btnarrow-left:hover::after {
    left: -5%;    /* ← 矢印が少し左へ動く */
}

/* ボタン共通設定 */
.btn06{
    /*矢印の基点とするためrelativeを指定*/
	position: relative;
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;
	background:#333;
	color:#fff;
    padding: 10px 40px 10px 30px;
	border-radius:25px;
    text-align: center;
    outline: none;
    /*アニメーションの指定*/
    transition: ease .2s;
}

.btn06:hover{
	background:#555;
}


/* 矢印が右に移動 */

.btnarrow1::after{
    content: '';
    /*絶対配置で矢印の位置を決める*/
	position: absolute;
    top:42%;
    right: 13px;
    /*矢印の形状*/
    width: 5px;
    height: 5px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    /*アニメーションの指定*/
    transition: all .3s;
}

/*hoverした際の移動*/
.btnarrow1:hover::after{
    right: 11px;
}
/*リンクの形状*/
/*リンクの形状*/
#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);
  }
}