/* moksui official header and footer */
.moksui-header {
  --u: min(1px, .0909090909vw);
  --green: #487963;
  --cream: #fff9f0;
  position: relative;
  z-index: 100;
  height: calc(176 * var(--u));
  background: var(--green);
  color: var(--cream);
  font-family: "Noto Sans JP", sans-serif;
}

.moksui-header button {
  font: inherit;
}

.moksui-header__cart {
  position: relative;
  margin: 0;
}

.moksui-header__cart-count {
  position: absolute;
  top: calc(7 * var(--u));
  right: calc(8 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: calc(20 * var(--u));
  height: calc(20 * var(--u));
  padding: 0 calc(5 * var(--u));
  border-radius: 999px;
  background: #c66051;
  color: #fff;
  font-size: calc(11 * var(--u));
  font-weight: 500;
  line-height: 1;
}

.moksui-header__cart .c-tooltip {
  top: calc(96 * var(--u));
  right: 0;
}

@media screen and (max-width: 750px) {
  .moksui-header__cart-count {
    top: calc(5 * var(--u));
    right: calc(5 * var(--u));
  }
}

@media screen and (max-width: 750px) {
  .moksui-header {
    --u: .15625vw;
    height: calc(95 * var(--u));
  }
}
.moksui-header,
.moksui-header * {
  box-sizing: border-box;
}
.moksui-header a {
  color: inherit;
  text-decoration: none;
}
.moksui-header a:focus-visible,
.moksui-header button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.moksui-header__top {
  position: relative;
  height: calc(110 * var(--u));
}
@media screen and (max-width: 750px) {
  .moksui-header__top {
    height: 100%;
    z-index: 2;
    background: var(--green);
  }
}
.moksui-header__logo {
  position: absolute;
  top: calc(28 * var(--u));
  left: 50%;
  width: calc(270 * var(--u));
  transform: translateX(-50%);
}
@media screen and (max-width: 750px) {
  .moksui-header__logo {
    left: calc(27 * var(--u));
    width: calc(228 * var(--u));
    transform: none;
  }
}
.moksui-header__logo img {
  display: block;
  width: 100%;
  height: auto;
}
.moksui-header__actions {
  position: absolute;
  top: 0;
  right: calc(40 * var(--u));
  display: flex;
  gap: calc(15 * var(--u));
}
@media screen and (max-width: 750px) {
  .moksui-header__actions {
    gap: calc(12 * var(--u));
  }
}
.moksui-header__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(80 * var(--u));
  height: calc(90 * var(--u));
  padding: calc(14 * var(--u)) 0 0;
  border: 0;
  border-radius: 0 0 999px 999px;
  background: var(--cream);
  color: var(--green) !important;
  cursor: pointer;
}
@media screen and (max-width: 750px) {
  .moksui-header__action {
    width: calc(71 * var(--u));
    height: calc(81 * var(--u));
    padding-top: calc(10 * var(--u));
  }
}
.moksui-header__action img {
  display: block;
  width: calc(34 * var(--u));
  height: calc(36 * var(--u));
  object-fit: contain;
}
.moksui-header__action-label {
  margin-top: calc(3 * var(--u));
  font-size: calc(12 * var(--u));
  line-height: 1.2;
  white-space: nowrap;
}
.moksui-header__toggle {
  display: none;
}
@media screen and (max-width: 750px) {
  .moksui-header__toggle {
    display: flex;
  }
}
@media screen and (max-width: 750px) {
  .moksui-header__bars {
    position: relative;
    display: block;
    width: calc(30 * var(--u));
    height: calc(36 * var(--u));
  }
}
@media screen and (max-width: 750px) {
  .moksui-header__bars i {
    position: absolute;
    top: calc(4 * var(--u));
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 0.2s, top 0.2s, opacity 0.2s;
  }
}
@media screen and (max-width: 750px) {
  .moksui-header__bars i:nth-child(2) {
    top: calc(17 * var(--u));
  }
}
@media screen and (max-width: 750px) {
  .moksui-header__bars i:nth-child(3) {
    top: calc(30 * var(--u));
  }
}
.moksui-header__panel {
  display: block;
}
@media screen and (max-width: 750px) {
  .moksui-header__panel {
    display: none;
    position: fixed;
    inset: calc(95 * var(--u)) 0 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: calc(60 * var(--u)) calc(40 * var(--u)) max(35 * var(--u), env(safe-area-inset-bottom));
    background: var(--cream);
    color: #493630;
  }
}
.moksui-header__nav {
  width: calc(1100 * var(--u));
  margin: 0 auto;
}
@media screen and (max-width: 750px) {
  .moksui-header__nav {
    width: 100%;
  }
}
.moksui-header__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: calc(18 * var(--u)) 0 0;
  list-style: none;
}
@media screen and (max-width: 750px) {
  .moksui-header__list {
    display: block;
    padding: 0;
  }
}
.moksui-header__item {
  flex: 0 0 auto;
  text-align: center;
}
@media screen and (max-width: 750px) {
  .moksui-header__item {
    text-align: left;
  }
}
.moksui-header__separator {
  flex: 0 0 1px;
  width: 1px;
  height: calc(18 * var(--u));
  background: currentColor;
}
@media screen and (max-width: 750px) {
  .moksui-header__separator {
    display: none;
  }
}
@media screen and (max-width: 750px) {
  .moksui-header__item ~ .moksui-header__item {
    margin-top: calc(56 * var(--u));
  }
}
.moksui-header__link {
  display: inline-block;
  font-size: calc(16 * var(--u));
  line-height: 1.25;
  letter-spacing: calc(1 * var(--u));
  white-space: nowrap;
}
@media screen and (max-width: 750px) {
  .moksui-header__link {
    font-family: "Shippori Mincho", serif;
    font-size: calc(36 * var(--u));
    line-height: 1.5;
    letter-spacing: calc(7 * var(--u));
  }
}
@media screen and (max-width: 750px) {
  .moksui-header__desktop-label {
    display: none;
  }
}
.moksui-header__mobile-label {
  display: none;
}
@media screen and (max-width: 750px) {
  .moksui-header__mobile-label {
    display: inline;
  }
}
.moksui-header__social {
  display: none;
}
@media screen and (max-width: 750px) {
  .moksui-header__social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: calc(50 * var(--u));
    margin-top: auto;
    padding-top: calc(70 * var(--u));
  }
}
@media screen and (max-width: 750px) {
  .moksui-header__social img {
    display: block;
    width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 750px) {
  .moksui-header__social-instagram {
    width: calc(45 * var(--u));
  }
}
@media screen and (max-width: 750px) {
  .moksui-header__social-note {
    width: calc(120 * var(--u));
  }
}
@media screen and (max-width: 750px) {
  .moksui-header.is-open {
    color: var(--green);
  }
}
@media screen and (max-width: 750px) {
  .moksui-header.is-open .moksui-header__top {
    background: var(--cream);
  }
}
@media screen and (max-width: 750px) {
  .moksui-header.is-open .moksui-header__action {
    background: var(--green);
    color: var(--cream) !important;
  }
}
@media screen and (max-width: 750px) {
  .moksui-header.is-open .moksui-header__action img {
    filter: brightness(0) invert(1);
  }
}
@media screen and (max-width: 750px) {
  .moksui-header.is-open .moksui-header__logo img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(16%) saturate(970%) hue-rotate(323deg) brightness(92%) contrast(89%);
  }
}
@media screen and (max-width: 750px) {
  .moksui-header.is-open .moksui-header__panel {
    display: flex;
    flex-direction: column;
  }
}
@media screen and (max-width: 750px) {
  .moksui-header.is-open .moksui-header__bars i:first-child {
    top: calc(17 * var(--u));
    transform: rotate(42deg);
  }
}
@media screen and (max-width: 750px) {
  .moksui-header.is-open .moksui-header__bars i:nth-child(2) {
    opacity: 0;
  }
}
@media screen and (max-width: 750px) {
  .moksui-header.is-open .moksui-header__bars i:last-child {
    top: calc(17 * var(--u));
    transform: rotate(-42deg);
  }
}

.moksui-footer {
  --u: min(1px, .0909090909vw);
  position: relative;
  z-index: 1;
  margin: 0;
  padding: calc(120 * var(--u)) 0 calc(30 * var(--u));
  background: #487963;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
}
@media screen and (max-width: 750px) {
  .moksui-footer {
    --u: .15625vw;
    padding: calc(103 * var(--u)) 0 calc(60 * var(--u));
  }
}
.moksui-footer,
.moksui-footer * {
  box-sizing: border-box;
}
.moksui-footer a {
  color: inherit;
  text-decoration: none;
}
.moksui-footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.moksui-footer__inner {
  display: flex;
  justify-content: space-between;
  width: calc(1000 * var(--u));
  margin: 0 auto;
}
@media screen and (max-width: 750px) {
  .moksui-footer__inner {
    display: block;
    width: 100%;
  }
}
.moksui-footer__brand {
  width: calc(310 * var(--u));
  padding: 0.9% 0 0;
}
@media screen and (max-width: 750px) {
  .moksui-footer__brand {
    width: 100%;
  }
}
.moksui-footer__logo {
  display: block;
  width: calc(339 * var(--u));
  margin: 0 0 0 -4.6%;
}
@media screen and (max-width: 750px) {
  .moksui-footer__logo {
    margin: 0 auto;
  }
}
.moksui-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}
.moksui-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(34 * var(--u));
  margin-top: calc(20 * var(--u));
}
@media screen and (max-width: 750px) {
  .moksui-footer__social {
    gap: calc(51 * var(--u));
    margin-top: calc(24 * var(--u));
  }
}
.moksui-footer__social a:first-child {
  width: calc(31 * var(--u));
}
@media screen and (max-width: 750px) {
  .moksui-footer__social a:first-child {
    width: calc(45 * var(--u));
  }
}
.moksui-footer__social a:last-child {
  width: calc(70 * var(--u));
}
@media screen and (max-width: 750px) {
  .moksui-footer__social a:last-child {
    width: calc(102 * var(--u));
  }
}
.moksui-footer__social img {
  display: block;
  width: 100%;
  height: auto;
}
.moksui-footer__nav {
  display: flex;
  gap: calc(90 * var(--u));
  padding-top: calc(2 * var(--u));
}
@media screen and (max-width: 750px) {
  .moksui-footer__nav {
    justify-content: center;
    gap: calc(66 * var(--u));
    padding-top: calc(40 * var(--u));
  }
}
.moksui-footer__group {
  margin: 0;
}
.moksui-footer__group h2 {
  margin: 0 0 calc(12 * var(--u));
  font-family: "Times New Roman", serif;
  font-size: calc(28 * var(--u));
  font-weight: 400;
  line-height: 1;
  letter-spacing: calc(7 * var(--u));
}
@media screen and (max-width: 750px) {
  .moksui-footer__group h2 {
    margin-bottom: calc(16 * var(--u));
    font-size: calc(27 * var(--u));
  }
}
.moksui-footer__group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.moksui-footer__group li + li {
  margin-top: calc(7 * var(--u));
}
@media screen and (max-width: 750px) {
  .moksui-footer__group li + li {
    margin-top: calc(2 * var(--u));
  }
}
.moksui-footer__group a {
  font-size: calc(16 * var(--u));
  line-height: 1.35;
  letter-spacing: calc(3 * var(--u));
  white-space: nowrap;
}
@media screen and (max-width: 750px) {
  .moksui-footer__group a {
    font-size: calc(18 * var(--u));
    line-height: 1.2;
  }
}
.moksui-footer__copyright {
  margin: calc(45 * var(--u)) 0 0;
  color: #fff;
  font-size: calc(12 * var(--u));
  line-height: 1.2;
  letter-spacing: calc(0.8 * var(--u));
  text-align: center;
}
@media screen and (max-width: 750px) {
  .moksui-footer__copyright {
    margin-top: calc(28 * var(--u));
  }
}

/* My page news */
.moksui-mypage-news {
  display: none;
  margin: 40px 0;
}

.moksui-mypage-news.is-loaded {
  display: block;
}

.moksui-mypage-news__heading {
  margin-top: 0;
}

.moksui-mypage-news__list {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(72, 121, 99, 0.35);
  list-style: none;
}

.moksui-mypage-news__item {
  border-top: 1px solid rgba(72, 121, 99, 0.35);
}

.moksui-mypage-news__link {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 18px 8px;
  color: inherit;
  text-decoration: none;
}

.moksui-mypage-news__date {
  line-height: inherit;
}

.moksui-mypage-news__title {
  line-height: inherit;
}

@media screen and (max-width: 750px) {
  .moksui-mypage-news {
    margin: 32px 0;
  }

  .moksui-mypage-news__link {
    display: block;
    padding: 16px 4px;
  }

  .moksui-mypage-news__date {
    display: block;
    margin-bottom: 6px;
  }

}

/* My page menu */
.c-account_menu__content.--main-heading .c-account_menu__text {
  font-weight: 600;
}

@media screen and (max-width: 719px) {
  .c-account_menu {
    padding-top: 5%;
    border-bottom: none;
  }

  .c-account_menu__toggle-button.js-account_menu__button {
    box-sizing: border-box;
    width: 90%;
    margin: 0 auto;
    padding-left: 7%;
    border: 2px solid #477962;
    border-radius: 999px;
    background: #fff;
    color: #477962;
  }
}

/* Order history */
.moksui-orders-guide {
  margin-top: 30px;
  padding: 24px;
  background: #f5f8fa;
}

.moksui-orders-guide__lead {
  margin: 0 0 16px;
  line-height: 1.7;
}

.moksui-orders-guide__lead strong {
  color: #487963;
  font-weight: 600;
}

.moksui-orders-guide__steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.moksui-orders-guide__steps li {
  padding: 12px 16px;
  background: #fff;
  line-height: 1.7;
}

.moksui-orders-guide__note {
  margin: 12px 0 0;
  color: #487963;
  line-height: 1.7;
}

.moksui-orders-list {
  margin-top: 30px;
}

.p-history_list__item.moksui-order-card {
  margin-bottom: 20px;
  padding: 2% 2% 3%;
  border-radius: 50px;
  background: #fff;
}

.moksui-order-card__header {
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
}

.moksui-order-card__statuses {
  white-space: nowrap;
}

.moksui-order-card .p-order_history_summary__status::before {
  content: none;
}

.moksui-order-card__payment-status {
  padding: 3px 8px;
  color: green;
  font-size: 1rem;
  font-weight: 600;
}

.moksui-order-card__order-status {
  padding: 3px 8px;
  background: #f4e4e2;
  color: #bf6253;
  font-size: 1rem;
  font-weight: 600;
}

.moksui-order-card__date,
.moksui-order-card__number {
  white-space: nowrap;
}

.moksui-order-card__date span,
.moksui-order-card__number span {
  margin-left: 14px;
}

.moksui-order-card__detail-link.c-button.--primary {
  position: relative;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  padding-right: 46px;
  box-sizing: border-box;
  background: #e0e8e4;
  color: inherit;
}

.moksui-order-card__detail-link::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 14px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: translateY(-50%) skew(45deg);
}

.moksui-order-card__items .c-cart_item:first-child {
  border-top: 0;
}

.moksui-order-card .c-cart_item.u-color__border--border {
  border-bottom: none;
}

@media screen and (max-width: 1023px) {
  .moksui-order-card__header {
    grid-template-columns: 1fr auto;
    gap: 20px 30px;
  }

  .moksui-order-card__statuses,
  .moksui-order-card__date,
  .moksui-order-card__number {
    white-space: normal;
  }

  .moksui-order-card__detail-link {
    grid-column: 1 / -1;
    justify-self: end;
    max-width: 240px;
  }
}

@media screen and (max-width: 750px) {
  .moksui-orders-guide {
    margin-top: 24px;
    padding: 18px;
  }

  .moksui-orders-guide__lead br {
    display: none;
  }

  .moksui-orders-guide__steps li {
    padding: 10px 12px;
  }

  .moksui-order-card__header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
  }

  .moksui-order-card__date,
  .moksui-order-card__number {
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }

  .moksui-order-card__date span,
  .moksui-order-card__number span {
    margin-left: 0;
  }

  .moksui-order-card__detail-link {
    max-width: none;
  }
}

/* Subscription list */
.moksui-subscription-list {
  margin-top: 30px;
}

.p-subscription_list__item.moksui-subscription-card {
  position: relative;
  margin-bottom: 30px;
  padding: 30px;
  border-radius: 50px;
  background: #fff;
}

.moksui-subscription-card__summary {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-radius: 30px;
  background: #fff;
  overflow: hidden;
}

.moksui-subscription-card__field {
  display: grid;
  grid-template-rows: 76px auto;
  min-width: 0;
}

.moksui-subscription-card__field dt {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 14px 10px;
  background: #edf2ef;
  color: #493630;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.moksui-subscription-card__field dd {
  margin: 0;
  padding: 18px 10px 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.moksui-subscription-card__status {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 600;
}

.moksui-subscription-card__status::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  flex-shrink: 0;
}

.moksui-subscription-card__status.is-active {
  color: #487963;
}

.moksui-subscription-card__status.is-inactive {
  color: #bf6253;
}

.moksui-subscription-card__calendar {
  display: block;
  width: fit-content;
  margin: 14px 0 0 auto;
  color: #487963;
  font-weight: 600;
}

.moksui-subscription-card__items {
  margin-top: 20px;
}

.moksui-subscription-card__items .c-cart_item {
  border-bottom: none;
}

.moksui-subscription-card__items .c-cart_item:first-child {
  border-top: none;
}

.moksui-subscription-card__item-price {
  margin-left: 18px;
}

.moksui-subscription-card__item-note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.6;
}

.moksui-subscription-card__detail-link.c-button.--primary {
  position: relative;
  width: 100%;
  max-width: 500px;
  min-height: 56px;
  margin: 20px auto 0;
  padding-right: 50px;
  border-radius: 999px;
  box-sizing: border-box;
  background: #e0e8e4;
  color: inherit;
}

.moksui-subscription-card__detail-link::after {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 14px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: translateY(-50%) skew(45deg);
}

#payment_method_description .CrNoteContainer p,
#payment_method_description .CodNoteContainer p,
#payment_method_description .NpNoteContainer p {
  margin: 5px 0 15px;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
  font-size: 15px !important;
}

#payment_method_description .NpNote__ttl {
  margin: 20px 0 5px;
  font-size: 16px !important;
}

#payment_method_description .NpNote__bn {
  display: block;
  margin: 2% 0 3%;
}

#payment_method_description .NpNote__strong {
  color: #bf6253;
}

#payment_method_description .NpNote__privacy {
  text-decoration: underline;
}

@media screen and (max-width: 1023px) {
  .moksui-subscription-card__summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media screen and (max-width: 750px) {
  .p-subscription_list__item.moksui-subscription-card {
    padding: 20px 16px;
    border-radius: 30px;
  }

  .moksui-subscription-card__summary {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    border-radius: 0;
  }

  .moksui-subscription-card__field {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .moksui-subscription-card__field:not(:last-child) {
    border-bottom: 1px solid #ccc;
  }

  .moksui-subscription-card__field dt {
    min-height: 54px;
    background: none;
  }

  .moksui-subscription-card__field dd {
    padding: 12px 10px 18px;
  }

  .moksui-subscription-card__item-price {
    margin-left: 12px;
  }

  .moksui-subscription-card__detail-link.c-button.--primary {
    min-height: 50px;
  }
}
