﻿@charset UTF-8;
/* ================================================ */
/*               全体設定                */
/* ================================================ */

body {
	font-family:'Noto Sans', sans-serif,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif, Verdana, "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
	background-color: #fafafa;
}

/* ================================================ */
/*ヘッダー：など場所をこまめに書く！*/
/* ================================================ */



/* アニメーション設定 */
.top-image,.title ,.contents1-img,.contents1-words,.contents2-img,.contents2-words,.right-h3,.secondary-cintents-img1,.secondary-cintents-img2,.left-h3,.nayami,.footer-wrapper{
	opacity: 0;
	transform: translate3d(0, 30px, 0);
}
.top-image.is-active,.contents1-img.is-active,.contents2-img.is-active,.right-h3.is-active{
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition: 2s;
}

.title.is-active,.contents1-words.is-active,.contents2-words.is-active,.secondary-cintents-img1.is-active,.nayami.is-active{
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition: 1s;
}

.secondary-cintents-img2.is-active,.footer-wrapper.is-active{
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition: 3s;
}

.left-h3.is-active{
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition: 4s;
}

/* タイトルアニメーション */
.fade-left {
  animation-name: fadeleft;
  animation-duration: 3s;
}

@keyframes fadeleft {
  from {
    opacity: 0;
    transform: translateX(50vw);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


header{
	display: flex;
	justify-content:space-between;
	align-items: center;
	max-width: 1500px;
}

h1{
	font-size:4.5rem;
	font-weight: bolder;
	margin-left: 6.5vw;
	letter-spacing: 0.4rem;
	color: #81cfcf;
	font-weight: bold;

}


.top-image img{
	width: 75vw;
	z-index: 0;
}

.title{
	z-index: 1;
	margin-right: -290px;
}





/* ================================================ */
/*メインコンテンツ*/
/* ================================================ */
h2{
	font-size: 1.5rem;
	color: #ffffff;
	letter-spacing: 0.2em;

}

.contents1{
	display: flex;
	justify-content:space-between;
	align-items: center;
	max-width: 1500px;
	margin: auto;
	margin-top: 100px;
	
}

.contents1-img img{
	width: 60vw;
	margin-right: -100px;
}


.contents1-words{
	width: 65vw;
	height: 660px;
	background-image: url(images/back-jibunnrashiku.png);
	background-repeat: no-repeat;
	background-size: auto;
	background-position: left; 
	margin-top: 200px;
	z-index: -1;
	margin-left: -290px;
	display: flex;
  align-content: center;
  justify-content: center;
}

.contents1-words h2 {
  margin-top: auto;
  margin-bottom: auto;
  /* padding-right: 100px; */
	display: flex;
	align-items: center; /* 垂直中心 */
  justify-content: center; 
	margin-left: 310px;
}

.contents1-words h2:before {
  border-top: 1px solid #ffffff;
  content: "";
  width: 4em; /* 線の長さ */
	margin-right: 1em; 
}
.contents2{
	display: flex;
	justify-content:space-between;
	align-items: center;
	max-width: 1500px;
	margin: auto;
}
.contents2-img img{
	width: 60vw;
}

.contents2-words{
	width: 60vw;
	height: 680px;
	background-image: url(images/back-kurashiwo.png);
	background-repeat: no-repeat;
	background-size: auto;
	background-position: right; 
	margin-top: 250px;
	z-index: -1;
	margin-right: -290px;
	display: flex;
  align-content: center;
  justify-content: center;
}

.contents2-words h2 {
  margin-top: auto;
  margin-bottom: auto;
  padding-right: 200px;
	display: flex;
	align-items: center; /* 垂直中心 */
  justify-content: center; /
}

.contents2-words h2:after {
  border-top: 1px solid #ffffff;
  content: "";
  width: 4em; /* 線の長さ */
	margin-left: 1em; 
}


.secondary{
	margin: auto;
	margin-top: 300px;
	margin-bottom: 300px;
	width: 70%;

}
h3{
	font-size: 1.4rem;
	display: flex;
	line-height: 2.5rem;
	align-items: center; /* 垂直中心 */
  justify-content: center; 
	letter-spacing: 0.4rem;
	color: #4c5656;

}

.right-h3{
	margin-right: 40px;
	margin-left: 100px;

}
.secondary-cintents-words{
	width: 100%;
}


.secondary-cintents,.secondary-cintents2{
	display: flex; 
	justify-content: space-between;
	align-items: center;
	margin: auto;

}

.secondary-cintents2{
	margin-top: -100px;
	z-index: -1;
	margin-right: 100px;
}

.secondary-cintents-img img{
	width: 100%;
	margin: auto;
}
.secondary-cintents-img {
	width: 65%;
}

/* .secondary-cintents>.secondary-cintents-img{
	margin-left: -170px;
} */
.secondary-cintents-img1{
	margin-left: -70px;

}
.secondary-cintents2>.secondary-cintents-img{
	margin-right: -170px;
	/* margin-left: 100px; */
}

.nayami{
	text-align: center;
	margin-top: 100px;
	background-image: url(images/image-nayami.png);
	height: 524px;
  background-repeat:no-repeat;
  background-position:50%;
	background-size: cover;
	font-size: 1.4rem;
	color: #4c5656;
}
.nayami-wrapper{
	padding: 170px 0;
	line-height:  3rem;
	letter-spacing: 0.4rem;
}

.nayami-sentence2{
	margin-top: 50px;
}

/* ================================================ */
/*フッター*/
/* ================================================ */

footer{
	background-color: #81cfcf;
}

.footer-wrapper{
	width: 80%;
	color: #ffffff;
	font-size: 1.1rem;
	margin: auto;
	display:flex;
	justify-content: space-between;
	padding: 160px 0;
	line-height: 1.8rem;
	font-weight: 400;
	letter-spacing: 0.1rem;
}

.fontb{
	font-size: 1.4rem;
	margin-top: 10px;
}
.footer-mail{
	margin-top: 50px;
}

.footer-time{
	margin-top: 50px;
}

.borderless{
	color: #ffffff;
	text-decoration: none;
}


section {
  max-width: 500px;
	margin-top: 30px;
	display: flex;
	justify-content: space-around;
}
a.btn_03 {

  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 50px;
  position: relative;
  background: #fff;
  border-radius: 30px;
  box-sizing: border-box;
  padding: 0 45px 0 25px;
  color: #81cfcf;
  font-size: 1rem;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  transition-duration: 0.3s;
}
a.btn_03:before {
  content: '';
  width: 8px;
  height: 8px;
  border: 0;
  border-top: 2px solid #81cfcf;
  border-right: 2px solid #81cfcf;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 25px;
  margin-top: -6px;
}
a.btn_03:hover {
  background: #228bc8;
  color: #fff;
}
a.btn_03:hover:before {
  border-top: 2px solid #228bc8;
  border-right: 2px solid #228bc8;
}
.gnet{
	margin-left: 10px;
}



 /*=============================================== 
 ●smart.css 画面の横幅が640pxまで ===============================================*/ 
 @media screen and (max-width:640px){

	h1 {
    font-size: 2rem;
	}
	.contents1{
		margin-top: 100px;
    
	}

	.contents1-words {
    background-image: none;
		display: block;
		height: auto;
		margin-left: 0px;
		margin-top: 0;
 }
 .contents1-img img {
	margin-right: -0px;
 }
 .contents1-words h2, .contents2-words h2{
	 color: #4c5656;
	 display: block;
	 font-size:0.5rem;
 }

 .contents2-words h2 {
	padding-right: 0px;

 }

 .contents1-words h2 {

	margin-left: 0px;
 }


 .contents2 {
	margin-top: 60px;

 }
 .contents2-img{
	 text-align: right;
 }

 .contents2-words {
	background-image: none;
	display: block;
	height: auto;
	margin-top: 0;
} 

.contents1-words h2:before {
	margin-right: 4em;
}
.contents2-words h2:after{
	margin-left: 4em;
}

.secondary {
	margin-top: 100px;
	margin-bottom: 0px;
	width: 90%;
}

.secondary-cintents,.secondary-cintents2{
	display: flex; 
}

.secondary-cintents2 {
	margin-top: 30px;
	margin-right: 0;
}

.secondary-cintents>.secondary-cintents-img{
	margin-left: 0px;
	margin-right: 0px;
}

.secondary-cintents2>.secondary-cintents-img{
	margin-right: 0px;
	margin-left: 0px;
}

.contents2-words h2 {
	text-align: center;
	margin-right: 10px;
}

h3{
	font-size: 0.4rem;
	line-height: 1.5rem;
}

.right-h3{
	margin-left: 20px;
    width: 110px;
		margin-right: 50px;
}
.nayami {

	margin-top: 100px;
	height: auto;

	font-size: 0.9rem;
}

.nayami-wrapper {
	padding: 80px 0;
	width: 90%;
	line-height: 2.3rem;
	margin: auto;
}

.footer-wrapper {
	display: block;
	font-size: 0.6rem;
	padding: 70px 0;
}

.fontb {
	font-size: 1rem;
	margin-top: 0px;
}
.footer-time {
	margin-top: 10px;
}

a.btn_03 {
	font-size: 0.8rem;
	padding: 0 25px 0 25px;
	height: 36px;
	margin-bottom: 15px;
}

a.btn_03:before {
	display: none;
}


 }