@charset "utf-8";
/* CSS Document */
body {
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
	font-size: 16px;
	color: #58462C;
	position: relative;
}
a {
	text-decoration: none;
	color: #58462C;
}
img {
	max-width: 100%;
	vertical-align: bottom;
	display: block;
}
ul {
	list-style: none;
}
.wrap {
	width: 85%;
	margin: 0 auto;
}
.center {
	text-align: center;
}
.flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.flex-2 {
	width: 48%;
}
.flex-3 {
	width: 31%;
}
.even {
	flex-direction: row-reverse;
}
.en {
	color: #998969;
	font-family: 'Cinzel', serif;
}
.txt p {
	margin-bottom: 20px;
	line-height: 1.8;
}


/*==================================================
ヘッダー
===================================*/
#header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 999;
	background: #FFFFFF;
}
#header::before {
	content: "";
	width: 100%;
	max-width: 1000px;
	height: 10px;
	background: #FFFFFF;
	border-bottom-left-radius: 10px;
	position: absolute;
	bottom: -9px;
	right: 0;
	z-index: -1;
}
.header-wrap {
	display: flex;
	width: 98%;
	margin: 0 auto;
	align-items: center;
}
.header-left {
	width: 20%;
	margin-right: auto;
}
.header-right {
	width: 70%;
	margin-left: auto;
}
.header-right .top {
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
}
.reserve {
	display: block;
	text-align: center;
	padding: 10px 0;
	width: 20%;
}
.header-right .web {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	color: #FFFFFF;
	background: #AD5B64;
	width: 10%;
	margin-right: 5px;
}
.header-right .map {
	background: #997F2E!important;
}
.header-right .tel {
	font-size: 25px;
	color: #997F2E;
	font-family: 'Cinzel', serif;
}
.reserve:hover {
	opacity: 0.7;
}

/*==================================================
グローバルメニュー
===================================*/
.bottom {
	position: relative;
	padding: 10px 0;
	z-index: 1;
}

.nav-menu-wrap {
	width: 100%;
	margin-left: auto;
	max-width: 950px;
}
.menu {
    position: relative;
    width: 100%;
	text-align: center;
}
.menu > li {
    float: left;
    width: 16.6%;
	position: relative;
}

.menu > li a {
    display: block;
	color: #997F2E;
	font-size: 14px;
}

.menu > li:hover::before {
    content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #AD5B64;
	position: absolute;
	bottom: -12px;
	right: 50%;
	transform: translateX(50%);
}

ul.menu__second-level {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
}

.menu > li:hover {
    -webkit-transition: all .5s;
    transition: all .5s;
}

.menu__second-level li a:hover {
    background: #7C725E;
	color: #FFFFFF;
}

/* floatクリア */
.menu:before,
.menu:after {
    content: " ";
    display: table;
}

.menu:after {
    clear: both;
}

.menu {
    *zoom: 1;
}

.menu > li.menu__single {
    position: relative;
}

li.menu__single ul.menu__second-level {
    position: absolute;
    top: 40px;
    width: 100%;
    background: #BCB096;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
	z-index: 99;
}

li.menu__single:hover ul.menu__second-level {
    top: 60px;
    visibility: visible;
    opacity: 1;
	z-index: 99;
}
.menu__second-level li a {
	padding: 10px 0;
	color: #58462C;
}

.menu__single a span {
	display: block;
	font-family: 'Cinzel', serif;
	font-size: 13px;
}



/*==================================================
メインビジュアル
===================================*/
#mv {
	position: relative;
}
.slider {
  position:relative;
	z-index: 1;
	/*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
	height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}
/*　背景画像設定　*/

.slider-item01 {
    background:url("img/top/mv01.jpg");
}

.slider-item02 {
    background:url("img/top/mv02.jpg");
}

.slider-item03 {
    background:url("img/top/mv03.jpg");
}

.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height:100vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

.cp {
	position: absolute;
	top: 60%;
	left: 30%;
	transform: translate(-50%, -50%);
	z-index: 4;
}
.cp span {
	display: block;
	font-size: 50px;
	font-weight: 700;
	font-family: "ヒラギノ明朝 ProN W3", "ヒラギノ明朝 ProN W6", "游明朝 Light", "游明朝 Demibold";
	color: #FFFFFF;
	text-shadow: 0 3px 6px rgba(0, 0, 0, 0.90);
}




/*==================================================
お知らせ
===================================*/
#news {
	position: relative;
	padding-top: 150px;
	margin-bottom: 150px;
	z-index: 1;
}
#news::before {
	content: "";
	background-image: url("img/top/news_bg01.jpg");
	width: 1308px;
	height: 114px;
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: top right;
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
}
#news::after {
	content: "";
	height: 1px;
	width: 70%;
	max-width: 1250px;
	background: #997F2E;
	position: absolute;
	bottom: 35px;
	right: 0;
	z-index: 1;
}
.index-ttl {
	margin-bottom: 30px;
	position: relative;
	z-index: 2;
}
.index-ttl .en, .sec-ttl .en {
	font-size: 70px;
}
.index-ttl .ja, .sec-ttl .ja {
	font-size: 20px;
	font-weight: normal;
	font-family: "Shippori Mincho B1";
}
#news .bg {
	position: relative;
	z-index: 1;
	height: 400px;
}
#news .bg::before {
	content: "";
	background-image: url("img/top/news_bg02.jpg");
	width: 996px;
	height: 575px;
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: bottom left;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: -1;
}
#news .wrap {
	max-width: 915px;
}
.news-content {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #997F2E;
}
.news-content .date {
	width: 20%;
	color: #997F2E;
	text-align: center;
	padding: 5px 0;
	border-radius: 10px;
	border: 1px solid #997F2E;
}
.news-content .news-ttl {
	width: 80%;
	margin-left: 10px;
}

/*==================================================
コンセプト
===================================*/
#concept {
	padding: 80px 0;
	background-image: url("img/top/concept_bg.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	display: flex;
	align-items: center;
}
#concept .left, #concept .right {
	width: 50%;
}
#concept .img01 {
	margin-bottom: 40px;
}
#concept .img02 img {
	margin-left: auto;
}
.index-h3 {
	text-align: center;
	font-size: 40px;
	font-family: "Shippori Mincho B1";
	margin-bottom: 30px;
	font-weight: normal;
}
.index-h3 span {
	display: block;
	font-size: 22px;
	color: #997F2E;
}
.index-txt p {
	font-weight: bold;
}


/*==================================================
初めての方へ
===================================*/
#first-time {
	margin-top: 140px;
	padding-bottom: 80px;
	position: relative;
	z-index: 1;
}
#first-time::after {
	content: "";
	width: 100%;
	height: 80%;
	background-image: url("img/top/first-time_bg.jpg");
	max-height: 440px;
	background-size: cover;
	background-repeat: no-repeat;
	position: absolute;
	bottom: 0;
	z-index: -1;
}
#first-time .item {
	position: relative;
	max-width: 1300px;
	margin: 0 auto;
	padding: 30px 0;
	background: linear-gradient(90deg, #8F6441 0%, #B69F73 56%, #7C725E 100%);
}
#first-time .item::before {
	content: "";
	background-image: url("img/top/first-time01.png");
	width: 450px;
	height: 475px;
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: top right;
	position: absolute;
	top: -20px;
	left: 3%;
	transform: translateX(-50%);
}
#first-time .item::after {
	content: "";
	background-image: url("img/top/first-time02.jpg");
	width: 347px;
	height: 405px;
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: bottom right;
	position: absolute;
	bottom: -25px;
	right: 1%;
	transform: translateX(50%);
}
#first-time .img img {
	margin: 0 auto 35px;
}
.more {
	width: 50%;
	max-width: 280px;
	margin: 0 auto;
}
.more-btn {
	display: block;
	width: 100%;
	background: #997F2E;
	color: #FFFFFF;
	border: 1px solid #997F2E;
	font-weight: bold;
	font-size: 20px;
	text-align: center;
	padding: 25px 0;
}
.more-btn:hover {
	opacity: 0.7;
}



/*==================================================
ピックアップ
===================================*/
#pick-up {
	margin-top: 140px;
}
#pick-up .bg {
	border-top: 10px solid #998969;
	background: linear-gradient(#5E5A51, #7C725E);
	padding: 140px 0;
	position: relative;
}
#pick-up .bg::before {
	content: "PICK UP";
	display: block;
	width: 80%;
	max-width: 1300px;
	font-size: 70px;
	color: #998969;
	font-family: 'Cinzel', serif;
	position: absolute;
    top: -78px;
    left: 50%;
    transform: translateX(-50%);
    text-align: end;
}
#pick-up .item {
	max-width: 1100px;
	margin: 0 auto 80px;
	box-shadow: 0px 3px 12px rgba(255, 255, 255, 0.53);
}
#pick-up .flex {
	align-items: center;
}
.w-50 {
	width: 50%;
}
.pickup01 {
	background: rgba(231,166,126,0.30);
}
.pickup02 {
	background: rgba(159,224,159,0.30);
}
.pickup03 {
	background: rgba(228,203,116,0.30);
}
.pickup04 {
	background: rgba(143,195,229,0.30);
}
.pickup-txt {
	padding: 30px 20px 20px;
	background: rgba(255,255,255,0.30);
}
.pickup-txt .index-h3 {
	font-size: 30px!important;
}

/* 星空の背景のスタイル */
.stars {
  position: relative;
  width: 100%; /* 星空の横幅 */
  overflow: hidden; /* 星が枠外にはみ出すのを防ぐ */
}

/* 星のスタイル */
.star {
  position: absolute;
  display: block;
  background-color: #fff; /* 星の色 */
  border-radius: 50%;
  box-shadow: 0 0 4px 2px rgba(#fff, 0.2); /* 星の影 */
  opacity: 0;
  animation: twinkle 5s infinite;
}

/* 星がキラキラ光るアニメーション */
@keyframes twinkle {
  0% {
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}



/*==================================================
診療案内
===================================*/
.index-bg {
	background-image: url("img/top/medical_bg.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
#index-medical {
	padding-top: 90px;
}
#index-medical .index-ttl {
	padding-left: 100px;
	padding-bottom: 50px;
	position: relative;
}
#index-medical .index-ttl::before {
	content: "";
	width: 30%;
	max-width: 620px;
	height: 1px;
	background: #58462C;
	position: absolute;
	bottom: 0;
	left: 0;
}
#index-medical .flex {
	max-width: 1300px;
	margin: 90px auto;
}
#index-medical .ttl {
	padding: 15px 0 15px 20px;
	border-top-left-radius: 10px;
	border-bottom-right-radius: 10px;
}
#index-medical .ttl span {
	color: #FFFFFF;
	font-family: "Shippori Mincho B1";
	font-size: 20px;
}
.med01 {
	background: #997F2E;
}
.med02 {
	background: #AD5B64;
}
.med03 {
	background: #7C725E;
}
#index-medical .img img {
	margin: 25px auto 20px;
}
.med-list {
	display: flex;
	flex-wrap: wrap;
}
.med-list li {
	width: 50%;
	margin-bottom: 10px;
}
.med-list a {
	font-weight: bold;
}
.med-list .c-brown {
	color: #997F2E;
}
.med-list .c-pink {
	color: #AD5B64;
}
.med-list .c-gray {
	color: #7C725E;
}




/*==================================================
ご挨拶
===================================*/
#greeting {
	padding: 80px 0;
	display: flex;
	align-items: center;
}
#greeting .left, #greeting .right {
	width: 50%;
}
#greeting .img01 {
	margin-bottom: 40px;
}
#greeting .img02 img {
	margin-left: auto;
}




/*==================================================
ご家族みんなで通える
===================================*/
.family-bg {
	background: #998969;
}
#family {
	background: url("img/top/family_bg01.png") left top no-repeat, url("img/top/family_bg02.png") right top no-repeat;
	width: 100%;
    padding: 200px 20px 200px;
    color: #fff;
	background-size: contain;
    position: relative;
    z-index: 1;
}
#family .wrap {
	max-width: 850px;
	padding: 40px 0;
	text-shadow: 0 3px 6px rgba(0, 0, 0, 0.90);
}
#family .index-txt {
	padding: 30px 60px 60px;
}



/*==================================================
フッター
===================================*/
#footer {
	background-image: url("img/top/footer_bg.jpg");
	background-size: cover;
	background-repeat: no-repeat;
}
.footer-wrap {
	width: 80%;
	max-width: 1300px;
	margin: 0 auto;
	padding: 55px 0 35px;
}
.footer-wrap .logo img {
	margin: 0 auto 45px;
}
.footer-reserve {
	display: flex;
	justify-content: space-around;
	margin-bottom: 45px;
}
.footer-reserve .btn {
	width: 45%;
	max-width: 200px;
	text-align: center;
	padding: 5px 0;
	border-radius: 20px;
	color: #FFFFFF;
	background: #997F2E;
}
.footer-reserve .btn:hover {
	opacity: 0.7;
}
.footer-reserve .web {
	background: #AD5B64;
}
.time-table {
	width: 100%;
	max-width: 610px;
}
.biz-hour {
	width: 100%;
	border-collapse: collapse;
	border-top: 1px solid #58462C;
	border-bottom: 1px solid #58462C;
}
.biz-hour td, .biz-hour th {
	text-align: center;
	padding: 14px 5px;
}
.table-txt {
	display: block;
	margin-top: 5px;
}
.footer-wrap .address {
	font-weight: bold;
	margin-bottom: 13px;
}
.sitemap {
	width: 95%;
	margin: 50px auto 0;
	display: flex;
}
.sitemap li {
	width: 16.6%;
	text-align: center;
}
.sitemap a {
	font-size: 14px;
	font-weight: bold;
}
.copyright {
	padding: 15px 0;
	background: #58462C;
	color: #FFFFFF;
	text-align: center;
	font-size: 14px;
}



/*==================================================
ページトップボタン
===================================*/
#page_top{
  width: 60px;
  height: 60px;
  position: fixed;
  right: 20px;
  bottom: 30px;
  background: #AD5B64;
  border-radius: 50%;
	z-index: 999;
}
#page_top a{
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f106';
  font-size: 30px;
  color: #fff;
  position: absolute;
  width: 30px;
  height: 30px;
  top: -5px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}



/*==================================================
医院紹介ページ
===================================*/
#mainvisual {
	background-image: url("img/subpage_bg.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	height: 60vh;
	position: relative;
	z-index: 1;
}
#page-ttl {
	text-align: center;
	color: #FFFFFF;
	font-weight: normal;
	position: absolute;
	top: 60%;
	left: 50%;
	transform: translate(-50%, -50%);
}
#page-ttl .ja {
	font-size: 20px;
	font-family: "Shippori Mincho B1";
}
#page-ttl .en {
	font-size: 50px;
	font-family: 'Cinzel', serif;
	color: #FFFFFF;
}
.section {
	padding-top: 90px;
}
.feature {
	background-image: url("img/clinic/bg.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding-bottom: 120px;
}
.sec-ttl {
	max-width: 1300px;
	margin: 0 auto 100px;
	position: relative;
}
.sec-ttl::after {
	content: "";
	width: 780px;
	height: 1px;
	background: #58462C;
	position: absolute;
	bottom: -20px;
	left: -60px;
}
.box {
	max-width: 1100px;
	padding: 70px 3%;
	background: #FFFFFF;
	margin: 0 auto 140px;
	position: relative;
	z-index: 1;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.76);
}
.border-top::before {
	content: "";
	width: 100%;
	height: 20px;
	background: rgba(182,159,115,0.50);
	position: absolute;
	top: 0;
	z-index: -1;
	left: 50%;
    transform: translateX(-50%);
}
h4.ttl {
    position: absolute;
    top: -50px;
    z-index: 1;
	font-size: 24px;
	font-family: "Shippori Mincho B1";
}
h4.ttl .number {
	font-size: 50px;
	display: inline-block;
	margin-right: 10px;
}

#flow {
	background: #F3F3F3;
	padding-bottom: 70px;
}
#flow img {
	margin: 0 auto 60px;
}
.flow-content {
	max-width: 1300px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
}
.flow-content .item {
	width: 48%;
	margin-bottom: 50px;
}
.flow-content .ttl {
	font-size: 22px;
	font-family: "Shippori Mincho B1";
	border-bottom: 1px dashed #B69F73;
	margin-bottom: 30px;
}
.flow-content .ttl .number {
	font-size: 70px;
	color: #AD5B64;
	display: inline-block;
	margin-right: 10px;
}

#facility {
	margin-bottom: 140px;
}
#facility .content {
	max-width: 1300px;
	margin: 0 auto;
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
}
#facility .item {
	width: 33.3%;
	margin-bottom: 20px;
}
#facility .txt {
	background: #F3F3F3;
	padding: 10px 3% 20px;
	max-width: 420px;
}
#facility .ttl {
	font-weight: bold;
	color: #AD5B64;
	margin-bottom: 5px;
}

.faq {
	background: #F3F3F3;
	padding-bottom: 70px; 
}
.no-num {
	top: -20px!important;
}

/*==================================================
歯科医師紹介ページ
===================================*/
.doc-name {
	font-size: 40px;
	font-weight: bold;
	font-family: "Shippori Mincho B1";
}
.doctor .wrap {
	max-width: 1500px;
}
.doctor .img img {
	margin: 0 auto;
}
.skill {
	max-width: 580px;
}
.skill .ttl {
	border-bottom: 1px solid #AD5B64;
	padding-left: 35px;
	position: relative;
	font-weight: bold;
	margin-bottom: 20px;
}
.skill .ttl::before {
	content: "";
	width: 25px;
	height: 1px;
	background: #AD5B64;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
.skill .item {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	align-items: stretch;
}
.skill .item span {
	width: 140px;
}
.skill .item div {
	width: calc(100% - 140px);
}
.staff .content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}
.staff .item {
    width: 33.3%;
    margin-bottom: 30px;
}
.staff .txt {
	max-width: 420px;
}
.staff .ttl {
	font-family: "Shippori Mincho B1";
	font-size: 20px;
	border-bottom: 1px solid #998969;
	padding: 5px 0 10px;
	margin-bottom: 10px;
}



.interview {
	background-image: url("img/staff/bg.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	padding-bottom: 110px;
}
.interview .wrap.flex {
	max-width: 1300px;
	margin: 40px auto 100px;
}
.doc-ttl {
	font-size: 20px;
	font-family: "Shippori Mincho B1";
	margin-bottom: 5px;
}
.doc-mdl {
	margin: 35px auto;
}



/*==================================================
採用情報ページ
===================================*/
#recruit {
	background-image: url("img/bg.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	padding-bottom: 110px;
}
.rec-txt {
	max-width: 900px;
	margin: 0 auto 100px;
}



/*==================================================
診療時間・アクセスページ
===================================*/
.clinic-info img {
	margin: 0 auto;
}
.info-wrap.item {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	align-items: stretch;
}
.info-wrap.item span {
	width: 100px;
	font-weight: bold;
	border-bottom: 1px solid #B69F73;
	padding-bottom: 5px;
	margin-bottom: 15px;
}
.info-wrap.item div {
	width: calc(100% - 100px);
	border-bottom: 1px solid #B69F73;
	padding-bottom: 5px;
	margin-bottom: 15px;
}

#access {
	background-image: url("img/access/bg.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	padding-bottom: 200px;
}
#access .box {
	margin-top: 130px;
}
#access .flex-3 {
	max-width: 300px;
	margin-bottom: 35px;
	position: relative;
}
#access .flex-3::after {
	content: "";
	width: 0;
	height: 0;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	border-left: 20px solid #B69F73;
	position: absolute;
	bottom: 50%;
	right: -30px;
	transform: translateY(50%);
}
#access .flex-3:last-child::after {
	display: none;
}
#access .flex-3 p {
	background: #f3f3f3;
	padding: 10px 3% 15px;
}





/*==================================================
診療案内ページ
===================================*/
#medical-bg {
	background-image: url("img/bg.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-attachment: fixed;
	padding: 20px 0;
}
.medical {
	max-width: 1500px;
	margin: 0 auto;
}
.medical img {
	margin: 0 auto;
}
.medical-ttl {
	text-align: center;
	font-size: 36px;
	font-family: "Shippori Mincho B1";
	padding-top: 100px;
	position: relative;
	margin-bottom: 50px;
}
.medical-ttl::before {
	content: "";
	background-image: url("img/medical/ttl.png");
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: bottom center;
	width: 167px;
	height: 95px;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}
.fee {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	border-bottom: 1px solid #B69F73;
	padding-bottom: 7px;
}
.fee div {
	width: 33.3%;
}
.fee .ttl, .risk .ttl {
	font-weight: bold;
}
.fee .price {
	text-align: end;
}
 



/*==================================================
ふわっ
===================================*/

/* その場で */
.fadeIn{
animation-name:fadeInAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 下から */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* 上から */

.fadeDown{
animation-name:fadeDownAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeDownAnime{
  from {
    opacity: 0;
  transform: translateY(-100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* 左から */

.fadeLeft{
animation-name:fadeLeftAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeLeftAnime{
  from {
    opacity: 0;
  transform: translateX(-100px);
  }

  to {
    opacity: 1;
  transform: translateX(0);
  }
}

/* 右から */

.fadeRight{
animation-name:fadeRightAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeRightAnime{
  from {
    opacity: 0;
  transform: translateX(100px);
  }

  to {
    opacity: 1;
  transform: translateX(0);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.fadeInTrigger,
.fadeUpTrigger,
.fadeDownTrigger,
.fadeLeftTrigger,
.fadeRightTrigger{
    opacity: 0;
}












