@charset "utf-8";
/* ===== 捲動後：左側固定品牌標（原站 fade-logo）＋右上「•••」黑圓鈕 ===== */
.fade-logo {
  position: fixed; top: 96px; left: max(16px, calc((100vw - 1100px) / 2)); z-index: 190;
  opacity: 0; transform: translateY(-8px); pointer-events: none; transition: .3s;
}
.header.is-fixed .fade-logo { opacity: 1; transform: none; pointer-events: auto; }
.fade-logo a { display: block; }
.fade-logo svg { display: block; width: 72px; height: auto; }
.header.is-fixed .header-logo { opacity: 0; }
.header-btn .dots { display: flex; gap: 4px; }
.header-btn .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--c-ink); transition: .3s; }
.header.is-fixed .header-btn .dots i { background: var(--c-white); }
.header.is-fixed .header-btn { top: 96px; }

/* ===== 主視覺（第一個區塊） ===== */
.hero-kv { max-width: 1680px; margin: 0 auto; padding: 0 24px; }

/* ===== works 輪播：直式卡片橫向排滿整個螢幕、無限循環（比照原站） ===== */
.works-track { gap: 80px; padding: 0; margin: 0 0 80px; }
.works-slide { flex: 0 0 534px; padding-left: 24px; scroll-snap-align: center; }
.works-img { aspect-ratio: 510 / 640; height: auto; min-height: 0; }
.works-data { margin: -56px 0 0 -24px; }
.works-txt { margin: 0 0 0 -24px; }
.works-ttl span { background: none; padding: 0; }
.works-dots { display: flex; gap: 8px; justify-content: center; margin: -40px 0 48px; }
.works-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--c-line2); transition: .3s; }
.works-dots button.is-active { width: 32px; border-radius: 4px; background: var(--c-key); }
.hero-kv a, .hero-kv-frame { display: block; overflow: hidden; border-radius: 8px; }
.hero-kv img { display: block; width: 100%; height: auto; transition: .5s; }
.hero-kv a:hover img { transform: scale(1.02); }

/* 背景直線：版心左右緣＋三等分（原站 body 背景線） */
body {
  background-image: linear-gradient(to right,
    transparent calc(50% - 550px), #eee calc(50% - 550px), #eee calc(50% - 549px), transparent calc(50% - 549px),
    transparent calc(50% - 184px), #eee calc(50% - 184px), #eee calc(50% - 183px), transparent calc(50% - 183px),
    transparent calc(50% + 183px), #eee calc(50% + 183px), #eee calc(50% + 184px), transparent calc(50% + 184px),
    transparent calc(50% + 549px), #eee calc(50% + 549px), #eee calc(50% + 550px), transparent calc(50% + 550px));
  background-attachment: fixed;
}

@media screen and (max-width: 896px) {
  .hero-kv { padding: 0 16px; }
  body { background-image: none; }
  .works-track { gap: 16px; margin: 0 0 40px; }
  .works-slide { flex-basis: 78vw; padding-left: 0; }
  .works-data { margin: 16px 0 0; }
  .works-txt { margin: 0; }
  .works-dots { margin: -16px 0 32px; }
}

/* ===== products：大圖往右延伸到 1350px（原站 products-container-pickup） ===== */
.products { overflow: hidden; }
.products-container-pickup { width: min(1350px, calc(1100px + (100vw - 1100px) / 2)); margin: 0 0 80px; }
.products-container-pickup-item a { display: block; position: relative; overflow: hidden; color: var(--c-white); }
.products-container-pickup-item a::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); z-index: 1; }
.products-container-pickup-item img { display: block; width: 100%; object-fit: cover; transition: .3s; }
.products-container-pickup-item.is-01 img { aspect-ratio: 1350 / 740; }
.products-container-pickup-item.is-02 img { aspect-ratio: 1350 / 500; object-position: 50% 30%; }
.products-container-pickup-item a:hover img { transform: scale(1.05); }
.products-container-pickup-data { display: flex; flex-direction: column; position: absolute; top: 48px; bottom: 48px; left: 48px; z-index: 10; }
.products-container-pickup-logo { margin: 0 0 auto; font-family: var(--f-din); font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: .01em; }
.products-container-pickup-logo b { color: var(--c-key); font-weight: 600; }
.products-container-pickup-row { display: flex; flex-direction: column; }
.products-container-pickup-row .col:first-child { flex: 1; max-width: 480px; }
.products-container-pickup-ttl { line-height: 1; margin: 0 0 16px; font-size: 16px; }
.products-container-pickup-txt { font-size: 12px; }
.products-container-pickup-row .col i {
  display: inline-flex; align-items: center; justify-content: center; position: relative; width: 56px; height: 56px;
  margin: 24px 0 0; border: 1px solid rgba(255, 255, 255, .3); border-radius: 100%; background: rgba(255, 255, 255, .1);
}
.products-container-pickup-row .col i::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 100%;
  background: var(--c-white); transform: translate(-50%, -50%); transition: .3s;
}
.products-container-pickup-row .col i::after {
  content: ""; position: relative; width: 0; height: 0; border-style: solid; border-width: 3px 0 3px 9px;
  border-color: transparent transparent transparent var(--c-white); z-index: 10; transition: .3s;
}
.products-container-pickup-item a:hover .products-container-pickup-row .col i::before { width: 56px; height: 56px; }
.products-container-pickup-item a:hover .products-container-pickup-row .col i::after { border-color: transparent transparent transparent var(--c-ink); }

/* ===== recruit 版型：流動漸層＋細字大標＋右側手機 ===== */
.recruit { margin: 0 0 0; }
.recruit-bg {
  display: block; padding: 80px 0; color: var(--c-white);
  background: linear-gradient(135deg, #0066b8 0%, #7e2b6e 50%, #ed9a30 100%); background-size: 200% 200%;
  animation: gradient 10s ease infinite;
}
@keyframes gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.recruit-inner { position: relative; max-width: var(--w-content); margin: 0 auto; }
.recruit-txt-01, .recruit-txt-03 { font-size: 52px; font-weight: 200; line-height: 1.08; letter-spacing: -.01em; }
.recruit-txt-01 { margin: 0 0 32px; }
.recruit-txt-02 { width: 300px; margin: 0 0 32px; color: var(--c-white); font-size: 12px; }
.recruit-txt-03 { margin: 0 0 120px; }
.recruit-btn { position: absolute; right: 0; bottom: 280px; z-index: 3; color: var(--c-white); font-size: 12px; }
.recruit-btn .link-external span::before { background: var(--c-white); }
.recruit-btn .link-external i { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); }
.recruit-btn .link-external i::before { background: var(--c-white); }
.recruit-btn .link-external i::after { filter: brightness(0) invert(1); }
.recruit-bg:hover .link-external span { color: var(--c-white); }
.recruit-bg:hover .link-external span::before { transform: scale(1, 1); }
.recruit-bg:hover .link-external i::before { width: 56px; height: 56px; }
.recruit-bg:hover .link-external i::after { filter: none; }
.recruit-txt-04 {
  display: flex; justify-content: space-between; line-height: .8;
  font-family: "Jost", var(--f-din); font-size: clamp(64px, 17vw, 206px); font-weight: 200;
}
.recruit-phone {
  position: absolute; top: -24px; right: 120px; width: 400px; z-index: 2; pointer-events: none;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .25));
}
.recruit-note { margin: 24px 0 0; color: rgba(255, 255, 255, .7); font-size: 11px; }

@media screen and (max-width: 896px) {
  .fade-logo { top: 24px; left: 16px; }
  .fade-logo svg { width: 56px; }
  .header.is-fixed .header-btn { top: 24px; }
  .header-btn .dots i { background: var(--c-white); }

  .products-container-pickup { width: auto; margin: 0 0 32px; }
  .products-container-pickup-item a::before { z-index: 1; }
  .products-container-pickup-item.is-01 img, .products-container-pickup-item.is-02 img { aspect-ratio: 4 / 3; }
  .products-container-pickup-data { top: 24px; bottom: 24px; left: 16px; right: 16px; }
  .products-container-pickup-logo { font-size: 28px; }
  .products-container-pickup-ttl { font-size: 20px; line-height: 1.3; }
  .products-container-pickup-row .col i { width: 40px; height: 40px; margin: 16px 0 0; }
  .products-container-pickup-item a:hover .products-container-pickup-row .col i::before { width: 40px; height: 40px; }

  .recruit-bg { padding: 32px 16px; }
  .recruit-txt-01, .recruit-txt-03 { font-size: 9vw; }
  .recruit-txt-02 { width: auto; }
  .recruit-txt-03 { margin: 0 0 48px; }
  .recruit-phone { position: static; display: block; width: min(320px, 80vw); margin: 0 auto 32px; }
  .recruit-btn { position: static; margin: 0 0 48px; text-align: center; }
  .recruit-bg:hover .link-external i::before { width: 40px; height: 40px; }
}
