/*------------------------------
  Member Plan
------------------------------*/
.member-plan {
  padding: 40px 0 75px;
}

/* ===== スマートフォン以下 ===== */
@media screen and (max-width: 767px) {
  .member-plan {
    padding: 30px 0 50px;
  }
}

/*------------------------------
  Member System
------------------------------*/
.member-system {
  padding: 75px 0 150px;
}

/* ===== スマートフォン以下 ===== */
@media screen and (max-width: 767px) {
  .member-system {
    padding: 50px 0 100px;
  }
}

/* ------------------------------
  Campaign Box
------------------------------ */
.campaign-box {
  padding: 50px 40px;
  border: 2px solid #4E4545;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.campaign-box__label {
  margin: 0 0 10px;
  color: #54714B;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.4;
}

.campaign-box__title {
  margin: 0 0 30px;
  color: #54714B;
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1.4;
}

.campaign-box__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.campaign-box__price {
  margin: 0;
}

.campaign-box__row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 20px;
}

.campaign-box__row+.campaign-box__row {
  margin-top: 5px;
}

.campaign-box__price dt,
.campaign-box__price dd {
  margin: 0;
  color: #4E4545;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.5;
}

.campaign-box__arrow {
  color: #54714B;
  font-size: 5rem;
  font-weight: 500;
  line-height: 1;
}

.campaign-box__free {
  display: flex;
  align-items: baseline;
  color: #54714B;
  font-weight: bold;
  line-height: 1;
}

.campaign-box__zero {
  font-size: 8rem;
}

.campaign-box__yen {
  margin-left: 8px;
  font-size: 3rem;
}

.campaign-box__note {
  margin: 0;
  color: #54714B;
  line-height: 1.5;
}

/* ===== スマートフォン以下 ===== */
@media screen and (max-width: 530px) {
  .campaign-box {
    padding: 30px 15px;
  }

  .campaign-box__label {
    font-size: 1.6rem;
  }

  .campaign-box__title {
    margin-bottom: 20px;
    font-size: 2.2rem;
  }

  .campaign-box__content {
    gap: 10px;
    margin-bottom: 15px;
  }

  .campaign-box__row {
    gap: 5px;
  }

  .campaign-box__price dt,
  .campaign-box__price dd {
    font-size: 1.6rem;
  }

  .campaign-box__arrow {
    font-size: 3rem;
  }

  .campaign-box__zero {
    font-size: 6rem;
  }

  .campaign-box__yen {
    font-size: 2rem;
  }

  .campaign-box__note {
    font-size: 1.2rem;
  }
}

/*------------------------------
  Member Benefits
------------------------------*/
.member-benefits {
  padding: 75px 0 150px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  min-height: 110px;
  padding: 5px 15px;
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
}

.benefit-card p {
  margin: 0;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.7;
}

.note-mark {
  font-size: 0.7em;
  vertical-align: super;
}

.benefit-notes {
  margin: 20px 0 0;
  font-size: 1.4rem;
  line-height: 1.8;
}

/* ===== タブレット以下 ===== */
@media screen and (max-width: 1024px) {
  .benefit-grid {
    gap: 15px;
  }

  .benefit-card {
    min-height: 80px;
    padding: 5px 10px;
  }

  .benefit-card p {
    font-size: 1.1rem;
  }

  .benefit-notes {
    font-size: 1.2rem;
  }
}

/* ===== スマートフォン以下 ===== */
@media screen and (max-width: 767px) {
  .member-benefits {
    padding: 50px 0 100px;
  }

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

  .benefit-card {
    min-height: 60px;
  }
}

@media screen and (max-width: 480px) {
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/*------------------------------
  Price
------------------------------*/
.price {
  background: #9DA486;
  padding: 0 0 150px;
  color: #fff;
}

/* ===== スマートフォン以下 ===== */
@media screen and (max-width: 767px) {
  .price {
    padding: 0 0 100px;
  }
}

/*------------------------------
  Passcard
------------------------------*/
.passcard {
  background: #9DA486;
  padding: 220px 0 75px;
  color: #fff;
  position: relative;
}

.passcard__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.passcard__wave img {
  width: 100%;
  display: block;
}

.passcard-benefits {
  margin-top: 50px;
}

.passcard-benefits__title {
  margin: 0 0 30px;
  color: #fff;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
}

.passcard-benefit {
  padding: 30px 15px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.passcard-benefit__text {
  margin: 0;
  color: #54714B;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.8;
}

/* ===== タブレット以下 ===== */
@media screen and (max-width: 1024px) {
  .passcard-benefit__text {
    font-size: 1.2rem;
  }
}

/* ===== スマートフォン以下 ===== */
@media screen and (max-width: 767px) {
  .passcard {
    padding: 120px 0 50px;
  }
}

/* ------------------------------
  Price / Passcard
------------------------------ */
.price-tabs--sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .price-panels--pc {
    display: none;
  }

  .price-tabs--sp {
    display: block;
  }
}

/* ------------------------------
  Price Panel
------------------------------ */
.price-panel {
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.price-panel__head {
  margin: 0;
  padding: 15px 20px;
  color: #fff;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
}

/* ヘッダーカラー */
.price-panel--member .price-panel__head {
  background: #54714B;
}

.price-panel--visitor .price-panel__head {
  background: #605632;
}

.price-panel--passcard .price-panel__head {
  background: #B84364;
}

/* 3カラムグリッド (タブレット以上のみ) */
@media screen and (min-width: 768px) {
  .price-panels--3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .price-panels--3col {
    gap: 20px;
  }
}

/* 本体 */
.price-panel__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px 40px 40px;
  background: #fff;
}

/* 上部価格エリア */
.price-panel__price-group {
  padding-bottom: 20px;
  text-align: center;
}

.price-panel__label {
  margin: 0 0 10px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.price-panel--member .price-panel__label,
.price-panel--member .price-panel__price {
  color: #54714B;
}

.price-panel--visitor .price-panel__label,
.price-panel--visitor .price-panel__price {
  color: #605632;
}

.price-panel--passcard .price-panel__label,
.price-panel--passcard .price-panel__price {
  color: #B84364;
}

.price-panel__price {
  margin: 0;
  font-size: 3rem;
  font-weight: bold;
  line-height: 1;
}

.price-panel__price span {
  margin-left: 4px;
  font-size: 0.6em;
}

/* リスト */
.price-panel__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #54714B;
}

.price-panel--visitor .price-panel__list {
  border-top-color: #605632;
}

.price-panel--passcard .price-panel__list {
  border-top-color: #B84364;
}

.price-panel__item {
  padding: 20px 0;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.8;
  color: #54714B;
  border-bottom: 1px solid #54714B;
}

.price-panel--visitor .price-panel__item {
  color: #605632;
  border-bottom-color: #605632;
}

.price-panel--passcard .price-panel__item {
  color: #B84364;
  border-bottom-color: #B84364;
}

/* 高さ調整 */
.price-panel__item:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* passcard セクションでは last-child を伸縮させない（左右で項目数が違うため） */
.passcard .price-panel__item:last-child {
  flex: initial;
}

/* passcard セクション: パネル高さは内容に合わせ、上揃え・sub文言は中央寄せ */
.passcard .price-panels--pc {
  align-items: start;
}

.passcard .price-panel {
  height: auto;
}

.passcard .price-panel__sub {
  text-align: center;
}

.price-panel__sub-group {
  margin-top: 6px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.price-panel__sub {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: left;
}

/* ===== スマートフォン以下 ===== */
@media screen and (max-width: 767px) {
  .price-panel {
    border-radius: 0 0 8px 8px;
  }

  .price-panel__body {
    padding: 30px 30px 40px;
  }
}

/* ------------------------------
  Tabs (SP only)
------------------------------ */
/* ナビ */
.price-tabs__nav {
  display: flex;
  overflow: hidden;
}

/* 見出し */
.price-tabs__heading {
  flex: 1;
  margin: 0;
  display: flex;
}

/* ボタン共通 */
.price-tabs__heading .price-panel__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 8px 8px 0 0;
  letter-spacing: 0.06em;
  line-height: 1.4;
  transition: .3s;
  opacity: 0.4;
}

/* MEMBER/30DAYS/TICKET */
.price-panel__head[data-tab="member"] {
  background: #54714B;
  color: #fff;
  line-height: 1;
}

.price-panel__head[data-tab="30days"] {
  background: #54714B;
  color: #fff;
  line-height: 1;
}

.price-panel__head[data-tab="ticket"] {
  background: #54714B;
  color: #fff;
  line-height: 1;
}

/* VISITOR */
.price-panel__head[data-tab="visitor"] {
  background: #605632;
  color: #fff;
  line-height: 1;
}

/* PASS CARD */
.price-panel__head[data-tab="passcard"] {
  background: #B84364;
  color: #fff;
  line-height: 1;
}

/* アクティブ */
.price-panel__head.is-active {
  opacity: 1;
  transform: translateY(-1px);
}

/* ------------------------------
  Panel 切り替え
------------------------------ */
.price-tabs__panel {
  display: none;
}

.price-tabs__panel.is-active {
  display: block !important;
}