@charset "utf-8";
/* ==========================================================================
   gnome cosmetics 仿站模板 — pages.css
   各页面版式。首页 hero 采用“设计稿 980px 等比”百分比 + cqw 方案，
   不再依赖 JS 缩放（原 fitHeroHome 脚本与负 margin 补偿已移除）。
   ========================================================================== */

/* ------------------------------------------------------------------ 首页 hero */
.hero { position: relative; padding-bottom: 20px; }
.hero-bg { position: fixed; inset: 0; z-index: 0; background: #000; }
.hero-bg img, .hero-bg video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 背景图轮播：先淡出到黑再淡入下一张（与原视频转场一致） */
.hero-bg .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.hero-bg .hero-slide.is-active { opacity: 1; }

/* ---------- 栏目背景层（首页以外）----------
   结构与首页 .hero-bg 完全一致，因此共用 gnome.js 里 initHeroSlides() 的淡出到黑轮播；
   传 1 张图时不启动轮播，仅首张常显。
   用负 z-index 沉到所有内容之下，配合 base.css 里 body 背景透明才可见；
   白底是为了「后台上传了图才有背景、没上传就保持白底」。 */
.hero-bg.page-bg {
    z-index: -1;
    background: #fff;
    pointer-events: none;
}

/* 画布：宽度自适应，高度按原站 1440 视口实测比例（980:1935）等比 */
.hero-canvas {
    position: relative;
    z-index: 2;
    container-type: inline-size;
    width: var(--wrap);
    max-width: calc(100% - 20px);
    margin: 0 auto;
    aspect-ratio: 980 / 1935;
}
/* <picture> 回退包裹层不参与布局，保持 img 与旧结构一致 */
.hero-canvas picture { display: contents; }

/* 绿色卡（会社概要）——底色改奶油色 #fff7d6，文字与双框同步转深色保证可读 */
.hero-card-green {
    position: absolute;
    left: 4.29%; top: 3.51%;
    width: 33.88%;
    height: 16.9%;
    background: #fff7d6;
    color: #404041;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    border: 2px solid var(--brown-2);
}
.hero-card-green::before {
    content: "";
    position: absolute;
    inset: 13px;
    border: 2px solid var(--brown-2);
    pointer-events: none;
}
.hc-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* 撑满卡片再留 padding：flex 子项若按 fit-content 收缩，长文案会顶破卡片而不折行 */
    width: 100%;
    height: 100%;
    padding: 1cqw 2cqw;
}
/* 大字位现输出「栏目描述1」（后台 def1，12~13 字），比原来的 4 字副名称长得多：
   字号下调 + balance 让两行长度自动均分，避免把「盛装」这类词拆成一大一短两行 */
.hc-title {
    display: block;
    font-family: var(--serif);
    font-size: 30px;
    font-size: max(24px, 3.06cqw);
    line-height: 1.45;
    letter-spacing: .02em;
    max-width: 100%;
    text-wrap: balance;
}
.hc-line { display: block; width: 31px; width: 3.16cqw; height: 1px; background: currentColor; margin: 2.24cqw auto; }
.hc-btn { display: inline-block; font-size: 12px; font-size: max(11px, 1.22cqw); letter-spacing: .04em; color: inherit; }
/* 四张卡的小字位（理念 / 公司摘要 / 产品 / 关于我们）统一用这一套字号，与「关于我们」原尺寸一致 */
.hc-label {
    display: inline-block;
    font-family: var(--serif);
    font-size: 17px;
    font-size: max(15px, 1.73cqw);
    letter-spacing: .12em;
    line-height: 1.4;
    color: inherit;
}

/* 粉色圆卡（Concept） */
.hero-card-pink {
    position: absolute;
    left: 58.16%; top: calc(8.79% + 150px);
    width: 32.45%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #8c292f;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4.08cqw 3.47cqw;
    z-index: 3;
}
/* 圆卡内圈：距外圆 5px 的细描边（绝对定位，避免作为 flex item 挤占内容） */
.hero-card-pink::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    pointer-events: none;
}
/* 圆卡大字位同样改为输出「栏目描述1」：字号下调到 22px 并均分折行，保证 13 字在圆内不贴边 */
.hcp-script {
    font-family: var(--script);
    font-size: 22px;
    font-size: max(18px, 2.24cqw);
    line-height: 1.5;
    letter-spacing: .02em;
    display: block;
    width: 100%;
    text-wrap: balance;
}
.hero-card-pink .hc-line { margin: 2.04cqw auto; }

/* 圆卡中间的品牌短语：原站为装饰性文字（sense / of / wonder 三行），非正文 */
.hcp-motto {
    display: block;
    font-family: var(--serif);
    font-size: 20px;
    font-size: max(18px, 2.45cqw);
    line-height: 1.35;
    letter-spacing: .02em;
}

.hero-big-card {
    position: absolute;
    left: 2.24%; top: calc(29.2% + 150px);
    width: 55.6%;
    z-index: 5;
}
/* 产品方框改为分类缩略图马赛克：按栏目排序，靠前的格子更大 */
.pm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 5px;
    aspect-ratio: 416 / 313;
    padding: 6px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #404041;
    overflow: hidden;
}
.pm-item {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #efe6dd;
    isolation: isolate;
}
.pm-item img {
    position: relative; z-index: 1;
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .75s cubic-bezier(.22, .61, .36, 1), filter .45s ease;
}
/* 悬停时一道高光扫过，配合图片推近让小方块更“活” */
.pm-item::after {
    content: "";
    position: absolute; inset: -40%;
    z-index: 3;
    background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .42) 50%, transparent 62%);
    transform: translateX(-75%) skewX(-12deg);
    opacity: 0;
    pointer-events: none;
}
/* 分类名压在 70% 黑色遮罩上，保证任意图片上都清晰 */
.pm-mask {
    position: absolute; inset: 0; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    padding: 4%;
    box-sizing: border-box;
    background: rgba(15, 12, 11, .70);
    transition: background .45s ease;
}
.pm-name {
    position: relative; z-index: 4;
    color: #fff;
    font-family: var(--serif);
    font-size: max(10px, 1.25cqw);
    line-height: 1.35;
    letter-spacing: .08em;
    text-align: center;
    text-wrap: balance;
    transition: transform .45s ease, letter-spacing .45s ease, text-shadow .45s ease;
}
.pm-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.pm-item:nth-child(2) { grid-column: span 2; }
.pm-item:nth-child(3) { grid-row: span 2; }
.pm-item:nth-child(1) .pm-name { font-size: max(14px, 1.7cqw); }
.pm-item:hover img,
.pm-item:focus-visible img { transform: scale(1.16) translateY(-3%); filter: saturate(1.12); }
.pm-item:hover .pm-mask,
.pm-item:focus-visible .pm-mask { background: linear-gradient(160deg, rgba(15, 12, 11, .44), rgba(15, 12, 11, .70)); }
.pm-item:hover .pm-name,
.pm-item:focus-visible .pm-name { transform: translateY(-3px); letter-spacing: .14em; text-shadow: 0 3px 12px rgba(0, 0, 0, .5); }
.pm-item:hover::after,
.pm-item:focus-visible::after { animation: pm-shine .85s ease-out; }
.pm-item:hover,
.pm-item:focus-visible {
    animation: pm-pop .62s cubic-bezier(.22, .61, .36, 1);
    z-index: 2;
    box-shadow: inset 0 0 0 2px rgba(255, 247, 214, .95), 0 10px 26px rgba(0, 0, 0, .3);
}
.pm-item.is-active { outline: 2px solid #fff7d6; outline-offset: -2px; }
@keyframes pm-pop {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.055); }
    62%  { transform: scale(.985); }
    100% { transform: scale(1); }
}
@keyframes pm-shine {
    0%   { opacity: 0; transform: translateX(-75%) skewX(-12deg); }
    30%  { opacity: 1; }
    100% { opacity: 0; transform: translateX(75%) skewX(-12deg); }
}
/* 右侧抽屉：高度等于大方框，宽度由图片原始比例决定 */
.prod-drawer {
    position: absolute;
    left: 100%; top: 0;
    height: 100%; width: 0;
    overflow: hidden;
    z-index: 8;
    background: #fff;
    box-shadow: 12px 0 30px rgba(0, 0, 0, .18);
    opacity: 0;
    transition: width .42s cubic-bezier(.22, .61, .36, 1), opacity .3s ease;
    pointer-events: none;
}
.prod-drawer.is-open { pointer-events: auto; opacity: 1; }
.prod-drawer img { display: block; height: 100%; width: auto; max-width: none; object-fit: contain; }

.hero-small-card {
    position: absolute;
    left: 51.5%; top: calc(62% + 50px);
    width: 31.1%;
    /* 玻璃磨砂：半透明白 + 背景模糊，压在背景图上产生霜面质感（原为纯透明） */
    background: rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 10px 34px rgba(0, 0, 0, .16);
    color: #fff;
    padding: 1.33cqw 0 2.24cqw;
    text-align: center;
    z-index: 4;
    border: 1px solid rgba(255, 255, 255, .55);
}
/* 图片外套一道白框：边框与卡片同色系但更亮，形成「相框」层次 */
.hsc-figure {
    display: block;
    width: 75.55%;
    aspect-ratio: 241 / 308;
    margin: 0 auto .8cqw;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .07);
}
.hsc-figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hsc-title {
    font-family: var(--serif);
    font-size: 17px;
    font-size: max(15px, 1.73cqw);
    letter-spacing: .12em;
    line-height: 1.4;
    /* 箭头行已删除，标题单独下移，避免贴住图片下沿 */
    margin-top: 2.6cqw;
}

/* ---------- 四张卡的 hover 涟漪：沿各自外框形状向外扩散一圈 ---------- */
@keyframes hero-ripple {
    0%   { opacity: 1;   transform: scale(1);    box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); }
    100% { opacity: 0;   transform: scale(1.22); box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
}
/* border-radius: inherit 让涟漪自动跟随轮廓：方卡是直角，粉卡是圆。
   四张卡都压在深色照片上，统一用白色描边才看得见（深色 currentColor 会糊进背景） */
.hero-card-green::after,
.hero-card-pink::after,
.hero-big-card::after,
.hero-small-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border: 2px solid rgba(255, 255, 255, .95);
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}
.hero-card-green:hover::after,
.hero-card-pink:hover::after,
.hero-big-card:hover::after,
.hero-small-card:hover::after {
    animation: hero-ripple 1.15s cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------ Concept */
/* concept 页：顶部花卉背景图。
   正文区前端只负责「容器尺寸 + 磨砂背景」，字体/字号/行距/段距/对齐全部由后台编辑器
   输出的富文本决定。下面带 revert / normal 的声明都是「撤销」base.css 里的通用正文样式，
   不是在这里另设一套格式。 */
.concept-hero { position: relative; padding: 230px 0 230px; }  /* 磨砂卡到导航栏 / 页脚均 230px */
.concept-hero .wrap { position: relative; z-index: 2; }
.concept-hero .cms-body {
    width: 480px;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 30px;
    box-sizing: border-box;
    /* 玻璃磨砂质感：这页背景是白底花卉插画，纯白雾化对比极低，
       所以叠上淡边框 + 外阴影 + 顶部高光，才看得出是一块「玻璃板」 */
    background: rgba(255, 255, 255, .34);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
    /* 不加边框：靠背景雾化 + 外阴影界定卡片边界 */
    box-shadow: 0 12px 36px rgba(80, 60, 50, .10);
    /* 撤销 base.css 对 .cms-body 的格式设定，交还浏览器默认 + 编辑器 inline style */
    font-size: revert;
    line-height: revert;
    letter-spacing: normal;
    white-space: normal;
    text-align: revert;
}
/* 段落/标题同理：只撤销前端的段距与字号，编辑器写了什么就用什么 */
.concept-hero .cms-body p,
.concept-hero .cms-body h2,
.concept-hero .cms-body h3 {
    font-family: inherit;
    font-size: revert;
    font-weight: revert;
    letter-spacing: normal;
    line-height: revert;
    text-align: revert;
    margin: revert;
}

/* ------------------------------------------------------------------ 会社概要（2026-11-26 重设计：磨砂卡风格与全站统一，背景图仍由 page-bg 层承载不变） */
.company-page { padding: 0; }
.c-container { width: 980px; max-width: calc(100% - 32px); margin: 0 auto; }
.company-card {
    background: rgba(255, 255, 255, .34);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
    box-shadow: 0 12px 36px rgba(80, 60, 50, .10);
    box-sizing: border-box;
}
/* ① 页首标题区已移除，顶部留白并入信息卡区 */
/* ② 公司信息卡：左 LOGO 块（#fff7d6）+ 右两列信息表 */
.company-info-sec { padding: 128px 0 60px; }
.ci-card { width: 980px; max-width: calc(100% - 32px); margin: 0 auto; display: flex; align-items: stretch; padding: 44px 56px; }
.ci-logo { flex: 0 0 300px; background: #fff7d6; display: flex; align-items: center; justify-content: center; padding: 30px 22px; }
.ci-logo img { max-width: 100%; max-height: 96px; object-fit: contain; display: block; }
.ci-meta { flex: 1 1 auto; margin: 0 0 0 46px; display: flex; flex-direction: column; justify-content: center; }
.ci-row { display: flex; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(59, 47, 41, .12); }
.ci-row:last-child { border-bottom: 0; }
.ci-row dt { flex: 0 0 110px; font-size: 12px; letter-spacing: .18em; color: rgba(64, 64, 65, .6); margin: 0; }
.ci-row dd { flex: 1 1 auto; margin: 0; font-size: 15px; letter-spacing: .06em; color: #404041; }
/* ③ 经营概述：磨砂卡承载后台正文 */
.company-intro { padding: 0 0 130px; }
.intro-card { width: 780px; max-width: calc(100% - 32px); margin: 0 auto; padding: 50px 64px 46px; text-align: center; }

.intro-box { font-size: 14px; line-height: 2.3; letter-spacing: .08em; color: #404041; }
.intro-box p { margin: 0 0 2px; }
/* 后台富文本可能写入 nowrap/固定宽度，窄栏内强制按容器折行 */
.intro-box,
.intro-box * {
    white-space: normal !important;
    text-wrap-mode: wrap !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.intro-box .c-gap { height: 12px; margin: 0; }

/* ------------------------------------------------------------------ Products */
.products-page { background: #fff7d6; padding: 0; }
/* 该页与「关于我们」的容器自带底色，会盖住 .page-bg 背景层；
   仅在后台确实上传了背景图时才让底色透明（由 gnome.js 打 has-page-bg） */
body.has-page-bg .products-page { background: #fff7d6; }
/* 列表卡片：编辑式左右分栏，编号眉题 + 方形主图 + 宽裕文字区 */
.product-row { display: block; max-width: var(--wrap); margin: 0 auto; padding: 72px 0 56px; }
.product-top { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 54px; align-items: start; }
.product-figure { margin: 0; width: 100%; aspect-ratio: 1 / 1; background: transparent; border: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-figure img { display: block; width: 100%; height: 100%; object-fit: contain; transition: opacity .25s ease; }
.product-panel { margin: 0; background: transparent; padding: 0; }
.p-panel-inner { max-width: 430px; }
.p-eyebrow { font-size: 11px; letter-spacing: .3em; color: var(--brown); margin: 0 0 18px; }
.p-en { font-family: var(--serif); font-size: 34px; line-height: 1.3; letter-spacing: .02em; text-align: left; margin: 0 0 8px; }
.p-jp { font-size: 13px; text-align: left; letter-spacing: .12em; margin: 0 0 20px; color: rgba(64, 64, 65, .72); }
.p-desc { font-size: 13px; line-height: 2.1; letter-spacing: .04em; color: #4a403a; border-top: 1px solid rgba(59, 47, 41, .16); padding-top: 20px; }
/* 简介为空时不占位，避免列表右侧留出空白块 */
.p-desc:empty { display: none; }
/* 简介来自后台富文本，可能被编辑器写入 text-wrap-mode:nowrap 或固定宽度，
   在列表这种窄栏里会直接冲出白色面板；这里强制按容器宽度折行，不受内联样式影响 */
.p-desc,
.p-desc * {
    white-space: normal !important;
    text-wrap-mode: wrap !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.p-desc p { margin-bottom: .8em; }
/* 点击多图后右侧显示的图片说明（纯文本，textarea 换行原样呈现） */
.p-plain { white-space: pre-line; }
/* 多图条：与上方内容区同宽两端对齐（--wrap）；滚动区两端渐隐 + 叠加式圆形箭头（仅溢出时显示）；点击缩略图联动左侧主图；无多图时整条隐藏 */
.product-thumbs {
    display: flex;
    align-items: stretch;
    max-width: none;
    margin: 28px 0 0;
}
.pt-slider { position: relative; flex: 1 1 auto; min-width: 0; }
.pt-slider.can-scroll .pt-track {
    /* 仅左端渐隐提示可回滚；右端完整贴齐产品介绍面板右缘 */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px);
    mask-image: linear-gradient(90deg, transparent 0, #000 24px);
}
.pt-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 2px 12px;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.pt-track::-webkit-scrollbar { display: none; }
.pth {
    flex: 0 0 auto;
    width: 120px; height: 120px;
    padding: 0;
    border: 1px solid rgba(59, 47, 41, .35);
    background: #fff;
    cursor: pointer;
    opacity: .6;
    transition: opacity .2s ease;
}
.pth img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pth .pt-desc { display: none; }
.pth.on { opacity: 1; outline: 2px solid var(--brown-2); outline-offset: -2px; }
.pt-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px; height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(59, 47, 41, .12);
    background: rgba(255, 255, 255, .88);
    color: #404041;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 14px rgba(59, 47, 41, .18);
    transition: background .25s ease, color .25s ease, transform .25s ease;
}
.pt-arrow[data-dir="-1"] { left: 10px; }
.pt-arrow[data-dir="1"] { right: 10px; }
.pt-arrow:hover { background: #404041; color: #fff7d6; transform: translateY(-50%) scale(1.1); }
.pt-slider.can-scroll .pt-arrow { display: block; }
.p-spec { list-style: none; margin: 0 0 18px; padding: 0; font-size: 12px; letter-spacing: .08em; text-align: center; }
.p-spec li { display: inline-block; margin: 0 8px; }
.p-note {
    display: inline-block;
    border: 1px solid var(--brown-2);
    padding: 1px 8px;
    font-size: 10px;
    letter-spacing: .1em;
    margin-left: 8px;
    vertical-align: middle;
}

/* Products 页底部 MAISON S 推广块 */
.maison-promo { display: flex; align-items: stretch; margin: 20px 0 0; padding: 40px 0 120px; }
.maison-promo .mp-figure { width: 400px; flex: 0 0 400px; display: flex; }
.maison-promo .mp-figure img { width: 400px; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.maison-promo .mp-body {
    width: 520px;
    margin-left: 60px;
    background: #fff;
    padding: 26px 34px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mp-body .mp-title { font-family: var(--serif); font-size: 20px; letter-spacing: .06em; }
.mp-body .mp-num { font-size: 12px; letter-spacing: .5em; margin: 8px 0 14px; }
.mp-body p { font-size: 12px; line-height: 1.9; margin-bottom: .6em; }
.mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    max-width: 100%;
    height: 52px;
    margin: 20px auto 0;
    background: var(--green);
    color: #fff;
    font-size: 12px;
    letter-spacing: .1em;
    position: relative;
}
.mp-btn::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(255, 255, 255, .9); }
.mp-btn:hover { background: var(--green-2); opacity: 1; }

/* Products 底部分页 */
.products-pagination { text-align: center; padding: 6px 0 80px; font-size: 12px; letter-spacing: .06em; color: #3b2f29; }
.products-pagination span { display: inline-block; margin: 0 5px; }
.products-pagination .page-numbar { margin: 0; }
.products-pagination .page-status { margin-right: 14px; color: #6b6b6b; }
.products-pagination a { color: #3b2f29; text-decoration: none; }
.products-pagination a:hover { color: var(--green); }
.products-pagination .page-num { display: inline-block; min-width: 26px; padding: 3px 7px; border: 1px solid rgba(59, 47, 41, .4); margin: 0 3px; }
.products-pagination .page-num-current { background: #3a3a3a; color: #fff; border-color: #3a3a3a; }

/* ------------------------------------------------------------------ MAISON S */
.maison-page { background: #fff; padding-top: 0; }
.m-head { padding: 46px 0 30px; text-align: center; }
.m-brand { font-size: 56px; line-height: 1.1; letter-spacing: .01em; }
.m-prof { font-size: 20px; letter-spacing: .02em; margin-top: 6px; }
.m-en { max-width: 700px; margin: 26px auto 0; font-size: 18px; line-height: 1.8; }
.m-en p { margin: 0 0 1em; overflow-wrap: anywhere; }
.m-figs { max-width: 700px; margin: 30px auto 0; font-size: 10px; line-height: 1.8; }
.m-figs p { margin: 0 0 1em; }

.m-banner {
    width: calc(100% - 188px);
    min-width: 980px;
    max-width: 1252px;
    height: 252px;
    margin: 0 auto 10px;
    background-image:
        radial-gradient(circle at 0% 100%, #97B49D 0%, 24%, rgba(151, 180, 157, 0) 24%),
        radial-gradient(circle at 3.97% 36.1%, #27784F 0%, 35%, rgba(39, 120, 79, 0) 35%),
        radial-gradient(circle at 27.5% 92.78%, #004623 0%, 40%, rgba(0, 70, 35, 0) 40%),
        radial-gradient(circle at 53.38% 100%, rgba(215, 53, 1, .99) 0%, 50%, rgba(215, 53, 1, 0) 50%),
        radial-gradient(circle at 42.29% 20.62%, #FF4401 0%, 70%, rgba(255, 68, 1, 0) 70%),
        radial-gradient(circle at 93.69% 11.43%, #FFB993 0%, 70%, rgba(255, 185, 147, 0) 70%),
        radial-gradient(circle at 48.9% 49.52%, #FFFFFF 0%, 100%, rgba(255, 255, 255, 0) 100%);
}
.m-so { text-align: center; padding: 10px 0 40px; }
/* 正文（仅 h2 与 p）的版式：标题与段落尺寸由模板侧控制 */
.maison-intro { text-align: center; padding: 46px 10px 40px; }
.maison-intro h2 { font-size: 56px; line-height: 1.1; letter-spacing: .01em; margin: 0 0 6px; }
.maison-intro h2:nth-of-type(2) { font-size: 90px; line-height: 1.2; margin-top: 40px; }
.maison-intro p { font-size: 18px; line-height: 1.8; max-width: 720px; margin: 0 auto 1em; overflow-wrap: anywhere; }
.maison-intro h2 + p { font-size: 20px; letter-spacing: .02em; }
.maison-intro p:nth-of-type(2) { font-size: 10px; }
.m-so-big { font-size: 90px; line-height: 1.2; letter-spacing: .02em; }
.m-so-big span { font-family: var(--serif); }
.m-jp30 { font-size: 30px; line-height: 1.8; margin: 14px auto 28px; max-width: 700px; }
.m-jp25 { font-size: 25px; line-height: 1.8; margin: 0 auto 26px; max-width: 720px; }
.m-jp35 { font-size: 35px; line-height: 1.8; margin: 34px auto 26px; max-width: 760px; }

.m-detail { padding: 10px 0 70px; }
.m-dtitle { font-size: 38px; font-weight: bold; text-align: center; line-height: 1.2; }
.m-line { display: block; width: 31px; height: 1px; background: var(--brown-2); margin: 18px auto 44px; }
.m-step { width: 980px; max-width: 100%; margin: 0 auto 46px; display: flex; align-items: center; }
.m-fig { width: 366px; flex: 0 0 366px; margin-left: -99px; }
.m-fig img { display: block; width: 366px; height: 431px; object-fit: cover; }
.m-body { width: 635px; flex: 0 0 635px; margin-left: 121px; text-align: center; }
.m-body h3 { font-size: 40px; line-height: 1.8; }
.m-body .m-sub { font-size: 25px; line-height: 1.8; margin: 0; }
.m-body p { font-size: 25px; line-height: 1.8; text-align: center; margin: 0 0 .4em; }
.m-body .m-price { margin-top: 10px; font-size: 20px; }
.m-step-text p { font-size: 25px; line-height: 1.8; text-align: center; margin: 0 0 .4em; }
@media (max-width: 1000px) {
    .m-step-text p { font-size: 16px; }
}

/* ------------------------------------------------------------------ 门店列表 */
.salons-page { background: #fff; padding: 230px 0 230px; }  /* 磨砂卡到导航栏 / 页脚均 230px */
body.has-page-bg .salons-page { background: transparent; }
/* 关于我们内容区：整块包在磨砂玻璃卡里，格式仍由后台编辑器决定 */
.salons-page .wrap {
    padding: 50px 40px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, .34);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
    /* 不加边框：靠背景雾化 + 外阴影界定卡片边界 */
    box-shadow: 0 12px 36px rgba(80, 60, 50, .10);
}
.salon-area { border-bottom: 1px solid rgba(59, 47, 41, .15); padding: 26px 0 14px; }
.salon-area-inner { display: flex; gap: 34px; }
.salon-area-name {
    width: 272px;
    flex: 0 0 272px;
    font-family: var(--serif);
    font-size: 17px;
    letter-spacing: .14em;
    padding-top: 6px;
}
.salon-list { flex: 1; }
.salon-item { display: flex; gap: 18px; padding: 6px 0 14px; }
.salon-item .si-name { width: 314px; flex: 0 0 314px; font-size: 12.5px; letter-spacing: .06em; }
.salon-item .si-addr { flex: 1; font-size: 12px; line-height: 1.8; color: var(--brown); }
.salon-area-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.salon-area-nav a.active { background: var(--brown-2); color: #fff; }
.salon-detail { text-align: center; font-size: 13px; line-height: 2; }
.salon-detail .sd-addr { margin-bottom: 4px; }
.salon-detail p { margin: 0 0 .6em; }

/* ------------------------------------------------------------------ Contact */
/* 原站：顶部花卉背景，内容从花下开始；表单为占位符内嵌 + 深色右下 Submit */
.contact-hero { position: relative; padding: 230px 0 230px; }  /* 磨砂卡到导航栏 / 页脚均 230px */
/* 联系页整块（文本 + 表单）合成一张磨砂玻璃卡：
   背景是本页花卉图，纯白雾化对比低，故叠淡边框 + 外阴影 + 顶部高光才看得出玻璃板 */
.contact-inner {
    position: relative;
    z-index: 2;
    width: 700px;
    max-width: calc(100% - 20px);
    margin: 0 auto;
    padding: 60px 50px 50px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, .34);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
    /* 不加边框：靠背景雾化 + 外阴影界定卡片边界 */
    box-shadow: 0 12px 36px rgba(80, 60, 50, .10);
}
/* 联系信息块：前端只给宽度与位置，标题/公司名/电话/邮箱的格式全部由后台编辑器决定 */
.contact-body { width: 541px; max-width: 100%; margin: 0 auto 46px; }
.contact-form { width: 510px; max-width: 100%; margin: 0 auto; }
.contact-form .field { margin-bottom: 10px; }
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel],
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(59, 47, 41, .55);
    background: #fff;
    padding: 7px 10px;
    font-family: var(--sans);
    font-size: 12.5px;
    color: var(--brown-2);
    outline: none;
    border-radius: 0;
}
.contact-form input { height: 32px; }
.contact-form textarea { height: 132px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(59, 47, 41, .55); letter-spacing: .04em; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brown-2); }
.contact-form .code-row { display: flex; gap: 10px; align-items: center; }
.contact-form .code-row input { flex: 1; }
.contact-form .codeimg { height: 38px; cursor: pointer; }
.contact-form .submit-row { text-align: right; margin-top: 4px; }
.contact-form button {
    border: 0;
    background: #3a3a3a;
    color: #fff;
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: .14em;
    width: 140px;
    height: 34px;
    padding: 0;
    cursor: pointer;
}
.contact-form button:hover { background: #565656; }
.form-msg { text-align: right; font-size: 12px; margin-top: 12px; min-height: 1em; }

/* ------------------------------------------------------------------ 内容详情页 */
.detail-main { padding: 50px 0 70px; }
.detail-main .d-title { font-family: var(--serif); font-size: 24px; letter-spacing: .1em; text-align: center; }
.detail-main .d-sub { text-align: center; font-size: 12px; letter-spacing: .14em; margin: 4px 0 26px; }
.detail-main .d-content { width: 760px; max-width: 100%; margin: 0 auto; font-size: 12.5px; }
.detail-main .d-content img { max-width: 100%; height: auto; }
.detail-back { text-align: center; margin-top: 40px; }
.d-figure { text-align: center; margin-bottom: 26px; }
/* 详情页产品图统一 600×600 展示；aspect-ratio 保证窄屏等比缩放不变形，
   object-fit: contain 让非方图完整显示而不裁切（现有产品图均为 1000×1000 方图） */
.d-figure img {
    width: 600px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
}
.d-nav { width: 760px; max-width: 100%; margin: 30px auto 0; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }

/* ------------------------------------------------------------------ 404 */
.error-page { padding: 90px 0 110px; text-align: center; }
.error-page .ep-code { font-family: var(--serif); font-size: 64px; letter-spacing: .1em; }
.error-page .ep-text { font-size: 13px; letter-spacing: .06em; margin: 14px 0 26px; }

/* ------------------------------------------------------------------ 响应式 */
@media (max-width: 1100px) {
    .m-fig { margin-left: 0; }
    .m-body { width: auto; flex: 1 1 auto; margin-left: 30px; }
}

@media (max-width: 1000px) {
    .m-brand { font-size: 40px; }
    .m-so-big { font-size: 64px; }
    .m-jp30 { font-size: 22px; }
    .m-jp25 { font-size: 18px; }
    .m-jp35 { font-size: 24px; }
    .m-banner { min-width: 0; width: calc(100% - 40px); height: 180px; }
    .m-detail { padding-bottom: 40px; }
    .m-step { flex-direction: column; margin-bottom: 34px; }
    .m-fig { width: 100%; flex: none; margin: 0 0 16px; }
    .m-fig img { width: 100%; height: 300px; }
    .m-body, .m-body h3, .m-body p { width: 100%; flex: none; margin-left: 0; }
    .m-body h3 { font-size: 28px; }
    .m-body p, .m-body .m-sub { font-size: 16px; }

    .product-row { padding: 40px 0 0; }
    .product-top { grid-template-columns: 1fr; gap: 28px; }
    .p-en { font-size: 28px; }
    .product-figure, .maison-promo .mp-figure, .maison-promo .mp-body {
        width: 100%; flex: none; margin: 0 0 18px;
    }
    .product-figure img { width: 100%; height: auto; }
    .product-panel { margin: 0; }
    .p-panel-inner { max-width: none; }
    .maison-promo { flex-direction: column; padding-bottom: 60px; }
    .mp-btn { width: 100%; }
    .contact-hero { padding: 150px 0 70px; }
    /* 磨砂卡在窄屏收窄内边距，避免内容被挤 */
    .contact-inner { padding: 34px 20px 28px; }
    .contact-body { margin-bottom: 30px; }

    .company-row { flex-direction: column; }
    .company-logo { width: 100%; flex: none; }
    .company-logo img { width: 220px; }

    .salon-area-inner { flex-direction: column; gap: 10px; }
    .salon-area-name { width: 100%; flex: none; }
    .salon-item { flex-direction: column; gap: 0; }
    .salon-item .si-name { width: 100%; flex: none; }

    .concept-hero .cms-body, .concept-hero .cms-body p { width: 100%; }
    .maison-intro h2 { font-size: 40px; }
    .maison-intro h2:nth-of-type(2) { font-size: 64px; }
    .maison-intro p { font-size: 15px; }
    .contact-form, .contact-body { width: 100%; }
    .concept-mark { max-width: 45%; }
}

@media (max-width: 760px) {
    /* hero 改为单列流式：取消绝对定位与等比画布；
       卡片必须保留定位上下文与 z-index，否则会被 .hero-bg 盖住而不可点 */
    .hero { padding-bottom: 10px; }
    .hero-bg { position: absolute; z-index: 0; }
    .hero-canvas {
        display: block;
        aspect-ratio: auto;
        position: relative;
        z-index: 2;
        padding: 26px 0 6px;
    }
    .hero-card-green, .hero-card-pink,
    .hero-big-card, .hero-small-card {
        position: relative;
        z-index: 2;
        /* 必须重置桌面端的百分比偏移，否则 relative 下仍会横向溢出 */
        left: auto;
        top: auto;
        width: 100%;
        max-width: 480px;
        aspect-ratio: auto;
        margin: 0 auto 22px;
        transform: none;
    }
    .hero-card-green { min-height: 300px; }
    .hc-inner { padding: 34px 20px; }
    .hc-title { font-size: 26px; }
    .hcp-script { font-size: 18px; }
    .hero-card-pink { width: 100%; max-width: 340px; min-height: 0; aspect-ratio: 1 / 1; border-radius: 50%; padding: 46px 34px; }
    .hero-small-card { padding: 16px 12px 24px; }
    .hero-big-card { padding: 0; }
    .pm-grid { aspect-ratio: auto; height: 320px; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); }
    .pm-item:nth-child(n) { grid-column: auto; grid-row: auto; }
    .pm-name { font-size: 12px; }
    .prod-drawer { display: none; }
    .hsc-figure { width: 100%; height: 260px; aspect-ratio: auto; }
    .hsc-title { font-size: 18px; margin-top: 12px; }
    /* 与 .hsc-title 同步，保证四张卡小字在移动端也同号 */
    .hc-label { font-size: 18px; }

    .concept-hero { padding: 40px 0 60px; }
    .concept-block + .concept-block { margin-top: 50px; }
    .company-sec { padding-top: 30px; }
    .company-sec .wrap { padding: 20px 16px; }
    .company-table th { width: 96px; }
    .company-visual img { height: 240px; }
    .salons-page { padding-top: 10px; }
    .salons-page .wrap { padding: 26px 18px; }
    .m-head { padding: 24px 0 16px; }
}
