@charset "utf-8";

html {
	font-size: 62.5%;
}

body {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "Meiryo UI", "メイリオ", Meiryo , sans-serif;
}

.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

.header-box {
	height: 130px;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 130px;
	background-image: url(../images/nav_back.png);
	background-repeat: no-repeat;
	display: flex;
	z-index: 999;
}

header p img {
	width: 420px;
	float: left;
	margin: 10px 0 0 30px;
}

nav {
	flex: 1;
	width: 800px;
 }

nav ul {
	margin-left: 500px;
}

nav ul li {
	float: left;
	margin: 10px 50px 0 0;
}

.tooltip {
	position: relative;
}

.tooltip .tooltiptext {
	position: absolute;
	z-index: 1;
	top: 105%;
	left: -6px;
	visibility: hidden;
	width: auto;
	white-space: nowrap;
	padding: 0.7em 0.5em;
	transition: opacity 1s;
	text-align: center;
	opacity: 0;
	color: #ffffff;
	font-size: 1.5rem;
	border-radius: 6px;
	background-color: #ff7fb6;
}
.tooltip .tooltiptext::after {
	position: absolute;
	bottom: 100%;
	left: 50%;
	margin-left: -5px;
	content: ' ';
	border: 5px solid transparent;
	border-bottom-color: #ff7fb6;
}
.tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
}

.hamburger {
	display: none;
}

/** cherry **/

/* コンテナのスタイル */
.cherry-blossom-container {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* 花びらのスタイル */
.petal {
  position: absolute;
  background-color: #feeaf9;
  border-radius: 150% 0 150% 0;
  animation: animate-petal 10s linear;
}

.petal::after {
  content: "";
  position: absolute;
  top: -14%;
  left: -10%;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #feeaf9;
  border-radius: 150% 0 150% 0;
  transform: rotate(15deg);
}

/* アニメーション */

@keyframes animate-petal {
  0% {
    top: 0;
    opacity: 0;
    transform: rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    top: 100vh;
    transform: rotate(3000deg);
  }
}

/** top **/

#top {
	width: 100%;
	height: 650px;
	background-image: linear-gradient(0deg, rgba(250, 216, 229, 1), rgba(177, 221, 245, 1));
	text-align: center;
}

#top h1 {
	padding-top: 170px;
}

.a {
	font-size: 1.5rem;
	font-weight: bold;
	color: #fff;
	line-height: 1.5;
	padding-top: 40px;
	animation-name: textanime;/*keyname*/
	animation-duration: 8s;/*最大再生時間*/
	animation-iteration-count: 1;/*繰り返し*/
}

@keyframes textanime
{
 0%{
  opacity: 0;
 }

 100%{
  opacity: 1;
 }
}

.b {
	font-size: 1.5rem;
	font-weight: bold;
	color: #fff;
	padding-top: 20px;
	animation-name: textanime;/*keyname*/
	animation-duration: 13s;/*最大再生時間*/
	animation-iteration-count: 1;/*繰り返し*/
}

@keyframes textanime
{
 0%{
  opacity: 0;
 }

 100%{
  opacity: 1;
 }
}

#topImg p {
	display: inline;
}

.main img {
	padding-top: 40px;
	animation-name: main;
	animation-duration: 6000ms;
	animation-iteration-count: infinite;
	animation-timing-function: step-start;
}

@keyframes main {
  0% {
    transform: translateY(-2px) rotate(6deg);
  }

  10% {
      transform: translate(0) rotate(0deg);
  }
  20% {
      transform: translate(0) rotate(-6deg);
  }
  30% {
      transform: translateY(-2px) rotate(0deg);
  }
  40% {
      transform: translateY(-2px) rotate(6deg);
  }
  50% {
      transform: translate(2px) rotate(-2deg);
  }
  60% {
      transform: translateY(2px) rotate(0deg);
  }
  70% {
      transform: translate(0) rotate(6deg);
  }
  80% {
      transform: translate(2px) rotate(-2deg);
  }
  90% {
      transform: translate(0) rotate(0deg);
  }
  100% {
      transform: translateY(-2px) rotate(6deg);
  }
}

.kumo img {
	padding: 0 0 40px 20px;
}

/** article **/

article {
	width: 980px;
	margin: 0 auto;
	text-align: center;
}

/** sample **/


#sample {
	height: auto;
	margin-bottom: 120px;
}

#sample h2 {
	font-size: 1.4rem;
	font-weight: bold;
	color: #ffabc1;
	margin: 10px 0 20px 0;
}

/** news **/

#news {
	height: 200px;
	margin-bottom: 30px;
	display: flex;
}

#news h3 {
	padding-left: 30px;
}

.tate {
	padding: 0 20px ;
}

#banner {
	display: flex;
	justify-content: space-between;
	margin-bottom: 40px;
}

#banner a {
	width: 80%;
	height:auto;
}

#map {
	text-align: center;
	padding-bottom: 40px;
}

.box {
  animation: fadeIn 8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#topBtn {
	width: 100%;
	height: 150px;
	margin: 0 auto;
}

/** footer **/

footer {
	width: 100%;
	height: 60px;
	background-color: #fad8e5;
}

.text {
	width:550px; 
	line-height: 20px;
	font-size: 1.5rem;
	font-weight: bold;
	color: #999;
	float: left;
	padding: 10px 0 0 40px;
}

.sns {
	display: flex;
	width: 340px;
	font-size: 1.7rem;
	font-weight: bold;
	color: #ffabc1;
	float: right;
}

.sns p {
	padding-top: 30px;
}

.sns img {
	padding: 18px 40px 0 10px;
}
