.inview {
  opacity: 0;
}

.inview.active {
  opacity: 1;
  animation: fadeInup .5s ease-out;
  animation-fill-mode: backwards;
}
@keyframes fadeInup {
  0% {
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 1;
  }
}


.delay1 {
  -webkit-animation-delay: 0.1s !important;
  animation-delay: 0.1s !important;
}

.delay2 {
  -webkit-animation-delay: 0.2s !important;
  animation-delay: 0.2s !important;
}

.delay3 {
  -webkit-animation-delay: 0.3s !important;
  animation-delay: 0.3s !important;
}

/*.inview.active.op {
  opacity: 1;
  animation: none;
  transition: opacity .3s;
}

.inview.active.op.delay1{
  transition-delay: .3s;
}

.inview.active.op.delay2{
  transition-delay: .4s;
}

.inview.active.op.delay3{
  transition-delay: .5s;
}*/

#tabio{
}

#visual-pc {
  text-align: center; 
}

#visual-pc .in img {
  max-width: 100%; 
  height: auto; 
  display: inline-block; 
}

#message {
  text-align: center;
  max-width: 1089px;
  margin: 0px auto;
}

#message .p01 {
  padding: 80px 0px 50px;
  color: #931515;
  font-size: 2.7rem;
  text-indent: 0%;
  line-height: 2;
}

#message .p02 {
  position: relative;
	padding: 0 0 100px 0;
  color: #000;
  font-size: 1.9rem;
  line-height: 2;
}

#message .p02 .image{
  position: absolute;
  right: 0;
  top: 0;
  width: 216px;
}

.tc {
  text-align: center !important;
}
.tr {
  text-align: right !important;
}
.tl {
  text-align: left !important;
}

#about .images{
  max-width: 1089px;
  margin: 0 auto 160px;
}

#about .images .row{
	position: relative;
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: flex-start;
}

#about .images .row .image{
  position: relative;
  width: 47%;
  text-align: center;
}

#about .images .row.wide .image{
  width: 100%;
}

#about .images .row #about-image02{
  padding-top: 94px;
}

#about .images .row #about-image02 .font{
  position: absolute;
  right: 0;
  bottom: -66px;
}

#about .images .row #about-image03{
  padding-top: 140px;
}

#about .images .row #about-image04{
  top: -75px;
}

#about .images .row #about-image05 .font{
  position: absolute;
  right: 60px;
  bottom: 73px;
}

#about .bg{
  position: absolute;
  left: 0;
  top: -95px;
}

#style{
  background-color: #EFEBE1;
  padding: 100px 0 50px;
}

#style .title{
  text-align: center;
  margin-bottom: 45px;
}

#style .layout{
  max-width: 845px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 100px;
}

#style .layout .box1{
  width: 50%;
}
#style .layout .box2{
  width: 41%;
}

#style .layout .box2 h3{
  margin-bottom: 2rem;
}

#style .layout .box2 .image{
  margin: 0 0 25px;
}


#style .layout .box2 p{
  font-size: 1.3rem;
}

#style .det a{
  text-decoration: none;
}

#style .det a:hover{
  text-decoration: underline;
}

#style .link{
    text-align: center;
    width: 100%;
    margin-top: 50px;
}

#style .link a{
  display: inline-block;
  line-height: 63px;
  background-color: #485589;
  width: 395px;
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
}

#style .link a:hover{
  background-color: #29376E;
}

#fair{
	margin: 0 auto;
	padding: 80px 46px 10px;
}

#fair .pick{
  text-align: center;
}

#fair .titlebar-bg{
  margin-top: 20px;
}

#fair ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#fair li{
	display: block;
	width: 532px;
	margin-bottom: 20px;
}

#fair li:nth-child(2n){
}

#fair li a{
	position: relative;
	display: block;
	line-height: 0;
}

#fair a::after {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	width: 100%;
	height: 100%;
	border: 0 solid #A17837;
	border-width: 0;
	transition: border-width 0.1s ease;
	box-sizing: border-box;
}


#fair a:hover::after{
	border-width: 4px;
}




/*--------------------------------------
	Smartphone 
----------------------------------------*/

@media screen and (max-width: 767px) {

#visual{
  background-color: #D69F8B;
}

#visual .visual-logo{
  padding: 30px 6%;
  text-align: center;
}

#message {
  margin-bottom: 40px;
}

#message .p01 {
  font-size: 5vw;
  padding: 50px 0 30px;
}

#message .p02{
  font-size: 1.5rem;
  padding: 0;
}

#about{
}

#about .images .image{
  margin-bottom: 20px;
  padding: 0 5%;
}

#about .images .image-last{
  padding-right: 1%;
}

#style{
  padding: 55px 5% 0;
}

#style .title{
  max-width: 216px;
  margin: 0 auto 50px;
}

#style .layout{
  display: block;
  padding-bottom: 70px;
  margin-bottom: 0;
}

#style .layout .box1{
  width: 100%;
  margin-bottom: 15px;
}
#style .layout .box2{
  width: 100%;
}

#style .layout .box2 .image{
  margin: 0 0 5px;
}

#style .layout .box2 .text{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#style .layout:nth-child(2n + 1) .box2 .text{
  flex-direction: row-reverse;
}

#style .layout .box2 h3{
  width: 27%;
}

#style .layout .box2 .det{
  width: 64%;
}

#style .layout .box2 p{
  text-align: center;
}

#style .link{
  margin-top: 25px;
}

#style .link a{
  width: 85%;
}

#fair{
  padding: 40px 10px 10px;;
}

}
