/* くまモン特集ページ 復興支援バージョン 専用CSS（このファイル1つで完結）
   元々は taya_con.css / kumamon.css の html[data-browse-mode="P/S"] 依存のスタイルを
   使っていたが、このページ単体ではその属性が付与されずスタイルが軒並み無効化されていたため、
   実際に使っている値を通常の @media (max-width) 方式に置き換えて1ファイルに統合した。 */

* {
  box-sizing: border-box;
}

/* サイト共通CSSでh2に灰色の下地が入るため、このページでは白に上書き */
.pane-contents h2 {
  background-color: #fff;
}

/* ---- PC/SP画像・改行の出し分け ---- */
.pc {
  display: inline-block !important;
}

.sp {
  display: none !important;
}

.is-pc {
  display: inline;
}

.is-sp {
  display: none;
}

@media (max-width: 768px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: inline-block !important;
  }

  .is-pc {
    display: none;
  }

  .is-sp {
    display: inline;
  }
}

/* ---- 全体レイアウト ---- */
.page-free-feature-father {
  width: 100%;
  margin: 0 auto 80px;
  padding: 0;
}

/* 全幅表示。画像上部の余白（くまモンの耳より上）をトリミングして、
   キャラクターが大きく見えるように object-position で下寄せにクロップする。
   クロップ量(padding-top)は目視での概算値なので、実際の見え方次第で微調整可。 */
.mv {
  position: relative;
  width: 100%;
  margin: 0 0 40px;
}

.mv .mv-slider {
  position: static;
  width: 100%;
}

.mv .mv-slide {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 53%;
  overflow: hidden;
}

.mv .mv-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  vertical-align: bottom;
}

@media (max-width: 768px) {
  .mv {
    margin: 0 0 20px;
  }

  .mv .mv-slide {
    padding-top: 100%;
  }
}

hr {
  width: 50%;
  margin: 40px auto;
  border: none;
  border-top: 1px dotted #999;
}

.hr-end {
  width: 70%;
  margin: 0 auto;
  border: none;
  border-top: 1px solid #b4b4b4;
}

@media (max-width: 768px) {

  hr,
  .hr-end {
    width: 80%;
    margin: 20px auto;
  }
}

/* ---- 復興応援のお知らせ ---- */
.shien-notice {
  max-width: 700px;
  margin: 60px auto 50px;
  padding: 0 16px;
  text-align: center;
}

.shien-notice__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #222;
  margin: 0 0 24px;
  font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", serif;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.shien-banner {
  max-width: 560px;
  margin: 0 auto 28px;
}

.shien-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.shien-notice__lead {
  margin: 0 auto;
  max-width: 520px;
  color: #000;
  font-size: 15px;
  line-height: 1.9;
  font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "游ゴシック", YuGothic, "メイリオ", "Meiryo", sans-serif;
}

@media (max-width: 768px) {
  .shien-notice {
    margin: 40px auto 30px;
  }

  .shien-notice__title {
    font-size: 13.5px;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
    white-space: nowrap;
  }

  .shien-notice {
    padding: 0 8px;
  }

  .shien-banner {
    max-width: 320px;
  }

  .shien-notice__lead {
    font-size: 14px;
  }
}

/* ---- くまモンと銀座田屋（イントロ） ---- */
.father_item.page-free-feature-2020xmas {
  width: calc(1200 / 1366 * 100%);
  max-width: 1200px;
  margin: 60px auto;
  padding: 0;
}

.kumamon_intro {
  position: relative;
  text-align: center;
  padding: 20px;
}

.father_header {
  text-align: center;
  font-size: 30px;
  color: #000080;
  font-weight: normal;
  font-family: "Crimson Text", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
}

.father_header::after {
  content: "";
  width: 80px;
  height: 1px;
  display: block;
  margin: 10px auto;
  background: #b4b4b4;
}

.kumamon-area {
  position: relative;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* 歩くくまモンだけ、トップ画像(.mv)の下端に重ねる */
.mv .kumamon-area {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  overflow: visible;
  z-index: 3;
  pointer-events: none;
}

.kumamon {
  position: absolute;
  bottom: 6px;
  width: 85px;
  left: 100%;
  animation: walk-horizontal 12s linear infinite, walk-bounce 0.8s ease-in-out infinite;
}

@keyframes walk-horizontal {
  0% {
    left: 100%;
  }

  100% {
    left: -20%;
  }
}

@keyframes walk-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.father_intro {
  width: calc(1200 / 1366 * 100%);
  max-width: 1200px;
  margin: 70px auto 0;
}

.block-lead {
  width: calc(1200 / 1366 * 100%);
  max-width: 1200px;
  margin: 0 auto;
}

.intro-text {
  text-align: center;
  font-size: 15px;
  font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "游ゴシック", YuGothic, "メイリオ", "Meiryo", sans-serif;
  font-weight: 500;
  line-height: 2.2;
  letter-spacing: .8pt;
  margin-bottom: 20px;
}

.kumamotomon_jack {
  font-weight: bold;
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.kumamotomon_jack:hover {
  opacity: 0.7;
  transform: translateY(-2px);
  text-decoration: none;
}

@media (max-width: 768px) {
  .father_item.page-free-feature-2020xmas {
    width: 100%;
    margin: 30px auto;
  }

  .kumamon_intro {
    padding: 8px 12px;
    width: 90%;
    margin: 0 auto;
  }

  .father_header {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .kumamon {
    bottom: 4px;
    width: 60px;
    animation: walk-horizontal 4s linear infinite, walk-bounce 0.8s ease-in-out infinite;
  }

  .father_intro {
    width: 100%;
    margin: 35px auto 0;
  }

  .block-lead {
    width: 100%;
  }

  .intro-text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
  }
}

/* ---- もっと見るボタン ---- */
.more-btn {
  width: 299px;
  margin: 40px auto 90px;
}

.more-btn a {
  position: relative;
  display: block;
  padding: calc(15 / 225 * 100%) 0;
  font-size: 14px;
  font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "游ゴシック", YuGothic, "メイリオ", "Meiryo", sans-serif;
  text-align: center;
  color: #fff;
  letter-spacing: 0.1em;
  line-height: 1;
  background: #a7945f;
  transition: all 0.5s ease;
  text-decoration: none !important;
}

.more-btn a:hover {
  text-decoration: none;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .more-btn {
    width: 225px;
    margin: 20px auto 45px;
  }

  .more-btn a {
    font-size: 12px;
  }
}

/* ---- COLLABORATION ITEMS 見出し ---- */
.recommend {
  margin: 90px 0 60px;
  text-align: center;
}

.xmasheader {
  font-size: 24px;
  text-align: center;
  font-weight: normal;
  color: #a7945f;
  font-family: "Crimson Text", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.xmasheader span,
.xmasheader2 span {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  color: #000;
  font-family: "Crimson Text", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  letter-spacing: 0.05em;
}

/* セクションへジャンプするボタン（慶事用ネクタイページの finder-nav と同じ見た目） */
.finder-nav {
  display: none;
  gap: 20px;
  max-width: 1040px;
  margin: 34px auto 0;
}

.finder-nav__btn {
  flex: 1;
  text-align: center;
  padding: 22px 12px;
  border: 1px solid #ddd;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color 0.2s;
}

.finder-nav__btn:hover {
  border-color: #a7945f;
}

.finder-nav__en {
  display: block;
  font-size: 14px;
  font-family: "Crimson Text", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.finder-nav__ja {
  display: block;
  font-size: 12.5px;
  color: #a7945f;
}

@media (max-width: 768px) {
  .recommend {
    margin: 40px 0 20px;
  }

  .xmasheader {
    font-size: 20px;
  }

  .xmasheader span,
  .xmasheader2 span {
    font-size: 14px;
  }

  .finder-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .finder-nav__btn {
    padding: 14px 12px;
  }
}

/* ---- 商品ブロック（パターン画像＋商品2点＋説明） ---- */
.item-block {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: calc(1040 / 1366 * 100%);
  max-width: 1040px;
  margin: 0 auto 90px;
  background-color: #fff;
  padding: 20px;
}

.item-block.reverse {
  flex-direction: row-reverse;
}

.xmasitem1 {
  flex: 0 0 50%;
  max-width: 50%;
  text-align: center;
}

.xmasitem1 img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

.xmasitem2 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 60px;
  position: relative;
  text-align: center;
}

.header {
  margin-bottom: 30px;
  font-size: 24px;
  text-align: center;
  font-weight: normal;
  color: #000;
  font-family: "Crimson Text", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.header span {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  color: #a7945f;
  font-family: "Crimson Text", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  letter-spacing: 0.05em;
}

.sitem {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 30px auto;
}

.sitem img {
  width: calc(50% - 8px);
  height: auto;
  vertical-align: top;
}

/* SOLD OUTバッジ（対象の商品画像だけに個別で被せる） */
.thumb-soldout {
  position: relative;
  width: calc(50% - 8px);
}

.thumb-soldout img {
  width: 100%;
  height: auto;
  vertical-align: top;
  display: block;
}

.thumb-soldout::before {
  content: "SOLD OUT";
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 10px;
  background: #c00d0d;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.4;
  z-index: 2;
}

@media (max-width: 768px) {
  .thumb-soldout::before {
    padding: 4px 8px;
    font-size: 10px;
  }
}

.item-block p {
  font-size: 15px;
  font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "游ゴシック", YuGothic, "メイリオ", "Meiryo", sans-serif;
  line-height: 2.2;
  font-weight: 500;
  margin: 0 0 20px;
  text-align: left;
}

.item-block .more-btn {
  margin: 0 auto;
}

@media (max-width: 768px) {
  .item-block {
    flex-direction: column;
    width: calc(700 / 750 * 100%);
    max-width: 700px;
    margin: 0 auto 50px;
    padding: 20px;
  }

  .item-block.reverse {
    flex-direction: column;
  }

  .xmasitem1,
  .xmasitem2 {
    flex: 1 1 auto;
    max-width: 100%;
    padding: 0;
  }

  .xmasitem2 {
    padding-top: 20px;
  }

  .header {
    margin-bottom: 15px;
    font-size: 20px;
  }

  .header span {
    font-size: 14px;
  }

  .item-block p {
    font-size: 13px;
    line-height: 1.9;
    text-align: center;
  }
}

/* ---- くまモンのワンポイントイラスト（2〜5） ---- */
.kumamon_2 {
  position: absolute;
  width: 120px;
  bottom: 0;
  left: 10%;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.kumamon_3 {
  position: absolute;
  width: 230px;
  bottom: 70px;
  right: 5%;
  animation: breatheTilt 3s ease-in-out infinite;
}

@keyframes breatheTilt {

  0%,
  100% {
    transform: scale(1) rotate(-3deg);
  }

  50% {
    transform: scale(1.05) rotate(-1deg);
  }
}

.kumamon_4 {
  position: absolute;
  bottom: 0;
  left: 80%;
  width: 200px;
  transform-origin: bottom center;
  animation: travel-left 4s linear forwards, bounce-up 1.2s ease-in-out infinite;
}

@keyframes travel-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-120px);
  }
}

@keyframes bounce-up {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.kumamon_5 {
  position: absolute;
  width: 180px;
  bottom: 0;
  left: 5%;
  transform-origin: bottom center;
  animation: tatami-bounce 2s ease-in-out infinite alternate;
}

@keyframes tatami-bounce {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-5px) rotate(-1deg);
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
  }

  75% {
    transform: translateY(-5px) rotate(-1deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.anim-box {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.kumamon_2.is-animated {
  opacity: 1;
  transform: translateY(0);
  animation: float 3s ease-in-out infinite;
}

.kumamon_3.is-animated {
  opacity: 1;
  transform: translateY(0);
  animation: breatheTilt 3s ease-in-out infinite;
}

@media (max-width: 768px) {

  .kumamon_2,
  .kumamon_3,
  .kumamon_4,
  .kumamon_5 {
    position: static;
    display: block;
    margin: 12px auto;
    width: 100px;
    transform: none !important;
    animation: none !important;
  }
}

/* ---- ステッカープレゼントキャンペーン ---- */
.campaign-box {
  max-width: 980px;
  margin: 90px auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.95);
  padding: 22px;
  border-radius: 8px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
  font-family: "Noto Sans JP", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.campaign-title {
  font-size: 20px;
  text-align: center;
  margin: 8px 0 30px;
  color: #111;
  font-weight: 600;
  font-family: "Crimson Text", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  letter-spacing: 0.05em;
}

.campaign-inner {
  text-align: left;
  font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "游ゴシック", YuGothic, "メイリオ", "Meiryo", sans-serif;
}

.campaign-lead {
  margin-bottom: 30px;
  color: #333;
  line-height: 1.6;
  font-size: 14px;
}

.campaign-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  color: #222;
  font-size: 14px;
  line-height: 1.8;
}

.campaign-list li {
  position: relative;
  margin-bottom: 8px;
  line-height: 1.6;
  padding-left: 1.2em;
  text-indent: -1.2em;
}

.campaign-list strong {
  font-weight: bold;
}

.campaign-note {
  display: block;
  margin-top: 30px;
  color: #666;
  font-size: 12px;
  line-height: 1.5;
}

.sticker-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.sticker-gallery .sticker-thumb {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: opacity 0.2s;
}

.sticker-gallery .sticker-thumb:hover {
  opacity: 0.8;
}

.sticker-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.sticker-modal .modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
}

.sticker-modal .modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.sp-indent {
  display: inline;
}

@media (max-width: 768px) {
  .campaign-box {
    margin: 20px auto;
    padding: 16px;
    border-radius: 6px;
  }

  .campaign-title {
    font-size: 16px;
  }

  .campaign-lead,
  .campaign-list li,
  .campaign-note {
    font-size: 13px;
  }

  .campaign-note {
    font-size: 11px;
  }

  .sticker-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .sp-indent {
    display: block;
    margin-left: 5em;
  }
}

/* ---- 熊本県公式ホームページ ---- */
.kumamoto_official {
  width: calc(1040 / 1366 * 100%);
  max-width: 1040px;
  margin: 90px auto;
  background-color: #fff;
  padding: 20px;
  text-align: center;
}

.kumamon_official {
  margin: 30px 0 10px;
  text-align: center;
  font-family: "Crimson Text", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.kumamon_official_p {
  text-align: center;
  font-size: 14px;
  font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "游ゴシック", YuGothic, "メイリオ", "Meiryo", sans-serif;
  line-height: 1.8;
  margin: 0 auto 50px;
}

.kumamoto_btn {
  margin: 40px auto;
}

@media (max-width: 768px) {
  .kumamoto_official {
    width: calc(700 / 750 * 100%);
    margin: 40px auto;
    padding: 10px 0;
  }

  .kumamon_official_p {
    margin: 0 auto 20px;
  }

  .kumamoto_btn {
    margin: 20px auto;
  }
}

/* ---- 関連コンテンツ ---- */
.father_outro {
  width: calc(1200 / 1366 * 100%);
  max-width: 1200px;
  margin: 80px auto;
}

.contents-block {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.recocon {
  list-style: none;
  width: calc(500 / 1285 * 100%);
  max-width: 500px;
  margin: 0 20px;
}

.recocon a {
  text-decoration: none !important;
}

.recocon a:hover {
  text-decoration: none;
  opacity: 0.7;
}

.recocon img {
  width: 100%;
}

.con-header {
  font-size: 22px;
  font-weight: normal;
  font-family: "Crimson Text", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  margin: 20px 0 10px 0;
  text-align: left;
}

.con-txt {
  font-size: 14px;
  font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "游ゴシック", YuGothic, "メイリオ", "Meiryo", sans-serif;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .8pt;
  margin: 10px 0 0;
  text-align: left;
}

@media (max-width: 768px) {
  .father_outro {
    width: 80%;
    margin: 40px auto;
  }

  .recocon {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 30px;
  }

  .con-header {
    font-size: 18px;
  }
}
