
/* ここからアニメーション */
.kumamon-area {
    position: relative;
    width: 100%;
    height: auto;
    overflow: visible;
}

.kumamon {
    position: absolute;
    bottom: 80px;
    width: 85px;
    left: 100%;
    animation: walk-horizontal 12s linear infinite, walk-bounce 0.8s ease-in-out infinite;
}

html[data-browse-mode="S"] .kumamon {
    position: absolute;
    bottom: 70px;
    width: 70px;
    animation: walk-horizontal 4s linear infinite, walk-bounce 0.8s ease-in-out infinite;
}

@keyframes walk-horizontal {
    0% {
        left: 100%;
    }

    100% {
        left: -20%;
    }
}

@keyframes walk-bounce {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.kumamon_2 {
    position: absolute;
    width: 120px;
    bottom: 0;
    left: 10%;
    animation: float 3s ease-in-out infinite;
}

html[data-browse-mode="S"] .kumamon_2 {
    position: absolute;
    width: 70px;
    bottom: 600px;
    left: 10%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

.kumamon_3 {
    position: absolute;
    width: 230px;
    bottom: 70px;
    right: 5%;
    /* animation: breathe 2s ease-in-out infinite; */
    animation: breatheTilt 3s ease-in-out infinite;
}

html[data-browse-mode="S"] .kumamon_3 {
    width: 120px;
    bottom: 600px;
}

@keyframes breatheTilt {

    0%,
    100% {
        transform: scale(1) rotate(-3deg);
    }

    50% {
        transform: scale(1.05) rotate(-1deg);
    }
}

.kumamon_4 {
    opacity: 1;
    transform: translateX(0) translateY(0);
    animation: travel-left 4s linear forwards, bounce-up 1.2s ease-in-out infinite;
    transform-origin: bottom center;
    position: absolute;
    bottom: 0;        
    left: 80%;
    width: 200px; 
}

@keyframes travel-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-120px); } 
}

@keyframes bounce-up {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

html[data-browse-mode="S"] .kumamon_4 {
    bottom: 600px;
    left: 65%;
    width: 35%;
}

.kumamon_5 {
    opacity: 1;
    transform: translateY(0);
    animation: tatami-bounce 2s ease-in-out infinite alternate;
    transform-origin: bottom center;
    position: absolute;
    width: 180px;
    bottom: 0;
    left: 5%;
}

@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); }
}

html[data-browse-mode="S"] .kumamon_5{
    width: 100px;
    bottom: 600px;
}

.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;
}

/* ここまで */

html[data-browse-mode="P"] .page-free-feature-2020xmas .item-block{
    width: 100%;
}
html[data-browse-mode="S"] .page-free-feature-father .father_intro {
    margin: 0 auto;
}

html[data-browse-mode="P"] .father_item {
    max-width: none;
    /* background-color: rgba(0, 0, 0, 0.5); */
    /* padding: 8px 12px; */
    width: 80%;
    margin: 0 auto;
}

html[data-browse-mode="S"] .father_item {
    margin: 20px auto;
    padding-bottom: 20px;
}

html[data-browse-mode="S"] .page-free-feature-2020xmas .xmasheader2 span {
    /* text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.9),
        -1px -1px 2px rgba(0, 0, 0, 0.9); */
        color: #000;
}

html[data-browse-mode="S"] .kumamon_intro {
    /* background-color: rgba(0, 0, 0, 0.5); */
    padding: 8px 12px;
    width: 80%;
    margin: 0 auto;
}

/* html[data-browse-mode="S"] .page-free-feature-father {
    background-image: url(/img/usr/feature/kumamon/kumamon_bg_sp.png);
}

.page-free-feature-father {
    width: 100%;
    background-image: url(/img/usr/feature/kumamon/kumamon_bg.png);
    background-repeat: repeat;
    background-size: auto;
    box-sizing: border-box;
} */

html[data-browse-mode="P"] .page-free-feature-2020xmas .xmasheader2 span {
    color: #000;
}

html[data-browse-mode="S"] .page-free-feature-2020xmas .xmasheader2 span {
    color: #000;
}

.xmasitem1 {
    text-align: center;
}

.father_item {
    max-width: none;
}

html[data-browse-mode="S"] hr {
    width: 80%;
    margin: 20px auto;
}

hr {
    width: 50%;
    border-bottom: 1px dotted #000;
}

.kumamon_official {
    margin: 30px 0 10px;
    text-align: center;
    font-family: "Crimson Text", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

html[data-browse-mode="S"] .kumamon_official_p {
    text-align: center;
    font-size: 14px;
    font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "游ゴシック", YuGothic, "メイリオ", "Meiryo", sans-serif;
    line-height: 1.8;
}

html[data-browse-mode="P"] .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;
}

html[data-browse-mode="S"] .father_header {
    color: #000;
    /* background-color: transparent;
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.7),
        -1px -1px 2px rgba(0, 0, 0, 0.7); */
}

html[data-browse-mode="P"] .father_header {
    color: #000;
    /* text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.7),
        -1px -1px 2px rgba(0, 0, 0, 0.7); */
}

html[data-browse-mode="S"] .ulitem {
    display: flex;
    flex-wrap: wrap;
}

html[data-browse-mode="S"] .liitem {
    width: 47%;
}

html[data-browse-mode="S"] .page-free-feature-father .intro-text {
    color: #000;
    /* text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.7),
        -1px -1px 2px rgba(0, 0, 0, 0.7); */
}

html[data-browse-mode="P"] .page-free-feature-father .intro-text {
    color: #000;
    /* text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.7),
        -1px -1px 2px rgba(0, 0, 0, 0.7); */
}

html[data-browse-mode="S"] .kumamoto_official {
    width: calc(700 / 750 * 100%);
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 10px 0;
}

html[data-browse-mode="P"] .kumamoto_official {
    width: calc(1040 / 1366 * 100%);
    max-width: 1040px;
    margin: 90px auto;
    background-color: #fff;
    padding: 20px;
}

html[data-browse-mode="P"] .kumamoto_btn {
    margin: 40px auto;
}

html[data-browse-mode="S"] .page-free-feature-2020xmas .recommend {
    margin: 20px 0;
}
.kumamotomon_jack{
    font-weight: bold;
   display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.kumamotomon_jack:hover {
  opacity: 0.7;
  transform: translateY(-2px);
text-decoration: none;  
}
html[data-browse-mode="P"] .page-free-feature-2020xmas .item-block p {
    font-size: 14.5px;
}
.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-sizing: border-box;
  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;
  padding-left: 0;
}
.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-cta {
  margin: 8px 0 12px;
  text-align: left;
}
.btn-outline {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.12);
  text-decoration: none;
  color: #111;
  font-size: 14px;
  background: rgba(255,255,255,0.9);
  transition: background .18s ease, transform .12s ease;
}
.btn-outline:hover{
  background: rgba(0,0,0,0.04);
  transform: translateY(-2px);
}

.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); /* PC：4列 */
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    justify-content: space-between;
}

.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;
}
.txt-line {
    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, .btn-outline { font-size: 13px; }
  .campaign-note { font-size: 11px; }
  .sticker-gallery {
        grid-template-columns: repeat(2, 1fr);
}
  .sp-indent {
    display: block;
    margin-left: 5em; 
  }
}

html[data-browse-mode="S"] .page-free-feature-father .intro-text {
    line-height: 2;
}

html[data-browse-mode="S"] .comingsoon{
    font-size: 12px;
}
html[data-browse-mode="S"] .page-free-feature-father .block-lead {
    width: calc(700 / 750 * 100%);
}
html[data-browse-mode="P"] .comingsoon{
    font-size: 13px;
}