body{
    background-image: url(pic/haikei.jpg);
    margin: 0;
}
.header{
    display: flex;
    justify-content: space-between;
    position: fixed;
    width:100vw;
    background-image: url(pic/head.jpg);
    background-size: cover;
    align-items: center;
}
.header img{
  width:400px;
  height:80px;
}
.headnav ul{
  display: flex;
  list-style-type: none;
  justify-content: space-between;
}
.headnav li{

  font-size: 18px;
}

.headnav a{
  text-decoration: none;
  color:black;
}
.headnav{
    align-items: center;
    width: 40%;
    margin-right: 10%;
}
.headnav img{
    width: 60px;
    height: 90px;
}
.headnav img:hover,
.headnav img:focus{
    transform: scale(1.4);
    transition: transform .8s;
}


/*////////// アイコン画像変化をふんわりさせるスタイル //////////*/
.over {
    opacity: 1; /* 透明度を変更してふんわり変化させる */
}
/* マウスオーバー時のスタイル*/
.over:hover {
  opacity: 1;
  transition: opacity 3s;
/* 透明度を変更してふんわり変化させる */
}
/*////////// アイコン画像変化をふんわりさせるスタイル ここまで//////////*/

.burger{
    width:40px;
    height: 40px;
    background-image: url(pic/menu.png);
    background-repeat: no-repeat;
    border-radius: 4px;
    z-index: 2;
    margin-right: 20px;
    display:none;
    font-family: serif;
}
.burger:hover{
    background-color: #ddd;
}
.burger.is-active{
    background-image: url(pic/close.png);
}
/* メニュー */
.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background-color:gray;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.9;
  display:none;
}
.menu.is-active{
    display: flex;
}
.menu ul{
  display: block;
}
.menu li{
  font-size: 30px;
}
.menu li a{
      color:white;
}

body{
    margin-top: 0px;
}

#splash {
    /*fixedで全面に固定*/
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  background:#17184b;
  text-align:center;
  color:#fff;
}

/* Loading画像中央配置　*/
#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Loading アイコンの大きさ設定　*/
#splash_logo img {
  width:260px;
}

/* fadeUpをするアイコンの動き */

.fadeUp{
animation-name: fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity: 0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}
#container{
    position: absolute;
    width:100%;
    z-index: 20;
}

.first{
    /*
    display:flex;
    justify-content: center;*/
  width:50%;
  height: 100vh;
  overflow: hidden;
  position: relative;
  padding-top:130px;
  background-size: cover;

}


.wrapper{
    display: flex;
}
.second{
    display: block;
    width: 50vw;
    height: 100vh;
    background-size: cover;
    background-image:url(pic/gray.jpg);
    background-blend-mode: overlay;
  padding-top:130px;
}
.cat3{
    position: absolute;
    top: 400px;
    left: 55%;
    overflow: hidden;
    z-index: 10;
}
.cat3 img{
    width: 100%;
}
.cat4{
    position: absolute;
    top: 420px;
    left: 53%;
    overflow: hidden;
    z-index: 9;
    
}
.cat3 img{
    width: 100%;
}
.cat4 img{
    width: 100%;
}
/* 黒和紙ふわっと */
.fadeIn{
animation-name:fadeInAnime;
animation-duration:3s;
animation-fill-mode:forwards;
animation-delay: 6s;
opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
/* 黒和紙ふわっと ここまで*/

/*スライドショー*/
.item2 {
  z-index: 10;
  opacity: 0;
  width: 50vw;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 50px;
  -webkit-animation: anime 15s 0s infinite;
  animation: anime 15s 0s infinite;
}

.item2:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
}

.item2:nth-of-type(3) {
  -webkit-animation-delay: 10s;
  animation-delay: 10s;
}


@keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}
/*スライドショーここまで*/

.leftAnimeInner{
    font-size: 2rem;
    font-family: serif;
}
.leftAnimeInner2{
    font-size: 1.5rem;
    font-family: serif;
}



/*========= 1文字ずつ出現させるためのCSS ===============*/

/*========= 流れるテキスト ===============*/
/*全共通*/

.slide-in {
	overflow: hidden;
    display: inline-block;
    margin-left: 5%;
}

.slide-in_inner {
	display: inline-block;
}

/*左右のアニメーション*/
.leftAnime{
    opacity: 0;/*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
	animation-name:slideTextX100;
	animation-duration:2s;
	animation-fill-mode:forwards;
    opacity: 0;
    animation-delay: 3s;
}
@keyframes slideTextX100 {
  from {
	transform: translateX(-100%); /*要素を左の枠外に移動*/
        opacity: 0;
  }
  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}
.slideAnimeRightLeft {
	animation-name:slideTextX-100;
	animation-duration:2s;
	animation-fill-mode:forwards;
    opacity: 0;
    animation-delay: 2s;
}
@keyframes slideTextX-100 {
  from {
	transform: translateX(100%);/*要素を右の枠外に移動*/
    opacity: 0;
  }
  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}
/*========= 流れるテキスト 時差===============*/
/*全共通*/
.slide-in2 {
	overflow: hidden;
    display: inline-block;
    margin-left: 9%;
}
.slide-in_inner2 {
	display: inline-block;
}
/*左右のアニメーション*/
.leftAnime2{
    opacity: 0;/*事前に透過0にして消しておく*/
}
.slideAnimeLeftRight2 {
	animation-name:slideTextX101;
	animation-duration:2s;
	animation-fill-mode:forwards;
    opacity: 0;
    animation-delay: 3s;
}
@keyframes slideTextX101 {
  from {
	transform: translateX(-100%); /*要素を左の枠外に移動*/
        opacity: 0;
  }
  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}
.slideAnimeRightLeft2 {
	animation-name:slideTextX-101;
	animation-duration:2s;
	animation-fill-mode:forwards;
    opacity: 0;
    animation-delay: 4s;
}
@keyframes slideTextX-101 {
  from {
	transform: translateX(100%);/*要素を右の枠外に移動*/
    opacity: 0;
  }
  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}
/*========= 1文字ずつ出現させるためのCSS ここまで ===============*/

@keyframes deray {
0% {
  opacity: 0;
}
50% {
 opacity: 0.5;
}
 100% {
  opacity: 1;
} 
}

.catch-end{
    display:none;
}


/*========= お米ができるまで ===============*/
.okomebtn { display: inline-block; padding: .75em 2em; color: wheat; text-decoration: none; background: linear-gradient(to right, #000088, #000044); transition: all ease .3s; position: relative;}
.okomebtn::after { display: block; position: absolute; left: 0; top: 0; transform-origin: center center; width: 100%; height: 100%; border: 1px solid #000044; opacity: 0; content: ""; animation: btn-pulse 1.5s infinite linear; border-radius: 100vh;}
@keyframes btn-pulse {
  0% { transform: scale(1); opacity: 1;}
  100% { transform: scale(1.2, 1.5); opacity: 0;}
}

.pros{
    margin: 0 auto;
    margin-top: 5%;
    width: 20%;
    font-family: serif;
    font-size: 1.2rem;
}
.okomebtn{
    border-radius: 100vh; 
}

@media(max-width: 750px){
.pros{
    width: 60%;
    font-size: 1rem;
}
    }


/*========= お米ができるまで ここまで ===============*/





/*==================================================
じわっ
===================================*/

/* ぼかしから出現 */
.blur{
  animation-name:blurAnime;
  animation-duration:1.5s;
  animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
  filter: blur(10px);
  transform: scale(1.02);
  opacity: 0;
  }

  to {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.blurTrigger{
    opacity: 0;
}













/*======================= ３列ボックス =========================*/
.box{
    display: flex;
    justify-content: center;
    font-family: serif;
    font-size: 30px;

    color: #ffffff;
    text-shadow:
    0 1px #000000,
    1px 2px #000000,
    2px 3px #000000,
    3px 4px #000000,
    4px 5px #000000,
    5px 10px 8px #000000;
}
.conbo{
    background-color: rgba(255,255,255,0.3); 
    background-blend-mode: overlay;
    width: 33vw;
    height: 70vh;
    transition: 1s;
    text-align:center;
    position: relative;
}
.conbo:hover{
    background-color: rgba(255,255,255,0.7);
    background-blend-mode: overlay;
    color: black;
    text-shadow:
    0 1px #bbb,
    1px 2px #bbb,
    2px 3px #bbb,
    3px 4px #bbb,
    4px 5px #bbb,
    5px 10px 8px #bbb;
}
.box1{
    background-image: url(pic/box1.png);
}
.box2{
    background-image: url(pic/box2.png);
}
.box3{
    background-image: url(pic/box3.png);
}
.btn2{
    position: absolute;
    bottom: 25px;
    left: 30%;
    text-shadow:none;
    font-size:24px;
    padding: 5px;
    background-image: linear-gradient(to right, gray 0%, white 100%);
	border-radius: 100vh;
    text-decoration: none;
	color: navy;
	border: thick double gray;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
	-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
	transition: 0.5s;
}
.btn2:hover{
    background-color: black;
    color: white;
}

.boxtext{
    font-size: 20px;
    text-shadow:none;
}

/*======================= ３列ボックス ここまで ==================*/
/* サブコンテンツのcss */
.news {
  text-align: center;    
  margin-left:100px;
  margin-right: 100px;  
  margin-bottom: 100px;
}
.news h2{
    font-family:serif;
    font-size:30px;
    background-image: url(pic/kurowasi.jpg);
    opacity: 0.5;
    color: white;
}
.news img{
    width:90%;
    }
/*もっと見るボタン装飾*/
.txt-hide{
display: none;
}
.txt-hide img{
    width: 80%;
}

button.more {
width: 120px;
margin: 20px auto;
display: block;
background-color: #666;
color: #fff;
padding:10px 15px;
border: none;
outline: 0;
transition: .5s;
-erbkit-transition: .5s;
}
 
button.more::after {
content: "検査結果";
transition: .2s;
-erbkit-transition: .2s;
}

button.more.on-click::after{
content: "閉じる";
}

/*ボタン装飾*/
.btn {
  display: inline-block;
  padding: 0.3em 1em;
  text-decoration: none;
  color:darkkhaki;
  border: solid 2px darkkhaki;
  border-radius: 3px;
  transition: .4s;
  font-size: 25px;
}

.btn:hover {
  background: darkkhaki;
  color: white;
}

/*ボタン装飾終了*/



.exp{
  margin-left:100px;
  margin-right:100px;
  margin-top: 50px;
}
.exp h2{
  font-family: serif;
  border-bottom: 2px solid gray;

}
.apeal{
  display:flex;
}
.apeal img{
  height: 310px;
  width: 400px;
}
/*記事部分*/
.apeal article{
    width:50%;
    padding: 50px;
    font-family:serif;
    font-size: 25px;
}
/*サイドバー部分*/
.apeal aside{
    width:50%;
    padding: 50px;
}
.footer{
    margin-top: 100px;
    display:flex;
    justify-content: center;
    background-image: url(pic/footer.jpg);
    background-size: cover;
    color: white;
    font-family: serif;

}

.copy{
    background-color: black;
    font-family: serif;
    color: wheat;
    text-align: center;
}
.copy p{
    margin-top: 0px;
}
/*上へ戻るボタン--------------------------------------*/
.upbutton{
  position: fixed;
  right: 0;
  bottom: 0;
  font-size: 50px;
  color: #fff;
  background: rgba(0,0,0,0);
  padding: 10px;
  cursor: pointer;
  transition: .3s;
  /*デフォルトで非表示にする*/
  opacity: 0;
  visibility: hidden;
}
.upbutton img{
    width: 50px;
    height: 70px;
}

/*このクラスが付与されると表示する*/
.active{
  opacity: 1;
  visibility: visible;
}
/*上へ戻るボタン--------------------------------------*/




/*インスタボタン--------------------------------------*/
.insta img{
  width: 60px;
}
.insta{
text-align: center;
  color:darkmagenta;
}
.instap{
        text-align: center;
}
.instap img{
    width: 40%;
}
/*インスタボタン--------------------------------------*/
.puyo{
  animation-name: poyopoyo;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1.5s;
  width: 128px;
}
@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}









/*タブレットOK設定--------------------------------------*/
@media screen and (max-width: 1060px){
.wrapper{
    display: block;
} 
.item2 {
  width: 100%;
    }
.apeal{
    display:block;
    margin-bottom: 100px;
    }
/*記事部分*/
.apeal article{
    width:100%;
    padding: 5px;
    font-size: 20px;
}
/*サイドバー部分*/
.apeal aside{
    width:70%;
    padding: 0px;
    margin-left: 15%;
    margin-right: 15%;
}

.first{
  width:100vw;
  height: 40vh;
}

.second{
    width: 100vw;
    height: 40vh;
    margin-top: -10px;
    padding-top:60px;
}
}

/*スマホ以外OK設定--------------------------------------*/
@media screen and (min-width: 768px){
.br-sp {display: none; }
}

/*スマホOK設定--------------------------------------*/
@media(max-width: 750px){
    body{
        margin: 0;
    }
    h2{
        font-size: 20px;
    }
.item2 {
  width: 100%;
    }
.wrapper{
    display: block;
}   
.first{
  width:100vw;
  height: 40vh;
}

.second{
    width: 100vw;
    height: 40vh;
    margin-top: -10px;
    padding-top:60px;
}
    
.header img{
  width:300px;
  height:60px;
}
.headnav {
  display: none;
}
.menu a{
  text-decoration: none;
}
.menu ul{
  list-style-type: none;
}
.burger{
  display: flex;
    }
.item2{
        background-size:contain;
    background-position: top;
    }
.leftAnimeInner{
    font-size: 1.5rem;
    font-family: serif;
}
p{
    margin: 0.5em 0px;
    }
.leftAnimeInner2{
    font-size: 1rem;
    font-family: serif;
}    

.news {
    margin-top: 150px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.news-button{
    margin-top: 30px;
    margin-bottom: 80px;
    }
.exp{
  margin-left:5px;
  margin-right:5px;

}
.apeal{
    display:block;
    margin-bottom: 100px;
    }
.apeal img{
  
  width: 100%;
}
/*記事部分*/
.apeal article{
    width:100%;
    padding: 5px;
    font-size: 15px;
}
/*サイドバー部分*/
.apeal aside{
    width:90%;
    margin-left: 5%;
    margin-right: 5%;
}
.footer{
    margin-top: 50px;
    display:block;
}
.footer a{
    font-size: 15px;    
    }
    .footer img{
        display: none;
    }
    .cat3{
        display: none;
    }
    .cat4{
        display: none;
    }

.box{
    display:block;
    font-size: 25px;
    }
.conbo{
    width: 100vw;
    height: 90vh;
}
.boxtext{
    margin-top: 20px;
    }

}













