/*
Theme Name: mopple
Theme URI: https://example.com/mopple
Author: mopple team
Description: Apple-inspired WooCommerce theme for mopple.
Version: 1.0.0
Text Domain: mopple
*/

:root {
  --site-bg: #ffffff;
  --md-text-primary: #111827;
  --md-text-secondary: rgba(0, 0, 0, 0.56);
  --md-text-on-dark: #f5f5f7;
  --md-bg: #ffffff;
  --md-bg-muted: #f5f5f7;
  --md-bg-hero: #f5f5f7;
  --md-link: #2563eb;
  --md-blue: #2563eb;
  --md-nav-bg: rgba(255, 255, 255, 0.72);
  --md-content-max: 1024px;
  --md-hero-max: 896px;
  --md-shadow: rgba(0, 0, 0, 0.08) 0 8px 24px 0;
  --md-radius-pill: 980px;
  --md-header-height: 48px;
  --md-font-text: "SF Pro JP", "SF Pro Text", "SF Pro Icons",
    "Hiragino Kaku Gothic Pro", "Hiragino Kaku Gothic Pro W3", Meiryo,
    "MS PGothic", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --md-font-display: "SF Pro JP", "SF Pro Display", "SF Pro Icons",
    "Hiragino Kaku Gothic Pro", "Hiragino Kaku Gothic Pro W3", Meiryo,
    "MS PGothic", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.woocommerce,
.woocommerce-page,
body.woocommerce-cart,
body.woocommerce-checkout,
body.single-product {
  --wp--preset--color--primary: var(--md-blue);
  --wc-primary: var(--md-blue);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--md-text-primary);
  background: var(--md-bg);
  font-family: var(--md-font-text);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.357px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: var(--md-header-height);
}

body.admin-bar {
  padding-top: calc(32px + var(--md-header-height));
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    padding-top: calc(46px + var(--md-header-height));
  }
}

::selection {
  background: #fee2e2;
  color: var(--md-text-primary);
}

a {
  color: var(--md-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--md-header-height);
  background: transparent;
}

body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--md-nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid #f3f4f6;
  pointer-events: none;
}

.nav-inner {
  position: relative;
  z-index: 1;
  max-width: var(--md-content-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  color: #ef4444;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo:hover {
  opacity: 0.75;
  text-decoration: none;
}

.strawberry-logo {
  display: block;
}

.strawberry-logo--nav {
  width: 20px;
  height: 20px;
  --site-bg: rgba(255, 255, 255, 0.85);
}

.site-logo--nav {
  display: block;
  height: auto;
  width: auto;
  max-height: 28px;
  max-width: min(84px, 24vw);
  object-fit: contain;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  text-decoration: none;
}

.nav-icon:hover {
  color: #111827;
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: #6b7280;
  font-size: 12px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}

.site-nav a:hover {
  color: #111827;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #374151;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--md-blue);
  outline-offset: 2px;
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .site-nav {
    transition-duration: 0.01ms !important;
  }

  .nav-toggle-bar {
    transition-duration: 0.01ms !important;
  }
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  border-radius: var(--md-radius-pill);
  font-size: 17px;
  font-weight: 400;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--md-blue);
  border-color: var(--md-blue);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--md-blue);
  color: var(--md-blue);
}

.btn-pill:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

/* --- フロント: Apple 風ヒーロー・プロモ --- */
.apple-hero {
  --site-bg: #f5f5f7;
  background: #f5f5f7;
  color: #111827;
  padding: 80px 24px 48px;
  text-align: center;
  overflow: hidden;
}

.apple-hero-inner {
  max-width: var(--md-hero-max);
  margin: 0 auto;
}

.apple-hero-eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #dc2626;
  letter-spacing: 0.02em;
}

.apple-hero-title {
  margin: 0 0 16px;
  font-family: var(--md-font-display);
  font-size: clamp(40px, 10vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.apple-hero-lead {
  margin: 0 auto 32px;
  max-width: 560px;
  font-size: clamp(18px, 2.8vw, 24px);
  font-weight: 500;
  line-height: 1.35;
  color: #374151;
}

.apple-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 32px;
  margin-bottom: 48px;
}

.btn-apple-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: var(--md-radius-pill);
  background: #2563eb;
  color: #fff !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  border: none;
  transition: background 0.2s ease;
}

.btn-apple-primary:hover {
  background: #1d4ed8;
  text-decoration: none;
}

.apple-hero-link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2563eb !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
}

.apple-hero-link-more:hover {
  text-decoration: underline !important;
}

.apple-hero-link-more svg {
  transition: transform 0.2s ease;
}

.apple-hero-link-more:hover svg {
  transform: translateX(4px);
}

.apple-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.strawberry-logo--hero {
  width: min(280px, 70vw);
  height: auto;
  color: #ef4444;
  filter: drop-shadow(0 20px 40px rgba(239, 68, 68, 0.25));
}

.apple-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
  max-width: 1400px;
  margin: 0 auto;
}

.apple-promo-card {
  border-radius: 24px;
  padding: 48px 36px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
}

.apple-promo-card--dark {
  background: #000;
  color: #fff;
}

.apple-promo-card--light {
  background: #fafafa;
  color: #111827;
  border: 1px solid #f3f4f6;
}

.apple-promo-card-title {
  margin: 0 0 8px;
  font-family: var(--md-font-display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.apple-promo-card-desc {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  opacity: 0.92;
}

.apple-promo-card--light .apple-promo-card-desc {
  color: #4b5563;
}

.apple-promo-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: center;
  margin-top: 24px;
}

.apple-promo-card-links a {
  color: #60a5fa !important;
  font-size: 15px;
  text-decoration: none !important;
}

.apple-promo-card-links a:hover {
  text-decoration: underline !important;
}

.apple-promo-card-links--on-light a {
  color: #2563eb !important;
}

.apple-promo-card-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 24px;
}

.apple-promo-badge {
  width: 128px;
  height: 128px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.apple-promo-badge--gradient {
  background: linear-gradient(135deg, #ef4444 0%, #db2777 100%);
  --site-bg: #e11d48;
}

.strawberry-logo--promo-white {
  width: 64px;
  height: 64px;
  color: #fff;
  --site-bg: #e11d48;
}

.apple-promo-card-visual--pad {
  max-width: 320px;
  width: 100%;
}

.apple-promo-pad {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  box-shadow: var(--md-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.strawberry-logo--promo-faint {
  width: 80px;
  height: 80px;
  color: #ef4444;
  opacity: 0.2;
  --site-bg: #ffffff;
}

.apple-store-cta {
  padding: 80px 24px;
  background: #fff;
  border-top: 1px solid #f3f4f6;
}

.apple-store-cta-inner {
  max-width: var(--md-content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .apple-store-cta-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 40px;
  }
}

.apple-store-cta-heading {
  margin: 0 0 16px;
  font-family: var(--md-font-display);
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.apple-store-cta-text p {
  margin: 0;
  max-width: 400px;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.5;
}

.btn-apple-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--md-radius-pill);
  background: #111827;
  color: #fff !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.btn-apple-dark:hover {
  background: #000;
  text-decoration: none;
}

.btn-apple-dark svg {
  transition: transform 0.2s ease;
}

.btn-apple-dark:hover svg {
  transform: translateX(4px);
}

.apple-section-title {
  margin: 0 0 12px;
  font-family: var(--md-font-display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
}

.apple-section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-products-apple {
  background: #fafafa;
}

.section-products-apple .section-inner {
  max-width: 1400px;
}

.section {
  padding: 74px 20px;
}

.section-alt {
  background: var(--md-bg-muted);
}

.section-inner {
  max-width: var(--md-content-max);
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 14px;
  font-family: var(--md-font-display);
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 600;
}

.section-intro {
  max-width: 780px;
  margin: 0 0 34px;
  color: var(--md-text-secondary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--md-shadow);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-family: var(--md-font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: 0.231px;
}

.feature-card p {
  margin: 0;
}

.products-wrap .woocommerce ul.products {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.products-wrap .woocommerce ul.products li.product {
  width: auto;
  margin: 0;
  float: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--md-shadow);
  transition: transform 0.2s ease;
}

.products-wrap .woocommerce ul.products li.product:hover {
  transform: translateY(-2px);
}

.products-wrap .woocommerce ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.products-wrap .woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: block;
}

.products-wrap .woocommerce ul.products li.product .button {
  margin-top: auto;
}

.products-more {
  margin-top: 28px;
  text-align: center;
}

/* Shop archive may render without .products-wrap in some templates. */
.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
}

.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.woocommerce ul.products li.product .button {
  margin-top: auto;
}

.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce ul.products li.product .button.product_type_simple,
.woocommerce ul.products li.product .button.product_type_variable,
.woocommerce ul.products li.product .button.product_type_grouped,
.woocommerce ul.products li.product .button.product_type_external {
  width: 50%;
  min-width: 120px;
  justify-content: center;
  text-align: center;
}

.woocommerce ul.products li.product a.added_to_cart.wc-forward {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  margin-left: 10px;
  font-size: 13px;
  color: var(--md-link);
  vertical-align: middle;
  white-space: nowrap;
}

.products-wrap .woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--md-text-primary);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}

.products-wrap .woocommerce ul.products li.product .price {
  color: var(--md-text-primary);
  font-size: 14px;
  line-height: 1.47;
}

.products-wrap .woocommerce a.button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: var(--md-radius-pill);
  background: var(--md-blue);
  color: #fff;
  border: 1px solid var(--md-blue);
  font-weight: 400;
  padding: 8px 20px;
}

/* Force checkout action buttons to brand blue. */
.woocommerce-checkout #payment #place_order,
.woocommerce-page #payment #place_order,
.woocommerce-checkout button[name="woocommerce_checkout_place_order"],
.woocommerce-checkout .button.alt,
.wc-block-components-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  background: var(--md-blue) !important;
  border-color: var(--md-blue) !important;
  color: #fff !important;
  border-radius: var(--md-radius-pill) !important;
}

/* Some payment plugins use their own button class. */
.woocommerce .wc-block-components-button.wp-element-button,
.woocommerce .wc-block-components-checkout-place-order-button.wp-element-button,
.woocommerce button.wc-block-components-button,
.woocommerce a.wc-block-components-button {
  background: var(--md-blue) !important;
  border-color: var(--md-blue) !important;
  color: #fff !important;
}

/* Single product add-to-cart button. */
.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
.single-product .woocommerce div.product form.cart .single_add_to_cart_button.button,
.single-product .woocommerce button.single_add_to_cart_button,
.single-product .woocommerce .button.alt.single_add_to_cart_button {
  background: var(--md-blue) !important;
  border-color: var(--md-blue) !important;
  color: #fff !important;
  border-radius: var(--md-radius-pill) !important;
}

/* Hide express checkout buttons (e.g. Link) on product detail pages. */
.single-product .wc-stripe-product-checkout-container,
.single-product .wc-stripe-payment-request-wrapper,
.single-product .wc-stripe-payment-request-button,
.single-product .wcpay-payment-request-wrapper,
.single-product .wcpay-payment-request-button {
  display: none !important;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt,
.woocommerce-page:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt,
body.single-product .woocommerce button.button.alt,
body.single-product .woocommerce button.single_add_to_cart_button.button.alt {
  background-color: var(--md-blue) !important;
  border-color: var(--md-blue) !important;
  color: #fff !important;
}

/* WooCommerce core: anchor buttons (e.g. Proceed to checkout on cart). */
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce-page a.button.alt,
body.woocommerce-cart .woocommerce a.button.alt,
body.woocommerce-checkout .woocommerce a.button.alt {
  background-color: var(--md-blue) !important;
  border-color: var(--md-blue) !important;
  color: #fff !important;
}

/* Cart: coupon — input + apply button in one row (undo WC <p.form-row> stacking) */
.woocommerce #content table.cart td.actions .coupon,
.woocommerce table.cart td.actions .coupon,
.woocommerce-page #content table.cart td.actions .coupon,
.woocommerce-page table.cart td.actions .coupon {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 10px 12px;
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: 100%;
}

/* Let input + button share one flex row when wrapped in <p class="form-row"> */
.woocommerce #content table.cart td.actions .coupon > p,
.woocommerce table.cart td.actions .coupon > p,
.woocommerce-page #content table.cart td.actions .coupon > p,
.woocommerce-page table.cart td.actions .coupon > p {
  display: contents;
}

.woocommerce #content table.cart td.actions .coupon .form-row,
.woocommerce table.cart td.actions .coupon .form-row,
.woocommerce-page #content table.cart td.actions .coupon .form-row,
.woocommerce-page table.cart td.actions .coupon .form-row {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce #content table.cart td.actions .coupon label,
.woocommerce table.cart td.actions .coupon label,
.woocommerce-page #content table.cart td.actions .coupon label,
.woocommerce-page table.cart td.actions .coupon label {
  flex: 0 0 auto;
  margin: 0;
}

.woocommerce #content table.cart td.actions .coupon .input-text,
.woocommerce table.cart td.actions .coupon .input-text,
.woocommerce-page #content table.cart td.actions .coupon .input-text,
.woocommerce-page table.cart td.actions .coupon .input-text {
  flex: 0 1 200px;
  min-width: 0;
  width: auto !important;
  max-width: 220px;
  box-sizing: border-box;
  padding: 8px 12px;
  font-size: 15px;
}

.woocommerce #content table.cart td.actions .coupon .button,
.woocommerce table.cart td.actions .coupon .button,
.woocommerce-page #content table.cart td.actions .coupon .button,
.woocommerce-page table.cart td.actions .coupon .button,
.woocommerce #content table.cart td.actions .coupon button[name="apply_coupon"],
.woocommerce table.cart td.actions .coupon button[name="apply_coupon"],
.woocommerce-page #content table.cart td.actions .coupon button[name="apply_coupon"],
.woocommerce-page table.cart td.actions .coupon button[name="apply_coupon"] {
  flex: 0 0 auto;
  white-space: nowrap;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: none !important;
}

/* Cart block (WooCommerce Blocks): coupon row */
body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button,
body.woocommerce-cart .wc-block-components-totals-coupon__form {
  align-items: center;
}

body.woocommerce-cart .wc-block-components-totals-coupon__form {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px 12px;
}

body.woocommerce-cart .wc-block-components-totals-coupon__input input[type="text"],
body.woocommerce-cart .wc-block-components-totals-coupon input[type="text"] {
  max-width: 220px;
  min-width: 140px;
  box-sizing: border-box;
}

/* Cart: LINE 直接注文（購入手続きボタン直下） */
.mopple-cart-line-direct {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.42;
  letter-spacing: normal;
  color: #6e6e73;
}

.mopple-cart-line-direct a {
  color: #06c755;
  text-decoration: none;
}

.mopple-cart-line-direct a:hover {
  text-decoration: underline;
}

/* Cart: remove item — minimal circular control */
.woocommerce table.shop_table.cart td.product-remove a.remove,
.woocommerce-page table.shop_table.cart td.product-remove a.remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 auto;
  padding: 0 !important;
  border-radius: 50%;
  border: 1px solid #d2d2d7;
  background: #fff;
  color: #6e6e73 !important;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  text-indent: 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.woocommerce table.shop_table.cart td.product-remove a.remove:hover,
.woocommerce-page table.shop_table.cart td.product-remove a.remove:hover {
  border-color: #1d1d1f;
  color: #1d1d1f !important;
  background: #f5f5f7;
}

/* Cart: "Update cart" hidden — qty changes trigger update via JS */
body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"],
body.woocommerce-cart .woocommerce-cart-form input[name="update_cart"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Hide destination/shipping address area on cart page. */
body.woocommerce-cart .woocommerce-shipping-destination,
body.woocommerce-cart .woocommerce-shipping-calculator,
body.woocommerce-cart .wc-block-components-shipping-address,
body.woocommerce-cart .wc-block-components-totals-shipping__change-address,
body.woocommerce-cart .wc-block-components-totals-shipping__address {
  display: none !important;
}

.woocommerce .woocommerce-ordering {
  position: relative;
  margin-bottom: 18px;
}

.woocommerce .woocommerce-ordering::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #4a4a4a;
  border-bottom: 2px solid #4a4a4a;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.woocommerce .woocommerce-ordering select.orderby {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #d2d2d7;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f9 100%);
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  padding: 10px 34px 10px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
  cursor: pointer;
}

.woocommerce .woocommerce-ordering select.orderby:hover {
  border-color: #b9b9bf;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.woocommerce .woocommerce-ordering select.orderby:focus {
  outline: none;
  border-color: #0071e3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2);
}

.site-footer {
  background: #f5f5f7;
  border-top: 1px solid #e5e7eb;
  padding: 48px 24px 40px;
  color: #6b7280;
}

.site-footer--apple .footer-inner {
  max-width: var(--md-content-max);
  margin: 0 auto;
}

.footer-disclaimer {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #d1d5db;
  font-size: 11px;
  line-height: 1.65;
}

.footer-disclaimer p {
  margin: 0 0 8px;
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-copy {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
}

.footer-links a {
  color: #6b7280;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #374151;
}

.content-default {
  max-width: var(--md-content-max);
  margin: 36px auto 80px;
  padding: 0 20px;
}

.brand-page {
  background: #000;
  color: var(--md-text-on-dark);
}

.brand-inner {
  max-width: var(--md-content-max);
  margin: 0 auto;
  padding: 0 20px;
}

.brand-eyebrow {
  margin: 0 0 12px;
  color: #f5a25d;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: 0.231px;
}

.brand-hero {
  padding: 92px 0 84px;
  text-align: center;
}

.brand-hero h1 {
  margin: 0 auto 20px;
  max-width: 980px;
  font-family: var(--md-font-display);
  font-size: clamp(44px, 8vw, 84px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.6px;
}

.brand-lead {
  margin: 0 auto;
  max-width: 860px;
  color: rgba(245, 245, 247, 0.85);
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.24;
}

.brand-showcase,
.brand-close {
  padding: 48px 0;
}

.brand-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.brand-panel-reverse {
  direction: rtl;
}

.brand-panel-reverse > * {
  direction: ltr;
}

.brand-copy h2,
.brand-stats h2 {
  margin: 0 0 16px;
  font-family: var(--md-font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.52px;
}

.brand-copy p {
  margin: 0 0 22px;
  color: rgba(245, 245, 247, 0.84);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.3;
}

.brand-visual img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

.brand-showcase-alt {
  background: #050505;
}

.brand-stats {
  padding: 88px 0;
  text-align: center;
}

.brand-stats-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.brand-stats-grid article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 28px 22px;
}

.stat-label {
  margin: 0;
  color: rgba(245, 245, 247, 0.72);
  font-size: 16px;
}

.stat-value {
  margin: 2px 0 4px;
  color: #fff;
  font-family: var(--md-font-display);
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.06;
}

.stat-value span {
  margin-left: 5px;
  font-size: 0.47em;
  color: #f5a25d;
}

.stat-note {
  margin: 0;
  color: rgba(245, 245, 247, 0.78);
  font-size: 14px;
}

/* --- About ページ（トップの Apple 風ライトセクションに揃える） --- */
.site-main--about {
  background: #f5f5f7;
}

.site-main--about .apple-hero {
  padding-bottom: 56px;
}

.site-main--about .apple-hero-actions {
  margin-bottom: 0;
}

.about-apple-panel {
  padding: 72px 20px 80px;
  background: #fff;
  color: #111827;
  border-top: 1px solid #f3f4f6;
}

.about-apple-panel--alt {
  background: #fafafa;
}

.about-apple-inner {
  max-width: var(--md-content-max);
  margin: 0 auto;
}

.about-apple-panel .apple-hero-eyebrow {
  text-align: center;
}

.about-apple-intro {
  margin-bottom: 28px;
  color: #6b7280;
}

.about-apple-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.about-apple-card {
  border-radius: 24px;
  padding: 32px 28px;
  background: #fafafa;
  border: 1px solid #f3f4f6;
}

.about-apple-panel--alt .about-apple-card {
  background: #fff;
  box-shadow: var(--md-shadow);
}

.about-apple-card h3 {
  margin: 0 0 14px;
  font-family: var(--md-font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.about-apple-card ul {
  margin: 0;
  padding-left: 20px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.5;
}

.about-apple-card li {
  margin-bottom: 10px;
}

.about-apple-card li:last-child {
  margin-bottom: 0;
}

.about-apple-card--table {
  margin-top: 0;
  background: #fff;
  box-shadow: var(--md-shadow);
  border: 1px solid #f3f4f6;
}

.about-apple-panel--alt .about-apple-card--partner {
  text-align: left;
}

.about-apple-table-scroll {
  margin-top: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.about-apple-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
  color: #374151;
}

.about-apple-table th,
.about-apple-table td {
  text-align: left;
  padding: 12px 12px;
  border-bottom: 1px solid #e5e7eb;
}

.about-apple-table th {
  color: #111827;
  font-weight: 600;
  white-space: nowrap;
}

.about-apple-table tbody tr:last-child td,
.about-apple-table tbody tr:last-child th {
  border-bottom: 0;
}

.about-apple-note {
  margin: 16px 0 0;
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.45;
}

.about-apple-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  color: #374151;
}

.about-apple-spec-table th,
.about-apple-spec-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

.about-apple-spec-table th[scope="row"] {
  width: 9.5em;
  color: #111827;
  font-weight: 600;
}

.about-apple-spec-table tbody tr:last-child th,
.about-apple-spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.about-apple-spec-list {
  margin: 0;
  padding-left: 20px;
}

.about-apple-spec-list li {
  margin-bottom: 6px;
  color: #374151;
}

.about-apple-spec-list li:last-child {
  margin-bottom: 0;
}

.about-apple-link {
  color: #2563eb !important;
  font-weight: 500;
  text-decoration: none !important;
}

.about-apple-link:hover {
  text-decoration: underline !important;
}

@media (max-width: 1023px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-wrap .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 833px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-inner {
    padding: 0 14px;
  }

  .site-nav {
    position: fixed;
    top: var(--md-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    margin: 0;
    padding: 12px 18px 28px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0.28s;
  }

  body.admin-bar .site-nav {
    top: calc(32px + var(--md-header-height));
  }

  @media screen and (max-width: 782px) {
    body.admin-bar .site-nav {
      top: calc(46px + var(--md-header-height));
    }
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid #f3f4f6;
  }

  .site-nav li:last-child {
    border-bottom: 0;
  }

  .site-nav a {
    display: block;
    padding: 16px 4px;
    font-size: 16px;
    line-height: 1.3;
    color: #374151;
  }

  .site-nav .btn-pill {
    margin-top: 8px;
    margin-bottom: 8px;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .site-nav .hide-mobile {
    display: list-item;
  }

  body.nav-drawer-open {
    overflow: hidden;
  }

  .apple-hero {
    padding-top: 56px;
    padding-bottom: 40px;
  }

  .apple-promo-grid {
    grid-template-columns: 1fr;
  }

  .apple-promo-card {
    min-height: 420px;
    padding: 36px 24px;
  }

  .section {
    padding: 56px 16px;
  }

  .feature-grid,
  .products-wrap .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  /* 商品一覧（ショップ／カテゴリ等）: ループ内のカートに追加をコンパクトに（.add_to_cart 系より詳細度を上げる） */
  body.woocommerce.woocommerce-shop ul.products li.product .button,
  body.woocommerce.post-type-archive-product ul.products li.product .button,
  body.woocommerce.tax-product_cat ul.products li.product .button,
  body.woocommerce.tax-product_tag ul.products li.product .button {
    padding: 5px 12px;
    font-size: 12px;
    line-height: 1.25;
    min-width: 0;
    width: auto;
    max-width: 100%;
  }

  /* --- カートページ（モバイル）--- */
  body.woocommerce-cart .content-default {
    margin-top: 16px;
    margin-bottom: 52px;
    padding: 0 16px;
  }

  body.woocommerce-cart .content-default article h1 {
    font-family: var(--md-font-display);
    font-size: clamp(26px, 6.5vw, 32px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
  }

  body.woocommerce-cart .woocommerce-notices-wrapper:first-child {
    margin-bottom: 14px;
  }

  body.woocommerce-cart .woocommerce-cart-form {
    background: #fff;
    border: 1px solid #e5e5e7;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    margin-bottom: 0;
  }

  body.woocommerce-cart .woocommerce-cart-form .shop_table.cart {
    border: 0;
    margin: 0;
    border-radius: 0;
  }

  body.woocommerce-cart .woocommerce-cart-form .shop_table.cart thead th {
    font-size: 11px;
    font-weight: 600;
    color: #6e6e73;
    letter-spacing: 0.02em;
    padding: 12px 14px;
    border-bottom: 1px solid #ececf0;
  }

  body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody td,
  body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody th {
    padding: 14px 16px;
    font-size: 15px;
  }

  body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody tr + tr td,
  body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody tr + tr th {
    border-top: 1px solid #ececf0;
  }

  body.woocommerce-cart table.shop_table_responsive.cart tbody td {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  body.woocommerce-cart table.shop_table_responsive.cart tbody td::before {
    color: #6e6e73;
    font-size: 12px;
    font-weight: 600;
  }

  body.woocommerce-cart table.cart td.product-thumbnail img {
    max-width: 88px;
    height: auto;
    border-radius: 10px;
  }

  body.woocommerce-cart table.cart .qty {
    min-height: 44px;
    min-width: 4.25em;
    padding: 8px 10px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #d2d2d7;
    box-sizing: border-box;
  }

  body.woocommerce-cart table.cart td.actions {
    padding: 16px;
  }

  body.woocommerce-cart table.cart td.actions .coupon {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    gap: 10px !important;
  }

  body.woocommerce-cart table.cart td.actions .coupon .input-text {
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 44px;
    font-size: 16px;
  }

  body.woocommerce-cart table.cart td.actions .coupon .button,
  body.woocommerce-cart table.cart td.actions .coupon button[name="apply_coupon"] {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    box-sizing: border-box;
  }

  body.woocommerce-cart .cart-collaterals {
    float: none !important;
    width: 100% !important;
    margin-top: 20px !important;
  }

  body.woocommerce-cart .cart_totals {
    float: none !important;
    width: 100% !important;
    background: var(--md-bg-muted);
    border: 1px solid #e5e5e7;
    border-radius: 14px;
    padding: 20px 18px 22px;
    box-sizing: border-box;
  }

  body.woocommerce-cart .cart_totals > h2 {
    font-family: var(--md-font-display);
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    line-height: 1.2;
  }

  body.woocommerce-cart .cart_totals table.shop_table {
    border: 0;
    margin: 0;
  }

  body.woocommerce-cart .cart_totals table.shop_table th,
  body.woocommerce-cart .cart_totals table.shop_table td {
    padding: 10px 0;
    font-size: 15px;
    vertical-align: top;
  }

  body.woocommerce-cart .cart_totals .order-total th,
  body.woocommerce-cart .cart_totals .order-total td {
    padding-top: 14px;
    font-size: 17px;
    font-weight: 600;
    border-top: 1px solid #d2d2d7;
  }

  body.woocommerce-cart .wc-proceed-to-checkout {
    margin-top: 16px;
    padding: 0;
  }

  body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    width: 100%;
    box-sizing: border-box;
    display: block;
    text-align: center;
    padding: 14px 18px;
    font-size: 17px;
    line-height: 1.3;
  }

  body.woocommerce-cart .mopple-cart-line-direct {
    margin-top: 12px;
  }

  body.woocommerce-cart .cross-sells {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #e5e5e7;
  }

  body.woocommerce-cart .cross-sells > h2 {
    font-family: var(--md-font-display);
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 14px;
  }

  body.woocommerce-cart .cart-empty {
    padding: 28px 12px;
    text-align: center;
    font-size: 16px;
    line-height: 1.45;
    color: var(--md-text-secondary);
  }

  body.woocommerce-cart .return-to-shop {
    margin-top: 18px;
    text-align: center;
  }

  /* Cart（ブロック） */
  body.woocommerce-cart .wc-block-components-sidebar-layout {
    flex-direction: column !important;
    gap: 20px;
  }

  body.woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-main,
  body.woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width: 100% !important;
    flex: none !important;
    padding: 0 !important;
  }

  body.woocommerce-cart .wc-block-cart__main {
    padding: 0;
  }

  body.woocommerce-cart .wc-block-cart-items__row {
    padding-top: 14px;
    padding-bottom: 14px;
    border-bottom-color: #ececf0;
  }

  body.woocommerce-cart .wc-block-cart__submit-container {
    margin-top: 10px;
  }

  body.woocommerce-cart .wc-block-cart__submit-button {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 17px !important;
  }

  body.woocommerce-cart .wc-block-components-totals-coupon__form {
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px;
  }

  body.woocommerce-cart .wc-block-components-totals-coupon__input,
  body.woocommerce-cart .wc-block-components-totals-coupon__input input[type="text"] {
    max-width: none !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px;
    font-size: 16px;
    box-sizing: border-box;
  }

  body.woocommerce-cart .wc-block-components-totals-coupon__form .wc-block-components-button {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .brand-hero {
    padding: 72px 0 64px;
  }

  .brand-panel {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .brand-stats {
    padding: 66px 0;
  }

  .brand-stats-grid {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .about-apple-grid {
    grid-template-columns: 1fr;
  }

  .about-apple-panel {
    padding: 56px 16px 64px;
  }

  .about-apple-table {
    font-size: 13px;
  }

  .about-apple-table th,
  .about-apple-table td {
    padding: 10px 8px;
  }

  .about-apple-spec-table th[scope="row"] {
    width: auto;
    min-width: 6.8em;
  }

  .legal-page-inner {
    padding-top: 32px;
  }

  .legal-spec-table {
    font-size: 14px;
  }

  .legal-spec-table thead th {
    padding: 12px 14px;
  }

  .legal-spec-table tbody th[scope="row"],
  .legal-spec-table tbody td {
    padding: 14px 14px;
  }

  .legal-page-aside {
    padding: 18px 16px;
  }
}

/* 特定商取引法に基づく表記 */
.legal-page {
  margin: 0 auto 80px;
  padding: 0;
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 220px);
}

.legal-page-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 20px 0;
}

.legal-page-hero {
  margin-bottom: 32px;
  text-align: center;
}

.legal-page-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: var(--md-radius-pill);
  background: rgba(0, 0, 0, 0.06);
  color: var(--md-text-secondary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-page-hero h1 {
  margin: 0 0 12px;
  font-family: var(--md-font-display);
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.45px;
}

.legal-page-lead {
  margin: 0 auto;
  max-width: 520px;
  color: var(--md-text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.legal-spec-card {
  border-radius: 20px;
  border: 1px solid #e5e5e7;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.legal-spec-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.legal-spec-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legal-spec-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}

.legal-spec-table thead {
  background: linear-gradient(180deg, #1d1d1f 0%, #2d2d30 100%);
  color: #f5f5f7;
}

.legal-spec-table thead th {
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
}

.legal-spec-col-label {
  width: 28%;
}

.legal-spec-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.legal-spec-table tbody tr:hover td,
.legal-spec-table tbody tr:hover th[scope="row"] {
  background: rgba(0, 113, 227, 0.04);
}

.legal-spec-table tbody th[scope="row"] {
  width: 28%;
  min-width: 8em;
  vertical-align: top;
  text-align: left;
  padding: 18px 18px;
  border-bottom: 1px solid #e8e8ed;
  font-weight: 600;
  font-size: 14px;
  color: #1d1d1f;
  border-left: 3px solid transparent;
}

.legal-spec-table tbody tr:hover th[scope="row"] {
  border-left-color: var(--md-blue);
}

.legal-spec-table tbody td {
  vertical-align: top;
  padding: 18px 18px;
  border-bottom: 1px solid #e8e8ed;
}

.legal-spec-table tbody tr:last-child th,
.legal-spec-table tbody tr:last-child td {
  border-bottom: none;
}

.legal-spec-value {
  margin: 0;
  color: var(--md-text-primary);
}

.legal-spec-ruby {
  margin-left: 4px;
  font-size: 0.92em;
  font-weight: 500;
  color: var(--md-text-secondary);
}

.legal-spec-mail {
  color: var(--md-link);
  font-weight: 500;
  word-break: break-all;
}

.legal-spec-mail:hover {
  color: var(--md-blue);
}

.legal-spec-hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--md-text-secondary);
}

.legal-spec-footnote {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed #d2d2d7;
  font-size: 12px;
  color: #6e6e73;
  line-height: 1.45;
}

.legal-page-aside {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--md-bg-muted);
  border: 1px solid #e5e5e7;
}

.legal-aside-title {
  margin: 0 0 10px;
  font-family: var(--md-font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.legal-page-aside p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--md-text-secondary);
}

/* 全ページ共通：サポート誘導バナー（ヘッダー直下） */
.support-site-banner {
  position: sticky;
  top: var(--md-header-height);
  z-index: 40;
  margin: 0;
  border-bottom: 1px solid #e5e5e7;
  background: linear-gradient(180deg, #eef2ff 0%, #e8edff 100%);
}

body.admin-bar .support-site-banner {
  top: calc(32px + var(--md-header-height));
}

@media screen and (max-width: 782px) {
  body.admin-bar .support-site-banner {
    top: calc(46px + var(--md-header-height));
  }
}

.support-site-banner__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: var(--md-content-max);
  margin: 0 auto;
  padding: 10px 20px;
  color: #1e3a8a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.support-site-banner__link:hover,
.support-site-banner__link:focus-visible {
  background: rgba(255, 255, 255, 0.55);
  color: #172554;
  outline: none;
}

.support-site-banner__text {
  text-align: center;
}

.support-site-banner__cta {
  display: flex;
  flex-shrink: 0;
  opacity: 0.85;
}

/* サポートページ */
.support-page {
  margin: 0 auto 80px;
  padding: 0;
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 220px);
}

.support-page-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 0;
}

.support-page-hero {
  margin-bottom: 28px;
  text-align: center;
}

.support-page-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: var(--md-radius-pill);
  background: rgba(0, 0, 0, 0.06);
  color: var(--md-text-secondary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.support-page-hero h1 {
  margin: 0 0 12px;
  font-family: var(--md-font-display);
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.45px;
}

.support-page-lead {
  margin: 0 auto;
  max-width: 480px;
  color: var(--md-text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.support-page-card {
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid #e5e5e7;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.support-page-message {
  margin: 0;
  font-family: var(--md-font-display);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

@media (max-width: 600px) {
  .support-site-banner__link {
    flex-direction: column;
    padding: 12px 16px;
    font-size: 13px;
  }

  .support-site-banner__cta {
    display: none;
  }

  .support-page-card {
    padding: 24px 18px;
  }
}

