@charset "UTF-8";

:root {
  /* main colors from Figma */
  --pb-color-green: #badc7b;
  --pb-color-red: #f5b195;
  --pb-color-yellow: #f4ec5e;
  --pb-color-beige: #f8f7f1;
  --pb-color-black: #333333;
  --pb-color-white: #ffffff;

  /* text colors */
  --pb-text-main: #000000;
  --pb-text-sub: #333333;

  /* font families */
  --pb-font-main: "Zen Maru Gothic",  system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* font weights (目安) */
  --pb-font-weight-regular: 400;
  --pb-font-weight-medium: 500;
  --pb-font-weight-bold: 700;
}

/* --------------------------------------------------
 * base
 * -------------------------------------------------- */

body.panda-books {
  font-family: var(--pb-font-main);
  color: var(--pb-text-main);
  background-color: var(--pb-color-beige);
}
.panda-books {
    background: url(/design_items/pc/img/panda-books/bg_pattern.png) no-repeat top center fixed;
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

body {
    word-wrap: break-word;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-wrap: break-word;
  }
  
  img, iframe {
    outline: none;
    vertical-align: bottom;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  table {
    border-collapse: collapse;
    border-spacing: 0;
  }

  
  .wrapper {
      overflow: clip;
  }
main {
    padding-top: 200px;
}

@media screen and (max-width: 768px) {
    main {
        padding-top: 80px;
    }

}
.section-inner {
    max-width: 1232px;
    padding: 0 16px;
    margin: 0 auto;
}
.pc-only {
    display: block;
}

@media screen and (max-width: 768px) {
    .pc-only {
        display: none;
    }
}
a {
    text-decoration: none;
}
a img {
    transition: .2s filter;
}
a:hover img {
    filter: drop-shadow(2px 4px 8px #aaa);
}

/* global navigation */

.humberger {
    display: block;
    height: 40px;
    margin-left: auto;
    position: relative;
    z-index: 12;
    width: 40px;
    border-right: 2px solid #000;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
}
.humberger.-active .humberger__line {
    background-color: transparent;
}
.humberger.-active .humberger__line::before {
    top: 0;
    transform: rotate(45deg);
}
.humberger.-active .humberger__line::after {
    top: 0;
    transform: rotate(-45deg);
}
.humberger.-active .humberger__text::before {
    content: '閉じる';
}
.humberger__line {
    display: block;
    height: 2px;
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    background-color: #172e59;
    transition: 0.4s;
}
.humberger__line:before,
.humberger__line:after {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    background-color: #172e59;
    transition: inherit;
}
.humberger__line:before {
    top: -6px;
}
.humberger__line:after {
    top: 6px;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 11;
    background: var(--pb-color-green);
}
.header::after {
    content: "";
    position: absolute;
    bottom: -24px;
    left: 0;
    display: block;
    width: 100%;
    height: 24px;
    background: url(/design_items/pc/img/panda-books/bdr_grass.png) repeat-x top center;
    rotate: 180deg;
}
.header__inner {
    max-width: 100%;
    padding: 16px 20px;
}
.header__nav-area {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 10;
    height: 100vh;
    width: 300px;
    visibility: hidden;
    padding-top: 60px;
    background-color: #fff;
    transition: 0.4s;
}
.header__nav-area.-active {
    right: 0;
    visibility: visible;
}
.global-navigation {
    padding-top: 40px;
    padding-right: 25px;
    padding-bottom: 120px;
    padding-left: 25px;
}
.global-navigation__list {
    list-style: none;
}
.global-navigation__list > li {
    border-bottom: 2px solid #e7e9ee;
}
.global-navigation__link {
    display: block;
    color: #000;
    font-weight: 900;
    transition: color 0.4s;
    font-size: 0.875rem;
    padding: 20px 0;
}
.global-navigation__link.-accordion {
    position: relative;
    background: none;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 0;
}
.global-navigation__link.-accordion::after {
    content: '';
    display: block;
    height: 12px;
    position: absolute;
    top: 50%;
    right: 5px;
    width: 2px;
    background-color: #ed3242;
    transform: translateY(-50%);
    transition: transform 0.4s;
}
.global-navigation__link.-accordion::before {
    content: '';
    display: block;
    height: 2px;
    position: absolute;
    top: 50%;
    right: 0;
    width: 12px;
    background-color: #ed3242;
    transform: translateY(-50%);

}
.global-navigation__link.-active::after {
    transform: translateY(-50%) rotate(-90deg);
}
.accordion {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: 0.4s;
}
.accordion.-active {
    height: auto;
    padding-top: 30px;
    visibility: visible;
}
.accordion__list li {
    font-size: 0.75rem;
}
.accordion__list li + li {
    margin-top: 21px;
}
.accordion__link {
    color: #172e59;
}

/* 801px以上での横並びメニュー */
@media (min-width: 801px) {
    .humberger {
        display: none;
    }
    .header {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        padding-top: 16px;
    }
    .header__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
        padding: 16px 20px;
    }
    .header__nav-area {
        position: static;
        left: auto;
        width: auto;
        height: auto;
        visibility: visible;
        padding-top: 0;
        background-color: transparent;
        transition: none;
    }
    .header__nav-area.-active {
        left: auto;
        visibility: visible;
    }
    .global-navigation {
        padding: 0;
    }
    .global-navigation__list {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    .global-navigation__list > li {
        padding-bottom: 0;
        border-bottom: none;
    }
    .global-navigation__list > li + li {
        margin-top: 0;
    }
    .global-navigation__link {
        font-size: 1rem;
        white-space: nowrap;
        display: flex;
        padding: 8px 16px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 32px;
        border: 2px solid #000;
        background: #FFF;
        color: #000;
    }

    .global-navigation__link:hover {
        background: #000;
        color: #fff;

    }
    .global-navigation__list > li {
        position: relative;
    }
    .global-navigation__link.-accordion {
        position: relative;
    }
    .global-navigation__link.-accordion::after {
        right: -10px;
    }
    .global-navigation__link.-accordion::before {
        right: -15px;
    }
    .accordion {
        position: absolute;
        top: 100%;
        left: 0;
        width: 200px;
        background-color: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        padding: 15px 0;
        margin-top: 10px;
        height: auto;
        visibility: visible;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s, transform 0.3s;
        pointer-events: none;
    }
    .accordion.-active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        padding-top: 15px;
    }
    .accordion__list {
        padding: 0 15px;
    }
    .accordion__list li + li {
        margin-top: 15px;
    }
}

/* --------------------------------------------------
 * typography
 * （Figmaの主要テキストサイズをクラス化）
 * -------------------------------------------------- */

.panda-books-heading-xl {
  font-family: var(--pb-font-main);
  font-weight: var(--pb-font-weight-bold);
  font-size: 40px;
  line-height: 1.3;
}

.panda-books-heading-lg {
  font-family: var(--pb-font-main);
  font-weight: var(--pb-font-weight-bold);
  font-size: 32px;
  line-height: 1.4;
}

.panda-books-heading-md {
  font-family: var(--pb-font-main);
  font-weight: var(--pb-font-weight-bold);
  font-size: 24px;
  line-height: 1.4;
}

.panda-books-text-md {
  font-family: var(--pb-font-main);
  font-weight: var(--pb-font-weight-medium);
  font-size: 18px;
  line-height: 1.8;
}

.panda-books-text-sm {
  font-family: var(--pb-font-main);
  font-weight: var(--pb-font-weight-regular);
  font-size: 14px;
  line-height: 1.3;
}

.panda-books-note-text {
  font-family: var(--pb-font-main);
  font-weight: var(--pb-font-weight-medium);
  font-size: 18px;
  line-height: 1.8;
}

/* --------------------------------------------------
 * colors helpers
 * -------------------------------------------------- */

.panda-books-bg-green {
  background-color: var(--pb-color-green);
}

.panda-books-bg-red {
  background-color: var(--pb-color-red);
}

.panda-books-bg-yellow {
  background-color: var(--pb-color-yellow);
}

.panda-books-bg-beige {
  background-color: var(--pb-color-beige);
}

.panda-books-text-red {
  color: var(--pb-color-red);
}

.panda-books-text-green {
  color: var(--pb-color-green);
}

.panda-books-text-yellow {
  color: var(--pb-color-yellow);
}

/* ボタン共通スタイル（Figmaの丸ボタンを想定） */

.panda-books-btn {
  font-family: var(--pb-font-main);
  font-weight: var(--pb-font-weight-bold);
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 32px;
  text-decoration: none;
}

.panda-books-btn--black {
  background-color: #000;
  color: var(--pb-color-white);
    border: 2px solid #000;
}

.panda-books-btn--black:hover {
    background-color: transparent;
    border: 2px solid #000;
    color: #000;

}

.panda-books-btn--green {
  background-color: var(--pb-color-green);
    color: #000;
    border: 2px solid var(--pb-color-green);
}

.panda-books-btn--green:hover {
    border: 2px solid #000;
}

.panda-books-btn--red {
  background-color: var(--pb-color-red);
  color: #000;
    border: 2px solid var(--pb-color-red);
}

.panda-books-btn--red:hover {
    border: 2px solid #000;
}



/* --------------------------------------------------
 * title
 * -------------------------------------------------- */
.title__page {
    position: absolute;
    z-index: 10;
    width: 415px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    top: -80px;
    left: -24px;
    padding-bottom: 80px;
    font-size: clamp(1.25rem,2.4vw,1.5rem);
    font-weight: bold;
    text-align: center;
    background: url(/design_items/pc/img/panda-books/title_bg.png) no-repeat center bottom;
}

.title__page h1 span {
    background: linear-gradient(rgb(244 236 94 / 0) 0%,rgb(244 236 94 / 0) 60%, rgb(244 236 94 / 1) 60%,rgb(244 236 94 / 1) 100% );

}

@media screen and (max-width: 768px) {
    .title__page {
        position: static;
        margin: 0 auto 40px;
        width: auto;
        max-width: 415px;
    }
}

/* --------------------------------------------------
 * slide
 * -------------------------------------------------- */
.splide__list {
    -webkit-border-radius: 32px;
    -moz-border-radius: 32px;
    border-radius: 32px;
    border: 8px solid #000;
    overflow: hidden;
}
.pb-hero-slider .splide__pagination {
    display: inline-block;
}

@media screen and (max-width: 768px) {
    .splide__list {
        border: 4px solid #000;
    }
}


/* --------------------------------------------------
 * heading
 * -------------------------------------------------- */
.pb-heading {
    position: relative;
    color: #000;
    text-align: center;
    font-family: var(--pb-font-main);
    font-size: clamp(1.5rem, 2.4vw, 40px);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.pb-heading span {
    background: linear-gradient(to bottom, rgb(244 236 94 / 0) 0%,rgb(244 236 94 / 0) 60%, rgb(244 236 94 / 1) 60%,rgb(244 236 94 / 1) 100% );

}


/* --------------------------------------------------
 * SNS campaign
 * -------------------------------------------------- */
.pb-sns-campaign .section-inner {
    max-width: 800px;
    position: relative;
    margin: 0 auto;
    display: flex;
    padding-bottom: 80px;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.pb-sns-campaign .section-inner::before,
.pb-sns-campaign .section-inner::after {
    content: "";
    width: 290px;
    height: 100%;
    position: absolute;
    top: 0;
    left: -210px;
    background: url(/design_items/pc/img/panda-books/img_panda_heart_left.png) no-repeat top center;
}
.pb-sns-campaign .section-inner::after {
    left: auto;
    right: -210px;
    background: url(/design_items/pc/img/panda-books/img_panda_heart_right.png) no-repeat top center;
}


.pb-sns-campaign .pb-heading {
    width: fit-content;
    margin: 0 auto 40px;
    color: #000;
    text-align: center;
    font-size: clamp(1.125rem, 2.4vw, 40px);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.1em;
}
.pb-sns-campaign .pb-heading::before,.pb-sns-campaign .pb-heading::after {
    content: "";
    position: absolute;
    top: -32px;
    left: -96px;
    display: block;
    width: 80px;
    height: 150px;
    background: url(/design_items/pc/img/panda-books/icon_panda_heart.png) no-repeat center center;
}

.pb-sns-campaign .pb-heading::after {
    left: auto;
    right: -96px;
    rotate: y 180deg;
}
.pb-sns-bubble {
    display: grid;
    place-items: center;
    width: 380px;
    height: 250px;
    margin: 0 auto;color: #000;
    text-align: center;
    font-size: clamp(2rem, 4vw, 40px);
    font-weight: 700;
    background: url(/design_items/pc/img/panda-books/icon_bubble.svg) no-repeat center center;
}
.pb-sns-text {
    position: relative;
    text-align: center;
    color: #000;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 180%; /* 32.4px */
}

.pb-sns-text p:not(last-child) {
    margin-bottom: 16px;

}

.pb-sns-howto {
    display: flex;
    margin-top: 80px;
    padding: 24px 0;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    border-top: 2px dashed #000;
    border-bottom: 2px dashed #000;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 180%; /* 32.4px */
}
.pb-sns-howto-title {
    padding: 4px 8px 5px;
    color: #fff;
    font-weight: var(--pb-font-weight-bold);
    line-height: 1;
    border-radius: 8px;
    background: #D83541;

}
.pb-sns-howto ol {
    margin-left: 2em;
}

.pb-sns-howto a {
    color: #c82632;
    font-family: "Zen Maru Gothic";
    font-size: 18px;
    font-weight: var(--pb-font-weight-bold);
    text-decoration: underline;
}

.pb-sns-howto a:hover {
    text-decoration: none;
}
.notice {
    width: 100%;
    font-weight: normal;
    text-align: left;
    font-size: 0.875rem;
}
.pb-photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    place-items: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
    font-weight: var(--pb-font-weight-bold);
}
.pb-photo-gallery__photo img {
    display: block;
    margin-bottom: 8px;
}

.pb-sns-comment {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 40px 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}
.pb-sns-comment .sns-comment-item {
    position: relative;
    align-items: center;
    padding: 64px 24px 40px;
    font-weight: bold;
    line-height: 1.8;
    text-align: center;
    -webkit-border-radius: 80px;
    -moz-border-radius: 80px;
    border-radius: 80px;
    border: 4px solid var(--pb-color-black);
    background: #fff;
}
.pb-sns-comment .sns-comment-item::before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: calc(50% - 20px);
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 24px solid transparent;
    border-left: 24px solid transparent;
    border-top: 24px solid #ffffff;
    border-bottom: 0;
    filter: drop-shadow(0 6px 0 black);
}

.pb-sns-comment .sns-comment-account {
    display: block;
    margin-top: 16px;
    text-align: right;
    font-weight: normal;
}


.pb-sns-campaign .section-inner.pb-sns-howto-section::before, .pb-sns-campaign .section-inner.pb-sns-howto-section::after {
  display: none;
}

@media screen and (max-width: 768px) {
    .pb-sns-bubble {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        background-size: contain;
    }
    .pb-sns-campaign .pb-heading::before {
        top: -96px;
        left: calc(50% - 21px);
        display: block;
        width: 42px;
        height: 80px;
        background-size: contain;
    }

    .pb-sns-campaign .pb-heading::after {
        display: none;
    }
    .pb-sns-campaign .section-inner::before, .pb-sns-campaign .section-inner::after {
        display: none;
    }
    .pb-sns-text {
        position: relative;
        padding-left: 90px;
        text-align: left;
    }
    .pb-sns-text::before,.pb-sns-text::after {
        content: "";
        position: absolute;
        top: 0;
        display: block;
        width: 80px;
        height: 180px;
        left: 0;
        background: url(/design_items/pc/img/panda-books/img_panda_heart_left.png) no-repeat center center / contain;
    }
    .pb-sns-text::after {
        top: 180px;
        background: url(/design_items/pc/img/panda-books/img_panda_heart_right.png) no-repeat center center / contain;

    }
    .pb-photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .pb-sns-comment {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* --------------------------------------------------
 * new book
 * -------------------------------------------------- */
#pb-new-book {
    position: relative;
    margin-top: 80px;
    padding-top: 0;
    background: var(--pb-color-green);
}
#pb-new-book::before {
    content: "";
    position: absolute;
    top: -24px;
    left: 0;
    width: 100%;
    height: 24px;
    background: url(/design_items/pc/img/panda-books/bdr_grass.png) repeat-x bottom center;
}
#pb-new-book .pb-heading {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: -24px;
}

#pb-new-book .pb-heading span {
    background: none;
    margin: 0 -8px;

}

#pb-new-book .pb-heading::before,
#pb-new-book .pb-heading::after {
    content: "";
    display: block;
    width: 70px;
    height: 120px;
    background: url(/design_items/pc/img/panda-books/icon_panda_stand.png) no-repeat center center / contain;
}

#pb-new-book .pb-heading::after {
    rotate: y 180deg;
}


/* --------------------------------------------------
 * feature book panel（node-id: 1:53 相当）
 * -------------------------------------------------- */

.pb-feature-book {
  padding: 80px 0;
}
#pb-feature-book .pb-heading {
    margin: 0 auto 160px;
    width: 400px;
    height: 140px;
    display: grid;
    place-items: center;
    background: url(/design_items/pc/img/panda-books/title_bg_book.png) no-repeat bottom center / contain;
}

.pb-feature-book .section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.pb-feature-book-card__title {
    position: absolute;
    top: -120px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.pb-feature-book-card__title_text {
    position: relative;
    width: 160px;
    height: 160px;
    display: grid;
    place-items: center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background: var(--pb-color-green);
    text-align: center;
    font-weight: var(--pb-font-weight-bold);
    font-size: 24px;
    letter-spacing: -0.1em;
}

.pb-feature-book-card__title_text::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    width: 100%;
    height: 100%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 1px solid #000;

}

.pb-feature-book-card__title_text.yellow {
    background: var(--pb-color-yellow);

}
.pb-feature-book-card__title .panda-reverse {
    rotate: y 180deg;
}
.pb-feature-book-card {
    position: relative;
  background-color: var(--pb-color-beige);
  border: 8px solid var(--pb-color-black);
  border-radius: 32px;
  padding: 40px clamp(8px, 4vw, 40px);
  display: flex;
  gap: 24px;
  align-items: center;
}

.pb-feature-book-thumb {
  flex: 0 0 40%;
}

.pb-feature-book-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.pb-feature-book-body {
  flex: 1;
}

.pb-feature-book-title {
  font-family: var(--pb-font-main);
  font-weight: var(--pb-font-weight-bold);
  font-size: 24px;
  line-height: 1.4;
}

.pb-feature-book-lead {
  margin-top: 24px;
  font-size: 18px;
    font-weight: var(--pb-font-weight-medium);
  line-height: 1.8;
}

.pb-feature-book-meta {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.4;
}

.pb-feature-book-btn {
  margin-top: 24px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    #pb-feature-book .pb-heading {
        max-width: 400px;
        width: 100%;
        height: auto;
        aspect-ratio: 20 / 7;
    }
  .pb-feature-book-card {
    flex-direction: column;
  }
    .pb-feature-book-title {
        text-align: center;
    }
  .pb-feature-book-thumb {
    flex-basis: auto;
    width: 100%;
  }

    #ueno-family .pb-feature-book-card__title img {
        display: none;
    }
    #ueno-family .pb-feature-book-card__title .panda-reverse {
        display: block;
    }
}

/* --------------------------------------------------
 * シャンシャン3冊パネル（Figma node-id: 1:99）
 * -------------------------------------------------- */

.pb-shanshan-panel {
  padding: 80px 0;
}

.pb-shanshan-panel .section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pb-shanshan-panel-inner {
  position: relative;
  background-color: var(--pb-color-beige);
  border: 8px solid var(--pb-color-black);
  border-radius: 32px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.pb-shanshan-panel-badge {
  position: absolute;
  top: -120px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pb-shanshan-panel-badge-panda img {
  display: block;
  width: 132px;
  height: auto;
}

.pb-shanshan-panel-badge-circle {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-color: var(--pb-color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--pb-font-main);
  font-weight: var(--pb-font-weight-bold);
  font-size: 24px;
  line-height: 1.3;
  color: var(--pb-text-main);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
}

.pb-shanshan-panel-lead {
  max-width: 800px;
  text-align: center;
  font-family: var(--pb-font-main);
  font-weight: var(--pb-font-weight-bold);
  font-size: 18px;
  line-height: 1.8;
}

.pb-shanshan-panel-lead p {
  margin: 0;
}

.pb-shanshan-panel-list {
  display: flex;
  gap: 24px;
  width: 100%;
}

.pb-shanshan-panel-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}


.pb-shanshan-panel-thumb img,
.pb-feature-book-thumb img {
  display: block;
  width: 100%;
  height: 100%;
    max-height: 320px;
  object-fit: contain;
}

.pb-shanshan-panel-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.pb-shanshan-panel-title {
  position: relative;
  display: inline-block;
    text-align: center;
}

.pb-shanshan-panel-title span {
  position: relative;
  z-index: 1;
  font-family: var(--pb-font-main);
  font-weight: var(--pb-font-weight-bold);
  font-size: 24px;
  line-height: 1.4;
}


.pb-shanshan-panel-meta {
  text-align: center;
  font-family: var(--pb-font-main);
  font-weight: var(--pb-font-weight-regular);
  font-size: 14px;
  line-height: 1.3;
}

.pb-shanshan-panel-meta p {
  margin: 0;
}

.pb-shanshan-panel-btn {
  margin-top: 8px;
}


@media screen and (max-width: 768px) {

  .pb-shanshan-panel-inner {
    padding: 32px 8px;
  }

  .pb-shanshan-panel-badge {
    position: static;
    margin-bottom: 24px;
    justify-content: center;
  }

  .pb-shanshan-panel-list {
    flex-direction: column;
  }

  .pb-shanshan-panel-thumb {
    height: auto;
  }
}

/* --------------------------------------------------
 * 3社合同・新春キャンペーン（Figma node-id: 1:121）
 * -------------------------------------------------- */

.pb-newyear-campaign {
  position: relative;
  padding: 80px 0;
    background: #f8d5c7 url("/design_items/pc/img/panda-books/bg_newyear_pattern.png") top center;
}

.pb-newyear-campaign .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pb-newyear-campaign-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.pb-newyear-campaign-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.pb-newyear-campaign-heading-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}


.pb-newyear-campaign-title {
  margin: 0;
  font-family: var(--pb-font-main);
  font-weight: var(--pb-font-weight-bold);
  font-size: 40px;
  line-height: 1.3;
  text-align: center;
    letter-spacing: -0.05em;
}
.pb-newyear-campaign-heading-icon--right img {
    rotate: y 180deg;
}
.pb-newyear-campaign-panel {
  background-color: var(--pb-color-white);
  border-radius: 32px;
  padding: 40px;
  display: flex;
  gap: 24px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.pb-newyear-campaign-thumb {
  flex: 0 0 500px;
  height: 354px;
  border-radius: 32px;
  overflow: hidden;
}

.pb-newyear-campaign-thumb img {
  display: block;
  width: 100%;
  height: 100%;
    max-width: 500px;
    margin: 0 auto;
  object-fit: contain;
  border-radius: 32px;
}

.pb-newyear-campaign-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.pb-newyear-campaign-text {
  font-family: var(--pb-font-main);
  font-weight: var(--pb-font-weight-medium);
  font-size: 18px;
  line-height: 1.8;
}

.pb-newyear-campaign-text p:not(last-child) {
    margin-bottom: 16px;
}

.pb-newyear-campaign-btn {
    width: 100%;
    text-align: center;
}

@media screen and (max-width: 1024px) {
  .pb-newyear-campaign-panel {
    flex-direction: column;
  }

  .pb-newyear-campaign-thumb {
    flex-basis: auto;
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  .pb-newyear-campaign {
    padding: 64px 0 40px;
  }

  .pb-newyear-campaign-panel {
    padding: 24px 16px;
  }

  .pb-newyear-campaign-title {
    font-size: 28px;
  }

  .pb-newyear-campaign-heading {
    flex-direction: column;
  }
  .pb-newyear-campaign-heading-icon--right {
      display: none;
  }
}

/* --------------------------------------------------
 * 公式note「きょうもパンダ日和」（Figma node-id: 1:139）
 * -------------------------------------------------- */

.pb-note-section {
  padding: 80px 0;
}

.pb-note-section .section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pb-note-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.pb-note-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.pb-note-heading-icon img {
  display: block;
  height: auto;
}

.pb-note-heading-icon--sun img {
  width: 80px;
}

.pb-note-heading-icon--panda img {
  width: 113px;
}

.pb-note-title {
  margin: 0;
  font-family: var(--pb-font-main);
  font-weight: var(--pb-font-weight-bold);
  font-size: 40px;
  line-height: 1.3;
  text-align: center;
}

.pb-note-panel {
  background-color: var(--pb-color-white);
  border-radius: 32px;
  padding: 40px;
  display: flex;
  gap: 24px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.pb-note-thumb {
  flex: 0 0 500px;
  height: 354px;
  border-radius: 32px;
}

.pb-note-thumb img {
  display: block;
  width: 100%;
  height: 100%;
    max-width: 500px;
  object-fit: contain;
  border-radius: 32px;
    margin: 0 auto;
}

.pb-note-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.pb-note-text {
  font-family: var(--pb-font-main);
  font-weight: var(--pb-font-weight-medium);
  font-size: 18px;
  line-height: 1.8;
}

.pb-note-text p {
  margin: 0;
}

.pb-note-btn {
    width: 100%;
    text-align: center;
}

@media screen and (max-width: 1024px) {
  .pb-note-panel {
    flex-direction: column;
  }

  .pb-note-thumb {
    flex-basis: auto;
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  .pb-note-section {
    padding: 64px 0 80px;
  }

  .pb-note-panel {
    padding: 24px 16px;
  }

  .pb-note-title {
    font-size: 28px;
  }

  .pb-note-heading {
    flex-direction: column;
  }
  .pb-note-heading-icon--panda {
      display: none;
  }
}

/* --------------------------------------------------
 * ヒーロースライダー（Splide）
 * -------------------------------------------------- */
.splide {
    text-align: right;
}
.pb-hero-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
  padding: 40px 0 160px;
}

.pb-hero-slider .section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pb-hero-slider .splide__slide img {
  display: block;
  width: 100%;
  height: auto;
}

.pb-hero-slider .splide__pagination {
  position: static;
  margin: 16px 0 0;
  gap: 8px;
}

.pb-hero-slider .splide__pagination__page {
  width: 10px;
  height: 10px;
  background-color: #dcdcdc;
  opacity: 1;
}

.pb-hero-slider .splide__pagination__page.is-active {
  background-color: var(--pb-color-green);
  transform: none;
}

.pb-hero-slider .splide__toggle {
  margin: 16px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
    border: none;
    background: none;
}


footer {
    position: relative;
    padding-bottom: 40px;
    text-align: center;
    background: var(--pb-color-green);
}

footer::before {
    content: "";
    display: block;
    width: 100%;
    height: 24px;
    position: absolute;
    top: -24px;
    left: 0;
    background: url(/design_items/pc/img/panda-books/bdr_grass.png) repeat-x bottom center;

}
footer .copyright {
    margin-bottom: 40px;
    font-size: .75rem;
}

.photo-caption {
    padding: 40px 16px;
    font-size: 0.875rem;
    text-align: center;
}

.js-text span {
    display: inline-block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
