@charset "utf-8";
/* ============================================
   INFO PAGES — 下層ページ共通ヘッダー
============================================ */
.info-page-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 160px 48px 48px;
  text-align: center;
}
.info-page-header h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 24px;
  letter-spacing: 4.8px;
  line-height: 36px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.info-page-header + div { padding-top: 48px; }
@media (max-width: 768px) {
  .info-page-header {
    padding: 120px 24px 48px;
  }
  .info-page-header h1 {
    font-size: 18px;
    letter-spacing: 4px;
  }
}

/* ============================================
   INDEX PAGE — デモハブ
============================================ */
.demo-hub {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: var(--loa-bg-footer);
}

.demo-hub-logo {
  margin-bottom: 64px;
}

.demo-hub-title {
  font-size: 11px;
  letter-spacing: 3px;
  color: #999;
  margin-bottom: 48px;
  text-align: center;
}

.demo-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 100%;
  max-width: 720px;
}

.demo-card {
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
  border: 1px solid rgba(0,0,0,0.16);
  transition: border-color 0.3s, background 0.3s;
  text-decoration: none;
}

.demo-card:hover {
  border-color: rgba(0,0,0,0.48);
  background: rgba(0,0,0,0.03);
}

.demo-card-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: #999;
  margin-bottom: 16px;
}

.demo-card-title {
  font-size: 20px;
  font-weight: 100;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.demo-card-desc {
  font-size: 12px;
  line-height: 1.8;
  color: var(--loa-text-muted);
  flex: 1;
}

.demo-card-arrow {
  margin-top: 28px;
  font-size: 12px;
  color: var(--loa-text-muted);
  letter-spacing: 1px;
}

@media screen and (max-width: 600px) {
  .demo-cards {
    grid-template-columns: 1fr;
  }
  .demo-card {
    padding: 28px 24px;
  }
}

/* デモハブ v2 — jade-japan.com 入口版 */
.demo-hub-desc {
  max-width: 560px;
  text-align: center;
  font-size: 13px;
  line-height: 1.9;
  color: var(--loa-text-muted);
  margin-bottom: 40px;
}

.demo-card--main {
  width: 100%;
  max-width: 480px;
  margin-bottom: 32px;
  border-color: rgba(0,0,0,0.36);
}

.demo-card--main .demo-card-title {
  font-size: 24px;
}

.demo-card--main .demo-card-arrow {
  color: #444;
  font-weight: 300;
}

.demo-sub-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}

.demo-sub-link {
  color: #999;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
  border-bottom: 1px solid rgba(0,0,0,0.16);
  padding-bottom: 1px;
}

.demo-sub-link:hover {
  opacity: 0.85;
}

.demo-sub-sep {
  color: #ccc;
}

/* ============================================
   MYPAGE — マイページ
============================================ */
.mypage-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 32px 100px;
}

.mypage-section {
  margin-bottom: 64px;
}

.mypage-section-title {
  font-size: 15px;
  letter-spacing: 2.5px;
  color: #555;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* アカウント情報 */
.mypage-account {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.1);
}

.mypage-account-name {
  font-size: 22px;
  font-weight: 100;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.mypage-account-email {
  font-size: 13px;
  color: #555;
  margin-bottom: 14px;
}

.mypage-rank {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 6px 14px;
  border: 1px solid var(--loa-accent);
  color: var(--loa-accent-dark);
}

.mypage-rank-dot {
  width: 6px;
  height: 6px;
  background: var(--loa-accent);
  border-radius: 50%;
}

/* 注文履歴 */
.order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.order-table thead th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #999;
  padding: 0 8px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  font-weight: 400;
}

.order-table tbody td {
  padding: 18px 8px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  vertical-align: middle;
  line-height: 1.5;
}

.order-table tbody tr:hover td {
  background: rgba(0,0,0,0.02);
}

.order-id {
  font-family: monospace;
  font-size: 12px;
  color: #555;
  letter-spacing: 0.3px;
}

.order-date {
  color: var(--loa-text-muted);
  white-space: nowrap;
}

.order-status {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.order-status--shipped {
  border: 1px solid rgba(255,210,80,0.5);
  color: rgba(255,210,80,0.9);
}

.order-status--delivered {
  border: 1px solid rgba(80,200,130,0.5);
  color: rgba(80,200,130,0.9);
}

.order-detail-link {
  font-size: 11px;
  color: var(--loa-text-muted);
  border-bottom: 1px solid rgba(0,0,0,0.16);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}

.order-detail-link:hover {
  opacity: 0.9;
}

/* お届け先 */
.mypage-address {
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.1);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
}

.mypage-address-text {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}

.mypage-address-zip {
  font-size: 12px;
  color: var(--loa-text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

/* お気に入り */
.mypage-favorites {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fav-item {
  display: block;
  transition: opacity 0.25s;
}

.fav-item:hover {
  opacity: 0.8;
}

.fav-img {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
  margin-bottom: 12px;
}

.fav-img::before {
  content: "";
  display: block;
  padding-top: 130%;
}

.fav-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.fav-name {
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.fav-price {
  font-size: 13px;
  color: #555;
}

.fav-remove {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #999;
  cursor: pointer;
  transition: opacity 0.2s;
}

.fav-remove:hover {
  opacity: 0.7;
}

/* mypage-hero / mypage-hero-label / mypage-hero-title は components.css で定義 */

.mypage-hero-user {
  font-size: 13px;
  color: var(--loa-text-muted);
}

@media screen and (max-width: 767px) {
  .mypage-wrap {
    padding: 56px 16px 80px;
  }
  .mypage-account {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mypage-address {
    grid-template-columns: 1fr;
  }
  .order-table thead th:nth-child(2),
  .order-table tbody td:nth-child(2) {
    display: none;
  }
  .mypage-favorites {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ============================================
   LEGAL PAGES — プライバシーポリシー・特商法
============================================ */
.legal-page {
  padding-top: 160px;
}

.legal-page * {
  border: none !important;
}


.legal-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 32px 80px;
  border: none;
}

.legal-title {
  font-weight: 300;
  font-size: 24px;
  letter-spacing: 4.8px;
  line-height: 36px;
  margin-bottom: 48px;
  text-align: center;
  border: none;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

@media screen and (max-width: 767px) {
  .legal-page {
    padding-top: 120px;
  }
  .legal-inner {
    padding: 32px 16px 60px;
  }
  .legal-title {
    font-size: 18px;
    letter-spacing: 4px;
  }
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}

.legal-lead {
  font-size: 14px;
  line-height: 2;
  color: #555;
  margin-bottom: 48px;
}

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

.legal-heading {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.legal-body {
  font-size: 13px;
  line-height: 1.8;
  color: #333;
}

.legal-body h2 {
  font-size: 14px;
  font-weight: 500;
  margin: 40px 0 12px;
}

.legal-body h3 {
  font-size: 13px;
  font-weight: 500;
  margin: 24px 0 8px;
}

.legal-body p {
  margin-bottom: 12px;
}

.legal-body ul,
.legal-body ol {
  margin: 8px 0 16px 0;
  padding-left: 24px;
  list-style: none;
}

.legal-body ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
}

.legal-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ccc;
}

.legal-body ol {
  list-style: decimal;
  padding-left: 2em;
  margin: 8px 0 16px;
}

.legal-body ol li {
  margin-bottom: 6px;
  padding-left: 4px;
}

.legal-body ol.sub-list {
  list-style-type: none;
  padding-left: 1.5em;
}

.legal-body ol.sub-list li {
  padding-left: 0;
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13px;
}

.legal-body table th,
.legal-body table td {
  padding: 10px 16px 10px 0;
  text-align: left;
  vertical-align: top;
}

.legal-body table th {
  font-weight: 400;
  color: #999;
  white-space: nowrap;
  padding-right: 32px;
}

/* 利用規約等のテキスト整形 */
.legal-body p {
  text-indent: 0;
  hanging-punctuation: first;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.legal-list li {
  font-size: 13px;
  line-height: 2;
  color: #555;
  padding-left: 16px;
  position: relative;
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 4px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
}

.legal-date {
  font-size: 12px;
  color: #999;
  margin-top: 56px;
  line-height: 1.8;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.legal-table th,
.legal-table td {
  padding: 18px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  vertical-align: top;
  line-height: 1.9;
}

.legal-table th {
  width: 180px;
  font-weight: 400;
  color: var(--loa-text-muted);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.legal-table td {
  color: #444;
}

@media screen and (max-width: 767px) {
  .legal-content {
    padding: 32px 16px 60px;
  }
  .legal-table th {
    display: block;
    width: auto;
    padding-bottom: 4px;
    border-bottom: none;
  }
  .legal-table td {
    display: block;
    padding-top: 0;
  }
}

/* ==========================================
   Info Pages (Guide / Shipping / Returns)
   ========================================== */
.info-page-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}

.info-section {
  margin-bottom: 56px;
}

.info-section-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.info-text {
  font-size: 14px;
  line-height: 2;
  color: #555;
  margin-bottom: 16px;
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  font-size: 14px;
  line-height: 2;
  color: #555;
  padding-left: 16px;
  position: relative;
}

.info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 4px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
}

.info-note {
  font-size: 12px;
  color: var(--loa-text-muted);
  margin-top: 12px;
  line-height: 1.8;
}

.info-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.info-step-num {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 2px;
  color: #999;
  white-space: nowrap;
  min-width: 60px;
}

.info-step-text {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.info-table th,
.info-table td {
  font-size: 14px;
  line-height: 1.8;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  font-weight: 500;
  white-space: nowrap;
  width: 140px;
  color: #555;
}

.info-table td {
  color: #555;
}

@media screen and (max-width: 767px) {
  .info-page-wrap {
    padding: 32px 16px 60px;
  }
  .info-table th {
    width: 100px;
    font-size: 13px;
    padding: 10px 8px;
  }
  .info-table td {
    font-size: 13px;
    padding: 10px 8px;
  }
}

/* ============================================
   MYPAGE SUB PAGES (account / orders / order-detail / address)
============================================ */
/* mypage-hero-label a は components.css で定義 */

/* フォームアクション */
.mypage-form-actions {
  margin-top: 40px;
  padding-top: 24px;
}

/* 退会リンク */
.mypage-withdraw {
  margin-top: 48px;
  text-align: center;
}

.mypage-withdraw a {
  font-size: 11px;
  color: #999;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}

.mypage-withdraw a:hover {
  opacity: 0.6;
}

/* 注文詳細 — 情報グリッド */
.order-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.1);
}

.order-info-label {
  display: block;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--loa-text-muted);
  margin-bottom: 8px;
}

.order-info-value {
  font-size: 14px;
}

/* 注文詳細 — 商品行 */
.order-items {
  border-top: 1px solid rgba(0,0,0,0.1);
}

.order-item-row {
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.order-item-img {
  width: 64px;
  height: 64px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.order-item-name {
  font-size: 14px;
  margin-bottom: 4px;
}

.order-item-variant {
  font-size: 12px;
  color: #555;
}

.order-item-qty {
  font-size: 13px;
  color: #555;
}

.order-item-price {
  font-size: 14px;
  text-align: right;
  min-width: 80px;
}

/* 注文詳細 — 合計 */
.order-summary {
  padding: 20px 0;
  max-width: 320px;
  margin-left: auto;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #555;
  padding: 6px 0;
}

.order-summary-total {
  font-size: 16px;
  font-weight: 400;
  opacity: 1;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid rgba(0,0,0,0.12);
}

/* 注文詳細 — 情報ブロック */
.order-detail-block {
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.1);
  font-size: 14px;
  line-height: 1.9;
  color: #444;
}

/* 戻るリンク */
.order-back-link {
  margin-top: 16px;
  padding-bottom: 40px;
}

.order-back-link a {
  font-size: 13px;
  color: var(--loa-text-muted);
  transition: opacity 0.2s;
}

.order-back-link a:hover {
  opacity: 0.9;
}

/* 住所カード */
.address-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 16px;
}

.address-card-name {
  font-size: 15px;
  margin-bottom: 8px;
}

.address-card-zip {
  font-size: 12px;
  color: var(--loa-text-muted);
  margin-bottom: 4px;
}

.address-card-text {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 6px;
}

.address-card-tel {
  font-size: 12px;
  color: var(--loa-text-muted);
}

.address-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.address-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 8px 16px;
  border: 1px solid #333;
  font-size: 11px;
  letter-spacing: 1px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.address-card-btn:hover {
  background: #333;
  color: #fff;
}

.address-card-btn--delete {
  border-color: rgba(0,0,0,0.2);
  color: var(--loa-text-muted);
}

.address-card-btn--delete:hover {
  background: transparent;
  color: #c06;
  border-color: #c06;
  opacity: 1;
}

@media screen and (max-width: 767px) {
  .order-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .order-item-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .order-item-price {
    text-align: left;
  }
  .order-summary {
    max-width: 100%;
  }
  .address-card {
    grid-template-columns: 1fr;
  }
  .address-card-actions {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .legal-body table,
  .legal-body table tbody,
  .legal-body table tr,
  .legal-body table th,
  .legal-body table td {
    display: block;
    width: 100%;
  }
  .legal-body table th {
    padding: 12px 0 2px;
    white-space: normal;
  }
  .legal-body table td {
    padding: 2px 0 12px 16px;
  }
  .cart-page-wrap {
    padding: 0 20px 60px !important;
  }
}

/* ===== CART CHECKOUT ===== */
.cart-checkout-link {
  display: inline-block;
  padding: 12px 40px;
  background: #1a1a1a;
  color: #fff;
  font-size: 13px;
  letter-spacing: 2px;
  text-align: center;
  float: right;
}

@media (max-width: 768px) {
  .cart-checkout-link {
    display: block;
    float: none;
    padding: 14px 48px;
  }
}

/* ===== CART LINE ITEMS ===== */
.cart-line {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #e5e5e5;
  align-items: start;
}
.cart-line-img {
  background: #f0f0f0;
}
.cart-line-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-line-name {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
}
.cart-line-variant {
  font-size: 12px;
  color: #999;
}
.cart-line-price {
  font-size: 14px;
  margin-top: 4px;
}
.cart-line-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .cart-line {
    grid-template-columns: 88px 1fr;
    gap: 16px;
  }
}

