/* =========================================================
   Wizardry × 仕事猫 POP UP SHOP LP（page-shigotoneko.php 専用）
   info のヘッダー/フッターをそのまま使用。本セクションのみ黒×方眼背景。
   ========================================================= */

/* =========================================================
   ▼ main.css から転記（WordPress.com の _static 結合で main.css の一部が
     効かなくなる事象への対策。本ページが依存する基盤ルールを再掲）
   ========================================================= */
/* --- main.css: reset --- */
html,
body {
  height: 100%;
}
*,
*::after,
*::before {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}
/* --- main.css: media / img --- */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
}
/* --- main.css: body / a --- */
body {
  background-color: #fff;
  word-wrap: break-word;
  color: #fff;
  font-family: "Zen Old Mincho", "Noto Serif TC", "Noto Serif SC", serif;
  line-height: 1.6875;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
a {
  text-decoration: none;
  color: #fff;
}
/* --- main.css: スティッキーフッター --- */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1 0 auto;
  padding-bottom: 60px;
}
footer {
  flex-shrink: 0;
  background-color: #000;
}
/* --- main.css: 下層ページ用 .section（固定ヘッダー分の余白） --- */
.section {
  padding-top: 135px;
}
@media screen and (min-width: 768px) {
  .section {
    padding-top: 120px;
  }
}
@media screen and (min-width: 1920px) {
  .section {
    padding-top: 140px;
  }
}
/* =========================================================
   ▲ main.css から転記ここまで
   ========================================================= */

/* 本文セクション：黒地に方眼（info ヘッダーの背景と統一） */
.shigotoneko {
  background:
    linear-gradient(0deg, transparent 29px, #292929 30px),
    linear-gradient(90deg, transparent 29px, #292929 30px),
    #000000;
  background-size: 30px 30px;
}

/* --- メインタイトル画像 --- */
.shigotoneko .title {
  width: 94.785vw;
  max-width: 1000px;
  margin: 0 auto;
  line-height: 0;
}
.shigotoneko .title img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- 共通テキスト・エリア設定 --- */
.shigotoneko .textarea {
  color: #f4f4f4;
  background-color: #000000;
  text-align: left;
  width: 94.785vw;
  max-width: 1000px;
  margin: 0 auto;
}
.shigotoneko .textarea a {
  color: #f4f4f4;
  text-decoration: underline;
}
/* タイポグラフィ：静的版 news/main.css の .main .textarea h2-h4/p より移植 */
.shigotoneko .textarea h2,
.shigotoneko .textarea h3,
.shigotoneko .textarea h4,
.shigotoneko .textarea p {
  line-height: normal;
  padding-left: 3vw;
  padding-right: 3vw;
}
.shigotoneko .textarea h2 {
  font-size: 6vw;
  padding-top: 3vw;
  padding-bottom: 2vw;
}
.shigotoneko .textarea h3 {
  font-size: 4.5vw;
  padding-top: 4.5vw;
  padding-bottom: 2.25vw;
}
.shigotoneko .textarea h4 {
  font-size: 3vw;
  padding-top: 1.5vw;
}
.shigotoneko .textarea p {
  font-size: 3vw;
  padding-bottom: 3vw;
}
.shigotoneko .textarea .tx_l { text-align: left; }
.shigotoneko .textarea .tx_r { text-align: right; }
.shigotoneko .textarea .tx_c { text-align: center !important; }

.shigotoneko .textarea picture,
.shigotoneko .textarea img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  max-width: 100%;
  height: auto;
}
.shigotoneko .textarea img {
  padding-bottom: 3vw;
}
@media screen and (min-width: 768px) {
  .shigotoneko .title,
  .shigotoneko .textarea {
    width: 87.2854vw;
  }
  .shigotoneko .textarea h2,
  .shigotoneko .textarea h3,
  .shigotoneko .textarea h4,
  .shigotoneko .textarea p {
    padding-left: 2.8vw;
    padding-right: 2.8vw;
  }
  .shigotoneko .textarea h2 {
    font-size: 4.2vw;
    padding-top: 2.1vw;
    padding-bottom: 1.5vw;
  }
  .shigotoneko .textarea h3 {
    font-size: 2.8vw;
    padding-top: 2.8vw;
    padding-bottom: 1.4vw;
  }
  .shigotoneko .textarea h4 {
    font-size: 1.4vw;
    padding-top: 0.7vw;
  }
  .shigotoneko .textarea p {
    font-size: 1.4vw;
    padding-bottom: 1.4vw;
  }
  .shigotoneko .textarea img {
    padding-bottom: 2.8vw;
  }
}
@media screen and (min-width: 1920px) {
  .shigotoneko .textarea h2,
  .shigotoneko .textarea h3,
  .shigotoneko .textarea h4,
  .shigotoneko .textarea p {
    padding-left: 52px;
    padding-right: 52px;
  }
  .shigotoneko .textarea h2 {
    font-size: 84px;
    padding-top: 42px;
    padding-bottom: 28px;
  }
  .shigotoneko .textarea h3 {
    font-size: 54px;
    padding-top: 54px;
    padding-bottom: 27px;
  }
  .shigotoneko .textarea h4 {
    font-size: 26px;
    padding-top: 13px;
  }
  .shigotoneko .textarea p {
    font-size: 26px;
    padding-bottom: 26px;
  }
  .shigotoneko .textarea img {
    padding-bottom: 52px;
  }
}

.shigotoneko .small-txt {
  font-size: 0.66em !important;
  display: inline-block;
  vertical-align: middle;
}

/* --- 文字を赤くする --- */
.shigotoneko .text-red {
  color: #ff3333 !important;
  font-weight: bold !important;
}

/* --- 赤いボタン --- */
.shigotoneko .red-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #d32f2f !important;
  color: #ffffff !important;
  font-weight: bold !important;
  text-decoration: none !important;
  padding: 15px 35px !important;
  border-radius: 5px !important;
  font-size: 18px !important;
  box-shadow: 0 6px 0 #8b0000 !important;
  transition: all 0.1s ease;
  font-family: inherit !important;
  min-width: 300px;
  text-align: center;
  position: relative;
  top: 0;
  margin-bottom: 6px;
  vertical-align: top;
}
.shigotoneko .red-btn:hover {
  background-color: #ff5252 !important;
  top: 2px;
  box-shadow: 0 4px 0 #8b0000 !important;
}
.shigotoneko .red-btn:active {
  top: 6px;
  box-shadow: none !important;
  transition: 0s;
}
@media screen and (max-width: 767px) {
  .shigotoneko .red-btn {
    min-width: 80vw;
  }
}

/* --- ボタン同士の間隔 --- */
.shigotoneko .button-container .tx_c {
  margin-bottom: 25px;
}
.shigotoneko .button-container .tx_c:last-child {
  margin-bottom: 0;
}
@media screen and (min-width: 768px) {
  .shigotoneko .button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
  }
  .shigotoneko .button-container .tx_c {
    margin-bottom: 0;
  }
}

/* --- ツイートスライダー --- */
.shigotoneko .tweet-slider-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}
.shigotoneko .tweet-scroll-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 20px;
  padding-bottom: 20px;
}
.shigotoneko .tweet-item {
  flex: 0 0 70%;
  scroll-snap-align: center;
  min-width: 250px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
@media screen and (min-width: 768px) {
  .shigotoneko .tweet-item {
    flex: 0 0 260px;
  }
}
.shigotoneko .tweet-scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}
.shigotoneko .tweet-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #d32f2f;
  border-radius: 10px;
}

/* --- スワイプ誘導の矢印 --- */
.shigotoneko .swipe-arrow {
  display: inline-block;
  color: #ff3333;
  font-size: 1.2em;
  margin-left: 10px;
  vertical-align: middle;
  animation: shigotoneko-arrow-move 1.5s infinite;
}
@keyframes shigotoneko-arrow-move {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(10px); }
  100% { transform: translateX(0); }
}
@media screen and (max-width: 767px) {
  .shigotoneko .swipe-arrow {
    font-size: 1em;
    margin-left: 5px;
  }
}
