@charset "UTF-8";
/* --------------------------------------------------
  Template by espace（https://espace.monbalcon.net/）
  Copyright: 2020 espace.

  利用規約を遵守の上、ご利用ください。
  二次配布、販売は禁止しています。
  --------------------------------------------------*/

:root {
  /** PC設定 **/
  /* 1行に表示する枚数 */
  --emg-count-pc: 6;
  /* 画像間のスペース */
  --emg-gap-pc: 20px;

  /** スマホ設定 **/
  /* 1行に表示する枚数 */
  --emg-count-sp: 3;
  /* 画像間のスペース */
  --emg-gap-sp: 20px;

  /** 装飾設定 **/
  /* 角丸 */
  --emg-radius: 10px;
  /* 線幅 */
  --emg-border-width: 1px;
  /* 線色 */
  --emg-border-color: #333;
  /* 影色 */
  --emg-shadow-color: rgba(51, 51, 51, 0.25);

  /** 新着マーク設定 **/
  /* 背景色 */
  --emg-new-bg-color: #333;
  /* 文字色 */
  --emg-new-text-color: #fff;

  /** キャプション設定 **/
  /* 背景色 */
  --emg-caption-bg-color: rgba(0, 0, 0, 0.2);
  /* 文字色 */
  --emg-caption-text-color: #fff;
}


/** ▽▽series **/
.linkmodal a {
    display: block;
    background: #D80C18;
    padding: 10px 4%;
    font-size: 14px;
    text-decoration: none;
    color: #FFF;
    border-radius: 6px;
    margin: 14px auto;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .3);
}

.linkmodal a:hover {
    opacity: 0.95;
	transition: 0.3s;
	box-shadow: none;
	transform:translateY(1px)
}

.gallery__list {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.gallery__item {
  width: calc(95% / 2);
}
.gallery__item:not(:nth-child(-n+2)) {
  margin-top: 20px;
}
.gallery__item img {
  width: 100%;
  height: auto;
}
.gallery__item a {
  transition: .5s;
}
.gallery__item a:hover {
  filter: opacity(0.7);
}
.gallery__item a:hover img {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

/** △△series **/

.emg-base {
  display: flex;
  flex-wrap: wrap;
  gap: var(--emg-gap-pc);
}
.emg-base > * {
  position: relative;
  width: calc((100% - (var(--emg-count-pc) - 1) * var(--emg-gap-pc)) / var(--emg-count-pc));
  padding-top: calc((100% - (var(--emg-count-pc) - 1) * var(--emg-gap-pc)) / var(--emg-count-pc));
  box-sizing: border-box;
  overflow: hidden;
}
.emg-base > *.new::before {
  content: "new";
  position: absolute;
  box-sizing: border-box;
  top: 0;
  left: 0;
  padding: 5px;
  background: var(--emg-new-bg-color);
  color: var(--emg-new-text-color);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  z-index: 1;
}
.emg-base > * img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.emg-base.emg-center {
  justify-content: center;
}
.emg-base.emg-right {
  justify-content: flex-end;
}
.emg-base.emg-evenly {
  justify-content: space-evenly;
}
.emg-base.emg-between {
  justify-content: space-between;
}
.emg-base.emg-border > * {
  border: var(--emg-border-width) solid var(--emg-border-color);
}
.emg-base.emg-shadow > * {
  box-shadow: 2px 2px 5px var(--emg-shadow-color);
}
.emg-base.emg-rounded > * {
  border-radius: var(--emg-radius);
}
.emg-base.emg-rounded > *.new::before {
  border-bottom-right-radius: var(--emg-radius);
}
.emg-base.emg-circle > * {
  border-radius: 50%;
}
.emg-base.emg-circle > *.new::before {
  width: 100%;
}
.emg-base.emg-caption > *::after {
  content: attr(data-text);
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 100%;
  bottom: 0;
  left: 0;
  padding: 0 5px;
  background: var(--emg-caption-bg-color);
  color: var(--emg-caption-text-color);
  font-size: 12px;
  line-height: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.emg-base.emg-caption-circle > *::after {
  padding: 0 26%;
}

@media only screen and (max-width: 768px) {
  .emg-base {
    gap: var(--emg-gap-sp);
  }
  .emg-base > * {
    width: calc((100% - (var(--emg-count-sp) - 1) * var(--emg-gap-sp)) / var(--emg-count-sp));
    padding-top: calc((100% - (var(--emg-count-sp) - 1) * var(--emg-gap-sp)) / var(--emg-count-sp));
  }
}
