/* ==============================
  premier Club 共通
============================== */
body.is-modal-open {
  overflow: hidden;
}

.p-premierclub {
  color: #333;
}

.p-premierclub .c-content-width {
  max-width: 1120px;
}

.p-premierclub a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 4px;
  background: url(/wp-content/themes/axc-g/dist/assets/images/common/icon-external-link.svg) no-repeat center / contain;
  vertical-align: middle;
  opacity: 0.4;
}

.u-mb30 {
  margin-bottom: 30px !important;
}



/* ==============================
  制度紹介
============================== */

.premierclub-intro {
  padding: 80px 0 0;
}

.premierclub-intro__content {
  font-size: 1.6rem;
  line-height: 2;
  text-align: center;
  margin-bottom: 8rem;
}

.premierclub-intro__title {
  color: #004098;
  font-size: 3.2rem;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 1rem;
}

.premierclub-intro__text {
  margin: 0;
}

.premierclub-intro__text+.premierclub-intro__text {
  margin-top: 20px;
}

.premierclub-intro__figure {
  margin: 3rem auto 0;
}

.premierclub-intro__image {
  display: block;
  width: 700px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.premierclub-intro__caption {
  margin-top: 8px;
  color: #666;
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: center;
}

/* 表彰・特典 */
.premierclub-intro__perk {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 16px auto 0;
  padding: 1rem 2rem;
  background: #ededed;
}

.premierclub-intro__perk-item {
  white-space: nowrap;
}

.premierclub-intro__perk-item+.premierclub-intro__perk-item::before {
  margin: 0 1em;
  content: "｜";
}

@media screen and (max-width: 768px) {
  .premierclub-intro__content {
    text-align: left;
  }

  .premierclub-intro__title {
    font-size: 2rem;
  }

  .premierclub-intro__perk {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 14px;
    padding: 1.2rem 1.6rem;
    text-align: left;
  }

  .premierclub-intro__perk-item {
    position: relative;
    display: block;
    padding-left: 1.2em;
    white-space: normal;
  }

  .premierclub-intro__perk-item+.premierclub-intro__perk-item {
    margin-top: 4px;
  }

  .premierclub-intro__perk-item::before,
  .premierclub-intro__perk-item+.premierclub-intro__perk-item::before {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    content: "・";
  }
}

/* ==============================
  受賞者一覧
============================== */

.premierclub-awards {
  padding: 0 0 100px;
}

.premierclub-awards__title {
  margin: 0 0 32px;
  padding-left: 16px;
  border-left: 5px solid #0084cf;
  color: #333;
  font-size: 2.8rem;
  line-height: 1.5;
  font-weight: 700;
}

.premierclub-awards__department-title {
  margin: 20px 0;
  font-size: 2rem;
  font-weight: 700;
}

.premierclub-award+.premierclub-award {
  margin-top: 24px;
}

.premierclub-award__summary {
  position: relative;
  padding: 20px 64px 20px 24px;
  background: #0084cf;
  color: #fff;
  font-size: 2rem;
  line-height: 1.5;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.premierclub-award__summary::-webkit-details-marker {
  display: none;
}

.premierclub-award__summary::before,
.premierclub-award__summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 20px;
  height: 2px;
  content: "";
  background: #fff;
  transform: translateY(-50%);
  transition: transform 0.3s;
}

.premierclub-award__summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.premierclub-award[open] .premierclub-award__summary::after {
  transform: translateY(-50%) rotate(0);
}

.premierclub-award__summary:focus-visible {
  outline: 3px solid #fcc91a;
  outline-offset: -3px;
}

.premierclub-award__content {
  padding: 20px 0 48px;
}

.premierclub-awards__note {
  font-size: 14px;
  margin-bottom: 20px;
}

/* ==============================
  受賞者カード
============================== */

.premierclub-winners {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px 24px;
  margin: 0 0 80px;
  padding: 0;
  list-style: none;
}

.premierclub-winner {
  min-width: 0;
}

.premierclub-winner__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f2f2f2;
}

.premierclub-winner__name {
  margin: 16px 0 0;
  color: #333;
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 700;
}

.premierclub-winner__name-kana {
  display: block;
  margin-top: 4px;
  color: #666;
  font-size: 1.3rem;
  font-weight: 400;
}

.premierclub-winner__department {
  margin: 8px 0 0;
  color: #555;
  font-size: 1.4rem;
  line-height: 1.6;
}

.premierclub-winner__link {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 12px;
}

.premierclub-winner__link::before {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #3e7095;
}

.premierclub-winner__link a,
.premierclub-winner__button {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #3e7095;
  text-decoration: none;
  transition: all 0.3s ease;
}

.premierclub-winner__link a:hover,
.premierclub-winner__button:hover {
  color: #0084cf;
}


.premierclub-modal__text p+p {
  margin-top: 1em;
}

/* ========================================
   Premier Club Modal
======================================== */

.premierclub-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.premierclub-modal[hidden] {
  display: none;
}

.premierclub-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.premierclub-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 48px;
  background: #fff;
}

.premierclub-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 32px;
  line-height: 1;
  color: #333;
  cursor: pointer;
}

.premierclub-modal__title {
  margin-bottom: 24px;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
}

.premierclub-modal__text {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
}

body.is-modal-open {
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .premierclub-modal {
    padding: 16px;
  }

  .premierclub-modal__dialog {
    max-height: calc(100vh - 32px);
    padding: 48px 24px 32px;
  }

  .premierclub-modal__title {
    font-size: 20px;
  }

  .premierclub-modal__text {
    font-size: 14px;
  }
}

/* ==============================
  スマートフォン
============================== */

@media screen and (max-width: 768px) {
  .br-hidden-sp {
    display: none;
  }

  .premierclub-intro {
    padding: 48px 0 0;
  }

  .premierclub-intro__content {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 4rem;
  }

  .premierclub-intro__text+.premierclub-intro__text {
    margin-top: 14px;
  }

  .premierclub-benefits {
    margin-top: 20px;
  }

  .premierclub-intro__figure {
    margin-top: 32px;
  }

  .premierclub-awards {
    padding-bottom: 64px;
  }

  .premierclub-awards__title {
    margin-bottom: 24px;
    padding-left: 12px;
    border-left-width: 4px;
    font-size: 2.2rem;
  }

  .premierclub-award__summary {
    padding: 16px 52px 16px 16px;
    font-size: 1.7rem;
  }

  .premierclub-award__summary::before,
  .premierclub-award__summary::after {
    right: 18px;
    width: 18px;
  }

  .premierclub-award__content {
    padding: 24px 0 32px;
  }

  .premierclub-winners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 12px;
  }

  .premierclub-winner__name {
    margin-top: 12px;
    font-size: 1.6rem;
  }

  .premierclub-winner__name-kana {
    font-size: 1.2rem;
  }

  .premierclub-winner__department {
    font-size: 1.3rem;
  }

}


/* ========================================
   Premier Club Modal
======================================== */

.premierclub-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.premierclub-modal[hidden] {
  display: none;
}

.premierclub-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.premierclub-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 48px;
  background: #fff;
}

.premierclub-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 32px;
  line-height: 1;
  color: #333;
  cursor: pointer;
}

.premierclub-modal__title {
  font-size: 22px;
  margin: 0 0 10px;
  padding: 0 0 5px;
  border-bottom: 2px solid #0084cf;
}

.premierclub-modal__heading {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
}

.premierclub-modal__name-kana {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.premierclub-modal__text {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
}

body.is-modal-open {
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .premierclub-modal {
    padding: 16px;
  }

  .premierclub-modal__dialog {
    max-height: calc(100vh - 32px);
    padding: 48px 24px 32px;
  }

  .premierclub-modal__title {
    font-size: 20px;
  }

  .premierclub-modal__name-kana {
    display: block;
  }

  .premierclub-modal__text {
    font-size: 14px;
  }
}