.layout-gallery {
  margin: 0 auto;
  width: 1200px;
  height: 235px;
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
}
@media (max-width: 567px) {
  .layout-gallery {
    width: 100vw;
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0 * 3.5);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .layout-gallery {
    width: 100vw;
    height: calc(100vw / 568.0 * 320.0 * 4.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .layout-gallery {
    width: 100vw;
    height: calc(100vw / 768.0 * 924.0 * 4.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .layout-gallery {
    width: 100vw;
    height: calc(100vw / 1024.0 * 668.0 * 3.0 / 12.0);
  }
}
.layout-gallery-item {
  width: 300px;
  height: 235px;
  background-color: #ccc;
  display: inline-block;
  overflow: hidden;
}
@media (max-width: 567px) {
  .layout-gallery-item {
    width: calc(100vw * 6.0 / 6.0);
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0 * 3.5);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .layout-gallery-item {
    width: calc(100vw * 6.0 / 12.0);
    height: calc(100vw / 568.0 * 320.0 * 4.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .layout-gallery-item {
    width: calc(100vw * 6.0 / 12.0);
    height: calc(100vw / 768.0 * 924.0 * 4.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .layout-gallery-item {
    width: calc(100vw * 4.0 / 16.0);
    height: calc(100vw / 1024.0 * 668.0 * 3.0 / 12.0);
  }
}
.layout-gallery-item a {
  display: block;
  width: inherit;
  height: inherit;
  text-decoration: none;
}
.layout-gallery-item img {
  width: inherit;
  border: 0;
  vertical-align: top;
}
@supports (object-fit: cover) {
  .layout-gallery-item img {
    object-fit: cover;
    height: inherit;
  }
}
.layout-gallery-item:nth-child(2n) {
  background-color: #eee;
}
.layout-content-wrap {
  width: 576px;
  margin: 0 auto;
}
@media (max-width: 567px) {
  .layout-content-wrap {
    width: calc(100vw * 4.0 / 6.0);
    margin-top: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0 * 0.5 - 24px);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .layout-content-wrap {
    width: calc(100vw * 10.0 / 12.0);
    margin-top: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .layout-content-wrap {
    width: calc(100vw * 9.0 / 12.0);
    padding-left: calc(100vw * 1.0 / 12.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .layout-content-wrap {
    width: calc(100vw * 9.0 / 16.0);
    padding-left: calc(100vw * 1.0 / 16.0);
    margin-top: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0 - 24px);
  }
}
.layout-content-title {
  line-height: 24px;
  font-size: 16px;
  color: #5b5b5b;
  font-family: inherit;
  font-weight: inherit;
  margin: 4px 0;
  padding: 0;
}
.quickform.grid-layout {
  /* + .grid-common */
}
@media (max-width: 567px) {
  .quickform.grid-layout {
    margin-top: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .quickform.grid-layout {
    margin-top: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
  }
}
@media (min-width: 1200px) {
  .quickform.grid-layout .quickform-fields {
    float: right;
    width: 300px;
  }
}
@media (min-width: 1200px) {
  .quickform.grid-layout .quickform-dropzone {
    width: 600px;
    height: 166px;
    margin-left: 300px;
    margin-top: 54px;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
  }
}
@media (min-width: 1200px) {
  .quickform.grid-layout .quickform-dropzone-header {
    display: none;
  }
}
