@charset "UTF-8";
.is-view-pc {
  display: none;
}

@media screen and (min-width:768px) {
  .is-view-sp {
    display: none;
  }
  .is-view-pc {
    display: block;
  }
}
/* ------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------ */
/* ノイズ用レイヤー*/
.film, .effect, .grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* フィルム傷のベース */
.film, .effect {
  filter: blur(0.45px) drop-shadow(0 0 0 rgba(255, 255, 255, 0.0666666667));
}

/* 縦方向の繰り返し線 */
.film::after,
.effect::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 120%;
  height: 100%;
  left: 0;
  opacity: 0.5;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.1333333333) 0 2px, transparent 4px 37vmin);
  animation: film-scratch 0.45s steps(1) infinite;
}

/* 違う速度で動かす */
.effect::after {
  left: 30%;
  animation: effect-scratch 2s infinite;
}

/* 粒状ノイズ */
.grain::after {
  content: "";
  position: absolute;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  opacity: 0.25;
  background-image: repeating-conic-gradient(#000 0%, transparent 0.00003%, transparent 0.0005%, transparent 0.00095%), repeating-conic-gradient(#000 0%, transparent 0.00005%, transparent 0.00015%, transparent 0.0009%);
  filter: drop-shadow(0 0 1px #000);
  animation: grain 0.5s steps(1) infinite;
}

/* シャドウ */
.content::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: 0 0 20vmin 0 var(--black) inset, 0 0 3vmin 0.5vmin var(--black) inset, 0 0 1vmin 1vmin var(--black);
  pointer-events: none;
}

/* ========== noiseアニメ ========== */
@keyframes grain {
  0%, 100% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(-1%, -1%);
  }
  20% {
    transform: translate(1%, 1%);
  }
  30% {
    transform: translate(-2%, -2%);
  }
  40% {
    transform: translate(3%, 3%);
  }
  50% {
    transform: translate(-3%, -3%);
  }
  60% {
    transform: translate(4%, 4%);
  }
  70% {
    transform: translate(-4%, -4%);
  }
  80% {
    transform: translate(2%, 2%);
  }
  90% {
    transform: translate(-3%, -3%);
  }
}
@keyframes film-scratch {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.5;
  }
  10% {
    transform: translateX(-1%);
  }
  20% {
    transform: translateX(1%);
  }
  30% {
    transform: translateX(-2%);
    opacity: 0.75;
  }
  40% {
    transform: translateX(3%);
  }
  50% {
    transform: translateX(-3%);
    opacity: 0.5;
  }
  60% {
    transform: translateX(8%);
  }
  70% {
    transform: translateX(-3%);
  }
  80% {
    transform: translateX(10%);
    opacity: 0.25;
  }
  90% {
    transform: translateX(-2%);
  }
}
@keyframes effect-scratch {
  0% {
    transform: translateX(0);
    opacity: 0.75;
  }
  10% {
    transform: translateX(-1%);
  }
  20% {
    transform: translateX(1%);
  }
  30% {
    transform: translateX(-2%);
  }
  40% {
    transform: translateX(3%);
  }
  50% {
    transform: translateX(-3%);
    opacity: 0.5;
  }
  60% {
    transform: translateX(8%);
  }
  70% {
    transform: translateX(-3%);
  }
  80% {
    transform: translateX(10%);
    opacity: 0.25;
  }
  90% {
    transform: translateX(20%);
  }
  100% {
    transform: translateX(30%);
  }
}
/* ========== 捜査線エフェクト  ========== */
@keyframes scanline-shift {
  0%, 100% {
    background-position: 0 0;
  }
  25% {
    background-position: 0 2px;
  }
  50% {
    background-position: 0 -1px;
  }
  75% {
    background-position: 0 3px;
  }
}
@keyframes rgb-glitch {
  0%, 100% {
    transform: translateX(0);
    text-shadow: -1px 0 rgba(255, 0, 60, 0.7), 1px 0 rgba(0, 220, 255, 0.7), 0 0 4px #000000;
  }
  25% {
    transform: translateX(1px);
    text-shadow: -3px 0 rgba(255, 0, 60, 0.85), 2px 0 rgba(0, 220, 255, 0.85), 0 0 4px #000000;
  }
  50% {
    transform: translateX(-1px);
    text-shadow: 2px 0 rgba(255, 0, 60, 0.8), -3px 0 rgba(0, 220, 255, 0.8), 0 0 4px #000000;
  }
  75% {
    transform: translateX(0);
    text-shadow: -2px 0 rgba(255, 0, 60, 0.75), 3px 0 rgba(0, 220, 255, 0.75), 0 0 4px #000000;
  }
}
@media (prefers-reduced-motion: reduce) {
  a:hover::before,
a:hover .text {
    animation: none;
  }
}
.kv-effect {
  visibility: hidden;
}
@media screen and (min-width:768px) {
  .kv-effect {
    visibility: visible;
  }
}

@keyframes reveal-character {
  from {
    -webkit-mask-size: 0% 100%;
    mask-size: 0% 100%;
  }
  to {
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }
}
.content-fadein {
  animation: page-content-fade-in 500ms ease-out;
}

@keyframes page-content-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.wallpaper-wrapper {
  margin: 0 0 60px;
  padding: 0 5%;
  font-size: 1rem;
  font-family: "times-new-roman", "Times New Roman", Times, "yu-mincho-pr6n", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  font-weight: normal;
  /* ダウンロード一覧：スマートフォンを基準に指定 */
  /*
  * .wallpaper-wrapper 内へ配置するダウンロード一覧用SCSS。
  * スマートフォンを基準にし、mq(tab)でPC表示へ切り替える。
  */
}
@media screen and (min-width:768px) {
  .wallpaper-wrapper {
    font-size: 1rem;
    line-height: 1.6;
  }
}
.wallpaper-wrapper.ja {
  font-size: 0.875rem;
  line-height: 1.5;
}
@media screen and (min-width:768px) {
  .wallpaper-wrapper.ja {
    font-size: 15px;
    line-height: 1.7;
  }
}
.wallpaper-wrapper .link-text {
  color: #fe254c;
  text-decoration: underline;
  cursor: pointer;
  transition: 0.5s;
}
.wallpaper-wrapper .link-text:hover {
  color: #fe254c;
  text-shadow: 0 0 2px #515048;
}
.wallpaper-wrapper .text-color {
  color: #fe254c;
}
.wallpaper-wrapper .wallpaper-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3% 5% 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.85) 100%);
  background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.85) 100%);
  background: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.85) 100%);
}
@media screen and (min-width:768px) {
  .wallpaper-wrapper .wallpaper-inner {
    padding: 35px 0;
  }
}
.wallpaper-wrapper .wallpaper-title {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  color: #e9e9e9;
  text-align: center;
}
.wallpaper-wrapper .wallpaper-title h1 {
  color: #e9e9e9;
  font-size: clamp(24px, 5vw, 36px);
  font-family: "times-new-roman", "Times New Roman", Times, "yu-mincho-pr6n", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  font-weight: 400;
  font-style: normal;
}
.wallpaper-wrapper .wallpaper-title h1:lang(ja) {
  font-family: "yu-mincho-pr6n", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-weight: 400;
  font-style: normal;
}
.wallpaper-wrapper .wallpaper-title h1:lang(ko) {
  font-family: "source-han-serif-kr-subset", "Noto Serif KR", serif;
  font-weight: 400;
  font-variation-settings: "wght" 400;
}
.wallpaper-wrapper .wallpaper-title h1:lang(zh-cn) {
  font-family: "source-han-serif-hc-variable", "Noto Serif CJK SC", "Songti SC", serif;
}
.wallpaper-wrapper .wallpaper-title h1:lang(zh-tw) {
  font-family: "source-han-serif-hc-variable", "Noto Serif CJK TC", "PingFang TC", serif;
}
.wallpaper-wrapper .wallpaper-title h1:lang(ar) {
  font-family: adobe-arabic, "Noto Naskh Arabic", "Segoe UI", serif;
}
.wallpaper-wrapper .wallpaper-title h1:lang(ru) {
  font-family: "Times New Roman", Georgia, serif;
}
.wallpaper-wrapper .wallpaper-title p {
  margin-top: 5px;
  font-size: 1.2em;
  font-weight: normal;
  line-height: 1.2;
}
.wallpaper-wrapper .wallpaper-title .small {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.8em;
  font-weight: normal;
}
.wallpaper-wrapper .wallpaper-title span {
  display: inline-block;
}
.wallpaper-wrapper .wallpaper-title.ja h1 {
  color: #e9e9e9;
  font-size: 1.5rem;
  font-family: "times-new-roman", "Times New Roman", Times, "yu-mincho-pr6n", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
}
.wallpaper-wrapper .wallpaper-title.ja h1:lang(ja) {
  font-family: "yu-mincho-pr6n", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-weight: 400;
  font-style: normal;
}
.wallpaper-wrapper .wallpaper-title.ja h1:lang(ko) {
  font-family: "source-han-serif-kr-subset", "Noto Serif KR", serif;
  font-weight: 400;
  font-variation-settings: "wght" 400;
}
.wallpaper-wrapper .wallpaper-title.ja h1:lang(zh-cn) {
  font-family: "source-han-serif-hc-variable", "Noto Serif CJK SC", "Songti SC", serif;
}
.wallpaper-wrapper .wallpaper-title.ja h1:lang(zh-tw) {
  font-family: "source-han-serif-hc-variable", "Noto Serif CJK TC", "PingFang TC", serif;
}
.wallpaper-wrapper .wallpaper-title.ja h1:lang(ar) {
  font-family: adobe-arabic, "Noto Naskh Arabic", "Segoe UI", serif;
}
.wallpaper-wrapper .wallpaper-title.ja h1:lang(ru) {
  font-family: "Times New Roman", Georgia, serif;
}
@media screen and (min-width:768px) {
  .wallpaper-wrapper .wallpaper-title.ja h1 {
    font-size: 2rem;
  }
}
.wallpaper-wrapper .wallpaper-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 8px 30px;
  background: #000000;
}
@media screen and (min-width:768px) {
  .wallpaper-wrapper .wallpaper-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 30px 48px 0;
  }
}
.wallpaper-wrapper .wallpaper-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-bottom: 30px;
}
@media screen and (min-width:768px) {
  .wallpaper-wrapper .wallpaper-card {
    display: block;
  }
}
.wallpaper-wrapper .wallpaper-card_title {
  order: 0;
  margin: 0 0 12px;
  color: #fe254c;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: normal;
  line-height: 1.2;
}
@media screen and (min-width:768px) {
  .wallpaper-wrapper .wallpaper-card_title {
    margin-bottom: 10px;
    font-size: 30px;
  }
}
.wallpaper-wrapper .wallpaper-card_previews {
  display: contents;
}
.wallpaper-wrapper .wallpaper-card_previews img {
  border: 1px solid rgba(233, 233, 233, 0.35);
}
@media screen and (min-width:768px) {
  .wallpaper-wrapper .wallpaper-card_previews {
    display: grid;
    grid-template-columns: minmax(0, 3.8fr) minmax(75px, 1fr);
    gap: 12px;
    align-items: stretch;
    margin-bottom: 26px;
  }
}
.wallpaper-wrapper .wallpaper-card_preview {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.wallpaper-wrapper .wallpaper-card_preview-mobile {
  order: 1;
  width: min(42%, 180px);
  margin: 0 auto 20px;
}
@media screen and (min-width:768px) {
  .wallpaper-wrapper .wallpaper-card_preview-mobile {
    order: initial;
    width: 100%;
    height: 100%;
    margin: 0;
  }
}
.wallpaper-wrapper .wallpaper-card_preview-pc {
  order: 3;
  margin: 40px 0 20px;
}
@media screen and (min-width:768px) {
  .wallpaper-wrapper .wallpaper-card_preview-pc {
    order: initial;
    height: 100%;
    margin: 0;
  }
}
.wallpaper-wrapper .download-group {
  min-width: 0;
}
.wallpaper-wrapper .download-group.download-group-mobile {
  order: 2;
}
.wallpaper-wrapper .download-group.download-group-pc {
  order: 4;
}
@media screen and (min-width:768px) {
  .wallpaper-wrapper .download-group + .download-group {
    margin-top: 30px;
  }
}
.wallpaper-wrapper .download-group_title {
  position: relative;
  display: none;
  margin: 0 0 14px;
  padding: 0 10px 9px;
  font-weight: 400;
  font-size: 1.125rem;
}
.wallpaper-wrapper .download-group_title::before {
  position: absolute;
  bottom: -5px;
  left: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 5px;
  background: url("/games/silenthill/townfall/s/img/common/border.png") center/100% auto no-repeat;
  content: "";
  opacity: 0.5;
}
@media screen and (min-width:768px) {
  .wallpaper-wrapper .download-group_title {
    display: block;
  }
}
.wallpaper-wrapper .download-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (min-width:768px) {
  .wallpaper-wrapper .download-list {
    gap: 12px;
    padding: 0 16px;
  }
}
.wallpaper-wrapper .download-list_item {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 6px 6px 6px 12px;
  background-color: rgba(81, 80, 72, 0.4);
  font-size: 1rem;
  grid-template-columns: minmax(46%, 1fr) 44%;
}
.wallpaper-wrapper .download-list_item .download-size {
  display: inline-block;
  white-space: nowrap;
}
@media screen and (min-width:768px) {
  .wallpaper-wrapper .download-list_item {
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 6px;
    align-items: center;
  }
}
.wallpaper-wrapper .download-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 5px 44px 5px 16px;
  border-radius: 3px;
  color: #e9e9e9;
  background: #b1020a;
  text-decoration: none;
  transition: filter 160ms ease, opacity 160ms ease;
}
@media screen and (min-width:768px) {
  .wallpaper-wrapper .download-button {
    min-height: 36px;
    padding: 6px;
  }
}
.wallpaper-wrapper .download-button:hover {
  filter: brightness(1.2);
}
.wallpaper-wrapper .download-button:focus-visible {
  outline: 2px solid #e9e9e9;
  outline-offset: 3px;
}
.wallpaper-wrapper .download-button.is-downloading {
  cursor: wait;
  opacity: 0.65;
  pointer-events: none;
}
.wallpaper-wrapper .download-button::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 16px;
  height: 16px;
  background: url("/games/silenthill/townfall/s/img/common/icon_dl.svg") no-repeat center/contain;
  content: "";
  transform: translateY(-50%);
  pointer-events: none;
}

/*--------------------------------------------*/
.download-all-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.download-all-list li {
  width: 90%;
  max-width: 360px;
}
@media screen and (min-width:768px) {
  .download-all-list {
    flex-direction: row;
    justify-content: space-evenly;
  }
}

.download-btn {
  position: relative;
  margin: 20px auto 10px;
  display: inline-block;
  color: #eeeeee;
  padding: 8px 42px 8px 16px;
  box-sizing: border-box;
  font-size: 1rem;
  line-height: 1.5;
  border: 1px solid rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s;
  z-index: 1;
  background: #b1020a;
  border-radius: 3px;
  width: 100%;
  top: 50%;
}
.download-btn::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: url("/games/silenthill/townfall/s/img/common/icon_dl.svg") no-repeat center center;
  border: none;
  transform: unset;
  -webkit-transform: unset;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}
.download-btn a {
  color: #000000;
  display: block;
}
.download-btn:hover {
  filter: brightness(1.1);
}
.download-btn:hover::after {
  background-color: rgba(0, 0, 0, 0);
}

/*# sourceMappingURL=wallpaper.css.map */
