@import url("https://at.alicdn.com/t/c/font_5226822_hfgt3apy6i.css");

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

html {
  min-width: var(--page-min);
}

body {
  min-width: var(--page-min);
  font-family: "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text);
  background-color: #fff;
  background-image: var(--grid);
  background-size: 100px 100px;
  background-position: 0 0;
  background-repeat: repeat;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

img[data-pc-banner] {
  opacity: 0;
}

img[data-pc-banner].is-ready {
  opacity: 1;
}

.wrap {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

/* 占位：避免 Header 异步注入前顶部塌陷闪烁（PC） */
#site-header {
  display: block;
  min-height: 146px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

/* ===== Header：上下两行全宽，内容各自居中 ===== */
.site-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #f2f2f2;
  /* 两行之间的 3px 间隙颜色 */
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid #f0f0f0;
}

.header-top {
  width: 100%;
  background: #fff;
}

.header-top-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 78px;
}

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

.logo img {
  height: 25px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.phone-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.15;
  margin-right: 18px;
}

.phone-meta img {
  width: 19px;
  height: 21px;
  flex-shrink: 0;
}

.phone-meta .num {
  font-size: 26px;
  font-weight: 800;
  color: var(--red-2);
  letter-spacing: .02em;
}

.phone-meta .hours {
  font-size: 14px;
  color: #111;
  margin-top: 4px;
}

.header-divider {
  width: 6px;
  align-self: stretch;
  height: auto;
  min-height: 100%;
  background: #f9f8f8;
  flex: 0 0 auto;
}

.cta-line-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 72px;
  width: auto;
  height: auto;
  align-self: stretch;
  margin: 0 40px;
  border: 0;
  padding: 0 4px;
  cursor: pointer;
  background: transparent;
  color: #111;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
}

.cta-line-link .iconfont {
  font-size: 40px;
  line-height: 1;
  color: #00C300;
}

.cta-sq {
  width: 202px;
  height: auto;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(-12deg, #FF413D, #F86864);

}

.cta-sq img {
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.header-nav {
  width: 100%;
  background: #fff;
}

.header-nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 60px;
  box-sizing: border-box;
}

.nav-links {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  height: 100%;
  margin: 0;
  padding: 0;
  gap: 0;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
}

.nav-links li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  box-sizing: border-box;
}

.nav-links li+li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: #eee;
}

.nav-links a {
  display: flex;
  align-items: center;
  height: 100%;
  color: #333;
  transition: color .15s ease;
}

.nav-links a:hover {
  color: var(--red-2);
}

.nav-links a.active {
  color: var(--red-2);
}

.nav-tools {
  display: flex;
  gap: 18px;
  align-items: center;
  align-self: center;
  height: 100%;
}

.nav-tools a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-tools a img {
  display: block;
  max-width: none;
  object-fit: contain;
}

.nav-tools .cart {
  background: transparent;
  border-radius: 0;
  color: #F76763;
}

.nav-tools .cart .iconfont {
  font-size: 28px;
  line-height: 1;
  color: inherit;
}

.nav-tools .user img {
  width: 22px;
  height: 22px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f5f5f5;
  flex-shrink: 0;
}

.lang-switch-icon {
  font-size: 14px;
  line-height: 1;
}

.lang-switch select {
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  padding: 0;
  max-width: 110px;
  outline: none;
}

/* ===== Footer ===== */
.site-footer {
  padding: 56px 0 24px;
  background: #fff;
  border-top: 1px solid #eee;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .7fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
}

.footer-brand img {
  height: 25px;
  width: auto;
}

.footer-brand p {
  margin: 16px 0;
  font-size: 14px;
  color: #333;
  line-height: 1.9;
  max-width: 380px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #333;
  display: grid;
  place-items: center;
  transition: color .15s ease, background .15s ease;
}

.footer-social .iconfont {
  font-size: 18px;
  line-height: 1;
  color: inherit;
}

.footer-social a:hover {
  color: #fff;
  background: var(--red-2);
}

.footer-col h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 18px;
  color: #333;
  line-height: 1.5;
}

.footer-col a:hover {
  color: var(--red-2);
}

.footer-contact {
  font-size: 18px;
  color: #333;
  line-height: 2;
}

.footer-bottom {
  border-top: 1px solid #ddd;
  padding-top: 16px;
  text-align: center;
  font-size: 14px;
  color: #333;
}

.store-badge {
  background: #111;
  color: #fff;
  border-radius: 8px;
  min-width: 148px;
  height: 48px;
  padding: 6px 14px 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  text-decoration: none;
}

.store-badge-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  line-height: 1.1;
  min-width: 0;
}

.store-badge-text small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.store-badge-text b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1.15;
}

.app-stores {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* 仅保留轻度桌面窄屏适配（笔记本），不做手机端 */
@media (max-width: 1100px) {
  #site-header {
    min-height: 120px;
  }

  .header-top-inner {
    min-height: 64px;
  }

  .header-nav-inner {
    height: 52px;
  }

  .cta-sq {
    width: 160px;
  }

  .phone-meta .num {
    font-size: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}