@charset "utf-8";

:root {
  --color-bg: #fdf9f1;
  --color-main: #f4ece1;
  --color-navy: #f36856;
  --color-text: #4a3f35;
}

.cat-page {
  color: var(--color-text);
}

.cat-page .ecm-wrap {
  background-color: var(--color-bg);
}

.serif {
  font-family: "Zen Maru Gothic", sans-serif;
}

.cat-main {
  padding: 0;
  background-color: var(--color-bg);
}

/* ==================== 01 KV ==================== */
.kv-wrapper {
  width: 100%;
  overflow: hidden;
  background: var(--color-bg);
}

.cat-kv-pc {
  width: 1920px;
  height: 300px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}

.cat-kv-pc .kv-video-mask {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 100%;
  -webkit-mask-image: url(https://r.r10s.jp/evt/event/pet/cattower/_cmn/img/01_kv_mask_pc.png);
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-image: url(https://r.r10s.jp/evt/event/pet/cattower/_cmn/img/01_kv_mask_pc.png);
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  z-index: 1;
}

.kv-kaltura-player {
  width: 100%;
  height: 100%;
}

.cat-kv-pc .kv-video-mask video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-kv-pc .kv-text-area {
  position: absolute;
  top: 50%;
  left: calc(50% - 480px);
  transform: translateY(-50%);
  text-align: left;
  z-index: 2;
  pointer-events: none;
  width: 960px;
  padding: 0;
}

.cat-kv-pc h1 {
  font-size: 32px;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 14px;
}

.cat-kv-pc h1 span {
  background: var(--color-navy);
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 4px;
  line-height: 1.1;
}

.cat-kv-pc h1 span.narrow-right {
  padding-right: 0;
}

.cat-kv-pc h1 span.wide-letter {
  letter-spacing: 0.15em;
}

.cat-kv-pc p {
  font-size: 14px;
  line-height: 1.8;
  color: #fff;
  font-family: "Zen Maru Gothic", sans-serif;
}

.cat-kv-pc p span {
  background: var(--color-navy);
  padding: 2px 12px;
  display: inline-block;
  line-height: 1.2;
}

.kv-cat-illustration {
  position: absolute;
  bottom: 0;
  right: calc(50% - 437px);
  z-index: 10;
  width: 112px;
  pointer-events: none;
}

.ai-generated-text {
  text-align: center;
  color: #777;
  font-size: 10px;
  white-space: nowrap;
}

/* ==================== セクション共通 ==================== */
.cat-section {
  padding: 72px 0;
  background: var(--color-bg);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.cat-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cat-section.alt {
  background: var(--color-main);
}

.cat-section-rounded-top {
  border-radius: 80px 80px 0 0;
}

.cat-section-inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
}

.cat-section-head {
  text-align: center;
  margin-bottom: 40px;
}

.cat-section-head h2 {
  font-size: 28px;
  color: var(--color-navy);
  line-height: 1.6;
}

.cat-section-head p {
  font-size: 13px;
  color: #777;
  margin-top: 12px;
  line-height: 1.8;
}

.cat-section-icon {
  height: 60px;
  width: auto;
  margin-bottom: 12px;
  display: inline-block;
}

.cat-section-icon-lg {
  height: 115px;
}

/* ==================== ECM タブ（ページ配色に合わせた上書き） ==================== */
.cat-page .ecm-tab-grid {
  margin-bottom: 24px;
}

.cat-page .ecm-tab-card {
  flex-grow: 1;
  justify-content: center;
  border-radius: 24px;
  border-color: #ddd;
  background-color: #fff;
  color: var(--color-text);
  font-size: 14px;
}

.cat-page .ecm-tab-card[aria-selected="true"] {
  border-color: var(--color-navy);
  background-color: var(--color-navy);
  color: #fff;
}

.cat-page .ecm-tab-panel-card {
  padding: 0;
  background-color: transparent;
}

/* ==================== Alcor カスタムカード ==================== */
.custom-alcor-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.custom-alcor-card .ecm-alcor-body {
  margin-top: 12px;
  width: 100%;
}

.custom-alcor-card .ecm-alcor-image-link img {
  width: 100%;
  height: auto;
  display: block;
  max-width: none;
  object-fit: contain;
}

.custom-alcor-card .ecm-alcor-review {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

.custom-alcor-card .ecm-alcor-review img {
  width: 12px;
  height: auto;
  display: inline-block;
  margin-right: 1px;
}

.custom-alcor-card .ecm-alcor-review-ave {
  margin-left: 4px;
}

/* ==================== 05 ショップ内回遊誘導 ==================== */
.roam-cta {
  text-align: center;
  background: var(--color-navy);
  padding: 56px 40px;
  color: #fff;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.roam-cta h3 {
  font-size: 24px;
  line-height: 1.8;
  margin: 0;
}

.roam-cta-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 28px;
}

.roam-cta-head img {
  height: 90px;
  width: auto;
  flex-shrink: 0;
}

.roam-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.roam-links a {
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 13px;
  padding: 14px 24px;
  border-radius: 4px;
  text-decoration: none;
}
