@charset "utf-8";

/* --------------------------------------------------------
	reset
-------------------------------------------------------- */

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
}

body {
    color: #333333;
    font-size: 100%;
    font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN",verdana,"メイリオ", Meiryo, sans-serif;
    line-height: 1.5;
    background: url(null) fixed;
    background-color: #fff;
    background: url(../images/menu/body_bg.gif) repeat top center;
}

html {
    overflow-y: scroll;
}

article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary {
    display: block;
}

img {
    border: 0;
    vertical-align: middle;
}

ul, ol {
    list-style: none;
}

table {
    border-spacing: 0;
    empty-cells: show;
}

a, a:link, a:visited, a:hover, a:active {
    /*color: #054691;*/
    /*text-decoration: none;*/
}


/*-----ギャラリーページ-----*/

.gallery {
    font-family: 'Bentham', serif;
    font-weight: 900;
    clear: both;
    overflow: hidden;
    margin: 40px 0;
    display: block;
    background-image: url("../images/RRice-white-wave-01.jpg");
}

.gallery_photo {
    padding: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}


.g_box {
    /*---background-color: #f8f6f0;
    border: 1px solid #eeeae2;---*/
    flex-basis: 25%;
    padding: 10px;
}



.gallery_photo img {
    min-width: 200px;
    height: auto;
    vertical-align: bottom;
}

.fadeUpTrigger {
    transform: translate3d(0, 0, 0);
}

.fadein {
    animation-name: flipRightTopAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes flipRightTopAnime{
  from {
   transform: translate(-20px,80px) rotate(25deg);
   opacity: 0;
  }

  to {
   transform: translate(0,1) rotate(0deg);
	opacity: 1;
  }
}






/*画面幅900px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------*/

    
    
@media screen and (max-width:980px) {
    
.g_box {
    flex-basis: 33.3%;   
}

    
@media screen and (max-width:700px) {

.gallery_photo img {
    min-width: 150px;    
}

@media screen and (max-width:599px) {
        
.g_box {
    flex-basis: 50%;   
}
    
@media screen and (max-width:380px) {

.gallery_photo img {
    min-width: 120px;    
}
    
}


