/* ==========================================================================
   香仓株式会社 官网 - 公共样式
   设计稿基准宽度 1920px
   ========================================================================== */

:root {
  --primary: #125ea9;
  --primary-light: #148cc1;
  --link: #579bfc;
  --text: #323a44;
  --text-strong: #222c36;
  --text-muted: #4a5053;
  --text-light: #848b8e;
  --border: #e4e4e4;
  --bg-gray: #f4f4f4;
  --footer-bg: #131b30;
  --accent: #e2603c;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --header-h: 116px;
  --font: "Source Han Sans CN", "Source Han Sans SC", "Noto Sans SC", "Noto Sans CJK SC",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

html[lang="ja"] body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic",
    "Meiryo", sans-serif;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  transition: box-shadow 0.25s;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  max-width: 1610px;
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 20px;
}

.site-logo {
  flex: none;
  width: 344px;
}

.site-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  height: 100%;
  margin-left: 40px;
}

.site-nav__list {
  display: flex;
  gap: 24px;
  height: 100%;
}

.site-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 22px;
  font-size: 18px;
  color: #13100d;
  transition: color 0.2s;
}

.site-nav__link::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--primary-light);
}

.site-nav__link.is-active::before {
  transform: scaleX(1);
}

/* 语言切换 */
.lang-switch {
  position: relative;
  flex: none;
}

.lang-switch__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border: 0;
  background: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.lang-switch__btn svg {
  width: 13px;
  height: 7px;
  transition: transform 0.2s;
}

.lang-switch.is-open .lang-switch__btn svg {
  transform: rotate(180deg);
}

.lang-switch__menu {
  position: absolute;
  top: 100%;
  right: -16px;
  min-width: 130px;
  padding: 6px 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s;
}

.lang-switch.is-open .lang-switch__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lang-switch__menu a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  white-space: nowrap;
}

.lang-switch__menu a:hover {
  background: #ebf1ff;
}

.lang-switch__menu a.is-active {
  color: var(--primary);
  font-weight: 700;
}

.lang-switch__menu a.is-disabled {
  color: #a0a4a8;
  cursor: not-allowed;
}

.lang-switch__menu small {
  margin-left: 4px;
  font-size: 12px;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: 16px;
  padding: 8px;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-strong);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Page banner
   ========================================================================== */

.page-banner {
  position: relative;
  display: flex;
  align-items: center;
  height: 380px;
  overflow: hidden;
  color: #fff;
  background: #2340e0 center / cover no-repeat;
}

.page-banner--home {
  background-image: url("../images/banner-home.jpg");
}

.page-banner--about {
  background-image: url("../images/banner-about.jpg");
}

.page-banner--products {
  background-image: url("../images/banner-products.jpg");
}

.page-banner--contact {
  background-image: url("../images/banner-contact.jpg");
  background-color: #5a2fe0;
}

.page-banner--links {
  height: 402px;
  background-image: url("../images/banner-links.jpg");
  background-color: #3c7cf0;
}

.page-banner__inner {
  width: 100%;
  max-width: 1508px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-banner__title {
  font-size: 97px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.page-banner__en {
  margin-top: 30px;
  font-size: 40px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

/* 首页、公司简介：标题 + 标语横排居中 */
.page-banner__inner--row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 113px;
  padding-left: 180px;
}

.page-banner__inner--row .page-banner__title {
  letter-spacing: 0;
}

.page-banner__slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 722px;
  height: 96px;
  font-size: 36px;
  color: #9eb7ed;
  border: 1px solid rgba(158, 183, 237, 0.6);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
}

.page-banner__motto {
  font-size: 46px;
  color: #9eb7ed;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* 产品介绍 */
.page-banner--products .page-banner__inner {
  max-width: 1218px;
}

.page-banner--products .page-banner__en {
  margin-top: 34px;
  font-size: 36px;
}

/* 联系我们 */
.page-banner--contact .page-banner__en {
  font-size: 42px;
  color: #edc4ff;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Section title
   ========================================================================== */

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  color: var(--text-strong);
  letter-spacing: 0.2em;
}

.section-title::before,
.section-title::after {
  content: "";
  width: 58px;
  height: 5px;
  background: var(--primary);
}

.section-title::after {
  margin-left: -0.2em;
}

.section-heading {
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   首页
   ========================================================================== */

.hot-products {
  padding: 60px 0 0;
}

.hot-products .container {
  max-width: 1398px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px 32px;
  margin-top: 44px;
}

.product-card__img {
  aspect-ratio: 246 / 234;
  overflow: hidden;
  background: #f2f4f7;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-card:hover .product-card__img img {
  transform: scale(1.06);
}

.product-card__name {
  margin-top: 10px;
  font-size: 21px;
  line-height: 1.4;
  text-align: center;
  color: var(--text);
}

.entry-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 67px 20px 68px;
}

.entry-card {
  position: relative;
  display: block;
  aspect-ratio: 422 / 200;
  overflow: hidden;
  border-radius: 16px;
}

.entry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.entry-card:hover img {
  transform: scale(1.06);
}

.entry-card__title {
  position: absolute;
  top: 28.5%;
  left: 7.8%;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.5);
}

.entry-card__btn {
  position: absolute;
  right: 5.7%;
  bottom: 12.5%;
  padding: 7px 16px;
  font-size: 18px;
  line-height: 22px;
  color: var(--text);
  background: #fff;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}

.entry-card:hover .entry-card__btn {
  color: #fff;
  background: var(--primary);
}

/* ==========================================================================
   公司简介
   ========================================================================== */

.about {
  padding: 59px 0 60px;
}

.about .container {
  max-width: 1328px;
}

.info-block {
  display: grid;
  grid-template-columns: 512px 1fr;
  min-height: 424px;
  border: 1px solid var(--border);
  background: #fff;
}

.info-block + .info-block {
  margin-top: 58px;
}

.info-block--reverse {
  grid-template-columns: 1fr 512px;
}

.info-block--reverse .info-block__img {
  order: 2;
}

.info-block__img {
  overflow: hidden;
}

.info-block__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-block__body {
  padding: 57px 46px 40px;
}

.info-block__title {
  margin-bottom: 26px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  color: var(--text);
}

.info-list li {
  font-size: 18px;
  line-height: 1.5;
}

.info-list li + li {
  margin-top: 12px;
}

.info-list dt,
.info-list .label {
  color: var(--primary);
}

.policy h4 {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

.policy h4:first-child {
  margin-top: 0;
}

.policy p {
  margin-top: 12px;
  font-size: 18px;
}

.policy .values span {
  display: inline-block;
  white-space: nowrap;
}

.policy .values span + span {
  margin-left: 1.5em;
}

.dot-list {
  padding-left: 30px;
}

.dot-list li {
  position: relative;
  padding-left: 19px;
  font-size: 18px;
  line-height: 1.5;
}

.dot-list li + li {
  margin-top: 17px;
}

.dot-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text);
}

/* ==========================================================================
   产品介绍
   ========================================================================== */

.products {
  padding: 91px 0 76px;
  background: var(--bg-gray);
}

.products .container {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 1440px;
}

.category-nav {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  flex: none;
  width: 222px;
  padding: 24px 0;
  background: #fff;
  border-radius: 8px;
}

.category-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 58px;
  padding: 0 0 0 40px;
  border: 0;
  background: none;
  font-size: 18px;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s;
}

.category-nav__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 7px;
  width: 190px;
  height: 100%;
  background: #ebf1ff;
  opacity: 0;
  transition: opacity 0.2s;
}

.category-nav__link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
}

.category-nav__link span {
  position: relative;
}

.category-nav__link:hover {
  color: #667ecc;
}

.category-nav__link.is-active {
  padding-left: 50px;
  color: #667ecc;
}

.category-nav__link.is-active::before,
.category-nav__link.is-active::after {
  opacity: 1;
}

.product-main {
  flex: 1;
  min-width: 0;
}

.product-main__head {
  height: 89px;
  padding: 0 24px;
  background: #fff;
  border-bottom: 3px solid #dedede;
  border-radius: 8px 8px 0 0;
}

.product-main__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 86px;
  color: var(--text);
}

.product-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 29px;
  padding: 24px 25px 0;
}

.product-panel[hidden] {
  display: none;
}

.product-panel .product-card__img {
  aspect-ratio: 256 / 234;
  background: #fff;
}

.product-panel .product-card__name {
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  font-size: 22px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

html[lang="ja"] .product-card__name {
  font-size: 18px;
}

html[lang="ja"] .product-panel .product-card__name {
  min-height: 0;
  font-size: 18px;
  -webkit-line-clamp: 3;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 120px 0;
  font-size: 18px;
  text-align: center;
  color: var(--text-light);
}

/* ==========================================================================
   联系我们
   ========================================================================== */

.locations {
  padding: 55px 0 0;
}

.locations .container {
  max-width: 1117px;
}

.location {
  display: flex;
  align-items: flex-start;
  margin-top: 35px;
}

.location + .location {
  margin-top: 104px;
}

.location__img {
  flex: none;
  width: 586px;
  height: 330px;
  object-fit: cover;
}

.location__card {
  position: relative;
  flex: none;
  width: 584px;
  min-height: 318px;
  margin: 71px 0 0 -95px;
  padding: 45px 37px 40px;
  background: #fff;
  box-shadow: var(--shadow);
}

.location--reverse {
  flex-direction: row-reverse;
}

.location--reverse .location__card {
  margin: 71px -95px 0 0;
}

.location__card .info-list {
  margin-top: 24px;
}

.location__card .info-list li {
  font-size: 16px;
}

.location__card .info-list li + li {
  margin-top: 8px;
}

.location__card .location__text + .location__text {
  margin-top: 12px;
}

.location__subtitle {
  margin-top: 20px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-strong);
}

.location__card .dot-list {
  margin-top: 10px;
  padding-left: 4px;
}

.location__card .dot-list li {
  font-size: 16px;
}

.location__card .dot-list li + li {
  margin-top: 6px;
}

.location__title {
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: var(--text-strong);
}

.location__text {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-strong);
  text-indent: 2em;
}

.contact-form-section {
  padding: 90px 0 70px;
}

.contact-intro {
  margin-top: 40px;
  font-size: 20px;
  line-height: 1.7;
  text-align: center;
  color: var(--text-muted);
}

.contact-intro__notice {
  color: var(--primary-light);
}

.contact-intro__warning {
  margin-top: 20px;
}

.contact-layout {
  max-width: 714px;
  margin: 70px auto 0;
}

.contact-form {
  width: 100%;
  max-width: 714px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 232px 1fr;
  gap: 12px;
  align-items: start;
}

.form-row + .form-row {
  margin-top: 24px;
}

.form-row label {
  display: block;
  height: 34px;
  padding: 0 10px;
  font-size: 18px;
  line-height: 34px;
  color: var(--text-muted);
  background: #e6f1f7;
}

.form-row input,
.form-row textarea {
  display: block;
  width: 100%;
  height: 34px;
  padding: 0 9px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  outline: none;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row textarea {
  height: 138px;
  padding: 8px 9px;
  line-height: 1.5;
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #b1b1b1;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(18, 94, 169, 0.12);
}

.form-row.has-error input,
.form-row.has-error textarea {
  border-color: #e0463c;
}

.form-error {
  display: block;
  min-height: 0;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: #e0463c;
}

.form-error:empty {
  display: none;
}

.form-submit {
  position: relative;
  display: flex;
  align-items: center;
  width: 280px;
  height: 46px;
  margin: 40px auto 0;
  padding: 0 24px;
  border: 0;
  border-radius: 5px;
  font-size: 16px;
  color: #fff;
  background: var(--primary);
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover {
  background: #0e4d8c;
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-submit svg:first-child {
  width: 20px;
  height: 15px;
  margin-right: 12px;
}

.form-submit svg:last-child {
  width: 18px;
  height: 10px;
  margin-left: auto;
  transition: transform 0.2s;
}

.form-submit:hover svg:last-child {
  transform: translateX(4px);
}

.form-notes {
  width: fit-content;
  max-width: 100%;
  margin: 50px auto 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-light);
}

.form-notes li {
  position: relative;
  padding-left: 20px;
}

.form-notes li::before {
  content: "※";
  position: absolute;
  left: 0;
}

.form-notes a {
  text-decoration: underline;
}

.form-result {
  max-width: 714px;
  margin: 24px auto 0;
  padding: 14px 18px;
  font-size: 16px;
  text-align: center;
  color: #1f7a3a;
  background: #eaf7ee;
  border-radius: 5px;
}

.form-result[hidden] {
  display: none;
}

/* ==========================================================================
   相关链接
   ========================================================================== */

.links {
  padding: 45px 0 67px;
}

.links .container {
  max-width: 1406px;
}

.link-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 176px;
  padding: 0 40px 0 244px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.link-card + .link-card {
  margin-top: 69px;
}

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.link-card__name {
  font-size: 24px;
  font-weight: 700;
  color: #353e4f;
}

.link-card__url {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: var(--link);
  word-break: break-all;
}

.link-card:hover .link-card__url {
  text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 18px 20px;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  color: #fff;
  background: var(--footer-bg);
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer .sep {
  margin: 0 0.5em;
}

.site-footer .copyright {
  margin-right: 1em;
}

.site-footer .company {
  margin: 0 1em;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1600px) {
  .page-banner__inner--row {
    padding-left: 0;
  }
}

@media (max-width: 1440px) {
  .site-logo {
    width: 280px;
  }

  .site-nav__list {
    gap: 8px;
  }

  .page-banner__title {
    font-size: 80px;
  }

  .page-banner__inner--row {
    gap: 70px;
  }

  .page-banner__slogan {
    width: 600px;
    height: 84px;
    font-size: 32px;
  }

  .page-banner__motto {
    font-size: 40px;
  }

  .product-panel {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1280px) {
  :root {
    --header-h: 88px;
  }

  .site-nav__link {
    padding: 0 14px;
    font-size: 17px;
  }

  .site-nav__link::before {
    top: 14px;
  }

  .page-banner,
  .page-banner--links {
    height: 300px;
  }

  .page-banner__title {
    font-size: 68px;
  }

  .page-banner__en {
    margin-top: 22px;
    font-size: 30px !important;
  }

  .page-banner__inner--row {
    gap: 50px;
  }

  .page-banner__slogan {
    width: 480px;
    height: 72px;
    font-size: 26px;
  }

  .page-banner__motto {
    font-size: 32px;
  }

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .info-block {
    grid-template-columns: 420px 1fr;
  }

  .info-block--reverse {
    grid-template-columns: 1fr 420px;
  }

  .link-card {
    padding-left: 100px;
  }
}

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

  .site-header__inner {
    justify-content: space-between;
  }

  .site-logo {
    width: 240px;
  }

  .lang-switch {
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    height: auto;
    margin: 0;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s;
  }

  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
    height: auto;
    padding: 12px 20px;
  }

  .site-nav__link {
    height: 56px;
    padding: 0 12px;
    border-bottom: 1px solid #eef0f3;
  }

  .site-nav__link::before {
    top: 14px;
    bottom: 14px;
    left: 0;
    right: auto;
    width: 3px;
    height: auto;
    transform: scaleY(0);
  }

  .site-nav__link.is-active::before {
    transform: scaleY(1);
  }

  .nav-open {
    overflow: hidden;
  }

  .page-banner__inner--row {
    flex-direction: column;
    gap: 28px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .entry-cards {
    gap: 24px;
  }

  .entry-card__title {
    font-size: 24px;
  }

  .entry-card__btn {
    font-size: 15px;
    padding: 5px 12px;
  }

  .info-block,
  .info-block--reverse {
    grid-template-columns: 1fr;
  }

  .info-block--reverse .info-block__img {
    order: 0;
  }

  .info-block__img {
    aspect-ratio: 16 / 9;
  }

  .products .container {
    flex-direction: column;
  }

  .category-nav {
    position: static;
    display: flex;
    width: 100%;
    padding: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .category-nav__link {
    flex: none;
    width: auto;
    height: 44px;
    padding: 0 18px !important;
    white-space: nowrap;
  }

  .category-nav__link::before {
    left: 0;
    width: 100%;
    border-radius: 4px;
  }

  .category-nav__link::after {
    display: none;
  }

  .product-main {
    width: 100%;
  }

  .location,
  .location--reverse {
    flex-direction: column;
    align-items: stretch;
  }

  .location__img {
    width: 100%;
    height: auto;
    aspect-ratio: 586 / 330;
  }

  .location__card,
  .location--reverse .location__card {
    width: auto;
    min-height: 0;
    margin: -60px 20px 0;
  }

}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  body {
    font-size: 15px;
  }

  .site-logo {
    width: 180px;
  }

  .lang-switch__btn {
    font-size: 14px;
    gap: 6px;
  }

  .page-banner,
  .page-banner--links {
    height: 220px;
  }

  .page-banner__title {
    font-size: 44px;
  }

  .page-banner__en {
    margin-top: 14px;
    font-size: 20px !important;
  }

  .page-banner__inner--row {
    gap: 18px;
  }

  .page-banner__slogan {
    width: auto;
    height: auto;
    padding: 10px 20px;
    font-size: 18px;
  }

  .page-banner__motto {
    font-size: 20px;
  }

  .section-title,
  .section-heading {
    font-size: 26px;
  }

  .section-title::before,
  .section-title::after {
    width: 36px;
    height: 4px;
  }

  .hot-products {
    padding-top: 40px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 14px;
    margin-top: 30px;
  }

  .product-card__name,
  .product-panel .product-card__name {
    font-size: 16px;
  }

  .entry-cards {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .about {
    padding: 30px 0;
  }

  .info-block + .info-block {
    margin-top: 30px;
  }

  .info-block__body {
    padding: 28px 22px;
  }

  .info-block__title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .info-list li,
  .policy p,
  .dot-list li {
    font-size: 16px;
  }

  .policy h4 {
    font-size: 18px;
  }

  .dot-list {
    padding-left: 4px;
  }

  .products {
    padding: 24px 0 40px;
  }

  .product-main__head {
    height: 60px;
    padding: 0 16px;
  }

  .product-main__title {
    font-size: 20px;
    line-height: 57px;
  }

  .product-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 14px;
    padding: 16px 0 0;
  }

  .locations {
    padding-top: 36px;
  }

  .location + .location {
    margin-top: 40px;
  }

  .location__card {
    padding: 26px 22px;
    margin: -40px 12px 0 !important;
  }

  .location__title {
    font-size: 22px;
  }

  .location__text {
    margin-top: 14px;
    font-size: 15px;
  }

  .contact-form-section {
    padding: 50px 0 40px;
  }

  .contact-intro {
    margin-top: 24px;
    font-size: 16px;
  }

  .contact-layout {
    margin-top: 36px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-row + .form-row {
    margin-top: 16px;
  }

  .form-row label {
    height: auto;
    padding: 0;
    font-size: 15px;
    line-height: 1.8;
    background: none;
  }

  .form-row input {
    height: 40px;
  }

  .form-submit {
    width: 100%;
  }

  .form-notes {
    margin-top: 30px;
    font-size: 14px;
  }

  .links {
    padding: 30px 0 40px;
  }

  .link-card {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    padding: 28px 24px;
  }

  .link-card + .link-card {
    margin-top: 24px;
  }

  .link-card__name {
    font-size: 19px;
  }

  .link-card__url {
    font-size: 17px;
    text-align: left;
  }

  .site-footer {
    font-size: 13px;
    line-height: 2;
  }

  .site-footer .company {
    display: block;
    margin: 0;
  }

  .site-footer .sep {
    margin: 0 0.3em;
  }
}

html[lang="ja"] .location__text {
  text-indent: 1em;
}

@media (min-width: 1081px) {
  html[lang="ja"] .category-nav__link {
    padding-left: 28px;
    font-size: 16px;
  }

  html[lang="ja"] .category-nav__link.is-active {
    padding-left: 36px;
  }
}

/* ==========================================================================
   桌面端整体缩放（移动端不受影响）

   缩放系数见 :root 里的 --desktop-scale：
     1   = 设计稿原始大小
     0.8 = 整体缩小 20%
   只想调整缩放大小时，改这一个变量即可，下面的容器上限会自动跟随。

   两个必须知道的坑：
   1) CSS zoom 只缩放渲染，**不会改变 @media 断点的判定条件**，
      所以不能指望 zoom 让页面跳到更宽的那一档版式。
   2) zoom 会把容器的 max-width 一起缩小（例如 1406px 变成 1125px），
      导致宽屏下内容列只占约 59%、两侧各留白近 400px。
      因此必须把容器上限同步放大：上限 ÷ 缩放系数。

   本段必须放在文件末尾：下面的 max-width 与各组件的基础值权重相同，
   CSS 同权重下后置生效，放前面会被前面 89~1094 行的基础值覆盖掉。
   ========================================================================== */
:root {
  --desktop-scale: 0.8;
}

@media (min-width: 1081px) {
  html {
    zoom: var(--desktop-scale);
  }

  .container {
    max-width: calc(1400px / var(--desktop-scale));
  }

  .site-header__inner {
    max-width: calc(1610px / var(--desktop-scale));
  }

  .page-banner__inner {
    max-width: calc(1508px / var(--desktop-scale));
  }

  .page-banner--products .page-banner__inner {
    max-width: calc(1218px / var(--desktop-scale));
  }

  .hot-products .container {
    max-width: calc(1398px / var(--desktop-scale));
  }

  .entry-cards {
    max-width: calc(1400px / var(--desktop-scale));
  }

  .about .container {
    max-width: calc(1328px / var(--desktop-scale));
  }

  .products .container {
    max-width: calc(1440px / var(--desktop-scale));
  }

  .locations .container {
    max-width: calc(1117px / var(--desktop-scale));
  }

  .contact-layout {
    max-width: calc(714px / var(--desktop-scale));
  }

  .contact-form {
    max-width: calc(714px / var(--desktop-scale));
  }

  .form-result {
    max-width: calc(714px / var(--desktop-scale));
  }

  .links .container {
    max-width: calc(1406px / var(--desktop-scale));
  }
}
