@charset "utf-8";
                                        /* 例1200px(高数値ならなんでも)から始まり973pxまで縮まってから発動 */
                                        /* 0px~973pxまでという2パターンから考えられる{混乱した時用メモ}*/
                                        @media (max-width: 974px) {
                                          #contents .outer {
                                           max-width: 650px;
                                           flex-wrap: wrap;
                                           margin: 0 auto;
                                          }
                                          #contents .outer .thumbnail {
                                           margin: 50px 0 0 0;
                                          }
                                        }

                        /* 例1200px(高数値ならなんでも)から始まり671pxまで縮まってから発動 */
                        /* 0px~671pxまでという2パターンから考えられる{混乱した時用メモ}*/
                        @media (max-width: 771px) {
                          /* -------------- フレックスボックスマージンのみ消す -------------- */
                          #contents .outer {
                            width: 93%;
                            max-width: 100%;
                            margin: 0 auto;
                          }
                         #contents .outer .thumbnail {
                           width: 48%;
                           height: auto;
                           margin: 10px 0 0 0;
                         }
                         figure.snip1206 {
                           width: 100%;
                           max-width: 100%;
                           min-width: 100%;
                         }
                         header {
                          height: 600px;
                         }
                        }

          /* 例1200px(高数値ならなんでも)から始まり651pxまで縮まってから発動 */
          /* 0px~651pxまでという2パターンから考えられる{混乱した時用メモ}*/
          @media (max-width: 615px) {
            #contents .outer {
              width: 95%;
              max-width: 95%;
              margin: 0 auto;
            }
            #logo {
              top: 250px;
            }
            header {
             height: 500px;
            }
          }

@media (max-width: 501px) {
  /* -------------- ヘッダー(header) -------------- */
  header {
    height: 322px
  }
  video {
    position: absolute;
  }
  .padding_top {
    padding: 50px 0 0 0;
  }
  #work .outer {
    margin: -130px 0 0 0;
  }
  #logo {
    width: 60%;
    top: 190px;
    background-size: contain;
  }
  #contents .outer {
   margin: 30px auto 0;
  }
  #contents .outer .thumbnail:first-child {
  }
  .shadow_box_01 {
    width:250px;
        padding: 35px 25px 35px 25px;
    font-size: 16px;
  }
  #news .outer .caption {
    display: block;
    line-height: 1.3em;
    padding: 0 0 12px 0;
  }
  #news .outer .caption .time{
    width: 100%;
    padding: 0;
    text-align: center;
    font-size: 10px
  }
  #news .outer .caption h4 {
    width: 100%;
    padding: 0;
    font-size: 12px;
  }
  #news .outer .caption h4 a {
    font-size: 12px;
  }
  #h_text_02 {
    width: 330px;
    padding: 25px 85px 30px 25px;
    box-shadow: none;
    box-shadow: 50px 30px 0px 0px rgba(0,0,0,0.4);
  }
  #work h3 {
    margin: 180px auto 15px;
  }
  #work .time {
  	font-size: 10px;
  	color: rgba(1,1,1,0.5);
  	text-align: center;
  	margin: 10px 0 0 0;
  }
  figure.snip1206 {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }
  figure.snip1206:hover figcaption h4 {
    font-size: 16px
  }
  .pagination {
    padding: 60px 0 0px 0px;
  }
}
/* --------------------iosのfixed対応 -------------------*/
.iphone #contents_topic {
	background-attachment: local;
}
.iphone #news_topic {
  background-attachment: local;
}
.iphone #work_topic {
  background-attachment: local;
}
.iphone #work_topic h2 {
}
