/* reset
   ========================================================================== */
img {
  vertical-align: bottom;
  max-width: 100%;
  height: auto; }

ol, ul {
  list-style: none;
  margin: 0;
  padding: 0; }

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  padding: 0;
  font-style: normal;
  font-weight: normal;
  font-size: 100%; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

dl {
  margin: 0;
  padding: 0; }
  dl dt {
    margin: 0;
    padding: 0; }
  dl dd {
    margin: 0;
    padding: 0; }

figure {
  margin: 0 0 0 0; }

/* Utility
   ========================================================================== */
.reset {
  line-height: 1.5rem;
  margin: 0;
  padding: 0; }

.clearfix {
  min-height: 1px; }
  .clearfix:after {
    content: " ";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
    line-height: 0; }

.column2 ul {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap; }
  .column2 ul li {
    width: 49%;
    margin-top: 20px; }
    .column2 ul li:nth-child(-n+2) {
      margin-top: 0; }

.column3 ul {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap; }
  .column3 ul li {
    width: 32%;
    margin-top: 20px; }
    .column3 ul li:nth-child(-n+3) {
      margin-top: 0; }
    .column3 ul li:nth-child(3n+2):last-child {
      margin-left: auto;
      margin-right: 34%; }
  .column3 ul::after {
    content: "";
    display: block;
    width: 32%; }

.column4 ul {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap; }
  .column4 ul li {
    width: 23.5%;
    margin-top: 20px; }
    .column4 ul li:nth-child(-n+4) {
      margin-top: 0; }
  .column4 ul::before {
    content: "";
    display: block;
    width: 23%;
    order: 1; }
  .column4 ul::after {
    content: "";
    display: block;
    width: 23%; }

.column5 ul {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap; }
  .column5 ul li {
    width: 18.4%;
    margin-top: 20px; }
    .column5 ul li:nth-child(-n+5) {
      margin-top: 0; }

/*-----------------------------------------------------	*/
/*	for all						*/
/*-----------------------------------------------------	*/
/*** main 710px ***/
#i_gallery_list section {
  margin: 20px 0 0 0;
  background: #F4F4F2;
  border: 1px solid #E6E3DD; }
  #i_gallery_list section h2 {
    background: #5A4E38;
    color: white;
    font-size: 20px;
    line-height: 30px;
    font-size: 1.25rem;
    line-height: 1.875rem;
    padding: 0.5em 0.5em 0.3em 0.5em; }
  #i_gallery_list section ul {
    padding: 10px;
    text-align: left;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap; }
    #i_gallery_list section ul li {
      border: 1px solid gray;
      width: -moz-calc(15% - 2px);
      width: -webkit-calc(15% - 2px);
      width: calc(15% - 2px);
      margin-top: 10px;
      margin-right: 2%;
      text-align: center;
      background: #d8d8d8; }
      #i_gallery_list section ul li a {
        display: block;
        padding: 2px; }
        #i_gallery_list section ul li a:hover {
          opacity: 0.7;
          filter: alpha(opacity=70); }
      #i_gallery_list section ul li:nth-child(6n) {
        margin-right: 0; }
      #i_gallery_list section ul li:nth-child(-n+6) {
        margin-top: 0; }
@media only screen and (max-width: 768px) {
  #i_gallery_list section h2 {
    font-size: 18px;
    line-height: 27px;
    font-size: 1.125rem;
    line-height: 1.6875rem; }
  #i_gallery_list section ul li {
    width: -moz-calc(23.5% - 2px);
    width: -webkit-calc(23.5% - 2px);
    width: calc(23.5% - 2px); }
    #i_gallery_list section ul li:nth-child(6n) {
      margin-right: 2%; }
    #i_gallery_list section ul li:nth-child(5), #i_gallery_list section ul li:nth-child(6) {
      margin-top: 10px; }
    #i_gallery_list section ul li:nth-child(4n) {
      margin-right: 0; } }
