* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: url("../images/bg1.png") repeat;
  background-size: auto;
}

.pc {
  display: inline-block;
}

.sp {
  display: none;
}


/* ====================
        Header 
===================== */
.header {
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.header-inner--sp {
  display: none;
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px;
}

.header-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  display: block;
  width: 170px;
  height: auto;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #333;
  white-space: nowrap;
}

.status-item.coin {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f4f4f4;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  padding: 4px 6px;
}

.coin-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-image: url("../images/coin-icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  border-radius: 0;
  font-size: 0;
}

.coin-text {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.coin-value {
  font-size: 14px;
  font-weight: 700;
  color: #222;
}

.coin-plus {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: #ff4d4f;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
}

.coin-plus:hover {
  background: #e84345;
}

.coin-unit {
  font-size: 13px;
  font-weight: 600;
  color: #c9a400;
}

.status-item.point {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f4f4f4;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  padding: 4px 8px;
}

.point-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-image: url("../images/P.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  border-radius: 0;
  font-size: 0;
}

.point-text {
  display: flex;
  align-items: center;
  gap: 6px;
}

.point-value {
  font-size: 14px;
  font-weight: 700;
  color: #222;
}

.point-unit {
  font-size: 15px;
  font-weight: 600;
  color: #2fbf71;
}

.status-item.notice {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}

.status-item.notice:hover {
  opacity: .7;
}

.notice-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-image: url("../images/bell_icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  border-radius: 0;
  font-size: 0;
}

.status-item.account {
  gap: 8px;
  cursor: pointer;
}

.status-item.account .avatar {
  font-size: 18px;
}

.status-item.account {
  padding: 0;
  cursor: pointer;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: #ddd;
  display: block;
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.avatar:hover {
  opacity: .8;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

/* ログイン前 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-actions a {
  font-size: 16px;
  font-weight: 500;
  padding: 6px 20px;
  border-radius: 30px;
  text-decoration: none;
  white-space: nowrap;
  width: 190px;
  text-align: center;
}

.btn-register {
  background: #f7a500;
  color: #fff;
  border: 3px solid #f7a500;
}

.btn-login {
  background: #fff;
  border: 3px solid #f7a500;
  color: #333;
}

@media (max-width:768px) {

  .logout-header .header-inner {
    padding: 0 12px;
  }

  .header-top {
    padding: 10px 0;
  }

  .header-actions {
    gap: 10px;
  }

  .header-actions a {
    font-size: 14px;
    padding: 10px 25px;
    width: auto;
  }

}


/* =========================
   マイページ
========================= */

.account-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
  z-index: 1000;
}

.account-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #e5e5e5;
}

.account-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.account-panel.is-open {
  transform: translateX(0);
}

.account-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
}

.account-title {
  font-size: 16px;
  font-weight: 700;
}

.account-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.account-body {
  padding: 22px;
  overflow: auto;
}

.account-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.account-profile-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.account-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #ddd;
  flex: 0 0 auto;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.account-name {
  font-size: 15px;
  font-weight: 700;
}

.account-edit {
  font-size: 14px;
  font-weight: 700;
  color: #ff6b00;
  text-decoration: none;
  white-space: nowrap;
}

.account-edit:hover {
  opacity: 0.8;
}

.account-rank-card {
  background-image: url("../images/diamond_bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.account-rank-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .15);
  pointer-events: none;
}

.account-rank-card>* {
  position: relative;
  z-index: 1;
}

.rank-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.rank-label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  opacity: .95;
}

.rank-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  white-space: nowrap;
  margin: -5px -5px 0 0;
}

.rank-cta .chev {
  font-size: 18px;
  line-height: 1;
  color: #111;
}

.rank-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  margin: 2px 0 12px;
  text-transform: uppercase;
}

.rank-divider {
  height: 2px;
  background: rgba(255, 255, 255, .55);
  margin: 10px 0 12px;
}

.rank-bottom {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}

.rank-metric {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.metric-label {
  font-size: 14px;
  font-weight: 500;
  opacity: .95;
}

.metric-value {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .02em;
}

.rank-slash {
  font-size: 16px;
  font-weight: 900;
  opacity: .9;
}

.account-stats2 {
  background: #fff;
  padding: 8px 0;
}

.stat2 {
  padding: 12px 0;
}

.stat2-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.stat2-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.stat2-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 auto;
}

.stat2-label {
  font-size: 17px;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
}

.stat2-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.stat2-value {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #111;
  white-space: nowrap;
}

.stat2-plus {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #ff3b30;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.stat2-plus:hover {
  opacity: .85;
}

.stat2-expiry {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #ff6b00;
}

.stat2-note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: #333;
}

.account-invite {
  margin: 18px 0 22px;
  padding-top: 35px;
  border-top: 1px solid #e5e5e5;
  background: transparent;
}

.invite-label {
  font-size: 18px;
  font-weight: 900;
  color: #111;
  margin-bottom: 14px;
}

.invite-code {
  width: 100%;
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .12em;
  padding: 14px 12px;
  margin-bottom: 22px;
  background: #fdeee0;
  color: #000;
  border-radius: 0;
}

.invite-copy {
  display: block;
  margin: 0 auto;
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  background: #f2f2f2;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}

.invite-copy:hover {
  background: #e8e8e8;
}

.invite-terms {
  padding: 18px 0 20px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 30px;
}

.invite-terms-title {
  font-size: 16px;
  font-weight: 900;
  color: #ff6b00;
  margin-bottom: 12px;
}

.invite-terms-list {
  margin: 0;
  padding-left: 18px;
}

.invite-terms-list li {
  font-size: 13px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 14px;
}

.invite-terms-notes {
  margin-top: 8px;
}

.invite-terms-notes p {
  font-size: 12px;
  line-height: 1.9;
  color: #333;
  margin: 0;
}

.account-mini-actions {
  display: flex;
  gap: 16px;
  margin: 20px 0 28px;
}

.mini-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  border-radius: 10px;
  background: #fff;
  border: 3px solid #d9d9d9;
  font-size: 18px;
  font-weight: 900;
  color: #111;
  text-decoration: none;
}

.mini-btn:hover {
  background: #f7f7f7;
}

.account-section {
  background: #f9f9f9;
  margin-left: -22px;
  margin-right: -22px;
  padding-left: 22px;
  padding-right: 22px;
  padding-top: 10px;
  padding-bottom: 22px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 900;
  color: #111;
  padding: 12px 0 6px;
}

.section-arrow {
  font-size: 14px;
  color: #ff6b00;
  transform: translateY(1px);
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-size: 15px;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #e5e5e5;
}

.menu-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chev {
  font-size: 20px;
  color: #111;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #ff3b30;
}

.status-badge::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff3b30;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.status-badge-done {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1d9e27;
}

.account-footer-logo {
  width: 100%;
  text-align: center;
  padding: 12px 0 0;
  margin-top: 12px;
}

.account-footer-logo img {
  width: 130px;
  height: auto;
  display: inline-block;
  opacity: 0.95;
}


/* ====================
         nav 
===================== */
.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 20px;
}

.nav-category {
  background: #f5f5f5;
  border-top: 1px solid #e5e5e5;
}

.nav-category-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.nav-category,
.nav-category-inner {
  overflow: visible;
}

.nav-category-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav-category-scroll::-webkit-scrollbar {
  display: none;
}

.nav-category a {
  padding: 8px 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #333;
  text-decoration: none;
  position: relative;
  transition: color .2s ease;
}

.nav-category a:hover,
.nav-category a.is-active {
  color: #ff6b00;
}

.nav-category-scroll>a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  background: linear-gradient(90deg, #ff6b00, #ffb000);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity .2s ease, transform .2s ease;
}

.nav-category-scroll>a:hover::after,
.nav-category-scroll>a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.sort {
  margin-left: auto;
  position: relative;
}

.nav-category-inner .sort {
  flex-shrink: 0;
  flex: 0 0 auto;
}

.sort-btn {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  padding: 6px 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .2s ease, border-color .2s ease;
}

.sort-btn:hover {
  border-color: #bbb;
}

.sort-btn .arrow {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url("../images/arrow.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;
}

.sort-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 180px;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  list-style: none;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 10;
}

.sort-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

.sort-menu a::after {
  display: none;
}

.sort-menu a:hover {
  background: #f0f0f0;
}

.sort:hover .sort-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-tag {
  background: #ffffff;
  border-top: 1px solid #eee;
  padding: 4px 0;
}

.nav-tag-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.nav-tag-inner .tag-more-btn {
  flex: 0 0 auto;
}

.nav-tag-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav-tag-scroll::-webkit-scrollbar {
  display: none;
}

.tag {
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #999;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.tag:hover {
  background: #fff1e6;
  color: #ff6b00;
  border-color: #ffb48a;
}

.tag.is-active {
  background: #fff1e6;
  color: #ff6b00;
  border-color: #ffb48a;
  font-weight: 600;
}

.tag-more-btn {
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 4px;
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease;
}

.tag-more-btn:hover {
  background: #f5f5f5;
  border-color: #999;
}


/* ====================
        notice
===================== */

.notice {
  width: 100%;
  background: linear-gradient(90deg, #ff7a18, #ffb347);
}

.notice-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 16px;
}

.notice-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.notice-remain {
  padding: 4px 14px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ff6b00;
  background: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}


/* ====================
        main 
===================== */

main {
  background: #ffffff;
}

.container {
  margin: 0 auto;
  padding: 0 16px;
}

.oripa-slider {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 40px;
  background: #fff;
  padding-top: 24px;
}

.oripa-slider img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #bbb;
  opacity: 1;
  margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
  background: #000;
}

.oripa-slider .swiper-pagination {
  position: static;
  margin-top: 12px;
  text-align: center;
}


/* ====================
        List 
===================== */

.list {
  padding: 16px;
}

.container--list {
  max-width: 840px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.section-icon {
  width: 28px;
  height: 28px;
  display: inline-block;
  background-image: url("../images/list_icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  font-size: 0;
  line-height: 1;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title-text {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
}

.section-dynamic {
  color: #ff6b00;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;

  background: #f4f4f4;
  padding: 16px;
  border-radius: 12px;
}

.oripa-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.card-tags {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
}

.card-tag {
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #333;
  border-radius: 999px;
  white-space: nowrap;
}

.card-tag.is-active {
  background: #333333;
}

.card-thumb {
  width: 100%;
  height: 235px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.oripa-card:hover .card-thumb img {
  transform: scale(1.03);
  cursor: pointer;
}

.card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.card-price {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.card-price-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.card-price-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 700;
  color: #222;
}

.card-price-number {
  font-size: 20px;
}

.card-price-unit {
  font-size: 15px;
  font-weight: 600;
}

.card-progress-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.card-remain {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: right;
}

.card-progress {
  width: 85%;
  height: 8px;
  background: #e5e5e5;
  border-radius: 999px;
  overflow: hidden;
}

.card-progress-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg,
      #ff6b00,
      #ffb347);
  border-radius: 999px;
}

/* ====================
      CTA エリア 
===================== */
.cta-area {
  background: #ffffff;
  padding: 45px 0 70px;
}

.cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 24px;
}

.cta-img-btn {
  flex: 1;
  display: block;
}

.cta-img-btn img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-img-btn:hover {
  opacity: 0.9;
}

.cta-faq img {
  content: url("../images/q_btn.png");
}

.cta-info img {
  content: url("../images/info_btn.png");
}


/* ====================
      Footer 
===================== */
.footer {
  background: linear-gradient(180deg, #222, #111);
  color: #fff;
  padding: 48px 0 32px;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}

.footer-acc-title {
  display: none;
}

.footer-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 24px;
}

.footer-category a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}

.footer-category a:hover {
  border-bottom-color: #fff;
}

.footer-category-title {
  display: none;
}

.footer-about {
  display: block;
}

.footer-about-title {
  font-size: 20px;
  color: #ddd;
  padding: 18px 0;
}

.footer-about-body {
  display: none;
}

.footer-legal-wrap {
  border-top: 1px solid #444;
  border-bottom: 1px solid #444;
  margin-bottom: 32px;
}

.footer-legal {
  font-size: 14px;
  color: #ccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
}

.footer-legal a {
  color: #ccc;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-legal .sep {
  color: #555;
}

.footer-cta {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-cta-img {
  width: 260px;
  display: block;
}

.footer-cta-img img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-cta-img:hover {
  opacity: 0.9;
}

.footer-copy {
  font-size: 13px;
  color: #888;
}


/* =========================
   Contact Modal
========================= */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

.contact-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.contact-modal {
  width: 450px;
  max-width: 90%;
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
}

.contact-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

.contact-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.contact-urgent {
  color: #ff3b30;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact-arrows {
  margin-bottom: 15px;
}

.contact-arrows span {
  margin: 0 3px;
}

.contact-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 15px;
}

.contact-btn-line {
  background: #06c755;
  color: #fff;
}

.contact-btn-mail {
  border: 2px solid #ffa500;
  color: #ffa500;
  background: #fff;
}

.contact-divider {
  border-top: 1px solid #eee;
  margin: 20px 0;
}

.contact-close {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  background: #eee;
  border: none;
  font-size: 14px;
  margin-top: 10px;
}

/* =========================
   Logout Modal
========================= */
.logout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

.logout-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.logout-modal {
  width: 450px;
  max-width: 90%;
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
}

.logout-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
}

.logout-actions {
  display: flex;
  gap: 15px;
}

.logout-actions button {
  flex: 1;
  height: 48px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.logout-cancel {
  background: #eee;
  color: #999;
}

.logout-confirm {
  background: #ff3b30;
  color: #fff;
}


/* ====================
        detail 
===================== */
.detail-page {
  max-width: 930px;
  margin: 30px auto 60px;
  font-family: sans-serif;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: #fff;
}

.detail-page .oripa-main-banner img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 10px;
}

.detail-page .card-tags {
  padding: 8px 20px;
}

.detail-page .card-body {
  padding: 0 20px;
}

.detail-page .card-price-icon {
  width: 22px;
  height: 22px;
}

.detail-page .card-price-number {
  font-size: 22px;
}

.detail-page .card-remain {
  font-size: 15px;
}

.detail-page .card-progress {
  width: 28%;
}

.detail-page .oripa-notice {
  margin: 3px 0 40px;
  font-size: 14px;
}

.detail-page .oripa-notice .notice-toggle {
  background: none;
  border: none;
  width: 100%;
  padding: 10px 20px 2px;
  color: #ff3636;
  font-weight: bold;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 16px;
}

.detail-page .oripa-notice .notice-toggle .icon {
  width: 16px;
  height: 16px;
}

.detail-page .oripa-notice .arrow {
  width: 10px;
  height: 10px;
  border: solid #ff3636;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.detail-page .oripa-notice .notice-toggle[aria-expanded="true"] .arrow {
  transform: rotate(-135deg);
  margin-top: 5px;
}

.detail-page .oripa-notice .notice-content {
  background: #f5f5f5;
  padding: 12px 24px;
  line-height: 1.8;
  color: #ff3636;
  font-weight: bold;
  margin-top: 8px;
  font-size: 14px;
  margin: 0 20px;
}

.detail-page .rank-block {
  text-align: center;
  margin-bottom: 60px;
}

.detail-page .rank-title {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.detail-page .card-row img {
  width: 210px;
  border-radius: 8px;
  margin: 8px;
}

.detail-page .card-grid img {
  width: 170px;
  border-radius: 8px;
  margin: 8px;
}

.detail-page .card-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.detail-page .etc-note {
  font-size: 20px;
  color: #000;
  margin-bottom: 8px;
  font-weight: bold;
}

.detail-page .rank-title {
  background: none;
  padding: 0;
  height: auto;
}

.detail-page .rank-title-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.detail-page .card-thumb {
  height: auto;
}

.detail-page .card-thumb img {
  width: 210px;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.detail-page .card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-height: calc(2 * 260px);
  overflow: hidden;
}

.detail-page .card-grid .card {
  flex: 1 1 30%;
  max-width: 33%;
  box-sizing: border-box;
}

.detail-page .last-one-note {
  background: #ffd900;
  color: #ff3636;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  padding: 6px 16px;
  border-radius: 20px;
  margin: 8px auto 24px;
  max-width: 300px;
}

.detail-page .rank-title.red {
  margin-bottom: 0;
}

.detail-page .important-notes {
  padding: 20px;
  margin: 40px 0 0;
  border-radius: 10px;
  font-size: 14px;
  color: #333;
}

.detail-page .important-notes h2 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.detail-page .important-notes .notes-box {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 26px;
  font-size: 15px;
  color: #333;
  line-height: 1.8;
  margin: 0 auto;
}

.detail-page .important-notes .notes-title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 5px;
}

.detail-page .important-notes .notes-box p {
  margin-bottom: 1.5em;
}

.oripa-buttons {
  max-width: 930px;
  overflow: hidden;
  background: #fff;

  border-top: 1px solid #ddd;
  padding: 32px 16px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
  margin: 40px auto 0;
  text-align: center;

  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.oripa-button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.oripa-button-wrap {
  text-align: center;
}

.oripa-btn {
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  padding: 12px 20px;
  min-width: 180px;
  cursor: pointer;
  color: #fff;
  background: #aaa;
}

.oripa-btn.type-outline {
  background: #fff;
  border: 2px solid #ffa500;
  color: #000;
}

.oripa-btn.type-orange {
  background: #ffa500;
}

.oripa-btn.type-red {
  background: linear-gradient(to right, #ff7e00, #ff3b3b);
  color: #fff;
}

.oripa-btn.type-blue {
  background: linear-gradient(to right, #00e6c1, #008cff);
  color: #fff;
}

.oripa-btn.type-gray {
  background: #999;
}

.oripa-button-group.trial {
  margin-bottom: 0;
}

.oripa-button-group.trial .oripa-btn {
  min-width: 760px;
  padding: 12px 24px;
  font-size: 18px;
}

.oripa-button-wrap .price {
  font-size: 18px;
  color: #111;
  font-weight: bold;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.price .coin-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  width: 450px;
  background: #fff;
  padding: 28px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.modal-text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
  font-weight: 700;
}

#modal_purchase .modal-text {
  margin-bottom: 12px;
}

.modal-text-normal {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
  font-weight: 400;
}

#modal_purchase .modal-text-normal {
  margin-bottom: 16px;
}

.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: #ffa800;
  color: #000;
  border: 4px solid #ffa800;
}

#modal_purchase .btn-primary {
  width: 100%;
}

.btn-outline {
  background: #fff;
  color: #000;
  border: 4px solid #ffa800;
  padding: 12px 58px;
}

.btn-close {
  width: 100%;
  background: #f2f2f2;
  color: #555;
  border: none;
  padding: 14px 0;
  border-radius: 50px;
}

#coinShortageModal .btn-close {
  width: 50%;
}

#modal_purchase .btn-close {
  font-weight: 500;
  font-size: 15px;
}

/* ===== 購入確認モーダル ===== */
.price-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  background: #f7f7f7;
  padding: 14px 0;
  border-radius: 3px;
  margin-bottom: 26px;
}

.price-box .coin-icon {
  width: 20px;
  height: 20px;
}

.price-left,
.price-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: bold;
}

.price-box .before {
  font-size: 20px;
  color: #000;
}

.price-box .after {
  font-size: 20px;
  color: #ff3b30;
}

.price-box .unit {
  font-size: 14px;
  color: #333;
}

.price-box .arrow {
  font-size: 18px;
  color: #ff6b00;
  font-weight: bold;
}



/* ====================
        info
===================== */

body.page-notice {
  background: none !important;
}

.notice-page {
  max-width: 900px;
  margin: 40px auto 80px;
  background: #fff;
  padding: 0 16px 40px;
}

.notice-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-left: 4px;
  color: #333;
  text-align: center;
}

.notice-tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

.notice-tab {
  flex: 1;
  text-align: center;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: #555;
  position: relative;
}

.notice-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #ff7a18;
}

.notice-content-area {
  display: none;
}

.notice-content-area.is-active {
  display: block;
}

.notice-list {
  margin-top: 10px;
}

.notice-item {
  padding: 16px;
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e5e5;
}

.notice-item-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: #333;
}

.notice-item-date {
  font-size: 13px;
  color: #999;
  margin-top: 4px;
}

.notice-item-arrow {
  font-size: 30px;
  font-weight: 700;
  color: #333;
  padding-left: 16px;
  padding-right: 6px;
  transform: translateY(-5px);
}


/* =========================
      Deposit Page
========================= */

.deposit-page {
  padding: 60px 16px 120px;
}

.deposit-container {
  /* max-width: 820px; */
  max-width: 930px;
  margin: 0 auto;
  background: #f4f4f4;
  border-radius: 16px;
  padding: 40px 40px 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.deposit-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}

.deposit-description {
  font-size: 15px;
  color: #555;
  margin-bottom: 16px;
}

.deposit-method-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  text-decoration: none;
  color: #222;
  border-bottom: 1px solid #ddd;
  transition: background .2s ease;
}

.deposit-method-card:hover {
  background-color: #f0f4f7;
}

.deposit-method-name {
  font-size: 18px;
  font-weight: 700;
}

.deposit-method-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.deposit-brand-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.deposit-brand-icons img {
  height: 32px;
  width: auto;
}

.deposit-arrow {
  position: relative;
  width: 38px;
  height: 38px;
  background: #ffb000;
  border-radius: 50%;
  font-size: 0;
}

.deposit-arrow::before {
  content: "›";
  position: absolute;
  top: 40%;
  left: 51%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  font-weight: 500;
  color: #000;
  line-height: 1;
}

/* Deposit Modal */
.deposit-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.deposit-modal-overlay.active {
  display: flex;
}

.deposit-modal {
  width: 450px;
  background: #f3f3f3;
  border-radius: 12px;
  padding: 28px 40px;
  text-align: center;
}

.deposit-modal-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 28px;
}

.age-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 20px;
  cursor: pointer;
}

.age-option:last-child {
  margin-bottom: 0;
}

.age-label {
  background: #ffb000;
  border-radius: 999px;
  padding: 16px 10px 16px 24px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 170px;
  justify-content: space-between;
  transition: .2s;
}

.age-label:hover {
  background: #ffa000;
}

.age-limit {
  font-size: 18px;
  font-weight: 500;
  color: #222;
}

.age-arrow {
  width: 22px;
  height: 22px;
  position: relative;
}

.age-arrow::before {
  content: "›";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  font-size: 30px;
  font-weight: 500;
}

.highlight {
  color: #ff3b30;
  font-weight: 700;
}

.confirm-text {
  margin: 25px 0;
}

.confirm-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-cancel {
  background: #f5d08a;
  border: none;
  padding: 14px 40px;
  border-radius: 40px;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  width: 160px;
}

.btn-ok {
  background: #ffb000;
  border: none;
  padding: 14px 50px;
  border-radius: 40px;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  width: 160px;
}

.age-confirm-content {
  font-size: 18px;
  font-weight: 500;
}

.age-confirm-content p:first-child {
  margin-bottom: 6px;
}


/* =============================
   Credit Charge Page
============================= */

.credit-charge-page {
  padding: 60px 20px;
}

.credit-charge-box {
  max-width: 930px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 35px 40px;
}

.credit-charge-heading {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.credit-charge-text {
  font-size: 14px;
  margin-bottom: 20px;
  color: #555;
}

.credit-charge-current {
  background: #f4f4f4;
  padding: 8px 14px;
  display: inline-block;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 30px;
}

.credit-charge-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.credit-charge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 24px;
}

.credit-charge-coin-main {
  font-size: 20px;
  font-weight: 700;
}

.credit-charge-coin-main span {
  font-size: 14px;
  margin-left: 4px;
}

.credit-charge-button {
  position: relative;
  min-width: 180px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #111;
  background: linear-gradient(90deg, #ffd34d, #ffb000);
}

.credit-charge-button .arrow {
  position: absolute;
  right: 18px;
  font-size: 28px;
  transform: translateY(-3px);
}

.credit-charge-button:hover {
  opacity: 0.9;
}

.coin-icon-img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 3px;
  transform: translateY(-1px);
}

.credit-charge-coin-sub {
  font-size: 14px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.credit-coin-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.credit-charge-row:hover {
  background-color: #f0f4f7;
}

.credit-charge-tokusho {
  margin-top: 40px;
}

.credit-charge-tokusho-btn {
  display: block;
  width: 100%;
  line-height: 32px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  color: #222;
  border: 2px solid #cfcfcf;
  border-radius: 999px;
  transition: 0.2s;
}

.credit-charge-tokusho-btn:hover {
  background: #e9e9e9;
}


/* =============================
   Result Page
============================= */

.result-page {
  background: url("../images/bg1.png") repeat;
}

.result-heading {
  width: 100%;
}

.result-toolbar {
  width: 100%;
  background: #fff;
}

.result-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  font-weight: 500;
  font-size: 20px;
}

.result-toolbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.result-filter,
.result-sort,
.result-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  cursor: pointer;
}

.result-toolbar img {
  width: 25px;
}

.result-toolbar-right {
  display: flex;
  gap: 20px;
}

.result-container {
  max-width: 1000px;
  margin: 50px auto 100px;
  /* display: flex; */
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  display: grid;
  grid-template-columns: repeat(2, 450px);
}

.result-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  width: 450px;
  position: relative;
}

.result-card-image {
  width: 180px;
}

.result-card-placeholder {
  height: 230px;
  background: linear-gradient(135deg, #dcdcdc, #c4c4c4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.result-card-body {
  flex: 1;
  padding-left: 20px;
}

.result-card-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #666;
}

.result-card-status-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.result-status-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.result-card-check {
  display: none;
}

.result-card-check:checked~.result-card-body .result-card-dot {
  background: #f3c36a;
  border-color: #f3c36a;
}

.result-card-dot {
  width: 20px;
  height: 20px;
  border: 2px solid #cfd6dc;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  transition: 0.2s;
}

/* チェックマーク */
.result-card-check:checked~.result-card-body .result-card-dot::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.result-card:has(.result-card-check:checked) {
  border: 2px solid #ffb400;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.result-card-select-text {
  font-size: 13px;
  color: #999;
  margin-left: auto;
}

.result-card-check:checked~.result-card-body .result-card-select-text {
  color: #ffb400;
  font-weight: 600;
}

.result-card-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.result-card-type {
  font-size: 14px;
  font-weight: 500;
}

.result-card-title {
  font-weight: 600;
  margin: 10px 0 6px;
  font-size: 20px;
}

.result-card-id {
  font-weight: 500;
  font-size: 16px;
}

.result-card-title::before {
  content: "オリパ名：\A";
  white-space: pre;
  color: #777;
  font-weight: 600;
  font-size: 15px;
}

.result-card-id::before {
  content: "オリパID：\A";
  white-space: pre;
  color: #777;
  font-weight: 600;
  font-size: 15px;
}

.result-card-footer {
  margin-top: 40px;
}

.result-card-coin {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  justify-content: end;
  margin-bottom: 5px;
}

.result-card-coin img {
  width: 20px;
}

.result-card-limit {
  font-size: 14px;
  color: #777;
  font-weight: 500;
  text-align: right;
}

.result-card-limit::before {
  content: "🕒";
  margin-right: 3px;
}

/* 固定アクションバー */
.result-action-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 930px;
  background: #fff;
  padding: 20px;
  padding: 12px 20px 30px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  border-radius: 16px 16px 0 0;
}

.result-action-bar.is-close {
  transform: translate(-50%, calc(100% - 40px));
}

.action-toggle {
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
}

.result-action-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.result-selected-count {
  font-size: 15px;
  font-weight: 500;
}

.result-action-controls {
  display: flex;
  gap: 25px;
  transform: translateY(-12px);
}

.result-action-controls button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
}

.result-action-info {
  font-size: 14px;
}

.result-action-coin {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  font-size: 15px;
  font-weight: 500;
}

.result-action-coin img {
  width: 20px;
}

.result-action-buttons {
  display: flex;
  gap: 20px;
}

.result-action-buttons img {
  width: 100%;
  height: auto;
  cursor: pointer;
}

/* result モーダル */
.modal-return-text {
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
  font-weight: 500;
}

.modal-return-price {
  background: #f5f5f5;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 30px;
}

.modal-return-price .price-right {
  color: #ff3b30;
  font-weight: 600;
}

.modal-return-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 5px;
}

.modal-return-buttons .btn {
  width: 49%;
}

.modal-coin-return .btn-close-short {
  border: none;
  color: #999;
}

.modal-coin-return .btn-return {
  background: #fff;
}


/* =========================
 coin return complete
========================= */

.coin-return-complete {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.coin-return-card {
  width: 930px;
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


.coin-return-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.coin-return-title .spark {
  margin: 0 6px;
  width: 22px;
  height: auto;
}

.coin-return-price {
  margin: 0 auto 25px;
  width: 450px;
}

.coin-return-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.coin-return-buttons .btn {
  width: 280px;
}

.coin-return-complete .btn-close-short {
  border: none;
  color: #999;
  background: #eee;
}

.coin-return-oripa-inner {
  width: 580px;
  margin: 0 auto 60px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.coin-return-oripa-title {
  text-align: center;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
}

.coin-return-oripa-image {
  height: 260px;
  background: #cfcfcf;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}

.coin-return-oripa-buttons {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 32px 16px;
}

.coin-return-oripa-buttons .oripa-button-group {
  justify-content: center;
}

.coin-return-oripa-buttons .oripa-btn {
  min-width: 170px;
}

.coin-return-oripa-buttons .oripa-button-group:last-child {
  display: block;
  width: 100%;
}

.coin-return-oripa-buttons .oripa-button-group:last-child .oripa-button-wrap {
  width: 100%;
  flex: 1;
}

.coin-return-oripa-buttons .oripa-button-group:last-child .oripa-btn {
  width: 98%;
}

.coin-return-oripa-buttons .oripa-button-group {
  margin-bottom: 0;
}


/* =========================
      利用規約 
========================= */

.terms {
  background: #fff;
}

.terms-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 16px 60px;
}

.terms-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}

.terms-lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.terms-date {
  font-size: 16px;
  color: #777;
  margin-bottom: 30px;
  text-align: center;
}

.terms-section {
  margin-bottom: 52px;
}

.terms-section h2 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
}

.terms-section p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.terms-section ol {
  padding-left: 20px;
}

.terms-section li {
  font-size: 16px;
  line-height: 1.8;
}

.terms-history__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.terms-history__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-history__list li {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}


/* 規約同意バー */
.terms-confirm-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 9999;
}

.terms-confirm-inner {
  width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding: 20px 30px 25px;
  text-align: center;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.25);
}

.terms-confirm-text {
  margin-bottom: 20px;
  color: #111;
}

.terms-confirm-btn {
  width: 100%;
  height: 45px;
  background: #ffa500;
  border: none;
  border-radius: 999px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  font-size: 17px;
}



/* =========================
    プライバシーポリシー
========================= */

.privacy-page {
  background: #fff;
}

.privacy-page__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 16px 60px;
}

.privacy-page__title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}

.privacy-page__lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.privacy-page__updated {
  font-size: 16px;
  color: #777;
  margin-bottom: 30px;
  text-align: center;
}

.privacy-section {
  margin-bottom: 52px;
}

.privacy-section__title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
}

.privacy-section h3 {
  font-size: 16px;
  font-weight: 400;
}

.privacy-section p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.privacy-list {
  padding-left: 20px;
  margin-bottom: 20px;
}

ul.privacy-list {
  list-style: none;
}

.privacy-list li {
  font-size: 16px;
  line-height: 1.8;
}

.privacy-history__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.privacy-history__list {
  list-style: none;
  padding: 0;
}

.privacy-history__list li {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* ===== プライバシー同意バー ===== */
.privacy-confirm-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 9999;
}

.privacy-confirm-inner {
  width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding: 20px 30px 25px;
  text-align: center;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.25);
}

.privacy-confirm-text {
  margin-bottom: 20px;
  color: #111;
}

.privacy-confirm-btn {
  width: 100%;
  height: 45px;
  background: #ffa500;
  border: none;
  border-radius: 999px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  font-size: 17px;
}


/* =========================
    特商法
========================= */

.tokusho-page {
  background: #fff;
}

.tokusho-page__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 16px 60px;
}

.tokusho-page__title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.tokusho-page__updated {
  text-align: center;
  font-size: 16px;
  color: #777;
  margin-bottom: 40px;
}

.tokusho-section {
  margin-bottom: 52px;
}

.tokusho-section__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.tokusho-history__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.tokusho-history__list {
  list-style: none;
  padding: 0;
}

.tokusho-history__list li {
  font-size: 14px;
}


/* ==============================
payment-method
============================== */

.payment-page {
  /* padding:60px 20px; */
  padding: 40px 16px 60px;
}

.payment-page__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.payment-page__title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.payment-page__updated {
  text-align: center;
  color: #777;
  font-size: 16px;
  margin-bottom: 40px;
}


.payment-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e5e5e5;
}

.payment-section__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.payment-section p {
  line-height: 1.8;
  margin-bottom: 10px;
  color: #333;
}


.payment-card-list {
  margin-top: 10px;
  padding-left: 20px;
}

.payment-card-list li {
  margin-bottom: 8px;
}


.payment-history {
  margin-top: 40px;
}

.payment-history__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.payment-history__list {
  padding-left: 20px;
}

.payment-history__list li {
  margin-bottom: 6px;
}


/* ===============================
edit-profile
=============================== */

.edit-profile {
  padding: 60px 20px;
  background: #f4f4f4;
}

.edit-profile-inner {
  max-width: 930px;
  margin: 0 auto;
}

.edit-profile-card {
  background: #fff;
  border-radius: 10px;
  padding: 40px 60px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.edit-profile-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
}

.edit-profile-avatar-area {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.edit-profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
}

.edit-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edit-profile-avatar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  font-weight: 500;
}

.camera-icon {
  width: 16px;
  height: 16px;
}

.edit-profile-form {
  margin-bottom: 40px;
}

.edit-profile-label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}

.edit-profile-input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border-radius: 3px;
  /* border:1px solid #ddd; */
  border: none;
  font-size: 14px;
  background: #f4f4f4;
}

.edit-profile-submit {
  text-align: center;
}

.edit-profile-save {
  background: #f7a600;
  border: none;
  border-radius: 25px;
  height: 44px;
  width: 350px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}



/* =================
ランクカード
================= */

.rank-detail {
  padding: 40px 20px 60px;
}

.rank-detail .rank-wrap {
  max-width: 930px;
  margin: auto;
}

.rank-detail .rank-card {
  display: flex;
  justify-content: space-between;
  background-image: url("../images/beginner.png");
  background-size: cover;
  background-position: center;
  padding: 18px 36px;
  border-radius: 20px;
  color: #fff;
  margin-bottom: 20px;
  align-items: center;
}

.rank-detail .rank-card-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  height: 100%;
  gap: 10px;
}

.rank-detail .rank-name {
  font-size: 38px;
  font-weight: 700;
}

.rank-detail .rank-rate span:last-child {
  font-size: 24px;
  font-weight: 700;
  margin-left: 10px;
}

.rank-detail .rank-charge-btn {
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.rank-detail .rank-charge-btn a {
  display: block;
  text-align: center;
  background: #f7a600;
  padding: 18px;
  border-radius: 40px;
  font-weight: 700;
  margin: 20px 0;
  text-decoration: none;
  color: black;
}

.rank-detail .rank-current {
  text-align: center;
  margin: 40px 0;
}

.rank-detail .rank-current-name {
  font-size: 32px;
  font-weight: 700;
  color: #4f8de0;
}

.rank-detail .rank-progress-bar {
  height: 14px;
  background: #ddd;
  border-radius: 20px;
  margin: 20px 0 35px;
}

.rank-detail .rank-progress-fill {
  width: 5%;
  height: 100%;
  background: #4f8de0;
  border-radius: 20px;
}

.rank-next {
  background: #fff;
  border-radius: 8px;
  padding: 18px;
}

.rank-details {
  background: #fff;
  border-radius: 8px;
  padding-bottom: 30px;
}

.rank-detail .rank-box {
  border-radius: 12px;
  padding: 30px;
  margin-top: 30px;
}

.rank-detail .rank-section:first-child {
  padding-bottom: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid #ddd;
}

.rank-detail .rank-section p {
  margin-bottom: 15px;
}

.rank-detail .rank-section-title {
  display: inline-block;
  border: 2px solid #ffa500;
  color: #ffa500;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 700;
  margin-bottom: 10px;
}

.rank-detail .rank-warning-text {
  color: red;
}

.rank-detail .rank-flow {
  margin-top: 30px;
}

.rank-detail .rank-flow>div:first-child {
  margin: 15px 0;
  font-weight: 500;
}

.rank-detail .rank-flow-head {
  display: flex;
}

.rank-detail .rank-step {
  position: relative;
  flex: 1;
  text-align: center;
  color: #fff;
  padding: 4px 0;
  font-weight: 600;
}

.rank-step:nth-child(1) {
  background: #9a9a9a;
  flex: 2.65;
}

.rank-step:nth-child(2) {
  background: #777;
  flex: 3;
}

.rank-step:nth-child(3) {
  background: #555;
  flex: 3;
}

.rank-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 20px solid;
  z-index: 2;
}

.rank-step:nth-child(1)::after {
  border-left-color: #9a9a9a;
}

.rank-step:nth-child(2)::after {
  border-left-color: #777;
}

.rank-flow-body {
  display: grid;
  grid-template-columns:
    260px 270px 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 20px;
}

.rank-flow-left {
  background: #eee;
  padding: 30px 10px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  position: relative;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-flow-left::after {
  content: "▶";
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

.rank-flow-center {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rank-flow-condition {
  background: #eee;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  position: relative;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}


.rank-flow-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rank-flow-rank {
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  background-size: cover;
}


.rank-flow-rank {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-flow-rank:nth-child(1) {
  background-image: url("../images/silver_bg1.png");
}

.rank-flow-rank:nth-child(2) {
  background-image: url("../images/bronze_bg1.png");
}

.rank-flow-condition::after {
  content: "▶";
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

.rank-flow-keep {
  text-align: center;
  margin-top: 10px;
  font-weight: 600;
  border-bottom: 1px solid #ddd;
  padding-bottom: 30px;
}

.rank-detail .rank-benefits {
  margin-left: 30px;
}

.rank-detail .rank-benefits ::marker {
  color: #ffa500;
}

.rank-detail .rank-benefits p {
  margin-bottom: 10px;
}

.rank-detail .rank-benefits ol {
  padding-left: 1em;
}

.rank-detail .rank-benefits li {
  font-weight: 500;
  padding-bottom: 8px;
}

.rank-table {
  padding: 30px;
}

.rank-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #dcdcdc;
  font-size: 20px;
  table-layout: fixed;
}

.rank-table thead th {
  background: #fff;
  padding: 8px;
  font-weight: 600;
  text-align: center;
  font-size: 16px;
}

.rank-table tbody td {
  padding: 16px 10px;
  text-align: center;
  border-top: 1px solid #e6e6e6;
}

.rank-table tbody tr:nth-child(odd) {
  background: #f6f7f9;
}

.rank.beginner {
  background: url("../images/rank_beginner.png") center/cover;
}

.rank.bronze {
  background: url("../images/rank_bronze.png") center/cover;
}

.rank.silver {
  background: url("../images/rank_silver.png") center/cover;
}

.rank.gold {
  background: url("../images/rank_gold.png") center/cover;
}

.rank.platinum {
  background: url("../images/rank_platinum.png") center/cover;
}

.rank.diamond {
  background: url("../images/rank_diamond.png") center/cover;
}

.rank.vip {
  background: url("../images/rank_vip.png") center/cover;
}

.rank-table .rank {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 92% 86%;
}

.rank-bonus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}

.rank-coin {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.rank-detail .rank-feature {
  margin-left: 30px;
}

.rank-detail .rank-feature ::marker {
  color: #ffa500;
  font-weight: 600;
}

.rank-detail .rank-feature p {
  margin-bottom: 10px;
}

.rank-detail .rank-feature ol {
  padding-left: 1em;
}

.rank-detail .rank-notice {
  background: #eee;
  padding: 25px 40px;
  border-radius: 3px;
  margin: 30px 30px 0;
}

.rank-detail .rank-notice-title {
  text-align: center;
  color: #ff2a2a;
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 18px;
}

.rank-detail .rank-notice-list {
  list-style: disc;
  padding-left: 20px;
}

.rank-detail .rank-notice-list li {
  color: #ff2a2a;
  margin-bottom: 14px;
  line-height: 1.7;
}

@media (max-width:980px) {
  .rank-flow-body {
    grid-template-columns: 1fr 1fr 1fr;
  }
}


/* =========================
purchase tabs
========================= */

.purchase-tabs {
  display: flex;
  width: 100%;
  margin: 0 auto;
  background: #fff;
}

.purchase-tabs .result-inner {
  padding: 10px;
  display: flex;
  max-width: 1000px;
  width: 100%;
  gap: 20px;
}

.purchase-tab {
  flex: 1;
  height: 45px;
  border: none;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  position: relative;
  border-bottom: 1px solid #e5e5e5;
}

.purchase-tab.is-active {
  background: #f3f7fa;
}

.purchase-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #f6a400;
}

.result-toolbar-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.result-point,
.result-exchange {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  cursor: pointer;
}


/* =========================
ranking
========================= */
.ranking-heading {
  background: #f3f3f3;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
}

.ranking-tabs .result-inner {
  display: flex;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.ranking-tab {
  flex: 1;
  height: 48px;
  border: none;
  background: #fff;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.ranking-tab::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  background: #eee;
}

.ranking-tab.is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 3px;
  background: #f6a400;
}

.ranking-container {
  padding: 20px 0 50px;
}

.ranking-top {
  text-align: center;
  margin-bottom: 50px;
}

.ranking-top-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  background: url(../images/TOP.png) center/contain no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 12px;
}

.ranking-top-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.ranking-top-name-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.ranking-top-name {
  font-size: 18px;
  font-weight: 700;
}

.ranking-cracker-left {
  width: 35px;
}

.ranking-cracker-right {
  width: 35px;
}


.ranking-list {
  width: 100%;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
  border-bottom: 1px solid #e5e5e5;
}

.ranking-rank {
  width: 40px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.ranking-user {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ranking-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.ranking-user span {
  font-size: 16px;
}


/* ===============================
電話番号認証
=============================== */

.phone-auth {
  padding: 60px 20px;
}

.phone-auth-inner {
  max-width: 930px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: 40px 50px;
}

.phone-auth-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.phone-auth-text {
  color: #555;
  margin-bottom: 30px;
}

.phone-auth-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.phone-auth-input {
  width: 100%;
  height: 55px;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 0 15px;
  font-size: 16px;
  background: #f5f5f5;
}

.phone-auth-input:focus {
  border: 2px solid #ffad01;
  outline: none;
}

.phone-auth-btn {
  width: 300px;
  margin: 0 auto;
  height: 50px;
  border: none;
  border-radius: 30px;
  background: #f7a600;
  color: #000;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

.phone-auth-btn:hover {
  opacity: .9;
}

.sms-alert {
  position: fixed;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 290px;
  background: #2ca63a;
  color: #fff;
  border-radius: 6px;
  padding: 12px 14px 12px 22px;
  display: flex;
  align-items: center;
  gap: 10px;

  font-weight: 500;
  z-index: 9999;

  transition: top .4s ease;
}

.sms-alert.show {
  top: 20px;
}

.sms-alert-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: #2ca63a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}

.sms-alert-text {
  flex: 1;
}

.sms-alert-close {
  cursor: pointer;
  font-size: 16px;
}

/* ==========================
認証コード入力
========================== */

.auth-code {
  padding: 60px 20px;
}

.auth-code-inner {
  max-width: 930px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: 40px 50px;
}

.auth-code-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.auth-code-text {
  color: #555;
  margin-bottom: 30px;
}

.auth-code-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.auth-code-input {
  width: 100%;
  height: 55px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #f5f5f5;
  text-align: center;
  font-size: 24px;
  letter-spacing: 10px;
}

.auth-code-btn {
  width: 300px;
  margin: 0 auto;
  height: 50px;
  border: none;
  border-radius: 30px;
  background: #efc774;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.auth-code-resend {
  width: 300px;
  margin: 0 auto;
  height: 50px;
  border: none;
  border-radius: 30px;
  background: #ddd;
  color: #888;
  font-weight: 700;
  font-size: 16px;
}

.sms-alert.error {
  background: #ff3b30;
  width: 350px;
}

.sms-alert.error .sms-alert-icon {
  color: #ff3b30;
}

.sms-alert.success {
  background: #2ca63a;
  z-index: 9990;
}

.sms-alert.success .sms-alert-icon {
  color: #2ca63a;
}

.auth-code-input:focus {
  border: 2px solid #ffad01;
  outline: none;
}

.auth-code-btn.active {
  background: #ffad01;
  color: #fff;
  cursor: pointer;
}


/* ==========================
LINE連携
========================== */

.line-connect {
  padding: 60px 20px;
}

.line-connect-inner {
  max-width: 930px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: 40px 50px;
}

.line-connect-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.line-connect-text {
  color: #333;
  line-height: 1.8;
  margin-bottom: 35px;
}

.line-connect-btn-wrap {
  text-align: center;
}

.line-connect-btn {
  width: 320px;
  height: 50px;
  border: none;
  border-radius: 30px;
  background: #1DBF54;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

.line-connect-btn:hover {
  opacity: .9;
}


/* ===============================
   delivery-address
=============================== */
.delivery-address {
  padding: 60px 20px;
}

.delivery-address-inner {
  max-width: 930px;
  margin: 0 auto;
}

.delivery-address-box {
  background: #fff;
  border-radius: 10px;
  padding: 40px 60px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.delivery-address-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.delivery-address-text {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.delivery-address-empty {
  border: 2px dashed #ddd;
  border-radius: 5px;
  padding: 30px;
  text-align: center;
  color: #999;
  margin-bottom: 30px;
  font-size: 14px;
}

.delivery-address-empty .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ccc;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  margin-right: 6px;
}

.delivery-address-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn-add {
  width: 400px;
  height: 48px;
  border-radius: 30px;
  border: 2px solid #ffa500;
  background: #fff;
  color: #333;
  font-weight: 600;
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 15px;
}

.btn-submit {
  width: 400px;
  height: 48px;
  border-radius: 30px;
  border: none;
  background: #f3c97a;
  color: #fff;
  font-weight: 500;
  cursor: not-allowed;
  opacity: 0.7;
  font-size: 16px;
  letter-spacing: 2px;
}

.btn-submit.active {
  background: #ffa500;
  cursor: pointer;
  opacity: 1;
}

/*  登録済み住所 */
.delivery-address-registered {
  margin-top: 30px;
}

.delivery-address-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px solid #ffa500;
  border-radius: 10px;
  padding: 20px 25px;
  background: #fff;
  margin-bottom: 30px;
}

.address-label {
  color: #ffa500;
  font-weight: 700;
  margin-bottom: 10px;
}

.address-name,
.address-text,
.address-tel {
  margin-bottom: 6px;
  font-size: 14px;
}

.address-actions {
  position: absolute;
  right: 20px;
  bottom: 15px;
  display: flex;
  gap: 8px;
}

.address-actions button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
}

.address-actions img {
  width: 40px;
}

.address-note {
  width: 400px;
  height: 48px;
  background: #eee;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #999;
  margin-bottom: 15px;
}

/* 登録住所削除（delete modal） */
.delete-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.delete-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.delete-modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 440px;
  background: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
}

.delete-modal-text {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
}

.delete-modal-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.modal-cancel {
  width: 160px;
  height: 48px;
  border-radius: 30px;
  border: none;
  background: #eee;
  color: #999;
  font-weight: 600;
  cursor: pointer;
}

.modal-delete {
  width: 160px;
  height: 48px;
  border-radius: 30px;
  border: none;
  background: #ff3b30;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.delete-modal.is-active {
  display: block;
}


/* ===============================
   edit address
=============================== */
.edit-address {
  padding: 60px 0;
}

.edit-address-inner {
  width: 930px;
  margin: 0 auto;
}

.edit-address-box {
  background: #fff;
  border-radius: 10px;
  padding: 40px 60px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.edit-address-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 30px;
}

.edit-address .form-group {
  margin-bottom: 20px;
}

.edit-address .form-group label {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
}

.edit-address .required {
  color: red;
  font-size: 15px;
  font-weight: 600;
}

.edit-address .form-group input,
.edit-address .form-group select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 14px;
  background: #f9f9f9;
}

.edit-address .form-group select {
  appearance: none;
  background: #f9f9f9 url("../images/select-arrow.png") no-repeat right 15px center / 12px;
}

.edit-address hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 30px 0;
}

.edit-address .form-submit {
  text-align: center;
  margin-top: 40px;
}

.edit-address .submit-btn {
  width: 320px;
  height: 50px;
  border-radius: 30px;
  border: none;
  background: #ffa500;
  color: #000;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  letter-spacing: 1px;
}

/*  confirm modal */
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.confirm-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.confirm-modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  background: #fff;
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
}

.confirm-modal-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.confirm-address-box {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  text-align: left;
  margin-bottom: 20px;
  font-size: 14px;
}

.confirm-address-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.confirm-warning {
  border: 1px solid #ff4d4f;
  border-radius: 10px;
  padding: 15px;
  text-align: left;
  margin-bottom: 30px;
  color: #ff4d4f;
  font-size: 14px;
  font-weight: 600;
}

.confirm-modal .warning-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.confirm-address-title,
.confirm-modal .warning-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.confirm-modal .icon-home {
  width: 16px;
  height: 16px;
}

.confirm-modal .icon-warning {
  width: 16px;
}

.confirm-modal .confirm-buttons {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.confirm-modal .btn-confirm {
  width: 100%;
  height: 48px;
  border-radius: 30px;
  border: none;
  background: #ffa500;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
}

.confirm-modal .btn-cancel {
  width: 100%;
  height: 48px;
  border-radius: 30px;
  border: none;
  background: #eee;
  color: #999;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}

.confirm-modal.is-active {
  display: block;
}


/* =========================
   Coupon Page
========================= */
.coupon-page {
  /* background: #f5f5f5; */
  padding: 40px 0;
}

.coupon-container {
  width: 930px;
  max-width: 94%;
  margin: 0 auto;
  background: #fff;
  padding: 40px 60px;
  border-radius: 10px;
}

.coupon-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
}

.coupon-form {
  margin-bottom: 60px;
}

.coupon-label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

.coupon-input {
  width: 100%;
  height: 48px;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 12px;
  font-size: 14px;
  margin-bottom: 40px;
  background: #f8f8f8;
}

.coupon-input:focus {
  border: 2px solid #ffad01;
  outline: none;
}

.coupon-submit {
  display: block;
  margin: 0 auto;
  width: 300px;
  height: 48px;
  background: #ffa500;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 1px;
}

.coupon-history-title {
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

/*  Coupon Alert */
.coupon-alert {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  background: #ff3b30;
  color: #fff;
  /* padding: 12px 14px; */
  padding: 12px 14px 12px 22px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transition: .3s;
}

.coupon-alert.is-show {
  top: 20px;
}

.coupon-alert-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: #ff3b30;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
}

.coupon-alert-text {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
}

.coupon-alert-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

/* =========================
   Notification Page
========================= */

.notification-container {
  width: 730px;
  max-width: 95%;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
}

.notification-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
}

.notification-section {
  margin-bottom: 40px;
}

.notification-section-title {
  font-weight: 700;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.notification-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

/* Toggle Switch */
.switch {
  position: relative;
  width: 42px;
  height: 24px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 999px;
  transition: .3s;
}

.slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: .3s;
}

.switch input:checked+.slider {
  background: #2ecc71;
}

.switch input:checked+.slider::before {
  transform: translateX(18px);
}

/*  Alert */
.notification-alert {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  background: #28a745;
  color: #fff;
  /* padding: 12px; */
  padding: 12px 14px 12px 22px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transition: .3s;
}

.notification-alert.is-show {
  top: 20px;
}

.alert-icon {
  background: #fff;
  color: #28a745;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.alert-text {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
}

.alert-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
}


/* =========================
   Delete Account Page
========================= */

.delete-container {
  width: 730px;
  max-width: 95%;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  /* border-radius: 10px; */
}

.delete-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
}

.delete-section {
  margin-bottom: 30px;
}

.delete-heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.delete-text {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.highlight {
  color: #ff9900;
  font-weight: 700;
}

.danger {
  color: #ff3b30;
  font-weight: 700;
}

.delete-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 30px 0;
}

.delete-input {
  width: 100%;
  height: 48px;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 12px;
  margin-top: 30px;
  margin-bottom: 35px;
  background: #f8f8f8;
  font-size: 15px;
}

.delete-input:focus {
  border: 2px solid #ffad01;
  outline: none;
}

.delete-submit {
  width: 100%;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: #ccc;
  color: #999;
  font-weight: 700;
  cursor: not-allowed;
  letter-spacing: 1px;
  font-size: 15px;
}

.delete-submit.is-active {
  background: #ff3b30;
  cursor: pointer;
  color: #fff;
}


/* =========================
   Login Page
========================= */

.login-container {
  width: 730px;
  max-width: 95%;
  margin: 0 auto;
  background: #fff;
  padding: 40px 0;
  border-radius: 10px;
}

.login-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
}

.login-form {
  max-width: 650px;
  margin: 0 auto;
}

.login-label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 500;
}

.login-input {
  width: 100%;
  height: 45px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #f8f8f8;
  padding: 0 12px;
  margin-bottom: 20px;
}

.login-forgot {
  text-align: right;
  margin-bottom: 30px;
}

.login-forgot a {
  font-size: 14px;
  color: #333;
  text-decoration: underline;
  font-weight: 500;
}

.login-submit {
  display: block;
  margin: 0 auto;
  width: 300px;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: #ffa500;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
}


/* =========================
   creat-account Page
========================= */

.register-container {
  width: 730px;
  max-width: 95%;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  padding: 40px 0 80px;
}

.register-banner {
  margin-bottom: 30px;
}

.register-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
}

.register-social-btn,
.register-mail-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 680px;
    height: 42px;
  margin: 0 auto;
  margin-bottom: 25px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fff;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.register-social-btn:hover,
.register-mail-btn:hover {
    background: #f7f7f7;
}

.register-social-btn img,
.register-mail-btn img {
    position: absolute;
    left: 16px;
    width: 20px;
    height: auto;
    object-fit: contain;
}

.register-social-btn.apple img {
    width: 23px;
}

.register-social-btn.google img {
    width: 23px;
}

.register-note {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.register-divider {
  border-top: 1px solid #eee;
  margin: 30px 0;
}

.register-login-text {
  font-size: 14px;
  margin-bottom: 15px;
}

.register-login-btn {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 680px;
  height: 45px;
  border: 2px solid #ffa500;
  border-radius: 999px;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  line-height: 41px;
}

/* ===== create-account modal ===== */
.ca-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.ca-modal.is-open {
  display: block;
}

.ca-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.ca-modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 450px;
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
}

.ca-modal-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.ca-modal-text {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.ca-modal-link-text {
  color: red;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 500;
}

.ca-modal-main-btn {
  display: block;
  background: #ffa500;
  color: #000;
  padding: 12px;
  border-radius: 999px;
  font-weight: bold;
  margin: 0 auto;
  margin-bottom: 40px;
  text-decoration: none;
  max-width: 240px;
}

.ca-modal-main-btn.is-done {
  background: #2ca63a;
  color: #fff;
}

.ca-modal-btn {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 999px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
}

.ca-agree-terms,
.ca-agree-privacy {
  background: #ccc;
  margin-bottom: 20px;
  opacity: 0.5;
  cursor: not-allowed;
}

.ca-disabled {
  background: #eee;
  color: #999;
}

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

.ca-agree-terms.is-active {
  background: #ffa500;
  color: #000;
  opacity: 1;
  pointer-events: auto;
}

.ca-modal-btn.ca-agree-privacy.is-active {
  background: #ffa500;
  color: #000;
  opacity: 1;
  pointer-events: auto;
}



/* ====================
register-email-address
======================== */

.re-mail-container {
  width: 730px;
  margin: 0 auto;
  padding: 40px 40px 80px;
  text-align: center;
}

.re-mail-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
}

.re-mail-group {
  margin-bottom: 25px;
  text-align: left;
}

.re-mail-group:last-of-type {
  margin-bottom: 40px;
}

.re-mail-label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 14px;
}

.re-mail-input {
  width: 100%;
  height: 45px;
  padding: 0 15px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
  background: #f8f8f8;
}

.re-mail-input:focus {
  border-color: #ffad01;
  outline: none;
}

.re-mail-note {
  font-size: 14px;
  color: #777;
  margin-top: 6px;
}

.re-mail-submit {
  width: 100%;
  height: 45px;
  background: #ffad01;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  margin: 40px auto 35px;
  display: block;
  letter-spacing: 1px;
  font-size: 16px;
}


/* =================
create-account-done
==================== */

.cadone-page {
  padding: 60px 0;
}

.cadone-container {
  width: 930px;
  margin: 0 auto;

}

.cadone-box {
  border-radius: 12px;
  padding: 40px;
  background: #fff;
}

.cadone-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.cadone-text {
  color: #555;
  margin-bottom: 40px;
}

.cadone-btn {
  display: block;
  width: 400px;
  margin: 0 auto;
  background: #ffa500;
  padding: 14px;
  border-radius: 999px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  color: #000;
}

.cadone-alert {
  position: fixed;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: #2ca63a;
  color: #fff;
  padding: 12px 14px 12px 22px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transition: 0.4s;
  font-weight: 500;
  width: 300px;
}

.cadone-alert.show {
  top: 20px;
}

.cadone-alert-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: #2ca63a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.cadone-alert-close {
  margin-left: 10px;
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}


/* ======================
password reissue 
========================== */

.password-reissue {
  padding: 60px 0;
  /* background: #f7f7f7; */
}

.password-reissue-inner {
  width: 930px;
  max-width: 94%;
  margin: 0 auto;
  background: #fff;
  padding: 40px 50px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.password-reissue-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.password-reissue-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 30px;
}

.password-reissue-group {
  margin-bottom: 40px;
}

.password-reissue-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.password-reissue-input {
  width: 100%;
  height: 48px;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 15px;
  font-size: 14px;
  background: #f8f8f8;
}

.password-reissue-btn {
  display: block;
  margin: 0 auto;
  width: 320px;
  height: 45px;
  background: #ffa500;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  font-size: 16px;
}

/* ===== password reissue modal ===== */
.pr-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: none;
  z-index: 9999;
}

.pr-modal.is-active {
  display: block;
}

.pr-modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.pr-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 450px;
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
}

.pr-modal-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.pr-modal-text {
  font-size: 15px;
  color: #111;
  margin-bottom: 30px;
  line-height: 1.8;
}

.pr-modal-main-btn {
  width: 100%;
  height: 45px;
  background: #ffa500;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 25px;
  cursor: pointer;
}

.pr-modal-close-btn {
  width: 100%;
  height: 45px;
  background: #eee;
  border: none;
  border-radius: 999px;
  color: #999;
  cursor: pointer;
}


/* ==================
password change 
=================== */

.password-change {
  padding: 60px 0;
  /* background: #f7f7f7; */
}

.password-change-inner {
  width: 930px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 50px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.password-change-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 30px;
}

.password-change-group {
  margin-bottom: 40px;
}

.password-change-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.password-change-input {
  width: 100%;
  height: 48px;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 15px;
  font-size: 14px;
  background: #f8f8f8;
}

.password-change-btn {
  display: block;
  margin: 0 auto;
  width: 320px;
  height: 45px;
  background: #ffa500;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  font-size: 16px;
}

/* ===== password change alert ===== */
.pc-alert {
  position: fixed;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 540px;
  z-index: 9999;
  transition: all 0.4s ease;
}

.pc-alert.is-active {
  top: 20px;
}

.pc-alert-inner {
  background: #2ca63a;
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px;

  display: flex;
  align-items: center;
  gap: 10px;
}

.pc-alert-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: #2ca63a;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: bold;
  font-size: 12px;
}

.pc-alert-text {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
}

.pc-alert-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}


/* ================= 
mail auth 
==================== */

.mail-auth {
  padding: 60px 0;
  /* background: #f7f7f7; */
}

.mail-auth-inner {
  width: 930px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 50px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.mail-auth-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.mail-auth-desc {
  color: #555;
  margin-bottom: 15px;
}

.mail-auth-timer {
  color: red;
  margin-bottom: 25px;
  text-align: center;
}

.mail-auth-input {
  width: 100%;
  height: 55px;
  border: 1px solid #ccc;
  border-radius: 3px;
  text-align: center;
  font-size: 24px;
  letter-spacing: 10px;
  margin-bottom: 25px;
  background: #f5f5f5;
}

.mail-auth-input:focus {
  border: 2px solid #ffad01;
  outline: none;
}

.mail-auth-btn {
  width: 320px;
  height: 50px;
  background: #efc774;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  margin: 0 auto 25px;
  display: block;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
}

.mail-auth-btn.active {
  background: #ffa500;
}

.mail-auth-resend {
  width: 320px;
  height: 50px;
  background: #ddd;
  border: none;
  border-radius: 999px;
  color: #aaa;
  display: block;
  margin: 0 auto;
  color: #888;
  font-size: 16px;
  font-weight: 600;
}

/* ===== mail alert ===== */
.mail-alert {
  position: fixed;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 290px;
  z-index: 9999;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 22px;
  font-weight: 500;
  border-radius: 8px;
}

.mail-alert.show {
  top: 20px;
}

.mail-alert-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
}

.mail-alert.success {
  background: #2ca63a;
  color: #fff;
  z-index: 9990;
}

.mail-alert.success .mail-alert-icon {
  color: #2ca63a;
}

.mail-alert.error {
  background: #ff3b30;
  color: #fff;
  width: 350px;
}

.mail-alert.error .mail-alert-icon {
  color: #ff3b30;
}

.mail-alert-text {
  flex: 1;
}

.mail-alert-close {
  cursor: pointer;
  font-size: 18px;
}











/* ==============================================
==============================================
==============================================
                    S P 
==============================================
==============================================
=============================================== */

@media (max-width: 768px) {

  .pc {
    display: none;
  }

  .sp {
    display: inline-block;
  }


  /* =========================
      SP Header
========================= */
  .header-inner--pc {
    display: none;
  }

  .header-inner--sp {
    display: block;
    max-width: none;
    padding: 0 10px;
  }

  .header-top--sp {
    padding: 10px 0;
  }

    .header-top {
      padding: 10px 0;
  }

  .logo-img--sp {
    width: 94px;
    height: auto;
  }

  .header-sp-icons {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .status-item.coin {
    gap: 6px;
  }

  .coin-value {
    font-size: 15px;
  }

  .sp-circle {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-block;
    background-color: #fff;
  }

  .sp-circle--coin {
    background-image: url("../images/coin-icon.png");
    background-size: 80% 80%;
    background-repeat: no-repeat;
    background-position: center;
  }

  .sp-circle--point {
    background-image: url("../images/P.png");
    background-size: 80% 80%;
    background-repeat: no-repeat;
    background-position: center;
  }

  .sp-circle--notice {
    background-image: url("../images/bell_icon.png");
    background-size: 80% 80%;
    background-repeat: no-repeat;
    background-position: center;
  }

  .sp-circle--account {
    overflow: hidden;
    border-color: #ddd;
    background: #ddd;
    padding: 0;
  }

  .sp-circle--account img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }


  /* =========================
   SP マイページ
========================= */

  .account-panel {
    width: 100%;
  }

  .rank-title {
    font-size: 44px;
  }

  .metric-value {
    font-size: 24px;
  }

  .metric-label {
    font-size: 13px;
  }

  .stat2-label {
    font-size: 17px;
  }

  .stat2-value {
    font-size: 22px;

  }

  /* ===================================
        SP Nav
=================================== */
  .nav-category,
  .nav-tag {
    width: 100%;
  }

  .nav-category::-webkit-scrollbar,
  .nav-tag::-webkit-scrollbar {
    display: none;
  }

  .nav-category {
    background: #f7f7f7;
    border-bottom: 1px solid #e5e5e5;
  }

  .nav-category-scroll {
    display: flex;
    gap: 4px;

    overflow-x: auto;
    white-space: nowrap;
    flex: 1;
    min-width: 0;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-category-inner::-webkit-scrollbar {
    display: none;
  }

  .nav-category-scroll>a {
    position: relative;
    flex-shrink: 0;

    min-width: 64px;
    height: 44px;
    padding: 0 6px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 15px;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
    text-decoration: none;
  }

  .nav-category-scroll>a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 4px;
    background: #ff9f1a;
    transition: width 0.25s ease;
  }

  .nav-category-scroll>a.is-active::after {
    width: 100%;
  }

  .nav-category-inner .sort {
    margin-left: auto;
    flex-shrink: 0;
    position: sticky;
    right: 0;
    background: #f7f7f7;
    padding-left: 8px;
  }

  .nav-category-inner .sort {
    margin-left: auto;
    flex-shrink: 0;
    position: sticky;
    right: 0;
    background: #f7f7f7;
  }

  .sort-btn {
    height: 32px;
    padding: 0 6px;
    font-size: 13px;
    white-space: nowrap;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .sort-btn .arrow {
    font-size: 12px;
  }

  .sort {
    position: relative;
  }

  .sort-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: none;
    z-index: 100;
  }

  .sort-menu li a {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .sort.is-open .sort-menu {
    display: block;
  }

  .nav-tag {
    background: #ffffff;
    border-bottom: 1px solid #eee;
  }

  .nav-tag-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-tag-inner::-webkit-scrollbar {
    display: none;
  }

  .nav-tag-inner .tag-more-btn {
    position: sticky;
    left: 0;
    z-index: 2;
    flex-shrink: 0;
    background: #ffffff;
    padding: 6px 14px;
  }

  .nav-tag-inner>.tag {
    background: #ffffff;
    color: #999;
    border: 1px solid #ddd;
    font-weight: 600;
  }

  .nav-tag-inner>.tag:hover {
    background: #fff1e6;
    color: #ff6b00;
    border-color: #ffb48a;
  }

  .nav-tag-inner>.tag.is-active {
    background: #fff1e6;
    color: #ff6b00;
    border-color: #ffb48a;
  }

  /* =========================
      SP notice
========================= */
  .notice-inner {
    padding: 10px 12px;
  }

  .notice-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
  }

  .notice-message {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .notice-message span:first-child {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
  }

  .notice-off {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
  }

  .notice-remain {
    font-size: 13px;
    padding: 4px 12px;
    line-height: 1.2;
  }


  /* ====================
      SP  main 
===================== */
  .oripa-slider {
    margin: 0 auto 10px;
    padding-top: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .oripa-slider img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .oripa-slider .swiper-pagination {
    position: static;
    margin-top: 10px;
    text-align: center;
  }

  /* ====================
      SP  List 
===================== */
  .list {
    padding: 0;
  }

  .container--list {
    padding: 0;
  }

  .section-title {
    background: #ffffff;
    padding: 12px 16px;
    margin: 0;
  }

  .section-title-text {
    font-size: 16px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 22px 16px;
    border-radius: 0;
  }

  .oripa-card {
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    overflow: hidden;
  }

  .card-tags {
    padding: 8px 10px;
    gap: 6px;
  }

  .card-tag {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
  }

  .card-thumb {
    height: auto;
    background: #fff;
  }

  .card-body {
    padding: 10px 12px 12px;
    gap: 8px;
  }

  .card-info-row {
    align-items: center;
  }

  .card-price-icon {
    width: 24px;
    height: 24px;
  }

  .card-price-number {
    font-size: 18px;
  }

  .card-remain {
    font-size: 13px;
  }

  .card-progress {
    height: 10px;
    border-radius: 999px;
  }

  .card-progress-bar {
    height: 100%;
    border-radius: 999px;
  }

  .card-progress-wrap {
    max-width: 85%;
  }


  /* ====================
      SP  CTA
===================== */
  .cta-area {
    padding: 35px 0 40px;
  }

  .cta-inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 0 16px;
  }

  .cta-img-btn {
    width: 100%;
    display: block;
  }

  .cta-img-btn img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 999px;
  }

  .cta-faq img {
    content: url("../images/q_btn_sp.png");
  }

  .cta-info img {
    content: url("../images/info_btn_sp.png");
  }


  /* ====================
      SP  footer
===================== */
  .footer {
    padding: 18px 0 32px;
  }

  .footer-about {
    margin-bottom: 25px;
  }

  .footer-category-title,
  .footer-about-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
  }

  .footer-category-title::after,
  .footer-about-title::after {
    content: "";
    width: 12px;
    height: 12px;
    background: url("../images/arrow2.png") center / contain no-repeat;
    transition: transform .2s ease;
  }

  .footer-category {
    display: none;
    padding: 16px 0;
    margin-bottom: 0;
  }

  .footer-about-body {
    display: none;
    padding: 16px 0;
  }

  .footer-category-wrap.is-open .footer-category {
    display: block;
    text-align: left;
  }

  .footer-about.is-open .footer-about-body {
    display: block;
  }

  .footer-category-wrap.is-open .footer-category-title::after,
  .footer-about.is-open .footer-about-title::after {
    transform: rotate(180deg);
  }

  .footer-category a {
    display: inline-block;
    padding: 0 8px;
  }

  .footer-legal-wrap {
    border-top: 1px solid rgba(255, 255, 255, .15);
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    padding: 12px 0;
  }

  .footer-legal {
    display: block;
    padding: 0;
  }

  .footer-legal .sep {
    display: none;
  }

  .footer-legal a {
    display: block;
    padding: 6px 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    text-decoration: none;
    text-align: left;
  }

  .footer-cta {
    gap: 12px;
  }

  .footer-cta-x img {
    content: url("../images/X_btn_sp.png");
  }

  .footer-cta-contact img {
    content: url("../images/contact_btn_sp.png");
  }


  /* =========================
   SP Logout Modal
========================= */

  .logout-modal {
    padding: 25px 20px;
  }

  .logout-actions {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .logout-actions button {
    width: 100%;
    height: 50px;
    font-size: 16px;
    flex: none;
  }

  .logout-confirm {
    order: 1;
    background: #ff3b30;
    color: #fff;
  }

  .logout-cancel {
    order: 2;
    background: #e5e5e5;
    color: #999;
  }

  .logout-title {
    margin-bottom: 20px;
  }


  /* ====================
      SP  detail 
===================== */
  .detail-page {
    margin: 12px;
    border-radius: 0;
  }

  .detail-page .oripa-main-banner img {
    border-radius: 0;
    margin: 0;
  }

  .detail-page .card-tags {
    padding: 8px 15px;
  }

  .detail-page .card-body {
    padding: 0 15px;
  }

  .detail-page .card-remain {
    font-size: 13.5px;
  }

  .detail-page .card-progress {
    width: 90%;
  }

  .detail-page .oripa-notice .notice-toggle {
    font-size: 14px;
    padding: 10px 15px 2px;
  }

  .detail-page .oripa-notice .notice-content {
    padding: 12px 15px;
    font-size: 12px;
    margin: 0px 12px;
  }

  .detail-page .rank-title-img {
    max-width: 90%;
  }

  .detail-page .card-thumb img {
    width: 180px;
  }

  .detail-page .card-row img {
    width: 140px;
    margin: 0 8px;
  }

  .detail-page .card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 16px;
    justify-items: center;
  }

  .detail-page .card-grid img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0 8px;
  }

  .detail-page .last-one-note {
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 20px;
    max-width: 240px;
  }

  .detail-page .etc-note {
    font-size: 16px;
  }

  .detail-page .rank-block.etc {
    text-align: center;
    margin-bottom: 30px;
  }

  .detail-page .important-notes {
    margin: 0;
    padding: 12px;
  }

  .detail-page .important-notes .notes-box {
    border-radius: 2px;
    padding: 15px;
    font-size: 13px;
  }

  .detail-page .important-notes .notes-title {
    font-size: 15px;
  }

  .oripa-buttons {
    padding: 22px 16px;
  }

  .oripa-buttons .oripa-button-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
    margin-bottom: 20px;
  }

  .oripa-buttons .oripa-button-wrap {
    width: 100%;
  }

  .oripa-buttons .oripa-btn {
    width: 100%;
    min-width: auto;
  }

  .oripa-buttons .price {
    margin-top: 6px;
    font-size: 14px;
  }

  .oripa-buttons .oripa-button-group.trial {
    display: block;
    margin-bottom: 10px;
  }

  .oripa-buttons .oripa-button-group.trial .oripa-btn {
    width: 100%;
    min-width: auto;
    padding: 14px 24px;
    font-size: 16px;
  }

  .modal-content {
    width: 92%;
    padding: 20px;
  }

  .btn-primary {
    width: 50%;
    padding: 12px 0;
  }

  .btn-outline {
    width: 50%;
    padding: 12px 0;
  }

  .price-box {
    gap: 18px;
  }

  .price-left,
  .price-right {
    gap: 3px;
  }

  .price-box .before {
    font-size: 17px;
  }

  .price-box .unit {
    font-size: 13px;
  }

  .price-box .arrow {
    font-size: 13px;
  }

  .price-box .after {
    font-size: 17px;
  }


  /* ====================
      SP  Deposit Page
===================== */

  .deposit-container {
    padding: 28px 20px 40px;
  }

  .deposit-title {
    font-size: 20px;
  }

  .deposit-method-card {
    padding: 18px 0;
  }

  .deposit-method-right {
    gap: 6px;
  }

  .deposit-method-name {
    font-size: 16px;
    letter-spacing: -0.5px;
  }

  .deposit-brand-icons {
    gap: 12px;
  }

  .deposit-brand-icons img {
    height: 25px;
  }

  .deposit-arrow {
    width: 25px;
    height: 25px;
  }

  .deposit-arrow::before {
    font-size: 24px;
  }

  .deposit-modal {
    width: 90%;
    padding: 20px;
  }

  .age-label {
    gap: 0;
    min-width: 165px;
  }

  .age-option {
    gap: 10px;
  }

  .confirm-buttons {
    gap: 5%;
  }

  /* =============================
  SP Credit Charge Page
============================= */

  .credit-charge-page {
    padding: 20px 15px;
  }

  .credit-charge-box {
    padding: 20px 18px;
  }

  .credit-charge-heading {
    font-size: 18px;
  }

  .credit-charge-current {
    padding: 12px 14px;
  }

  .credit-charge-row {
    padding: 5px;
  }

  .credit-charge-button {
    min-width: 160px;
  }


  /* =============================
   SP Result Page
============================= */
  .result-container {
    margin: 30px auto 100px;
    display: flex;
  }

  .result-card {
    width: 94%;
  }

  .result-card {
    padding: 15px 12px;
  }

  .result-card-image {
    width: 42%;
  }

  .result-card-placeholder {
    height: 100%;
  }

  .result-card-type {
    font-size: 13px;
  }

  .result-card-body {
    padding-left: 10px;
  }

  .result-status-icon {
    width: 20px;
    height: 20px;
  }

  .result-card-status-left {
    gap: 3px;
  }

  .result-card-title {
    font-size: 18px;
  }

  .result-action-bar {
    width: 100%;
  }

  .result-action-top {
    margin-right: -10px;
  }

  .result-action-buttons {
    gap: 15px;
  }

  .modal-return-text {
    margin-bottom: 20px;
  }


  /* =========================
 SP coin return complete
========================= */

  .coin-return-card {
    width: 100%;
    padding: 20px 25px 25px;
  }

  .coin-return-price {
    width: 100%;
  }

  .coin-return-oripa {
    padding: 20px 15px;
  }

  .coin-return-oripa-inner {
    width: 100%;
    margin-bottom: 10px;
  }

  .coin-return-complete {
    padding: 20px 15px;
  }

  .coin-return-title {
    font-size: 20px;
  }

  .coin-return-title .spark {
    margin: 0;
    width: 20px;
  }

  .coin-return-oripa-buttons {
    padding: 22px 16px;
  }

  .coin-return-oripa-buttons .oripa-button-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 10px;
    margin-bottom: 8px;
    width: 100%;
  }

  .coin-return-oripa-buttons .oripa-button-wrap {
    width: 100%;
  }

  .coin-return-oripa-buttons .oripa-button-group:last-child {
    margin-bottom: 0;
  }

  .coin-return-oripa-buttons .oripa-btn {
    width: 100%;
    min-width: auto;
    font-size: 15px;
    padding: 12px;
  }

  .coin-return-oripa-buttons .price {
    margin-top: 6px;
    font-size: 14px;
  }

  .coin-return-oripa-buttons .oripa-button-group.trial {
    display: block;
    margin-bottom: 10px;
  }

  .coin-return-oripa-buttons .oripa-button-group.trial .oripa-btn {
    width: 100%;
    min-width: auto;
    font-size: 16px;
    padding: 15px;
    font-weight: 500;
  }


  /* =========================
      SP 利用規約 
========================= */

  .terms-inner {
    padding: 20px 16px 60px;
  }

  .terms-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .terms-confirm-inner {
    width: 100%;
  }


  /* =========================
      SP プライバシー
========================= */

  .privacy-page__inner {
    padding: 20px 16px 60px;
  }

  .privacy-page__title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .privacy-confirm-inner {
    width: 100%;
  }


  /* =========================
      SP 特商法
========================= */

  .tokusho-page__inner {
    padding: 20px 16px 60px;
  }

  .tokusho-page__title {
    font-size: 20px;
  }

  .tokusho-section__title {
    font-size: 18px;
  }


  /* =========================
      SP お支払い方法
========================= */
  .payment-page {
    padding: 20px 16px 60px;
  }

  .payment-page__title {
    font-size: 22px;
  }

  .payment-page__title {
    margin-bottom: 20px;
  }


  /* ===============================
　　SP　edit-profile
=============================== */

  .edit-profile-title {
    margin-bottom: 16px;
  }

  .edit-profile-card {
    padding: 20px 20px;
  }

  .edit-profile-save {
    border-radius: 30px;
    height: 54px;
    width: 200px;
  }



  /* ===============================
　　SP　ランクカード
=============================== */

  .rank-detail {
    padding: 20px 15px 40px;
  }

  .rank-detail .rank-wrap {
    max-width: 520px;
    margin: auto;
  }

  .rank-detail .rank-card {
    padding: 16px;
    border-radius: 8px;
    gap: 10px;
  }

  .rank-detail .rank-label,
  .rank-detail .rank-sub,
  .rank-detail .rank-rate {
    font-size: 12px;
    font-weight: 500;
  }

  .rank-detail .rank-rate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .rank-detail .rank-rate span:last-child {
    font-size: 22px;
  }

  .rank-detail .rank-name {
    font-size: 30px;
  }

  .rank-detail .rank-current {
    margin: 20px 0 40px;
  }

  .rank-detail .rank-next {
    border-radius: 4px;
    padding: 12px;
  }

  .rank-detail .rank-section:first-child {
    margin-top: 10px;
  }

  .rank-detail .rank-details {
    border-radius: 8px;
    padding-bottom: 14px;
  }

  .rank-detail .rank-box,
  .rank-detail .rank-benefits,
  .rank-detail .rank-table,
  .rank-detail .rank-feature,
  .rank-detail .rank-notice {
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    margin-left: 0;
  }

  .rank-detail .rank-section-title {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    color: #f5a623;

    border: 1px solid #f5a623;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
  }

  .rank-detail .rank-detail p {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 10px;
  }

  .rank-detail .rank-feature p {
    margin-bottom: 6px;
    font-weight: 400;
  }

  .rank-detail .rank-warning-text {
    font-size: 13px;
    color: #ff4a4a;
  }

  .rank-detail .rank-flow {
    margin-top: 12px;
  }

  .rank-detail .rank-flow-head {
    margin-top: 10px;
  }

  .rank-detail .rank-step {
    font-size: 12px;
  }

  .rank-step:not(:last-child)::after {
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
  }

  .rank-detail .rank-flow-keep {
    font-size: 13px;
    text-align: center;
    margin-top: 8px;
  }

  .rank-flow-body {
    gap: 20px;
    font-size: 13px;
    margin-top: 13px;
  }

  .rank-flow-left::after {
    right: -18px;
  }

  .rank-flow-condition::after {
    right: -18px;
  }

  .rank-detail .rank-benefits ol {
    padding-left: 18px;
  }

  .rank-detail .rank-benefits li {
    margin-bottom: 6px;
  }

  .rank-detail .rank-table {
    overflow-x: auto;
    margin-top: 0;
    padding: 12px;
  }

  .rank-detail .rank-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
  }

  .rank-detail .rank-table th {
    padding: 10px 6px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
  }

  .rank-detail .rank-table td {
    padding: 10px 6px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
  }

  .rank-detail .rank-table .rank {
    border-radius: 6px;
    padding: 6px 10px;
    font-weight: 600;
    font-size: 12px;
  }

  .rank-detail .rank-bonus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .rank-detail .rank-coin {
    width: 16px;
  }

  .rank-detail .rank-feature ol {
    padding-left: 18px;
  }

  .rank-detail .rank-feature li {
    margin-bottom: 14px;
  }

  .rank-detail .rank-notice {
    background: #f5f5f5;
    text-align: center;
    margin: 0 12px;
    border-radius: 0;
  }

  .rank-detail .rank-notice-title {
    color: #ff4a4a;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 16px;
  }

  .rank-detail .rank-notice-list {
    text-align: left;
    font-size: 13px;
    line-height: 1.6;
  }

  /* =========================
SP purchase tabs
========================= */

  .purchase-tabs .result-inner {
    gap: 10px;
  }

  .result-toolbar-left {
    gap: 20px;
  }


  /* =========================
SP ranking
========================= */
  .ranking-tabs .result-inner {
    padding: 8px;
  }

  .ranking-tab::before {
    left: 5px;
    right: 5px;
  }

  .ranking-tab.is-active::after {
    left: 5px;
    right: 5px;
  }

  .ranking-item {
    gap: 10px;
  }

  .ranking-tab {
    font-size: 17px;
  }

  /* ===============================
SP 電話番号認証
=============================== */

  .phone-auth {
    padding: 20px;
  }

  .phone-auth-inner {
    padding: 20px;
  }

  .phone-auth-text {
    font-size: 15px;
  }

  .phone-auth-input {
    border-radius: 4px;
  }

  .phone-auth-btn {
    width: 270px;
  }

  /* ==========================
SP 認証コード入力
========================== */

  .auth-code {
    padding: 20px;
  }

  .auth-code-inner {
    padding: 20px;
  }

  .auth-code-text {
    font-size: 15px;
  }

  .auth-code-input {
    border-radius: 4px;
  }

  .auth-code-btn,
  .auth-code-resend {
    width: 270px;
    margin-bottom: 10px;
  }


  /* ==========================
SP LINE連携
========================== */

  .line-connect {
    padding: 20px;
  }

  .line-connect-inner {
    padding: 20px;
  }

  .line-connect-text {
    font-size: 15px;
  }

  .line-connect-btn {
    width: 100%;
    max-width: 320px;
  }

  .line-connect-btn-wrap {
    margin-bottom: 10px;
  }

  /* ===============================
   SP delivery-address
=============================== */

  .delivery-address {
    padding: 20px;
  }

  .delivery-address-box {
    padding: 20px;
    padding-bottom: 30px;
  }

  .delivery-address-buttons button,
  .delivery-address-buttons .address-note {
    width: 100%;
    max-width: 320px;
  }

  .delivery-address-card {
    padding: 15px 18px 58px;
  }

  .address-actions {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .delete-modal-box {
    max-width: 440px;
    width: 92%;
    padding: 20px;
  }

  .delete-modal-buttons {
    flex-direction: column;
    gap: 20px;
  }

  .delete-modal-buttons .modal-cancel,
  .delete-modal-buttons .modal-delete {
    width: 100%;
  }

  /* ===============================
   SP edit address
=============================== */

  .edit-address {
    padding: 20px 10px;
  }

  .edit-address-inner {
    width: 100%;
  }

  .edit-address-box {
    padding: 20px 15px;
    border-radius: 8px;
  }

  .edit-address-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .edit-address .form-group {
    margin-bottom: 16px;
  }

  .edit-address .form-group label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .edit-address .form-group input,
  .edit-address .form-group select {
    height: 44px;
    font-size: 14px;
    padding: 0 12px;
  }

  .edit-address .form-group select {
    background-size: 10px;
    background-position: right 12px center;
  }

  .edit-address hr {
    margin: 20px 0;
  }

  .edit-address .form-submit {
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .edit-address .submit-btn {
    width: 100%;
    height: 52px;
    font-size: 16px;
    border-radius: 30px;
  }

  .confirm-modal-box {
    max-width: 450px;
    width: 92%;
    padding: 20px;
  }

  .confirm-modal .confirm-buttons {
    margin-bottom: 10px;
  }

  /* =========================
   SP Coupon Page
========================= */
  .coupon-container {
    padding: 25px 20px;
  }

  .coupon-submit {
    width: 100%;
  }

  /* =========================
   SP Notification Page
========================= */

  .notification-container {
    padding: 25px 20px;
  }


  /* =========================
   SP Delete Account Page
========================= */

  .delete-container {
    padding: 25px 20px;
  }

  .delete-submit {
    height: 50px;
  }

  /* =========================
  SP  Login Page
========================= */
  .login-container {
    padding: 25px 20px;
    max-width: 100%;
  }

  .login-submit {
    width: 100%;
    margin-bottom: 20px;
    max-width: 300px;
  }

  /* =========================
   SP creat-account Page
========================= */

  .register-container {
    padding: 25px 20px 50px;
    max-width: 98%;
  }

  .register-mail-btn {
    height: 45px;
  }

  .register-login-btn {
    height: 45px;
    line-height: 45px;
  }

  .register-banner img {
    width: 100%;
  }

  .ca-modal-box {
    width: 90%;
  }


  /* ====================
SP register-email-address
======================== */

  .re-mail-container {
    padding: 25px 20px 50px;
    width: 98%;
  }

  /* =================
SP create-account-done
==================== */

  .cadone-page {
    padding: 40px 0;
  }

  .cadone-container {
    width: 90%;
  }

  .cadone-box {
    padding: 25px 20px;
  }

  .cadone-title {
    font-size: 20px;
  }

  .cadone-box p {
    font-size: 15px;
  }

  .cadone-btn {
    width: 100%;
    margin-bottom: 10px;
  }

  /* ======================
password reissue 
========================== */

  .password-reissue {
    padding: 40px 0;
  }

  .password-reissue-inner {
    padding: 25px 20px;
  }

  .password-reissue-btn {
    width: 100%;
  }

  .pr-modal-content {
    width: 90%;
    padding: 30px 20px;
  }

  /* ==================
SP password change 
=================== */

  .password-change {
    padding: 40px 0;
  }

  .password-change-inner {
    width: 90%;
    padding: 30px 20px;
  }

  .password-change-btn {
    width: 100%;
  }

  .pc-alert {
    max-width: 320px;
  }

  .pc-alert-inner {
    padding: 14px 18px;
    gap: 9px;
  }


  .password-change-inner {
    width: 90%;
    padding: 30px 20px;
  }




  .mail-auth-inner {
    width: 90%;
    padding: 30px 20px;
  }

  .mail-auth {
    padding: 40px 0;
  }


}