@charset "utf-8";

/*
 * Theme Name: Light Gallery for WordPress
 * Author: Hirotoshi Kawai
 * Description: Light Gallery is original theme for WordPress. Redesigned by Self Made Framework.
 * Version: 1.0
 */

body {
  font-family: sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
  word-break: break-all; 
  word-wrap: break-word;
  overflow-wrap: break-word;
  background-color: #d4d9df;
}

h5, h6 {
  margin: 0; /* Add to Modern CSS Reset */
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

a:link,
a:visited {
  color: #00a1e9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  opacity: 0.6;
  transition: 0.6s;
}

.contents-img img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
}

.pad-5 {
  padding: 5px;
}

.pad-10 {
  padding: 10px;
}

.pad-15 {
  padding: 15px;
}

.pad-20 {
  padding: 20px;
}

.pb-5 {
  padding-bottom: 5px;
}

.pb-10 {
  padding-bottom: 10px;
}

.pb-15 {
  padding-bottom: 15px;
}

.pb-20 {
  padding-bottom: 20px;
}

.mt-5 {
  margin-top: 5px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-15 {
  margin-top: 15px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-5 {
  margin-bottom: 5px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-15 {
  margin-bottom: 15px;
}

.mb-20 {
  margin-bottom: 20px;
}

.text-center {
  text-align: center;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.flex-layout {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 10px;
}

.contents-img {
  flex-basis: 30%;
  width: 30%;
  max-width: 100%;
}

.single-title {
  margin-bottom: 10px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.pagination a {
  display: inline-block;
}

.pagination a:hover {
  opacity: 0.6;
  transition: 0.6s;
}

.pagination a:active {
  background-color: #ccc;
  transition: none;
}

.pagination .prev,
.pagination .current,
.pagination .next,
.pagination a.page-numbers {
  border: 1px solid #ccc;
}

.pagination .prev,
.pagination .current,
.pagination .next,
.pagination .page-numbers {
  margin-right: 5px;
  padding: 10px;
}

/* ラップトップ用 */
@media only screen and (max-width: 1030px) {
  .contents-img img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
  }
}

/* タブレット用 */
@media only screen and (max-width: 768px) {
  .contents-img img {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
  }
}

/* スマホ用 */
@media only screen and (max-width: 479px) {
  .contents-img img {
    max-width: 100%;
    height: 100px;
    object-fit: cover;
  }
}

/* スマホ用 */
@media only screen and (max-width: 380px) {

}

/* スマホ用 */
@media only screen and (max-width: 330px) {

}